@sniipwebmaster/biller-service-client-grpcweb-ts 24.4.6875 → 24.6.6929

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.
@@ -1029,6 +1029,49 @@ export class SniipBillerAPIServiceClient {
1029
1029
  this.methodDescriptorGetBillerByBillerConfigIdInternal);
1030
1030
  }
1031
1031
 
1032
+ methodDescriptorGetBillerConfigByAbaDetails = new grpcWeb.MethodDescriptor(
1033
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerConfigByAbaDetails',
1034
+ grpcWeb.MethodType.UNARY,
1035
+ service_pb.GetBillerConfigByAbaDetailsRequest,
1036
+ service_pb.BillerConfigResponse,
1037
+ (request: service_pb.GetBillerConfigByAbaDetailsRequest) => {
1038
+ return request.serializeBinary();
1039
+ },
1040
+ service_pb.BillerConfigResponse.deserializeBinary
1041
+ );
1042
+
1043
+ getBillerConfigByAbaDetails(
1044
+ request: service_pb.GetBillerConfigByAbaDetailsRequest,
1045
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.BillerConfigResponse>;
1046
+
1047
+ getBillerConfigByAbaDetails(
1048
+ request: service_pb.GetBillerConfigByAbaDetailsRequest,
1049
+ metadata: grpcWeb.Metadata | null,
1050
+ callback: (err: grpcWeb.RpcError,
1051
+ response: service_pb.BillerConfigResponse) => void): grpcWeb.ClientReadableStream<service_pb.BillerConfigResponse>;
1052
+
1053
+ getBillerConfigByAbaDetails(
1054
+ request: service_pb.GetBillerConfigByAbaDetailsRequest,
1055
+ metadata: grpcWeb.Metadata | null,
1056
+ callback?: (err: grpcWeb.RpcError,
1057
+ response: service_pb.BillerConfigResponse) => void) {
1058
+ if (callback !== undefined) {
1059
+ return this.client_.rpcCall(
1060
+ this.hostname_ +
1061
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerConfigByAbaDetails',
1062
+ request,
1063
+ metadata || {},
1064
+ this.methodDescriptorGetBillerConfigByAbaDetails,
1065
+ callback);
1066
+ }
1067
+ return this.client_.unaryCall(
1068
+ this.hostname_ +
1069
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerConfigByAbaDetails',
1070
+ request,
1071
+ metadata || {},
1072
+ this.methodDescriptorGetBillerConfigByAbaDetails);
1073
+ }
1074
+
1032
1075
  methodDescriptorGetBillerConfigRevisions = new grpcWeb.MethodDescriptor(
1033
1076
  '/sniipbillerapi.SniipBillerAPIService/GetBillerConfigRevisions',
1034
1077
  grpcWeb.MethodType.UNARY,
@@ -2706,6 +2749,49 @@ export class SniipBillerAPIServiceClient {
2706
2749
  this.methodDescriptorRejectSmeInvoice);
2707
2750
  }
2708
2751
 
2752
+ methodDescriptorResetSmeBillerConfig = new grpcWeb.MethodDescriptor(
2753
+ '/sniipbillerapi.SniipBillerAPIService/ResetSmeBillerConfig',
2754
+ grpcWeb.MethodType.UNARY,
2755
+ service_pb.ResetSmeBillerConfigRequest,
2756
+ service_pb.ResponseCode,
2757
+ (request: service_pb.ResetSmeBillerConfigRequest) => {
2758
+ return request.serializeBinary();
2759
+ },
2760
+ service_pb.ResponseCode.deserializeBinary
2761
+ );
2762
+
2763
+ resetSmeBillerConfig(
2764
+ request: service_pb.ResetSmeBillerConfigRequest,
2765
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
2766
+
2767
+ resetSmeBillerConfig(
2768
+ request: service_pb.ResetSmeBillerConfigRequest,
2769
+ metadata: grpcWeb.Metadata | null,
2770
+ callback: (err: grpcWeb.RpcError,
2771
+ response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
2772
+
2773
+ resetSmeBillerConfig(
2774
+ request: service_pb.ResetSmeBillerConfigRequest,
2775
+ metadata: grpcWeb.Metadata | null,
2776
+ callback?: (err: grpcWeb.RpcError,
2777
+ response: service_pb.ResponseCode) => void) {
2778
+ if (callback !== undefined) {
2779
+ return this.client_.rpcCall(
2780
+ this.hostname_ +
2781
+ '/sniipbillerapi.SniipBillerAPIService/ResetSmeBillerConfig',
2782
+ request,
2783
+ metadata || {},
2784
+ this.methodDescriptorResetSmeBillerConfig,
2785
+ callback);
2786
+ }
2787
+ return this.client_.unaryCall(
2788
+ this.hostname_ +
2789
+ '/sniipbillerapi.SniipBillerAPIService/ResetSmeBillerConfig',
2790
+ request,
2791
+ metadata || {},
2792
+ this.methodDescriptorResetSmeBillerConfig);
2793
+ }
2794
+
2709
2795
  methodDescriptorReviewBillers = new grpcWeb.MethodDescriptor(
2710
2796
  '/sniipbillerapi.SniipBillerAPIService/ReviewBillers',
2711
2797
  grpcWeb.MethodType.UNARY,
@@ -1113,6 +1113,9 @@ export class BillerConfigDetails extends jspb.Message {
1113
1113
  getTrimreferencenumber(): boolean;
1114
1114
  setTrimreferencenumber(value: boolean): BillerConfigDetails;
1115
1115
 
1116
+ getBillerconfigid(): number;
1117
+ setBillerconfigid(value: number): BillerConfigDetails;
1118
+
1116
1119
  serializeBinary(): Uint8Array;
1117
1120
  toObject(includeInstance?: boolean): BillerConfigDetails.AsObject;
1118
1121
  static toObject(includeInstance: boolean, msg: BillerConfigDetails): BillerConfigDetails.AsObject;
@@ -1139,6 +1142,33 @@ export namespace BillerConfigDetails {
1139
1142
  paymentprocessor: string,
1140
1143
  requiresreview: boolean,
1141
1144
  trimreferencenumber: boolean,
1145
+ billerconfigid: number,
1146
+ }
1147
+ }
1148
+
1149
+ export class BillerConfigResponse extends jspb.Message {
1150
+ getResponsecode(): ResponseCode | undefined;
1151
+ setResponsecode(value?: ResponseCode): BillerConfigResponse;
1152
+ hasResponsecode(): boolean;
1153
+ clearResponsecode(): BillerConfigResponse;
1154
+
1155
+ getConfig(): BillerConfigDetails | undefined;
1156
+ setConfig(value?: BillerConfigDetails): BillerConfigResponse;
1157
+ hasConfig(): boolean;
1158
+ clearConfig(): BillerConfigResponse;
1159
+
1160
+ serializeBinary(): Uint8Array;
1161
+ toObject(includeInstance?: boolean): BillerConfigResponse.AsObject;
1162
+ static toObject(includeInstance: boolean, msg: BillerConfigResponse): BillerConfigResponse.AsObject;
1163
+ static serializeBinaryToWriter(message: BillerConfigResponse, writer: jspb.BinaryWriter): void;
1164
+ static deserializeBinary(bytes: Uint8Array): BillerConfigResponse;
1165
+ static deserializeBinaryFromReader(message: BillerConfigResponse, reader: jspb.BinaryReader): BillerConfigResponse;
1166
+ }
1167
+
1168
+ export namespace BillerConfigResponse {
1169
+ export type AsObject = {
1170
+ responsecode?: ResponseCode.AsObject,
1171
+ config?: BillerConfigDetails.AsObject,
1142
1172
  }
1143
1173
  }
1144
1174
 
@@ -2898,6 +2928,28 @@ export namespace GetBillerByBillerConfigIdInternalRequest {
2898
2928
  }
2899
2929
  }
2900
2930
 
2931
+ export class GetBillerConfigByAbaDetailsRequest extends jspb.Message {
2932
+ getBsb(): string;
2933
+ setBsb(value: string): GetBillerConfigByAbaDetailsRequest;
2934
+
2935
+ getAccountno(): string;
2936
+ setAccountno(value: string): GetBillerConfigByAbaDetailsRequest;
2937
+
2938
+ serializeBinary(): Uint8Array;
2939
+ toObject(includeInstance?: boolean): GetBillerConfigByAbaDetailsRequest.AsObject;
2940
+ static toObject(includeInstance: boolean, msg: GetBillerConfigByAbaDetailsRequest): GetBillerConfigByAbaDetailsRequest.AsObject;
2941
+ static serializeBinaryToWriter(message: GetBillerConfigByAbaDetailsRequest, writer: jspb.BinaryWriter): void;
2942
+ static deserializeBinary(bytes: Uint8Array): GetBillerConfigByAbaDetailsRequest;
2943
+ static deserializeBinaryFromReader(message: GetBillerConfigByAbaDetailsRequest, reader: jspb.BinaryReader): GetBillerConfigByAbaDetailsRequest;
2944
+ }
2945
+
2946
+ export namespace GetBillerConfigByAbaDetailsRequest {
2947
+ export type AsObject = {
2948
+ bsb: string,
2949
+ accountno: string,
2950
+ }
2951
+ }
2952
+
2901
2953
  export class GetBillerConfigRevisionsRequest extends jspb.Message {
2902
2954
  getBillerid(): number;
2903
2955
  setBillerid(value: number): GetBillerConfigRevisionsRequest;
@@ -4272,6 +4324,24 @@ export namespace ReportRecipient {
4272
4324
  }
4273
4325
  }
4274
4326
 
4327
+ export class ResetSmeBillerConfigRequest extends jspb.Message {
4328
+ getBillerconfigid(): number;
4329
+ setBillerconfigid(value: number): ResetSmeBillerConfigRequest;
4330
+
4331
+ serializeBinary(): Uint8Array;
4332
+ toObject(includeInstance?: boolean): ResetSmeBillerConfigRequest.AsObject;
4333
+ static toObject(includeInstance: boolean, msg: ResetSmeBillerConfigRequest): ResetSmeBillerConfigRequest.AsObject;
4334
+ static serializeBinaryToWriter(message: ResetSmeBillerConfigRequest, writer: jspb.BinaryWriter): void;
4335
+ static deserializeBinary(bytes: Uint8Array): ResetSmeBillerConfigRequest;
4336
+ static deserializeBinaryFromReader(message: ResetSmeBillerConfigRequest, reader: jspb.BinaryReader): ResetSmeBillerConfigRequest;
4337
+ }
4338
+
4339
+ export namespace ResetSmeBillerConfigRequest {
4340
+ export type AsObject = {
4341
+ billerconfigid: number,
4342
+ }
4343
+ }
4344
+
4275
4345
  export class ResponseCode extends jspb.Message {
4276
4346
  getCode(): number;
4277
4347
  setCode(value: number): ResponseCode;
@@ -45,6 +45,7 @@ goog.exportSymbol('proto.sniipbillerapi.BillerBankAccountForSniipPaymentGatewayR
45
45
  goog.exportSymbol('proto.sniipbillerapi.BillerBankAccountForSniipPaymentGatewayResponse', null, global);
46
46
  goog.exportSymbol('proto.sniipbillerapi.BillerConfig', null, global);
47
47
  goog.exportSymbol('proto.sniipbillerapi.BillerConfigDetails', null, global);
48
+ goog.exportSymbol('proto.sniipbillerapi.BillerConfigResponse', null, global);
48
49
  goog.exportSymbol('proto.sniipbillerapi.BillerConfigRevision', null, global);
49
50
  goog.exportSymbol('proto.sniipbillerapi.BillerConfigRevisionGetResponse', null, global);
50
51
  goog.exportSymbol('proto.sniipbillerapi.BillerConfigsResponse', null, global);
@@ -98,6 +99,7 @@ goog.exportSymbol('proto.sniipbillerapi.GetAllMbillingPermittedBillersRequest',
98
99
  goog.exportSymbol('proto.sniipbillerapi.GetBankAccountForSniipPaymentGatewayRequest', null, global);
99
100
  goog.exportSymbol('proto.sniipbillerapi.GetBillerAddressRequest', null, global);
100
101
  goog.exportSymbol('proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest', null, global);
102
+ goog.exportSymbol('proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest', null, global);
101
103
  goog.exportSymbol('proto.sniipbillerapi.GetBillerConfigRevisionsRequest', null, global);
102
104
  goog.exportSymbol('proto.sniipbillerapi.GetBillerContactDetailsRequest', null, global);
103
105
  goog.exportSymbol('proto.sniipbillerapi.GetBillerCrnNicknameRequest', null, global);
@@ -155,6 +157,7 @@ goog.exportSymbol('proto.sniipbillerapi.QRCodeConfig', null, global);
155
157
  goog.exportSymbol('proto.sniipbillerapi.QRCodeConfigRoot', null, global);
156
158
  goog.exportSymbol('proto.sniipbillerapi.RejectSmeInvoiceRequest', null, global);
157
159
  goog.exportSymbol('proto.sniipbillerapi.ReportRecipient', null, global);
160
+ goog.exportSymbol('proto.sniipbillerapi.ResetSmeBillerConfigRequest', null, global);
158
161
  goog.exportSymbol('proto.sniipbillerapi.ResponseCode', null, global);
159
162
  goog.exportSymbol('proto.sniipbillerapi.RestrictionItemInfo', null, global);
160
163
  goog.exportSymbol('proto.sniipbillerapi.ReviewBillersRequest', null, global);
@@ -800,6 +803,27 @@ if (goog.DEBUG && !COMPILED) {
800
803
  */
801
804
  proto.sniipbillerapi.BillerConfigDetails.displayName = 'proto.sniipbillerapi.BillerConfigDetails';
802
805
  }
806
+ /**
807
+ * Generated by JsPbCodeGenerator.
808
+ * @param {Array=} opt_data Optional initial data array, typically from a
809
+ * server response, or constructed directly in Javascript. The array is used
810
+ * in place and becomes part of the constructed object. It is not cloned.
811
+ * If no data is provided, the constructed object will be empty, but still
812
+ * valid.
813
+ * @extends {jspb.Message}
814
+ * @constructor
815
+ */
816
+ proto.sniipbillerapi.BillerConfigResponse = function(opt_data) {
817
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
818
+ };
819
+ goog.inherits(proto.sniipbillerapi.BillerConfigResponse, jspb.Message);
820
+ if (goog.DEBUG && !COMPILED) {
821
+ /**
822
+ * @public
823
+ * @override
824
+ */
825
+ proto.sniipbillerapi.BillerConfigResponse.displayName = 'proto.sniipbillerapi.BillerConfigResponse';
826
+ }
803
827
  /**
804
828
  * Generated by JsPbCodeGenerator.
805
829
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1892,6 +1916,27 @@ if (goog.DEBUG && !COMPILED) {
1892
1916
  */
1893
1917
  proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.displayName = 'proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest';
1894
1918
  }
1919
+ /**
1920
+ * Generated by JsPbCodeGenerator.
1921
+ * @param {Array=} opt_data Optional initial data array, typically from a
1922
+ * server response, or constructed directly in Javascript. The array is used
1923
+ * in place and becomes part of the constructed object. It is not cloned.
1924
+ * If no data is provided, the constructed object will be empty, but still
1925
+ * valid.
1926
+ * @extends {jspb.Message}
1927
+ * @constructor
1928
+ */
1929
+ proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest = function(opt_data) {
1930
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1931
+ };
1932
+ goog.inherits(proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest, jspb.Message);
1933
+ if (goog.DEBUG && !COMPILED) {
1934
+ /**
1935
+ * @public
1936
+ * @override
1937
+ */
1938
+ proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.displayName = 'proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest';
1939
+ }
1895
1940
  /**
1896
1941
  * Generated by JsPbCodeGenerator.
1897
1942
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3047,6 +3092,27 @@ if (goog.DEBUG && !COMPILED) {
3047
3092
  */
3048
3093
  proto.sniipbillerapi.ReportRecipient.displayName = 'proto.sniipbillerapi.ReportRecipient';
3049
3094
  }
3095
+ /**
3096
+ * Generated by JsPbCodeGenerator.
3097
+ * @param {Array=} opt_data Optional initial data array, typically from a
3098
+ * server response, or constructed directly in Javascript. The array is used
3099
+ * in place and becomes part of the constructed object. It is not cloned.
3100
+ * If no data is provided, the constructed object will be empty, but still
3101
+ * valid.
3102
+ * @extends {jspb.Message}
3103
+ * @constructor
3104
+ */
3105
+ proto.sniipbillerapi.ResetSmeBillerConfigRequest = function(opt_data) {
3106
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3107
+ };
3108
+ goog.inherits(proto.sniipbillerapi.ResetSmeBillerConfigRequest, jspb.Message);
3109
+ if (goog.DEBUG && !COMPILED) {
3110
+ /**
3111
+ * @public
3112
+ * @override
3113
+ */
3114
+ proto.sniipbillerapi.ResetSmeBillerConfigRequest.displayName = 'proto.sniipbillerapi.ResetSmeBillerConfigRequest';
3115
+ }
3050
3116
  /**
3051
3117
  * Generated by JsPbCodeGenerator.
3052
3118
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -11824,7 +11890,8 @@ proto.sniipbillerapi.BillerConfigDetails.toObject = function(includeInstance, ms
11824
11890
  partialpaymentpermitted: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
11825
11891
  paymentprocessor: jspb.Message.getFieldWithDefault(msg, 14, ""),
11826
11892
  requiresreview: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
11827
- trimreferencenumber: jspb.Message.getBooleanFieldWithDefault(msg, 16, false)
11893
+ trimreferencenumber: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
11894
+ billerconfigid: jspb.Message.getFieldWithDefault(msg, 17, 0)
11828
11895
  };
11829
11896
 
11830
11897
  if (includeInstance) {
@@ -11925,6 +11992,10 @@ proto.sniipbillerapi.BillerConfigDetails.deserializeBinaryFromReader = function(
11925
11992
  var value = /** @type {boolean} */ (reader.readBool());
11926
11993
  msg.setTrimreferencenumber(value);
11927
11994
  break;
11995
+ case 17:
11996
+ var value = /** @type {number} */ (reader.readInt64());
11997
+ msg.setBillerconfigid(value);
11998
+ break;
11928
11999
  default:
11929
12000
  reader.skipField();
11930
12001
  break;
@@ -12066,6 +12137,13 @@ proto.sniipbillerapi.BillerConfigDetails.serializeBinaryToWriter = function(mess
12066
12137
  f
12067
12138
  );
12068
12139
  }
12140
+ f = message.getBillerconfigid();
12141
+ if (f !== 0) {
12142
+ writer.writeInt64(
12143
+ 17,
12144
+ f
12145
+ );
12146
+ }
12069
12147
  };
12070
12148
 
12071
12149
 
@@ -12357,6 +12435,226 @@ proto.sniipbillerapi.BillerConfigDetails.prototype.setTrimreferencenumber = func
12357
12435
  };
12358
12436
 
12359
12437
 
12438
+ /**
12439
+ * optional int64 billerConfigId = 17;
12440
+ * @return {number}
12441
+ */
12442
+ proto.sniipbillerapi.BillerConfigDetails.prototype.getBillerconfigid = function() {
12443
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
12444
+ };
12445
+
12446
+
12447
+ /**
12448
+ * @param {number} value
12449
+ * @return {!proto.sniipbillerapi.BillerConfigDetails} returns this
12450
+ */
12451
+ proto.sniipbillerapi.BillerConfigDetails.prototype.setBillerconfigid = function(value) {
12452
+ return jspb.Message.setProto3IntField(this, 17, value);
12453
+ };
12454
+
12455
+
12456
+
12457
+
12458
+
12459
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12460
+ /**
12461
+ * Creates an object representation of this proto.
12462
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12463
+ * Optional fields that are not set will be set to undefined.
12464
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12465
+ * For the list of reserved names please see:
12466
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12467
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12468
+ * JSPB instance for transitional soy proto support:
12469
+ * http://goto/soy-param-migration
12470
+ * @return {!Object}
12471
+ */
12472
+ proto.sniipbillerapi.BillerConfigResponse.prototype.toObject = function(opt_includeInstance) {
12473
+ return proto.sniipbillerapi.BillerConfigResponse.toObject(opt_includeInstance, this);
12474
+ };
12475
+
12476
+
12477
+ /**
12478
+ * Static version of the {@see toObject} method.
12479
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12480
+ * the JSPB instance for transitional soy proto support:
12481
+ * http://goto/soy-param-migration
12482
+ * @param {!proto.sniipbillerapi.BillerConfigResponse} msg The msg instance to transform.
12483
+ * @return {!Object}
12484
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12485
+ */
12486
+ proto.sniipbillerapi.BillerConfigResponse.toObject = function(includeInstance, msg) {
12487
+ var f, obj = {
12488
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillerapi.ResponseCode.toObject(includeInstance, f),
12489
+ config: (f = msg.getConfig()) && proto.sniipbillerapi.BillerConfigDetails.toObject(includeInstance, f)
12490
+ };
12491
+
12492
+ if (includeInstance) {
12493
+ obj.$jspbMessageInstance = msg;
12494
+ }
12495
+ return obj;
12496
+ };
12497
+ }
12498
+
12499
+
12500
+ /**
12501
+ * Deserializes binary data (in protobuf wire format).
12502
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12503
+ * @return {!proto.sniipbillerapi.BillerConfigResponse}
12504
+ */
12505
+ proto.sniipbillerapi.BillerConfigResponse.deserializeBinary = function(bytes) {
12506
+ var reader = new jspb.BinaryReader(bytes);
12507
+ var msg = new proto.sniipbillerapi.BillerConfigResponse;
12508
+ return proto.sniipbillerapi.BillerConfigResponse.deserializeBinaryFromReader(msg, reader);
12509
+ };
12510
+
12511
+
12512
+ /**
12513
+ * Deserializes binary data (in protobuf wire format) from the
12514
+ * given reader into the given message object.
12515
+ * @param {!proto.sniipbillerapi.BillerConfigResponse} msg The message object to deserialize into.
12516
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12517
+ * @return {!proto.sniipbillerapi.BillerConfigResponse}
12518
+ */
12519
+ proto.sniipbillerapi.BillerConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
12520
+ while (reader.nextField()) {
12521
+ if (reader.isEndGroup()) {
12522
+ break;
12523
+ }
12524
+ var field = reader.getFieldNumber();
12525
+ switch (field) {
12526
+ case 1:
12527
+ var value = new proto.sniipbillerapi.ResponseCode;
12528
+ reader.readMessage(value,proto.sniipbillerapi.ResponseCode.deserializeBinaryFromReader);
12529
+ msg.setResponsecode(value);
12530
+ break;
12531
+ case 2:
12532
+ var value = new proto.sniipbillerapi.BillerConfigDetails;
12533
+ reader.readMessage(value,proto.sniipbillerapi.BillerConfigDetails.deserializeBinaryFromReader);
12534
+ msg.setConfig(value);
12535
+ break;
12536
+ default:
12537
+ reader.skipField();
12538
+ break;
12539
+ }
12540
+ }
12541
+ return msg;
12542
+ };
12543
+
12544
+
12545
+ /**
12546
+ * Serializes the message to binary data (in protobuf wire format).
12547
+ * @return {!Uint8Array}
12548
+ */
12549
+ proto.sniipbillerapi.BillerConfigResponse.prototype.serializeBinary = function() {
12550
+ var writer = new jspb.BinaryWriter();
12551
+ proto.sniipbillerapi.BillerConfigResponse.serializeBinaryToWriter(this, writer);
12552
+ return writer.getResultBuffer();
12553
+ };
12554
+
12555
+
12556
+ /**
12557
+ * Serializes the given message to binary data (in protobuf wire
12558
+ * format), writing to the given BinaryWriter.
12559
+ * @param {!proto.sniipbillerapi.BillerConfigResponse} message
12560
+ * @param {!jspb.BinaryWriter} writer
12561
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12562
+ */
12563
+ proto.sniipbillerapi.BillerConfigResponse.serializeBinaryToWriter = function(message, writer) {
12564
+ var f = undefined;
12565
+ f = message.getResponsecode();
12566
+ if (f != null) {
12567
+ writer.writeMessage(
12568
+ 1,
12569
+ f,
12570
+ proto.sniipbillerapi.ResponseCode.serializeBinaryToWriter
12571
+ );
12572
+ }
12573
+ f = message.getConfig();
12574
+ if (f != null) {
12575
+ writer.writeMessage(
12576
+ 2,
12577
+ f,
12578
+ proto.sniipbillerapi.BillerConfigDetails.serializeBinaryToWriter
12579
+ );
12580
+ }
12581
+ };
12582
+
12583
+
12584
+ /**
12585
+ * optional ResponseCode responseCode = 1;
12586
+ * @return {?proto.sniipbillerapi.ResponseCode}
12587
+ */
12588
+ proto.sniipbillerapi.BillerConfigResponse.prototype.getResponsecode = function() {
12589
+ return /** @type{?proto.sniipbillerapi.ResponseCode} */ (
12590
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.ResponseCode, 1));
12591
+ };
12592
+
12593
+
12594
+ /**
12595
+ * @param {?proto.sniipbillerapi.ResponseCode|undefined} value
12596
+ * @return {!proto.sniipbillerapi.BillerConfigResponse} returns this
12597
+ */
12598
+ proto.sniipbillerapi.BillerConfigResponse.prototype.setResponsecode = function(value) {
12599
+ return jspb.Message.setWrapperField(this, 1, value);
12600
+ };
12601
+
12602
+
12603
+ /**
12604
+ * Clears the message field making it undefined.
12605
+ * @return {!proto.sniipbillerapi.BillerConfigResponse} returns this
12606
+ */
12607
+ proto.sniipbillerapi.BillerConfigResponse.prototype.clearResponsecode = function() {
12608
+ return this.setResponsecode(undefined);
12609
+ };
12610
+
12611
+
12612
+ /**
12613
+ * Returns whether this field is set.
12614
+ * @return {boolean}
12615
+ */
12616
+ proto.sniipbillerapi.BillerConfigResponse.prototype.hasResponsecode = function() {
12617
+ return jspb.Message.getField(this, 1) != null;
12618
+ };
12619
+
12620
+
12621
+ /**
12622
+ * optional BillerConfigDetails config = 2;
12623
+ * @return {?proto.sniipbillerapi.BillerConfigDetails}
12624
+ */
12625
+ proto.sniipbillerapi.BillerConfigResponse.prototype.getConfig = function() {
12626
+ return /** @type{?proto.sniipbillerapi.BillerConfigDetails} */ (
12627
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.BillerConfigDetails, 2));
12628
+ };
12629
+
12630
+
12631
+ /**
12632
+ * @param {?proto.sniipbillerapi.BillerConfigDetails|undefined} value
12633
+ * @return {!proto.sniipbillerapi.BillerConfigResponse} returns this
12634
+ */
12635
+ proto.sniipbillerapi.BillerConfigResponse.prototype.setConfig = function(value) {
12636
+ return jspb.Message.setWrapperField(this, 2, value);
12637
+ };
12638
+
12639
+
12640
+ /**
12641
+ * Clears the message field making it undefined.
12642
+ * @return {!proto.sniipbillerapi.BillerConfigResponse} returns this
12643
+ */
12644
+ proto.sniipbillerapi.BillerConfigResponse.prototype.clearConfig = function() {
12645
+ return this.setConfig(undefined);
12646
+ };
12647
+
12648
+
12649
+ /**
12650
+ * Returns whether this field is set.
12651
+ * @return {boolean}
12652
+ */
12653
+ proto.sniipbillerapi.BillerConfigResponse.prototype.hasConfig = function() {
12654
+ return jspb.Message.getField(this, 2) != null;
12655
+ };
12656
+
12657
+
12360
12658
 
12361
12659
 
12362
12660
 
@@ -25630,6 +25928,166 @@ proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest.prototype.setInclu
25630
25928
 
25631
25929
 
25632
25930
 
25931
+ if (jspb.Message.GENERATE_TO_OBJECT) {
25932
+ /**
25933
+ * Creates an object representation of this proto.
25934
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
25935
+ * Optional fields that are not set will be set to undefined.
25936
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25937
+ * For the list of reserved names please see:
25938
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
25939
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
25940
+ * JSPB instance for transitional soy proto support:
25941
+ * http://goto/soy-param-migration
25942
+ * @return {!Object}
25943
+ */
25944
+ proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.prototype.toObject = function(opt_includeInstance) {
25945
+ return proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.toObject(opt_includeInstance, this);
25946
+ };
25947
+
25948
+
25949
+ /**
25950
+ * Static version of the {@see toObject} method.
25951
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
25952
+ * the JSPB instance for transitional soy proto support:
25953
+ * http://goto/soy-param-migration
25954
+ * @param {!proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest} msg The msg instance to transform.
25955
+ * @return {!Object}
25956
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25957
+ */
25958
+ proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.toObject = function(includeInstance, msg) {
25959
+ var f, obj = {
25960
+ bsb: jspb.Message.getFieldWithDefault(msg, 1, ""),
25961
+ accountno: jspb.Message.getFieldWithDefault(msg, 2, "")
25962
+ };
25963
+
25964
+ if (includeInstance) {
25965
+ obj.$jspbMessageInstance = msg;
25966
+ }
25967
+ return obj;
25968
+ };
25969
+ }
25970
+
25971
+
25972
+ /**
25973
+ * Deserializes binary data (in protobuf wire format).
25974
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
25975
+ * @return {!proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest}
25976
+ */
25977
+ proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.deserializeBinary = function(bytes) {
25978
+ var reader = new jspb.BinaryReader(bytes);
25979
+ var msg = new proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest;
25980
+ return proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.deserializeBinaryFromReader(msg, reader);
25981
+ };
25982
+
25983
+
25984
+ /**
25985
+ * Deserializes binary data (in protobuf wire format) from the
25986
+ * given reader into the given message object.
25987
+ * @param {!proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest} msg The message object to deserialize into.
25988
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25989
+ * @return {!proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest}
25990
+ */
25991
+ proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
25992
+ while (reader.nextField()) {
25993
+ if (reader.isEndGroup()) {
25994
+ break;
25995
+ }
25996
+ var field = reader.getFieldNumber();
25997
+ switch (field) {
25998
+ case 1:
25999
+ var value = /** @type {string} */ (reader.readString());
26000
+ msg.setBsb(value);
26001
+ break;
26002
+ case 2:
26003
+ var value = /** @type {string} */ (reader.readString());
26004
+ msg.setAccountno(value);
26005
+ break;
26006
+ default:
26007
+ reader.skipField();
26008
+ break;
26009
+ }
26010
+ }
26011
+ return msg;
26012
+ };
26013
+
26014
+
26015
+ /**
26016
+ * Serializes the message to binary data (in protobuf wire format).
26017
+ * @return {!Uint8Array}
26018
+ */
26019
+ proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.prototype.serializeBinary = function() {
26020
+ var writer = new jspb.BinaryWriter();
26021
+ proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.serializeBinaryToWriter(this, writer);
26022
+ return writer.getResultBuffer();
26023
+ };
26024
+
26025
+
26026
+ /**
26027
+ * Serializes the given message to binary data (in protobuf wire
26028
+ * format), writing to the given BinaryWriter.
26029
+ * @param {!proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest} message
26030
+ * @param {!jspb.BinaryWriter} writer
26031
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26032
+ */
26033
+ proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.serializeBinaryToWriter = function(message, writer) {
26034
+ var f = undefined;
26035
+ f = message.getBsb();
26036
+ if (f.length > 0) {
26037
+ writer.writeString(
26038
+ 1,
26039
+ f
26040
+ );
26041
+ }
26042
+ f = message.getAccountno();
26043
+ if (f.length > 0) {
26044
+ writer.writeString(
26045
+ 2,
26046
+ f
26047
+ );
26048
+ }
26049
+ };
26050
+
26051
+
26052
+ /**
26053
+ * optional string bsb = 1;
26054
+ * @return {string}
26055
+ */
26056
+ proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.prototype.getBsb = function() {
26057
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
26058
+ };
26059
+
26060
+
26061
+ /**
26062
+ * @param {string} value
26063
+ * @return {!proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest} returns this
26064
+ */
26065
+ proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.prototype.setBsb = function(value) {
26066
+ return jspb.Message.setProto3StringField(this, 1, value);
26067
+ };
26068
+
26069
+
26070
+ /**
26071
+ * optional string accountNo = 2;
26072
+ * @return {string}
26073
+ */
26074
+ proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.prototype.getAccountno = function() {
26075
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
26076
+ };
26077
+
26078
+
26079
+ /**
26080
+ * @param {string} value
26081
+ * @return {!proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest} returns this
26082
+ */
26083
+ proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest.prototype.setAccountno = function(value) {
26084
+ return jspb.Message.setProto3StringField(this, 2, value);
26085
+ };
26086
+
26087
+
26088
+
26089
+
26090
+
25633
26091
  if (jspb.Message.GENERATE_TO_OBJECT) {
25634
26092
  /**
25635
26093
  * Creates an object representation of this proto.
@@ -35904,6 +36362,136 @@ proto.sniipbillerapi.ReportRecipient.prototype.setEmail = function(value) {
35904
36362
 
35905
36363
 
35906
36364
 
36365
+ if (jspb.Message.GENERATE_TO_OBJECT) {
36366
+ /**
36367
+ * Creates an object representation of this proto.
36368
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
36369
+ * Optional fields that are not set will be set to undefined.
36370
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
36371
+ * For the list of reserved names please see:
36372
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
36373
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
36374
+ * JSPB instance for transitional soy proto support:
36375
+ * http://goto/soy-param-migration
36376
+ * @return {!Object}
36377
+ */
36378
+ proto.sniipbillerapi.ResetSmeBillerConfigRequest.prototype.toObject = function(opt_includeInstance) {
36379
+ return proto.sniipbillerapi.ResetSmeBillerConfigRequest.toObject(opt_includeInstance, this);
36380
+ };
36381
+
36382
+
36383
+ /**
36384
+ * Static version of the {@see toObject} method.
36385
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
36386
+ * the JSPB instance for transitional soy proto support:
36387
+ * http://goto/soy-param-migration
36388
+ * @param {!proto.sniipbillerapi.ResetSmeBillerConfigRequest} msg The msg instance to transform.
36389
+ * @return {!Object}
36390
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36391
+ */
36392
+ proto.sniipbillerapi.ResetSmeBillerConfigRequest.toObject = function(includeInstance, msg) {
36393
+ var f, obj = {
36394
+ billerconfigid: jspb.Message.getFieldWithDefault(msg, 1, 0)
36395
+ };
36396
+
36397
+ if (includeInstance) {
36398
+ obj.$jspbMessageInstance = msg;
36399
+ }
36400
+ return obj;
36401
+ };
36402
+ }
36403
+
36404
+
36405
+ /**
36406
+ * Deserializes binary data (in protobuf wire format).
36407
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
36408
+ * @return {!proto.sniipbillerapi.ResetSmeBillerConfigRequest}
36409
+ */
36410
+ proto.sniipbillerapi.ResetSmeBillerConfigRequest.deserializeBinary = function(bytes) {
36411
+ var reader = new jspb.BinaryReader(bytes);
36412
+ var msg = new proto.sniipbillerapi.ResetSmeBillerConfigRequest;
36413
+ return proto.sniipbillerapi.ResetSmeBillerConfigRequest.deserializeBinaryFromReader(msg, reader);
36414
+ };
36415
+
36416
+
36417
+ /**
36418
+ * Deserializes binary data (in protobuf wire format) from the
36419
+ * given reader into the given message object.
36420
+ * @param {!proto.sniipbillerapi.ResetSmeBillerConfigRequest} msg The message object to deserialize into.
36421
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
36422
+ * @return {!proto.sniipbillerapi.ResetSmeBillerConfigRequest}
36423
+ */
36424
+ proto.sniipbillerapi.ResetSmeBillerConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
36425
+ while (reader.nextField()) {
36426
+ if (reader.isEndGroup()) {
36427
+ break;
36428
+ }
36429
+ var field = reader.getFieldNumber();
36430
+ switch (field) {
36431
+ case 1:
36432
+ var value = /** @type {number} */ (reader.readInt64());
36433
+ msg.setBillerconfigid(value);
36434
+ break;
36435
+ default:
36436
+ reader.skipField();
36437
+ break;
36438
+ }
36439
+ }
36440
+ return msg;
36441
+ };
36442
+
36443
+
36444
+ /**
36445
+ * Serializes the message to binary data (in protobuf wire format).
36446
+ * @return {!Uint8Array}
36447
+ */
36448
+ proto.sniipbillerapi.ResetSmeBillerConfigRequest.prototype.serializeBinary = function() {
36449
+ var writer = new jspb.BinaryWriter();
36450
+ proto.sniipbillerapi.ResetSmeBillerConfigRequest.serializeBinaryToWriter(this, writer);
36451
+ return writer.getResultBuffer();
36452
+ };
36453
+
36454
+
36455
+ /**
36456
+ * Serializes the given message to binary data (in protobuf wire
36457
+ * format), writing to the given BinaryWriter.
36458
+ * @param {!proto.sniipbillerapi.ResetSmeBillerConfigRequest} message
36459
+ * @param {!jspb.BinaryWriter} writer
36460
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36461
+ */
36462
+ proto.sniipbillerapi.ResetSmeBillerConfigRequest.serializeBinaryToWriter = function(message, writer) {
36463
+ var f = undefined;
36464
+ f = message.getBillerconfigid();
36465
+ if (f !== 0) {
36466
+ writer.writeInt64(
36467
+ 1,
36468
+ f
36469
+ );
36470
+ }
36471
+ };
36472
+
36473
+
36474
+ /**
36475
+ * optional int64 billerConfigId = 1;
36476
+ * @return {number}
36477
+ */
36478
+ proto.sniipbillerapi.ResetSmeBillerConfigRequest.prototype.getBillerconfigid = function() {
36479
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
36480
+ };
36481
+
36482
+
36483
+ /**
36484
+ * @param {number} value
36485
+ * @return {!proto.sniipbillerapi.ResetSmeBillerConfigRequest} returns this
36486
+ */
36487
+ proto.sniipbillerapi.ResetSmeBillerConfigRequest.prototype.setBillerconfigid = function(value) {
36488
+ return jspb.Message.setProto3IntField(this, 1, value);
36489
+ };
36490
+
36491
+
36492
+
36493
+
36494
+
35907
36495
  if (jspb.Message.GENERATE_TO_OBJECT) {
35908
36496
  /**
35909
36497
  * 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.4.6875",
3
+ "version": "24.6.6929",
4
4
  "description": "biller-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",