@sniipwebmaster/kyc-client-grpcweb 21.8.38 → 21.8.56

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.
@@ -200,6 +200,61 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getUserKycStatus
200
200
  };
201
201
 
202
202
 
203
+ /**
204
+ * @const
205
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
206
+ * !proto.kycserviceapi.GetUserKycSummaryRequest,
207
+ * !proto.kycserviceapi.UserKycSummaryResponse>}
208
+ */
209
+ const methodInfo_KYCServiceAPIService_GetUserKycSummary = new grpc.web.AbstractClientBase.MethodInfo(
210
+ proto.kycserviceapi.UserKycSummaryResponse,
211
+ /** @param {!proto.kycserviceapi.GetUserKycSummaryRequest} request */
212
+ function(request) {
213
+ return request.serializeBinary();
214
+ },
215
+ proto.kycserviceapi.UserKycSummaryResponse.deserializeBinary
216
+ );
217
+
218
+
219
+ /**
220
+ * @param {!proto.kycserviceapi.GetUserKycSummaryRequest} request The
221
+ * request proto
222
+ * @param {?Object<string, string>} metadata User defined
223
+ * call metadata
224
+ * @param {function(?grpc.web.Error, ?proto.kycserviceapi.UserKycSummaryResponse)}
225
+ * callback The callback function(error, response)
226
+ * @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.UserKycSummaryResponse>|undefined}
227
+ * The XHR Node Readable Stream
228
+ */
229
+ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getUserKycSummary =
230
+ function(request, metadata, callback) {
231
+ return this.client_.rpcCall(this.hostname_ +
232
+ '/kycserviceapi.KYCServiceAPIService/GetUserKycSummary',
233
+ request,
234
+ metadata || {},
235
+ methodInfo_KYCServiceAPIService_GetUserKycSummary,
236
+ callback);
237
+ };
238
+
239
+
240
+ /**
241
+ * @param {!proto.kycserviceapi.GetUserKycSummaryRequest} request The
242
+ * request proto
243
+ * @param {?Object<string, string>} metadata User defined
244
+ * call metadata
245
+ * @return {!Promise<!proto.kycserviceapi.UserKycSummaryResponse>}
246
+ * A native promise that resolves to the response
247
+ */
248
+ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getUserKycSummary =
249
+ function(request, metadata) {
250
+ return this.client_.unaryCall(this.hostname_ +
251
+ '/kycserviceapi.KYCServiceAPIService/GetUserKycSummary',
252
+ request,
253
+ metadata || {},
254
+ methodInfo_KYCServiceAPIService_GetUserKycSummary);
255
+ };
256
+
257
+
203
258
  /**
204
259
  * @const
205
260
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -17,6 +17,7 @@ goog.exportSymbol('proto.kycserviceapi.DocumentStatus', null, global);
17
17
  goog.exportSymbol('proto.kycserviceapi.DocumentType', null, global);
18
18
  goog.exportSymbol('proto.kycserviceapi.DriversLicense', null, global);
19
19
  goog.exportSymbol('proto.kycserviceapi.GetDocumentRequest', null, global);
20
+ goog.exportSymbol('proto.kycserviceapi.GetUserKycSummaryRequest', null, global);
20
21
  goog.exportSymbol('proto.kycserviceapi.KycPaymentMethod', null, global);
21
22
  goog.exportSymbol('proto.kycserviceapi.Passport', null, global);
22
23
  goog.exportSymbol('proto.kycserviceapi.RequestUserKycRequest', null, global);
@@ -25,6 +26,7 @@ goog.exportSymbol('proto.kycserviceapi.ResponseCode', null, global);
25
26
  goog.exportSymbol('proto.kycserviceapi.User', null, global);
26
27
  goog.exportSymbol('proto.kycserviceapi.UserKycRequest', null, global);
27
28
  goog.exportSymbol('proto.kycserviceapi.UserKycStatusResponse', null, global);
29
+ goog.exportSymbol('proto.kycserviceapi.UserKycSummaryResponse', null, global);
28
30
  goog.exportSymbol('proto.kycserviceapi.UserStatus', null, global);
29
31
 
30
32
  /**
@@ -86,7 +88,8 @@ proto.kycserviceapi.Document.toObject = function(includeInstance, msg) {
86
88
  passport: (f = msg.getPassport()) && proto.kycserviceapi.Passport.toObject(includeInstance, f),
87
89
  driverslicense: (f = msg.getDriverslicense()) && proto.kycserviceapi.DriversLicense.toObject(includeInstance, f),
88
90
  paymentmethod: (f = msg.getPaymentmethod()) && proto.kycserviceapi.KycPaymentMethod.toObject(includeInstance, f),
89
- attachmentidsList: jspb.Message.getField(msg, 8)
91
+ attachmentidsList: jspb.Message.getField(msg, 8),
92
+ requirestwophotos: msg.getRequirestwophotos()
90
93
  };
91
94
 
92
95
  if (includeInstance) {
@@ -158,6 +161,10 @@ proto.kycserviceapi.Document.deserializeBinaryFromReader = function(msg, reader)
158
161
  var value = /** @type {!Array.<number>} */ (reader.readPackedInt64());
159
162
  msg.setAttachmentidsList(value);
160
163
  break;
164
+ case 9:
165
+ var value = /** @type {boolean} */ (reader.readBool());
166
+ msg.setRequirestwophotos(value);
167
+ break;
161
168
  default:
162
169
  reader.skipField();
163
170
  break;
@@ -255,6 +262,13 @@ proto.kycserviceapi.Document.prototype.serializeBinaryToWriter = function (write
255
262
  f
256
263
  );
257
264
  }
265
+ f = this.getRequirestwophotos();
266
+ if (f) {
267
+ writer.writeBool(
268
+ 9,
269
+ f
270
+ );
271
+ }
258
272
  };
259
273
 
260
274
 
@@ -441,6 +455,23 @@ proto.kycserviceapi.Document.prototype.clearAttachmentidsList = function() {
441
455
  };
442
456
 
443
457
 
458
+ /**
459
+ * optional bool requiresTwoPhotos = 9;
460
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
461
+ * You should avoid comparisons like {@code val === true/false} in those cases.
462
+ * @return {boolean}
463
+ */
464
+ proto.kycserviceapi.Document.prototype.getRequirestwophotos = function() {
465
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 9, false));
466
+ };
467
+
468
+
469
+ /** @param {boolean} value */
470
+ proto.kycserviceapi.Document.prototype.setRequirestwophotos = function(value) {
471
+ jspb.Message.setField(this, 9, value);
472
+ };
473
+
474
+
444
475
 
445
476
  /**
446
477
  * Generated by JsPbCodeGenerator.
@@ -1138,6 +1169,165 @@ proto.kycserviceapi.GetDocumentRequest.prototype.setDocumentid = function(value)
1138
1169
 
1139
1170
 
1140
1171
 
1172
+ /**
1173
+ * Generated by JsPbCodeGenerator.
1174
+ * @param {Array=} opt_data Optional initial data array, typically from a
1175
+ * server response, or constructed directly in Javascript. The array is used
1176
+ * in place and becomes part of the constructed object. It is not cloned.
1177
+ * If no data is provided, the constructed object will be empty, but still
1178
+ * valid.
1179
+ * @extends {jspb.Message}
1180
+ * @constructor
1181
+ */
1182
+ proto.kycserviceapi.GetUserKycSummaryRequest = function(opt_data) {
1183
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1184
+ };
1185
+ goog.inherits(proto.kycserviceapi.GetUserKycSummaryRequest, jspb.Message);
1186
+ if (goog.DEBUG && !COMPILED) {
1187
+ proto.kycserviceapi.GetUserKycSummaryRequest.displayName = 'proto.kycserviceapi.GetUserKycSummaryRequest';
1188
+ }
1189
+
1190
+
1191
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1192
+ /**
1193
+ * Creates an object representation of this proto suitable for use in Soy templates.
1194
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1195
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1196
+ * For the list of reserved names please see:
1197
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1198
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1199
+ * for transitional soy proto support: http://goto/soy-param-migration
1200
+ * @return {!Object}
1201
+ */
1202
+ proto.kycserviceapi.GetUserKycSummaryRequest.prototype.toObject = function(opt_includeInstance) {
1203
+ return proto.kycserviceapi.GetUserKycSummaryRequest.toObject(opt_includeInstance, this);
1204
+ };
1205
+
1206
+
1207
+ /**
1208
+ * Static version of the {@see toObject} method.
1209
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
1210
+ * instance for transitional soy proto support:
1211
+ * http://goto/soy-param-migration
1212
+ * @param {!proto.kycserviceapi.GetUserKycSummaryRequest} msg The msg instance to transform.
1213
+ * @return {!Object}
1214
+ */
1215
+ proto.kycserviceapi.GetUserKycSummaryRequest.toObject = function(includeInstance, msg) {
1216
+ var f, obj = {
1217
+ userid: msg.getUserid()
1218
+ };
1219
+
1220
+ if (includeInstance) {
1221
+ obj.$jspbMessageInstance = msg;
1222
+ }
1223
+ return obj;
1224
+ };
1225
+ }
1226
+
1227
+
1228
+ /**
1229
+ * Deserializes binary data (in protobuf wire format).
1230
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1231
+ * @return {!proto.kycserviceapi.GetUserKycSummaryRequest}
1232
+ */
1233
+ proto.kycserviceapi.GetUserKycSummaryRequest.deserializeBinary = function(bytes) {
1234
+ var reader = new jspb.BinaryReader(bytes);
1235
+ var msg = new proto.kycserviceapi.GetUserKycSummaryRequest;
1236
+ return proto.kycserviceapi.GetUserKycSummaryRequest.deserializeBinaryFromReader(msg, reader);
1237
+ };
1238
+
1239
+
1240
+ /**
1241
+ * Deserializes binary data (in protobuf wire format) from the
1242
+ * given reader into the given message object.
1243
+ * @param {!proto.kycserviceapi.GetUserKycSummaryRequest} msg The message object to deserialize into.
1244
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1245
+ * @return {!proto.kycserviceapi.GetUserKycSummaryRequest}
1246
+ */
1247
+ proto.kycserviceapi.GetUserKycSummaryRequest.deserializeBinaryFromReader = function(msg, reader) {
1248
+ while (reader.nextField()) {
1249
+ if (reader.isEndGroup()) {
1250
+ break;
1251
+ }
1252
+ var field = reader.getFieldNumber();
1253
+ switch (field) {
1254
+ case 1:
1255
+ var value = /** @type {number} */ (reader.readInt64());
1256
+ msg.setUserid(value);
1257
+ break;
1258
+ default:
1259
+ reader.skipField();
1260
+ break;
1261
+ }
1262
+ }
1263
+ return msg;
1264
+ };
1265
+
1266
+
1267
+ /**
1268
+ * Class method variant: serializes the given message to binary data
1269
+ * (in protobuf wire format), writing to the given BinaryWriter.
1270
+ * @param {!proto.kycserviceapi.GetUserKycSummaryRequest} message
1271
+ * @param {!jspb.BinaryWriter} writer
1272
+ */
1273
+ proto.kycserviceapi.GetUserKycSummaryRequest.serializeBinaryToWriter = function(message, writer) {
1274
+ message.serializeBinaryToWriter(writer);
1275
+ };
1276
+
1277
+
1278
+ /**
1279
+ * Serializes the message to binary data (in protobuf wire format).
1280
+ * @return {!Uint8Array}
1281
+ */
1282
+ proto.kycserviceapi.GetUserKycSummaryRequest.prototype.serializeBinary = function() {
1283
+ var writer = new jspb.BinaryWriter();
1284
+ this.serializeBinaryToWriter(writer);
1285
+ return writer.getResultBuffer();
1286
+ };
1287
+
1288
+
1289
+ /**
1290
+ * Serializes the message to binary data (in protobuf wire format),
1291
+ * writing to the given BinaryWriter.
1292
+ * @param {!jspb.BinaryWriter} writer
1293
+ */
1294
+ proto.kycserviceapi.GetUserKycSummaryRequest.prototype.serializeBinaryToWriter = function (writer) {
1295
+ var f = undefined;
1296
+ f = this.getUserid();
1297
+ if (f !== 0) {
1298
+ writer.writeInt64(
1299
+ 1,
1300
+ f
1301
+ );
1302
+ }
1303
+ };
1304
+
1305
+
1306
+ /**
1307
+ * Creates a deep clone of this proto. No data is shared with the original.
1308
+ * @return {!proto.kycserviceapi.GetUserKycSummaryRequest} The clone.
1309
+ */
1310
+ proto.kycserviceapi.GetUserKycSummaryRequest.prototype.cloneMessage = function() {
1311
+ return /** @type {!proto.kycserviceapi.GetUserKycSummaryRequest} */ (jspb.Message.cloneMessage(this));
1312
+ };
1313
+
1314
+
1315
+ /**
1316
+ * optional int64 userId = 1;
1317
+ * @return {number}
1318
+ */
1319
+ proto.kycserviceapi.GetUserKycSummaryRequest.prototype.getUserid = function() {
1320
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
1321
+ };
1322
+
1323
+
1324
+ /** @param {number} value */
1325
+ proto.kycserviceapi.GetUserKycSummaryRequest.prototype.setUserid = function(value) {
1326
+ jspb.Message.setField(this, 1, value);
1327
+ };
1328
+
1329
+
1330
+
1141
1331
  /**
1142
1332
  * Generated by JsPbCodeGenerator.
1143
1333
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2917,6 +3107,301 @@ proto.kycserviceapi.UserKycStatusResponse.prototype.clearPaymentmethoddocumentsL
2917
3107
  };
2918
3108
 
2919
3109
 
3110
+
3111
+ /**
3112
+ * Generated by JsPbCodeGenerator.
3113
+ * @param {Array=} opt_data Optional initial data array, typically from a
3114
+ * server response, or constructed directly in Javascript. The array is used
3115
+ * in place and becomes part of the constructed object. It is not cloned.
3116
+ * If no data is provided, the constructed object will be empty, but still
3117
+ * valid.
3118
+ * @extends {jspb.Message}
3119
+ * @constructor
3120
+ */
3121
+ proto.kycserviceapi.UserKycSummaryResponse = function(opt_data) {
3122
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.kycserviceapi.UserKycSummaryResponse.repeatedFields_, null);
3123
+ };
3124
+ goog.inherits(proto.kycserviceapi.UserKycSummaryResponse, jspb.Message);
3125
+ if (goog.DEBUG && !COMPILED) {
3126
+ proto.kycserviceapi.UserKycSummaryResponse.displayName = 'proto.kycserviceapi.UserKycSummaryResponse';
3127
+ }
3128
+ /**
3129
+ * List of repeated fields within this message type.
3130
+ * @private {!Array<number>}
3131
+ * @const
3132
+ */
3133
+ proto.kycserviceapi.UserKycSummaryResponse.repeatedFields_ = [4];
3134
+
3135
+
3136
+
3137
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3138
+ /**
3139
+ * Creates an object representation of this proto suitable for use in Soy templates.
3140
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3141
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3142
+ * For the list of reserved names please see:
3143
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
3144
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
3145
+ * for transitional soy proto support: http://goto/soy-param-migration
3146
+ * @return {!Object}
3147
+ */
3148
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.toObject = function(opt_includeInstance) {
3149
+ return proto.kycserviceapi.UserKycSummaryResponse.toObject(opt_includeInstance, this);
3150
+ };
3151
+
3152
+
3153
+ /**
3154
+ * Static version of the {@see toObject} method.
3155
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
3156
+ * instance for transitional soy proto support:
3157
+ * http://goto/soy-param-migration
3158
+ * @param {!proto.kycserviceapi.UserKycSummaryResponse} msg The msg instance to transform.
3159
+ * @return {!Object}
3160
+ */
3161
+ proto.kycserviceapi.UserKycSummaryResponse.toObject = function(includeInstance, msg) {
3162
+ var f, obj = {
3163
+ responsecode: (f = msg.getResponsecode()) && proto.kycserviceapi.ResponseCode.toObject(includeInstance, f),
3164
+ user: (f = msg.getUser()) && proto.kycserviceapi.User.toObject(includeInstance, f),
3165
+ idrequested: msg.getIdrequested(),
3166
+ requestedpaymentmethodsList: jspb.Message.toObjectList(msg.getRequestedpaymentmethodsList(),
3167
+ proto.kycserviceapi.RequestedDocument.toObject, includeInstance)
3168
+ };
3169
+
3170
+ if (includeInstance) {
3171
+ obj.$jspbMessageInstance = msg;
3172
+ }
3173
+ return obj;
3174
+ };
3175
+ }
3176
+
3177
+
3178
+ /**
3179
+ * Deserializes binary data (in protobuf wire format).
3180
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3181
+ * @return {!proto.kycserviceapi.UserKycSummaryResponse}
3182
+ */
3183
+ proto.kycserviceapi.UserKycSummaryResponse.deserializeBinary = function(bytes) {
3184
+ var reader = new jspb.BinaryReader(bytes);
3185
+ var msg = new proto.kycserviceapi.UserKycSummaryResponse;
3186
+ return proto.kycserviceapi.UserKycSummaryResponse.deserializeBinaryFromReader(msg, reader);
3187
+ };
3188
+
3189
+
3190
+ /**
3191
+ * Deserializes binary data (in protobuf wire format) from the
3192
+ * given reader into the given message object.
3193
+ * @param {!proto.kycserviceapi.UserKycSummaryResponse} msg The message object to deserialize into.
3194
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3195
+ * @return {!proto.kycserviceapi.UserKycSummaryResponse}
3196
+ */
3197
+ proto.kycserviceapi.UserKycSummaryResponse.deserializeBinaryFromReader = function(msg, reader) {
3198
+ while (reader.nextField()) {
3199
+ if (reader.isEndGroup()) {
3200
+ break;
3201
+ }
3202
+ var field = reader.getFieldNumber();
3203
+ switch (field) {
3204
+ case 1:
3205
+ var value = new proto.kycserviceapi.ResponseCode;
3206
+ reader.readMessage(value,proto.kycserviceapi.ResponseCode.deserializeBinaryFromReader);
3207
+ msg.setResponsecode(value);
3208
+ break;
3209
+ case 2:
3210
+ var value = new proto.kycserviceapi.User;
3211
+ reader.readMessage(value,proto.kycserviceapi.User.deserializeBinaryFromReader);
3212
+ msg.setUser(value);
3213
+ break;
3214
+ case 3:
3215
+ var value = /** @type {boolean} */ (reader.readBool());
3216
+ msg.setIdrequested(value);
3217
+ break;
3218
+ case 4:
3219
+ var value = new proto.kycserviceapi.RequestedDocument;
3220
+ reader.readMessage(value,proto.kycserviceapi.RequestedDocument.deserializeBinaryFromReader);
3221
+ msg.getRequestedpaymentmethodsList().push(value);
3222
+ msg.setRequestedpaymentmethodsList(msg.getRequestedpaymentmethodsList());
3223
+ break;
3224
+ default:
3225
+ reader.skipField();
3226
+ break;
3227
+ }
3228
+ }
3229
+ return msg;
3230
+ };
3231
+
3232
+
3233
+ /**
3234
+ * Class method variant: serializes the given message to binary data
3235
+ * (in protobuf wire format), writing to the given BinaryWriter.
3236
+ * @param {!proto.kycserviceapi.UserKycSummaryResponse} message
3237
+ * @param {!jspb.BinaryWriter} writer
3238
+ */
3239
+ proto.kycserviceapi.UserKycSummaryResponse.serializeBinaryToWriter = function(message, writer) {
3240
+ message.serializeBinaryToWriter(writer);
3241
+ };
3242
+
3243
+
3244
+ /**
3245
+ * Serializes the message to binary data (in protobuf wire format).
3246
+ * @return {!Uint8Array}
3247
+ */
3248
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.serializeBinary = function() {
3249
+ var writer = new jspb.BinaryWriter();
3250
+ this.serializeBinaryToWriter(writer);
3251
+ return writer.getResultBuffer();
3252
+ };
3253
+
3254
+
3255
+ /**
3256
+ * Serializes the message to binary data (in protobuf wire format),
3257
+ * writing to the given BinaryWriter.
3258
+ * @param {!jspb.BinaryWriter} writer
3259
+ */
3260
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.serializeBinaryToWriter = function (writer) {
3261
+ var f = undefined;
3262
+ f = this.getResponsecode();
3263
+ if (f != null) {
3264
+ writer.writeMessage(
3265
+ 1,
3266
+ f,
3267
+ proto.kycserviceapi.ResponseCode.serializeBinaryToWriter
3268
+ );
3269
+ }
3270
+ f = this.getUser();
3271
+ if (f != null) {
3272
+ writer.writeMessage(
3273
+ 2,
3274
+ f,
3275
+ proto.kycserviceapi.User.serializeBinaryToWriter
3276
+ );
3277
+ }
3278
+ f = this.getIdrequested();
3279
+ if (f) {
3280
+ writer.writeBool(
3281
+ 3,
3282
+ f
3283
+ );
3284
+ }
3285
+ f = this.getRequestedpaymentmethodsList();
3286
+ if (f.length > 0) {
3287
+ writer.writeRepeatedMessage(
3288
+ 4,
3289
+ f,
3290
+ proto.kycserviceapi.RequestedDocument.serializeBinaryToWriter
3291
+ );
3292
+ }
3293
+ };
3294
+
3295
+
3296
+ /**
3297
+ * Creates a deep clone of this proto. No data is shared with the original.
3298
+ * @return {!proto.kycserviceapi.UserKycSummaryResponse} The clone.
3299
+ */
3300
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.cloneMessage = function() {
3301
+ return /** @type {!proto.kycserviceapi.UserKycSummaryResponse} */ (jspb.Message.cloneMessage(this));
3302
+ };
3303
+
3304
+
3305
+ /**
3306
+ * optional ResponseCode responseCode = 1;
3307
+ * @return {proto.kycserviceapi.ResponseCode}
3308
+ */
3309
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.getResponsecode = function() {
3310
+ return /** @type{proto.kycserviceapi.ResponseCode} */ (
3311
+ jspb.Message.getWrapperField(this, proto.kycserviceapi.ResponseCode, 1));
3312
+ };
3313
+
3314
+
3315
+ /** @param {proto.kycserviceapi.ResponseCode|undefined} value */
3316
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.setResponsecode = function(value) {
3317
+ jspb.Message.setWrapperField(this, 1, value);
3318
+ };
3319
+
3320
+
3321
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.clearResponsecode = function() {
3322
+ this.setResponsecode(undefined);
3323
+ };
3324
+
3325
+
3326
+ /**
3327
+ * Returns whether this field is set.
3328
+ * @return{!boolean}
3329
+ */
3330
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.hasResponsecode = function() {
3331
+ return jspb.Message.getField(this, 1) != null;
3332
+ };
3333
+
3334
+
3335
+ /**
3336
+ * optional User user = 2;
3337
+ * @return {proto.kycserviceapi.User}
3338
+ */
3339
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.getUser = function() {
3340
+ return /** @type{proto.kycserviceapi.User} */ (
3341
+ jspb.Message.getWrapperField(this, proto.kycserviceapi.User, 2));
3342
+ };
3343
+
3344
+
3345
+ /** @param {proto.kycserviceapi.User|undefined} value */
3346
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.setUser = function(value) {
3347
+ jspb.Message.setWrapperField(this, 2, value);
3348
+ };
3349
+
3350
+
3351
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.clearUser = function() {
3352
+ this.setUser(undefined);
3353
+ };
3354
+
3355
+
3356
+ /**
3357
+ * Returns whether this field is set.
3358
+ * @return{!boolean}
3359
+ */
3360
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.hasUser = function() {
3361
+ return jspb.Message.getField(this, 2) != null;
3362
+ };
3363
+
3364
+
3365
+ /**
3366
+ * optional bool idRequested = 3;
3367
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
3368
+ * You should avoid comparisons like {@code val === true/false} in those cases.
3369
+ * @return {boolean}
3370
+ */
3371
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.getIdrequested = function() {
3372
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 3, false));
3373
+ };
3374
+
3375
+
3376
+ /** @param {boolean} value */
3377
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.setIdrequested = function(value) {
3378
+ jspb.Message.setField(this, 3, value);
3379
+ };
3380
+
3381
+
3382
+ /**
3383
+ * repeated RequestedDocument requestedPaymentMethods = 4;
3384
+ * If you change this array by adding, removing or replacing elements, or if you
3385
+ * replace the array itself, then you must call the setter to update it.
3386
+ * @return {!Array.<!proto.kycserviceapi.RequestedDocument>}
3387
+ */
3388
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.getRequestedpaymentmethodsList = function() {
3389
+ return /** @type{!Array.<!proto.kycserviceapi.RequestedDocument>} */ (
3390
+ jspb.Message.getRepeatedWrapperField(this, proto.kycserviceapi.RequestedDocument, 4));
3391
+ };
3392
+
3393
+
3394
+ /** @param {Array.<!proto.kycserviceapi.RequestedDocument>} value */
3395
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.setRequestedpaymentmethodsList = function(value) {
3396
+ jspb.Message.setRepeatedWrapperField(this, 4, value);
3397
+ };
3398
+
3399
+
3400
+ proto.kycserviceapi.UserKycSummaryResponse.prototype.clearRequestedpaymentmethodsList = function() {
3401
+ this.setRequestedpaymentmethodsList([]);
3402
+ };
3403
+
3404
+
2920
3405
  /**
2921
3406
  * @enum {number}
2922
3407
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/kyc-client-grpcweb",
3
- "version": "21.8.38",
3
+ "version": "21.8.56",
4
4
  "description": "kyc-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",