@dynamic-labs/sdk-api 0.82.0 → 0.84.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.
Files changed (146) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +1 -0
  3. package/src/apis/AdminActionsApi.js +1 -0
  4. package/src/apis/AllowlistsApi.cjs +1 -0
  5. package/src/apis/AllowlistsApi.js +1 -0
  6. package/src/apis/AnalyticsApi.cjs +1 -0
  7. package/src/apis/AnalyticsApi.js +1 -0
  8. package/src/apis/AuthorizedClientsApi.cjs +1 -0
  9. package/src/apis/AuthorizedClientsApi.js +1 -0
  10. package/src/apis/BusinessAccountsApi.cjs +1 -0
  11. package/src/apis/BusinessAccountsApi.js +1 -0
  12. package/src/apis/CaptchaApi.cjs +1 -0
  13. package/src/apis/CaptchaApi.js +1 -0
  14. package/src/apis/ChainalysisApi.cjs +1 -0
  15. package/src/apis/ChainalysisApi.js +1 -0
  16. package/src/apis/ChainsApi.cjs +1 -0
  17. package/src/apis/ChainsApi.js +1 -0
  18. package/src/apis/CheckoutApi.cjs +1 -0
  19. package/src/apis/CheckoutApi.js +1 -0
  20. package/src/apis/ClientGrantApi.cjs +1 -0
  21. package/src/apis/ClientGrantApi.js +1 -0
  22. package/src/apis/CustomFieldsApi.cjs +1 -0
  23. package/src/apis/CustomFieldsApi.js +1 -0
  24. package/src/apis/CustomHostnamesApi.cjs +1 -0
  25. package/src/apis/CustomHostnamesApi.js +1 -0
  26. package/src/apis/CustomNetworksApi.cjs +1 -0
  27. package/src/apis/CustomNetworksApi.js +1 -0
  28. package/src/apis/DeeplinkUrlsApi.cjs +1 -0
  29. package/src/apis/DeeplinkUrlsApi.js +1 -0
  30. package/src/apis/EnvironmentsApi.cjs +1 -0
  31. package/src/apis/EnvironmentsApi.js +1 -0
  32. package/src/apis/EventsApi.cjs +1 -0
  33. package/src/apis/EventsApi.js +1 -0
  34. package/src/apis/ExchangesApi.cjs +1 -0
  35. package/src/apis/ExchangesApi.js +1 -0
  36. package/src/apis/ExportsApi.cjs +1 -0
  37. package/src/apis/ExportsApi.js +1 -0
  38. package/src/apis/ExternalJwtApi.cjs +1 -0
  39. package/src/apis/ExternalJwtApi.js +1 -0
  40. package/src/apis/FlowAnalyticsApi.cjs +1 -0
  41. package/src/apis/FlowAnalyticsApi.js +1 -0
  42. package/src/apis/GaslessApi.cjs +1 -0
  43. package/src/apis/GaslessApi.js +1 -0
  44. package/src/apis/GatesApi.cjs +1 -0
  45. package/src/apis/GatesApi.js +1 -0
  46. package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
  47. package/src/apis/GlobalWalletAccessControlApi.js +1 -0
  48. package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
  49. package/src/apis/GlobalWalletConnectionsApi.js +1 -0
  50. package/src/apis/GlobalWalletsApi.cjs +1 -0
  51. package/src/apis/GlobalWalletsApi.js +1 -0
  52. package/src/apis/InvitesApi.cjs +1 -0
  53. package/src/apis/InvitesApi.js +1 -0
  54. package/src/apis/KybApi.cjs +1 -0
  55. package/src/apis/KybApi.js +1 -0
  56. package/src/apis/MembersApi.cjs +1 -0
  57. package/src/apis/MembersApi.js +1 -0
  58. package/src/apis/MfaSettingsApi.cjs +1 -0
  59. package/src/apis/MfaSettingsApi.js +1 -0
  60. package/src/apis/NameServicesApi.cjs +1 -0
  61. package/src/apis/NameServicesApi.js +1 -0
  62. package/src/apis/OrganizationSettingsApi.cjs +1 -0
  63. package/src/apis/OrganizationSettingsApi.js +1 -0
  64. package/src/apis/OrganizationsApi.cjs +1 -0
  65. package/src/apis/OrganizationsApi.js +1 -0
  66. package/src/apis/OriginsApi.cjs +1 -0
  67. package/src/apis/OriginsApi.js +1 -0
  68. package/src/apis/ProjectsApi.cjs +1 -0
  69. package/src/apis/ProjectsApi.js +1 -0
  70. package/src/apis/ProvidersApi.cjs +1 -0
  71. package/src/apis/ProvidersApi.js +1 -0
  72. package/src/apis/SDKApi.cjs +1 -0
  73. package/src/apis/SDKApi.js +1 -0
  74. package/src/apis/SDKViewsApi.cjs +1 -0
  75. package/src/apis/SDKViewsApi.js +1 -0
  76. package/src/apis/ScreeningPoliciesApi.cjs +9 -8
  77. package/src/apis/ScreeningPoliciesApi.d.ts +8 -8
  78. package/src/apis/ScreeningPoliciesApi.js +9 -8
  79. package/src/apis/ServerApi.cjs +1 -0
  80. package/src/apis/ServerApi.js +1 -0
  81. package/src/apis/SessionsApi.cjs +1 -0
  82. package/src/apis/SessionsApi.js +1 -0
  83. package/src/apis/TestAccountApi.cjs +1 -0
  84. package/src/apis/TestAccountApi.js +1 -0
  85. package/src/apis/TokensApi.cjs +1 -0
  86. package/src/apis/TokensApi.js +1 -0
  87. package/src/apis/UserApiTokensApi.cjs +1 -0
  88. package/src/apis/UserApiTokensApi.js +1 -0
  89. package/src/apis/UsersApi.cjs +1 -0
  90. package/src/apis/UsersApi.js +1 -0
  91. package/src/apis/VisitsApi.cjs +1 -0
  92. package/src/apis/VisitsApi.js +1 -0
  93. package/src/apis/WaasApi.cjs +116 -0
  94. package/src/apis/WaasApi.d.ts +52 -1
  95. package/src/apis/WaasApi.js +116 -0
  96. package/src/apis/WalletConnectApi.cjs +1 -0
  97. package/src/apis/WalletConnectApi.js +1 -0
  98. package/src/apis/WalletsApi.cjs +1 -0
  99. package/src/apis/WalletsApi.js +1 -0
  100. package/src/apis/WebhooksApi.cjs +1 -0
  101. package/src/apis/WebhooksApi.js +1 -0
  102. package/src/apis/YieldApi.cjs +1 -0
  103. package/src/apis/YieldApi.js +1 -0
  104. package/src/apis/ZendeskApi.cjs +1 -0
  105. package/src/apis/ZendeskApi.js +1 -0
  106. package/src/index.cjs +24 -0
  107. package/src/index.js +5 -0
  108. package/src/models/RegisterServerSigningKeyRequest.cjs +37 -0
  109. package/src/models/RegisterServerSigningKeyRequest.d.ts +39 -0
  110. package/src/models/RegisterServerSigningKeyRequest.js +31 -0
  111. package/src/models/RevokedServerSigningKeyResponse.cjs +37 -0
  112. package/src/models/RevokedServerSigningKeyResponse.d.ts +40 -0
  113. package/src/models/RevokedServerSigningKeyResponse.js +31 -0
  114. package/src/models/SanctionsWalletBlockedEventPayload.d.ts +2 -2
  115. package/src/models/ScreeningCoreField.cjs +1 -1
  116. package/src/models/ScreeningCoreField.d.ts +1 -1
  117. package/src/models/ScreeningCoreField.js +1 -1
  118. package/src/models/ScreeningPolicy.d.ts +5 -5
  119. package/src/models/ScreeningPolicyAddress.d.ts +3 -2
  120. package/src/models/ScreeningPolicyAddressCreateRequest.d.ts +1 -1
  121. package/src/models/ScreeningPolicyAddressesResponse.d.ts +1 -1
  122. package/src/models/ScreeningPolicyProviderEnum.cjs +2 -2
  123. package/src/models/ScreeningPolicyProviderEnum.d.ts +2 -2
  124. package/src/models/ScreeningPolicyProviderEnum.js +2 -2
  125. package/src/models/ScreeningPolicyScopeEnum.cjs +4 -4
  126. package/src/models/ScreeningPolicyScopeEnum.d.ts +4 -4
  127. package/src/models/ScreeningPolicyScopeEnum.js +4 -4
  128. package/src/models/ScreeningPolicyUpdateRequest.d.ts +4 -4
  129. package/src/models/ScreeningPreScreenAction.cjs +1 -1
  130. package/src/models/ScreeningPreScreenAction.d.ts +1 -1
  131. package/src/models/ScreeningPreScreenAction.js +1 -1
  132. package/src/models/ScreeningPreScreenNode.d.ts +3 -3
  133. package/src/models/ScreeningPreScreenRule.d.ts +1 -1
  134. package/src/models/ScreeningReason.d.ts +6 -6
  135. package/src/models/ServerSigningKeyStatus.cjs +41 -0
  136. package/src/models/ServerSigningKeyStatus.d.ts +24 -0
  137. package/src/models/ServerSigningKeyStatus.js +35 -0
  138. package/src/models/ServerSigningKeySummary.cjs +45 -0
  139. package/src/models/ServerSigningKeySummary.d.ts +64 -0
  140. package/src/models/ServerSigningKeySummary.js +39 -0
  141. package/src/models/ServerSigningKeySummaryList.cjs +33 -0
  142. package/src/models/ServerSigningKeySummaryList.d.ts +28 -0
  143. package/src/models/ServerSigningKeySummaryList.js +27 -0
  144. package/src/models/WalletAddressScreeningAlertedEventPayload.d.ts +2 -2
  145. package/src/models/WalletAddressScreeningBlockedEventPayload.d.ts +2 -2
  146. package/src/models/index.d.ts +5 -0
@@ -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 { ServerSigningKeyStatus } from './ServerSigningKeyStatus';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RevokedServerSigningKeyResponse
17
+ */
18
+ export interface RevokedServerSigningKeyResponse {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof RevokedServerSigningKeyResponse
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {Date}
28
+ * @memberof RevokedServerSigningKeyResponse
29
+ */
30
+ revokedAt: Date;
31
+ /**
32
+ *
33
+ * @type {ServerSigningKeyStatus}
34
+ * @memberof RevokedServerSigningKeyResponse
35
+ */
36
+ status: ServerSigningKeyStatus;
37
+ }
38
+ export declare function RevokedServerSigningKeyResponseFromJSON(json: any): RevokedServerSigningKeyResponse;
39
+ export declare function RevokedServerSigningKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RevokedServerSigningKeyResponse;
40
+ export declare function RevokedServerSigningKeyResponseToJSON(value?: RevokedServerSigningKeyResponse | null): any;
@@ -0,0 +1,31 @@
1
+ import { ServerSigningKeyStatusFromJSON, ServerSigningKeyStatusToJSON } from './ServerSigningKeyStatus.js';
2
+
3
+ /* tslint:disable */
4
+ function RevokedServerSigningKeyResponseFromJSON(json) {
5
+ return RevokedServerSigningKeyResponseFromJSONTyped(json);
6
+ }
7
+ function RevokedServerSigningKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'id': json['id'],
13
+ 'revokedAt': (new Date(json['revokedAt'])),
14
+ 'status': ServerSigningKeyStatusFromJSON(json['status']),
15
+ };
16
+ }
17
+ function RevokedServerSigningKeyResponseToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'id': value.id,
26
+ 'revokedAt': (value.revokedAt.toISOString()),
27
+ 'status': ServerSigningKeyStatusToJSON(value.status),
28
+ };
29
+ }
30
+
31
+ export { RevokedServerSigningKeyResponseFromJSON, RevokedServerSigningKeyResponseFromJSONTyped, RevokedServerSigningKeyResponseToJSON };
@@ -66,9 +66,9 @@ export interface SanctionsWalletBlockedEventPayload {
66
66
  */
67
67
  sanctionCheckRequestId: string;
68
68
  /**
69
- * Vendor-returned categories that triggered the block. May be empty
69
+ * Provider-returned categories that triggered the block. May be empty
70
70
  * when the decision was served from the screening cache (cached
71
- * rows do not retain vendor categories).
71
+ * rows do not retain provider categories).
72
72
  * @type {Array<string>}
73
73
  * @memberof SanctionsWalletBlockedEventPayload
74
74
  */
@@ -16,7 +16,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
16
16
  * Do not edit the class manually.
17
17
  */
18
18
  /**
19
- * Fields needing no vendor response, so they work in both phases, and the only
19
+ * Fields needing no provider response, so they work in both phases, and the only
20
20
  * fields a pre-screen rule may use. `tx.amountUsd` and `tx.asset` are present
21
21
  * only where the request establishes them; neither is available on the signing
22
22
  * path. `address` compares case-sensitively, since base58 chains are
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Fields needing no vendor response, so they work in both phases, and the only
13
+ * Fields needing no provider response, so they work in both phases, and the only
14
14
  * fields a pre-screen rule may use. `tx.amountUsd` and `tx.asset` are present
15
15
  * only where the request establishes them; neither is available on the signing
16
16
  * path. `address` compares case-sensitively, since base58 chains are
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Fields needing no vendor response, so they work in both phases, and the only
15
+ * Fields needing no provider response, so they work in both phases, and the only
16
16
  * fields a pre-screen rule may use. `tx.amountUsd` and `tx.asset` are present
17
17
  * only where the request establishes them; neither is available on the signing
18
18
  * path. `address` compares case-sensitively, since base58 chains are
@@ -12,7 +12,7 @@
12
12
  import { ScreeningPolicyProviderEnum } from './ScreeningPolicyProviderEnum';
13
13
  import { ScreeningPolicyScopeEnum } from './ScreeningPolicyScopeEnum';
14
14
  /**
15
- * One vendor's screening policy in one environment, for one scope.
15
+ * One provider's screening policy in one environment, for one scope.
16
16
  * @export
17
17
  * @interface ScreeningPolicy
18
18
  */
@@ -42,12 +42,12 @@ export interface ScreeningPolicy {
42
42
  */
43
43
  schemaVersion: number;
44
44
  /**
45
- * Customer rules, `{ preScreen, postScreen }`, per the vendor's own rule schema
45
+ * Customer rules, `{ preScreen, postScreen }`, per the provider's own rule schema
46
46
  * (`TrmPolicyRules` or `ChainalysisPolicyRules`). Typed as a free-form object
47
- * rather than a `oneOf` over the two: the vendor is a path parameter, no
47
+ * rather than a `oneOf` over the two: the provider is a path parameter, no
48
48
  * OpenAPI construct selects a body schema from one, and `oneOf` generates SDK
49
49
  * models that do not compile. The server validates the blob against the
50
- * vendor's schema before writing, so a TRM policy naming a `chainalysis.*`
50
+ * provider's schema before writing, so a TRM policy naming a `chainalysis.*`
51
51
  * field is a 400. Clients should validate against those two schemas before
52
52
  * submitting.
53
53
  *
@@ -59,7 +59,7 @@ export interface ScreeningPolicy {
59
59
  */
60
60
  rules: object;
61
61
  /**
62
- * Number of live address entries applying to THIS scope — those marked `ALL` plus those narrowed to it. Entries themselves belong to the (environment, vendor) pair, not to this policy.
62
+ * Number of live address entries applying to THIS scope — those marked `ALL` plus those narrowed to it. Entries themselves belong to the (environment, provider) pair, not to this policy.
63
63
  * @type {number}
64
64
  * @memberof ScreeningPolicy
65
65
  */
@@ -13,9 +13,10 @@ import { ChainEnum } from './ChainEnum';
13
13
  import { ScreeningAddressDisposition } from './ScreeningAddressDisposition';
14
14
  import { ScreeningAddressScopeEnum } from './ScreeningAddressScopeEnum';
15
15
  /**
16
- * A customer address exception, belonging to the (environment, vendor) pair
16
+ * A customer address exception, belonging to the (environment, provider) pair
17
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
18
+ * actor blocked?" whether the sign-in policy or the transaction policy is
19
+ * being resolved. Matched by a
19
20
  * chain-aware fold of the address, not a plain lowercase, because base58 and
20
21
  * base32 chains are case-significant. An absent `chain` applies the entry to
21
22
  * every chain.
@@ -13,7 +13,7 @@ import { ChainEnum } from './ChainEnum';
13
13
  import { ScreeningAddressDisposition } from './ScreeningAddressDisposition';
14
14
  import { ScreeningAddressScopeEnum } from './ScreeningAddressScopeEnum';
15
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.
16
+ * Adds one address exception to the (environment, provider) list. Omit `chain` to apply it to every chain, and `appliesToScope` to apply it to both the sign-in policy and the transaction policy.
17
17
  * @export
18
18
  * @interface ScreeningPolicyAddressCreateRequest
19
19
  */
@@ -17,7 +17,7 @@ import { ScreeningPolicyAddress } from './ScreeningPolicyAddress';
17
17
  */
18
18
  export interface ScreeningPolicyAddressesResponse {
19
19
  /**
20
- * Total number of live address entries for this (environment, vendor) pair, across every `appliesToScope`.
20
+ * Total number of live address entries for this (environment, provider) pair, across every `appliesToScope`.
21
21
  * @type {number}
22
22
  * @memberof ScreeningPolicyAddressesResponse
23
23
  */
@@ -16,9 +16,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
16
16
  * Do not edit the class manually.
17
17
  */
18
18
  /**
19
- * Screening vendor a policy belongs to. Deliberately not `ProviderEnum`, which
19
+ * Screening provider a policy belongs to. Deliberately not `ProviderEnum`, which
20
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
21
+ * providers. The Dynamic sanctions provider is absent because the sanctions floor
22
22
  * is generated from code and is not configurable.
23
23
  * @export
24
24
  * @enum {string}
@@ -10,9 +10,9 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Screening vendor a policy belongs to. Deliberately not `ProviderEnum`, which
13
+ * Screening provider a policy belongs to. Deliberately not `ProviderEnum`, which
14
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
15
+ * providers. The Dynamic sanctions provider is absent because the sanctions floor
16
16
  * is generated from code and is not configurable.
17
17
  * @export
18
18
  * @enum {string}
@@ -12,9 +12,9 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Screening vendor a policy belongs to. Deliberately not `ProviderEnum`, which
15
+ * Screening provider a policy belongs to. Deliberately not `ProviderEnum`, which
16
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
17
+ * providers. The Dynamic sanctions provider is absent because the sanctions floor
18
18
  * is generated from code and is not configurable.
19
19
  * @export
20
20
  * @enum {string}
@@ -16,10 +16,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
16
16
  * Do not edit the class manually.
17
17
  */
18
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
19
+ * Whether a policy is the sign-in policy or the transaction policy. An
20
+ * environment holds one policy per provider per scope, authored independently —
21
+ * a customer may alert at sign-in and block on transactions, or skip the paid
22
+ * provider call at one and not the other. Two values, not three: an "applies to both" policy would make the
23
23
  * overlap with a single-scope row unrepresentable as a unique constraint.
24
24
  * @export
25
25
  * @enum {string}
@@ -10,10 +10,10 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
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
13
+ * Whether a policy is the sign-in policy or the transaction policy. An
14
+ * environment holds one policy per provider per scope, authored independently —
15
+ * a customer may alert at sign-in and block on transactions, or skip the paid
16
+ * provider call at one and not the other. Two values, not three: an "applies to both" policy would make the
17
17
  * overlap with a single-scope row unrepresentable as a unique constraint.
18
18
  * @export
19
19
  * @enum {string}
@@ -12,10 +12,10 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
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
15
+ * Whether a policy is the sign-in policy or the transaction policy. An
16
+ * environment holds one policy per provider per scope, authored independently —
17
+ * a customer may alert at sign-in and block on transactions, or skip the paid
18
+ * provider call at one and not the other. Two values, not three: an "applies to both" policy would make the
19
19
  * overlap with a single-scope row unrepresentable as a unique constraint.
20
20
  * @export
21
21
  * @enum {string}
@@ -20,18 +20,18 @@ export interface ScreeningPolicyUpdateRequest {
20
20
  /**
21
21
  * The `revision` this edit was based on. Required to replace an existing
22
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.
23
+ * applied. Omit it only when creating the first policy for this provider.
24
24
  * @type {number}
25
25
  * @memberof ScreeningPolicyUpdateRequest
26
26
  */
27
27
  revision?: number;
28
28
  /**
29
- * Customer rules, `{ preScreen, postScreen }`, per the vendor's own rule schema
29
+ * Customer rules, `{ preScreen, postScreen }`, per the provider's own rule schema
30
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
31
+ * rather than a `oneOf` over the two: the provider is a path parameter, no
32
32
  * OpenAPI construct selects a body schema from one, and `oneOf` generates SDK
33
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.*`
34
+ * provider's schema before writing, so a TRM policy naming a `chainalysis.*`
35
35
  * field is a 400. Clients should validate against those two schemas before
36
36
  * submitting.
37
37
  *
@@ -16,7 +16,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
16
16
  * Do not edit the class manually.
17
17
  */
18
18
  /**
19
- * Whether the paid vendor call happens. SCREEN when no rule matches.
19
+ * Whether the paid provider call happens. SCREEN when no rule matches.
20
20
  * @export
21
21
  * @enum {string}
22
22
  */
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Whether the paid vendor call happens. SCREEN when no rule matches.
13
+ * Whether the paid provider call happens. SCREEN when no rule matches.
14
14
  * @export
15
15
  * @enum {string}
16
16
  */
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Whether the paid vendor call happens. SCREEN when no rule matches.
15
+ * Whether the paid provider call happens. SCREEN when no rule matches.
16
16
  * @export
17
17
  * @enum {string}
18
18
  */
@@ -12,14 +12,14 @@
12
12
  import { ScreeningCoreField } from './ScreeningCoreField';
13
13
  import { ScreeningOperator } from './ScreeningOperator';
14
14
  /**
15
- * Boolean expression over the vendor-independent fields only. Pre-screen
16
- * decides whether the vendor is called at all, so it cannot read a vendor
15
+ * Boolean expression over the provider-independent fields only. Pre-screen
16
+ * decides whether the provider is called at all, so it cannot read a provider
17
17
  * response. Exactly one of `always`, `all`, `any`, `not`, or a
18
18
  * `field`/`op`/`value` comparison.
19
19
  *
20
20
  * `always` is accepted only as a rule's whole condition, never nested, and
21
21
  * only in `preScreen` — which is why it is declared here and not on the
22
- * vendor rule nodes. Anywhere else is a 400.
22
+ * provider rule nodes. Anywhere else is a 400.
23
23
  * @export
24
24
  * @interface ScreeningPreScreenNode
25
25
  */
@@ -12,7 +12,7 @@
12
12
  import { ScreeningPreScreenAction } from './ScreeningPreScreenAction';
13
13
  import { ScreeningPreScreenNode } from './ScreeningPreScreenNode';
14
14
  /**
15
- * Shared across vendors, since pre-screen reads no vendor signal. `when` may
15
+ * Shared across providers, since pre-screen reads no provider signal. `when` may
16
16
  * be `{ always: true }`, which matches every screen; the post-screen rules
17
17
  * have no such form, so an unconditional rule is unrepresentable there rather
18
18
  * than merely rejected.
@@ -11,17 +11,17 @@
11
11
  */
12
12
  /**
13
13
  * Why a screening policy reached its verdict: which layer matched, and what
14
- * it matched on in the vendor's own vocabulary.
14
+ * it matched on in the provider's own vocabulary.
15
15
  *
16
16
  * Only `provider` and `matched` are always present. The rest depend on the
17
- * vendor and on which leaf actually fired — a floor match on a Chainalysis
17
+ * provider and on which leaf actually fired — a floor match on a Chainalysis
18
18
  * cluster carries a `category` and no `riskType`.
19
19
  * @export
20
20
  * @interface ScreeningReason
21
21
  */
22
22
  export interface ScreeningReason {
23
23
  /**
24
- * The vendor whose response produced this verdict.
24
+ * The provider whose response produced this verdict.
25
25
  * @type {string}
26
26
  * @memberof ScreeningReason
27
27
  */
@@ -38,8 +38,8 @@ export interface ScreeningReason {
38
38
  matched: ScreeningReasonMatchedEnum;
39
39
  /**
40
40
  * The policy generation that produced this verdict. Scoped to one
41
- * screening moment, so two verdicts in the same environment can
42
- * legitimately carry different revisions.
41
+ * policy, so a sign-in verdict and a transaction verdict in the same
42
+ * environment can legitimately carry different revisions.
43
43
  * @type {number}
44
44
  * @memberof ScreeningReason
45
45
  */
@@ -55,7 +55,7 @@ export interface ScreeningReason {
55
55
  */
56
56
  rule?: object;
57
57
  /**
58
- * The vendor's category string, verbatim, in the vendor's own casing.
58
+ * The provider's category string, verbatim, in the provider's own casing.
59
59
  * @type {string}
60
60
  * @memberof ScreeningReason
61
61
  */
@@ -0,0 +1,41 @@
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
+ *
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ exports.ServerSigningKeyStatus = void 0;
24
+ (function (ServerSigningKeyStatus) {
25
+ ServerSigningKeyStatus["Active"] = "active";
26
+ ServerSigningKeyStatus["Expired"] = "expired";
27
+ ServerSigningKeyStatus["Revoked"] = "revoked";
28
+ })(exports.ServerSigningKeyStatus || (exports.ServerSigningKeyStatus = {}));
29
+ function ServerSigningKeyStatusFromJSON(json) {
30
+ return ServerSigningKeyStatusFromJSONTyped(json);
31
+ }
32
+ function ServerSigningKeyStatusFromJSONTyped(json, ignoreDiscriminator) {
33
+ return json;
34
+ }
35
+ function ServerSigningKeyStatusToJSON(value) {
36
+ return value;
37
+ }
38
+
39
+ exports.ServerSigningKeyStatusFromJSON = ServerSigningKeyStatusFromJSON;
40
+ exports.ServerSigningKeyStatusFromJSONTyped = ServerSigningKeyStatusFromJSONTyped;
41
+ exports.ServerSigningKeyStatusToJSON = ServerSigningKeyStatusToJSON;
@@ -0,0 +1,24 @@
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
+ * @enum {string}
16
+ */
17
+ export declare enum ServerSigningKeyStatus {
18
+ Active = "active",
19
+ Expired = "expired",
20
+ Revoked = "revoked"
21
+ }
22
+ export declare function ServerSigningKeyStatusFromJSON(json: any): ServerSigningKeyStatus;
23
+ export declare function ServerSigningKeyStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerSigningKeyStatus;
24
+ export declare function ServerSigningKeyStatusToJSON(value?: ServerSigningKeyStatus | null): any;
@@ -0,0 +1,35 @@
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
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ var ServerSigningKeyStatus;
20
+ (function (ServerSigningKeyStatus) {
21
+ ServerSigningKeyStatus["Active"] = "active";
22
+ ServerSigningKeyStatus["Expired"] = "expired";
23
+ ServerSigningKeyStatus["Revoked"] = "revoked";
24
+ })(ServerSigningKeyStatus || (ServerSigningKeyStatus = {}));
25
+ function ServerSigningKeyStatusFromJSON(json) {
26
+ return ServerSigningKeyStatusFromJSONTyped(json);
27
+ }
28
+ function ServerSigningKeyStatusFromJSONTyped(json, ignoreDiscriminator) {
29
+ return json;
30
+ }
31
+ function ServerSigningKeyStatusToJSON(value) {
32
+ return value;
33
+ }
34
+
35
+ export { ServerSigningKeyStatus, ServerSigningKeyStatusFromJSON, ServerSigningKeyStatusFromJSONTyped, ServerSigningKeyStatusToJSON };
@@ -0,0 +1,45 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var ServerSigningKeyStatus = require('./ServerSigningKeyStatus.cjs');
6
+
7
+ /* tslint:disable */
8
+ function ServerSigningKeySummaryFromJSON(json) {
9
+ return ServerSigningKeySummaryFromJSONTyped(json);
10
+ }
11
+ function ServerSigningKeySummaryFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'id': json['id'],
17
+ 'kid': json['kid'],
18
+ 'label': json['label'],
19
+ 'publicSigningKey': json['publicSigningKey'],
20
+ 'status': ServerSigningKeyStatus.ServerSigningKeyStatusFromJSON(json['status']),
21
+ 'createdAt': (new Date(json['createdAt'])),
22
+ 'revokedAt': (json['revokedAt'] === null ? null : new Date(json['revokedAt'])),
23
+ };
24
+ }
25
+ function ServerSigningKeySummaryToJSON(value) {
26
+ if (value === undefined) {
27
+ return undefined;
28
+ }
29
+ if (value === null) {
30
+ return null;
31
+ }
32
+ return {
33
+ 'id': value.id,
34
+ 'kid': value.kid,
35
+ 'label': value.label,
36
+ 'publicSigningKey': value.publicSigningKey,
37
+ 'status': ServerSigningKeyStatus.ServerSigningKeyStatusToJSON(value.status),
38
+ 'createdAt': (value.createdAt.toISOString()),
39
+ 'revokedAt': (value.revokedAt === null ? null : value.revokedAt.toISOString()),
40
+ };
41
+ }
42
+
43
+ exports.ServerSigningKeySummaryFromJSON = ServerSigningKeySummaryFromJSON;
44
+ exports.ServerSigningKeySummaryFromJSONTyped = ServerSigningKeySummaryFromJSONTyped;
45
+ exports.ServerSigningKeySummaryToJSON = ServerSigningKeySummaryToJSON;
@@ -0,0 +1,64 @@
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 { ServerSigningKeyStatus } from './ServerSigningKeyStatus';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ServerSigningKeySummary
17
+ */
18
+ export interface ServerSigningKeySummary {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ServerSigningKeySummary
23
+ */
24
+ id: string;
25
+ /**
26
+ * RFC 7638 thumbprint of the public key; the JWS `kid` of operation proofs
27
+ * @type {string}
28
+ * @memberof ServerSigningKeySummary
29
+ */
30
+ kid: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ServerSigningKeySummary
35
+ */
36
+ label: string | null;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ServerSigningKeySummary
41
+ */
42
+ publicSigningKey: string;
43
+ /**
44
+ *
45
+ * @type {ServerSigningKeyStatus}
46
+ * @memberof ServerSigningKeySummary
47
+ */
48
+ status: ServerSigningKeyStatus;
49
+ /**
50
+ *
51
+ * @type {Date}
52
+ * @memberof ServerSigningKeySummary
53
+ */
54
+ createdAt: Date;
55
+ /**
56
+ *
57
+ * @type {Date}
58
+ * @memberof ServerSigningKeySummary
59
+ */
60
+ revokedAt: Date | null;
61
+ }
62
+ export declare function ServerSigningKeySummaryFromJSON(json: any): ServerSigningKeySummary;
63
+ export declare function ServerSigningKeySummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerSigningKeySummary;
64
+ export declare function ServerSigningKeySummaryToJSON(value?: ServerSigningKeySummary | null): any;
@@ -0,0 +1,39 @@
1
+ import { ServerSigningKeyStatusFromJSON, ServerSigningKeyStatusToJSON } from './ServerSigningKeyStatus.js';
2
+
3
+ /* tslint:disable */
4
+ function ServerSigningKeySummaryFromJSON(json) {
5
+ return ServerSigningKeySummaryFromJSONTyped(json);
6
+ }
7
+ function ServerSigningKeySummaryFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'id': json['id'],
13
+ 'kid': json['kid'],
14
+ 'label': json['label'],
15
+ 'publicSigningKey': json['publicSigningKey'],
16
+ 'status': ServerSigningKeyStatusFromJSON(json['status']),
17
+ 'createdAt': (new Date(json['createdAt'])),
18
+ 'revokedAt': (json['revokedAt'] === null ? null : new Date(json['revokedAt'])),
19
+ };
20
+ }
21
+ function ServerSigningKeySummaryToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'id': value.id,
30
+ 'kid': value.kid,
31
+ 'label': value.label,
32
+ 'publicSigningKey': value.publicSigningKey,
33
+ 'status': ServerSigningKeyStatusToJSON(value.status),
34
+ 'createdAt': (value.createdAt.toISOString()),
35
+ 'revokedAt': (value.revokedAt === null ? null : value.revokedAt.toISOString()),
36
+ };
37
+ }
38
+
39
+ export { ServerSigningKeySummaryFromJSON, ServerSigningKeySummaryFromJSONTyped, ServerSigningKeySummaryToJSON };