Skip to content

Commit

Permalink
chore(deps): bump bria proto to '0.1.108' (#4667)
Browse files Browse the repository at this point in the history
  • Loading branch information
galoybot authored Nov 26, 2024
1 parent 3ce05b3 commit 8284169
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 1 deletion.
2 changes: 2 additions & 0 deletions core/api/src/services/bria/proto/bria.proto
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@ message Payout {
string external_id = 7;
optional google.protobuf.Struct metadata = 8;
optional uint32 batch_inclusion_estimated_at = 11;
optional string tx_id = 12;
optional uint32 vout = 13;
}

message ListPayoutsResponse {
Expand Down
12 changes: 12 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 @@ -1713,6 +1713,16 @@ export class Payout extends jspb.Message {
getBatchInclusionEstimatedAt(): number | undefined;
setBatchInclusionEstimatedAt(value: number): Payout;

hasTxId(): boolean;
clearTxId(): void;
getTxId(): string | undefined;
setTxId(value: string): Payout;

hasVout(): boolean;
clearVout(): void;
getVout(): number | undefined;
setVout(value: number): Payout;

getDestinationCase(): Payout.DestinationCase;

serializeBinary(): Uint8Array;
Expand All @@ -1738,6 +1748,8 @@ export namespace Payout {
externalId: string,
metadata?: google_protobuf_struct_pb.Struct.AsObject,
batchInclusionEstimatedAt?: number,
txId?: string,
vout?: number,
}

export enum DestinationCase {
Expand Down
98 changes: 97 additions & 1 deletion core/api/src/services/bria/proto/bria_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -13601,7 +13601,9 @@ proto.services.bria.v1.Payout.toObject = function(includeInstance, msg) {
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),
batchInclusionEstimatedAt: jspb.Message.getFieldWithDefault(msg, 11, 0)
batchInclusionEstimatedAt: jspb.Message.getFieldWithDefault(msg, 11, 0),
txId: jspb.Message.getFieldWithDefault(msg, 12, ""),
vout: jspb.Message.getFieldWithDefault(msg, 13, 0)
};

if (includeInstance) {
Expand Down Expand Up @@ -13684,6 +13686,14 @@ proto.services.bria.v1.Payout.deserializeBinaryFromReader = function(msg, reader
var value = /** @type {number} */ (reader.readUint32());
msg.setBatchInclusionEstimatedAt(value);
break;
case 12:
var value = /** @type {string} */ (reader.readString());
msg.setTxId(value);
break;
case 13:
var value = /** @type {number} */ (reader.readUint32());
msg.setVout(value);
break;
default:
reader.skipField();
break;
Expand Down Expand Up @@ -13792,6 +13802,20 @@ proto.services.bria.v1.Payout.serializeBinaryToWriter = function(message, writer
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 12));
if (f != null) {
writer.writeString(
12,
f
);
}
f = /** @type {number} */ (jspb.Message.getField(message, 13));
if (f != null) {
writer.writeUint32(
13,
f
);
}
};


Expand Down Expand Up @@ -14085,6 +14109,78 @@ proto.services.bria.v1.Payout.prototype.hasBatchInclusionEstimatedAt = function(
};


/**
* optional string tx_id = 12;
* @return {string}
*/
proto.services.bria.v1.Payout.prototype.getTxId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
};


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


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


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


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


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


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


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



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

0 comments on commit 8284169

Please sign in to comment.