@sniipwebmaster/bill-service-client-grpcweb 22.8.8423 → 22.9.8439

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.
@@ -1034,6 +1034,86 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.deleteBills =
1034
1034
  };
1035
1035
 
1036
1036
 
1037
+ /**
1038
+ * @const
1039
+ * @type {!grpc.web.MethodDescriptor<
1040
+ * !proto.sniipbillapi.ExcludeBillerReferenceRequest,
1041
+ * !proto.sniipbillapi.ResponseCode>}
1042
+ */
1043
+ const methodDescriptor_SniipBillAPIService_ExcludeBillerReference = new grpc.web.MethodDescriptor(
1044
+ '/sniipbillapi.SniipBillAPIService/ExcludeBillerReference',
1045
+ grpc.web.MethodType.UNARY,
1046
+ proto.sniipbillapi.ExcludeBillerReferenceRequest,
1047
+ proto.sniipbillapi.ResponseCode,
1048
+ /**
1049
+ * @param {!proto.sniipbillapi.ExcludeBillerReferenceRequest} request
1050
+ * @return {!Uint8Array}
1051
+ */
1052
+ function(request) {
1053
+ return request.serializeBinary();
1054
+ },
1055
+ proto.sniipbillapi.ResponseCode.deserializeBinary
1056
+ );
1057
+
1058
+
1059
+ /**
1060
+ * @const
1061
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1062
+ * !proto.sniipbillapi.ExcludeBillerReferenceRequest,
1063
+ * !proto.sniipbillapi.ResponseCode>}
1064
+ */
1065
+ const methodInfo_SniipBillAPIService_ExcludeBillerReference = new grpc.web.AbstractClientBase.MethodInfo(
1066
+ proto.sniipbillapi.ResponseCode,
1067
+ /**
1068
+ * @param {!proto.sniipbillapi.ExcludeBillerReferenceRequest} request
1069
+ * @return {!Uint8Array}
1070
+ */
1071
+ function(request) {
1072
+ return request.serializeBinary();
1073
+ },
1074
+ proto.sniipbillapi.ResponseCode.deserializeBinary
1075
+ );
1076
+
1077
+
1078
+ /**
1079
+ * @param {!proto.sniipbillapi.ExcludeBillerReferenceRequest} request The
1080
+ * request proto
1081
+ * @param {?Object<string, string>} metadata User defined
1082
+ * call metadata
1083
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.ResponseCode)}
1084
+ * callback The callback function(error, response)
1085
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.ResponseCode>|undefined}
1086
+ * The XHR Node Readable Stream
1087
+ */
1088
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.excludeBillerReference =
1089
+ function(request, metadata, callback) {
1090
+ return this.client_.rpcCall(this.hostname_ +
1091
+ '/sniipbillapi.SniipBillAPIService/ExcludeBillerReference',
1092
+ request,
1093
+ metadata || {},
1094
+ methodDescriptor_SniipBillAPIService_ExcludeBillerReference,
1095
+ callback);
1096
+ };
1097
+
1098
+
1099
+ /**
1100
+ * @param {!proto.sniipbillapi.ExcludeBillerReferenceRequest} request The
1101
+ * request proto
1102
+ * @param {?Object<string, string>} metadata User defined
1103
+ * call metadata
1104
+ * @return {!Promise<!proto.sniipbillapi.ResponseCode>}
1105
+ * Promise that resolves to the response
1106
+ */
1107
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.excludeBillerReference =
1108
+ function(request, metadata) {
1109
+ return this.client_.unaryCall(this.hostname_ +
1110
+ '/sniipbillapi.SniipBillAPIService/ExcludeBillerReference',
1111
+ request,
1112
+ metadata || {},
1113
+ methodDescriptor_SniipBillAPIService_ExcludeBillerReference);
1114
+ };
1115
+
1116
+
1037
1117
  /**
1038
1118
  * @const
1039
1119
  * @type {!grpc.web.MethodDescriptor<
@@ -53,6 +53,8 @@ goog.exportSymbol('proto.sniipbillapi.CreateOrUpdateBillFromXeroInvoiceRequest',
53
53
  goog.exportSymbol('proto.sniipbillapi.DeleteBillRequest', null, global);
54
54
  goog.exportSymbol('proto.sniipbillapi.DeleteBillsRequest', null, global);
55
55
  goog.exportSymbol('proto.sniipbillapi.DraftBillCreateRequest', null, global);
56
+ goog.exportSymbol('proto.sniipbillapi.ExcludeBillerReferenceRequest', null, global);
57
+ goog.exportSymbol('proto.sniipbillapi.ExcludeReferenceRequest', null, global);
56
58
  goog.exportSymbol('proto.sniipbillapi.ExistingBillGetRequest', null, global);
57
59
  goog.exportSymbol('proto.sniipbillapi.ExistingBillGetResponse', null, global);
58
60
  goog.exportSymbol('proto.sniipbillapi.GetArchiveListRequest', null, global);
@@ -12105,6 +12107,368 @@ proto.sniipbillapi.DraftBillCreateRequest.prototype.setOriginaldonationamount =
12105
12107
 
12106
12108
 
12107
12109
 
12110
+ /**
12111
+ * Generated by JsPbCodeGenerator.
12112
+ * @param {Array=} opt_data Optional initial data array, typically from a
12113
+ * server response, or constructed directly in Javascript. The array is used
12114
+ * in place and becomes part of the constructed object. It is not cloned.
12115
+ * If no data is provided, the constructed object will be empty, but still
12116
+ * valid.
12117
+ * @extends {jspb.Message}
12118
+ * @constructor
12119
+ */
12120
+ proto.sniipbillapi.ExcludeBillerReferenceRequest = function(opt_data) {
12121
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
12122
+ };
12123
+ goog.inherits(proto.sniipbillapi.ExcludeBillerReferenceRequest, jspb.Message);
12124
+ if (goog.DEBUG && !COMPILED) {
12125
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.displayName = 'proto.sniipbillapi.ExcludeBillerReferenceRequest';
12126
+ }
12127
+
12128
+
12129
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12130
+ /**
12131
+ * Creates an object representation of this proto suitable for use in Soy templates.
12132
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12133
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12134
+ * For the list of reserved names please see:
12135
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
12136
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
12137
+ * for transitional soy proto support: http://goto/soy-param-migration
12138
+ * @return {!Object}
12139
+ */
12140
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.prototype.toObject = function(opt_includeInstance) {
12141
+ return proto.sniipbillapi.ExcludeBillerReferenceRequest.toObject(opt_includeInstance, this);
12142
+ };
12143
+
12144
+
12145
+ /**
12146
+ * Static version of the {@see toObject} method.
12147
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
12148
+ * instance for transitional soy proto support:
12149
+ * http://goto/soy-param-migration
12150
+ * @param {!proto.sniipbillapi.ExcludeBillerReferenceRequest} msg The msg instance to transform.
12151
+ * @return {!Object}
12152
+ */
12153
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.toObject = function(includeInstance, msg) {
12154
+ var f, obj = {
12155
+ data: (f = msg.getData()) && proto.sniipbillapi.ExcludeReferenceRequest.toObject(includeInstance, f)
12156
+ };
12157
+
12158
+ if (includeInstance) {
12159
+ obj.$jspbMessageInstance = msg;
12160
+ }
12161
+ return obj;
12162
+ };
12163
+ }
12164
+
12165
+
12166
+ /**
12167
+ * Deserializes binary data (in protobuf wire format).
12168
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12169
+ * @return {!proto.sniipbillapi.ExcludeBillerReferenceRequest}
12170
+ */
12171
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.deserializeBinary = function(bytes) {
12172
+ var reader = new jspb.BinaryReader(bytes);
12173
+ var msg = new proto.sniipbillapi.ExcludeBillerReferenceRequest;
12174
+ return proto.sniipbillapi.ExcludeBillerReferenceRequest.deserializeBinaryFromReader(msg, reader);
12175
+ };
12176
+
12177
+
12178
+ /**
12179
+ * Deserializes binary data (in protobuf wire format) from the
12180
+ * given reader into the given message object.
12181
+ * @param {!proto.sniipbillapi.ExcludeBillerReferenceRequest} msg The message object to deserialize into.
12182
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12183
+ * @return {!proto.sniipbillapi.ExcludeBillerReferenceRequest}
12184
+ */
12185
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.deserializeBinaryFromReader = function(msg, reader) {
12186
+ while (reader.nextField()) {
12187
+ if (reader.isEndGroup()) {
12188
+ break;
12189
+ }
12190
+ var field = reader.getFieldNumber();
12191
+ switch (field) {
12192
+ case 1:
12193
+ var value = new proto.sniipbillapi.ExcludeReferenceRequest;
12194
+ reader.readMessage(value,proto.sniipbillapi.ExcludeReferenceRequest.deserializeBinaryFromReader);
12195
+ msg.setData(value);
12196
+ break;
12197
+ default:
12198
+ reader.skipField();
12199
+ break;
12200
+ }
12201
+ }
12202
+ return msg;
12203
+ };
12204
+
12205
+
12206
+ /**
12207
+ * Class method variant: serializes the given message to binary data
12208
+ * (in protobuf wire format), writing to the given BinaryWriter.
12209
+ * @param {!proto.sniipbillapi.ExcludeBillerReferenceRequest} message
12210
+ * @param {!jspb.BinaryWriter} writer
12211
+ */
12212
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.serializeBinaryToWriter = function(message, writer) {
12213
+ message.serializeBinaryToWriter(writer);
12214
+ };
12215
+
12216
+
12217
+ /**
12218
+ * Serializes the message to binary data (in protobuf wire format).
12219
+ * @return {!Uint8Array}
12220
+ */
12221
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.prototype.serializeBinary = function() {
12222
+ var writer = new jspb.BinaryWriter();
12223
+ this.serializeBinaryToWriter(writer);
12224
+ return writer.getResultBuffer();
12225
+ };
12226
+
12227
+
12228
+ /**
12229
+ * Serializes the message to binary data (in protobuf wire format),
12230
+ * writing to the given BinaryWriter.
12231
+ * @param {!jspb.BinaryWriter} writer
12232
+ */
12233
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.prototype.serializeBinaryToWriter = function (writer) {
12234
+ var f = undefined;
12235
+ f = this.getData();
12236
+ if (f != null) {
12237
+ writer.writeMessage(
12238
+ 1,
12239
+ f,
12240
+ proto.sniipbillapi.ExcludeReferenceRequest.serializeBinaryToWriter
12241
+ );
12242
+ }
12243
+ };
12244
+
12245
+
12246
+ /**
12247
+ * Creates a deep clone of this proto. No data is shared with the original.
12248
+ * @return {!proto.sniipbillapi.ExcludeBillerReferenceRequest} The clone.
12249
+ */
12250
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.prototype.cloneMessage = function() {
12251
+ return /** @type {!proto.sniipbillapi.ExcludeBillerReferenceRequest} */ (jspb.Message.cloneMessage(this));
12252
+ };
12253
+
12254
+
12255
+ /**
12256
+ * optional ExcludeReferenceRequest data = 1;
12257
+ * @return {proto.sniipbillapi.ExcludeReferenceRequest}
12258
+ */
12259
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.prototype.getData = function() {
12260
+ return /** @type{proto.sniipbillapi.ExcludeReferenceRequest} */ (
12261
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.ExcludeReferenceRequest, 1));
12262
+ };
12263
+
12264
+
12265
+ /** @param {proto.sniipbillapi.ExcludeReferenceRequest|undefined} value */
12266
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.prototype.setData = function(value) {
12267
+ jspb.Message.setWrapperField(this, 1, value);
12268
+ };
12269
+
12270
+
12271
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.prototype.clearData = function() {
12272
+ this.setData(undefined);
12273
+ };
12274
+
12275
+
12276
+ /**
12277
+ * Returns whether this field is set.
12278
+ * @return{!boolean}
12279
+ */
12280
+ proto.sniipbillapi.ExcludeBillerReferenceRequest.prototype.hasData = function() {
12281
+ return jspb.Message.getField(this, 1) != null;
12282
+ };
12283
+
12284
+
12285
+
12286
+ /**
12287
+ * Generated by JsPbCodeGenerator.
12288
+ * @param {Array=} opt_data Optional initial data array, typically from a
12289
+ * server response, or constructed directly in Javascript. The array is used
12290
+ * in place and becomes part of the constructed object. It is not cloned.
12291
+ * If no data is provided, the constructed object will be empty, but still
12292
+ * valid.
12293
+ * @extends {jspb.Message}
12294
+ * @constructor
12295
+ */
12296
+ proto.sniipbillapi.ExcludeReferenceRequest = function(opt_data) {
12297
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
12298
+ };
12299
+ goog.inherits(proto.sniipbillapi.ExcludeReferenceRequest, jspb.Message);
12300
+ if (goog.DEBUG && !COMPILED) {
12301
+ proto.sniipbillapi.ExcludeReferenceRequest.displayName = 'proto.sniipbillapi.ExcludeReferenceRequest';
12302
+ }
12303
+
12304
+
12305
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12306
+ /**
12307
+ * Creates an object representation of this proto suitable for use in Soy templates.
12308
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12309
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12310
+ * For the list of reserved names please see:
12311
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
12312
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
12313
+ * for transitional soy proto support: http://goto/soy-param-migration
12314
+ * @return {!Object}
12315
+ */
12316
+ proto.sniipbillapi.ExcludeReferenceRequest.prototype.toObject = function(opt_includeInstance) {
12317
+ return proto.sniipbillapi.ExcludeReferenceRequest.toObject(opt_includeInstance, this);
12318
+ };
12319
+
12320
+
12321
+ /**
12322
+ * Static version of the {@see toObject} method.
12323
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
12324
+ * instance for transitional soy proto support:
12325
+ * http://goto/soy-param-migration
12326
+ * @param {!proto.sniipbillapi.ExcludeReferenceRequest} msg The msg instance to transform.
12327
+ * @return {!Object}
12328
+ */
12329
+ proto.sniipbillapi.ExcludeReferenceRequest.toObject = function(includeInstance, msg) {
12330
+ var f, obj = {
12331
+ referencenumber: msg.getReferencenumber(),
12332
+ billercode: msg.getBillercode()
12333
+ };
12334
+
12335
+ if (includeInstance) {
12336
+ obj.$jspbMessageInstance = msg;
12337
+ }
12338
+ return obj;
12339
+ };
12340
+ }
12341
+
12342
+
12343
+ /**
12344
+ * Deserializes binary data (in protobuf wire format).
12345
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12346
+ * @return {!proto.sniipbillapi.ExcludeReferenceRequest}
12347
+ */
12348
+ proto.sniipbillapi.ExcludeReferenceRequest.deserializeBinary = function(bytes) {
12349
+ var reader = new jspb.BinaryReader(bytes);
12350
+ var msg = new proto.sniipbillapi.ExcludeReferenceRequest;
12351
+ return proto.sniipbillapi.ExcludeReferenceRequest.deserializeBinaryFromReader(msg, reader);
12352
+ };
12353
+
12354
+
12355
+ /**
12356
+ * Deserializes binary data (in protobuf wire format) from the
12357
+ * given reader into the given message object.
12358
+ * @param {!proto.sniipbillapi.ExcludeReferenceRequest} msg The message object to deserialize into.
12359
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12360
+ * @return {!proto.sniipbillapi.ExcludeReferenceRequest}
12361
+ */
12362
+ proto.sniipbillapi.ExcludeReferenceRequest.deserializeBinaryFromReader = function(msg, reader) {
12363
+ while (reader.nextField()) {
12364
+ if (reader.isEndGroup()) {
12365
+ break;
12366
+ }
12367
+ var field = reader.getFieldNumber();
12368
+ switch (field) {
12369
+ case 1:
12370
+ var value = /** @type {number} */ (reader.readInt64());
12371
+ msg.setReferencenumber(value);
12372
+ break;
12373
+ case 2:
12374
+ var value = /** @type {string} */ (reader.readString());
12375
+ msg.setBillercode(value);
12376
+ break;
12377
+ default:
12378
+ reader.skipField();
12379
+ break;
12380
+ }
12381
+ }
12382
+ return msg;
12383
+ };
12384
+
12385
+
12386
+ /**
12387
+ * Class method variant: serializes the given message to binary data
12388
+ * (in protobuf wire format), writing to the given BinaryWriter.
12389
+ * @param {!proto.sniipbillapi.ExcludeReferenceRequest} message
12390
+ * @param {!jspb.BinaryWriter} writer
12391
+ */
12392
+ proto.sniipbillapi.ExcludeReferenceRequest.serializeBinaryToWriter = function(message, writer) {
12393
+ message.serializeBinaryToWriter(writer);
12394
+ };
12395
+
12396
+
12397
+ /**
12398
+ * Serializes the message to binary data (in protobuf wire format).
12399
+ * @return {!Uint8Array}
12400
+ */
12401
+ proto.sniipbillapi.ExcludeReferenceRequest.prototype.serializeBinary = function() {
12402
+ var writer = new jspb.BinaryWriter();
12403
+ this.serializeBinaryToWriter(writer);
12404
+ return writer.getResultBuffer();
12405
+ };
12406
+
12407
+
12408
+ /**
12409
+ * Serializes the message to binary data (in protobuf wire format),
12410
+ * writing to the given BinaryWriter.
12411
+ * @param {!jspb.BinaryWriter} writer
12412
+ */
12413
+ proto.sniipbillapi.ExcludeReferenceRequest.prototype.serializeBinaryToWriter = function (writer) {
12414
+ var f = undefined;
12415
+ f = this.getReferencenumber();
12416
+ if (f !== 0) {
12417
+ writer.writeInt64(
12418
+ 1,
12419
+ f
12420
+ );
12421
+ }
12422
+ f = this.getBillercode();
12423
+ if (f.length > 0) {
12424
+ writer.writeString(
12425
+ 2,
12426
+ f
12427
+ );
12428
+ }
12429
+ };
12430
+
12431
+
12432
+ /**
12433
+ * Creates a deep clone of this proto. No data is shared with the original.
12434
+ * @return {!proto.sniipbillapi.ExcludeReferenceRequest} The clone.
12435
+ */
12436
+ proto.sniipbillapi.ExcludeReferenceRequest.prototype.cloneMessage = function() {
12437
+ return /** @type {!proto.sniipbillapi.ExcludeReferenceRequest} */ (jspb.Message.cloneMessage(this));
12438
+ };
12439
+
12440
+
12441
+ /**
12442
+ * optional int64 referenceNumber = 1;
12443
+ * @return {number}
12444
+ */
12445
+ proto.sniipbillapi.ExcludeReferenceRequest.prototype.getReferencenumber = function() {
12446
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
12447
+ };
12448
+
12449
+
12450
+ /** @param {number} value */
12451
+ proto.sniipbillapi.ExcludeReferenceRequest.prototype.setReferencenumber = function(value) {
12452
+ jspb.Message.setField(this, 1, value);
12453
+ };
12454
+
12455
+
12456
+ /**
12457
+ * optional string billerCode = 2;
12458
+ * @return {string}
12459
+ */
12460
+ proto.sniipbillapi.ExcludeReferenceRequest.prototype.getBillercode = function() {
12461
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
12462
+ };
12463
+
12464
+
12465
+ /** @param {string} value */
12466
+ proto.sniipbillapi.ExcludeReferenceRequest.prototype.setBillercode = function(value) {
12467
+ jspb.Message.setField(this, 2, value);
12468
+ };
12469
+
12470
+
12471
+
12108
12472
  /**
12109
12473
  * Generated by JsPbCodeGenerator.
12110
12474
  * @param {Array=} opt_data Optional initial data array, typically from a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "22.8.8423",
3
+ "version": "22.9.8439",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",