@sniipwebmaster/agent-billing-client-grpcweb 24.13.3271 → 24.13.3288

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.
@@ -387,13 +387,13 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
387
387
  * @const
388
388
  * @type {!grpc.web.MethodDescriptor<
389
389
  * !proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest,
390
- * !proto.agentbillingserviceapi.ResponseCode>}
390
+ * !proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse>}
391
391
  */
392
392
  const methodDescriptor_AgentBillingServiceAPIService_CreateAndPayDeliveryBatch = new grpc.web.MethodDescriptor(
393
393
  '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateAndPayDeliveryBatch',
394
394
  grpc.web.MethodType.UNARY,
395
395
  proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest,
396
- proto.agentbillingserviceapi.ResponseCode,
396
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse,
397
397
  /**
398
398
  * @param {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest} request
399
399
  * @return {!Uint8Array}
@@ -401,7 +401,7 @@ const methodDescriptor_AgentBillingServiceAPIService_CreateAndPayDeliveryBatch =
401
401
  function(request) {
402
402
  return request.serializeBinary();
403
403
  },
404
- proto.agentbillingserviceapi.ResponseCode.deserializeBinary
404
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.deserializeBinary
405
405
  );
406
406
 
407
407
 
@@ -410,9 +410,9 @@ const methodDescriptor_AgentBillingServiceAPIService_CreateAndPayDeliveryBatch =
410
410
  * request proto
411
411
  * @param {?Object<string, string>} metadata User defined
412
412
  * call metadata
413
- * @param {function(?grpc.web.RpcError, ?proto.agentbillingserviceapi.ResponseCode)}
413
+ * @param {function(?grpc.web.RpcError, ?proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse)}
414
414
  * callback The callback function(error, response)
415
- * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
415
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse>|undefined}
416
416
  * The XHR Node Readable Stream
417
417
  */
418
418
  proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.createAndPayDeliveryBatch =
@@ -431,7 +431,7 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.creat
431
431
  * request proto
432
432
  * @param {?Object<string, string>=} metadata User defined
433
433
  * call metadata
434
- * @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
434
+ * @return {!Promise<!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse>}
435
435
  * Promise that resolves to the response
436
436
  */
437
437
  proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.createAndPayDeliveryBatch =
@@ -44,6 +44,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentAttachmentResponse',
44
44
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillRequest', null, global);
45
45
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillsResponse', null, global);
46
46
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest', null, global);
47
+ goog.exportSymbol('proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse', null, global);
47
48
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest', null, global);
48
49
  goog.exportSymbol('proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest', null, global);
49
50
  goog.exportSymbol('proto.agentbillingserviceapi.CreateUploadBatchRequest', null, global);
@@ -437,6 +438,27 @@ if (goog.DEBUG && !COMPILED) {
437
438
  */
438
439
  proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.displayName = 'proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest';
439
440
  }
441
+ /**
442
+ * Generated by JsPbCodeGenerator.
443
+ * @param {Array=} opt_data Optional initial data array, typically from a
444
+ * server response, or constructed directly in Javascript. The array is used
445
+ * in place and becomes part of the constructed object. It is not cloned.
446
+ * If no data is provided, the constructed object will be empty, but still
447
+ * valid.
448
+ * @extends {jspb.Message}
449
+ * @constructor
450
+ */
451
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse = function(opt_data) {
452
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
453
+ };
454
+ goog.inherits(proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse, jspb.Message);
455
+ if (goog.DEBUG && !COMPILED) {
456
+ /**
457
+ * @public
458
+ * @override
459
+ */
460
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.displayName = 'proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse';
461
+ }
440
462
  /**
441
463
  * Generated by JsPbCodeGenerator.
442
464
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6168,6 +6190,187 @@ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRequest.prototype.setVerif
6168
6190
 
6169
6191
 
6170
6192
 
6193
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6194
+ /**
6195
+ * Creates an object representation of this proto.
6196
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6197
+ * Optional fields that are not set will be set to undefined.
6198
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6199
+ * For the list of reserved names please see:
6200
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6201
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6202
+ * JSPB instance for transitional soy proto support:
6203
+ * http://goto/soy-param-migration
6204
+ * @return {!Object}
6205
+ */
6206
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.prototype.toObject = function(opt_includeInstance) {
6207
+ return proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.toObject(opt_includeInstance, this);
6208
+ };
6209
+
6210
+
6211
+ /**
6212
+ * Static version of the {@see toObject} method.
6213
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6214
+ * the JSPB instance for transitional soy proto support:
6215
+ * http://goto/soy-param-migration
6216
+ * @param {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse} msg The msg instance to transform.
6217
+ * @return {!Object}
6218
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6219
+ */
6220
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.toObject = function(includeInstance, msg) {
6221
+ var f, obj = {
6222
+ responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
6223
+ bulkpaymentid: jspb.Message.getFieldWithDefault(msg, 2, 0)
6224
+ };
6225
+
6226
+ if (includeInstance) {
6227
+ obj.$jspbMessageInstance = msg;
6228
+ }
6229
+ return obj;
6230
+ };
6231
+ }
6232
+
6233
+
6234
+ /**
6235
+ * Deserializes binary data (in protobuf wire format).
6236
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6237
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse}
6238
+ */
6239
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.deserializeBinary = function(bytes) {
6240
+ var reader = new jspb.BinaryReader(bytes);
6241
+ var msg = new proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse;
6242
+ return proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.deserializeBinaryFromReader(msg, reader);
6243
+ };
6244
+
6245
+
6246
+ /**
6247
+ * Deserializes binary data (in protobuf wire format) from the
6248
+ * given reader into the given message object.
6249
+ * @param {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse} msg The message object to deserialize into.
6250
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6251
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse}
6252
+ */
6253
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.deserializeBinaryFromReader = function(msg, reader) {
6254
+ while (reader.nextField()) {
6255
+ if (reader.isEndGroup()) {
6256
+ break;
6257
+ }
6258
+ var field = reader.getFieldNumber();
6259
+ switch (field) {
6260
+ case 1:
6261
+ var value = new proto.agentbillingserviceapi.ResponseCode;
6262
+ reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
6263
+ msg.setResponsecode(value);
6264
+ break;
6265
+ case 2:
6266
+ var value = /** @type {number} */ (reader.readUint64());
6267
+ msg.setBulkpaymentid(value);
6268
+ break;
6269
+ default:
6270
+ reader.skipField();
6271
+ break;
6272
+ }
6273
+ }
6274
+ return msg;
6275
+ };
6276
+
6277
+
6278
+ /**
6279
+ * Serializes the message to binary data (in protobuf wire format).
6280
+ * @return {!Uint8Array}
6281
+ */
6282
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.prototype.serializeBinary = function() {
6283
+ var writer = new jspb.BinaryWriter();
6284
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.serializeBinaryToWriter(this, writer);
6285
+ return writer.getResultBuffer();
6286
+ };
6287
+
6288
+
6289
+ /**
6290
+ * Serializes the given message to binary data (in protobuf wire
6291
+ * format), writing to the given BinaryWriter.
6292
+ * @param {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse} message
6293
+ * @param {!jspb.BinaryWriter} writer
6294
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6295
+ */
6296
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.serializeBinaryToWriter = function(message, writer) {
6297
+ var f = undefined;
6298
+ f = message.getResponsecode();
6299
+ if (f != null) {
6300
+ writer.writeMessage(
6301
+ 1,
6302
+ f,
6303
+ proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
6304
+ );
6305
+ }
6306
+ f = message.getBulkpaymentid();
6307
+ if (f !== 0) {
6308
+ writer.writeUint64(
6309
+ 2,
6310
+ f
6311
+ );
6312
+ }
6313
+ };
6314
+
6315
+
6316
+ /**
6317
+ * optional ResponseCode responseCode = 1;
6318
+ * @return {?proto.agentbillingserviceapi.ResponseCode}
6319
+ */
6320
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.prototype.getResponsecode = function() {
6321
+ return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
6322
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
6323
+ };
6324
+
6325
+
6326
+ /**
6327
+ * @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
6328
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse} returns this
6329
+ */
6330
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.prototype.setResponsecode = function(value) {
6331
+ return jspb.Message.setWrapperField(this, 1, value);
6332
+ };
6333
+
6334
+
6335
+ /**
6336
+ * Clears the message field making it undefined.
6337
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse} returns this
6338
+ */
6339
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.prototype.clearResponsecode = function() {
6340
+ return this.setResponsecode(undefined);
6341
+ };
6342
+
6343
+
6344
+ /**
6345
+ * Returns whether this field is set.
6346
+ * @return {boolean}
6347
+ */
6348
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.prototype.hasResponsecode = function() {
6349
+ return jspb.Message.getField(this, 1) != null;
6350
+ };
6351
+
6352
+
6353
+ /**
6354
+ * optional uint64 bulkPaymentId = 2;
6355
+ * @return {number}
6356
+ */
6357
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.prototype.getBulkpaymentid = function() {
6358
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
6359
+ };
6360
+
6361
+
6362
+ /**
6363
+ * @param {number} value
6364
+ * @return {!proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse} returns this
6365
+ */
6366
+ proto.agentbillingserviceapi.CreateAndPayDeliveryBatchResponse.prototype.setBulkpaymentid = function(value) {
6367
+ return jspb.Message.setProto3IntField(this, 2, value);
6368
+ };
6369
+
6370
+
6371
+
6372
+
6373
+
6171
6374
  if (jspb.Message.GENERATE_TO_OBJECT) {
6172
6375
  /**
6173
6376
  * 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": "24.13.3271",
3
+ "version": "24.13.3288",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",