@sniipwebmaster/biller-service-client-grpcweb 22.22.5220 → 22.22.5230

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.
@@ -3274,6 +3274,86 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getOrCreateBil
3274
3274
  };
3275
3275
 
3276
3276
 
3277
+ /**
3278
+ * @const
3279
+ * @type {!grpc.web.MethodDescriptor<
3280
+ * !proto.sniipbillerapi.GetOrCreateSmeBillerRequest,
3281
+ * !proto.sniipbillerapi.BillerResponse>}
3282
+ */
3283
+ const methodDescriptor_SniipBillerAPIService_GetOrCreateSmeBiller = new grpc.web.MethodDescriptor(
3284
+ '/sniipbillerapi.SniipBillerAPIService/GetOrCreateSmeBiller',
3285
+ grpc.web.MethodType.UNARY,
3286
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest,
3287
+ proto.sniipbillerapi.BillerResponse,
3288
+ /**
3289
+ * @param {!proto.sniipbillerapi.GetOrCreateSmeBillerRequest} request
3290
+ * @return {!Uint8Array}
3291
+ */
3292
+ function(request) {
3293
+ return request.serializeBinary();
3294
+ },
3295
+ proto.sniipbillerapi.BillerResponse.deserializeBinary
3296
+ );
3297
+
3298
+
3299
+ /**
3300
+ * @const
3301
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
3302
+ * !proto.sniipbillerapi.GetOrCreateSmeBillerRequest,
3303
+ * !proto.sniipbillerapi.BillerResponse>}
3304
+ */
3305
+ const methodInfo_SniipBillerAPIService_GetOrCreateSmeBiller = new grpc.web.AbstractClientBase.MethodInfo(
3306
+ proto.sniipbillerapi.BillerResponse,
3307
+ /**
3308
+ * @param {!proto.sniipbillerapi.GetOrCreateSmeBillerRequest} request
3309
+ * @return {!Uint8Array}
3310
+ */
3311
+ function(request) {
3312
+ return request.serializeBinary();
3313
+ },
3314
+ proto.sniipbillerapi.BillerResponse.deserializeBinary
3315
+ );
3316
+
3317
+
3318
+ /**
3319
+ * @param {!proto.sniipbillerapi.GetOrCreateSmeBillerRequest} request The
3320
+ * request proto
3321
+ * @param {?Object<string, string>} metadata User defined
3322
+ * call metadata
3323
+ * @param {function(?grpc.web.Error, ?proto.sniipbillerapi.BillerResponse)}
3324
+ * callback The callback function(error, response)
3325
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.BillerResponse>|undefined}
3326
+ * The XHR Node Readable Stream
3327
+ */
3328
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.getOrCreateSmeBiller =
3329
+ function(request, metadata, callback) {
3330
+ return this.client_.rpcCall(this.hostname_ +
3331
+ '/sniipbillerapi.SniipBillerAPIService/GetOrCreateSmeBiller',
3332
+ request,
3333
+ metadata || {},
3334
+ methodDescriptor_SniipBillerAPIService_GetOrCreateSmeBiller,
3335
+ callback);
3336
+ };
3337
+
3338
+
3339
+ /**
3340
+ * @param {!proto.sniipbillerapi.GetOrCreateSmeBillerRequest} request The
3341
+ * request proto
3342
+ * @param {?Object<string, string>} metadata User defined
3343
+ * call metadata
3344
+ * @return {!Promise<!proto.sniipbillerapi.BillerResponse>}
3345
+ * Promise that resolves to the response
3346
+ */
3347
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getOrCreateSmeBiller =
3348
+ function(request, metadata) {
3349
+ return this.client_.unaryCall(this.hostname_ +
3350
+ '/sniipbillerapi.SniipBillerAPIService/GetOrCreateSmeBiller',
3351
+ request,
3352
+ metadata || {},
3353
+ methodDescriptor_SniipBillerAPIService_GetOrCreateSmeBiller);
3354
+ };
3355
+
3356
+
3277
3357
  /**
3278
3358
  * @const
3279
3359
  * @type {!grpc.web.MethodDescriptor<
@@ -100,6 +100,7 @@ goog.exportSymbol('proto.sniipbillerapi.GetInternalBillerCrnNicknamesRequest', n
100
100
  goog.exportSymbol('proto.sniipbillerapi.GetInternalBillerRequest', null, global);
101
101
  goog.exportSymbol('proto.sniipbillerapi.GetNewSmeBillersRequest', null, global);
102
102
  goog.exportSymbol('proto.sniipbillerapi.GetOrCreateBillerRequest', null, global);
103
+ goog.exportSymbol('proto.sniipbillerapi.GetOrCreateSmeBillerRequest', null, global);
103
104
  goog.exportSymbol('proto.sniipbillerapi.GetPaymentDetailsRequest', null, global);
104
105
  goog.exportSymbol('proto.sniipbillerapi.GetPaymentDetailsResponse', null, global);
105
106
  goog.exportSymbol('proto.sniipbillerapi.GetPaymentRestrictionsRequest', null, global);
@@ -23007,6 +23008,219 @@ proto.sniipbillerapi.GetOrCreateBillerRequest.prototype.hasData = function() {
23007
23008
 
23008
23009
 
23009
23010
 
23011
+ /**
23012
+ * Generated by JsPbCodeGenerator.
23013
+ * @param {Array=} opt_data Optional initial data array, typically from a
23014
+ * server response, or constructed directly in Javascript. The array is used
23015
+ * in place and becomes part of the constructed object. It is not cloned.
23016
+ * If no data is provided, the constructed object will be empty, but still
23017
+ * valid.
23018
+ * @extends {jspb.Message}
23019
+ * @constructor
23020
+ */
23021
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest = function(opt_data) {
23022
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
23023
+ };
23024
+ goog.inherits(proto.sniipbillerapi.GetOrCreateSmeBillerRequest, jspb.Message);
23025
+ if (goog.DEBUG && !COMPILED) {
23026
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.displayName = 'proto.sniipbillerapi.GetOrCreateSmeBillerRequest';
23027
+ }
23028
+
23029
+
23030
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23031
+ /**
23032
+ * Creates an object representation of this proto suitable for use in Soy templates.
23033
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23034
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23035
+ * For the list of reserved names please see:
23036
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
23037
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
23038
+ * for transitional soy proto support: http://goto/soy-param-migration
23039
+ * @return {!Object}
23040
+ */
23041
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.prototype.toObject = function(opt_includeInstance) {
23042
+ return proto.sniipbillerapi.GetOrCreateSmeBillerRequest.toObject(opt_includeInstance, this);
23043
+ };
23044
+
23045
+
23046
+ /**
23047
+ * Static version of the {@see toObject} method.
23048
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
23049
+ * instance for transitional soy proto support:
23050
+ * http://goto/soy-param-migration
23051
+ * @param {!proto.sniipbillerapi.GetOrCreateSmeBillerRequest} msg The msg instance to transform.
23052
+ * @return {!Object}
23053
+ */
23054
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.toObject = function(includeInstance, msg) {
23055
+ var f, obj = {
23056
+ abn: msg.getAbn(),
23057
+ accountno: msg.getAccountno(),
23058
+ bsb: msg.getBsb()
23059
+ };
23060
+
23061
+ if (includeInstance) {
23062
+ obj.$jspbMessageInstance = msg;
23063
+ }
23064
+ return obj;
23065
+ };
23066
+ }
23067
+
23068
+
23069
+ /**
23070
+ * Deserializes binary data (in protobuf wire format).
23071
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23072
+ * @return {!proto.sniipbillerapi.GetOrCreateSmeBillerRequest}
23073
+ */
23074
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.deserializeBinary = function(bytes) {
23075
+ var reader = new jspb.BinaryReader(bytes);
23076
+ var msg = new proto.sniipbillerapi.GetOrCreateSmeBillerRequest;
23077
+ return proto.sniipbillerapi.GetOrCreateSmeBillerRequest.deserializeBinaryFromReader(msg, reader);
23078
+ };
23079
+
23080
+
23081
+ /**
23082
+ * Deserializes binary data (in protobuf wire format) from the
23083
+ * given reader into the given message object.
23084
+ * @param {!proto.sniipbillerapi.GetOrCreateSmeBillerRequest} msg The message object to deserialize into.
23085
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23086
+ * @return {!proto.sniipbillerapi.GetOrCreateSmeBillerRequest}
23087
+ */
23088
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.deserializeBinaryFromReader = function(msg, reader) {
23089
+ while (reader.nextField()) {
23090
+ if (reader.isEndGroup()) {
23091
+ break;
23092
+ }
23093
+ var field = reader.getFieldNumber();
23094
+ switch (field) {
23095
+ case 1:
23096
+ var value = /** @type {string} */ (reader.readString());
23097
+ msg.setAbn(value);
23098
+ break;
23099
+ case 2:
23100
+ var value = /** @type {string} */ (reader.readString());
23101
+ msg.setAccountno(value);
23102
+ break;
23103
+ case 3:
23104
+ var value = /** @type {string} */ (reader.readString());
23105
+ msg.setBsb(value);
23106
+ break;
23107
+ default:
23108
+ reader.skipField();
23109
+ break;
23110
+ }
23111
+ }
23112
+ return msg;
23113
+ };
23114
+
23115
+
23116
+ /**
23117
+ * Class method variant: serializes the given message to binary data
23118
+ * (in protobuf wire format), writing to the given BinaryWriter.
23119
+ * @param {!proto.sniipbillerapi.GetOrCreateSmeBillerRequest} message
23120
+ * @param {!jspb.BinaryWriter} writer
23121
+ */
23122
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.serializeBinaryToWriter = function(message, writer) {
23123
+ message.serializeBinaryToWriter(writer);
23124
+ };
23125
+
23126
+
23127
+ /**
23128
+ * Serializes the message to binary data (in protobuf wire format).
23129
+ * @return {!Uint8Array}
23130
+ */
23131
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.prototype.serializeBinary = function() {
23132
+ var writer = new jspb.BinaryWriter();
23133
+ this.serializeBinaryToWriter(writer);
23134
+ return writer.getResultBuffer();
23135
+ };
23136
+
23137
+
23138
+ /**
23139
+ * Serializes the message to binary data (in protobuf wire format),
23140
+ * writing to the given BinaryWriter.
23141
+ * @param {!jspb.BinaryWriter} writer
23142
+ */
23143
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.prototype.serializeBinaryToWriter = function (writer) {
23144
+ var f = undefined;
23145
+ f = this.getAbn();
23146
+ if (f.length > 0) {
23147
+ writer.writeString(
23148
+ 1,
23149
+ f
23150
+ );
23151
+ }
23152
+ f = this.getAccountno();
23153
+ if (f.length > 0) {
23154
+ writer.writeString(
23155
+ 2,
23156
+ f
23157
+ );
23158
+ }
23159
+ f = this.getBsb();
23160
+ if (f.length > 0) {
23161
+ writer.writeString(
23162
+ 3,
23163
+ f
23164
+ );
23165
+ }
23166
+ };
23167
+
23168
+
23169
+ /**
23170
+ * Creates a deep clone of this proto. No data is shared with the original.
23171
+ * @return {!proto.sniipbillerapi.GetOrCreateSmeBillerRequest} The clone.
23172
+ */
23173
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.prototype.cloneMessage = function() {
23174
+ return /** @type {!proto.sniipbillerapi.GetOrCreateSmeBillerRequest} */ (jspb.Message.cloneMessage(this));
23175
+ };
23176
+
23177
+
23178
+ /**
23179
+ * optional string abn = 1;
23180
+ * @return {string}
23181
+ */
23182
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.prototype.getAbn = function() {
23183
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
23184
+ };
23185
+
23186
+
23187
+ /** @param {string} value */
23188
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.prototype.setAbn = function(value) {
23189
+ jspb.Message.setField(this, 1, value);
23190
+ };
23191
+
23192
+
23193
+ /**
23194
+ * optional string accountNo = 2;
23195
+ * @return {string}
23196
+ */
23197
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.prototype.getAccountno = function() {
23198
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
23199
+ };
23200
+
23201
+
23202
+ /** @param {string} value */
23203
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.prototype.setAccountno = function(value) {
23204
+ jspb.Message.setField(this, 2, value);
23205
+ };
23206
+
23207
+
23208
+ /**
23209
+ * optional string bsb = 3;
23210
+ * @return {string}
23211
+ */
23212
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.prototype.getBsb = function() {
23213
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
23214
+ };
23215
+
23216
+
23217
+ /** @param {string} value */
23218
+ proto.sniipbillerapi.GetOrCreateSmeBillerRequest.prototype.setBsb = function(value) {
23219
+ jspb.Message.setField(this, 3, value);
23220
+ };
23221
+
23222
+
23223
+
23010
23224
  /**
23011
23225
  * Generated by JsPbCodeGenerator.
23012
23226
  * @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/biller-service-client-grpcweb",
3
- "version": "22.22.5220",
3
+ "version": "22.22.5230",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",