@calm-xyz/core 0.9.0 → 0.10.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/dist/index.d.ts +48 -671
- package/dist/index.js +13 -227
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -17,58 +17,6 @@ type Error$1 = {
|
|
|
17
17
|
message: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
type CheckoutStripeSessionPathParams = {
|
|
21
|
-
/**
|
|
22
|
-
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
23
|
-
* @type string
|
|
24
|
-
*/
|
|
25
|
-
address: string;
|
|
26
|
-
/**
|
|
27
|
-
* @minLength 1
|
|
28
|
-
* @type string
|
|
29
|
-
*/
|
|
30
|
-
sessionId: string;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* @description The checked-out session\'s client secret.
|
|
34
|
-
*/
|
|
35
|
-
type CheckoutStripeSession200 = {
|
|
36
|
-
client_secret: (string | null);
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
40
|
-
*/
|
|
41
|
-
type CheckoutStripeSession400 = Error$1;
|
|
42
|
-
/**
|
|
43
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required, stripe_auth_required.
|
|
44
|
-
*/
|
|
45
|
-
type CheckoutStripeSession401 = Error$1;
|
|
46
|
-
/**
|
|
47
|
-
* @description Error — `error.code` includes: card_declined.
|
|
48
|
-
*/
|
|
49
|
-
type CheckoutStripeSession402 = Error$1;
|
|
50
|
-
/**
|
|
51
|
-
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
52
|
-
*/
|
|
53
|
-
type CheckoutStripeSession403 = Error$1;
|
|
54
|
-
/**
|
|
55
|
-
* @description Conflict — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
|
|
56
|
-
*/
|
|
57
|
-
type CheckoutStripeSession409 = Error$1;
|
|
58
|
-
/**
|
|
59
|
-
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
60
|
-
*/
|
|
61
|
-
type CheckoutStripeSession429 = Error$1;
|
|
62
|
-
/**
|
|
63
|
-
* @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
|
|
64
|
-
*/
|
|
65
|
-
type CheckoutStripeSession502 = Error$1;
|
|
66
|
-
type CheckoutStripeSessionMutationResponse = CheckoutStripeSession200;
|
|
67
|
-
type CheckoutStripeSessionMutation = {
|
|
68
|
-
Response: CheckoutStripeSession200;
|
|
69
|
-
PathParams: CheckoutStripeSessionPathParams;
|
|
70
|
-
Errors: CheckoutStripeSession400 | CheckoutStripeSession401 | CheckoutStripeSession402 | CheckoutStripeSession403 | CheckoutStripeSession409 | CheckoutStripeSession429 | CheckoutStripeSession502;
|
|
71
|
-
};
|
|
72
20
|
/**
|
|
73
21
|
* @description Cookies cleared.
|
|
74
22
|
*/
|
|
@@ -195,7 +143,7 @@ type CreateCardLinkMutationRequest = {
|
|
|
195
143
|
* @type string | undefined
|
|
196
144
|
*/
|
|
197
145
|
destination_asset?: string;
|
|
198
|
-
destination_chain: (1 | 8453 | 42161 | 999 | 1337);
|
|
146
|
+
destination_chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
|
|
199
147
|
};
|
|
200
148
|
type CreateCardLinkMutationResponse = CreateCardLink200;
|
|
201
149
|
type CreateCardLinkMutation = {
|
|
@@ -241,7 +189,7 @@ type CreateCashAppOrder200 = {
|
|
|
241
189
|
*/
|
|
242
190
|
amount_usd: string;
|
|
243
191
|
/**
|
|
244
|
-
* @description Chain id. Currently 1, 8453, 42161, 999, 1337 — additive; tolerate unknown values.
|
|
192
|
+
* @description Chain id. Currently 1, 8453, 42161, 999, 1337, 4326 — additive; tolerate unknown values.
|
|
245
193
|
* @minLength -9007199254740991
|
|
246
194
|
* @maxLength 9007199254740991
|
|
247
195
|
* @type integer
|
|
@@ -299,7 +247,7 @@ type CreateCashAppOrder200 = {
|
|
|
299
247
|
token: string;
|
|
300
248
|
};
|
|
301
249
|
/**
|
|
302
|
-
* @description Bad Request — `error.code` includes: amount_too_large, invalid_wallet, unsupported_route, validation_error.
|
|
250
|
+
* @description Bad Request — `error.code` includes: amount_too_large, invalid_wallet, unsupported_chain, unsupported_route, validation_error.
|
|
303
251
|
*/
|
|
304
252
|
type CreateCashAppOrder400 = Error$1;
|
|
305
253
|
/**
|
|
@@ -333,7 +281,7 @@ type CreateCashAppOrderMutationRequest = {
|
|
|
333
281
|
* @type string
|
|
334
282
|
*/
|
|
335
283
|
amount_usd: string;
|
|
336
|
-
chain: (1 | 8453 | 42161 | 999 | 1337);
|
|
284
|
+
chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
|
|
337
285
|
/**
|
|
338
286
|
* @type string
|
|
339
287
|
*/
|
|
@@ -393,7 +341,7 @@ type CreateCashAppQuote200 = {
|
|
|
393
341
|
};
|
|
394
342
|
};
|
|
395
343
|
/**
|
|
396
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, unsupported_route, validation_error.
|
|
344
|
+
* @description Bad Request — `error.code` includes: invalid_wallet, unsupported_chain, unsupported_route, validation_error.
|
|
397
345
|
*/
|
|
398
346
|
type CreateCashAppQuote400 = Error$1;
|
|
399
347
|
/**
|
|
@@ -418,7 +366,7 @@ type CreateCashAppQuoteMutationRequest = {
|
|
|
418
366
|
* @type string
|
|
419
367
|
*/
|
|
420
368
|
amount_usd: string;
|
|
421
|
-
chain: (1 | 8453 | 42161 | 999 | 1337);
|
|
369
|
+
chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
|
|
422
370
|
/**
|
|
423
371
|
* @type string
|
|
424
372
|
*/
|
|
@@ -475,7 +423,7 @@ declare const createDepositAddressMutationRequestSourceTokenEnum: {
|
|
|
475
423
|
};
|
|
476
424
|
type CreateDepositAddressMutationRequestSourceTokenEnumKey = (typeof createDepositAddressMutationRequestSourceTokenEnum)[keyof typeof createDepositAddressMutationRequestSourceTokenEnum];
|
|
477
425
|
type CreateDepositAddressMutationRequest = {
|
|
478
|
-
destination_chain: (1 | 8453 | 42161 | 999 | 1337);
|
|
426
|
+
destination_chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
|
|
479
427
|
source_chain: (1 | 8453 | 42161);
|
|
480
428
|
/**
|
|
481
429
|
* @type string
|
|
@@ -572,8 +520,8 @@ type CreateExchangeWithdrawQuoteMutationRequest = {
|
|
|
572
520
|
* @type string
|
|
573
521
|
*/
|
|
574
522
|
asset: string;
|
|
575
|
-
destination_chain: (1 | 8453 | 42161 | 999 | 1337);
|
|
576
|
-
origin_chain: (1 | 8453 | 42161 | 999 | 1337);
|
|
523
|
+
destination_chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
|
|
524
|
+
origin_chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
|
|
577
525
|
};
|
|
578
526
|
type CreateExchangeWithdrawQuoteMutationResponse = CreateExchangeWithdrawQuote200;
|
|
579
527
|
type CreateExchangeWithdrawQuoteMutation = {
|
|
@@ -769,126 +717,26 @@ type CreateSiweNonceMutation = {
|
|
|
769
717
|
PathParams: CreateSiweNoncePathParams;
|
|
770
718
|
Errors: CreateSiweNonce400 | CreateSiweNonce429;
|
|
771
719
|
};
|
|
772
|
-
type
|
|
773
|
-
/**
|
|
774
|
-
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
775
|
-
* @type string
|
|
776
|
-
*/
|
|
777
|
-
address: string;
|
|
778
|
-
};
|
|
779
|
-
/**
|
|
780
|
-
* @description The opened auth intent.
|
|
781
|
-
*/
|
|
782
|
-
type CreateStripeAuthIntent200 = {
|
|
783
|
-
/**
|
|
784
|
-
* @type string
|
|
785
|
-
*/
|
|
786
|
-
auth_intent_id: string;
|
|
787
|
-
/**
|
|
788
|
-
* @type number
|
|
789
|
-
*/
|
|
790
|
-
expires_at: number;
|
|
791
|
-
};
|
|
792
|
-
/**
|
|
793
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
794
|
-
*/
|
|
795
|
-
type CreateStripeAuthIntent400 = Error$1;
|
|
796
|
-
/**
|
|
797
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
798
|
-
*/
|
|
799
|
-
type CreateStripeAuthIntent401 = Error$1;
|
|
800
|
-
/**
|
|
801
|
-
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
802
|
-
*/
|
|
803
|
-
type CreateStripeAuthIntent403 = Error$1;
|
|
804
|
-
/**
|
|
805
|
-
* @description Not Found — `error.code` includes: link_not_found.
|
|
806
|
-
*/
|
|
807
|
-
type CreateStripeAuthIntent404 = Error$1;
|
|
808
|
-
/**
|
|
809
|
-
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
810
|
-
*/
|
|
811
|
-
type CreateStripeAuthIntent429 = Error$1;
|
|
812
|
-
/**
|
|
813
|
-
* @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
|
|
814
|
-
*/
|
|
815
|
-
type CreateStripeAuthIntent502 = Error$1;
|
|
816
|
-
type CreateStripeAuthIntentMutationRequest = {
|
|
817
|
-
/**
|
|
818
|
-
* @type string, email
|
|
819
|
-
*/
|
|
820
|
-
email: string;
|
|
821
|
-
};
|
|
822
|
-
type CreateStripeAuthIntentMutationResponse = CreateStripeAuthIntent200;
|
|
823
|
-
type CreateStripeAuthIntentMutation = {
|
|
824
|
-
Response: CreateStripeAuthIntent200;
|
|
825
|
-
Request: CreateStripeAuthIntentMutationRequest;
|
|
826
|
-
PathParams: CreateStripeAuthIntentPathParams;
|
|
827
|
-
Errors: CreateStripeAuthIntent400 | CreateStripeAuthIntent401 | CreateStripeAuthIntent403 | CreateStripeAuthIntent404 | CreateStripeAuthIntent429 | CreateStripeAuthIntent502;
|
|
828
|
-
};
|
|
829
|
-
type CreateStripeCustomerPathParams = {
|
|
720
|
+
type CreateStripeSessionPathParams = {
|
|
830
721
|
/**
|
|
831
722
|
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
832
723
|
* @type string
|
|
833
724
|
*/
|
|
834
725
|
address: string;
|
|
835
|
-
/**
|
|
836
|
-
* @minLength 1
|
|
837
|
-
* @type string
|
|
838
|
-
*/
|
|
839
|
-
crypto_customer_id: string;
|
|
840
726
|
};
|
|
841
727
|
/**
|
|
842
|
-
* @description
|
|
843
|
-
*/
|
|
844
|
-
type CreateStripeCustomer204 = any;
|
|
845
|
-
/**
|
|
846
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
847
|
-
*/
|
|
848
|
-
type CreateStripeCustomer400 = Error$1;
|
|
849
|
-
/**
|
|
850
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required, stripe_auth_required.
|
|
851
|
-
*/
|
|
852
|
-
type CreateStripeCustomer401 = Error$1;
|
|
853
|
-
/**
|
|
854
|
-
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
728
|
+
* @description The minted onramp session.
|
|
855
729
|
*/
|
|
856
|
-
type
|
|
857
|
-
/**
|
|
858
|
-
* @description Not Found — `error.code` includes: resource_missing.
|
|
859
|
-
*/
|
|
860
|
-
type CreateStripeCustomer404 = Error$1;
|
|
861
|
-
/**
|
|
862
|
-
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
863
|
-
*/
|
|
864
|
-
type CreateStripeCustomer429 = Error$1;
|
|
865
|
-
/**
|
|
866
|
-
* @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
|
|
867
|
-
*/
|
|
868
|
-
type CreateStripeCustomer502 = Error$1;
|
|
869
|
-
type CreateStripeCustomerMutationResponse = CreateStripeCustomer204;
|
|
870
|
-
type CreateStripeCustomerMutation = {
|
|
871
|
-
Response: CreateStripeCustomer204;
|
|
872
|
-
PathParams: CreateStripeCustomerPathParams;
|
|
873
|
-
Errors: CreateStripeCustomer400 | CreateStripeCustomer401 | CreateStripeCustomer403 | CreateStripeCustomer404 | CreateStripeCustomer429 | CreateStripeCustomer502;
|
|
874
|
-
};
|
|
875
|
-
type CreateStripeSessionPathParams = {
|
|
730
|
+
type CreateStripeSession200 = {
|
|
876
731
|
/**
|
|
877
|
-
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
878
732
|
* @type string
|
|
879
733
|
*/
|
|
880
|
-
|
|
881
|
-
};
|
|
882
|
-
/**
|
|
883
|
-
* @description The opened onramp session.
|
|
884
|
-
*/
|
|
885
|
-
type CreateStripeSession200 = {
|
|
734
|
+
client_secret: string;
|
|
886
735
|
destination_amount: (string | null);
|
|
887
736
|
/**
|
|
888
737
|
* @type string
|
|
889
738
|
*/
|
|
890
739
|
order_id: string;
|
|
891
|
-
quote_expires_at: (number | null);
|
|
892
740
|
/**
|
|
893
741
|
* @type string
|
|
894
742
|
*/
|
|
@@ -900,11 +748,11 @@ type CreateStripeSession200 = {
|
|
|
900
748
|
status: string;
|
|
901
749
|
};
|
|
902
750
|
/**
|
|
903
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
751
|
+
* @description Bad Request — `error.code` includes: crypto_onramp_unsupportable_customer, crypto_onramp_unsupported_country, deposit_address_unavailable, invalid_wallet, validation_error.
|
|
904
752
|
*/
|
|
905
753
|
type CreateStripeSession400 = Error$1;
|
|
906
754
|
/**
|
|
907
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required,
|
|
755
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
908
756
|
*/
|
|
909
757
|
type CreateStripeSession401 = Error$1;
|
|
910
758
|
/**
|
|
@@ -912,7 +760,7 @@ type CreateStripeSession401 = Error$1;
|
|
|
912
760
|
*/
|
|
913
761
|
type CreateStripeSession403 = Error$1;
|
|
914
762
|
/**
|
|
915
|
-
* @description Not Found — `error.code` includes:
|
|
763
|
+
* @description Not Found — `error.code` includes: customer_not_registered.
|
|
916
764
|
*/
|
|
917
765
|
type CreateStripeSession404 = Error$1;
|
|
918
766
|
/**
|
|
@@ -924,33 +772,15 @@ type CreateStripeSession429 = Error$1;
|
|
|
924
772
|
*/
|
|
925
773
|
type CreateStripeSession502 = Error$1;
|
|
926
774
|
type CreateStripeSessionMutationRequest = {
|
|
927
|
-
/**
|
|
928
|
-
* @minLength 1
|
|
929
|
-
* @type string
|
|
930
|
-
*/
|
|
931
|
-
crypto_customer_id: string;
|
|
932
775
|
/**
|
|
933
776
|
* @pattern ^\d+(\.\d+)?$
|
|
934
777
|
* @type string | undefined
|
|
935
778
|
*/
|
|
936
779
|
destination_amount?: string;
|
|
937
780
|
/**
|
|
938
|
-
* @
|
|
939
|
-
* @default "usdc"
|
|
940
|
-
* @type string | undefined
|
|
941
|
-
*/
|
|
942
|
-
destination_currency?: string;
|
|
943
|
-
/**
|
|
944
|
-
* @minLength 1
|
|
945
|
-
* @default "base"
|
|
946
|
-
* @type string | undefined
|
|
781
|
+
* @default 8453
|
|
947
782
|
*/
|
|
948
|
-
|
|
949
|
-
/**
|
|
950
|
-
* @minLength 1
|
|
951
|
-
* @type string
|
|
952
|
-
*/
|
|
953
|
-
payment_token: string;
|
|
783
|
+
destination_chain?: (1 | 8453 | 42161 | 999 | 1337 | 4326);
|
|
954
784
|
/**
|
|
955
785
|
* @pattern ^\d+(\.\d+)?$
|
|
956
786
|
* @type string | undefined
|
|
@@ -974,59 +804,6 @@ type CreateStripeSessionMutation = {
|
|
|
974
804
|
PathParams: CreateStripeSessionPathParams;
|
|
975
805
|
Errors: CreateStripeSession400 | CreateStripeSession401 | CreateStripeSession403 | CreateStripeSession404 | CreateStripeSession429 | CreateStripeSession502;
|
|
976
806
|
};
|
|
977
|
-
type CreateStripeTokensPathParams = {
|
|
978
|
-
/**
|
|
979
|
-
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
980
|
-
* @type string
|
|
981
|
-
*/
|
|
982
|
-
address: string;
|
|
983
|
-
};
|
|
984
|
-
/**
|
|
985
|
-
* @description Tokens stored.
|
|
986
|
-
*/
|
|
987
|
-
type CreateStripeTokens204 = any;
|
|
988
|
-
/**
|
|
989
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
990
|
-
*/
|
|
991
|
-
type CreateStripeTokens400 = Error$1;
|
|
992
|
-
/**
|
|
993
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
994
|
-
*/
|
|
995
|
-
type CreateStripeTokens401 = Error$1;
|
|
996
|
-
/**
|
|
997
|
-
* @description Forbidden — `error.code` includes: binding_invalid, link_forbidden, wallet_token_mismatch.
|
|
998
|
-
*/
|
|
999
|
-
type CreateStripeTokens403 = Error$1;
|
|
1000
|
-
/**
|
|
1001
|
-
* @description Not Found — `error.code` includes: link_not_found.
|
|
1002
|
-
*/
|
|
1003
|
-
type CreateStripeTokens404 = Error$1;
|
|
1004
|
-
/**
|
|
1005
|
-
* @description Conflict — `error.code` includes: link_revoked.
|
|
1006
|
-
*/
|
|
1007
|
-
type CreateStripeTokens409 = Error$1;
|
|
1008
|
-
/**
|
|
1009
|
-
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
1010
|
-
*/
|
|
1011
|
-
type CreateStripeTokens429 = Error$1;
|
|
1012
|
-
/**
|
|
1013
|
-
* @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
|
|
1014
|
-
*/
|
|
1015
|
-
type CreateStripeTokens502 = Error$1;
|
|
1016
|
-
type CreateStripeTokensMutationRequest = {
|
|
1017
|
-
/**
|
|
1018
|
-
* @minLength 1
|
|
1019
|
-
* @type string
|
|
1020
|
-
*/
|
|
1021
|
-
auth_intent_id: string;
|
|
1022
|
-
};
|
|
1023
|
-
type CreateStripeTokensMutationResponse = CreateStripeTokens204;
|
|
1024
|
-
type CreateStripeTokensMutation = {
|
|
1025
|
-
Response: CreateStripeTokens204;
|
|
1026
|
-
Request: CreateStripeTokensMutationRequest;
|
|
1027
|
-
PathParams: CreateStripeTokensPathParams;
|
|
1028
|
-
Errors: CreateStripeTokens400 | CreateStripeTokens401 | CreateStripeTokens403 | CreateStripeTokens404 | CreateStripeTokens409 | CreateStripeTokens429 | CreateStripeTokens502;
|
|
1029
|
-
};
|
|
1030
807
|
type CreateSwapQuotePathParams = {
|
|
1031
808
|
/**
|
|
1032
809
|
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
@@ -1079,7 +856,7 @@ type CreateSwapQuoteMutationRequest = {
|
|
|
1079
856
|
* @type string
|
|
1080
857
|
*/
|
|
1081
858
|
amount: string;
|
|
1082
|
-
destination_chain: (1 | 8453 | 42161 | 999 | 1337);
|
|
859
|
+
destination_chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
|
|
1083
860
|
source_chain: (1 | 8453 | 42161);
|
|
1084
861
|
/**
|
|
1085
862
|
* @type string
|
|
@@ -1109,11 +886,11 @@ type CreateVirtualAccountPathParams = {
|
|
|
1109
886
|
*/
|
|
1110
887
|
type CreateVirtualAccount204 = any;
|
|
1111
888
|
/**
|
|
1112
|
-
* @description Bad Request — `error.code` includes:
|
|
889
|
+
* @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, validation_error.
|
|
1113
890
|
*/
|
|
1114
891
|
type CreateVirtualAccount400 = Error$1;
|
|
1115
892
|
/**
|
|
1116
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
893
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
1117
894
|
*/
|
|
1118
895
|
type CreateVirtualAccount401 = Error$1;
|
|
1119
896
|
/**
|
|
@@ -1143,7 +920,7 @@ declare const createVirtualAccountMutationRequestCurrencyEnum: {
|
|
|
1143
920
|
};
|
|
1144
921
|
type CreateVirtualAccountMutationRequestCurrencyEnumKey = (typeof createVirtualAccountMutationRequestCurrencyEnum)[keyof typeof createVirtualAccountMutationRequestCurrencyEnum];
|
|
1145
922
|
type CreateVirtualAccountMutationRequest = {
|
|
1146
|
-
chain: (1 | 8453 | 42161 | 999 | 1337);
|
|
923
|
+
chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
|
|
1147
924
|
/**
|
|
1148
925
|
* @type string
|
|
1149
926
|
*/
|
|
@@ -1343,7 +1120,7 @@ type GetBalance200 = {
|
|
|
1343
1120
|
*/
|
|
1344
1121
|
balance: string;
|
|
1345
1122
|
/**
|
|
1346
|
-
* @description Chain id. Currently 1, 8453, 42161, 999, 1337 — additive; tolerate unknown values.
|
|
1123
|
+
* @description Chain id. Currently 1, 8453, 42161, 999, 1337, 4326 — additive; tolerate unknown values.
|
|
1347
1124
|
* @minLength -9007199254740991
|
|
1348
1125
|
* @maxLength 9007199254740991
|
|
1349
1126
|
* @type integer
|
|
@@ -1390,7 +1167,7 @@ type GetBalancesPathParams = {
|
|
|
1390
1167
|
};
|
|
1391
1168
|
type GetBalancesQueryParams = {
|
|
1392
1169
|
/**
|
|
1393
|
-
* @description Comma-separated chain ids to read (e.g. `1,8453`). Defaults to
|
|
1170
|
+
* @description Comma-separated chain ids to read (e.g. `1,8453`). Defaults to the source chains (`1,8453,999,1337`); destination-only chains such as MegaETH (`4326`) are read only when named here.
|
|
1394
1171
|
* @pattern ^\d+(,\d+)*$
|
|
1395
1172
|
* @type string | undefined
|
|
1396
1173
|
*/
|
|
@@ -1415,7 +1192,7 @@ type GetBalances200 = {
|
|
|
1415
1192
|
*/
|
|
1416
1193
|
balance: string;
|
|
1417
1194
|
/**
|
|
1418
|
-
* @description Chain id. Currently 1, 8453, 42161, 999, 1337 — additive; tolerate unknown values.
|
|
1195
|
+
* @description Chain id. Currently 1, 8453, 42161, 999, 1337, 4326 — additive; tolerate unknown values.
|
|
1419
1196
|
* @minLength -9007199254740991
|
|
1420
1197
|
* @maxLength 9007199254740991
|
|
1421
1198
|
* @type integer
|
|
@@ -1492,7 +1269,7 @@ type GetCashAppOrder200 = {
|
|
|
1492
1269
|
*/
|
|
1493
1270
|
amount_usd: string;
|
|
1494
1271
|
/**
|
|
1495
|
-
* @description Chain id. Currently 1, 8453, 42161, 999, 1337 — additive; tolerate unknown values.
|
|
1272
|
+
* @description Chain id. Currently 1, 8453, 42161, 999, 1337, 4326 — additive; tolerate unknown values.
|
|
1496
1273
|
* @minLength -9007199254740991
|
|
1497
1274
|
* @maxLength 9007199254740991
|
|
1498
1275
|
* @type integer
|
|
@@ -1930,65 +1707,6 @@ type GetStripeConfigQuery = {
|
|
|
1930
1707
|
PathParams: GetStripeConfigPathParams;
|
|
1931
1708
|
Errors: GetStripeConfig400 | GetStripeConfig401 | GetStripeConfig403 | GetStripeConfig429;
|
|
1932
1709
|
};
|
|
1933
|
-
type GetStripeCustomerStatusPathParams = {
|
|
1934
|
-
/**
|
|
1935
|
-
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
1936
|
-
* @type string
|
|
1937
|
-
*/
|
|
1938
|
-
address: string;
|
|
1939
|
-
/**
|
|
1940
|
-
* @minLength 1
|
|
1941
|
-
* @type string
|
|
1942
|
-
*/
|
|
1943
|
-
crypto_customer_id: string;
|
|
1944
|
-
};
|
|
1945
|
-
/**
|
|
1946
|
-
* @description The customer\'s verification statuses.
|
|
1947
|
-
*/
|
|
1948
|
-
type GetStripeCustomerStatus200 = {
|
|
1949
|
-
/**
|
|
1950
|
-
* @type string
|
|
1951
|
-
*/
|
|
1952
|
-
id_document_status: string;
|
|
1953
|
-
/**
|
|
1954
|
-
* @type string
|
|
1955
|
-
*/
|
|
1956
|
-
kyc_status: string;
|
|
1957
|
-
/**
|
|
1958
|
-
* @type array
|
|
1959
|
-
*/
|
|
1960
|
-
provided_fields: string[];
|
|
1961
|
-
};
|
|
1962
|
-
/**
|
|
1963
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
1964
|
-
*/
|
|
1965
|
-
type GetStripeCustomerStatus400 = Error$1;
|
|
1966
|
-
/**
|
|
1967
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required, stripe_auth_required.
|
|
1968
|
-
*/
|
|
1969
|
-
type GetStripeCustomerStatus401 = Error$1;
|
|
1970
|
-
/**
|
|
1971
|
-
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
1972
|
-
*/
|
|
1973
|
-
type GetStripeCustomerStatus403 = Error$1;
|
|
1974
|
-
/**
|
|
1975
|
-
* @description Not Found — `error.code` includes: resource_missing.
|
|
1976
|
-
*/
|
|
1977
|
-
type GetStripeCustomerStatus404 = Error$1;
|
|
1978
|
-
/**
|
|
1979
|
-
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
1980
|
-
*/
|
|
1981
|
-
type GetStripeCustomerStatus429 = Error$1;
|
|
1982
|
-
/**
|
|
1983
|
-
* @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
|
|
1984
|
-
*/
|
|
1985
|
-
type GetStripeCustomerStatus502 = Error$1;
|
|
1986
|
-
type GetStripeCustomerStatusQueryResponse = GetStripeCustomerStatus200;
|
|
1987
|
-
type GetStripeCustomerStatusQuery = {
|
|
1988
|
-
Response: GetStripeCustomerStatus200;
|
|
1989
|
-
PathParams: GetStripeCustomerStatusPathParams;
|
|
1990
|
-
Errors: GetStripeCustomerStatus400 | GetStripeCustomerStatus401 | GetStripeCustomerStatus403 | GetStripeCustomerStatus404 | GetStripeCustomerStatus429 | GetStripeCustomerStatus502;
|
|
1991
|
-
};
|
|
1992
1710
|
type GetStripeOrderPathParams = {
|
|
1993
1711
|
/**
|
|
1994
1712
|
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
@@ -2023,6 +1741,13 @@ type GetStripeOrder200 = {
|
|
|
2023
1741
|
*/
|
|
2024
1742
|
created_at: string;
|
|
2025
1743
|
destination_amount: (string | null);
|
|
1744
|
+
/**
|
|
1745
|
+
* @description Chain id. Currently 1, 8453, 42161, 999, 1337, 4326 — additive; tolerate unknown values.
|
|
1746
|
+
* @minLength -9007199254740991
|
|
1747
|
+
* @maxLength 9007199254740991
|
|
1748
|
+
* @type integer
|
|
1749
|
+
*/
|
|
1750
|
+
destination_chain: number;
|
|
2026
1751
|
/**
|
|
2027
1752
|
* @type string
|
|
2028
1753
|
*/
|
|
@@ -2050,7 +1775,7 @@ type GetStripeOrder200 = {
|
|
|
2050
1775
|
*/
|
|
2051
1776
|
type GetStripeOrder400 = Error$1;
|
|
2052
1777
|
/**
|
|
2053
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
1778
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2054
1779
|
*/
|
|
2055
1780
|
type GetStripeOrder401 = Error$1;
|
|
2056
1781
|
/**
|
|
@@ -2071,140 +1796,6 @@ type GetStripeOrderQuery = {
|
|
|
2071
1796
|
PathParams: GetStripeOrderPathParams;
|
|
2072
1797
|
Errors: GetStripeOrder400 | GetStripeOrder401 | GetStripeOrder403 | GetStripeOrder404 | GetStripeOrder429;
|
|
2073
1798
|
};
|
|
2074
|
-
type GetStripeQuotePathParams = {
|
|
2075
|
-
/**
|
|
2076
|
-
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
2077
|
-
* @type string
|
|
2078
|
-
*/
|
|
2079
|
-
address: string;
|
|
2080
|
-
};
|
|
2081
|
-
type GetStripeQuoteQueryParams = {
|
|
2082
|
-
/**
|
|
2083
|
-
* @pattern ^\d+(\.\d+)?$
|
|
2084
|
-
* @type string | undefined
|
|
2085
|
-
*/
|
|
2086
|
-
source_amount?: string;
|
|
2087
|
-
/**
|
|
2088
|
-
* @pattern ^\d+(\.\d+)?$
|
|
2089
|
-
* @type string | undefined
|
|
2090
|
-
*/
|
|
2091
|
-
destination_amount?: string;
|
|
2092
|
-
/**
|
|
2093
|
-
* @default "usd"
|
|
2094
|
-
* @type string | undefined
|
|
2095
|
-
*/
|
|
2096
|
-
source_currency?: "usd";
|
|
2097
|
-
/**
|
|
2098
|
-
* @minLength 1
|
|
2099
|
-
* @default "usdc"
|
|
2100
|
-
* @type string | undefined
|
|
2101
|
-
*/
|
|
2102
|
-
destination_currency?: string;
|
|
2103
|
-
/**
|
|
2104
|
-
* @minLength 1
|
|
2105
|
-
* @default "base"
|
|
2106
|
-
* @type string | undefined
|
|
2107
|
-
*/
|
|
2108
|
-
destination_network?: string;
|
|
2109
|
-
};
|
|
2110
|
-
/**
|
|
2111
|
-
* @description The price estimate for the requested amount.
|
|
2112
|
-
*/
|
|
2113
|
-
type GetStripeQuote200 = {
|
|
2114
|
-
/**
|
|
2115
|
-
* @type string
|
|
2116
|
-
*/
|
|
2117
|
-
destination_amount: string;
|
|
2118
|
-
/**
|
|
2119
|
-
* @type string
|
|
2120
|
-
*/
|
|
2121
|
-
network_fee: string;
|
|
2122
|
-
/**
|
|
2123
|
-
* @type number
|
|
2124
|
-
*/
|
|
2125
|
-
rate_fetched_at: number;
|
|
2126
|
-
/**
|
|
2127
|
-
* @type string
|
|
2128
|
-
*/
|
|
2129
|
-
source_total_amount: string;
|
|
2130
|
-
/**
|
|
2131
|
-
* @type string
|
|
2132
|
-
*/
|
|
2133
|
-
transaction_fee: string;
|
|
2134
|
-
};
|
|
2135
|
-
/**
|
|
2136
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
2137
|
-
*/
|
|
2138
|
-
type GetStripeQuote400 = Error$1;
|
|
2139
|
-
/**
|
|
2140
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
2141
|
-
*/
|
|
2142
|
-
type GetStripeQuote401 = Error$1;
|
|
2143
|
-
/**
|
|
2144
|
-
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
2145
|
-
*/
|
|
2146
|
-
type GetStripeQuote403 = Error$1;
|
|
2147
|
-
/**
|
|
2148
|
-
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
2149
|
-
*/
|
|
2150
|
-
type GetStripeQuote429 = Error$1;
|
|
2151
|
-
/**
|
|
2152
|
-
* @description Bad Gateway — `error.code` includes: quote_unavailable.
|
|
2153
|
-
*/
|
|
2154
|
-
type GetStripeQuote502 = Error$1;
|
|
2155
|
-
type GetStripeQuoteQueryResponse = GetStripeQuote200;
|
|
2156
|
-
type GetStripeQuoteQuery = {
|
|
2157
|
-
Response: GetStripeQuote200;
|
|
2158
|
-
PathParams: GetStripeQuotePathParams;
|
|
2159
|
-
QueryParams: GetStripeQuoteQueryParams;
|
|
2160
|
-
Errors: GetStripeQuote400 | GetStripeQuote401 | GetStripeQuote403 | GetStripeQuote429 | GetStripeQuote502;
|
|
2161
|
-
};
|
|
2162
|
-
type GetStripeStatusPathParams = {
|
|
2163
|
-
/**
|
|
2164
|
-
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
2165
|
-
* @type string
|
|
2166
|
-
*/
|
|
2167
|
-
address: string;
|
|
2168
|
-
};
|
|
2169
|
-
/**
|
|
2170
|
-
* @description The session\'s Stripe login state.
|
|
2171
|
-
*/
|
|
2172
|
-
type GetStripeStatus200 = {
|
|
2173
|
-
/**
|
|
2174
|
-
* @type boolean
|
|
2175
|
-
*/
|
|
2176
|
-
authenticated: boolean;
|
|
2177
|
-
/**
|
|
2178
|
-
* @type string | undefined
|
|
2179
|
-
*/
|
|
2180
|
-
crypto_customer_id?: string;
|
|
2181
|
-
/**
|
|
2182
|
-
* @type string | undefined, email
|
|
2183
|
-
*/
|
|
2184
|
-
email?: string;
|
|
2185
|
-
};
|
|
2186
|
-
/**
|
|
2187
|
-
* @description Bad Request — `error.code` includes: invalid_wallet.
|
|
2188
|
-
*/
|
|
2189
|
-
type GetStripeStatus400 = Error$1;
|
|
2190
|
-
/**
|
|
2191
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
2192
|
-
*/
|
|
2193
|
-
type GetStripeStatus401 = Error$1;
|
|
2194
|
-
/**
|
|
2195
|
-
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
2196
|
-
*/
|
|
2197
|
-
type GetStripeStatus403 = Error$1;
|
|
2198
|
-
/**
|
|
2199
|
-
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
2200
|
-
*/
|
|
2201
|
-
type GetStripeStatus429 = Error$1;
|
|
2202
|
-
type GetStripeStatusQueryResponse = GetStripeStatus200;
|
|
2203
|
-
type GetStripeStatusQuery = {
|
|
2204
|
-
Response: GetStripeStatus200;
|
|
2205
|
-
PathParams: GetStripeStatusPathParams;
|
|
2206
|
-
Errors: GetStripeStatus400 | GetStripeStatus401 | GetStripeStatus403 | GetStripeStatus429;
|
|
2207
|
-
};
|
|
2208
1799
|
type GetTermsOfServiceLinkPathParams = {
|
|
2209
1800
|
/**
|
|
2210
1801
|
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
@@ -2323,148 +1914,6 @@ type GetWalletQuery = {
|
|
|
2323
1914
|
PathParams: GetWalletPathParams;
|
|
2324
1915
|
Errors: GetWallet400 | GetWallet401 | GetWallet403 | GetWallet404 | GetWallet429;
|
|
2325
1916
|
};
|
|
2326
|
-
type ListStripePaymentTokensPathParams = {
|
|
2327
|
-
/**
|
|
2328
|
-
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
2329
|
-
* @type string
|
|
2330
|
-
*/
|
|
2331
|
-
address: string;
|
|
2332
|
-
};
|
|
2333
|
-
type ListStripePaymentTokensQueryParams = {
|
|
2334
|
-
/**
|
|
2335
|
-
* @minLength 1
|
|
2336
|
-
* @type string | undefined
|
|
2337
|
-
*/
|
|
2338
|
-
crypto_customer_id?: string;
|
|
2339
|
-
};
|
|
2340
|
-
/**
|
|
2341
|
-
* @description The customer\'s payment methods.
|
|
2342
|
-
*/
|
|
2343
|
-
type ListStripePaymentTokens200 = {
|
|
2344
|
-
/**
|
|
2345
|
-
* @type number
|
|
2346
|
-
*/
|
|
2347
|
-
count: number;
|
|
2348
|
-
/**
|
|
2349
|
-
* @type array
|
|
2350
|
-
*/
|
|
2351
|
-
data: {
|
|
2352
|
-
/**
|
|
2353
|
-
* @type string
|
|
2354
|
-
*/
|
|
2355
|
-
id: string;
|
|
2356
|
-
/**
|
|
2357
|
-
* @type string
|
|
2358
|
-
*/
|
|
2359
|
-
object: string;
|
|
2360
|
-
}[];
|
|
2361
|
-
};
|
|
2362
|
-
/**
|
|
2363
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
2364
|
-
*/
|
|
2365
|
-
type ListStripePaymentTokens400 = Error$1;
|
|
2366
|
-
/**
|
|
2367
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required, stripe_auth_required.
|
|
2368
|
-
*/
|
|
2369
|
-
type ListStripePaymentTokens401 = Error$1;
|
|
2370
|
-
/**
|
|
2371
|
-
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
2372
|
-
*/
|
|
2373
|
-
type ListStripePaymentTokens403 = Error$1;
|
|
2374
|
-
/**
|
|
2375
|
-
* @description Not Found — `error.code` includes: resource_missing.
|
|
2376
|
-
*/
|
|
2377
|
-
type ListStripePaymentTokens404 = Error$1;
|
|
2378
|
-
/**
|
|
2379
|
-
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
2380
|
-
*/
|
|
2381
|
-
type ListStripePaymentTokens429 = Error$1;
|
|
2382
|
-
/**
|
|
2383
|
-
* @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
|
|
2384
|
-
*/
|
|
2385
|
-
type ListStripePaymentTokens502 = Error$1;
|
|
2386
|
-
type ListStripePaymentTokensQueryResponse = ListStripePaymentTokens200;
|
|
2387
|
-
type ListStripePaymentTokensQuery = {
|
|
2388
|
-
Response: ListStripePaymentTokens200;
|
|
2389
|
-
PathParams: ListStripePaymentTokensPathParams;
|
|
2390
|
-
QueryParams: ListStripePaymentTokensQueryParams;
|
|
2391
|
-
Errors: ListStripePaymentTokens400 | ListStripePaymentTokens401 | ListStripePaymentTokens403 | ListStripePaymentTokens404 | ListStripePaymentTokens429 | ListStripePaymentTokens502;
|
|
2392
|
-
};
|
|
2393
|
-
type ListStripeWalletsPathParams = {
|
|
2394
|
-
/**
|
|
2395
|
-
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
2396
|
-
* @type string
|
|
2397
|
-
*/
|
|
2398
|
-
address: string;
|
|
2399
|
-
};
|
|
2400
|
-
type ListStripeWalletsQueryParams = {
|
|
2401
|
-
/**
|
|
2402
|
-
* @minLength 1
|
|
2403
|
-
* @type string | undefined
|
|
2404
|
-
*/
|
|
2405
|
-
crypto_customer_id?: string;
|
|
2406
|
-
};
|
|
2407
|
-
/**
|
|
2408
|
-
* @description The customer\'s registered wallets.
|
|
2409
|
-
*/
|
|
2410
|
-
type ListStripeWallets200 = {
|
|
2411
|
-
/**
|
|
2412
|
-
* @type number
|
|
2413
|
-
*/
|
|
2414
|
-
count: number;
|
|
2415
|
-
/**
|
|
2416
|
-
* @type array
|
|
2417
|
-
*/
|
|
2418
|
-
data: {
|
|
2419
|
-
/**
|
|
2420
|
-
* @type string
|
|
2421
|
-
*/
|
|
2422
|
-
id: string;
|
|
2423
|
-
/**
|
|
2424
|
-
* @type string
|
|
2425
|
-
*/
|
|
2426
|
-
network: string;
|
|
2427
|
-
/**
|
|
2428
|
-
* @type string
|
|
2429
|
-
*/
|
|
2430
|
-
object: string;
|
|
2431
|
-
/**
|
|
2432
|
-
* @type string
|
|
2433
|
-
*/
|
|
2434
|
-
wallet_address: string;
|
|
2435
|
-
}[];
|
|
2436
|
-
};
|
|
2437
|
-
/**
|
|
2438
|
-
* @description Bad Request — `error.code` includes: invalid_wallet, validation_error.
|
|
2439
|
-
*/
|
|
2440
|
-
type ListStripeWallets400 = Error$1;
|
|
2441
|
-
/**
|
|
2442
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required, stripe_auth_required.
|
|
2443
|
-
*/
|
|
2444
|
-
type ListStripeWallets401 = Error$1;
|
|
2445
|
-
/**
|
|
2446
|
-
* @description Forbidden — `error.code` includes: wallet_token_mismatch.
|
|
2447
|
-
*/
|
|
2448
|
-
type ListStripeWallets403 = Error$1;
|
|
2449
|
-
/**
|
|
2450
|
-
* @description Not Found — `error.code` includes: resource_missing.
|
|
2451
|
-
*/
|
|
2452
|
-
type ListStripeWallets404 = Error$1;
|
|
2453
|
-
/**
|
|
2454
|
-
* @description Too Many Requests — `error.code` includes: rate_limited.
|
|
2455
|
-
*/
|
|
2456
|
-
type ListStripeWallets429 = Error$1;
|
|
2457
|
-
/**
|
|
2458
|
-
* @description Bad Gateway — an upstream dependency failed; the body carries the standard error envelope with a cause-specific `error.code`.
|
|
2459
|
-
*/
|
|
2460
|
-
type ListStripeWallets502 = Error$1;
|
|
2461
|
-
type ListStripeWalletsQueryResponse = ListStripeWallets200;
|
|
2462
|
-
type ListStripeWalletsQuery = {
|
|
2463
|
-
Response: ListStripeWallets200;
|
|
2464
|
-
PathParams: ListStripeWalletsPathParams;
|
|
2465
|
-
QueryParams: ListStripeWalletsQueryParams;
|
|
2466
|
-
Errors: ListStripeWallets400 | ListStripeWallets401 | ListStripeWallets403 | ListStripeWallets404 | ListStripeWallets429 | ListStripeWallets502;
|
|
2467
|
-
};
|
|
2468
1917
|
type ListVirtualAccountsPathParams = {
|
|
2469
1918
|
/**
|
|
2470
1919
|
* @pattern ^0x[a-fA-F0-9]{40}$
|
|
@@ -2493,7 +1942,7 @@ type ListVirtualAccounts200 = {
|
|
|
2493
1942
|
*/
|
|
2494
1943
|
data: {
|
|
2495
1944
|
/**
|
|
2496
|
-
* @description Chain id. Currently 1, 8453, 42161, 999, 1337 — additive; tolerate unknown values.
|
|
1945
|
+
* @description Chain id. Currently 1, 8453, 42161, 999, 1337, 4326 — additive; tolerate unknown values.
|
|
2497
1946
|
* @minLength -9007199254740991
|
|
2498
1947
|
* @maxLength 9007199254740991
|
|
2499
1948
|
* @type integer
|
|
@@ -2596,7 +2045,7 @@ type RegisterWalletPathParams = {
|
|
|
2596
2045
|
*/
|
|
2597
2046
|
type RegisterWallet204 = any;
|
|
2598
2047
|
/**
|
|
2599
|
-
* @description Bad Request — `error.code` includes:
|
|
2048
|
+
* @description Bad Request — `error.code` includes: bad_customer_request, invalid_parameters, invalid_wallet, validation_error.
|
|
2600
2049
|
*/
|
|
2601
2050
|
type RegisterWallet400 = Error$1;
|
|
2602
2051
|
/**
|
|
@@ -2738,11 +2187,11 @@ type UpdateVirtualAccountPathParams = {
|
|
|
2738
2187
|
*/
|
|
2739
2188
|
type UpdateVirtualAccount204 = any;
|
|
2740
2189
|
/**
|
|
2741
|
-
* @description Bad Request — `error.code` includes:
|
|
2190
|
+
* @description Bad Request — `error.code` includes: deposit_address_unavailable, invalid_wallet, validation_error.
|
|
2742
2191
|
*/
|
|
2743
2192
|
type UpdateVirtualAccount400 = Error$1;
|
|
2744
2193
|
/**
|
|
2745
|
-
* @description Unauthorized — `error.code` includes: session_invalid, session_required.
|
|
2194
|
+
* @description Unauthorized — `error.code` includes: invalid_token, session_invalid, session_required, token_expired.
|
|
2746
2195
|
*/
|
|
2747
2196
|
type UpdateVirtualAccount401 = Error$1;
|
|
2748
2197
|
/**
|
|
@@ -2762,7 +2211,7 @@ type UpdateVirtualAccount429 = Error$1;
|
|
|
2762
2211
|
*/
|
|
2763
2212
|
type UpdateVirtualAccount502 = Error$1;
|
|
2764
2213
|
type UpdateVirtualAccountMutationRequest = {
|
|
2765
|
-
chain: (1 | 8453 | 42161 | 999 | 1337);
|
|
2214
|
+
chain: (1 | 8453 | 42161 | 999 | 1337 | 4326);
|
|
2766
2215
|
};
|
|
2767
2216
|
type UpdateVirtualAccountMutationResponse = UpdateVirtualAccount204;
|
|
2768
2217
|
type UpdateVirtualAccountMutation = {
|
|
@@ -2809,14 +2258,6 @@ declare class ApiError extends Error {
|
|
|
2809
2258
|
declare function getConfig(): Partial<RequestConfig>;
|
|
2810
2259
|
declare function setConfig(config: Partial<RequestConfig>): Partial<RequestConfig>;
|
|
2811
2260
|
declare const client: Client;
|
|
2812
|
-
/**
|
|
2813
|
-
* @description Checks out a session and returns its `client_secret`. Driven by the client SDK's `performCheckout` callback — never called standalone; the SDK handles required next actions (3DS) between calls.
|
|
2814
|
-
* @summary Check out a Stripe onramp session
|
|
2815
|
-
* {@link /v1/wallets/:address/stripe/session/:sessionId/checkout}
|
|
2816
|
-
*/
|
|
2817
|
-
declare function checkoutStripeSession(address: CheckoutStripeSessionPathParams["address"], sessionId: CheckoutStripeSessionPathParams["sessionId"], config?: Partial<RequestConfig> & {
|
|
2818
|
-
client?: Client;
|
|
2819
|
-
}): Promise<CheckoutStripeSession200>;
|
|
2820
2261
|
/**
|
|
2821
2262
|
* @description Ends the session: clears both cookies and invalidates the refresh credential. No auth required; idempotent.
|
|
2822
2263
|
* @summary Clear a session
|
|
@@ -2858,7 +2299,7 @@ declare function createCashAppQuote(address: CreateCashAppQuotePathParams["addre
|
|
|
2858
2299
|
client?: Client;
|
|
2859
2300
|
}): Promise<CreateCashAppQuote200>;
|
|
2860
2301
|
/**
|
|
2861
|
-
* @description Returns an intake address for a `(source chain, source token) → destination` route. Funding it delivers USDC
|
|
2302
|
+
* @description Returns an intake address for a `(source chain, source token) → destination` route. Funding it delivers the destination chain's payout token — USDC on most chains, USDm on MegaETH (`4326`) — at that token's own decimals; the same route reuses one address.
|
|
2862
2303
|
* @summary Create a crypto deposit address
|
|
2863
2304
|
* {@link /v1/wallets/:address/deposit-address}
|
|
2864
2305
|
*/
|
|
@@ -2906,23 +2347,7 @@ declare function createSiweNonce(address: CreateSiweNoncePathParams["address"],
|
|
|
2906
2347
|
client?: Client;
|
|
2907
2348
|
}): Promise<CreateSiweNonce200>;
|
|
2908
2349
|
/**
|
|
2909
|
-
* @description
|
|
2910
|
-
* @summary Open a Stripe Link auth intent
|
|
2911
|
-
* {@link /v1/wallets/:address/stripe/auth-intent}
|
|
2912
|
-
*/
|
|
2913
|
-
declare function createStripeAuthIntent(address: CreateStripeAuthIntentPathParams["address"], data: CreateStripeAuthIntentMutationRequest, config?: Partial<RequestConfig<CreateStripeAuthIntentMutationRequest>> & {
|
|
2914
|
-
client?: Client;
|
|
2915
|
-
}): Promise<CreateStripeAuthIntent200>;
|
|
2916
|
-
/**
|
|
2917
|
-
* @description Validates the crypto customer exists and persists the customer id onto the session so `/status` can re-derive it after a reopen.
|
|
2918
|
-
* @summary Persist a Stripe crypto customer
|
|
2919
|
-
* {@link /v1/wallets/:address/stripe/customer/:crypto_customer_id}
|
|
2920
|
-
*/
|
|
2921
|
-
declare function createStripeCustomer(address: CreateStripeCustomerPathParams["address"], crypto_customer_id: CreateStripeCustomerPathParams["crypto_customer_id"], config?: Partial<RequestConfig> & {
|
|
2922
|
-
client?: Client;
|
|
2923
|
-
}): Promise<any>;
|
|
2924
|
-
/**
|
|
2925
|
-
* @description Opens a headless onramp session and mirrors it into a local order. Returns Stripe's `session_id` (fed to the client SDK's `performCheckout`) plus our own `order_id` to poll via `GET .../stripe/order/:id`. Pass exactly one of `source_amount` / `destination_amount`.
|
|
2350
|
+
* @description Mints an embedded onramp session and mirrors it into a local order. Returns Stripe's `client_secret` (which the SDK mounts the onramp iframe with) plus our own `order_id` to poll via `GET .../stripe/order/:id`. Every chain is a valid `destination_chain`: the ones the card provider settles to directly are delivered by it, and the rest are routed on arrival, which requires a registered wallet and delivers to the session wallet. Amounts are optional; pass at most one of `source_amount` / `destination_amount`.
|
|
2926
2351
|
* @summary Open a Stripe onramp session
|
|
2927
2352
|
* {@link /v1/wallets/:address/stripe/session}
|
|
2928
2353
|
*/
|
|
@@ -2930,15 +2355,7 @@ declare function createStripeSession(address: CreateStripeSessionPathParams["add
|
|
|
2930
2355
|
client?: Client;
|
|
2931
2356
|
}): Promise<CreateStripeSession200>;
|
|
2932
2357
|
/**
|
|
2933
|
-
* @description
|
|
2934
|
-
* @summary Exchange an auth intent for tokens
|
|
2935
|
-
* {@link /v1/wallets/:address/stripe/tokens}
|
|
2936
|
-
*/
|
|
2937
|
-
declare function createStripeTokens(address: CreateStripeTokensPathParams["address"], data: CreateStripeTokensMutationRequest, config?: Partial<RequestConfig<CreateStripeTokensMutationRequest>> & {
|
|
2938
|
-
client?: Client;
|
|
2939
|
-
}): Promise<any>;
|
|
2940
|
-
/**
|
|
2941
|
-
* @description Returns an executable quote for swapping a source token into destination USDC. The response carries the steps the client executes on-chain; source and destination chains may differ.
|
|
2358
|
+
* @description Returns an executable quote for swapping a source token into the destination chain's payout token — USDC on most chains, USDm on MegaETH (`4326`) — at that token's own decimals. The response carries the steps the client executes on-chain; source and destination chains may differ.
|
|
2942
2359
|
* @summary Quote a swap
|
|
2943
2360
|
* {@link /v1/wallets/:address/swap/quote}
|
|
2944
2361
|
*/
|
|
@@ -2978,7 +2395,7 @@ declare function getBalance(address: GetBalancePathParams["address"], chain: Get
|
|
|
2978
2395
|
client?: Client;
|
|
2979
2396
|
}): Promise<GetBalance200>;
|
|
2980
2397
|
/**
|
|
2981
|
-
* @description Returns the wallet's token balances across the supported source chains, each with its USD value. Filter with `?chains=1,8453`; the default
|
|
2398
|
+
* @description Returns the wallet's token balances across the supported source chains, each with its USD value. Filter with `?chains=1,8453`; the default covers the source chains, so a destination-only chain like MegaETH (`4326`) must be requested explicitly.
|
|
2982
2399
|
* @summary List wallet balances
|
|
2983
2400
|
* {@link /v1/wallets/:address/balances}
|
|
2984
2401
|
*/
|
|
@@ -3028,7 +2445,7 @@ declare function getFxRates(config?: Partial<RequestConfig> & {
|
|
|
3028
2445
|
/**
|
|
3029
2446
|
* @description Returns the hosted identity-verification URL for the wallet. Present it to the user, then poll `GET /v1/wallets/:address` for the resulting status.
|
|
3030
2447
|
* @summary Get the identity-verification link
|
|
3031
|
-
* {@link /v1/wallets/:address/identity-verification}
|
|
2448
|
+
* {@link /v1/wallets/:address/virtual-accounts/identity-verification}
|
|
3032
2449
|
*/
|
|
3033
2450
|
declare function getIdentityVerificationLink(address: GetIdentityVerificationLinkPathParams["address"], config?: Partial<RequestConfig> & {
|
|
3034
2451
|
client?: Client;
|
|
@@ -3041,14 +2458,6 @@ declare function getIdentityVerificationLink(address: GetIdentityVerificationLin
|
|
|
3041
2458
|
declare function getStripeConfig(address: GetStripeConfigPathParams["address"], config?: Partial<RequestConfig> & {
|
|
3042
2459
|
client?: Client;
|
|
3043
2460
|
}): Promise<GetStripeConfig200>;
|
|
3044
|
-
/**
|
|
3045
|
-
* @description Reads the crypto customer's KYC and document-verification statuses (the two the SDK branches on) plus its provided fields — the same projection as the customer POST, but a pure read with no persistence. The SDK polls it while the verifying step is on screen.
|
|
3046
|
-
* @summary Poll a Stripe crypto customer's status
|
|
3047
|
-
* {@link /v1/wallets/:address/stripe/customer/:crypto_customer_id}
|
|
3048
|
-
*/
|
|
3049
|
-
declare function getStripeCustomerStatus(address: GetStripeCustomerStatusPathParams["address"], crypto_customer_id: GetStripeCustomerStatusPathParams["crypto_customer_id"], config?: Partial<RequestConfig> & {
|
|
3050
|
-
client?: Client;
|
|
3051
|
-
}): Promise<GetStripeCustomerStatus200>;
|
|
3052
2461
|
/**
|
|
3053
2462
|
* @description Returns the settlement status of one onramp order from the local mirror, scoped to the session's wallet. The SDK polls this after checkout for the webhook-confirmed `fulfillment_complete` (or a `rejected` / `error` terminal state).
|
|
3054
2463
|
* @summary Get a Stripe onramp order
|
|
@@ -3057,26 +2466,10 @@ declare function getStripeCustomerStatus(address: GetStripeCustomerStatusPathPar
|
|
|
3057
2466
|
declare function getStripeOrder(address: GetStripeOrderPathParams["address"], id: GetStripeOrderPathParams["id"], config?: Partial<RequestConfig> & {
|
|
3058
2467
|
client?: Client;
|
|
3059
2468
|
}): Promise<GetStripeOrder200>;
|
|
3060
|
-
/**
|
|
3061
|
-
* @description Returns an informational price estimate for a source amount (fiat spend) or destination amount (target USDC) — the destination amount, the buyer's all-in source total, the fee components, and when the rate was fetched. Pin exactly one. No customer, token, or session is involved (it prices with the secret key alone), so it's `session`-gated only. Display-only: Stripe sets the final amounts at session creation.
|
|
3062
|
-
* @summary Quote a Stripe onramp amount
|
|
3063
|
-
* {@link /v1/wallets/:address/stripe/quote}
|
|
3064
|
-
*/
|
|
3065
|
-
declare function getStripeQuote(address: GetStripeQuotePathParams["address"], params?: GetStripeQuoteQueryParams, config?: Partial<RequestConfig> & {
|
|
3066
|
-
client?: Client;
|
|
3067
|
-
}): Promise<GetStripeQuote200>;
|
|
3068
|
-
/**
|
|
3069
|
-
* @description Reports whether this session is still Link-authenticated and, once the customer POST has run, the persisted crypto customer id and the Link account email. Reads Redis only, so an un-authed session is a 200 with `authenticated: false` (not a 401) — the SDK polls it to re-derive the Stripe session on a cold open.
|
|
3070
|
-
* @summary Get the session's Stripe login state
|
|
3071
|
-
* {@link /v1/wallets/:address/stripe/status}
|
|
3072
|
-
*/
|
|
3073
|
-
declare function getStripeStatus(address: GetStripeStatusPathParams["address"], config?: Partial<RequestConfig> & {
|
|
3074
|
-
client?: Client;
|
|
3075
|
-
}): Promise<GetStripeStatus200>;
|
|
3076
2469
|
/**
|
|
3077
2470
|
* @description Returns the hosted terms-of-service URL for the wallet. Present it to the user, then poll `GET /v1/wallets/:address` for acceptance.
|
|
3078
2471
|
* @summary Get the terms-of-service link
|
|
3079
|
-
* {@link /v1/wallets/:address/terms-of-service}
|
|
2472
|
+
* {@link /v1/wallets/:address/virtual-accounts/terms-of-service}
|
|
3080
2473
|
*/
|
|
3081
2474
|
declare function getTermsOfServiceLink(address: GetTermsOfServiceLinkPathParams["address"], config?: Partial<RequestConfig> & {
|
|
3082
2475
|
client?: Client;
|
|
@@ -3089,22 +2482,6 @@ declare function getTermsOfServiceLink(address: GetTermsOfServiceLinkPathParams[
|
|
|
3089
2482
|
declare function getWallet(address: GetWalletPathParams["address"], config?: Partial<RequestConfig> & {
|
|
3090
2483
|
client?: Client;
|
|
3091
2484
|
}): Promise<GetWallet200>;
|
|
3092
|
-
/**
|
|
3093
|
-
* @description Returns the payment methods the customer has on file. Read-passthrough — the SDK checks this before `collectPaymentMethod` to offer a saved method.
|
|
3094
|
-
* @summary List the customer's payment methods
|
|
3095
|
-
* {@link /v1/wallets/:address/stripe/payment-tokens}
|
|
3096
|
-
*/
|
|
3097
|
-
declare function listStripePaymentTokens(address: ListStripePaymentTokensPathParams["address"], params?: ListStripePaymentTokensQueryParams, config?: Partial<RequestConfig> & {
|
|
3098
|
-
client?: Client;
|
|
3099
|
-
}): Promise<ListStripePaymentTokens200>;
|
|
3100
|
-
/**
|
|
3101
|
-
* @description Returns the crypto wallets registered to the customer's Link account. Read-passthrough — the SDK checks this before `registerWalletAddress` to avoid re-registering a known address.
|
|
3102
|
-
* @summary List the customer's crypto wallets
|
|
3103
|
-
* {@link /v1/wallets/:address/stripe/wallets}
|
|
3104
|
-
*/
|
|
3105
|
-
declare function listStripeWallets(address: ListStripeWalletsPathParams["address"], params?: ListStripeWalletsQueryParams, config?: Partial<RequestConfig> & {
|
|
3106
|
-
client?: Client;
|
|
3107
|
-
}): Promise<ListStripeWallets200>;
|
|
3108
2485
|
/**
|
|
3109
2486
|
* @description Returns the wallet's virtual accounts, each with the bank-side deposit instructions the user needs to send fiat.
|
|
3110
2487
|
* @summary List virtual accounts
|
|
@@ -3132,7 +2509,7 @@ declare function registerWallet(address: RegisterWalletPathParams["address"], da
|
|
|
3132
2509
|
/**
|
|
3133
2510
|
* @description Records that the user finished the identity-verification flow and returns 204. Internal to the SDK's instant-submit UX — partners should create the link, then poll `GET /v1/wallets/:address` for the resulting status instead.
|
|
3134
2511
|
* @summary Record identity-verification completion
|
|
3135
|
-
* {@link /v1/wallets/:address/identity-verification/submit}
|
|
2512
|
+
* {@link /v1/wallets/:address/virtual-accounts/identity-verification/submit}
|
|
3136
2513
|
*/
|
|
3137
2514
|
declare function submitIdentityVerification(address: SubmitIdentityVerificationPathParams["address"], config?: Partial<RequestConfig> & {
|
|
3138
2515
|
client?: Client;
|
|
@@ -3140,7 +2517,7 @@ declare function submitIdentityVerification(address: SubmitIdentityVerificationP
|
|
|
3140
2517
|
/**
|
|
3141
2518
|
* @description Records that the user finished the terms-of-service flow and returns 204. Internal to the SDK's instant-submit UX — partners should create the link, then poll `GET /v1/wallets/:address` for acceptance instead.
|
|
3142
2519
|
* @summary Record terms-of-service completion
|
|
3143
|
-
* {@link /v1/wallets/:address/terms-of-service/submit}
|
|
2520
|
+
* {@link /v1/wallets/:address/virtual-accounts/terms-of-service/submit}
|
|
3144
2521
|
*/
|
|
3145
2522
|
declare function submitTermsOfService(address: SubmitTermsOfServicePathParams["address"], config?: Partial<RequestConfig> & {
|
|
3146
2523
|
client?: Client;
|
|
@@ -3156,4 +2533,4 @@ declare function updateVirtualAccount(address: UpdateVirtualAccountPathParams["a
|
|
|
3156
2533
|
declare function configureCalm(options: {
|
|
3157
2534
|
apiUrl: string;
|
|
3158
2535
|
}): void;
|
|
3159
|
-
export { ApiError, type CheckoutStripeSession200, type CheckoutStripeSession400, type CheckoutStripeSession401, type CheckoutStripeSession402, type CheckoutStripeSession403, type CheckoutStripeSession409, type CheckoutStripeSession429, type CheckoutStripeSession502, type CheckoutStripeSessionMutation, type CheckoutStripeSessionMutationResponse, type CheckoutStripeSessionPathParams, type ClearSession204, type ClearSession429, type ClearSessionMutation, type ClearSessionMutationResponse, type Client, type ConnectExchange200, type ConnectExchange400, type ConnectExchange401, type ConnectExchange403, type ConnectExchange404, type ConnectExchange429, type ConnectExchange502, type ConnectExchangeMutation, type ConnectExchangeMutationResponse, type ConnectExchangePathParams, type ConnectExchangePathParamsExchangeEnumKey, type CreateCardLink200, type CreateCardLink400, type CreateCardLink401, type CreateCardLink403, type CreateCardLink429, type CreateCardLinkMutation, type CreateCardLinkMutationRequest, type CreateCardLinkMutationRequestCurrencyEnumKey, type CreateCardLinkMutationResponse, type CreateCardLinkPathParams, type CreateCashAppOrder200, type CreateCashAppOrder200StatusEnumKey, type CreateCashAppOrder400, type CreateCashAppOrder401, type CreateCashAppOrder403, type CreateCashAppOrder404, type CreateCashAppOrder429, type CreateCashAppOrder502, type CreateCashAppOrderMutation, type CreateCashAppOrderMutationRequest, type CreateCashAppOrderMutationResponse, type CreateCashAppOrderPathParams, type CreateCashAppQuote200, type CreateCashAppQuote400, type CreateCashAppQuote401, type CreateCashAppQuote403, type CreateCashAppQuote429, type CreateCashAppQuote502, type CreateCashAppQuoteMutation, type CreateCashAppQuoteMutationRequest, type CreateCashAppQuoteMutationResponse, type CreateCashAppQuotePathParams, type CreateDepositAddress200, type CreateDepositAddress400, type CreateDepositAddress401, type CreateDepositAddress403, type CreateDepositAddress404, type CreateDepositAddress429, type CreateDepositAddressMutation, type CreateDepositAddressMutationRequest, type CreateDepositAddressMutationRequestSourceTokenEnumKey, type CreateDepositAddressMutationResponse, type CreateDepositAddressPathParams, type CreateExchangeWithdrawQuote200, type CreateExchangeWithdrawQuote400, type CreateExchangeWithdrawQuote401, type CreateExchangeWithdrawQuote403, type CreateExchangeWithdrawQuote404, type CreateExchangeWithdrawQuote409, type CreateExchangeWithdrawQuote429, type CreateExchangeWithdrawQuote502, type CreateExchangeWithdrawQuoteMutation, type CreateExchangeWithdrawQuoteMutationRequest, type CreateExchangeWithdrawQuoteMutationResponse, type CreateExchangeWithdrawQuotePathParams, type CreateExchangeWithdrawQuotePathParamsExchangeEnumKey, type CreateSessionDynamic200, type CreateSessionDynamic400, type CreateSessionDynamic401, type CreateSessionDynamic403, type CreateSessionDynamic429, type CreateSessionDynamicMutation, type CreateSessionDynamicMutationResponse, type CreateSessionDynamicPathParams, type CreateSessionPrivy200, type CreateSessionPrivy400, type CreateSessionPrivy401, type CreateSessionPrivy403, type CreateSessionPrivy429, type CreateSessionPrivyMutation, type CreateSessionPrivyMutationResponse, type CreateSessionPrivyPathParams, type CreateSessionSiwe200, type CreateSessionSiwe400, type CreateSessionSiwe401, type CreateSessionSiwe403, type CreateSessionSiwe429, type CreateSessionSiweMutation, type CreateSessionSiweMutationRequest, type CreateSessionSiweMutationResponse, type CreateSessionSiwePathParams, type CreateSiweNonce200, type CreateSiweNonce400, type CreateSiweNonce429, type CreateSiweNonceMutation, type CreateSiweNonceMutationResponse, type CreateSiweNoncePathParams, type CreateStripeAuthIntent200, type CreateStripeAuthIntent400, type CreateStripeAuthIntent401, type CreateStripeAuthIntent403, type CreateStripeAuthIntent404, type CreateStripeAuthIntent429, type CreateStripeAuthIntent502, type CreateStripeAuthIntentMutation, type CreateStripeAuthIntentMutationRequest, type CreateStripeAuthIntentMutationResponse, type CreateStripeAuthIntentPathParams, type CreateStripeCustomer204, type CreateStripeCustomer400, type CreateStripeCustomer401, type CreateStripeCustomer403, type CreateStripeCustomer404, type CreateStripeCustomer429, type CreateStripeCustomer502, type CreateStripeCustomerMutation, type CreateStripeCustomerMutationResponse, type CreateStripeCustomerPathParams, type CreateStripeSession200, type CreateStripeSession400, type CreateStripeSession401, type CreateStripeSession403, type CreateStripeSession404, type CreateStripeSession429, type CreateStripeSession502, type CreateStripeSessionMutation, type CreateStripeSessionMutationRequest, type CreateStripeSessionMutationResponse, type CreateStripeSessionPathParams, type CreateStripeTokens204, type CreateStripeTokens400, type CreateStripeTokens401, type CreateStripeTokens403, type CreateStripeTokens404, type CreateStripeTokens409, type CreateStripeTokens429, type CreateStripeTokens502, type CreateStripeTokensMutation, type CreateStripeTokensMutationRequest, type CreateStripeTokensMutationResponse, type CreateStripeTokensPathParams, type CreateSwapQuote200, type CreateSwapQuote400, type CreateSwapQuote401, type CreateSwapQuote403, type CreateSwapQuote429, type CreateSwapQuote502, type CreateSwapQuoteMutation, type CreateSwapQuoteMutationRequest, type CreateSwapQuoteMutationRequestSourceTokenEnumKey, type CreateSwapQuoteMutationRequestTradeTypeEnumKey, type CreateSwapQuoteMutationResponse, type CreateSwapQuotePathParams, type CreateVirtualAccount204, type CreateVirtualAccount400, type CreateVirtualAccount401, type CreateVirtualAccount403, type CreateVirtualAccount404, type CreateVirtualAccount409, type CreateVirtualAccount429, type CreateVirtualAccount502, type CreateVirtualAccountMutation, type CreateVirtualAccountMutationRequest, type CreateVirtualAccountMutationRequestCurrencyEnumKey, type CreateVirtualAccountMutationResponse, type CreateVirtualAccountPathParams, type DataCurrencyEnumKey, type DisconnectExchange204, type DisconnectExchange400, type DisconnectExchange401, type DisconnectExchange403, type DisconnectExchange404, type DisconnectExchange429, type DisconnectExchange502, type DisconnectExchangeMutation, type DisconnectExchangeMutationResponse, type DisconnectExchangePathParams, type DisconnectExchangePathParamsExchangeEnumKey, type Error$1 as Error, type ExecuteExchangeWithdrawal200, type ExecuteExchangeWithdrawal200StatusEnumKey, type ExecuteExchangeWithdrawal400, type ExecuteExchangeWithdrawal401, type ExecuteExchangeWithdrawal403, type ExecuteExchangeWithdrawal404, type ExecuteExchangeWithdrawal409, type ExecuteExchangeWithdrawal429, type ExecuteExchangeWithdrawal502, type ExecuteExchangeWithdrawalMutation, type ExecuteExchangeWithdrawalMutationRequest, type ExecuteExchangeWithdrawalMutationResponse, type ExecuteExchangeWithdrawalPathParams, type ExecuteExchangeWithdrawalPathParamsExchangeEnumKey, type GetBalance200, type GetBalance400, type GetBalance401, type GetBalance403, type GetBalance404, type GetBalance429, type GetBalancePathParams, type GetBalancePathParamsTokenEnumKey, type GetBalanceQuery, type GetBalanceQueryResponse, type GetBalances200, type GetBalances400, type GetBalances401, type GetBalances403, type GetBalances429, type GetBalancesPathParams, type GetBalancesQuery, type GetBalancesQueryParams, type GetBalancesQueryResponse, type GetCashAppOrder200, type GetCashAppOrder200StatusEnumKey, type GetCashAppOrder400, type GetCashAppOrder401, type GetCashAppOrder403, type GetCashAppOrder404, type GetCashAppOrder429, type GetCashAppOrderPathParams, type GetCashAppOrderQuery, type GetCashAppOrderQueryResponse, type GetExchange200, type GetExchange400, type GetExchange401, type GetExchange403, type GetExchange404, type GetExchange429, type GetExchange502, type GetExchangeAssets200, type GetExchangeAssets400, type GetExchangeAssets401, type GetExchangeAssets403, type GetExchangeAssets404, type GetExchangeAssets409, type GetExchangeAssets429, type GetExchangeAssets502, type GetExchangeAssetsPathParams, type GetExchangeAssetsPathParamsExchangeEnumKey, type GetExchangeAssetsQuery, type GetExchangeAssetsQueryResponse, type GetExchangePathParams, type GetExchangePathParamsExchangeEnumKey, type GetExchangeQuery, type GetExchangeQueryResponse, type GetExchangeWithdrawal200, type GetExchangeWithdrawal200StatusEnumKey, type GetExchangeWithdrawal400, type GetExchangeWithdrawal401, type GetExchangeWithdrawal403, type GetExchangeWithdrawal404, type GetExchangeWithdrawal429, type GetExchangeWithdrawalPathParams, type GetExchangeWithdrawalPathParamsExchangeEnumKey, type GetExchangeWithdrawalQuery, type GetExchangeWithdrawalQueryResponse, type GetFxRates200, type GetFxRates429, type GetFxRates502, type GetFxRatesQuery, type GetFxRatesQueryResponse, type GetIdentityVerificationLink200, type GetIdentityVerificationLink400, type GetIdentityVerificationLink401, type GetIdentityVerificationLink403, type GetIdentityVerificationLink404, type GetIdentityVerificationLink429, type GetIdentityVerificationLink502, type GetIdentityVerificationLinkMutation, type GetIdentityVerificationLinkMutationResponse, type GetIdentityVerificationLinkPathParams, type GetStripeConfig200, type GetStripeConfig400, type GetStripeConfig401, type GetStripeConfig403, type GetStripeConfig429, type GetStripeConfigPathParams, type GetStripeConfigQuery, type GetStripeConfigQueryResponse, type GetStripeCustomerStatus200, type GetStripeCustomerStatus400, type GetStripeCustomerStatus401, type GetStripeCustomerStatus403, type GetStripeCustomerStatus404, type GetStripeCustomerStatus429, type GetStripeCustomerStatus502, type GetStripeCustomerStatusPathParams, type GetStripeCustomerStatusQuery, type GetStripeCustomerStatusQueryResponse, type GetStripeOrder200, type GetStripeOrder200StatusEnumKey, type GetStripeOrder400, type GetStripeOrder401, type GetStripeOrder403, type GetStripeOrder404, type GetStripeOrder429, type GetStripeOrderPathParams, type GetStripeOrderQuery, type GetStripeOrderQueryResponse, type GetStripeQuote200, type GetStripeQuote400, type GetStripeQuote401, type GetStripeQuote403, type GetStripeQuote429, type GetStripeQuote502, type GetStripeQuotePathParams, type GetStripeQuoteQuery, type GetStripeQuoteQueryParams, type GetStripeQuoteQueryResponse, type GetStripeStatus200, type GetStripeStatus400, type GetStripeStatus401, type GetStripeStatus403, type GetStripeStatus429, type GetStripeStatusPathParams, type GetStripeStatusQuery, type GetStripeStatusQueryResponse, type GetTermsOfServiceLink200, type GetTermsOfServiceLink400, type GetTermsOfServiceLink401, type GetTermsOfServiceLink403, type GetTermsOfServiceLink404, type GetTermsOfServiceLink429, type GetTermsOfServiceLink502, type GetTermsOfServiceLinkMutation, type GetTermsOfServiceLinkMutationResponse, type GetTermsOfServiceLinkPathParams, type GetWallet200, type GetWallet200IdentityVerificationStatusEnumKey, type GetWallet400, type GetWallet401, type GetWallet403, type GetWallet404, type GetWallet429, type GetWalletPathParams, type GetWalletQuery, type GetWalletQueryResponse, type ListStripePaymentTokens200, type ListStripePaymentTokens400, type ListStripePaymentTokens401, type ListStripePaymentTokens403, type ListStripePaymentTokens404, type ListStripePaymentTokens429, type ListStripePaymentTokens502, type ListStripePaymentTokensPathParams, type ListStripePaymentTokensQuery, type ListStripePaymentTokensQueryParams, type ListStripePaymentTokensQueryResponse, type ListStripeWallets200, type ListStripeWallets400, type ListStripeWallets401, type ListStripeWallets403, type ListStripeWallets404, type ListStripeWallets429, type ListStripeWallets502, type ListStripeWalletsPathParams, type ListStripeWalletsQuery, type ListStripeWalletsQueryParams, type ListStripeWalletsQueryResponse, type ListVirtualAccounts200, type ListVirtualAccounts400, type ListVirtualAccounts401, type ListVirtualAccounts403, type ListVirtualAccounts404, type ListVirtualAccounts429, type ListVirtualAccountsPathParams, type ListVirtualAccountsQuery, type ListVirtualAccountsQueryResponse, type RefreshSession200, type RefreshSession400, type RefreshSession401, type RefreshSession403, type RefreshSession429, type RefreshSessionMutation, type RefreshSessionMutationResponse, type RefreshSessionPathParams, type RegisterWallet204, type RegisterWallet400, type RegisterWallet401, type RegisterWallet403, type RegisterWallet404, type RegisterWallet409, type RegisterWallet429, type RegisterWallet502, type RegisterWalletMutation, type RegisterWalletMutationRequest, type RegisterWalletMutationResponse, type RegisterWalletPathParams, type RequestConfig, type RequestCredentials, type ResponseConfig, type ResponseErrorConfig, type SubmitIdentityVerification204, type SubmitIdentityVerification400, type SubmitIdentityVerification401, type SubmitIdentityVerification403, type SubmitIdentityVerification404, type SubmitIdentityVerification429, type SubmitIdentityVerificationMutation, type SubmitIdentityVerificationMutationResponse, type SubmitIdentityVerificationPathParams, type SubmitTermsOfService204, type SubmitTermsOfService400, type SubmitTermsOfService401, type SubmitTermsOfService403, type SubmitTermsOfService404, type SubmitTermsOfService429, type SubmitTermsOfServiceMutation, type SubmitTermsOfServiceMutationResponse, type SubmitTermsOfServicePathParams, type UpdateVirtualAccount204, type UpdateVirtualAccount400, type UpdateVirtualAccount401, type UpdateVirtualAccount403, type UpdateVirtualAccount404, type UpdateVirtualAccount429, type UpdateVirtualAccount502, type UpdateVirtualAccountMutation, type UpdateVirtualAccountMutationRequest, type UpdateVirtualAccountMutationResponse, type UpdateVirtualAccountPathParams, checkoutStripeSession, clearSession, client, client as default, configureCalm, connectExchange, connectExchangePathParamsExchangeEnum, createCardLink, createCardLinkMutationRequestCurrencyEnum, createCashAppOrder, createCashAppOrder200StatusEnum, createCashAppQuote, createDepositAddress, createDepositAddressMutationRequestSourceTokenEnum, createExchangeWithdrawQuote, createExchangeWithdrawQuotePathParamsExchangeEnum, createSessionDynamic, createSessionPrivy, createSessionSiwe, createSiweNonce, createStripeAuthIntent, createStripeCustomer, createStripeSession, createStripeTokens, createSwapQuote, createSwapQuoteMutationRequestSourceTokenEnum, createSwapQuoteMutationRequestTradeTypeEnum, createVirtualAccount, createVirtualAccountMutationRequestCurrencyEnum, dataCurrencyEnum, disconnectExchange, disconnectExchangePathParamsExchangeEnum, executeExchangeWithdrawal, executeExchangeWithdrawal200StatusEnum, executeExchangeWithdrawalPathParamsExchangeEnum, getBalance, getBalancePathParamsTokenEnum, getBalances, getCashAppOrder, getCashAppOrder200StatusEnum, getConfig, getExchange, getExchangeAssets, getExchangeAssetsPathParamsExchangeEnum, getExchangePathParamsExchangeEnum, getExchangeWithdrawal, getExchangeWithdrawal200StatusEnum, getExchangeWithdrawalPathParamsExchangeEnum, getFxRates, getIdentityVerificationLink, getStripeConfig, getStripeCustomerStatus, getStripeOrder, getStripeOrder200StatusEnum, getStripeQuote, getStripeStatus, getTermsOfServiceLink, getWallet, getWallet200IdentityVerificationStatusEnum, listStripePaymentTokens, listStripeWallets, listVirtualAccounts, refreshSession, registerWallet, setConfig, submitIdentityVerification, submitTermsOfService, updateVirtualAccount };
|
|
2536
|
+
export { ApiError, type ClearSession204, type ClearSession429, type ClearSessionMutation, type ClearSessionMutationResponse, type Client, type ConnectExchange200, type ConnectExchange400, type ConnectExchange401, type ConnectExchange403, type ConnectExchange404, type ConnectExchange429, type ConnectExchange502, type ConnectExchangeMutation, type ConnectExchangeMutationResponse, type ConnectExchangePathParams, type ConnectExchangePathParamsExchangeEnumKey, type CreateCardLink200, type CreateCardLink400, type CreateCardLink401, type CreateCardLink403, type CreateCardLink429, type CreateCardLinkMutation, type CreateCardLinkMutationRequest, type CreateCardLinkMutationRequestCurrencyEnumKey, type CreateCardLinkMutationResponse, type CreateCardLinkPathParams, type CreateCashAppOrder200, type CreateCashAppOrder200StatusEnumKey, type CreateCashAppOrder400, type CreateCashAppOrder401, type CreateCashAppOrder403, type CreateCashAppOrder404, type CreateCashAppOrder429, type CreateCashAppOrder502, type CreateCashAppOrderMutation, type CreateCashAppOrderMutationRequest, type CreateCashAppOrderMutationResponse, type CreateCashAppOrderPathParams, type CreateCashAppQuote200, type CreateCashAppQuote400, type CreateCashAppQuote401, type CreateCashAppQuote403, type CreateCashAppQuote429, type CreateCashAppQuote502, type CreateCashAppQuoteMutation, type CreateCashAppQuoteMutationRequest, type CreateCashAppQuoteMutationResponse, type CreateCashAppQuotePathParams, type CreateDepositAddress200, type CreateDepositAddress400, type CreateDepositAddress401, type CreateDepositAddress403, type CreateDepositAddress404, type CreateDepositAddress429, type CreateDepositAddressMutation, type CreateDepositAddressMutationRequest, type CreateDepositAddressMutationRequestSourceTokenEnumKey, type CreateDepositAddressMutationResponse, type CreateDepositAddressPathParams, type CreateExchangeWithdrawQuote200, type CreateExchangeWithdrawQuote400, type CreateExchangeWithdrawQuote401, type CreateExchangeWithdrawQuote403, type CreateExchangeWithdrawQuote404, type CreateExchangeWithdrawQuote409, type CreateExchangeWithdrawQuote429, type CreateExchangeWithdrawQuote502, type CreateExchangeWithdrawQuoteMutation, type CreateExchangeWithdrawQuoteMutationRequest, type CreateExchangeWithdrawQuoteMutationResponse, type CreateExchangeWithdrawQuotePathParams, type CreateExchangeWithdrawQuotePathParamsExchangeEnumKey, type CreateSessionDynamic200, type CreateSessionDynamic400, type CreateSessionDynamic401, type CreateSessionDynamic403, type CreateSessionDynamic429, type CreateSessionDynamicMutation, type CreateSessionDynamicMutationResponse, type CreateSessionDynamicPathParams, type CreateSessionPrivy200, type CreateSessionPrivy400, type CreateSessionPrivy401, type CreateSessionPrivy403, type CreateSessionPrivy429, type CreateSessionPrivyMutation, type CreateSessionPrivyMutationResponse, type CreateSessionPrivyPathParams, type CreateSessionSiwe200, type CreateSessionSiwe400, type CreateSessionSiwe401, type CreateSessionSiwe403, type CreateSessionSiwe429, type CreateSessionSiweMutation, type CreateSessionSiweMutationRequest, type CreateSessionSiweMutationResponse, type CreateSessionSiwePathParams, type CreateSiweNonce200, type CreateSiweNonce400, type CreateSiweNonce429, type CreateSiweNonceMutation, type CreateSiweNonceMutationResponse, type CreateSiweNoncePathParams, type CreateStripeSession200, type CreateStripeSession400, type CreateStripeSession401, type CreateStripeSession403, type CreateStripeSession429, type CreateStripeSession502, type CreateStripeSessionMutation, type CreateStripeSessionMutationRequest, type CreateStripeSessionMutationResponse, type CreateStripeSessionPathParams, type CreateSwapQuote200, type CreateSwapQuote400, type CreateSwapQuote401, type CreateSwapQuote403, type CreateSwapQuote429, type CreateSwapQuote502, type CreateSwapQuoteMutation, type CreateSwapQuoteMutationRequest, type CreateSwapQuoteMutationRequestSourceTokenEnumKey, type CreateSwapQuoteMutationRequestTradeTypeEnumKey, type CreateSwapQuoteMutationResponse, type CreateSwapQuotePathParams, type CreateVirtualAccount204, type CreateVirtualAccount400, type CreateVirtualAccount401, type CreateVirtualAccount403, type CreateVirtualAccount404, type CreateVirtualAccount409, type CreateVirtualAccount429, type CreateVirtualAccount502, type CreateVirtualAccountMutation, type CreateVirtualAccountMutationRequest, type CreateVirtualAccountMutationRequestCurrencyEnumKey, type CreateVirtualAccountMutationResponse, type CreateVirtualAccountPathParams, type DataCurrencyEnumKey, type DisconnectExchange204, type DisconnectExchange400, type DisconnectExchange401, type DisconnectExchange403, type DisconnectExchange404, type DisconnectExchange429, type DisconnectExchange502, type DisconnectExchangeMutation, type DisconnectExchangeMutationResponse, type DisconnectExchangePathParams, type DisconnectExchangePathParamsExchangeEnumKey, type Error$1 as Error, type ExecuteExchangeWithdrawal200, type ExecuteExchangeWithdrawal200StatusEnumKey, type ExecuteExchangeWithdrawal400, type ExecuteExchangeWithdrawal401, type ExecuteExchangeWithdrawal403, type ExecuteExchangeWithdrawal404, type ExecuteExchangeWithdrawal409, type ExecuteExchangeWithdrawal429, type ExecuteExchangeWithdrawal502, type ExecuteExchangeWithdrawalMutation, type ExecuteExchangeWithdrawalMutationRequest, type ExecuteExchangeWithdrawalMutationResponse, type ExecuteExchangeWithdrawalPathParams, type ExecuteExchangeWithdrawalPathParamsExchangeEnumKey, type GetBalance200, type GetBalance400, type GetBalance401, type GetBalance403, type GetBalance404, type GetBalance429, type GetBalancePathParams, type GetBalancePathParamsTokenEnumKey, type GetBalanceQuery, type GetBalanceQueryResponse, type GetBalances200, type GetBalances400, type GetBalances401, type GetBalances403, type GetBalances429, type GetBalancesPathParams, type GetBalancesQuery, type GetBalancesQueryParams, type GetBalancesQueryResponse, type GetCashAppOrder200, type GetCashAppOrder200StatusEnumKey, type GetCashAppOrder400, type GetCashAppOrder401, type GetCashAppOrder403, type GetCashAppOrder404, type GetCashAppOrder429, type GetCashAppOrderPathParams, type GetCashAppOrderQuery, type GetCashAppOrderQueryResponse, type GetExchange200, type GetExchange400, type GetExchange401, type GetExchange403, type GetExchange404, type GetExchange429, type GetExchange502, type GetExchangeAssets200, type GetExchangeAssets400, type GetExchangeAssets401, type GetExchangeAssets403, type GetExchangeAssets404, type GetExchangeAssets409, type GetExchangeAssets429, type GetExchangeAssets502, type GetExchangeAssetsPathParams, type GetExchangeAssetsPathParamsExchangeEnumKey, type GetExchangeAssetsQuery, type GetExchangeAssetsQueryResponse, type GetExchangePathParams, type GetExchangePathParamsExchangeEnumKey, type GetExchangeQuery, type GetExchangeQueryResponse, type GetExchangeWithdrawal200, type GetExchangeWithdrawal200StatusEnumKey, type GetExchangeWithdrawal400, type GetExchangeWithdrawal401, type GetExchangeWithdrawal403, type GetExchangeWithdrawal404, type GetExchangeWithdrawal429, type GetExchangeWithdrawalPathParams, type GetExchangeWithdrawalPathParamsExchangeEnumKey, type GetExchangeWithdrawalQuery, type GetExchangeWithdrawalQueryResponse, type GetFxRates200, type GetFxRates429, type GetFxRates502, type GetFxRatesQuery, type GetFxRatesQueryResponse, type GetIdentityVerificationLink200, type GetIdentityVerificationLink400, type GetIdentityVerificationLink401, type GetIdentityVerificationLink403, type GetIdentityVerificationLink404, type GetIdentityVerificationLink429, type GetIdentityVerificationLink502, type GetIdentityVerificationLinkMutation, type GetIdentityVerificationLinkMutationResponse, type GetIdentityVerificationLinkPathParams, type GetStripeConfig200, type GetStripeConfig400, type GetStripeConfig401, type GetStripeConfig403, type GetStripeConfig429, type GetStripeConfigPathParams, type GetStripeConfigQuery, type GetStripeConfigQueryResponse, type GetStripeOrder200, type GetStripeOrder200StatusEnumKey, type GetStripeOrder400, type GetStripeOrder401, type GetStripeOrder403, type GetStripeOrder404, type GetStripeOrder429, type GetStripeOrderPathParams, type GetStripeOrderQuery, type GetStripeOrderQueryResponse, type GetTermsOfServiceLink200, type GetTermsOfServiceLink400, type GetTermsOfServiceLink401, type GetTermsOfServiceLink403, type GetTermsOfServiceLink404, type GetTermsOfServiceLink429, type GetTermsOfServiceLink502, type GetTermsOfServiceLinkMutation, type GetTermsOfServiceLinkMutationResponse, type GetTermsOfServiceLinkPathParams, type GetWallet200, type GetWallet200IdentityVerificationStatusEnumKey, type GetWallet400, type GetWallet401, type GetWallet403, type GetWallet404, type GetWallet429, type GetWalletPathParams, type GetWalletQuery, type GetWalletQueryResponse, type ListVirtualAccounts200, type ListVirtualAccounts400, type ListVirtualAccounts401, type ListVirtualAccounts403, type ListVirtualAccounts404, type ListVirtualAccounts429, type ListVirtualAccountsPathParams, type ListVirtualAccountsQuery, type ListVirtualAccountsQueryResponse, type RefreshSession200, type RefreshSession400, type RefreshSession401, type RefreshSession403, type RefreshSession429, type RefreshSessionMutation, type RefreshSessionMutationResponse, type RefreshSessionPathParams, type RegisterWallet204, type RegisterWallet400, type RegisterWallet401, type RegisterWallet403, type RegisterWallet404, type RegisterWallet409, type RegisterWallet429, type RegisterWallet502, type RegisterWalletMutation, type RegisterWalletMutationRequest, type RegisterWalletMutationResponse, type RegisterWalletPathParams, type RequestConfig, type RequestCredentials, type ResponseConfig, type ResponseErrorConfig, type SubmitIdentityVerification204, type SubmitIdentityVerification400, type SubmitIdentityVerification401, type SubmitIdentityVerification403, type SubmitIdentityVerification404, type SubmitIdentityVerification429, type SubmitIdentityVerificationMutation, type SubmitIdentityVerificationMutationResponse, type SubmitIdentityVerificationPathParams, type SubmitTermsOfService204, type SubmitTermsOfService400, type SubmitTermsOfService401, type SubmitTermsOfService403, type SubmitTermsOfService404, type SubmitTermsOfService429, type SubmitTermsOfServiceMutation, type SubmitTermsOfServiceMutationResponse, type SubmitTermsOfServicePathParams, type UpdateVirtualAccount204, type UpdateVirtualAccount400, type UpdateVirtualAccount401, type UpdateVirtualAccount403, type UpdateVirtualAccount404, type UpdateVirtualAccount429, type UpdateVirtualAccount502, type UpdateVirtualAccountMutation, type UpdateVirtualAccountMutationRequest, type UpdateVirtualAccountMutationResponse, type UpdateVirtualAccountPathParams, clearSession, client, client as default, configureCalm, connectExchange, connectExchangePathParamsExchangeEnum, createCardLink, createCardLinkMutationRequestCurrencyEnum, createCashAppOrder, createCashAppOrder200StatusEnum, createCashAppQuote, createDepositAddress, createDepositAddressMutationRequestSourceTokenEnum, createExchangeWithdrawQuote, createExchangeWithdrawQuotePathParamsExchangeEnum, createSessionDynamic, createSessionPrivy, createSessionSiwe, createSiweNonce, createStripeSession, createSwapQuote, createSwapQuoteMutationRequestSourceTokenEnum, createSwapQuoteMutationRequestTradeTypeEnum, createVirtualAccount, createVirtualAccountMutationRequestCurrencyEnum, dataCurrencyEnum, disconnectExchange, disconnectExchangePathParamsExchangeEnum, executeExchangeWithdrawal, executeExchangeWithdrawal200StatusEnum, executeExchangeWithdrawalPathParamsExchangeEnum, getBalance, getBalancePathParamsTokenEnum, getBalances, getCashAppOrder, getCashAppOrder200StatusEnum, getConfig, getExchange, getExchangeAssets, getExchangeAssetsPathParamsExchangeEnum, getExchangePathParamsExchangeEnum, getExchangeWithdrawal, getExchangeWithdrawal200StatusEnum, getExchangeWithdrawalPathParamsExchangeEnum, getFxRates, getIdentityVerificationLink, getStripeConfig, getStripeOrder, getStripeOrder200StatusEnum, getTermsOfServiceLink, getWallet, getWallet200IdentityVerificationStatusEnum, listVirtualAccounts, refreshSession, registerWallet, setConfig, submitIdentityVerification, submitTermsOfService, updateVirtualAccount };
|