@dynamic-labs/sdk-api 0.26.0 → 0.27.0
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/package.json +1 -1
- package/src/apis/KybApi.cjs +67 -2
- package/src/apis/KybApi.d.ts +19 -3
- package/src/apis/KybApi.js +68 -3
- package/src/index.cjs +4 -8
- package/src/index.js +1 -2
- package/src/models/KybAdditionalInfoData.cjs +2 -3
- package/src/models/KybAdditionalInfoData.d.ts +3 -4
- package/src/models/KybAdditionalInfoData.js +2 -3
- package/src/models/{KybAdditionalInfoFileData.cjs → KybDocumentUploadResponse.cjs} +9 -11
- package/src/models/KybDocumentUploadResponse.d.ts +27 -0
- package/src/models/{KybAdditionalInfoFileData.js → KybDocumentUploadResponse.js} +7 -9
- package/src/models/KybVerifyRequest.cjs +2 -3
- package/src/models/KybVerifyRequest.d.ts +4 -5
- package/src/models/KybVerifyRequest.js +2 -3
- package/src/models/index.d.ts +1 -2
- package/src/models/KybAdditionalInfoFileData.d.ts +0 -33
- package/src/models/KybVerifyRequestDocuments.cjs +0 -37
- package/src/models/KybVerifyRequestDocuments.d.ts +0 -39
- package/src/models/KybVerifyRequestDocuments.js +0 -31
package/package.json
CHANGED
package/src/apis/KybApi.cjs
CHANGED
|
@@ -131,6 +131,7 @@ require('../models/JwtScope.cjs');
|
|
|
131
131
|
require('../models/KybAlreadyInProgressResponse.cjs');
|
|
132
132
|
var KybCompanyResult = require('../models/KybCompanyResult.cjs');
|
|
133
133
|
var KybCompanySearchResponse = require('../models/KybCompanySearchResponse.cjs');
|
|
134
|
+
var KybDocumentUploadResponse = require('../models/KybDocumentUploadResponse.cjs');
|
|
134
135
|
require('../models/KybVerificationResultEnum.cjs');
|
|
135
136
|
var KybOfficersResponse = require('../models/KybOfficersResponse.cjs');
|
|
136
137
|
require('../models/KybResendSkipReasonEnum.cjs');
|
|
@@ -410,7 +411,7 @@ class KybApi extends runtime.BaseAPI {
|
|
|
410
411
|
return await response.value();
|
|
411
412
|
}
|
|
412
413
|
/**
|
|
413
|
-
* Passthrough to AI Prise.
|
|
414
|
+
* Passthrough to AI Prise. Reuses the business profile from the org\'s first uploadKybDocument call, or creates one, then runs subsequent tiers against it. Business data is forwarded directly and never persisted by Redcoast; documents are referenced by uploadKybDocument ids. Returns only the session ID, result, and tier.
|
|
414
415
|
* Submit a KYB business verification for a given tier
|
|
415
416
|
*/
|
|
416
417
|
async submitKybVerificationRaw(requestParameters, initOverrides) {
|
|
@@ -440,13 +441,77 @@ class KybApi extends runtime.BaseAPI {
|
|
|
440
441
|
return new runtime.JSONApiResponse(response, (jsonValue) => KybVerifyResponse.KybVerifyResponseFromJSON(jsonValue));
|
|
441
442
|
}
|
|
442
443
|
/**
|
|
443
|
-
* Passthrough to AI Prise.
|
|
444
|
+
* Passthrough to AI Prise. Reuses the business profile from the org\'s first uploadKybDocument call, or creates one, then runs subsequent tiers against it. Business data is forwarded directly and never persisted by Redcoast; documents are referenced by uploadKybDocument ids. Returns only the session ID, result, and tier.
|
|
444
445
|
* Submit a KYB business verification for a given tier
|
|
445
446
|
*/
|
|
446
447
|
async submitKybVerification(requestParameters, initOverrides) {
|
|
447
448
|
const response = await this.submitKybVerificationRaw(requestParameters, initOverrides);
|
|
448
449
|
return await response.value();
|
|
449
450
|
}
|
|
451
|
+
/**
|
|
452
|
+
* Forwards one document to AI Prise and returns its document id, referenced from submitKybVerification\'s documentIds or an additionalInfo fileId. Not persisted by Redcoast. Creates the business profile for this organization and tier if the first upload precedes the submission.
|
|
453
|
+
* Upload a single KYB business document
|
|
454
|
+
*/
|
|
455
|
+
async uploadKybDocumentRaw(requestParameters, initOverrides) {
|
|
456
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
457
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling uploadKybDocument.');
|
|
458
|
+
}
|
|
459
|
+
if (requestParameters.tier === null || requestParameters.tier === undefined) {
|
|
460
|
+
throw new runtime.RequiredError('tier', 'Required parameter requestParameters.tier was null or undefined when calling uploadKybDocument.');
|
|
461
|
+
}
|
|
462
|
+
if (requestParameters.file === null || requestParameters.file === undefined) {
|
|
463
|
+
throw new runtime.RequiredError('file', 'Required parameter requestParameters.file was null or undefined when calling uploadKybDocument.');
|
|
464
|
+
}
|
|
465
|
+
const queryParameters = {};
|
|
466
|
+
const headerParameters = {};
|
|
467
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
468
|
+
const token = this.configuration.accessToken;
|
|
469
|
+
const tokenString = await token("bearerAuth", []);
|
|
470
|
+
if (tokenString) {
|
|
471
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
const consumes = [
|
|
475
|
+
{ contentType: 'multipart/form-data' },
|
|
476
|
+
];
|
|
477
|
+
// @ts-ignore: canConsumeForm may be unused
|
|
478
|
+
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
479
|
+
let formParams;
|
|
480
|
+
let useForm = false;
|
|
481
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
482
|
+
useForm = canConsumeForm;
|
|
483
|
+
if (useForm) {
|
|
484
|
+
formParams = new FormData();
|
|
485
|
+
}
|
|
486
|
+
else {
|
|
487
|
+
formParams = new URLSearchParams();
|
|
488
|
+
}
|
|
489
|
+
if (requestParameters.tier !== undefined) {
|
|
490
|
+
formParams.append('tier', requestParameters.tier);
|
|
491
|
+
}
|
|
492
|
+
if (requestParameters.file !== undefined) {
|
|
493
|
+
formParams.append('file', requestParameters.file);
|
|
494
|
+
}
|
|
495
|
+
if (requestParameters.fileType !== undefined) {
|
|
496
|
+
formParams.append('fileType', requestParameters.fileType);
|
|
497
|
+
}
|
|
498
|
+
const response = await this.request({
|
|
499
|
+
path: `/organizations/{organizationId}/kyb/documents`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
500
|
+
method: 'POST',
|
|
501
|
+
headers: headerParameters,
|
|
502
|
+
query: queryParameters,
|
|
503
|
+
body: formParams,
|
|
504
|
+
}, initOverrides);
|
|
505
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => KybDocumentUploadResponse.KybDocumentUploadResponseFromJSON(jsonValue));
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Forwards one document to AI Prise and returns its document id, referenced from submitKybVerification\'s documentIds or an additionalInfo fileId. Not persisted by Redcoast. Creates the business profile for this organization and tier if the first upload precedes the submission.
|
|
509
|
+
* Upload a single KYB business document
|
|
510
|
+
*/
|
|
511
|
+
async uploadKybDocument(requestParameters, initOverrides) {
|
|
512
|
+
const response = await this.uploadKybDocumentRaw(requestParameters, initOverrides);
|
|
513
|
+
return await response.value();
|
|
514
|
+
}
|
|
450
515
|
}
|
|
451
516
|
|
|
452
517
|
exports.KybApi = KybApi;
|
package/src/apis/KybApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { KybCompanyResult, KybCompanySearchResponse, KybOfficersResponse, KybResendVerificationRequest, KybResendVerificationResponse, KybStatusResponse, KybSubmissionResponse, KybVerifyRequest, KybVerifyResponse } from '../models';
|
|
13
|
+
import { KybCompanyResult, KybCompanySearchResponse, KybDocumentUploadResponse, KybOfficersResponse, KybResendVerificationRequest, KybResendVerificationResponse, KybStatusResponse, KybSubmissionResponse, KybVerifyRequest, KybVerifyResponse } from '../models';
|
|
14
14
|
export interface GetKybOfficersRequest {
|
|
15
15
|
organizationId: string;
|
|
16
16
|
}
|
|
@@ -41,6 +41,12 @@ export interface SubmitKybVerificationRequest {
|
|
|
41
41
|
organizationId: string;
|
|
42
42
|
kybVerifyRequest: KybVerifyRequest;
|
|
43
43
|
}
|
|
44
|
+
export interface UploadKybDocumentRequest {
|
|
45
|
+
organizationId: string;
|
|
46
|
+
tier: string;
|
|
47
|
+
file: Blob;
|
|
48
|
+
fileType?: string;
|
|
49
|
+
}
|
|
44
50
|
/**
|
|
45
51
|
*
|
|
46
52
|
*/
|
|
@@ -100,13 +106,23 @@ export declare class KybApi extends runtime.BaseAPI {
|
|
|
100
106
|
*/
|
|
101
107
|
resendKybOfficerVerification(requestParameters: ResendKybOfficerVerificationRequest, initOverrides?: RequestInit): Promise<KybResendVerificationResponse>;
|
|
102
108
|
/**
|
|
103
|
-
* Passthrough to AI Prise.
|
|
109
|
+
* Passthrough to AI Prise. Reuses the business profile from the org\'s first uploadKybDocument call, or creates one, then runs subsequent tiers against it. Business data is forwarded directly and never persisted by Redcoast; documents are referenced by uploadKybDocument ids. Returns only the session ID, result, and tier.
|
|
104
110
|
* Submit a KYB business verification for a given tier
|
|
105
111
|
*/
|
|
106
112
|
submitKybVerificationRaw(requestParameters: SubmitKybVerificationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<KybVerifyResponse>>;
|
|
107
113
|
/**
|
|
108
|
-
* Passthrough to AI Prise.
|
|
114
|
+
* Passthrough to AI Prise. Reuses the business profile from the org\'s first uploadKybDocument call, or creates one, then runs subsequent tiers against it. Business data is forwarded directly and never persisted by Redcoast; documents are referenced by uploadKybDocument ids. Returns only the session ID, result, and tier.
|
|
109
115
|
* Submit a KYB business verification for a given tier
|
|
110
116
|
*/
|
|
111
117
|
submitKybVerification(requestParameters: SubmitKybVerificationRequest, initOverrides?: RequestInit): Promise<KybVerifyResponse>;
|
|
118
|
+
/**
|
|
119
|
+
* Forwards one document to AI Prise and returns its document id, referenced from submitKybVerification\'s documentIds or an additionalInfo fileId. Not persisted by Redcoast. Creates the business profile for this organization and tier if the first upload precedes the submission.
|
|
120
|
+
* Upload a single KYB business document
|
|
121
|
+
*/
|
|
122
|
+
uploadKybDocumentRaw(requestParameters: UploadKybDocumentRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<KybDocumentUploadResponse>>;
|
|
123
|
+
/**
|
|
124
|
+
* Forwards one document to AI Prise and returns its document id, referenced from submitKybVerification\'s documentIds or an additionalInfo fileId. Not persisted by Redcoast. Creates the business profile for this organization and tier if the first upload precedes the submission.
|
|
125
|
+
* Upload a single KYB business document
|
|
126
|
+
*/
|
|
127
|
+
uploadKybDocument(requestParameters: UploadKybDocumentRequest, initOverrides?: RequestInit): Promise<KybDocumentUploadResponse>;
|
|
112
128
|
}
|
package/src/apis/KybApi.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseAPI, RequiredError, JSONApiResponse } from '../runtime.js';
|
|
1
|
+
import { BaseAPI, RequiredError, JSONApiResponse, canConsumeForm } from '../runtime.js';
|
|
2
2
|
import '../models/AccessOutcomeEnum.js';
|
|
3
3
|
import '../models/ExchangeKeyEnum.js';
|
|
4
4
|
import '../models/AssignableBusinessAccountMemberRole.js';
|
|
@@ -127,6 +127,7 @@ import '../models/JwtScope.js';
|
|
|
127
127
|
import '../models/KybAlreadyInProgressResponse.js';
|
|
128
128
|
import { KybCompanyResultFromJSON } from '../models/KybCompanyResult.js';
|
|
129
129
|
import { KybCompanySearchResponseFromJSON } from '../models/KybCompanySearchResponse.js';
|
|
130
|
+
import { KybDocumentUploadResponseFromJSON } from '../models/KybDocumentUploadResponse.js';
|
|
130
131
|
import '../models/KybVerificationResultEnum.js';
|
|
131
132
|
import { KybOfficersResponseFromJSON } from '../models/KybOfficersResponse.js';
|
|
132
133
|
import '../models/KybResendSkipReasonEnum.js';
|
|
@@ -406,7 +407,7 @@ class KybApi extends BaseAPI {
|
|
|
406
407
|
return await response.value();
|
|
407
408
|
}
|
|
408
409
|
/**
|
|
409
|
-
* Passthrough to AI Prise.
|
|
410
|
+
* Passthrough to AI Prise. Reuses the business profile from the org\'s first uploadKybDocument call, or creates one, then runs subsequent tiers against it. Business data is forwarded directly and never persisted by Redcoast; documents are referenced by uploadKybDocument ids. Returns only the session ID, result, and tier.
|
|
410
411
|
* Submit a KYB business verification for a given tier
|
|
411
412
|
*/
|
|
412
413
|
async submitKybVerificationRaw(requestParameters, initOverrides) {
|
|
@@ -436,13 +437,77 @@ class KybApi extends BaseAPI {
|
|
|
436
437
|
return new JSONApiResponse(response, (jsonValue) => KybVerifyResponseFromJSON(jsonValue));
|
|
437
438
|
}
|
|
438
439
|
/**
|
|
439
|
-
* Passthrough to AI Prise.
|
|
440
|
+
* Passthrough to AI Prise. Reuses the business profile from the org\'s first uploadKybDocument call, or creates one, then runs subsequent tiers against it. Business data is forwarded directly and never persisted by Redcoast; documents are referenced by uploadKybDocument ids. Returns only the session ID, result, and tier.
|
|
440
441
|
* Submit a KYB business verification for a given tier
|
|
441
442
|
*/
|
|
442
443
|
async submitKybVerification(requestParameters, initOverrides) {
|
|
443
444
|
const response = await this.submitKybVerificationRaw(requestParameters, initOverrides);
|
|
444
445
|
return await response.value();
|
|
445
446
|
}
|
|
447
|
+
/**
|
|
448
|
+
* Forwards one document to AI Prise and returns its document id, referenced from submitKybVerification\'s documentIds or an additionalInfo fileId. Not persisted by Redcoast. Creates the business profile for this organization and tier if the first upload precedes the submission.
|
|
449
|
+
* Upload a single KYB business document
|
|
450
|
+
*/
|
|
451
|
+
async uploadKybDocumentRaw(requestParameters, initOverrides) {
|
|
452
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
453
|
+
throw new RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling uploadKybDocument.');
|
|
454
|
+
}
|
|
455
|
+
if (requestParameters.tier === null || requestParameters.tier === undefined) {
|
|
456
|
+
throw new RequiredError('tier', 'Required parameter requestParameters.tier was null or undefined when calling uploadKybDocument.');
|
|
457
|
+
}
|
|
458
|
+
if (requestParameters.file === null || requestParameters.file === undefined) {
|
|
459
|
+
throw new RequiredError('file', 'Required parameter requestParameters.file was null or undefined when calling uploadKybDocument.');
|
|
460
|
+
}
|
|
461
|
+
const queryParameters = {};
|
|
462
|
+
const headerParameters = {};
|
|
463
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
464
|
+
const token = this.configuration.accessToken;
|
|
465
|
+
const tokenString = await token("bearerAuth", []);
|
|
466
|
+
if (tokenString) {
|
|
467
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
const consumes = [
|
|
471
|
+
{ contentType: 'multipart/form-data' },
|
|
472
|
+
];
|
|
473
|
+
// @ts-ignore: canConsumeForm may be unused
|
|
474
|
+
const canConsumeForm$1 = canConsumeForm(consumes);
|
|
475
|
+
let formParams;
|
|
476
|
+
let useForm = false;
|
|
477
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
478
|
+
useForm = canConsumeForm$1;
|
|
479
|
+
if (useForm) {
|
|
480
|
+
formParams = new FormData();
|
|
481
|
+
}
|
|
482
|
+
else {
|
|
483
|
+
formParams = new URLSearchParams();
|
|
484
|
+
}
|
|
485
|
+
if (requestParameters.tier !== undefined) {
|
|
486
|
+
formParams.append('tier', requestParameters.tier);
|
|
487
|
+
}
|
|
488
|
+
if (requestParameters.file !== undefined) {
|
|
489
|
+
formParams.append('file', requestParameters.file);
|
|
490
|
+
}
|
|
491
|
+
if (requestParameters.fileType !== undefined) {
|
|
492
|
+
formParams.append('fileType', requestParameters.fileType);
|
|
493
|
+
}
|
|
494
|
+
const response = await this.request({
|
|
495
|
+
path: `/organizations/{organizationId}/kyb/documents`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
496
|
+
method: 'POST',
|
|
497
|
+
headers: headerParameters,
|
|
498
|
+
query: queryParameters,
|
|
499
|
+
body: formParams,
|
|
500
|
+
}, initOverrides);
|
|
501
|
+
return new JSONApiResponse(response, (jsonValue) => KybDocumentUploadResponseFromJSON(jsonValue));
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* Forwards one document to AI Prise and returns its document id, referenced from submitKybVerification\'s documentIds or an additionalInfo fileId. Not persisted by Redcoast. Creates the business profile for this organization and tier if the first upload precedes the submission.
|
|
505
|
+
* Upload a single KYB business document
|
|
506
|
+
*/
|
|
507
|
+
async uploadKybDocument(requestParameters, initOverrides) {
|
|
508
|
+
const response = await this.uploadKybDocumentRaw(requestParameters, initOverrides);
|
|
509
|
+
return await response.value();
|
|
510
|
+
}
|
|
446
511
|
}
|
|
447
512
|
|
|
448
513
|
export { KybApi };
|
package/src/index.cjs
CHANGED
|
@@ -478,11 +478,11 @@ var JwtVerifiedCredentialHashes = require('./models/JwtVerifiedCredentialHashes.
|
|
|
478
478
|
var Key = require('./models/Key.cjs');
|
|
479
479
|
var KeyResponse = require('./models/KeyResponse.cjs');
|
|
480
480
|
var KybAdditionalInfoData = require('./models/KybAdditionalInfoData.cjs');
|
|
481
|
-
var KybAdditionalInfoFileData = require('./models/KybAdditionalInfoFileData.cjs');
|
|
482
481
|
var KybAlreadyInProgressResponse = require('./models/KybAlreadyInProgressResponse.cjs');
|
|
483
482
|
var KybCompanyResult = require('./models/KybCompanyResult.cjs');
|
|
484
483
|
var KybCompanyResultAddresses = require('./models/KybCompanyResultAddresses.cjs');
|
|
485
484
|
var KybCompanySearchResponse = require('./models/KybCompanySearchResponse.cjs');
|
|
485
|
+
var KybDocumentUploadResponse = require('./models/KybDocumentUploadResponse.cjs');
|
|
486
486
|
var KybOfficerSummary = require('./models/KybOfficerSummary.cjs');
|
|
487
487
|
var KybOfficersResponse = require('./models/KybOfficersResponse.cjs');
|
|
488
488
|
var KybResendSkipReasonEnum = require('./models/KybResendSkipReasonEnum.cjs');
|
|
@@ -501,7 +501,6 @@ var KybVerifyRequest = require('./models/KybVerifyRequest.cjs');
|
|
|
501
501
|
var KybVerifyRequestAdditionalInfo = require('./models/KybVerifyRequestAdditionalInfo.cjs');
|
|
502
502
|
var KybVerifyRequestBusinessData = require('./models/KybVerifyRequestBusinessData.cjs');
|
|
503
503
|
var KybVerifyRequestBusinessDataAddresses = require('./models/KybVerifyRequestBusinessDataAddresses.cjs');
|
|
504
|
-
var KybVerifyRequestDocuments = require('./models/KybVerifyRequestDocuments.cjs');
|
|
505
504
|
var KybVerifyRequestOfficers = require('./models/KybVerifyRequestOfficers.cjs');
|
|
506
505
|
var KybVerifyResponse = require('./models/KybVerifyResponse.cjs');
|
|
507
506
|
var KycFieldType = require('./models/KycFieldType.cjs');
|
|
@@ -2658,9 +2657,6 @@ exports.KeyResponseToJSON = KeyResponse.KeyResponseToJSON;
|
|
|
2658
2657
|
exports.KybAdditionalInfoDataFromJSON = KybAdditionalInfoData.KybAdditionalInfoDataFromJSON;
|
|
2659
2658
|
exports.KybAdditionalInfoDataFromJSONTyped = KybAdditionalInfoData.KybAdditionalInfoDataFromJSONTyped;
|
|
2660
2659
|
exports.KybAdditionalInfoDataToJSON = KybAdditionalInfoData.KybAdditionalInfoDataToJSON;
|
|
2661
|
-
exports.KybAdditionalInfoFileDataFromJSON = KybAdditionalInfoFileData.KybAdditionalInfoFileDataFromJSON;
|
|
2662
|
-
exports.KybAdditionalInfoFileDataFromJSONTyped = KybAdditionalInfoFileData.KybAdditionalInfoFileDataFromJSONTyped;
|
|
2663
|
-
exports.KybAdditionalInfoFileDataToJSON = KybAdditionalInfoFileData.KybAdditionalInfoFileDataToJSON;
|
|
2664
2660
|
Object.defineProperty(exports, 'KybAlreadyInProgressResponseCodeEnum', {
|
|
2665
2661
|
enumerable: true,
|
|
2666
2662
|
get: function () { return KybAlreadyInProgressResponse.KybAlreadyInProgressResponseCodeEnum; }
|
|
@@ -2677,6 +2673,9 @@ exports.KybCompanyResultAddressesToJSON = KybCompanyResultAddresses.KybCompanyRe
|
|
|
2677
2673
|
exports.KybCompanySearchResponseFromJSON = KybCompanySearchResponse.KybCompanySearchResponseFromJSON;
|
|
2678
2674
|
exports.KybCompanySearchResponseFromJSONTyped = KybCompanySearchResponse.KybCompanySearchResponseFromJSONTyped;
|
|
2679
2675
|
exports.KybCompanySearchResponseToJSON = KybCompanySearchResponse.KybCompanySearchResponseToJSON;
|
|
2676
|
+
exports.KybDocumentUploadResponseFromJSON = KybDocumentUploadResponse.KybDocumentUploadResponseFromJSON;
|
|
2677
|
+
exports.KybDocumentUploadResponseFromJSONTyped = KybDocumentUploadResponse.KybDocumentUploadResponseFromJSONTyped;
|
|
2678
|
+
exports.KybDocumentUploadResponseToJSON = KybDocumentUploadResponse.KybDocumentUploadResponseToJSON;
|
|
2680
2679
|
exports.KybOfficerSummaryFromJSON = KybOfficerSummary.KybOfficerSummaryFromJSON;
|
|
2681
2680
|
exports.KybOfficerSummaryFromJSONTyped = KybOfficerSummary.KybOfficerSummaryFromJSONTyped;
|
|
2682
2681
|
exports.KybOfficerSummaryToJSON = KybOfficerSummary.KybOfficerSummaryToJSON;
|
|
@@ -2747,9 +2746,6 @@ exports.KybVerifyRequestBusinessDataToJSON = KybVerifyRequestBusinessData.KybVer
|
|
|
2747
2746
|
exports.KybVerifyRequestBusinessDataAddressesFromJSON = KybVerifyRequestBusinessDataAddresses.KybVerifyRequestBusinessDataAddressesFromJSON;
|
|
2748
2747
|
exports.KybVerifyRequestBusinessDataAddressesFromJSONTyped = KybVerifyRequestBusinessDataAddresses.KybVerifyRequestBusinessDataAddressesFromJSONTyped;
|
|
2749
2748
|
exports.KybVerifyRequestBusinessDataAddressesToJSON = KybVerifyRequestBusinessDataAddresses.KybVerifyRequestBusinessDataAddressesToJSON;
|
|
2750
|
-
exports.KybVerifyRequestDocumentsFromJSON = KybVerifyRequestDocuments.KybVerifyRequestDocumentsFromJSON;
|
|
2751
|
-
exports.KybVerifyRequestDocumentsFromJSONTyped = KybVerifyRequestDocuments.KybVerifyRequestDocumentsFromJSONTyped;
|
|
2752
|
-
exports.KybVerifyRequestDocumentsToJSON = KybVerifyRequestDocuments.KybVerifyRequestDocumentsToJSON;
|
|
2753
2749
|
exports.KybVerifyRequestOfficersFromJSON = KybVerifyRequestOfficers.KybVerifyRequestOfficersFromJSON;
|
|
2754
2750
|
exports.KybVerifyRequestOfficersFromJSONTyped = KybVerifyRequestOfficers.KybVerifyRequestOfficersFromJSONTyped;
|
|
2755
2751
|
exports.KybVerifyRequestOfficersToJSON = KybVerifyRequestOfficers.KybVerifyRequestOfficersToJSON;
|
package/src/index.js
CHANGED
|
@@ -474,11 +474,11 @@ export { JwtVerifiedCredentialHashesFromJSON, JwtVerifiedCredentialHashesFromJSO
|
|
|
474
474
|
export { KeyFromJSON, KeyFromJSONTyped, KeyToJSON } from './models/Key.js';
|
|
475
475
|
export { KeyResponseFromJSON, KeyResponseFromJSONTyped, KeyResponseToJSON } from './models/KeyResponse.js';
|
|
476
476
|
export { KybAdditionalInfoDataFromJSON, KybAdditionalInfoDataFromJSONTyped, KybAdditionalInfoDataToJSON } from './models/KybAdditionalInfoData.js';
|
|
477
|
-
export { KybAdditionalInfoFileDataFromJSON, KybAdditionalInfoFileDataFromJSONTyped, KybAdditionalInfoFileDataToJSON } from './models/KybAdditionalInfoFileData.js';
|
|
478
477
|
export { KybAlreadyInProgressResponseCodeEnum, KybAlreadyInProgressResponseFromJSON, KybAlreadyInProgressResponseFromJSONTyped, KybAlreadyInProgressResponseToJSON } from './models/KybAlreadyInProgressResponse.js';
|
|
479
478
|
export { KybCompanyResultFromJSON, KybCompanyResultFromJSONTyped, KybCompanyResultToJSON } from './models/KybCompanyResult.js';
|
|
480
479
|
export { KybCompanyResultAddressesFromJSON, KybCompanyResultAddressesFromJSONTyped, KybCompanyResultAddressesToJSON } from './models/KybCompanyResultAddresses.js';
|
|
481
480
|
export { KybCompanySearchResponseFromJSON, KybCompanySearchResponseFromJSONTyped, KybCompanySearchResponseToJSON } from './models/KybCompanySearchResponse.js';
|
|
481
|
+
export { KybDocumentUploadResponseFromJSON, KybDocumentUploadResponseFromJSONTyped, KybDocumentUploadResponseToJSON } from './models/KybDocumentUploadResponse.js';
|
|
482
482
|
export { KybOfficerSummaryFromJSON, KybOfficerSummaryFromJSONTyped, KybOfficerSummaryToJSON } from './models/KybOfficerSummary.js';
|
|
483
483
|
export { KybOfficersResponseFromJSON, KybOfficersResponseFromJSONTyped, KybOfficersResponseToJSON } from './models/KybOfficersResponse.js';
|
|
484
484
|
export { KybResendSkipReasonEnum, KybResendSkipReasonEnumFromJSON, KybResendSkipReasonEnumFromJSONTyped, KybResendSkipReasonEnumToJSON } from './models/KybResendSkipReasonEnum.js';
|
|
@@ -497,7 +497,6 @@ export { KybVerifyRequestFromJSON, KybVerifyRequestFromJSONTyped, KybVerifyReque
|
|
|
497
497
|
export { KybVerifyRequestAdditionalInfoFromJSON, KybVerifyRequestAdditionalInfoFromJSONTyped, KybVerifyRequestAdditionalInfoToJSON } from './models/KybVerifyRequestAdditionalInfo.js';
|
|
498
498
|
export { KybVerifyRequestBusinessDataEntityTypeEnum, KybVerifyRequestBusinessDataFromJSON, KybVerifyRequestBusinessDataFromJSONTyped, KybVerifyRequestBusinessDataToJSON } from './models/KybVerifyRequestBusinessData.js';
|
|
499
499
|
export { KybVerifyRequestBusinessDataAddressesFromJSON, KybVerifyRequestBusinessDataAddressesFromJSONTyped, KybVerifyRequestBusinessDataAddressesToJSON } from './models/KybVerifyRequestBusinessDataAddresses.js';
|
|
500
|
-
export { KybVerifyRequestDocumentsFromJSON, KybVerifyRequestDocumentsFromJSONTyped, KybVerifyRequestDocumentsToJSON } from './models/KybVerifyRequestDocuments.js';
|
|
501
500
|
export { KybVerifyRequestOfficersFromJSON, KybVerifyRequestOfficersFromJSONTyped, KybVerifyRequestOfficersToJSON } from './models/KybVerifyRequestOfficers.js';
|
|
502
501
|
export { KybVerifyResponseFromJSON, KybVerifyResponseFromJSONTyped, KybVerifyResponseToJSON } from './models/KybVerifyResponse.js';
|
|
503
502
|
export { KycFieldType, KycFieldTypeFromJSON, KycFieldTypeFromJSONTyped, KycFieldTypeToJSON } from './models/KycFieldType.js';
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
-
var KybAdditionalInfoFileData = require('./KybAdditionalInfoFileData.cjs');
|
|
7
6
|
|
|
8
7
|
/* tslint:disable */
|
|
9
8
|
function KybAdditionalInfoDataFromJSON(json) {
|
|
@@ -15,7 +14,7 @@ function KybAdditionalInfoDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
14
|
}
|
|
16
15
|
return {
|
|
17
16
|
'value': !runtime.exists(json, 'value') ? undefined : json['value'],
|
|
18
|
-
'
|
|
17
|
+
'fileId': !runtime.exists(json, 'fileId') ? undefined : json['fileId'],
|
|
19
18
|
};
|
|
20
19
|
}
|
|
21
20
|
function KybAdditionalInfoDataToJSON(value) {
|
|
@@ -27,7 +26,7 @@ function KybAdditionalInfoDataToJSON(value) {
|
|
|
27
26
|
}
|
|
28
27
|
return {
|
|
29
28
|
'value': value.value,
|
|
30
|
-
'
|
|
29
|
+
'fileId': value.fileId,
|
|
31
30
|
};
|
|
32
31
|
}
|
|
33
32
|
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { KybAdditionalInfoFileData } from './KybAdditionalInfoFileData';
|
|
13
12
|
/**
|
|
14
13
|
* Text or document value for an additional info entry. Forwarded to AI Prise; not stored by Redcoast.
|
|
15
14
|
* @export
|
|
@@ -23,11 +22,11 @@ export interface KybAdditionalInfoData {
|
|
|
23
22
|
*/
|
|
24
23
|
value?: string;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
25
|
+
* AI Prise document id returned by uploadKybDocument, for an entry whose value is a document rather than text.
|
|
26
|
+
* @type {string}
|
|
28
27
|
* @memberof KybAdditionalInfoData
|
|
29
28
|
*/
|
|
30
|
-
|
|
29
|
+
fileId?: string;
|
|
31
30
|
}
|
|
32
31
|
export declare function KybAdditionalInfoDataFromJSON(json: any): KybAdditionalInfoData;
|
|
33
32
|
export declare function KybAdditionalInfoDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybAdditionalInfoData;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
-
import { KybAdditionalInfoFileDataFromJSON, KybAdditionalInfoFileDataToJSON } from './KybAdditionalInfoFileData.js';
|
|
3
2
|
|
|
4
3
|
/* tslint:disable */
|
|
5
4
|
function KybAdditionalInfoDataFromJSON(json) {
|
|
@@ -11,7 +10,7 @@ function KybAdditionalInfoDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11
10
|
}
|
|
12
11
|
return {
|
|
13
12
|
'value': !exists(json, 'value') ? undefined : json['value'],
|
|
14
|
-
'
|
|
13
|
+
'fileId': !exists(json, 'fileId') ? undefined : json['fileId'],
|
|
15
14
|
};
|
|
16
15
|
}
|
|
17
16
|
function KybAdditionalInfoDataToJSON(value) {
|
|
@@ -23,7 +22,7 @@ function KybAdditionalInfoDataToJSON(value) {
|
|
|
23
22
|
}
|
|
24
23
|
return {
|
|
25
24
|
'value': value.value,
|
|
26
|
-
'
|
|
25
|
+
'fileId': value.fileId,
|
|
27
26
|
};
|
|
28
27
|
}
|
|
29
28
|
|
|
@@ -15,19 +15,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
15
15
|
* https://openapi-generator.tech
|
|
16
16
|
* Do not edit the class manually.
|
|
17
17
|
*/
|
|
18
|
-
function
|
|
19
|
-
return
|
|
18
|
+
function KybDocumentUploadResponseFromJSON(json) {
|
|
19
|
+
return KybDocumentUploadResponseFromJSONTyped(json);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function KybDocumentUploadResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
22
|
if ((json === undefined) || (json === null)) {
|
|
23
23
|
return json;
|
|
24
24
|
}
|
|
25
25
|
return {
|
|
26
|
-
'
|
|
27
|
-
'fileName': json['fileName'],
|
|
26
|
+
'documentId': json['documentId'],
|
|
28
27
|
};
|
|
29
28
|
}
|
|
30
|
-
function
|
|
29
|
+
function KybDocumentUploadResponseToJSON(value) {
|
|
31
30
|
if (value === undefined) {
|
|
32
31
|
return undefined;
|
|
33
32
|
}
|
|
@@ -35,11 +34,10 @@ function KybAdditionalInfoFileDataToJSON(value) {
|
|
|
35
34
|
return null;
|
|
36
35
|
}
|
|
37
36
|
return {
|
|
38
|
-
'
|
|
39
|
-
'fileName': value.fileName,
|
|
37
|
+
'documentId': value.documentId,
|
|
40
38
|
};
|
|
41
39
|
}
|
|
42
40
|
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
41
|
+
exports.KybDocumentUploadResponseFromJSON = KybDocumentUploadResponseFromJSON;
|
|
42
|
+
exports.KybDocumentUploadResponseFromJSONTyped = KybDocumentUploadResponseFromJSONTyped;
|
|
43
|
+
exports.KybDocumentUploadResponseToJSON = KybDocumentUploadResponseToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface KybDocumentUploadResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface KybDocumentUploadResponse {
|
|
18
|
+
/**
|
|
19
|
+
* AI Prise document id to reference from submitKybVerification.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof KybDocumentUploadResponse
|
|
22
|
+
*/
|
|
23
|
+
documentId: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function KybDocumentUploadResponseFromJSON(json: any): KybDocumentUploadResponse;
|
|
26
|
+
export declare function KybDocumentUploadResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybDocumentUploadResponse;
|
|
27
|
+
export declare function KybDocumentUploadResponseToJSON(value?: KybDocumentUploadResponse | null): any;
|
|
@@ -11,19 +11,18 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
function
|
|
15
|
-
return
|
|
14
|
+
function KybDocumentUploadResponseFromJSON(json) {
|
|
15
|
+
return KybDocumentUploadResponseFromJSONTyped(json);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function KybDocumentUploadResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
18
|
if ((json === undefined) || (json === null)) {
|
|
19
19
|
return json;
|
|
20
20
|
}
|
|
21
21
|
return {
|
|
22
|
-
'
|
|
23
|
-
'fileName': json['fileName'],
|
|
22
|
+
'documentId': json['documentId'],
|
|
24
23
|
};
|
|
25
24
|
}
|
|
26
|
-
function
|
|
25
|
+
function KybDocumentUploadResponseToJSON(value) {
|
|
27
26
|
if (value === undefined) {
|
|
28
27
|
return undefined;
|
|
29
28
|
}
|
|
@@ -31,9 +30,8 @@ function KybAdditionalInfoFileDataToJSON(value) {
|
|
|
31
30
|
return null;
|
|
32
31
|
}
|
|
33
32
|
return {
|
|
34
|
-
'
|
|
35
|
-
'fileName': value.fileName,
|
|
33
|
+
'documentId': value.documentId,
|
|
36
34
|
};
|
|
37
35
|
}
|
|
38
36
|
|
|
39
|
-
export {
|
|
37
|
+
export { KybDocumentUploadResponseFromJSON, KybDocumentUploadResponseFromJSONTyped, KybDocumentUploadResponseToJSON };
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var KybVerifyRequestAdditionalInfo = require('./KybVerifyRequestAdditionalInfo.cjs');
|
|
7
7
|
var KybVerifyRequestBusinessData = require('./KybVerifyRequestBusinessData.cjs');
|
|
8
|
-
var KybVerifyRequestDocuments = require('./KybVerifyRequestDocuments.cjs');
|
|
9
8
|
var KybVerifyRequestOfficers = require('./KybVerifyRequestOfficers.cjs');
|
|
10
9
|
|
|
11
10
|
/* tslint:disable */
|
|
@@ -19,7 +18,7 @@ function KybVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
18
|
return {
|
|
20
19
|
'tier': json['tier'],
|
|
21
20
|
'businessData': !runtime.exists(json, 'businessData') ? undefined : KybVerifyRequestBusinessData.KybVerifyRequestBusinessDataFromJSON(json['businessData']),
|
|
22
|
-
'
|
|
21
|
+
'documentIds': !runtime.exists(json, 'documentIds') ? undefined : json['documentIds'],
|
|
23
22
|
'officers': !runtime.exists(json, 'officers') ? undefined : (json['officers'].map(KybVerifyRequestOfficers.KybVerifyRequestOfficersFromJSON)),
|
|
24
23
|
'additionalInfo': !runtime.exists(json, 'additionalInfo') ? undefined : (json['additionalInfo'].map(KybVerifyRequestAdditionalInfo.KybVerifyRequestAdditionalInfoFromJSON)),
|
|
25
24
|
};
|
|
@@ -34,7 +33,7 @@ function KybVerifyRequestToJSON(value) {
|
|
|
34
33
|
return {
|
|
35
34
|
'tier': value.tier,
|
|
36
35
|
'businessData': KybVerifyRequestBusinessData.KybVerifyRequestBusinessDataToJSON(value.businessData),
|
|
37
|
-
'
|
|
36
|
+
'documentIds': value.documentIds,
|
|
38
37
|
'officers': value.officers === undefined ? undefined : (value.officers.map(KybVerifyRequestOfficers.KybVerifyRequestOfficersToJSON)),
|
|
39
38
|
'additionalInfo': value.additionalInfo === undefined ? undefined : (value.additionalInfo.map(KybVerifyRequestAdditionalInfo.KybVerifyRequestAdditionalInfoToJSON)),
|
|
40
39
|
};
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { KybVerifyRequestAdditionalInfo } from './KybVerifyRequestAdditionalInfo';
|
|
13
13
|
import { KybVerifyRequestBusinessData } from './KybVerifyRequestBusinessData';
|
|
14
|
-
import { KybVerifyRequestDocuments } from './KybVerifyRequestDocuments';
|
|
15
14
|
import { KybVerifyRequestOfficers } from './KybVerifyRequestOfficers';
|
|
16
15
|
/**
|
|
17
16
|
*
|
|
@@ -32,11 +31,11 @@ export interface KybVerifyRequest {
|
|
|
32
31
|
*/
|
|
33
32
|
businessData?: KybVerifyRequestBusinessData;
|
|
34
33
|
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {Array<
|
|
34
|
+
* AI Prise document ids returned by uploadKybDocument. Upload each document first, then reference its id here.
|
|
35
|
+
* @type {Array<string>}
|
|
37
36
|
* @memberof KybVerifyRequest
|
|
38
37
|
*/
|
|
39
|
-
|
|
38
|
+
documentIds?: Array<string>;
|
|
40
39
|
/**
|
|
41
40
|
* Business officers/directors. Not stored by Redcoast — each entry registers a related person and starts their own KYC verification session.
|
|
42
41
|
* @type {Array<KybVerifyRequestOfficers>}
|
|
@@ -44,7 +43,7 @@ export interface KybVerifyRequest {
|
|
|
44
43
|
*/
|
|
45
44
|
officers?: Array<KybVerifyRequestOfficers>;
|
|
46
45
|
/**
|
|
47
|
-
* Officer PII and
|
|
46
|
+
* Officer PII and document references forwarded to AI Prise. Not stored by Redcoast.
|
|
48
47
|
* @type {Array<KybVerifyRequestAdditionalInfo>}
|
|
49
48
|
* @memberof KybVerifyRequest
|
|
50
49
|
*/
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { KybVerifyRequestAdditionalInfoFromJSON, KybVerifyRequestAdditionalInfoToJSON } from './KybVerifyRequestAdditionalInfo.js';
|
|
3
3
|
import { KybVerifyRequestBusinessDataFromJSON, KybVerifyRequestBusinessDataToJSON } from './KybVerifyRequestBusinessData.js';
|
|
4
|
-
import { KybVerifyRequestDocumentsFromJSON, KybVerifyRequestDocumentsToJSON } from './KybVerifyRequestDocuments.js';
|
|
5
4
|
import { KybVerifyRequestOfficersFromJSON, KybVerifyRequestOfficersToJSON } from './KybVerifyRequestOfficers.js';
|
|
6
5
|
|
|
7
6
|
/* tslint:disable */
|
|
@@ -15,7 +14,7 @@ function KybVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
14
|
return {
|
|
16
15
|
'tier': json['tier'],
|
|
17
16
|
'businessData': !exists(json, 'businessData') ? undefined : KybVerifyRequestBusinessDataFromJSON(json['businessData']),
|
|
18
|
-
'
|
|
17
|
+
'documentIds': !exists(json, 'documentIds') ? undefined : json['documentIds'],
|
|
19
18
|
'officers': !exists(json, 'officers') ? undefined : (json['officers'].map(KybVerifyRequestOfficersFromJSON)),
|
|
20
19
|
'additionalInfo': !exists(json, 'additionalInfo') ? undefined : (json['additionalInfo'].map(KybVerifyRequestAdditionalInfoFromJSON)),
|
|
21
20
|
};
|
|
@@ -30,7 +29,7 @@ function KybVerifyRequestToJSON(value) {
|
|
|
30
29
|
return {
|
|
31
30
|
'tier': value.tier,
|
|
32
31
|
'businessData': KybVerifyRequestBusinessDataToJSON(value.businessData),
|
|
33
|
-
'
|
|
32
|
+
'documentIds': value.documentIds,
|
|
34
33
|
'officers': value.officers === undefined ? undefined : (value.officers.map(KybVerifyRequestOfficersToJSON)),
|
|
35
34
|
'additionalInfo': value.additionalInfo === undefined ? undefined : (value.additionalInfo.map(KybVerifyRequestAdditionalInfoToJSON)),
|
|
36
35
|
};
|
package/src/models/index.d.ts
CHANGED
|
@@ -421,11 +421,11 @@ export * from './JwtVerifiedCredentialHashes';
|
|
|
421
421
|
export * from './Key';
|
|
422
422
|
export * from './KeyResponse';
|
|
423
423
|
export * from './KybAdditionalInfoData';
|
|
424
|
-
export * from './KybAdditionalInfoFileData';
|
|
425
424
|
export * from './KybAlreadyInProgressResponse';
|
|
426
425
|
export * from './KybCompanyResult';
|
|
427
426
|
export * from './KybCompanyResultAddresses';
|
|
428
427
|
export * from './KybCompanySearchResponse';
|
|
428
|
+
export * from './KybDocumentUploadResponse';
|
|
429
429
|
export * from './KybOfficerSummary';
|
|
430
430
|
export * from './KybOfficersResponse';
|
|
431
431
|
export * from './KybResendSkipReasonEnum';
|
|
@@ -444,7 +444,6 @@ export * from './KybVerifyRequest';
|
|
|
444
444
|
export * from './KybVerifyRequestAdditionalInfo';
|
|
445
445
|
export * from './KybVerifyRequestBusinessData';
|
|
446
446
|
export * from './KybVerifyRequestBusinessDataAddresses';
|
|
447
|
-
export * from './KybVerifyRequestDocuments';
|
|
448
447
|
export * from './KybVerifyRequestOfficers';
|
|
449
448
|
export * from './KybVerifyResponse';
|
|
450
449
|
export * from './KycFieldType';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dashboard API
|
|
3
|
-
* Dashboard API documentation
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface KybAdditionalInfoFileData
|
|
16
|
-
*/
|
|
17
|
-
export interface KybAdditionalInfoFileData {
|
|
18
|
-
/**
|
|
19
|
-
* Base64-encoded file content.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof KybAdditionalInfoFileData
|
|
22
|
-
*/
|
|
23
|
-
fileData: string;
|
|
24
|
-
/**
|
|
25
|
-
* Original filename including extension. `txt` is allowed here but not on user-uploaded `documents[]`: the compliance attestations are generated by the wizard as a plain-text document, because AI Prise's OTHER additional_info_type is a File/Document type and rejects a bare string.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof KybAdditionalInfoFileData
|
|
28
|
-
*/
|
|
29
|
-
fileName: string;
|
|
30
|
-
}
|
|
31
|
-
export declare function KybAdditionalInfoFileDataFromJSON(json: any): KybAdditionalInfoFileData;
|
|
32
|
-
export declare function KybAdditionalInfoFileDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybAdditionalInfoFileData;
|
|
33
|
-
export declare function KybAdditionalInfoFileDataToJSON(value?: KybAdditionalInfoFileData | null): any;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var runtime = require('../runtime.cjs');
|
|
6
|
-
|
|
7
|
-
/* tslint:disable */
|
|
8
|
-
function KybVerifyRequestDocumentsFromJSON(json) {
|
|
9
|
-
return KybVerifyRequestDocumentsFromJSONTyped(json);
|
|
10
|
-
}
|
|
11
|
-
function KybVerifyRequestDocumentsFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
-
if ((json === undefined) || (json === null)) {
|
|
13
|
-
return json;
|
|
14
|
-
}
|
|
15
|
-
return {
|
|
16
|
-
'fileName': json['fileName'],
|
|
17
|
-
'fileType': !runtime.exists(json, 'fileType') ? undefined : json['fileType'],
|
|
18
|
-
'fileBlob': json['fileBlob'],
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
function KybVerifyRequestDocumentsToJSON(value) {
|
|
22
|
-
if (value === undefined) {
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
25
|
-
if (value === null) {
|
|
26
|
-
return null;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
'fileName': value.fileName,
|
|
30
|
-
'fileType': value.fileType,
|
|
31
|
-
'fileBlob': value.fileBlob,
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
exports.KybVerifyRequestDocumentsFromJSON = KybVerifyRequestDocumentsFromJSON;
|
|
36
|
-
exports.KybVerifyRequestDocumentsFromJSONTyped = KybVerifyRequestDocumentsFromJSONTyped;
|
|
37
|
-
exports.KybVerifyRequestDocumentsToJSON = KybVerifyRequestDocumentsToJSON;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dashboard API
|
|
3
|
-
* Dashboard API documentation
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface KybVerifyRequestDocuments
|
|
16
|
-
*/
|
|
17
|
-
export interface KybVerifyRequestDocuments {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof KybVerifyRequestDocuments
|
|
22
|
-
*/
|
|
23
|
-
fileName: string;
|
|
24
|
-
/**
|
|
25
|
-
* Freeform document-type descriptor (e.g. "Certificate of Incorporation").
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof KybVerifyRequestDocuments
|
|
28
|
-
*/
|
|
29
|
-
fileType?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Base64-encoded file contents.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof KybVerifyRequestDocuments
|
|
34
|
-
*/
|
|
35
|
-
fileBlob: string;
|
|
36
|
-
}
|
|
37
|
-
export declare function KybVerifyRequestDocumentsFromJSON(json: any): KybVerifyRequestDocuments;
|
|
38
|
-
export declare function KybVerifyRequestDocumentsFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybVerifyRequestDocuments;
|
|
39
|
-
export declare function KybVerifyRequestDocumentsToJSON(value?: KybVerifyRequestDocuments | null): any;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { exists } from '../runtime.js';
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
function KybVerifyRequestDocumentsFromJSON(json) {
|
|
5
|
-
return KybVerifyRequestDocumentsFromJSONTyped(json);
|
|
6
|
-
}
|
|
7
|
-
function KybVerifyRequestDocumentsFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
-
if ((json === undefined) || (json === null)) {
|
|
9
|
-
return json;
|
|
10
|
-
}
|
|
11
|
-
return {
|
|
12
|
-
'fileName': json['fileName'],
|
|
13
|
-
'fileType': !exists(json, 'fileType') ? undefined : json['fileType'],
|
|
14
|
-
'fileBlob': json['fileBlob'],
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
function KybVerifyRequestDocumentsToJSON(value) {
|
|
18
|
-
if (value === undefined) {
|
|
19
|
-
return undefined;
|
|
20
|
-
}
|
|
21
|
-
if (value === null) {
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
return {
|
|
25
|
-
'fileName': value.fileName,
|
|
26
|
-
'fileType': value.fileType,
|
|
27
|
-
'fileBlob': value.fileBlob,
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { KybVerifyRequestDocumentsFromJSON, KybVerifyRequestDocumentsFromJSONTyped, KybVerifyRequestDocumentsToJSON };
|