protobuf-platform 1.2.340 → 1.2.342

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.
package/user/user_pb.js CHANGED
@@ -61,6 +61,8 @@ goog.exportSymbol('proto.user.NoteStatusResponse', null, global);
61
61
  goog.exportSymbol('proto.user.PaginationRequest', null, global);
62
62
  goog.exportSymbol('proto.user.PingRequest', null, global);
63
63
  goog.exportSymbol('proto.user.PongResponse', null, global);
64
+ goog.exportSymbol('proto.user.ProcessUserKycProviderWebhookRequest', null, global);
65
+ goog.exportSymbol('proto.user.ProcessUserKycProviderWebhookResponse', null, global);
64
66
  goog.exportSymbol('proto.user.ReadListRiskPlayersRequest', null, global);
65
67
  goog.exportSymbol('proto.user.ReadListUserKycDocumentsRequest', null, global);
66
68
  goog.exportSymbol('proto.user.ReadRiskPermissionMatrixLimitsRequest', null, global);
@@ -104,11 +106,14 @@ goog.exportSymbol('proto.user.SegmentSessionRuleItem', null, global);
104
106
  goog.exportSymbol('proto.user.SegmentSessionRuleRequest', null, global);
105
107
  goog.exportSymbol('proto.user.SegmentStatusResponse', null, global);
106
108
  goog.exportSymbol('proto.user.SetNewPasswordConfirmedRequest', null, global);
109
+ goog.exportSymbol('proto.user.StartUserKycVerificationRequest', null, global);
110
+ goog.exportSymbol('proto.user.StartUserKycVerificationResponse', null, global);
107
111
  goog.exportSymbol('proto.user.SumSubApplicantRequest', null, global);
108
112
  goog.exportSymbol('proto.user.SumSubDocumentItemRequest', null, global);
109
113
  goog.exportSymbol('proto.user.SumSubDocumentRequest', null, global);
110
114
  goog.exportSymbol('proto.user.SumSubDocumentRequest.RequestCase', null, global);
111
115
  goog.exportSymbol('proto.user.SumSubResponse', null, global);
116
+ goog.exportSymbol('proto.user.SyncUserKycProviderStatusRequest', null, global);
112
117
  goog.exportSymbol('proto.user.TelegramLoginRequest', null, global);
113
118
  goog.exportSymbol('proto.user.TournamentRulesInfoResponse', null, global);
114
119
  goog.exportSymbol('proto.user.UpdatePreDepositProfileFieldsRequest', null, global);
@@ -2121,9 +2126,114 @@ if (goog.DEBUG && !COMPILED) {
2121
2126
  * @extends {jspb.Message}
2122
2127
  * @constructor
2123
2128
  */
2124
- proto.user.ReadListRiskPlayersRequest = function(opt_data) {
2129
+ proto.user.StartUserKycVerificationRequest = function(opt_data) {
2130
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2131
+ };
2132
+ goog.inherits(proto.user.StartUserKycVerificationRequest, jspb.Message);
2133
+ if (goog.DEBUG && !COMPILED) {
2134
+ /**
2135
+ * @public
2136
+ * @override
2137
+ */
2138
+ proto.user.StartUserKycVerificationRequest.displayName = 'proto.user.StartUserKycVerificationRequest';
2139
+ }
2140
+ /**
2141
+ * Generated by JsPbCodeGenerator.
2142
+ * @param {Array=} opt_data Optional initial data array, typically from a
2143
+ * server response, or constructed directly in Javascript. The array is used
2144
+ * in place and becomes part of the constructed object. It is not cloned.
2145
+ * If no data is provided, the constructed object will be empty, but still
2146
+ * valid.
2147
+ * @extends {jspb.Message}
2148
+ * @constructor
2149
+ */
2150
+ proto.user.StartUserKycVerificationResponse = function(opt_data) {
2151
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2152
+ };
2153
+ goog.inherits(proto.user.StartUserKycVerificationResponse, jspb.Message);
2154
+ if (goog.DEBUG && !COMPILED) {
2155
+ /**
2156
+ * @public
2157
+ * @override
2158
+ */
2159
+ proto.user.StartUserKycVerificationResponse.displayName = 'proto.user.StartUserKycVerificationResponse';
2160
+ }
2161
+ /**
2162
+ * Generated by JsPbCodeGenerator.
2163
+ * @param {Array=} opt_data Optional initial data array, typically from a
2164
+ * server response, or constructed directly in Javascript. The array is used
2165
+ * in place and becomes part of the constructed object. It is not cloned.
2166
+ * If no data is provided, the constructed object will be empty, but still
2167
+ * valid.
2168
+ * @extends {jspb.Message}
2169
+ * @constructor
2170
+ */
2171
+ proto.user.ProcessUserKycProviderWebhookRequest = function(opt_data) {
2172
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2173
+ };
2174
+ goog.inherits(proto.user.ProcessUserKycProviderWebhookRequest, jspb.Message);
2175
+ if (goog.DEBUG && !COMPILED) {
2176
+ /**
2177
+ * @public
2178
+ * @override
2179
+ */
2180
+ proto.user.ProcessUserKycProviderWebhookRequest.displayName = 'proto.user.ProcessUserKycProviderWebhookRequest';
2181
+ }
2182
+ /**
2183
+ * Generated by JsPbCodeGenerator.
2184
+ * @param {Array=} opt_data Optional initial data array, typically from a
2185
+ * server response, or constructed directly in Javascript. The array is used
2186
+ * in place and becomes part of the constructed object. It is not cloned.
2187
+ * If no data is provided, the constructed object will be empty, but still
2188
+ * valid.
2189
+ * @extends {jspb.Message}
2190
+ * @constructor
2191
+ */
2192
+ proto.user.ProcessUserKycProviderWebhookResponse = function(opt_data) {
2193
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2194
+ };
2195
+ goog.inherits(proto.user.ProcessUserKycProviderWebhookResponse, jspb.Message);
2196
+ if (goog.DEBUG && !COMPILED) {
2197
+ /**
2198
+ * @public
2199
+ * @override
2200
+ */
2201
+ proto.user.ProcessUserKycProviderWebhookResponse.displayName = 'proto.user.ProcessUserKycProviderWebhookResponse';
2202
+ }
2203
+ /**
2204
+ * Generated by JsPbCodeGenerator.
2205
+ * @param {Array=} opt_data Optional initial data array, typically from a
2206
+ * server response, or constructed directly in Javascript. The array is used
2207
+ * in place and becomes part of the constructed object. It is not cloned.
2208
+ * If no data is provided, the constructed object will be empty, but still
2209
+ * valid.
2210
+ * @extends {jspb.Message}
2211
+ * @constructor
2212
+ */
2213
+ proto.user.SyncUserKycProviderStatusRequest = function(opt_data) {
2125
2214
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2126
2215
  };
2216
+ goog.inherits(proto.user.SyncUserKycProviderStatusRequest, jspb.Message);
2217
+ if (goog.DEBUG && !COMPILED) {
2218
+ /**
2219
+ * @public
2220
+ * @override
2221
+ */
2222
+ proto.user.SyncUserKycProviderStatusRequest.displayName = 'proto.user.SyncUserKycProviderStatusRequest';
2223
+ }
2224
+ /**
2225
+ * Generated by JsPbCodeGenerator.
2226
+ * @param {Array=} opt_data Optional initial data array, typically from a
2227
+ * server response, or constructed directly in Javascript. The array is used
2228
+ * in place and becomes part of the constructed object. It is not cloned.
2229
+ * If no data is provided, the constructed object will be empty, but still
2230
+ * valid.
2231
+ * @extends {jspb.Message}
2232
+ * @constructor
2233
+ */
2234
+ proto.user.ReadListRiskPlayersRequest = function(opt_data) {
2235
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.ReadListRiskPlayersRequest.repeatedFields_, null);
2236
+ };
2127
2237
  goog.inherits(proto.user.ReadListRiskPlayersRequest, jspb.Message);
2128
2238
  if (goog.DEBUG && !COMPILED) {
2129
2239
  /**
@@ -35893,7 +36003,16 @@ proto.user.UserKycProfileResponse.toObject = function(includeInstance, msg) {
35893
36003
  source: jspb.Message.getFieldWithDefault(msg, 4, ""),
35894
36004
  updatedBy: jspb.Message.getFieldWithDefault(msg, 5, 0),
35895
36005
  createdAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
35896
- updatedAt: jspb.Message.getFieldWithDefault(msg, 7, "")
36006
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
36007
+ kycProvider: jspb.Message.getFieldWithDefault(msg, 8, ""),
36008
+ providerApplicantId: jspb.Message.getFieldWithDefault(msg, 9, ""),
36009
+ providerSessionId: jspb.Message.getFieldWithDefault(msg, 10, ""),
36010
+ providerCheckId: jspb.Message.getFieldWithDefault(msg, 11, ""),
36011
+ providerStatus: jspb.Message.getFieldWithDefault(msg, 12, ""),
36012
+ providerReasonCode: jspb.Message.getFieldWithDefault(msg, 13, ""),
36013
+ providerLastEventId: jspb.Message.getFieldWithDefault(msg, 14, ""),
36014
+ providerLastEventAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
36015
+ providerUpdatedAt: jspb.Message.getFieldWithDefault(msg, 16, "")
35897
36016
  };
35898
36017
 
35899
36018
  if (includeInstance) {
@@ -35958,6 +36077,42 @@ proto.user.UserKycProfileResponse.deserializeBinaryFromReader = function(msg, re
35958
36077
  var value = /** @type {string} */ (reader.readString());
35959
36078
  msg.setUpdatedAt(value);
35960
36079
  break;
36080
+ case 8:
36081
+ var value = /** @type {string} */ (reader.readString());
36082
+ msg.setKycProvider(value);
36083
+ break;
36084
+ case 9:
36085
+ var value = /** @type {string} */ (reader.readString());
36086
+ msg.setProviderApplicantId(value);
36087
+ break;
36088
+ case 10:
36089
+ var value = /** @type {string} */ (reader.readString());
36090
+ msg.setProviderSessionId(value);
36091
+ break;
36092
+ case 11:
36093
+ var value = /** @type {string} */ (reader.readString());
36094
+ msg.setProviderCheckId(value);
36095
+ break;
36096
+ case 12:
36097
+ var value = /** @type {string} */ (reader.readString());
36098
+ msg.setProviderStatus(value);
36099
+ break;
36100
+ case 13:
36101
+ var value = /** @type {string} */ (reader.readString());
36102
+ msg.setProviderReasonCode(value);
36103
+ break;
36104
+ case 14:
36105
+ var value = /** @type {string} */ (reader.readString());
36106
+ msg.setProviderLastEventId(value);
36107
+ break;
36108
+ case 15:
36109
+ var value = /** @type {string} */ (reader.readString());
36110
+ msg.setProviderLastEventAt(value);
36111
+ break;
36112
+ case 16:
36113
+ var value = /** @type {string} */ (reader.readString());
36114
+ msg.setProviderUpdatedAt(value);
36115
+ break;
35961
36116
  default:
35962
36117
  reader.skipField();
35963
36118
  break;
@@ -36036,421 +36191,2835 @@ proto.user.UserKycProfileResponse.serializeBinaryToWriter = function(message, wr
36036
36191
  f
36037
36192
  );
36038
36193
  }
36039
- };
36040
-
36041
-
36042
- /**
36043
- * optional int32 user_id = 1;
36044
- * @return {number}
36045
- */
36046
- proto.user.UserKycProfileResponse.prototype.getUserId = function() {
36047
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
36048
- };
36049
-
36050
-
36051
- /**
36052
- * @param {number} value
36053
- * @return {!proto.user.UserKycProfileResponse} returns this
36054
- */
36055
- proto.user.UserKycProfileResponse.prototype.setUserId = function(value) {
36056
- return jspb.Message.setProto3IntField(this, 1, value);
36057
- };
36058
-
36059
-
36060
- /**
36061
- * optional string kyc_status = 2;
36062
- * @return {string}
36063
- */
36064
- proto.user.UserKycProfileResponse.prototype.getKycStatus = function() {
36065
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
36066
- };
36067
-
36068
-
36069
- /**
36070
- * @param {string} value
36071
- * @return {!proto.user.UserKycProfileResponse} returns this
36072
- */
36073
- proto.user.UserKycProfileResponse.prototype.setKycStatus = function(value) {
36074
- return jspb.Message.setField(this, 2, value);
36075
- };
36076
-
36077
-
36078
- /**
36079
- * Clears the field making it undefined.
36080
- * @return {!proto.user.UserKycProfileResponse} returns this
36081
- */
36082
- proto.user.UserKycProfileResponse.prototype.clearKycStatus = function() {
36083
- return jspb.Message.setField(this, 2, undefined);
36084
- };
36085
-
36086
-
36087
- /**
36088
- * Returns whether this field is set.
36089
- * @return {boolean}
36090
- */
36091
- proto.user.UserKycProfileResponse.prototype.hasKycStatus = function() {
36092
- return jspb.Message.getField(this, 2) != null;
36093
- };
36094
-
36095
-
36096
- /**
36097
- * optional string reason = 3;
36098
- * @return {string}
36099
- */
36100
- proto.user.UserKycProfileResponse.prototype.getReason = function() {
36101
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
36102
- };
36103
-
36104
-
36105
- /**
36106
- * @param {string} value
36107
- * @return {!proto.user.UserKycProfileResponse} returns this
36108
- */
36109
- proto.user.UserKycProfileResponse.prototype.setReason = function(value) {
36110
- return jspb.Message.setField(this, 3, value);
36111
- };
36112
-
36113
-
36114
- /**
36115
- * Clears the field making it undefined.
36116
- * @return {!proto.user.UserKycProfileResponse} returns this
36117
- */
36118
- proto.user.UserKycProfileResponse.prototype.clearReason = function() {
36119
- return jspb.Message.setField(this, 3, undefined);
36120
- };
36121
-
36122
-
36123
- /**
36124
- * Returns whether this field is set.
36125
- * @return {boolean}
36126
- */
36127
- proto.user.UserKycProfileResponse.prototype.hasReason = function() {
36128
- return jspb.Message.getField(this, 3) != null;
36129
- };
36130
-
36131
-
36132
- /**
36133
- * optional string source = 4;
36134
- * @return {string}
36135
- */
36136
- proto.user.UserKycProfileResponse.prototype.getSource = function() {
36137
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
36138
- };
36139
-
36140
-
36141
- /**
36142
- * @param {string} value
36143
- * @return {!proto.user.UserKycProfileResponse} returns this
36144
- */
36145
- proto.user.UserKycProfileResponse.prototype.setSource = function(value) {
36146
- return jspb.Message.setField(this, 4, value);
36147
- };
36148
-
36149
-
36150
- /**
36151
- * Clears the field making it undefined.
36152
- * @return {!proto.user.UserKycProfileResponse} returns this
36153
- */
36154
- proto.user.UserKycProfileResponse.prototype.clearSource = function() {
36155
- return jspb.Message.setField(this, 4, undefined);
36156
- };
36157
-
36158
-
36159
- /**
36160
- * Returns whether this field is set.
36161
- * @return {boolean}
36162
- */
36163
- proto.user.UserKycProfileResponse.prototype.hasSource = function() {
36164
- return jspb.Message.getField(this, 4) != null;
36165
- };
36166
-
36167
-
36168
- /**
36169
- * optional int32 updated_by = 5;
36170
- * @return {number}
36171
- */
36172
- proto.user.UserKycProfileResponse.prototype.getUpdatedBy = function() {
36173
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
36174
- };
36175
-
36176
-
36177
- /**
36178
- * @param {number} value
36179
- * @return {!proto.user.UserKycProfileResponse} returns this
36180
- */
36181
- proto.user.UserKycProfileResponse.prototype.setUpdatedBy = function(value) {
36182
- return jspb.Message.setField(this, 5, value);
36183
- };
36184
-
36185
-
36186
- /**
36187
- * Clears the field making it undefined.
36188
- * @return {!proto.user.UserKycProfileResponse} returns this
36189
- */
36190
- proto.user.UserKycProfileResponse.prototype.clearUpdatedBy = function() {
36191
- return jspb.Message.setField(this, 5, undefined);
36192
- };
36193
-
36194
-
36195
- /**
36196
- * Returns whether this field is set.
36197
- * @return {boolean}
36198
- */
36199
- proto.user.UserKycProfileResponse.prototype.hasUpdatedBy = function() {
36200
- return jspb.Message.getField(this, 5) != null;
36201
- };
36202
-
36203
-
36204
- /**
36205
- * optional string created_at = 6;
36206
- * @return {string}
36207
- */
36208
- proto.user.UserKycProfileResponse.prototype.getCreatedAt = function() {
36209
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
36210
- };
36211
-
36212
-
36213
- /**
36214
- * @param {string} value
36215
- * @return {!proto.user.UserKycProfileResponse} returns this
36216
- */
36217
- proto.user.UserKycProfileResponse.prototype.setCreatedAt = function(value) {
36218
- return jspb.Message.setField(this, 6, value);
36219
- };
36220
-
36221
-
36222
- /**
36223
- * Clears the field making it undefined.
36224
- * @return {!proto.user.UserKycProfileResponse} returns this
36225
- */
36226
- proto.user.UserKycProfileResponse.prototype.clearCreatedAt = function() {
36227
- return jspb.Message.setField(this, 6, undefined);
36228
- };
36229
-
36230
-
36231
- /**
36232
- * Returns whether this field is set.
36233
- * @return {boolean}
36234
- */
36235
- proto.user.UserKycProfileResponse.prototype.hasCreatedAt = function() {
36236
- return jspb.Message.getField(this, 6) != null;
36237
- };
36238
-
36239
-
36240
- /**
36241
- * optional string updated_at = 7;
36242
- * @return {string}
36243
- */
36244
- proto.user.UserKycProfileResponse.prototype.getUpdatedAt = function() {
36245
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
36246
- };
36247
-
36248
-
36249
- /**
36250
- * @param {string} value
36251
- * @return {!proto.user.UserKycProfileResponse} returns this
36252
- */
36253
- proto.user.UserKycProfileResponse.prototype.setUpdatedAt = function(value) {
36254
- return jspb.Message.setField(this, 7, value);
36255
- };
36256
-
36257
-
36258
- /**
36259
- * Clears the field making it undefined.
36260
- * @return {!proto.user.UserKycProfileResponse} returns this
36261
- */
36262
- proto.user.UserKycProfileResponse.prototype.clearUpdatedAt = function() {
36263
- return jspb.Message.setField(this, 7, undefined);
36264
- };
36265
-
36266
-
36267
- /**
36268
- * Returns whether this field is set.
36269
- * @return {boolean}
36270
- */
36271
- proto.user.UserKycProfileResponse.prototype.hasUpdatedAt = function() {
36272
- return jspb.Message.getField(this, 7) != null;
36273
- };
36274
-
36275
-
36276
-
36277
-
36278
-
36279
- if (jspb.Message.GENERATE_TO_OBJECT) {
36280
- /**
36281
- * Creates an object representation of this proto.
36282
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
36283
- * Optional fields that are not set will be set to undefined.
36284
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
36285
- * For the list of reserved names please see:
36286
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
36287
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
36288
- * JSPB instance for transitional soy proto support:
36289
- * http://goto/soy-param-migration
36290
- * @return {!Object}
36291
- */
36292
- proto.user.ReadListRiskPlayersRequest.prototype.toObject = function(opt_includeInstance) {
36293
- return proto.user.ReadListRiskPlayersRequest.toObject(opt_includeInstance, this);
36294
- };
36295
-
36296
-
36297
- /**
36298
- * Static version of the {@see toObject} method.
36299
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
36300
- * the JSPB instance for transitional soy proto support:
36301
- * http://goto/soy-param-migration
36302
- * @param {!proto.user.ReadListRiskPlayersRequest} msg The msg instance to transform.
36303
- * @return {!Object}
36304
- * @suppress {unusedLocalVariables} f is only used for nested messages
36305
- */
36306
- proto.user.ReadListRiskPlayersRequest.toObject = function(includeInstance, msg) {
36307
- var f, obj = {
36308
- limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
36309
- offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
36310
- order: jspb.Message.getFieldWithDefault(msg, 3, ""),
36311
- email: jspb.Message.getFieldWithDefault(msg, 4, ""),
36312
- userId: jspb.Message.getFieldWithDefault(msg, 5, 0),
36313
- riskLevel: jspb.Message.getFieldWithDefault(msg, 6, ""),
36314
- kycStatus: jspb.Message.getFieldWithDefault(msg, 7, "")
36315
- };
36316
-
36317
- if (includeInstance) {
36318
- obj.$jspbMessageInstance = msg;
36319
- }
36320
- return obj;
36321
- };
36322
- }
36323
-
36324
-
36325
- /**
36326
- * Deserializes binary data (in protobuf wire format).
36327
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
36328
- * @return {!proto.user.ReadListRiskPlayersRequest}
36329
- */
36330
- proto.user.ReadListRiskPlayersRequest.deserializeBinary = function(bytes) {
36331
- var reader = new jspb.BinaryReader(bytes);
36332
- var msg = new proto.user.ReadListRiskPlayersRequest;
36333
- return proto.user.ReadListRiskPlayersRequest.deserializeBinaryFromReader(msg, reader);
36334
- };
36335
-
36336
-
36337
- /**
36338
- * Deserializes binary data (in protobuf wire format) from the
36339
- * given reader into the given message object.
36340
- * @param {!proto.user.ReadListRiskPlayersRequest} msg The message object to deserialize into.
36341
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
36342
- * @return {!proto.user.ReadListRiskPlayersRequest}
36343
- */
36344
- proto.user.ReadListRiskPlayersRequest.deserializeBinaryFromReader = function(msg, reader) {
36345
- while (reader.nextField()) {
36346
- if (reader.isEndGroup()) {
36347
- break;
36348
- }
36349
- var field = reader.getFieldNumber();
36350
- switch (field) {
36351
- case 1:
36352
- var value = /** @type {number} */ (reader.readInt32());
36353
- msg.setLimit(value);
36354
- break;
36355
- case 2:
36356
- var value = /** @type {number} */ (reader.readInt32());
36357
- msg.setOffset(value);
36358
- break;
36359
- case 3:
36360
- var value = /** @type {string} */ (reader.readString());
36361
- msg.setOrder(value);
36362
- break;
36363
- case 4:
36364
- var value = /** @type {string} */ (reader.readString());
36365
- msg.setEmail(value);
36366
- break;
36367
- case 5:
36368
- var value = /** @type {number} */ (reader.readInt32());
36369
- msg.setUserId(value);
36370
- break;
36371
- case 6:
36372
- var value = /** @type {string} */ (reader.readString());
36373
- msg.setRiskLevel(value);
36374
- break;
36375
- case 7:
36376
- var value = /** @type {string} */ (reader.readString());
36377
- msg.setKycStatus(value);
36378
- break;
36379
- default:
36380
- reader.skipField();
36381
- break;
36382
- }
36383
- }
36384
- return msg;
36385
- };
36386
-
36387
-
36388
- /**
36389
- * Serializes the message to binary data (in protobuf wire format).
36390
- * @return {!Uint8Array}
36391
- */
36392
- proto.user.ReadListRiskPlayersRequest.prototype.serializeBinary = function() {
36393
- var writer = new jspb.BinaryWriter();
36394
- proto.user.ReadListRiskPlayersRequest.serializeBinaryToWriter(this, writer);
36395
- return writer.getResultBuffer();
36396
- };
36397
-
36398
-
36399
- /**
36400
- * Serializes the given message to binary data (in protobuf wire
36401
- * format), writing to the given BinaryWriter.
36402
- * @param {!proto.user.ReadListRiskPlayersRequest} message
36403
- * @param {!jspb.BinaryWriter} writer
36404
- * @suppress {unusedLocalVariables} f is only used for nested messages
36405
- */
36406
- proto.user.ReadListRiskPlayersRequest.serializeBinaryToWriter = function(message, writer) {
36407
- var f = undefined;
36408
- f = message.getLimit();
36409
- if (f !== 0) {
36410
- writer.writeInt32(
36411
- 1,
36412
- f
36413
- );
36414
- }
36415
- f = message.getOffset();
36416
- if (f !== 0) {
36417
- writer.writeInt32(
36418
- 2,
36419
- f
36420
- );
36421
- }
36422
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
36423
- if (f != null) {
36424
- writer.writeString(
36425
- 3,
36426
- f
36427
- );
36428
- }
36429
- f = /** @type {string} */ (jspb.Message.getField(message, 4));
36430
- if (f != null) {
36431
- writer.writeString(
36432
- 4,
36433
- f
36434
- );
36435
- }
36436
- f = /** @type {number} */ (jspb.Message.getField(message, 5));
36437
- if (f != null) {
36438
- writer.writeInt32(
36439
- 5,
36440
- f
36441
- );
36442
- }
36443
- f = /** @type {string} */ (jspb.Message.getField(message, 6));
36444
- if (f != null) {
36445
- writer.writeString(
36446
- 6,
36447
- f
36448
- );
36449
- }
36450
- f = /** @type {string} */ (jspb.Message.getField(message, 7));
36451
- if (f != null) {
36452
- writer.writeString(
36453
- 7,
36194
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
36195
+ if (f != null) {
36196
+ writer.writeString(
36197
+ 8,
36198
+ f
36199
+ );
36200
+ }
36201
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
36202
+ if (f != null) {
36203
+ writer.writeString(
36204
+ 9,
36205
+ f
36206
+ );
36207
+ }
36208
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
36209
+ if (f != null) {
36210
+ writer.writeString(
36211
+ 10,
36212
+ f
36213
+ );
36214
+ }
36215
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
36216
+ if (f != null) {
36217
+ writer.writeString(
36218
+ 11,
36219
+ f
36220
+ );
36221
+ }
36222
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
36223
+ if (f != null) {
36224
+ writer.writeString(
36225
+ 12,
36226
+ f
36227
+ );
36228
+ }
36229
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
36230
+ if (f != null) {
36231
+ writer.writeString(
36232
+ 13,
36233
+ f
36234
+ );
36235
+ }
36236
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
36237
+ if (f != null) {
36238
+ writer.writeString(
36239
+ 14,
36240
+ f
36241
+ );
36242
+ }
36243
+ f = /** @type {string} */ (jspb.Message.getField(message, 15));
36244
+ if (f != null) {
36245
+ writer.writeString(
36246
+ 15,
36247
+ f
36248
+ );
36249
+ }
36250
+ f = /** @type {string} */ (jspb.Message.getField(message, 16));
36251
+ if (f != null) {
36252
+ writer.writeString(
36253
+ 16,
36254
+ f
36255
+ );
36256
+ }
36257
+ };
36258
+
36259
+
36260
+ /**
36261
+ * optional int32 user_id = 1;
36262
+ * @return {number}
36263
+ */
36264
+ proto.user.UserKycProfileResponse.prototype.getUserId = function() {
36265
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
36266
+ };
36267
+
36268
+
36269
+ /**
36270
+ * @param {number} value
36271
+ * @return {!proto.user.UserKycProfileResponse} returns this
36272
+ */
36273
+ proto.user.UserKycProfileResponse.prototype.setUserId = function(value) {
36274
+ return jspb.Message.setProto3IntField(this, 1, value);
36275
+ };
36276
+
36277
+
36278
+ /**
36279
+ * optional string kyc_status = 2;
36280
+ * @return {string}
36281
+ */
36282
+ proto.user.UserKycProfileResponse.prototype.getKycStatus = function() {
36283
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
36284
+ };
36285
+
36286
+
36287
+ /**
36288
+ * @param {string} value
36289
+ * @return {!proto.user.UserKycProfileResponse} returns this
36290
+ */
36291
+ proto.user.UserKycProfileResponse.prototype.setKycStatus = function(value) {
36292
+ return jspb.Message.setField(this, 2, value);
36293
+ };
36294
+
36295
+
36296
+ /**
36297
+ * Clears the field making it undefined.
36298
+ * @return {!proto.user.UserKycProfileResponse} returns this
36299
+ */
36300
+ proto.user.UserKycProfileResponse.prototype.clearKycStatus = function() {
36301
+ return jspb.Message.setField(this, 2, undefined);
36302
+ };
36303
+
36304
+
36305
+ /**
36306
+ * Returns whether this field is set.
36307
+ * @return {boolean}
36308
+ */
36309
+ proto.user.UserKycProfileResponse.prototype.hasKycStatus = function() {
36310
+ return jspb.Message.getField(this, 2) != null;
36311
+ };
36312
+
36313
+
36314
+ /**
36315
+ * optional string reason = 3;
36316
+ * @return {string}
36317
+ */
36318
+ proto.user.UserKycProfileResponse.prototype.getReason = function() {
36319
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
36320
+ };
36321
+
36322
+
36323
+ /**
36324
+ * @param {string} value
36325
+ * @return {!proto.user.UserKycProfileResponse} returns this
36326
+ */
36327
+ proto.user.UserKycProfileResponse.prototype.setReason = function(value) {
36328
+ return jspb.Message.setField(this, 3, value);
36329
+ };
36330
+
36331
+
36332
+ /**
36333
+ * Clears the field making it undefined.
36334
+ * @return {!proto.user.UserKycProfileResponse} returns this
36335
+ */
36336
+ proto.user.UserKycProfileResponse.prototype.clearReason = function() {
36337
+ return jspb.Message.setField(this, 3, undefined);
36338
+ };
36339
+
36340
+
36341
+ /**
36342
+ * Returns whether this field is set.
36343
+ * @return {boolean}
36344
+ */
36345
+ proto.user.UserKycProfileResponse.prototype.hasReason = function() {
36346
+ return jspb.Message.getField(this, 3) != null;
36347
+ };
36348
+
36349
+
36350
+ /**
36351
+ * optional string source = 4;
36352
+ * @return {string}
36353
+ */
36354
+ proto.user.UserKycProfileResponse.prototype.getSource = function() {
36355
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
36356
+ };
36357
+
36358
+
36359
+ /**
36360
+ * @param {string} value
36361
+ * @return {!proto.user.UserKycProfileResponse} returns this
36362
+ */
36363
+ proto.user.UserKycProfileResponse.prototype.setSource = function(value) {
36364
+ return jspb.Message.setField(this, 4, value);
36365
+ };
36366
+
36367
+
36368
+ /**
36369
+ * Clears the field making it undefined.
36370
+ * @return {!proto.user.UserKycProfileResponse} returns this
36371
+ */
36372
+ proto.user.UserKycProfileResponse.prototype.clearSource = function() {
36373
+ return jspb.Message.setField(this, 4, undefined);
36374
+ };
36375
+
36376
+
36377
+ /**
36378
+ * Returns whether this field is set.
36379
+ * @return {boolean}
36380
+ */
36381
+ proto.user.UserKycProfileResponse.prototype.hasSource = function() {
36382
+ return jspb.Message.getField(this, 4) != null;
36383
+ };
36384
+
36385
+
36386
+ /**
36387
+ * optional int32 updated_by = 5;
36388
+ * @return {number}
36389
+ */
36390
+ proto.user.UserKycProfileResponse.prototype.getUpdatedBy = function() {
36391
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
36392
+ };
36393
+
36394
+
36395
+ /**
36396
+ * @param {number} value
36397
+ * @return {!proto.user.UserKycProfileResponse} returns this
36398
+ */
36399
+ proto.user.UserKycProfileResponse.prototype.setUpdatedBy = function(value) {
36400
+ return jspb.Message.setField(this, 5, value);
36401
+ };
36402
+
36403
+
36404
+ /**
36405
+ * Clears the field making it undefined.
36406
+ * @return {!proto.user.UserKycProfileResponse} returns this
36407
+ */
36408
+ proto.user.UserKycProfileResponse.prototype.clearUpdatedBy = function() {
36409
+ return jspb.Message.setField(this, 5, undefined);
36410
+ };
36411
+
36412
+
36413
+ /**
36414
+ * Returns whether this field is set.
36415
+ * @return {boolean}
36416
+ */
36417
+ proto.user.UserKycProfileResponse.prototype.hasUpdatedBy = function() {
36418
+ return jspb.Message.getField(this, 5) != null;
36419
+ };
36420
+
36421
+
36422
+ /**
36423
+ * optional string created_at = 6;
36424
+ * @return {string}
36425
+ */
36426
+ proto.user.UserKycProfileResponse.prototype.getCreatedAt = function() {
36427
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
36428
+ };
36429
+
36430
+
36431
+ /**
36432
+ * @param {string} value
36433
+ * @return {!proto.user.UserKycProfileResponse} returns this
36434
+ */
36435
+ proto.user.UserKycProfileResponse.prototype.setCreatedAt = function(value) {
36436
+ return jspb.Message.setField(this, 6, value);
36437
+ };
36438
+
36439
+
36440
+ /**
36441
+ * Clears the field making it undefined.
36442
+ * @return {!proto.user.UserKycProfileResponse} returns this
36443
+ */
36444
+ proto.user.UserKycProfileResponse.prototype.clearCreatedAt = function() {
36445
+ return jspb.Message.setField(this, 6, undefined);
36446
+ };
36447
+
36448
+
36449
+ /**
36450
+ * Returns whether this field is set.
36451
+ * @return {boolean}
36452
+ */
36453
+ proto.user.UserKycProfileResponse.prototype.hasCreatedAt = function() {
36454
+ return jspb.Message.getField(this, 6) != null;
36455
+ };
36456
+
36457
+
36458
+ /**
36459
+ * optional string updated_at = 7;
36460
+ * @return {string}
36461
+ */
36462
+ proto.user.UserKycProfileResponse.prototype.getUpdatedAt = function() {
36463
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
36464
+ };
36465
+
36466
+
36467
+ /**
36468
+ * @param {string} value
36469
+ * @return {!proto.user.UserKycProfileResponse} returns this
36470
+ */
36471
+ proto.user.UserKycProfileResponse.prototype.setUpdatedAt = function(value) {
36472
+ return jspb.Message.setField(this, 7, value);
36473
+ };
36474
+
36475
+
36476
+ /**
36477
+ * Clears the field making it undefined.
36478
+ * @return {!proto.user.UserKycProfileResponse} returns this
36479
+ */
36480
+ proto.user.UserKycProfileResponse.prototype.clearUpdatedAt = function() {
36481
+ return jspb.Message.setField(this, 7, undefined);
36482
+ };
36483
+
36484
+
36485
+ /**
36486
+ * Returns whether this field is set.
36487
+ * @return {boolean}
36488
+ */
36489
+ proto.user.UserKycProfileResponse.prototype.hasUpdatedAt = function() {
36490
+ return jspb.Message.getField(this, 7) != null;
36491
+ };
36492
+
36493
+
36494
+ /**
36495
+ * optional string kyc_provider = 8;
36496
+ * @return {string}
36497
+ */
36498
+ proto.user.UserKycProfileResponse.prototype.getKycProvider = function() {
36499
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
36500
+ };
36501
+
36502
+
36503
+ /**
36504
+ * @param {string} value
36505
+ * @return {!proto.user.UserKycProfileResponse} returns this
36506
+ */
36507
+ proto.user.UserKycProfileResponse.prototype.setKycProvider = function(value) {
36508
+ return jspb.Message.setField(this, 8, value);
36509
+ };
36510
+
36511
+
36512
+ /**
36513
+ * Clears the field making it undefined.
36514
+ * @return {!proto.user.UserKycProfileResponse} returns this
36515
+ */
36516
+ proto.user.UserKycProfileResponse.prototype.clearKycProvider = function() {
36517
+ return jspb.Message.setField(this, 8, undefined);
36518
+ };
36519
+
36520
+
36521
+ /**
36522
+ * Returns whether this field is set.
36523
+ * @return {boolean}
36524
+ */
36525
+ proto.user.UserKycProfileResponse.prototype.hasKycProvider = function() {
36526
+ return jspb.Message.getField(this, 8) != null;
36527
+ };
36528
+
36529
+
36530
+ /**
36531
+ * optional string provider_applicant_id = 9;
36532
+ * @return {string}
36533
+ */
36534
+ proto.user.UserKycProfileResponse.prototype.getProviderApplicantId = function() {
36535
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
36536
+ };
36537
+
36538
+
36539
+ /**
36540
+ * @param {string} value
36541
+ * @return {!proto.user.UserKycProfileResponse} returns this
36542
+ */
36543
+ proto.user.UserKycProfileResponse.prototype.setProviderApplicantId = function(value) {
36544
+ return jspb.Message.setField(this, 9, value);
36545
+ };
36546
+
36547
+
36548
+ /**
36549
+ * Clears the field making it undefined.
36550
+ * @return {!proto.user.UserKycProfileResponse} returns this
36551
+ */
36552
+ proto.user.UserKycProfileResponse.prototype.clearProviderApplicantId = function() {
36553
+ return jspb.Message.setField(this, 9, undefined);
36554
+ };
36555
+
36556
+
36557
+ /**
36558
+ * Returns whether this field is set.
36559
+ * @return {boolean}
36560
+ */
36561
+ proto.user.UserKycProfileResponse.prototype.hasProviderApplicantId = function() {
36562
+ return jspb.Message.getField(this, 9) != null;
36563
+ };
36564
+
36565
+
36566
+ /**
36567
+ * optional string provider_session_id = 10;
36568
+ * @return {string}
36569
+ */
36570
+ proto.user.UserKycProfileResponse.prototype.getProviderSessionId = function() {
36571
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
36572
+ };
36573
+
36574
+
36575
+ /**
36576
+ * @param {string} value
36577
+ * @return {!proto.user.UserKycProfileResponse} returns this
36578
+ */
36579
+ proto.user.UserKycProfileResponse.prototype.setProviderSessionId = function(value) {
36580
+ return jspb.Message.setField(this, 10, value);
36581
+ };
36582
+
36583
+
36584
+ /**
36585
+ * Clears the field making it undefined.
36586
+ * @return {!proto.user.UserKycProfileResponse} returns this
36587
+ */
36588
+ proto.user.UserKycProfileResponse.prototype.clearProviderSessionId = function() {
36589
+ return jspb.Message.setField(this, 10, undefined);
36590
+ };
36591
+
36592
+
36593
+ /**
36594
+ * Returns whether this field is set.
36595
+ * @return {boolean}
36596
+ */
36597
+ proto.user.UserKycProfileResponse.prototype.hasProviderSessionId = function() {
36598
+ return jspb.Message.getField(this, 10) != null;
36599
+ };
36600
+
36601
+
36602
+ /**
36603
+ * optional string provider_check_id = 11;
36604
+ * @return {string}
36605
+ */
36606
+ proto.user.UserKycProfileResponse.prototype.getProviderCheckId = function() {
36607
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
36608
+ };
36609
+
36610
+
36611
+ /**
36612
+ * @param {string} value
36613
+ * @return {!proto.user.UserKycProfileResponse} returns this
36614
+ */
36615
+ proto.user.UserKycProfileResponse.prototype.setProviderCheckId = function(value) {
36616
+ return jspb.Message.setField(this, 11, value);
36617
+ };
36618
+
36619
+
36620
+ /**
36621
+ * Clears the field making it undefined.
36622
+ * @return {!proto.user.UserKycProfileResponse} returns this
36623
+ */
36624
+ proto.user.UserKycProfileResponse.prototype.clearProviderCheckId = function() {
36625
+ return jspb.Message.setField(this, 11, undefined);
36626
+ };
36627
+
36628
+
36629
+ /**
36630
+ * Returns whether this field is set.
36631
+ * @return {boolean}
36632
+ */
36633
+ proto.user.UserKycProfileResponse.prototype.hasProviderCheckId = function() {
36634
+ return jspb.Message.getField(this, 11) != null;
36635
+ };
36636
+
36637
+
36638
+ /**
36639
+ * optional string provider_status = 12;
36640
+ * @return {string}
36641
+ */
36642
+ proto.user.UserKycProfileResponse.prototype.getProviderStatus = function() {
36643
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
36644
+ };
36645
+
36646
+
36647
+ /**
36648
+ * @param {string} value
36649
+ * @return {!proto.user.UserKycProfileResponse} returns this
36650
+ */
36651
+ proto.user.UserKycProfileResponse.prototype.setProviderStatus = function(value) {
36652
+ return jspb.Message.setField(this, 12, value);
36653
+ };
36654
+
36655
+
36656
+ /**
36657
+ * Clears the field making it undefined.
36658
+ * @return {!proto.user.UserKycProfileResponse} returns this
36659
+ */
36660
+ proto.user.UserKycProfileResponse.prototype.clearProviderStatus = function() {
36661
+ return jspb.Message.setField(this, 12, undefined);
36662
+ };
36663
+
36664
+
36665
+ /**
36666
+ * Returns whether this field is set.
36667
+ * @return {boolean}
36668
+ */
36669
+ proto.user.UserKycProfileResponse.prototype.hasProviderStatus = function() {
36670
+ return jspb.Message.getField(this, 12) != null;
36671
+ };
36672
+
36673
+
36674
+ /**
36675
+ * optional string provider_reason_code = 13;
36676
+ * @return {string}
36677
+ */
36678
+ proto.user.UserKycProfileResponse.prototype.getProviderReasonCode = function() {
36679
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
36680
+ };
36681
+
36682
+
36683
+ /**
36684
+ * @param {string} value
36685
+ * @return {!proto.user.UserKycProfileResponse} returns this
36686
+ */
36687
+ proto.user.UserKycProfileResponse.prototype.setProviderReasonCode = function(value) {
36688
+ return jspb.Message.setField(this, 13, value);
36689
+ };
36690
+
36691
+
36692
+ /**
36693
+ * Clears the field making it undefined.
36694
+ * @return {!proto.user.UserKycProfileResponse} returns this
36695
+ */
36696
+ proto.user.UserKycProfileResponse.prototype.clearProviderReasonCode = function() {
36697
+ return jspb.Message.setField(this, 13, undefined);
36698
+ };
36699
+
36700
+
36701
+ /**
36702
+ * Returns whether this field is set.
36703
+ * @return {boolean}
36704
+ */
36705
+ proto.user.UserKycProfileResponse.prototype.hasProviderReasonCode = function() {
36706
+ return jspb.Message.getField(this, 13) != null;
36707
+ };
36708
+
36709
+
36710
+ /**
36711
+ * optional string provider_last_event_id = 14;
36712
+ * @return {string}
36713
+ */
36714
+ proto.user.UserKycProfileResponse.prototype.getProviderLastEventId = function() {
36715
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
36716
+ };
36717
+
36718
+
36719
+ /**
36720
+ * @param {string} value
36721
+ * @return {!proto.user.UserKycProfileResponse} returns this
36722
+ */
36723
+ proto.user.UserKycProfileResponse.prototype.setProviderLastEventId = function(value) {
36724
+ return jspb.Message.setField(this, 14, value);
36725
+ };
36726
+
36727
+
36728
+ /**
36729
+ * Clears the field making it undefined.
36730
+ * @return {!proto.user.UserKycProfileResponse} returns this
36731
+ */
36732
+ proto.user.UserKycProfileResponse.prototype.clearProviderLastEventId = function() {
36733
+ return jspb.Message.setField(this, 14, undefined);
36734
+ };
36735
+
36736
+
36737
+ /**
36738
+ * Returns whether this field is set.
36739
+ * @return {boolean}
36740
+ */
36741
+ proto.user.UserKycProfileResponse.prototype.hasProviderLastEventId = function() {
36742
+ return jspb.Message.getField(this, 14) != null;
36743
+ };
36744
+
36745
+
36746
+ /**
36747
+ * optional string provider_last_event_at = 15;
36748
+ * @return {string}
36749
+ */
36750
+ proto.user.UserKycProfileResponse.prototype.getProviderLastEventAt = function() {
36751
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
36752
+ };
36753
+
36754
+
36755
+ /**
36756
+ * @param {string} value
36757
+ * @return {!proto.user.UserKycProfileResponse} returns this
36758
+ */
36759
+ proto.user.UserKycProfileResponse.prototype.setProviderLastEventAt = function(value) {
36760
+ return jspb.Message.setField(this, 15, value);
36761
+ };
36762
+
36763
+
36764
+ /**
36765
+ * Clears the field making it undefined.
36766
+ * @return {!proto.user.UserKycProfileResponse} returns this
36767
+ */
36768
+ proto.user.UserKycProfileResponse.prototype.clearProviderLastEventAt = function() {
36769
+ return jspb.Message.setField(this, 15, undefined);
36770
+ };
36771
+
36772
+
36773
+ /**
36774
+ * Returns whether this field is set.
36775
+ * @return {boolean}
36776
+ */
36777
+ proto.user.UserKycProfileResponse.prototype.hasProviderLastEventAt = function() {
36778
+ return jspb.Message.getField(this, 15) != null;
36779
+ };
36780
+
36781
+
36782
+ /**
36783
+ * optional string provider_updated_at = 16;
36784
+ * @return {string}
36785
+ */
36786
+ proto.user.UserKycProfileResponse.prototype.getProviderUpdatedAt = function() {
36787
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
36788
+ };
36789
+
36790
+
36791
+ /**
36792
+ * @param {string} value
36793
+ * @return {!proto.user.UserKycProfileResponse} returns this
36794
+ */
36795
+ proto.user.UserKycProfileResponse.prototype.setProviderUpdatedAt = function(value) {
36796
+ return jspb.Message.setField(this, 16, value);
36797
+ };
36798
+
36799
+
36800
+ /**
36801
+ * Clears the field making it undefined.
36802
+ * @return {!proto.user.UserKycProfileResponse} returns this
36803
+ */
36804
+ proto.user.UserKycProfileResponse.prototype.clearProviderUpdatedAt = function() {
36805
+ return jspb.Message.setField(this, 16, undefined);
36806
+ };
36807
+
36808
+
36809
+ /**
36810
+ * Returns whether this field is set.
36811
+ * @return {boolean}
36812
+ */
36813
+ proto.user.UserKycProfileResponse.prototype.hasProviderUpdatedAt = function() {
36814
+ return jspb.Message.getField(this, 16) != null;
36815
+ };
36816
+
36817
+
36818
+
36819
+
36820
+
36821
+ if (jspb.Message.GENERATE_TO_OBJECT) {
36822
+ /**
36823
+ * Creates an object representation of this proto.
36824
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
36825
+ * Optional fields that are not set will be set to undefined.
36826
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
36827
+ * For the list of reserved names please see:
36828
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
36829
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
36830
+ * JSPB instance for transitional soy proto support:
36831
+ * http://goto/soy-param-migration
36832
+ * @return {!Object}
36833
+ */
36834
+ proto.user.StartUserKycVerificationRequest.prototype.toObject = function(opt_includeInstance) {
36835
+ return proto.user.StartUserKycVerificationRequest.toObject(opt_includeInstance, this);
36836
+ };
36837
+
36838
+
36839
+ /**
36840
+ * Static version of the {@see toObject} method.
36841
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
36842
+ * the JSPB instance for transitional soy proto support:
36843
+ * http://goto/soy-param-migration
36844
+ * @param {!proto.user.StartUserKycVerificationRequest} msg The msg instance to transform.
36845
+ * @return {!Object}
36846
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36847
+ */
36848
+ proto.user.StartUserKycVerificationRequest.toObject = function(includeInstance, msg) {
36849
+ var f, obj = {
36850
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
36851
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
36852
+ level: jspb.Message.getFieldWithDefault(msg, 3, ""),
36853
+ locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
36854
+ returnUrl: jspb.Message.getFieldWithDefault(msg, 5, ""),
36855
+ callbackUrl: jspb.Message.getFieldWithDefault(msg, 6, ""),
36856
+ correlationId: jspb.Message.getFieldWithDefault(msg, 7, "")
36857
+ };
36858
+
36859
+ if (includeInstance) {
36860
+ obj.$jspbMessageInstance = msg;
36861
+ }
36862
+ return obj;
36863
+ };
36864
+ }
36865
+
36866
+
36867
+ /**
36868
+ * Deserializes binary data (in protobuf wire format).
36869
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
36870
+ * @return {!proto.user.StartUserKycVerificationRequest}
36871
+ */
36872
+ proto.user.StartUserKycVerificationRequest.deserializeBinary = function(bytes) {
36873
+ var reader = new jspb.BinaryReader(bytes);
36874
+ var msg = new proto.user.StartUserKycVerificationRequest;
36875
+ return proto.user.StartUserKycVerificationRequest.deserializeBinaryFromReader(msg, reader);
36876
+ };
36877
+
36878
+
36879
+ /**
36880
+ * Deserializes binary data (in protobuf wire format) from the
36881
+ * given reader into the given message object.
36882
+ * @param {!proto.user.StartUserKycVerificationRequest} msg The message object to deserialize into.
36883
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
36884
+ * @return {!proto.user.StartUserKycVerificationRequest}
36885
+ */
36886
+ proto.user.StartUserKycVerificationRequest.deserializeBinaryFromReader = function(msg, reader) {
36887
+ while (reader.nextField()) {
36888
+ if (reader.isEndGroup()) {
36889
+ break;
36890
+ }
36891
+ var field = reader.getFieldNumber();
36892
+ switch (field) {
36893
+ case 1:
36894
+ var value = /** @type {number} */ (reader.readInt32());
36895
+ msg.setUserId(value);
36896
+ break;
36897
+ case 2:
36898
+ var value = /** @type {string} */ (reader.readString());
36899
+ msg.setUserPublicId(value);
36900
+ break;
36901
+ case 3:
36902
+ var value = /** @type {string} */ (reader.readString());
36903
+ msg.setLevel(value);
36904
+ break;
36905
+ case 4:
36906
+ var value = /** @type {string} */ (reader.readString());
36907
+ msg.setLocale(value);
36908
+ break;
36909
+ case 5:
36910
+ var value = /** @type {string} */ (reader.readString());
36911
+ msg.setReturnUrl(value);
36912
+ break;
36913
+ case 6:
36914
+ var value = /** @type {string} */ (reader.readString());
36915
+ msg.setCallbackUrl(value);
36916
+ break;
36917
+ case 7:
36918
+ var value = /** @type {string} */ (reader.readString());
36919
+ msg.setCorrelationId(value);
36920
+ break;
36921
+ default:
36922
+ reader.skipField();
36923
+ break;
36924
+ }
36925
+ }
36926
+ return msg;
36927
+ };
36928
+
36929
+
36930
+ /**
36931
+ * Serializes the message to binary data (in protobuf wire format).
36932
+ * @return {!Uint8Array}
36933
+ */
36934
+ proto.user.StartUserKycVerificationRequest.prototype.serializeBinary = function() {
36935
+ var writer = new jspb.BinaryWriter();
36936
+ proto.user.StartUserKycVerificationRequest.serializeBinaryToWriter(this, writer);
36937
+ return writer.getResultBuffer();
36938
+ };
36939
+
36940
+
36941
+ /**
36942
+ * Serializes the given message to binary data (in protobuf wire
36943
+ * format), writing to the given BinaryWriter.
36944
+ * @param {!proto.user.StartUserKycVerificationRequest} message
36945
+ * @param {!jspb.BinaryWriter} writer
36946
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36947
+ */
36948
+ proto.user.StartUserKycVerificationRequest.serializeBinaryToWriter = function(message, writer) {
36949
+ var f = undefined;
36950
+ f = message.getUserId();
36951
+ if (f !== 0) {
36952
+ writer.writeInt32(
36953
+ 1,
36954
+ f
36955
+ );
36956
+ }
36957
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
36958
+ if (f != null) {
36959
+ writer.writeString(
36960
+ 2,
36961
+ f
36962
+ );
36963
+ }
36964
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
36965
+ if (f != null) {
36966
+ writer.writeString(
36967
+ 3,
36968
+ f
36969
+ );
36970
+ }
36971
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
36972
+ if (f != null) {
36973
+ writer.writeString(
36974
+ 4,
36975
+ f
36976
+ );
36977
+ }
36978
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
36979
+ if (f != null) {
36980
+ writer.writeString(
36981
+ 5,
36982
+ f
36983
+ );
36984
+ }
36985
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
36986
+ if (f != null) {
36987
+ writer.writeString(
36988
+ 6,
36989
+ f
36990
+ );
36991
+ }
36992
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
36993
+ if (f != null) {
36994
+ writer.writeString(
36995
+ 7,
36996
+ f
36997
+ );
36998
+ }
36999
+ };
37000
+
37001
+
37002
+ /**
37003
+ * optional int32 user_id = 1;
37004
+ * @return {number}
37005
+ */
37006
+ proto.user.StartUserKycVerificationRequest.prototype.getUserId = function() {
37007
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
37008
+ };
37009
+
37010
+
37011
+ /**
37012
+ * @param {number} value
37013
+ * @return {!proto.user.StartUserKycVerificationRequest} returns this
37014
+ */
37015
+ proto.user.StartUserKycVerificationRequest.prototype.setUserId = function(value) {
37016
+ return jspb.Message.setProto3IntField(this, 1, value);
37017
+ };
37018
+
37019
+
37020
+ /**
37021
+ * optional string user_public_id = 2;
37022
+ * @return {string}
37023
+ */
37024
+ proto.user.StartUserKycVerificationRequest.prototype.getUserPublicId = function() {
37025
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
37026
+ };
37027
+
37028
+
37029
+ /**
37030
+ * @param {string} value
37031
+ * @return {!proto.user.StartUserKycVerificationRequest} returns this
37032
+ */
37033
+ proto.user.StartUserKycVerificationRequest.prototype.setUserPublicId = function(value) {
37034
+ return jspb.Message.setField(this, 2, value);
37035
+ };
37036
+
37037
+
37038
+ /**
37039
+ * Clears the field making it undefined.
37040
+ * @return {!proto.user.StartUserKycVerificationRequest} returns this
37041
+ */
37042
+ proto.user.StartUserKycVerificationRequest.prototype.clearUserPublicId = function() {
37043
+ return jspb.Message.setField(this, 2, undefined);
37044
+ };
37045
+
37046
+
37047
+ /**
37048
+ * Returns whether this field is set.
37049
+ * @return {boolean}
37050
+ */
37051
+ proto.user.StartUserKycVerificationRequest.prototype.hasUserPublicId = function() {
37052
+ return jspb.Message.getField(this, 2) != null;
37053
+ };
37054
+
37055
+
37056
+ /**
37057
+ * optional string level = 3;
37058
+ * @return {string}
37059
+ */
37060
+ proto.user.StartUserKycVerificationRequest.prototype.getLevel = function() {
37061
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
37062
+ };
37063
+
37064
+
37065
+ /**
37066
+ * @param {string} value
37067
+ * @return {!proto.user.StartUserKycVerificationRequest} returns this
37068
+ */
37069
+ proto.user.StartUserKycVerificationRequest.prototype.setLevel = function(value) {
37070
+ return jspb.Message.setField(this, 3, value);
37071
+ };
37072
+
37073
+
37074
+ /**
37075
+ * Clears the field making it undefined.
37076
+ * @return {!proto.user.StartUserKycVerificationRequest} returns this
37077
+ */
37078
+ proto.user.StartUserKycVerificationRequest.prototype.clearLevel = function() {
37079
+ return jspb.Message.setField(this, 3, undefined);
37080
+ };
37081
+
37082
+
37083
+ /**
37084
+ * Returns whether this field is set.
37085
+ * @return {boolean}
37086
+ */
37087
+ proto.user.StartUserKycVerificationRequest.prototype.hasLevel = function() {
37088
+ return jspb.Message.getField(this, 3) != null;
37089
+ };
37090
+
37091
+
37092
+ /**
37093
+ * optional string locale = 4;
37094
+ * @return {string}
37095
+ */
37096
+ proto.user.StartUserKycVerificationRequest.prototype.getLocale = function() {
37097
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
37098
+ };
37099
+
37100
+
37101
+ /**
37102
+ * @param {string} value
37103
+ * @return {!proto.user.StartUserKycVerificationRequest} returns this
37104
+ */
37105
+ proto.user.StartUserKycVerificationRequest.prototype.setLocale = function(value) {
37106
+ return jspb.Message.setField(this, 4, value);
37107
+ };
37108
+
37109
+
37110
+ /**
37111
+ * Clears the field making it undefined.
37112
+ * @return {!proto.user.StartUserKycVerificationRequest} returns this
37113
+ */
37114
+ proto.user.StartUserKycVerificationRequest.prototype.clearLocale = function() {
37115
+ return jspb.Message.setField(this, 4, undefined);
37116
+ };
37117
+
37118
+
37119
+ /**
37120
+ * Returns whether this field is set.
37121
+ * @return {boolean}
37122
+ */
37123
+ proto.user.StartUserKycVerificationRequest.prototype.hasLocale = function() {
37124
+ return jspb.Message.getField(this, 4) != null;
37125
+ };
37126
+
37127
+
37128
+ /**
37129
+ * optional string return_url = 5;
37130
+ * @return {string}
37131
+ */
37132
+ proto.user.StartUserKycVerificationRequest.prototype.getReturnUrl = function() {
37133
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
37134
+ };
37135
+
37136
+
37137
+ /**
37138
+ * @param {string} value
37139
+ * @return {!proto.user.StartUserKycVerificationRequest} returns this
37140
+ */
37141
+ proto.user.StartUserKycVerificationRequest.prototype.setReturnUrl = function(value) {
37142
+ return jspb.Message.setField(this, 5, value);
37143
+ };
37144
+
37145
+
37146
+ /**
37147
+ * Clears the field making it undefined.
37148
+ * @return {!proto.user.StartUserKycVerificationRequest} returns this
37149
+ */
37150
+ proto.user.StartUserKycVerificationRequest.prototype.clearReturnUrl = function() {
37151
+ return jspb.Message.setField(this, 5, undefined);
37152
+ };
37153
+
37154
+
37155
+ /**
37156
+ * Returns whether this field is set.
37157
+ * @return {boolean}
37158
+ */
37159
+ proto.user.StartUserKycVerificationRequest.prototype.hasReturnUrl = function() {
37160
+ return jspb.Message.getField(this, 5) != null;
37161
+ };
37162
+
37163
+
37164
+ /**
37165
+ * optional string callback_url = 6;
37166
+ * @return {string}
37167
+ */
37168
+ proto.user.StartUserKycVerificationRequest.prototype.getCallbackUrl = function() {
37169
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
37170
+ };
37171
+
37172
+
37173
+ /**
37174
+ * @param {string} value
37175
+ * @return {!proto.user.StartUserKycVerificationRequest} returns this
37176
+ */
37177
+ proto.user.StartUserKycVerificationRequest.prototype.setCallbackUrl = function(value) {
37178
+ return jspb.Message.setField(this, 6, value);
37179
+ };
37180
+
37181
+
37182
+ /**
37183
+ * Clears the field making it undefined.
37184
+ * @return {!proto.user.StartUserKycVerificationRequest} returns this
37185
+ */
37186
+ proto.user.StartUserKycVerificationRequest.prototype.clearCallbackUrl = function() {
37187
+ return jspb.Message.setField(this, 6, undefined);
37188
+ };
37189
+
37190
+
37191
+ /**
37192
+ * Returns whether this field is set.
37193
+ * @return {boolean}
37194
+ */
37195
+ proto.user.StartUserKycVerificationRequest.prototype.hasCallbackUrl = function() {
37196
+ return jspb.Message.getField(this, 6) != null;
37197
+ };
37198
+
37199
+
37200
+ /**
37201
+ * optional string correlation_id = 7;
37202
+ * @return {string}
37203
+ */
37204
+ proto.user.StartUserKycVerificationRequest.prototype.getCorrelationId = function() {
37205
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
37206
+ };
37207
+
37208
+
37209
+ /**
37210
+ * @param {string} value
37211
+ * @return {!proto.user.StartUserKycVerificationRequest} returns this
37212
+ */
37213
+ proto.user.StartUserKycVerificationRequest.prototype.setCorrelationId = function(value) {
37214
+ return jspb.Message.setField(this, 7, value);
37215
+ };
37216
+
37217
+
37218
+ /**
37219
+ * Clears the field making it undefined.
37220
+ * @return {!proto.user.StartUserKycVerificationRequest} returns this
37221
+ */
37222
+ proto.user.StartUserKycVerificationRequest.prototype.clearCorrelationId = function() {
37223
+ return jspb.Message.setField(this, 7, undefined);
37224
+ };
37225
+
37226
+
37227
+ /**
37228
+ * Returns whether this field is set.
37229
+ * @return {boolean}
37230
+ */
37231
+ proto.user.StartUserKycVerificationRequest.prototype.hasCorrelationId = function() {
37232
+ return jspb.Message.getField(this, 7) != null;
37233
+ };
37234
+
37235
+
37236
+
37237
+
37238
+
37239
+ if (jspb.Message.GENERATE_TO_OBJECT) {
37240
+ /**
37241
+ * Creates an object representation of this proto.
37242
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
37243
+ * Optional fields that are not set will be set to undefined.
37244
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
37245
+ * For the list of reserved names please see:
37246
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
37247
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
37248
+ * JSPB instance for transitional soy proto support:
37249
+ * http://goto/soy-param-migration
37250
+ * @return {!Object}
37251
+ */
37252
+ proto.user.StartUserKycVerificationResponse.prototype.toObject = function(opt_includeInstance) {
37253
+ return proto.user.StartUserKycVerificationResponse.toObject(opt_includeInstance, this);
37254
+ };
37255
+
37256
+
37257
+ /**
37258
+ * Static version of the {@see toObject} method.
37259
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
37260
+ * the JSPB instance for transitional soy proto support:
37261
+ * http://goto/soy-param-migration
37262
+ * @param {!proto.user.StartUserKycVerificationResponse} msg The msg instance to transform.
37263
+ * @return {!Object}
37264
+ * @suppress {unusedLocalVariables} f is only used for nested messages
37265
+ */
37266
+ proto.user.StartUserKycVerificationResponse.toObject = function(includeInstance, msg) {
37267
+ var f, obj = {
37268
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
37269
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
37270
+ kycStatus: jspb.Message.getFieldWithDefault(msg, 3, ""),
37271
+ kycProvider: jspb.Message.getFieldWithDefault(msg, 4, ""),
37272
+ providerApplicantId: jspb.Message.getFieldWithDefault(msg, 5, ""),
37273
+ providerSessionId: jspb.Message.getFieldWithDefault(msg, 6, ""),
37274
+ verificationUrl: jspb.Message.getFieldWithDefault(msg, 7, ""),
37275
+ verificationToken: jspb.Message.getFieldWithDefault(msg, 8, ""),
37276
+ expiresAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
37277
+ createdAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
37278
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 11, "")
37279
+ };
37280
+
37281
+ if (includeInstance) {
37282
+ obj.$jspbMessageInstance = msg;
37283
+ }
37284
+ return obj;
37285
+ };
37286
+ }
37287
+
37288
+
37289
+ /**
37290
+ * Deserializes binary data (in protobuf wire format).
37291
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
37292
+ * @return {!proto.user.StartUserKycVerificationResponse}
37293
+ */
37294
+ proto.user.StartUserKycVerificationResponse.deserializeBinary = function(bytes) {
37295
+ var reader = new jspb.BinaryReader(bytes);
37296
+ var msg = new proto.user.StartUserKycVerificationResponse;
37297
+ return proto.user.StartUserKycVerificationResponse.deserializeBinaryFromReader(msg, reader);
37298
+ };
37299
+
37300
+
37301
+ /**
37302
+ * Deserializes binary data (in protobuf wire format) from the
37303
+ * given reader into the given message object.
37304
+ * @param {!proto.user.StartUserKycVerificationResponse} msg The message object to deserialize into.
37305
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
37306
+ * @return {!proto.user.StartUserKycVerificationResponse}
37307
+ */
37308
+ proto.user.StartUserKycVerificationResponse.deserializeBinaryFromReader = function(msg, reader) {
37309
+ while (reader.nextField()) {
37310
+ if (reader.isEndGroup()) {
37311
+ break;
37312
+ }
37313
+ var field = reader.getFieldNumber();
37314
+ switch (field) {
37315
+ case 1:
37316
+ var value = /** @type {number} */ (reader.readInt32());
37317
+ msg.setUserId(value);
37318
+ break;
37319
+ case 2:
37320
+ var value = /** @type {string} */ (reader.readString());
37321
+ msg.setUserPublicId(value);
37322
+ break;
37323
+ case 3:
37324
+ var value = /** @type {string} */ (reader.readString());
37325
+ msg.setKycStatus(value);
37326
+ break;
37327
+ case 4:
37328
+ var value = /** @type {string} */ (reader.readString());
37329
+ msg.setKycProvider(value);
37330
+ break;
37331
+ case 5:
37332
+ var value = /** @type {string} */ (reader.readString());
37333
+ msg.setProviderApplicantId(value);
37334
+ break;
37335
+ case 6:
37336
+ var value = /** @type {string} */ (reader.readString());
37337
+ msg.setProviderSessionId(value);
37338
+ break;
37339
+ case 7:
37340
+ var value = /** @type {string} */ (reader.readString());
37341
+ msg.setVerificationUrl(value);
37342
+ break;
37343
+ case 8:
37344
+ var value = /** @type {string} */ (reader.readString());
37345
+ msg.setVerificationToken(value);
37346
+ break;
37347
+ case 9:
37348
+ var value = /** @type {string} */ (reader.readString());
37349
+ msg.setExpiresAt(value);
37350
+ break;
37351
+ case 10:
37352
+ var value = /** @type {string} */ (reader.readString());
37353
+ msg.setCreatedAt(value);
37354
+ break;
37355
+ case 11:
37356
+ var value = /** @type {string} */ (reader.readString());
37357
+ msg.setUpdatedAt(value);
37358
+ break;
37359
+ default:
37360
+ reader.skipField();
37361
+ break;
37362
+ }
37363
+ }
37364
+ return msg;
37365
+ };
37366
+
37367
+
37368
+ /**
37369
+ * Serializes the message to binary data (in protobuf wire format).
37370
+ * @return {!Uint8Array}
37371
+ */
37372
+ proto.user.StartUserKycVerificationResponse.prototype.serializeBinary = function() {
37373
+ var writer = new jspb.BinaryWriter();
37374
+ proto.user.StartUserKycVerificationResponse.serializeBinaryToWriter(this, writer);
37375
+ return writer.getResultBuffer();
37376
+ };
37377
+
37378
+
37379
+ /**
37380
+ * Serializes the given message to binary data (in protobuf wire
37381
+ * format), writing to the given BinaryWriter.
37382
+ * @param {!proto.user.StartUserKycVerificationResponse} message
37383
+ * @param {!jspb.BinaryWriter} writer
37384
+ * @suppress {unusedLocalVariables} f is only used for nested messages
37385
+ */
37386
+ proto.user.StartUserKycVerificationResponse.serializeBinaryToWriter = function(message, writer) {
37387
+ var f = undefined;
37388
+ f = message.getUserId();
37389
+ if (f !== 0) {
37390
+ writer.writeInt32(
37391
+ 1,
37392
+ f
37393
+ );
37394
+ }
37395
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
37396
+ if (f != null) {
37397
+ writer.writeString(
37398
+ 2,
37399
+ f
37400
+ );
37401
+ }
37402
+ f = message.getKycStatus();
37403
+ if (f.length > 0) {
37404
+ writer.writeString(
37405
+ 3,
37406
+ f
37407
+ );
37408
+ }
37409
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
37410
+ if (f != null) {
37411
+ writer.writeString(
37412
+ 4,
37413
+ f
37414
+ );
37415
+ }
37416
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
37417
+ if (f != null) {
37418
+ writer.writeString(
37419
+ 5,
37420
+ f
37421
+ );
37422
+ }
37423
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
37424
+ if (f != null) {
37425
+ writer.writeString(
37426
+ 6,
37427
+ f
37428
+ );
37429
+ }
37430
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
37431
+ if (f != null) {
37432
+ writer.writeString(
37433
+ 7,
37434
+ f
37435
+ );
37436
+ }
37437
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
37438
+ if (f != null) {
37439
+ writer.writeString(
37440
+ 8,
37441
+ f
37442
+ );
37443
+ }
37444
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
37445
+ if (f != null) {
37446
+ writer.writeString(
37447
+ 9,
37448
+ f
37449
+ );
37450
+ }
37451
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
37452
+ if (f != null) {
37453
+ writer.writeString(
37454
+ 10,
37455
+ f
37456
+ );
37457
+ }
37458
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
37459
+ if (f != null) {
37460
+ writer.writeString(
37461
+ 11,
37462
+ f
37463
+ );
37464
+ }
37465
+ };
37466
+
37467
+
37468
+ /**
37469
+ * optional int32 user_id = 1;
37470
+ * @return {number}
37471
+ */
37472
+ proto.user.StartUserKycVerificationResponse.prototype.getUserId = function() {
37473
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
37474
+ };
37475
+
37476
+
37477
+ /**
37478
+ * @param {number} value
37479
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37480
+ */
37481
+ proto.user.StartUserKycVerificationResponse.prototype.setUserId = function(value) {
37482
+ return jspb.Message.setProto3IntField(this, 1, value);
37483
+ };
37484
+
37485
+
37486
+ /**
37487
+ * optional string user_public_id = 2;
37488
+ * @return {string}
37489
+ */
37490
+ proto.user.StartUserKycVerificationResponse.prototype.getUserPublicId = function() {
37491
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
37492
+ };
37493
+
37494
+
37495
+ /**
37496
+ * @param {string} value
37497
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37498
+ */
37499
+ proto.user.StartUserKycVerificationResponse.prototype.setUserPublicId = function(value) {
37500
+ return jspb.Message.setField(this, 2, value);
37501
+ };
37502
+
37503
+
37504
+ /**
37505
+ * Clears the field making it undefined.
37506
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37507
+ */
37508
+ proto.user.StartUserKycVerificationResponse.prototype.clearUserPublicId = function() {
37509
+ return jspb.Message.setField(this, 2, undefined);
37510
+ };
37511
+
37512
+
37513
+ /**
37514
+ * Returns whether this field is set.
37515
+ * @return {boolean}
37516
+ */
37517
+ proto.user.StartUserKycVerificationResponse.prototype.hasUserPublicId = function() {
37518
+ return jspb.Message.getField(this, 2) != null;
37519
+ };
37520
+
37521
+
37522
+ /**
37523
+ * optional string kyc_status = 3;
37524
+ * @return {string}
37525
+ */
37526
+ proto.user.StartUserKycVerificationResponse.prototype.getKycStatus = function() {
37527
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
37528
+ };
37529
+
37530
+
37531
+ /**
37532
+ * @param {string} value
37533
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37534
+ */
37535
+ proto.user.StartUserKycVerificationResponse.prototype.setKycStatus = function(value) {
37536
+ return jspb.Message.setProto3StringField(this, 3, value);
37537
+ };
37538
+
37539
+
37540
+ /**
37541
+ * optional string kyc_provider = 4;
37542
+ * @return {string}
37543
+ */
37544
+ proto.user.StartUserKycVerificationResponse.prototype.getKycProvider = function() {
37545
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
37546
+ };
37547
+
37548
+
37549
+ /**
37550
+ * @param {string} value
37551
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37552
+ */
37553
+ proto.user.StartUserKycVerificationResponse.prototype.setKycProvider = function(value) {
37554
+ return jspb.Message.setField(this, 4, value);
37555
+ };
37556
+
37557
+
37558
+ /**
37559
+ * Clears the field making it undefined.
37560
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37561
+ */
37562
+ proto.user.StartUserKycVerificationResponse.prototype.clearKycProvider = function() {
37563
+ return jspb.Message.setField(this, 4, undefined);
37564
+ };
37565
+
37566
+
37567
+ /**
37568
+ * Returns whether this field is set.
37569
+ * @return {boolean}
37570
+ */
37571
+ proto.user.StartUserKycVerificationResponse.prototype.hasKycProvider = function() {
37572
+ return jspb.Message.getField(this, 4) != null;
37573
+ };
37574
+
37575
+
37576
+ /**
37577
+ * optional string provider_applicant_id = 5;
37578
+ * @return {string}
37579
+ */
37580
+ proto.user.StartUserKycVerificationResponse.prototype.getProviderApplicantId = function() {
37581
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
37582
+ };
37583
+
37584
+
37585
+ /**
37586
+ * @param {string} value
37587
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37588
+ */
37589
+ proto.user.StartUserKycVerificationResponse.prototype.setProviderApplicantId = function(value) {
37590
+ return jspb.Message.setField(this, 5, value);
37591
+ };
37592
+
37593
+
37594
+ /**
37595
+ * Clears the field making it undefined.
37596
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37597
+ */
37598
+ proto.user.StartUserKycVerificationResponse.prototype.clearProviderApplicantId = function() {
37599
+ return jspb.Message.setField(this, 5, undefined);
37600
+ };
37601
+
37602
+
37603
+ /**
37604
+ * Returns whether this field is set.
37605
+ * @return {boolean}
37606
+ */
37607
+ proto.user.StartUserKycVerificationResponse.prototype.hasProviderApplicantId = function() {
37608
+ return jspb.Message.getField(this, 5) != null;
37609
+ };
37610
+
37611
+
37612
+ /**
37613
+ * optional string provider_session_id = 6;
37614
+ * @return {string}
37615
+ */
37616
+ proto.user.StartUserKycVerificationResponse.prototype.getProviderSessionId = function() {
37617
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
37618
+ };
37619
+
37620
+
37621
+ /**
37622
+ * @param {string} value
37623
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37624
+ */
37625
+ proto.user.StartUserKycVerificationResponse.prototype.setProviderSessionId = function(value) {
37626
+ return jspb.Message.setField(this, 6, value);
37627
+ };
37628
+
37629
+
37630
+ /**
37631
+ * Clears the field making it undefined.
37632
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37633
+ */
37634
+ proto.user.StartUserKycVerificationResponse.prototype.clearProviderSessionId = function() {
37635
+ return jspb.Message.setField(this, 6, undefined);
37636
+ };
37637
+
37638
+
37639
+ /**
37640
+ * Returns whether this field is set.
37641
+ * @return {boolean}
37642
+ */
37643
+ proto.user.StartUserKycVerificationResponse.prototype.hasProviderSessionId = function() {
37644
+ return jspb.Message.getField(this, 6) != null;
37645
+ };
37646
+
37647
+
37648
+ /**
37649
+ * optional string verification_url = 7;
37650
+ * @return {string}
37651
+ */
37652
+ proto.user.StartUserKycVerificationResponse.prototype.getVerificationUrl = function() {
37653
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
37654
+ };
37655
+
37656
+
37657
+ /**
37658
+ * @param {string} value
37659
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37660
+ */
37661
+ proto.user.StartUserKycVerificationResponse.prototype.setVerificationUrl = function(value) {
37662
+ return jspb.Message.setField(this, 7, value);
37663
+ };
37664
+
37665
+
37666
+ /**
37667
+ * Clears the field making it undefined.
37668
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37669
+ */
37670
+ proto.user.StartUserKycVerificationResponse.prototype.clearVerificationUrl = function() {
37671
+ return jspb.Message.setField(this, 7, undefined);
37672
+ };
37673
+
37674
+
37675
+ /**
37676
+ * Returns whether this field is set.
37677
+ * @return {boolean}
37678
+ */
37679
+ proto.user.StartUserKycVerificationResponse.prototype.hasVerificationUrl = function() {
37680
+ return jspb.Message.getField(this, 7) != null;
37681
+ };
37682
+
37683
+
37684
+ /**
37685
+ * optional string verification_token = 8;
37686
+ * @return {string}
37687
+ */
37688
+ proto.user.StartUserKycVerificationResponse.prototype.getVerificationToken = function() {
37689
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
37690
+ };
37691
+
37692
+
37693
+ /**
37694
+ * @param {string} value
37695
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37696
+ */
37697
+ proto.user.StartUserKycVerificationResponse.prototype.setVerificationToken = function(value) {
37698
+ return jspb.Message.setField(this, 8, value);
37699
+ };
37700
+
37701
+
37702
+ /**
37703
+ * Clears the field making it undefined.
37704
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37705
+ */
37706
+ proto.user.StartUserKycVerificationResponse.prototype.clearVerificationToken = function() {
37707
+ return jspb.Message.setField(this, 8, undefined);
37708
+ };
37709
+
37710
+
37711
+ /**
37712
+ * Returns whether this field is set.
37713
+ * @return {boolean}
37714
+ */
37715
+ proto.user.StartUserKycVerificationResponse.prototype.hasVerificationToken = function() {
37716
+ return jspb.Message.getField(this, 8) != null;
37717
+ };
37718
+
37719
+
37720
+ /**
37721
+ * optional string expires_at = 9;
37722
+ * @return {string}
37723
+ */
37724
+ proto.user.StartUserKycVerificationResponse.prototype.getExpiresAt = function() {
37725
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
37726
+ };
37727
+
37728
+
37729
+ /**
37730
+ * @param {string} value
37731
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37732
+ */
37733
+ proto.user.StartUserKycVerificationResponse.prototype.setExpiresAt = function(value) {
37734
+ return jspb.Message.setField(this, 9, value);
37735
+ };
37736
+
37737
+
37738
+ /**
37739
+ * Clears the field making it undefined.
37740
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37741
+ */
37742
+ proto.user.StartUserKycVerificationResponse.prototype.clearExpiresAt = function() {
37743
+ return jspb.Message.setField(this, 9, undefined);
37744
+ };
37745
+
37746
+
37747
+ /**
37748
+ * Returns whether this field is set.
37749
+ * @return {boolean}
37750
+ */
37751
+ proto.user.StartUserKycVerificationResponse.prototype.hasExpiresAt = function() {
37752
+ return jspb.Message.getField(this, 9) != null;
37753
+ };
37754
+
37755
+
37756
+ /**
37757
+ * optional string created_at = 10;
37758
+ * @return {string}
37759
+ */
37760
+ proto.user.StartUserKycVerificationResponse.prototype.getCreatedAt = function() {
37761
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
37762
+ };
37763
+
37764
+
37765
+ /**
37766
+ * @param {string} value
37767
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37768
+ */
37769
+ proto.user.StartUserKycVerificationResponse.prototype.setCreatedAt = function(value) {
37770
+ return jspb.Message.setField(this, 10, value);
37771
+ };
37772
+
37773
+
37774
+ /**
37775
+ * Clears the field making it undefined.
37776
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37777
+ */
37778
+ proto.user.StartUserKycVerificationResponse.prototype.clearCreatedAt = function() {
37779
+ return jspb.Message.setField(this, 10, undefined);
37780
+ };
37781
+
37782
+
37783
+ /**
37784
+ * Returns whether this field is set.
37785
+ * @return {boolean}
37786
+ */
37787
+ proto.user.StartUserKycVerificationResponse.prototype.hasCreatedAt = function() {
37788
+ return jspb.Message.getField(this, 10) != null;
37789
+ };
37790
+
37791
+
37792
+ /**
37793
+ * optional string updated_at = 11;
37794
+ * @return {string}
37795
+ */
37796
+ proto.user.StartUserKycVerificationResponse.prototype.getUpdatedAt = function() {
37797
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
37798
+ };
37799
+
37800
+
37801
+ /**
37802
+ * @param {string} value
37803
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37804
+ */
37805
+ proto.user.StartUserKycVerificationResponse.prototype.setUpdatedAt = function(value) {
37806
+ return jspb.Message.setField(this, 11, value);
37807
+ };
37808
+
37809
+
37810
+ /**
37811
+ * Clears the field making it undefined.
37812
+ * @return {!proto.user.StartUserKycVerificationResponse} returns this
37813
+ */
37814
+ proto.user.StartUserKycVerificationResponse.prototype.clearUpdatedAt = function() {
37815
+ return jspb.Message.setField(this, 11, undefined);
37816
+ };
37817
+
37818
+
37819
+ /**
37820
+ * Returns whether this field is set.
37821
+ * @return {boolean}
37822
+ */
37823
+ proto.user.StartUserKycVerificationResponse.prototype.hasUpdatedAt = function() {
37824
+ return jspb.Message.getField(this, 11) != null;
37825
+ };
37826
+
37827
+
37828
+
37829
+
37830
+
37831
+ if (jspb.Message.GENERATE_TO_OBJECT) {
37832
+ /**
37833
+ * Creates an object representation of this proto.
37834
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
37835
+ * Optional fields that are not set will be set to undefined.
37836
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
37837
+ * For the list of reserved names please see:
37838
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
37839
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
37840
+ * JSPB instance for transitional soy proto support:
37841
+ * http://goto/soy-param-migration
37842
+ * @return {!Object}
37843
+ */
37844
+ proto.user.ProcessUserKycProviderWebhookRequest.prototype.toObject = function(opt_includeInstance) {
37845
+ return proto.user.ProcessUserKycProviderWebhookRequest.toObject(opt_includeInstance, this);
37846
+ };
37847
+
37848
+
37849
+ /**
37850
+ * Static version of the {@see toObject} method.
37851
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
37852
+ * the JSPB instance for transitional soy proto support:
37853
+ * http://goto/soy-param-migration
37854
+ * @param {!proto.user.ProcessUserKycProviderWebhookRequest} msg The msg instance to transform.
37855
+ * @return {!Object}
37856
+ * @suppress {unusedLocalVariables} f is only used for nested messages
37857
+ */
37858
+ proto.user.ProcessUserKycProviderWebhookRequest.toObject = function(includeInstance, msg) {
37859
+ var f, obj = {
37860
+ rawBody: jspb.Message.getFieldWithDefault(msg, 1, ""),
37861
+ headers: jspb.Message.getFieldWithDefault(msg, 2, ""),
37862
+ correlationId: jspb.Message.getFieldWithDefault(msg, 3, "")
37863
+ };
37864
+
37865
+ if (includeInstance) {
37866
+ obj.$jspbMessageInstance = msg;
37867
+ }
37868
+ return obj;
37869
+ };
37870
+ }
37871
+
37872
+
37873
+ /**
37874
+ * Deserializes binary data (in protobuf wire format).
37875
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
37876
+ * @return {!proto.user.ProcessUserKycProviderWebhookRequest}
37877
+ */
37878
+ proto.user.ProcessUserKycProviderWebhookRequest.deserializeBinary = function(bytes) {
37879
+ var reader = new jspb.BinaryReader(bytes);
37880
+ var msg = new proto.user.ProcessUserKycProviderWebhookRequest;
37881
+ return proto.user.ProcessUserKycProviderWebhookRequest.deserializeBinaryFromReader(msg, reader);
37882
+ };
37883
+
37884
+
37885
+ /**
37886
+ * Deserializes binary data (in protobuf wire format) from the
37887
+ * given reader into the given message object.
37888
+ * @param {!proto.user.ProcessUserKycProviderWebhookRequest} msg The message object to deserialize into.
37889
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
37890
+ * @return {!proto.user.ProcessUserKycProviderWebhookRequest}
37891
+ */
37892
+ proto.user.ProcessUserKycProviderWebhookRequest.deserializeBinaryFromReader = function(msg, reader) {
37893
+ while (reader.nextField()) {
37894
+ if (reader.isEndGroup()) {
37895
+ break;
37896
+ }
37897
+ var field = reader.getFieldNumber();
37898
+ switch (field) {
37899
+ case 1:
37900
+ var value = /** @type {string} */ (reader.readString());
37901
+ msg.setRawBody(value);
37902
+ break;
37903
+ case 2:
37904
+ var value = /** @type {string} */ (reader.readString());
37905
+ msg.setHeaders(value);
37906
+ break;
37907
+ case 3:
37908
+ var value = /** @type {string} */ (reader.readString());
37909
+ msg.setCorrelationId(value);
37910
+ break;
37911
+ default:
37912
+ reader.skipField();
37913
+ break;
37914
+ }
37915
+ }
37916
+ return msg;
37917
+ };
37918
+
37919
+
37920
+ /**
37921
+ * Serializes the message to binary data (in protobuf wire format).
37922
+ * @return {!Uint8Array}
37923
+ */
37924
+ proto.user.ProcessUserKycProviderWebhookRequest.prototype.serializeBinary = function() {
37925
+ var writer = new jspb.BinaryWriter();
37926
+ proto.user.ProcessUserKycProviderWebhookRequest.serializeBinaryToWriter(this, writer);
37927
+ return writer.getResultBuffer();
37928
+ };
37929
+
37930
+
37931
+ /**
37932
+ * Serializes the given message to binary data (in protobuf wire
37933
+ * format), writing to the given BinaryWriter.
37934
+ * @param {!proto.user.ProcessUserKycProviderWebhookRequest} message
37935
+ * @param {!jspb.BinaryWriter} writer
37936
+ * @suppress {unusedLocalVariables} f is only used for nested messages
37937
+ */
37938
+ proto.user.ProcessUserKycProviderWebhookRequest.serializeBinaryToWriter = function(message, writer) {
37939
+ var f = undefined;
37940
+ f = message.getRawBody();
37941
+ if (f.length > 0) {
37942
+ writer.writeString(
37943
+ 1,
37944
+ f
37945
+ );
37946
+ }
37947
+ f = message.getHeaders();
37948
+ if (f.length > 0) {
37949
+ writer.writeString(
37950
+ 2,
37951
+ f
37952
+ );
37953
+ }
37954
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
37955
+ if (f != null) {
37956
+ writer.writeString(
37957
+ 3,
37958
+ f
37959
+ );
37960
+ }
37961
+ };
37962
+
37963
+
37964
+ /**
37965
+ * optional string raw_body = 1;
37966
+ * @return {string}
37967
+ */
37968
+ proto.user.ProcessUserKycProviderWebhookRequest.prototype.getRawBody = function() {
37969
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
37970
+ };
37971
+
37972
+
37973
+ /**
37974
+ * @param {string} value
37975
+ * @return {!proto.user.ProcessUserKycProviderWebhookRequest} returns this
37976
+ */
37977
+ proto.user.ProcessUserKycProviderWebhookRequest.prototype.setRawBody = function(value) {
37978
+ return jspb.Message.setProto3StringField(this, 1, value);
37979
+ };
37980
+
37981
+
37982
+ /**
37983
+ * optional string headers = 2;
37984
+ * @return {string}
37985
+ */
37986
+ proto.user.ProcessUserKycProviderWebhookRequest.prototype.getHeaders = function() {
37987
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
37988
+ };
37989
+
37990
+
37991
+ /**
37992
+ * @param {string} value
37993
+ * @return {!proto.user.ProcessUserKycProviderWebhookRequest} returns this
37994
+ */
37995
+ proto.user.ProcessUserKycProviderWebhookRequest.prototype.setHeaders = function(value) {
37996
+ return jspb.Message.setProto3StringField(this, 2, value);
37997
+ };
37998
+
37999
+
38000
+ /**
38001
+ * optional string correlation_id = 3;
38002
+ * @return {string}
38003
+ */
38004
+ proto.user.ProcessUserKycProviderWebhookRequest.prototype.getCorrelationId = function() {
38005
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
38006
+ };
38007
+
38008
+
38009
+ /**
38010
+ * @param {string} value
38011
+ * @return {!proto.user.ProcessUserKycProviderWebhookRequest} returns this
38012
+ */
38013
+ proto.user.ProcessUserKycProviderWebhookRequest.prototype.setCorrelationId = function(value) {
38014
+ return jspb.Message.setField(this, 3, value);
38015
+ };
38016
+
38017
+
38018
+ /**
38019
+ * Clears the field making it undefined.
38020
+ * @return {!proto.user.ProcessUserKycProviderWebhookRequest} returns this
38021
+ */
38022
+ proto.user.ProcessUserKycProviderWebhookRequest.prototype.clearCorrelationId = function() {
38023
+ return jspb.Message.setField(this, 3, undefined);
38024
+ };
38025
+
38026
+
38027
+ /**
38028
+ * Returns whether this field is set.
38029
+ * @return {boolean}
38030
+ */
38031
+ proto.user.ProcessUserKycProviderWebhookRequest.prototype.hasCorrelationId = function() {
38032
+ return jspb.Message.getField(this, 3) != null;
38033
+ };
38034
+
38035
+
38036
+
38037
+
38038
+
38039
+ if (jspb.Message.GENERATE_TO_OBJECT) {
38040
+ /**
38041
+ * Creates an object representation of this proto.
38042
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
38043
+ * Optional fields that are not set will be set to undefined.
38044
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
38045
+ * For the list of reserved names please see:
38046
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
38047
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
38048
+ * JSPB instance for transitional soy proto support:
38049
+ * http://goto/soy-param-migration
38050
+ * @return {!Object}
38051
+ */
38052
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.toObject = function(opt_includeInstance) {
38053
+ return proto.user.ProcessUserKycProviderWebhookResponse.toObject(opt_includeInstance, this);
38054
+ };
38055
+
38056
+
38057
+ /**
38058
+ * Static version of the {@see toObject} method.
38059
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
38060
+ * the JSPB instance for transitional soy proto support:
38061
+ * http://goto/soy-param-migration
38062
+ * @param {!proto.user.ProcessUserKycProviderWebhookResponse} msg The msg instance to transform.
38063
+ * @return {!Object}
38064
+ * @suppress {unusedLocalVariables} f is only used for nested messages
38065
+ */
38066
+ proto.user.ProcessUserKycProviderWebhookResponse.toObject = function(includeInstance, msg) {
38067
+ var f, obj = {
38068
+ status: jspb.Message.getFieldWithDefault(msg, 1, ""),
38069
+ userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
38070
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 3, ""),
38071
+ kycStatus: jspb.Message.getFieldWithDefault(msg, 4, ""),
38072
+ kycProvider: jspb.Message.getFieldWithDefault(msg, 5, ""),
38073
+ providerApplicantId: jspb.Message.getFieldWithDefault(msg, 6, ""),
38074
+ providerEventId: jspb.Message.getFieldWithDefault(msg, 7, ""),
38075
+ providerEventAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
38076
+ reasonCode: jspb.Message.getFieldWithDefault(msg, 9, "")
38077
+ };
38078
+
38079
+ if (includeInstance) {
38080
+ obj.$jspbMessageInstance = msg;
38081
+ }
38082
+ return obj;
38083
+ };
38084
+ }
38085
+
38086
+
38087
+ /**
38088
+ * Deserializes binary data (in protobuf wire format).
38089
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
38090
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse}
38091
+ */
38092
+ proto.user.ProcessUserKycProviderWebhookResponse.deserializeBinary = function(bytes) {
38093
+ var reader = new jspb.BinaryReader(bytes);
38094
+ var msg = new proto.user.ProcessUserKycProviderWebhookResponse;
38095
+ return proto.user.ProcessUserKycProviderWebhookResponse.deserializeBinaryFromReader(msg, reader);
38096
+ };
38097
+
38098
+
38099
+ /**
38100
+ * Deserializes binary data (in protobuf wire format) from the
38101
+ * given reader into the given message object.
38102
+ * @param {!proto.user.ProcessUserKycProviderWebhookResponse} msg The message object to deserialize into.
38103
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
38104
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse}
38105
+ */
38106
+ proto.user.ProcessUserKycProviderWebhookResponse.deserializeBinaryFromReader = function(msg, reader) {
38107
+ while (reader.nextField()) {
38108
+ if (reader.isEndGroup()) {
38109
+ break;
38110
+ }
38111
+ var field = reader.getFieldNumber();
38112
+ switch (field) {
38113
+ case 1:
38114
+ var value = /** @type {string} */ (reader.readString());
38115
+ msg.setStatus(value);
38116
+ break;
38117
+ case 2:
38118
+ var value = /** @type {number} */ (reader.readInt32());
38119
+ msg.setUserId(value);
38120
+ break;
38121
+ case 3:
38122
+ var value = /** @type {string} */ (reader.readString());
38123
+ msg.setUserPublicId(value);
38124
+ break;
38125
+ case 4:
38126
+ var value = /** @type {string} */ (reader.readString());
38127
+ msg.setKycStatus(value);
38128
+ break;
38129
+ case 5:
38130
+ var value = /** @type {string} */ (reader.readString());
38131
+ msg.setKycProvider(value);
38132
+ break;
38133
+ case 6:
38134
+ var value = /** @type {string} */ (reader.readString());
38135
+ msg.setProviderApplicantId(value);
38136
+ break;
38137
+ case 7:
38138
+ var value = /** @type {string} */ (reader.readString());
38139
+ msg.setProviderEventId(value);
38140
+ break;
38141
+ case 8:
38142
+ var value = /** @type {string} */ (reader.readString());
38143
+ msg.setProviderEventAt(value);
38144
+ break;
38145
+ case 9:
38146
+ var value = /** @type {string} */ (reader.readString());
38147
+ msg.setReasonCode(value);
38148
+ break;
38149
+ default:
38150
+ reader.skipField();
38151
+ break;
38152
+ }
38153
+ }
38154
+ return msg;
38155
+ };
38156
+
38157
+
38158
+ /**
38159
+ * Serializes the message to binary data (in protobuf wire format).
38160
+ * @return {!Uint8Array}
38161
+ */
38162
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.serializeBinary = function() {
38163
+ var writer = new jspb.BinaryWriter();
38164
+ proto.user.ProcessUserKycProviderWebhookResponse.serializeBinaryToWriter(this, writer);
38165
+ return writer.getResultBuffer();
38166
+ };
38167
+
38168
+
38169
+ /**
38170
+ * Serializes the given message to binary data (in protobuf wire
38171
+ * format), writing to the given BinaryWriter.
38172
+ * @param {!proto.user.ProcessUserKycProviderWebhookResponse} message
38173
+ * @param {!jspb.BinaryWriter} writer
38174
+ * @suppress {unusedLocalVariables} f is only used for nested messages
38175
+ */
38176
+ proto.user.ProcessUserKycProviderWebhookResponse.serializeBinaryToWriter = function(message, writer) {
38177
+ var f = undefined;
38178
+ f = message.getStatus();
38179
+ if (f.length > 0) {
38180
+ writer.writeString(
38181
+ 1,
38182
+ f
38183
+ );
38184
+ }
38185
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
38186
+ if (f != null) {
38187
+ writer.writeInt32(
38188
+ 2,
38189
+ f
38190
+ );
38191
+ }
38192
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
38193
+ if (f != null) {
38194
+ writer.writeString(
38195
+ 3,
38196
+ f
38197
+ );
38198
+ }
38199
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
38200
+ if (f != null) {
38201
+ writer.writeString(
38202
+ 4,
38203
+ f
38204
+ );
38205
+ }
38206
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
38207
+ if (f != null) {
38208
+ writer.writeString(
38209
+ 5,
38210
+ f
38211
+ );
38212
+ }
38213
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
38214
+ if (f != null) {
38215
+ writer.writeString(
38216
+ 6,
38217
+ f
38218
+ );
38219
+ }
38220
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
38221
+ if (f != null) {
38222
+ writer.writeString(
38223
+ 7,
38224
+ f
38225
+ );
38226
+ }
38227
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
38228
+ if (f != null) {
38229
+ writer.writeString(
38230
+ 8,
38231
+ f
38232
+ );
38233
+ }
38234
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
38235
+ if (f != null) {
38236
+ writer.writeString(
38237
+ 9,
38238
+ f
38239
+ );
38240
+ }
38241
+ };
38242
+
38243
+
38244
+ /**
38245
+ * optional string status = 1;
38246
+ * @return {string}
38247
+ */
38248
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.getStatus = function() {
38249
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
38250
+ };
38251
+
38252
+
38253
+ /**
38254
+ * @param {string} value
38255
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38256
+ */
38257
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.setStatus = function(value) {
38258
+ return jspb.Message.setProto3StringField(this, 1, value);
38259
+ };
38260
+
38261
+
38262
+ /**
38263
+ * optional int32 user_id = 2;
38264
+ * @return {number}
38265
+ */
38266
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.getUserId = function() {
38267
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
38268
+ };
38269
+
38270
+
38271
+ /**
38272
+ * @param {number} value
38273
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38274
+ */
38275
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.setUserId = function(value) {
38276
+ return jspb.Message.setField(this, 2, value);
38277
+ };
38278
+
38279
+
38280
+ /**
38281
+ * Clears the field making it undefined.
38282
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38283
+ */
38284
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.clearUserId = function() {
38285
+ return jspb.Message.setField(this, 2, undefined);
38286
+ };
38287
+
38288
+
38289
+ /**
38290
+ * Returns whether this field is set.
38291
+ * @return {boolean}
38292
+ */
38293
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.hasUserId = function() {
38294
+ return jspb.Message.getField(this, 2) != null;
38295
+ };
38296
+
38297
+
38298
+ /**
38299
+ * optional string user_public_id = 3;
38300
+ * @return {string}
38301
+ */
38302
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.getUserPublicId = function() {
38303
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
38304
+ };
38305
+
38306
+
38307
+ /**
38308
+ * @param {string} value
38309
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38310
+ */
38311
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.setUserPublicId = function(value) {
38312
+ return jspb.Message.setField(this, 3, value);
38313
+ };
38314
+
38315
+
38316
+ /**
38317
+ * Clears the field making it undefined.
38318
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38319
+ */
38320
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.clearUserPublicId = function() {
38321
+ return jspb.Message.setField(this, 3, undefined);
38322
+ };
38323
+
38324
+
38325
+ /**
38326
+ * Returns whether this field is set.
38327
+ * @return {boolean}
38328
+ */
38329
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.hasUserPublicId = function() {
38330
+ return jspb.Message.getField(this, 3) != null;
38331
+ };
38332
+
38333
+
38334
+ /**
38335
+ * optional string kyc_status = 4;
38336
+ * @return {string}
38337
+ */
38338
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.getKycStatus = function() {
38339
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
38340
+ };
38341
+
38342
+
38343
+ /**
38344
+ * @param {string} value
38345
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38346
+ */
38347
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.setKycStatus = function(value) {
38348
+ return jspb.Message.setField(this, 4, value);
38349
+ };
38350
+
38351
+
38352
+ /**
38353
+ * Clears the field making it undefined.
38354
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38355
+ */
38356
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.clearKycStatus = function() {
38357
+ return jspb.Message.setField(this, 4, undefined);
38358
+ };
38359
+
38360
+
38361
+ /**
38362
+ * Returns whether this field is set.
38363
+ * @return {boolean}
38364
+ */
38365
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.hasKycStatus = function() {
38366
+ return jspb.Message.getField(this, 4) != null;
38367
+ };
38368
+
38369
+
38370
+ /**
38371
+ * optional string kyc_provider = 5;
38372
+ * @return {string}
38373
+ */
38374
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.getKycProvider = function() {
38375
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
38376
+ };
38377
+
38378
+
38379
+ /**
38380
+ * @param {string} value
38381
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38382
+ */
38383
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.setKycProvider = function(value) {
38384
+ return jspb.Message.setField(this, 5, value);
38385
+ };
38386
+
38387
+
38388
+ /**
38389
+ * Clears the field making it undefined.
38390
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38391
+ */
38392
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.clearKycProvider = function() {
38393
+ return jspb.Message.setField(this, 5, undefined);
38394
+ };
38395
+
38396
+
38397
+ /**
38398
+ * Returns whether this field is set.
38399
+ * @return {boolean}
38400
+ */
38401
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.hasKycProvider = function() {
38402
+ return jspb.Message.getField(this, 5) != null;
38403
+ };
38404
+
38405
+
38406
+ /**
38407
+ * optional string provider_applicant_id = 6;
38408
+ * @return {string}
38409
+ */
38410
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.getProviderApplicantId = function() {
38411
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
38412
+ };
38413
+
38414
+
38415
+ /**
38416
+ * @param {string} value
38417
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38418
+ */
38419
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.setProviderApplicantId = function(value) {
38420
+ return jspb.Message.setField(this, 6, value);
38421
+ };
38422
+
38423
+
38424
+ /**
38425
+ * Clears the field making it undefined.
38426
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38427
+ */
38428
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.clearProviderApplicantId = function() {
38429
+ return jspb.Message.setField(this, 6, undefined);
38430
+ };
38431
+
38432
+
38433
+ /**
38434
+ * Returns whether this field is set.
38435
+ * @return {boolean}
38436
+ */
38437
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.hasProviderApplicantId = function() {
38438
+ return jspb.Message.getField(this, 6) != null;
38439
+ };
38440
+
38441
+
38442
+ /**
38443
+ * optional string provider_event_id = 7;
38444
+ * @return {string}
38445
+ */
38446
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.getProviderEventId = function() {
38447
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
38448
+ };
38449
+
38450
+
38451
+ /**
38452
+ * @param {string} value
38453
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38454
+ */
38455
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.setProviderEventId = function(value) {
38456
+ return jspb.Message.setField(this, 7, value);
38457
+ };
38458
+
38459
+
38460
+ /**
38461
+ * Clears the field making it undefined.
38462
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38463
+ */
38464
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.clearProviderEventId = function() {
38465
+ return jspb.Message.setField(this, 7, undefined);
38466
+ };
38467
+
38468
+
38469
+ /**
38470
+ * Returns whether this field is set.
38471
+ * @return {boolean}
38472
+ */
38473
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.hasProviderEventId = function() {
38474
+ return jspb.Message.getField(this, 7) != null;
38475
+ };
38476
+
38477
+
38478
+ /**
38479
+ * optional string provider_event_at = 8;
38480
+ * @return {string}
38481
+ */
38482
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.getProviderEventAt = function() {
38483
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
38484
+ };
38485
+
38486
+
38487
+ /**
38488
+ * @param {string} value
38489
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38490
+ */
38491
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.setProviderEventAt = function(value) {
38492
+ return jspb.Message.setField(this, 8, value);
38493
+ };
38494
+
38495
+
38496
+ /**
38497
+ * Clears the field making it undefined.
38498
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38499
+ */
38500
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.clearProviderEventAt = function() {
38501
+ return jspb.Message.setField(this, 8, undefined);
38502
+ };
38503
+
38504
+
38505
+ /**
38506
+ * Returns whether this field is set.
38507
+ * @return {boolean}
38508
+ */
38509
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.hasProviderEventAt = function() {
38510
+ return jspb.Message.getField(this, 8) != null;
38511
+ };
38512
+
38513
+
38514
+ /**
38515
+ * optional string reason_code = 9;
38516
+ * @return {string}
38517
+ */
38518
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.getReasonCode = function() {
38519
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
38520
+ };
38521
+
38522
+
38523
+ /**
38524
+ * @param {string} value
38525
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38526
+ */
38527
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.setReasonCode = function(value) {
38528
+ return jspb.Message.setField(this, 9, value);
38529
+ };
38530
+
38531
+
38532
+ /**
38533
+ * Clears the field making it undefined.
38534
+ * @return {!proto.user.ProcessUserKycProviderWebhookResponse} returns this
38535
+ */
38536
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.clearReasonCode = function() {
38537
+ return jspb.Message.setField(this, 9, undefined);
38538
+ };
38539
+
38540
+
38541
+ /**
38542
+ * Returns whether this field is set.
38543
+ * @return {boolean}
38544
+ */
38545
+ proto.user.ProcessUserKycProviderWebhookResponse.prototype.hasReasonCode = function() {
38546
+ return jspb.Message.getField(this, 9) != null;
38547
+ };
38548
+
38549
+
38550
+
38551
+
38552
+
38553
+ if (jspb.Message.GENERATE_TO_OBJECT) {
38554
+ /**
38555
+ * Creates an object representation of this proto.
38556
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
38557
+ * Optional fields that are not set will be set to undefined.
38558
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
38559
+ * For the list of reserved names please see:
38560
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
38561
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
38562
+ * JSPB instance for transitional soy proto support:
38563
+ * http://goto/soy-param-migration
38564
+ * @return {!Object}
38565
+ */
38566
+ proto.user.SyncUserKycProviderStatusRequest.prototype.toObject = function(opt_includeInstance) {
38567
+ return proto.user.SyncUserKycProviderStatusRequest.toObject(opt_includeInstance, this);
38568
+ };
38569
+
38570
+
38571
+ /**
38572
+ * Static version of the {@see toObject} method.
38573
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
38574
+ * the JSPB instance for transitional soy proto support:
38575
+ * http://goto/soy-param-migration
38576
+ * @param {!proto.user.SyncUserKycProviderStatusRequest} msg The msg instance to transform.
38577
+ * @return {!Object}
38578
+ * @suppress {unusedLocalVariables} f is only used for nested messages
38579
+ */
38580
+ proto.user.SyncUserKycProviderStatusRequest.toObject = function(includeInstance, msg) {
38581
+ var f, obj = {
38582
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
38583
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
38584
+ providerApplicantId: jspb.Message.getFieldWithDefault(msg, 3, ""),
38585
+ correlationId: jspb.Message.getFieldWithDefault(msg, 4, "")
38586
+ };
38587
+
38588
+ if (includeInstance) {
38589
+ obj.$jspbMessageInstance = msg;
38590
+ }
38591
+ return obj;
38592
+ };
38593
+ }
38594
+
38595
+
38596
+ /**
38597
+ * Deserializes binary data (in protobuf wire format).
38598
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
38599
+ * @return {!proto.user.SyncUserKycProviderStatusRequest}
38600
+ */
38601
+ proto.user.SyncUserKycProviderStatusRequest.deserializeBinary = function(bytes) {
38602
+ var reader = new jspb.BinaryReader(bytes);
38603
+ var msg = new proto.user.SyncUserKycProviderStatusRequest;
38604
+ return proto.user.SyncUserKycProviderStatusRequest.deserializeBinaryFromReader(msg, reader);
38605
+ };
38606
+
38607
+
38608
+ /**
38609
+ * Deserializes binary data (in protobuf wire format) from the
38610
+ * given reader into the given message object.
38611
+ * @param {!proto.user.SyncUserKycProviderStatusRequest} msg The message object to deserialize into.
38612
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
38613
+ * @return {!proto.user.SyncUserKycProviderStatusRequest}
38614
+ */
38615
+ proto.user.SyncUserKycProviderStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
38616
+ while (reader.nextField()) {
38617
+ if (reader.isEndGroup()) {
38618
+ break;
38619
+ }
38620
+ var field = reader.getFieldNumber();
38621
+ switch (field) {
38622
+ case 1:
38623
+ var value = /** @type {number} */ (reader.readInt32());
38624
+ msg.setUserId(value);
38625
+ break;
38626
+ case 2:
38627
+ var value = /** @type {string} */ (reader.readString());
38628
+ msg.setUserPublicId(value);
38629
+ break;
38630
+ case 3:
38631
+ var value = /** @type {string} */ (reader.readString());
38632
+ msg.setProviderApplicantId(value);
38633
+ break;
38634
+ case 4:
38635
+ var value = /** @type {string} */ (reader.readString());
38636
+ msg.setCorrelationId(value);
38637
+ break;
38638
+ default:
38639
+ reader.skipField();
38640
+ break;
38641
+ }
38642
+ }
38643
+ return msg;
38644
+ };
38645
+
38646
+
38647
+ /**
38648
+ * Serializes the message to binary data (in protobuf wire format).
38649
+ * @return {!Uint8Array}
38650
+ */
38651
+ proto.user.SyncUserKycProviderStatusRequest.prototype.serializeBinary = function() {
38652
+ var writer = new jspb.BinaryWriter();
38653
+ proto.user.SyncUserKycProviderStatusRequest.serializeBinaryToWriter(this, writer);
38654
+ return writer.getResultBuffer();
38655
+ };
38656
+
38657
+
38658
+ /**
38659
+ * Serializes the given message to binary data (in protobuf wire
38660
+ * format), writing to the given BinaryWriter.
38661
+ * @param {!proto.user.SyncUserKycProviderStatusRequest} message
38662
+ * @param {!jspb.BinaryWriter} writer
38663
+ * @suppress {unusedLocalVariables} f is only used for nested messages
38664
+ */
38665
+ proto.user.SyncUserKycProviderStatusRequest.serializeBinaryToWriter = function(message, writer) {
38666
+ var f = undefined;
38667
+ f = message.getUserId();
38668
+ if (f !== 0) {
38669
+ writer.writeInt32(
38670
+ 1,
38671
+ f
38672
+ );
38673
+ }
38674
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
38675
+ if (f != null) {
38676
+ writer.writeString(
38677
+ 2,
38678
+ f
38679
+ );
38680
+ }
38681
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
38682
+ if (f != null) {
38683
+ writer.writeString(
38684
+ 3,
38685
+ f
38686
+ );
38687
+ }
38688
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
38689
+ if (f != null) {
38690
+ writer.writeString(
38691
+ 4,
38692
+ f
38693
+ );
38694
+ }
38695
+ };
38696
+
38697
+
38698
+ /**
38699
+ * optional int32 user_id = 1;
38700
+ * @return {number}
38701
+ */
38702
+ proto.user.SyncUserKycProviderStatusRequest.prototype.getUserId = function() {
38703
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
38704
+ };
38705
+
38706
+
38707
+ /**
38708
+ * @param {number} value
38709
+ * @return {!proto.user.SyncUserKycProviderStatusRequest} returns this
38710
+ */
38711
+ proto.user.SyncUserKycProviderStatusRequest.prototype.setUserId = function(value) {
38712
+ return jspb.Message.setProto3IntField(this, 1, value);
38713
+ };
38714
+
38715
+
38716
+ /**
38717
+ * optional string user_public_id = 2;
38718
+ * @return {string}
38719
+ */
38720
+ proto.user.SyncUserKycProviderStatusRequest.prototype.getUserPublicId = function() {
38721
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
38722
+ };
38723
+
38724
+
38725
+ /**
38726
+ * @param {string} value
38727
+ * @return {!proto.user.SyncUserKycProviderStatusRequest} returns this
38728
+ */
38729
+ proto.user.SyncUserKycProviderStatusRequest.prototype.setUserPublicId = function(value) {
38730
+ return jspb.Message.setField(this, 2, value);
38731
+ };
38732
+
38733
+
38734
+ /**
38735
+ * Clears the field making it undefined.
38736
+ * @return {!proto.user.SyncUserKycProviderStatusRequest} returns this
38737
+ */
38738
+ proto.user.SyncUserKycProviderStatusRequest.prototype.clearUserPublicId = function() {
38739
+ return jspb.Message.setField(this, 2, undefined);
38740
+ };
38741
+
38742
+
38743
+ /**
38744
+ * Returns whether this field is set.
38745
+ * @return {boolean}
38746
+ */
38747
+ proto.user.SyncUserKycProviderStatusRequest.prototype.hasUserPublicId = function() {
38748
+ return jspb.Message.getField(this, 2) != null;
38749
+ };
38750
+
38751
+
38752
+ /**
38753
+ * optional string provider_applicant_id = 3;
38754
+ * @return {string}
38755
+ */
38756
+ proto.user.SyncUserKycProviderStatusRequest.prototype.getProviderApplicantId = function() {
38757
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
38758
+ };
38759
+
38760
+
38761
+ /**
38762
+ * @param {string} value
38763
+ * @return {!proto.user.SyncUserKycProviderStatusRequest} returns this
38764
+ */
38765
+ proto.user.SyncUserKycProviderStatusRequest.prototype.setProviderApplicantId = function(value) {
38766
+ return jspb.Message.setField(this, 3, value);
38767
+ };
38768
+
38769
+
38770
+ /**
38771
+ * Clears the field making it undefined.
38772
+ * @return {!proto.user.SyncUserKycProviderStatusRequest} returns this
38773
+ */
38774
+ proto.user.SyncUserKycProviderStatusRequest.prototype.clearProviderApplicantId = function() {
38775
+ return jspb.Message.setField(this, 3, undefined);
38776
+ };
38777
+
38778
+
38779
+ /**
38780
+ * Returns whether this field is set.
38781
+ * @return {boolean}
38782
+ */
38783
+ proto.user.SyncUserKycProviderStatusRequest.prototype.hasProviderApplicantId = function() {
38784
+ return jspb.Message.getField(this, 3) != null;
38785
+ };
38786
+
38787
+
38788
+ /**
38789
+ * optional string correlation_id = 4;
38790
+ * @return {string}
38791
+ */
38792
+ proto.user.SyncUserKycProviderStatusRequest.prototype.getCorrelationId = function() {
38793
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
38794
+ };
38795
+
38796
+
38797
+ /**
38798
+ * @param {string} value
38799
+ * @return {!proto.user.SyncUserKycProviderStatusRequest} returns this
38800
+ */
38801
+ proto.user.SyncUserKycProviderStatusRequest.prototype.setCorrelationId = function(value) {
38802
+ return jspb.Message.setField(this, 4, value);
38803
+ };
38804
+
38805
+
38806
+ /**
38807
+ * Clears the field making it undefined.
38808
+ * @return {!proto.user.SyncUserKycProviderStatusRequest} returns this
38809
+ */
38810
+ proto.user.SyncUserKycProviderStatusRequest.prototype.clearCorrelationId = function() {
38811
+ return jspb.Message.setField(this, 4, undefined);
38812
+ };
38813
+
38814
+
38815
+ /**
38816
+ * Returns whether this field is set.
38817
+ * @return {boolean}
38818
+ */
38819
+ proto.user.SyncUserKycProviderStatusRequest.prototype.hasCorrelationId = function() {
38820
+ return jspb.Message.getField(this, 4) != null;
38821
+ };
38822
+
38823
+
38824
+
38825
+ /**
38826
+ * List of repeated fields within this message type.
38827
+ * @private {!Array<number>}
38828
+ * @const
38829
+ */
38830
+ proto.user.ReadListRiskPlayersRequest.repeatedFields_ = [8];
38831
+
38832
+
38833
+
38834
+ if (jspb.Message.GENERATE_TO_OBJECT) {
38835
+ /**
38836
+ * Creates an object representation of this proto.
38837
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
38838
+ * Optional fields that are not set will be set to undefined.
38839
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
38840
+ * For the list of reserved names please see:
38841
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
38842
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
38843
+ * JSPB instance for transitional soy proto support:
38844
+ * http://goto/soy-param-migration
38845
+ * @return {!Object}
38846
+ */
38847
+ proto.user.ReadListRiskPlayersRequest.prototype.toObject = function(opt_includeInstance) {
38848
+ return proto.user.ReadListRiskPlayersRequest.toObject(opt_includeInstance, this);
38849
+ };
38850
+
38851
+
38852
+ /**
38853
+ * Static version of the {@see toObject} method.
38854
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
38855
+ * the JSPB instance for transitional soy proto support:
38856
+ * http://goto/soy-param-migration
38857
+ * @param {!proto.user.ReadListRiskPlayersRequest} msg The msg instance to transform.
38858
+ * @return {!Object}
38859
+ * @suppress {unusedLocalVariables} f is only used for nested messages
38860
+ */
38861
+ proto.user.ReadListRiskPlayersRequest.toObject = function(includeInstance, msg) {
38862
+ var f, obj = {
38863
+ limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
38864
+ offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
38865
+ order: jspb.Message.getFieldWithDefault(msg, 3, ""),
38866
+ email: jspb.Message.getFieldWithDefault(msg, 4, ""),
38867
+ userId: jspb.Message.getFieldWithDefault(msg, 5, 0),
38868
+ riskLevel: jspb.Message.getFieldWithDefault(msg, 6, ""),
38869
+ kycStatus: jspb.Message.getFieldWithDefault(msg, 7, ""),
38870
+ userIdsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
38871
+ };
38872
+
38873
+ if (includeInstance) {
38874
+ obj.$jspbMessageInstance = msg;
38875
+ }
38876
+ return obj;
38877
+ };
38878
+ }
38879
+
38880
+
38881
+ /**
38882
+ * Deserializes binary data (in protobuf wire format).
38883
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
38884
+ * @return {!proto.user.ReadListRiskPlayersRequest}
38885
+ */
38886
+ proto.user.ReadListRiskPlayersRequest.deserializeBinary = function(bytes) {
38887
+ var reader = new jspb.BinaryReader(bytes);
38888
+ var msg = new proto.user.ReadListRiskPlayersRequest;
38889
+ return proto.user.ReadListRiskPlayersRequest.deserializeBinaryFromReader(msg, reader);
38890
+ };
38891
+
38892
+
38893
+ /**
38894
+ * Deserializes binary data (in protobuf wire format) from the
38895
+ * given reader into the given message object.
38896
+ * @param {!proto.user.ReadListRiskPlayersRequest} msg The message object to deserialize into.
38897
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
38898
+ * @return {!proto.user.ReadListRiskPlayersRequest}
38899
+ */
38900
+ proto.user.ReadListRiskPlayersRequest.deserializeBinaryFromReader = function(msg, reader) {
38901
+ while (reader.nextField()) {
38902
+ if (reader.isEndGroup()) {
38903
+ break;
38904
+ }
38905
+ var field = reader.getFieldNumber();
38906
+ switch (field) {
38907
+ case 1:
38908
+ var value = /** @type {number} */ (reader.readInt32());
38909
+ msg.setLimit(value);
38910
+ break;
38911
+ case 2:
38912
+ var value = /** @type {number} */ (reader.readInt32());
38913
+ msg.setOffset(value);
38914
+ break;
38915
+ case 3:
38916
+ var value = /** @type {string} */ (reader.readString());
38917
+ msg.setOrder(value);
38918
+ break;
38919
+ case 4:
38920
+ var value = /** @type {string} */ (reader.readString());
38921
+ msg.setEmail(value);
38922
+ break;
38923
+ case 5:
38924
+ var value = /** @type {number} */ (reader.readInt32());
38925
+ msg.setUserId(value);
38926
+ break;
38927
+ case 6:
38928
+ var value = /** @type {string} */ (reader.readString());
38929
+ msg.setRiskLevel(value);
38930
+ break;
38931
+ case 7:
38932
+ var value = /** @type {string} */ (reader.readString());
38933
+ msg.setKycStatus(value);
38934
+ break;
38935
+ case 8:
38936
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
38937
+ for (var i = 0; i < values.length; i++) {
38938
+ msg.addUserIds(values[i]);
38939
+ }
38940
+ break;
38941
+ default:
38942
+ reader.skipField();
38943
+ break;
38944
+ }
38945
+ }
38946
+ return msg;
38947
+ };
38948
+
38949
+
38950
+ /**
38951
+ * Serializes the message to binary data (in protobuf wire format).
38952
+ * @return {!Uint8Array}
38953
+ */
38954
+ proto.user.ReadListRiskPlayersRequest.prototype.serializeBinary = function() {
38955
+ var writer = new jspb.BinaryWriter();
38956
+ proto.user.ReadListRiskPlayersRequest.serializeBinaryToWriter(this, writer);
38957
+ return writer.getResultBuffer();
38958
+ };
38959
+
38960
+
38961
+ /**
38962
+ * Serializes the given message to binary data (in protobuf wire
38963
+ * format), writing to the given BinaryWriter.
38964
+ * @param {!proto.user.ReadListRiskPlayersRequest} message
38965
+ * @param {!jspb.BinaryWriter} writer
38966
+ * @suppress {unusedLocalVariables} f is only used for nested messages
38967
+ */
38968
+ proto.user.ReadListRiskPlayersRequest.serializeBinaryToWriter = function(message, writer) {
38969
+ var f = undefined;
38970
+ f = message.getLimit();
38971
+ if (f !== 0) {
38972
+ writer.writeInt32(
38973
+ 1,
38974
+ f
38975
+ );
38976
+ }
38977
+ f = message.getOffset();
38978
+ if (f !== 0) {
38979
+ writer.writeInt32(
38980
+ 2,
38981
+ f
38982
+ );
38983
+ }
38984
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
38985
+ if (f != null) {
38986
+ writer.writeString(
38987
+ 3,
38988
+ f
38989
+ );
38990
+ }
38991
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
38992
+ if (f != null) {
38993
+ writer.writeString(
38994
+ 4,
38995
+ f
38996
+ );
38997
+ }
38998
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
38999
+ if (f != null) {
39000
+ writer.writeInt32(
39001
+ 5,
39002
+ f
39003
+ );
39004
+ }
39005
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
39006
+ if (f != null) {
39007
+ writer.writeString(
39008
+ 6,
39009
+ f
39010
+ );
39011
+ }
39012
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
39013
+ if (f != null) {
39014
+ writer.writeString(
39015
+ 7,
39016
+ f
39017
+ );
39018
+ }
39019
+ f = message.getUserIdsList();
39020
+ if (f.length > 0) {
39021
+ writer.writePackedInt32(
39022
+ 8,
36454
39023
  f
36455
39024
  );
36456
39025
  }
@@ -36673,6 +39242,43 @@ proto.user.ReadListRiskPlayersRequest.prototype.hasKycStatus = function() {
36673
39242
  };
36674
39243
 
36675
39244
 
39245
+ /**
39246
+ * repeated int32 user_ids = 8;
39247
+ * @return {!Array<number>}
39248
+ */
39249
+ proto.user.ReadListRiskPlayersRequest.prototype.getUserIdsList = function() {
39250
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 8));
39251
+ };
39252
+
39253
+
39254
+ /**
39255
+ * @param {!Array<number>} value
39256
+ * @return {!proto.user.ReadListRiskPlayersRequest} returns this
39257
+ */
39258
+ proto.user.ReadListRiskPlayersRequest.prototype.setUserIdsList = function(value) {
39259
+ return jspb.Message.setField(this, 8, value || []);
39260
+ };
39261
+
39262
+
39263
+ /**
39264
+ * @param {number} value
39265
+ * @param {number=} opt_index
39266
+ * @return {!proto.user.ReadListRiskPlayersRequest} returns this
39267
+ */
39268
+ proto.user.ReadListRiskPlayersRequest.prototype.addUserIds = function(value, opt_index) {
39269
+ return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
39270
+ };
39271
+
39272
+
39273
+ /**
39274
+ * Clears the list making it empty but non-null.
39275
+ * @return {!proto.user.ReadListRiskPlayersRequest} returns this
39276
+ */
39277
+ proto.user.ReadListRiskPlayersRequest.prototype.clearUserIdsList = function() {
39278
+ return this.setUserIdsList([]);
39279
+ };
39280
+
39281
+
36676
39282
 
36677
39283
 
36678
39284
 
@@ -38386,7 +40992,13 @@ proto.user.UserKycDocumentItem.toObject = function(includeInstance, msg) {
38386
40992
  createdAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
38387
40993
  updatedAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
38388
40994
  uploadedByEmail: jspb.Message.getFieldWithDefault(msg, 17, ""),
38389
- reviewerEmail: jspb.Message.getFieldWithDefault(msg, 18, "")
40995
+ reviewerEmail: jspb.Message.getFieldWithDefault(msg, 18, ""),
40996
+ kycProvider: jspb.Message.getFieldWithDefault(msg, 19, ""),
40997
+ providerDocumentId: jspb.Message.getFieldWithDefault(msg, 20, ""),
40998
+ providerDocumentType: jspb.Message.getFieldWithDefault(msg, 21, ""),
40999
+ providerStatus: jspb.Message.getFieldWithDefault(msg, 22, ""),
41000
+ providerReasonCode: jspb.Message.getFieldWithDefault(msg, 23, ""),
41001
+ providerUpdatedAt: jspb.Message.getFieldWithDefault(msg, 24, "")
38390
41002
  };
38391
41003
 
38392
41004
  if (includeInstance) {
@@ -38495,6 +41107,30 @@ proto.user.UserKycDocumentItem.deserializeBinaryFromReader = function(msg, reade
38495
41107
  var value = /** @type {string} */ (reader.readString());
38496
41108
  msg.setReviewerEmail(value);
38497
41109
  break;
41110
+ case 19:
41111
+ var value = /** @type {string} */ (reader.readString());
41112
+ msg.setKycProvider(value);
41113
+ break;
41114
+ case 20:
41115
+ var value = /** @type {string} */ (reader.readString());
41116
+ msg.setProviderDocumentId(value);
41117
+ break;
41118
+ case 21:
41119
+ var value = /** @type {string} */ (reader.readString());
41120
+ msg.setProviderDocumentType(value);
41121
+ break;
41122
+ case 22:
41123
+ var value = /** @type {string} */ (reader.readString());
41124
+ msg.setProviderStatus(value);
41125
+ break;
41126
+ case 23:
41127
+ var value = /** @type {string} */ (reader.readString());
41128
+ msg.setProviderReasonCode(value);
41129
+ break;
41130
+ case 24:
41131
+ var value = /** @type {string} */ (reader.readString());
41132
+ msg.setProviderUpdatedAt(value);
41133
+ break;
38498
41134
  default:
38499
41135
  reader.skipField();
38500
41136
  break;
@@ -38650,6 +41286,48 @@ proto.user.UserKycDocumentItem.serializeBinaryToWriter = function(message, write
38650
41286
  f
38651
41287
  );
38652
41288
  }
41289
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
41290
+ if (f != null) {
41291
+ writer.writeString(
41292
+ 19,
41293
+ f
41294
+ );
41295
+ }
41296
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
41297
+ if (f != null) {
41298
+ writer.writeString(
41299
+ 20,
41300
+ f
41301
+ );
41302
+ }
41303
+ f = /** @type {string} */ (jspb.Message.getField(message, 21));
41304
+ if (f != null) {
41305
+ writer.writeString(
41306
+ 21,
41307
+ f
41308
+ );
41309
+ }
41310
+ f = /** @type {string} */ (jspb.Message.getField(message, 22));
41311
+ if (f != null) {
41312
+ writer.writeString(
41313
+ 22,
41314
+ f
41315
+ );
41316
+ }
41317
+ f = /** @type {string} */ (jspb.Message.getField(message, 23));
41318
+ if (f != null) {
41319
+ writer.writeString(
41320
+ 23,
41321
+ f
41322
+ );
41323
+ }
41324
+ f = /** @type {string} */ (jspb.Message.getField(message, 24));
41325
+ if (f != null) {
41326
+ writer.writeString(
41327
+ 24,
41328
+ f
41329
+ );
41330
+ }
38653
41331
  };
38654
41332
 
38655
41333
 
@@ -39211,6 +41889,222 @@ proto.user.UserKycDocumentItem.prototype.hasReviewerEmail = function() {
39211
41889
  };
39212
41890
 
39213
41891
 
41892
+ /**
41893
+ * optional string kyc_provider = 19;
41894
+ * @return {string}
41895
+ */
41896
+ proto.user.UserKycDocumentItem.prototype.getKycProvider = function() {
41897
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
41898
+ };
41899
+
41900
+
41901
+ /**
41902
+ * @param {string} value
41903
+ * @return {!proto.user.UserKycDocumentItem} returns this
41904
+ */
41905
+ proto.user.UserKycDocumentItem.prototype.setKycProvider = function(value) {
41906
+ return jspb.Message.setField(this, 19, value);
41907
+ };
41908
+
41909
+
41910
+ /**
41911
+ * Clears the field making it undefined.
41912
+ * @return {!proto.user.UserKycDocumentItem} returns this
41913
+ */
41914
+ proto.user.UserKycDocumentItem.prototype.clearKycProvider = function() {
41915
+ return jspb.Message.setField(this, 19, undefined);
41916
+ };
41917
+
41918
+
41919
+ /**
41920
+ * Returns whether this field is set.
41921
+ * @return {boolean}
41922
+ */
41923
+ proto.user.UserKycDocumentItem.prototype.hasKycProvider = function() {
41924
+ return jspb.Message.getField(this, 19) != null;
41925
+ };
41926
+
41927
+
41928
+ /**
41929
+ * optional string provider_document_id = 20;
41930
+ * @return {string}
41931
+ */
41932
+ proto.user.UserKycDocumentItem.prototype.getProviderDocumentId = function() {
41933
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
41934
+ };
41935
+
41936
+
41937
+ /**
41938
+ * @param {string} value
41939
+ * @return {!proto.user.UserKycDocumentItem} returns this
41940
+ */
41941
+ proto.user.UserKycDocumentItem.prototype.setProviderDocumentId = function(value) {
41942
+ return jspb.Message.setField(this, 20, value);
41943
+ };
41944
+
41945
+
41946
+ /**
41947
+ * Clears the field making it undefined.
41948
+ * @return {!proto.user.UserKycDocumentItem} returns this
41949
+ */
41950
+ proto.user.UserKycDocumentItem.prototype.clearProviderDocumentId = function() {
41951
+ return jspb.Message.setField(this, 20, undefined);
41952
+ };
41953
+
41954
+
41955
+ /**
41956
+ * Returns whether this field is set.
41957
+ * @return {boolean}
41958
+ */
41959
+ proto.user.UserKycDocumentItem.prototype.hasProviderDocumentId = function() {
41960
+ return jspb.Message.getField(this, 20) != null;
41961
+ };
41962
+
41963
+
41964
+ /**
41965
+ * optional string provider_document_type = 21;
41966
+ * @return {string}
41967
+ */
41968
+ proto.user.UserKycDocumentItem.prototype.getProviderDocumentType = function() {
41969
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
41970
+ };
41971
+
41972
+
41973
+ /**
41974
+ * @param {string} value
41975
+ * @return {!proto.user.UserKycDocumentItem} returns this
41976
+ */
41977
+ proto.user.UserKycDocumentItem.prototype.setProviderDocumentType = function(value) {
41978
+ return jspb.Message.setField(this, 21, value);
41979
+ };
41980
+
41981
+
41982
+ /**
41983
+ * Clears the field making it undefined.
41984
+ * @return {!proto.user.UserKycDocumentItem} returns this
41985
+ */
41986
+ proto.user.UserKycDocumentItem.prototype.clearProviderDocumentType = function() {
41987
+ return jspb.Message.setField(this, 21, undefined);
41988
+ };
41989
+
41990
+
41991
+ /**
41992
+ * Returns whether this field is set.
41993
+ * @return {boolean}
41994
+ */
41995
+ proto.user.UserKycDocumentItem.prototype.hasProviderDocumentType = function() {
41996
+ return jspb.Message.getField(this, 21) != null;
41997
+ };
41998
+
41999
+
42000
+ /**
42001
+ * optional string provider_status = 22;
42002
+ * @return {string}
42003
+ */
42004
+ proto.user.UserKycDocumentItem.prototype.getProviderStatus = function() {
42005
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
42006
+ };
42007
+
42008
+
42009
+ /**
42010
+ * @param {string} value
42011
+ * @return {!proto.user.UserKycDocumentItem} returns this
42012
+ */
42013
+ proto.user.UserKycDocumentItem.prototype.setProviderStatus = function(value) {
42014
+ return jspb.Message.setField(this, 22, value);
42015
+ };
42016
+
42017
+
42018
+ /**
42019
+ * Clears the field making it undefined.
42020
+ * @return {!proto.user.UserKycDocumentItem} returns this
42021
+ */
42022
+ proto.user.UserKycDocumentItem.prototype.clearProviderStatus = function() {
42023
+ return jspb.Message.setField(this, 22, undefined);
42024
+ };
42025
+
42026
+
42027
+ /**
42028
+ * Returns whether this field is set.
42029
+ * @return {boolean}
42030
+ */
42031
+ proto.user.UserKycDocumentItem.prototype.hasProviderStatus = function() {
42032
+ return jspb.Message.getField(this, 22) != null;
42033
+ };
42034
+
42035
+
42036
+ /**
42037
+ * optional string provider_reason_code = 23;
42038
+ * @return {string}
42039
+ */
42040
+ proto.user.UserKycDocumentItem.prototype.getProviderReasonCode = function() {
42041
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
42042
+ };
42043
+
42044
+
42045
+ /**
42046
+ * @param {string} value
42047
+ * @return {!proto.user.UserKycDocumentItem} returns this
42048
+ */
42049
+ proto.user.UserKycDocumentItem.prototype.setProviderReasonCode = function(value) {
42050
+ return jspb.Message.setField(this, 23, value);
42051
+ };
42052
+
42053
+
42054
+ /**
42055
+ * Clears the field making it undefined.
42056
+ * @return {!proto.user.UserKycDocumentItem} returns this
42057
+ */
42058
+ proto.user.UserKycDocumentItem.prototype.clearProviderReasonCode = function() {
42059
+ return jspb.Message.setField(this, 23, undefined);
42060
+ };
42061
+
42062
+
42063
+ /**
42064
+ * Returns whether this field is set.
42065
+ * @return {boolean}
42066
+ */
42067
+ proto.user.UserKycDocumentItem.prototype.hasProviderReasonCode = function() {
42068
+ return jspb.Message.getField(this, 23) != null;
42069
+ };
42070
+
42071
+
42072
+ /**
42073
+ * optional string provider_updated_at = 24;
42074
+ * @return {string}
42075
+ */
42076
+ proto.user.UserKycDocumentItem.prototype.getProviderUpdatedAt = function() {
42077
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
42078
+ };
42079
+
42080
+
42081
+ /**
42082
+ * @param {string} value
42083
+ * @return {!proto.user.UserKycDocumentItem} returns this
42084
+ */
42085
+ proto.user.UserKycDocumentItem.prototype.setProviderUpdatedAt = function(value) {
42086
+ return jspb.Message.setField(this, 24, value);
42087
+ };
42088
+
42089
+
42090
+ /**
42091
+ * Clears the field making it undefined.
42092
+ * @return {!proto.user.UserKycDocumentItem} returns this
42093
+ */
42094
+ proto.user.UserKycDocumentItem.prototype.clearProviderUpdatedAt = function() {
42095
+ return jspb.Message.setField(this, 24, undefined);
42096
+ };
42097
+
42098
+
42099
+ /**
42100
+ * Returns whether this field is set.
42101
+ * @return {boolean}
42102
+ */
42103
+ proto.user.UserKycDocumentItem.prototype.hasProviderUpdatedAt = function() {
42104
+ return jspb.Message.getField(this, 24) != null;
42105
+ };
42106
+
42107
+
39214
42108
 
39215
42109
  /**
39216
42110
  * List of repeated fields within this message type.
@@ -40274,7 +43168,13 @@ proto.user.UserKycDocumentListItem.toObject = function(includeInstance, msg) {
40274
43168
  kycStatus: jspb.Message.getFieldWithDefault(msg, 21, ""),
40275
43169
  riskLevel: jspb.Message.getFieldWithDefault(msg, 22, ""),
40276
43170
  uploadedByEmail: jspb.Message.getFieldWithDefault(msg, 23, ""),
40277
- reviewerEmail: jspb.Message.getFieldWithDefault(msg, 24, "")
43171
+ reviewerEmail: jspb.Message.getFieldWithDefault(msg, 24, ""),
43172
+ kycProvider: jspb.Message.getFieldWithDefault(msg, 25, ""),
43173
+ providerDocumentId: jspb.Message.getFieldWithDefault(msg, 26, ""),
43174
+ providerDocumentType: jspb.Message.getFieldWithDefault(msg, 27, ""),
43175
+ providerStatus: jspb.Message.getFieldWithDefault(msg, 28, ""),
43176
+ providerReasonCode: jspb.Message.getFieldWithDefault(msg, 29, ""),
43177
+ providerUpdatedAt: jspb.Message.getFieldWithDefault(msg, 30, "")
40278
43178
  };
40279
43179
 
40280
43180
  if (includeInstance) {
@@ -40407,6 +43307,30 @@ proto.user.UserKycDocumentListItem.deserializeBinaryFromReader = function(msg, r
40407
43307
  var value = /** @type {string} */ (reader.readString());
40408
43308
  msg.setReviewerEmail(value);
40409
43309
  break;
43310
+ case 25:
43311
+ var value = /** @type {string} */ (reader.readString());
43312
+ msg.setKycProvider(value);
43313
+ break;
43314
+ case 26:
43315
+ var value = /** @type {string} */ (reader.readString());
43316
+ msg.setProviderDocumentId(value);
43317
+ break;
43318
+ case 27:
43319
+ var value = /** @type {string} */ (reader.readString());
43320
+ msg.setProviderDocumentType(value);
43321
+ break;
43322
+ case 28:
43323
+ var value = /** @type {string} */ (reader.readString());
43324
+ msg.setProviderStatus(value);
43325
+ break;
43326
+ case 29:
43327
+ var value = /** @type {string} */ (reader.readString());
43328
+ msg.setProviderReasonCode(value);
43329
+ break;
43330
+ case 30:
43331
+ var value = /** @type {string} */ (reader.readString());
43332
+ msg.setProviderUpdatedAt(value);
43333
+ break;
40410
43334
  default:
40411
43335
  reader.skipField();
40412
43336
  break;
@@ -40604,6 +43528,48 @@ proto.user.UserKycDocumentListItem.serializeBinaryToWriter = function(message, w
40604
43528
  f
40605
43529
  );
40606
43530
  }
43531
+ f = /** @type {string} */ (jspb.Message.getField(message, 25));
43532
+ if (f != null) {
43533
+ writer.writeString(
43534
+ 25,
43535
+ f
43536
+ );
43537
+ }
43538
+ f = /** @type {string} */ (jspb.Message.getField(message, 26));
43539
+ if (f != null) {
43540
+ writer.writeString(
43541
+ 26,
43542
+ f
43543
+ );
43544
+ }
43545
+ f = /** @type {string} */ (jspb.Message.getField(message, 27));
43546
+ if (f != null) {
43547
+ writer.writeString(
43548
+ 27,
43549
+ f
43550
+ );
43551
+ }
43552
+ f = /** @type {string} */ (jspb.Message.getField(message, 28));
43553
+ if (f != null) {
43554
+ writer.writeString(
43555
+ 28,
43556
+ f
43557
+ );
43558
+ }
43559
+ f = /** @type {string} */ (jspb.Message.getField(message, 29));
43560
+ if (f != null) {
43561
+ writer.writeString(
43562
+ 29,
43563
+ f
43564
+ );
43565
+ }
43566
+ f = /** @type {string} */ (jspb.Message.getField(message, 30));
43567
+ if (f != null) {
43568
+ writer.writeString(
43569
+ 30,
43570
+ f
43571
+ );
43572
+ }
40607
43573
  };
40608
43574
 
40609
43575
 
@@ -41381,6 +44347,222 @@ proto.user.UserKycDocumentListItem.prototype.hasReviewerEmail = function() {
41381
44347
  };
41382
44348
 
41383
44349
 
44350
+ /**
44351
+ * optional string kyc_provider = 25;
44352
+ * @return {string}
44353
+ */
44354
+ proto.user.UserKycDocumentListItem.prototype.getKycProvider = function() {
44355
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
44356
+ };
44357
+
44358
+
44359
+ /**
44360
+ * @param {string} value
44361
+ * @return {!proto.user.UserKycDocumentListItem} returns this
44362
+ */
44363
+ proto.user.UserKycDocumentListItem.prototype.setKycProvider = function(value) {
44364
+ return jspb.Message.setField(this, 25, value);
44365
+ };
44366
+
44367
+
44368
+ /**
44369
+ * Clears the field making it undefined.
44370
+ * @return {!proto.user.UserKycDocumentListItem} returns this
44371
+ */
44372
+ proto.user.UserKycDocumentListItem.prototype.clearKycProvider = function() {
44373
+ return jspb.Message.setField(this, 25, undefined);
44374
+ };
44375
+
44376
+
44377
+ /**
44378
+ * Returns whether this field is set.
44379
+ * @return {boolean}
44380
+ */
44381
+ proto.user.UserKycDocumentListItem.prototype.hasKycProvider = function() {
44382
+ return jspb.Message.getField(this, 25) != null;
44383
+ };
44384
+
44385
+
44386
+ /**
44387
+ * optional string provider_document_id = 26;
44388
+ * @return {string}
44389
+ */
44390
+ proto.user.UserKycDocumentListItem.prototype.getProviderDocumentId = function() {
44391
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
44392
+ };
44393
+
44394
+
44395
+ /**
44396
+ * @param {string} value
44397
+ * @return {!proto.user.UserKycDocumentListItem} returns this
44398
+ */
44399
+ proto.user.UserKycDocumentListItem.prototype.setProviderDocumentId = function(value) {
44400
+ return jspb.Message.setField(this, 26, value);
44401
+ };
44402
+
44403
+
44404
+ /**
44405
+ * Clears the field making it undefined.
44406
+ * @return {!proto.user.UserKycDocumentListItem} returns this
44407
+ */
44408
+ proto.user.UserKycDocumentListItem.prototype.clearProviderDocumentId = function() {
44409
+ return jspb.Message.setField(this, 26, undefined);
44410
+ };
44411
+
44412
+
44413
+ /**
44414
+ * Returns whether this field is set.
44415
+ * @return {boolean}
44416
+ */
44417
+ proto.user.UserKycDocumentListItem.prototype.hasProviderDocumentId = function() {
44418
+ return jspb.Message.getField(this, 26) != null;
44419
+ };
44420
+
44421
+
44422
+ /**
44423
+ * optional string provider_document_type = 27;
44424
+ * @return {string}
44425
+ */
44426
+ proto.user.UserKycDocumentListItem.prototype.getProviderDocumentType = function() {
44427
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
44428
+ };
44429
+
44430
+
44431
+ /**
44432
+ * @param {string} value
44433
+ * @return {!proto.user.UserKycDocumentListItem} returns this
44434
+ */
44435
+ proto.user.UserKycDocumentListItem.prototype.setProviderDocumentType = function(value) {
44436
+ return jspb.Message.setField(this, 27, value);
44437
+ };
44438
+
44439
+
44440
+ /**
44441
+ * Clears the field making it undefined.
44442
+ * @return {!proto.user.UserKycDocumentListItem} returns this
44443
+ */
44444
+ proto.user.UserKycDocumentListItem.prototype.clearProviderDocumentType = function() {
44445
+ return jspb.Message.setField(this, 27, undefined);
44446
+ };
44447
+
44448
+
44449
+ /**
44450
+ * Returns whether this field is set.
44451
+ * @return {boolean}
44452
+ */
44453
+ proto.user.UserKycDocumentListItem.prototype.hasProviderDocumentType = function() {
44454
+ return jspb.Message.getField(this, 27) != null;
44455
+ };
44456
+
44457
+
44458
+ /**
44459
+ * optional string provider_status = 28;
44460
+ * @return {string}
44461
+ */
44462
+ proto.user.UserKycDocumentListItem.prototype.getProviderStatus = function() {
44463
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
44464
+ };
44465
+
44466
+
44467
+ /**
44468
+ * @param {string} value
44469
+ * @return {!proto.user.UserKycDocumentListItem} returns this
44470
+ */
44471
+ proto.user.UserKycDocumentListItem.prototype.setProviderStatus = function(value) {
44472
+ return jspb.Message.setField(this, 28, value);
44473
+ };
44474
+
44475
+
44476
+ /**
44477
+ * Clears the field making it undefined.
44478
+ * @return {!proto.user.UserKycDocumentListItem} returns this
44479
+ */
44480
+ proto.user.UserKycDocumentListItem.prototype.clearProviderStatus = function() {
44481
+ return jspb.Message.setField(this, 28, undefined);
44482
+ };
44483
+
44484
+
44485
+ /**
44486
+ * Returns whether this field is set.
44487
+ * @return {boolean}
44488
+ */
44489
+ proto.user.UserKycDocumentListItem.prototype.hasProviderStatus = function() {
44490
+ return jspb.Message.getField(this, 28) != null;
44491
+ };
44492
+
44493
+
44494
+ /**
44495
+ * optional string provider_reason_code = 29;
44496
+ * @return {string}
44497
+ */
44498
+ proto.user.UserKycDocumentListItem.prototype.getProviderReasonCode = function() {
44499
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
44500
+ };
44501
+
44502
+
44503
+ /**
44504
+ * @param {string} value
44505
+ * @return {!proto.user.UserKycDocumentListItem} returns this
44506
+ */
44507
+ proto.user.UserKycDocumentListItem.prototype.setProviderReasonCode = function(value) {
44508
+ return jspb.Message.setField(this, 29, value);
44509
+ };
44510
+
44511
+
44512
+ /**
44513
+ * Clears the field making it undefined.
44514
+ * @return {!proto.user.UserKycDocumentListItem} returns this
44515
+ */
44516
+ proto.user.UserKycDocumentListItem.prototype.clearProviderReasonCode = function() {
44517
+ return jspb.Message.setField(this, 29, undefined);
44518
+ };
44519
+
44520
+
44521
+ /**
44522
+ * Returns whether this field is set.
44523
+ * @return {boolean}
44524
+ */
44525
+ proto.user.UserKycDocumentListItem.prototype.hasProviderReasonCode = function() {
44526
+ return jspb.Message.getField(this, 29) != null;
44527
+ };
44528
+
44529
+
44530
+ /**
44531
+ * optional string provider_updated_at = 30;
44532
+ * @return {string}
44533
+ */
44534
+ proto.user.UserKycDocumentListItem.prototype.getProviderUpdatedAt = function() {
44535
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
44536
+ };
44537
+
44538
+
44539
+ /**
44540
+ * @param {string} value
44541
+ * @return {!proto.user.UserKycDocumentListItem} returns this
44542
+ */
44543
+ proto.user.UserKycDocumentListItem.prototype.setProviderUpdatedAt = function(value) {
44544
+ return jspb.Message.setField(this, 30, value);
44545
+ };
44546
+
44547
+
44548
+ /**
44549
+ * Clears the field making it undefined.
44550
+ * @return {!proto.user.UserKycDocumentListItem} returns this
44551
+ */
44552
+ proto.user.UserKycDocumentListItem.prototype.clearProviderUpdatedAt = function() {
44553
+ return jspb.Message.setField(this, 30, undefined);
44554
+ };
44555
+
44556
+
44557
+ /**
44558
+ * Returns whether this field is set.
44559
+ * @return {boolean}
44560
+ */
44561
+ proto.user.UserKycDocumentListItem.prototype.hasProviderUpdatedAt = function() {
44562
+ return jspb.Message.getField(this, 30) != null;
44563
+ };
44564
+
44565
+
41384
44566
 
41385
44567
  /**
41386
44568
  * List of repeated fields within this message type.