@sniipwebmaster/biller-service-client-grpcweb 22.11.4614 → 22.11.4639

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.
@@ -1674,6 +1674,166 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getBillerAddre
1674
1674
  };
1675
1675
 
1676
1676
 
1677
+ /**
1678
+ * @const
1679
+ * @type {!grpc.web.MethodDescriptor<
1680
+ * !proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest,
1681
+ * !proto.sniipbillerapi.BillerResponse>}
1682
+ */
1683
+ const methodDescriptor_SniipBillerAPIService_GetBillerByBillerCodeAndpaymentProcessorInternal = new grpc.web.MethodDescriptor(
1684
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerByBillerCodeAndpaymentProcessorInternal',
1685
+ grpc.web.MethodType.UNARY,
1686
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest,
1687
+ proto.sniipbillerapi.BillerResponse,
1688
+ /**
1689
+ * @param {!proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest} request
1690
+ * @return {!Uint8Array}
1691
+ */
1692
+ function(request) {
1693
+ return request.serializeBinary();
1694
+ },
1695
+ proto.sniipbillerapi.BillerResponse.deserializeBinary
1696
+ );
1697
+
1698
+
1699
+ /**
1700
+ * @const
1701
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1702
+ * !proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest,
1703
+ * !proto.sniipbillerapi.BillerResponse>}
1704
+ */
1705
+ const methodInfo_SniipBillerAPIService_GetBillerByBillerCodeAndpaymentProcessorInternal = new grpc.web.AbstractClientBase.MethodInfo(
1706
+ proto.sniipbillerapi.BillerResponse,
1707
+ /**
1708
+ * @param {!proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest} request
1709
+ * @return {!Uint8Array}
1710
+ */
1711
+ function(request) {
1712
+ return request.serializeBinary();
1713
+ },
1714
+ proto.sniipbillerapi.BillerResponse.deserializeBinary
1715
+ );
1716
+
1717
+
1718
+ /**
1719
+ * @param {!proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest} request The
1720
+ * request proto
1721
+ * @param {?Object<string, string>} metadata User defined
1722
+ * call metadata
1723
+ * @param {function(?grpc.web.Error, ?proto.sniipbillerapi.BillerResponse)}
1724
+ * callback The callback function(error, response)
1725
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.BillerResponse>|undefined}
1726
+ * The XHR Node Readable Stream
1727
+ */
1728
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.getBillerByBillerCodeAndpaymentProcessorInternal =
1729
+ function(request, metadata, callback) {
1730
+ return this.client_.rpcCall(this.hostname_ +
1731
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerByBillerCodeAndpaymentProcessorInternal',
1732
+ request,
1733
+ metadata || {},
1734
+ methodDescriptor_SniipBillerAPIService_GetBillerByBillerCodeAndpaymentProcessorInternal,
1735
+ callback);
1736
+ };
1737
+
1738
+
1739
+ /**
1740
+ * @param {!proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest} request The
1741
+ * request proto
1742
+ * @param {?Object<string, string>} metadata User defined
1743
+ * call metadata
1744
+ * @return {!Promise<!proto.sniipbillerapi.BillerResponse>}
1745
+ * Promise that resolves to the response
1746
+ */
1747
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getBillerByBillerCodeAndpaymentProcessorInternal =
1748
+ function(request, metadata) {
1749
+ return this.client_.unaryCall(this.hostname_ +
1750
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerByBillerCodeAndpaymentProcessorInternal',
1751
+ request,
1752
+ metadata || {},
1753
+ methodDescriptor_SniipBillerAPIService_GetBillerByBillerCodeAndpaymentProcessorInternal);
1754
+ };
1755
+
1756
+
1757
+ /**
1758
+ * @const
1759
+ * @type {!grpc.web.MethodDescriptor<
1760
+ * !proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest,
1761
+ * !proto.sniipbillerapi.BillerResponse>}
1762
+ */
1763
+ const methodDescriptor_SniipBillerAPIService_GetBillerByBillerConfigIdInternal = new grpc.web.MethodDescriptor(
1764
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerByBillerConfigIdInternal',
1765
+ grpc.web.MethodType.UNARY,
1766
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest,
1767
+ proto.sniipbillerapi.BillerResponse,
1768
+ /**
1769
+ * @param {!proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest} request
1770
+ * @return {!Uint8Array}
1771
+ */
1772
+ function(request) {
1773
+ return request.serializeBinary();
1774
+ },
1775
+ proto.sniipbillerapi.BillerResponse.deserializeBinary
1776
+ );
1777
+
1778
+
1779
+ /**
1780
+ * @const
1781
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1782
+ * !proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest,
1783
+ * !proto.sniipbillerapi.BillerResponse>}
1784
+ */
1785
+ const methodInfo_SniipBillerAPIService_GetBillerByBillerConfigIdInternal = new grpc.web.AbstractClientBase.MethodInfo(
1786
+ proto.sniipbillerapi.BillerResponse,
1787
+ /**
1788
+ * @param {!proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest} request
1789
+ * @return {!Uint8Array}
1790
+ */
1791
+ function(request) {
1792
+ return request.serializeBinary();
1793
+ },
1794
+ proto.sniipbillerapi.BillerResponse.deserializeBinary
1795
+ );
1796
+
1797
+
1798
+ /**
1799
+ * @param {!proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest} request The
1800
+ * request proto
1801
+ * @param {?Object<string, string>} metadata User defined
1802
+ * call metadata
1803
+ * @param {function(?grpc.web.Error, ?proto.sniipbillerapi.BillerResponse)}
1804
+ * callback The callback function(error, response)
1805
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.BillerResponse>|undefined}
1806
+ * The XHR Node Readable Stream
1807
+ */
1808
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.getBillerByBillerConfigIdInternal =
1809
+ function(request, metadata, callback) {
1810
+ return this.client_.rpcCall(this.hostname_ +
1811
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerByBillerConfigIdInternal',
1812
+ request,
1813
+ metadata || {},
1814
+ methodDescriptor_SniipBillerAPIService_GetBillerByBillerConfigIdInternal,
1815
+ callback);
1816
+ };
1817
+
1818
+
1819
+ /**
1820
+ * @param {!proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest} request The
1821
+ * request proto
1822
+ * @param {?Object<string, string>} metadata User defined
1823
+ * call metadata
1824
+ * @return {!Promise<!proto.sniipbillerapi.BillerResponse>}
1825
+ * Promise that resolves to the response
1826
+ */
1827
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getBillerByBillerConfigIdInternal =
1828
+ function(request, metadata) {
1829
+ return this.client_.unaryCall(this.hostname_ +
1830
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerByBillerConfigIdInternal',
1831
+ request,
1832
+ metadata || {},
1833
+ methodDescriptor_SniipBillerAPIService_GetBillerByBillerConfigIdInternal);
1834
+ };
1835
+
1836
+
1677
1837
  /**
1678
1838
  * @const
1679
1839
  * @type {!grpc.web.MethodDescriptor<
@@ -75,6 +75,8 @@ goog.exportSymbol('proto.sniipbillerapi.GetAllBillersRequest', null, global);
75
75
  goog.exportSymbol('proto.sniipbillerapi.GetAllMbillingPermittedBillersRequest', null, global);
76
76
  goog.exportSymbol('proto.sniipbillerapi.GetBankAccountForSniipPaymentGatewayRequest', null, global);
77
77
  goog.exportSymbol('proto.sniipbillerapi.GetBillerAddressRequest', null, global);
78
+ goog.exportSymbol('proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest', null, global);
79
+ goog.exportSymbol('proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest', null, global);
78
80
  goog.exportSymbol('proto.sniipbillerapi.GetBillerConfigRevisionsRequest', null, global);
79
81
  goog.exportSymbol('proto.sniipbillerapi.GetBillerContactDetailsRequest', null, global);
80
82
  goog.exportSymbol('proto.sniipbillerapi.GetBillerCrnNicknameRequest', null, global);
@@ -110,6 +112,7 @@ goog.exportSymbol('proto.sniipbillerapi.OrganisationDetails', null, global);
110
112
  goog.exportSymbol('proto.sniipbillerapi.OrganisationsResponse', null, global);
111
113
  goog.exportSymbol('proto.sniipbillerapi.PayIdAccount', null, global);
112
114
  goog.exportSymbol('proto.sniipbillerapi.PaymentMethodGroupUpdateRequest', null, global);
115
+ goog.exportSymbol('proto.sniipbillerapi.PaymentProcessor', null, global);
113
116
  goog.exportSymbol('proto.sniipbillerapi.PaymentRestrictions', null, global);
114
117
  goog.exportSymbol('proto.sniipbillerapi.PaymentRestrictionsUpdateRequest', null, global);
115
118
  goog.exportSymbol('proto.sniipbillerapi.ProfileSwitcherBillersResponse', null, global);
@@ -18167,6 +18170,409 @@ proto.sniipbillerapi.GetBillerAddressRequest.prototype.setBillerid = function(va
18167
18170
 
18168
18171
 
18169
18172
 
18173
+ /**
18174
+ * Generated by JsPbCodeGenerator.
18175
+ * @param {Array=} opt_data Optional initial data array, typically from a
18176
+ * server response, or constructed directly in Javascript. The array is used
18177
+ * in place and becomes part of the constructed object. It is not cloned.
18178
+ * If no data is provided, the constructed object will be empty, but still
18179
+ * valid.
18180
+ * @extends {jspb.Message}
18181
+ * @constructor
18182
+ */
18183
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest = function(opt_data) {
18184
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
18185
+ };
18186
+ goog.inherits(proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest, jspb.Message);
18187
+ if (goog.DEBUG && !COMPILED) {
18188
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.displayName = 'proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest';
18189
+ }
18190
+
18191
+
18192
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18193
+ /**
18194
+ * Creates an object representation of this proto suitable for use in Soy templates.
18195
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18196
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18197
+ * For the list of reserved names please see:
18198
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
18199
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
18200
+ * for transitional soy proto support: http://goto/soy-param-migration
18201
+ * @return {!Object}
18202
+ */
18203
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.prototype.toObject = function(opt_includeInstance) {
18204
+ return proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.toObject(opt_includeInstance, this);
18205
+ };
18206
+
18207
+
18208
+ /**
18209
+ * Static version of the {@see toObject} method.
18210
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
18211
+ * instance for transitional soy proto support:
18212
+ * http://goto/soy-param-migration
18213
+ * @param {!proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest} msg The msg instance to transform.
18214
+ * @return {!Object}
18215
+ */
18216
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.toObject = function(includeInstance, msg) {
18217
+ var f, obj = {
18218
+ paymentprocessor: msg.getPaymentprocessor(),
18219
+ billercode: msg.getBillercode(),
18220
+ includeallconfigs: msg.getIncludeallconfigs()
18221
+ };
18222
+
18223
+ if (includeInstance) {
18224
+ obj.$jspbMessageInstance = msg;
18225
+ }
18226
+ return obj;
18227
+ };
18228
+ }
18229
+
18230
+
18231
+ /**
18232
+ * Deserializes binary data (in protobuf wire format).
18233
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18234
+ * @return {!proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest}
18235
+ */
18236
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.deserializeBinary = function(bytes) {
18237
+ var reader = new jspb.BinaryReader(bytes);
18238
+ var msg = new proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest;
18239
+ return proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.deserializeBinaryFromReader(msg, reader);
18240
+ };
18241
+
18242
+
18243
+ /**
18244
+ * Deserializes binary data (in protobuf wire format) from the
18245
+ * given reader into the given message object.
18246
+ * @param {!proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest} msg The message object to deserialize into.
18247
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18248
+ * @return {!proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest}
18249
+ */
18250
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.deserializeBinaryFromReader = function(msg, reader) {
18251
+ while (reader.nextField()) {
18252
+ if (reader.isEndGroup()) {
18253
+ break;
18254
+ }
18255
+ var field = reader.getFieldNumber();
18256
+ switch (field) {
18257
+ case 1:
18258
+ var value = /** @type {!proto.sniipbillerapi.PaymentProcessor} */ (reader.readEnum());
18259
+ msg.setPaymentprocessor(value);
18260
+ break;
18261
+ case 2:
18262
+ var value = /** @type {string} */ (reader.readString());
18263
+ msg.setBillercode(value);
18264
+ break;
18265
+ case 3:
18266
+ var value = /** @type {boolean} */ (reader.readBool());
18267
+ msg.setIncludeallconfigs(value);
18268
+ break;
18269
+ default:
18270
+ reader.skipField();
18271
+ break;
18272
+ }
18273
+ }
18274
+ return msg;
18275
+ };
18276
+
18277
+
18278
+ /**
18279
+ * Class method variant: serializes the given message to binary data
18280
+ * (in protobuf wire format), writing to the given BinaryWriter.
18281
+ * @param {!proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest} message
18282
+ * @param {!jspb.BinaryWriter} writer
18283
+ */
18284
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.serializeBinaryToWriter = function(message, writer) {
18285
+ message.serializeBinaryToWriter(writer);
18286
+ };
18287
+
18288
+
18289
+ /**
18290
+ * Serializes the message to binary data (in protobuf wire format).
18291
+ * @return {!Uint8Array}
18292
+ */
18293
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.prototype.serializeBinary = function() {
18294
+ var writer = new jspb.BinaryWriter();
18295
+ this.serializeBinaryToWriter(writer);
18296
+ return writer.getResultBuffer();
18297
+ };
18298
+
18299
+
18300
+ /**
18301
+ * Serializes the message to binary data (in protobuf wire format),
18302
+ * writing to the given BinaryWriter.
18303
+ * @param {!jspb.BinaryWriter} writer
18304
+ */
18305
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.prototype.serializeBinaryToWriter = function (writer) {
18306
+ var f = undefined;
18307
+ f = this.getPaymentprocessor();
18308
+ if (f !== 0.0) {
18309
+ writer.writeEnum(
18310
+ 1,
18311
+ f
18312
+ );
18313
+ }
18314
+ f = this.getBillercode();
18315
+ if (f.length > 0) {
18316
+ writer.writeString(
18317
+ 2,
18318
+ f
18319
+ );
18320
+ }
18321
+ f = this.getIncludeallconfigs();
18322
+ if (f) {
18323
+ writer.writeBool(
18324
+ 3,
18325
+ f
18326
+ );
18327
+ }
18328
+ };
18329
+
18330
+
18331
+ /**
18332
+ * Creates a deep clone of this proto. No data is shared with the original.
18333
+ * @return {!proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest} The clone.
18334
+ */
18335
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.prototype.cloneMessage = function() {
18336
+ return /** @type {!proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest} */ (jspb.Message.cloneMessage(this));
18337
+ };
18338
+
18339
+
18340
+ /**
18341
+ * optional PaymentProcessor paymentProcessor = 1;
18342
+ * @return {!proto.sniipbillerapi.PaymentProcessor}
18343
+ */
18344
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.prototype.getPaymentprocessor = function() {
18345
+ return /** @type {!proto.sniipbillerapi.PaymentProcessor} */ (jspb.Message.getFieldProto3(this, 1, 0));
18346
+ };
18347
+
18348
+
18349
+ /** @param {!proto.sniipbillerapi.PaymentProcessor} value */
18350
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.prototype.setPaymentprocessor = function(value) {
18351
+ jspb.Message.setField(this, 1, value);
18352
+ };
18353
+
18354
+
18355
+ /**
18356
+ * optional string billerCode = 2;
18357
+ * @return {string}
18358
+ */
18359
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.prototype.getBillercode = function() {
18360
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
18361
+ };
18362
+
18363
+
18364
+ /** @param {string} value */
18365
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.prototype.setBillercode = function(value) {
18366
+ jspb.Message.setField(this, 2, value);
18367
+ };
18368
+
18369
+
18370
+ /**
18371
+ * optional bool includeAllConfigs = 3;
18372
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
18373
+ * You should avoid comparisons like {@code val === true/false} in those cases.
18374
+ * @return {boolean}
18375
+ */
18376
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.prototype.getIncludeallconfigs = function() {
18377
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 3, false));
18378
+ };
18379
+
18380
+
18381
+ /** @param {boolean} value */
18382
+ proto.sniipbillerapi.GetBillerByBillerCodeAndpaymentProcessorInternalRequest.prototype.setIncludeallconfigs = function(value) {
18383
+ jspb.Message.setField(this, 3, value);
18384
+ };
18385
+
18386
+
18387
+
18388
+ /**
18389
+ * Generated by JsPbCodeGenerator.
18390
+ * @param {Array=} opt_data Optional initial data array, typically from a
18391
+ * server response, or constructed directly in Javascript. The array is used
18392
+ * in place and becomes part of the constructed object. It is not cloned.
18393
+ * If no data is provided, the constructed object will be empty, but still
18394
+ * valid.
18395
+ * @extends {jspb.Message}
18396
+ * @constructor
18397
+ */
18398
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest = function(opt_data) {
18399
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
18400
+ };
18401
+ goog.inherits(proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest, jspb.Message);
18402
+ if (goog.DEBUG && !COMPILED) {
18403
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.displayName = 'proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest';
18404
+ }
18405
+
18406
+
18407
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18408
+ /**
18409
+ * Creates an object representation of this proto suitable for use in Soy templates.
18410
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18411
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18412
+ * For the list of reserved names please see:
18413
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
18414
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
18415
+ * for transitional soy proto support: http://goto/soy-param-migration
18416
+ * @return {!Object}
18417
+ */
18418
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.prototype.toObject = function(opt_includeInstance) {
18419
+ return proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.toObject(opt_includeInstance, this);
18420
+ };
18421
+
18422
+
18423
+ /**
18424
+ * Static version of the {@see toObject} method.
18425
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
18426
+ * instance for transitional soy proto support:
18427
+ * http://goto/soy-param-migration
18428
+ * @param {!proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest} msg The msg instance to transform.
18429
+ * @return {!Object}
18430
+ */
18431
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.toObject = function(includeInstance, msg) {
18432
+ var f, obj = {
18433
+ billerconfigid: msg.getBillerconfigid(),
18434
+ includeallconfigs: msg.getIncludeallconfigs()
18435
+ };
18436
+
18437
+ if (includeInstance) {
18438
+ obj.$jspbMessageInstance = msg;
18439
+ }
18440
+ return obj;
18441
+ };
18442
+ }
18443
+
18444
+
18445
+ /**
18446
+ * Deserializes binary data (in protobuf wire format).
18447
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18448
+ * @return {!proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest}
18449
+ */
18450
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.deserializeBinary = function(bytes) {
18451
+ var reader = new jspb.BinaryReader(bytes);
18452
+ var msg = new proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest;
18453
+ return proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.deserializeBinaryFromReader(msg, reader);
18454
+ };
18455
+
18456
+
18457
+ /**
18458
+ * Deserializes binary data (in protobuf wire format) from the
18459
+ * given reader into the given message object.
18460
+ * @param {!proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest} msg The message object to deserialize into.
18461
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18462
+ * @return {!proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest}
18463
+ */
18464
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.deserializeBinaryFromReader = function(msg, reader) {
18465
+ while (reader.nextField()) {
18466
+ if (reader.isEndGroup()) {
18467
+ break;
18468
+ }
18469
+ var field = reader.getFieldNumber();
18470
+ switch (field) {
18471
+ case 1:
18472
+ var value = /** @type {number} */ (reader.readInt64());
18473
+ msg.setBillerconfigid(value);
18474
+ break;
18475
+ case 2:
18476
+ var value = /** @type {boolean} */ (reader.readBool());
18477
+ msg.setIncludeallconfigs(value);
18478
+ break;
18479
+ default:
18480
+ reader.skipField();
18481
+ break;
18482
+ }
18483
+ }
18484
+ return msg;
18485
+ };
18486
+
18487
+
18488
+ /**
18489
+ * Class method variant: serializes the given message to binary data
18490
+ * (in protobuf wire format), writing to the given BinaryWriter.
18491
+ * @param {!proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest} message
18492
+ * @param {!jspb.BinaryWriter} writer
18493
+ */
18494
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.serializeBinaryToWriter = function(message, writer) {
18495
+ message.serializeBinaryToWriter(writer);
18496
+ };
18497
+
18498
+
18499
+ /**
18500
+ * Serializes the message to binary data (in protobuf wire format).
18501
+ * @return {!Uint8Array}
18502
+ */
18503
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.prototype.serializeBinary = function() {
18504
+ var writer = new jspb.BinaryWriter();
18505
+ this.serializeBinaryToWriter(writer);
18506
+ return writer.getResultBuffer();
18507
+ };
18508
+
18509
+
18510
+ /**
18511
+ * Serializes the message to binary data (in protobuf wire format),
18512
+ * writing to the given BinaryWriter.
18513
+ * @param {!jspb.BinaryWriter} writer
18514
+ */
18515
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.prototype.serializeBinaryToWriter = function (writer) {
18516
+ var f = undefined;
18517
+ f = this.getBillerconfigid();
18518
+ if (f !== 0) {
18519
+ writer.writeInt64(
18520
+ 1,
18521
+ f
18522
+ );
18523
+ }
18524
+ f = this.getIncludeallconfigs();
18525
+ if (f) {
18526
+ writer.writeBool(
18527
+ 2,
18528
+ f
18529
+ );
18530
+ }
18531
+ };
18532
+
18533
+
18534
+ /**
18535
+ * Creates a deep clone of this proto. No data is shared with the original.
18536
+ * @return {!proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest} The clone.
18537
+ */
18538
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.prototype.cloneMessage = function() {
18539
+ return /** @type {!proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest} */ (jspb.Message.cloneMessage(this));
18540
+ };
18541
+
18542
+
18543
+ /**
18544
+ * optional int64 billerConfigId = 1;
18545
+ * @return {number}
18546
+ */
18547
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.prototype.getBillerconfigid = function() {
18548
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
18549
+ };
18550
+
18551
+
18552
+ /** @param {number} value */
18553
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.prototype.setBillerconfigid = function(value) {
18554
+ jspb.Message.setField(this, 1, value);
18555
+ };
18556
+
18557
+
18558
+ /**
18559
+ * optional bool includeAllConfigs = 2;
18560
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
18561
+ * You should avoid comparisons like {@code val === true/false} in those cases.
18562
+ * @return {boolean}
18563
+ */
18564
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.prototype.getIncludeallconfigs = function() {
18565
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 2, false));
18566
+ };
18567
+
18568
+
18569
+ /** @param {boolean} value */
18570
+ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.prototype.setIncludeallconfigs = function(value) {
18571
+ jspb.Message.setField(this, 2, value);
18572
+ };
18573
+
18574
+
18575
+
18170
18576
  /**
18171
18577
  * Generated by JsPbCodeGenerator.
18172
18578
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -32521,6 +32927,16 @@ proto.sniipbillerapi.VerifyBillerRequest.prototype.setBillerid = function(value)
32521
32927
  };
32522
32928
 
32523
32929
 
32930
+ /**
32931
+ * @enum {number}
32932
+ */
32933
+ proto.sniipbillerapi.PaymentProcessor = {
32934
+ AUSPOST: 0,
32935
+ BPAY: 1,
32936
+ SNIIP: 2,
32937
+ XERO: 3
32938
+ };
32939
+
32524
32940
  /**
32525
32941
  * @enum {number}
32526
32942
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/biller-service-client-grpcweb",
3
- "version": "22.11.4614",
3
+ "version": "22.11.4639",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",