@dynamic-labs/sdk-api 0.24.0 → 0.26.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/BusinessAccountsApi.cjs +4 -0
- package/src/apis/BusinessAccountsApi.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 +4 -0
- package/src/apis/KybApi.js +4 -0
- 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/ScreeningPoliciesApi.cjs +428 -0
- package/src/apis/ScreeningPoliciesApi.d.ts +110 -0
- package/src/apis/ScreeningPoliciesApi.js +424 -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/apis/index.d.ts +1 -0
- package/src/index.cjs +58 -0
- package/src/index.js +11 -0
- package/src/models/Flow.cjs +3 -2
- package/src/models/Flow.d.ts +4 -3
- package/src/models/Flow.js +3 -2
- package/src/models/FlowCreateRequest.cjs +3 -2
- package/src/models/FlowCreateRequest.d.ts +4 -3
- package/src/models/FlowCreateRequest.js +3 -2
- package/src/models/FlowExecutionStateEnum.cjs +1 -0
- package/src/models/FlowExecutionStateEnum.d.ts +1 -0
- package/src/models/FlowExecutionStateEnum.js +1 -0
- package/src/models/FlowPaymentLinkCreateRequest.cjs +3 -2
- package/src/models/FlowPaymentLinkCreateRequest.d.ts +4 -3
- package/src/models/FlowPaymentLinkCreateRequest.js +3 -2
- package/src/models/FlowUIConfig.cjs +33 -0
- package/src/models/FlowUIConfig.d.ts +27 -0
- package/src/models/FlowUIConfig.js +27 -0
- package/src/models/ScreeningAddressDisposition.cjs +42 -0
- package/src/models/ScreeningAddressDisposition.d.ts +25 -0
- package/src/models/ScreeningAddressDisposition.js +36 -0
- package/src/models/ScreeningAddressScopeEnum.cjs +45 -0
- package/src/models/ScreeningAddressScopeEnum.d.ts +28 -0
- package/src/models/ScreeningAddressScopeEnum.js +39 -0
- package/src/models/ScreeningPolicy.cjs +49 -0
- package/src/models/ScreeningPolicy.d.ts +82 -0
- package/src/models/ScreeningPolicy.js +43 -0
- package/src/models/ScreeningPolicyAddress.cjs +48 -0
- package/src/models/ScreeningPolicyAddress.d.ts +71 -0
- package/src/models/ScreeningPolicyAddress.js +42 -0
- package/src/models/ScreeningPolicyAddressCreateRequest.cjs +44 -0
- package/src/models/ScreeningPolicyAddressCreateRequest.d.ts +54 -0
- package/src/models/ScreeningPolicyAddressCreateRequest.js +38 -0
- package/src/models/ScreeningPolicyAddressesResponse.cjs +35 -0
- package/src/models/ScreeningPolicyAddressesResponse.d.ts +34 -0
- package/src/models/ScreeningPolicyAddressesResponse.js +29 -0
- package/src/models/ScreeningPolicyProviderEnum.cjs +43 -0
- package/src/models/ScreeningPolicyProviderEnum.d.ts +26 -0
- package/src/models/ScreeningPolicyProviderEnum.js +37 -0
- package/src/models/ScreeningPolicyScopeEnum.cjs +44 -0
- package/src/models/ScreeningPolicyScopeEnum.d.ts +27 -0
- package/src/models/ScreeningPolicyScopeEnum.js +38 -0
- package/src/models/ScreeningPolicyUpdateRequest.cjs +35 -0
- package/src/models/ScreeningPolicyUpdateRequest.d.ts +48 -0
- package/src/models/ScreeningPolicyUpdateRequest.js +29 -0
- package/src/models/index.d.ts +10 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
3
|
+
import { ScreeningAddressDispositionFromJSON, ScreeningAddressDispositionToJSON } from './ScreeningAddressDisposition.js';
|
|
4
|
+
import { ScreeningAddressScopeEnumFromJSON, ScreeningAddressScopeEnumToJSON } from './ScreeningAddressScopeEnum.js';
|
|
5
|
+
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
function ScreeningPolicyAddressCreateRequestFromJSON(json) {
|
|
8
|
+
return ScreeningPolicyAddressCreateRequestFromJSONTyped(json);
|
|
9
|
+
}
|
|
10
|
+
function ScreeningPolicyAddressCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if ((json === undefined) || (json === null)) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
'address': json['address'],
|
|
16
|
+
'chain': !exists(json, 'chain') ? undefined : ChainEnumFromJSON(json['chain']),
|
|
17
|
+
'appliesToScope': !exists(json, 'appliesToScope') ? undefined : ScreeningAddressScopeEnumFromJSON(json['appliesToScope']),
|
|
18
|
+
'disposition': ScreeningAddressDispositionFromJSON(json['disposition']),
|
|
19
|
+
'note': !exists(json, 'note') ? undefined : json['note'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function ScreeningPolicyAddressCreateRequestToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'address': value.address,
|
|
31
|
+
'chain': ChainEnumToJSON(value.chain),
|
|
32
|
+
'appliesToScope': ScreeningAddressScopeEnumToJSON(value.appliesToScope),
|
|
33
|
+
'disposition': ScreeningAddressDispositionToJSON(value.disposition),
|
|
34
|
+
'note': value.note,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { ScreeningPolicyAddressCreateRequestFromJSON, ScreeningPolicyAddressCreateRequestFromJSONTyped, ScreeningPolicyAddressCreateRequestToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ScreeningPolicyAddress = require('./ScreeningPolicyAddress.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function ScreeningPolicyAddressesResponseFromJSON(json) {
|
|
9
|
+
return ScreeningPolicyAddressesResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function ScreeningPolicyAddressesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'count': json['count'],
|
|
17
|
+
'entries': (json['entries'].map(ScreeningPolicyAddress.ScreeningPolicyAddressFromJSON)),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function ScreeningPolicyAddressesResponseToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'count': value.count,
|
|
29
|
+
'entries': (value.entries.map(ScreeningPolicyAddress.ScreeningPolicyAddressToJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.ScreeningPolicyAddressesResponseFromJSON = ScreeningPolicyAddressesResponseFromJSON;
|
|
34
|
+
exports.ScreeningPolicyAddressesResponseFromJSONTyped = ScreeningPolicyAddressesResponseFromJSONTyped;
|
|
35
|
+
exports.ScreeningPolicyAddressesResponseToJSON = ScreeningPolicyAddressesResponseToJSON;
|
|
@@ -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 { ScreeningPolicyAddress } from './ScreeningPolicyAddress';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ScreeningPolicyAddressesResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ScreeningPolicyAddressesResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Total number of live address entries for this (environment, vendor) pair, across every `appliesToScope`.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ScreeningPolicyAddressesResponse
|
|
23
|
+
*/
|
|
24
|
+
count: number;
|
|
25
|
+
/**
|
|
26
|
+
* List of address entry objects
|
|
27
|
+
* @type {Array<ScreeningPolicyAddress>}
|
|
28
|
+
* @memberof ScreeningPolicyAddressesResponse
|
|
29
|
+
*/
|
|
30
|
+
entries: Array<ScreeningPolicyAddress>;
|
|
31
|
+
}
|
|
32
|
+
export declare function ScreeningPolicyAddressesResponseFromJSON(json: any): ScreeningPolicyAddressesResponse;
|
|
33
|
+
export declare function ScreeningPolicyAddressesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreeningPolicyAddressesResponse;
|
|
34
|
+
export declare function ScreeningPolicyAddressesResponseToJSON(value?: ScreeningPolicyAddressesResponse | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ScreeningPolicyAddressFromJSON, ScreeningPolicyAddressToJSON } from './ScreeningPolicyAddress.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function ScreeningPolicyAddressesResponseFromJSON(json) {
|
|
5
|
+
return ScreeningPolicyAddressesResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function ScreeningPolicyAddressesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'count': json['count'],
|
|
13
|
+
'entries': (json['entries'].map(ScreeningPolicyAddressFromJSON)),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function ScreeningPolicyAddressesResponseToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'count': value.count,
|
|
25
|
+
'entries': (value.entries.map(ScreeningPolicyAddressToJSON)),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { ScreeningPolicyAddressesResponseFromJSON, ScreeningPolicyAddressesResponseFromJSONTyped, ScreeningPolicyAddressesResponseToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
/**
|
|
19
|
+
* Screening vendor a policy belongs to. Deliberately not `ProviderEnum`, which
|
|
20
|
+
* is a 44-value auth/social/onramp list of which only these two are screening
|
|
21
|
+
* vendors. The Dynamic sanctions provider is absent because the sanctions floor
|
|
22
|
+
* is generated from code and is not configurable.
|
|
23
|
+
* @export
|
|
24
|
+
* @enum {string}
|
|
25
|
+
*/
|
|
26
|
+
exports.ScreeningPolicyProviderEnum = void 0;
|
|
27
|
+
(function (ScreeningPolicyProviderEnum) {
|
|
28
|
+
ScreeningPolicyProviderEnum["TrmWalletScreening"] = "trmWalletScreening";
|
|
29
|
+
ScreeningPolicyProviderEnum["ChainalysisAddressScreening"] = "chainalysisAddressScreening";
|
|
30
|
+
})(exports.ScreeningPolicyProviderEnum || (exports.ScreeningPolicyProviderEnum = {}));
|
|
31
|
+
function ScreeningPolicyProviderEnumFromJSON(json) {
|
|
32
|
+
return ScreeningPolicyProviderEnumFromJSONTyped(json);
|
|
33
|
+
}
|
|
34
|
+
function ScreeningPolicyProviderEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
function ScreeningPolicyProviderEnumToJSON(value) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.ScreeningPolicyProviderEnumFromJSON = ScreeningPolicyProviderEnumFromJSON;
|
|
42
|
+
exports.ScreeningPolicyProviderEnumFromJSONTyped = ScreeningPolicyProviderEnumFromJSONTyped;
|
|
43
|
+
exports.ScreeningPolicyProviderEnumToJSON = ScreeningPolicyProviderEnumToJSON;
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* Screening vendor a policy belongs to. Deliberately not `ProviderEnum`, which
|
|
14
|
+
* is a 44-value auth/social/onramp list of which only these two are screening
|
|
15
|
+
* vendors. The Dynamic sanctions provider is absent because the sanctions floor
|
|
16
|
+
* is generated from code and is not configurable.
|
|
17
|
+
* @export
|
|
18
|
+
* @enum {string}
|
|
19
|
+
*/
|
|
20
|
+
export declare enum ScreeningPolicyProviderEnum {
|
|
21
|
+
TrmWalletScreening = "trmWalletScreening",
|
|
22
|
+
ChainalysisAddressScreening = "chainalysisAddressScreening"
|
|
23
|
+
}
|
|
24
|
+
export declare function ScreeningPolicyProviderEnumFromJSON(json: any): ScreeningPolicyProviderEnum;
|
|
25
|
+
export declare function ScreeningPolicyProviderEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreeningPolicyProviderEnum;
|
|
26
|
+
export declare function ScreeningPolicyProviderEnumToJSON(value?: ScreeningPolicyProviderEnum | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Screening vendor a policy belongs to. Deliberately not `ProviderEnum`, which
|
|
16
|
+
* is a 44-value auth/social/onramp list of which only these two are screening
|
|
17
|
+
* vendors. The Dynamic sanctions provider is absent because the sanctions floor
|
|
18
|
+
* is generated from code and is not configurable.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var ScreeningPolicyProviderEnum;
|
|
23
|
+
(function (ScreeningPolicyProviderEnum) {
|
|
24
|
+
ScreeningPolicyProviderEnum["TrmWalletScreening"] = "trmWalletScreening";
|
|
25
|
+
ScreeningPolicyProviderEnum["ChainalysisAddressScreening"] = "chainalysisAddressScreening";
|
|
26
|
+
})(ScreeningPolicyProviderEnum || (ScreeningPolicyProviderEnum = {}));
|
|
27
|
+
function ScreeningPolicyProviderEnumFromJSON(json) {
|
|
28
|
+
return ScreeningPolicyProviderEnumFromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function ScreeningPolicyProviderEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function ScreeningPolicyProviderEnumToJSON(value) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { ScreeningPolicyProviderEnum, ScreeningPolicyProviderEnumFromJSON, ScreeningPolicyProviderEnumFromJSONTyped, ScreeningPolicyProviderEnumToJSON };
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
/**
|
|
19
|
+
* Which screening moment a policy governs. An environment holds one policy per
|
|
20
|
+
* vendor per scope, authored independently — a customer may alert at sign-in
|
|
21
|
+
* and block on transactions, or skip the paid vendor call at one and not the
|
|
22
|
+
* other. Two values, not three: an "applies to both" policy would make the
|
|
23
|
+
* overlap with a single-scope row unrepresentable as a unique constraint.
|
|
24
|
+
* @export
|
|
25
|
+
* @enum {string}
|
|
26
|
+
*/
|
|
27
|
+
exports.ScreeningPolicyScopeEnum = void 0;
|
|
28
|
+
(function (ScreeningPolicyScopeEnum) {
|
|
29
|
+
ScreeningPolicyScopeEnum["SignIn"] = "SIGN_IN";
|
|
30
|
+
ScreeningPolicyScopeEnum["Transaction"] = "TRANSACTION";
|
|
31
|
+
})(exports.ScreeningPolicyScopeEnum || (exports.ScreeningPolicyScopeEnum = {}));
|
|
32
|
+
function ScreeningPolicyScopeEnumFromJSON(json) {
|
|
33
|
+
return ScreeningPolicyScopeEnumFromJSONTyped(json);
|
|
34
|
+
}
|
|
35
|
+
function ScreeningPolicyScopeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
function ScreeningPolicyScopeEnumToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
exports.ScreeningPolicyScopeEnumFromJSON = ScreeningPolicyScopeEnumFromJSON;
|
|
43
|
+
exports.ScreeningPolicyScopeEnumFromJSONTyped = ScreeningPolicyScopeEnumFromJSONTyped;
|
|
44
|
+
exports.ScreeningPolicyScopeEnumToJSON = ScreeningPolicyScopeEnumToJSON;
|
|
@@ -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
|
+
* Which screening moment a policy governs. An environment holds one policy per
|
|
14
|
+
* vendor per scope, authored independently — a customer may alert at sign-in
|
|
15
|
+
* and block on transactions, or skip the paid vendor call at one and not the
|
|
16
|
+
* other. Two values, not three: an "applies to both" policy would make the
|
|
17
|
+
* overlap with a single-scope row unrepresentable as a unique constraint.
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
export declare enum ScreeningPolicyScopeEnum {
|
|
22
|
+
SignIn = "SIGN_IN",
|
|
23
|
+
Transaction = "TRANSACTION"
|
|
24
|
+
}
|
|
25
|
+
export declare function ScreeningPolicyScopeEnumFromJSON(json: any): ScreeningPolicyScopeEnum;
|
|
26
|
+
export declare function ScreeningPolicyScopeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreeningPolicyScopeEnum;
|
|
27
|
+
export declare function ScreeningPolicyScopeEnumToJSON(value?: ScreeningPolicyScopeEnum | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Which screening moment a policy governs. An environment holds one policy per
|
|
16
|
+
* vendor per scope, authored independently — a customer may alert at sign-in
|
|
17
|
+
* and block on transactions, or skip the paid vendor call at one and not the
|
|
18
|
+
* other. Two values, not three: an "applies to both" policy would make the
|
|
19
|
+
* overlap with a single-scope row unrepresentable as a unique constraint.
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
var ScreeningPolicyScopeEnum;
|
|
24
|
+
(function (ScreeningPolicyScopeEnum) {
|
|
25
|
+
ScreeningPolicyScopeEnum["SignIn"] = "SIGN_IN";
|
|
26
|
+
ScreeningPolicyScopeEnum["Transaction"] = "TRANSACTION";
|
|
27
|
+
})(ScreeningPolicyScopeEnum || (ScreeningPolicyScopeEnum = {}));
|
|
28
|
+
function ScreeningPolicyScopeEnumFromJSON(json) {
|
|
29
|
+
return ScreeningPolicyScopeEnumFromJSONTyped(json);
|
|
30
|
+
}
|
|
31
|
+
function ScreeningPolicyScopeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
function ScreeningPolicyScopeEnumToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { ScreeningPolicyScopeEnum, ScreeningPolicyScopeEnumFromJSON, ScreeningPolicyScopeEnumFromJSONTyped, ScreeningPolicyScopeEnumToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function ScreeningPolicyUpdateRequestFromJSON(json) {
|
|
9
|
+
return ScreeningPolicyUpdateRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function ScreeningPolicyUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'revision': !runtime.exists(json, 'revision') ? undefined : json['revision'],
|
|
17
|
+
'rules': json['rules'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function ScreeningPolicyUpdateRequestToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'revision': value.revision,
|
|
29
|
+
'rules': value.rules,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.ScreeningPolicyUpdateRequestFromJSON = ScreeningPolicyUpdateRequestFromJSON;
|
|
34
|
+
exports.ScreeningPolicyUpdateRequestFromJSONTyped = ScreeningPolicyUpdateRequestFromJSONTyped;
|
|
35
|
+
exports.ScreeningPolicyUpdateRequestToJSON = ScreeningPolicyUpdateRequestToJSON;
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* Replaces the whole rule blob. Rules are stored exactly as sent — order
|
|
14
|
+
* preserved, nothing normalized, reshaped, or dropped — because evaluation is
|
|
15
|
+
* first-match-wins and the array order is the policy.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ScreeningPolicyUpdateRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface ScreeningPolicyUpdateRequest {
|
|
20
|
+
/**
|
|
21
|
+
* The `revision` this edit was based on. Required to replace an existing
|
|
22
|
+
* policy, and a stale value is rejected with a 409 rather than silently
|
|
23
|
+
* applied. Omit it only when creating the first policy for this vendor.
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ScreeningPolicyUpdateRequest
|
|
26
|
+
*/
|
|
27
|
+
revision?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Customer rules, `{ preScreen, postScreen }`, per the vendor's own rule schema
|
|
30
|
+
* (`TrmPolicyRules` or `ChainalysisPolicyRules`). Typed as a free-form object
|
|
31
|
+
* rather than a `oneOf` over the two: the vendor is a path parameter, no
|
|
32
|
+
* OpenAPI construct selects a body schema from one, and `oneOf` generates SDK
|
|
33
|
+
* models that do not compile. The server validates the blob against the
|
|
34
|
+
* vendor's schema before writing, so a TRM policy naming a `chainalysis.*`
|
|
35
|
+
* field is a 400. Clients should validate against those two schemas before
|
|
36
|
+
* submitting.
|
|
37
|
+
*
|
|
38
|
+
* Neither the sanctions floor nor the terminal ALLOW appears here. Both are
|
|
39
|
+
* generated from code on every screen, so there is nothing to author, edit, or
|
|
40
|
+
* read back, and no request body can weaken them.
|
|
41
|
+
* @type {object}
|
|
42
|
+
* @memberof ScreeningPolicyUpdateRequest
|
|
43
|
+
*/
|
|
44
|
+
rules: object;
|
|
45
|
+
}
|
|
46
|
+
export declare function ScreeningPolicyUpdateRequestFromJSON(json: any): ScreeningPolicyUpdateRequest;
|
|
47
|
+
export declare function ScreeningPolicyUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreeningPolicyUpdateRequest;
|
|
48
|
+
export declare function ScreeningPolicyUpdateRequestToJSON(value?: ScreeningPolicyUpdateRequest | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function ScreeningPolicyUpdateRequestFromJSON(json) {
|
|
5
|
+
return ScreeningPolicyUpdateRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function ScreeningPolicyUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'revision': !exists(json, 'revision') ? undefined : json['revision'],
|
|
13
|
+
'rules': json['rules'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function ScreeningPolicyUpdateRequestToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'revision': value.revision,
|
|
25
|
+
'rules': value.rules,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { ScreeningPolicyUpdateRequestFromJSON, ScreeningPolicyUpdateRequestFromJSONTyped, ScreeningPolicyUpdateRequestToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -320,6 +320,7 @@ export * from './FlowSettlementStateEnum';
|
|
|
320
320
|
export * from './FlowSourceResponse';
|
|
321
321
|
export * from './FlowSourceTypeEnum';
|
|
322
322
|
export * from './FlowTokenInfo';
|
|
323
|
+
export * from './FlowUIConfig';
|
|
323
324
|
export * from './Forbidden';
|
|
324
325
|
export * from './ForbiddenErrorPayload';
|
|
325
326
|
export * from './ForbiddenWithErrorAndPayload';
|
|
@@ -633,8 +634,17 @@ export * from './ScreenTransactionRequestContextSuiTransaction';
|
|
|
633
634
|
export * from './ScreenTransactionRequestContextSvmTransaction';
|
|
634
635
|
export * from './ScreenTransactionRequestContextTronTransaction';
|
|
635
636
|
export * from './ScreenTransactionResponse';
|
|
637
|
+
export * from './ScreeningAddressDisposition';
|
|
638
|
+
export * from './ScreeningAddressScopeEnum';
|
|
636
639
|
export * from './ScreeningCoreField';
|
|
637
640
|
export * from './ScreeningOperator';
|
|
641
|
+
export * from './ScreeningPolicy';
|
|
642
|
+
export * from './ScreeningPolicyAddress';
|
|
643
|
+
export * from './ScreeningPolicyAddressCreateRequest';
|
|
644
|
+
export * from './ScreeningPolicyAddressesResponse';
|
|
645
|
+
export * from './ScreeningPolicyProviderEnum';
|
|
646
|
+
export * from './ScreeningPolicyScopeEnum';
|
|
647
|
+
export * from './ScreeningPolicyUpdateRequest';
|
|
638
648
|
export * from './ScreeningPostScreenAction';
|
|
639
649
|
export * from './ScreeningPreScreenAction';
|
|
640
650
|
export * from './ScreeningPreScreenNode';
|