@sniipwebmaster/kyc-client-grpcweb 25.3.1423 → 25.3.1429

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.
@@ -41,6 +41,7 @@ goog.exportSymbol('proto.kycserviceapi.RequestUserKycRequest', null, global);
41
41
  goog.exportSymbol('proto.kycserviceapi.RequestedDocument', null, global);
42
42
  goog.exportSymbol('proto.kycserviceapi.ResponseCode', null, global);
43
43
  goog.exportSymbol('proto.kycserviceapi.SaveDocumentRequest', null, global);
44
+ goog.exportSymbol('proto.kycserviceapi.SaveDocumentResponse', null, global);
44
45
  goog.exportSymbol('proto.kycserviceapi.State', null, global);
45
46
  goog.exportSymbol('proto.kycserviceapi.UpdateKycUserStatusRequest', null, global);
46
47
  goog.exportSymbol('proto.kycserviceapi.User', null, global);
@@ -429,6 +430,27 @@ if (goog.DEBUG && !COMPILED) {
429
430
  */
430
431
  proto.kycserviceapi.SaveDocumentRequest.displayName = 'proto.kycserviceapi.SaveDocumentRequest';
431
432
  }
433
+ /**
434
+ * Generated by JsPbCodeGenerator.
435
+ * @param {Array=} opt_data Optional initial data array, typically from a
436
+ * server response, or constructed directly in Javascript. The array is used
437
+ * in place and becomes part of the constructed object. It is not cloned.
438
+ * If no data is provided, the constructed object will be empty, but still
439
+ * valid.
440
+ * @extends {jspb.Message}
441
+ * @constructor
442
+ */
443
+ proto.kycserviceapi.SaveDocumentResponse = function(opt_data) {
444
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
445
+ };
446
+ goog.inherits(proto.kycserviceapi.SaveDocumentResponse, jspb.Message);
447
+ if (goog.DEBUG && !COMPILED) {
448
+ /**
449
+ * @public
450
+ * @override
451
+ */
452
+ proto.kycserviceapi.SaveDocumentResponse.displayName = 'proto.kycserviceapi.SaveDocumentResponse';
453
+ }
432
454
  /**
433
455
  * Generated by JsPbCodeGenerator.
434
456
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4188,6 +4210,187 @@ proto.kycserviceapi.SaveDocumentRequest.prototype.hasData = function() {
4188
4210
 
4189
4211
 
4190
4212
 
4213
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4214
+ /**
4215
+ * Creates an object representation of this proto.
4216
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4217
+ * Optional fields that are not set will be set to undefined.
4218
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4219
+ * For the list of reserved names please see:
4220
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4221
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4222
+ * JSPB instance for transitional soy proto support:
4223
+ * http://goto/soy-param-migration
4224
+ * @return {!Object}
4225
+ */
4226
+ proto.kycserviceapi.SaveDocumentResponse.prototype.toObject = function(opt_includeInstance) {
4227
+ return proto.kycserviceapi.SaveDocumentResponse.toObject(opt_includeInstance, this);
4228
+ };
4229
+
4230
+
4231
+ /**
4232
+ * Static version of the {@see toObject} method.
4233
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4234
+ * the JSPB instance for transitional soy proto support:
4235
+ * http://goto/soy-param-migration
4236
+ * @param {!proto.kycserviceapi.SaveDocumentResponse} msg The msg instance to transform.
4237
+ * @return {!Object}
4238
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4239
+ */
4240
+ proto.kycserviceapi.SaveDocumentResponse.toObject = function(includeInstance, msg) {
4241
+ var f, obj = {
4242
+ responsecode: (f = msg.getResponsecode()) && proto.kycserviceapi.ResponseCode.toObject(includeInstance, f),
4243
+ documentid: jspb.Message.getFieldWithDefault(msg, 2, 0)
4244
+ };
4245
+
4246
+ if (includeInstance) {
4247
+ obj.$jspbMessageInstance = msg;
4248
+ }
4249
+ return obj;
4250
+ };
4251
+ }
4252
+
4253
+
4254
+ /**
4255
+ * Deserializes binary data (in protobuf wire format).
4256
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4257
+ * @return {!proto.kycserviceapi.SaveDocumentResponse}
4258
+ */
4259
+ proto.kycserviceapi.SaveDocumentResponse.deserializeBinary = function(bytes) {
4260
+ var reader = new jspb.BinaryReader(bytes);
4261
+ var msg = new proto.kycserviceapi.SaveDocumentResponse;
4262
+ return proto.kycserviceapi.SaveDocumentResponse.deserializeBinaryFromReader(msg, reader);
4263
+ };
4264
+
4265
+
4266
+ /**
4267
+ * Deserializes binary data (in protobuf wire format) from the
4268
+ * given reader into the given message object.
4269
+ * @param {!proto.kycserviceapi.SaveDocumentResponse} msg The message object to deserialize into.
4270
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4271
+ * @return {!proto.kycserviceapi.SaveDocumentResponse}
4272
+ */
4273
+ proto.kycserviceapi.SaveDocumentResponse.deserializeBinaryFromReader = function(msg, reader) {
4274
+ while (reader.nextField()) {
4275
+ if (reader.isEndGroup()) {
4276
+ break;
4277
+ }
4278
+ var field = reader.getFieldNumber();
4279
+ switch (field) {
4280
+ case 1:
4281
+ var value = new proto.kycserviceapi.ResponseCode;
4282
+ reader.readMessage(value,proto.kycserviceapi.ResponseCode.deserializeBinaryFromReader);
4283
+ msg.setResponsecode(value);
4284
+ break;
4285
+ case 2:
4286
+ var value = /** @type {number} */ (reader.readInt64());
4287
+ msg.setDocumentid(value);
4288
+ break;
4289
+ default:
4290
+ reader.skipField();
4291
+ break;
4292
+ }
4293
+ }
4294
+ return msg;
4295
+ };
4296
+
4297
+
4298
+ /**
4299
+ * Serializes the message to binary data (in protobuf wire format).
4300
+ * @return {!Uint8Array}
4301
+ */
4302
+ proto.kycserviceapi.SaveDocumentResponse.prototype.serializeBinary = function() {
4303
+ var writer = new jspb.BinaryWriter();
4304
+ proto.kycserviceapi.SaveDocumentResponse.serializeBinaryToWriter(this, writer);
4305
+ return writer.getResultBuffer();
4306
+ };
4307
+
4308
+
4309
+ /**
4310
+ * Serializes the given message to binary data (in protobuf wire
4311
+ * format), writing to the given BinaryWriter.
4312
+ * @param {!proto.kycserviceapi.SaveDocumentResponse} message
4313
+ * @param {!jspb.BinaryWriter} writer
4314
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4315
+ */
4316
+ proto.kycserviceapi.SaveDocumentResponse.serializeBinaryToWriter = function(message, writer) {
4317
+ var f = undefined;
4318
+ f = message.getResponsecode();
4319
+ if (f != null) {
4320
+ writer.writeMessage(
4321
+ 1,
4322
+ f,
4323
+ proto.kycserviceapi.ResponseCode.serializeBinaryToWriter
4324
+ );
4325
+ }
4326
+ f = message.getDocumentid();
4327
+ if (f !== 0) {
4328
+ writer.writeInt64(
4329
+ 2,
4330
+ f
4331
+ );
4332
+ }
4333
+ };
4334
+
4335
+
4336
+ /**
4337
+ * optional ResponseCode responseCode = 1;
4338
+ * @return {?proto.kycserviceapi.ResponseCode}
4339
+ */
4340
+ proto.kycserviceapi.SaveDocumentResponse.prototype.getResponsecode = function() {
4341
+ return /** @type{?proto.kycserviceapi.ResponseCode} */ (
4342
+ jspb.Message.getWrapperField(this, proto.kycserviceapi.ResponseCode, 1));
4343
+ };
4344
+
4345
+
4346
+ /**
4347
+ * @param {?proto.kycserviceapi.ResponseCode|undefined} value
4348
+ * @return {!proto.kycserviceapi.SaveDocumentResponse} returns this
4349
+ */
4350
+ proto.kycserviceapi.SaveDocumentResponse.prototype.setResponsecode = function(value) {
4351
+ return jspb.Message.setWrapperField(this, 1, value);
4352
+ };
4353
+
4354
+
4355
+ /**
4356
+ * Clears the message field making it undefined.
4357
+ * @return {!proto.kycserviceapi.SaveDocumentResponse} returns this
4358
+ */
4359
+ proto.kycserviceapi.SaveDocumentResponse.prototype.clearResponsecode = function() {
4360
+ return this.setResponsecode(undefined);
4361
+ };
4362
+
4363
+
4364
+ /**
4365
+ * Returns whether this field is set.
4366
+ * @return {boolean}
4367
+ */
4368
+ proto.kycserviceapi.SaveDocumentResponse.prototype.hasResponsecode = function() {
4369
+ return jspb.Message.getField(this, 1) != null;
4370
+ };
4371
+
4372
+
4373
+ /**
4374
+ * optional int64 documentId = 2;
4375
+ * @return {number}
4376
+ */
4377
+ proto.kycserviceapi.SaveDocumentResponse.prototype.getDocumentid = function() {
4378
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4379
+ };
4380
+
4381
+
4382
+ /**
4383
+ * @param {number} value
4384
+ * @return {!proto.kycserviceapi.SaveDocumentResponse} returns this
4385
+ */
4386
+ proto.kycserviceapi.SaveDocumentResponse.prototype.setDocumentid = function(value) {
4387
+ return jspb.Message.setProto3IntField(this, 2, value);
4388
+ };
4389
+
4390
+
4391
+
4392
+
4393
+
4191
4394
  if (jspb.Message.GENERATE_TO_OBJECT) {
4192
4395
  /**
4193
4396
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/kyc-client-grpcweb",
3
- "version": "25.3.1423",
3
+ "version": "25.3.1429",
4
4
  "description": "kyc-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",