@sniipwebmaster/agent-billing-client-grpcweb 24.10.2839 → 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.
@@ -383,6 +383,67 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
383
383
  };
384
384
 
385
385
 
386
+ /**
387
+ * @const
388
+ * @type {!grpc.web.MethodDescriptor<
389
+ * !proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest,
390
+ * !proto.agentbillingserviceapi.ResponseCode>}
391
+ */
392
+ const methodDescriptor_AgentBillingServiceAPIService_CreateAndPayDeliveryBatch = new grpc.web.MethodDescriptor(
393
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateAndPayDeliveryBatch',
394
+ grpc.web.MethodType.UNARY,
395
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest,
396
+ proto.agentbillingserviceapi.ResponseCode,
397
+ /**
398
+ * @param {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} request
399
+ * @return {!Uint8Array}
400
+ */
401
+ function(request) {
402
+ return request.serializeBinary();
403
+ },
404
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
405
+ );
406
+
407
+
408
+ /**
409
+ * @param {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} request The
410
+ * request proto
411
+ * @param {?Object<string, string>} metadata User defined
412
+ * call metadata
413
+ * @param {function(?grpc.web.RpcError, ?proto.agentbillingserviceapi.ResponseCode)}
414
+ * callback The callback function(error, response)
415
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
416
+ * The XHR Node Readable Stream
417
+ */
418
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.createAndPayDeliveryBatch =
419
+ function(request, metadata, callback) {
420
+ return this.client_.rpcCall(this.hostname_ +
421
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateAndPayDeliveryBatch',
422
+ request,
423
+ metadata || {},
424
+ methodDescriptor_AgentBillingServiceAPIService_CreateAndPayDeliveryBatch,
425
+ callback);
426
+ };
427
+
428
+
429
+ /**
430
+ * @param {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} request The
431
+ * request proto
432
+ * @param {?Object<string, string>=} metadata User defined
433
+ * call metadata
434
+ * @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
435
+ * Promise that resolves to the response
436
+ */
437
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.createAndPayDeliveryBatch =
438
+ function(request, metadata) {
439
+ return this.client_.unaryCall(this.hostname_ +
440
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateAndPayDeliveryBatch',
441
+ request,
442
+ metadata || {},
443
+ methodDescriptor_AgentBillingServiceAPIService_CreateAndPayDeliveryBatch);
444
+ };
445
+
446
+
386
447
  /**
387
448
  * @const
388
449
  * @type {!grpc.web.MethodDescriptor<
@@ -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);
@@ -406,6 +407,27 @@ if (goog.DEBUG && !COMPILED) {
406
407
  */
407
408
  proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.displayName = 'proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest';
408
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
+ }
409
431
  /**
410
432
  * Generated by JsPbCodeGenerator.
411
433
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5709,6 +5731,312 @@ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.setDeli
5709
5731
 
5710
5732
 
5711
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
+
5712
6040
 
5713
6041
 
5714
6042
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -25349,7 +25677,9 @@ proto.agentbillingserviceapi.AgentBillStatus = {
25349
25677
  PAID: 6,
25350
25678
  SCHEDULED_FOR_PAYMENT: 7,
25351
25679
  ARCHIVED: 8,
25352
- DELETED_BY_CLIENT: 9
25680
+ DELETED_BY_CLIENT: 9,
25681
+ SENT_TO_BULK_PAYMENT_SERVICE: 10,
25682
+ PENDING_SEND_TO_BULK_PAYMENT_SERVICE: 11
25353
25683
  };
25354
25684
 
25355
25685
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb",
3
- "version": "24.10.2839",
3
+ "version": "24.10.2855",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",