@sniipwebmaster/kyc-client-grpcweb 22.1.677 → 22.1.694
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/dependancies/service_grpc_web_pb.js +16 -16
- package/dependancies/service_pb.js +255 -228
- package/package.json +1 -1
|
@@ -797,16 +797,16 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.submitUserKyc =
|
|
|
797
797
|
/**
|
|
798
798
|
* @const
|
|
799
799
|
* @type {!grpc.web.MethodDescriptor<
|
|
800
|
-
* !proto.kycserviceapi.
|
|
800
|
+
* !proto.kycserviceapi.UpdateKycUserStatusRequest,
|
|
801
801
|
* !proto.kycserviceapi.ResponseCode>}
|
|
802
802
|
*/
|
|
803
|
-
const
|
|
804
|
-
'/kycserviceapi.KYCServiceAPIService/
|
|
803
|
+
const methodDescriptor_KYCServiceAPIService_UpdateKycUserStatus = new grpc.web.MethodDescriptor(
|
|
804
|
+
'/kycserviceapi.KYCServiceAPIService/UpdateKycUserStatus',
|
|
805
805
|
grpc.web.MethodType.UNARY,
|
|
806
|
-
proto.kycserviceapi.
|
|
806
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest,
|
|
807
807
|
proto.kycserviceapi.ResponseCode,
|
|
808
808
|
/**
|
|
809
|
-
* @param {!proto.kycserviceapi.
|
|
809
|
+
* @param {!proto.kycserviceapi.UpdateKycUserStatusRequest} request
|
|
810
810
|
* @return {!Uint8Array}
|
|
811
811
|
*/
|
|
812
812
|
function(request) {
|
|
@@ -819,13 +819,13 @@ const methodDescriptor_KYCServiceAPIService_UpdateUserStatus = new grpc.web.Meth
|
|
|
819
819
|
/**
|
|
820
820
|
* @const
|
|
821
821
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
822
|
-
* !proto.kycserviceapi.
|
|
822
|
+
* !proto.kycserviceapi.UpdateKycUserStatusRequest,
|
|
823
823
|
* !proto.kycserviceapi.ResponseCode>}
|
|
824
824
|
*/
|
|
825
|
-
const
|
|
825
|
+
const methodInfo_KYCServiceAPIService_UpdateKycUserStatus = new grpc.web.AbstractClientBase.MethodInfo(
|
|
826
826
|
proto.kycserviceapi.ResponseCode,
|
|
827
827
|
/**
|
|
828
|
-
* @param {!proto.kycserviceapi.
|
|
828
|
+
* @param {!proto.kycserviceapi.UpdateKycUserStatusRequest} request
|
|
829
829
|
* @return {!Uint8Array}
|
|
830
830
|
*/
|
|
831
831
|
function(request) {
|
|
@@ -836,7 +836,7 @@ const methodInfo_KYCServiceAPIService_UpdateUserStatus = new grpc.web.AbstractCl
|
|
|
836
836
|
|
|
837
837
|
|
|
838
838
|
/**
|
|
839
|
-
* @param {!proto.kycserviceapi.
|
|
839
|
+
* @param {!proto.kycserviceapi.UpdateKycUserStatusRequest} request The
|
|
840
840
|
* request proto
|
|
841
841
|
* @param {?Object<string, string>} metadata User defined
|
|
842
842
|
* call metadata
|
|
@@ -845,32 +845,32 @@ const methodInfo_KYCServiceAPIService_UpdateUserStatus = new grpc.web.AbstractCl
|
|
|
845
845
|
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
846
846
|
* The XHR Node Readable Stream
|
|
847
847
|
*/
|
|
848
|
-
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.
|
|
848
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.updateKycUserStatus =
|
|
849
849
|
function(request, metadata, callback) {
|
|
850
850
|
return this.client_.rpcCall(this.hostname_ +
|
|
851
|
-
'/kycserviceapi.KYCServiceAPIService/
|
|
851
|
+
'/kycserviceapi.KYCServiceAPIService/UpdateKycUserStatus',
|
|
852
852
|
request,
|
|
853
853
|
metadata || {},
|
|
854
|
-
|
|
854
|
+
methodDescriptor_KYCServiceAPIService_UpdateKycUserStatus,
|
|
855
855
|
callback);
|
|
856
856
|
};
|
|
857
857
|
|
|
858
858
|
|
|
859
859
|
/**
|
|
860
|
-
* @param {!proto.kycserviceapi.
|
|
860
|
+
* @param {!proto.kycserviceapi.UpdateKycUserStatusRequest} request The
|
|
861
861
|
* request proto
|
|
862
862
|
* @param {?Object<string, string>} metadata User defined
|
|
863
863
|
* call metadata
|
|
864
864
|
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
865
865
|
* Promise that resolves to the response
|
|
866
866
|
*/
|
|
867
|
-
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.
|
|
867
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.updateKycUserStatus =
|
|
868
868
|
function(request, metadata) {
|
|
869
869
|
return this.client_.unaryCall(this.hostname_ +
|
|
870
|
-
'/kycserviceapi.KYCServiceAPIService/
|
|
870
|
+
'/kycserviceapi.KYCServiceAPIService/UpdateKycUserStatus',
|
|
871
871
|
request,
|
|
872
872
|
metadata || {},
|
|
873
|
-
|
|
873
|
+
methodDescriptor_KYCServiceAPIService_UpdateKycUserStatus);
|
|
874
874
|
};
|
|
875
875
|
|
|
876
876
|
|
|
@@ -23,19 +23,19 @@ goog.exportSymbol('proto.kycserviceapi.DriversLicense', null, global);
|
|
|
23
23
|
goog.exportSymbol('proto.kycserviceapi.GetDocumentRequest', null, global);
|
|
24
24
|
goog.exportSymbol('proto.kycserviceapi.GetUserKycSummaryRequest', null, global);
|
|
25
25
|
goog.exportSymbol('proto.kycserviceapi.KycPaymentMethod', null, global);
|
|
26
|
+
goog.exportSymbol('proto.kycserviceapi.KycUserStatusUpdateRequest', null, global);
|
|
26
27
|
goog.exportSymbol('proto.kycserviceapi.Passport', null, global);
|
|
27
28
|
goog.exportSymbol('proto.kycserviceapi.RequestUserKycRequest', null, global);
|
|
28
29
|
goog.exportSymbol('proto.kycserviceapi.RequestedDocument', null, global);
|
|
29
30
|
goog.exportSymbol('proto.kycserviceapi.ResponseCode', null, global);
|
|
30
31
|
goog.exportSymbol('proto.kycserviceapi.SaveDocumentRequest', null, global);
|
|
31
32
|
goog.exportSymbol('proto.kycserviceapi.State', null, global);
|
|
32
|
-
goog.exportSymbol('proto.kycserviceapi.
|
|
33
|
+
goog.exportSymbol('proto.kycserviceapi.UpdateKycUserStatusRequest', null, global);
|
|
33
34
|
goog.exportSymbol('proto.kycserviceapi.User', null, global);
|
|
34
35
|
goog.exportSymbol('proto.kycserviceapi.UserKycRequest', null, global);
|
|
35
36
|
goog.exportSymbol('proto.kycserviceapi.UserKycStatusResponse', null, global);
|
|
36
37
|
goog.exportSymbol('proto.kycserviceapi.UserKycSummaryResponse', null, global);
|
|
37
38
|
goog.exportSymbol('proto.kycserviceapi.UserStatus', null, global);
|
|
38
|
-
goog.exportSymbol('proto.kycserviceapi.UserStatusUpdateRequest', null, global);
|
|
39
39
|
goog.exportSymbol('proto.kycserviceapi.VerifyDocumentRequest', null, global);
|
|
40
40
|
goog.exportSymbol('proto.kycserviceapi.VerifyUserRequest', null, global);
|
|
41
41
|
|
|
@@ -2108,6 +2108,221 @@ proto.kycserviceapi.KycPaymentMethod.prototype.setPaymentmethodid = function(val
|
|
|
2108
2108
|
|
|
2109
2109
|
|
|
2110
2110
|
|
|
2111
|
+
/**
|
|
2112
|
+
* Generated by JsPbCodeGenerator.
|
|
2113
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2114
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2115
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2116
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2117
|
+
* valid.
|
|
2118
|
+
* @extends {jspb.Message}
|
|
2119
|
+
* @constructor
|
|
2120
|
+
*/
|
|
2121
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest = function(opt_data) {
|
|
2122
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2123
|
+
};
|
|
2124
|
+
goog.inherits(proto.kycserviceapi.KycUserStatusUpdateRequest, jspb.Message);
|
|
2125
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2126
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.displayName = 'proto.kycserviceapi.KycUserStatusUpdateRequest';
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
|
|
2130
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2131
|
+
/**
|
|
2132
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2133
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2134
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2135
|
+
* For the list of reserved names please see:
|
|
2136
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2137
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2138
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2139
|
+
* @return {!Object}
|
|
2140
|
+
*/
|
|
2141
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2142
|
+
return proto.kycserviceapi.KycUserStatusUpdateRequest.toObject(opt_includeInstance, this);
|
|
2143
|
+
};
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* Static version of the {@see toObject} method.
|
|
2148
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2149
|
+
* instance for transitional soy proto support:
|
|
2150
|
+
* http://goto/soy-param-migration
|
|
2151
|
+
* @param {!proto.kycserviceapi.KycUserStatusUpdateRequest} msg The msg instance to transform.
|
|
2152
|
+
* @return {!Object}
|
|
2153
|
+
*/
|
|
2154
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.toObject = function(includeInstance, msg) {
|
|
2155
|
+
var f, obj = {
|
|
2156
|
+
userid: msg.getUserid(),
|
|
2157
|
+
status: msg.getStatus(),
|
|
2158
|
+
requested: msg.getRequested()
|
|
2159
|
+
};
|
|
2160
|
+
|
|
2161
|
+
if (includeInstance) {
|
|
2162
|
+
obj.$jspbMessageInstance = msg;
|
|
2163
|
+
}
|
|
2164
|
+
return obj;
|
|
2165
|
+
};
|
|
2166
|
+
}
|
|
2167
|
+
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2171
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2172
|
+
* @return {!proto.kycserviceapi.KycUserStatusUpdateRequest}
|
|
2173
|
+
*/
|
|
2174
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.deserializeBinary = function(bytes) {
|
|
2175
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2176
|
+
var msg = new proto.kycserviceapi.KycUserStatusUpdateRequest;
|
|
2177
|
+
return proto.kycserviceapi.KycUserStatusUpdateRequest.deserializeBinaryFromReader(msg, reader);
|
|
2178
|
+
};
|
|
2179
|
+
|
|
2180
|
+
|
|
2181
|
+
/**
|
|
2182
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2183
|
+
* given reader into the given message object.
|
|
2184
|
+
* @param {!proto.kycserviceapi.KycUserStatusUpdateRequest} msg The message object to deserialize into.
|
|
2185
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2186
|
+
* @return {!proto.kycserviceapi.KycUserStatusUpdateRequest}
|
|
2187
|
+
*/
|
|
2188
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2189
|
+
while (reader.nextField()) {
|
|
2190
|
+
if (reader.isEndGroup()) {
|
|
2191
|
+
break;
|
|
2192
|
+
}
|
|
2193
|
+
var field = reader.getFieldNumber();
|
|
2194
|
+
switch (field) {
|
|
2195
|
+
case 1:
|
|
2196
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2197
|
+
msg.setUserid(value);
|
|
2198
|
+
break;
|
|
2199
|
+
case 2:
|
|
2200
|
+
var value = /** @type {!proto.kycserviceapi.UserStatus} */ (reader.readEnum());
|
|
2201
|
+
msg.setStatus(value);
|
|
2202
|
+
break;
|
|
2203
|
+
case 3:
|
|
2204
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2205
|
+
msg.setRequested(value);
|
|
2206
|
+
break;
|
|
2207
|
+
default:
|
|
2208
|
+
reader.skipField();
|
|
2209
|
+
break;
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
return msg;
|
|
2213
|
+
};
|
|
2214
|
+
|
|
2215
|
+
|
|
2216
|
+
/**
|
|
2217
|
+
* Class method variant: serializes the given message to binary data
|
|
2218
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
2219
|
+
* @param {!proto.kycserviceapi.KycUserStatusUpdateRequest} message
|
|
2220
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2221
|
+
*/
|
|
2222
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2223
|
+
message.serializeBinaryToWriter(writer);
|
|
2224
|
+
};
|
|
2225
|
+
|
|
2226
|
+
|
|
2227
|
+
/**
|
|
2228
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2229
|
+
* @return {!Uint8Array}
|
|
2230
|
+
*/
|
|
2231
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.serializeBinary = function() {
|
|
2232
|
+
var writer = new jspb.BinaryWriter();
|
|
2233
|
+
this.serializeBinaryToWriter(writer);
|
|
2234
|
+
return writer.getResultBuffer();
|
|
2235
|
+
};
|
|
2236
|
+
|
|
2237
|
+
|
|
2238
|
+
/**
|
|
2239
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
2240
|
+
* writing to the given BinaryWriter.
|
|
2241
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2242
|
+
*/
|
|
2243
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
2244
|
+
var f = undefined;
|
|
2245
|
+
f = this.getUserid();
|
|
2246
|
+
if (f !== 0) {
|
|
2247
|
+
writer.writeInt64(
|
|
2248
|
+
1,
|
|
2249
|
+
f
|
|
2250
|
+
);
|
|
2251
|
+
}
|
|
2252
|
+
f = this.getStatus();
|
|
2253
|
+
if (f !== 0.0) {
|
|
2254
|
+
writer.writeEnum(
|
|
2255
|
+
2,
|
|
2256
|
+
f
|
|
2257
|
+
);
|
|
2258
|
+
}
|
|
2259
|
+
f = this.getRequested();
|
|
2260
|
+
if (f) {
|
|
2261
|
+
writer.writeBool(
|
|
2262
|
+
3,
|
|
2263
|
+
f
|
|
2264
|
+
);
|
|
2265
|
+
}
|
|
2266
|
+
};
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
/**
|
|
2270
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
2271
|
+
* @return {!proto.kycserviceapi.KycUserStatusUpdateRequest} The clone.
|
|
2272
|
+
*/
|
|
2273
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.cloneMessage = function() {
|
|
2274
|
+
return /** @type {!proto.kycserviceapi.KycUserStatusUpdateRequest} */ (jspb.Message.cloneMessage(this));
|
|
2275
|
+
};
|
|
2276
|
+
|
|
2277
|
+
|
|
2278
|
+
/**
|
|
2279
|
+
* optional int64 userId = 1;
|
|
2280
|
+
* @return {number}
|
|
2281
|
+
*/
|
|
2282
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.getUserid = function() {
|
|
2283
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
2284
|
+
};
|
|
2285
|
+
|
|
2286
|
+
|
|
2287
|
+
/** @param {number} value */
|
|
2288
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.setUserid = function(value) {
|
|
2289
|
+
jspb.Message.setField(this, 1, value);
|
|
2290
|
+
};
|
|
2291
|
+
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
* optional UserStatus status = 2;
|
|
2295
|
+
* @return {!proto.kycserviceapi.UserStatus}
|
|
2296
|
+
*/
|
|
2297
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.getStatus = function() {
|
|
2298
|
+
return /** @type {!proto.kycserviceapi.UserStatus} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
2299
|
+
};
|
|
2300
|
+
|
|
2301
|
+
|
|
2302
|
+
/** @param {!proto.kycserviceapi.UserStatus} value */
|
|
2303
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.setStatus = function(value) {
|
|
2304
|
+
jspb.Message.setField(this, 2, value);
|
|
2305
|
+
};
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
/**
|
|
2309
|
+
* optional bool requested = 3;
|
|
2310
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
2311
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
2312
|
+
* @return {boolean}
|
|
2313
|
+
*/
|
|
2314
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.getRequested = function() {
|
|
2315
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 3, false));
|
|
2316
|
+
};
|
|
2317
|
+
|
|
2318
|
+
|
|
2319
|
+
/** @param {boolean} value */
|
|
2320
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.setRequested = function(value) {
|
|
2321
|
+
jspb.Message.setField(this, 3, value);
|
|
2322
|
+
};
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
|
|
2111
2326
|
/**
|
|
2112
2327
|
* Generated by JsPbCodeGenerator.
|
|
2113
2328
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3326,12 +3541,12 @@ proto.kycserviceapi.State.prototype.setRequirestwophotos = function(value) {
|
|
|
3326
3541
|
* @extends {jspb.Message}
|
|
3327
3542
|
* @constructor
|
|
3328
3543
|
*/
|
|
3329
|
-
proto.kycserviceapi.
|
|
3544
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest = function(opt_data) {
|
|
3330
3545
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3331
3546
|
};
|
|
3332
|
-
goog.inherits(proto.kycserviceapi.
|
|
3547
|
+
goog.inherits(proto.kycserviceapi.UpdateKycUserStatusRequest, jspb.Message);
|
|
3333
3548
|
if (goog.DEBUG && !COMPILED) {
|
|
3334
|
-
proto.kycserviceapi.
|
|
3549
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest.displayName = 'proto.kycserviceapi.UpdateKycUserStatusRequest';
|
|
3335
3550
|
}
|
|
3336
3551
|
|
|
3337
3552
|
|
|
@@ -3346,8 +3561,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3346
3561
|
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3347
3562
|
* @return {!Object}
|
|
3348
3563
|
*/
|
|
3349
|
-
proto.kycserviceapi.
|
|
3350
|
-
return proto.kycserviceapi.
|
|
3564
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3565
|
+
return proto.kycserviceapi.UpdateKycUserStatusRequest.toObject(opt_includeInstance, this);
|
|
3351
3566
|
};
|
|
3352
3567
|
|
|
3353
3568
|
|
|
@@ -3356,12 +3571,12 @@ proto.kycserviceapi.UpdateUserStatusRequest.prototype.toObject = function(opt_in
|
|
|
3356
3571
|
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3357
3572
|
* instance for transitional soy proto support:
|
|
3358
3573
|
* http://goto/soy-param-migration
|
|
3359
|
-
* @param {!proto.kycserviceapi.
|
|
3574
|
+
* @param {!proto.kycserviceapi.UpdateKycUserStatusRequest} msg The msg instance to transform.
|
|
3360
3575
|
* @return {!Object}
|
|
3361
3576
|
*/
|
|
3362
|
-
proto.kycserviceapi.
|
|
3577
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest.toObject = function(includeInstance, msg) {
|
|
3363
3578
|
var f, obj = {
|
|
3364
|
-
data: (f = msg.getData()) && proto.kycserviceapi.
|
|
3579
|
+
data: (f = msg.getData()) && proto.kycserviceapi.KycUserStatusUpdateRequest.toObject(includeInstance, f)
|
|
3365
3580
|
};
|
|
3366
3581
|
|
|
3367
3582
|
if (includeInstance) {
|
|
@@ -3375,23 +3590,23 @@ proto.kycserviceapi.UpdateUserStatusRequest.toObject = function(includeInstance,
|
|
|
3375
3590
|
/**
|
|
3376
3591
|
* Deserializes binary data (in protobuf wire format).
|
|
3377
3592
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3378
|
-
* @return {!proto.kycserviceapi.
|
|
3593
|
+
* @return {!proto.kycserviceapi.UpdateKycUserStatusRequest}
|
|
3379
3594
|
*/
|
|
3380
|
-
proto.kycserviceapi.
|
|
3595
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest.deserializeBinary = function(bytes) {
|
|
3381
3596
|
var reader = new jspb.BinaryReader(bytes);
|
|
3382
|
-
var msg = new proto.kycserviceapi.
|
|
3383
|
-
return proto.kycserviceapi.
|
|
3597
|
+
var msg = new proto.kycserviceapi.UpdateKycUserStatusRequest;
|
|
3598
|
+
return proto.kycserviceapi.UpdateKycUserStatusRequest.deserializeBinaryFromReader(msg, reader);
|
|
3384
3599
|
};
|
|
3385
3600
|
|
|
3386
3601
|
|
|
3387
3602
|
/**
|
|
3388
3603
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3389
3604
|
* given reader into the given message object.
|
|
3390
|
-
* @param {!proto.kycserviceapi.
|
|
3605
|
+
* @param {!proto.kycserviceapi.UpdateKycUserStatusRequest} msg The message object to deserialize into.
|
|
3391
3606
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3392
|
-
* @return {!proto.kycserviceapi.
|
|
3607
|
+
* @return {!proto.kycserviceapi.UpdateKycUserStatusRequest}
|
|
3393
3608
|
*/
|
|
3394
|
-
proto.kycserviceapi.
|
|
3609
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3395
3610
|
while (reader.nextField()) {
|
|
3396
3611
|
if (reader.isEndGroup()) {
|
|
3397
3612
|
break;
|
|
@@ -3399,8 +3614,8 @@ proto.kycserviceapi.UpdateUserStatusRequest.deserializeBinaryFromReader = functi
|
|
|
3399
3614
|
var field = reader.getFieldNumber();
|
|
3400
3615
|
switch (field) {
|
|
3401
3616
|
case 1:
|
|
3402
|
-
var value = new proto.kycserviceapi.
|
|
3403
|
-
reader.readMessage(value,proto.kycserviceapi.
|
|
3617
|
+
var value = new proto.kycserviceapi.KycUserStatusUpdateRequest;
|
|
3618
|
+
reader.readMessage(value,proto.kycserviceapi.KycUserStatusUpdateRequest.deserializeBinaryFromReader);
|
|
3404
3619
|
msg.setData(value);
|
|
3405
3620
|
break;
|
|
3406
3621
|
default:
|
|
@@ -3415,10 +3630,10 @@ proto.kycserviceapi.UpdateUserStatusRequest.deserializeBinaryFromReader = functi
|
|
|
3415
3630
|
/**
|
|
3416
3631
|
* Class method variant: serializes the given message to binary data
|
|
3417
3632
|
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
3418
|
-
* @param {!proto.kycserviceapi.
|
|
3633
|
+
* @param {!proto.kycserviceapi.UpdateKycUserStatusRequest} message
|
|
3419
3634
|
* @param {!jspb.BinaryWriter} writer
|
|
3420
3635
|
*/
|
|
3421
|
-
proto.kycserviceapi.
|
|
3636
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3422
3637
|
message.serializeBinaryToWriter(writer);
|
|
3423
3638
|
};
|
|
3424
3639
|
|
|
@@ -3427,7 +3642,7 @@ proto.kycserviceapi.UpdateUserStatusRequest.serializeBinaryToWriter = function(m
|
|
|
3427
3642
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3428
3643
|
* @return {!Uint8Array}
|
|
3429
3644
|
*/
|
|
3430
|
-
proto.kycserviceapi.
|
|
3645
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest.prototype.serializeBinary = function() {
|
|
3431
3646
|
var writer = new jspb.BinaryWriter();
|
|
3432
3647
|
this.serializeBinaryToWriter(writer);
|
|
3433
3648
|
return writer.getResultBuffer();
|
|
@@ -3439,14 +3654,14 @@ proto.kycserviceapi.UpdateUserStatusRequest.prototype.serializeBinary = function
|
|
|
3439
3654
|
* writing to the given BinaryWriter.
|
|
3440
3655
|
* @param {!jspb.BinaryWriter} writer
|
|
3441
3656
|
*/
|
|
3442
|
-
proto.kycserviceapi.
|
|
3657
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
3443
3658
|
var f = undefined;
|
|
3444
3659
|
f = this.getData();
|
|
3445
3660
|
if (f != null) {
|
|
3446
3661
|
writer.writeMessage(
|
|
3447
3662
|
1,
|
|
3448
3663
|
f,
|
|
3449
|
-
proto.kycserviceapi.
|
|
3664
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.serializeBinaryToWriter
|
|
3450
3665
|
);
|
|
3451
3666
|
}
|
|
3452
3667
|
};
|
|
@@ -3454,30 +3669,30 @@ proto.kycserviceapi.UpdateUserStatusRequest.prototype.serializeBinaryToWriter =
|
|
|
3454
3669
|
|
|
3455
3670
|
/**
|
|
3456
3671
|
* Creates a deep clone of this proto. No data is shared with the original.
|
|
3457
|
-
* @return {!proto.kycserviceapi.
|
|
3672
|
+
* @return {!proto.kycserviceapi.UpdateKycUserStatusRequest} The clone.
|
|
3458
3673
|
*/
|
|
3459
|
-
proto.kycserviceapi.
|
|
3460
|
-
return /** @type {!proto.kycserviceapi.
|
|
3674
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest.prototype.cloneMessage = function() {
|
|
3675
|
+
return /** @type {!proto.kycserviceapi.UpdateKycUserStatusRequest} */ (jspb.Message.cloneMessage(this));
|
|
3461
3676
|
};
|
|
3462
3677
|
|
|
3463
3678
|
|
|
3464
3679
|
/**
|
|
3465
|
-
* optional
|
|
3466
|
-
* @return {proto.kycserviceapi.
|
|
3680
|
+
* optional KycUserStatusUpdateRequest data = 1;
|
|
3681
|
+
* @return {proto.kycserviceapi.KycUserStatusUpdateRequest}
|
|
3467
3682
|
*/
|
|
3468
|
-
proto.kycserviceapi.
|
|
3469
|
-
return /** @type{proto.kycserviceapi.
|
|
3470
|
-
jspb.Message.getWrapperField(this, proto.kycserviceapi.
|
|
3683
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest.prototype.getData = function() {
|
|
3684
|
+
return /** @type{proto.kycserviceapi.KycUserStatusUpdateRequest} */ (
|
|
3685
|
+
jspb.Message.getWrapperField(this, proto.kycserviceapi.KycUserStatusUpdateRequest, 1));
|
|
3471
3686
|
};
|
|
3472
3687
|
|
|
3473
3688
|
|
|
3474
|
-
/** @param {proto.kycserviceapi.
|
|
3475
|
-
proto.kycserviceapi.
|
|
3689
|
+
/** @param {proto.kycserviceapi.KycUserStatusUpdateRequest|undefined} value */
|
|
3690
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest.prototype.setData = function(value) {
|
|
3476
3691
|
jspb.Message.setWrapperField(this, 1, value);
|
|
3477
3692
|
};
|
|
3478
3693
|
|
|
3479
3694
|
|
|
3480
|
-
proto.kycserviceapi.
|
|
3695
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest.prototype.clearData = function() {
|
|
3481
3696
|
this.setData(undefined);
|
|
3482
3697
|
};
|
|
3483
3698
|
|
|
@@ -3486,7 +3701,7 @@ proto.kycserviceapi.UpdateUserStatusRequest.prototype.clearData = function() {
|
|
|
3486
3701
|
* Returns whether this field is set.
|
|
3487
3702
|
* @return{!boolean}
|
|
3488
3703
|
*/
|
|
3489
|
-
proto.kycserviceapi.
|
|
3704
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest.prototype.hasData = function() {
|
|
3490
3705
|
return jspb.Message.getField(this, 1) != null;
|
|
3491
3706
|
};
|
|
3492
3707
|
|
|
@@ -4566,192 +4781,6 @@ proto.kycserviceapi.UserKycSummaryResponse.prototype.clearRequestedpaymentmethod
|
|
|
4566
4781
|
|
|
4567
4782
|
|
|
4568
4783
|
|
|
4569
|
-
/**
|
|
4570
|
-
* Generated by JsPbCodeGenerator.
|
|
4571
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4572
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
4573
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
4574
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
4575
|
-
* valid.
|
|
4576
|
-
* @extends {jspb.Message}
|
|
4577
|
-
* @constructor
|
|
4578
|
-
*/
|
|
4579
|
-
proto.kycserviceapi.UserStatusUpdateRequest = function(opt_data) {
|
|
4580
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4581
|
-
};
|
|
4582
|
-
goog.inherits(proto.kycserviceapi.UserStatusUpdateRequest, jspb.Message);
|
|
4583
|
-
if (goog.DEBUG && !COMPILED) {
|
|
4584
|
-
proto.kycserviceapi.UserStatusUpdateRequest.displayName = 'proto.kycserviceapi.UserStatusUpdateRequest';
|
|
4585
|
-
}
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4589
|
-
/**
|
|
4590
|
-
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
4591
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4592
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4593
|
-
* For the list of reserved names please see:
|
|
4594
|
-
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
4595
|
-
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
4596
|
-
* for transitional soy proto support: http://goto/soy-param-migration
|
|
4597
|
-
* @return {!Object}
|
|
4598
|
-
*/
|
|
4599
|
-
proto.kycserviceapi.UserStatusUpdateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4600
|
-
return proto.kycserviceapi.UserStatusUpdateRequest.toObject(opt_includeInstance, this);
|
|
4601
|
-
};
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
/**
|
|
4605
|
-
* Static version of the {@see toObject} method.
|
|
4606
|
-
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
4607
|
-
* instance for transitional soy proto support:
|
|
4608
|
-
* http://goto/soy-param-migration
|
|
4609
|
-
* @param {!proto.kycserviceapi.UserStatusUpdateRequest} msg The msg instance to transform.
|
|
4610
|
-
* @return {!Object}
|
|
4611
|
-
*/
|
|
4612
|
-
proto.kycserviceapi.UserStatusUpdateRequest.toObject = function(includeInstance, msg) {
|
|
4613
|
-
var f, obj = {
|
|
4614
|
-
userid: msg.getUserid(),
|
|
4615
|
-
status: msg.getStatus()
|
|
4616
|
-
};
|
|
4617
|
-
|
|
4618
|
-
if (includeInstance) {
|
|
4619
|
-
obj.$jspbMessageInstance = msg;
|
|
4620
|
-
}
|
|
4621
|
-
return obj;
|
|
4622
|
-
};
|
|
4623
|
-
}
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
/**
|
|
4627
|
-
* Deserializes binary data (in protobuf wire format).
|
|
4628
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4629
|
-
* @return {!proto.kycserviceapi.UserStatusUpdateRequest}
|
|
4630
|
-
*/
|
|
4631
|
-
proto.kycserviceapi.UserStatusUpdateRequest.deserializeBinary = function(bytes) {
|
|
4632
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
4633
|
-
var msg = new proto.kycserviceapi.UserStatusUpdateRequest;
|
|
4634
|
-
return proto.kycserviceapi.UserStatusUpdateRequest.deserializeBinaryFromReader(msg, reader);
|
|
4635
|
-
};
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
/**
|
|
4639
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
4640
|
-
* given reader into the given message object.
|
|
4641
|
-
* @param {!proto.kycserviceapi.UserStatusUpdateRequest} msg The message object to deserialize into.
|
|
4642
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4643
|
-
* @return {!proto.kycserviceapi.UserStatusUpdateRequest}
|
|
4644
|
-
*/
|
|
4645
|
-
proto.kycserviceapi.UserStatusUpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4646
|
-
while (reader.nextField()) {
|
|
4647
|
-
if (reader.isEndGroup()) {
|
|
4648
|
-
break;
|
|
4649
|
-
}
|
|
4650
|
-
var field = reader.getFieldNumber();
|
|
4651
|
-
switch (field) {
|
|
4652
|
-
case 1:
|
|
4653
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
4654
|
-
msg.setUserid(value);
|
|
4655
|
-
break;
|
|
4656
|
-
case 2:
|
|
4657
|
-
var value = /** @type {!proto.kycserviceapi.UserStatus} */ (reader.readEnum());
|
|
4658
|
-
msg.setStatus(value);
|
|
4659
|
-
break;
|
|
4660
|
-
default:
|
|
4661
|
-
reader.skipField();
|
|
4662
|
-
break;
|
|
4663
|
-
}
|
|
4664
|
-
}
|
|
4665
|
-
return msg;
|
|
4666
|
-
};
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
/**
|
|
4670
|
-
* Class method variant: serializes the given message to binary data
|
|
4671
|
-
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
4672
|
-
* @param {!proto.kycserviceapi.UserStatusUpdateRequest} message
|
|
4673
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4674
|
-
*/
|
|
4675
|
-
proto.kycserviceapi.UserStatusUpdateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4676
|
-
message.serializeBinaryToWriter(writer);
|
|
4677
|
-
};
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
/**
|
|
4681
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
4682
|
-
* @return {!Uint8Array}
|
|
4683
|
-
*/
|
|
4684
|
-
proto.kycserviceapi.UserStatusUpdateRequest.prototype.serializeBinary = function() {
|
|
4685
|
-
var writer = new jspb.BinaryWriter();
|
|
4686
|
-
this.serializeBinaryToWriter(writer);
|
|
4687
|
-
return writer.getResultBuffer();
|
|
4688
|
-
};
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
/**
|
|
4692
|
-
* Serializes the message to binary data (in protobuf wire format),
|
|
4693
|
-
* writing to the given BinaryWriter.
|
|
4694
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4695
|
-
*/
|
|
4696
|
-
proto.kycserviceapi.UserStatusUpdateRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
4697
|
-
var f = undefined;
|
|
4698
|
-
f = this.getUserid();
|
|
4699
|
-
if (f !== 0) {
|
|
4700
|
-
writer.writeInt64(
|
|
4701
|
-
1,
|
|
4702
|
-
f
|
|
4703
|
-
);
|
|
4704
|
-
}
|
|
4705
|
-
f = this.getStatus();
|
|
4706
|
-
if (f !== 0.0) {
|
|
4707
|
-
writer.writeEnum(
|
|
4708
|
-
2,
|
|
4709
|
-
f
|
|
4710
|
-
);
|
|
4711
|
-
}
|
|
4712
|
-
};
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
/**
|
|
4716
|
-
* Creates a deep clone of this proto. No data is shared with the original.
|
|
4717
|
-
* @return {!proto.kycserviceapi.UserStatusUpdateRequest} The clone.
|
|
4718
|
-
*/
|
|
4719
|
-
proto.kycserviceapi.UserStatusUpdateRequest.prototype.cloneMessage = function() {
|
|
4720
|
-
return /** @type {!proto.kycserviceapi.UserStatusUpdateRequest} */ (jspb.Message.cloneMessage(this));
|
|
4721
|
-
};
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
/**
|
|
4725
|
-
* optional int64 userId = 1;
|
|
4726
|
-
* @return {number}
|
|
4727
|
-
*/
|
|
4728
|
-
proto.kycserviceapi.UserStatusUpdateRequest.prototype.getUserid = function() {
|
|
4729
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
4730
|
-
};
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
/** @param {number} value */
|
|
4734
|
-
proto.kycserviceapi.UserStatusUpdateRequest.prototype.setUserid = function(value) {
|
|
4735
|
-
jspb.Message.setField(this, 1, value);
|
|
4736
|
-
};
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
/**
|
|
4740
|
-
* optional UserStatus status = 2;
|
|
4741
|
-
* @return {!proto.kycserviceapi.UserStatus}
|
|
4742
|
-
*/
|
|
4743
|
-
proto.kycserviceapi.UserStatusUpdateRequest.prototype.getStatus = function() {
|
|
4744
|
-
return /** @type {!proto.kycserviceapi.UserStatus} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
4745
|
-
};
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
/** @param {!proto.kycserviceapi.UserStatus} value */
|
|
4749
|
-
proto.kycserviceapi.UserStatusUpdateRequest.prototype.setStatus = function(value) {
|
|
4750
|
-
jspb.Message.setField(this, 2, value);
|
|
4751
|
-
};
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
4784
|
/**
|
|
4756
4785
|
* Generated by JsPbCodeGenerator.
|
|
4757
4786
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5081,7 +5110,7 @@ proto.kycserviceapi.AttachmentSide = {
|
|
|
5081
5110
|
* @enum {number}
|
|
5082
5111
|
*/
|
|
5083
5112
|
proto.kycserviceapi.DocumentStatus = {
|
|
5084
|
-
|
|
5113
|
+
UNVERIFIED: 0,
|
|
5085
5114
|
UPLOADED: 1,
|
|
5086
5115
|
PENDING_REVIEW: 2,
|
|
5087
5116
|
VERIFIED: 3
|
|
@@ -5102,11 +5131,9 @@ proto.kycserviceapi.DocumentType = {
|
|
|
5102
5131
|
* @enum {number}
|
|
5103
5132
|
*/
|
|
5104
5133
|
proto.kycserviceapi.UserStatus = {
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
USER_STATUS_UNVERIFIED: 3,
|
|
5109
|
-
USER_STATUS_FRAUDULENT: 4
|
|
5134
|
+
USER_STATUS_PENDING_REVIEW: 0,
|
|
5135
|
+
USER_STATUS_VERIFIED: 1,
|
|
5136
|
+
USER_STATUS_UNVERIFIED: 2
|
|
5110
5137
|
};
|
|
5111
5138
|
|
|
5112
5139
|
goog.object.extend(exports, proto.kycserviceapi);
|