@privy-io/api-types 0.9.0 → 0.11.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 (180) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/client.d.mts +40 -43
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +40 -43
  5. package/client.d.ts.map +1 -1
  6. package/client.js +28 -20
  7. package/client.js.map +1 -1
  8. package/client.mjs +29 -21
  9. package/client.mjs.map +1 -1
  10. package/internal/types.d.mts +6 -6
  11. package/internal/types.d.mts.map +1 -1
  12. package/internal/types.d.ts +6 -6
  13. package/internal/types.d.ts.map +1 -1
  14. package/package.json +1 -1
  15. package/resources/accounts.d.mts +128 -86
  16. package/resources/accounts.d.mts.map +1 -1
  17. package/resources/accounts.d.ts +128 -86
  18. package/resources/accounts.d.ts.map +1 -1
  19. package/resources/aggregations.d.mts +43 -43
  20. package/resources/aggregations.d.mts.map +1 -1
  21. package/resources/aggregations.d.ts +43 -43
  22. package/resources/aggregations.d.ts.map +1 -1
  23. package/resources/apps.d.mts +169 -135
  24. package/resources/apps.d.mts.map +1 -1
  25. package/resources/apps.d.ts +169 -135
  26. package/resources/apps.d.ts.map +1 -1
  27. package/resources/client-auth.d.mts +931 -947
  28. package/resources/client-auth.d.mts.map +1 -1
  29. package/resources/client-auth.d.ts +931 -947
  30. package/resources/client-auth.d.ts.map +1 -1
  31. package/resources/client-auth.js.map +1 -1
  32. package/resources/client-auth.mjs.map +1 -1
  33. package/resources/embedded-wallets.d.mts +122 -122
  34. package/resources/embedded-wallets.d.mts.map +1 -1
  35. package/resources/embedded-wallets.d.ts +122 -122
  36. package/resources/embedded-wallets.d.ts.map +1 -1
  37. package/resources/fiat.d.mts +110 -0
  38. package/resources/fiat.d.mts.map +1 -0
  39. package/resources/fiat.d.ts +110 -0
  40. package/resources/fiat.d.ts.map +1 -0
  41. package/resources/fiat.js +9 -0
  42. package/resources/fiat.js.map +1 -0
  43. package/resources/fiat.mjs +5 -0
  44. package/resources/fiat.mjs.map +1 -0
  45. package/resources/funding.d.mts +86 -86
  46. package/resources/funding.d.mts.map +1 -1
  47. package/resources/funding.d.ts +86 -86
  48. package/resources/funding.d.ts.map +1 -1
  49. package/resources/index.d.mts +20 -18
  50. package/resources/index.d.mts.map +1 -1
  51. package/resources/index.d.ts +20 -18
  52. package/resources/index.d.ts.map +1 -1
  53. package/resources/index.js +5 -1
  54. package/resources/index.js.map +1 -1
  55. package/resources/index.mjs +3 -1
  56. package/resources/index.mjs.map +1 -1
  57. package/resources/intents.d.mts +269 -265
  58. package/resources/intents.d.mts.map +1 -1
  59. package/resources/intents.d.ts +269 -265
  60. package/resources/intents.d.ts.map +1 -1
  61. package/resources/key-quorums.d.mts +15 -146
  62. package/resources/key-quorums.d.mts.map +1 -1
  63. package/resources/key-quorums.d.ts +15 -146
  64. package/resources/key-quorums.d.ts.map +1 -1
  65. package/resources/key-quorums.js +0 -92
  66. package/resources/key-quorums.js.map +1 -1
  67. package/resources/key-quorums.mjs +0 -92
  68. package/resources/key-quorums.mjs.map +1 -1
  69. package/resources/kraken-embed.d.mts +12 -20
  70. package/resources/kraken-embed.d.mts.map +1 -1
  71. package/resources/kraken-embed.d.ts +12 -20
  72. package/resources/kraken-embed.d.ts.map +1 -1
  73. package/resources/organizations.d.mts +65 -0
  74. package/resources/organizations.d.mts.map +1 -0
  75. package/resources/organizations.d.ts +65 -0
  76. package/resources/organizations.d.ts.map +1 -0
  77. package/resources/organizations.js +9 -0
  78. package/resources/organizations.js.map +1 -0
  79. package/resources/organizations.mjs +5 -0
  80. package/resources/organizations.mjs.map +1 -0
  81. package/resources/policies.d.mts +261 -553
  82. package/resources/policies.d.mts.map +1 -1
  83. package/resources/policies.d.ts +261 -553
  84. package/resources/policies.d.ts.map +1 -1
  85. package/resources/policies.js +0 -229
  86. package/resources/policies.js.map +1 -1
  87. package/resources/policies.mjs +0 -229
  88. package/resources/policies.mjs.map +1 -1
  89. package/resources/shared.d.mts +28 -28
  90. package/resources/shared.d.mts.map +1 -1
  91. package/resources/shared.d.ts +28 -28
  92. package/resources/shared.d.ts.map +1 -1
  93. package/resources/swaps.d.mts +6 -9
  94. package/resources/swaps.d.mts.map +1 -1
  95. package/resources/swaps.d.ts +6 -9
  96. package/resources/swaps.d.ts.map +1 -1
  97. package/resources/swaps.js.map +1 -1
  98. package/resources/swaps.mjs.map +1 -1
  99. package/resources/transactions.d.mts +80 -96
  100. package/resources/transactions.d.mts.map +1 -1
  101. package/resources/transactions.d.ts +80 -96
  102. package/resources/transactions.d.ts.map +1 -1
  103. package/resources/transactions.js +0 -17
  104. package/resources/transactions.js.map +1 -1
  105. package/resources/transactions.mjs +0 -17
  106. package/resources/transactions.mjs.map +1 -1
  107. package/resources/users.d.mts +480 -815
  108. package/resources/users.d.mts.map +1 -1
  109. package/resources/users.d.ts +480 -815
  110. package/resources/users.d.ts.map +1 -1
  111. package/resources/users.js +0 -272
  112. package/resources/users.js.map +1 -1
  113. package/resources/users.mjs +0 -272
  114. package/resources/users.mjs.map +1 -1
  115. package/resources/wallet-actions.d.mts +302 -145
  116. package/resources/wallet-actions.d.mts.map +1 -1
  117. package/resources/wallet-actions.d.ts +302 -145
  118. package/resources/wallet-actions.d.ts.map +1 -1
  119. package/resources/wallets/index.d.mts +1 -1
  120. package/resources/wallets/index.d.mts.map +1 -1
  121. package/resources/wallets/index.d.ts +1 -1
  122. package/resources/wallets/index.d.ts.map +1 -1
  123. package/resources/wallets/index.js.map +1 -1
  124. package/resources/wallets/index.mjs.map +1 -1
  125. package/resources/wallets/transactions.d.mts +7 -2
  126. package/resources/wallets/transactions.d.mts.map +1 -1
  127. package/resources/wallets/transactions.d.ts +7 -2
  128. package/resources/wallets/transactions.d.ts.map +1 -1
  129. package/resources/wallets/transactions.js +1 -1
  130. package/resources/wallets/transactions.mjs +1 -1
  131. package/resources/wallets/wallets.d.mts +1592 -1580
  132. package/resources/wallets/wallets.d.mts.map +1 -1
  133. package/resources/wallets/wallets.d.ts +1592 -1580
  134. package/resources/wallets/wallets.d.ts.map +1 -1
  135. package/resources/wallets/wallets.js +45 -103
  136. package/resources/wallets/wallets.js.map +1 -1
  137. package/resources/wallets/wallets.mjs +45 -103
  138. package/resources/wallets/wallets.mjs.map +1 -1
  139. package/resources/webhooks.d.mts +935 -877
  140. package/resources/webhooks.d.mts.map +1 -1
  141. package/resources/webhooks.d.ts +935 -877
  142. package/resources/webhooks.d.ts.map +1 -1
  143. package/resources/yield.d.mts +157 -157
  144. package/resources/yield.d.mts.map +1 -1
  145. package/resources/yield.d.ts +157 -157
  146. package/resources/yield.d.ts.map +1 -1
  147. package/src/client.ts +650 -618
  148. package/src/internal/types.ts +6 -8
  149. package/src/resources/accounts.ts +157 -103
  150. package/src/resources/aggregations.ts +55 -55
  151. package/src/resources/apps.ts +221 -178
  152. package/src/resources/client-auth.ts +1271 -1315
  153. package/src/resources/embedded-wallets.ts +160 -160
  154. package/src/resources/fiat.ts +177 -0
  155. package/src/resources/funding.ts +130 -130
  156. package/src/resources/index.ts +551 -542
  157. package/src/resources/intents.ts +326 -322
  158. package/src/resources/key-quorums.ts +16 -218
  159. package/src/resources/kraken-embed.ts +14 -22
  160. package/src/resources/organizations.ts +82 -0
  161. package/src/resources/policies.ts +383 -848
  162. package/src/resources/shared.ts +34 -34
  163. package/src/resources/swaps.ts +5 -10
  164. package/src/resources/transactions.ts +116 -136
  165. package/src/resources/users.ts +693 -1160
  166. package/src/resources/wallet-actions.ts +392 -185
  167. package/src/resources/wallets/index.ts +160 -156
  168. package/src/resources/wallets/transactions.ts +18 -3
  169. package/src/resources/wallets/wallets.ts +2123 -2113
  170. package/src/resources/webhooks.ts +1172 -1100
  171. package/src/resources/yield.ts +188 -188
  172. package/src/version.ts +1 -1
  173. package/version.d.mts +1 -1
  174. package/version.d.mts.map +1 -1
  175. package/version.d.ts +1 -1
  176. package/version.d.ts.map +1 -1
  177. package/version.js +1 -1
  178. package/version.js.map +1 -1
  179. package/version.mjs +1 -1
  180. package/version.mjs.map +1 -1
@@ -5,28 +5,36 @@ import { APIResource } from '../core/resource';
5
5
  export class Shared extends APIResource {}
6
6
 
7
7
  /**
8
- * A simple success response.
8
+ * A monetary value with its currency denomination.
9
9
  */
10
- export interface SuccessResponse {
11
- success: boolean;
10
+ export interface CurrencyAmount {
11
+ /**
12
+ * Currency code
13
+ */
14
+ currency: 'usd';
15
+
16
+ /**
17
+ * The monetary value as a string.
18
+ */
19
+ value: string;
12
20
  }
13
21
 
14
22
  /**
15
- * A P-256 (secp256r1) public key.
23
+ * A unique identifier for a key quorum.
16
24
  */
17
- export type P256PublicKey = string;
25
+ export type KeyQuorumID = string;
18
26
 
19
27
  /**
20
- * A unique identifier for a key quorum.
28
+ * The key quorum ID to set as the owner of the resource. If you provide this, do
29
+ * not specify an owner.
21
30
  */
22
- export type KeyQuorumID = string;
31
+ export type OwnerIDInput = string | null;
23
32
 
24
33
  /**
25
- * Owner input specifying a Privy user ID.
34
+ * The owner of the resource, specified as a Privy user ID, a P-256 public key, or
35
+ * null to remove the current owner.
26
36
  */
27
- export interface OwnerInputUser {
28
- user_id: string;
29
- }
37
+ export type OwnerInput = OwnerInputUser | OwnerInputPublicKey;
30
38
 
31
39
  /**
32
40
  * Owner input specifying a P-256 public key.
@@ -39,41 +47,33 @@ export interface OwnerInputPublicKey {
39
47
  }
40
48
 
41
49
  /**
42
- * The owner of the resource, specified as a Privy user ID, a P-256 public key, or
43
- * null to remove the current owner.
50
+ * Owner input specifying a Privy user ID.
44
51
  */
45
- export type OwnerInput = OwnerInputUser | OwnerInputPublicKey;
52
+ export interface OwnerInputUser {
53
+ user_id: string;
54
+ }
46
55
 
47
56
  /**
48
- * The key quorum ID to set as the owner of the resource. If you provide this, do
49
- * not specify an owner.
57
+ * A P-256 (secp256r1) public key.
50
58
  */
51
- export type OwnerIDInput = string | null;
59
+ export type P256PublicKey = string;
52
60
 
53
61
  /**
54
- * A monetary value with its currency denomination.
62
+ * A simple success response.
55
63
  */
56
- export interface CurrencyAmount {
57
- /**
58
- * Currency code
59
- */
60
- currency: 'usd';
61
-
62
- /**
63
- * The monetary value as a string.
64
- */
65
- value: string;
64
+ export interface SuccessResponse {
65
+ success: boolean;
66
66
  }
67
67
 
68
68
  export declare namespace Shared {
69
69
  export {
70
- type SuccessResponse as SuccessResponse,
71
- type P256PublicKey as P256PublicKey,
70
+ type CurrencyAmount as CurrencyAmount,
72
71
  type KeyQuorumID as KeyQuorumID,
73
- type OwnerInputUser as OwnerInputUser,
74
- type OwnerInputPublicKey as OwnerInputPublicKey,
75
- type OwnerInput as OwnerInput,
76
72
  type OwnerIDInput as OwnerIDInput,
77
- type CurrencyAmount as CurrencyAmount,
73
+ type OwnerInput as OwnerInput,
74
+ type OwnerInputPublicKey as OwnerInputPublicKey,
75
+ type OwnerInputUser as OwnerInputUser,
76
+ type P256PublicKey as P256PublicKey,
77
+ type SuccessResponse as SuccessResponse,
78
78
  };
79
79
  }
@@ -1,14 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../core/resource';
4
+ import * as WalletsAPI from './wallets/wallets';
4
5
 
5
6
  export class Swaps extends APIResource {}
6
7
 
7
- /**
8
- * Whether the swap amount refers to the input token or output token.
9
- */
10
- export type SwapAmountType = 'exact_input' | 'exact_output';
11
-
12
8
  /**
13
9
  * Input for requesting a token swap quote.
14
10
  */
@@ -34,9 +30,9 @@ export interface SwapQuoteRequestBody {
34
30
  output_token: string;
35
31
 
36
32
  /**
37
- * Whether the swap amount refers to the input token or output token.
33
+ * Whether the amount refers to the input token or output token.
38
34
  */
39
- amount_type?: SwapAmountType;
35
+ amount_type?: WalletsAPI.AmountType;
40
36
 
41
37
  /**
42
38
  * Maximum slippage tolerance in basis points (e.g., 50 for 0.5%). If omitted,
@@ -110,9 +106,9 @@ export interface SwapRequestBody {
110
106
  output_token: string;
111
107
 
112
108
  /**
113
- * Whether the swap amount refers to the input token or output token.
109
+ * Whether the amount refers to the input token or output token.
114
110
  */
115
- amount_type?: SwapAmountType;
111
+ amount_type?: WalletsAPI.AmountType;
116
112
 
117
113
  /**
118
114
  * Address to receive the output tokens. Defaults to the wallet address if not
@@ -128,7 +124,6 @@ export interface SwapRequestBody {
128
124
 
129
125
  export declare namespace Swaps {
130
126
  export {
131
- type SwapAmountType as SwapAmountType,
132
127
  type SwapQuoteRequestBody as SwapQuoteRequestBody,
133
128
  type SwapQuoteResponse as SwapQuoteResponse,
134
129
  type SwapRequestBody as SwapRequestBody,
@@ -1,101 +1,60 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../core/resource';
4
- import { APIPromise } from '../core/api-promise';
5
- import { RequestOptions } from '../internal/request-options';
6
- import { path } from '../internal/utils/path';
7
4
 
8
- /**
9
- * Operations related to transactions
10
- */
11
- export class Transactions extends APIResource {
12
- /**
13
- * Get a transaction by transaction ID.
14
- *
15
- * @example
16
- * ```ts
17
- * const transaction = await client.transactions.get(
18
- * 'transaction_id',
19
- * );
20
- * ```
21
- */
22
- get(transactionID: string, options?: RequestOptions): APIPromise<Transaction> {
23
- return this._client.get(path`/v1/transactions/${transactionID}`, options);
24
- }
25
- }
5
+ export class Transactions extends APIResource {}
26
6
 
27
7
  /**
28
- * The request body for scanning a transaction.
8
+ * A transaction from a Privy wallet.
29
9
  */
30
- export interface TransactionScanningRequestBody {
31
- chain_id: string;
10
+ export interface Transaction {
11
+ id: string;
32
12
 
33
- /**
34
- * Additional information for Blockaid to validate against.
35
- */
36
- metadata: TransactionScanningMetadata;
13
+ caip2: string;
37
14
 
38
- /**
39
- * Raw RPC request to execute with the wallet.
40
- */
41
- request: TransactionScanningRpcRequest;
42
- }
15
+ created_at: number;
43
16
 
44
- /**
45
- * The response from scanning a transaction.
46
- */
47
- export interface TransactionScanningResponseBody {
48
- /**
49
- * The simulation result from a transaction scan.
50
- */
51
- simulation: TransactionScanningSimulationResult;
17
+ status:
18
+ | 'broadcasted'
19
+ | 'confirmed'
20
+ | 'execution_reverted'
21
+ | 'failed'
22
+ | 'replaced'
23
+ | 'finalized'
24
+ | 'provider_error'
25
+ | 'pending';
52
26
 
53
- /**
54
- * The validation result from a transaction scan.
55
- */
56
- validation: TransactionScanningValidationResult;
57
- }
27
+ transaction_hash: string | null;
58
28
 
59
- /**
60
- * Additional information for Blockaid to validate against.
61
- */
62
- export interface TransactionScanningMetadata {
63
- domain: string;
64
- }
29
+ wallet_id: string;
65
30
 
66
- /**
67
- * Raw RPC request to execute with the wallet.
68
- */
69
- export interface TransactionScanningRpcRequest {
70
- method: string;
31
+ reference_id?: string | null;
71
32
 
72
- params: Array<unknown>;
33
+ sponsored?: boolean;
34
+
35
+ user_operation_hash?: string;
73
36
  }
74
37
 
75
38
  /**
76
- * A failed validation result from a transaction scan.
39
+ * A list of transactions.
77
40
  */
78
- export interface TransactionScanningValidationErrorResult {
79
- error: string;
80
-
81
- status: 'Error';
41
+ export interface TransactionList {
42
+ transactions: Array<Transaction>;
82
43
  }
83
44
 
84
45
  /**
85
- * A successful validation result from a transaction scan.
46
+ * An asset diff representing assets entering/leaving a wallet.
86
47
  */
87
- export interface TransactionScanningValidationSuccessResult {
88
- result_type: string;
48
+ export interface TransactionScanningAssetDiff {
49
+ /**
50
+ * Information about the moving asset in a transaction scan.
51
+ */
52
+ asset: TransactionScanningAssetInfo;
89
53
 
90
- status: 'Success';
91
- }
54
+ in: Array<TransactionScanningAssetValue>;
92
55
 
93
- /**
94
- * The validation result from a transaction scan.
95
- */
96
- export type TransactionScanningValidationResult =
97
- | TransactionScanningValidationErrorResult
98
- | TransactionScanningValidationSuccessResult;
56
+ out: Array<TransactionScanningAssetValue>;
57
+ }
99
58
 
100
59
  /**
101
60
  * Information about the moving asset in a transaction scan.
@@ -122,17 +81,14 @@ export interface TransactionScanningAssetValue {
122
81
  }
123
82
 
124
83
  /**
125
- * An asset diff representing assets entering/leaving a wallet.
84
+ * Decoded calldata from a scanned transaction.
126
85
  */
127
- export interface TransactionScanningAssetDiff {
128
- /**
129
- * Information about the moving asset in a transaction scan.
130
- */
131
- asset: TransactionScanningAssetInfo;
86
+ export interface TransactionScanningCalldata {
87
+ function_selector: string;
132
88
 
133
- in: Array<TransactionScanningAssetValue>;
89
+ function_declaration?: string;
134
90
 
135
- out: Array<TransactionScanningAssetValue>;
91
+ function_signature?: string;
136
92
  }
137
93
 
138
94
  /**
@@ -148,14 +104,10 @@ export interface TransactionScanningExposure {
148
104
  }
149
105
 
150
106
  /**
151
- * Decoded calldata from a scanned transaction.
107
+ * Additional information for Blockaid to validate against.
152
108
  */
153
- export interface TransactionScanningCalldata {
154
- function_selector: string;
155
-
156
- function_declaration?: string;
157
-
158
- function_signature?: string;
109
+ export interface TransactionScanningMetadata {
110
+ domain: string;
159
111
  }
160
112
 
161
113
  /**
@@ -184,6 +136,47 @@ export interface TransactionScanningParams {
184
136
  value?: string;
185
137
  }
186
138
 
139
+ /**
140
+ * The request body for scanning a transaction.
141
+ */
142
+ export interface TransactionScanningRequestBody {
143
+ chain_id: string;
144
+
145
+ /**
146
+ * Additional information for Blockaid to validate against.
147
+ */
148
+ metadata: TransactionScanningMetadata;
149
+
150
+ /**
151
+ * Raw RPC request to execute with the wallet.
152
+ */
153
+ request: TransactionScanningRpcRequest;
154
+ }
155
+
156
+ /**
157
+ * The response from scanning a transaction.
158
+ */
159
+ export interface TransactionScanningResponseBody {
160
+ /**
161
+ * The simulation result from a transaction scan.
162
+ */
163
+ simulation: TransactionScanningSimulationResult;
164
+
165
+ /**
166
+ * The validation result from a transaction scan.
167
+ */
168
+ validation: TransactionScanningValidationResult;
169
+ }
170
+
171
+ /**
172
+ * Raw RPC request to execute with the wallet.
173
+ */
174
+ export interface TransactionScanningRpcRequest {
175
+ method: string;
176
+
177
+ params: Array<unknown>;
178
+ }
179
+
187
180
  /**
188
181
  * A failed simulation result from a transaction scan.
189
182
  */
@@ -193,6 +186,13 @@ export interface TransactionScanningSimulationErrorResult {
193
186
  status: 'Error';
194
187
  }
195
188
 
189
+ /**
190
+ * The simulation result from a transaction scan.
191
+ */
192
+ export type TransactionScanningSimulationResult =
193
+ | TransactionScanningSimulationErrorResult
194
+ | TransactionScanningSimulationSuccessResult;
195
+
196
196
  /**
197
197
  * A successful simulation result from a transaction scan.
198
198
  */
@@ -210,69 +210,49 @@ export interface TransactionScanningSimulationSuccessResult {
210
210
  }
211
211
 
212
212
  /**
213
- * The simulation result from a transaction scan.
213
+ * A failed validation result from a transaction scan.
214
214
  */
215
- export type TransactionScanningSimulationResult =
216
- | TransactionScanningSimulationErrorResult
217
- | TransactionScanningSimulationSuccessResult;
215
+ export interface TransactionScanningValidationErrorResult {
216
+ error: string;
217
+
218
+ status: 'Error';
219
+ }
218
220
 
219
221
  /**
220
- * A transaction from a Privy wallet.
222
+ * The validation result from a transaction scan.
221
223
  */
222
- export interface Transaction {
223
- id: string;
224
-
225
- caip2: string;
226
-
227
- created_at: number;
228
-
229
- status:
230
- | 'broadcasted'
231
- | 'confirmed'
232
- | 'execution_reverted'
233
- | 'failed'
234
- | 'replaced'
235
- | 'finalized'
236
- | 'provider_error'
237
- | 'pending';
238
-
239
- transaction_hash: string | null;
240
-
241
- wallet_id: string;
242
-
243
- reference_id?: string | null;
244
-
245
- sponsored?: boolean;
246
-
247
- user_operation_hash?: string;
248
- }
224
+ export type TransactionScanningValidationResult =
225
+ | TransactionScanningValidationErrorResult
226
+ | TransactionScanningValidationSuccessResult;
249
227
 
250
228
  /**
251
- * A list of transactions.
229
+ * A successful validation result from a transaction scan.
252
230
  */
253
- export interface TransactionList {
254
- transactions: Array<Transaction>;
231
+ export interface TransactionScanningValidationSuccessResult {
232
+ result_type: string;
233
+
234
+ status: 'Success';
255
235
  }
256
236
 
257
237
  export declare namespace Transactions {
258
238
  export {
259
- type TransactionScanningRequestBody as TransactionScanningRequestBody,
260
- type TransactionScanningResponseBody as TransactionScanningResponseBody,
261
- type TransactionScanningMetadata as TransactionScanningMetadata,
262
- type TransactionScanningRpcRequest as TransactionScanningRpcRequest,
263
- type TransactionScanningValidationErrorResult as TransactionScanningValidationErrorResult,
264
- type TransactionScanningValidationSuccessResult as TransactionScanningValidationSuccessResult,
265
- type TransactionScanningValidationResult as TransactionScanningValidationResult,
239
+ type Transaction as Transaction,
240
+ type TransactionList as TransactionList,
241
+ type TransactionScanningAssetDiff as TransactionScanningAssetDiff,
266
242
  type TransactionScanningAssetInfo as TransactionScanningAssetInfo,
267
243
  type TransactionScanningAssetValue as TransactionScanningAssetValue,
268
- type TransactionScanningAssetDiff as TransactionScanningAssetDiff,
269
- type TransactionScanningExposure as TransactionScanningExposure,
270
244
  type TransactionScanningCalldata as TransactionScanningCalldata,
245
+ type TransactionScanningExposure as TransactionScanningExposure,
246
+ type TransactionScanningMetadata as TransactionScanningMetadata,
271
247
  type TransactionScanningParams as TransactionScanningParams,
248
+ type TransactionScanningRequestBody as TransactionScanningRequestBody,
249
+ type TransactionScanningResponseBody as TransactionScanningResponseBody,
250
+ type TransactionScanningRpcRequest as TransactionScanningRpcRequest,
272
251
  type TransactionScanningSimulationErrorResult as TransactionScanningSimulationErrorResult,
273
- type TransactionScanningSimulationSuccessResult as TransactionScanningSimulationSuccessResult,
274
252
  type TransactionScanningSimulationResult as TransactionScanningSimulationResult,
275
- type Transaction as Transaction,
276
- type TransactionList as TransactionList,
253
+ type TransactionScanningSimulationSuccessResult as TransactionScanningSimulationSuccessResult,
254
+ type TransactionScanningValidationErrorResult as TransactionScanningValidationErrorResult,
255
+ type TransactionScanningValidationResult as TransactionScanningValidationResult,
256
+ type TransactionScanningValidationSuccessResult as TransactionScanningValidationSuccessResult,
277
257
  };
278
258
  }