@sniipwebmaster/transaction-service-client-grpcweb-ts 26.3.14157 → 26.4.14170

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.
@@ -2578,5 +2578,48 @@ export class SniipTransactionAPIServiceClient {
2578
2578
  this.methodDescriptorGetUserPaymentProcessors);
2579
2579
  }
2580
2580
 
2581
+ methodDescriptorUpdateTransactionPaymentDetails = new grpcWeb.MethodDescriptor(
2582
+ '/sniiptransactionapi.SniipTransactionAPIService/UpdateTransactionPaymentDetails',
2583
+ grpcWeb.MethodType.UNARY,
2584
+ service_pb.UpdateTransactionPaymentDetailsRequest,
2585
+ service_pb.ResponseCode,
2586
+ (request: service_pb.UpdateTransactionPaymentDetailsRequest) => {
2587
+ return request.serializeBinary();
2588
+ },
2589
+ service_pb.ResponseCode.deserializeBinary
2590
+ );
2591
+
2592
+ updateTransactionPaymentDetails(
2593
+ request: service_pb.UpdateTransactionPaymentDetailsRequest,
2594
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
2595
+
2596
+ updateTransactionPaymentDetails(
2597
+ request: service_pb.UpdateTransactionPaymentDetailsRequest,
2598
+ metadata: grpcWeb.Metadata | null,
2599
+ callback: (err: grpcWeb.RpcError,
2600
+ response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
2601
+
2602
+ updateTransactionPaymentDetails(
2603
+ request: service_pb.UpdateTransactionPaymentDetailsRequest,
2604
+ metadata?: grpcWeb.Metadata | null,
2605
+ callback?: (err: grpcWeb.RpcError,
2606
+ response: service_pb.ResponseCode) => void) {
2607
+ if (callback !== undefined) {
2608
+ return this.client_.rpcCall(
2609
+ this.hostname_ +
2610
+ '/sniiptransactionapi.SniipTransactionAPIService/UpdateTransactionPaymentDetails',
2611
+ request,
2612
+ metadata || {},
2613
+ this.methodDescriptorUpdateTransactionPaymentDetails,
2614
+ callback);
2615
+ }
2616
+ return this.client_.unaryCall(
2617
+ this.hostname_ +
2618
+ '/sniiptransactionapi.SniipTransactionAPIService/UpdateTransactionPaymentDetails',
2619
+ request,
2620
+ metadata || {},
2621
+ this.methodDescriptorUpdateTransactionPaymentDetails);
2622
+ }
2623
+
2581
2624
  }
2582
2625
 
@@ -5241,6 +5241,40 @@ export namespace GetUserPaymentProcessorsResponse {
5241
5241
  }
5242
5242
  }
5243
5243
 
5244
+ export class UpdateTransactionPaymentDetailsRequest extends jspb.Message {
5245
+ getTransactionid(): number;
5246
+ setTransactionid(value: number): UpdateTransactionPaymentDetailsRequest;
5247
+
5248
+ getBillercode(): string;
5249
+ setBillercode(value: string): UpdateTransactionPaymentDetailsRequest;
5250
+
5251
+ getPaymentprocessor(): string;
5252
+ setPaymentprocessor(value: string): UpdateTransactionPaymentDetailsRequest;
5253
+
5254
+ getReference(): string;
5255
+ setReference(value: string): UpdateTransactionPaymentDetailsRequest;
5256
+
5257
+ getBillerconfigid(): number;
5258
+ setBillerconfigid(value: number): UpdateTransactionPaymentDetailsRequest;
5259
+
5260
+ serializeBinary(): Uint8Array;
5261
+ toObject(includeInstance?: boolean): UpdateTransactionPaymentDetailsRequest.AsObject;
5262
+ static toObject(includeInstance: boolean, msg: UpdateTransactionPaymentDetailsRequest): UpdateTransactionPaymentDetailsRequest.AsObject;
5263
+ static serializeBinaryToWriter(message: UpdateTransactionPaymentDetailsRequest, writer: jspb.BinaryWriter): void;
5264
+ static deserializeBinary(bytes: Uint8Array): UpdateTransactionPaymentDetailsRequest;
5265
+ static deserializeBinaryFromReader(message: UpdateTransactionPaymentDetailsRequest, reader: jspb.BinaryReader): UpdateTransactionPaymentDetailsRequest;
5266
+ }
5267
+
5268
+ export namespace UpdateTransactionPaymentDetailsRequest {
5269
+ export type AsObject = {
5270
+ transactionid: number,
5271
+ billercode: string,
5272
+ paymentprocessor: string,
5273
+ reference: string,
5274
+ billerconfigid: number,
5275
+ }
5276
+ }
5277
+
5244
5278
  export enum CardValidationResult {
5245
5279
  CARD_VALIDATION_RESULT_UNKNOWN = 0,
5246
5280
  CARD_VALIDATION_RESULT_PENDING = 1,
@@ -166,6 +166,7 @@ goog.exportSymbol('proto.sniiptransactionapi.TransactionRewardVoidRequest', null
166
166
  goog.exportSymbol('proto.sniiptransactionapi.TransactionsResponse', null, global);
167
167
  goog.exportSymbol('proto.sniiptransactionapi.UnblockFraudulentUserRequest', null, global);
168
168
  goog.exportSymbol('proto.sniiptransactionapi.UpdateLegStatusRequest', null, global);
169
+ goog.exportSymbol('proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest', null, global);
169
170
  goog.exportSymbol('proto.sniiptransactionapi.UpdateTransactionStatusesRequest', null, global);
170
171
  goog.exportSymbol('proto.sniiptransactionapi.UserTransactionsGetRequest', null, global);
171
172
  goog.exportSymbol('proto.sniiptransactionapi.VerificationCodeSource', null, global);
@@ -3237,6 +3238,27 @@ if (goog.DEBUG && !COMPILED) {
3237
3238
  */
3238
3239
  proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.displayName = 'proto.sniiptransactionapi.GetUserPaymentProcessorsResponse';
3239
3240
  }
3241
+ /**
3242
+ * Generated by JsPbCodeGenerator.
3243
+ * @param {Array=} opt_data Optional initial data array, typically from a
3244
+ * server response, or constructed directly in Javascript. The array is used
3245
+ * in place and becomes part of the constructed object. It is not cloned.
3246
+ * If no data is provided, the constructed object will be empty, but still
3247
+ * valid.
3248
+ * @extends {jspb.Message}
3249
+ * @constructor
3250
+ */
3251
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest = function(opt_data) {
3252
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3253
+ };
3254
+ goog.inherits(proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest, jspb.Message);
3255
+ if (goog.DEBUG && !COMPILED) {
3256
+ /**
3257
+ * @public
3258
+ * @override
3259
+ */
3260
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.displayName = 'proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest';
3261
+ }
3240
3262
 
3241
3263
 
3242
3264
 
@@ -42410,6 +42432,256 @@ proto.sniiptransactionapi.GetUserPaymentProcessorsResponse.prototype.clearPaymen
42410
42432
  };
42411
42433
 
42412
42434
 
42435
+
42436
+
42437
+
42438
+ if (jspb.Message.GENERATE_TO_OBJECT) {
42439
+ /**
42440
+ * Creates an object representation of this proto.
42441
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
42442
+ * Optional fields that are not set will be set to undefined.
42443
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
42444
+ * For the list of reserved names please see:
42445
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
42446
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
42447
+ * JSPB instance for transitional soy proto support:
42448
+ * http://goto/soy-param-migration
42449
+ * @return {!Object}
42450
+ */
42451
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.prototype.toObject = function(opt_includeInstance) {
42452
+ return proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.toObject(opt_includeInstance, this);
42453
+ };
42454
+
42455
+
42456
+ /**
42457
+ * Static version of the {@see toObject} method.
42458
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
42459
+ * the JSPB instance for transitional soy proto support:
42460
+ * http://goto/soy-param-migration
42461
+ * @param {!proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest} msg The msg instance to transform.
42462
+ * @return {!Object}
42463
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42464
+ */
42465
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.toObject = function(includeInstance, msg) {
42466
+ var f, obj = {
42467
+ transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
42468
+ billercode: jspb.Message.getFieldWithDefault(msg, 2, ""),
42469
+ paymentprocessor: jspb.Message.getFieldWithDefault(msg, 3, ""),
42470
+ reference: jspb.Message.getFieldWithDefault(msg, 4, ""),
42471
+ billerconfigid: jspb.Message.getFieldWithDefault(msg, 5, 0)
42472
+ };
42473
+
42474
+ if (includeInstance) {
42475
+ obj.$jspbMessageInstance = msg;
42476
+ }
42477
+ return obj;
42478
+ };
42479
+ }
42480
+
42481
+
42482
+ /**
42483
+ * Deserializes binary data (in protobuf wire format).
42484
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
42485
+ * @return {!proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest}
42486
+ */
42487
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.deserializeBinary = function(bytes) {
42488
+ var reader = new jspb.BinaryReader(bytes);
42489
+ var msg = new proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest;
42490
+ return proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.deserializeBinaryFromReader(msg, reader);
42491
+ };
42492
+
42493
+
42494
+ /**
42495
+ * Deserializes binary data (in protobuf wire format) from the
42496
+ * given reader into the given message object.
42497
+ * @param {!proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest} msg The message object to deserialize into.
42498
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
42499
+ * @return {!proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest}
42500
+ */
42501
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
42502
+ while (reader.nextField()) {
42503
+ if (reader.isEndGroup()) {
42504
+ break;
42505
+ }
42506
+ var field = reader.getFieldNumber();
42507
+ switch (field) {
42508
+ case 1:
42509
+ var value = /** @type {number} */ (reader.readInt64());
42510
+ msg.setTransactionid(value);
42511
+ break;
42512
+ case 2:
42513
+ var value = /** @type {string} */ (reader.readString());
42514
+ msg.setBillercode(value);
42515
+ break;
42516
+ case 3:
42517
+ var value = /** @type {string} */ (reader.readString());
42518
+ msg.setPaymentprocessor(value);
42519
+ break;
42520
+ case 4:
42521
+ var value = /** @type {string} */ (reader.readString());
42522
+ msg.setReference(value);
42523
+ break;
42524
+ case 5:
42525
+ var value = /** @type {number} */ (reader.readInt64());
42526
+ msg.setBillerconfigid(value);
42527
+ break;
42528
+ default:
42529
+ reader.skipField();
42530
+ break;
42531
+ }
42532
+ }
42533
+ return msg;
42534
+ };
42535
+
42536
+
42537
+ /**
42538
+ * Serializes the message to binary data (in protobuf wire format).
42539
+ * @return {!Uint8Array}
42540
+ */
42541
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.prototype.serializeBinary = function() {
42542
+ var writer = new jspb.BinaryWriter();
42543
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.serializeBinaryToWriter(this, writer);
42544
+ return writer.getResultBuffer();
42545
+ };
42546
+
42547
+
42548
+ /**
42549
+ * Serializes the given message to binary data (in protobuf wire
42550
+ * format), writing to the given BinaryWriter.
42551
+ * @param {!proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest} message
42552
+ * @param {!jspb.BinaryWriter} writer
42553
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42554
+ */
42555
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.serializeBinaryToWriter = function(message, writer) {
42556
+ var f = undefined;
42557
+ f = message.getTransactionid();
42558
+ if (f !== 0) {
42559
+ writer.writeInt64(
42560
+ 1,
42561
+ f
42562
+ );
42563
+ }
42564
+ f = message.getBillercode();
42565
+ if (f.length > 0) {
42566
+ writer.writeString(
42567
+ 2,
42568
+ f
42569
+ );
42570
+ }
42571
+ f = message.getPaymentprocessor();
42572
+ if (f.length > 0) {
42573
+ writer.writeString(
42574
+ 3,
42575
+ f
42576
+ );
42577
+ }
42578
+ f = message.getReference();
42579
+ if (f.length > 0) {
42580
+ writer.writeString(
42581
+ 4,
42582
+ f
42583
+ );
42584
+ }
42585
+ f = message.getBillerconfigid();
42586
+ if (f !== 0) {
42587
+ writer.writeInt64(
42588
+ 5,
42589
+ f
42590
+ );
42591
+ }
42592
+ };
42593
+
42594
+
42595
+ /**
42596
+ * optional int64 transactionId = 1;
42597
+ * @return {number}
42598
+ */
42599
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.prototype.getTransactionid = function() {
42600
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
42601
+ };
42602
+
42603
+
42604
+ /**
42605
+ * @param {number} value
42606
+ * @return {!proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest} returns this
42607
+ */
42608
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.prototype.setTransactionid = function(value) {
42609
+ return jspb.Message.setProto3IntField(this, 1, value);
42610
+ };
42611
+
42612
+
42613
+ /**
42614
+ * optional string billerCode = 2;
42615
+ * @return {string}
42616
+ */
42617
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.prototype.getBillercode = function() {
42618
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
42619
+ };
42620
+
42621
+
42622
+ /**
42623
+ * @param {string} value
42624
+ * @return {!proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest} returns this
42625
+ */
42626
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.prototype.setBillercode = function(value) {
42627
+ return jspb.Message.setProto3StringField(this, 2, value);
42628
+ };
42629
+
42630
+
42631
+ /**
42632
+ * optional string paymentProcessor = 3;
42633
+ * @return {string}
42634
+ */
42635
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.prototype.getPaymentprocessor = function() {
42636
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
42637
+ };
42638
+
42639
+
42640
+ /**
42641
+ * @param {string} value
42642
+ * @return {!proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest} returns this
42643
+ */
42644
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.prototype.setPaymentprocessor = function(value) {
42645
+ return jspb.Message.setProto3StringField(this, 3, value);
42646
+ };
42647
+
42648
+
42649
+ /**
42650
+ * optional string reference = 4;
42651
+ * @return {string}
42652
+ */
42653
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.prototype.getReference = function() {
42654
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
42655
+ };
42656
+
42657
+
42658
+ /**
42659
+ * @param {string} value
42660
+ * @return {!proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest} returns this
42661
+ */
42662
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.prototype.setReference = function(value) {
42663
+ return jspb.Message.setProto3StringField(this, 4, value);
42664
+ };
42665
+
42666
+
42667
+ /**
42668
+ * optional int64 billerConfigId = 5;
42669
+ * @return {number}
42670
+ */
42671
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.prototype.getBillerconfigid = function() {
42672
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
42673
+ };
42674
+
42675
+
42676
+ /**
42677
+ * @param {number} value
42678
+ * @return {!proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest} returns this
42679
+ */
42680
+ proto.sniiptransactionapi.UpdateTransactionPaymentDetailsRequest.prototype.setBillerconfigid = function(value) {
42681
+ return jspb.Message.setProto3IntField(this, 5, value);
42682
+ };
42683
+
42684
+
42413
42685
  /**
42414
42686
  * @enum {number}
42415
42687
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/transaction-service-client-grpcweb-ts",
3
- "version": "26.3.14157",
3
+ "version": "26.4.14170",
4
4
  "description": "transaction-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",