Skip to content

Commit

Permalink
update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed Jul 20, 2024
1 parent 46aa6b7 commit 48ac450
Show file tree
Hide file tree
Showing 9 changed files with 396 additions and 7 deletions.
3 changes: 3 additions & 0 deletions dist/protobuf/GrpcServiceClientPb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ export declare class PaymentAccountsClient {
methodDescriptorCreateCryptoCurrencyPaymentAccount: grpcWeb.MethodDescriptor<grpc_pb.CreateCryptoCurrencyPaymentAccountRequest, grpc_pb.CreateCryptoCurrencyPaymentAccountReply>;
createCryptoCurrencyPaymentAccount(request: grpc_pb.CreateCryptoCurrencyPaymentAccountRequest, metadata?: grpcWeb.Metadata | null): Promise<grpc_pb.CreateCryptoCurrencyPaymentAccountReply>;
createCryptoCurrencyPaymentAccount(request: grpc_pb.CreateCryptoCurrencyPaymentAccountRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.CreateCryptoCurrencyPaymentAccountReply) => void): grpcWeb.ClientReadableStream<grpc_pb.CreateCryptoCurrencyPaymentAccountReply>;
methodDescriptorDeletePaymentAccount: grpcWeb.MethodDescriptor<grpc_pb.DeletePaymentAccountRequest, grpc_pb.DeletePaymentAccountReply>;
deletePaymentAccount(request: grpc_pb.DeletePaymentAccountRequest, metadata?: grpcWeb.Metadata | null): Promise<grpc_pb.DeletePaymentAccountReply>;
deletePaymentAccount(request: grpc_pb.DeletePaymentAccountRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.DeletePaymentAccountReply) => void): grpcWeb.ClientReadableStream<grpc_pb.DeletePaymentAccountReply>;
methodDescriptorGetCryptoCurrencyPaymentMethods: grpcWeb.MethodDescriptor<grpc_pb.GetCryptoCurrencyPaymentMethodsRequest, grpc_pb.GetCryptoCurrencyPaymentMethodsReply>;
getCryptoCurrencyPaymentMethods(request: grpc_pb.GetCryptoCurrencyPaymentMethodsRequest, metadata?: grpcWeb.Metadata | null): Promise<grpc_pb.GetCryptoCurrencyPaymentMethodsReply>;
getCryptoCurrencyPaymentMethods(request: grpc_pb.GetCryptoCurrencyPaymentMethodsRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.GetCryptoCurrencyPaymentMethodsReply) => void): grpcWeb.ClientReadableStream<grpc_pb.GetCryptoCurrencyPaymentMethodsReply>;
Expand Down
11 changes: 11 additions & 0 deletions dist/protobuf/GrpcServiceClientPb.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/protobuf/GrpcServiceClientPb.js.map

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions dist/protobuf/grpc_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1963,6 +1963,38 @@ export namespace CreateCryptoCurrencyPaymentAccountRequest {
}
}

export class DeletePaymentAccountRequest extends jspb.Message {
getPaymentAccountId(): string;
setPaymentAccountId(value: string): DeletePaymentAccountRequest;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DeletePaymentAccountRequest.AsObject;
static toObject(includeInstance: boolean, msg: DeletePaymentAccountRequest): DeletePaymentAccountRequest.AsObject;
static serializeBinaryToWriter(message: DeletePaymentAccountRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): DeletePaymentAccountRequest;
static deserializeBinaryFromReader(message: DeletePaymentAccountRequest, reader: jspb.BinaryReader): DeletePaymentAccountRequest;
}

export namespace DeletePaymentAccountRequest {
export type AsObject = {
paymentAccountId: string,
}
}

export class DeletePaymentAccountReply extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DeletePaymentAccountReply.AsObject;
static toObject(includeInstance: boolean, msg: DeletePaymentAccountReply): DeletePaymentAccountReply.AsObject;
static serializeBinaryToWriter(message: DeletePaymentAccountReply, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): DeletePaymentAccountReply;
static deserializeBinaryFromReader(message: DeletePaymentAccountReply, reader: jspb.BinaryReader): DeletePaymentAccountReply;
}

export namespace DeletePaymentAccountReply {
export type AsObject = {
}
}

export class CreateCryptoCurrencyPaymentAccountReply extends jspb.Message {
getPaymentAccount(): pb_pb.PaymentAccount | undefined;
setPaymentAccount(value?: pb_pb.PaymentAccount): CreateCryptoCurrencyPaymentAccountReply;
Expand Down
275 changes: 275 additions & 0 deletions dist/protobuf/grpc_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ goog.exportSymbol('proto.io.haveno.protobuffer.CreateXmrTxReply', null, global);
goog.exportSymbol('proto.io.haveno.protobuffer.CreateXmrTxRequest', null, global);
goog.exportSymbol('proto.io.haveno.protobuffer.DeleteAccountReply', null, global);
goog.exportSymbol('proto.io.haveno.protobuffer.DeleteAccountRequest', null, global);
goog.exportSymbol('proto.io.haveno.protobuffer.DeletePaymentAccountReply', null, global);
goog.exportSymbol('proto.io.haveno.protobuffer.DeletePaymentAccountRequest', null, global);
goog.exportSymbol('proto.io.haveno.protobuffer.GetAddressBalanceReply', null, global);
goog.exportSymbol('proto.io.haveno.protobuffer.GetAddressBalanceRequest', null, global);
goog.exportSymbol('proto.io.haveno.protobuffer.GetBalancesReply', null, global);
Expand Down Expand Up @@ -2249,6 +2251,48 @@ if (goog.DEBUG && !COMPILED) {
*/
proto.io.haveno.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.displayName = 'proto.io.haveno.protobuffer.CreateCryptoCurrencyPaymentAccountRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.io.haveno.protobuffer.DeletePaymentAccountRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.io.haveno.protobuffer.DeletePaymentAccountRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.io.haveno.protobuffer.DeletePaymentAccountRequest.displayName = 'proto.io.haveno.protobuffer.DeletePaymentAccountRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.io.haveno.protobuffer.DeletePaymentAccountReply = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.io.haveno.protobuffer.DeletePaymentAccountReply, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.io.haveno.protobuffer.DeletePaymentAccountReply.displayName = 'proto.io.haveno.protobuffer.DeletePaymentAccountReply';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
Expand Down Expand Up @@ -18140,6 +18184,237 @@ proto.io.haveno.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.prototype.



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.io.haveno.protobuffer.DeletePaymentAccountRequest.prototype.toObject = function(opt_includeInstance) {
return proto.io.haveno.protobuffer.DeletePaymentAccountRequest.toObject(opt_includeInstance, this);
};


/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.io.haveno.protobuffer.DeletePaymentAccountRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.io.haveno.protobuffer.DeletePaymentAccountRequest.toObject = function(includeInstance, msg) {
var f, obj = {
paymentAccountId: jspb.Message.getFieldWithDefault(msg, 1, "")
};

if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}


/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.io.haveno.protobuffer.DeletePaymentAccountRequest}
*/
proto.io.haveno.protobuffer.DeletePaymentAccountRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.io.haveno.protobuffer.DeletePaymentAccountRequest;
return proto.io.haveno.protobuffer.DeletePaymentAccountRequest.deserializeBinaryFromReader(msg, reader);
};


/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.io.haveno.protobuffer.DeletePaymentAccountRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.io.haveno.protobuffer.DeletePaymentAccountRequest}
*/
proto.io.haveno.protobuffer.DeletePaymentAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setPaymentAccountId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};


/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.io.haveno.protobuffer.DeletePaymentAccountRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.io.haveno.protobuffer.DeletePaymentAccountRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};


/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.io.haveno.protobuffer.DeletePaymentAccountRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.io.haveno.protobuffer.DeletePaymentAccountRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getPaymentAccountId();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
};


/**
* optional string payment_account_id = 1;
* @return {string}
*/
proto.io.haveno.protobuffer.DeletePaymentAccountRequest.prototype.getPaymentAccountId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
* @param {string} value
* @return {!proto.io.haveno.protobuffer.DeletePaymentAccountRequest} returns this
*/
proto.io.haveno.protobuffer.DeletePaymentAccountRequest.prototype.setPaymentAccountId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.io.haveno.protobuffer.DeletePaymentAccountReply.prototype.toObject = function(opt_includeInstance) {
return proto.io.haveno.protobuffer.DeletePaymentAccountReply.toObject(opt_includeInstance, this);
};


/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.io.haveno.protobuffer.DeletePaymentAccountReply} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.io.haveno.protobuffer.DeletePaymentAccountReply.toObject = function(includeInstance, msg) {
var f, obj = {

};

if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}


/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.io.haveno.protobuffer.DeletePaymentAccountReply}
*/
proto.io.haveno.protobuffer.DeletePaymentAccountReply.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.io.haveno.protobuffer.DeletePaymentAccountReply;
return proto.io.haveno.protobuffer.DeletePaymentAccountReply.deserializeBinaryFromReader(msg, reader);
};


/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.io.haveno.protobuffer.DeletePaymentAccountReply} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.io.haveno.protobuffer.DeletePaymentAccountReply}
*/
proto.io.haveno.protobuffer.DeletePaymentAccountReply.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
}
return msg;
};


/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.io.haveno.protobuffer.DeletePaymentAccountReply.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.io.haveno.protobuffer.DeletePaymentAccountReply.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};


/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.io.haveno.protobuffer.DeletePaymentAccountReply} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.io.haveno.protobuffer.DeletePaymentAccountReply.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
Expand Down
2 changes: 1 addition & 1 deletion dist/protobuf/grpc_pb.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 48ac450

Please sign in to comment.