update dist

This commit is contained in:
woodser 2024-07-20 18:26:55 -04:00
parent 46aa6b7648
commit 02b4dfdba1
9 changed files with 396 additions and 7 deletions

View File

@ -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>;

View File

@ -638,6 +638,9 @@ class PaymentAccountsClient {
this.methodDescriptorCreateCryptoCurrencyPaymentAccount = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.PaymentAccounts/CreateCryptoCurrencyPaymentAccount', grpcWeb.MethodType.UNARY, grpc_pb.CreateCryptoCurrencyPaymentAccountRequest, grpc_pb.CreateCryptoCurrencyPaymentAccountReply, (request) => {
return request.serializeBinary();
}, grpc_pb.CreateCryptoCurrencyPaymentAccountReply.deserializeBinary);
this.methodDescriptorDeletePaymentAccount = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.PaymentAccounts/DeletePaymentAccount', grpcWeb.MethodType.UNARY, grpc_pb.DeletePaymentAccountRequest, grpc_pb.DeletePaymentAccountReply, (request) => {
return request.serializeBinary();
}, grpc_pb.DeletePaymentAccountReply.deserializeBinary);
this.methodDescriptorGetCryptoCurrencyPaymentMethods = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.PaymentAccounts/GetCryptoCurrencyPaymentMethods', grpcWeb.MethodType.UNARY, grpc_pb.GetCryptoCurrencyPaymentMethodsRequest, grpc_pb.GetCryptoCurrencyPaymentMethodsReply, (request) => {
return request.serializeBinary();
}, grpc_pb.GetCryptoCurrencyPaymentMethodsReply.deserializeBinary);
@ -702,6 +705,14 @@ class PaymentAccountsClient {
return this.client_.unaryCall(this.hostname_ +
'/io.haveno.protobuffer.PaymentAccounts/CreateCryptoCurrencyPaymentAccount', request, metadata || {}, this.methodDescriptorCreateCryptoCurrencyPaymentAccount);
}
deletePaymentAccount(request, metadata, callback) {
if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/io.haveno.protobuffer.PaymentAccounts/DeletePaymentAccount', request, metadata || {}, this.methodDescriptorDeletePaymentAccount, callback);
}
return this.client_.unaryCall(this.hostname_ +
'/io.haveno.protobuffer.PaymentAccounts/DeletePaymentAccount', request, metadata || {}, this.methodDescriptorDeletePaymentAccount);
}
getCryptoCurrencyPaymentMethods(request, metadata, callback) {
if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +

File diff suppressed because one or more lines are too long

View File

@ -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;

View File

@ -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);
@ -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
@ -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.

File diff suppressed because one or more lines are too long

View File

@ -4561,6 +4561,9 @@ export class CashAppAccountPayload extends jspb.Message {
getEmailOrMobileNrOrCashtag(): string;
setEmailOrMobileNrOrCashtag(value: string): CashAppAccountPayload;
getExtraInfo(): string;
setExtraInfo(value: string): CashAppAccountPayload;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CashAppAccountPayload.AsObject;
static toObject(includeInstance: boolean, msg: CashAppAccountPayload): CashAppAccountPayload.AsObject;
@ -4572,6 +4575,7 @@ export class CashAppAccountPayload extends jspb.Message {
export namespace CashAppAccountPayload {
export type AsObject = {
emailOrMobileNrOrCashtag: string,
extraInfo: string,
}
}
@ -4615,6 +4619,9 @@ export class PayPalAccountPayload extends jspb.Message {
getEmailOrMobileNrOrUsername(): string;
setEmailOrMobileNrOrUsername(value: string): PayPalAccountPayload;
getExtraInfo(): string;
setExtraInfo(value: string): PayPalAccountPayload;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PayPalAccountPayload.AsObject;
static toObject(includeInstance: boolean, msg: PayPalAccountPayload): PayPalAccountPayload.AsObject;
@ -4626,6 +4633,7 @@ export class PayPalAccountPayload extends jspb.Message {
export namespace PayPalAccountPayload {
export type AsObject = {
emailOrMobileNrOrUsername: string,
extraInfo: string,
}
}
@ -6009,7 +6017,7 @@ export namespace OpenOffer {
export enum State {
PB_ERROR = 0,
SCHEDULED = 1,
PENDING = 1,
AVAILABLE = 2,
RESERVED = 3,
CLOSED = 4,

View File

@ -38727,7 +38727,8 @@ proto.io.haveno.protobuffer.CashAppAccountPayload.prototype.toObject = function(
*/
proto.io.haveno.protobuffer.CashAppAccountPayload.toObject = function(includeInstance, msg) {
var f, obj = {
emailOrMobileNrOrCashtag: jspb.Message.getFieldWithDefault(msg, 1, "")
emailOrMobileNrOrCashtag: jspb.Message.getFieldWithDefault(msg, 1, ""),
extraInfo: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
@ -38768,6 +38769,10 @@ proto.io.haveno.protobuffer.CashAppAccountPayload.deserializeBinaryFromReader =
var value = /** @type {string} */ (reader.readString());
msg.setEmailOrMobileNrOrCashtag(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setExtraInfo(value);
break;
default:
reader.skipField();
break;
@ -38804,6 +38809,13 @@ proto.io.haveno.protobuffer.CashAppAccountPayload.serializeBinaryToWriter = func
f
);
}
f = message.getExtraInfo();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
@ -38825,6 +38837,24 @@ proto.io.haveno.protobuffer.CashAppAccountPayload.prototype.setEmailOrMobileNrOr
};
/**
* optional string extra_info = 2;
* @return {string}
*/
proto.io.haveno.protobuffer.CashAppAccountPayload.prototype.getExtraInfo = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.io.haveno.protobuffer.CashAppAccountPayload} returns this
*/
proto.io.haveno.protobuffer.CashAppAccountPayload.prototype.setExtraInfo = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
@ -39117,7 +39147,8 @@ proto.io.haveno.protobuffer.PayPalAccountPayload.prototype.toObject = function(o
*/
proto.io.haveno.protobuffer.PayPalAccountPayload.toObject = function(includeInstance, msg) {
var f, obj = {
emailOrMobileNrOrUsername: jspb.Message.getFieldWithDefault(msg, 1, "")
emailOrMobileNrOrUsername: jspb.Message.getFieldWithDefault(msg, 1, ""),
extraInfo: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
@ -39158,6 +39189,10 @@ proto.io.haveno.protobuffer.PayPalAccountPayload.deserializeBinaryFromReader = f
var value = /** @type {string} */ (reader.readString());
msg.setEmailOrMobileNrOrUsername(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setExtraInfo(value);
break;
default:
reader.skipField();
break;
@ -39194,6 +39229,13 @@ proto.io.haveno.protobuffer.PayPalAccountPayload.serializeBinaryToWriter = funct
f
);
}
f = message.getExtraInfo();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
@ -39215,6 +39257,24 @@ proto.io.haveno.protobuffer.PayPalAccountPayload.prototype.setEmailOrMobileNrOrU
};
/**
* optional string extra_info = 2;
* @return {string}
*/
proto.io.haveno.protobuffer.PayPalAccountPayload.prototype.getExtraInfo = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.io.haveno.protobuffer.PayPalAccountPayload} returns this
*/
proto.io.haveno.protobuffer.PayPalAccountPayload.prototype.setExtraInfo = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
@ -49078,7 +49138,7 @@ proto.io.haveno.protobuffer.OpenOffer.serializeBinaryToWriter = function(message
*/
proto.io.haveno.protobuffer.OpenOffer.State = {
PB_ERROR: 0,
SCHEDULED: 1,
PENDING: 1,
AVAILABLE: 2,
RESERVED: 3,
CLOSED: 4,

File diff suppressed because one or more lines are too long