@sniipwebmaster/biller-service-client-grpcweb 24.10.7290 → 24.10.7314

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.
@@ -58,6 +58,7 @@ goog.exportSymbol('proto.sniipbillerapi.BillerCrnNickname', null, global);
58
58
  goog.exportSymbol('proto.sniipbillerapi.BillerCrnNicknameInternal', null, global);
59
59
  goog.exportSymbol('proto.sniipbillerapi.BillerFromRevisionCreateRequest', null, global);
60
60
  goog.exportSymbol('proto.sniipbillerapi.BillerGetOrCreateRequest', null, global);
61
+ goog.exportSymbol('proto.sniipbillerapi.BillerLogoUploadRequest', null, global);
61
62
  goog.exportSymbol('proto.sniipbillerapi.BillerNameRequest', null, global);
62
63
  goog.exportSymbol('proto.sniipbillerapi.BillerNameResponse', null, global);
63
64
  goog.exportSymbol('proto.sniipbillerapi.BillerNotificationRecipient', null, global);
@@ -97,6 +98,7 @@ goog.exportSymbol('proto.sniipbillerapi.DeleteBillerLogoRequest', null, global);
97
98
  goog.exportSymbol('proto.sniipbillerapi.DeleteBillerNotificationRecipientRequest', null, global);
98
99
  goog.exportSymbol('proto.sniipbillerapi.DeleteBillerRequest', null, global);
99
100
  goog.exportSymbol('proto.sniipbillerapi.DeleteRevisionRequest', null, global);
101
+ goog.exportSymbol('proto.sniipbillerapi.File', null, global);
100
102
  goog.exportSymbol('proto.sniipbillerapi.GetAllBankDetailsRequest', null, global);
101
103
  goog.exportSymbol('proto.sniipbillerapi.GetAllBankDetailsResponse', null, global);
102
104
  goog.exportSymbol('proto.sniipbillerapi.GetAllBillersRequest', null, global);
@@ -202,6 +204,48 @@ goog.exportSymbol('proto.sniipbillerapi.UpdateSmeBillerConfigInternalRequest', n
202
204
  goog.exportSymbol('proto.sniipbillerapi.UpdateSmeBillerConfigRequest', null, global);
203
205
  goog.exportSymbol('proto.sniipbillerapi.ValidateCreateBillerRequest', null, global);
204
206
  goog.exportSymbol('proto.sniipbillerapi.VerifyBillerRequest', null, global);
207
+ /**
208
+ * Generated by JsPbCodeGenerator.
209
+ * @param {Array=} opt_data Optional initial data array, typically from a
210
+ * server response, or constructed directly in Javascript. The array is used
211
+ * in place and becomes part of the constructed object. It is not cloned.
212
+ * If no data is provided, the constructed object will be empty, but still
213
+ * valid.
214
+ * @extends {jspb.Message}
215
+ * @constructor
216
+ */
217
+ proto.sniipbillerapi.BillerLogoUploadRequest = function(opt_data) {
218
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
219
+ };
220
+ goog.inherits(proto.sniipbillerapi.BillerLogoUploadRequest, jspb.Message);
221
+ if (goog.DEBUG && !COMPILED) {
222
+ /**
223
+ * @public
224
+ * @override
225
+ */
226
+ proto.sniipbillerapi.BillerLogoUploadRequest.displayName = 'proto.sniipbillerapi.BillerLogoUploadRequest';
227
+ }
228
+ /**
229
+ * Generated by JsPbCodeGenerator.
230
+ * @param {Array=} opt_data Optional initial data array, typically from a
231
+ * server response, or constructed directly in Javascript. The array is used
232
+ * in place and becomes part of the constructed object. It is not cloned.
233
+ * If no data is provided, the constructed object will be empty, but still
234
+ * valid.
235
+ * @extends {jspb.Message}
236
+ * @constructor
237
+ */
238
+ proto.sniipbillerapi.File = function(opt_data) {
239
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
240
+ };
241
+ goog.inherits(proto.sniipbillerapi.File, jspb.Message);
242
+ if (goog.DEBUG && !COMPILED) {
243
+ /**
244
+ * @public
245
+ * @override
246
+ */
247
+ proto.sniipbillerapi.File.displayName = 'proto.sniipbillerapi.File';
248
+ }
205
249
  /**
206
250
  * Generated by JsPbCodeGenerator.
207
251
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4006,6 +4050,401 @@ if (goog.DEBUG && !COMPILED) {
4006
4050
 
4007
4051
 
4008
4052
 
4053
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4054
+ /**
4055
+ * Creates an object representation of this proto.
4056
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4057
+ * Optional fields that are not set will be set to undefined.
4058
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4059
+ * For the list of reserved names please see:
4060
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4061
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4062
+ * JSPB instance for transitional soy proto support:
4063
+ * http://goto/soy-param-migration
4064
+ * @return {!Object}
4065
+ */
4066
+ proto.sniipbillerapi.BillerLogoUploadRequest.prototype.toObject = function(opt_includeInstance) {
4067
+ return proto.sniipbillerapi.BillerLogoUploadRequest.toObject(opt_includeInstance, this);
4068
+ };
4069
+
4070
+
4071
+ /**
4072
+ * Static version of the {@see toObject} method.
4073
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4074
+ * the JSPB instance for transitional soy proto support:
4075
+ * http://goto/soy-param-migration
4076
+ * @param {!proto.sniipbillerapi.BillerLogoUploadRequest} msg The msg instance to transform.
4077
+ * @return {!Object}
4078
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4079
+ */
4080
+ proto.sniipbillerapi.BillerLogoUploadRequest.toObject = function(includeInstance, msg) {
4081
+ var f, obj = {
4082
+ billerid: jspb.Message.getFieldWithDefault(msg, 1, 0),
4083
+ originalfilename: jspb.Message.getFieldWithDefault(msg, 2, ""),
4084
+ contenttype: jspb.Message.getFieldWithDefault(msg, 3, ""),
4085
+ file: (f = msg.getFile()) && proto.sniipbillerapi.File.toObject(includeInstance, f)
4086
+ };
4087
+
4088
+ if (includeInstance) {
4089
+ obj.$jspbMessageInstance = msg;
4090
+ }
4091
+ return obj;
4092
+ };
4093
+ }
4094
+
4095
+
4096
+ /**
4097
+ * Deserializes binary data (in protobuf wire format).
4098
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4099
+ * @return {!proto.sniipbillerapi.BillerLogoUploadRequest}
4100
+ */
4101
+ proto.sniipbillerapi.BillerLogoUploadRequest.deserializeBinary = function(bytes) {
4102
+ var reader = new jspb.BinaryReader(bytes);
4103
+ var msg = new proto.sniipbillerapi.BillerLogoUploadRequest;
4104
+ return proto.sniipbillerapi.BillerLogoUploadRequest.deserializeBinaryFromReader(msg, reader);
4105
+ };
4106
+
4107
+
4108
+ /**
4109
+ * Deserializes binary data (in protobuf wire format) from the
4110
+ * given reader into the given message object.
4111
+ * @param {!proto.sniipbillerapi.BillerLogoUploadRequest} msg The message object to deserialize into.
4112
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4113
+ * @return {!proto.sniipbillerapi.BillerLogoUploadRequest}
4114
+ */
4115
+ proto.sniipbillerapi.BillerLogoUploadRequest.deserializeBinaryFromReader = function(msg, reader) {
4116
+ while (reader.nextField()) {
4117
+ if (reader.isEndGroup()) {
4118
+ break;
4119
+ }
4120
+ var field = reader.getFieldNumber();
4121
+ switch (field) {
4122
+ case 1:
4123
+ var value = /** @type {number} */ (reader.readInt64());
4124
+ msg.setBillerid(value);
4125
+ break;
4126
+ case 2:
4127
+ var value = /** @type {string} */ (reader.readString());
4128
+ msg.setOriginalfilename(value);
4129
+ break;
4130
+ case 3:
4131
+ var value = /** @type {string} */ (reader.readString());
4132
+ msg.setContenttype(value);
4133
+ break;
4134
+ case 4:
4135
+ var value = new proto.sniipbillerapi.File;
4136
+ reader.readMessage(value,proto.sniipbillerapi.File.deserializeBinaryFromReader);
4137
+ msg.setFile(value);
4138
+ break;
4139
+ default:
4140
+ reader.skipField();
4141
+ break;
4142
+ }
4143
+ }
4144
+ return msg;
4145
+ };
4146
+
4147
+
4148
+ /**
4149
+ * Serializes the message to binary data (in protobuf wire format).
4150
+ * @return {!Uint8Array}
4151
+ */
4152
+ proto.sniipbillerapi.BillerLogoUploadRequest.prototype.serializeBinary = function() {
4153
+ var writer = new jspb.BinaryWriter();
4154
+ proto.sniipbillerapi.BillerLogoUploadRequest.serializeBinaryToWriter(this, writer);
4155
+ return writer.getResultBuffer();
4156
+ };
4157
+
4158
+
4159
+ /**
4160
+ * Serializes the given message to binary data (in protobuf wire
4161
+ * format), writing to the given BinaryWriter.
4162
+ * @param {!proto.sniipbillerapi.BillerLogoUploadRequest} message
4163
+ * @param {!jspb.BinaryWriter} writer
4164
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4165
+ */
4166
+ proto.sniipbillerapi.BillerLogoUploadRequest.serializeBinaryToWriter = function(message, writer) {
4167
+ var f = undefined;
4168
+ f = message.getBillerid();
4169
+ if (f !== 0) {
4170
+ writer.writeInt64(
4171
+ 1,
4172
+ f
4173
+ );
4174
+ }
4175
+ f = message.getOriginalfilename();
4176
+ if (f.length > 0) {
4177
+ writer.writeString(
4178
+ 2,
4179
+ f
4180
+ );
4181
+ }
4182
+ f = message.getContenttype();
4183
+ if (f.length > 0) {
4184
+ writer.writeString(
4185
+ 3,
4186
+ f
4187
+ );
4188
+ }
4189
+ f = message.getFile();
4190
+ if (f != null) {
4191
+ writer.writeMessage(
4192
+ 4,
4193
+ f,
4194
+ proto.sniipbillerapi.File.serializeBinaryToWriter
4195
+ );
4196
+ }
4197
+ };
4198
+
4199
+
4200
+ /**
4201
+ * optional int64 billerId = 1;
4202
+ * @return {number}
4203
+ */
4204
+ proto.sniipbillerapi.BillerLogoUploadRequest.prototype.getBillerid = function() {
4205
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4206
+ };
4207
+
4208
+
4209
+ /**
4210
+ * @param {number} value
4211
+ * @return {!proto.sniipbillerapi.BillerLogoUploadRequest} returns this
4212
+ */
4213
+ proto.sniipbillerapi.BillerLogoUploadRequest.prototype.setBillerid = function(value) {
4214
+ return jspb.Message.setProto3IntField(this, 1, value);
4215
+ };
4216
+
4217
+
4218
+ /**
4219
+ * optional string originalFilename = 2;
4220
+ * @return {string}
4221
+ */
4222
+ proto.sniipbillerapi.BillerLogoUploadRequest.prototype.getOriginalfilename = function() {
4223
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4224
+ };
4225
+
4226
+
4227
+ /**
4228
+ * @param {string} value
4229
+ * @return {!proto.sniipbillerapi.BillerLogoUploadRequest} returns this
4230
+ */
4231
+ proto.sniipbillerapi.BillerLogoUploadRequest.prototype.setOriginalfilename = function(value) {
4232
+ return jspb.Message.setProto3StringField(this, 2, value);
4233
+ };
4234
+
4235
+
4236
+ /**
4237
+ * optional string contentType = 3;
4238
+ * @return {string}
4239
+ */
4240
+ proto.sniipbillerapi.BillerLogoUploadRequest.prototype.getContenttype = function() {
4241
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4242
+ };
4243
+
4244
+
4245
+ /**
4246
+ * @param {string} value
4247
+ * @return {!proto.sniipbillerapi.BillerLogoUploadRequest} returns this
4248
+ */
4249
+ proto.sniipbillerapi.BillerLogoUploadRequest.prototype.setContenttype = function(value) {
4250
+ return jspb.Message.setProto3StringField(this, 3, value);
4251
+ };
4252
+
4253
+
4254
+ /**
4255
+ * optional File file = 4;
4256
+ * @return {?proto.sniipbillerapi.File}
4257
+ */
4258
+ proto.sniipbillerapi.BillerLogoUploadRequest.prototype.getFile = function() {
4259
+ return /** @type{?proto.sniipbillerapi.File} */ (
4260
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.File, 4));
4261
+ };
4262
+
4263
+
4264
+ /**
4265
+ * @param {?proto.sniipbillerapi.File|undefined} value
4266
+ * @return {!proto.sniipbillerapi.BillerLogoUploadRequest} returns this
4267
+ */
4268
+ proto.sniipbillerapi.BillerLogoUploadRequest.prototype.setFile = function(value) {
4269
+ return jspb.Message.setWrapperField(this, 4, value);
4270
+ };
4271
+
4272
+
4273
+ /**
4274
+ * Clears the message field making it undefined.
4275
+ * @return {!proto.sniipbillerapi.BillerLogoUploadRequest} returns this
4276
+ */
4277
+ proto.sniipbillerapi.BillerLogoUploadRequest.prototype.clearFile = function() {
4278
+ return this.setFile(undefined);
4279
+ };
4280
+
4281
+
4282
+ /**
4283
+ * Returns whether this field is set.
4284
+ * @return {boolean}
4285
+ */
4286
+ proto.sniipbillerapi.BillerLogoUploadRequest.prototype.hasFile = function() {
4287
+ return jspb.Message.getField(this, 4) != null;
4288
+ };
4289
+
4290
+
4291
+
4292
+
4293
+
4294
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4295
+ /**
4296
+ * Creates an object representation of this proto.
4297
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4298
+ * Optional fields that are not set will be set to undefined.
4299
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4300
+ * For the list of reserved names please see:
4301
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4302
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4303
+ * JSPB instance for transitional soy proto support:
4304
+ * http://goto/soy-param-migration
4305
+ * @return {!Object}
4306
+ */
4307
+ proto.sniipbillerapi.File.prototype.toObject = function(opt_includeInstance) {
4308
+ return proto.sniipbillerapi.File.toObject(opt_includeInstance, this);
4309
+ };
4310
+
4311
+
4312
+ /**
4313
+ * Static version of the {@see toObject} method.
4314
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4315
+ * the JSPB instance for transitional soy proto support:
4316
+ * http://goto/soy-param-migration
4317
+ * @param {!proto.sniipbillerapi.File} msg The msg instance to transform.
4318
+ * @return {!Object}
4319
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4320
+ */
4321
+ proto.sniipbillerapi.File.toObject = function(includeInstance, msg) {
4322
+ var f, obj = {
4323
+ content: msg.getContent_asB64()
4324
+ };
4325
+
4326
+ if (includeInstance) {
4327
+ obj.$jspbMessageInstance = msg;
4328
+ }
4329
+ return obj;
4330
+ };
4331
+ }
4332
+
4333
+
4334
+ /**
4335
+ * Deserializes binary data (in protobuf wire format).
4336
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4337
+ * @return {!proto.sniipbillerapi.File}
4338
+ */
4339
+ proto.sniipbillerapi.File.deserializeBinary = function(bytes) {
4340
+ var reader = new jspb.BinaryReader(bytes);
4341
+ var msg = new proto.sniipbillerapi.File;
4342
+ return proto.sniipbillerapi.File.deserializeBinaryFromReader(msg, reader);
4343
+ };
4344
+
4345
+
4346
+ /**
4347
+ * Deserializes binary data (in protobuf wire format) from the
4348
+ * given reader into the given message object.
4349
+ * @param {!proto.sniipbillerapi.File} msg The message object to deserialize into.
4350
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4351
+ * @return {!proto.sniipbillerapi.File}
4352
+ */
4353
+ proto.sniipbillerapi.File.deserializeBinaryFromReader = function(msg, reader) {
4354
+ while (reader.nextField()) {
4355
+ if (reader.isEndGroup()) {
4356
+ break;
4357
+ }
4358
+ var field = reader.getFieldNumber();
4359
+ switch (field) {
4360
+ case 1:
4361
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
4362
+ msg.setContent(value);
4363
+ break;
4364
+ default:
4365
+ reader.skipField();
4366
+ break;
4367
+ }
4368
+ }
4369
+ return msg;
4370
+ };
4371
+
4372
+
4373
+ /**
4374
+ * Serializes the message to binary data (in protobuf wire format).
4375
+ * @return {!Uint8Array}
4376
+ */
4377
+ proto.sniipbillerapi.File.prototype.serializeBinary = function() {
4378
+ var writer = new jspb.BinaryWriter();
4379
+ proto.sniipbillerapi.File.serializeBinaryToWriter(this, writer);
4380
+ return writer.getResultBuffer();
4381
+ };
4382
+
4383
+
4384
+ /**
4385
+ * Serializes the given message to binary data (in protobuf wire
4386
+ * format), writing to the given BinaryWriter.
4387
+ * @param {!proto.sniipbillerapi.File} message
4388
+ * @param {!jspb.BinaryWriter} writer
4389
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4390
+ */
4391
+ proto.sniipbillerapi.File.serializeBinaryToWriter = function(message, writer) {
4392
+ var f = undefined;
4393
+ f = message.getContent_asU8();
4394
+ if (f.length > 0) {
4395
+ writer.writeBytes(
4396
+ 1,
4397
+ f
4398
+ );
4399
+ }
4400
+ };
4401
+
4402
+
4403
+ /**
4404
+ * optional bytes content = 1;
4405
+ * @return {!(string|Uint8Array)}
4406
+ */
4407
+ proto.sniipbillerapi.File.prototype.getContent = function() {
4408
+ return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4409
+ };
4410
+
4411
+
4412
+ /**
4413
+ * optional bytes content = 1;
4414
+ * This is a type-conversion wrapper around `getContent()`
4415
+ * @return {string}
4416
+ */
4417
+ proto.sniipbillerapi.File.prototype.getContent_asB64 = function() {
4418
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
4419
+ this.getContent()));
4420
+ };
4421
+
4422
+
4423
+ /**
4424
+ * optional bytes content = 1;
4425
+ * Note that Uint8Array is not supported on all browsers.
4426
+ * @see http://caniuse.com/Uint8Array
4427
+ * This is a type-conversion wrapper around `getContent()`
4428
+ * @return {!Uint8Array}
4429
+ */
4430
+ proto.sniipbillerapi.File.prototype.getContent_asU8 = function() {
4431
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
4432
+ this.getContent()));
4433
+ };
4434
+
4435
+
4436
+ /**
4437
+ * @param {!(string|Uint8Array)} value
4438
+ * @return {!proto.sniipbillerapi.File} returns this
4439
+ */
4440
+ proto.sniipbillerapi.File.prototype.setContent = function(value) {
4441
+ return jspb.Message.setProto3BytesField(this, 1, value);
4442
+ };
4443
+
4444
+
4445
+
4446
+
4447
+
4009
4448
  if (jspb.Message.GENERATE_TO_OBJECT) {
4010
4449
  /**
4011
4450
  * 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",
3
- "version": "24.10.7290",
3
+ "version": "24.10.7314",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",