@dynamic-labs/sdk-api 0.0.1110 → 0.0.1111
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 +2 -0
- package/src/apis/AdminActionsApi.js +2 -0
- package/src/apis/AllowlistsApi.cjs +2 -0
- package/src/apis/AllowlistsApi.js +2 -0
- package/src/apis/AnalyticsApi.cjs +2 -0
- package/src/apis/AnalyticsApi.js +2 -0
- package/src/apis/AuthorizedClientsApi.cjs +2 -0
- package/src/apis/AuthorizedClientsApi.js +2 -0
- package/src/apis/CaptchaApi.cjs +2 -0
- package/src/apis/CaptchaApi.js +2 -0
- package/src/apis/ChainalysisApi.cjs +2 -0
- package/src/apis/ChainalysisApi.js +2 -0
- package/src/apis/ChainsApi.cjs +2 -0
- package/src/apis/ChainsApi.js +2 -0
- package/src/apis/CheckoutApi.cjs +2 -0
- package/src/apis/CheckoutApi.js +2 -0
- package/src/apis/ClientGrantApi.cjs +2 -0
- package/src/apis/ClientGrantApi.js +2 -0
- package/src/apis/CustomFieldsApi.cjs +2 -0
- package/src/apis/CustomFieldsApi.js +2 -0
- package/src/apis/CustomHostnamesApi.cjs +2 -0
- package/src/apis/CustomHostnamesApi.js +2 -0
- package/src/apis/CustomNetworksApi.cjs +2 -0
- package/src/apis/CustomNetworksApi.js +2 -0
- package/src/apis/DeeplinkUrlsApi.cjs +2 -0
- package/src/apis/DeeplinkUrlsApi.js +2 -0
- package/src/apis/EnvironmentsApi.cjs +2 -0
- package/src/apis/EnvironmentsApi.js +2 -0
- package/src/apis/EventsApi.cjs +2 -0
- package/src/apis/EventsApi.js +2 -0
- package/src/apis/ExchangesApi.cjs +2 -0
- package/src/apis/ExchangesApi.js +2 -0
- package/src/apis/ExportsApi.cjs +2 -0
- package/src/apis/ExportsApi.js +2 -0
- package/src/apis/ExternalJwtApi.cjs +2 -0
- package/src/apis/ExternalJwtApi.js +2 -0
- package/src/apis/FlowAnalyticsApi.cjs +2 -0
- package/src/apis/FlowAnalyticsApi.js +2 -0
- package/src/apis/GaslessApi.cjs +2 -0
- package/src/apis/GaslessApi.js +2 -0
- package/src/apis/GatesApi.cjs +2 -0
- package/src/apis/GatesApi.js +2 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +2 -0
- package/src/apis/GlobalWalletAccessControlApi.js +2 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +2 -0
- package/src/apis/GlobalWalletConnectionsApi.js +2 -0
- package/src/apis/GlobalWalletsApi.cjs +2 -0
- package/src/apis/GlobalWalletsApi.js +2 -0
- package/src/apis/InvitesApi.cjs +2 -0
- package/src/apis/InvitesApi.js +2 -0
- package/src/apis/KybApi.cjs +325 -0
- package/src/apis/KybApi.d.ts +71 -0
- package/src/apis/KybApi.js +321 -0
- package/src/apis/MembersApi.cjs +2 -0
- package/src/apis/MembersApi.js +2 -0
- package/src/apis/MfaSettingsApi.cjs +2 -0
- package/src/apis/MfaSettingsApi.js +2 -0
- package/src/apis/NameServicesApi.cjs +2 -0
- package/src/apis/NameServicesApi.js +2 -0
- package/src/apis/OrganizationSettingsApi.cjs +2 -0
- package/src/apis/OrganizationSettingsApi.js +2 -0
- package/src/apis/OrganizationsApi.cjs +2 -0
- package/src/apis/OrganizationsApi.js +2 -0
- package/src/apis/OriginsApi.cjs +2 -0
- package/src/apis/OriginsApi.js +2 -0
- package/src/apis/ProjectsApi.cjs +2 -0
- package/src/apis/ProjectsApi.js +2 -0
- package/src/apis/ProvidersApi.cjs +2 -0
- package/src/apis/ProvidersApi.js +2 -0
- package/src/apis/SDKApi.cjs +6 -4
- package/src/apis/SDKApi.d.ts +4 -4
- package/src/apis/SDKApi.js +6 -4
- package/src/apis/SDKViewsApi.cjs +2 -0
- package/src/apis/SDKViewsApi.js +2 -0
- package/src/apis/ServerApi.cjs +2 -0
- package/src/apis/ServerApi.js +2 -0
- package/src/apis/SessionsApi.cjs +2 -0
- package/src/apis/SessionsApi.js +2 -0
- package/src/apis/TestAccountApi.cjs +2 -0
- package/src/apis/TestAccountApi.js +2 -0
- package/src/apis/TokensApi.cjs +2 -0
- package/src/apis/TokensApi.js +2 -0
- package/src/apis/UserApiTokensApi.cjs +2 -0
- package/src/apis/UserApiTokensApi.js +2 -0
- package/src/apis/UsersApi.cjs +2 -0
- package/src/apis/UsersApi.js +2 -0
- package/src/apis/VisitsApi.cjs +2 -0
- package/src/apis/VisitsApi.js +2 -0
- package/src/apis/WaasApi.cjs +6 -4
- package/src/apis/WaasApi.d.ts +4 -4
- package/src/apis/WaasApi.js +6 -4
- package/src/apis/WalletConnectApi.cjs +2 -0
- package/src/apis/WalletConnectApi.js +2 -0
- package/src/apis/WalletsApi.cjs +2 -0
- package/src/apis/WalletsApi.js +2 -0
- package/src/apis/WebhooksApi.cjs +2 -0
- package/src/apis/WebhooksApi.js +2 -0
- package/src/apis/ZendeskApi.cjs +2 -0
- package/src/apis/ZendeskApi.js +2 -0
- package/src/apis/index.d.ts +1 -0
- package/src/index.cjs +70 -0
- package/src/index.js +16 -0
- package/src/models/KybAdditionalInfoData.cjs +36 -0
- package/src/models/KybAdditionalInfoData.d.ts +34 -0
- package/src/models/KybAdditionalInfoData.js +30 -0
- package/src/models/KybAdditionalInfoFileData.cjs +45 -0
- package/src/models/KybAdditionalInfoFileData.d.ts +33 -0
- package/src/models/KybAdditionalInfoFileData.js +39 -0
- package/src/models/KybCompanyResult.cjs +44 -0
- package/src/models/KybCompanyResult.d.ts +58 -0
- package/src/models/KybCompanyResult.js +38 -0
- package/src/models/KybCompanyResultAddresses.cjs +39 -0
- package/src/models/KybCompanyResultAddresses.d.ts +45 -0
- package/src/models/KybCompanyResultAddresses.js +33 -0
- package/src/models/KybCompanySearchResponse.cjs +33 -0
- package/src/models/KybCompanySearchResponse.d.ts +28 -0
- package/src/models/KybCompanySearchResponse.js +27 -0
- package/src/models/KybStatusResponse.cjs +36 -0
- package/src/models/KybStatusResponse.d.ts +34 -0
- package/src/models/KybStatusResponse.js +30 -0
- package/src/models/KybTierStatus.cjs +38 -0
- package/src/models/KybTierStatus.d.ts +40 -0
- package/src/models/KybTierStatus.js +32 -0
- package/src/models/KybVerificationResultEnum.cjs +45 -0
- package/src/models/KybVerificationResultEnum.d.ts +28 -0
- package/src/models/KybVerificationResultEnum.js +39 -0
- package/src/models/KybVerifyRequest.cjs +39 -0
- package/src/models/KybVerifyRequest.d.ts +41 -0
- package/src/models/KybVerifyRequest.js +33 -0
- package/src/models/KybVerifyRequestAdditionalInfo.cjs +35 -0
- package/src/models/KybVerifyRequestAdditionalInfo.d.ts +34 -0
- package/src/models/KybVerifyRequestAdditionalInfo.js +29 -0
- package/src/models/KybVerifyRequestBusinessData.cjs +54 -0
- package/src/models/KybVerifyRequestBusinessData.d.ts +88 -0
- package/src/models/KybVerifyRequestBusinessData.js +48 -0
- package/src/models/KybVerifyRequestBusinessDataAddresses.cjs +43 -0
- package/src/models/KybVerifyRequestBusinessDataAddresses.d.ts +57 -0
- package/src/models/KybVerifyRequestBusinessDataAddresses.js +37 -0
- package/src/models/KybVerifyResponse.cjs +37 -0
- package/src/models/KybVerifyResponse.d.ts +40 -0
- package/src/models/KybVerifyResponse.js +31 -0
- package/src/models/WaasPolicyLayerResponseLayerContent.cjs +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.d.ts +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.js +3 -3
- package/src/models/WaasPolicyLayerResponseRule.cjs +66 -0
- package/src/models/WaasPolicyLayerResponseRule.d.ts +116 -0
- package/src/models/WaasPolicyLayerResponseRule.js +60 -0
- package/src/models/WaasPolicyLayerRuleOperation.cjs +47 -0
- package/src/models/WaasPolicyLayerRuleOperation.d.ts +48 -0
- package/src/models/WaasPolicyLayerRuleOperation.js +41 -0
- package/src/models/WaasPolicyLayerUpdateRequest.cjs +4 -0
- package/src/models/WaasPolicyLayerUpdateRequest.d.ts +10 -2
- package/src/models/WaasPolicyLayerUpdateRequest.js +4 -0
- package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs +4 -0
- package/src/models/WaasSignerPolicyLayerUpdateRequest.d.ts +10 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequest.js +4 -0
- package/src/models/index.d.ts +15 -0
|
@@ -0,0 +1,34 @@
|
|
|
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 { KybAdditionalInfoData } from './KybAdditionalInfoData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface KybVerifyRequestAdditionalInfo
|
|
17
|
+
*/
|
|
18
|
+
export interface KybVerifyRequestAdditionalInfo {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof KybVerifyRequestAdditionalInfo
|
|
23
|
+
*/
|
|
24
|
+
additionalInfoType: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {KybAdditionalInfoData}
|
|
28
|
+
* @memberof KybVerifyRequestAdditionalInfo
|
|
29
|
+
*/
|
|
30
|
+
additionalInfoData: KybAdditionalInfoData;
|
|
31
|
+
}
|
|
32
|
+
export declare function KybVerifyRequestAdditionalInfoFromJSON(json: any): KybVerifyRequestAdditionalInfo;
|
|
33
|
+
export declare function KybVerifyRequestAdditionalInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybVerifyRequestAdditionalInfo;
|
|
34
|
+
export declare function KybVerifyRequestAdditionalInfoToJSON(value?: KybVerifyRequestAdditionalInfo | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { KybAdditionalInfoDataFromJSON, KybAdditionalInfoDataToJSON } from './KybAdditionalInfoData.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function KybVerifyRequestAdditionalInfoFromJSON(json) {
|
|
5
|
+
return KybVerifyRequestAdditionalInfoFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function KybVerifyRequestAdditionalInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'additionalInfoType': json['additionalInfoType'],
|
|
13
|
+
'additionalInfoData': KybAdditionalInfoDataFromJSON(json['additionalInfoData']),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function KybVerifyRequestAdditionalInfoToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'additionalInfoType': value.additionalInfoType,
|
|
25
|
+
'additionalInfoData': KybAdditionalInfoDataToJSON(value.additionalInfoData),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { KybVerifyRequestAdditionalInfoFromJSON, KybVerifyRequestAdditionalInfoFromJSONTyped, KybVerifyRequestAdditionalInfoToJSON };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var KybVerifyRequestBusinessDataAddresses = require('./KybVerifyRequestBusinessDataAddresses.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function KybVerifyRequestBusinessDataFromJSON(json) {
|
|
10
|
+
return KybVerifyRequestBusinessDataFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function KybVerifyRequestBusinessDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'name': !runtime.exists(json, 'name') ? undefined : json['name'],
|
|
18
|
+
'alternateName': !runtime.exists(json, 'alternateName') ? undefined : json['alternateName'],
|
|
19
|
+
'taxIdentificationNumber': !runtime.exists(json, 'taxIdentificationNumber') ? undefined : json['taxIdentificationNumber'],
|
|
20
|
+
'businessEntityId': !runtime.exists(json, 'businessEntityId') ? undefined : json['businessEntityId'],
|
|
21
|
+
'countryCode': !runtime.exists(json, 'countryCode') ? undefined : json['countryCode'],
|
|
22
|
+
'stateCode': !runtime.exists(json, 'stateCode') ? undefined : json['stateCode'],
|
|
23
|
+
'formationDate': !runtime.exists(json, 'formationDate') ? undefined : (new Date(json['formationDate'])),
|
|
24
|
+
'website': !runtime.exists(json, 'website') ? undefined : json['website'],
|
|
25
|
+
'addresses': !runtime.exists(json, 'addresses') ? undefined : (json['addresses'].map(KybVerifyRequestBusinessDataAddresses.KybVerifyRequestBusinessDataAddressesFromJSON)),
|
|
26
|
+
'phoneNumbers': !runtime.exists(json, 'phoneNumbers') ? undefined : json['phoneNumbers'],
|
|
27
|
+
'emailAddresses': !runtime.exists(json, 'emailAddresses') ? undefined : json['emailAddresses'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function KybVerifyRequestBusinessDataToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'name': value.name,
|
|
39
|
+
'alternateName': value.alternateName,
|
|
40
|
+
'taxIdentificationNumber': value.taxIdentificationNumber,
|
|
41
|
+
'businessEntityId': value.businessEntityId,
|
|
42
|
+
'countryCode': value.countryCode,
|
|
43
|
+
'stateCode': value.stateCode,
|
|
44
|
+
'formationDate': value.formationDate === undefined ? undefined : (value.formationDate.toISOString().substr(0, 10)),
|
|
45
|
+
'website': value.website,
|
|
46
|
+
'addresses': value.addresses === undefined ? undefined : (value.addresses.map(KybVerifyRequestBusinessDataAddresses.KybVerifyRequestBusinessDataAddressesToJSON)),
|
|
47
|
+
'phoneNumbers': value.phoneNumbers,
|
|
48
|
+
'emailAddresses': value.emailAddresses,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
exports.KybVerifyRequestBusinessDataFromJSON = KybVerifyRequestBusinessDataFromJSON;
|
|
53
|
+
exports.KybVerifyRequestBusinessDataFromJSONTyped = KybVerifyRequestBusinessDataFromJSONTyped;
|
|
54
|
+
exports.KybVerifyRequestBusinessDataToJSON = KybVerifyRequestBusinessDataToJSON;
|
|
@@ -0,0 +1,88 @@
|
|
|
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 { KybVerifyRequestBusinessDataAddresses } from './KybVerifyRequestBusinessDataAddresses';
|
|
13
|
+
/**
|
|
14
|
+
* Business identity data forwarded to AI Prise. Not stored by Redcoast.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface KybVerifyRequestBusinessData
|
|
17
|
+
*/
|
|
18
|
+
export interface KybVerifyRequestBusinessData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof KybVerifyRequestBusinessData
|
|
23
|
+
*/
|
|
24
|
+
name?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof KybVerifyRequestBusinessData
|
|
29
|
+
*/
|
|
30
|
+
alternateName?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof KybVerifyRequestBusinessData
|
|
35
|
+
*/
|
|
36
|
+
taxIdentificationNumber?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof KybVerifyRequestBusinessData
|
|
41
|
+
*/
|
|
42
|
+
businessEntityId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* ISO 3166-1 alpha-2 country code
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof KybVerifyRequestBusinessData
|
|
47
|
+
*/
|
|
48
|
+
countryCode?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof KybVerifyRequestBusinessData
|
|
53
|
+
*/
|
|
54
|
+
stateCode?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof KybVerifyRequestBusinessData
|
|
59
|
+
*/
|
|
60
|
+
formationDate?: Date;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof KybVerifyRequestBusinessData
|
|
65
|
+
*/
|
|
66
|
+
website?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Array<KybVerifyRequestBusinessDataAddresses>}
|
|
70
|
+
* @memberof KybVerifyRequestBusinessData
|
|
71
|
+
*/
|
|
72
|
+
addresses?: Array<KybVerifyRequestBusinessDataAddresses>;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Array<string>}
|
|
76
|
+
* @memberof KybVerifyRequestBusinessData
|
|
77
|
+
*/
|
|
78
|
+
phoneNumbers?: Array<string>;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Array<string>}
|
|
82
|
+
* @memberof KybVerifyRequestBusinessData
|
|
83
|
+
*/
|
|
84
|
+
emailAddresses?: Array<string>;
|
|
85
|
+
}
|
|
86
|
+
export declare function KybVerifyRequestBusinessDataFromJSON(json: any): KybVerifyRequestBusinessData;
|
|
87
|
+
export declare function KybVerifyRequestBusinessDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybVerifyRequestBusinessData;
|
|
88
|
+
export declare function KybVerifyRequestBusinessDataToJSON(value?: KybVerifyRequestBusinessData | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { KybVerifyRequestBusinessDataAddressesFromJSON, KybVerifyRequestBusinessDataAddressesToJSON } from './KybVerifyRequestBusinessDataAddresses.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function KybVerifyRequestBusinessDataFromJSON(json) {
|
|
6
|
+
return KybVerifyRequestBusinessDataFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function KybVerifyRequestBusinessDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
14
|
+
'alternateName': !exists(json, 'alternateName') ? undefined : json['alternateName'],
|
|
15
|
+
'taxIdentificationNumber': !exists(json, 'taxIdentificationNumber') ? undefined : json['taxIdentificationNumber'],
|
|
16
|
+
'businessEntityId': !exists(json, 'businessEntityId') ? undefined : json['businessEntityId'],
|
|
17
|
+
'countryCode': !exists(json, 'countryCode') ? undefined : json['countryCode'],
|
|
18
|
+
'stateCode': !exists(json, 'stateCode') ? undefined : json['stateCode'],
|
|
19
|
+
'formationDate': !exists(json, 'formationDate') ? undefined : (new Date(json['formationDate'])),
|
|
20
|
+
'website': !exists(json, 'website') ? undefined : json['website'],
|
|
21
|
+
'addresses': !exists(json, 'addresses') ? undefined : (json['addresses'].map(KybVerifyRequestBusinessDataAddressesFromJSON)),
|
|
22
|
+
'phoneNumbers': !exists(json, 'phoneNumbers') ? undefined : json['phoneNumbers'],
|
|
23
|
+
'emailAddresses': !exists(json, 'emailAddresses') ? undefined : json['emailAddresses'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function KybVerifyRequestBusinessDataToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'name': value.name,
|
|
35
|
+
'alternateName': value.alternateName,
|
|
36
|
+
'taxIdentificationNumber': value.taxIdentificationNumber,
|
|
37
|
+
'businessEntityId': value.businessEntityId,
|
|
38
|
+
'countryCode': value.countryCode,
|
|
39
|
+
'stateCode': value.stateCode,
|
|
40
|
+
'formationDate': value.formationDate === undefined ? undefined : (value.formationDate.toISOString().substr(0, 10)),
|
|
41
|
+
'website': value.website,
|
|
42
|
+
'addresses': value.addresses === undefined ? undefined : (value.addresses.map(KybVerifyRequestBusinessDataAddressesToJSON)),
|
|
43
|
+
'phoneNumbers': value.phoneNumbers,
|
|
44
|
+
'emailAddresses': value.emailAddresses,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { KybVerifyRequestBusinessDataFromJSON, KybVerifyRequestBusinessDataFromJSONTyped, KybVerifyRequestBusinessDataToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function KybVerifyRequestBusinessDataAddressesFromJSON(json) {
|
|
9
|
+
return KybVerifyRequestBusinessDataAddressesFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function KybVerifyRequestBusinessDataAddressesFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'addressStreet1': !runtime.exists(json, 'addressStreet1') ? undefined : json['addressStreet1'],
|
|
17
|
+
'addressStreet2': !runtime.exists(json, 'addressStreet2') ? undefined : json['addressStreet2'],
|
|
18
|
+
'addressCity': !runtime.exists(json, 'addressCity') ? undefined : json['addressCity'],
|
|
19
|
+
'addressState': !runtime.exists(json, 'addressState') ? undefined : json['addressState'],
|
|
20
|
+
'addressZipCode': !runtime.exists(json, 'addressZipCode') ? undefined : json['addressZipCode'],
|
|
21
|
+
'addressCountry': !runtime.exists(json, 'addressCountry') ? undefined : json['addressCountry'],
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function KybVerifyRequestBusinessDataAddressesToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'addressStreet1': value.addressStreet1,
|
|
33
|
+
'addressStreet2': value.addressStreet2,
|
|
34
|
+
'addressCity': value.addressCity,
|
|
35
|
+
'addressState': value.addressState,
|
|
36
|
+
'addressZipCode': value.addressZipCode,
|
|
37
|
+
'addressCountry': value.addressCountry,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.KybVerifyRequestBusinessDataAddressesFromJSON = KybVerifyRequestBusinessDataAddressesFromJSON;
|
|
42
|
+
exports.KybVerifyRequestBusinessDataAddressesFromJSONTyped = KybVerifyRequestBusinessDataAddressesFromJSONTyped;
|
|
43
|
+
exports.KybVerifyRequestBusinessDataAddressesToJSON = KybVerifyRequestBusinessDataAddressesToJSON;
|
|
@@ -0,0 +1,57 @@
|
|
|
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 KybVerifyRequestBusinessDataAddresses
|
|
16
|
+
*/
|
|
17
|
+
export interface KybVerifyRequestBusinessDataAddresses {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof KybVerifyRequestBusinessDataAddresses
|
|
22
|
+
*/
|
|
23
|
+
addressStreet1?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof KybVerifyRequestBusinessDataAddresses
|
|
28
|
+
*/
|
|
29
|
+
addressStreet2?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof KybVerifyRequestBusinessDataAddresses
|
|
34
|
+
*/
|
|
35
|
+
addressCity?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof KybVerifyRequestBusinessDataAddresses
|
|
40
|
+
*/
|
|
41
|
+
addressState?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof KybVerifyRequestBusinessDataAddresses
|
|
46
|
+
*/
|
|
47
|
+
addressZipCode?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof KybVerifyRequestBusinessDataAddresses
|
|
52
|
+
*/
|
|
53
|
+
addressCountry?: string;
|
|
54
|
+
}
|
|
55
|
+
export declare function KybVerifyRequestBusinessDataAddressesFromJSON(json: any): KybVerifyRequestBusinessDataAddresses;
|
|
56
|
+
export declare function KybVerifyRequestBusinessDataAddressesFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybVerifyRequestBusinessDataAddresses;
|
|
57
|
+
export declare function KybVerifyRequestBusinessDataAddressesToJSON(value?: KybVerifyRequestBusinessDataAddresses | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function KybVerifyRequestBusinessDataAddressesFromJSON(json) {
|
|
5
|
+
return KybVerifyRequestBusinessDataAddressesFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function KybVerifyRequestBusinessDataAddressesFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'addressStreet1': !exists(json, 'addressStreet1') ? undefined : json['addressStreet1'],
|
|
13
|
+
'addressStreet2': !exists(json, 'addressStreet2') ? undefined : json['addressStreet2'],
|
|
14
|
+
'addressCity': !exists(json, 'addressCity') ? undefined : json['addressCity'],
|
|
15
|
+
'addressState': !exists(json, 'addressState') ? undefined : json['addressState'],
|
|
16
|
+
'addressZipCode': !exists(json, 'addressZipCode') ? undefined : json['addressZipCode'],
|
|
17
|
+
'addressCountry': !exists(json, 'addressCountry') ? undefined : json['addressCountry'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function KybVerifyRequestBusinessDataAddressesToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'addressStreet1': value.addressStreet1,
|
|
29
|
+
'addressStreet2': value.addressStreet2,
|
|
30
|
+
'addressCity': value.addressCity,
|
|
31
|
+
'addressState': value.addressState,
|
|
32
|
+
'addressZipCode': value.addressZipCode,
|
|
33
|
+
'addressCountry': value.addressCountry,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { KybVerifyRequestBusinessDataAddressesFromJSON, KybVerifyRequestBusinessDataAddressesFromJSONTyped, KybVerifyRequestBusinessDataAddressesToJSON };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var KybVerificationResultEnum = require('./KybVerificationResultEnum.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function KybVerifyResponseFromJSON(json) {
|
|
9
|
+
return KybVerifyResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function KybVerifyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'verificationSessionId': json['verificationSessionId'],
|
|
17
|
+
'verificationResult': KybVerificationResultEnum.KybVerificationResultEnumFromJSON(json['verificationResult']),
|
|
18
|
+
'tier': json['tier'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function KybVerifyResponseToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'verificationSessionId': value.verificationSessionId,
|
|
30
|
+
'verificationResult': KybVerificationResultEnum.KybVerificationResultEnumToJSON(value.verificationResult),
|
|
31
|
+
'tier': value.tier,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.KybVerifyResponseFromJSON = KybVerifyResponseFromJSON;
|
|
36
|
+
exports.KybVerifyResponseFromJSONTyped = KybVerifyResponseFromJSONTyped;
|
|
37
|
+
exports.KybVerifyResponseToJSON = KybVerifyResponseToJSON;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { KybVerificationResultEnum } from './KybVerificationResultEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface KybVerifyResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface KybVerifyResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof KybVerifyResponse
|
|
23
|
+
*/
|
|
24
|
+
verificationSessionId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {KybVerificationResultEnum}
|
|
28
|
+
* @memberof KybVerifyResponse
|
|
29
|
+
*/
|
|
30
|
+
verificationResult: KybVerificationResultEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof KybVerifyResponse
|
|
35
|
+
*/
|
|
36
|
+
tier: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function KybVerifyResponseFromJSON(json: any): KybVerifyResponse;
|
|
39
|
+
export declare function KybVerifyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): KybVerifyResponse;
|
|
40
|
+
export declare function KybVerifyResponseToJSON(value?: KybVerifyResponse | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { KybVerificationResultEnumFromJSON, KybVerificationResultEnumToJSON } from './KybVerificationResultEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function KybVerifyResponseFromJSON(json) {
|
|
5
|
+
return KybVerifyResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function KybVerifyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'verificationSessionId': json['verificationSessionId'],
|
|
13
|
+
'verificationResult': KybVerificationResultEnumFromJSON(json['verificationResult']),
|
|
14
|
+
'tier': json['tier'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function KybVerifyResponseToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'verificationSessionId': value.verificationSessionId,
|
|
26
|
+
'verificationResult': KybVerificationResultEnumToJSON(value.verificationResult),
|
|
27
|
+
'tier': value.tier,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { KybVerifyResponseFromJSON, KybVerifyResponseFromJSONTyped, KybVerifyResponseToJSON };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
-
var
|
|
6
|
+
var WaasPolicyLayerResponseRule = require('./WaasPolicyLayerResponseRule.cjs');
|
|
7
7
|
|
|
8
8
|
/* tslint:disable */
|
|
9
9
|
function WaasPolicyLayerResponseLayerContentFromJSON(json) {
|
|
@@ -14,7 +14,7 @@ function WaasPolicyLayerResponseLayerContentFromJSONTyped(json, ignoreDiscrimina
|
|
|
14
14
|
return json;
|
|
15
15
|
}
|
|
16
16
|
return {
|
|
17
|
-
'rules': !runtime.exists(json, 'rules') ? undefined : (json['rules'].map(
|
|
17
|
+
'rules': !runtime.exists(json, 'rules') ? undefined : (json['rules'].map(WaasPolicyLayerResponseRule.WaasPolicyLayerResponseRuleFromJSON)),
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
function WaasPolicyLayerResponseLayerContentToJSON(value) {
|
|
@@ -25,7 +25,7 @@ function WaasPolicyLayerResponseLayerContentToJSON(value) {
|
|
|
25
25
|
return null;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
-
'rules': value.rules === undefined ? undefined : (value.rules.map(
|
|
28
|
+
'rules': value.rules === undefined ? undefined : (value.rules.map(WaasPolicyLayerResponseRule.WaasPolicyLayerResponseRuleToJSON)),
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { WaasPolicyLayerResponseRule } from './WaasPolicyLayerResponseRule';
|
|
13
13
|
/**
|
|
14
14
|
* The decrypted, mutated wallet-Layer document
|
|
15
15
|
* @export
|
|
@@ -18,10 +18,10 @@ import { WaasPolicyRule } from './WaasPolicyRule';
|
|
|
18
18
|
export interface WaasPolicyLayerResponseLayerContent {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {Array<
|
|
21
|
+
* @type {Array<WaasPolicyLayerResponseRule>}
|
|
22
22
|
* @memberof WaasPolicyLayerResponseLayerContent
|
|
23
23
|
*/
|
|
24
|
-
rules?: Array<
|
|
24
|
+
rules?: Array<WaasPolicyLayerResponseRule>;
|
|
25
25
|
}
|
|
26
26
|
export declare function WaasPolicyLayerResponseLayerContentFromJSON(json: any): WaasPolicyLayerResponseLayerContent;
|
|
27
27
|
export declare function WaasPolicyLayerResponseLayerContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyLayerResponseLayerContent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
-
import {
|
|
2
|
+
import { WaasPolicyLayerResponseRuleFromJSON, WaasPolicyLayerResponseRuleToJSON } from './WaasPolicyLayerResponseRule.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
function WaasPolicyLayerResponseLayerContentFromJSON(json) {
|
|
@@ -10,7 +10,7 @@ function WaasPolicyLayerResponseLayerContentFromJSONTyped(json, ignoreDiscrimina
|
|
|
10
10
|
return json;
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
|
-
'rules': !exists(json, 'rules') ? undefined : (json['rules'].map(
|
|
13
|
+
'rules': !exists(json, 'rules') ? undefined : (json['rules'].map(WaasPolicyLayerResponseRuleFromJSON)),
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
function WaasPolicyLayerResponseLayerContentToJSON(value) {
|
|
@@ -21,7 +21,7 @@ function WaasPolicyLayerResponseLayerContentToJSON(value) {
|
|
|
21
21
|
return null;
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
|
-
'rules': value.rules === undefined ? undefined : (value.rules.map(
|
|
24
|
+
'rules': value.rules === undefined ? undefined : (value.rules.map(WaasPolicyLayerResponseRuleToJSON)),
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WaasChainEnum = require('./WaasChainEnum.cjs');
|
|
7
|
+
var WaasPolicyArgumentConstraint = require('./WaasPolicyArgumentConstraint.cjs');
|
|
8
|
+
var WaasPolicyRuleOperationRestrictions = require('./WaasPolicyRuleOperationRestrictions.cjs');
|
|
9
|
+
var WaasPolicyRuleType = require('./WaasPolicyRuleType.cjs');
|
|
10
|
+
var WaasPolicyRuleValueLimit = require('./WaasPolicyRuleValueLimit.cjs');
|
|
11
|
+
|
|
12
|
+
/* tslint:disable */
|
|
13
|
+
function WaasPolicyLayerResponseRuleFromJSON(json) {
|
|
14
|
+
return WaasPolicyLayerResponseRuleFromJSONTyped(json);
|
|
15
|
+
}
|
|
16
|
+
function WaasPolicyLayerResponseRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
17
|
+
if ((json === undefined) || (json === null)) {
|
|
18
|
+
return json;
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
'ruleId': json['ruleId'],
|
|
22
|
+
'name': json['name'],
|
|
23
|
+
'ruleType': WaasPolicyRuleType.WaasPolicyRuleTypeFromJSON(json['ruleType']),
|
|
24
|
+
'address': !runtime.exists(json, 'address') ? undefined : json['address'],
|
|
25
|
+
'addresses': !runtime.exists(json, 'addresses') ? undefined : json['addresses'],
|
|
26
|
+
'chain': WaasChainEnum.WaasChainEnumFromJSON(json['chain']),
|
|
27
|
+
'chainId': !runtime.exists(json, 'chainId') ? undefined : json['chainId'],
|
|
28
|
+
'chainIds': !runtime.exists(json, 'chainIds') ? undefined : json['chainIds'],
|
|
29
|
+
'contractAbi': !runtime.exists(json, 'contractAbi') ? undefined : json['contractAbi'],
|
|
30
|
+
'functionName': !runtime.exists(json, 'functionName') ? undefined : json['functionName'],
|
|
31
|
+
'argumentConstraints': !runtime.exists(json, 'argumentConstraints') ? undefined : (json['argumentConstraints'].map(WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintFromJSON)),
|
|
32
|
+
'valueLimit': !runtime.exists(json, 'valueLimit') ? undefined : WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitFromJSON(json['valueLimit']),
|
|
33
|
+
'operationRestrictions': !runtime.exists(json, 'operationRestrictions') ? undefined : WaasPolicyRuleOperationRestrictions.WaasPolicyRuleOperationRestrictionsFromJSON(json['operationRestrictions']),
|
|
34
|
+
'disableBlockaidSecurityChecks': !runtime.exists(json, 'disableBlockaidSecurityChecks') ? undefined : json['disableBlockaidSecurityChecks'],
|
|
35
|
+
'modifiableBySigner': !runtime.exists(json, 'modifiableBySigner') ? undefined : json['modifiableBySigner'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function WaasPolicyLayerResponseRuleToJSON(value) {
|
|
39
|
+
if (value === undefined) {
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
if (value === null) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'ruleId': value.ruleId,
|
|
47
|
+
'name': value.name,
|
|
48
|
+
'ruleType': WaasPolicyRuleType.WaasPolicyRuleTypeToJSON(value.ruleType),
|
|
49
|
+
'address': value.address,
|
|
50
|
+
'addresses': value.addresses,
|
|
51
|
+
'chain': WaasChainEnum.WaasChainEnumToJSON(value.chain),
|
|
52
|
+
'chainId': value.chainId,
|
|
53
|
+
'chainIds': value.chainIds,
|
|
54
|
+
'contractAbi': value.contractAbi,
|
|
55
|
+
'functionName': value.functionName,
|
|
56
|
+
'argumentConstraints': value.argumentConstraints === undefined ? undefined : (value.argumentConstraints.map(WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintToJSON)),
|
|
57
|
+
'valueLimit': WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitToJSON(value.valueLimit),
|
|
58
|
+
'operationRestrictions': WaasPolicyRuleOperationRestrictions.WaasPolicyRuleOperationRestrictionsToJSON(value.operationRestrictions),
|
|
59
|
+
'disableBlockaidSecurityChecks': value.disableBlockaidSecurityChecks,
|
|
60
|
+
'modifiableBySigner': value.modifiableBySigner,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
exports.WaasPolicyLayerResponseRuleFromJSON = WaasPolicyLayerResponseRuleFromJSON;
|
|
65
|
+
exports.WaasPolicyLayerResponseRuleFromJSONTyped = WaasPolicyLayerResponseRuleFromJSONTyped;
|
|
66
|
+
exports.WaasPolicyLayerResponseRuleToJSON = WaasPolicyLayerResponseRuleToJSON;
|