@sniipwebmaster/biller-service-client-grpcweb-ts 24.1.6571 → 24.1.6583

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.
@@ -1846,6 +1846,49 @@ export class SniipBillerAPIServiceClient {
1846
1846
  this.methodDescriptorGetDonationEnabledOrganisations);
1847
1847
  }
1848
1848
 
1849
+ methodDescriptorGetFirstBillerWithAbn = new grpcWeb.MethodDescriptor(
1850
+ '/sniipbillerapi.SniipBillerAPIService/GetFirstBillerWithAbn',
1851
+ grpcWeb.MethodType.UNARY,
1852
+ service_pb.GetFirstBillerWithAbnRequest,
1853
+ service_pb.BillerResponse,
1854
+ (request: service_pb.GetFirstBillerWithAbnRequest) => {
1855
+ return request.serializeBinary();
1856
+ },
1857
+ service_pb.BillerResponse.deserializeBinary
1858
+ );
1859
+
1860
+ getFirstBillerWithAbn(
1861
+ request: service_pb.GetFirstBillerWithAbnRequest,
1862
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.BillerResponse>;
1863
+
1864
+ getFirstBillerWithAbn(
1865
+ request: service_pb.GetFirstBillerWithAbnRequest,
1866
+ metadata: grpcWeb.Metadata | null,
1867
+ callback: (err: grpcWeb.RpcError,
1868
+ response: service_pb.BillerResponse) => void): grpcWeb.ClientReadableStream<service_pb.BillerResponse>;
1869
+
1870
+ getFirstBillerWithAbn(
1871
+ request: service_pb.GetFirstBillerWithAbnRequest,
1872
+ metadata: grpcWeb.Metadata | null,
1873
+ callback?: (err: grpcWeb.RpcError,
1874
+ response: service_pb.BillerResponse) => void) {
1875
+ if (callback !== undefined) {
1876
+ return this.client_.rpcCall(
1877
+ this.hostname_ +
1878
+ '/sniipbillerapi.SniipBillerAPIService/GetFirstBillerWithAbn',
1879
+ request,
1880
+ metadata || {},
1881
+ this.methodDescriptorGetFirstBillerWithAbn,
1882
+ callback);
1883
+ }
1884
+ return this.client_.unaryCall(
1885
+ this.hostname_ +
1886
+ '/sniipbillerapi.SniipBillerAPIService/GetFirstBillerWithAbn',
1887
+ request,
1888
+ metadata || {},
1889
+ this.methodDescriptorGetFirstBillerWithAbn);
1890
+ }
1891
+
1849
1892
  methodDescriptorGetInternalBiller = new grpcWeb.MethodDescriptor(
1850
1893
  '/sniipbillerapi.SniipBillerAPIService/GetInternalBiller',
1851
1894
  grpcWeb.MethodType.UNARY,
@@ -3396,6 +3396,24 @@ export namespace GetChildBillersRequest {
3396
3396
  }
3397
3397
  }
3398
3398
 
3399
+ export class GetFirstBillerWithAbnRequest extends jspb.Message {
3400
+ getAbn(): string;
3401
+ setAbn(value: string): GetFirstBillerWithAbnRequest;
3402
+
3403
+ serializeBinary(): Uint8Array;
3404
+ toObject(includeInstance?: boolean): GetFirstBillerWithAbnRequest.AsObject;
3405
+ static toObject(includeInstance: boolean, msg: GetFirstBillerWithAbnRequest): GetFirstBillerWithAbnRequest.AsObject;
3406
+ static serializeBinaryToWriter(message: GetFirstBillerWithAbnRequest, writer: jspb.BinaryWriter): void;
3407
+ static deserializeBinary(bytes: Uint8Array): GetFirstBillerWithAbnRequest;
3408
+ static deserializeBinaryFromReader(message: GetFirstBillerWithAbnRequest, reader: jspb.BinaryReader): GetFirstBillerWithAbnRequest;
3409
+ }
3410
+
3411
+ export namespace GetFirstBillerWithAbnRequest {
3412
+ export type AsObject = {
3413
+ abn: string,
3414
+ }
3415
+ }
3416
+
3399
3417
  export class GetInternalBillerCrnNicknameRequest extends jspb.Message {
3400
3418
  getBillerid(): number;
3401
3419
  setBillerid(value: number): GetInternalBillerCrnNicknameRequest;
@@ -119,6 +119,7 @@ goog.exportSymbol('proto.sniipbillerapi.GetBillersWithSmeConfigsInReviewRequest'
119
119
  goog.exportSymbol('proto.sniipbillerapi.GetBusinessBillerReferenceByUserRequest', null, global);
120
120
  goog.exportSymbol('proto.sniipbillerapi.GetBusinessBillerReferencesRequest', null, global);
121
121
  goog.exportSymbol('proto.sniipbillerapi.GetChildBillersRequest', null, global);
122
+ goog.exportSymbol('proto.sniipbillerapi.GetFirstBillerWithAbnRequest', null, global);
122
123
  goog.exportSymbol('proto.sniipbillerapi.GetInternalBillerCrnNicknameRequest', null, global);
123
124
  goog.exportSymbol('proto.sniipbillerapi.GetInternalBillerCrnNicknamesRequest', null, global);
124
125
  goog.exportSymbol('proto.sniipbillerapi.GetInternalBillerRequest', null, global);
@@ -2327,6 +2328,27 @@ if (goog.DEBUG && !COMPILED) {
2327
2328
  */
2328
2329
  proto.sniipbillerapi.GetChildBillersRequest.displayName = 'proto.sniipbillerapi.GetChildBillersRequest';
2329
2330
  }
2331
+ /**
2332
+ * Generated by JsPbCodeGenerator.
2333
+ * @param {Array=} opt_data Optional initial data array, typically from a
2334
+ * server response, or constructed directly in Javascript. The array is used
2335
+ * in place and becomes part of the constructed object. It is not cloned.
2336
+ * If no data is provided, the constructed object will be empty, but still
2337
+ * valid.
2338
+ * @extends {jspb.Message}
2339
+ * @constructor
2340
+ */
2341
+ proto.sniipbillerapi.GetFirstBillerWithAbnRequest = function(opt_data) {
2342
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2343
+ };
2344
+ goog.inherits(proto.sniipbillerapi.GetFirstBillerWithAbnRequest, jspb.Message);
2345
+ if (goog.DEBUG && !COMPILED) {
2346
+ /**
2347
+ * @public
2348
+ * @override
2349
+ */
2350
+ proto.sniipbillerapi.GetFirstBillerWithAbnRequest.displayName = 'proto.sniipbillerapi.GetFirstBillerWithAbnRequest';
2351
+ }
2330
2352
  /**
2331
2353
  * Generated by JsPbCodeGenerator.
2332
2354
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -29232,6 +29254,136 @@ proto.sniipbillerapi.GetChildBillersRequest.prototype.setBillerid = function(val
29232
29254
 
29233
29255
 
29234
29256
 
29257
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29258
+ /**
29259
+ * Creates an object representation of this proto.
29260
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29261
+ * Optional fields that are not set will be set to undefined.
29262
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29263
+ * For the list of reserved names please see:
29264
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29265
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29266
+ * JSPB instance for transitional soy proto support:
29267
+ * http://goto/soy-param-migration
29268
+ * @return {!Object}
29269
+ */
29270
+ proto.sniipbillerapi.GetFirstBillerWithAbnRequest.prototype.toObject = function(opt_includeInstance) {
29271
+ return proto.sniipbillerapi.GetFirstBillerWithAbnRequest.toObject(opt_includeInstance, this);
29272
+ };
29273
+
29274
+
29275
+ /**
29276
+ * Static version of the {@see toObject} method.
29277
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29278
+ * the JSPB instance for transitional soy proto support:
29279
+ * http://goto/soy-param-migration
29280
+ * @param {!proto.sniipbillerapi.GetFirstBillerWithAbnRequest} msg The msg instance to transform.
29281
+ * @return {!Object}
29282
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29283
+ */
29284
+ proto.sniipbillerapi.GetFirstBillerWithAbnRequest.toObject = function(includeInstance, msg) {
29285
+ var f, obj = {
29286
+ abn: jspb.Message.getFieldWithDefault(msg, 1, "")
29287
+ };
29288
+
29289
+ if (includeInstance) {
29290
+ obj.$jspbMessageInstance = msg;
29291
+ }
29292
+ return obj;
29293
+ };
29294
+ }
29295
+
29296
+
29297
+ /**
29298
+ * Deserializes binary data (in protobuf wire format).
29299
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29300
+ * @return {!proto.sniipbillerapi.GetFirstBillerWithAbnRequest}
29301
+ */
29302
+ proto.sniipbillerapi.GetFirstBillerWithAbnRequest.deserializeBinary = function(bytes) {
29303
+ var reader = new jspb.BinaryReader(bytes);
29304
+ var msg = new proto.sniipbillerapi.GetFirstBillerWithAbnRequest;
29305
+ return proto.sniipbillerapi.GetFirstBillerWithAbnRequest.deserializeBinaryFromReader(msg, reader);
29306
+ };
29307
+
29308
+
29309
+ /**
29310
+ * Deserializes binary data (in protobuf wire format) from the
29311
+ * given reader into the given message object.
29312
+ * @param {!proto.sniipbillerapi.GetFirstBillerWithAbnRequest} msg The message object to deserialize into.
29313
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29314
+ * @return {!proto.sniipbillerapi.GetFirstBillerWithAbnRequest}
29315
+ */
29316
+ proto.sniipbillerapi.GetFirstBillerWithAbnRequest.deserializeBinaryFromReader = function(msg, reader) {
29317
+ while (reader.nextField()) {
29318
+ if (reader.isEndGroup()) {
29319
+ break;
29320
+ }
29321
+ var field = reader.getFieldNumber();
29322
+ switch (field) {
29323
+ case 1:
29324
+ var value = /** @type {string} */ (reader.readString());
29325
+ msg.setAbn(value);
29326
+ break;
29327
+ default:
29328
+ reader.skipField();
29329
+ break;
29330
+ }
29331
+ }
29332
+ return msg;
29333
+ };
29334
+
29335
+
29336
+ /**
29337
+ * Serializes the message to binary data (in protobuf wire format).
29338
+ * @return {!Uint8Array}
29339
+ */
29340
+ proto.sniipbillerapi.GetFirstBillerWithAbnRequest.prototype.serializeBinary = function() {
29341
+ var writer = new jspb.BinaryWriter();
29342
+ proto.sniipbillerapi.GetFirstBillerWithAbnRequest.serializeBinaryToWriter(this, writer);
29343
+ return writer.getResultBuffer();
29344
+ };
29345
+
29346
+
29347
+ /**
29348
+ * Serializes the given message to binary data (in protobuf wire
29349
+ * format), writing to the given BinaryWriter.
29350
+ * @param {!proto.sniipbillerapi.GetFirstBillerWithAbnRequest} message
29351
+ * @param {!jspb.BinaryWriter} writer
29352
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29353
+ */
29354
+ proto.sniipbillerapi.GetFirstBillerWithAbnRequest.serializeBinaryToWriter = function(message, writer) {
29355
+ var f = undefined;
29356
+ f = message.getAbn();
29357
+ if (f.length > 0) {
29358
+ writer.writeString(
29359
+ 1,
29360
+ f
29361
+ );
29362
+ }
29363
+ };
29364
+
29365
+
29366
+ /**
29367
+ * optional string abn = 1;
29368
+ * @return {string}
29369
+ */
29370
+ proto.sniipbillerapi.GetFirstBillerWithAbnRequest.prototype.getAbn = function() {
29371
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
29372
+ };
29373
+
29374
+
29375
+ /**
29376
+ * @param {string} value
29377
+ * @return {!proto.sniipbillerapi.GetFirstBillerWithAbnRequest} returns this
29378
+ */
29379
+ proto.sniipbillerapi.GetFirstBillerWithAbnRequest.prototype.setAbn = function(value) {
29380
+ return jspb.Message.setProto3StringField(this, 1, value);
29381
+ };
29382
+
29383
+
29384
+
29385
+
29386
+
29235
29387
  if (jspb.Message.GENERATE_TO_OBJECT) {
29236
29388
  /**
29237
29389
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/biller-service-client-grpcweb-ts",
3
- "version": "24.1.6571",
3
+ "version": "24.1.6583",
4
4
  "description": "biller-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",