@sniipwebmaster/bill-service-client-grpcweb 23.11.12098 → 23.11.12115

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.
@@ -4634,5 +4634,85 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getToPayCounts =
4634
4634
  };
4635
4635
 
4636
4636
 
4637
+ /**
4638
+ * @const
4639
+ * @type {!grpc.web.MethodDescriptor<
4640
+ * !proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest,
4641
+ * !proto.sniipbillapi.ResponseCode>}
4642
+ */
4643
+ const methodDescriptor_SniipBillAPIService_ProcessDraftBillsNotRequiringReview = new grpc.web.MethodDescriptor(
4644
+ '/sniipbillapi.SniipBillAPIService/ProcessDraftBillsNotRequiringReview',
4645
+ grpc.web.MethodType.UNARY,
4646
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest,
4647
+ proto.sniipbillapi.ResponseCode,
4648
+ /**
4649
+ * @param {!proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest} request
4650
+ * @return {!Uint8Array}
4651
+ */
4652
+ function(request) {
4653
+ return request.serializeBinary();
4654
+ },
4655
+ proto.sniipbillapi.ResponseCode.deserializeBinary
4656
+ );
4657
+
4658
+
4659
+ /**
4660
+ * @const
4661
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
4662
+ * !proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest,
4663
+ * !proto.sniipbillapi.ResponseCode>}
4664
+ */
4665
+ const methodInfo_SniipBillAPIService_ProcessDraftBillsNotRequiringReview = new grpc.web.AbstractClientBase.MethodInfo(
4666
+ proto.sniipbillapi.ResponseCode,
4667
+ /**
4668
+ * @param {!proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest} request
4669
+ * @return {!Uint8Array}
4670
+ */
4671
+ function(request) {
4672
+ return request.serializeBinary();
4673
+ },
4674
+ proto.sniipbillapi.ResponseCode.deserializeBinary
4675
+ );
4676
+
4677
+
4678
+ /**
4679
+ * @param {!proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest} request The
4680
+ * request proto
4681
+ * @param {?Object<string, string>} metadata User defined
4682
+ * call metadata
4683
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.ResponseCode)}
4684
+ * callback The callback function(error, response)
4685
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.ResponseCode>|undefined}
4686
+ * The XHR Node Readable Stream
4687
+ */
4688
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.processDraftBillsNotRequiringReview =
4689
+ function(request, metadata, callback) {
4690
+ return this.client_.rpcCall(this.hostname_ +
4691
+ '/sniipbillapi.SniipBillAPIService/ProcessDraftBillsNotRequiringReview',
4692
+ request,
4693
+ metadata || {},
4694
+ methodDescriptor_SniipBillAPIService_ProcessDraftBillsNotRequiringReview,
4695
+ callback);
4696
+ };
4697
+
4698
+
4699
+ /**
4700
+ * @param {!proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest} request The
4701
+ * request proto
4702
+ * @param {?Object<string, string>} metadata User defined
4703
+ * call metadata
4704
+ * @return {!Promise<!proto.sniipbillapi.ResponseCode>}
4705
+ * Promise that resolves to the response
4706
+ */
4707
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.processDraftBillsNotRequiringReview =
4708
+ function(request, metadata) {
4709
+ return this.client_.unaryCall(this.hostname_ +
4710
+ '/sniipbillapi.SniipBillAPIService/ProcessDraftBillsNotRequiringReview',
4711
+ request,
4712
+ metadata || {},
4713
+ methodDescriptor_SniipBillAPIService_ProcessDraftBillsNotRequiringReview);
4714
+ };
4715
+
4716
+
4637
4717
  module.exports = proto.sniipbillapi;
4638
4718
 
@@ -117,6 +117,7 @@ goog.exportSymbol('proto.sniipbillapi.Mbill', null, global);
117
117
  goog.exportSymbol('proto.sniipbillapi.MbillBillPair', null, global);
118
118
  goog.exportSymbol('proto.sniipbillapi.ObjectType', null, global);
119
119
  goog.exportSymbol('proto.sniipbillapi.PaymentMethodDetails', null, global);
120
+ goog.exportSymbol('proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest', null, global);
120
121
  goog.exportSymbol('proto.sniipbillapi.ResponseCode', null, global);
121
122
  goog.exportSymbol('proto.sniipbillapi.RetrieveBillDetailsRequest', null, global);
122
123
  goog.exportSymbol('proto.sniipbillapi.SaveItemPaymentDetailsRequest', null, global);
@@ -385,6 +386,27 @@ if (goog.DEBUG && !COMPILED) {
385
386
  */
386
387
  proto.sniipbillapi.BillConfigsResponse.displayName = 'proto.sniipbillapi.BillConfigsResponse';
387
388
  }
389
+ /**
390
+ * Generated by JsPbCodeGenerator.
391
+ * @param {Array=} opt_data Optional initial data array, typically from a
392
+ * server response, or constructed directly in Javascript. The array is used
393
+ * in place and becomes part of the constructed object. It is not cloned.
394
+ * If no data is provided, the constructed object will be empty, but still
395
+ * valid.
396
+ * @extends {jspb.Message}
397
+ * @constructor
398
+ */
399
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest = function(opt_data) {
400
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.repeatedFields_, null);
401
+ };
402
+ goog.inherits(proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest, jspb.Message);
403
+ if (goog.DEBUG && !COMPILED) {
404
+ /**
405
+ * @public
406
+ * @override
407
+ */
408
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.displayName = 'proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest';
409
+ }
388
410
  /**
389
411
  * Generated by JsPbCodeGenerator.
390
412
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6075,6 +6097,162 @@ proto.sniipbillapi.BillConfigsResponse.prototype.clearBillconfigsList = function
6075
6097
 
6076
6098
 
6077
6099
 
6100
+ /**
6101
+ * List of repeated fields within this message type.
6102
+ * @private {!Array<number>}
6103
+ * @const
6104
+ */
6105
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.repeatedFields_ = [1];
6106
+
6107
+
6108
+
6109
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6110
+ /**
6111
+ * Creates an object representation of this proto.
6112
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6113
+ * Optional fields that are not set will be set to undefined.
6114
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6115
+ * For the list of reserved names please see:
6116
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6117
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6118
+ * JSPB instance for transitional soy proto support:
6119
+ * http://goto/soy-param-migration
6120
+ * @return {!Object}
6121
+ */
6122
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.prototype.toObject = function(opt_includeInstance) {
6123
+ return proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.toObject(opt_includeInstance, this);
6124
+ };
6125
+
6126
+
6127
+ /**
6128
+ * Static version of the {@see toObject} method.
6129
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6130
+ * the JSPB instance for transitional soy proto support:
6131
+ * http://goto/soy-param-migration
6132
+ * @param {!proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest} msg The msg instance to transform.
6133
+ * @return {!Object}
6134
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6135
+ */
6136
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.toObject = function(includeInstance, msg) {
6137
+ var f, obj = {
6138
+ billidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
6139
+ };
6140
+
6141
+ if (includeInstance) {
6142
+ obj.$jspbMessageInstance = msg;
6143
+ }
6144
+ return obj;
6145
+ };
6146
+ }
6147
+
6148
+
6149
+ /**
6150
+ * Deserializes binary data (in protobuf wire format).
6151
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6152
+ * @return {!proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest}
6153
+ */
6154
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.deserializeBinary = function(bytes) {
6155
+ var reader = new jspb.BinaryReader(bytes);
6156
+ var msg = new proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest;
6157
+ return proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.deserializeBinaryFromReader(msg, reader);
6158
+ };
6159
+
6160
+
6161
+ /**
6162
+ * Deserializes binary data (in protobuf wire format) from the
6163
+ * given reader into the given message object.
6164
+ * @param {!proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest} msg The message object to deserialize into.
6165
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6166
+ * @return {!proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest}
6167
+ */
6168
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.deserializeBinaryFromReader = function(msg, reader) {
6169
+ while (reader.nextField()) {
6170
+ if (reader.isEndGroup()) {
6171
+ break;
6172
+ }
6173
+ var field = reader.getFieldNumber();
6174
+ switch (field) {
6175
+ case 1:
6176
+ var value = /** @type {!Array<number>} */ (reader.readPackedInt64());
6177
+ msg.setBillidsList(value);
6178
+ break;
6179
+ default:
6180
+ reader.skipField();
6181
+ break;
6182
+ }
6183
+ }
6184
+ return msg;
6185
+ };
6186
+
6187
+
6188
+ /**
6189
+ * Serializes the message to binary data (in protobuf wire format).
6190
+ * @return {!Uint8Array}
6191
+ */
6192
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.prototype.serializeBinary = function() {
6193
+ var writer = new jspb.BinaryWriter();
6194
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.serializeBinaryToWriter(this, writer);
6195
+ return writer.getResultBuffer();
6196
+ };
6197
+
6198
+
6199
+ /**
6200
+ * Serializes the given message to binary data (in protobuf wire
6201
+ * format), writing to the given BinaryWriter.
6202
+ * @param {!proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest} message
6203
+ * @param {!jspb.BinaryWriter} writer
6204
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6205
+ */
6206
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.serializeBinaryToWriter = function(message, writer) {
6207
+ var f = undefined;
6208
+ f = message.getBillidsList();
6209
+ if (f.length > 0) {
6210
+ writer.writePackedInt64(
6211
+ 1,
6212
+ f
6213
+ );
6214
+ }
6215
+ };
6216
+
6217
+
6218
+ /**
6219
+ * repeated int64 billIds = 1;
6220
+ * @return {!Array<number>}
6221
+ */
6222
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.prototype.getBillidsList = function() {
6223
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
6224
+ };
6225
+
6226
+
6227
+ /**
6228
+ * @param {!Array<number>} value
6229
+ * @return {!proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest} returns this
6230
+ */
6231
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.prototype.setBillidsList = function(value) {
6232
+ return jspb.Message.setField(this, 1, value || []);
6233
+ };
6234
+
6235
+
6236
+ /**
6237
+ * @param {number} value
6238
+ * @param {number=} opt_index
6239
+ * @return {!proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest} returns this
6240
+ */
6241
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.prototype.addBillids = function(value, opt_index) {
6242
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
6243
+ };
6244
+
6245
+
6246
+ /**
6247
+ * Clears the list making it empty but non-null.
6248
+ * @return {!proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest} returns this
6249
+ */
6250
+ proto.sniipbillapi.ProcessDraftBillsNotRequiringReviewRequest.prototype.clearBillidsList = function() {
6251
+ return this.setBillidsList([]);
6252
+ };
6253
+
6254
+
6255
+
6078
6256
 
6079
6257
 
6080
6258
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -7077,7 +7255,8 @@ proto.sniipbillapi.BillCreateRequestV2.toObject = function(includeInstance, msg)
7077
7255
  hasbeenimported: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
7078
7256
  billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
7079
7257
  proto.sniipbillapi.UpdateBillConfigRequest.toObject, includeInstance),
7080
- isagentbill: jspb.Message.getBooleanFieldWithDefault(msg, 24, false)
7258
+ isagentbill: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
7259
+ requiresdraftreview: jspb.Message.getBooleanFieldWithDefault(msg, 25, false)
7081
7260
  };
7082
7261
 
7083
7262
  if (includeInstance) {
@@ -7211,6 +7390,10 @@ proto.sniipbillapi.BillCreateRequestV2.deserializeBinaryFromReader = function(ms
7211
7390
  var value = /** @type {boolean} */ (reader.readBool());
7212
7391
  msg.setIsagentbill(value);
7213
7392
  break;
7393
+ case 25:
7394
+ var value = /** @type {boolean} */ (reader.readBool());
7395
+ msg.setRequiresdraftreview(value);
7396
+ break;
7214
7397
  default:
7215
7398
  reader.skipField();
7216
7399
  break;
@@ -7409,6 +7592,13 @@ proto.sniipbillapi.BillCreateRequestV2.serializeBinaryToWriter = function(messag
7409
7592
  f
7410
7593
  );
7411
7594
  }
7595
+ f = message.getRequiresdraftreview();
7596
+ if (f) {
7597
+ writer.writeBool(
7598
+ 25,
7599
+ f
7600
+ );
7601
+ }
7412
7602
  };
7413
7603
 
7414
7604
 
@@ -7864,6 +8054,24 @@ proto.sniipbillapi.BillCreateRequestV2.prototype.setIsagentbill = function(value
7864
8054
  };
7865
8055
 
7866
8056
 
8057
+ /**
8058
+ * optional bool requiresDraftReview = 25;
8059
+ * @return {boolean}
8060
+ */
8061
+ proto.sniipbillapi.BillCreateRequestV2.prototype.getRequiresdraftreview = function() {
8062
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 25, false));
8063
+ };
8064
+
8065
+
8066
+ /**
8067
+ * @param {boolean} value
8068
+ * @return {!proto.sniipbillapi.BillCreateRequestV2} returns this
8069
+ */
8070
+ proto.sniipbillapi.BillCreateRequestV2.prototype.setRequiresdraftreview = function(value) {
8071
+ return jspb.Message.setProto3BooleanField(this, 25, value);
8072
+ };
8073
+
8074
+
7867
8075
 
7868
8076
 
7869
8077
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "23.11.12098",
3
+ "version": "23.11.12115",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",