@dynamic-labs/sdk-api 0.25.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 +54 -0
- package/src/index.js +10 -0
- 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/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 +9 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { ScreeningPolicyProviderEnumFromJSON, ScreeningPolicyProviderEnumToJSON } from './ScreeningPolicyProviderEnum.js';
|
|
3
|
+
import { ScreeningPolicyScopeEnumFromJSON, ScreeningPolicyScopeEnumToJSON } from './ScreeningPolicyScopeEnum.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function ScreeningPolicyFromJSON(json) {
|
|
7
|
+
return ScreeningPolicyFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function ScreeningPolicyFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'providerType': ScreeningPolicyProviderEnumFromJSON(json['providerType']),
|
|
15
|
+
'scope': ScreeningPolicyScopeEnumFromJSON(json['scope']),
|
|
16
|
+
'revision': json['revision'],
|
|
17
|
+
'schemaVersion': json['schemaVersion'],
|
|
18
|
+
'rules': json['rules'],
|
|
19
|
+
'addressEntryCount': json['addressEntryCount'],
|
|
20
|
+
'enabled': json['enabled'],
|
|
21
|
+
'updatedAt': !exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function ScreeningPolicyToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'providerType': ScreeningPolicyProviderEnumToJSON(value.providerType),
|
|
33
|
+
'scope': ScreeningPolicyScopeEnumToJSON(value.scope),
|
|
34
|
+
'revision': value.revision,
|
|
35
|
+
'schemaVersion': value.schemaVersion,
|
|
36
|
+
'rules': value.rules,
|
|
37
|
+
'addressEntryCount': value.addressEntryCount,
|
|
38
|
+
'enabled': value.enabled,
|
|
39
|
+
'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { ScreeningPolicyFromJSON, ScreeningPolicyFromJSONTyped, ScreeningPolicyToJSON };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
7
|
+
var ScreeningAddressDisposition = require('./ScreeningAddressDisposition.cjs');
|
|
8
|
+
var ScreeningAddressScopeEnum = require('./ScreeningAddressScopeEnum.cjs');
|
|
9
|
+
|
|
10
|
+
/* tslint:disable */
|
|
11
|
+
function ScreeningPolicyAddressFromJSON(json) {
|
|
12
|
+
return ScreeningPolicyAddressFromJSONTyped(json);
|
|
13
|
+
}
|
|
14
|
+
function ScreeningPolicyAddressFromJSONTyped(json, ignoreDiscriminator) {
|
|
15
|
+
if ((json === undefined) || (json === null)) {
|
|
16
|
+
return json;
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
'id': json['id'],
|
|
20
|
+
'address': json['address'],
|
|
21
|
+
'chain': !runtime.exists(json, 'chain') ? undefined : ChainEnum.ChainEnumFromJSON(json['chain']),
|
|
22
|
+
'appliesToScope': ScreeningAddressScopeEnum.ScreeningAddressScopeEnumFromJSON(json['appliesToScope']),
|
|
23
|
+
'disposition': ScreeningAddressDisposition.ScreeningAddressDispositionFromJSON(json['disposition']),
|
|
24
|
+
'note': !runtime.exists(json, 'note') ? undefined : json['note'],
|
|
25
|
+
'createdAt': !runtime.exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function ScreeningPolicyAddressToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': value.id,
|
|
37
|
+
'address': value.address,
|
|
38
|
+
'chain': ChainEnum.ChainEnumToJSON(value.chain),
|
|
39
|
+
'appliesToScope': ScreeningAddressScopeEnum.ScreeningAddressScopeEnumToJSON(value.appliesToScope),
|
|
40
|
+
'disposition': ScreeningAddressDisposition.ScreeningAddressDispositionToJSON(value.disposition),
|
|
41
|
+
'note': value.note,
|
|
42
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
exports.ScreeningPolicyAddressFromJSON = ScreeningPolicyAddressFromJSON;
|
|
47
|
+
exports.ScreeningPolicyAddressFromJSONTyped = ScreeningPolicyAddressFromJSONTyped;
|
|
48
|
+
exports.ScreeningPolicyAddressToJSON = ScreeningPolicyAddressToJSON;
|
|
@@ -0,0 +1,71 @@
|
|
|
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 { ChainEnum } from './ChainEnum';
|
|
13
|
+
import { ScreeningAddressDisposition } from './ScreeningAddressDisposition';
|
|
14
|
+
import { ScreeningAddressScopeEnum } from './ScreeningAddressScopeEnum';
|
|
15
|
+
/**
|
|
16
|
+
* A customer address exception, belonging to the (environment, vendor) pair
|
|
17
|
+
* rather than to one policy — a denylist should have one answer to "is this
|
|
18
|
+
* actor blocked?" whichever screening moment is being resolved. Matched by a
|
|
19
|
+
* chain-aware fold of the address, not a plain lowercase, because base58 and
|
|
20
|
+
* base32 chains are case-significant. An absent `chain` applies the entry to
|
|
21
|
+
* every chain.
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ScreeningPolicyAddress
|
|
24
|
+
*/
|
|
25
|
+
export interface ScreeningPolicyAddress {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ScreeningPolicyAddress
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
/**
|
|
33
|
+
* The address, in the casing it was submitted with.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ScreeningPolicyAddress
|
|
36
|
+
*/
|
|
37
|
+
address: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {ChainEnum}
|
|
41
|
+
* @memberof ScreeningPolicyAddress
|
|
42
|
+
*/
|
|
43
|
+
chain?: ChainEnum;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {ScreeningAddressScopeEnum}
|
|
47
|
+
* @memberof ScreeningPolicyAddress
|
|
48
|
+
*/
|
|
49
|
+
appliesToScope: ScreeningAddressScopeEnum;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {ScreeningAddressDisposition}
|
|
53
|
+
* @memberof ScreeningPolicyAddress
|
|
54
|
+
*/
|
|
55
|
+
disposition: ScreeningAddressDisposition;
|
|
56
|
+
/**
|
|
57
|
+
* Human-readable label to identify this entry in the dashboard.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ScreeningPolicyAddress
|
|
60
|
+
*/
|
|
61
|
+
note?: string;
|
|
62
|
+
/**
|
|
63
|
+
* ISO 8601 timestamp of when the entry was added.
|
|
64
|
+
* @type {Date}
|
|
65
|
+
* @memberof ScreeningPolicyAddress
|
|
66
|
+
*/
|
|
67
|
+
createdAt?: Date;
|
|
68
|
+
}
|
|
69
|
+
export declare function ScreeningPolicyAddressFromJSON(json: any): ScreeningPolicyAddress;
|
|
70
|
+
export declare function ScreeningPolicyAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreeningPolicyAddress;
|
|
71
|
+
export declare function ScreeningPolicyAddressToJSON(value?: ScreeningPolicyAddress | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
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 ScreeningPolicyAddressFromJSON(json) {
|
|
8
|
+
return ScreeningPolicyAddressFromJSONTyped(json);
|
|
9
|
+
}
|
|
10
|
+
function ScreeningPolicyAddressFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if ((json === undefined) || (json === null)) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
'id': json['id'],
|
|
16
|
+
'address': json['address'],
|
|
17
|
+
'chain': !exists(json, 'chain') ? undefined : ChainEnumFromJSON(json['chain']),
|
|
18
|
+
'appliesToScope': ScreeningAddressScopeEnumFromJSON(json['appliesToScope']),
|
|
19
|
+
'disposition': ScreeningAddressDispositionFromJSON(json['disposition']),
|
|
20
|
+
'note': !exists(json, 'note') ? undefined : json['note'],
|
|
21
|
+
'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function ScreeningPolicyAddressToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'id': value.id,
|
|
33
|
+
'address': value.address,
|
|
34
|
+
'chain': ChainEnumToJSON(value.chain),
|
|
35
|
+
'appliesToScope': ScreeningAddressScopeEnumToJSON(value.appliesToScope),
|
|
36
|
+
'disposition': ScreeningAddressDispositionToJSON(value.disposition),
|
|
37
|
+
'note': value.note,
|
|
38
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { ScreeningPolicyAddressFromJSON, ScreeningPolicyAddressFromJSONTyped, ScreeningPolicyAddressToJSON };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
7
|
+
var ScreeningAddressDisposition = require('./ScreeningAddressDisposition.cjs');
|
|
8
|
+
var ScreeningAddressScopeEnum = require('./ScreeningAddressScopeEnum.cjs');
|
|
9
|
+
|
|
10
|
+
/* tslint:disable */
|
|
11
|
+
function ScreeningPolicyAddressCreateRequestFromJSON(json) {
|
|
12
|
+
return ScreeningPolicyAddressCreateRequestFromJSONTyped(json);
|
|
13
|
+
}
|
|
14
|
+
function ScreeningPolicyAddressCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
15
|
+
if ((json === undefined) || (json === null)) {
|
|
16
|
+
return json;
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
'address': json['address'],
|
|
20
|
+
'chain': !runtime.exists(json, 'chain') ? undefined : ChainEnum.ChainEnumFromJSON(json['chain']),
|
|
21
|
+
'appliesToScope': !runtime.exists(json, 'appliesToScope') ? undefined : ScreeningAddressScopeEnum.ScreeningAddressScopeEnumFromJSON(json['appliesToScope']),
|
|
22
|
+
'disposition': ScreeningAddressDisposition.ScreeningAddressDispositionFromJSON(json['disposition']),
|
|
23
|
+
'note': !runtime.exists(json, 'note') ? undefined : json['note'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function ScreeningPolicyAddressCreateRequestToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'address': value.address,
|
|
35
|
+
'chain': ChainEnum.ChainEnumToJSON(value.chain),
|
|
36
|
+
'appliesToScope': ScreeningAddressScopeEnum.ScreeningAddressScopeEnumToJSON(value.appliesToScope),
|
|
37
|
+
'disposition': ScreeningAddressDisposition.ScreeningAddressDispositionToJSON(value.disposition),
|
|
38
|
+
'note': value.note,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
exports.ScreeningPolicyAddressCreateRequestFromJSON = ScreeningPolicyAddressCreateRequestFromJSON;
|
|
43
|
+
exports.ScreeningPolicyAddressCreateRequestFromJSONTyped = ScreeningPolicyAddressCreateRequestFromJSONTyped;
|
|
44
|
+
exports.ScreeningPolicyAddressCreateRequestToJSON = ScreeningPolicyAddressCreateRequestToJSON;
|
|
@@ -0,0 +1,54 @@
|
|
|
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 { ChainEnum } from './ChainEnum';
|
|
13
|
+
import { ScreeningAddressDisposition } from './ScreeningAddressDisposition';
|
|
14
|
+
import { ScreeningAddressScopeEnum } from './ScreeningAddressScopeEnum';
|
|
15
|
+
/**
|
|
16
|
+
* Adds one address exception to the (environment, vendor) list. Omit `chain` to apply it to every chain, and `appliesToScope` to apply it at every screening moment.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ScreeningPolicyAddressCreateRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface ScreeningPolicyAddressCreateRequest {
|
|
21
|
+
/**
|
|
22
|
+
* The address to except, in its native casing.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof ScreeningPolicyAddressCreateRequest
|
|
25
|
+
*/
|
|
26
|
+
address: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {ChainEnum}
|
|
30
|
+
* @memberof ScreeningPolicyAddressCreateRequest
|
|
31
|
+
*/
|
|
32
|
+
chain?: ChainEnum;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {ScreeningAddressScopeEnum}
|
|
36
|
+
* @memberof ScreeningPolicyAddressCreateRequest
|
|
37
|
+
*/
|
|
38
|
+
appliesToScope?: ScreeningAddressScopeEnum;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {ScreeningAddressDisposition}
|
|
42
|
+
* @memberof ScreeningPolicyAddressCreateRequest
|
|
43
|
+
*/
|
|
44
|
+
disposition: ScreeningAddressDisposition;
|
|
45
|
+
/**
|
|
46
|
+
* Human-readable label to identify this entry in the dashboard.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof ScreeningPolicyAddressCreateRequest
|
|
49
|
+
*/
|
|
50
|
+
note?: string;
|
|
51
|
+
}
|
|
52
|
+
export declare function ScreeningPolicyAddressCreateRequestFromJSON(json: any): ScreeningPolicyAddressCreateRequest;
|
|
53
|
+
export declare function ScreeningPolicyAddressCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreeningPolicyAddressCreateRequest;
|
|
54
|
+
export declare function ScreeningPolicyAddressCreateRequestToJSON(value?: ScreeningPolicyAddressCreateRequest | null): any;
|
|
@@ -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 };
|