@privy-io/api-types 0.15.0 → 0.16.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.
- package/CHANGELOG.md +82 -0
- package/client.d.mts +29 -29
- package/client.d.mts.map +1 -1
- package/client.d.ts +29 -29
- package/client.d.ts.map +1 -1
- package/client.js +11 -3
- package/client.js.map +1 -1
- package/client.mjs +11 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +6 -2
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +6 -2
- package/resources/accounts.d.ts.map +1 -1
- package/resources/aggregations.d.mts +14 -4
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +14 -4
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/apps.d.mts +44 -23
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +44 -23
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +21 -5
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +21 -5
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/index.d.mts +14 -14
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +14 -14
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +65 -79
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +65 -79
- package/resources/intents.d.ts.map +1 -1
- package/resources/intents.js.map +1 -1
- package/resources/intents.mjs.map +1 -1
- package/resources/key-quorums.d.mts +9 -8
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +9 -8
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/kraken-embed.d.mts +102 -205
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +102 -205
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/kraken-embed.js.map +1 -1
- package/resources/kraken-embed.mjs.map +1 -1
- package/resources/onramps.d.mts +50 -48
- package/resources/onramps.d.mts.map +1 -1
- package/resources/onramps.d.ts +50 -48
- package/resources/onramps.d.ts.map +1 -1
- package/resources/policies.d.mts +47 -18
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +47 -18
- package/resources/policies.d.ts.map +1 -1
- package/resources/shared.d.mts +15 -3
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +15 -3
- package/resources/shared.d.ts.map +1 -1
- package/resources/swaps.d.mts +3 -2
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +3 -2
- package/resources/swaps.d.ts.map +1 -1
- package/resources/wallet-actions.d.mts +134 -21
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +134 -21
- package/resources/wallet-actions.d.ts.map +1 -1
- package/resources/wallets/balance.d.mts +8 -4
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +8 -4
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +5 -1
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +5 -1
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/wallets.d.mts +603 -87
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +603 -87
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +15 -2
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +15 -2
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +241 -54
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +241 -54
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/yield.d.mts +26 -27
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +26 -27
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +163 -17
- package/src/resources/accounts.ts +7 -1
- package/src/resources/aggregations.ts +16 -3
- package/src/resources/apps.ts +60 -30
- package/src/resources/client-auth.ts +22 -4
- package/src/resources/index.ts +72 -3
- package/src/resources/intents.ts +73 -91
- package/src/resources/key-quorums.ts +11 -9
- package/src/resources/kraken-embed.ts +386 -482
- package/src/resources/onramps.ts +69 -54
- package/src/resources/policies.ts +66 -16
- package/src/resources/shared.ts +18 -2
- package/src/resources/swaps.ts +3 -2
- package/src/resources/wallet-actions.ts +182 -20
- package/src/resources/wallets/balance.ts +13 -1
- package/src/resources/wallets/index.ts +34 -0
- package/src/resources/wallets/transactions.ts +6 -0
- package/src/resources/wallets/wallets.ts +782 -94
- package/src/resources/webhooks.ts +293 -57
- package/src/resources/yield.ts +29 -30
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
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
|
|
|
@@ -26,20 +25,13 @@ export interface KrakenEmbedCancelCustomOrderResponse {
|
|
|
26
25
|
/**
|
|
27
26
|
* Result payload for cancel custom order response.
|
|
28
27
|
*/
|
|
29
|
-
result:
|
|
28
|
+
result: KrakenEmbedCancelCustomOrderResult | null;
|
|
30
29
|
|
|
31
30
|
error?: Array<unknown>;
|
|
32
31
|
|
|
33
32
|
errors?: Array<unknown>;
|
|
34
33
|
}
|
|
35
34
|
|
|
36
|
-
export namespace KrakenEmbedCancelCustomOrderResponse {
|
|
37
|
-
/**
|
|
38
|
-
* Result payload for cancel custom order response.
|
|
39
|
-
*/
|
|
40
|
-
export interface Result extends KrakenEmbedAPI.KrakenEmbedCancelCustomOrderResult {}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
35
|
/**
|
|
44
36
|
* Result payload for cancel custom order response.
|
|
45
37
|
*/
|
|
@@ -77,20 +69,13 @@ export interface KrakenEmbedCreateCustomOrderResponse {
|
|
|
77
69
|
/**
|
|
78
70
|
* Result payload for create custom order response.
|
|
79
71
|
*/
|
|
80
|
-
result:
|
|
72
|
+
result: KrakenEmbedCreateCustomOrderResult | null;
|
|
81
73
|
|
|
82
74
|
error?: Array<unknown>;
|
|
83
75
|
|
|
84
76
|
errors?: Array<unknown>;
|
|
85
77
|
}
|
|
86
78
|
|
|
87
|
-
export namespace KrakenEmbedCreateCustomOrderResponse {
|
|
88
|
-
/**
|
|
89
|
-
* Result payload for create custom order response.
|
|
90
|
-
*/
|
|
91
|
-
export interface Result extends KrakenEmbedAPI.KrakenEmbedCreateCustomOrderResult {}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
79
|
/**
|
|
95
80
|
* Result payload for create custom order response.
|
|
96
81
|
*/
|
|
@@ -192,20 +177,13 @@ export interface KrakenEmbedCustomOrderOccurrence {
|
|
|
192
177
|
/**
|
|
193
178
|
* Executed action details for a custom order occurrence.
|
|
194
179
|
*/
|
|
195
|
-
executed_action?:
|
|
180
|
+
executed_action?: KrakenEmbedCustomOrderOccurrenceExecutedAction | null;
|
|
196
181
|
|
|
197
182
|
failure_reason?: string;
|
|
198
183
|
|
|
199
184
|
skip_reason?: string;
|
|
200
185
|
}
|
|
201
186
|
|
|
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
187
|
/**
|
|
210
188
|
* Executed action details for a custom order occurrence.
|
|
211
189
|
*/
|
|
@@ -277,24 +255,12 @@ export interface KrakenEmbedEarnAsset {
|
|
|
277
255
|
/**
|
|
278
256
|
* Low and high estimate of the yield of an earn asset.
|
|
279
257
|
*/
|
|
280
|
-
apr_estimate:
|
|
258
|
+
apr_estimate: KrakenEmbedEarnAprEstimate | null;
|
|
281
259
|
|
|
282
260
|
/**
|
|
283
261
|
* User allocation for an earn asset.
|
|
284
262
|
*/
|
|
285
|
-
user_allocation?:
|
|
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 {}
|
|
263
|
+
user_allocation?: KrakenEmbedEarnUserAllocation | null;
|
|
298
264
|
}
|
|
299
265
|
|
|
300
266
|
/**
|
|
@@ -304,26 +270,25 @@ export interface KrakenEmbedEarnUserAllocation {
|
|
|
304
270
|
/**
|
|
305
271
|
* An earn amount with native and converted values.
|
|
306
272
|
*/
|
|
307
|
-
total_allocated:
|
|
273
|
+
total_allocated: KrakenEmbedEarnAmount | null;
|
|
308
274
|
|
|
309
275
|
/**
|
|
310
276
|
* An earn amount with native and converted values.
|
|
311
277
|
*/
|
|
312
|
-
total_rewarded:
|
|
278
|
+
total_rewarded: KrakenEmbedEarnAmount | null;
|
|
313
279
|
|
|
314
280
|
upcoming_reward_date?: string | null;
|
|
315
281
|
}
|
|
316
282
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
283
|
+
/**
|
|
284
|
+
* User's full name including first, optional middle, and last name.
|
|
285
|
+
*/
|
|
286
|
+
export interface KrakenEmbedFullName {
|
|
287
|
+
first_name: string;
|
|
322
288
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
export interface TotalRewarded extends KrakenEmbedAPI.KrakenEmbedEarnAmount {}
|
|
289
|
+
last_name: string;
|
|
290
|
+
|
|
291
|
+
middle_name?: string | null;
|
|
327
292
|
}
|
|
328
293
|
|
|
329
294
|
/**
|
|
@@ -391,20 +356,13 @@ export interface KrakenEmbedGetCustomOrderHistoryResponse {
|
|
|
391
356
|
/**
|
|
392
357
|
* Result payload for custom order history response.
|
|
393
358
|
*/
|
|
394
|
-
result:
|
|
359
|
+
result: KrakenEmbedGetCustomOrderHistoryResult | null;
|
|
395
360
|
|
|
396
361
|
error?: Array<unknown>;
|
|
397
362
|
|
|
398
363
|
errors?: Array<unknown>;
|
|
399
364
|
}
|
|
400
365
|
|
|
401
|
-
export namespace KrakenEmbedGetCustomOrderHistoryResponse {
|
|
402
|
-
/**
|
|
403
|
-
* Result payload for custom order history response.
|
|
404
|
-
*/
|
|
405
|
-
export interface Result extends KrakenEmbedAPI.KrakenEmbedGetCustomOrderHistoryResult {}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
366
|
/**
|
|
409
367
|
* Result payload for custom order history response.
|
|
410
368
|
*/
|
|
@@ -428,20 +386,13 @@ export interface KrakenEmbedGetCustomOrderResponse {
|
|
|
428
386
|
/**
|
|
429
387
|
* Result payload for get custom order response.
|
|
430
388
|
*/
|
|
431
|
-
result:
|
|
389
|
+
result: KrakenEmbedGetCustomOrderResult | null;
|
|
432
390
|
|
|
433
391
|
error?: Array<unknown>;
|
|
434
392
|
|
|
435
393
|
errors?: Array<unknown>;
|
|
436
394
|
}
|
|
437
395
|
|
|
438
|
-
export namespace KrakenEmbedGetCustomOrderResponse {
|
|
439
|
-
/**
|
|
440
|
-
* Result payload for get custom order response.
|
|
441
|
-
*/
|
|
442
|
-
export interface Result extends KrakenEmbedAPI.KrakenEmbedGetCustomOrderResult {}
|
|
443
|
-
}
|
|
444
|
-
|
|
445
396
|
/**
|
|
446
397
|
* Result payload for get custom order response.
|
|
447
398
|
*/
|
|
@@ -459,20 +410,13 @@ export interface KrakenEmbedGetEarnAssetsKrakenResponse {
|
|
|
459
410
|
/**
|
|
460
411
|
* Result payload for earn assets response.
|
|
461
412
|
*/
|
|
462
|
-
result:
|
|
413
|
+
result: KrakenEmbedGetEarnAssetsResult | null;
|
|
463
414
|
|
|
464
415
|
error?: Array<unknown>;
|
|
465
416
|
|
|
466
417
|
errors?: Array<unknown>;
|
|
467
418
|
}
|
|
468
419
|
|
|
469
|
-
export namespace KrakenEmbedGetEarnAssetsKrakenResponse {
|
|
470
|
-
/**
|
|
471
|
-
* Result payload for earn assets response.
|
|
472
|
-
*/
|
|
473
|
-
export interface Result extends KrakenEmbedAPI.KrakenEmbedGetEarnAssetsResult {}
|
|
474
|
-
}
|
|
475
|
-
|
|
476
420
|
/**
|
|
477
421
|
* Query parameters for listing earn assets.
|
|
478
422
|
*/
|
|
@@ -508,20 +452,13 @@ export interface KrakenEmbedGetEarnSummaryKrakenResponse {
|
|
|
508
452
|
/**
|
|
509
453
|
* Result payload for earn summary response.
|
|
510
454
|
*/
|
|
511
|
-
result:
|
|
455
|
+
result: KrakenEmbedGetEarnSummaryResult | null;
|
|
512
456
|
|
|
513
457
|
error?: Array<unknown>;
|
|
514
458
|
|
|
515
459
|
errors?: Array<unknown>;
|
|
516
460
|
}
|
|
517
461
|
|
|
518
|
-
export namespace KrakenEmbedGetEarnSummaryKrakenResponse {
|
|
519
|
-
/**
|
|
520
|
-
* Result payload for earn summary response.
|
|
521
|
-
*/
|
|
522
|
-
export interface Result extends KrakenEmbedAPI.KrakenEmbedGetEarnSummaryResult {}
|
|
523
|
-
}
|
|
524
|
-
|
|
525
462
|
/**
|
|
526
463
|
* Query parameters for getting an earn summary.
|
|
527
464
|
*/
|
|
@@ -584,43 +521,27 @@ export interface KrakenEmbedGetPortfolioSummaryQueryParams {
|
|
|
584
521
|
* balance, and unrealized P&L.
|
|
585
522
|
*/
|
|
586
523
|
export interface KrakenEmbedGetPortfolioSummaryResponse {
|
|
587
|
-
|
|
524
|
+
/**
|
|
525
|
+
* Kraken API response envelope for portfolio summary, containing optional errors
|
|
526
|
+
* and the result payload.
|
|
527
|
+
*/
|
|
528
|
+
data: KrakenEmbedGetPortfolioSummaryResult;
|
|
588
529
|
}
|
|
589
530
|
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
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;
|
|
531
|
+
/**
|
|
532
|
+
* Kraken API response envelope for portfolio summary, containing optional errors
|
|
533
|
+
* and the result payload.
|
|
534
|
+
*/
|
|
535
|
+
export interface KrakenEmbedGetPortfolioSummaryResult {
|
|
536
|
+
/**
|
|
537
|
+
* Portfolio summary payload containing balances, value, and profit/loss
|
|
538
|
+
* information.
|
|
539
|
+
*/
|
|
540
|
+
result: KrakenEmbedPortfolioSummaryPayload | null;
|
|
614
541
|
|
|
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;
|
|
542
|
+
error?: Array<string>;
|
|
620
543
|
|
|
621
|
-
|
|
622
|
-
}
|
|
623
|
-
}
|
|
544
|
+
errors?: Array<string>;
|
|
624
545
|
}
|
|
625
546
|
|
|
626
547
|
/**
|
|
@@ -639,7 +560,7 @@ export interface KrakenEmbedGetPortfolioTransactionsQueryParamsSchema {
|
|
|
639
560
|
|
|
640
561
|
quote?: string;
|
|
641
562
|
|
|
642
|
-
ref_ids?: Array<
|
|
563
|
+
ref_ids?: Array<KrakenEmbedPortfolioTransactionRefID>;
|
|
643
564
|
|
|
644
565
|
sorting?: 'descending' | 'ascending';
|
|
645
566
|
|
|
@@ -650,14 +571,6 @@ export interface KrakenEmbedGetPortfolioTransactionsQueryParamsSchema {
|
|
|
650
571
|
until_time?: string;
|
|
651
572
|
}
|
|
652
573
|
|
|
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
574
|
/**
|
|
662
575
|
* Query parameters for getting a quote status.
|
|
663
576
|
*/
|
|
@@ -686,32 +599,355 @@ export interface KrakenEmbedListCustomOrdersResponse {
|
|
|
686
599
|
/**
|
|
687
600
|
* Result payload for list custom orders response.
|
|
688
601
|
*/
|
|
689
|
-
result:
|
|
602
|
+
result: KrakenEmbedListCustomOrdersResult | null;
|
|
690
603
|
|
|
691
604
|
error?: Array<unknown>;
|
|
692
605
|
|
|
693
606
|
errors?: Array<unknown>;
|
|
694
607
|
}
|
|
695
608
|
|
|
696
|
-
|
|
609
|
+
/**
|
|
610
|
+
* Result payload for list custom orders response.
|
|
611
|
+
*/
|
|
612
|
+
export interface KrakenEmbedListCustomOrdersResult {
|
|
613
|
+
orders: Array<KrakenEmbedCustomOrder>;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Portfolio summary payload containing balances, value, and profit/loss
|
|
618
|
+
* information.
|
|
619
|
+
*/
|
|
620
|
+
export interface KrakenEmbedPortfolioSummaryPayload {
|
|
621
|
+
available_balance: string;
|
|
622
|
+
|
|
623
|
+
currency: string;
|
|
624
|
+
|
|
625
|
+
open_orders: string;
|
|
626
|
+
|
|
627
|
+
portfolio_value: string;
|
|
628
|
+
|
|
629
|
+
timestamp: string;
|
|
630
|
+
|
|
631
|
+
withheld_value: string;
|
|
632
|
+
|
|
633
|
+
cost_basis?: string | null;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Current day profit and loss for a portfolio, calculated from the most recent
|
|
637
|
+
* available balance.
|
|
638
|
+
*/
|
|
639
|
+
current_day_pnl?: KrakenEmbedCurrentDayPnl | null;
|
|
640
|
+
|
|
641
|
+
lots_upnl?: string | null;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* A reference ID filter for portfolio transaction queries, identifying a
|
|
646
|
+
* transaction by type and reference identifier.
|
|
647
|
+
*/
|
|
648
|
+
export interface KrakenEmbedPortfolioTransactionRefID {
|
|
649
|
+
ref_id: string;
|
|
650
|
+
|
|
697
651
|
/**
|
|
698
|
-
*
|
|
652
|
+
* The type of reference ID used to filter portfolio transactions by quote or
|
|
653
|
+
* failed quote references.
|
|
699
654
|
*/
|
|
700
|
-
|
|
655
|
+
type: KrakenEmbedPortfolioTransactionRefIDType;
|
|
701
656
|
}
|
|
702
657
|
|
|
703
658
|
/**
|
|
704
|
-
*
|
|
659
|
+
* The type of reference ID used to filter portfolio transactions by quote or
|
|
660
|
+
* failed quote references.
|
|
705
661
|
*/
|
|
706
|
-
export
|
|
707
|
-
|
|
662
|
+
export type KrakenEmbedPortfolioTransactionRefIDType = 'simple_order_quote' | 'simple_order_quote_failed';
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* User's residential address including street, city, postal code, and country.
|
|
666
|
+
*/
|
|
667
|
+
export interface KrakenEmbedResidence {
|
|
668
|
+
city: string;
|
|
669
|
+
|
|
670
|
+
country:
|
|
671
|
+
| 'AD'
|
|
672
|
+
| 'AE'
|
|
673
|
+
| 'AF'
|
|
674
|
+
| 'AG'
|
|
675
|
+
| 'AI'
|
|
676
|
+
| 'AL'
|
|
677
|
+
| 'AM'
|
|
678
|
+
| 'AO'
|
|
679
|
+
| 'AQ'
|
|
680
|
+
| 'AR'
|
|
681
|
+
| 'AS'
|
|
682
|
+
| 'AT'
|
|
683
|
+
| 'AU'
|
|
684
|
+
| 'AW'
|
|
685
|
+
| 'AX'
|
|
686
|
+
| 'AZ'
|
|
687
|
+
| 'BA'
|
|
688
|
+
| 'BB'
|
|
689
|
+
| 'BD'
|
|
690
|
+
| 'BE'
|
|
691
|
+
| 'BF'
|
|
692
|
+
| 'BG'
|
|
693
|
+
| 'BH'
|
|
694
|
+
| 'BI'
|
|
695
|
+
| 'BJ'
|
|
696
|
+
| 'BL'
|
|
697
|
+
| 'BM'
|
|
698
|
+
| 'BN'
|
|
699
|
+
| 'BO'
|
|
700
|
+
| 'BQ'
|
|
701
|
+
| 'BR'
|
|
702
|
+
| 'BS'
|
|
703
|
+
| 'BT'
|
|
704
|
+
| 'BV'
|
|
705
|
+
| 'BW'
|
|
706
|
+
| 'BY'
|
|
707
|
+
| 'BZ'
|
|
708
|
+
| 'CA'
|
|
709
|
+
| 'CC'
|
|
710
|
+
| 'CD'
|
|
711
|
+
| 'CF'
|
|
712
|
+
| 'CG'
|
|
713
|
+
| 'CH'
|
|
714
|
+
| 'CI'
|
|
715
|
+
| 'CK'
|
|
716
|
+
| 'CL'
|
|
717
|
+
| 'CM'
|
|
718
|
+
| 'CN'
|
|
719
|
+
| 'CO'
|
|
720
|
+
| 'CR'
|
|
721
|
+
| 'CU'
|
|
722
|
+
| 'CV'
|
|
723
|
+
| 'CW'
|
|
724
|
+
| 'CX'
|
|
725
|
+
| 'CY'
|
|
726
|
+
| 'CZ'
|
|
727
|
+
| 'DE'
|
|
728
|
+
| 'DJ'
|
|
729
|
+
| 'DK'
|
|
730
|
+
| 'DM'
|
|
731
|
+
| 'DO'
|
|
732
|
+
| 'DZ'
|
|
733
|
+
| 'EC'
|
|
734
|
+
| 'EE'
|
|
735
|
+
| 'EG'
|
|
736
|
+
| 'EH'
|
|
737
|
+
| 'ER'
|
|
738
|
+
| 'ES'
|
|
739
|
+
| 'ET'
|
|
740
|
+
| 'FI'
|
|
741
|
+
| 'FJ'
|
|
742
|
+
| 'FK'
|
|
743
|
+
| 'FM'
|
|
744
|
+
| 'FO'
|
|
745
|
+
| 'FR'
|
|
746
|
+
| 'GA'
|
|
747
|
+
| 'GB'
|
|
748
|
+
| 'GD'
|
|
749
|
+
| 'GE'
|
|
750
|
+
| 'GF'
|
|
751
|
+
| 'GG'
|
|
752
|
+
| 'GH'
|
|
753
|
+
| 'GI'
|
|
754
|
+
| 'GL'
|
|
755
|
+
| 'GM'
|
|
756
|
+
| 'GN'
|
|
757
|
+
| 'GP'
|
|
758
|
+
| 'GQ'
|
|
759
|
+
| 'GR'
|
|
760
|
+
| 'GS'
|
|
761
|
+
| 'GT'
|
|
762
|
+
| 'GU'
|
|
763
|
+
| 'GW'
|
|
764
|
+
| 'GY'
|
|
765
|
+
| 'HK'
|
|
766
|
+
| 'HM'
|
|
767
|
+
| 'HN'
|
|
768
|
+
| 'HR'
|
|
769
|
+
| 'HT'
|
|
770
|
+
| 'HU'
|
|
771
|
+
| 'ID'
|
|
772
|
+
| 'IE'
|
|
773
|
+
| 'IL'
|
|
774
|
+
| 'IM'
|
|
775
|
+
| 'IN'
|
|
776
|
+
| 'IO'
|
|
777
|
+
| 'IQ'
|
|
778
|
+
| 'IR'
|
|
779
|
+
| 'IS'
|
|
780
|
+
| 'IT'
|
|
781
|
+
| 'JE'
|
|
782
|
+
| 'JM'
|
|
783
|
+
| 'JO'
|
|
784
|
+
| 'JP'
|
|
785
|
+
| 'KE'
|
|
786
|
+
| 'KG'
|
|
787
|
+
| 'KH'
|
|
788
|
+
| 'KI'
|
|
789
|
+
| 'KM'
|
|
790
|
+
| 'KN'
|
|
791
|
+
| 'KP'
|
|
792
|
+
| 'KR'
|
|
793
|
+
| 'KW'
|
|
794
|
+
| 'KY'
|
|
795
|
+
| 'KZ'
|
|
796
|
+
| 'LA'
|
|
797
|
+
| 'LB'
|
|
798
|
+
| 'LC'
|
|
799
|
+
| 'LI'
|
|
800
|
+
| 'LK'
|
|
801
|
+
| 'LR'
|
|
802
|
+
| 'LS'
|
|
803
|
+
| 'LT'
|
|
804
|
+
| 'LU'
|
|
805
|
+
| 'LV'
|
|
806
|
+
| 'LY'
|
|
807
|
+
| 'MA'
|
|
808
|
+
| 'MC'
|
|
809
|
+
| 'MD'
|
|
810
|
+
| 'ME'
|
|
811
|
+
| 'MF'
|
|
812
|
+
| 'MG'
|
|
813
|
+
| 'MH'
|
|
814
|
+
| 'MK'
|
|
815
|
+
| 'ML'
|
|
816
|
+
| 'MM'
|
|
817
|
+
| 'MN'
|
|
818
|
+
| 'MO'
|
|
819
|
+
| 'MP'
|
|
820
|
+
| 'MQ'
|
|
821
|
+
| 'MR'
|
|
822
|
+
| 'MS'
|
|
823
|
+
| 'MT'
|
|
824
|
+
| 'MU'
|
|
825
|
+
| 'MV'
|
|
826
|
+
| 'MW'
|
|
827
|
+
| 'MX'
|
|
828
|
+
| 'MY'
|
|
829
|
+
| 'MZ'
|
|
830
|
+
| 'NA'
|
|
831
|
+
| 'NC'
|
|
832
|
+
| 'NE'
|
|
833
|
+
| 'NF'
|
|
834
|
+
| 'NG'
|
|
835
|
+
| 'NI'
|
|
836
|
+
| 'NL'
|
|
837
|
+
| 'NO'
|
|
838
|
+
| 'NP'
|
|
839
|
+
| 'NR'
|
|
840
|
+
| 'NU'
|
|
841
|
+
| 'NZ'
|
|
842
|
+
| 'OM'
|
|
843
|
+
| 'PA'
|
|
844
|
+
| 'PE'
|
|
845
|
+
| 'PF'
|
|
846
|
+
| 'PG'
|
|
847
|
+
| 'PH'
|
|
848
|
+
| 'PK'
|
|
849
|
+
| 'PL'
|
|
850
|
+
| 'PM'
|
|
851
|
+
| 'PN'
|
|
852
|
+
| 'PR'
|
|
853
|
+
| 'PS'
|
|
854
|
+
| 'PT'
|
|
855
|
+
| 'PW'
|
|
856
|
+
| 'PY'
|
|
857
|
+
| 'QA'
|
|
858
|
+
| 'RE'
|
|
859
|
+
| 'RO'
|
|
860
|
+
| 'RS'
|
|
861
|
+
| 'RU'
|
|
862
|
+
| 'RW'
|
|
863
|
+
| 'SA'
|
|
864
|
+
| 'SB'
|
|
865
|
+
| 'SC'
|
|
866
|
+
| 'SD'
|
|
867
|
+
| 'SE'
|
|
868
|
+
| 'SG'
|
|
869
|
+
| 'SH'
|
|
870
|
+
| 'SI'
|
|
871
|
+
| 'SJ'
|
|
872
|
+
| 'SK'
|
|
873
|
+
| 'SL'
|
|
874
|
+
| 'SM'
|
|
875
|
+
| 'SN'
|
|
876
|
+
| 'SO'
|
|
877
|
+
| 'SR'
|
|
878
|
+
| 'SS'
|
|
879
|
+
| 'ST'
|
|
880
|
+
| 'SV'
|
|
881
|
+
| 'SX'
|
|
882
|
+
| 'SY'
|
|
883
|
+
| 'SZ'
|
|
884
|
+
| 'TC'
|
|
885
|
+
| 'TD'
|
|
886
|
+
| 'TF'
|
|
887
|
+
| 'TG'
|
|
888
|
+
| 'TH'
|
|
889
|
+
| 'TJ'
|
|
890
|
+
| 'TK'
|
|
891
|
+
| 'TL'
|
|
892
|
+
| 'TM'
|
|
893
|
+
| 'TN'
|
|
894
|
+
| 'TO'
|
|
895
|
+
| 'TR'
|
|
896
|
+
| 'TT'
|
|
897
|
+
| 'TV'
|
|
898
|
+
| 'TW'
|
|
899
|
+
| 'TZ'
|
|
900
|
+
| 'UA'
|
|
901
|
+
| 'UG'
|
|
902
|
+
| 'UM'
|
|
903
|
+
| 'US'
|
|
904
|
+
| 'UY'
|
|
905
|
+
| 'UZ'
|
|
906
|
+
| 'VA'
|
|
907
|
+
| 'VC'
|
|
908
|
+
| 'VE'
|
|
909
|
+
| 'VG'
|
|
910
|
+
| 'VI'
|
|
911
|
+
| 'VN'
|
|
912
|
+
| 'VU'
|
|
913
|
+
| 'WF'
|
|
914
|
+
| 'WS'
|
|
915
|
+
| 'YE'
|
|
916
|
+
| 'YT'
|
|
917
|
+
| 'ZA'
|
|
918
|
+
| 'ZM'
|
|
919
|
+
| 'ZW'
|
|
920
|
+
| 'AC'
|
|
921
|
+
| 'AN'
|
|
922
|
+
| 'AP'
|
|
923
|
+
| 'CP'
|
|
924
|
+
| 'DG'
|
|
925
|
+
| 'EA'
|
|
926
|
+
| 'EU'
|
|
927
|
+
| 'IC'
|
|
928
|
+
| 'JX'
|
|
929
|
+
| 'TA'
|
|
930
|
+
| 'QO'
|
|
931
|
+
| 'XK'
|
|
932
|
+
| '0C';
|
|
933
|
+
|
|
934
|
+
line1: string;
|
|
935
|
+
|
|
936
|
+
postal_code: string;
|
|
937
|
+
|
|
938
|
+
line2?: string | null;
|
|
939
|
+
|
|
940
|
+
province?: string | null;
|
|
708
941
|
}
|
|
709
942
|
|
|
710
943
|
/**
|
|
711
944
|
* Optional best-effort metadata hints for proof of address verification.
|
|
712
945
|
*/
|
|
713
946
|
export interface KrakenEmbedStartAddressMetadata {
|
|
714
|
-
|
|
947
|
+
/**
|
|
948
|
+
* User's residential address including street, city, postal code, and country.
|
|
949
|
+
*/
|
|
950
|
+
address?: KrakenEmbedResidence | null;
|
|
715
951
|
|
|
716
952
|
document_number?: string | null;
|
|
717
953
|
|
|
@@ -738,284 +974,6 @@ export interface KrakenEmbedStartAddressMetadata {
|
|
|
738
974
|
expiration_date?: 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
|
-
}
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
977
|
/**
|
|
1020
978
|
* Input payload for starting proof of address verification via URL.
|
|
1021
979
|
*/
|
|
@@ -1027,24 +985,12 @@ export interface KrakenEmbedStartAddressVerificationURLInput {
|
|
|
1027
985
|
/**
|
|
1028
986
|
* Debug options for start verification. Only works in non-production environments.
|
|
1029
987
|
*/
|
|
1030
|
-
debug?:
|
|
1031
|
-
|
|
1032
|
-
/**
|
|
1033
|
-
* Optional best-effort metadata hints for proof of address verification.
|
|
1034
|
-
*/
|
|
1035
|
-
metadata?: KrakenEmbedStartAddressVerificationURLInput.Metadata;
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
export namespace KrakenEmbedStartAddressVerificationURLInput {
|
|
1039
|
-
/**
|
|
1040
|
-
* Debug options for start verification. Only works in non-production environments.
|
|
1041
|
-
*/
|
|
1042
|
-
export interface Debug extends KrakenEmbedAPI.KrakenEmbedStartVerificationDebug {}
|
|
988
|
+
debug?: KrakenEmbedStartVerificationDebug | null;
|
|
1043
989
|
|
|
1044
990
|
/**
|
|
1045
991
|
* Optional best-effort metadata hints for proof of address verification.
|
|
1046
992
|
*/
|
|
1047
|
-
|
|
993
|
+
metadata?: KrakenEmbedStartAddressMetadata | null;
|
|
1048
994
|
}
|
|
1049
995
|
|
|
1050
996
|
/**
|
|
@@ -1054,17 +1000,10 @@ export namespace KrakenEmbedStartAddressVerificationURLInput {
|
|
|
1054
1000
|
export interface KrakenEmbedStartIdentityInfo {
|
|
1055
1001
|
date_of_birth?: string | null;
|
|
1056
1002
|
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
export interface FullName {
|
|
1062
|
-
first_name: string;
|
|
1063
|
-
|
|
1064
|
-
last_name: string;
|
|
1065
|
-
|
|
1066
|
-
middle_name?: string | null;
|
|
1067
|
-
}
|
|
1003
|
+
/**
|
|
1004
|
+
* User's full name including first, optional middle, and last name.
|
|
1005
|
+
*/
|
|
1006
|
+
full_name?: KrakenEmbedFullName | null;
|
|
1068
1007
|
}
|
|
1069
1008
|
|
|
1070
1009
|
/**
|
|
@@ -1087,7 +1026,7 @@ export interface KrakenEmbedStartIdentityMetadata {
|
|
|
1087
1026
|
* Identity information hints including full name and date of birth for proof of
|
|
1088
1027
|
* identity verification.
|
|
1089
1028
|
*/
|
|
1090
|
-
identity?:
|
|
1029
|
+
identity?: KrakenEmbedStartIdentityInfo | null;
|
|
1091
1030
|
|
|
1092
1031
|
issuing_country?:
|
|
1093
1032
|
| 'AD'
|
|
@@ -1620,14 +1559,6 @@ export interface KrakenEmbedStartIdentityMetadata {
|
|
|
1620
1559
|
| null;
|
|
1621
1560
|
}
|
|
1622
1561
|
|
|
1623
|
-
export namespace KrakenEmbedStartIdentityMetadata {
|
|
1624
|
-
/**
|
|
1625
|
-
* Identity information hints including full name and date of birth for proof of
|
|
1626
|
-
* identity verification.
|
|
1627
|
-
*/
|
|
1628
|
-
export interface Identity extends KrakenEmbedAPI.KrakenEmbedStartIdentityInfo {}
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
1562
|
/**
|
|
1632
1563
|
* Input payload for starting proof of identity verification via URLs.
|
|
1633
1564
|
*/
|
|
@@ -1641,24 +1572,12 @@ export interface KrakenEmbedStartIdentityVerificationURLInput {
|
|
|
1641
1572
|
/**
|
|
1642
1573
|
* Debug options for start verification. Only works in non-production environments.
|
|
1643
1574
|
*/
|
|
1644
|
-
debug?:
|
|
1575
|
+
debug?: KrakenEmbedStartVerificationDebug | null;
|
|
1645
1576
|
|
|
1646
1577
|
/**
|
|
1647
1578
|
* Optional best-effort metadata hints for proof of identity verification.
|
|
1648
1579
|
*/
|
|
1649
|
-
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 {}
|
|
1657
|
-
|
|
1658
|
-
/**
|
|
1659
|
-
* Optional best-effort metadata hints for proof of identity verification.
|
|
1660
|
-
*/
|
|
1661
|
-
export interface Metadata extends KrakenEmbedAPI.KrakenEmbedStartIdentityMetadata {}
|
|
1580
|
+
metadata?: KrakenEmbedStartIdentityMetadata | null;
|
|
1662
1581
|
}
|
|
1663
1582
|
|
|
1664
1583
|
/**
|
|
@@ -1676,14 +1595,7 @@ export interface KrakenEmbedStartLivenessVerificationURLInput {
|
|
|
1676
1595
|
/**
|
|
1677
1596
|
* Debug options for start verification. Only works in non-production environments.
|
|
1678
1597
|
*/
|
|
1679
|
-
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 {}
|
|
1598
|
+
debug?: KrakenEmbedStartVerificationDebug | null;
|
|
1687
1599
|
}
|
|
1688
1600
|
|
|
1689
1601
|
/**
|
|
@@ -1708,14 +1620,7 @@ export interface KrakenEmbedStartVerificationURLResponse {
|
|
|
1708
1620
|
/**
|
|
1709
1621
|
* Result payload for start verification URL response.
|
|
1710
1622
|
*/
|
|
1711
|
-
result:
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
|
-
export namespace KrakenEmbedStartVerificationURLResponse {
|
|
1715
|
-
/**
|
|
1716
|
-
* Result payload for start verification URL response.
|
|
1717
|
-
*/
|
|
1718
|
-
export interface Result extends KrakenEmbedAPI.KrakenEmbedStartVerificationURLResult {}
|
|
1623
|
+
result: KrakenEmbedStartVerificationURLResult | null;
|
|
1719
1624
|
}
|
|
1720
1625
|
|
|
1721
1626
|
/**
|
|
@@ -1769,14 +1674,7 @@ export interface KrakenEmbedUpcomingReward {
|
|
|
1769
1674
|
/**
|
|
1770
1675
|
* An earn amount with native and converted values.
|
|
1771
1676
|
*/
|
|
1772
|
-
estimated_pending_amount:
|
|
1773
|
-
}
|
|
1774
|
-
|
|
1775
|
-
export namespace KrakenEmbedUpcomingReward {
|
|
1776
|
-
/**
|
|
1777
|
-
* An earn amount with native and converted values.
|
|
1778
|
-
*/
|
|
1779
|
-
export interface EstimatedPendingAmount extends KrakenEmbedAPI.KrakenEmbedEarnAmount {}
|
|
1677
|
+
estimated_pending_amount: KrakenEmbedEarnAmount | null;
|
|
1780
1678
|
}
|
|
1781
1679
|
|
|
1782
1680
|
export declare namespace KrakenEmbed {
|
|
@@ -1802,6 +1700,7 @@ export declare namespace KrakenEmbed {
|
|
|
1802
1700
|
type KrakenEmbedEarnAprEstimate as KrakenEmbedEarnAprEstimate,
|
|
1803
1701
|
type KrakenEmbedEarnAsset as KrakenEmbedEarnAsset,
|
|
1804
1702
|
type KrakenEmbedEarnUserAllocation as KrakenEmbedEarnUserAllocation,
|
|
1703
|
+
type KrakenEmbedFullName as KrakenEmbedFullName,
|
|
1805
1704
|
type KrakenEmbedGetAssetListQueryParamsSchema as KrakenEmbedGetAssetListQueryParamsSchema,
|
|
1806
1705
|
type KrakenEmbedGetCustomOrderHistoryQueryParams as KrakenEmbedGetCustomOrderHistoryQueryParams,
|
|
1807
1706
|
type KrakenEmbedGetCustomOrderHistoryResponse as KrakenEmbedGetCustomOrderHistoryResponse,
|
|
@@ -1820,11 +1719,16 @@ export declare namespace KrakenEmbed {
|
|
|
1820
1719
|
type KrakenEmbedGetPortfolioDetailsQueryParamsSchema as KrakenEmbedGetPortfolioDetailsQueryParamsSchema,
|
|
1821
1720
|
type KrakenEmbedGetPortfolioSummaryQueryParams as KrakenEmbedGetPortfolioSummaryQueryParams,
|
|
1822
1721
|
type KrakenEmbedGetPortfolioSummaryResponse as KrakenEmbedGetPortfolioSummaryResponse,
|
|
1722
|
+
type KrakenEmbedGetPortfolioSummaryResult as KrakenEmbedGetPortfolioSummaryResult,
|
|
1823
1723
|
type KrakenEmbedGetPortfolioTransactionsQueryParamsSchema as KrakenEmbedGetPortfolioTransactionsQueryParamsSchema,
|
|
1824
1724
|
type KrakenEmbedGetQuoteQueryParams as KrakenEmbedGetQuoteQueryParams,
|
|
1825
1725
|
type KrakenEmbedListCustomOrdersQueryParams as KrakenEmbedListCustomOrdersQueryParams,
|
|
1826
1726
|
type KrakenEmbedListCustomOrdersResponse as KrakenEmbedListCustomOrdersResponse,
|
|
1827
1727
|
type KrakenEmbedListCustomOrdersResult as KrakenEmbedListCustomOrdersResult,
|
|
1728
|
+
type KrakenEmbedPortfolioSummaryPayload as KrakenEmbedPortfolioSummaryPayload,
|
|
1729
|
+
type KrakenEmbedPortfolioTransactionRefID as KrakenEmbedPortfolioTransactionRefID,
|
|
1730
|
+
type KrakenEmbedPortfolioTransactionRefIDType as KrakenEmbedPortfolioTransactionRefIDType,
|
|
1731
|
+
type KrakenEmbedResidence as KrakenEmbedResidence,
|
|
1828
1732
|
type KrakenEmbedStartAddressMetadata as KrakenEmbedStartAddressMetadata,
|
|
1829
1733
|
type KrakenEmbedStartAddressVerificationURLInput as KrakenEmbedStartAddressVerificationURLInput,
|
|
1830
1734
|
type KrakenEmbedStartIdentityInfo as KrakenEmbedStartIdentityInfo,
|