@dynamic-labs/sdk-api 0.15.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 (171) 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/SignMessageContext.cjs +2 -0
  151. package/src/models/SignMessageContext.d.ts +6 -0
  152. package/src/models/SignMessageContext.js +2 -0
  153. package/src/models/TrmExists.cjs +44 -0
  154. package/src/models/TrmExists.d.ts +44 -0
  155. package/src/models/TrmExists.js +38 -0
  156. package/src/models/TrmPolicyRules.cjs +37 -0
  157. package/src/models/TrmPolicyRules.d.ts +36 -0
  158. package/src/models/TrmPolicyRules.js +31 -0
  159. package/src/models/TrmPostScreenRule.cjs +36 -0
  160. package/src/models/TrmPostScreenRule.d.ts +35 -0
  161. package/src/models/TrmPostScreenRule.js +30 -0
  162. package/src/models/TrmRiskType.cjs +41 -0
  163. package/src/models/TrmRiskType.d.ts +24 -0
  164. package/src/models/TrmRiskType.js +35 -0
  165. package/src/models/TrmRuleField.cjs +54 -0
  166. package/src/models/TrmRuleField.d.ts +37 -0
  167. package/src/models/TrmRuleField.js +48 -0
  168. package/src/models/TrmRuleNode.cjs +48 -0
  169. package/src/models/TrmRuleNode.d.ts +68 -0
  170. package/src/models/TrmRuleNode.js +42 -0
  171. package/src/models/index.d.ts +19 -0
@@ -0,0 +1,30 @@
1
+ import { ScreeningPreScreenActionFromJSON, ScreeningPreScreenActionToJSON } from './ScreeningPreScreenAction.js';
2
+ import { ScreeningPreScreenNodeFromJSON, ScreeningPreScreenNodeToJSON } from './ScreeningPreScreenNode.js';
3
+
4
+ /* tslint:disable */
5
+ function ScreeningPreScreenRuleFromJSON(json) {
6
+ return ScreeningPreScreenRuleFromJSONTyped(json);
7
+ }
8
+ function ScreeningPreScreenRuleFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'when': ScreeningPreScreenNodeFromJSON(json['when']),
14
+ 'then': ScreeningPreScreenActionFromJSON(json['then']),
15
+ };
16
+ }
17
+ function ScreeningPreScreenRuleToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'when': ScreeningPreScreenNodeToJSON(value.when),
26
+ 'then': ScreeningPreScreenActionToJSON(value.then),
27
+ };
28
+ }
29
+
30
+ export { ScreeningPreScreenRuleFromJSON, ScreeningPreScreenRuleFromJSONTyped, ScreeningPreScreenRuleToJSON };
@@ -32,6 +32,7 @@ function SignMessageContextFromJSONTyped(json, ignoreDiscriminator) {
32
32
  'svmMessage': !runtime.exists(json, 'svmMessage') ? undefined : json['svmMessage'],
33
33
  'suiMessage': !runtime.exists(json, 'suiMessage') ? undefined : json['suiMessage'],
34
34
  'stellarMessage': !runtime.exists(json, 'stellarMessage') ? undefined : json['stellarMessage'],
35
+ 'aleoMessage': !runtime.exists(json, 'aleoMessage') ? undefined : json['aleoMessage'],
35
36
  'evmTypedData': !runtime.exists(json, 'evmTypedData') ? undefined : SignMessageEvmTypedData.SignMessageEvmTypedDataFromJSON(json['evmTypedData']),
36
37
  'rawSign': !runtime.exists(json, 'rawSign') ? undefined : SignMessageRawSign.SignMessageRawSignFromJSON(json['rawSign']),
37
38
  'domain': !runtime.exists(json, 'domain') ? undefined : json['domain'],
@@ -55,6 +56,7 @@ function SignMessageContextToJSON(value) {
55
56
  'svmMessage': value.svmMessage,
56
57
  'suiMessage': value.suiMessage,
57
58
  'stellarMessage': value.stellarMessage,
59
+ 'aleoMessage': value.aleoMessage,
58
60
  'evmTypedData': SignMessageEvmTypedData.SignMessageEvmTypedDataToJSON(value.evmTypedData),
59
61
  'rawSign': SignMessageRawSign.SignMessageRawSignToJSON(value.rawSign),
60
62
  'domain': value.domain,
@@ -84,6 +84,12 @@ export interface SignMessageContext {
84
84
  * @memberof SignMessageContext
85
85
  */
86
86
  stellarMessage?: string;
87
+ /**
88
+ * A string with a max length of 204800 characters
89
+ * @type {string}
90
+ * @memberof SignMessageContext
91
+ */
92
+ aleoMessage?: string;
87
93
  /**
88
94
  *
89
95
  * @type {SignMessageEvmTypedData}
@@ -28,6 +28,7 @@ function SignMessageContextFromJSONTyped(json, ignoreDiscriminator) {
28
28
  'svmMessage': !exists(json, 'svmMessage') ? undefined : json['svmMessage'],
29
29
  'suiMessage': !exists(json, 'suiMessage') ? undefined : json['suiMessage'],
30
30
  'stellarMessage': !exists(json, 'stellarMessage') ? undefined : json['stellarMessage'],
31
+ 'aleoMessage': !exists(json, 'aleoMessage') ? undefined : json['aleoMessage'],
31
32
  'evmTypedData': !exists(json, 'evmTypedData') ? undefined : SignMessageEvmTypedDataFromJSON(json['evmTypedData']),
32
33
  'rawSign': !exists(json, 'rawSign') ? undefined : SignMessageRawSignFromJSON(json['rawSign']),
33
34
  'domain': !exists(json, 'domain') ? undefined : json['domain'],
@@ -51,6 +52,7 @@ function SignMessageContextToJSON(value) {
51
52
  'svmMessage': value.svmMessage,
52
53
  'suiMessage': value.suiMessage,
53
54
  'stellarMessage': value.stellarMessage,
55
+ 'aleoMessage': value.aleoMessage,
54
56
  'evmTypedData': SignMessageEvmTypedDataToJSON(value.evmTypedData),
55
57
  'rawSign': SignMessageRawSignToJSON(value.rawSign),
56
58
  'domain': value.domain,
@@ -0,0 +1,44 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var TrmRuleNode = require('./TrmRuleNode.cjs');
6
+
7
+ /* tslint:disable */
8
+ /**
9
+ * @export
10
+ * @enum {string}
11
+ */
12
+ exports.TrmExistsInEnum = void 0;
13
+ (function (TrmExistsInEnum) {
14
+ TrmExistsInEnum["AddressRiskIndicators"] = "trm.addressRiskIndicators";
15
+ TrmExistsInEnum["Entities"] = "trm.entities";
16
+ })(exports.TrmExistsInEnum || (exports.TrmExistsInEnum = {}));
17
+ function TrmExistsFromJSON(json) {
18
+ return TrmExistsFromJSONTyped(json);
19
+ }
20
+ function TrmExistsFromJSONTyped(json, ignoreDiscriminator) {
21
+ if ((json === undefined) || (json === null)) {
22
+ return json;
23
+ }
24
+ return {
25
+ '_in': json['in'],
26
+ 'where': TrmRuleNode.TrmRuleNodeFromJSON(json['where']),
27
+ };
28
+ }
29
+ function TrmExistsToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'in': value._in,
38
+ 'where': TrmRuleNode.TrmRuleNodeToJSON(value.where),
39
+ };
40
+ }
41
+
42
+ exports.TrmExistsFromJSON = TrmExistsFromJSON;
43
+ exports.TrmExistsFromJSONTyped = TrmExistsFromJSONTyped;
44
+ exports.TrmExistsToJSON = TrmExistsToJSON;
@@ -0,0 +1,44 @@
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 { TrmRuleNode } from './TrmRuleNode';
13
+ /**
14
+ * Quantifier over one TRM array. Every qualifier in `where` binds to the same
15
+ * element, so indicators cannot be combined across array entries. Fields inside
16
+ * `where` name the element's own properties.
17
+ * @export
18
+ * @interface TrmExists
19
+ */
20
+ export interface TrmExists {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof TrmExists
25
+ */
26
+ _in: TrmExistsInEnum;
27
+ /**
28
+ *
29
+ * @type {TrmRuleNode}
30
+ * @memberof TrmExists
31
+ */
32
+ where: TrmRuleNode;
33
+ }
34
+ /**
35
+ * @export
36
+ * @enum {string}
37
+ */
38
+ export declare enum TrmExistsInEnum {
39
+ AddressRiskIndicators = "trm.addressRiskIndicators",
40
+ Entities = "trm.entities"
41
+ }
42
+ export declare function TrmExistsFromJSON(json: any): TrmExists;
43
+ export declare function TrmExistsFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrmExists;
44
+ export declare function TrmExistsToJSON(value?: TrmExists | null): any;
@@ -0,0 +1,38 @@
1
+ import { TrmRuleNodeFromJSON, TrmRuleNodeToJSON } from './TrmRuleNode.js';
2
+
3
+ /* tslint:disable */
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var TrmExistsInEnum;
9
+ (function (TrmExistsInEnum) {
10
+ TrmExistsInEnum["AddressRiskIndicators"] = "trm.addressRiskIndicators";
11
+ TrmExistsInEnum["Entities"] = "trm.entities";
12
+ })(TrmExistsInEnum || (TrmExistsInEnum = {}));
13
+ function TrmExistsFromJSON(json) {
14
+ return TrmExistsFromJSONTyped(json);
15
+ }
16
+ function TrmExistsFromJSONTyped(json, ignoreDiscriminator) {
17
+ if ((json === undefined) || (json === null)) {
18
+ return json;
19
+ }
20
+ return {
21
+ '_in': json['in'],
22
+ 'where': TrmRuleNodeFromJSON(json['where']),
23
+ };
24
+ }
25
+ function TrmExistsToJSON(value) {
26
+ if (value === undefined) {
27
+ return undefined;
28
+ }
29
+ if (value === null) {
30
+ return null;
31
+ }
32
+ return {
33
+ 'in': value._in,
34
+ 'where': TrmRuleNodeToJSON(value.where),
35
+ };
36
+ }
37
+
38
+ export { TrmExistsFromJSON, TrmExistsFromJSONTyped, TrmExistsInEnum, TrmExistsToJSON };
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var ScreeningPreScreenRule = require('./ScreeningPreScreenRule.cjs');
7
+ var TrmPostScreenRule = require('./TrmPostScreenRule.cjs');
8
+
9
+ /* tslint:disable */
10
+ function TrmPolicyRulesFromJSON(json) {
11
+ return TrmPolicyRulesFromJSONTyped(json);
12
+ }
13
+ function TrmPolicyRulesFromJSONTyped(json, ignoreDiscriminator) {
14
+ if ((json === undefined) || (json === null)) {
15
+ return json;
16
+ }
17
+ return {
18
+ 'preScreen': !runtime.exists(json, 'preScreen') ? undefined : (json['preScreen'].map(ScreeningPreScreenRule.ScreeningPreScreenRuleFromJSON)),
19
+ 'postScreen': !runtime.exists(json, 'postScreen') ? undefined : (json['postScreen'].map(TrmPostScreenRule.TrmPostScreenRuleFromJSON)),
20
+ };
21
+ }
22
+ function TrmPolicyRulesToJSON(value) {
23
+ if (value === undefined) {
24
+ return undefined;
25
+ }
26
+ if (value === null) {
27
+ return null;
28
+ }
29
+ return {
30
+ 'preScreen': value.preScreen === undefined ? undefined : (value.preScreen.map(ScreeningPreScreenRule.ScreeningPreScreenRuleToJSON)),
31
+ 'postScreen': value.postScreen === undefined ? undefined : (value.postScreen.map(TrmPostScreenRule.TrmPostScreenRuleToJSON)),
32
+ };
33
+ }
34
+
35
+ exports.TrmPolicyRulesFromJSON = TrmPolicyRulesFromJSON;
36
+ exports.TrmPolicyRulesFromJSONTyped = TrmPolicyRulesFromJSONTyped;
37
+ exports.TrmPolicyRulesToJSON = TrmPolicyRulesToJSON;
@@ -0,0 +1,36 @@
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 { ScreeningPreScreenRule } from './ScreeningPreScreenRule';
13
+ import { TrmPostScreenRule } from './TrmPostScreenRule';
14
+ /**
15
+ * Rules for a TRM Wallet Screening policy. An absent or empty `postScreen` is
16
+ * valid and compiles to floor plus ALLOW, which is the pre-policy behavior.
17
+ * @export
18
+ * @interface TrmPolicyRules
19
+ */
20
+ export interface TrmPolicyRules {
21
+ /**
22
+ *
23
+ * @type {Array<ScreeningPreScreenRule>}
24
+ * @memberof TrmPolicyRules
25
+ */
26
+ preScreen?: Array<ScreeningPreScreenRule>;
27
+ /**
28
+ *
29
+ * @type {Array<TrmPostScreenRule>}
30
+ * @memberof TrmPolicyRules
31
+ */
32
+ postScreen?: Array<TrmPostScreenRule>;
33
+ }
34
+ export declare function TrmPolicyRulesFromJSON(json: any): TrmPolicyRules;
35
+ export declare function TrmPolicyRulesFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrmPolicyRules;
36
+ export declare function TrmPolicyRulesToJSON(value?: TrmPolicyRules | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+ import { ScreeningPreScreenRuleFromJSON, ScreeningPreScreenRuleToJSON } from './ScreeningPreScreenRule.js';
3
+ import { TrmPostScreenRuleFromJSON, TrmPostScreenRuleToJSON } from './TrmPostScreenRule.js';
4
+
5
+ /* tslint:disable */
6
+ function TrmPolicyRulesFromJSON(json) {
7
+ return TrmPolicyRulesFromJSONTyped(json);
8
+ }
9
+ function TrmPolicyRulesFromJSONTyped(json, ignoreDiscriminator) {
10
+ if ((json === undefined) || (json === null)) {
11
+ return json;
12
+ }
13
+ return {
14
+ 'preScreen': !exists(json, 'preScreen') ? undefined : (json['preScreen'].map(ScreeningPreScreenRuleFromJSON)),
15
+ 'postScreen': !exists(json, 'postScreen') ? undefined : (json['postScreen'].map(TrmPostScreenRuleFromJSON)),
16
+ };
17
+ }
18
+ function TrmPolicyRulesToJSON(value) {
19
+ if (value === undefined) {
20
+ return undefined;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ 'preScreen': value.preScreen === undefined ? undefined : (value.preScreen.map(ScreeningPreScreenRuleToJSON)),
27
+ 'postScreen': value.postScreen === undefined ? undefined : (value.postScreen.map(TrmPostScreenRuleToJSON)),
28
+ };
29
+ }
30
+
31
+ export { TrmPolicyRulesFromJSON, TrmPolicyRulesFromJSONTyped, TrmPolicyRulesToJSON };
@@ -0,0 +1,36 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var ScreeningPostScreenAction = require('./ScreeningPostScreenAction.cjs');
6
+ var TrmRuleNode = require('./TrmRuleNode.cjs');
7
+
8
+ /* tslint:disable */
9
+ function TrmPostScreenRuleFromJSON(json) {
10
+ return TrmPostScreenRuleFromJSONTyped(json);
11
+ }
12
+ function TrmPostScreenRuleFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'when': TrmRuleNode.TrmRuleNodeFromJSON(json['when']),
18
+ 'then': ScreeningPostScreenAction.ScreeningPostScreenActionFromJSON(json['then']),
19
+ };
20
+ }
21
+ function TrmPostScreenRuleToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'when': TrmRuleNode.TrmRuleNodeToJSON(value.when),
30
+ 'then': ScreeningPostScreenAction.ScreeningPostScreenActionToJSON(value.then),
31
+ };
32
+ }
33
+
34
+ exports.TrmPostScreenRuleFromJSON = TrmPostScreenRuleFromJSON;
35
+ exports.TrmPostScreenRuleFromJSONTyped = TrmPostScreenRuleFromJSONTyped;
36
+ exports.TrmPostScreenRuleToJSON = TrmPostScreenRuleToJSON;
@@ -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 { ScreeningPostScreenAction } from './ScreeningPostScreenAction';
13
+ import { TrmRuleNode } from './TrmRuleNode';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface TrmPostScreenRule
18
+ */
19
+ export interface TrmPostScreenRule {
20
+ /**
21
+ *
22
+ * @type {TrmRuleNode}
23
+ * @memberof TrmPostScreenRule
24
+ */
25
+ when: TrmRuleNode;
26
+ /**
27
+ *
28
+ * @type {ScreeningPostScreenAction}
29
+ * @memberof TrmPostScreenRule
30
+ */
31
+ then: ScreeningPostScreenAction;
32
+ }
33
+ export declare function TrmPostScreenRuleFromJSON(json: any): TrmPostScreenRule;
34
+ export declare function TrmPostScreenRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrmPostScreenRule;
35
+ export declare function TrmPostScreenRuleToJSON(value?: TrmPostScreenRule | null): any;
@@ -0,0 +1,30 @@
1
+ import { ScreeningPostScreenActionFromJSON, ScreeningPostScreenActionToJSON } from './ScreeningPostScreenAction.js';
2
+ import { TrmRuleNodeFromJSON, TrmRuleNodeToJSON } from './TrmRuleNode.js';
3
+
4
+ /* tslint:disable */
5
+ function TrmPostScreenRuleFromJSON(json) {
6
+ return TrmPostScreenRuleFromJSONTyped(json);
7
+ }
8
+ function TrmPostScreenRuleFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'when': TrmRuleNodeFromJSON(json['when']),
14
+ 'then': ScreeningPostScreenActionFromJSON(json['then']),
15
+ };
16
+ }
17
+ function TrmPostScreenRuleToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'when': TrmRuleNodeToJSON(value.when),
26
+ 'then': ScreeningPostScreenActionToJSON(value.then),
27
+ };
28
+ }
29
+
30
+ export { TrmPostScreenRuleFromJSON, TrmPostScreenRuleFromJSONTyped, TrmPostScreenRuleToJSON };
@@ -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
+ * How the risk reaches the address. Ownership means the address itself is the risk.
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ exports.TrmRiskType = void 0;
24
+ (function (TrmRiskType) {
25
+ TrmRiskType["Ownership"] = "OWNERSHIP";
26
+ TrmRiskType["Counterparty"] = "COUNTERPARTY";
27
+ TrmRiskType["Indirect"] = "INDIRECT";
28
+ })(exports.TrmRiskType || (exports.TrmRiskType = {}));
29
+ function TrmRiskTypeFromJSON(json) {
30
+ return TrmRiskTypeFromJSONTyped(json);
31
+ }
32
+ function TrmRiskTypeFromJSONTyped(json, ignoreDiscriminator) {
33
+ return json;
34
+ }
35
+ function TrmRiskTypeToJSON(value) {
36
+ return value;
37
+ }
38
+
39
+ exports.TrmRiskTypeFromJSON = TrmRiskTypeFromJSON;
40
+ exports.TrmRiskTypeFromJSONTyped = TrmRiskTypeFromJSONTyped;
41
+ exports.TrmRiskTypeToJSON = TrmRiskTypeToJSON;
@@ -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
+ * How the risk reaches the address. Ownership means the address itself is the risk.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum TrmRiskType {
18
+ Ownership = "OWNERSHIP",
19
+ Counterparty = "COUNTERPARTY",
20
+ Indirect = "INDIRECT"
21
+ }
22
+ export declare function TrmRiskTypeFromJSON(json: any): TrmRiskType;
23
+ export declare function TrmRiskTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrmRiskType;
24
+ export declare function TrmRiskTypeToJSON(value?: TrmRiskType | 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
+ * How the risk reaches the address. Ownership means the address itself is the risk.
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ var TrmRiskType;
20
+ (function (TrmRiskType) {
21
+ TrmRiskType["Ownership"] = "OWNERSHIP";
22
+ TrmRiskType["Counterparty"] = "COUNTERPARTY";
23
+ TrmRiskType["Indirect"] = "INDIRECT";
24
+ })(TrmRiskType || (TrmRiskType = {}));
25
+ function TrmRiskTypeFromJSON(json) {
26
+ return TrmRiskTypeFromJSONTyped(json);
27
+ }
28
+ function TrmRiskTypeFromJSONTyped(json, ignoreDiscriminator) {
29
+ return json;
30
+ }
31
+ function TrmRiskTypeToJSON(value) {
32
+ return value;
33
+ }
34
+
35
+ export { TrmRiskType, TrmRiskTypeFromJSON, TrmRiskTypeFromJSONTyped, TrmRiskTypeToJSON };
@@ -0,0 +1,54 @@
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`. Category strings match
21
+ * case-sensitively: TRM returns them TitleCase and `Sanctions` stops matching
22
+ * if folded. The indicator score is `categoryRiskScoreLevel`, the wire name;
23
+ * TRM has no `severity` field at any level, and `riskScoreLevel` belongs to an
24
+ * entity, which means something different. Scores compare numerically against
25
+ * the values TRM emits (1, 5, 10, 15); labels are display-only.
26
+ * @export
27
+ * @enum {string}
28
+ */
29
+ exports.TrmRuleField = void 0;
30
+ (function (TrmRuleField) {
31
+ TrmRuleField["TxAmountUsd"] = "tx.amountUsd";
32
+ TrmRuleField["TxAsset"] = "tx.asset";
33
+ TrmRuleField["Chain"] = "chain";
34
+ TrmRuleField["Address"] = "address";
35
+ TrmRuleField["TrmAddressHighestRiskScoreLevel"] = "trm.addressHighestRiskScoreLevel";
36
+ TrmRuleField["Category"] = "category";
37
+ TrmRuleField["RiskType"] = "riskType";
38
+ TrmRuleField["CategoryRiskScoreLevel"] = "categoryRiskScoreLevel";
39
+ TrmRuleField["RiskScoreLevel"] = "riskScoreLevel";
40
+ TrmRuleField["IsVasp"] = "isVasp";
41
+ })(exports.TrmRuleField || (exports.TrmRuleField = {}));
42
+ function TrmRuleFieldFromJSON(json) {
43
+ return TrmRuleFieldFromJSONTyped(json);
44
+ }
45
+ function TrmRuleFieldFromJSONTyped(json, ignoreDiscriminator) {
46
+ return json;
47
+ }
48
+ function TrmRuleFieldToJSON(value) {
49
+ return value;
50
+ }
51
+
52
+ exports.TrmRuleFieldFromJSON = TrmRuleFieldFromJSON;
53
+ exports.TrmRuleFieldFromJSONTyped = TrmRuleFieldFromJSONTyped;
54
+ exports.TrmRuleFieldToJSON = TrmRuleFieldToJSON;
@@ -0,0 +1,37 @@
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`. Category strings match
15
+ * case-sensitively: TRM returns them TitleCase and `Sanctions` stops matching
16
+ * if folded. The indicator score is `categoryRiskScoreLevel`, the wire name;
17
+ * TRM has no `severity` field at any level, and `riskScoreLevel` belongs to an
18
+ * entity, which means something different. Scores compare numerically against
19
+ * the values TRM emits (1, 5, 10, 15); labels are display-only.
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ export declare enum TrmRuleField {
24
+ TxAmountUsd = "tx.amountUsd",
25
+ TxAsset = "tx.asset",
26
+ Chain = "chain",
27
+ Address = "address",
28
+ TrmAddressHighestRiskScoreLevel = "trm.addressHighestRiskScoreLevel",
29
+ Category = "category",
30
+ RiskType = "riskType",
31
+ CategoryRiskScoreLevel = "categoryRiskScoreLevel",
32
+ RiskScoreLevel = "riskScoreLevel",
33
+ IsVasp = "isVasp"
34
+ }
35
+ export declare function TrmRuleFieldFromJSON(json: any): TrmRuleField;
36
+ export declare function TrmRuleFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrmRuleField;
37
+ export declare function TrmRuleFieldToJSON(value?: TrmRuleField | null): any;
@@ -0,0 +1,48 @@
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`. Category strings match
17
+ * case-sensitively: TRM returns them TitleCase and `Sanctions` stops matching
18
+ * if folded. The indicator score is `categoryRiskScoreLevel`, the wire name;
19
+ * TRM has no `severity` field at any level, and `riskScoreLevel` belongs to an
20
+ * entity, which means something different. Scores compare numerically against
21
+ * the values TRM emits (1, 5, 10, 15); labels are display-only.
22
+ * @export
23
+ * @enum {string}
24
+ */
25
+ var TrmRuleField;
26
+ (function (TrmRuleField) {
27
+ TrmRuleField["TxAmountUsd"] = "tx.amountUsd";
28
+ TrmRuleField["TxAsset"] = "tx.asset";
29
+ TrmRuleField["Chain"] = "chain";
30
+ TrmRuleField["Address"] = "address";
31
+ TrmRuleField["TrmAddressHighestRiskScoreLevel"] = "trm.addressHighestRiskScoreLevel";
32
+ TrmRuleField["Category"] = "category";
33
+ TrmRuleField["RiskType"] = "riskType";
34
+ TrmRuleField["CategoryRiskScoreLevel"] = "categoryRiskScoreLevel";
35
+ TrmRuleField["RiskScoreLevel"] = "riskScoreLevel";
36
+ TrmRuleField["IsVasp"] = "isVasp";
37
+ })(TrmRuleField || (TrmRuleField = {}));
38
+ function TrmRuleFieldFromJSON(json) {
39
+ return TrmRuleFieldFromJSONTyped(json);
40
+ }
41
+ function TrmRuleFieldFromJSONTyped(json, ignoreDiscriminator) {
42
+ return json;
43
+ }
44
+ function TrmRuleFieldToJSON(value) {
45
+ return value;
46
+ }
47
+
48
+ export { TrmRuleField, TrmRuleFieldFromJSON, TrmRuleFieldFromJSONTyped, TrmRuleFieldToJSON };