@privy-io/api-types 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 (158) hide show
  1. package/CHANGELOG.md +141 -0
  2. package/client.d.mts +30 -33
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +30 -33
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -4
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -4
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/accounts.d.mts +6 -2
  12. package/resources/accounts.d.mts.map +1 -1
  13. package/resources/accounts.d.ts +6 -2
  14. package/resources/accounts.d.ts.map +1 -1
  15. package/resources/aggregations.d.mts +14 -4
  16. package/resources/aggregations.d.mts.map +1 -1
  17. package/resources/aggregations.d.ts +14 -4
  18. package/resources/aggregations.d.ts.map +1 -1
  19. package/resources/apps.d.mts +44 -23
  20. package/resources/apps.d.mts.map +1 -1
  21. package/resources/apps.d.ts +44 -23
  22. package/resources/apps.d.ts.map +1 -1
  23. package/resources/client-auth.d.mts +32 -8
  24. package/resources/client-auth.d.mts.map +1 -1
  25. package/resources/client-auth.d.ts +32 -8
  26. package/resources/client-auth.d.ts.map +1 -1
  27. package/resources/embedded-wallets.d.mts +6 -0
  28. package/resources/embedded-wallets.d.mts.map +1 -1
  29. package/resources/embedded-wallets.d.ts +6 -0
  30. package/resources/embedded-wallets.d.ts.map +1 -1
  31. package/resources/index.d.mts +15 -16
  32. package/resources/index.d.mts.map +1 -1
  33. package/resources/index.d.ts +15 -16
  34. package/resources/index.d.ts.map +1 -1
  35. package/resources/index.js +1 -3
  36. package/resources/index.js.map +1 -1
  37. package/resources/index.mjs +0 -1
  38. package/resources/index.mjs.map +1 -1
  39. package/resources/intents.d.mts +65 -79
  40. package/resources/intents.d.mts.map +1 -1
  41. package/resources/intents.d.ts +65 -79
  42. package/resources/intents.d.ts.map +1 -1
  43. package/resources/intents.js.map +1 -1
  44. package/resources/intents.mjs.map +1 -1
  45. package/resources/key-quorums.d.mts +9 -8
  46. package/resources/key-quorums.d.mts.map +1 -1
  47. package/resources/key-quorums.d.ts +9 -8
  48. package/resources/key-quorums.d.ts.map +1 -1
  49. package/resources/kraken-embed.d.mts +208 -218
  50. package/resources/kraken-embed.d.mts.map +1 -1
  51. package/resources/kraken-embed.d.ts +208 -218
  52. package/resources/kraken-embed.d.ts.map +1 -1
  53. package/resources/kraken-embed.js.map +1 -1
  54. package/resources/kraken-embed.mjs.map +1 -1
  55. package/resources/onramps.d.mts +50 -48
  56. package/resources/onramps.d.mts.map +1 -1
  57. package/resources/onramps.d.ts +50 -48
  58. package/resources/onramps.d.ts.map +1 -1
  59. package/resources/policies.d.mts +93 -24
  60. package/resources/policies.d.mts.map +1 -1
  61. package/resources/policies.d.ts +93 -24
  62. package/resources/policies.d.ts.map +1 -1
  63. package/resources/shared.d.mts +15 -3
  64. package/resources/shared.d.mts.map +1 -1
  65. package/resources/shared.d.ts +15 -3
  66. package/resources/shared.d.ts.map +1 -1
  67. package/resources/swaps.d.mts +3 -2
  68. package/resources/swaps.d.mts.map +1 -1
  69. package/resources/swaps.d.ts +3 -2
  70. package/resources/swaps.d.ts.map +1 -1
  71. package/resources/transactions.d.mts +9 -2
  72. package/resources/transactions.d.mts.map +1 -1
  73. package/resources/transactions.d.ts +9 -2
  74. package/resources/transactions.d.ts.map +1 -1
  75. package/resources/users.d.mts +33 -7
  76. package/resources/users.d.mts.map +1 -1
  77. package/resources/users.d.ts +33 -7
  78. package/resources/users.d.ts.map +1 -1
  79. package/resources/{wallet-actions.d.ts → wallets/actions.d.mts} +383 -68
  80. package/resources/wallets/actions.d.mts.map +1 -0
  81. package/resources/{wallet-actions.d.mts → wallets/actions.d.ts} +383 -68
  82. package/resources/wallets/actions.d.ts.map +1 -0
  83. package/resources/wallets/actions.js +9 -0
  84. package/resources/wallets/actions.js.map +1 -0
  85. package/resources/wallets/actions.mjs +5 -0
  86. package/resources/wallets/actions.mjs.map +1 -0
  87. package/resources/wallets/balance.d.mts +11 -4
  88. package/resources/wallets/balance.d.mts.map +1 -1
  89. package/resources/wallets/balance.d.ts +11 -4
  90. package/resources/wallets/balance.d.ts.map +1 -1
  91. package/resources/wallets/index.d.mts +2 -1
  92. package/resources/wallets/index.d.mts.map +1 -1
  93. package/resources/wallets/index.d.ts +2 -1
  94. package/resources/wallets/index.d.ts.map +1 -1
  95. package/resources/wallets/index.js +3 -1
  96. package/resources/wallets/index.js.map +1 -1
  97. package/resources/wallets/index.mjs +1 -0
  98. package/resources/wallets/index.mjs.map +1 -1
  99. package/resources/wallets/transactions.d.mts +14 -3
  100. package/resources/wallets/transactions.d.mts.map +1 -1
  101. package/resources/wallets/transactions.d.ts +14 -3
  102. package/resources/wallets/transactions.d.ts.map +1 -1
  103. package/resources/wallets/transactions.js.map +1 -1
  104. package/resources/wallets/transactions.mjs.map +1 -1
  105. package/resources/wallets/wallets.d.mts +846 -97
  106. package/resources/wallets/wallets.d.mts.map +1 -1
  107. package/resources/wallets/wallets.d.ts +846 -97
  108. package/resources/wallets/wallets.d.ts.map +1 -1
  109. package/resources/wallets/wallets.js +19 -2
  110. package/resources/wallets/wallets.js.map +1 -1
  111. package/resources/wallets/wallets.mjs +19 -2
  112. package/resources/wallets/wallets.mjs.map +1 -1
  113. package/resources/webhooks.d.mts +596 -108
  114. package/resources/webhooks.d.mts.map +1 -1
  115. package/resources/webhooks.d.ts +596 -108
  116. package/resources/webhooks.d.ts.map +1 -1
  117. package/resources/webhooks.js.map +1 -1
  118. package/resources/webhooks.mjs.map +1 -1
  119. package/resources/yield.d.mts +30 -30
  120. package/resources/yield.d.mts.map +1 -1
  121. package/resources/yield.d.ts +30 -30
  122. package/resources/yield.d.ts.map +1 -1
  123. package/resources/yield.js.map +1 -1
  124. package/resources/yield.mjs.map +1 -1
  125. package/src/client.ts +223 -76
  126. package/src/resources/accounts.ts +7 -1
  127. package/src/resources/aggregations.ts +16 -3
  128. package/src/resources/apps.ts +60 -30
  129. package/src/resources/client-auth.ts +41 -7
  130. package/src/resources/embedded-wallets.ts +7 -0
  131. package/src/resources/index.ts +107 -36
  132. package/src/resources/intents.ts +73 -91
  133. package/src/resources/key-quorums.ts +11 -9
  134. package/src/resources/kraken-embed.ts +560 -1065
  135. package/src/resources/onramps.ts +69 -54
  136. package/src/resources/policies.ts +162 -52
  137. package/src/resources/shared.ts +18 -2
  138. package/src/resources/swaps.ts +3 -2
  139. package/src/resources/transactions.ts +18 -9
  140. package/src/resources/users.ts +38 -6
  141. package/src/resources/{wallet-actions.ts → wallets/actions.ts} +496 -78
  142. package/src/resources/wallets/balance.ts +26 -56
  143. package/src/resources/wallets/index.ts +93 -0
  144. package/src/resources/wallets/transactions.ts +17 -10
  145. package/src/resources/wallets/wallets.ts +1312 -177
  146. package/src/resources/webhooks.ts +729 -118
  147. package/src/resources/yield.ts +33 -41
  148. package/src/version.ts +1 -1
  149. package/version.d.mts +1 -1
  150. package/version.d.ts +1 -1
  151. package/version.js +1 -1
  152. package/version.mjs +1 -1
  153. package/resources/wallet-actions.d.mts.map +0 -1
  154. package/resources/wallet-actions.d.ts.map +0 -1
  155. package/resources/wallet-actions.js +0 -9
  156. package/resources/wallet-actions.js.map +0 -1
  157. package/resources/wallet-actions.mjs +0 -5
  158. package/resources/wallet-actions.mjs.map +0 -1
@@ -1,10 +1,33 @@
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 KrakenEmbedAPI from './kraken-embed';
5
4
 
6
5
  export class KrakenEmbed extends APIResource {}
7
6
 
7
+ /**
8
+ * Sorting options for the asset list endpoint.
9
+ */
10
+ export type KrakenEmbedAssetSortOption =
11
+ | 'trending'
12
+ | 'market_cap_rank'
13
+ | '-market_cap_rank'
14
+ | 'symbol'
15
+ | '-symbol'
16
+ | 'name'
17
+ | '-name'
18
+ | 'change_percent_1h'
19
+ | '-change_percent_1h'
20
+ | 'change_percent_24h'
21
+ | '-change_percent_24h'
22
+ | 'change_percent_7d'
23
+ | '-change_percent_7d'
24
+ | 'change_percent_30d'
25
+ | '-change_percent_30d'
26
+ | 'change_percent_1y'
27
+ | '-change_percent_1y'
28
+ | 'listing_date'
29
+ | '-listing_date';
30
+
8
31
  /**
9
32
  * Request body for cancelling a custom order.
10
33
  */
@@ -26,20 +49,13 @@ export interface KrakenEmbedCancelCustomOrderResponse {
26
49
  /**
27
50
  * Result payload for cancel custom order response.
28
51
  */
29
- result: KrakenEmbedCancelCustomOrderResponse.Result;
52
+ result: KrakenEmbedCancelCustomOrderResult | null;
30
53
 
31
54
  error?: Array<unknown>;
32
55
 
33
56
  errors?: Array<unknown>;
34
57
  }
35
58
 
36
- export namespace KrakenEmbedCancelCustomOrderResponse {
37
- /**
38
- * Result payload for cancel custom order response.
39
- */
40
- export interface Result extends KrakenEmbedAPI.KrakenEmbedCancelCustomOrderResult {}
41
- }
42
-
43
59
  /**
44
60
  * Result payload for cancel custom order response.
45
61
  */
@@ -50,6 +66,273 @@ export interface KrakenEmbedCancelCustomOrderResult {
50
66
  order: KrakenEmbedCustomOrder;
51
67
  }
52
68
 
69
+ /**
70
+ * ISO 3166-1 alpha-2 country codes supported by Kraken Embed.
71
+ */
72
+ export type KrakenEmbedCountryCode =
73
+ | 'AD'
74
+ | 'AE'
75
+ | 'AF'
76
+ | 'AG'
77
+ | 'AI'
78
+ | 'AL'
79
+ | 'AM'
80
+ | 'AO'
81
+ | 'AQ'
82
+ | 'AR'
83
+ | 'AS'
84
+ | 'AT'
85
+ | 'AU'
86
+ | 'AW'
87
+ | 'AX'
88
+ | 'AZ'
89
+ | 'BA'
90
+ | 'BB'
91
+ | 'BD'
92
+ | 'BE'
93
+ | 'BF'
94
+ | 'BG'
95
+ | 'BH'
96
+ | 'BI'
97
+ | 'BJ'
98
+ | 'BL'
99
+ | 'BM'
100
+ | 'BN'
101
+ | 'BO'
102
+ | 'BQ'
103
+ | 'BR'
104
+ | 'BS'
105
+ | 'BT'
106
+ | 'BV'
107
+ | 'BW'
108
+ | 'BY'
109
+ | 'BZ'
110
+ | 'CA'
111
+ | 'CC'
112
+ | 'CD'
113
+ | 'CF'
114
+ | 'CG'
115
+ | 'CH'
116
+ | 'CI'
117
+ | 'CK'
118
+ | 'CL'
119
+ | 'CM'
120
+ | 'CN'
121
+ | 'CO'
122
+ | 'CR'
123
+ | 'CU'
124
+ | 'CV'
125
+ | 'CW'
126
+ | 'CX'
127
+ | 'CY'
128
+ | 'CZ'
129
+ | 'DE'
130
+ | 'DJ'
131
+ | 'DK'
132
+ | 'DM'
133
+ | 'DO'
134
+ | 'DZ'
135
+ | 'EC'
136
+ | 'EE'
137
+ | 'EG'
138
+ | 'EH'
139
+ | 'ER'
140
+ | 'ES'
141
+ | 'ET'
142
+ | 'FI'
143
+ | 'FJ'
144
+ | 'FK'
145
+ | 'FM'
146
+ | 'FO'
147
+ | 'FR'
148
+ | 'GA'
149
+ | 'GB'
150
+ | 'GD'
151
+ | 'GE'
152
+ | 'GF'
153
+ | 'GG'
154
+ | 'GH'
155
+ | 'GI'
156
+ | 'GL'
157
+ | 'GM'
158
+ | 'GN'
159
+ | 'GP'
160
+ | 'GQ'
161
+ | 'GR'
162
+ | 'GS'
163
+ | 'GT'
164
+ | 'GU'
165
+ | 'GW'
166
+ | 'GY'
167
+ | 'HK'
168
+ | 'HM'
169
+ | 'HN'
170
+ | 'HR'
171
+ | 'HT'
172
+ | 'HU'
173
+ | 'ID'
174
+ | 'IE'
175
+ | 'IL'
176
+ | 'IM'
177
+ | 'IN'
178
+ | 'IO'
179
+ | 'IQ'
180
+ | 'IR'
181
+ | 'IS'
182
+ | 'IT'
183
+ | 'JE'
184
+ | 'JM'
185
+ | 'JO'
186
+ | 'JP'
187
+ | 'KE'
188
+ | 'KG'
189
+ | 'KH'
190
+ | 'KI'
191
+ | 'KM'
192
+ | 'KN'
193
+ | 'KP'
194
+ | 'KR'
195
+ | 'KW'
196
+ | 'KY'
197
+ | 'KZ'
198
+ | 'LA'
199
+ | 'LB'
200
+ | 'LC'
201
+ | 'LI'
202
+ | 'LK'
203
+ | 'LR'
204
+ | 'LS'
205
+ | 'LT'
206
+ | 'LU'
207
+ | 'LV'
208
+ | 'LY'
209
+ | 'MA'
210
+ | 'MC'
211
+ | 'MD'
212
+ | 'ME'
213
+ | 'MF'
214
+ | 'MG'
215
+ | 'MH'
216
+ | 'MK'
217
+ | 'ML'
218
+ | 'MM'
219
+ | 'MN'
220
+ | 'MO'
221
+ | 'MP'
222
+ | 'MQ'
223
+ | 'MR'
224
+ | 'MS'
225
+ | 'MT'
226
+ | 'MU'
227
+ | 'MV'
228
+ | 'MW'
229
+ | 'MX'
230
+ | 'MY'
231
+ | 'MZ'
232
+ | 'NA'
233
+ | 'NC'
234
+ | 'NE'
235
+ | 'NF'
236
+ | 'NG'
237
+ | 'NI'
238
+ | 'NL'
239
+ | 'NO'
240
+ | 'NP'
241
+ | 'NR'
242
+ | 'NU'
243
+ | 'NZ'
244
+ | 'OM'
245
+ | 'PA'
246
+ | 'PE'
247
+ | 'PF'
248
+ | 'PG'
249
+ | 'PH'
250
+ | 'PK'
251
+ | 'PL'
252
+ | 'PM'
253
+ | 'PN'
254
+ | 'PR'
255
+ | 'PS'
256
+ | 'PT'
257
+ | 'PW'
258
+ | 'PY'
259
+ | 'QA'
260
+ | 'RE'
261
+ | 'RO'
262
+ | 'RS'
263
+ | 'RU'
264
+ | 'RW'
265
+ | 'SA'
266
+ | 'SB'
267
+ | 'SC'
268
+ | 'SD'
269
+ | 'SE'
270
+ | 'SG'
271
+ | 'SH'
272
+ | 'SI'
273
+ | 'SJ'
274
+ | 'SK'
275
+ | 'SL'
276
+ | 'SM'
277
+ | 'SN'
278
+ | 'SO'
279
+ | 'SR'
280
+ | 'SS'
281
+ | 'ST'
282
+ | 'SV'
283
+ | 'SX'
284
+ | 'SY'
285
+ | 'SZ'
286
+ | 'TC'
287
+ | 'TD'
288
+ | 'TF'
289
+ | 'TG'
290
+ | 'TH'
291
+ | 'TJ'
292
+ | 'TK'
293
+ | 'TL'
294
+ | 'TM'
295
+ | 'TN'
296
+ | 'TO'
297
+ | 'TR'
298
+ | 'TT'
299
+ | 'TV'
300
+ | 'TW'
301
+ | 'TZ'
302
+ | 'UA'
303
+ | 'UG'
304
+ | 'UM'
305
+ | 'US'
306
+ | 'UY'
307
+ | 'UZ'
308
+ | 'VA'
309
+ | 'VC'
310
+ | 'VE'
311
+ | 'VG'
312
+ | 'VI'
313
+ | 'VN'
314
+ | 'VU'
315
+ | 'WF'
316
+ | 'WS'
317
+ | 'YE'
318
+ | 'YT'
319
+ | 'ZA'
320
+ | 'ZM'
321
+ | 'ZW'
322
+ | 'AC'
323
+ | 'AN'
324
+ | 'AP'
325
+ | 'CP'
326
+ | 'DG'
327
+ | 'EA'
328
+ | 'EU'
329
+ | 'IC'
330
+ | 'JX'
331
+ | 'TA'
332
+ | 'QO'
333
+ | 'XK'
334
+ | '0C';
335
+
53
336
  /**
54
337
  * Request body for creating a custom order.
55
338
  */
@@ -77,20 +360,13 @@ export interface KrakenEmbedCreateCustomOrderResponse {
77
360
  /**
78
361
  * Result payload for create custom order response.
79
362
  */
80
- result: KrakenEmbedCreateCustomOrderResponse.Result;
363
+ result: KrakenEmbedCreateCustomOrderResult | null;
81
364
 
82
365
  error?: Array<unknown>;
83
366
 
84
367
  errors?: Array<unknown>;
85
368
  }
86
369
 
87
- export namespace KrakenEmbedCreateCustomOrderResponse {
88
- /**
89
- * Result payload for create custom order response.
90
- */
91
- export interface Result extends KrakenEmbedAPI.KrakenEmbedCreateCustomOrderResult {}
92
- }
93
-
94
370
  /**
95
371
  * Result payload for create custom order response.
96
372
  */
@@ -158,7 +434,10 @@ export interface KrakenEmbedCustomOrderAction {
158
434
 
159
435
  spread_bps: string;
160
436
 
161
- type: 'receive' | 'spend';
437
+ /**
438
+ * Whether the quote amount refers to the asset being received or spent.
439
+ */
440
+ type: KrakenEmbedQuoteType;
162
441
  }
163
442
 
164
443
  /**
@@ -180,7 +459,10 @@ export interface KrakenEmbedCustomOrderOccurrence {
180
459
 
181
460
  created_at: string;
182
461
 
183
- status: 'success' | 'failure' | 'skipped';
462
+ /**
463
+ * Outcome status of a custom order execution occurrence.
464
+ */
465
+ status: KrakenEmbedCustomOrderOccurrenceStatus;
184
466
 
185
467
  /**
186
468
  * Trigger metadata for a custom order occurrence.
@@ -192,20 +474,13 @@ export interface KrakenEmbedCustomOrderOccurrence {
192
474
  /**
193
475
  * Executed action details for a custom order occurrence.
194
476
  */
195
- executed_action?: KrakenEmbedCustomOrderOccurrence.ExecutedAction;
477
+ executed_action?: KrakenEmbedCustomOrderOccurrenceExecutedAction | null;
196
478
 
197
479
  failure_reason?: string;
198
480
 
199
481
  skip_reason?: string;
200
482
  }
201
483
 
202
- export namespace KrakenEmbedCustomOrderOccurrence {
203
- /**
204
- * Executed action details for a custom order occurrence.
205
- */
206
- export interface ExecutedAction extends KrakenEmbedAPI.KrakenEmbedCustomOrderOccurrenceExecutedAction {}
207
- }
208
-
209
484
  /**
210
485
  * Executed action details for a custom order occurrence.
211
486
  */
@@ -213,13 +488,26 @@ export interface KrakenEmbedCustomOrderOccurrenceExecutedAction {
213
488
  quote_id: string;
214
489
  }
215
490
 
491
+ /**
492
+ * Outcome status of a custom order execution occurrence.
493
+ */
494
+ export type KrakenEmbedCustomOrderOccurrenceStatus = 'success' | 'failure' | 'skipped';
495
+
216
496
  /**
217
497
  * Trigger metadata for a custom order occurrence.
218
498
  */
219
499
  export interface KrakenEmbedCustomOrderOccurrenceTrigger {
220
- type: 'time' | 'price' | 'crypto_deposit' | 'market_open';
500
+ /**
501
+ * The trigger type that caused a custom order occurrence to execute.
502
+ */
503
+ type: KrakenEmbedCustomOrderOccurrenceTriggerType;
221
504
  }
222
505
 
506
+ /**
507
+ * The trigger type that caused a custom order occurrence to execute.
508
+ */
509
+ export type KrakenEmbedCustomOrderOccurrenceTriggerType = 'time' | 'price' | 'crypto_deposit' | 'market_open';
510
+
223
511
  /**
224
512
  * Target asset for the other side of the custom order trade.
225
513
  */
@@ -231,11 +519,19 @@ export interface KrakenEmbedCustomOrderQuoteAsset {
231
519
  * Custom order status with optional reason for cancelled or paused states.
232
520
  */
233
521
  export interface KrakenEmbedCustomOrderStatus {
234
- status: 'active' | 'completed' | 'cancelled' | 'paused';
522
+ /**
523
+ * The lifecycle state of a custom order.
524
+ */
525
+ status: KrakenEmbedCustomOrderStatusValue;
235
526
 
236
527
  reason?: unknown;
237
528
  }
238
529
 
530
+ /**
531
+ * The lifecycle state of a custom order.
532
+ */
533
+ export type KrakenEmbedCustomOrderStatusValue = 'active' | 'completed' | 'cancelled' | 'paused';
534
+
239
535
  /**
240
536
  * Price trigger for a custom order. The order executes when base_asset/quote_asset
241
537
  * rate meets the condition against target_price.
@@ -243,7 +539,10 @@ export interface KrakenEmbedCustomOrderStatus {
243
539
  export interface KrakenEmbedCustomOrderTrigger {
244
540
  base_asset: string;
245
541
 
246
- condition: 'gte' | 'lte';
542
+ /**
543
+ * Comparison operator for a custom order price trigger.
544
+ */
545
+ condition: KrakenEmbedCustomOrderTriggerCondition;
247
546
 
248
547
  quote_asset: string;
249
548
 
@@ -252,6 +551,11 @@ export interface KrakenEmbedCustomOrderTrigger {
252
551
  type: 'price';
253
552
  }
254
553
 
554
+ /**
555
+ * Comparison operator for a custom order price trigger.
556
+ */
557
+ export type KrakenEmbedCustomOrderTriggerCondition = 'gte' | 'lte';
558
+
255
559
  /**
256
560
  * An earn amount with native and converted values.
257
561
  */
@@ -277,24 +581,12 @@ export interface KrakenEmbedEarnAsset {
277
581
  /**
278
582
  * Low and high estimate of the yield of an earn asset.
279
583
  */
280
- apr_estimate: KrakenEmbedEarnAsset.AprEstimate;
584
+ apr_estimate: KrakenEmbedEarnAprEstimate | null;
281
585
 
282
586
  /**
283
587
  * User allocation for an earn asset.
284
588
  */
285
- user_allocation?: KrakenEmbedEarnAsset.UserAllocation;
286
- }
287
-
288
- export namespace KrakenEmbedEarnAsset {
289
- /**
290
- * Low and high estimate of the yield of an earn asset.
291
- */
292
- export interface AprEstimate extends KrakenEmbedAPI.KrakenEmbedEarnAprEstimate {}
293
-
294
- /**
295
- * User allocation for an earn asset.
296
- */
297
- export interface UserAllocation extends KrakenEmbedAPI.KrakenEmbedEarnUserAllocation {}
589
+ user_allocation?: KrakenEmbedEarnUserAllocation | null;
298
590
  }
299
591
 
300
592
  /**
@@ -304,26 +596,25 @@ export interface KrakenEmbedEarnUserAllocation {
304
596
  /**
305
597
  * An earn amount with native and converted values.
306
598
  */
307
- total_allocated: KrakenEmbedEarnUserAllocation.TotalAllocated;
599
+ total_allocated: KrakenEmbedEarnAmount | null;
308
600
 
309
601
  /**
310
602
  * An earn amount with native and converted values.
311
603
  */
312
- total_rewarded: KrakenEmbedEarnUserAllocation.TotalRewarded;
604
+ total_rewarded: KrakenEmbedEarnAmount | null;
313
605
 
314
606
  upcoming_reward_date?: string | null;
315
607
  }
316
608
 
317
- export namespace KrakenEmbedEarnUserAllocation {
318
- /**
319
- * An earn amount with native and converted values.
320
- */
321
- export interface TotalAllocated extends KrakenEmbedAPI.KrakenEmbedEarnAmount {}
609
+ /**
610
+ * User's full name including first, optional middle, and last name.
611
+ */
612
+ export interface KrakenEmbedFullName {
613
+ first_name: string;
322
614
 
323
- /**
324
- * An earn amount with native and converted values.
325
- */
326
- export interface TotalRewarded extends KrakenEmbedAPI.KrakenEmbedEarnAmount {}
615
+ last_name: string;
616
+
617
+ middle_name?: string | null;
327
618
  }
328
619
 
329
620
  /**
@@ -353,26 +644,10 @@ export interface KrakenEmbedGetAssetListQueryParamsSchema {
353
644
 
354
645
  quote?: string;
355
646
 
356
- sort?:
357
- | 'trending'
358
- | 'market_cap_rank'
359
- | '-market_cap_rank'
360
- | 'symbol'
361
- | '-symbol'
362
- | 'name'
363
- | '-name'
364
- | 'change_percent_1h'
365
- | '-change_percent_1h'
366
- | 'change_percent_24h'
367
- | '-change_percent_24h'
368
- | 'change_percent_7d'
369
- | '-change_percent_7d'
370
- | 'change_percent_30d'
371
- | '-change_percent_30d'
372
- | 'change_percent_1y'
373
- | '-change_percent_1y'
374
- | 'listing_date'
375
- | '-listing_date';
647
+ /**
648
+ * Sorting options for the asset list endpoint.
649
+ */
650
+ sort?: KrakenEmbedAssetSortOption;
376
651
  }
377
652
 
378
653
  /**
@@ -391,20 +666,13 @@ export interface KrakenEmbedGetCustomOrderHistoryResponse {
391
666
  /**
392
667
  * Result payload for custom order history response.
393
668
  */
394
- result: KrakenEmbedGetCustomOrderHistoryResponse.Result;
669
+ result: KrakenEmbedGetCustomOrderHistoryResult | null;
395
670
 
396
671
  error?: Array<unknown>;
397
672
 
398
673
  errors?: Array<unknown>;
399
674
  }
400
675
 
401
- export namespace KrakenEmbedGetCustomOrderHistoryResponse {
402
- /**
403
- * Result payload for custom order history response.
404
- */
405
- export interface Result extends KrakenEmbedAPI.KrakenEmbedGetCustomOrderHistoryResult {}
406
- }
407
-
408
676
  /**
409
677
  * Result payload for custom order history response.
410
678
  */
@@ -428,20 +696,13 @@ export interface KrakenEmbedGetCustomOrderResponse {
428
696
  /**
429
697
  * Result payload for get custom order response.
430
698
  */
431
- result: KrakenEmbedGetCustomOrderResponse.Result;
699
+ result: KrakenEmbedGetCustomOrderResult | null;
432
700
 
433
701
  error?: Array<unknown>;
434
702
 
435
703
  errors?: Array<unknown>;
436
704
  }
437
705
 
438
- export namespace KrakenEmbedGetCustomOrderResponse {
439
- /**
440
- * Result payload for get custom order response.
441
- */
442
- export interface Result extends KrakenEmbedAPI.KrakenEmbedGetCustomOrderResult {}
443
- }
444
-
445
706
  /**
446
707
  * Result payload for get custom order response.
447
708
  */
@@ -459,20 +720,13 @@ export interface KrakenEmbedGetEarnAssetsKrakenResponse {
459
720
  /**
460
721
  * Result payload for earn assets response.
461
722
  */
462
- result: KrakenEmbedGetEarnAssetsKrakenResponse.Result;
723
+ result: KrakenEmbedGetEarnAssetsResult | null;
463
724
 
464
725
  error?: Array<unknown>;
465
726
 
466
727
  errors?: Array<unknown>;
467
728
  }
468
729
 
469
- export namespace KrakenEmbedGetEarnAssetsKrakenResponse {
470
- /**
471
- * Result payload for earn assets response.
472
- */
473
- export interface Result extends KrakenEmbedAPI.KrakenEmbedGetEarnAssetsResult {}
474
- }
475
-
476
730
  /**
477
731
  * Query parameters for listing earn assets.
478
732
  */
@@ -508,20 +762,13 @@ export interface KrakenEmbedGetEarnSummaryKrakenResponse {
508
762
  /**
509
763
  * Result payload for earn summary response.
510
764
  */
511
- result: KrakenEmbedGetEarnSummaryKrakenResponse.Result;
765
+ result: KrakenEmbedGetEarnSummaryResult | null;
512
766
 
513
767
  error?: Array<unknown>;
514
768
 
515
769
  errors?: Array<unknown>;
516
770
  }
517
771
 
518
- export namespace KrakenEmbedGetEarnSummaryKrakenResponse {
519
- /**
520
- * Result payload for earn summary response.
521
- */
522
- export interface Result extends KrakenEmbedAPI.KrakenEmbedGetEarnSummaryResult {}
523
- }
524
-
525
772
  /**
526
773
  * Query parameters for getting an earn summary.
527
774
  */
@@ -574,7 +821,11 @@ export interface KrakenEmbedGetPortfolioDetailsQueryParamsSchema {
574
821
  * Query parameters for getting a portfolio summary.
575
822
  */
576
823
  export interface KrakenEmbedGetPortfolioSummaryQueryParams {
577
- 'include[current_day_pnl]'?: 'true' | 'false';
824
+ /**
825
+ * A string-encoded boolean query parameter on including current day profit and
826
+ * loss.
827
+ */
828
+ 'include[current_day_pnl]'?: KrakenEmbedIncludeCurrentDayPnlQueryParam;
578
829
 
579
830
  quote?: string;
580
831
  }
@@ -584,43 +835,27 @@ export interface KrakenEmbedGetPortfolioSummaryQueryParams {
584
835
  * balance, and unrealized P&L.
585
836
  */
586
837
  export interface KrakenEmbedGetPortfolioSummaryResponse {
587
- data: KrakenEmbedGetPortfolioSummaryResponse.Data;
838
+ /**
839
+ * Kraken API response envelope for portfolio summary, containing optional errors
840
+ * and the result payload.
841
+ */
842
+ data: KrakenEmbedGetPortfolioSummaryResult;
588
843
  }
589
844
 
590
- export namespace KrakenEmbedGetPortfolioSummaryResponse {
591
- export interface Data {
592
- result: Data.Result | null;
593
-
594
- error?: Array<string>;
595
-
596
- errors?: Array<string>;
597
- }
598
-
599
- export namespace Data {
600
- export interface Result {
601
- available_balance: string;
602
-
603
- currency: string;
604
-
605
- open_orders: string;
606
-
607
- portfolio_value: string;
608
-
609
- timestamp: string;
610
-
611
- withheld_value: string;
612
-
613
- cost_basis?: string | null;
845
+ /**
846
+ * Kraken API response envelope for portfolio summary, containing optional errors
847
+ * and the result payload.
848
+ */
849
+ export interface KrakenEmbedGetPortfolioSummaryResult {
850
+ /**
851
+ * Portfolio summary payload containing balances, value, and profit/loss
852
+ * information.
853
+ */
854
+ result: KrakenEmbedPortfolioSummaryPayload | null;
614
855
 
615
- /**
616
- * Current day profit and loss for a portfolio, calculated from the most recent
617
- * available balance.
618
- */
619
- current_day_pnl?: KrakenEmbedAPI.KrakenEmbedCurrentDayPnl | null;
856
+ error?: Array<string>;
620
857
 
621
- lots_upnl?: string | null;
622
- }
623
- }
858
+ errors?: Array<string>;
624
859
  }
625
860
 
626
861
  /**
@@ -639,25 +874,20 @@ export interface KrakenEmbedGetPortfolioTransactionsQueryParamsSchema {
639
874
 
640
875
  quote?: string;
641
876
 
642
- ref_ids?: Array<KrakenEmbedGetPortfolioTransactionsQueryParamsSchema.RefID>;
877
+ ref_ids?: Array<KrakenEmbedPortfolioTransactionRefID>;
643
878
 
644
- sorting?: 'descending' | 'ascending';
879
+ /**
880
+ * Sort direction for paginated transaction lists.
881
+ */
882
+ sorting?: KrakenEmbedSortingOrder;
645
883
 
646
- statuses?: Array<'unspecified' | 'in_progress' | 'successful' | 'failed'>;
884
+ statuses?: Array<KrakenEmbedTransactionStatus>;
647
885
 
648
- types?: Array<'simple_order' | 'simple_order_failed' | 'earn_reward'>;
886
+ types?: Array<KrakenEmbedTransactionType>;
649
887
 
650
888
  until_time?: string;
651
889
  }
652
890
 
653
- export namespace KrakenEmbedGetPortfolioTransactionsQueryParamsSchema {
654
- export interface RefID {
655
- ref_id: string;
656
-
657
- type: 'simple_order_quote' | 'simple_order_quote_failed';
658
- }
659
- }
660
-
661
891
  /**
662
892
  * Query parameters for getting a quote status.
663
893
  */
@@ -668,6 +898,22 @@ export interface KrakenEmbedGetQuoteQueryParams {
668
898
  user_id: string;
669
899
  }
670
900
 
901
+ /**
902
+ * Document types accepted for proof of identity verification.
903
+ */
904
+ export type KrakenEmbedIdentityDocumentType =
905
+ | 'passport'
906
+ | 'drivers_license'
907
+ | 'id_card'
908
+ | 'residence_card'
909
+ | 'special_permanent_residence_card';
910
+
911
+ /**
912
+ * A string-encoded boolean query parameter on including current day profit and
913
+ * loss.
914
+ */
915
+ export type KrakenEmbedIncludeCurrentDayPnlQueryParam = 'true' | 'false';
916
+
671
917
  /**
672
918
  * Query parameters for listing custom orders.
673
919
  */
@@ -676,7 +922,7 @@ export interface KrakenEmbedListCustomOrdersQueryParams {
676
922
 
677
923
  cursor?: string;
678
924
 
679
- statuses?: Array<'active' | 'paused' | 'cancelled' | 'completed'> | string;
925
+ statuses?: Array<KrakenEmbedCustomOrderStatusValue> | string;
680
926
  }
681
927
 
682
928
  /**
@@ -686,20 +932,13 @@ export interface KrakenEmbedListCustomOrdersResponse {
686
932
  /**
687
933
  * Result payload for list custom orders response.
688
934
  */
689
- result: KrakenEmbedListCustomOrdersResponse.Result;
935
+ result: KrakenEmbedListCustomOrdersResult | null;
690
936
 
691
937
  error?: Array<unknown>;
692
938
 
693
939
  errors?: Array<unknown>;
694
940
  }
695
941
 
696
- export namespace KrakenEmbedListCustomOrdersResponse {
697
- /**
698
- * Result payload for list custom orders response.
699
- */
700
- export interface Result extends KrakenEmbedAPI.KrakenEmbedListCustomOrdersResult {}
701
- }
702
-
703
942
  /**
704
943
  * Result payload for list custom orders response.
705
944
  */
@@ -708,343 +947,141 @@ export interface KrakenEmbedListCustomOrdersResult {
708
947
  }
709
948
 
710
949
  /**
711
- * Optional best-effort metadata hints for proof of address verification.
950
+ * Portfolio summary payload containing balances, value, and profit/loss
951
+ * information.
712
952
  */
713
- export interface KrakenEmbedStartAddressMetadata {
714
- address?: KrakenEmbedStartAddressMetadata.Address | null;
953
+ export interface KrakenEmbedPortfolioSummaryPayload {
954
+ available_balance: string;
715
955
 
716
- document_number?: string | null;
956
+ currency: string;
717
957
 
718
- document_type?:
719
- | 'bank_statement'
720
- | 'credit_card_statement'
721
- | 'employer_letter_or_work_contract'
722
- | 'government_issued_document'
723
- | 'home_or_rental_insurance'
724
- | 'internet_or_cable_bill'
725
- | 'mobile_phone_bill'
726
- | 'mortgage_statement'
727
- | 'official_government_letter'
728
- | 'passport_address_page'
729
- | 'rental_or_lease_agreement'
730
- | 'residence_certificate'
731
- | 'social_insurance_payment_receipt'
732
- | 'tax_receipt'
733
- | 'tax_return'
734
- | 'utility_bill'
735
- | 'other'
736
- | null;
958
+ open_orders: string;
737
959
 
738
- expiration_date?: string | null;
960
+ portfolio_value: string;
961
+
962
+ timestamp: string;
963
+
964
+ withheld_value: string;
965
+
966
+ cost_basis?: string | null;
967
+
968
+ /**
969
+ * Current day profit and loss for a portfolio, calculated from the most recent
970
+ * available balance.
971
+ */
972
+ current_day_pnl?: KrakenEmbedCurrentDayPnl | null;
973
+
974
+ lots_upnl?: string | null;
739
975
  }
740
976
 
741
- export namespace KrakenEmbedStartAddressMetadata {
742
- export interface Address {
743
- city: string;
744
-
745
- country:
746
- | 'AD'
747
- | 'AE'
748
- | 'AF'
749
- | 'AG'
750
- | 'AI'
751
- | 'AL'
752
- | 'AM'
753
- | 'AO'
754
- | 'AQ'
755
- | 'AR'
756
- | 'AS'
757
- | 'AT'
758
- | 'AU'
759
- | 'AW'
760
- | 'AX'
761
- | 'AZ'
762
- | 'BA'
763
- | 'BB'
764
- | 'BD'
765
- | 'BE'
766
- | 'BF'
767
- | 'BG'
768
- | 'BH'
769
- | 'BI'
770
- | 'BJ'
771
- | 'BL'
772
- | 'BM'
773
- | 'BN'
774
- | 'BO'
775
- | 'BQ'
776
- | 'BR'
777
- | 'BS'
778
- | 'BT'
779
- | 'BV'
780
- | 'BW'
781
- | 'BY'
782
- | 'BZ'
783
- | 'CA'
784
- | 'CC'
785
- | 'CD'
786
- | 'CF'
787
- | 'CG'
788
- | 'CH'
789
- | 'CI'
790
- | 'CK'
791
- | 'CL'
792
- | 'CM'
793
- | 'CN'
794
- | 'CO'
795
- | 'CR'
796
- | 'CU'
797
- | 'CV'
798
- | 'CW'
799
- | 'CX'
800
- | 'CY'
801
- | 'CZ'
802
- | 'DE'
803
- | 'DJ'
804
- | 'DK'
805
- | 'DM'
806
- | 'DO'
807
- | 'DZ'
808
- | 'EC'
809
- | 'EE'
810
- | 'EG'
811
- | 'EH'
812
- | 'ER'
813
- | 'ES'
814
- | 'ET'
815
- | 'FI'
816
- | 'FJ'
817
- | 'FK'
818
- | 'FM'
819
- | 'FO'
820
- | 'FR'
821
- | 'GA'
822
- | 'GB'
823
- | 'GD'
824
- | 'GE'
825
- | 'GF'
826
- | 'GG'
827
- | 'GH'
828
- | 'GI'
829
- | 'GL'
830
- | 'GM'
831
- | 'GN'
832
- | 'GP'
833
- | 'GQ'
834
- | 'GR'
835
- | 'GS'
836
- | 'GT'
837
- | 'GU'
838
- | 'GW'
839
- | 'GY'
840
- | 'HK'
841
- | 'HM'
842
- | 'HN'
843
- | 'HR'
844
- | 'HT'
845
- | 'HU'
846
- | 'ID'
847
- | 'IE'
848
- | 'IL'
849
- | 'IM'
850
- | 'IN'
851
- | 'IO'
852
- | 'IQ'
853
- | 'IR'
854
- | 'IS'
855
- | 'IT'
856
- | 'JE'
857
- | 'JM'
858
- | 'JO'
859
- | 'JP'
860
- | 'KE'
861
- | 'KG'
862
- | 'KH'
863
- | 'KI'
864
- | 'KM'
865
- | 'KN'
866
- | 'KP'
867
- | 'KR'
868
- | 'KW'
869
- | 'KY'
870
- | 'KZ'
871
- | 'LA'
872
- | 'LB'
873
- | 'LC'
874
- | 'LI'
875
- | 'LK'
876
- | 'LR'
877
- | 'LS'
878
- | 'LT'
879
- | 'LU'
880
- | 'LV'
881
- | 'LY'
882
- | 'MA'
883
- | 'MC'
884
- | 'MD'
885
- | 'ME'
886
- | 'MF'
887
- | 'MG'
888
- | 'MH'
889
- | 'MK'
890
- | 'ML'
891
- | 'MM'
892
- | 'MN'
893
- | 'MO'
894
- | 'MP'
895
- | 'MQ'
896
- | 'MR'
897
- | 'MS'
898
- | 'MT'
899
- | 'MU'
900
- | 'MV'
901
- | 'MW'
902
- | 'MX'
903
- | 'MY'
904
- | 'MZ'
905
- | 'NA'
906
- | 'NC'
907
- | 'NE'
908
- | 'NF'
909
- | 'NG'
910
- | 'NI'
911
- | 'NL'
912
- | 'NO'
913
- | 'NP'
914
- | 'NR'
915
- | 'NU'
916
- | 'NZ'
917
- | 'OM'
918
- | 'PA'
919
- | 'PE'
920
- | 'PF'
921
- | 'PG'
922
- | 'PH'
923
- | 'PK'
924
- | 'PL'
925
- | 'PM'
926
- | 'PN'
927
- | 'PR'
928
- | 'PS'
929
- | 'PT'
930
- | 'PW'
931
- | 'PY'
932
- | 'QA'
933
- | 'RE'
934
- | 'RO'
935
- | 'RS'
936
- | 'RU'
937
- | 'RW'
938
- | 'SA'
939
- | 'SB'
940
- | 'SC'
941
- | 'SD'
942
- | 'SE'
943
- | 'SG'
944
- | 'SH'
945
- | 'SI'
946
- | 'SJ'
947
- | 'SK'
948
- | 'SL'
949
- | 'SM'
950
- | 'SN'
951
- | 'SO'
952
- | 'SR'
953
- | 'SS'
954
- | 'ST'
955
- | 'SV'
956
- | 'SX'
957
- | 'SY'
958
- | 'SZ'
959
- | 'TC'
960
- | 'TD'
961
- | 'TF'
962
- | 'TG'
963
- | 'TH'
964
- | 'TJ'
965
- | 'TK'
966
- | 'TL'
967
- | 'TM'
968
- | 'TN'
969
- | 'TO'
970
- | 'TR'
971
- | 'TT'
972
- | 'TV'
973
- | 'TW'
974
- | 'TZ'
975
- | 'UA'
976
- | 'UG'
977
- | 'UM'
978
- | 'US'
979
- | 'UY'
980
- | 'UZ'
981
- | 'VA'
982
- | 'VC'
983
- | 'VE'
984
- | 'VG'
985
- | 'VI'
986
- | 'VN'
987
- | 'VU'
988
- | 'WF'
989
- | 'WS'
990
- | 'YE'
991
- | 'YT'
992
- | 'ZA'
993
- | 'ZM'
994
- | 'ZW'
995
- | 'AC'
996
- | 'AN'
997
- | 'AP'
998
- | 'CP'
999
- | 'DG'
1000
- | 'EA'
1001
- | 'EU'
1002
- | 'IC'
1003
- | 'JX'
1004
- | 'TA'
1005
- | 'QO'
1006
- | 'XK'
1007
- | '0C';
1008
-
1009
- line1: string;
1010
-
1011
- postal_code: string;
1012
-
1013
- line2?: string | null;
1014
-
1015
- province?: string | null;
1016
- }
977
+ /**
978
+ * A reference ID filter for portfolio transaction queries, identifying a
979
+ * transaction by type and reference identifier.
980
+ */
981
+ export interface KrakenEmbedPortfolioTransactionRefID {
982
+ ref_id: string;
983
+
984
+ /**
985
+ * The type of reference ID used to filter portfolio transactions by quote or
986
+ * failed quote references.
987
+ */
988
+ type: KrakenEmbedPortfolioTransactionRefIDType;
1017
989
  }
1018
990
 
1019
991
  /**
1020
- * Input payload for starting proof of address verification via URL.
992
+ * The type of reference ID used to filter portfolio transactions by quote or
993
+ * failed quote references.
1021
994
  */
1022
- export interface KrakenEmbedStartAddressVerificationURLInput {
1023
- document_url: string;
995
+ export type KrakenEmbedPortfolioTransactionRefIDType = 'simple_order_quote' | 'simple_order_quote_failed';
1024
996
 
1025
- type: 'proof_of_address';
997
+ /**
998
+ * Whether the quote amount refers to the asset being received or spent.
999
+ */
1000
+ export type KrakenEmbedQuoteType = 'receive' | 'spend';
1001
+
1002
+ /**
1003
+ * User's residential address including street, city, postal code, and country.
1004
+ */
1005
+ export interface KrakenEmbedResidence {
1006
+ city: string;
1026
1007
 
1027
1008
  /**
1028
- * Debug options for start verification. Only works in non-production environments.
1009
+ * ISO 3166-1 alpha-2 country codes supported by Kraken Embed.
1029
1010
  */
1030
- debug?: KrakenEmbedStartAddressVerificationURLInput.Debug;
1011
+ country: KrakenEmbedCountryCode;
1012
+
1013
+ line1: string;
1014
+
1015
+ postal_code: string;
1016
+
1017
+ line2?: string | null;
1018
+
1019
+ province?: string | null;
1020
+ }
1021
+
1022
+ /**
1023
+ * Document types accepted for proof of address verification.
1024
+ */
1025
+ export type KrakenEmbedResidenceDocumentType =
1026
+ | 'bank_statement'
1027
+ | 'credit_card_statement'
1028
+ | 'employer_letter_or_work_contract'
1029
+ | 'government_issued_document'
1030
+ | 'home_or_rental_insurance'
1031
+ | 'internet_or_cable_bill'
1032
+ | 'mobile_phone_bill'
1033
+ | 'mortgage_statement'
1034
+ | 'official_government_letter'
1035
+ | 'passport_address_page'
1036
+ | 'rental_or_lease_agreement'
1037
+ | 'residence_certificate'
1038
+ | 'social_insurance_payment_receipt'
1039
+ | 'tax_receipt'
1040
+ | 'tax_return'
1041
+ | 'utility_bill'
1042
+ | 'other';
1031
1043
 
1044
+ /**
1045
+ * Sort direction for paginated transaction lists.
1046
+ */
1047
+ export type KrakenEmbedSortingOrder = 'descending' | 'ascending';
1048
+
1049
+ /**
1050
+ * Optional best-effort metadata hints for proof of address verification.
1051
+ */
1052
+ export interface KrakenEmbedStartAddressMetadata {
1032
1053
  /**
1033
- * Optional best-effort metadata hints for proof of address verification.
1054
+ * User's residential address including street, city, postal code, and country.
1055
+ */
1056
+ address?: KrakenEmbedResidence | null;
1057
+
1058
+ document_number?: string | null;
1059
+
1060
+ /**
1061
+ * Document types accepted for proof of address verification.
1034
1062
  */
1035
- metadata?: KrakenEmbedStartAddressVerificationURLInput.Metadata;
1063
+ document_type?: KrakenEmbedResidenceDocumentType | null;
1064
+
1065
+ expiration_date?: string | null;
1036
1066
  }
1037
1067
 
1038
- export namespace KrakenEmbedStartAddressVerificationURLInput {
1068
+ /**
1069
+ * Input payload for starting proof of address verification via URL.
1070
+ */
1071
+ export interface KrakenEmbedStartAddressVerificationURLInput {
1072
+ document_url: string;
1073
+
1074
+ type: 'proof_of_address';
1075
+
1039
1076
  /**
1040
1077
  * Debug options for start verification. Only works in non-production environments.
1041
1078
  */
1042
- export interface Debug extends KrakenEmbedAPI.KrakenEmbedStartVerificationDebug {}
1079
+ debug?: KrakenEmbedStartVerificationDebug | null;
1043
1080
 
1044
1081
  /**
1045
1082
  * Optional best-effort metadata hints for proof of address verification.
1046
1083
  */
1047
- export interface Metadata extends KrakenEmbedAPI.KrakenEmbedStartAddressMetadata {}
1084
+ metadata?: KrakenEmbedStartAddressMetadata | null;
1048
1085
  }
1049
1086
 
1050
1087
  /**
@@ -1054,17 +1091,10 @@ export namespace KrakenEmbedStartAddressVerificationURLInput {
1054
1091
  export interface KrakenEmbedStartIdentityInfo {
1055
1092
  date_of_birth?: string | null;
1056
1093
 
1057
- full_name?: KrakenEmbedStartIdentityInfo.FullName | null;
1058
- }
1059
-
1060
- export namespace KrakenEmbedStartIdentityInfo {
1061
- export interface FullName {
1062
- first_name: string;
1063
-
1064
- last_name: string;
1065
-
1066
- middle_name?: string | null;
1067
- }
1094
+ /**
1095
+ * User's full name including first, optional middle, and last name.
1096
+ */
1097
+ full_name?: KrakenEmbedFullName | null;
1068
1098
  }
1069
1099
 
1070
1100
  /**
@@ -1073,13 +1103,10 @@ export namespace KrakenEmbedStartIdentityInfo {
1073
1103
  export interface KrakenEmbedStartIdentityMetadata {
1074
1104
  document_number?: string | null;
1075
1105
 
1076
- document_type?:
1077
- | 'passport'
1078
- | 'drivers_license'
1079
- | 'id_card'
1080
- | 'residence_card'
1081
- | 'special_permanent_residence_card'
1082
- | null;
1106
+ /**
1107
+ * Document types accepted for proof of identity verification.
1108
+ */
1109
+ document_type?: KrakenEmbedIdentityDocumentType | null;
1083
1110
 
1084
1111
  expiration_date?: string | null;
1085
1112
 
@@ -1087,545 +1114,17 @@ export interface KrakenEmbedStartIdentityMetadata {
1087
1114
  * Identity information hints including full name and date of birth for proof of
1088
1115
  * identity verification.
1089
1116
  */
1090
- identity?: KrakenEmbedStartIdentityMetadata.Identity;
1091
-
1092
- issuing_country?:
1093
- | 'AD'
1094
- | 'AE'
1095
- | 'AF'
1096
- | 'AG'
1097
- | 'AI'
1098
- | 'AL'
1099
- | 'AM'
1100
- | 'AO'
1101
- | 'AQ'
1102
- | 'AR'
1103
- | 'AS'
1104
- | 'AT'
1105
- | 'AU'
1106
- | 'AW'
1107
- | 'AX'
1108
- | 'AZ'
1109
- | 'BA'
1110
- | 'BB'
1111
- | 'BD'
1112
- | 'BE'
1113
- | 'BF'
1114
- | 'BG'
1115
- | 'BH'
1116
- | 'BI'
1117
- | 'BJ'
1118
- | 'BL'
1119
- | 'BM'
1120
- | 'BN'
1121
- | 'BO'
1122
- | 'BQ'
1123
- | 'BR'
1124
- | 'BS'
1125
- | 'BT'
1126
- | 'BV'
1127
- | 'BW'
1128
- | 'BY'
1129
- | 'BZ'
1130
- | 'CA'
1131
- | 'CC'
1132
- | 'CD'
1133
- | 'CF'
1134
- | 'CG'
1135
- | 'CH'
1136
- | 'CI'
1137
- | 'CK'
1138
- | 'CL'
1139
- | 'CM'
1140
- | 'CN'
1141
- | 'CO'
1142
- | 'CR'
1143
- | 'CU'
1144
- | 'CV'
1145
- | 'CW'
1146
- | 'CX'
1147
- | 'CY'
1148
- | 'CZ'
1149
- | 'DE'
1150
- | 'DJ'
1151
- | 'DK'
1152
- | 'DM'
1153
- | 'DO'
1154
- | 'DZ'
1155
- | 'EC'
1156
- | 'EE'
1157
- | 'EG'
1158
- | 'EH'
1159
- | 'ER'
1160
- | 'ES'
1161
- | 'ET'
1162
- | 'FI'
1163
- | 'FJ'
1164
- | 'FK'
1165
- | 'FM'
1166
- | 'FO'
1167
- | 'FR'
1168
- | 'GA'
1169
- | 'GB'
1170
- | 'GD'
1171
- | 'GE'
1172
- | 'GF'
1173
- | 'GG'
1174
- | 'GH'
1175
- | 'GI'
1176
- | 'GL'
1177
- | 'GM'
1178
- | 'GN'
1179
- | 'GP'
1180
- | 'GQ'
1181
- | 'GR'
1182
- | 'GS'
1183
- | 'GT'
1184
- | 'GU'
1185
- | 'GW'
1186
- | 'GY'
1187
- | 'HK'
1188
- | 'HM'
1189
- | 'HN'
1190
- | 'HR'
1191
- | 'HT'
1192
- | 'HU'
1193
- | 'ID'
1194
- | 'IE'
1195
- | 'IL'
1196
- | 'IM'
1197
- | 'IN'
1198
- | 'IO'
1199
- | 'IQ'
1200
- | 'IR'
1201
- | 'IS'
1202
- | 'IT'
1203
- | 'JE'
1204
- | 'JM'
1205
- | 'JO'
1206
- | 'JP'
1207
- | 'KE'
1208
- | 'KG'
1209
- | 'KH'
1210
- | 'KI'
1211
- | 'KM'
1212
- | 'KN'
1213
- | 'KP'
1214
- | 'KR'
1215
- | 'KW'
1216
- | 'KY'
1217
- | 'KZ'
1218
- | 'LA'
1219
- | 'LB'
1220
- | 'LC'
1221
- | 'LI'
1222
- | 'LK'
1223
- | 'LR'
1224
- | 'LS'
1225
- | 'LT'
1226
- | 'LU'
1227
- | 'LV'
1228
- | 'LY'
1229
- | 'MA'
1230
- | 'MC'
1231
- | 'MD'
1232
- | 'ME'
1233
- | 'MF'
1234
- | 'MG'
1235
- | 'MH'
1236
- | 'MK'
1237
- | 'ML'
1238
- | 'MM'
1239
- | 'MN'
1240
- | 'MO'
1241
- | 'MP'
1242
- | 'MQ'
1243
- | 'MR'
1244
- | 'MS'
1245
- | 'MT'
1246
- | 'MU'
1247
- | 'MV'
1248
- | 'MW'
1249
- | 'MX'
1250
- | 'MY'
1251
- | 'MZ'
1252
- | 'NA'
1253
- | 'NC'
1254
- | 'NE'
1255
- | 'NF'
1256
- | 'NG'
1257
- | 'NI'
1258
- | 'NL'
1259
- | 'NO'
1260
- | 'NP'
1261
- | 'NR'
1262
- | 'NU'
1263
- | 'NZ'
1264
- | 'OM'
1265
- | 'PA'
1266
- | 'PE'
1267
- | 'PF'
1268
- | 'PG'
1269
- | 'PH'
1270
- | 'PK'
1271
- | 'PL'
1272
- | 'PM'
1273
- | 'PN'
1274
- | 'PR'
1275
- | 'PS'
1276
- | 'PT'
1277
- | 'PW'
1278
- | 'PY'
1279
- | 'QA'
1280
- | 'RE'
1281
- | 'RO'
1282
- | 'RS'
1283
- | 'RU'
1284
- | 'RW'
1285
- | 'SA'
1286
- | 'SB'
1287
- | 'SC'
1288
- | 'SD'
1289
- | 'SE'
1290
- | 'SG'
1291
- | 'SH'
1292
- | 'SI'
1293
- | 'SJ'
1294
- | 'SK'
1295
- | 'SL'
1296
- | 'SM'
1297
- | 'SN'
1298
- | 'SO'
1299
- | 'SR'
1300
- | 'SS'
1301
- | 'ST'
1302
- | 'SV'
1303
- | 'SX'
1304
- | 'SY'
1305
- | 'SZ'
1306
- | 'TC'
1307
- | 'TD'
1308
- | 'TF'
1309
- | 'TG'
1310
- | 'TH'
1311
- | 'TJ'
1312
- | 'TK'
1313
- | 'TL'
1314
- | 'TM'
1315
- | 'TN'
1316
- | 'TO'
1317
- | 'TR'
1318
- | 'TT'
1319
- | 'TV'
1320
- | 'TW'
1321
- | 'TZ'
1322
- | 'UA'
1323
- | 'UG'
1324
- | 'UM'
1325
- | 'US'
1326
- | 'UY'
1327
- | 'UZ'
1328
- | 'VA'
1329
- | 'VC'
1330
- | 'VE'
1331
- | 'VG'
1332
- | 'VI'
1333
- | 'VN'
1334
- | 'VU'
1335
- | 'WF'
1336
- | 'WS'
1337
- | 'YE'
1338
- | 'YT'
1339
- | 'ZA'
1340
- | 'ZM'
1341
- | 'ZW'
1342
- | 'AC'
1343
- | 'AN'
1344
- | 'AP'
1345
- | 'CP'
1346
- | 'DG'
1347
- | 'EA'
1348
- | 'EU'
1349
- | 'IC'
1350
- | 'JX'
1351
- | 'TA'
1352
- | 'QO'
1353
- | 'XK'
1354
- | '0C'
1355
- | null;
1356
-
1357
- nationality?:
1358
- | 'AD'
1359
- | 'AE'
1360
- | 'AF'
1361
- | 'AG'
1362
- | 'AI'
1363
- | 'AL'
1364
- | 'AM'
1365
- | 'AO'
1366
- | 'AQ'
1367
- | 'AR'
1368
- | 'AS'
1369
- | 'AT'
1370
- | 'AU'
1371
- | 'AW'
1372
- | 'AX'
1373
- | 'AZ'
1374
- | 'BA'
1375
- | 'BB'
1376
- | 'BD'
1377
- | 'BE'
1378
- | 'BF'
1379
- | 'BG'
1380
- | 'BH'
1381
- | 'BI'
1382
- | 'BJ'
1383
- | 'BL'
1384
- | 'BM'
1385
- | 'BN'
1386
- | 'BO'
1387
- | 'BQ'
1388
- | 'BR'
1389
- | 'BS'
1390
- | 'BT'
1391
- | 'BV'
1392
- | 'BW'
1393
- | 'BY'
1394
- | 'BZ'
1395
- | 'CA'
1396
- | 'CC'
1397
- | 'CD'
1398
- | 'CF'
1399
- | 'CG'
1400
- | 'CH'
1401
- | 'CI'
1402
- | 'CK'
1403
- | 'CL'
1404
- | 'CM'
1405
- | 'CN'
1406
- | 'CO'
1407
- | 'CR'
1408
- | 'CU'
1409
- | 'CV'
1410
- | 'CW'
1411
- | 'CX'
1412
- | 'CY'
1413
- | 'CZ'
1414
- | 'DE'
1415
- | 'DJ'
1416
- | 'DK'
1417
- | 'DM'
1418
- | 'DO'
1419
- | 'DZ'
1420
- | 'EC'
1421
- | 'EE'
1422
- | 'EG'
1423
- | 'EH'
1424
- | 'ER'
1425
- | 'ES'
1426
- | 'ET'
1427
- | 'FI'
1428
- | 'FJ'
1429
- | 'FK'
1430
- | 'FM'
1431
- | 'FO'
1432
- | 'FR'
1433
- | 'GA'
1434
- | 'GB'
1435
- | 'GD'
1436
- | 'GE'
1437
- | 'GF'
1438
- | 'GG'
1439
- | 'GH'
1440
- | 'GI'
1441
- | 'GL'
1442
- | 'GM'
1443
- | 'GN'
1444
- | 'GP'
1445
- | 'GQ'
1446
- | 'GR'
1447
- | 'GS'
1448
- | 'GT'
1449
- | 'GU'
1450
- | 'GW'
1451
- | 'GY'
1452
- | 'HK'
1453
- | 'HM'
1454
- | 'HN'
1455
- | 'HR'
1456
- | 'HT'
1457
- | 'HU'
1458
- | 'ID'
1459
- | 'IE'
1460
- | 'IL'
1461
- | 'IM'
1462
- | 'IN'
1463
- | 'IO'
1464
- | 'IQ'
1465
- | 'IR'
1466
- | 'IS'
1467
- | 'IT'
1468
- | 'JE'
1469
- | 'JM'
1470
- | 'JO'
1471
- | 'JP'
1472
- | 'KE'
1473
- | 'KG'
1474
- | 'KH'
1475
- | 'KI'
1476
- | 'KM'
1477
- | 'KN'
1478
- | 'KP'
1479
- | 'KR'
1480
- | 'KW'
1481
- | 'KY'
1482
- | 'KZ'
1483
- | 'LA'
1484
- | 'LB'
1485
- | 'LC'
1486
- | 'LI'
1487
- | 'LK'
1488
- | 'LR'
1489
- | 'LS'
1490
- | 'LT'
1491
- | 'LU'
1492
- | 'LV'
1493
- | 'LY'
1494
- | 'MA'
1495
- | 'MC'
1496
- | 'MD'
1497
- | 'ME'
1498
- | 'MF'
1499
- | 'MG'
1500
- | 'MH'
1501
- | 'MK'
1502
- | 'ML'
1503
- | 'MM'
1504
- | 'MN'
1505
- | 'MO'
1506
- | 'MP'
1507
- | 'MQ'
1508
- | 'MR'
1509
- | 'MS'
1510
- | 'MT'
1511
- | 'MU'
1512
- | 'MV'
1513
- | 'MW'
1514
- | 'MX'
1515
- | 'MY'
1516
- | 'MZ'
1517
- | 'NA'
1518
- | 'NC'
1519
- | 'NE'
1520
- | 'NF'
1521
- | 'NG'
1522
- | 'NI'
1523
- | 'NL'
1524
- | 'NO'
1525
- | 'NP'
1526
- | 'NR'
1527
- | 'NU'
1528
- | 'NZ'
1529
- | 'OM'
1530
- | 'PA'
1531
- | 'PE'
1532
- | 'PF'
1533
- | 'PG'
1534
- | 'PH'
1535
- | 'PK'
1536
- | 'PL'
1537
- | 'PM'
1538
- | 'PN'
1539
- | 'PR'
1540
- | 'PS'
1541
- | 'PT'
1542
- | 'PW'
1543
- | 'PY'
1544
- | 'QA'
1545
- | 'RE'
1546
- | 'RO'
1547
- | 'RS'
1548
- | 'RU'
1549
- | 'RW'
1550
- | 'SA'
1551
- | 'SB'
1552
- | 'SC'
1553
- | 'SD'
1554
- | 'SE'
1555
- | 'SG'
1556
- | 'SH'
1557
- | 'SI'
1558
- | 'SJ'
1559
- | 'SK'
1560
- | 'SL'
1561
- | 'SM'
1562
- | 'SN'
1563
- | 'SO'
1564
- | 'SR'
1565
- | 'SS'
1566
- | 'ST'
1567
- | 'SV'
1568
- | 'SX'
1569
- | 'SY'
1570
- | 'SZ'
1571
- | 'TC'
1572
- | 'TD'
1573
- | 'TF'
1574
- | 'TG'
1575
- | 'TH'
1576
- | 'TJ'
1577
- | 'TK'
1578
- | 'TL'
1579
- | 'TM'
1580
- | 'TN'
1581
- | 'TO'
1582
- | 'TR'
1583
- | 'TT'
1584
- | 'TV'
1585
- | 'TW'
1586
- | 'TZ'
1587
- | 'UA'
1588
- | 'UG'
1589
- | 'UM'
1590
- | 'US'
1591
- | 'UY'
1592
- | 'UZ'
1593
- | 'VA'
1594
- | 'VC'
1595
- | 'VE'
1596
- | 'VG'
1597
- | 'VI'
1598
- | 'VN'
1599
- | 'VU'
1600
- | 'WF'
1601
- | 'WS'
1602
- | 'YE'
1603
- | 'YT'
1604
- | 'ZA'
1605
- | 'ZM'
1606
- | 'ZW'
1607
- | 'AC'
1608
- | 'AN'
1609
- | 'AP'
1610
- | 'CP'
1611
- | 'DG'
1612
- | 'EA'
1613
- | 'EU'
1614
- | 'IC'
1615
- | 'JX'
1616
- | 'TA'
1617
- | 'QO'
1618
- | 'XK'
1619
- | '0C'
1620
- | null;
1621
- }
1117
+ identity?: KrakenEmbedStartIdentityInfo | null;
1622
1118
 
1623
- export namespace KrakenEmbedStartIdentityMetadata {
1624
1119
  /**
1625
- * Identity information hints including full name and date of birth for proof of
1626
- * identity verification.
1120
+ * ISO 3166-1 alpha-2 country codes supported by Kraken Embed.
1627
1121
  */
1628
- export interface Identity extends KrakenEmbedAPI.KrakenEmbedStartIdentityInfo {}
1122
+ issuing_country?: KrakenEmbedCountryCode | null;
1123
+
1124
+ /**
1125
+ * ISO 3166-1 alpha-2 country codes supported by Kraken Embed.
1126
+ */
1127
+ nationality?: KrakenEmbedCountryCode | null;
1629
1128
  }
1630
1129
 
1631
1130
  /**
@@ -1641,24 +1140,12 @@ export interface KrakenEmbedStartIdentityVerificationURLInput {
1641
1140
  /**
1642
1141
  * Debug options for start verification. Only works in non-production environments.
1643
1142
  */
1644
- debug?: KrakenEmbedStartIdentityVerificationURLInput.Debug;
1645
-
1646
- /**
1647
- * Optional best-effort metadata hints for proof of identity verification.
1648
- */
1649
- metadata?: KrakenEmbedStartIdentityVerificationURLInput.Metadata;
1650
- }
1651
-
1652
- export namespace KrakenEmbedStartIdentityVerificationURLInput {
1653
- /**
1654
- * Debug options for start verification. Only works in non-production environments.
1655
- */
1656
- export interface Debug extends KrakenEmbedAPI.KrakenEmbedStartVerificationDebug {}
1143
+ debug?: KrakenEmbedStartVerificationDebug | null;
1657
1144
 
1658
1145
  /**
1659
1146
  * Optional best-effort metadata hints for proof of identity verification.
1660
1147
  */
1661
- export interface Metadata extends KrakenEmbedAPI.KrakenEmbedStartIdentityMetadata {}
1148
+ metadata?: KrakenEmbedStartIdentityMetadata | null;
1662
1149
  }
1663
1150
 
1664
1151
  /**
@@ -1676,14 +1163,7 @@ export interface KrakenEmbedStartLivenessVerificationURLInput {
1676
1163
  /**
1677
1164
  * Debug options for start verification. Only works in non-production environments.
1678
1165
  */
1679
- debug?: KrakenEmbedStartLivenessVerificationURLInput.Debug;
1680
- }
1681
-
1682
- export namespace KrakenEmbedStartLivenessVerificationURLInput {
1683
- /**
1684
- * Debug options for start verification. Only works in non-production environments.
1685
- */
1686
- export interface Debug extends KrakenEmbedAPI.KrakenEmbedStartVerificationDebug {}
1166
+ debug?: KrakenEmbedStartVerificationDebug | null;
1687
1167
  }
1688
1168
 
1689
1169
  /**
@@ -1708,14 +1188,7 @@ export interface KrakenEmbedStartVerificationURLResponse {
1708
1188
  /**
1709
1189
  * Result payload for start verification URL response.
1710
1190
  */
1711
- result: KrakenEmbedStartVerificationURLResponse.Result;
1712
- }
1713
-
1714
- export namespace KrakenEmbedStartVerificationURLResponse {
1715
- /**
1716
- * Result payload for start verification URL response.
1717
- */
1718
- export interface Result extends KrakenEmbedAPI.KrakenEmbedStartVerificationURLResult {}
1191
+ result: KrakenEmbedStartVerificationURLResult | null;
1719
1192
  }
1720
1193
 
1721
1194
  /**
@@ -1753,6 +1226,16 @@ export interface KrakenEmbedToggleAutoEarnResponse {
1753
1226
  data: KrakenEmbedToggleAutoEarnKrakenResponse;
1754
1227
  }
1755
1228
 
1229
+ /**
1230
+ * Lifecycle status of a portfolio transaction.
1231
+ */
1232
+ export type KrakenEmbedTransactionStatus = 'unspecified' | 'in_progress' | 'successful' | 'failed';
1233
+
1234
+ /**
1235
+ * Type of portfolio transaction in the transaction history.
1236
+ */
1237
+ export type KrakenEmbedTransactionType = 'simple_order' | 'simple_order_failed' | 'earn_reward';
1238
+
1756
1239
  /**
1757
1240
  * An upcoming earn reward for a specific asset.
1758
1241
  */
@@ -1769,22 +1252,17 @@ export interface KrakenEmbedUpcomingReward {
1769
1252
  /**
1770
1253
  * An earn amount with native and converted values.
1771
1254
  */
1772
- estimated_pending_amount: KrakenEmbedUpcomingReward.EstimatedPendingAmount;
1773
- }
1774
-
1775
- export namespace KrakenEmbedUpcomingReward {
1776
- /**
1777
- * An earn amount with native and converted values.
1778
- */
1779
- export interface EstimatedPendingAmount extends KrakenEmbedAPI.KrakenEmbedEarnAmount {}
1255
+ estimated_pending_amount: KrakenEmbedEarnAmount | null;
1780
1256
  }
1781
1257
 
1782
1258
  export declare namespace KrakenEmbed {
1783
1259
  export {
1260
+ type KrakenEmbedAssetSortOption as KrakenEmbedAssetSortOption,
1784
1261
  type KrakenEmbedCancelCustomOrderInput as KrakenEmbedCancelCustomOrderInput,
1785
1262
  type KrakenEmbedCancelCustomOrderPath as KrakenEmbedCancelCustomOrderPath,
1786
1263
  type KrakenEmbedCancelCustomOrderResponse as KrakenEmbedCancelCustomOrderResponse,
1787
1264
  type KrakenEmbedCancelCustomOrderResult as KrakenEmbedCancelCustomOrderResult,
1265
+ type KrakenEmbedCountryCode as KrakenEmbedCountryCode,
1788
1266
  type KrakenEmbedCreateCustomOrderInput as KrakenEmbedCreateCustomOrderInput,
1789
1267
  type KrakenEmbedCreateCustomOrderResponse as KrakenEmbedCreateCustomOrderResponse,
1790
1268
  type KrakenEmbedCreateCustomOrderResult as KrakenEmbedCreateCustomOrderResult,
@@ -1794,14 +1272,19 @@ export declare namespace KrakenEmbed {
1794
1272
  type KrakenEmbedCustomOrderAmount as KrakenEmbedCustomOrderAmount,
1795
1273
  type KrakenEmbedCustomOrderOccurrence as KrakenEmbedCustomOrderOccurrence,
1796
1274
  type KrakenEmbedCustomOrderOccurrenceExecutedAction as KrakenEmbedCustomOrderOccurrenceExecutedAction,
1275
+ type KrakenEmbedCustomOrderOccurrenceStatus as KrakenEmbedCustomOrderOccurrenceStatus,
1797
1276
  type KrakenEmbedCustomOrderOccurrenceTrigger as KrakenEmbedCustomOrderOccurrenceTrigger,
1277
+ type KrakenEmbedCustomOrderOccurrenceTriggerType as KrakenEmbedCustomOrderOccurrenceTriggerType,
1798
1278
  type KrakenEmbedCustomOrderQuoteAsset as KrakenEmbedCustomOrderQuoteAsset,
1799
1279
  type KrakenEmbedCustomOrderStatus as KrakenEmbedCustomOrderStatus,
1280
+ type KrakenEmbedCustomOrderStatusValue as KrakenEmbedCustomOrderStatusValue,
1800
1281
  type KrakenEmbedCustomOrderTrigger as KrakenEmbedCustomOrderTrigger,
1282
+ type KrakenEmbedCustomOrderTriggerCondition as KrakenEmbedCustomOrderTriggerCondition,
1801
1283
  type KrakenEmbedEarnAmount as KrakenEmbedEarnAmount,
1802
1284
  type KrakenEmbedEarnAprEstimate as KrakenEmbedEarnAprEstimate,
1803
1285
  type KrakenEmbedEarnAsset as KrakenEmbedEarnAsset,
1804
1286
  type KrakenEmbedEarnUserAllocation as KrakenEmbedEarnUserAllocation,
1287
+ type KrakenEmbedFullName as KrakenEmbedFullName,
1805
1288
  type KrakenEmbedGetAssetListQueryParamsSchema as KrakenEmbedGetAssetListQueryParamsSchema,
1806
1289
  type KrakenEmbedGetCustomOrderHistoryQueryParams as KrakenEmbedGetCustomOrderHistoryQueryParams,
1807
1290
  type KrakenEmbedGetCustomOrderHistoryResponse as KrakenEmbedGetCustomOrderHistoryResponse,
@@ -1820,11 +1303,21 @@ export declare namespace KrakenEmbed {
1820
1303
  type KrakenEmbedGetPortfolioDetailsQueryParamsSchema as KrakenEmbedGetPortfolioDetailsQueryParamsSchema,
1821
1304
  type KrakenEmbedGetPortfolioSummaryQueryParams as KrakenEmbedGetPortfolioSummaryQueryParams,
1822
1305
  type KrakenEmbedGetPortfolioSummaryResponse as KrakenEmbedGetPortfolioSummaryResponse,
1306
+ type KrakenEmbedGetPortfolioSummaryResult as KrakenEmbedGetPortfolioSummaryResult,
1823
1307
  type KrakenEmbedGetPortfolioTransactionsQueryParamsSchema as KrakenEmbedGetPortfolioTransactionsQueryParamsSchema,
1824
1308
  type KrakenEmbedGetQuoteQueryParams as KrakenEmbedGetQuoteQueryParams,
1309
+ type KrakenEmbedIdentityDocumentType as KrakenEmbedIdentityDocumentType,
1310
+ type KrakenEmbedIncludeCurrentDayPnlQueryParam as KrakenEmbedIncludeCurrentDayPnlQueryParam,
1825
1311
  type KrakenEmbedListCustomOrdersQueryParams as KrakenEmbedListCustomOrdersQueryParams,
1826
1312
  type KrakenEmbedListCustomOrdersResponse as KrakenEmbedListCustomOrdersResponse,
1827
1313
  type KrakenEmbedListCustomOrdersResult as KrakenEmbedListCustomOrdersResult,
1314
+ type KrakenEmbedPortfolioSummaryPayload as KrakenEmbedPortfolioSummaryPayload,
1315
+ type KrakenEmbedPortfolioTransactionRefID as KrakenEmbedPortfolioTransactionRefID,
1316
+ type KrakenEmbedPortfolioTransactionRefIDType as KrakenEmbedPortfolioTransactionRefIDType,
1317
+ type KrakenEmbedQuoteType as KrakenEmbedQuoteType,
1318
+ type KrakenEmbedResidence as KrakenEmbedResidence,
1319
+ type KrakenEmbedResidenceDocumentType as KrakenEmbedResidenceDocumentType,
1320
+ type KrakenEmbedSortingOrder as KrakenEmbedSortingOrder,
1828
1321
  type KrakenEmbedStartAddressMetadata as KrakenEmbedStartAddressMetadata,
1829
1322
  type KrakenEmbedStartAddressVerificationURLInput as KrakenEmbedStartAddressVerificationURLInput,
1830
1323
  type KrakenEmbedStartIdentityInfo as KrakenEmbedStartIdentityInfo,
@@ -1838,6 +1331,8 @@ export declare namespace KrakenEmbed {
1838
1331
  type KrakenEmbedToggleAutoEarnKrakenResponse as KrakenEmbedToggleAutoEarnKrakenResponse,
1839
1332
  type KrakenEmbedToggleAutoEarnQueryParams as KrakenEmbedToggleAutoEarnQueryParams,
1840
1333
  type KrakenEmbedToggleAutoEarnResponse as KrakenEmbedToggleAutoEarnResponse,
1334
+ type KrakenEmbedTransactionStatus as KrakenEmbedTransactionStatus,
1335
+ type KrakenEmbedTransactionType as KrakenEmbedTransactionType,
1841
1336
  type KrakenEmbedUpcomingReward as KrakenEmbedUpcomingReward,
1842
1337
  };
1843
1338
  }