@sniipwebmaster/transaction-service-client-grpcweb-ts 24.6.11294 → 24.6.11316

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.
@@ -1115,6 +1115,28 @@ export class SniipTransactionAPIServiceClient {
1115
1115
  this.methodDescriptorGetPaymentReceipt);
1116
1116
  }
1117
1117
 
1118
+ methodDescriptorDownloadPaymentReceipt = new grpcWeb.MethodDescriptor(
1119
+ '/sniiptransactionapi.SniipTransactionAPIService/DownloadPaymentReceipt',
1120
+ grpcWeb.MethodType.SERVER_STREAMING,
1121
+ service_pb.DownloadPaymentReceiptRequest,
1122
+ service_pb.FileDownloadChunk,
1123
+ (request: service_pb.DownloadPaymentReceiptRequest) => {
1124
+ return request.serializeBinary();
1125
+ },
1126
+ service_pb.FileDownloadChunk.deserializeBinary
1127
+ );
1128
+
1129
+ downloadPaymentReceipt(
1130
+ request: service_pb.DownloadPaymentReceiptRequest,
1131
+ metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<service_pb.FileDownloadChunk> {
1132
+ return this.client_.serverStreaming(
1133
+ this.hostname_ +
1134
+ '/sniiptransactionapi.SniipTransactionAPIService/DownloadPaymentReceipt',
1135
+ request,
1136
+ metadata || {},
1137
+ this.methodDescriptorDownloadPaymentReceipt);
1138
+ }
1139
+
1118
1140
  methodDescriptorGetPaymentsSummaryForUserDashboard = new grpcWeb.MethodDescriptor(
1119
1141
  '/sniiptransactionapi.SniipTransactionAPIService/GetPaymentsSummaryForUserDashboard',
1120
1142
  grpcWeb.MethodType.UNARY,
@@ -1392,6 +1392,28 @@ export namespace GetPaymentReceiptRequest {
1392
1392
  }
1393
1393
  }
1394
1394
 
1395
+ export class DownloadPaymentReceiptRequest extends jspb.Message {
1396
+ getTransactionid(): number;
1397
+ setTransactionid(value: number): DownloadPaymentReceiptRequest;
1398
+
1399
+ getTimezone(): string;
1400
+ setTimezone(value: string): DownloadPaymentReceiptRequest;
1401
+
1402
+ serializeBinary(): Uint8Array;
1403
+ toObject(includeInstance?: boolean): DownloadPaymentReceiptRequest.AsObject;
1404
+ static toObject(includeInstance: boolean, msg: DownloadPaymentReceiptRequest): DownloadPaymentReceiptRequest.AsObject;
1405
+ static serializeBinaryToWriter(message: DownloadPaymentReceiptRequest, writer: jspb.BinaryWriter): void;
1406
+ static deserializeBinary(bytes: Uint8Array): DownloadPaymentReceiptRequest;
1407
+ static deserializeBinaryFromReader(message: DownloadPaymentReceiptRequest, reader: jspb.BinaryReader): DownloadPaymentReceiptRequest;
1408
+ }
1409
+
1410
+ export namespace DownloadPaymentReceiptRequest {
1411
+ export type AsObject = {
1412
+ transactionid: number,
1413
+ timezone: string,
1414
+ }
1415
+ }
1416
+
1395
1417
  export class GetProcessingFeesRequest extends jspb.Message {
1396
1418
  getData(): ProcessingFeesRequest | undefined;
1397
1419
  setData(value?: ProcessingFeesRequest): GetProcessingFeesRequest;
@@ -3333,6 +3355,9 @@ export class ReceiptDetails extends jspb.Message {
3333
3355
  getDeliverytimestamp(): string;
3334
3356
  setDeliverytimestamp(value: string): ReceiptDetails;
3335
3357
 
3358
+ getAgentuserid(): number;
3359
+ setAgentuserid(value: number): ReceiptDetails;
3360
+
3336
3361
  serializeBinary(): Uint8Array;
3337
3362
  toObject(includeInstance?: boolean): ReceiptDetails.AsObject;
3338
3363
  static toObject(includeInstance: boolean, msg: ReceiptDetails): ReceiptDetails.AsObject;
@@ -3396,6 +3421,7 @@ export namespace ReceiptDetails {
3396
3421
  agentlastname: string,
3397
3422
  deliverybatchname: string,
3398
3423
  deliverytimestamp: string,
3424
+ agentuserid: number,
3399
3425
  }
3400
3426
  }
3401
3427
 
@@ -3998,6 +4024,9 @@ export class TransactionDetails extends jspb.Message {
3998
4024
  getDeliverytimestamp(): string;
3999
4025
  setDeliverytimestamp(value: string): TransactionDetails;
4000
4026
 
4027
+ getAgentuserid(): number;
4028
+ setAgentuserid(value: number): TransactionDetails;
4029
+
4001
4030
  serializeBinary(): Uint8Array;
4002
4031
  toObject(includeInstance?: boolean): TransactionDetails.AsObject;
4003
4032
  static toObject(includeInstance: boolean, msg: TransactionDetails): TransactionDetails.AsObject;
@@ -4080,6 +4109,7 @@ export namespace TransactionDetails {
4080
4109
  agentlastname: string,
4081
4110
  deliverybatchname: string,
4082
4111
  deliverytimestamp: string,
4112
+ agentuserid: number,
4083
4113
  }
4084
4114
  }
4085
4115
 
@@ -4393,3 +4423,23 @@ export namespace VoidRewardForTransactionRequest {
4393
4423
  }
4394
4424
  }
4395
4425
 
4426
+ export class FileDownloadChunk extends jspb.Message {
4427
+ getData(): Uint8Array | string;
4428
+ getData_asU8(): Uint8Array;
4429
+ getData_asB64(): string;
4430
+ setData(value: Uint8Array | string): FileDownloadChunk;
4431
+
4432
+ serializeBinary(): Uint8Array;
4433
+ toObject(includeInstance?: boolean): FileDownloadChunk.AsObject;
4434
+ static toObject(includeInstance: boolean, msg: FileDownloadChunk): FileDownloadChunk.AsObject;
4435
+ static serializeBinaryToWriter(message: FileDownloadChunk, writer: jspb.BinaryWriter): void;
4436
+ static deserializeBinary(bytes: Uint8Array): FileDownloadChunk;
4437
+ static deserializeBinaryFromReader(message: FileDownloadChunk, reader: jspb.BinaryReader): FileDownloadChunk;
4438
+ }
4439
+
4440
+ export namespace FileDownloadChunk {
4441
+ export type AsObject = {
4442
+ data: Uint8Array | string,
4443
+ }
4444
+ }
4445
+
@@ -48,9 +48,11 @@ goog.exportSymbol('proto.sniiptransactionapi.CreditCardGetRequest', null, global
48
48
  goog.exportSymbol('proto.sniiptransactionapi.DeleteTransactionsRequest', null, global);
49
49
  goog.exportSymbol('proto.sniiptransactionapi.DeviceBlockRequest', null, global);
50
50
  goog.exportSymbol('proto.sniiptransactionapi.DownloadCollatedBillerTransactionsCsvRequest', null, global);
51
+ goog.exportSymbol('proto.sniiptransactionapi.DownloadPaymentReceiptRequest', null, global);
51
52
  goog.exportSymbol('proto.sniiptransactionapi.ExportReceiptsRequest', null, global);
52
53
  goog.exportSymbol('proto.sniiptransactionapi.ExternalPaymentReceiptCreateRequest', null, global);
53
54
  goog.exportSymbol('proto.sniiptransactionapi.FailedRefundRequest', null, global);
55
+ goog.exportSymbol('proto.sniiptransactionapi.FileDownloadChunk', null, global);
54
56
  goog.exportSymbol('proto.sniiptransactionapi.FraudulentUserBlockRequest', null, global);
55
57
  goog.exportSymbol('proto.sniiptransactionapi.FraudulentUserUnblockRequest', null, global);
56
58
  goog.exportSymbol('proto.sniiptransactionapi.GetBankProcesingTransactionsRequest', null, global);
@@ -1238,6 +1240,27 @@ if (goog.DEBUG && !COMPILED) {
1238
1240
  */
1239
1241
  proto.sniiptransactionapi.GetPaymentReceiptRequest.displayName = 'proto.sniiptransactionapi.GetPaymentReceiptRequest';
1240
1242
  }
1243
+ /**
1244
+ * Generated by JsPbCodeGenerator.
1245
+ * @param {Array=} opt_data Optional initial data array, typically from a
1246
+ * server response, or constructed directly in Javascript. The array is used
1247
+ * in place and becomes part of the constructed object. It is not cloned.
1248
+ * If no data is provided, the constructed object will be empty, but still
1249
+ * valid.
1250
+ * @extends {jspb.Message}
1251
+ * @constructor
1252
+ */
1253
+ proto.sniiptransactionapi.DownloadPaymentReceiptRequest = function(opt_data) {
1254
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1255
+ };
1256
+ goog.inherits(proto.sniiptransactionapi.DownloadPaymentReceiptRequest, jspb.Message);
1257
+ if (goog.DEBUG && !COMPILED) {
1258
+ /**
1259
+ * @public
1260
+ * @override
1261
+ */
1262
+ proto.sniiptransactionapi.DownloadPaymentReceiptRequest.displayName = 'proto.sniiptransactionapi.DownloadPaymentReceiptRequest';
1263
+ }
1241
1264
  /**
1242
1265
  * Generated by JsPbCodeGenerator.
1243
1266
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2834,6 +2857,27 @@ if (goog.DEBUG && !COMPILED) {
2834
2857
  */
2835
2858
  proto.sniiptransactionapi.VoidRewardForTransactionRequest.displayName = 'proto.sniiptransactionapi.VoidRewardForTransactionRequest';
2836
2859
  }
2860
+ /**
2861
+ * Generated by JsPbCodeGenerator.
2862
+ * @param {Array=} opt_data Optional initial data array, typically from a
2863
+ * server response, or constructed directly in Javascript. The array is used
2864
+ * in place and becomes part of the constructed object. It is not cloned.
2865
+ * If no data is provided, the constructed object will be empty, but still
2866
+ * valid.
2867
+ * @extends {jspb.Message}
2868
+ * @constructor
2869
+ */
2870
+ proto.sniiptransactionapi.FileDownloadChunk = function(opt_data) {
2871
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2872
+ };
2873
+ goog.inherits(proto.sniiptransactionapi.FileDownloadChunk, jspb.Message);
2874
+ if (goog.DEBUG && !COMPILED) {
2875
+ /**
2876
+ * @public
2877
+ * @override
2878
+ */
2879
+ proto.sniiptransactionapi.FileDownloadChunk.displayName = 'proto.sniiptransactionapi.FileDownloadChunk';
2880
+ }
2837
2881
 
2838
2882
 
2839
2883
 
@@ -13221,6 +13265,166 @@ proto.sniiptransactionapi.GetPaymentReceiptRequest.prototype.setTransactionid =
13221
13265
 
13222
13266
 
13223
13267
 
13268
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13269
+ /**
13270
+ * Creates an object representation of this proto.
13271
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13272
+ * Optional fields that are not set will be set to undefined.
13273
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13274
+ * For the list of reserved names please see:
13275
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13276
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13277
+ * JSPB instance for transitional soy proto support:
13278
+ * http://goto/soy-param-migration
13279
+ * @return {!Object}
13280
+ */
13281
+ proto.sniiptransactionapi.DownloadPaymentReceiptRequest.prototype.toObject = function(opt_includeInstance) {
13282
+ return proto.sniiptransactionapi.DownloadPaymentReceiptRequest.toObject(opt_includeInstance, this);
13283
+ };
13284
+
13285
+
13286
+ /**
13287
+ * Static version of the {@see toObject} method.
13288
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13289
+ * the JSPB instance for transitional soy proto support:
13290
+ * http://goto/soy-param-migration
13291
+ * @param {!proto.sniiptransactionapi.DownloadPaymentReceiptRequest} msg The msg instance to transform.
13292
+ * @return {!Object}
13293
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13294
+ */
13295
+ proto.sniiptransactionapi.DownloadPaymentReceiptRequest.toObject = function(includeInstance, msg) {
13296
+ var f, obj = {
13297
+ transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
13298
+ timezone: jspb.Message.getFieldWithDefault(msg, 2, "")
13299
+ };
13300
+
13301
+ if (includeInstance) {
13302
+ obj.$jspbMessageInstance = msg;
13303
+ }
13304
+ return obj;
13305
+ };
13306
+ }
13307
+
13308
+
13309
+ /**
13310
+ * Deserializes binary data (in protobuf wire format).
13311
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
13312
+ * @return {!proto.sniiptransactionapi.DownloadPaymentReceiptRequest}
13313
+ */
13314
+ proto.sniiptransactionapi.DownloadPaymentReceiptRequest.deserializeBinary = function(bytes) {
13315
+ var reader = new jspb.BinaryReader(bytes);
13316
+ var msg = new proto.sniiptransactionapi.DownloadPaymentReceiptRequest;
13317
+ return proto.sniiptransactionapi.DownloadPaymentReceiptRequest.deserializeBinaryFromReader(msg, reader);
13318
+ };
13319
+
13320
+
13321
+ /**
13322
+ * Deserializes binary data (in protobuf wire format) from the
13323
+ * given reader into the given message object.
13324
+ * @param {!proto.sniiptransactionapi.DownloadPaymentReceiptRequest} msg The message object to deserialize into.
13325
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13326
+ * @return {!proto.sniiptransactionapi.DownloadPaymentReceiptRequest}
13327
+ */
13328
+ proto.sniiptransactionapi.DownloadPaymentReceiptRequest.deserializeBinaryFromReader = function(msg, reader) {
13329
+ while (reader.nextField()) {
13330
+ if (reader.isEndGroup()) {
13331
+ break;
13332
+ }
13333
+ var field = reader.getFieldNumber();
13334
+ switch (field) {
13335
+ case 1:
13336
+ var value = /** @type {number} */ (reader.readInt64());
13337
+ msg.setTransactionid(value);
13338
+ break;
13339
+ case 2:
13340
+ var value = /** @type {string} */ (reader.readString());
13341
+ msg.setTimezone(value);
13342
+ break;
13343
+ default:
13344
+ reader.skipField();
13345
+ break;
13346
+ }
13347
+ }
13348
+ return msg;
13349
+ };
13350
+
13351
+
13352
+ /**
13353
+ * Serializes the message to binary data (in protobuf wire format).
13354
+ * @return {!Uint8Array}
13355
+ */
13356
+ proto.sniiptransactionapi.DownloadPaymentReceiptRequest.prototype.serializeBinary = function() {
13357
+ var writer = new jspb.BinaryWriter();
13358
+ proto.sniiptransactionapi.DownloadPaymentReceiptRequest.serializeBinaryToWriter(this, writer);
13359
+ return writer.getResultBuffer();
13360
+ };
13361
+
13362
+
13363
+ /**
13364
+ * Serializes the given message to binary data (in protobuf wire
13365
+ * format), writing to the given BinaryWriter.
13366
+ * @param {!proto.sniiptransactionapi.DownloadPaymentReceiptRequest} message
13367
+ * @param {!jspb.BinaryWriter} writer
13368
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13369
+ */
13370
+ proto.sniiptransactionapi.DownloadPaymentReceiptRequest.serializeBinaryToWriter = function(message, writer) {
13371
+ var f = undefined;
13372
+ f = message.getTransactionid();
13373
+ if (f !== 0) {
13374
+ writer.writeInt64(
13375
+ 1,
13376
+ f
13377
+ );
13378
+ }
13379
+ f = message.getTimezone();
13380
+ if (f.length > 0) {
13381
+ writer.writeString(
13382
+ 2,
13383
+ f
13384
+ );
13385
+ }
13386
+ };
13387
+
13388
+
13389
+ /**
13390
+ * optional int64 transactionId = 1;
13391
+ * @return {number}
13392
+ */
13393
+ proto.sniiptransactionapi.DownloadPaymentReceiptRequest.prototype.getTransactionid = function() {
13394
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
13395
+ };
13396
+
13397
+
13398
+ /**
13399
+ * @param {number} value
13400
+ * @return {!proto.sniiptransactionapi.DownloadPaymentReceiptRequest} returns this
13401
+ */
13402
+ proto.sniiptransactionapi.DownloadPaymentReceiptRequest.prototype.setTransactionid = function(value) {
13403
+ return jspb.Message.setProto3IntField(this, 1, value);
13404
+ };
13405
+
13406
+
13407
+ /**
13408
+ * optional string timezone = 2;
13409
+ * @return {string}
13410
+ */
13411
+ proto.sniiptransactionapi.DownloadPaymentReceiptRequest.prototype.getTimezone = function() {
13412
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
13413
+ };
13414
+
13415
+
13416
+ /**
13417
+ * @param {string} value
13418
+ * @return {!proto.sniiptransactionapi.DownloadPaymentReceiptRequest} returns this
13419
+ */
13420
+ proto.sniiptransactionapi.DownloadPaymentReceiptRequest.prototype.setTimezone = function(value) {
13421
+ return jspb.Message.setProto3StringField(this, 2, value);
13422
+ };
13423
+
13424
+
13425
+
13426
+
13427
+
13224
13428
  if (jspb.Message.GENERATE_TO_OBJECT) {
13225
13429
  /**
13226
13430
  * Creates an object representation of this proto.
@@ -26581,7 +26785,8 @@ proto.sniiptransactionapi.ReceiptDetails.toObject = function(includeInstance, ms
26581
26785
  agentfirstname: jspb.Message.getFieldWithDefault(msg, 71, ""),
26582
26786
  agentlastname: jspb.Message.getFieldWithDefault(msg, 72, ""),
26583
26787
  deliverybatchname: jspb.Message.getFieldWithDefault(msg, 73, ""),
26584
- deliverytimestamp: jspb.Message.getFieldWithDefault(msg, 74, "")
26788
+ deliverytimestamp: jspb.Message.getFieldWithDefault(msg, 74, ""),
26789
+ agentuserid: jspb.Message.getFieldWithDefault(msg, 75, 0)
26585
26790
  };
26586
26791
 
26587
26792
  if (includeInstance) {
@@ -26832,6 +27037,10 @@ proto.sniiptransactionapi.ReceiptDetails.deserializeBinaryFromReader = function(
26832
27037
  var value = /** @type {string} */ (reader.readString());
26833
27038
  msg.setDeliverytimestamp(value);
26834
27039
  break;
27040
+ case 75:
27041
+ var value = /** @type {number} */ (reader.readInt64());
27042
+ msg.setAgentuserid(value);
27043
+ break;
26835
27044
  default:
26836
27045
  reader.skipField();
26837
27046
  break;
@@ -27234,6 +27443,13 @@ proto.sniiptransactionapi.ReceiptDetails.serializeBinaryToWriter = function(mess
27234
27443
  f
27235
27444
  );
27236
27445
  }
27446
+ f = message.getAgentuserid();
27447
+ if (f !== 0) {
27448
+ writer.writeInt64(
27449
+ 75,
27450
+ f
27451
+ );
27452
+ }
27237
27453
  };
27238
27454
 
27239
27455
 
@@ -28230,6 +28446,24 @@ proto.sniiptransactionapi.ReceiptDetails.prototype.setDeliverytimestamp = functi
28230
28446
  };
28231
28447
 
28232
28448
 
28449
+ /**
28450
+ * optional int64 agentUserId = 75;
28451
+ * @return {number}
28452
+ */
28453
+ proto.sniiptransactionapi.ReceiptDetails.prototype.getAgentuserid = function() {
28454
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 75, 0));
28455
+ };
28456
+
28457
+
28458
+ /**
28459
+ * @param {number} value
28460
+ * @return {!proto.sniiptransactionapi.ReceiptDetails} returns this
28461
+ */
28462
+ proto.sniiptransactionapi.ReceiptDetails.prototype.setAgentuserid = function(value) {
28463
+ return jspb.Message.setProto3IntField(this, 75, value);
28464
+ };
28465
+
28466
+
28233
28467
 
28234
28468
 
28235
28469
 
@@ -31161,7 +31395,8 @@ proto.sniiptransactionapi.TransactionDetails.toObject = function(includeInstance
31161
31395
  agentfirstname: jspb.Message.getFieldWithDefault(msg, 71, ""),
31162
31396
  agentlastname: jspb.Message.getFieldWithDefault(msg, 72, ""),
31163
31397
  deliverybatchname: jspb.Message.getFieldWithDefault(msg, 73, ""),
31164
- deliverytimestamp: jspb.Message.getFieldWithDefault(msg, 74, "")
31398
+ deliverytimestamp: jspb.Message.getFieldWithDefault(msg, 74, ""),
31399
+ agentuserid: jspb.Message.getFieldWithDefault(msg, 75, 0)
31165
31400
  };
31166
31401
 
31167
31402
  if (includeInstance) {
@@ -31488,6 +31723,10 @@ proto.sniiptransactionapi.TransactionDetails.deserializeBinaryFromReader = funct
31488
31723
  var value = /** @type {string} */ (reader.readString());
31489
31724
  msg.setDeliverytimestamp(value);
31490
31725
  break;
31726
+ case 75:
31727
+ var value = /** @type {number} */ (reader.readInt64());
31728
+ msg.setAgentuserid(value);
31729
+ break;
31491
31730
  default:
31492
31731
  reader.skipField();
31493
31732
  break;
@@ -32023,6 +32262,13 @@ proto.sniiptransactionapi.TransactionDetails.serializeBinaryToWriter = function(
32023
32262
  f
32024
32263
  );
32025
32264
  }
32265
+ f = message.getAgentuserid();
32266
+ if (f !== 0) {
32267
+ writer.writeInt64(
32268
+ 75,
32269
+ f
32270
+ );
32271
+ }
32026
32272
  };
32027
32273
 
32028
32274
 
@@ -33361,6 +33607,24 @@ proto.sniiptransactionapi.TransactionDetails.prototype.setDeliverytimestamp = fu
33361
33607
  };
33362
33608
 
33363
33609
 
33610
+ /**
33611
+ * optional int64 agentUserId = 75;
33612
+ * @return {number}
33613
+ */
33614
+ proto.sniiptransactionapi.TransactionDetails.prototype.getAgentuserid = function() {
33615
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 75, 0));
33616
+ };
33617
+
33618
+
33619
+ /**
33620
+ * @param {number} value
33621
+ * @return {!proto.sniiptransactionapi.TransactionDetails} returns this
33622
+ */
33623
+ proto.sniiptransactionapi.TransactionDetails.prototype.setAgentuserid = function(value) {
33624
+ return jspb.Message.setProto3IntField(this, 75, value);
33625
+ };
33626
+
33627
+
33364
33628
 
33365
33629
 
33366
33630
 
@@ -35693,4 +35957,158 @@ proto.sniiptransactionapi.VoidRewardForTransactionRequest.prototype.hasData = fu
35693
35957
  };
35694
35958
 
35695
35959
 
35960
+
35961
+
35962
+
35963
+ if (jspb.Message.GENERATE_TO_OBJECT) {
35964
+ /**
35965
+ * Creates an object representation of this proto.
35966
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
35967
+ * Optional fields that are not set will be set to undefined.
35968
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
35969
+ * For the list of reserved names please see:
35970
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
35971
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
35972
+ * JSPB instance for transitional soy proto support:
35973
+ * http://goto/soy-param-migration
35974
+ * @return {!Object}
35975
+ */
35976
+ proto.sniiptransactionapi.FileDownloadChunk.prototype.toObject = function(opt_includeInstance) {
35977
+ return proto.sniiptransactionapi.FileDownloadChunk.toObject(opt_includeInstance, this);
35978
+ };
35979
+
35980
+
35981
+ /**
35982
+ * Static version of the {@see toObject} method.
35983
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
35984
+ * the JSPB instance for transitional soy proto support:
35985
+ * http://goto/soy-param-migration
35986
+ * @param {!proto.sniiptransactionapi.FileDownloadChunk} msg The msg instance to transform.
35987
+ * @return {!Object}
35988
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35989
+ */
35990
+ proto.sniiptransactionapi.FileDownloadChunk.toObject = function(includeInstance, msg) {
35991
+ var f, obj = {
35992
+ data: msg.getData_asB64()
35993
+ };
35994
+
35995
+ if (includeInstance) {
35996
+ obj.$jspbMessageInstance = msg;
35997
+ }
35998
+ return obj;
35999
+ };
36000
+ }
36001
+
36002
+
36003
+ /**
36004
+ * Deserializes binary data (in protobuf wire format).
36005
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
36006
+ * @return {!proto.sniiptransactionapi.FileDownloadChunk}
36007
+ */
36008
+ proto.sniiptransactionapi.FileDownloadChunk.deserializeBinary = function(bytes) {
36009
+ var reader = new jspb.BinaryReader(bytes);
36010
+ var msg = new proto.sniiptransactionapi.FileDownloadChunk;
36011
+ return proto.sniiptransactionapi.FileDownloadChunk.deserializeBinaryFromReader(msg, reader);
36012
+ };
36013
+
36014
+
36015
+ /**
36016
+ * Deserializes binary data (in protobuf wire format) from the
36017
+ * given reader into the given message object.
36018
+ * @param {!proto.sniiptransactionapi.FileDownloadChunk} msg The message object to deserialize into.
36019
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
36020
+ * @return {!proto.sniiptransactionapi.FileDownloadChunk}
36021
+ */
36022
+ proto.sniiptransactionapi.FileDownloadChunk.deserializeBinaryFromReader = function(msg, reader) {
36023
+ while (reader.nextField()) {
36024
+ if (reader.isEndGroup()) {
36025
+ break;
36026
+ }
36027
+ var field = reader.getFieldNumber();
36028
+ switch (field) {
36029
+ case 1:
36030
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
36031
+ msg.setData(value);
36032
+ break;
36033
+ default:
36034
+ reader.skipField();
36035
+ break;
36036
+ }
36037
+ }
36038
+ return msg;
36039
+ };
36040
+
36041
+
36042
+ /**
36043
+ * Serializes the message to binary data (in protobuf wire format).
36044
+ * @return {!Uint8Array}
36045
+ */
36046
+ proto.sniiptransactionapi.FileDownloadChunk.prototype.serializeBinary = function() {
36047
+ var writer = new jspb.BinaryWriter();
36048
+ proto.sniiptransactionapi.FileDownloadChunk.serializeBinaryToWriter(this, writer);
36049
+ return writer.getResultBuffer();
36050
+ };
36051
+
36052
+
36053
+ /**
36054
+ * Serializes the given message to binary data (in protobuf wire
36055
+ * format), writing to the given BinaryWriter.
36056
+ * @param {!proto.sniiptransactionapi.FileDownloadChunk} message
36057
+ * @param {!jspb.BinaryWriter} writer
36058
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36059
+ */
36060
+ proto.sniiptransactionapi.FileDownloadChunk.serializeBinaryToWriter = function(message, writer) {
36061
+ var f = undefined;
36062
+ f = message.getData_asU8();
36063
+ if (f.length > 0) {
36064
+ writer.writeBytes(
36065
+ 1,
36066
+ f
36067
+ );
36068
+ }
36069
+ };
36070
+
36071
+
36072
+ /**
36073
+ * optional bytes data = 1;
36074
+ * @return {!(string|Uint8Array)}
36075
+ */
36076
+ proto.sniiptransactionapi.FileDownloadChunk.prototype.getData = function() {
36077
+ return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
36078
+ };
36079
+
36080
+
36081
+ /**
36082
+ * optional bytes data = 1;
36083
+ * This is a type-conversion wrapper around `getData()`
36084
+ * @return {string}
36085
+ */
36086
+ proto.sniiptransactionapi.FileDownloadChunk.prototype.getData_asB64 = function() {
36087
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
36088
+ this.getData()));
36089
+ };
36090
+
36091
+
36092
+ /**
36093
+ * optional bytes data = 1;
36094
+ * Note that Uint8Array is not supported on all browsers.
36095
+ * @see http://caniuse.com/Uint8Array
36096
+ * This is a type-conversion wrapper around `getData()`
36097
+ * @return {!Uint8Array}
36098
+ */
36099
+ proto.sniiptransactionapi.FileDownloadChunk.prototype.getData_asU8 = function() {
36100
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
36101
+ this.getData()));
36102
+ };
36103
+
36104
+
36105
+ /**
36106
+ * @param {!(string|Uint8Array)} value
36107
+ * @return {!proto.sniiptransactionapi.FileDownloadChunk} returns this
36108
+ */
36109
+ proto.sniiptransactionapi.FileDownloadChunk.prototype.setData = function(value) {
36110
+ return jspb.Message.setProto3BytesField(this, 1, value);
36111
+ };
36112
+
36113
+
35696
36114
  goog.object.extend(exports, proto.sniiptransactionapi);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/transaction-service-client-grpcweb-ts",
3
- "version": "24.6.11294",
3
+ "version": "24.6.11316",
4
4
  "description": "transaction-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",