@dynamic-labs/sdk-api 0.14.0 → 0.15.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/AdminActionsApi.cjs +4 -0
- package/src/apis/AdminActionsApi.js +4 -0
- package/src/apis/AllowlistsApi.cjs +4 -0
- package/src/apis/AllowlistsApi.js +4 -0
- package/src/apis/AnalyticsApi.cjs +4 -0
- package/src/apis/AnalyticsApi.js +4 -0
- package/src/apis/AuthorizedClientsApi.cjs +4 -0
- package/src/apis/AuthorizedClientsApi.js +4 -0
- package/src/apis/CaptchaApi.cjs +4 -0
- package/src/apis/CaptchaApi.js +4 -0
- package/src/apis/ChainalysisApi.cjs +4 -0
- package/src/apis/ChainalysisApi.js +4 -0
- package/src/apis/ChainsApi.cjs +4 -0
- package/src/apis/ChainsApi.js +4 -0
- package/src/apis/CheckoutApi.cjs +4 -0
- package/src/apis/CheckoutApi.js +4 -0
- package/src/apis/ClientGrantApi.cjs +4 -0
- package/src/apis/ClientGrantApi.js +4 -0
- package/src/apis/CustomFieldsApi.cjs +4 -0
- package/src/apis/CustomFieldsApi.js +4 -0
- package/src/apis/CustomHostnamesApi.cjs +4 -0
- package/src/apis/CustomHostnamesApi.js +4 -0
- package/src/apis/CustomNetworksApi.cjs +4 -0
- package/src/apis/CustomNetworksApi.js +4 -0
- package/src/apis/DeeplinkUrlsApi.cjs +4 -0
- package/src/apis/DeeplinkUrlsApi.js +4 -0
- package/src/apis/EnvironmentsApi.cjs +4 -0
- package/src/apis/EnvironmentsApi.js +4 -0
- package/src/apis/EventsApi.cjs +4 -0
- package/src/apis/EventsApi.js +4 -0
- package/src/apis/ExchangesApi.cjs +4 -0
- package/src/apis/ExchangesApi.js +4 -0
- package/src/apis/ExportsApi.cjs +4 -0
- package/src/apis/ExportsApi.js +4 -0
- package/src/apis/ExternalJwtApi.cjs +4 -0
- package/src/apis/ExternalJwtApi.js +4 -0
- package/src/apis/FlowAnalyticsApi.cjs +4 -0
- package/src/apis/FlowAnalyticsApi.js +4 -0
- package/src/apis/GaslessApi.cjs +4 -0
- package/src/apis/GaslessApi.js +4 -0
- package/src/apis/GatesApi.cjs +4 -0
- package/src/apis/GatesApi.js +4 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +4 -0
- package/src/apis/GlobalWalletAccessControlApi.js +4 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +4 -0
- package/src/apis/GlobalWalletConnectionsApi.js +4 -0
- package/src/apis/GlobalWalletsApi.cjs +4 -0
- package/src/apis/GlobalWalletsApi.js +4 -0
- package/src/apis/InvitesApi.cjs +4 -0
- package/src/apis/InvitesApi.js +4 -0
- package/src/apis/KybApi.cjs +113 -4
- package/src/apis/KybApi.d.ts +43 -2
- package/src/apis/KybApi.js +113 -4
- package/src/apis/MembersApi.cjs +4 -0
- package/src/apis/MembersApi.js +4 -0
- package/src/apis/MfaSettingsApi.cjs +4 -0
- package/src/apis/MfaSettingsApi.js +4 -0
- package/src/apis/NameServicesApi.cjs +4 -0
- package/src/apis/NameServicesApi.js +4 -0
- package/src/apis/OrganizationSettingsApi.cjs +4 -0
- package/src/apis/OrganizationSettingsApi.js +4 -0
- package/src/apis/OrganizationsApi.cjs +4 -0
- package/src/apis/OrganizationsApi.js +4 -0
- package/src/apis/OriginsApi.cjs +4 -0
- package/src/apis/OriginsApi.js +4 -0
- package/src/apis/ProjectsApi.cjs +4 -0
- package/src/apis/ProjectsApi.js +4 -0
- package/src/apis/ProvidersApi.cjs +4 -0
- package/src/apis/ProvidersApi.js +4 -0
- package/src/apis/SDKApi.cjs +4 -0
- package/src/apis/SDKApi.js +4 -0
- package/src/apis/SDKViewsApi.cjs +4 -0
- package/src/apis/SDKViewsApi.js +4 -0
- package/src/apis/ServerApi.cjs +4 -0
- package/src/apis/ServerApi.js +4 -0
- package/src/apis/SessionsApi.cjs +4 -0
- package/src/apis/SessionsApi.js +4 -0
- package/src/apis/TestAccountApi.cjs +4 -0
- package/src/apis/TestAccountApi.js +4 -0
- package/src/apis/TokensApi.cjs +4 -0
- package/src/apis/TokensApi.js +4 -0
- package/src/apis/UserApiTokensApi.cjs +4 -0
- package/src/apis/UserApiTokensApi.js +4 -0
- package/src/apis/UsersApi.cjs +4 -0
- package/src/apis/UsersApi.js +4 -0
- package/src/apis/VisitsApi.cjs +4 -0
- package/src/apis/VisitsApi.js +4 -0
- package/src/apis/WaasApi.cjs +4 -0
- package/src/apis/WaasApi.js +4 -0
- package/src/apis/WalletConnectApi.cjs +4 -0
- package/src/apis/WalletConnectApi.js +4 -0
- package/src/apis/WalletsApi.cjs +4 -0
- package/src/apis/WalletsApi.js +4 -0
- package/src/apis/WebhooksApi.cjs +4 -0
- package/src/apis/WebhooksApi.js +4 -0
- package/src/apis/YieldApi.cjs +4 -0
- package/src/apis/YieldApi.js +4 -0
- package/src/apis/ZendeskApi.cjs +4 -0
- package/src/apis/ZendeskApi.js +4 -0
- package/src/index.cjs +72 -0
- package/src/index.js +15 -1
- package/src/models/BillingSubscription.cjs +2 -0
- package/src/models/BillingSubscription.d.ts +6 -0
- package/src/models/BillingSubscription.js +2 -0
- package/src/models/KybAdditionalInfoFileData.d.ts +1 -1
- package/src/models/KybAlreadyInProgressResponse.cjs +54 -0
- package/src/models/KybAlreadyInProgressResponse.d.ts +41 -0
- package/src/models/KybAlreadyInProgressResponse.js +48 -0
- package/src/models/KybCompanyResult.cjs +2 -0
- package/src/models/KybCompanyResult.d.ts +6 -0
- package/src/models/KybCompanyResult.js +2 -0
- package/src/models/KybOfficerSummary.cjs +43 -0
- package/src/models/KybOfficerSummary.d.ts +58 -0
- package/src/models/KybOfficerSummary.js +37 -0
- package/src/models/KybOfficersResponse.cjs +33 -0
- package/src/models/KybOfficersResponse.d.ts +28 -0
- package/src/models/KybOfficersResponse.js +27 -0
- package/src/models/KybResendSkipReasonEnum.cjs +47 -0
- package/src/models/KybResendSkipReasonEnum.d.ts +30 -0
- package/src/models/KybResendSkipReasonEnum.js +41 -0
- package/src/models/KybResendSkippedOfficer.cjs +35 -0
- package/src/models/KybResendSkippedOfficer.d.ts +34 -0
- package/src/models/KybResendSkippedOfficer.js +29 -0
- package/src/models/KybResendVerificationRequest.cjs +33 -0
- package/src/models/KybResendVerificationRequest.d.ts +27 -0
- package/src/models/KybResendVerificationRequest.js +27 -0
- package/src/models/KybResendVerificationResponse.cjs +35 -0
- package/src/models/KybResendVerificationResponse.d.ts +34 -0
- package/src/models/KybResendVerificationResponse.js +29 -0
- package/src/models/KybStatusReason.cjs +45 -0
- package/src/models/KybStatusReason.d.ts +33 -0
- package/src/models/KybStatusReason.js +39 -0
- package/src/models/KybSubmissionAddress.cjs +43 -0
- package/src/models/KybSubmissionAddress.d.ts +57 -0
- package/src/models/KybSubmissionAddress.js +37 -0
- package/src/models/KybSubmissionBusinessData.cjs +62 -0
- package/src/models/KybSubmissionBusinessData.d.ts +95 -0
- package/src/models/KybSubmissionBusinessData.js +56 -0
- package/src/models/KybSubmissionResponse.cjs +43 -0
- package/src/models/KybSubmissionResponse.d.ts +49 -0
- package/src/models/KybSubmissionResponse.js +37 -0
- package/src/models/KybVendorQuestion.cjs +47 -0
- package/src/models/KybVendorQuestion.d.ts +39 -0
- package/src/models/KybVendorQuestion.js +41 -0
- package/src/models/KybVerifyRequest.cjs +6 -0
- package/src/models/KybVerifyRequest.d.ts +14 -0
- package/src/models/KybVerifyRequest.js +6 -0
- package/src/models/KybVerifyRequestBusinessData.cjs +12 -4
- package/src/models/KybVerifyRequestBusinessData.d.ts +18 -11
- package/src/models/KybVerifyRequestBusinessData.js +13 -5
- package/src/models/KybVerifyRequestDocuments.cjs +37 -0
- package/src/models/KybVerifyRequestDocuments.d.ts +39 -0
- package/src/models/KybVerifyRequestDocuments.js +31 -0
- package/src/models/KybVerifyRequestOfficers.cjs +37 -0
- package/src/models/KybVerifyRequestOfficers.d.ts +39 -0
- package/src/models/KybVerifyRequestOfficers.js +31 -0
- package/src/models/Organization.cjs +2 -0
- package/src/models/Organization.d.ts +6 -0
- package/src/models/Organization.js +2 -0
- package/src/models/OrganizationRequest.cjs +2 -0
- package/src/models/OrganizationRequest.d.ts +6 -0
- package/src/models/OrganizationRequest.js +2 -0
- package/src/models/OrganizationResponseOrganization.cjs +2 -0
- package/src/models/OrganizationResponseOrganization.d.ts +6 -0
- package/src/models/OrganizationResponseOrganization.js +2 -0
- package/src/models/index.d.ts +14 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { KybSubmissionAddressFromJSON, KybSubmissionAddressToJSON } from './KybSubmissionAddress.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var KybSubmissionBusinessDataEntityTypeEnum;
|
|
10
|
+
(function (KybSubmissionBusinessDataEntityTypeEnum) {
|
|
11
|
+
KybSubmissionBusinessDataEntityTypeEnum["SoleProprietorship"] = "SOLE_PROPRIETORSHIP";
|
|
12
|
+
})(KybSubmissionBusinessDataEntityTypeEnum || (KybSubmissionBusinessDataEntityTypeEnum = {}));
|
|
13
|
+
function KybSubmissionBusinessDataFromJSON(json) {
|
|
14
|
+
return KybSubmissionBusinessDataFromJSONTyped(json);
|
|
15
|
+
}
|
|
16
|
+
function KybSubmissionBusinessDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
17
|
+
if ((json === undefined) || (json === null)) {
|
|
18
|
+
return json;
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
22
|
+
'countryCode': !exists(json, 'countryCode') ? undefined : json['countryCode'],
|
|
23
|
+
'stateCode': !exists(json, 'stateCode') ? undefined : json['stateCode'],
|
|
24
|
+
'businessEntityId': !exists(json, 'businessEntityId') ? undefined : json['businessEntityId'],
|
|
25
|
+
'entityType': !exists(json, 'entityType') ? undefined : json['entityType'],
|
|
26
|
+
'emailAddresses': !exists(json, 'emailAddresses') ? undefined : json['emailAddresses'],
|
|
27
|
+
'formationDate': !exists(json, 'formationDate') ? undefined : json['formationDate'],
|
|
28
|
+
'phoneNumbers': !exists(json, 'phoneNumbers') ? undefined : json['phoneNumbers'],
|
|
29
|
+
'taxIdentificationNumber': !exists(json, 'taxIdentificationNumber') ? undefined : json['taxIdentificationNumber'],
|
|
30
|
+
'website': !exists(json, 'website') ? undefined : json['website'],
|
|
31
|
+
'addresses': !exists(json, 'addresses') ? undefined : (json['addresses'].map(KybSubmissionAddressFromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function KybSubmissionBusinessDataToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'name': value.name,
|
|
43
|
+
'countryCode': value.countryCode,
|
|
44
|
+
'stateCode': value.stateCode,
|
|
45
|
+
'businessEntityId': value.businessEntityId,
|
|
46
|
+
'entityType': value.entityType,
|
|
47
|
+
'emailAddresses': value.emailAddresses,
|
|
48
|
+
'formationDate': value.formationDate,
|
|
49
|
+
'phoneNumbers': value.phoneNumbers,
|
|
50
|
+
'taxIdentificationNumber': value.taxIdentificationNumber,
|
|
51
|
+
'website': value.website,
|
|
52
|
+
'addresses': value.addresses === undefined ? undefined : (value.addresses.map(KybSubmissionAddressToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { KybSubmissionBusinessDataEntityTypeEnum, KybSubmissionBusinessDataFromJSON, KybSubmissionBusinessDataFromJSONTyped, KybSubmissionBusinessDataToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var KybStatusReason = require('./KybStatusReason.cjs');
|
|
7
|
+
var KybSubmissionBusinessData = require('./KybSubmissionBusinessData.cjs');
|
|
8
|
+
var KybVendorQuestion = require('./KybVendorQuestion.cjs');
|
|
9
|
+
var KybVerificationResultEnum = require('./KybVerificationResultEnum.cjs');
|
|
10
|
+
|
|
11
|
+
/* tslint:disable */
|
|
12
|
+
function KybSubmissionResponseFromJSON(json) {
|
|
13
|
+
return KybSubmissionResponseFromJSONTyped(json);
|
|
14
|
+
}
|
|
15
|
+
function KybSubmissionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
16
|
+
if ((json === undefined) || (json === null)) {
|
|
17
|
+
return json;
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
'businessData': KybSubmissionBusinessData.KybSubmissionBusinessDataFromJSON(json['businessData']),
|
|
21
|
+
'statusReasons': (json['statusReasons'].map(KybStatusReason.KybStatusReasonFromJSON)),
|
|
22
|
+
'vendorQuestions': !runtime.exists(json, 'vendorQuestions') ? undefined : (json['vendorQuestions'].map(KybVendorQuestion.KybVendorQuestionFromJSON)),
|
|
23
|
+
'verificationResult': KybVerificationResultEnum.KybVerificationResultEnumFromJSON(json['verificationResult']),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function KybSubmissionResponseToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'businessData': KybSubmissionBusinessData.KybSubmissionBusinessDataToJSON(value.businessData),
|
|
35
|
+
'statusReasons': (value.statusReasons.map(KybStatusReason.KybStatusReasonToJSON)),
|
|
36
|
+
'vendorQuestions': value.vendorQuestions === undefined ? undefined : (value.vendorQuestions.map(KybVendorQuestion.KybVendorQuestionToJSON)),
|
|
37
|
+
'verificationResult': KybVerificationResultEnum.KybVerificationResultEnumToJSON(value.verificationResult),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.KybSubmissionResponseFromJSON = KybSubmissionResponseFromJSON;
|
|
42
|
+
exports.KybSubmissionResponseFromJSONTyped = KybSubmissionResponseFromJSONTyped;
|
|
43
|
+
exports.KybSubmissionResponseToJSON = KybSubmissionResponseToJSON;
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
import { KybStatusReason } from './KybStatusReason';
|
|
13
|
+
import { KybSubmissionBusinessData } from './KybSubmissionBusinessData';
|
|
14
|
+
import { KybVendorQuestion } from './KybVendorQuestion';
|
|
15
|
+
import { KybVerificationResultEnum } from './KybVerificationResultEnum';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface KybSubmissionResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface KybSubmissionResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {KybSubmissionBusinessData}
|
|
25
|
+
* @memberof KybSubmissionResponse
|
|
26
|
+
*/
|
|
27
|
+
businessData: KybSubmissionBusinessData;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Array<KybStatusReason>}
|
|
31
|
+
* @memberof KybSubmissionResponse
|
|
32
|
+
*/
|
|
33
|
+
statusReasons: Array<KybStatusReason>;
|
|
34
|
+
/**
|
|
35
|
+
* Empty for most profiles — only populated when a reviewer has configured a business question group on the AI Prise template.
|
|
36
|
+
* @type {Array<KybVendorQuestion>}
|
|
37
|
+
* @memberof KybSubmissionResponse
|
|
38
|
+
*/
|
|
39
|
+
vendorQuestions?: Array<KybVendorQuestion>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {KybVerificationResultEnum}
|
|
43
|
+
* @memberof KybSubmissionResponse
|
|
44
|
+
*/
|
|
45
|
+
verificationResult: KybVerificationResultEnum;
|
|
46
|
+
}
|
|
47
|
+
export declare function KybSubmissionResponseFromJSON(json: any): KybSubmissionResponse;
|
|
48
|
+
export declare function KybSubmissionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybSubmissionResponse;
|
|
49
|
+
export declare function KybSubmissionResponseToJSON(value?: KybSubmissionResponse | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { KybStatusReasonFromJSON, KybStatusReasonToJSON } from './KybStatusReason.js';
|
|
3
|
+
import { KybSubmissionBusinessDataFromJSON, KybSubmissionBusinessDataToJSON } from './KybSubmissionBusinessData.js';
|
|
4
|
+
import { KybVendorQuestionFromJSON, KybVendorQuestionToJSON } from './KybVendorQuestion.js';
|
|
5
|
+
import { KybVerificationResultEnumFromJSON, KybVerificationResultEnumToJSON } from './KybVerificationResultEnum.js';
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function KybSubmissionResponseFromJSON(json) {
|
|
9
|
+
return KybSubmissionResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function KybSubmissionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'businessData': KybSubmissionBusinessDataFromJSON(json['businessData']),
|
|
17
|
+
'statusReasons': (json['statusReasons'].map(KybStatusReasonFromJSON)),
|
|
18
|
+
'vendorQuestions': !exists(json, 'vendorQuestions') ? undefined : (json['vendorQuestions'].map(KybVendorQuestionFromJSON)),
|
|
19
|
+
'verificationResult': KybVerificationResultEnumFromJSON(json['verificationResult']),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function KybSubmissionResponseToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'businessData': KybSubmissionBusinessDataToJSON(value.businessData),
|
|
31
|
+
'statusReasons': (value.statusReasons.map(KybStatusReasonToJSON)),
|
|
32
|
+
'vendorQuestions': value.vendorQuestions === undefined ? undefined : (value.vendorQuestions.map(KybVendorQuestionToJSON)),
|
|
33
|
+
'verificationResult': KybVerificationResultEnumToJSON(value.verificationResult),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { KybSubmissionResponseFromJSON, KybSubmissionResponseFromJSONTyped, KybSubmissionResponseToJSON };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function KybVendorQuestionFromJSON(json) {
|
|
19
|
+
return KybVendorQuestionFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function KybVendorQuestionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'questionId': json['questionId'],
|
|
27
|
+
'question': json['question'],
|
|
28
|
+
'answer': json['answer'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function KybVendorQuestionToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'questionId': value.questionId,
|
|
40
|
+
'question': value.question,
|
|
41
|
+
'answer': value.answer,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.KybVendorQuestionFromJSON = KybVendorQuestionFromJSON;
|
|
46
|
+
exports.KybVendorQuestionFromJSONTyped = KybVendorQuestionFromJSONTyped;
|
|
47
|
+
exports.KybVendorQuestionToJSON = KybVendorQuestionToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
* One answered question from a question group a reviewer configured on the AI Prise template. Read-only: no AI Prise write endpoint accepts `questions_response`, so these are never submitted by us — they are captured in AI Prise's own hosted flow and surfaced here for reconciliation.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface KybVendorQuestion
|
|
16
|
+
*/
|
|
17
|
+
export interface KybVendorQuestion {
|
|
18
|
+
/**
|
|
19
|
+
* Vendor question key (Q01, Q02, ...).
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof KybVendorQuestion
|
|
22
|
+
*/
|
|
23
|
+
questionId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Vendor-authored question text; shown verbatim to the customer.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof KybVendorQuestion
|
|
28
|
+
*/
|
|
29
|
+
question: string;
|
|
30
|
+
/**
|
|
31
|
+
* The recorded answer. Empty string when the question is unanswered.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof KybVendorQuestion
|
|
34
|
+
*/
|
|
35
|
+
answer: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function KybVendorQuestionFromJSON(json: any): KybVendorQuestion;
|
|
38
|
+
export declare function KybVendorQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybVendorQuestion;
|
|
39
|
+
export declare function KybVendorQuestionToJSON(value?: KybVendorQuestion | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
function KybVendorQuestionFromJSON(json) {
|
|
15
|
+
return KybVendorQuestionFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function KybVendorQuestionFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'questionId': json['questionId'],
|
|
23
|
+
'question': json['question'],
|
|
24
|
+
'answer': json['answer'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function KybVendorQuestionToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'questionId': value.questionId,
|
|
36
|
+
'question': value.question,
|
|
37
|
+
'answer': value.answer,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { KybVendorQuestionFromJSON, KybVendorQuestionFromJSONTyped, KybVendorQuestionToJSON };
|
|
@@ -5,6 +5,8 @@ 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
|
+
var KybVerifyRequestOfficers = require('./KybVerifyRequestOfficers.cjs');
|
|
8
10
|
|
|
9
11
|
/* tslint:disable */
|
|
10
12
|
function KybVerifyRequestFromJSON(json) {
|
|
@@ -17,6 +19,8 @@ function KybVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
19
|
return {
|
|
18
20
|
'tier': json['tier'],
|
|
19
21
|
'businessData': !runtime.exists(json, 'businessData') ? undefined : KybVerifyRequestBusinessData.KybVerifyRequestBusinessDataFromJSON(json['businessData']),
|
|
22
|
+
'documents': !runtime.exists(json, 'documents') ? undefined : (json['documents'].map(KybVerifyRequestDocuments.KybVerifyRequestDocumentsFromJSON)),
|
|
23
|
+
'officers': !runtime.exists(json, 'officers') ? undefined : (json['officers'].map(KybVerifyRequestOfficers.KybVerifyRequestOfficersFromJSON)),
|
|
20
24
|
'additionalInfo': !runtime.exists(json, 'additionalInfo') ? undefined : (json['additionalInfo'].map(KybVerifyRequestAdditionalInfo.KybVerifyRequestAdditionalInfoFromJSON)),
|
|
21
25
|
};
|
|
22
26
|
}
|
|
@@ -30,6 +34,8 @@ function KybVerifyRequestToJSON(value) {
|
|
|
30
34
|
return {
|
|
31
35
|
'tier': value.tier,
|
|
32
36
|
'businessData': KybVerifyRequestBusinessData.KybVerifyRequestBusinessDataToJSON(value.businessData),
|
|
37
|
+
'documents': value.documents === undefined ? undefined : (value.documents.map(KybVerifyRequestDocuments.KybVerifyRequestDocumentsToJSON)),
|
|
38
|
+
'officers': value.officers === undefined ? undefined : (value.officers.map(KybVerifyRequestOfficers.KybVerifyRequestOfficersToJSON)),
|
|
33
39
|
'additionalInfo': value.additionalInfo === undefined ? undefined : (value.additionalInfo.map(KybVerifyRequestAdditionalInfo.KybVerifyRequestAdditionalInfoToJSON)),
|
|
34
40
|
};
|
|
35
41
|
}
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { KybVerifyRequestAdditionalInfo } from './KybVerifyRequestAdditionalInfo';
|
|
13
13
|
import { KybVerifyRequestBusinessData } from './KybVerifyRequestBusinessData';
|
|
14
|
+
import { KybVerifyRequestDocuments } from './KybVerifyRequestDocuments';
|
|
15
|
+
import { KybVerifyRequestOfficers } from './KybVerifyRequestOfficers';
|
|
14
16
|
/**
|
|
15
17
|
*
|
|
16
18
|
* @export
|
|
@@ -29,6 +31,18 @@ export interface KybVerifyRequest {
|
|
|
29
31
|
* @memberof KybVerifyRequest
|
|
30
32
|
*/
|
|
31
33
|
businessData?: KybVerifyRequestBusinessData;
|
|
34
|
+
/**
|
|
35
|
+
* Business documents as base64. Not stored by Redcoast — forwarded to AI Prise's add_business_document endpoint.
|
|
36
|
+
* @type {Array<KybVerifyRequestDocuments>}
|
|
37
|
+
* @memberof KybVerifyRequest
|
|
38
|
+
*/
|
|
39
|
+
documents?: Array<KybVerifyRequestDocuments>;
|
|
40
|
+
/**
|
|
41
|
+
* Business officers/directors. Not stored by Redcoast — each entry registers a related person and starts their own KYC verification session.
|
|
42
|
+
* @type {Array<KybVerifyRequestOfficers>}
|
|
43
|
+
* @memberof KybVerifyRequest
|
|
44
|
+
*/
|
|
45
|
+
officers?: Array<KybVerifyRequestOfficers>;
|
|
32
46
|
/**
|
|
33
47
|
* Officer PII and documents forwarded to AI Prise. Not stored by Redcoast.
|
|
34
48
|
* @type {Array<KybVerifyRequestAdditionalInfo>}
|
|
@@ -1,6 +1,8 @@
|
|
|
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
|
+
import { KybVerifyRequestOfficersFromJSON, KybVerifyRequestOfficersToJSON } from './KybVerifyRequestOfficers.js';
|
|
4
6
|
|
|
5
7
|
/* tslint:disable */
|
|
6
8
|
function KybVerifyRequestFromJSON(json) {
|
|
@@ -13,6 +15,8 @@ function KybVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
15
|
return {
|
|
14
16
|
'tier': json['tier'],
|
|
15
17
|
'businessData': !exists(json, 'businessData') ? undefined : KybVerifyRequestBusinessDataFromJSON(json['businessData']),
|
|
18
|
+
'documents': !exists(json, 'documents') ? undefined : (json['documents'].map(KybVerifyRequestDocumentsFromJSON)),
|
|
19
|
+
'officers': !exists(json, 'officers') ? undefined : (json['officers'].map(KybVerifyRequestOfficersFromJSON)),
|
|
16
20
|
'additionalInfo': !exists(json, 'additionalInfo') ? undefined : (json['additionalInfo'].map(KybVerifyRequestAdditionalInfoFromJSON)),
|
|
17
21
|
};
|
|
18
22
|
}
|
|
@@ -26,6 +30,8 @@ function KybVerifyRequestToJSON(value) {
|
|
|
26
30
|
return {
|
|
27
31
|
'tier': value.tier,
|
|
28
32
|
'businessData': KybVerifyRequestBusinessDataToJSON(value.businessData),
|
|
33
|
+
'documents': value.documents === undefined ? undefined : (value.documents.map(KybVerifyRequestDocumentsToJSON)),
|
|
34
|
+
'officers': value.officers === undefined ? undefined : (value.officers.map(KybVerifyRequestOfficersToJSON)),
|
|
29
35
|
'additionalInfo': value.additionalInfo === undefined ? undefined : (value.additionalInfo.map(KybVerifyRequestAdditionalInfoToJSON)),
|
|
30
36
|
};
|
|
31
37
|
}
|
|
@@ -6,6 +6,14 @@ var runtime = require('../runtime.cjs');
|
|
|
6
6
|
var KybVerifyRequestBusinessDataAddresses = require('./KybVerifyRequestBusinessDataAddresses.cjs');
|
|
7
7
|
|
|
8
8
|
/* tslint:disable */
|
|
9
|
+
/**
|
|
10
|
+
* @export
|
|
11
|
+
* @enum {string}
|
|
12
|
+
*/
|
|
13
|
+
exports.KybVerifyRequestBusinessDataEntityTypeEnum = void 0;
|
|
14
|
+
(function (KybVerifyRequestBusinessDataEntityTypeEnum) {
|
|
15
|
+
KybVerifyRequestBusinessDataEntityTypeEnum["SoleProprietorship"] = "SOLE_PROPRIETORSHIP";
|
|
16
|
+
})(exports.KybVerifyRequestBusinessDataEntityTypeEnum || (exports.KybVerifyRequestBusinessDataEntityTypeEnum = {}));
|
|
9
17
|
function KybVerifyRequestBusinessDataFromJSON(json) {
|
|
10
18
|
return KybVerifyRequestBusinessDataFromJSONTyped(json);
|
|
11
19
|
}
|
|
@@ -15,16 +23,16 @@ function KybVerifyRequestBusinessDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
23
|
}
|
|
16
24
|
return {
|
|
17
25
|
'name': !runtime.exists(json, 'name') ? undefined : json['name'],
|
|
18
|
-
'alternateName': !runtime.exists(json, 'alternateName') ? undefined : json['alternateName'],
|
|
19
26
|
'taxIdentificationNumber': !runtime.exists(json, 'taxIdentificationNumber') ? undefined : json['taxIdentificationNumber'],
|
|
20
27
|
'businessEntityId': !runtime.exists(json, 'businessEntityId') ? undefined : json['businessEntityId'],
|
|
21
28
|
'countryCode': !runtime.exists(json, 'countryCode') ? undefined : json['countryCode'],
|
|
22
29
|
'stateCode': !runtime.exists(json, 'stateCode') ? undefined : json['stateCode'],
|
|
23
|
-
'formationDate': !runtime.exists(json, 'formationDate') ? undefined :
|
|
30
|
+
'formationDate': !runtime.exists(json, 'formationDate') ? undefined : json['formationDate'],
|
|
24
31
|
'website': !runtime.exists(json, 'website') ? undefined : json['website'],
|
|
25
32
|
'addresses': !runtime.exists(json, 'addresses') ? undefined : (json['addresses'].map(KybVerifyRequestBusinessDataAddresses.KybVerifyRequestBusinessDataAddressesFromJSON)),
|
|
26
33
|
'phoneNumbers': !runtime.exists(json, 'phoneNumbers') ? undefined : json['phoneNumbers'],
|
|
27
34
|
'emailAddresses': !runtime.exists(json, 'emailAddresses') ? undefined : json['emailAddresses'],
|
|
35
|
+
'entityType': !runtime.exists(json, 'entityType') ? undefined : json['entityType'],
|
|
28
36
|
};
|
|
29
37
|
}
|
|
30
38
|
function KybVerifyRequestBusinessDataToJSON(value) {
|
|
@@ -36,16 +44,16 @@ function KybVerifyRequestBusinessDataToJSON(value) {
|
|
|
36
44
|
}
|
|
37
45
|
return {
|
|
38
46
|
'name': value.name,
|
|
39
|
-
'alternateName': value.alternateName,
|
|
40
47
|
'taxIdentificationNumber': value.taxIdentificationNumber,
|
|
41
48
|
'businessEntityId': value.businessEntityId,
|
|
42
49
|
'countryCode': value.countryCode,
|
|
43
50
|
'stateCode': value.stateCode,
|
|
44
|
-
'formationDate': value.formationDate
|
|
51
|
+
'formationDate': value.formationDate,
|
|
45
52
|
'website': value.website,
|
|
46
53
|
'addresses': value.addresses === undefined ? undefined : (value.addresses.map(KybVerifyRequestBusinessDataAddresses.KybVerifyRequestBusinessDataAddressesToJSON)),
|
|
47
54
|
'phoneNumbers': value.phoneNumbers,
|
|
48
55
|
'emailAddresses': value.emailAddresses,
|
|
56
|
+
'entityType': value.entityType,
|
|
49
57
|
};
|
|
50
58
|
}
|
|
51
59
|
|
|
@@ -22,12 +22,6 @@ export interface KybVerifyRequestBusinessData {
|
|
|
22
22
|
* @memberof KybVerifyRequestBusinessData
|
|
23
23
|
*/
|
|
24
24
|
name?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof KybVerifyRequestBusinessData
|
|
29
|
-
*/
|
|
30
|
-
alternateName?: string;
|
|
31
25
|
/**
|
|
32
26
|
*
|
|
33
27
|
* @type {string}
|
|
@@ -41,7 +35,7 @@ export interface KybVerifyRequestBusinessData {
|
|
|
41
35
|
*/
|
|
42
36
|
businessEntityId?: string;
|
|
43
37
|
/**
|
|
44
|
-
*
|
|
38
|
+
* 2-letter ISO country code or an empty string when not provided.
|
|
45
39
|
* @type {string}
|
|
46
40
|
* @memberof KybVerifyRequestBusinessData
|
|
47
41
|
*/
|
|
@@ -53,13 +47,13 @@ export interface KybVerifyRequestBusinessData {
|
|
|
53
47
|
*/
|
|
54
48
|
stateCode?: string;
|
|
55
49
|
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {
|
|
50
|
+
* YYYY-MM-DD or an empty string when not provided. Final format validation happens in the controller.
|
|
51
|
+
* @type {string}
|
|
58
52
|
* @memberof KybVerifyRequestBusinessData
|
|
59
53
|
*/
|
|
60
|
-
formationDate?:
|
|
54
|
+
formationDate?: string;
|
|
61
55
|
/**
|
|
62
|
-
*
|
|
56
|
+
* Website URL. The controller normalizes bare domains to https:// and rejects non-HTTP(S) schemes.
|
|
63
57
|
* @type {string}
|
|
64
58
|
* @memberof KybVerifyRequestBusinessData
|
|
65
59
|
*/
|
|
@@ -82,6 +76,19 @@ export interface KybVerifyRequestBusinessData {
|
|
|
82
76
|
* @memberof KybVerifyRequestBusinessData
|
|
83
77
|
*/
|
|
84
78
|
emailAddresses?: Array<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Optional business entity type. Currently only SOLE_PROPRIETORSHIP is supported; omit for a registered business. AI Prise has no entity_type field, so this is mapped to a `tags` entry instead.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof KybVerifyRequestBusinessData
|
|
83
|
+
*/
|
|
84
|
+
entityType?: KybVerifyRequestBusinessDataEntityTypeEnum;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* @export
|
|
88
|
+
* @enum {string}
|
|
89
|
+
*/
|
|
90
|
+
export declare enum KybVerifyRequestBusinessDataEntityTypeEnum {
|
|
91
|
+
SoleProprietorship = "SOLE_PROPRIETORSHIP"
|
|
85
92
|
}
|
|
86
93
|
export declare function KybVerifyRequestBusinessDataFromJSON(json: any): KybVerifyRequestBusinessData;
|
|
87
94
|
export declare function KybVerifyRequestBusinessDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybVerifyRequestBusinessData;
|
|
@@ -2,6 +2,14 @@ import { exists } from '../runtime.js';
|
|
|
2
2
|
import { KybVerifyRequestBusinessDataAddressesFromJSON, KybVerifyRequestBusinessDataAddressesToJSON } from './KybVerifyRequestBusinessDataAddresses.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var KybVerifyRequestBusinessDataEntityTypeEnum;
|
|
10
|
+
(function (KybVerifyRequestBusinessDataEntityTypeEnum) {
|
|
11
|
+
KybVerifyRequestBusinessDataEntityTypeEnum["SoleProprietorship"] = "SOLE_PROPRIETORSHIP";
|
|
12
|
+
})(KybVerifyRequestBusinessDataEntityTypeEnum || (KybVerifyRequestBusinessDataEntityTypeEnum = {}));
|
|
5
13
|
function KybVerifyRequestBusinessDataFromJSON(json) {
|
|
6
14
|
return KybVerifyRequestBusinessDataFromJSONTyped(json);
|
|
7
15
|
}
|
|
@@ -11,16 +19,16 @@ function KybVerifyRequestBusinessDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11
19
|
}
|
|
12
20
|
return {
|
|
13
21
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
14
|
-
'alternateName': !exists(json, 'alternateName') ? undefined : json['alternateName'],
|
|
15
22
|
'taxIdentificationNumber': !exists(json, 'taxIdentificationNumber') ? undefined : json['taxIdentificationNumber'],
|
|
16
23
|
'businessEntityId': !exists(json, 'businessEntityId') ? undefined : json['businessEntityId'],
|
|
17
24
|
'countryCode': !exists(json, 'countryCode') ? undefined : json['countryCode'],
|
|
18
25
|
'stateCode': !exists(json, 'stateCode') ? undefined : json['stateCode'],
|
|
19
|
-
'formationDate': !exists(json, 'formationDate') ? undefined :
|
|
26
|
+
'formationDate': !exists(json, 'formationDate') ? undefined : json['formationDate'],
|
|
20
27
|
'website': !exists(json, 'website') ? undefined : json['website'],
|
|
21
28
|
'addresses': !exists(json, 'addresses') ? undefined : (json['addresses'].map(KybVerifyRequestBusinessDataAddressesFromJSON)),
|
|
22
29
|
'phoneNumbers': !exists(json, 'phoneNumbers') ? undefined : json['phoneNumbers'],
|
|
23
30
|
'emailAddresses': !exists(json, 'emailAddresses') ? undefined : json['emailAddresses'],
|
|
31
|
+
'entityType': !exists(json, 'entityType') ? undefined : json['entityType'],
|
|
24
32
|
};
|
|
25
33
|
}
|
|
26
34
|
function KybVerifyRequestBusinessDataToJSON(value) {
|
|
@@ -32,17 +40,17 @@ function KybVerifyRequestBusinessDataToJSON(value) {
|
|
|
32
40
|
}
|
|
33
41
|
return {
|
|
34
42
|
'name': value.name,
|
|
35
|
-
'alternateName': value.alternateName,
|
|
36
43
|
'taxIdentificationNumber': value.taxIdentificationNumber,
|
|
37
44
|
'businessEntityId': value.businessEntityId,
|
|
38
45
|
'countryCode': value.countryCode,
|
|
39
46
|
'stateCode': value.stateCode,
|
|
40
|
-
'formationDate': value.formationDate
|
|
47
|
+
'formationDate': value.formationDate,
|
|
41
48
|
'website': value.website,
|
|
42
49
|
'addresses': value.addresses === undefined ? undefined : (value.addresses.map(KybVerifyRequestBusinessDataAddressesToJSON)),
|
|
43
50
|
'phoneNumbers': value.phoneNumbers,
|
|
44
51
|
'emailAddresses': value.emailAddresses,
|
|
52
|
+
'entityType': value.entityType,
|
|
45
53
|
};
|
|
46
54
|
}
|
|
47
55
|
|
|
48
|
-
export { KybVerifyRequestBusinessDataFromJSON, KybVerifyRequestBusinessDataFromJSONTyped, KybVerifyRequestBusinessDataToJSON };
|
|
56
|
+
export { KybVerifyRequestBusinessDataEntityTypeEnum, KybVerifyRequestBusinessDataFromJSON, KybVerifyRequestBusinessDataFromJSONTyped, KybVerifyRequestBusinessDataToJSON };
|
|
@@ -0,0 +1,37 @@
|
|
|
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;
|
|
@@ -0,0 +1,39 @@
|
|
|
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;
|