@dynamic-labs/sdk-api 0.0.1111 → 0.0.1112

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 (128) 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/CaptchaApi.cjs +1 -0
  11. package/src/apis/CaptchaApi.js +1 -0
  12. package/src/apis/ChainalysisApi.cjs +1 -0
  13. package/src/apis/ChainalysisApi.js +1 -0
  14. package/src/apis/ChainsApi.cjs +1 -0
  15. package/src/apis/ChainsApi.js +1 -0
  16. package/src/apis/CheckoutApi.cjs +1 -0
  17. package/src/apis/CheckoutApi.js +1 -0
  18. package/src/apis/ClientGrantApi.cjs +1 -0
  19. package/src/apis/ClientGrantApi.js +1 -0
  20. package/src/apis/CustomFieldsApi.cjs +1 -0
  21. package/src/apis/CustomFieldsApi.js +1 -0
  22. package/src/apis/CustomHostnamesApi.cjs +1 -0
  23. package/src/apis/CustomHostnamesApi.js +1 -0
  24. package/src/apis/CustomNetworksApi.cjs +1 -0
  25. package/src/apis/CustomNetworksApi.js +1 -0
  26. package/src/apis/DeeplinkUrlsApi.cjs +1 -0
  27. package/src/apis/DeeplinkUrlsApi.js +1 -0
  28. package/src/apis/EnvironmentsApi.cjs +1 -0
  29. package/src/apis/EnvironmentsApi.js +1 -0
  30. package/src/apis/EventsApi.cjs +1 -0
  31. package/src/apis/EventsApi.js +1 -0
  32. package/src/apis/ExchangesApi.cjs +1 -0
  33. package/src/apis/ExchangesApi.js +1 -0
  34. package/src/apis/ExportsApi.cjs +1 -0
  35. package/src/apis/ExportsApi.js +1 -0
  36. package/src/apis/ExternalJwtApi.cjs +1 -0
  37. package/src/apis/ExternalJwtApi.js +1 -0
  38. package/src/apis/FlowAnalyticsApi.cjs +1 -0
  39. package/src/apis/FlowAnalyticsApi.js +1 -0
  40. package/src/apis/GaslessApi.cjs +1 -0
  41. package/src/apis/GaslessApi.js +1 -0
  42. package/src/apis/GatesApi.cjs +1 -0
  43. package/src/apis/GatesApi.js +1 -0
  44. package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
  45. package/src/apis/GlobalWalletAccessControlApi.js +1 -0
  46. package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
  47. package/src/apis/GlobalWalletConnectionsApi.js +1 -0
  48. package/src/apis/GlobalWalletsApi.cjs +1 -0
  49. package/src/apis/GlobalWalletsApi.js +1 -0
  50. package/src/apis/InvitesApi.cjs +1 -0
  51. package/src/apis/InvitesApi.js +1 -0
  52. package/src/apis/KybApi.cjs +1 -0
  53. package/src/apis/KybApi.js +1 -0
  54. package/src/apis/MembersApi.cjs +1 -0
  55. package/src/apis/MembersApi.js +1 -0
  56. package/src/apis/MfaSettingsApi.cjs +1 -0
  57. package/src/apis/MfaSettingsApi.js +1 -0
  58. package/src/apis/NameServicesApi.cjs +1 -0
  59. package/src/apis/NameServicesApi.js +1 -0
  60. package/src/apis/OrganizationSettingsApi.cjs +1 -0
  61. package/src/apis/OrganizationSettingsApi.js +1 -0
  62. package/src/apis/OrganizationsApi.cjs +1 -0
  63. package/src/apis/OrganizationsApi.js +1 -0
  64. package/src/apis/OriginsApi.cjs +1 -0
  65. package/src/apis/OriginsApi.js +1 -0
  66. package/src/apis/ProjectsApi.cjs +1 -0
  67. package/src/apis/ProjectsApi.js +1 -0
  68. package/src/apis/ProvidersApi.cjs +1 -0
  69. package/src/apis/ProvidersApi.js +1 -0
  70. package/src/apis/SDKApi.cjs +63 -0
  71. package/src/apis/SDKApi.d.ts +26 -1
  72. package/src/apis/SDKApi.js +63 -0
  73. package/src/apis/SDKViewsApi.cjs +1 -0
  74. package/src/apis/SDKViewsApi.js +1 -0
  75. package/src/apis/ServerApi.cjs +1 -0
  76. package/src/apis/ServerApi.js +1 -0
  77. package/src/apis/SessionsApi.cjs +1 -0
  78. package/src/apis/SessionsApi.js +1 -0
  79. package/src/apis/TestAccountApi.cjs +1 -0
  80. package/src/apis/TestAccountApi.js +1 -0
  81. package/src/apis/TokensApi.cjs +1 -0
  82. package/src/apis/TokensApi.js +1 -0
  83. package/src/apis/UserApiTokensApi.cjs +1 -0
  84. package/src/apis/UserApiTokensApi.js +1 -0
  85. package/src/apis/UsersApi.cjs +1 -0
  86. package/src/apis/UsersApi.js +1 -0
  87. package/src/apis/VisitsApi.cjs +1 -0
  88. package/src/apis/VisitsApi.js +1 -0
  89. package/src/apis/WaasApi.cjs +1 -0
  90. package/src/apis/WaasApi.js +1 -0
  91. package/src/apis/WalletConnectApi.cjs +1 -0
  92. package/src/apis/WalletConnectApi.js +1 -0
  93. package/src/apis/WalletsApi.cjs +1 -0
  94. package/src/apis/WalletsApi.js +1 -0
  95. package/src/apis/WebhooksApi.cjs +1 -0
  96. package/src/apis/WebhooksApi.js +1 -0
  97. package/src/apis/ZendeskApi.cjs +1 -0
  98. package/src/apis/ZendeskApi.js +1 -0
  99. package/src/index.cjs +40 -0
  100. package/src/index.js +9 -0
  101. package/src/models/ScreenTransactionRequest.cjs +41 -0
  102. package/src/models/ScreenTransactionRequest.d.ts +47 -0
  103. package/src/models/ScreenTransactionRequest.js +35 -0
  104. package/src/models/ScreenTransactionRequestContext.cjs +49 -0
  105. package/src/models/ScreenTransactionRequestContext.d.ts +63 -0
  106. package/src/models/ScreenTransactionRequestContext.js +43 -0
  107. package/src/models/ScreenTransactionRequestContextBtcTransaction.cjs +37 -0
  108. package/src/models/ScreenTransactionRequestContextBtcTransaction.d.ts +39 -0
  109. package/src/models/ScreenTransactionRequestContextBtcTransaction.js +31 -0
  110. package/src/models/ScreenTransactionRequestContextEvmTransaction.cjs +33 -0
  111. package/src/models/ScreenTransactionRequestContextEvmTransaction.d.ts +27 -0
  112. package/src/models/ScreenTransactionRequestContextEvmTransaction.js +27 -0
  113. package/src/models/ScreenTransactionRequestContextStellarTransaction.cjs +43 -0
  114. package/src/models/ScreenTransactionRequestContextStellarTransaction.d.ts +27 -0
  115. package/src/models/ScreenTransactionRequestContextStellarTransaction.js +37 -0
  116. package/src/models/ScreenTransactionRequestContextSuiTransaction.cjs +43 -0
  117. package/src/models/ScreenTransactionRequestContextSuiTransaction.d.ts +27 -0
  118. package/src/models/ScreenTransactionRequestContextSuiTransaction.js +37 -0
  119. package/src/models/ScreenTransactionRequestContextSvmTransaction.cjs +43 -0
  120. package/src/models/ScreenTransactionRequestContextSvmTransaction.d.ts +27 -0
  121. package/src/models/ScreenTransactionRequestContextSvmTransaction.js +37 -0
  122. package/src/models/ScreenTransactionRequestContextTronTransaction.cjs +43 -0
  123. package/src/models/ScreenTransactionRequestContextTronTransaction.d.ts +27 -0
  124. package/src/models/ScreenTransactionRequestContextTronTransaction.js +37 -0
  125. package/src/models/ScreenTransactionResponse.cjs +46 -0
  126. package/src/models/ScreenTransactionResponse.d.ts +47 -0
  127. package/src/models/ScreenTransactionResponse.js +40 -0
  128. package/src/models/index.d.ts +9 -0
@@ -0,0 +1,41 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var ChainEnum = require('./ChainEnum.cjs');
7
+ var ScreenTransactionRequestContext = require('./ScreenTransactionRequestContext.cjs');
8
+
9
+ /* tslint:disable */
10
+ function ScreenTransactionRequestFromJSON(json) {
11
+ return ScreenTransactionRequestFromJSONTyped(json);
12
+ }
13
+ function ScreenTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
14
+ if ((json === undefined) || (json === null)) {
15
+ return json;
16
+ }
17
+ return {
18
+ 'chain': ChainEnum.ChainEnumFromJSON(json['chain']),
19
+ 'chainId': !runtime.exists(json, 'chainId') ? undefined : json['chainId'],
20
+ 'senderAddress': !runtime.exists(json, 'senderAddress') ? undefined : json['senderAddress'],
21
+ 'context': ScreenTransactionRequestContext.ScreenTransactionRequestContextFromJSON(json['context']),
22
+ };
23
+ }
24
+ function ScreenTransactionRequestToJSON(value) {
25
+ if (value === undefined) {
26
+ return undefined;
27
+ }
28
+ if (value === null) {
29
+ return null;
30
+ }
31
+ return {
32
+ 'chain': ChainEnum.ChainEnumToJSON(value.chain),
33
+ 'chainId': value.chainId,
34
+ 'senderAddress': value.senderAddress,
35
+ 'context': ScreenTransactionRequestContext.ScreenTransactionRequestContextToJSON(value.context),
36
+ };
37
+ }
38
+
39
+ exports.ScreenTransactionRequestFromJSON = ScreenTransactionRequestFromJSON;
40
+ exports.ScreenTransactionRequestFromJSONTyped = ScreenTransactionRequestFromJSONTyped;
41
+ exports.ScreenTransactionRequestToJSON = ScreenTransactionRequestToJSON;
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ChainEnum } from './ChainEnum';
13
+ import { ScreenTransactionRequestContext } from './ScreenTransactionRequestContext';
14
+ /**
15
+ * The sender and statically-encoded envelope destinations are extracted and screened server-side.
16
+ * @export
17
+ * @interface ScreenTransactionRequest
18
+ */
19
+ export interface ScreenTransactionRequest {
20
+ /**
21
+ *
22
+ * @type {ChainEnum}
23
+ * @memberof ScreenTransactionRequest
24
+ */
25
+ chain: ChainEnum;
26
+ /**
27
+ * Network identifier, recorded for audit/logging only — screening is per chain family.
28
+ * @type {string}
29
+ * @memberof ScreenTransactionRequest
30
+ */
31
+ chainId?: string;
32
+ /**
33
+ * The transaction sender; screened alongside the extracted destinations.
34
+ * @type {string}
35
+ * @memberof ScreenTransactionRequest
36
+ */
37
+ senderAddress?: string;
38
+ /**
39
+ *
40
+ * @type {ScreenTransactionRequestContext}
41
+ * @memberof ScreenTransactionRequest
42
+ */
43
+ context: ScreenTransactionRequestContext;
44
+ }
45
+ export declare function ScreenTransactionRequestFromJSON(json: any): ScreenTransactionRequest;
46
+ export declare function ScreenTransactionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenTransactionRequest;
47
+ export declare function ScreenTransactionRequestToJSON(value?: ScreenTransactionRequest | null): any;
@@ -0,0 +1,35 @@
1
+ import { exists } from '../runtime.js';
2
+ import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
3
+ import { ScreenTransactionRequestContextFromJSON, ScreenTransactionRequestContextToJSON } from './ScreenTransactionRequestContext.js';
4
+
5
+ /* tslint:disable */
6
+ function ScreenTransactionRequestFromJSON(json) {
7
+ return ScreenTransactionRequestFromJSONTyped(json);
8
+ }
9
+ function ScreenTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
10
+ if ((json === undefined) || (json === null)) {
11
+ return json;
12
+ }
13
+ return {
14
+ 'chain': ChainEnumFromJSON(json['chain']),
15
+ 'chainId': !exists(json, 'chainId') ? undefined : json['chainId'],
16
+ 'senderAddress': !exists(json, 'senderAddress') ? undefined : json['senderAddress'],
17
+ 'context': ScreenTransactionRequestContextFromJSON(json['context']),
18
+ };
19
+ }
20
+ function ScreenTransactionRequestToJSON(value) {
21
+ if (value === undefined) {
22
+ return undefined;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ 'chain': ChainEnumToJSON(value.chain),
29
+ 'chainId': value.chainId,
30
+ 'senderAddress': value.senderAddress,
31
+ 'context': ScreenTransactionRequestContextToJSON(value.context),
32
+ };
33
+ }
34
+
35
+ export { ScreenTransactionRequestFromJSON, ScreenTransactionRequestFromJSONTyped, ScreenTransactionRequestToJSON };
@@ -0,0 +1,49 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var ScreenTransactionRequestContextBtcTransaction = require('./ScreenTransactionRequestContextBtcTransaction.cjs');
7
+ var ScreenTransactionRequestContextEvmTransaction = require('./ScreenTransactionRequestContextEvmTransaction.cjs');
8
+ var ScreenTransactionRequestContextStellarTransaction = require('./ScreenTransactionRequestContextStellarTransaction.cjs');
9
+ var ScreenTransactionRequestContextSuiTransaction = require('./ScreenTransactionRequestContextSuiTransaction.cjs');
10
+ var ScreenTransactionRequestContextSvmTransaction = require('./ScreenTransactionRequestContextSvmTransaction.cjs');
11
+ var ScreenTransactionRequestContextTronTransaction = require('./ScreenTransactionRequestContextTronTransaction.cjs');
12
+
13
+ /* tslint:disable */
14
+ function ScreenTransactionRequestContextFromJSON(json) {
15
+ return ScreenTransactionRequestContextFromJSONTyped(json);
16
+ }
17
+ function ScreenTransactionRequestContextFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'btcTransaction': !runtime.exists(json, 'btcTransaction') ? undefined : ScreenTransactionRequestContextBtcTransaction.ScreenTransactionRequestContextBtcTransactionFromJSON(json['btcTransaction']),
23
+ 'evmTransaction': !runtime.exists(json, 'evmTransaction') ? undefined : ScreenTransactionRequestContextEvmTransaction.ScreenTransactionRequestContextEvmTransactionFromJSON(json['evmTransaction']),
24
+ 'stellarTransaction': !runtime.exists(json, 'stellarTransaction') ? undefined : ScreenTransactionRequestContextStellarTransaction.ScreenTransactionRequestContextStellarTransactionFromJSON(json['stellarTransaction']),
25
+ 'suiTransaction': !runtime.exists(json, 'suiTransaction') ? undefined : ScreenTransactionRequestContextSuiTransaction.ScreenTransactionRequestContextSuiTransactionFromJSON(json['suiTransaction']),
26
+ 'svmTransaction': !runtime.exists(json, 'svmTransaction') ? undefined : ScreenTransactionRequestContextSvmTransaction.ScreenTransactionRequestContextSvmTransactionFromJSON(json['svmTransaction']),
27
+ 'tronTransaction': !runtime.exists(json, 'tronTransaction') ? undefined : ScreenTransactionRequestContextTronTransaction.ScreenTransactionRequestContextTronTransactionFromJSON(json['tronTransaction']),
28
+ };
29
+ }
30
+ function ScreenTransactionRequestContextToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'btcTransaction': ScreenTransactionRequestContextBtcTransaction.ScreenTransactionRequestContextBtcTransactionToJSON(value.btcTransaction),
39
+ 'evmTransaction': ScreenTransactionRequestContextEvmTransaction.ScreenTransactionRequestContextEvmTransactionToJSON(value.evmTransaction),
40
+ 'stellarTransaction': ScreenTransactionRequestContextStellarTransaction.ScreenTransactionRequestContextStellarTransactionToJSON(value.stellarTransaction),
41
+ 'suiTransaction': ScreenTransactionRequestContextSuiTransaction.ScreenTransactionRequestContextSuiTransactionToJSON(value.suiTransaction),
42
+ 'svmTransaction': ScreenTransactionRequestContextSvmTransaction.ScreenTransactionRequestContextSvmTransactionToJSON(value.svmTransaction),
43
+ 'tronTransaction': ScreenTransactionRequestContextTronTransaction.ScreenTransactionRequestContextTronTransactionToJSON(value.tronTransaction),
44
+ };
45
+ }
46
+
47
+ exports.ScreenTransactionRequestContextFromJSON = ScreenTransactionRequestContextFromJSON;
48
+ exports.ScreenTransactionRequestContextFromJSONTyped = ScreenTransactionRequestContextFromJSONTyped;
49
+ exports.ScreenTransactionRequestContextToJSON = ScreenTransactionRequestContextToJSON;
@@ -0,0 +1,63 @@
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 { ScreenTransactionRequestContextBtcTransaction } from './ScreenTransactionRequestContextBtcTransaction';
13
+ import { ScreenTransactionRequestContextEvmTransaction } from './ScreenTransactionRequestContextEvmTransaction';
14
+ import { ScreenTransactionRequestContextStellarTransaction } from './ScreenTransactionRequestContextStellarTransaction';
15
+ import { ScreenTransactionRequestContextSuiTransaction } from './ScreenTransactionRequestContextSuiTransaction';
16
+ import { ScreenTransactionRequestContextSvmTransaction } from './ScreenTransactionRequestContextSvmTransaction';
17
+ import { ScreenTransactionRequestContextTronTransaction } from './ScreenTransactionRequestContextTronTransaction';
18
+ /**
19
+ * Chain-specific transaction payload; exactly one shape must be provided.
20
+ * @export
21
+ * @interface ScreenTransactionRequestContext
22
+ */
23
+ export interface ScreenTransactionRequestContext {
24
+ /**
25
+ *
26
+ * @type {ScreenTransactionRequestContextBtcTransaction}
27
+ * @memberof ScreenTransactionRequestContext
28
+ */
29
+ btcTransaction?: ScreenTransactionRequestContextBtcTransaction;
30
+ /**
31
+ *
32
+ * @type {ScreenTransactionRequestContextEvmTransaction}
33
+ * @memberof ScreenTransactionRequestContext
34
+ */
35
+ evmTransaction?: ScreenTransactionRequestContextEvmTransaction;
36
+ /**
37
+ *
38
+ * @type {ScreenTransactionRequestContextStellarTransaction}
39
+ * @memberof ScreenTransactionRequestContext
40
+ */
41
+ stellarTransaction?: ScreenTransactionRequestContextStellarTransaction;
42
+ /**
43
+ *
44
+ * @type {ScreenTransactionRequestContextSuiTransaction}
45
+ * @memberof ScreenTransactionRequestContext
46
+ */
47
+ suiTransaction?: ScreenTransactionRequestContextSuiTransaction;
48
+ /**
49
+ *
50
+ * @type {ScreenTransactionRequestContextSvmTransaction}
51
+ * @memberof ScreenTransactionRequestContext
52
+ */
53
+ svmTransaction?: ScreenTransactionRequestContextSvmTransaction;
54
+ /**
55
+ *
56
+ * @type {ScreenTransactionRequestContextTronTransaction}
57
+ * @memberof ScreenTransactionRequestContext
58
+ */
59
+ tronTransaction?: ScreenTransactionRequestContextTronTransaction;
60
+ }
61
+ export declare function ScreenTransactionRequestContextFromJSON(json: any): ScreenTransactionRequestContext;
62
+ export declare function ScreenTransactionRequestContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenTransactionRequestContext;
63
+ export declare function ScreenTransactionRequestContextToJSON(value?: ScreenTransactionRequestContext | null): any;
@@ -0,0 +1,43 @@
1
+ import { exists } from '../runtime.js';
2
+ import { ScreenTransactionRequestContextBtcTransactionFromJSON, ScreenTransactionRequestContextBtcTransactionToJSON } from './ScreenTransactionRequestContextBtcTransaction.js';
3
+ import { ScreenTransactionRequestContextEvmTransactionFromJSON, ScreenTransactionRequestContextEvmTransactionToJSON } from './ScreenTransactionRequestContextEvmTransaction.js';
4
+ import { ScreenTransactionRequestContextStellarTransactionFromJSON, ScreenTransactionRequestContextStellarTransactionToJSON } from './ScreenTransactionRequestContextStellarTransaction.js';
5
+ import { ScreenTransactionRequestContextSuiTransactionFromJSON, ScreenTransactionRequestContextSuiTransactionToJSON } from './ScreenTransactionRequestContextSuiTransaction.js';
6
+ import { ScreenTransactionRequestContextSvmTransactionFromJSON, ScreenTransactionRequestContextSvmTransactionToJSON } from './ScreenTransactionRequestContextSvmTransaction.js';
7
+ import { ScreenTransactionRequestContextTronTransactionFromJSON, ScreenTransactionRequestContextTronTransactionToJSON } from './ScreenTransactionRequestContextTronTransaction.js';
8
+
9
+ /* tslint:disable */
10
+ function ScreenTransactionRequestContextFromJSON(json) {
11
+ return ScreenTransactionRequestContextFromJSONTyped(json);
12
+ }
13
+ function ScreenTransactionRequestContextFromJSONTyped(json, ignoreDiscriminator) {
14
+ if ((json === undefined) || (json === null)) {
15
+ return json;
16
+ }
17
+ return {
18
+ 'btcTransaction': !exists(json, 'btcTransaction') ? undefined : ScreenTransactionRequestContextBtcTransactionFromJSON(json['btcTransaction']),
19
+ 'evmTransaction': !exists(json, 'evmTransaction') ? undefined : ScreenTransactionRequestContextEvmTransactionFromJSON(json['evmTransaction']),
20
+ 'stellarTransaction': !exists(json, 'stellarTransaction') ? undefined : ScreenTransactionRequestContextStellarTransactionFromJSON(json['stellarTransaction']),
21
+ 'suiTransaction': !exists(json, 'suiTransaction') ? undefined : ScreenTransactionRequestContextSuiTransactionFromJSON(json['suiTransaction']),
22
+ 'svmTransaction': !exists(json, 'svmTransaction') ? undefined : ScreenTransactionRequestContextSvmTransactionFromJSON(json['svmTransaction']),
23
+ 'tronTransaction': !exists(json, 'tronTransaction') ? undefined : ScreenTransactionRequestContextTronTransactionFromJSON(json['tronTransaction']),
24
+ };
25
+ }
26
+ function ScreenTransactionRequestContextToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'btcTransaction': ScreenTransactionRequestContextBtcTransactionToJSON(value.btcTransaction),
35
+ 'evmTransaction': ScreenTransactionRequestContextEvmTransactionToJSON(value.evmTransaction),
36
+ 'stellarTransaction': ScreenTransactionRequestContextStellarTransactionToJSON(value.stellarTransaction),
37
+ 'suiTransaction': ScreenTransactionRequestContextSuiTransactionToJSON(value.suiTransaction),
38
+ 'svmTransaction': ScreenTransactionRequestContextSvmTransactionToJSON(value.svmTransaction),
39
+ 'tronTransaction': ScreenTransactionRequestContextTronTransactionToJSON(value.tronTransaction),
40
+ };
41
+ }
42
+
43
+ export { ScreenTransactionRequestContextFromJSON, ScreenTransactionRequestContextFromJSONTyped, ScreenTransactionRequestContextToJSON };
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function ScreenTransactionRequestContextBtcTransactionFromJSON(json) {
9
+ return ScreenTransactionRequestContextBtcTransactionFromJSONTyped(json);
10
+ }
11
+ function ScreenTransactionRequestContextBtcTransactionFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'chainId': json['chainId'],
17
+ 'psbt': !runtime.exists(json, 'psbt') ? undefined : json['psbt'],
18
+ 'recipientAddress': !runtime.exists(json, 'recipientAddress') ? undefined : json['recipientAddress'],
19
+ };
20
+ }
21
+ function ScreenTransactionRequestContextBtcTransactionToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'chainId': value.chainId,
30
+ 'psbt': value.psbt,
31
+ 'recipientAddress': value.recipientAddress,
32
+ };
33
+ }
34
+
35
+ exports.ScreenTransactionRequestContextBtcTransactionFromJSON = ScreenTransactionRequestContextBtcTransactionFromJSON;
36
+ exports.ScreenTransactionRequestContextBtcTransactionFromJSONTyped = ScreenTransactionRequestContextBtcTransactionFromJSONTyped;
37
+ exports.ScreenTransactionRequestContextBtcTransactionToJSON = ScreenTransactionRequestContextBtcTransactionToJSON;
@@ -0,0 +1,39 @@
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
+ * Exactly one of psbt / recipientAddress must be provided.
14
+ * @export
15
+ * @interface ScreenTransactionRequestContextBtcTransaction
16
+ */
17
+ export interface ScreenTransactionRequestContextBtcTransaction {
18
+ /**
19
+ * Bitcoin network from the signing contract (1=mainnet, 2=testnet, 3=signet).
20
+ * @type {string}
21
+ * @memberof ScreenTransactionRequestContextBtcTransaction
22
+ */
23
+ chainId: string;
24
+ /**
25
+ * Base64- or hex-encoded PSBT.
26
+ * @type {string}
27
+ * @memberof ScreenTransactionRequestContextBtcTransaction
28
+ */
29
+ psbt?: string;
30
+ /**
31
+ * The envelope recipient, for callers that have not built a PSBT yet (e.g. sendBitcoin); screened like an extracted destination.
32
+ * @type {string}
33
+ * @memberof ScreenTransactionRequestContextBtcTransaction
34
+ */
35
+ recipientAddress?: string;
36
+ }
37
+ export declare function ScreenTransactionRequestContextBtcTransactionFromJSON(json: any): ScreenTransactionRequestContextBtcTransaction;
38
+ export declare function ScreenTransactionRequestContextBtcTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenTransactionRequestContextBtcTransaction;
39
+ export declare function ScreenTransactionRequestContextBtcTransactionToJSON(value?: ScreenTransactionRequestContextBtcTransaction | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function ScreenTransactionRequestContextBtcTransactionFromJSON(json) {
5
+ return ScreenTransactionRequestContextBtcTransactionFromJSONTyped(json);
6
+ }
7
+ function ScreenTransactionRequestContextBtcTransactionFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'chainId': json['chainId'],
13
+ 'psbt': !exists(json, 'psbt') ? undefined : json['psbt'],
14
+ 'recipientAddress': !exists(json, 'recipientAddress') ? undefined : json['recipientAddress'],
15
+ };
16
+ }
17
+ function ScreenTransactionRequestContextBtcTransactionToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'chainId': value.chainId,
26
+ 'psbt': value.psbt,
27
+ 'recipientAddress': value.recipientAddress,
28
+ };
29
+ }
30
+
31
+ export { ScreenTransactionRequestContextBtcTransactionFromJSON, ScreenTransactionRequestContextBtcTransactionFromJSONTyped, ScreenTransactionRequestContextBtcTransactionToJSON };
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function ScreenTransactionRequestContextEvmTransactionFromJSON(json) {
9
+ return ScreenTransactionRequestContextEvmTransactionFromJSONTyped(json);
10
+ }
11
+ function ScreenTransactionRequestContextEvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'to': !runtime.exists(json, 'to') ? undefined : json['to'],
17
+ };
18
+ }
19
+ function ScreenTransactionRequestContextEvmTransactionToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'to': value.to,
28
+ };
29
+ }
30
+
31
+ exports.ScreenTransactionRequestContextEvmTransactionFromJSON = ScreenTransactionRequestContextEvmTransactionFromJSON;
32
+ exports.ScreenTransactionRequestContextEvmTransactionFromJSONTyped = ScreenTransactionRequestContextEvmTransactionFromJSONTyped;
33
+ exports.ScreenTransactionRequestContextEvmTransactionToJSON = ScreenTransactionRequestContextEvmTransactionToJSON;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The envelope destination, absent for contract deployments.
14
+ * @export
15
+ * @interface ScreenTransactionRequestContextEvmTransaction
16
+ */
17
+ export interface ScreenTransactionRequestContextEvmTransaction {
18
+ /**
19
+ * The envelope destination address. Calldata is not decoded.
20
+ * @type {string}
21
+ * @memberof ScreenTransactionRequestContextEvmTransaction
22
+ */
23
+ to?: string;
24
+ }
25
+ export declare function ScreenTransactionRequestContextEvmTransactionFromJSON(json: any): ScreenTransactionRequestContextEvmTransaction;
26
+ export declare function ScreenTransactionRequestContextEvmTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenTransactionRequestContextEvmTransaction;
27
+ export declare function ScreenTransactionRequestContextEvmTransactionToJSON(value?: ScreenTransactionRequestContextEvmTransaction | null): any;
@@ -0,0 +1,27 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function ScreenTransactionRequestContextEvmTransactionFromJSON(json) {
5
+ return ScreenTransactionRequestContextEvmTransactionFromJSONTyped(json);
6
+ }
7
+ function ScreenTransactionRequestContextEvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'to': !exists(json, 'to') ? undefined : json['to'],
13
+ };
14
+ }
15
+ function ScreenTransactionRequestContextEvmTransactionToJSON(value) {
16
+ if (value === undefined) {
17
+ return undefined;
18
+ }
19
+ if (value === null) {
20
+ return null;
21
+ }
22
+ return {
23
+ 'to': value.to,
24
+ };
25
+ }
26
+
27
+ export { ScreenTransactionRequestContextEvmTransactionFromJSON, ScreenTransactionRequestContextEvmTransactionFromJSONTyped, ScreenTransactionRequestContextEvmTransactionToJSON };
@@ -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
+ function ScreenTransactionRequestContextStellarTransactionFromJSON(json) {
19
+ return ScreenTransactionRequestContextStellarTransactionFromJSONTyped(json);
20
+ }
21
+ function ScreenTransactionRequestContextStellarTransactionFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'serializedTransaction': json['serializedTransaction'],
27
+ };
28
+ }
29
+ function ScreenTransactionRequestContextStellarTransactionToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'serializedTransaction': value.serializedTransaction,
38
+ };
39
+ }
40
+
41
+ exports.ScreenTransactionRequestContextStellarTransactionFromJSON = ScreenTransactionRequestContextStellarTransactionFromJSON;
42
+ exports.ScreenTransactionRequestContextStellarTransactionFromJSONTyped = ScreenTransactionRequestContextStellarTransactionFromJSONTyped;
43
+ exports.ScreenTransactionRequestContextStellarTransactionToJSON = ScreenTransactionRequestContextStellarTransactionToJSON;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ScreenTransactionRequestContextStellarTransaction
16
+ */
17
+ export interface ScreenTransactionRequestContextStellarTransaction {
18
+ /**
19
+ * Base64-encoded transaction envelope XDR.
20
+ * @type {string}
21
+ * @memberof ScreenTransactionRequestContextStellarTransaction
22
+ */
23
+ serializedTransaction: string;
24
+ }
25
+ export declare function ScreenTransactionRequestContextStellarTransactionFromJSON(json: any): ScreenTransactionRequestContextStellarTransaction;
26
+ export declare function ScreenTransactionRequestContextStellarTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenTransactionRequestContextStellarTransaction;
27
+ export declare function ScreenTransactionRequestContextStellarTransactionToJSON(value?: ScreenTransactionRequestContextStellarTransaction | 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
+ function ScreenTransactionRequestContextStellarTransactionFromJSON(json) {
15
+ return ScreenTransactionRequestContextStellarTransactionFromJSONTyped(json);
16
+ }
17
+ function ScreenTransactionRequestContextStellarTransactionFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'serializedTransaction': json['serializedTransaction'],
23
+ };
24
+ }
25
+ function ScreenTransactionRequestContextStellarTransactionToJSON(value) {
26
+ if (value === undefined) {
27
+ return undefined;
28
+ }
29
+ if (value === null) {
30
+ return null;
31
+ }
32
+ return {
33
+ 'serializedTransaction': value.serializedTransaction,
34
+ };
35
+ }
36
+
37
+ export { ScreenTransactionRequestContextStellarTransactionFromJSON, ScreenTransactionRequestContextStellarTransactionFromJSONTyped, ScreenTransactionRequestContextStellarTransactionToJSON };
@@ -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
+ function ScreenTransactionRequestContextSuiTransactionFromJSON(json) {
19
+ return ScreenTransactionRequestContextSuiTransactionFromJSONTyped(json);
20
+ }
21
+ function ScreenTransactionRequestContextSuiTransactionFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'serializedTransaction': json['serializedTransaction'],
27
+ };
28
+ }
29
+ function ScreenTransactionRequestContextSuiTransactionToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'serializedTransaction': value.serializedTransaction,
38
+ };
39
+ }
40
+
41
+ exports.ScreenTransactionRequestContextSuiTransactionFromJSON = ScreenTransactionRequestContextSuiTransactionFromJSON;
42
+ exports.ScreenTransactionRequestContextSuiTransactionFromJSONTyped = ScreenTransactionRequestContextSuiTransactionFromJSONTyped;
43
+ exports.ScreenTransactionRequestContextSuiTransactionToJSON = ScreenTransactionRequestContextSuiTransactionToJSON;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ScreenTransactionRequestContextSuiTransaction
16
+ */
17
+ export interface ScreenTransactionRequestContextSuiTransaction {
18
+ /**
19
+ * Base64- or hex-encoded BCS TransactionData.
20
+ * @type {string}
21
+ * @memberof ScreenTransactionRequestContextSuiTransaction
22
+ */
23
+ serializedTransaction: string;
24
+ }
25
+ export declare function ScreenTransactionRequestContextSuiTransactionFromJSON(json: any): ScreenTransactionRequestContextSuiTransaction;
26
+ export declare function ScreenTransactionRequestContextSuiTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScreenTransactionRequestContextSuiTransaction;
27
+ export declare function ScreenTransactionRequestContextSuiTransactionToJSON(value?: ScreenTransactionRequestContextSuiTransaction | null): any;