@sniipwebmaster/bill-service-client-grpcweb 23.15.12385 → 23.15.12400

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.
@@ -4954,5 +4954,85 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getNextEligibleBil
4954
4954
  };
4955
4955
 
4956
4956
 
4957
+ /**
4958
+ * @const
4959
+ * @type {!grpc.web.MethodDescriptor<
4960
+ * !proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest,
4961
+ * !proto.sniipbillapi.ResponseCode>}
4962
+ */
4963
+ const methodDescriptor_SniipBillAPIService_DeleteWithoutTraceBillByBillConfigId = new grpc.web.MethodDescriptor(
4964
+ '/sniipbillapi.SniipBillAPIService/DeleteWithoutTraceBillByBillConfigId',
4965
+ grpc.web.MethodType.UNARY,
4966
+ proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest,
4967
+ proto.sniipbillapi.ResponseCode,
4968
+ /**
4969
+ * @param {!proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest} request
4970
+ * @return {!Uint8Array}
4971
+ */
4972
+ function(request) {
4973
+ return request.serializeBinary();
4974
+ },
4975
+ proto.sniipbillapi.ResponseCode.deserializeBinary
4976
+ );
4977
+
4978
+
4979
+ /**
4980
+ * @const
4981
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
4982
+ * !proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest,
4983
+ * !proto.sniipbillapi.ResponseCode>}
4984
+ */
4985
+ const methodInfo_SniipBillAPIService_DeleteWithoutTraceBillByBillConfigId = new grpc.web.AbstractClientBase.MethodInfo(
4986
+ proto.sniipbillapi.ResponseCode,
4987
+ /**
4988
+ * @param {!proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest} request
4989
+ * @return {!Uint8Array}
4990
+ */
4991
+ function(request) {
4992
+ return request.serializeBinary();
4993
+ },
4994
+ proto.sniipbillapi.ResponseCode.deserializeBinary
4995
+ );
4996
+
4997
+
4998
+ /**
4999
+ * @param {!proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest} request The
5000
+ * request proto
5001
+ * @param {?Object<string, string>} metadata User defined
5002
+ * call metadata
5003
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.ResponseCode)}
5004
+ * callback The callback function(error, response)
5005
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.ResponseCode>|undefined}
5006
+ * The XHR Node Readable Stream
5007
+ */
5008
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.deleteWithoutTraceBillByBillConfigId =
5009
+ function(request, metadata, callback) {
5010
+ return this.client_.rpcCall(this.hostname_ +
5011
+ '/sniipbillapi.SniipBillAPIService/DeleteWithoutTraceBillByBillConfigId',
5012
+ request,
5013
+ metadata || {},
5014
+ methodDescriptor_SniipBillAPIService_DeleteWithoutTraceBillByBillConfigId,
5015
+ callback);
5016
+ };
5017
+
5018
+
5019
+ /**
5020
+ * @param {!proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest} request The
5021
+ * request proto
5022
+ * @param {?Object<string, string>} metadata User defined
5023
+ * call metadata
5024
+ * @return {!Promise<!proto.sniipbillapi.ResponseCode>}
5025
+ * Promise that resolves to the response
5026
+ */
5027
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.deleteWithoutTraceBillByBillConfigId =
5028
+ function(request, metadata) {
5029
+ return this.client_.unaryCall(this.hostname_ +
5030
+ '/sniipbillapi.SniipBillAPIService/DeleteWithoutTraceBillByBillConfigId',
5031
+ request,
5032
+ metadata || {},
5033
+ methodDescriptor_SniipBillAPIService_DeleteWithoutTraceBillByBillConfigId);
5034
+ };
5035
+
5036
+
4957
5037
  module.exports = proto.sniipbillapi;
4958
5038
 
@@ -68,6 +68,7 @@ goog.exportSymbol('proto.sniipbillapi.CreateOrUpdateBillFromXeroInvoiceRequest',
68
68
  goog.exportSymbol('proto.sniipbillapi.DeleteBillRequest', null, global);
69
69
  goog.exportSymbol('proto.sniipbillapi.DeleteBillsByBillIdsRequest', null, global);
70
70
  goog.exportSymbol('proto.sniipbillapi.DeleteBillsRequest', null, global);
71
+ goog.exportSymbol('proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest', null, global);
71
72
  goog.exportSymbol('proto.sniipbillapi.DraftBillCreateRequest', null, global);
72
73
  goog.exportSymbol('proto.sniipbillapi.DraftBillDetails', null, global);
73
74
  goog.exportSymbol('proto.sniipbillapi.DraftBillDetailsResponse', null, global);
@@ -478,6 +479,27 @@ if (goog.DEBUG && !COMPILED) {
478
479
  */
479
480
  proto.sniipbillapi.DeleteBillsByBillIdsRequest.displayName = 'proto.sniipbillapi.DeleteBillsByBillIdsRequest';
480
481
  }
482
+ /**
483
+ * Generated by JsPbCodeGenerator.
484
+ * @param {Array=} opt_data Optional initial data array, typically from a
485
+ * server response, or constructed directly in Javascript. The array is used
486
+ * in place and becomes part of the constructed object. It is not cloned.
487
+ * If no data is provided, the constructed object will be empty, but still
488
+ * valid.
489
+ * @extends {jspb.Message}
490
+ * @constructor
491
+ */
492
+ proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest = function(opt_data) {
493
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
494
+ };
495
+ goog.inherits(proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest, jspb.Message);
496
+ if (goog.DEBUG && !COMPILED) {
497
+ /**
498
+ * @public
499
+ * @override
500
+ */
501
+ proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest.displayName = 'proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest';
502
+ }
481
503
  /**
482
504
  * Generated by JsPbCodeGenerator.
483
505
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6988,6 +7010,136 @@ proto.sniipbillapi.DeleteBillsByBillIdsRequest.prototype.clearBillidsList = func
6988
7010
 
6989
7011
 
6990
7012
 
7013
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7014
+ /**
7015
+ * Creates an object representation of this proto.
7016
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7017
+ * Optional fields that are not set will be set to undefined.
7018
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7019
+ * For the list of reserved names please see:
7020
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7021
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7022
+ * JSPB instance for transitional soy proto support:
7023
+ * http://goto/soy-param-migration
7024
+ * @return {!Object}
7025
+ */
7026
+ proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest.prototype.toObject = function(opt_includeInstance) {
7027
+ return proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest.toObject(opt_includeInstance, this);
7028
+ };
7029
+
7030
+
7031
+ /**
7032
+ * Static version of the {@see toObject} method.
7033
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7034
+ * the JSPB instance for transitional soy proto support:
7035
+ * http://goto/soy-param-migration
7036
+ * @param {!proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest} msg The msg instance to transform.
7037
+ * @return {!Object}
7038
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7039
+ */
7040
+ proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest.toObject = function(includeInstance, msg) {
7041
+ var f, obj = {
7042
+ billconfigid: jspb.Message.getFieldWithDefault(msg, 1, 0)
7043
+ };
7044
+
7045
+ if (includeInstance) {
7046
+ obj.$jspbMessageInstance = msg;
7047
+ }
7048
+ return obj;
7049
+ };
7050
+ }
7051
+
7052
+
7053
+ /**
7054
+ * Deserializes binary data (in protobuf wire format).
7055
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7056
+ * @return {!proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest}
7057
+ */
7058
+ proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest.deserializeBinary = function(bytes) {
7059
+ var reader = new jspb.BinaryReader(bytes);
7060
+ var msg = new proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest;
7061
+ return proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest.deserializeBinaryFromReader(msg, reader);
7062
+ };
7063
+
7064
+
7065
+ /**
7066
+ * Deserializes binary data (in protobuf wire format) from the
7067
+ * given reader into the given message object.
7068
+ * @param {!proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest} msg The message object to deserialize into.
7069
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7070
+ * @return {!proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest}
7071
+ */
7072
+ proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest.deserializeBinaryFromReader = function(msg, reader) {
7073
+ while (reader.nextField()) {
7074
+ if (reader.isEndGroup()) {
7075
+ break;
7076
+ }
7077
+ var field = reader.getFieldNumber();
7078
+ switch (field) {
7079
+ case 1:
7080
+ var value = /** @type {number} */ (reader.readInt64());
7081
+ msg.setBillconfigid(value);
7082
+ break;
7083
+ default:
7084
+ reader.skipField();
7085
+ break;
7086
+ }
7087
+ }
7088
+ return msg;
7089
+ };
7090
+
7091
+
7092
+ /**
7093
+ * Serializes the message to binary data (in protobuf wire format).
7094
+ * @return {!Uint8Array}
7095
+ */
7096
+ proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest.prototype.serializeBinary = function() {
7097
+ var writer = new jspb.BinaryWriter();
7098
+ proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest.serializeBinaryToWriter(this, writer);
7099
+ return writer.getResultBuffer();
7100
+ };
7101
+
7102
+
7103
+ /**
7104
+ * Serializes the given message to binary data (in protobuf wire
7105
+ * format), writing to the given BinaryWriter.
7106
+ * @param {!proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest} message
7107
+ * @param {!jspb.BinaryWriter} writer
7108
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7109
+ */
7110
+ proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest.serializeBinaryToWriter = function(message, writer) {
7111
+ var f = undefined;
7112
+ f = message.getBillconfigid();
7113
+ if (f !== 0) {
7114
+ writer.writeInt64(
7115
+ 1,
7116
+ f
7117
+ );
7118
+ }
7119
+ };
7120
+
7121
+
7122
+ /**
7123
+ * optional int64 billConfigId = 1;
7124
+ * @return {number}
7125
+ */
7126
+ proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest.prototype.getBillconfigid = function() {
7127
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
7128
+ };
7129
+
7130
+
7131
+ /**
7132
+ * @param {number} value
7133
+ * @return {!proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest} returns this
7134
+ */
7135
+ proto.sniipbillapi.DeleteWithoutTraceBillByBillConfigIdRequest.prototype.setBillconfigid = function(value) {
7136
+ return jspb.Message.setProto3IntField(this, 1, value);
7137
+ };
7138
+
7139
+
7140
+
7141
+
7142
+
6991
7143
  if (jspb.Message.GENERATE_TO_OBJECT) {
6992
7144
  /**
6993
7145
  * Creates an object representation of this proto.
@@ -9097,7 +9249,8 @@ proto.sniipbillapi.BillDetail.toObject = function(includeInstance, msg) {
9097
9249
  agentlastname: jspb.Message.getFieldWithDefault(msg, 71, ""),
9098
9250
  deliverybatchname: jspb.Message.getFieldWithDefault(msg, 72, ""),
9099
9251
  deliverytimestamp: jspb.Message.getFieldWithDefault(msg, 73, ""),
9100
- requiresdraftreview: jspb.Message.getBooleanFieldWithDefault(msg, 74, false)
9252
+ requiresdraftreview: jspb.Message.getBooleanFieldWithDefault(msg, 74, false),
9253
+ billerindustrycode: jspb.Message.getFieldWithDefault(msg, 75, 0)
9101
9254
  };
9102
9255
 
9103
9256
  if (includeInstance) {
@@ -9417,6 +9570,10 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
9417
9570
  var value = /** @type {boolean} */ (reader.readBool());
9418
9571
  msg.setRequiresdraftreview(value);
9419
9572
  break;
9573
+ case 75:
9574
+ var value = /** @type {number} */ (reader.readInt32());
9575
+ msg.setBillerindustrycode(value);
9576
+ break;
9420
9577
  default:
9421
9578
  reader.skipField();
9422
9579
  break;
@@ -9939,6 +10096,13 @@ proto.sniipbillapi.BillDetail.serializeBinaryToWriter = function(message, writer
9939
10096
  f
9940
10097
  );
9941
10098
  }
10099
+ f = message.getBillerindustrycode();
10100
+ if (f !== 0) {
10101
+ writer.writeInt32(
10102
+ 75,
10103
+ f
10104
+ );
10105
+ }
9942
10106
  };
9943
10107
 
9944
10108
 
@@ -11290,6 +11454,24 @@ proto.sniipbillapi.BillDetail.prototype.setRequiresdraftreview = function(value)
11290
11454
  };
11291
11455
 
11292
11456
 
11457
+ /**
11458
+ * optional int32 billerIndustryCode = 75;
11459
+ * @return {number}
11460
+ */
11461
+ proto.sniipbillapi.BillDetail.prototype.getBillerindustrycode = function() {
11462
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 75, 0));
11463
+ };
11464
+
11465
+
11466
+ /**
11467
+ * @param {number} value
11468
+ * @return {!proto.sniipbillapi.BillDetail} returns this
11469
+ */
11470
+ proto.sniipbillapi.BillDetail.prototype.setBillerindustrycode = function(value) {
11471
+ return jspb.Message.setProto3IntField(this, 75, value);
11472
+ };
11473
+
11474
+
11293
11475
 
11294
11476
 
11295
11477
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "23.15.12385",
3
+ "version": "23.15.12400",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",