Skip to content

Commit

Permalink
chore(deps): bump bria proto to '0.1.76'
Browse files Browse the repository at this point in the history
  • Loading branch information
galoybot committed Nov 29, 2023
1 parent 98d8006 commit e0163a0
Show file tree
Hide file tree
Showing 4 changed files with 12,361 additions and 2 deletions.
3 changes: 3 additions & 0 deletions core/api/src/services/bria/proto/bria.proto
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ message PayoutQueueConfig {
bool manual = 4;
uint32 interval_secs = 5;
}
optional uint32 cpfp_payouts_after_mins = 6;
optional uint32 cpfp_payouts_after_blocks = 7;
}

enum TxPriority {
Expand Down Expand Up @@ -381,6 +383,7 @@ message Payout {
bool cancelled = 9;
string external_id = 7;
optional google.protobuf.Struct metadata = 8;
optional uint32 batch_inclusion_estimated_at = 11;
}

message ListPayoutsResponse {
Expand Down
18 changes: 18 additions & 0 deletions core/api/src/services/bria/proto/bria_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1192,6 +1192,16 @@ export class PayoutQueueConfig extends jspb.Message {
getIntervalSecs(): number;
setIntervalSecs(value: number): PayoutQueueConfig;

hasCpfpPayoutsAfterMins(): boolean;
clearCpfpPayoutsAfterMins(): void;
getCpfpPayoutsAfterMins(): number | undefined;
setCpfpPayoutsAfterMins(value: number): PayoutQueueConfig;

hasCpfpPayoutsAfterBlocks(): boolean;
clearCpfpPayoutsAfterBlocks(): void;
getCpfpPayoutsAfterBlocks(): number | undefined;
setCpfpPayoutsAfterBlocks(value: number): PayoutQueueConfig;

getTriggerCase(): PayoutQueueConfig.TriggerCase;

serializeBinary(): Uint8Array;
Expand All @@ -1210,6 +1220,8 @@ export namespace PayoutQueueConfig {
consolidateDeprecatedKeychains: boolean,
manual: boolean,
intervalSecs: number,
cpfpPayoutsAfterMins?: number,
cpfpPayoutsAfterBlocks?: number,
}

export enum TriggerCase {
Expand Down Expand Up @@ -1629,6 +1641,11 @@ export class Payout extends jspb.Message {
getMetadata(): google_protobuf_struct_pb.Struct | undefined;
setMetadata(value?: google_protobuf_struct_pb.Struct): Payout;

hasBatchInclusionEstimatedAt(): boolean;
clearBatchInclusionEstimatedAt(): void;
getBatchInclusionEstimatedAt(): number | undefined;
setBatchInclusionEstimatedAt(value: number): Payout;

getDestinationCase(): Payout.DestinationCase;

serializeBinary(): Uint8Array;
Expand All @@ -1653,6 +1670,7 @@ export namespace Payout {
cancelled: boolean,
externalId: string,
metadata?: google_protobuf_struct_pb.Struct.AsObject,
batchInclusionEstimatedAt?: number,
}

export enum DestinationCase {
Expand Down
148 changes: 146 additions & 2 deletions core/api/src/services/bria/proto/bria_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -10166,7 +10166,9 @@ proto.services.bria.v1.PayoutQueueConfig.toObject = function(includeInstance, ms
txPriority: jspb.Message.getFieldWithDefault(msg, 1, 0),
consolidateDeprecatedKeychains: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
manual: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
intervalSecs: jspb.Message.getFieldWithDefault(msg, 5, 0)
intervalSecs: jspb.Message.getFieldWithDefault(msg, 5, 0),
cpfpPayoutsAfterMins: jspb.Message.getFieldWithDefault(msg, 6, 0),
cpfpPayoutsAfterBlocks: jspb.Message.getFieldWithDefault(msg, 7, 0)
};

if (includeInstance) {
Expand Down Expand Up @@ -10219,6 +10221,14 @@ proto.services.bria.v1.PayoutQueueConfig.deserializeBinaryFromReader = function(
var value = /** @type {number} */ (reader.readUint32());
msg.setIntervalSecs(value);
break;
case 6:
var value = /** @type {number} */ (reader.readUint32());
msg.setCpfpPayoutsAfterMins(value);
break;
case 7:
var value = /** @type {number} */ (reader.readUint32());
msg.setCpfpPayoutsAfterBlocks(value);
break;
default:
reader.skipField();
break;
Expand Down Expand Up @@ -10276,6 +10286,20 @@ proto.services.bria.v1.PayoutQueueConfig.serializeBinaryToWriter = function(mess
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeUint32(
6,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 7));
if (f != null) {
writer.writeUint32(
7,
f
);
}
};


Expand Down Expand Up @@ -10387,6 +10411,78 @@ proto.services.bria.v1.PayoutQueueConfig.prototype.hasIntervalSecs = function()
};


/**
* optional uint32 cpfp_payouts_after_mins = 6;
* @return {number}
*/
proto.services.bria.v1.PayoutQueueConfig.prototype.getCpfpPayoutsAfterMins = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
};


/**
* @param {number} value
* @return {!proto.services.bria.v1.PayoutQueueConfig} returns this
*/
proto.services.bria.v1.PayoutQueueConfig.prototype.setCpfpPayoutsAfterMins = function(value) {
return jspb.Message.setField(this, 6, value);
};


/**
* Clears the field making it undefined.
* @return {!proto.services.bria.v1.PayoutQueueConfig} returns this
*/
proto.services.bria.v1.PayoutQueueConfig.prototype.clearCpfpPayoutsAfterMins = function() {
return jspb.Message.setField(this, 6, undefined);
};


/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.services.bria.v1.PayoutQueueConfig.prototype.hasCpfpPayoutsAfterMins = function() {
return jspb.Message.getField(this, 6) != null;
};


/**
* optional uint32 cpfp_payouts_after_blocks = 7;
* @return {number}
*/
proto.services.bria.v1.PayoutQueueConfig.prototype.getCpfpPayoutsAfterBlocks = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
};


/**
* @param {number} value
* @return {!proto.services.bria.v1.PayoutQueueConfig} returns this
*/
proto.services.bria.v1.PayoutQueueConfig.prototype.setCpfpPayoutsAfterBlocks = function(value) {
return jspb.Message.setField(this, 7, value);
};


/**
* Clears the field making it undefined.
* @return {!proto.services.bria.v1.PayoutQueueConfig} returns this
*/
proto.services.bria.v1.PayoutQueueConfig.prototype.clearCpfpPayoutsAfterBlocks = function() {
return jspb.Message.setField(this, 7, undefined);
};


/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.services.bria.v1.PayoutQueueConfig.prototype.hasCpfpPayoutsAfterBlocks = function() {
return jspb.Message.getField(this, 7) != null;
};





Expand Down Expand Up @@ -12986,7 +13082,8 @@ proto.services.bria.v1.Payout.toObject = function(includeInstance, msg) {
wallet: (f = msg.getWallet()) && proto.services.bria.v1.BriaWalletDestination.toObject(includeInstance, f),
cancelled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
externalId: jspb.Message.getFieldWithDefault(msg, 7, ""),
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
batchInclusionEstimatedAt: jspb.Message.getFieldWithDefault(msg, 11, 0)
};

if (includeInstance) {
Expand Down Expand Up @@ -13065,6 +13162,10 @@ proto.services.bria.v1.Payout.deserializeBinaryFromReader = function(msg, reader
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
msg.setMetadata(value);
break;
case 11:
var value = /** @type {number} */ (reader.readUint32());
msg.setBatchInclusionEstimatedAt(value);
break;
default:
reader.skipField();
break;
Expand Down Expand Up @@ -13166,6 +13267,13 @@ proto.services.bria.v1.Payout.serializeBinaryToWriter = function(message, writer
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 11));
if (f != null) {
writer.writeUint32(
11,
f
);
}
};


Expand Down Expand Up @@ -13423,6 +13531,42 @@ proto.services.bria.v1.Payout.prototype.hasMetadata = function() {
};


/**
* optional uint32 batch_inclusion_estimated_at = 11;
* @return {number}
*/
proto.services.bria.v1.Payout.prototype.getBatchInclusionEstimatedAt = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
};


/**
* @param {number} value
* @return {!proto.services.bria.v1.Payout} returns this
*/
proto.services.bria.v1.Payout.prototype.setBatchInclusionEstimatedAt = function(value) {
return jspb.Message.setField(this, 11, value);
};


/**
* Clears the field making it undefined.
* @return {!proto.services.bria.v1.Payout} returns this
*/
proto.services.bria.v1.Payout.prototype.clearBatchInclusionEstimatedAt = function() {
return jspb.Message.setField(this, 11, undefined);
};


/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.services.bria.v1.Payout.prototype.hasBatchInclusionEstimatedAt = function() {
return jspb.Message.getField(this, 11) != null;
};



/**
* List of repeated fields within this message type.
Expand Down
Loading

0 comments on commit e0163a0

Please sign in to comment.