@dynamic-labs/sdk-api 0.16.0 → 0.17.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 (168) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +11 -0
  3. package/src/apis/AdminActionsApi.js +11 -0
  4. package/src/apis/AllowlistsApi.cjs +11 -0
  5. package/src/apis/AllowlistsApi.js +11 -0
  6. package/src/apis/AnalyticsApi.cjs +11 -0
  7. package/src/apis/AnalyticsApi.js +11 -0
  8. package/src/apis/AuthorizedClientsApi.cjs +11 -0
  9. package/src/apis/AuthorizedClientsApi.js +11 -0
  10. package/src/apis/CaptchaApi.cjs +11 -0
  11. package/src/apis/CaptchaApi.js +11 -0
  12. package/src/apis/ChainalysisApi.cjs +11 -0
  13. package/src/apis/ChainalysisApi.js +11 -0
  14. package/src/apis/ChainsApi.cjs +11 -0
  15. package/src/apis/ChainsApi.js +11 -0
  16. package/src/apis/CheckoutApi.cjs +11 -0
  17. package/src/apis/CheckoutApi.js +11 -0
  18. package/src/apis/ClientGrantApi.cjs +11 -0
  19. package/src/apis/ClientGrantApi.js +11 -0
  20. package/src/apis/CustomFieldsApi.cjs +11 -0
  21. package/src/apis/CustomFieldsApi.js +11 -0
  22. package/src/apis/CustomHostnamesApi.cjs +11 -0
  23. package/src/apis/CustomHostnamesApi.js +11 -0
  24. package/src/apis/CustomNetworksApi.cjs +11 -0
  25. package/src/apis/CustomNetworksApi.js +11 -0
  26. package/src/apis/DeeplinkUrlsApi.cjs +11 -0
  27. package/src/apis/DeeplinkUrlsApi.js +11 -0
  28. package/src/apis/EnvironmentsApi.cjs +11 -0
  29. package/src/apis/EnvironmentsApi.js +11 -0
  30. package/src/apis/EventsApi.cjs +11 -0
  31. package/src/apis/EventsApi.js +11 -0
  32. package/src/apis/ExchangesApi.cjs +11 -0
  33. package/src/apis/ExchangesApi.js +11 -0
  34. package/src/apis/ExportsApi.cjs +11 -0
  35. package/src/apis/ExportsApi.js +11 -0
  36. package/src/apis/ExternalJwtApi.cjs +11 -0
  37. package/src/apis/ExternalJwtApi.js +11 -0
  38. package/src/apis/FlowAnalyticsApi.cjs +11 -0
  39. package/src/apis/FlowAnalyticsApi.js +11 -0
  40. package/src/apis/GaslessApi.cjs +11 -0
  41. package/src/apis/GaslessApi.js +11 -0
  42. package/src/apis/GatesApi.cjs +11 -0
  43. package/src/apis/GatesApi.js +11 -0
  44. package/src/apis/GlobalWalletAccessControlApi.cjs +11 -0
  45. package/src/apis/GlobalWalletAccessControlApi.js +11 -0
  46. package/src/apis/GlobalWalletConnectionsApi.cjs +11 -0
  47. package/src/apis/GlobalWalletConnectionsApi.js +11 -0
  48. package/src/apis/GlobalWalletsApi.cjs +11 -0
  49. package/src/apis/GlobalWalletsApi.js +11 -0
  50. package/src/apis/InvitesApi.cjs +11 -0
  51. package/src/apis/InvitesApi.js +11 -0
  52. package/src/apis/KybApi.cjs +11 -0
  53. package/src/apis/KybApi.js +11 -0
  54. package/src/apis/MembersApi.cjs +11 -0
  55. package/src/apis/MembersApi.js +11 -0
  56. package/src/apis/MfaSettingsApi.cjs +11 -0
  57. package/src/apis/MfaSettingsApi.js +11 -0
  58. package/src/apis/NameServicesApi.cjs +11 -0
  59. package/src/apis/NameServicesApi.js +11 -0
  60. package/src/apis/OrganizationSettingsApi.cjs +11 -0
  61. package/src/apis/OrganizationSettingsApi.js +11 -0
  62. package/src/apis/OrganizationsApi.cjs +11 -0
  63. package/src/apis/OrganizationsApi.js +11 -0
  64. package/src/apis/OriginsApi.cjs +11 -0
  65. package/src/apis/OriginsApi.js +11 -0
  66. package/src/apis/ProjectsApi.cjs +11 -0
  67. package/src/apis/ProjectsApi.js +11 -0
  68. package/src/apis/ProvidersApi.cjs +11 -0
  69. package/src/apis/ProvidersApi.js +11 -0
  70. package/src/apis/SDKApi.cjs +11 -0
  71. package/src/apis/SDKApi.js +11 -0
  72. package/src/apis/SDKViewsApi.cjs +11 -0
  73. package/src/apis/SDKViewsApi.js +11 -0
  74. package/src/apis/ServerApi.cjs +11 -0
  75. package/src/apis/ServerApi.js +11 -0
  76. package/src/apis/SessionsApi.cjs +11 -0
  77. package/src/apis/SessionsApi.js +11 -0
  78. package/src/apis/TestAccountApi.cjs +11 -0
  79. package/src/apis/TestAccountApi.js +11 -0
  80. package/src/apis/TokensApi.cjs +11 -0
  81. package/src/apis/TokensApi.js +11 -0
  82. package/src/apis/UserApiTokensApi.cjs +11 -0
  83. package/src/apis/UserApiTokensApi.js +11 -0
  84. package/src/apis/UsersApi.cjs +11 -0
  85. package/src/apis/UsersApi.js +11 -0
  86. package/src/apis/VisitsApi.cjs +11 -0
  87. package/src/apis/VisitsApi.js +11 -0
  88. package/src/apis/WaasApi.cjs +11 -0
  89. package/src/apis/WaasApi.js +11 -0
  90. package/src/apis/WalletConnectApi.cjs +11 -0
  91. package/src/apis/WalletConnectApi.js +11 -0
  92. package/src/apis/WalletsApi.cjs +11 -0
  93. package/src/apis/WalletsApi.js +11 -0
  94. package/src/apis/WebhooksApi.cjs +11 -0
  95. package/src/apis/WebhooksApi.js +11 -0
  96. package/src/apis/YieldApi.cjs +11 -0
  97. package/src/apis/YieldApi.js +11 -0
  98. package/src/apis/ZendeskApi.cjs +11 -0
  99. package/src/apis/ZendeskApi.js +11 -0
  100. package/src/index.cjs +120 -0
  101. package/src/index.js +19 -0
  102. package/src/models/ChainalysisExists.cjs +45 -0
  103. package/src/models/ChainalysisExists.d.ts +44 -0
  104. package/src/models/ChainalysisExists.js +39 -0
  105. package/src/models/ChainalysisExposureType.cjs +40 -0
  106. package/src/models/ChainalysisExposureType.d.ts +23 -0
  107. package/src/models/ChainalysisExposureType.js +34 -0
  108. package/src/models/ChainalysisPolicyRules.cjs +37 -0
  109. package/src/models/ChainalysisPolicyRules.d.ts +36 -0
  110. package/src/models/ChainalysisPolicyRules.js +31 -0
  111. package/src/models/ChainalysisPostScreenRule.cjs +36 -0
  112. package/src/models/ChainalysisPostScreenRule.d.ts +35 -0
  113. package/src/models/ChainalysisPostScreenRule.js +30 -0
  114. package/src/models/ChainalysisRiskLevel.cjs +43 -0
  115. package/src/models/ChainalysisRiskLevel.d.ts +26 -0
  116. package/src/models/ChainalysisRiskLevel.js +37 -0
  117. package/src/models/ChainalysisRuleField.cjs +60 -0
  118. package/src/models/ChainalysisRuleField.d.ts +43 -0
  119. package/src/models/ChainalysisRuleField.js +54 -0
  120. package/src/models/ChainalysisRuleNode.cjs +48 -0
  121. package/src/models/ChainalysisRuleNode.d.ts +68 -0
  122. package/src/models/ChainalysisRuleNode.js +42 -0
  123. package/src/models/Flow.cjs +2 -0
  124. package/src/models/Flow.d.ts +6 -0
  125. package/src/models/Flow.js +2 -0
  126. package/src/models/FlowCreateRequest.cjs +2 -0
  127. package/src/models/FlowCreateRequest.d.ts +6 -0
  128. package/src/models/FlowCreateRequest.js +2 -0
  129. package/src/models/FlowPaymentLinkCreateRequest.cjs +2 -0
  130. package/src/models/FlowPaymentLinkCreateRequest.d.ts +6 -0
  131. package/src/models/FlowPaymentLinkCreateRequest.js +2 -0
  132. package/src/models/ScreeningCoreField.cjs +44 -0
  133. package/src/models/ScreeningCoreField.d.ts +27 -0
  134. package/src/models/ScreeningCoreField.js +38 -0
  135. package/src/models/ScreeningOperator.cjs +49 -0
  136. package/src/models/ScreeningOperator.d.ts +32 -0
  137. package/src/models/ScreeningOperator.js +43 -0
  138. package/src/models/ScreeningPostScreenAction.cjs +41 -0
  139. package/src/models/ScreeningPostScreenAction.d.ts +24 -0
  140. package/src/models/ScreeningPostScreenAction.js +35 -0
  141. package/src/models/ScreeningPreScreenAction.cjs +40 -0
  142. package/src/models/ScreeningPreScreenAction.d.ts +23 -0
  143. package/src/models/ScreeningPreScreenAction.js +34 -0
  144. package/src/models/ScreeningPreScreenNode.cjs +45 -0
  145. package/src/models/ScreeningPreScreenNode.d.ts +63 -0
  146. package/src/models/ScreeningPreScreenNode.js +39 -0
  147. package/src/models/ScreeningPreScreenRule.cjs +36 -0
  148. package/src/models/ScreeningPreScreenRule.d.ts +35 -0
  149. package/src/models/ScreeningPreScreenRule.js +30 -0
  150. package/src/models/TrmExists.cjs +44 -0
  151. package/src/models/TrmExists.d.ts +44 -0
  152. package/src/models/TrmExists.js +38 -0
  153. package/src/models/TrmPolicyRules.cjs +37 -0
  154. package/src/models/TrmPolicyRules.d.ts +36 -0
  155. package/src/models/TrmPolicyRules.js +31 -0
  156. package/src/models/TrmPostScreenRule.cjs +36 -0
  157. package/src/models/TrmPostScreenRule.d.ts +35 -0
  158. package/src/models/TrmPostScreenRule.js +30 -0
  159. package/src/models/TrmRiskType.cjs +41 -0
  160. package/src/models/TrmRiskType.d.ts +24 -0
  161. package/src/models/TrmRiskType.js +35 -0
  162. package/src/models/TrmRuleField.cjs +54 -0
  163. package/src/models/TrmRuleField.d.ts +37 -0
  164. package/src/models/TrmRuleField.js +48 -0
  165. package/src/models/TrmRuleNode.cjs +48 -0
  166. package/src/models/TrmRuleNode.d.ts +68 -0
  167. package/src/models/TrmRuleNode.js +42 -0
  168. package/src/models/index.d.ts +19 -0
@@ -0,0 +1,35 @@
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 { ChainalysisRuleNode } from './ChainalysisRuleNode';
13
+ import { ScreeningPostScreenAction } from './ScreeningPostScreenAction';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ChainalysisPostScreenRule
18
+ */
19
+ export interface ChainalysisPostScreenRule {
20
+ /**
21
+ *
22
+ * @type {ChainalysisRuleNode}
23
+ * @memberof ChainalysisPostScreenRule
24
+ */
25
+ when: ChainalysisRuleNode;
26
+ /**
27
+ *
28
+ * @type {ScreeningPostScreenAction}
29
+ * @memberof ChainalysisPostScreenRule
30
+ */
31
+ then: ScreeningPostScreenAction;
32
+ }
33
+ export declare function ChainalysisPostScreenRuleFromJSON(json: any): ChainalysisPostScreenRule;
34
+ export declare function ChainalysisPostScreenRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChainalysisPostScreenRule;
35
+ export declare function ChainalysisPostScreenRuleToJSON(value?: ChainalysisPostScreenRule | null): any;
@@ -0,0 +1,30 @@
1
+ import { ChainalysisRuleNodeFromJSON, ChainalysisRuleNodeToJSON } from './ChainalysisRuleNode.js';
2
+ import { ScreeningPostScreenActionFromJSON, ScreeningPostScreenActionToJSON } from './ScreeningPostScreenAction.js';
3
+
4
+ /* tslint:disable */
5
+ function ChainalysisPostScreenRuleFromJSON(json) {
6
+ return ChainalysisPostScreenRuleFromJSONTyped(json);
7
+ }
8
+ function ChainalysisPostScreenRuleFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'when': ChainalysisRuleNodeFromJSON(json['when']),
14
+ 'then': ScreeningPostScreenActionFromJSON(json['then']),
15
+ };
16
+ }
17
+ function ChainalysisPostScreenRuleToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'when': ChainalysisRuleNodeToJSON(value.when),
26
+ 'then': ScreeningPostScreenActionToJSON(value.then),
27
+ };
28
+ }
29
+
30
+ export { ChainalysisPostScreenRuleFromJSON, ChainalysisPostScreenRuleFromJSONTyped, ChainalysisPostScreenRuleToJSON };
@@ -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
+ * Ordered scale; comparisons rank Low below Medium below High below Severe.
20
+ * Operands outside it are rejected by the validator.
21
+ * @export
22
+ * @enum {string}
23
+ */
24
+ exports.ChainalysisRiskLevel = void 0;
25
+ (function (ChainalysisRiskLevel) {
26
+ ChainalysisRiskLevel["Low"] = "Low";
27
+ ChainalysisRiskLevel["Medium"] = "Medium";
28
+ ChainalysisRiskLevel["High"] = "High";
29
+ ChainalysisRiskLevel["Severe"] = "Severe";
30
+ })(exports.ChainalysisRiskLevel || (exports.ChainalysisRiskLevel = {}));
31
+ function ChainalysisRiskLevelFromJSON(json) {
32
+ return ChainalysisRiskLevelFromJSONTyped(json);
33
+ }
34
+ function ChainalysisRiskLevelFromJSONTyped(json, ignoreDiscriminator) {
35
+ return json;
36
+ }
37
+ function ChainalysisRiskLevelToJSON(value) {
38
+ return value;
39
+ }
40
+
41
+ exports.ChainalysisRiskLevelFromJSON = ChainalysisRiskLevelFromJSON;
42
+ exports.ChainalysisRiskLevelFromJSONTyped = ChainalysisRiskLevelFromJSONTyped;
43
+ exports.ChainalysisRiskLevelToJSON = ChainalysisRiskLevelToJSON;
@@ -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
+ * Ordered scale; comparisons rank Low below Medium below High below Severe.
14
+ * Operands outside it are rejected by the validator.
15
+ * @export
16
+ * @enum {string}
17
+ */
18
+ export declare enum ChainalysisRiskLevel {
19
+ Low = "Low",
20
+ Medium = "Medium",
21
+ High = "High",
22
+ Severe = "Severe"
23
+ }
24
+ export declare function ChainalysisRiskLevelFromJSON(json: any): ChainalysisRiskLevel;
25
+ export declare function ChainalysisRiskLevelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChainalysisRiskLevel;
26
+ export declare function ChainalysisRiskLevelToJSON(value?: ChainalysisRiskLevel | 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
+ * Ordered scale; comparisons rank Low below Medium below High below Severe.
16
+ * Operands outside it are rejected by the validator.
17
+ * @export
18
+ * @enum {string}
19
+ */
20
+ var ChainalysisRiskLevel;
21
+ (function (ChainalysisRiskLevel) {
22
+ ChainalysisRiskLevel["Low"] = "Low";
23
+ ChainalysisRiskLevel["Medium"] = "Medium";
24
+ ChainalysisRiskLevel["High"] = "High";
25
+ ChainalysisRiskLevel["Severe"] = "Severe";
26
+ })(ChainalysisRiskLevel || (ChainalysisRiskLevel = {}));
27
+ function ChainalysisRiskLevelFromJSON(json) {
28
+ return ChainalysisRiskLevelFromJSONTyped(json);
29
+ }
30
+ function ChainalysisRiskLevelFromJSONTyped(json, ignoreDiscriminator) {
31
+ return json;
32
+ }
33
+ function ChainalysisRiskLevelToJSON(value) {
34
+ return value;
35
+ }
36
+
37
+ export { ChainalysisRiskLevel, ChainalysisRiskLevelFromJSON, ChainalysisRiskLevelFromJSONTyped, ChainalysisRiskLevelToJSON };
@@ -0,0 +1,60 @@
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
+ * Absolute paths compare against the response; bare names compare against the
20
+ * bound element of the enclosing `exists`. Categories lowercase both sides
21
+ * before matching, which is how the vendor returns them. `risk` and
22
+ * `ruleTriggered.risk` are the ordered scale Low, Medium, High, Severe, and a
23
+ * vendor value off that scale evaluates to unknown rather than to a neighbour.
24
+ * `cluster` and `ruleTriggered` are nullable, so a field beneath either is
25
+ * unknown when the parent is absent.
26
+ * @export
27
+ * @enum {string}
28
+ */
29
+ exports.ChainalysisRuleField = void 0;
30
+ (function (ChainalysisRuleField) {
31
+ ChainalysisRuleField["TxAmountUsd"] = "tx.amountUsd";
32
+ ChainalysisRuleField["TxAsset"] = "tx.asset";
33
+ ChainalysisRuleField["Chain"] = "chain";
34
+ ChainalysisRuleField["Address"] = "address";
35
+ ChainalysisRuleField["ChainalysisRisk"] = "chainalysis.risk";
36
+ ChainalysisRuleField["ChainalysisRiskReason"] = "chainalysis.riskReason";
37
+ ChainalysisRuleField["ChainalysisClusterCategory"] = "chainalysis.cluster.category";
38
+ ChainalysisRuleField["ChainalysisClusterName"] = "chainalysis.cluster.name";
39
+ ChainalysisRuleField["Category"] = "category";
40
+ ChainalysisRuleField["ExposureType"] = "exposureType";
41
+ ChainalysisRuleField["Direction"] = "direction";
42
+ ChainalysisRuleField["Value"] = "value";
43
+ ChainalysisRuleField["Percentage"] = "percentage";
44
+ ChainalysisRuleField["RuleTriggeredRisk"] = "ruleTriggered.risk";
45
+ ChainalysisRuleField["RuleTriggeredExposureType"] = "ruleTriggered.exposureType";
46
+ ChainalysisRuleField["RuleTriggeredDirection"] = "ruleTriggered.direction";
47
+ })(exports.ChainalysisRuleField || (exports.ChainalysisRuleField = {}));
48
+ function ChainalysisRuleFieldFromJSON(json) {
49
+ return ChainalysisRuleFieldFromJSONTyped(json);
50
+ }
51
+ function ChainalysisRuleFieldFromJSONTyped(json, ignoreDiscriminator) {
52
+ return json;
53
+ }
54
+ function ChainalysisRuleFieldToJSON(value) {
55
+ return value;
56
+ }
57
+
58
+ exports.ChainalysisRuleFieldFromJSON = ChainalysisRuleFieldFromJSON;
59
+ exports.ChainalysisRuleFieldFromJSONTyped = ChainalysisRuleFieldFromJSONTyped;
60
+ exports.ChainalysisRuleFieldToJSON = ChainalysisRuleFieldToJSON;
@@ -0,0 +1,43 @@
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
+ * Absolute paths compare against the response; bare names compare against the
14
+ * bound element of the enclosing `exists`. Categories lowercase both sides
15
+ * before matching, which is how the vendor returns them. `risk` and
16
+ * `ruleTriggered.risk` are the ordered scale Low, Medium, High, Severe, and a
17
+ * vendor value off that scale evaluates to unknown rather than to a neighbour.
18
+ * `cluster` and `ruleTriggered` are nullable, so a field beneath either is
19
+ * unknown when the parent is absent.
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ export declare enum ChainalysisRuleField {
24
+ TxAmountUsd = "tx.amountUsd",
25
+ TxAsset = "tx.asset",
26
+ Chain = "chain",
27
+ Address = "address",
28
+ ChainalysisRisk = "chainalysis.risk",
29
+ ChainalysisRiskReason = "chainalysis.riskReason",
30
+ ChainalysisClusterCategory = "chainalysis.cluster.category",
31
+ ChainalysisClusterName = "chainalysis.cluster.name",
32
+ Category = "category",
33
+ ExposureType = "exposureType",
34
+ Direction = "direction",
35
+ Value = "value",
36
+ Percentage = "percentage",
37
+ RuleTriggeredRisk = "ruleTriggered.risk",
38
+ RuleTriggeredExposureType = "ruleTriggered.exposureType",
39
+ RuleTriggeredDirection = "ruleTriggered.direction"
40
+ }
41
+ export declare function ChainalysisRuleFieldFromJSON(json: any): ChainalysisRuleField;
42
+ export declare function ChainalysisRuleFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChainalysisRuleField;
43
+ export declare function ChainalysisRuleFieldToJSON(value?: ChainalysisRuleField | null): any;
@@ -0,0 +1,54 @@
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
+ * Absolute paths compare against the response; bare names compare against the
16
+ * bound element of the enclosing `exists`. Categories lowercase both sides
17
+ * before matching, which is how the vendor returns them. `risk` and
18
+ * `ruleTriggered.risk` are the ordered scale Low, Medium, High, Severe, and a
19
+ * vendor value off that scale evaluates to unknown rather than to a neighbour.
20
+ * `cluster` and `ruleTriggered` are nullable, so a field beneath either is
21
+ * unknown when the parent is absent.
22
+ * @export
23
+ * @enum {string}
24
+ */
25
+ var ChainalysisRuleField;
26
+ (function (ChainalysisRuleField) {
27
+ ChainalysisRuleField["TxAmountUsd"] = "tx.amountUsd";
28
+ ChainalysisRuleField["TxAsset"] = "tx.asset";
29
+ ChainalysisRuleField["Chain"] = "chain";
30
+ ChainalysisRuleField["Address"] = "address";
31
+ ChainalysisRuleField["ChainalysisRisk"] = "chainalysis.risk";
32
+ ChainalysisRuleField["ChainalysisRiskReason"] = "chainalysis.riskReason";
33
+ ChainalysisRuleField["ChainalysisClusterCategory"] = "chainalysis.cluster.category";
34
+ ChainalysisRuleField["ChainalysisClusterName"] = "chainalysis.cluster.name";
35
+ ChainalysisRuleField["Category"] = "category";
36
+ ChainalysisRuleField["ExposureType"] = "exposureType";
37
+ ChainalysisRuleField["Direction"] = "direction";
38
+ ChainalysisRuleField["Value"] = "value";
39
+ ChainalysisRuleField["Percentage"] = "percentage";
40
+ ChainalysisRuleField["RuleTriggeredRisk"] = "ruleTriggered.risk";
41
+ ChainalysisRuleField["RuleTriggeredExposureType"] = "ruleTriggered.exposureType";
42
+ ChainalysisRuleField["RuleTriggeredDirection"] = "ruleTriggered.direction";
43
+ })(ChainalysisRuleField || (ChainalysisRuleField = {}));
44
+ function ChainalysisRuleFieldFromJSON(json) {
45
+ return ChainalysisRuleFieldFromJSONTyped(json);
46
+ }
47
+ function ChainalysisRuleFieldFromJSONTyped(json, ignoreDiscriminator) {
48
+ return json;
49
+ }
50
+ function ChainalysisRuleFieldToJSON(value) {
51
+ return value;
52
+ }
53
+
54
+ export { ChainalysisRuleField, ChainalysisRuleFieldFromJSON, ChainalysisRuleFieldFromJSONTyped, ChainalysisRuleFieldToJSON };
@@ -0,0 +1,48 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var ChainalysisExists = require('./ChainalysisExists.cjs');
7
+ var ChainalysisRuleField = require('./ChainalysisRuleField.cjs');
8
+ var ScreeningOperator = require('./ScreeningOperator.cjs');
9
+
10
+ /* tslint:disable */
11
+ function ChainalysisRuleNodeFromJSON(json) {
12
+ return ChainalysisRuleNodeFromJSONTyped(json);
13
+ }
14
+ function ChainalysisRuleNodeFromJSONTyped(json, ignoreDiscriminator) {
15
+ if ((json === undefined) || (json === null)) {
16
+ return json;
17
+ }
18
+ return {
19
+ 'all': !runtime.exists(json, 'all') ? undefined : (json['all'].map(ChainalysisRuleNodeFromJSON)),
20
+ 'any': !runtime.exists(json, 'any') ? undefined : (json['any'].map(ChainalysisRuleNodeFromJSON)),
21
+ 'not': !runtime.exists(json, 'not') ? undefined : ChainalysisRuleNodeFromJSON(json['not']),
22
+ '_exists': !runtime.exists(json, 'exists') ? undefined : ChainalysisExists.ChainalysisExistsFromJSON(json['exists']),
23
+ 'field': !runtime.exists(json, 'field') ? undefined : ChainalysisRuleField.ChainalysisRuleFieldFromJSON(json['field']),
24
+ 'op': !runtime.exists(json, 'op') ? undefined : ScreeningOperator.ScreeningOperatorFromJSON(json['op']),
25
+ 'value': !runtime.exists(json, 'value') ? undefined : json['value'],
26
+ };
27
+ }
28
+ function ChainalysisRuleNodeToJSON(value) {
29
+ if (value === undefined) {
30
+ return undefined;
31
+ }
32
+ if (value === null) {
33
+ return null;
34
+ }
35
+ return {
36
+ 'all': value.all === undefined ? undefined : (value.all.map(ChainalysisRuleNodeToJSON)),
37
+ 'any': value.any === undefined ? undefined : (value.any.map(ChainalysisRuleNodeToJSON)),
38
+ 'not': ChainalysisRuleNodeToJSON(value.not),
39
+ 'exists': ChainalysisExists.ChainalysisExistsToJSON(value._exists),
40
+ 'field': ChainalysisRuleField.ChainalysisRuleFieldToJSON(value.field),
41
+ 'op': ScreeningOperator.ScreeningOperatorToJSON(value.op),
42
+ 'value': value.value,
43
+ };
44
+ }
45
+
46
+ exports.ChainalysisRuleNodeFromJSON = ChainalysisRuleNodeFromJSON;
47
+ exports.ChainalysisRuleNodeFromJSONTyped = ChainalysisRuleNodeFromJSONTyped;
48
+ exports.ChainalysisRuleNodeToJSON = ChainalysisRuleNodeToJSON;
@@ -0,0 +1,68 @@
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 { ChainalysisExists } from './ChainalysisExists';
13
+ import { ChainalysisRuleField } from './ChainalysisRuleField';
14
+ import { ScreeningOperator } from './ScreeningOperator';
15
+ /**
16
+ * Boolean expression over Chainalysis signals. Exactly one of `all`, `any`,
17
+ * `not`, `exists`, or a `field`/`op`/`value` comparison.
18
+ * @export
19
+ * @interface ChainalysisRuleNode
20
+ */
21
+ export interface ChainalysisRuleNode {
22
+ /**
23
+ *
24
+ * @type {Array<ChainalysisRuleNode>}
25
+ * @memberof ChainalysisRuleNode
26
+ */
27
+ all?: Array<ChainalysisRuleNode>;
28
+ /**
29
+ *
30
+ * @type {Array<ChainalysisRuleNode>}
31
+ * @memberof ChainalysisRuleNode
32
+ */
33
+ any?: Array<ChainalysisRuleNode>;
34
+ /**
35
+ *
36
+ * @type {ChainalysisRuleNode}
37
+ * @memberof ChainalysisRuleNode
38
+ */
39
+ not?: ChainalysisRuleNode;
40
+ /**
41
+ *
42
+ * @type {ChainalysisExists}
43
+ * @memberof ChainalysisRuleNode
44
+ */
45
+ _exists?: ChainalysisExists;
46
+ /**
47
+ *
48
+ * @type {ChainalysisRuleField}
49
+ * @memberof ChainalysisRuleNode
50
+ */
51
+ field?: ChainalysisRuleField;
52
+ /**
53
+ *
54
+ * @type {ScreeningOperator}
55
+ * @memberof ChainalysisRuleNode
56
+ */
57
+ op?: ScreeningOperator;
58
+ /**
59
+ * Value to compare against: a scalar, or a list of at most 200 for `in` and
60
+ * `nin`. Its type has to match the field's, which the validator checks.
61
+ * @type {any}
62
+ * @memberof ChainalysisRuleNode
63
+ */
64
+ value?: any | null;
65
+ }
66
+ export declare function ChainalysisRuleNodeFromJSON(json: any): ChainalysisRuleNode;
67
+ export declare function ChainalysisRuleNodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChainalysisRuleNode;
68
+ export declare function ChainalysisRuleNodeToJSON(value?: ChainalysisRuleNode | null): any;
@@ -0,0 +1,42 @@
1
+ import { exists } from '../runtime.js';
2
+ import { ChainalysisExistsFromJSON, ChainalysisExistsToJSON } from './ChainalysisExists.js';
3
+ import { ChainalysisRuleFieldFromJSON, ChainalysisRuleFieldToJSON } from './ChainalysisRuleField.js';
4
+ import { ScreeningOperatorFromJSON, ScreeningOperatorToJSON } from './ScreeningOperator.js';
5
+
6
+ /* tslint:disable */
7
+ function ChainalysisRuleNodeFromJSON(json) {
8
+ return ChainalysisRuleNodeFromJSONTyped(json);
9
+ }
10
+ function ChainalysisRuleNodeFromJSONTyped(json, ignoreDiscriminator) {
11
+ if ((json === undefined) || (json === null)) {
12
+ return json;
13
+ }
14
+ return {
15
+ 'all': !exists(json, 'all') ? undefined : (json['all'].map(ChainalysisRuleNodeFromJSON)),
16
+ 'any': !exists(json, 'any') ? undefined : (json['any'].map(ChainalysisRuleNodeFromJSON)),
17
+ 'not': !exists(json, 'not') ? undefined : ChainalysisRuleNodeFromJSON(json['not']),
18
+ '_exists': !exists(json, 'exists') ? undefined : ChainalysisExistsFromJSON(json['exists']),
19
+ 'field': !exists(json, 'field') ? undefined : ChainalysisRuleFieldFromJSON(json['field']),
20
+ 'op': !exists(json, 'op') ? undefined : ScreeningOperatorFromJSON(json['op']),
21
+ 'value': !exists(json, 'value') ? undefined : json['value'],
22
+ };
23
+ }
24
+ function ChainalysisRuleNodeToJSON(value) {
25
+ if (value === undefined) {
26
+ return undefined;
27
+ }
28
+ if (value === null) {
29
+ return null;
30
+ }
31
+ return {
32
+ 'all': value.all === undefined ? undefined : (value.all.map(ChainalysisRuleNodeToJSON)),
33
+ 'any': value.any === undefined ? undefined : (value.any.map(ChainalysisRuleNodeToJSON)),
34
+ 'not': ChainalysisRuleNodeToJSON(value.not),
35
+ 'exists': ChainalysisExistsToJSON(value._exists),
36
+ 'field': ChainalysisRuleFieldToJSON(value.field),
37
+ 'op': ScreeningOperatorToJSON(value.op),
38
+ 'value': value.value,
39
+ };
40
+ }
41
+
42
+ export { ChainalysisRuleNodeFromJSON, ChainalysisRuleNodeFromJSONTyped, ChainalysisRuleNodeToJSON };
@@ -59,6 +59,7 @@ function FlowFromJSONTyped(json, ignoreDiscriminator) {
59
59
  'depositAddress': !runtime.exists(json, 'depositAddress') ? undefined : json['depositAddress'],
60
60
  'exchangeSource': !runtime.exists(json, 'exchangeSource') ? undefined : FlowExchangeSource.FlowExchangeSourceFromJSON(json['exchangeSource']),
61
61
  'pegStablecoins': !runtime.exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
62
+ 'disableSwaps': !runtime.exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
62
63
  'settlementConfig': !runtime.exists(json, 'settlementConfig') ? undefined : SettlementConfigInput.SettlementConfigInputFromJSON(json['settlementConfig']),
63
64
  'destinationConfig': !runtime.exists(json, 'destinationConfig') ? undefined : DestinationConfigInput.DestinationConfigInputFromJSON(json['destinationConfig']),
64
65
  };
@@ -105,6 +106,7 @@ function FlowToJSON(value) {
105
106
  'depositAddress': value.depositAddress,
106
107
  'exchangeSource': FlowExchangeSource.FlowExchangeSourceToJSON(value.exchangeSource),
107
108
  'pegStablecoins': value.pegStablecoins,
109
+ 'disableSwaps': value.disableSwaps,
108
110
  'settlementConfig': SettlementConfigInput.SettlementConfigInputToJSON(value.settlementConfig),
109
111
  'destinationConfig': DestinationConfigInput.DestinationConfigInputToJSON(value.destinationConfig),
110
112
  };
@@ -231,6 +231,12 @@ export interface Flow {
231
231
  * @memberof Flow
232
232
  */
233
233
  pegStablecoins?: boolean;
234
+ /**
235
+ * When true, the flow will not be quoted through swap providers; the payer must supply a token/chain already accepted by the settlement config. Defaults to false.
236
+ * @type {boolean}
237
+ * @memberof Flow
238
+ */
239
+ disableSwaps?: boolean;
234
240
  /**
235
241
  *
236
242
  * @type {SettlementConfigInput}
@@ -55,6 +55,7 @@ function FlowFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'depositAddress': !exists(json, 'depositAddress') ? undefined : json['depositAddress'],
56
56
  'exchangeSource': !exists(json, 'exchangeSource') ? undefined : FlowExchangeSourceFromJSON(json['exchangeSource']),
57
57
  'pegStablecoins': !exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
58
+ 'disableSwaps': !exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
58
59
  'settlementConfig': !exists(json, 'settlementConfig') ? undefined : SettlementConfigInputFromJSON(json['settlementConfig']),
59
60
  'destinationConfig': !exists(json, 'destinationConfig') ? undefined : DestinationConfigInputFromJSON(json['destinationConfig']),
60
61
  };
@@ -101,6 +102,7 @@ function FlowToJSON(value) {
101
102
  'depositAddress': value.depositAddress,
102
103
  'exchangeSource': FlowExchangeSourceToJSON(value.exchangeSource),
103
104
  'pegStablecoins': value.pegStablecoins,
105
+ 'disableSwaps': value.disableSwaps,
104
106
  'settlementConfig': SettlementConfigInputToJSON(value.settlementConfig),
105
107
  'destinationConfig': DestinationConfigInputToJSON(value.destinationConfig),
106
108
  };
@@ -24,6 +24,7 @@ function FlowCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
24
24
  'feeConfig': !runtime.exists(json, 'feeConfig') ? undefined : FlowFeeConfig.FlowFeeConfigFromJSON(json['feeConfig']),
25
25
  'expiresIn': !runtime.exists(json, 'expiresIn') ? undefined : json['expiresIn'],
26
26
  'pegStablecoins': !runtime.exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
27
+ 'disableSwaps': !runtime.exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
27
28
  };
28
29
  }
29
30
  function FlowCreateRequestToJSON(value) {
@@ -42,6 +43,7 @@ function FlowCreateRequestToJSON(value) {
42
43
  'feeConfig': FlowFeeConfig.FlowFeeConfigToJSON(value.feeConfig),
43
44
  'expiresIn': value.expiresIn,
44
45
  'pegStablecoins': value.pegStablecoins,
46
+ 'disableSwaps': value.disableSwaps,
45
47
  };
46
48
  }
47
49
 
@@ -66,6 +66,12 @@ export interface FlowCreateRequest {
66
66
  * @memberof FlowCreateRequest
67
67
  */
68
68
  pegStablecoins?: boolean;
69
+ /**
70
+ * When true, this flow will not be quoted through swap providers; the payer must supply a token/chain already accepted by the settlement config. Defaults to false.
71
+ * @type {boolean}
72
+ * @memberof FlowCreateRequest
73
+ */
74
+ disableSwaps?: boolean;
69
75
  }
70
76
  export declare function FlowCreateRequestFromJSON(json: any): FlowCreateRequest;
71
77
  export declare function FlowCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowCreateRequest;
@@ -20,6 +20,7 @@ function FlowCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
20
20
  'feeConfig': !exists(json, 'feeConfig') ? undefined : FlowFeeConfigFromJSON(json['feeConfig']),
21
21
  'expiresIn': !exists(json, 'expiresIn') ? undefined : json['expiresIn'],
22
22
  'pegStablecoins': !exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
23
+ 'disableSwaps': !exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
23
24
  };
24
25
  }
25
26
  function FlowCreateRequestToJSON(value) {
@@ -38,6 +39,7 @@ function FlowCreateRequestToJSON(value) {
38
39
  'feeConfig': FlowFeeConfigToJSON(value.feeConfig),
39
40
  'expiresIn': value.expiresIn,
40
41
  'pegStablecoins': value.pegStablecoins,
42
+ 'disableSwaps': value.disableSwaps,
41
43
  };
42
44
  }
43
45
 
@@ -24,6 +24,7 @@ function FlowPaymentLinkCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
24
24
  'feeConfig': !runtime.exists(json, 'feeConfig') ? undefined : FlowFeeConfig.FlowFeeConfigFromJSON(json['feeConfig']),
25
25
  'expiresIn': !runtime.exists(json, 'expiresIn') ? undefined : json['expiresIn'],
26
26
  'pegStablecoins': !runtime.exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
27
+ 'disableSwaps': !runtime.exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
27
28
  'baseUrl': json['baseUrl'],
28
29
  };
29
30
  }
@@ -43,6 +44,7 @@ function FlowPaymentLinkCreateRequestToJSON(value) {
43
44
  'feeConfig': FlowFeeConfig.FlowFeeConfigToJSON(value.feeConfig),
44
45
  'expiresIn': value.expiresIn,
45
46
  'pegStablecoins': value.pegStablecoins,
47
+ 'disableSwaps': value.disableSwaps,
46
48
  'baseUrl': value.baseUrl,
47
49
  };
48
50
  }
@@ -66,6 +66,12 @@ export interface FlowPaymentLinkCreateRequest {
66
66
  * @memberof FlowPaymentLinkCreateRequest
67
67
  */
68
68
  pegStablecoins?: boolean;
69
+ /**
70
+ * When true, this flow will not be quoted through swap providers; the payer must supply a token/chain already accepted by the settlement config. Defaults to false.
71
+ * @type {boolean}
72
+ * @memberof FlowPaymentLinkCreateRequest
73
+ */
74
+ disableSwaps?: boolean;
69
75
  /**
70
76
  * Merchant-hosted payer app URL
71
77
  * @type {string}
@@ -20,6 +20,7 @@ function FlowPaymentLinkCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
20
20
  'feeConfig': !exists(json, 'feeConfig') ? undefined : FlowFeeConfigFromJSON(json['feeConfig']),
21
21
  'expiresIn': !exists(json, 'expiresIn') ? undefined : json['expiresIn'],
22
22
  'pegStablecoins': !exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
23
+ 'disableSwaps': !exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
23
24
  'baseUrl': json['baseUrl'],
24
25
  };
25
26
  }
@@ -39,6 +40,7 @@ function FlowPaymentLinkCreateRequestToJSON(value) {
39
40
  'feeConfig': FlowFeeConfigToJSON(value.feeConfig),
40
41
  'expiresIn': value.expiresIn,
41
42
  'pegStablecoins': value.pegStablecoins,
43
+ 'disableSwaps': value.disableSwaps,
42
44
  'baseUrl': value.baseUrl,
43
45
  };
44
46
  }