@sniipwebmaster/transaction-service-client-grpcweb-ts 25.7.12739 → 25.7.12757

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,6 +40,49 @@ export class SniipTransactionAPIServiceClient {
40
40
  this.options_ = options;
41
41
  }
42
42
 
43
+ methodDescriptorDeleteAlternativePaymentMethodTransaction = new grpcWeb.MethodDescriptor(
44
+ '/sniiptransactionapi.SniipTransactionAPIService/DeleteAlternativePaymentMethodTransaction',
45
+ grpcWeb.MethodType.UNARY,
46
+ service_pb.DeleteAlternativePaymentMethodTransactionRequest,
47
+ service_pb.ResponseCode,
48
+ (request: service_pb.DeleteAlternativePaymentMethodTransactionRequest) => {
49
+ return request.serializeBinary();
50
+ },
51
+ service_pb.ResponseCode.deserializeBinary
52
+ );
53
+
54
+ deleteAlternativePaymentMethodTransaction(
55
+ request: service_pb.DeleteAlternativePaymentMethodTransactionRequest,
56
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
57
+
58
+ deleteAlternativePaymentMethodTransaction(
59
+ request: service_pb.DeleteAlternativePaymentMethodTransactionRequest,
60
+ metadata: grpcWeb.Metadata | null,
61
+ callback: (err: grpcWeb.RpcError,
62
+ response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
63
+
64
+ deleteAlternativePaymentMethodTransaction(
65
+ request: service_pb.DeleteAlternativePaymentMethodTransactionRequest,
66
+ metadata?: grpcWeb.Metadata | null,
67
+ callback?: (err: grpcWeb.RpcError,
68
+ response: service_pb.ResponseCode) => void) {
69
+ if (callback !== undefined) {
70
+ return this.client_.rpcCall(
71
+ this.hostname_ +
72
+ '/sniiptransactionapi.SniipTransactionAPIService/DeleteAlternativePaymentMethodTransaction',
73
+ request,
74
+ metadata || {},
75
+ this.methodDescriptorDeleteAlternativePaymentMethodTransaction,
76
+ callback);
77
+ }
78
+ return this.client_.unaryCall(
79
+ this.hostname_ +
80
+ '/sniiptransactionapi.SniipTransactionAPIService/DeleteAlternativePaymentMethodTransaction',
81
+ request,
82
+ metadata || {},
83
+ this.methodDescriptorDeleteAlternativePaymentMethodTransaction);
84
+ }
85
+
43
86
  methodDescriptorAckFailedBankAccountTransaction = new grpcWeb.MethodDescriptor(
44
87
  '/sniiptransactionapi.SniipTransactionAPIService/AckFailedBankAccountTransaction',
45
88
  grpcWeb.MethodType.UNARY,
@@ -22,6 +22,24 @@ export namespace AckFailedBankAccountTransactionRequest {
22
22
  }
23
23
  }
24
24
 
25
+ export class DeleteAlternativePaymentMethodTransactionRequest extends jspb.Message {
26
+ getTransactionid(): number;
27
+ setTransactionid(value: number): DeleteAlternativePaymentMethodTransactionRequest;
28
+
29
+ serializeBinary(): Uint8Array;
30
+ toObject(includeInstance?: boolean): DeleteAlternativePaymentMethodTransactionRequest.AsObject;
31
+ static toObject(includeInstance: boolean, msg: DeleteAlternativePaymentMethodTransactionRequest): DeleteAlternativePaymentMethodTransactionRequest.AsObject;
32
+ static serializeBinaryToWriter(message: DeleteAlternativePaymentMethodTransactionRequest, writer: jspb.BinaryWriter): void;
33
+ static deserializeBinary(bytes: Uint8Array): DeleteAlternativePaymentMethodTransactionRequest;
34
+ static deserializeBinaryFromReader(message: DeleteAlternativePaymentMethodTransactionRequest, reader: jspb.BinaryReader): DeleteAlternativePaymentMethodTransactionRequest;
35
+ }
36
+
37
+ export namespace DeleteAlternativePaymentMethodTransactionRequest {
38
+ export type AsObject = {
39
+ transactionid: number,
40
+ }
41
+ }
42
+
25
43
  export class AddCreditCardResponse extends jspb.Message {
26
44
  getMaskedcreditcard(): MaskedCreditCard | undefined;
27
45
  setMaskedcreditcard(value?: MaskedCreditCard): AddCreditCardResponse;
@@ -50,6 +50,7 @@ goog.exportSymbol('proto.sniiptransactionapi.CreateExternalPaymentReceiptRespons
50
50
  goog.exportSymbol('proto.sniiptransactionapi.CreditCardAddRequest', null, global);
51
51
  goog.exportSymbol('proto.sniiptransactionapi.CreditCardDeleteRequest', null, global);
52
52
  goog.exportSymbol('proto.sniiptransactionapi.CreditCardGetRequest', null, global);
53
+ goog.exportSymbol('proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest', null, global);
53
54
  goog.exportSymbol('proto.sniiptransactionapi.DeleteTransactionsRequest', null, global);
54
55
  goog.exportSymbol('proto.sniiptransactionapi.DeviceBlockRequest', null, global);
55
56
  goog.exportSymbol('proto.sniiptransactionapi.DownloadCollatedBillerTransactionsCsvRequest', null, global);
@@ -179,6 +180,27 @@ if (goog.DEBUG && !COMPILED) {
179
180
  */
180
181
  proto.sniiptransactionapi.AckFailedBankAccountTransactionRequest.displayName = 'proto.sniiptransactionapi.AckFailedBankAccountTransactionRequest';
181
182
  }
183
+ /**
184
+ * Generated by JsPbCodeGenerator.
185
+ * @param {Array=} opt_data Optional initial data array, typically from a
186
+ * server response, or constructed directly in Javascript. The array is used
187
+ * in place and becomes part of the constructed object. It is not cloned.
188
+ * If no data is provided, the constructed object will be empty, but still
189
+ * valid.
190
+ * @extends {jspb.Message}
191
+ * @constructor
192
+ */
193
+ proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest = function(opt_data) {
194
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
195
+ };
196
+ goog.inherits(proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest, jspb.Message);
197
+ if (goog.DEBUG && !COMPILED) {
198
+ /**
199
+ * @public
200
+ * @override
201
+ */
202
+ proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest.displayName = 'proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest';
203
+ }
182
204
  /**
183
205
  * Generated by JsPbCodeGenerator.
184
206
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3105,6 +3127,136 @@ proto.sniiptransactionapi.AckFailedBankAccountTransactionRequest.prototype.setTr
3105
3127
 
3106
3128
 
3107
3129
 
3130
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3131
+ /**
3132
+ * Creates an object representation of this proto.
3133
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3134
+ * Optional fields that are not set will be set to undefined.
3135
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3136
+ * For the list of reserved names please see:
3137
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3138
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3139
+ * JSPB instance for transitional soy proto support:
3140
+ * http://goto/soy-param-migration
3141
+ * @return {!Object}
3142
+ */
3143
+ proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest.prototype.toObject = function(opt_includeInstance) {
3144
+ return proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest.toObject(opt_includeInstance, this);
3145
+ };
3146
+
3147
+
3148
+ /**
3149
+ * Static version of the {@see toObject} method.
3150
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3151
+ * the JSPB instance for transitional soy proto support:
3152
+ * http://goto/soy-param-migration
3153
+ * @param {!proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest} msg The msg instance to transform.
3154
+ * @return {!Object}
3155
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3156
+ */
3157
+ proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest.toObject = function(includeInstance, msg) {
3158
+ var f, obj = {
3159
+ transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0)
3160
+ };
3161
+
3162
+ if (includeInstance) {
3163
+ obj.$jspbMessageInstance = msg;
3164
+ }
3165
+ return obj;
3166
+ };
3167
+ }
3168
+
3169
+
3170
+ /**
3171
+ * Deserializes binary data (in protobuf wire format).
3172
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3173
+ * @return {!proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest}
3174
+ */
3175
+ proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest.deserializeBinary = function(bytes) {
3176
+ var reader = new jspb.BinaryReader(bytes);
3177
+ var msg = new proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest;
3178
+ return proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest.deserializeBinaryFromReader(msg, reader);
3179
+ };
3180
+
3181
+
3182
+ /**
3183
+ * Deserializes binary data (in protobuf wire format) from the
3184
+ * given reader into the given message object.
3185
+ * @param {!proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest} msg The message object to deserialize into.
3186
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3187
+ * @return {!proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest}
3188
+ */
3189
+ proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
3190
+ while (reader.nextField()) {
3191
+ if (reader.isEndGroup()) {
3192
+ break;
3193
+ }
3194
+ var field = reader.getFieldNumber();
3195
+ switch (field) {
3196
+ case 1:
3197
+ var value = /** @type {number} */ (reader.readInt64());
3198
+ msg.setTransactionid(value);
3199
+ break;
3200
+ default:
3201
+ reader.skipField();
3202
+ break;
3203
+ }
3204
+ }
3205
+ return msg;
3206
+ };
3207
+
3208
+
3209
+ /**
3210
+ * Serializes the message to binary data (in protobuf wire format).
3211
+ * @return {!Uint8Array}
3212
+ */
3213
+ proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest.prototype.serializeBinary = function() {
3214
+ var writer = new jspb.BinaryWriter();
3215
+ proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest.serializeBinaryToWriter(this, writer);
3216
+ return writer.getResultBuffer();
3217
+ };
3218
+
3219
+
3220
+ /**
3221
+ * Serializes the given message to binary data (in protobuf wire
3222
+ * format), writing to the given BinaryWriter.
3223
+ * @param {!proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest} message
3224
+ * @param {!jspb.BinaryWriter} writer
3225
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3226
+ */
3227
+ proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest.serializeBinaryToWriter = function(message, writer) {
3228
+ var f = undefined;
3229
+ f = message.getTransactionid();
3230
+ if (f !== 0) {
3231
+ writer.writeInt64(
3232
+ 1,
3233
+ f
3234
+ );
3235
+ }
3236
+ };
3237
+
3238
+
3239
+ /**
3240
+ * optional int64 transactionId = 1;
3241
+ * @return {number}
3242
+ */
3243
+ proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest.prototype.getTransactionid = function() {
3244
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3245
+ };
3246
+
3247
+
3248
+ /**
3249
+ * @param {number} value
3250
+ * @return {!proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest} returns this
3251
+ */
3252
+ proto.sniiptransactionapi.DeleteAlternativePaymentMethodTransactionRequest.prototype.setTransactionid = function(value) {
3253
+ return jspb.Message.setProto3IntField(this, 1, value);
3254
+ };
3255
+
3256
+
3257
+
3258
+
3259
+
3108
3260
  if (jspb.Message.GENERATE_TO_OBJECT) {
3109
3261
  /**
3110
3262
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/transaction-service-client-grpcweb-ts",
3
- "version": "25.7.12739",
3
+ "version": "25.7.12757",
4
4
  "description": "transaction-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",