@sniipwebmaster/kyc-client-grpcweb 21.8.31 → 21.8.38
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.
|
@@ -148,12 +148,12 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getDocument =
|
|
|
148
148
|
/**
|
|
149
149
|
* @const
|
|
150
150
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
151
|
-
* !proto.
|
|
151
|
+
* !proto.google.protobuf.Empty,
|
|
152
152
|
* !proto.kycserviceapi.UserKycStatusResponse>}
|
|
153
153
|
*/
|
|
154
154
|
const methodInfo_KYCServiceAPIService_GetUserKycStatus = new grpc.web.AbstractClientBase.MethodInfo(
|
|
155
155
|
proto.kycserviceapi.UserKycStatusResponse,
|
|
156
|
-
/** @param {!proto.
|
|
156
|
+
/** @param {!proto.google.protobuf.Empty} request */
|
|
157
157
|
function(request) {
|
|
158
158
|
return request.serializeBinary();
|
|
159
159
|
},
|
|
@@ -162,7 +162,7 @@ const methodInfo_KYCServiceAPIService_GetUserKycStatus = new grpc.web.AbstractCl
|
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
|
-
* @param {!proto.
|
|
165
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
166
166
|
* request proto
|
|
167
167
|
* @param {?Object<string, string>} metadata User defined
|
|
168
168
|
* call metadata
|
|
@@ -183,7 +183,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getUserKycStatus =
|
|
|
183
183
|
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
|
-
* @param {!proto.
|
|
186
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
187
187
|
* request proto
|
|
188
188
|
* @param {?Object<string, string>} metadata User defined
|
|
189
189
|
* call metadata
|
|
@@ -17,7 +17,6 @@ goog.exportSymbol('proto.kycserviceapi.DocumentStatus', null, global);
|
|
|
17
17
|
goog.exportSymbol('proto.kycserviceapi.DocumentType', null, global);
|
|
18
18
|
goog.exportSymbol('proto.kycserviceapi.DriversLicense', null, global);
|
|
19
19
|
goog.exportSymbol('proto.kycserviceapi.GetDocumentRequest', null, global);
|
|
20
|
-
goog.exportSymbol('proto.kycserviceapi.GetUserKycStatusRequest', null, global);
|
|
21
20
|
goog.exportSymbol('proto.kycserviceapi.KycPaymentMethod', null, global);
|
|
22
21
|
goog.exportSymbol('proto.kycserviceapi.Passport', null, global);
|
|
23
22
|
goog.exportSymbol('proto.kycserviceapi.RequestUserKycRequest', null, global);
|
|
@@ -1139,165 +1138,6 @@ proto.kycserviceapi.GetDocumentRequest.prototype.setDocumentid = function(value)
|
|
|
1139
1138
|
|
|
1140
1139
|
|
|
1141
1140
|
|
|
1142
|
-
/**
|
|
1143
|
-
* Generated by JsPbCodeGenerator.
|
|
1144
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1145
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1146
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1147
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1148
|
-
* valid.
|
|
1149
|
-
* @extends {jspb.Message}
|
|
1150
|
-
* @constructor
|
|
1151
|
-
*/
|
|
1152
|
-
proto.kycserviceapi.GetUserKycStatusRequest = function(opt_data) {
|
|
1153
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1154
|
-
};
|
|
1155
|
-
goog.inherits(proto.kycserviceapi.GetUserKycStatusRequest, jspb.Message);
|
|
1156
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1157
|
-
proto.kycserviceapi.GetUserKycStatusRequest.displayName = 'proto.kycserviceapi.GetUserKycStatusRequest';
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1162
|
-
/**
|
|
1163
|
-
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
1164
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1165
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1166
|
-
* For the list of reserved names please see:
|
|
1167
|
-
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
1168
|
-
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
1169
|
-
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1170
|
-
* @return {!Object}
|
|
1171
|
-
*/
|
|
1172
|
-
proto.kycserviceapi.GetUserKycStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1173
|
-
return proto.kycserviceapi.GetUserKycStatusRequest.toObject(opt_includeInstance, this);
|
|
1174
|
-
};
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
/**
|
|
1178
|
-
* Static version of the {@see toObject} method.
|
|
1179
|
-
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
1180
|
-
* instance for transitional soy proto support:
|
|
1181
|
-
* http://goto/soy-param-migration
|
|
1182
|
-
* @param {!proto.kycserviceapi.GetUserKycStatusRequest} msg The msg instance to transform.
|
|
1183
|
-
* @return {!Object}
|
|
1184
|
-
*/
|
|
1185
|
-
proto.kycserviceapi.GetUserKycStatusRequest.toObject = function(includeInstance, msg) {
|
|
1186
|
-
var f, obj = {
|
|
1187
|
-
userid: msg.getUserid()
|
|
1188
|
-
};
|
|
1189
|
-
|
|
1190
|
-
if (includeInstance) {
|
|
1191
|
-
obj.$jspbMessageInstance = msg;
|
|
1192
|
-
}
|
|
1193
|
-
return obj;
|
|
1194
|
-
};
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
/**
|
|
1199
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1200
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1201
|
-
* @return {!proto.kycserviceapi.GetUserKycStatusRequest}
|
|
1202
|
-
*/
|
|
1203
|
-
proto.kycserviceapi.GetUserKycStatusRequest.deserializeBinary = function(bytes) {
|
|
1204
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1205
|
-
var msg = new proto.kycserviceapi.GetUserKycStatusRequest;
|
|
1206
|
-
return proto.kycserviceapi.GetUserKycStatusRequest.deserializeBinaryFromReader(msg, reader);
|
|
1207
|
-
};
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
/**
|
|
1211
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1212
|
-
* given reader into the given message object.
|
|
1213
|
-
* @param {!proto.kycserviceapi.GetUserKycStatusRequest} msg The message object to deserialize into.
|
|
1214
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1215
|
-
* @return {!proto.kycserviceapi.GetUserKycStatusRequest}
|
|
1216
|
-
*/
|
|
1217
|
-
proto.kycserviceapi.GetUserKycStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1218
|
-
while (reader.nextField()) {
|
|
1219
|
-
if (reader.isEndGroup()) {
|
|
1220
|
-
break;
|
|
1221
|
-
}
|
|
1222
|
-
var field = reader.getFieldNumber();
|
|
1223
|
-
switch (field) {
|
|
1224
|
-
case 1:
|
|
1225
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
1226
|
-
msg.setUserid(value);
|
|
1227
|
-
break;
|
|
1228
|
-
default:
|
|
1229
|
-
reader.skipField();
|
|
1230
|
-
break;
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
return msg;
|
|
1234
|
-
};
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
/**
|
|
1238
|
-
* Class method variant: serializes the given message to binary data
|
|
1239
|
-
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
1240
|
-
* @param {!proto.kycserviceapi.GetUserKycStatusRequest} message
|
|
1241
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1242
|
-
*/
|
|
1243
|
-
proto.kycserviceapi.GetUserKycStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1244
|
-
message.serializeBinaryToWriter(writer);
|
|
1245
|
-
};
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
/**
|
|
1249
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1250
|
-
* @return {!Uint8Array}
|
|
1251
|
-
*/
|
|
1252
|
-
proto.kycserviceapi.GetUserKycStatusRequest.prototype.serializeBinary = function() {
|
|
1253
|
-
var writer = new jspb.BinaryWriter();
|
|
1254
|
-
this.serializeBinaryToWriter(writer);
|
|
1255
|
-
return writer.getResultBuffer();
|
|
1256
|
-
};
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
/**
|
|
1260
|
-
* Serializes the message to binary data (in protobuf wire format),
|
|
1261
|
-
* writing to the given BinaryWriter.
|
|
1262
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1263
|
-
*/
|
|
1264
|
-
proto.kycserviceapi.GetUserKycStatusRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
1265
|
-
var f = undefined;
|
|
1266
|
-
f = this.getUserid();
|
|
1267
|
-
if (f !== 0) {
|
|
1268
|
-
writer.writeInt64(
|
|
1269
|
-
1,
|
|
1270
|
-
f
|
|
1271
|
-
);
|
|
1272
|
-
}
|
|
1273
|
-
};
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
/**
|
|
1277
|
-
* Creates a deep clone of this proto. No data is shared with the original.
|
|
1278
|
-
* @return {!proto.kycserviceapi.GetUserKycStatusRequest} The clone.
|
|
1279
|
-
*/
|
|
1280
|
-
proto.kycserviceapi.GetUserKycStatusRequest.prototype.cloneMessage = function() {
|
|
1281
|
-
return /** @type {!proto.kycserviceapi.GetUserKycStatusRequest} */ (jspb.Message.cloneMessage(this));
|
|
1282
|
-
};
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
/**
|
|
1286
|
-
* optional int64 userId = 1;
|
|
1287
|
-
* @return {number}
|
|
1288
|
-
*/
|
|
1289
|
-
proto.kycserviceapi.GetUserKycStatusRequest.prototype.getUserid = function() {
|
|
1290
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
1291
|
-
};
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
/** @param {number} value */
|
|
1295
|
-
proto.kycserviceapi.GetUserKycStatusRequest.prototype.setUserid = function(value) {
|
|
1296
|
-
jspb.Message.setField(this, 1, value);
|
|
1297
|
-
};
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
1141
|
/**
|
|
1302
1142
|
* Generated by JsPbCodeGenerator.
|
|
1303
1143
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3093,7 +2933,7 @@ proto.kycserviceapi.DocumentStatus = {
|
|
|
3093
2933
|
*/
|
|
3094
2934
|
proto.kycserviceapi.DocumentType = {
|
|
3095
2935
|
PHOTO_ID: 0,
|
|
3096
|
-
|
|
2936
|
+
DRIVERS_LICENSE: 1,
|
|
3097
2937
|
PASSPORT: 2,
|
|
3098
2938
|
PAYMENT_METHOD_ANY: 3,
|
|
3099
2939
|
PAYMENT_METHOD: 4
|