@sniipwebmaster/agent-billing-client-grpcweb-ts 24.10.2850 → 24.10.2855

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.
@@ -255,6 +255,49 @@ export class AgentBillingServiceAPIServiceClient {
255
255
  this.methodDescriptorCreateAndSendDeliveryBatch);
256
256
  }
257
257
 
258
+ methodDescriptorCreateAndPayDeliveryBatch = new grpcWeb.MethodDescriptor(
259
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateAndPayDeliveryBatch',
260
+ grpcWeb.MethodType.UNARY,
261
+ service_pb.CreateAndPayDeliveryBatchRequest,
262
+ service_pb.ResponseCode,
263
+ (request: service_pb.CreateAndPayDeliveryBatchRequest) => {
264
+ return request.serializeBinary();
265
+ },
266
+ service_pb.ResponseCode.deserializeBinary
267
+ );
268
+
269
+ createAndPayDeliveryBatch(
270
+ request: service_pb.CreateAndPayDeliveryBatchRequest,
271
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
272
+
273
+ createAndPayDeliveryBatch(
274
+ request: service_pb.CreateAndPayDeliveryBatchRequest,
275
+ metadata: grpcWeb.Metadata | null,
276
+ callback: (err: grpcWeb.RpcError,
277
+ response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
278
+
279
+ createAndPayDeliveryBatch(
280
+ request: service_pb.CreateAndPayDeliveryBatchRequest,
281
+ metadata: grpcWeb.Metadata | null,
282
+ callback?: (err: grpcWeb.RpcError,
283
+ response: service_pb.ResponseCode) => void) {
284
+ if (callback !== undefined) {
285
+ return this.client_.rpcCall(
286
+ this.hostname_ +
287
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateAndPayDeliveryBatch',
288
+ request,
289
+ metadata || {},
290
+ this.methodDescriptorCreateAndPayDeliveryBatch,
291
+ callback);
292
+ }
293
+ return this.client_.unaryCall(
294
+ this.hostname_ +
295
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateAndPayDeliveryBatch',
296
+ request,
297
+ metadata || {},
298
+ this.methodDescriptorCreateAndPayDeliveryBatch);
299
+ }
300
+
258
301
  methodDescriptorCreateManuallyAddedAgentBill = new grpcWeb.MethodDescriptor(
259
302
  '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateManuallyAddedAgentBill',
260
303
  grpcWeb.MethodType.UNARY,
@@ -2148,27 +2191,5 @@ export class AgentBillingServiceAPIServiceClient {
2148
2191
  this.methodDescriptorDownloadFailedImportErrorLogForTextBasedFile);
2149
2192
  }
2150
2193
 
2151
- methodDescriptorDownloadReceiptsCsvForClientInPeriod = new grpcWeb.MethodDescriptor(
2152
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DownloadReceiptsCsvForClientInPeriod',
2153
- grpcWeb.MethodType.SERVER_STREAMING,
2154
- service_pb.DownloadReceiptsCsvForClientInPeriodRequest,
2155
- service_pb.FileDownloadChunk,
2156
- (request: service_pb.DownloadReceiptsCsvForClientInPeriodRequest) => {
2157
- return request.serializeBinary();
2158
- },
2159
- service_pb.FileDownloadChunk.deserializeBinary
2160
- );
2161
-
2162
- downloadReceiptsCsvForClientInPeriod(
2163
- request: service_pb.DownloadReceiptsCsvForClientInPeriodRequest,
2164
- metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<service_pb.FileDownloadChunk> {
2165
- return this.client_.serverStreaming(
2166
- this.hostname_ +
2167
- '/agentbillingserviceapi.AgentBillingServiceAPIService/DownloadReceiptsCsvForClientInPeriod',
2168
- request,
2169
- metadata || {},
2170
- this.methodDescriptorDownloadReceiptsCsvForClientInPeriod);
2171
- }
2172
-
2173
2194
  }
2174
2195
 
@@ -494,6 +494,46 @@ export namespace CreateAndSendDeliveryBatchRequest {
494
494
  }
495
495
  }
496
496
 
497
+ export class CreateAndPayDeliveryBatchRequest extends jspb.Message {
498
+ getAgentbillidsList(): Array<number>;
499
+ setAgentbillidsList(value: Array<number>): CreateAndPayDeliveryBatchRequest;
500
+ clearAgentbillidsList(): CreateAndPayDeliveryBatchRequest;
501
+ addAgentbillids(value: number, index?: number): CreateAndPayDeliveryBatchRequest;
502
+
503
+ getClientuserid(): number;
504
+ setClientuserid(value: number): CreateAndPayDeliveryBatchRequest;
505
+
506
+ getDeliverybatchname(): string;
507
+ setDeliverybatchname(value: string): CreateAndPayDeliveryBatchRequest;
508
+
509
+ getPaymentmethodid(): number;
510
+ setPaymentmethodid(value: number): CreateAndPayDeliveryBatchRequest;
511
+
512
+ getPin(): string;
513
+ setPin(value: string): CreateAndPayDeliveryBatchRequest;
514
+
515
+ getCvv(): string;
516
+ setCvv(value: string): CreateAndPayDeliveryBatchRequest;
517
+
518
+ serializeBinary(): Uint8Array;
519
+ toObject(includeInstance?: boolean): CreateAndPayDeliveryBatchRequest.AsObject;
520
+ static toObject(includeInstance: boolean, msg: CreateAndPayDeliveryBatchRequest): CreateAndPayDeliveryBatchRequest.AsObject;
521
+ static serializeBinaryToWriter(message: CreateAndPayDeliveryBatchRequest, writer: jspb.BinaryWriter): void;
522
+ static deserializeBinary(bytes: Uint8Array): CreateAndPayDeliveryBatchRequest;
523
+ static deserializeBinaryFromReader(message: CreateAndPayDeliveryBatchRequest, reader: jspb.BinaryReader): CreateAndPayDeliveryBatchRequest;
524
+ }
525
+
526
+ export namespace CreateAndPayDeliveryBatchRequest {
527
+ export type AsObject = {
528
+ agentbillidsList: Array<number>,
529
+ clientuserid: number,
530
+ deliverybatchname: string,
531
+ paymentmethodid: number,
532
+ pin: string,
533
+ cvv: string,
534
+ }
535
+ }
536
+
497
537
  export class CreateManuallyAddedAgentBillRequest extends jspb.Message {
498
538
  getClientuserid(): number;
499
539
  setClientuserid(value: number): CreateManuallyAddedAgentBillRequest;
@@ -3100,36 +3140,6 @@ export namespace DownloadFailedImportErrorLogForTextBasedFileRequest {
3100
3140
  }
3101
3141
  }
3102
3142
 
3103
- export class DownloadReceiptsCsvForClientInPeriodRequest extends jspb.Message {
3104
- getClientuserid(): number;
3105
- setClientuserid(value: number): DownloadReceiptsCsvForClientInPeriodRequest;
3106
-
3107
- getStartdate(): string;
3108
- setStartdate(value: string): DownloadReceiptsCsvForClientInPeriodRequest;
3109
-
3110
- getEnddate(): string;
3111
- setEnddate(value: string): DownloadReceiptsCsvForClientInPeriodRequest;
3112
-
3113
- getTimezone(): string;
3114
- setTimezone(value: string): DownloadReceiptsCsvForClientInPeriodRequest;
3115
-
3116
- serializeBinary(): Uint8Array;
3117
- toObject(includeInstance?: boolean): DownloadReceiptsCsvForClientInPeriodRequest.AsObject;
3118
- static toObject(includeInstance: boolean, msg: DownloadReceiptsCsvForClientInPeriodRequest): DownloadReceiptsCsvForClientInPeriodRequest.AsObject;
3119
- static serializeBinaryToWriter(message: DownloadReceiptsCsvForClientInPeriodRequest, writer: jspb.BinaryWriter): void;
3120
- static deserializeBinary(bytes: Uint8Array): DownloadReceiptsCsvForClientInPeriodRequest;
3121
- static deserializeBinaryFromReader(message: DownloadReceiptsCsvForClientInPeriodRequest, reader: jspb.BinaryReader): DownloadReceiptsCsvForClientInPeriodRequest;
3122
- }
3123
-
3124
- export namespace DownloadReceiptsCsvForClientInPeriodRequest {
3125
- export type AsObject = {
3126
- clientuserid: number,
3127
- startdate: string,
3128
- enddate: string,
3129
- timezone: string,
3130
- }
3131
- }
3132
-
3133
3143
  export enum BillScanType {
3134
3144
  SNIIP = 0,
3135
3145
  BPAY = 1,
@@ -3154,6 +3164,8 @@ export enum AgentBillStatus {
3154
3164
  SCHEDULED_FOR_PAYMENT = 7,
3155
3165
  ARCHIVED = 8,
3156
3166
  DELETED_BY_CLIENT = 9,
3167
+ SENT_TO_BULK_PAYMENT_SERVICE = 10,
3168
+ PENDING_SEND_TO_BULK_PAYMENT_SERVICE = 11,
3157
3169
  }
3158
3170
  export enum UploadBatchType {
3159
3171
  UNKNOWN = 0,
@@ -37,6 +37,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
37
37
  goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
38
38
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillRequest', null, global);
39
39
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillsResponse', null, global);
40
+ goog.exportSymbol('proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest', null, global);
40
41
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest', null, global);
41
42
  goog.exportSymbol('proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest', null, global);
42
43
  goog.exportSymbol('proto.agentbillingserviceapi.CreateUploadBatchRequest', null, global);
@@ -57,7 +58,6 @@ goog.exportSymbol('proto.agentbillingserviceapi.DeliveryBatch', null, global);
57
58
  goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, global);
58
59
  goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
59
60
  goog.exportSymbol('proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest', null, global);
60
- goog.exportSymbol('proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest', null, global);
61
61
  goog.exportSymbol('proto.agentbillingserviceapi.FileDownloadChunk', null, global);
62
62
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentAttachmentsRequest', null, global);
63
63
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest', null, global);
@@ -407,6 +407,27 @@ if (goog.DEBUG && !COMPILED) {
407
407
  */
408
408
  proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.displayName = 'proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest';
409
409
  }
410
+ /**
411
+ * Generated by JsPbCodeGenerator.
412
+ * @param {Array=} opt_data Optional initial data array, typically from a
413
+ * server response, or constructed directly in Javascript. The array is used
414
+ * in place and becomes part of the constructed object. It is not cloned.
415
+ * If no data is provided, the constructed object will be empty, but still
416
+ * valid.
417
+ * @extends {jspb.Message}
418
+ * @constructor
419
+ */
420
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest = function(opt_data) {
421
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.repeatedFields_, null);
422
+ };
423
+ goog.inherits(proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest, jspb.Message);
424
+ if (goog.DEBUG && !COMPILED) {
425
+ /**
426
+ * @public
427
+ * @override
428
+ */
429
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.displayName = 'proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest';
430
+ }
410
431
  /**
411
432
  * Generated by JsPbCodeGenerator.
412
433
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2024,27 +2045,6 @@ if (goog.DEBUG && !COMPILED) {
2024
2045
  */
2025
2046
  proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest.displayName = 'proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest';
2026
2047
  }
2027
- /**
2028
- * Generated by JsPbCodeGenerator.
2029
- * @param {Array=} opt_data Optional initial data array, typically from a
2030
- * server response, or constructed directly in Javascript. The array is used
2031
- * in place and becomes part of the constructed object. It is not cloned.
2032
- * If no data is provided, the constructed object will be empty, but still
2033
- * valid.
2034
- * @extends {jspb.Message}
2035
- * @constructor
2036
- */
2037
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest = function(opt_data) {
2038
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2039
- };
2040
- goog.inherits(proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest, jspb.Message);
2041
- if (goog.DEBUG && !COMPILED) {
2042
- /**
2043
- * @public
2044
- * @override
2045
- */
2046
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.displayName = 'proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest';
2047
- }
2048
2048
 
2049
2049
 
2050
2050
 
@@ -5731,6 +5731,312 @@ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.setDeli
5731
5731
 
5732
5732
 
5733
5733
 
5734
+ /**
5735
+ * List of repeated fields within this message type.
5736
+ * @private {!Array<number>}
5737
+ * @const
5738
+ */
5739
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.repeatedFields_ = [1];
5740
+
5741
+
5742
+
5743
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5744
+ /**
5745
+ * Creates an object representation of this proto.
5746
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5747
+ * Optional fields that are not set will be set to undefined.
5748
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5749
+ * For the list of reserved names please see:
5750
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5751
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5752
+ * JSPB instance for transitional soy proto support:
5753
+ * http://goto/soy-param-migration
5754
+ * @return {!Object}
5755
+ */
5756
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.toObject = function(opt_includeInstance) {
5757
+ return proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.toObject(opt_includeInstance, this);
5758
+ };
5759
+
5760
+
5761
+ /**
5762
+ * Static version of the {@see toObject} method.
5763
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5764
+ * the JSPB instance for transitional soy proto support:
5765
+ * http://goto/soy-param-migration
5766
+ * @param {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} msg The msg instance to transform.
5767
+ * @return {!Object}
5768
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5769
+ */
5770
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.toObject = function(includeInstance, msg) {
5771
+ var f, obj = {
5772
+ agentbillidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
5773
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0),
5774
+ deliverybatchname: jspb.Message.getFieldWithDefault(msg, 3, ""),
5775
+ paymentmethodid: jspb.Message.getFieldWithDefault(msg, 4, 0),
5776
+ pin: jspb.Message.getFieldWithDefault(msg, 5, ""),
5777
+ cvv: jspb.Message.getFieldWithDefault(msg, 6, "")
5778
+ };
5779
+
5780
+ if (includeInstance) {
5781
+ obj.$jspbMessageInstance = msg;
5782
+ }
5783
+ return obj;
5784
+ };
5785
+ }
5786
+
5787
+
5788
+ /**
5789
+ * Deserializes binary data (in protobuf wire format).
5790
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5791
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest}
5792
+ */
5793
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.deserializeBinary = function(bytes) {
5794
+ var reader = new jspb.BinaryReader(bytes);
5795
+ var msg = new proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest;
5796
+ return proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.deserializeBinaryFromReader(msg, reader);
5797
+ };
5798
+
5799
+
5800
+ /**
5801
+ * Deserializes binary data (in protobuf wire format) from the
5802
+ * given reader into the given message object.
5803
+ * @param {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} msg The message object to deserialize into.
5804
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5805
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest}
5806
+ */
5807
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.deserializeBinaryFromReader = function(msg, reader) {
5808
+ while (reader.nextField()) {
5809
+ if (reader.isEndGroup()) {
5810
+ break;
5811
+ }
5812
+ var field = reader.getFieldNumber();
5813
+ switch (field) {
5814
+ case 1:
5815
+ var value = /** @type {!Array<number>} */ (reader.readPackedInt64());
5816
+ msg.setAgentbillidsList(value);
5817
+ break;
5818
+ case 2:
5819
+ var value = /** @type {number} */ (reader.readInt64());
5820
+ msg.setClientuserid(value);
5821
+ break;
5822
+ case 3:
5823
+ var value = /** @type {string} */ (reader.readString());
5824
+ msg.setDeliverybatchname(value);
5825
+ break;
5826
+ case 4:
5827
+ var value = /** @type {number} */ (reader.readInt64());
5828
+ msg.setPaymentmethodid(value);
5829
+ break;
5830
+ case 5:
5831
+ var value = /** @type {string} */ (reader.readString());
5832
+ msg.setPin(value);
5833
+ break;
5834
+ case 6:
5835
+ var value = /** @type {string} */ (reader.readString());
5836
+ msg.setCvv(value);
5837
+ break;
5838
+ default:
5839
+ reader.skipField();
5840
+ break;
5841
+ }
5842
+ }
5843
+ return msg;
5844
+ };
5845
+
5846
+
5847
+ /**
5848
+ * Serializes the message to binary data (in protobuf wire format).
5849
+ * @return {!Uint8Array}
5850
+ */
5851
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.serializeBinary = function() {
5852
+ var writer = new jspb.BinaryWriter();
5853
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.serializeBinaryToWriter(this, writer);
5854
+ return writer.getResultBuffer();
5855
+ };
5856
+
5857
+
5858
+ /**
5859
+ * Serializes the given message to binary data (in protobuf wire
5860
+ * format), writing to the given BinaryWriter.
5861
+ * @param {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} message
5862
+ * @param {!jspb.BinaryWriter} writer
5863
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5864
+ */
5865
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.serializeBinaryToWriter = function(message, writer) {
5866
+ var f = undefined;
5867
+ f = message.getAgentbillidsList();
5868
+ if (f.length > 0) {
5869
+ writer.writePackedInt64(
5870
+ 1,
5871
+ f
5872
+ );
5873
+ }
5874
+ f = message.getClientuserid();
5875
+ if (f !== 0) {
5876
+ writer.writeInt64(
5877
+ 2,
5878
+ f
5879
+ );
5880
+ }
5881
+ f = message.getDeliverybatchname();
5882
+ if (f.length > 0) {
5883
+ writer.writeString(
5884
+ 3,
5885
+ f
5886
+ );
5887
+ }
5888
+ f = message.getPaymentmethodid();
5889
+ if (f !== 0) {
5890
+ writer.writeInt64(
5891
+ 4,
5892
+ f
5893
+ );
5894
+ }
5895
+ f = message.getPin();
5896
+ if (f.length > 0) {
5897
+ writer.writeString(
5898
+ 5,
5899
+ f
5900
+ );
5901
+ }
5902
+ f = message.getCvv();
5903
+ if (f.length > 0) {
5904
+ writer.writeString(
5905
+ 6,
5906
+ f
5907
+ );
5908
+ }
5909
+ };
5910
+
5911
+
5912
+ /**
5913
+ * repeated int64 agentBillIds = 1;
5914
+ * @return {!Array<number>}
5915
+ */
5916
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.getAgentbillidsList = function() {
5917
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
5918
+ };
5919
+
5920
+
5921
+ /**
5922
+ * @param {!Array<number>} value
5923
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} returns this
5924
+ */
5925
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.setAgentbillidsList = function(value) {
5926
+ return jspb.Message.setField(this, 1, value || []);
5927
+ };
5928
+
5929
+
5930
+ /**
5931
+ * @param {number} value
5932
+ * @param {number=} opt_index
5933
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} returns this
5934
+ */
5935
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.addAgentbillids = function(value, opt_index) {
5936
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
5937
+ };
5938
+
5939
+
5940
+ /**
5941
+ * Clears the list making it empty but non-null.
5942
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} returns this
5943
+ */
5944
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.clearAgentbillidsList = function() {
5945
+ return this.setAgentbillidsList([]);
5946
+ };
5947
+
5948
+
5949
+ /**
5950
+ * optional int64 clientUserId = 2;
5951
+ * @return {number}
5952
+ */
5953
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.getClientuserid = function() {
5954
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
5955
+ };
5956
+
5957
+
5958
+ /**
5959
+ * @param {number} value
5960
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} returns this
5961
+ */
5962
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.setClientuserid = function(value) {
5963
+ return jspb.Message.setProto3IntField(this, 2, value);
5964
+ };
5965
+
5966
+
5967
+ /**
5968
+ * optional string deliveryBatchName = 3;
5969
+ * @return {string}
5970
+ */
5971
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.getDeliverybatchname = function() {
5972
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
5973
+ };
5974
+
5975
+
5976
+ /**
5977
+ * @param {string} value
5978
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} returns this
5979
+ */
5980
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.setDeliverybatchname = function(value) {
5981
+ return jspb.Message.setProto3StringField(this, 3, value);
5982
+ };
5983
+
5984
+
5985
+ /**
5986
+ * optional int64 paymentMethodId = 4;
5987
+ * @return {number}
5988
+ */
5989
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.getPaymentmethodid = function() {
5990
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
5991
+ };
5992
+
5993
+
5994
+ /**
5995
+ * @param {number} value
5996
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} returns this
5997
+ */
5998
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.setPaymentmethodid = function(value) {
5999
+ return jspb.Message.setProto3IntField(this, 4, value);
6000
+ };
6001
+
6002
+
6003
+ /**
6004
+ * optional string pin = 5;
6005
+ * @return {string}
6006
+ */
6007
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.getPin = function() {
6008
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
6009
+ };
6010
+
6011
+
6012
+ /**
6013
+ * @param {string} value
6014
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} returns this
6015
+ */
6016
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.setPin = function(value) {
6017
+ return jspb.Message.setProto3StringField(this, 5, value);
6018
+ };
6019
+
6020
+
6021
+ /**
6022
+ * optional string cvv = 6;
6023
+ * @return {string}
6024
+ */
6025
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.getCvv = function() {
6026
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
6027
+ };
6028
+
6029
+
6030
+ /**
6031
+ * @param {string} value
6032
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} returns this
6033
+ */
6034
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.setCvv = function(value) {
6035
+ return jspb.Message.setProto3StringField(this, 6, value);
6036
+ };
6037
+
6038
+
6039
+
5734
6040
 
5735
6041
 
5736
6042
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -25337,226 +25643,6 @@ proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest
25337
25643
  };
25338
25644
 
25339
25645
 
25340
-
25341
-
25342
-
25343
- if (jspb.Message.GENERATE_TO_OBJECT) {
25344
- /**
25345
- * Creates an object representation of this proto.
25346
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
25347
- * Optional fields that are not set will be set to undefined.
25348
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25349
- * For the list of reserved names please see:
25350
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
25351
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
25352
- * JSPB instance for transitional soy proto support:
25353
- * http://goto/soy-param-migration
25354
- * @return {!Object}
25355
- */
25356
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.toObject = function(opt_includeInstance) {
25357
- return proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.toObject(opt_includeInstance, this);
25358
- };
25359
-
25360
-
25361
- /**
25362
- * Static version of the {@see toObject} method.
25363
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
25364
- * the JSPB instance for transitional soy proto support:
25365
- * http://goto/soy-param-migration
25366
- * @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} msg The msg instance to transform.
25367
- * @return {!Object}
25368
- * @suppress {unusedLocalVariables} f is only used for nested messages
25369
- */
25370
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.toObject = function(includeInstance, msg) {
25371
- var f, obj = {
25372
- clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
25373
- startdate: jspb.Message.getFieldWithDefault(msg, 2, ""),
25374
- enddate: jspb.Message.getFieldWithDefault(msg, 3, ""),
25375
- timezone: jspb.Message.getFieldWithDefault(msg, 4, "")
25376
- };
25377
-
25378
- if (includeInstance) {
25379
- obj.$jspbMessageInstance = msg;
25380
- }
25381
- return obj;
25382
- };
25383
- }
25384
-
25385
-
25386
- /**
25387
- * Deserializes binary data (in protobuf wire format).
25388
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
25389
- * @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest}
25390
- */
25391
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinary = function(bytes) {
25392
- var reader = new jspb.BinaryReader(bytes);
25393
- var msg = new proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest;
25394
- return proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinaryFromReader(msg, reader);
25395
- };
25396
-
25397
-
25398
- /**
25399
- * Deserializes binary data (in protobuf wire format) from the
25400
- * given reader into the given message object.
25401
- * @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} msg The message object to deserialize into.
25402
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25403
- * @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest}
25404
- */
25405
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinaryFromReader = function(msg, reader) {
25406
- while (reader.nextField()) {
25407
- if (reader.isEndGroup()) {
25408
- break;
25409
- }
25410
- var field = reader.getFieldNumber();
25411
- switch (field) {
25412
- case 1:
25413
- var value = /** @type {number} */ (reader.readInt64());
25414
- msg.setClientuserid(value);
25415
- break;
25416
- case 2:
25417
- var value = /** @type {string} */ (reader.readString());
25418
- msg.setStartdate(value);
25419
- break;
25420
- case 3:
25421
- var value = /** @type {string} */ (reader.readString());
25422
- msg.setEnddate(value);
25423
- break;
25424
- case 4:
25425
- var value = /** @type {string} */ (reader.readString());
25426
- msg.setTimezone(value);
25427
- break;
25428
- default:
25429
- reader.skipField();
25430
- break;
25431
- }
25432
- }
25433
- return msg;
25434
- };
25435
-
25436
-
25437
- /**
25438
- * Serializes the message to binary data (in protobuf wire format).
25439
- * @return {!Uint8Array}
25440
- */
25441
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.serializeBinary = function() {
25442
- var writer = new jspb.BinaryWriter();
25443
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.serializeBinaryToWriter(this, writer);
25444
- return writer.getResultBuffer();
25445
- };
25446
-
25447
-
25448
- /**
25449
- * Serializes the given message to binary data (in protobuf wire
25450
- * format), writing to the given BinaryWriter.
25451
- * @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} message
25452
- * @param {!jspb.BinaryWriter} writer
25453
- * @suppress {unusedLocalVariables} f is only used for nested messages
25454
- */
25455
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.serializeBinaryToWriter = function(message, writer) {
25456
- var f = undefined;
25457
- f = message.getClientuserid();
25458
- if (f !== 0) {
25459
- writer.writeInt64(
25460
- 1,
25461
- f
25462
- );
25463
- }
25464
- f = message.getStartdate();
25465
- if (f.length > 0) {
25466
- writer.writeString(
25467
- 2,
25468
- f
25469
- );
25470
- }
25471
- f = message.getEnddate();
25472
- if (f.length > 0) {
25473
- writer.writeString(
25474
- 3,
25475
- f
25476
- );
25477
- }
25478
- f = message.getTimezone();
25479
- if (f.length > 0) {
25480
- writer.writeString(
25481
- 4,
25482
- f
25483
- );
25484
- }
25485
- };
25486
-
25487
-
25488
- /**
25489
- * optional int64 clientUserId = 1;
25490
- * @return {number}
25491
- */
25492
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getClientuserid = function() {
25493
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
25494
- };
25495
-
25496
-
25497
- /**
25498
- * @param {number} value
25499
- * @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
25500
- */
25501
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setClientuserid = function(value) {
25502
- return jspb.Message.setProto3IntField(this, 1, value);
25503
- };
25504
-
25505
-
25506
- /**
25507
- * optional string startDate = 2;
25508
- * @return {string}
25509
- */
25510
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getStartdate = function() {
25511
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
25512
- };
25513
-
25514
-
25515
- /**
25516
- * @param {string} value
25517
- * @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
25518
- */
25519
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setStartdate = function(value) {
25520
- return jspb.Message.setProto3StringField(this, 2, value);
25521
- };
25522
-
25523
-
25524
- /**
25525
- * optional string endDate = 3;
25526
- * @return {string}
25527
- */
25528
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getEnddate = function() {
25529
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
25530
- };
25531
-
25532
-
25533
- /**
25534
- * @param {string} value
25535
- * @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
25536
- */
25537
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setEnddate = function(value) {
25538
- return jspb.Message.setProto3StringField(this, 3, value);
25539
- };
25540
-
25541
-
25542
- /**
25543
- * optional string timezone = 4;
25544
- * @return {string}
25545
- */
25546
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getTimezone = function() {
25547
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
25548
- };
25549
-
25550
-
25551
- /**
25552
- * @param {string} value
25553
- * @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
25554
- */
25555
- proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setTimezone = function(value) {
25556
- return jspb.Message.setProto3StringField(this, 4, value);
25557
- };
25558
-
25559
-
25560
25646
  /**
25561
25647
  * @enum {number}
25562
25648
  */
@@ -25591,7 +25677,9 @@ proto.agentbillingserviceapi.AgentBillStatus = {
25591
25677
  PAID: 6,
25592
25678
  SCHEDULED_FOR_PAYMENT: 7,
25593
25679
  ARCHIVED: 8,
25594
- DELETED_BY_CLIENT: 9
25680
+ DELETED_BY_CLIENT: 9,
25681
+ SENT_TO_BULK_PAYMENT_SERVICE: 10,
25682
+ PENDING_SEND_TO_BULK_PAYMENT_SERVICE: 11
25595
25683
  };
25596
25684
 
25597
25685
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb-ts",
3
- "version": "24.10.2850",
3
+ "version": "24.10.2855",
4
4
  "description": "agent-billing-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",