@sniipwebmaster/agent-billing-client-grpcweb 23.15.1229 → 23.15.1249

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.
@@ -3034,5 +3034,85 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
3034
3034
  };
3035
3035
 
3036
3036
 
3037
+ /**
3038
+ * @const
3039
+ * @type {!grpc.web.MethodDescriptor<
3040
+ * !proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest,
3041
+ * !proto.agentbillingserviceapi.ResponseCode>}
3042
+ */
3043
+ const methodDescriptor_AgentBillingServiceAPIService_SendDeliveryBatchReminder = new grpc.web.MethodDescriptor(
3044
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/SendDeliveryBatchReminder',
3045
+ grpc.web.MethodType.UNARY,
3046
+ proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest,
3047
+ proto.agentbillingserviceapi.ResponseCode,
3048
+ /**
3049
+ * @param {!proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest} request
3050
+ * @return {!Uint8Array}
3051
+ */
3052
+ function(request) {
3053
+ return request.serializeBinary();
3054
+ },
3055
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
3056
+ );
3057
+
3058
+
3059
+ /**
3060
+ * @const
3061
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
3062
+ * !proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest,
3063
+ * !proto.agentbillingserviceapi.ResponseCode>}
3064
+ */
3065
+ const methodInfo_AgentBillingServiceAPIService_SendDeliveryBatchReminder = new grpc.web.AbstractClientBase.MethodInfo(
3066
+ proto.agentbillingserviceapi.ResponseCode,
3067
+ /**
3068
+ * @param {!proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest} request
3069
+ * @return {!Uint8Array}
3070
+ */
3071
+ function(request) {
3072
+ return request.serializeBinary();
3073
+ },
3074
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
3075
+ );
3076
+
3077
+
3078
+ /**
3079
+ * @param {!proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest} request The
3080
+ * request proto
3081
+ * @param {?Object<string, string>} metadata User defined
3082
+ * call metadata
3083
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.ResponseCode)}
3084
+ * callback The callback function(error, response)
3085
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
3086
+ * The XHR Node Readable Stream
3087
+ */
3088
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.sendDeliveryBatchReminder =
3089
+ function(request, metadata, callback) {
3090
+ return this.client_.rpcCall(this.hostname_ +
3091
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/SendDeliveryBatchReminder',
3092
+ request,
3093
+ metadata || {},
3094
+ methodDescriptor_AgentBillingServiceAPIService_SendDeliveryBatchReminder,
3095
+ callback);
3096
+ };
3097
+
3098
+
3099
+ /**
3100
+ * @param {!proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest} request The
3101
+ * request proto
3102
+ * @param {?Object<string, string>} metadata User defined
3103
+ * call metadata
3104
+ * @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
3105
+ * Promise that resolves to the response
3106
+ */
3107
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.sendDeliveryBatchReminder =
3108
+ function(request, metadata) {
3109
+ return this.client_.unaryCall(this.hostname_ +
3110
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/SendDeliveryBatchReminder',
3111
+ request,
3112
+ metadata || {},
3113
+ methodDescriptor_AgentBillingServiceAPIService_SendDeliveryBatchReminder);
3114
+ };
3115
+
3116
+
3037
3117
  module.exports = proto.agentbillingserviceapi;
3038
3118
 
@@ -79,6 +79,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.RenameUploadBatchRequest', null,
79
79
  goog.exportSymbol('proto.agentbillingserviceapi.ResendAgentInvitationRequest', null, global);
80
80
  goog.exportSymbol('proto.agentbillingserviceapi.ResponseCode', null, global);
81
81
  goog.exportSymbol('proto.agentbillingserviceapi.ReviewAgentBillRequest', null, global);
82
+ goog.exportSymbol('proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest', null, global);
82
83
  goog.exportSymbol('proto.agentbillingserviceapi.UploadBatch', null, global);
83
84
  goog.exportSymbol('proto.agentbillingserviceapi.UploadCsvResponse', null, global);
84
85
  /**
@@ -1404,6 +1405,27 @@ if (goog.DEBUG && !COMPILED) {
1404
1405
  */
1405
1406
  proto.agentbillingserviceapi.ReviewAgentBillRequest.displayName = 'proto.agentbillingserviceapi.ReviewAgentBillRequest';
1406
1407
  }
1408
+ /**
1409
+ * Generated by JsPbCodeGenerator.
1410
+ * @param {Array=} opt_data Optional initial data array, typically from a
1411
+ * server response, or constructed directly in Javascript. The array is used
1412
+ * in place and becomes part of the constructed object. It is not cloned.
1413
+ * If no data is provided, the constructed object will be empty, but still
1414
+ * valid.
1415
+ * @extends {jspb.Message}
1416
+ * @constructor
1417
+ */
1418
+ proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest = function(opt_data) {
1419
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1420
+ };
1421
+ goog.inherits(proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest, jspb.Message);
1422
+ if (goog.DEBUG && !COMPILED) {
1423
+ /**
1424
+ * @public
1425
+ * @override
1426
+ */
1427
+ proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest.displayName = 'proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest';
1428
+ }
1407
1429
  /**
1408
1430
  * Generated by JsPbCodeGenerator.
1409
1431
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6225,7 +6247,8 @@ proto.agentbillingserviceapi.DeliveryBatch.toObject = function(includeInstance,
6225
6247
  agentname: jspb.Message.getFieldWithDefault(msg, 7, ""),
6226
6248
  isbatchlocked: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
6227
6249
  requiresattention: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
6228
- creationtimestamp: jspb.Message.getFieldWithDefault(msg, 10, "")
6250
+ creationtimestamp: jspb.Message.getFieldWithDefault(msg, 10, ""),
6251
+ cansendreminder: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
6229
6252
  };
6230
6253
 
6231
6254
  if (includeInstance) {
@@ -6302,6 +6325,10 @@ proto.agentbillingserviceapi.DeliveryBatch.deserializeBinaryFromReader = functio
6302
6325
  var value = /** @type {string} */ (reader.readString());
6303
6326
  msg.setCreationtimestamp(value);
6304
6327
  break;
6328
+ case 11:
6329
+ var value = /** @type {boolean} */ (reader.readBool());
6330
+ msg.setCansendreminder(value);
6331
+ break;
6305
6332
  default:
6306
6333
  reader.skipField();
6307
6334
  break;
@@ -6401,6 +6428,13 @@ proto.agentbillingserviceapi.DeliveryBatch.serializeBinaryToWriter = function(me
6401
6428
  f
6402
6429
  );
6403
6430
  }
6431
+ f = message.getCansendreminder();
6432
+ if (f) {
6433
+ writer.writeBool(
6434
+ 11,
6435
+ f
6436
+ );
6437
+ }
6404
6438
  };
6405
6439
 
6406
6440
 
@@ -6584,6 +6618,24 @@ proto.agentbillingserviceapi.DeliveryBatch.prototype.setCreationtimestamp = func
6584
6618
  };
6585
6619
 
6586
6620
 
6621
+ /**
6622
+ * optional bool canSendReminder = 11;
6623
+ * @return {boolean}
6624
+ */
6625
+ proto.agentbillingserviceapi.DeliveryBatch.prototype.getCansendreminder = function() {
6626
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
6627
+ };
6628
+
6629
+
6630
+ /**
6631
+ * @param {boolean} value
6632
+ * @return {!proto.agentbillingserviceapi.DeliveryBatch} returns this
6633
+ */
6634
+ proto.agentbillingserviceapi.DeliveryBatch.prototype.setCansendreminder = function(value) {
6635
+ return jspb.Message.setProto3BooleanField(this, 11, value);
6636
+ };
6637
+
6638
+
6587
6639
 
6588
6640
 
6589
6641
 
@@ -8122,7 +8174,8 @@ proto.agentbillingserviceapi.GetAgentBillsResponse.toObject = function(includeIn
8122
8174
  size: jspb.Message.getFieldWithDefault(msg, 4, 0),
8123
8175
  totalpages: jspb.Message.getFieldWithDefault(msg, 5, 0),
8124
8176
  totalsize: jspb.Message.getFieldWithDefault(msg, 6, 0),
8125
- relevantbatchname: jspb.Message.getFieldWithDefault(msg, 7, "")
8177
+ relevantbatchname: jspb.Message.getFieldWithDefault(msg, 7, ""),
8178
+ cansenddeliverybatchreminder: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
8126
8179
  };
8127
8180
 
8128
8181
  if (includeInstance) {
@@ -8189,6 +8242,10 @@ proto.agentbillingserviceapi.GetAgentBillsResponse.deserializeBinaryFromReader =
8189
8242
  var value = /** @type {string} */ (reader.readString());
8190
8243
  msg.setRelevantbatchname(value);
8191
8244
  break;
8245
+ case 8:
8246
+ var value = /** @type {boolean} */ (reader.readBool());
8247
+ msg.setCansenddeliverybatchreminder(value);
8248
+ break;
8192
8249
  default:
8193
8250
  reader.skipField();
8194
8251
  break;
@@ -8269,6 +8326,13 @@ proto.agentbillingserviceapi.GetAgentBillsResponse.serializeBinaryToWriter = fun
8269
8326
  f
8270
8327
  );
8271
8328
  }
8329
+ f = message.getCansenddeliverybatchreminder();
8330
+ if (f) {
8331
+ writer.writeBool(
8332
+ 8,
8333
+ f
8334
+ );
8335
+ }
8272
8336
  };
8273
8337
 
8274
8338
 
@@ -8437,6 +8501,24 @@ proto.agentbillingserviceapi.GetAgentBillsResponse.prototype.setRelevantbatchnam
8437
8501
  };
8438
8502
 
8439
8503
 
8504
+ /**
8505
+ * optional bool canSendDeliveryBatchReminder = 8;
8506
+ * @return {boolean}
8507
+ */
8508
+ proto.agentbillingserviceapi.GetAgentBillsResponse.prototype.getCansenddeliverybatchreminder = function() {
8509
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
8510
+ };
8511
+
8512
+
8513
+ /**
8514
+ * @param {boolean} value
8515
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsResponse} returns this
8516
+ */
8517
+ proto.agentbillingserviceapi.GetAgentBillsResponse.prototype.setCansenddeliverybatchreminder = function(value) {
8518
+ return jspb.Message.setProto3BooleanField(this, 8, value);
8519
+ };
8520
+
8521
+
8440
8522
 
8441
8523
 
8442
8524
 
@@ -15769,6 +15851,136 @@ proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setSmereference =
15769
15851
 
15770
15852
 
15771
15853
 
15854
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15855
+ /**
15856
+ * Creates an object representation of this proto.
15857
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15858
+ * Optional fields that are not set will be set to undefined.
15859
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15860
+ * For the list of reserved names please see:
15861
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15862
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15863
+ * JSPB instance for transitional soy proto support:
15864
+ * http://goto/soy-param-migration
15865
+ * @return {!Object}
15866
+ */
15867
+ proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest.prototype.toObject = function(opt_includeInstance) {
15868
+ return proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest.toObject(opt_includeInstance, this);
15869
+ };
15870
+
15871
+
15872
+ /**
15873
+ * Static version of the {@see toObject} method.
15874
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15875
+ * the JSPB instance for transitional soy proto support:
15876
+ * http://goto/soy-param-migration
15877
+ * @param {!proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest} msg The msg instance to transform.
15878
+ * @return {!Object}
15879
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15880
+ */
15881
+ proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest.toObject = function(includeInstance, msg) {
15882
+ var f, obj = {
15883
+ deliverybatchid: jspb.Message.getFieldWithDefault(msg, 1, 0)
15884
+ };
15885
+
15886
+ if (includeInstance) {
15887
+ obj.$jspbMessageInstance = msg;
15888
+ }
15889
+ return obj;
15890
+ };
15891
+ }
15892
+
15893
+
15894
+ /**
15895
+ * Deserializes binary data (in protobuf wire format).
15896
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15897
+ * @return {!proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest}
15898
+ */
15899
+ proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest.deserializeBinary = function(bytes) {
15900
+ var reader = new jspb.BinaryReader(bytes);
15901
+ var msg = new proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest;
15902
+ return proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest.deserializeBinaryFromReader(msg, reader);
15903
+ };
15904
+
15905
+
15906
+ /**
15907
+ * Deserializes binary data (in protobuf wire format) from the
15908
+ * given reader into the given message object.
15909
+ * @param {!proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest} msg The message object to deserialize into.
15910
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15911
+ * @return {!proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest}
15912
+ */
15913
+ proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest.deserializeBinaryFromReader = function(msg, reader) {
15914
+ while (reader.nextField()) {
15915
+ if (reader.isEndGroup()) {
15916
+ break;
15917
+ }
15918
+ var field = reader.getFieldNumber();
15919
+ switch (field) {
15920
+ case 1:
15921
+ var value = /** @type {number} */ (reader.readInt64());
15922
+ msg.setDeliverybatchid(value);
15923
+ break;
15924
+ default:
15925
+ reader.skipField();
15926
+ break;
15927
+ }
15928
+ }
15929
+ return msg;
15930
+ };
15931
+
15932
+
15933
+ /**
15934
+ * Serializes the message to binary data (in protobuf wire format).
15935
+ * @return {!Uint8Array}
15936
+ */
15937
+ proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest.prototype.serializeBinary = function() {
15938
+ var writer = new jspb.BinaryWriter();
15939
+ proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest.serializeBinaryToWriter(this, writer);
15940
+ return writer.getResultBuffer();
15941
+ };
15942
+
15943
+
15944
+ /**
15945
+ * Serializes the given message to binary data (in protobuf wire
15946
+ * format), writing to the given BinaryWriter.
15947
+ * @param {!proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest} message
15948
+ * @param {!jspb.BinaryWriter} writer
15949
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15950
+ */
15951
+ proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest.serializeBinaryToWriter = function(message, writer) {
15952
+ var f = undefined;
15953
+ f = message.getDeliverybatchid();
15954
+ if (f !== 0) {
15955
+ writer.writeInt64(
15956
+ 1,
15957
+ f
15958
+ );
15959
+ }
15960
+ };
15961
+
15962
+
15963
+ /**
15964
+ * optional int64 deliveryBatchId = 1;
15965
+ * @return {number}
15966
+ */
15967
+ proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest.prototype.getDeliverybatchid = function() {
15968
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
15969
+ };
15970
+
15971
+
15972
+ /**
15973
+ * @param {number} value
15974
+ * @return {!proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest} returns this
15975
+ */
15976
+ proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest.prototype.setDeliverybatchid = function(value) {
15977
+ return jspb.Message.setProto3IntField(this, 1, value);
15978
+ };
15979
+
15980
+
15981
+
15982
+
15983
+
15772
15984
  if (jspb.Message.GENERATE_TO_OBJECT) {
15773
15985
  /**
15774
15986
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb",
3
- "version": "23.15.1229",
3
+ "version": "23.15.1249",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",