@coinbase/cdp-api-client 0.0.110 → 0.0.112
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/esm/index.js +106 -102
- package/dist/esm/index4.js +1 -1
- package/dist/esm/index5.js +111 -78
- package/dist/esm/index6.js +260 -496
- package/dist/esm/index7.js +71 -257
- package/dist/esm/index8.js +512 -74
- package/dist/types/index.d.ts +194 -39
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,109 +1,113 @@
|
|
|
1
1
|
import { Analytics as e } from "./index2.js";
|
|
2
2
|
import "./index3.js";
|
|
3
3
|
import { VERSION as t } from "./index4.js";
|
|
4
|
-
import { CreateEndUserBtcAccountBodyAddressType as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { CapabilityName as s, CreateEndUserBtcAccountBodyAddressType as c, CreateEndUserBtcAccountBodyNetwork as d, DeveloperJWTAuthenticationType as E, EmailAuthenticationType as A, EndUserBtcAccountAddressType as u, EndUserBtcAccountNetwork as p, EndUserOnrampFeeType as h, EndUserOnrampOrderStatus as m, ErrorType as U, EvmEip7702DelegationNetwork as l, EvmEip7702DelegationOperationStatus as g, EvmSwapsNetwork as y, EvmUserOperationNetwork as S, EvmUserOperationStatus as v, InitiateEmailAuthenticationNextStepType as T, InitiateEmailAuthenticationRequestType as W, InitiateSiweAuthenticationRequestType as f, InitiateSmsAuthenticationNextStepType as k, InitiateSmsAuthenticationRequestType as w, InitiateSmsMfaEnrollmentType as B, InitiateTotpMfaEnrollmentType as O, IosAttestationRegistrationResponsePlatform as N, MfaMethod as M, Network as P, OAuth2ProviderType as C, OtpEmailLogoModerationStatus as I, RefreshAccessTokenBodyGrantType as D, SendEvmAssetWithEndUserAccountBodyNetwork as x, SendEvmTransactionWithEndUserAccountBodyNetwork as F, SendSolanaAssetWithEndUserAccountBodyNetwork as H, SendSolanaTransactionWithEndUserAccountBodyNetwork as R, SignBtcHashWithEndUserAccountBodyAddressType as b, SignBtcHashWithEndUserAccountBodyChange as V, SignBtcHashWithEndUserAccountBodyNetwork as q, SiweAuthenticationType as j, SmsAuthenticationType as G, SpendPermissionNetwork as J } from "./index5.js";
|
|
5
|
+
import { configureCdpApiClient as _, setAuthManager as z } from "./index6.js";
|
|
6
|
+
import { APIError as Q, HttpErrorType as X, UnknownApiError as Y, UnknownError as Z, isOpenAPIError as $ } from "./index7.js";
|
|
7
|
+
import { authenticateUserWithCustomAuth as te, createDelegationForEndUser as ne, createDelegationForEndUserAccount as re, createEndUserApplePayOnrampOrder as ie, createEndUserBtcAccount as oe, createEndUserEvmAccount as ae, createEndUserEvmSmartAccount as se, createEndUserEvmSwap as ce, createEndUserSolanaAccount as de, createEvmEip7702DelegationWithEndUserAccount as Ee, createSpendPermissionWithEndUserAccount as Ae, enableSpendPermissionWithEndUserAccount as ue, exportEndUserEvmAccount as pe, exportEndUserSolanaAccount as he, generateAttestationChallenge as me, getAuthenticatedEndUser as Ue, getDelegationForEndUser as le, getDelegationForEndUserAccount as ge, getEndUserEvmSwapPrice as ye, getEvmEip7702DelegationOperationByIdWithEndUserAccount as Se, getMfaConfig as ve, getProjectConfig as Te, getUserOperationWithEndUserAccount as We, initiateAuthentication as fe, initiateMfaEnrollment as ke, initiateMfaEnrollment2 as we, initiateMfaVerification as Be, listSpendPermissionsWithEndUserAccount as Oe, logOutEndUser as Ne, receiveOAuthCallback as Me, receiveOAuthCallbackPost as Pe, recordMfaEnrollmentPrompted as Ce, refreshAccessToken as Ie, registerAttestation as De, registerTemporaryWalletSecret as xe, revokeDelegationForEndUser as Fe, revokeDelegationForEndUserAccount as He, revokeSpendPermissionWithEndUserAccount as Re, sendEvmAssetWithEndUserAccount as be, sendEvmTransactionWithEndUserAccount as Ve, sendSolanaAssetWithEndUserAccount as qe, sendSolanaTransactionWithEndUserAccount as je, sendUserOperationWithEndUserAccount as Ge, signBtcHashWithEndUserAccount as Je, signEvmHashWithEndUserAccount as Le, signEvmMessageWithEndUserAccount as _e, signEvmTransactionWithEndUserAccount as ze, signEvmTypedDataWithEndUserAccount as Ke, signSolanaHashWithEndUserAccount as Qe, signSolanaMessageWithEndUserAccount as Xe, signSolanaTransactionWithEndUserAccount as Ye, submitMfaEnrollment as Ze, submitMfaVerification as $e, verifyEmailAuthentication as et, verifyOAuthCode as tt, verifyOAuthEndUserIdentity as nt, verifySiweAuthentication as rt, verifySmsAuthentication as it } from "./index8.js";
|
|
8
8
|
e.registerPackageVersion("api_client", t);
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
c as
|
|
13
|
-
d as
|
|
14
|
-
E as
|
|
15
|
-
A as
|
|
16
|
-
u as
|
|
17
|
-
p as
|
|
18
|
-
h as
|
|
19
|
-
m as
|
|
20
|
-
U as
|
|
21
|
-
l as
|
|
22
|
-
g as
|
|
23
|
-
y as
|
|
24
|
-
S as
|
|
25
|
-
|
|
10
|
+
Q as APIError,
|
|
11
|
+
s as CapabilityName,
|
|
12
|
+
c as CreateEndUserBtcAccountBodyAddressType,
|
|
13
|
+
d as CreateEndUserBtcAccountBodyNetwork,
|
|
14
|
+
E as DeveloperJWTAuthenticationType,
|
|
15
|
+
A as EmailAuthenticationType,
|
|
16
|
+
u as EndUserBtcAccountAddressType,
|
|
17
|
+
p as EndUserBtcAccountNetwork,
|
|
18
|
+
h as EndUserOnrampFeeType,
|
|
19
|
+
m as EndUserOnrampOrderStatus,
|
|
20
|
+
U as ErrorType,
|
|
21
|
+
l as EvmEip7702DelegationNetwork,
|
|
22
|
+
g as EvmEip7702DelegationOperationStatus,
|
|
23
|
+
y as EvmSwapsNetwork,
|
|
24
|
+
S as EvmUserOperationNetwork,
|
|
25
|
+
v as EvmUserOperationStatus,
|
|
26
|
+
X as HttpErrorType,
|
|
26
27
|
T as InitiateEmailAuthenticationNextStepType,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
I as
|
|
38
|
-
D as
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
V as
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
_ as
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
28
|
+
W as InitiateEmailAuthenticationRequestType,
|
|
29
|
+
f as InitiateSiweAuthenticationRequestType,
|
|
30
|
+
k as InitiateSmsAuthenticationNextStepType,
|
|
31
|
+
w as InitiateSmsAuthenticationRequestType,
|
|
32
|
+
B as InitiateSmsMfaEnrollmentType,
|
|
33
|
+
O as InitiateTotpMfaEnrollmentType,
|
|
34
|
+
N as IosAttestationRegistrationResponsePlatform,
|
|
35
|
+
M as MfaMethod,
|
|
36
|
+
P as Network,
|
|
37
|
+
C as OAuth2ProviderType,
|
|
38
|
+
I as OtpEmailLogoModerationStatus,
|
|
39
|
+
D as RefreshAccessTokenBodyGrantType,
|
|
40
|
+
x as SendEvmAssetWithEndUserAccountBodyNetwork,
|
|
41
|
+
F as SendEvmTransactionWithEndUserAccountBodyNetwork,
|
|
42
|
+
H as SendSolanaAssetWithEndUserAccountBodyNetwork,
|
|
43
|
+
R as SendSolanaTransactionWithEndUserAccountBodyNetwork,
|
|
44
|
+
b as SignBtcHashWithEndUserAccountBodyAddressType,
|
|
45
|
+
V as SignBtcHashWithEndUserAccountBodyChange,
|
|
46
|
+
q as SignBtcHashWithEndUserAccountBodyNetwork,
|
|
47
|
+
j as SiweAuthenticationType,
|
|
48
|
+
G as SmsAuthenticationType,
|
|
49
|
+
J as SpendPermissionNetwork,
|
|
50
|
+
Y as UnknownApiError,
|
|
51
|
+
Z as UnknownError,
|
|
52
|
+
te as authenticateUserWithCustomAuth,
|
|
53
|
+
_ as configureCdpApiClient,
|
|
54
|
+
ne as createDelegationForEndUser,
|
|
55
|
+
re as createDelegationForEndUserAccount,
|
|
56
|
+
ie as createEndUserApplePayOnrampOrder,
|
|
57
|
+
oe as createEndUserBtcAccount,
|
|
58
|
+
ae as createEndUserEvmAccount,
|
|
59
|
+
se as createEndUserEvmSmartAccount,
|
|
60
|
+
ce as createEndUserEvmSwap,
|
|
61
|
+
de as createEndUserSolanaAccount,
|
|
62
|
+
Ee as createEvmEip7702DelegationWithEndUserAccount,
|
|
63
|
+
Ae as createSpendPermissionWithEndUserAccount,
|
|
64
|
+
ue as enableSpendPermissionWithEndUserAccount,
|
|
65
|
+
pe as exportEndUserEvmAccount,
|
|
66
|
+
he as exportEndUserSolanaAccount,
|
|
67
|
+
me as generateAttestationChallenge,
|
|
68
|
+
Ue as getAuthenticatedEndUser,
|
|
69
|
+
le as getDelegationForEndUser,
|
|
70
|
+
ge as getDelegationForEndUserAccount,
|
|
71
|
+
ye as getEndUserEvmSwapPrice,
|
|
72
|
+
Se as getEvmEip7702DelegationOperationByIdWithEndUserAccount,
|
|
73
|
+
ve as getMfaConfig,
|
|
74
|
+
Te as getProjectConfig,
|
|
75
|
+
We as getUserOperationWithEndUserAccount,
|
|
76
|
+
fe as initiateAuthentication,
|
|
77
|
+
ke as initiateMfaEnrollment,
|
|
78
|
+
we as initiateMfaEnrollment2,
|
|
79
|
+
Be as initiateMfaVerification,
|
|
80
|
+
$ as isOpenAPIError,
|
|
81
|
+
Oe as listSpendPermissionsWithEndUserAccount,
|
|
82
|
+
Ne as logOutEndUser,
|
|
83
|
+
Me as receiveOAuthCallback,
|
|
84
|
+
Pe as receiveOAuthCallbackPost,
|
|
85
|
+
Ce as recordMfaEnrollmentPrompted,
|
|
86
|
+
Ie as refreshAccessToken,
|
|
87
|
+
De as registerAttestation,
|
|
88
|
+
xe as registerTemporaryWalletSecret,
|
|
89
|
+
Fe as revokeDelegationForEndUser,
|
|
90
|
+
He as revokeDelegationForEndUserAccount,
|
|
91
|
+
Re as revokeSpendPermissionWithEndUserAccount,
|
|
92
|
+
be as sendEvmAssetWithEndUserAccount,
|
|
93
|
+
Ve as sendEvmTransactionWithEndUserAccount,
|
|
94
|
+
qe as sendSolanaAssetWithEndUserAccount,
|
|
95
|
+
je as sendSolanaTransactionWithEndUserAccount,
|
|
96
|
+
Ge as sendUserOperationWithEndUserAccount,
|
|
97
|
+
z as setAuthManager,
|
|
98
|
+
Je as signBtcHashWithEndUserAccount,
|
|
99
|
+
Le as signEvmHashWithEndUserAccount,
|
|
100
|
+
_e as signEvmMessageWithEndUserAccount,
|
|
101
|
+
ze as signEvmTransactionWithEndUserAccount,
|
|
102
|
+
Ke as signEvmTypedDataWithEndUserAccount,
|
|
103
|
+
Qe as signSolanaHashWithEndUserAccount,
|
|
104
|
+
Xe as signSolanaMessageWithEndUserAccount,
|
|
105
|
+
Ye as signSolanaTransactionWithEndUserAccount,
|
|
106
|
+
Ze as submitMfaEnrollment,
|
|
107
|
+
$e as submitMfaVerification,
|
|
108
|
+
et as verifyEmailAuthentication,
|
|
109
|
+
tt as verifyOAuthCode,
|
|
110
|
+
nt as verifyOAuthEndUserIdentity,
|
|
111
|
+
rt as verifySiweAuthentication,
|
|
112
|
+
it as verifySmsAuthentication
|
|
109
113
|
};
|
package/dist/esm/index4.js
CHANGED
package/dist/esm/index5.js
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
const e = {
|
|
2
|
+
google: "google",
|
|
3
|
+
apple: "apple",
|
|
4
|
+
x: "x",
|
|
5
|
+
telegram: "telegram",
|
|
6
|
+
github: "github"
|
|
7
|
+
}, t = {
|
|
2
8
|
already_exists: "already_exists",
|
|
3
9
|
authorization_expired: "authorization_expired",
|
|
4
10
|
bad_gateway: "bad_gateway",
|
|
5
11
|
capture_expired: "capture_expired",
|
|
6
12
|
client_closed_request: "client_closed_request",
|
|
13
|
+
customer_not_authorized: "customer_not_authorized",
|
|
7
14
|
endpoint_unavailable: "endpoint_unavailable",
|
|
8
15
|
faucet_limit_exceeded: "faucet_limit_exceeded",
|
|
9
16
|
forbidden: "forbidden",
|
|
@@ -32,6 +39,12 @@ const e = {
|
|
|
32
39
|
guest_transaction_limit: "guest_transaction_limit",
|
|
33
40
|
guest_transaction_count: "guest_transaction_count",
|
|
34
41
|
phone_number_verification_expired: "phone_number_verification_expired",
|
|
42
|
+
otp_verification_code_invalid: "otp_verification_code_invalid",
|
|
43
|
+
otp_verification_destination_mismatch: "otp_verification_destination_mismatch",
|
|
44
|
+
otp_verification_expired: "otp_verification_expired",
|
|
45
|
+
otp_verification_invalid: "otp_verification_invalid",
|
|
46
|
+
otp_verification_not_found: "otp_verification_not_found",
|
|
47
|
+
otp_verification_required: "otp_verification_required",
|
|
35
48
|
document_verification_failed: "document_verification_failed",
|
|
36
49
|
recipient_allowlist_violation: "recipient_allowlist_violation",
|
|
37
50
|
recipient_allowlist_pending: "recipient_allowlist_pending",
|
|
@@ -72,71 +85,89 @@ const e = {
|
|
|
72
85
|
delegation_not_authorized: "delegation_not_authorized",
|
|
73
86
|
delegation_not_enabled: "delegation_not_enabled",
|
|
74
87
|
network_mismatch: "network_mismatch",
|
|
75
|
-
already_enabled: "already_enabled"
|
|
76
|
-
|
|
77
|
-
|
|
88
|
+
already_enabled: "already_enabled",
|
|
89
|
+
payment_session_already_canceled: "payment_session_already_canceled",
|
|
90
|
+
payment_session_already_authorized: "payment_session_already_authorized",
|
|
91
|
+
payment_session_action_pending: "payment_session_action_pending",
|
|
92
|
+
no_capturable_balance: "no_capturable_balance",
|
|
93
|
+
no_voidable_balance: "no_voidable_balance",
|
|
94
|
+
no_refundable_balance: "no_refundable_balance",
|
|
95
|
+
entity_not_configured_for_payment_acceptance: "entity_not_configured_for_payment_acceptance",
|
|
96
|
+
daily_transaction_limit_exceeded: "daily_transaction_limit_exceeded",
|
|
97
|
+
daily_amount_limit_exceeded: "daily_amount_limit_exceeded",
|
|
98
|
+
stale_attestation: "stale_attestation",
|
|
99
|
+
moderation_rejected: "moderation_rejected"
|
|
78
100
|
}, a = {
|
|
79
|
-
|
|
101
|
+
custodyCrypto: "custodyCrypto",
|
|
102
|
+
custodyFiat: "custodyFiat",
|
|
103
|
+
custodyStablecoin: "custodyStablecoin",
|
|
104
|
+
tradeCrypto: "tradeCrypto",
|
|
105
|
+
tradeStablecoin: "tradeStablecoin",
|
|
106
|
+
transferCrypto: "transferCrypto",
|
|
107
|
+
transferFiat: "transferFiat",
|
|
108
|
+
transferStablecoin: "transferStablecoin"
|
|
80
109
|
}, i = {
|
|
81
|
-
|
|
110
|
+
ios: "ios"
|
|
82
111
|
}, o = {
|
|
83
|
-
|
|
84
|
-
apple: "apple",
|
|
85
|
-
x: "x",
|
|
86
|
-
telegram: "telegram",
|
|
87
|
-
github: "github"
|
|
112
|
+
email: "email"
|
|
88
113
|
}, n = {
|
|
89
|
-
|
|
114
|
+
sms: "sms"
|
|
90
115
|
}, r = {
|
|
116
|
+
siwe: "siwe"
|
|
117
|
+
}, _ = {
|
|
91
118
|
"verify-otp": "verify-otp"
|
|
92
119
|
}, s = {
|
|
93
120
|
"verify-otp": "verify-otp"
|
|
94
|
-
},
|
|
121
|
+
}, d = {
|
|
95
122
|
email: "email"
|
|
96
123
|
}, l = {
|
|
97
124
|
sms: "sms"
|
|
98
|
-
}, d = {
|
|
99
|
-
jwt: "jwt"
|
|
100
125
|
}, c = {
|
|
126
|
+
jwt: "jwt"
|
|
127
|
+
}, p = {
|
|
101
128
|
siwe: "siwe"
|
|
102
129
|
}, u = {
|
|
103
130
|
segwit: "segwit"
|
|
104
|
-
},
|
|
131
|
+
}, m = {
|
|
105
132
|
bitcoin: "bitcoin",
|
|
106
133
|
"bitcoin-testnet": "bitcoin-testnet"
|
|
107
|
-
},
|
|
134
|
+
}, y = {
|
|
108
135
|
"base-sepolia": "base-sepolia",
|
|
109
136
|
base: "base",
|
|
110
137
|
arbitrum: "arbitrum",
|
|
111
138
|
optimism: "optimism",
|
|
139
|
+
zora: "zora",
|
|
112
140
|
polygon: "polygon",
|
|
141
|
+
bnb: "bnb",
|
|
142
|
+
avalanche: "avalanche",
|
|
113
143
|
ethereum: "ethereum",
|
|
114
144
|
"ethereum-sepolia": "ethereum-sepolia"
|
|
115
|
-
},
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
FAILED: "FAILED"
|
|
121
|
-
}, g = {
|
|
145
|
+
}, b = {
|
|
146
|
+
approved: "approved",
|
|
147
|
+
pending: "pending",
|
|
148
|
+
rejected: "rejected"
|
|
149
|
+
}, f = {
|
|
122
150
|
"base-sepolia": "base-sepolia",
|
|
123
151
|
base: "base",
|
|
124
152
|
arbitrum: "arbitrum",
|
|
125
153
|
optimism: "optimism",
|
|
126
|
-
zora: "zora",
|
|
127
154
|
polygon: "polygon",
|
|
128
|
-
bnb: "bnb",
|
|
129
|
-
avalanche: "avalanche",
|
|
130
155
|
ethereum: "ethereum",
|
|
131
156
|
"ethereum-sepolia": "ethereum-sepolia"
|
|
132
|
-
},
|
|
157
|
+
}, g = {
|
|
158
|
+
UNSPECIFIED: "UNSPECIFIED",
|
|
159
|
+
PENDING: "PENDING",
|
|
160
|
+
SUBMITTED: "SUBMITTED",
|
|
161
|
+
COMPLETED: "COMPLETED",
|
|
162
|
+
FAILED: "FAILED"
|
|
163
|
+
}, v = {
|
|
133
164
|
pending: "pending",
|
|
134
165
|
signed: "signed",
|
|
135
166
|
broadcast: "broadcast",
|
|
136
167
|
complete: "complete",
|
|
137
168
|
dropped: "dropped",
|
|
138
169
|
failed: "failed"
|
|
139
|
-
},
|
|
170
|
+
}, E = {
|
|
140
171
|
base: "base",
|
|
141
172
|
"base-sepolia": "base-sepolia",
|
|
142
173
|
ethereum: "ethereum",
|
|
@@ -145,13 +176,13 @@ const e = {
|
|
|
145
176
|
arbitrum: "arbitrum",
|
|
146
177
|
avalanche: "avalanche",
|
|
147
178
|
polygon: "polygon"
|
|
148
|
-
},
|
|
179
|
+
}, h = {
|
|
149
180
|
base: "base",
|
|
150
181
|
ethereum: "ethereum",
|
|
151
182
|
arbitrum: "arbitrum",
|
|
152
183
|
optimism: "optimism",
|
|
153
184
|
polygon: "polygon"
|
|
154
|
-
},
|
|
185
|
+
}, T = {
|
|
155
186
|
base: "base",
|
|
156
187
|
ethereum: "ethereum",
|
|
157
188
|
solana: "solana",
|
|
@@ -162,25 +193,25 @@ const e = {
|
|
|
162
193
|
polygon: "polygon",
|
|
163
194
|
world: "world",
|
|
164
195
|
"world-sepolia": "world-sepolia"
|
|
165
|
-
},
|
|
196
|
+
}, A = {
|
|
166
197
|
FEE_TYPE_NETWORK: "FEE_TYPE_NETWORK",
|
|
167
198
|
FEE_TYPE_EXCHANGE: "FEE_TYPE_EXCHANGE"
|
|
168
|
-
},
|
|
199
|
+
}, S = {
|
|
169
200
|
ONRAMP_ORDER_STATUS_PENDING_AUTH: "ONRAMP_ORDER_STATUS_PENDING_AUTH",
|
|
170
201
|
ONRAMP_ORDER_STATUS_PENDING_PAYMENT: "ONRAMP_ORDER_STATUS_PENDING_PAYMENT",
|
|
171
202
|
ONRAMP_ORDER_STATUS_PROCESSING: "ONRAMP_ORDER_STATUS_PROCESSING",
|
|
172
203
|
ONRAMP_ORDER_STATUS_COMPLETED: "ONRAMP_ORDER_STATUS_COMPLETED",
|
|
173
204
|
ONRAMP_ORDER_STATUS_FAILED: "ONRAMP_ORDER_STATUS_FAILED"
|
|
174
|
-
},
|
|
205
|
+
}, w = {
|
|
175
206
|
totp: "totp",
|
|
176
207
|
sms: "sms"
|
|
177
|
-
},
|
|
208
|
+
}, N = {
|
|
178
209
|
totp: "totp"
|
|
179
|
-
},
|
|
210
|
+
}, R = {
|
|
180
211
|
sms: "sms"
|
|
181
|
-
},
|
|
212
|
+
}, O = {
|
|
182
213
|
refresh_token: "refresh_token"
|
|
183
|
-
},
|
|
214
|
+
}, x = {
|
|
184
215
|
base: "base",
|
|
185
216
|
"base-sepolia": "base-sepolia",
|
|
186
217
|
ethereum: "ethereum",
|
|
@@ -192,7 +223,7 @@ const e = {
|
|
|
192
223
|
"arbitrum-sepolia": "arbitrum-sepolia",
|
|
193
224
|
world: "world",
|
|
194
225
|
"world-sepolia": "world-sepolia"
|
|
195
|
-
},
|
|
226
|
+
}, P = {
|
|
196
227
|
base: "base",
|
|
197
228
|
"base-sepolia": "base-sepolia",
|
|
198
229
|
ethereum: "ethereum",
|
|
@@ -204,61 +235,63 @@ const e = {
|
|
|
204
235
|
"arbitrum-sepolia": "arbitrum-sepolia",
|
|
205
236
|
world: "world",
|
|
206
237
|
"world-sepolia": "world-sepolia"
|
|
207
|
-
}, P = {
|
|
208
|
-
solana: "solana",
|
|
209
|
-
"solana-devnet": "solana-devnet"
|
|
210
238
|
}, U = {
|
|
211
239
|
solana: "solana",
|
|
212
240
|
"solana-devnet": "solana-devnet"
|
|
213
241
|
}, D = {
|
|
242
|
+
solana: "solana",
|
|
243
|
+
"solana-devnet": "solana-devnet"
|
|
244
|
+
}, q = {
|
|
214
245
|
segwit: "segwit"
|
|
215
|
-
},
|
|
246
|
+
}, I = {
|
|
216
247
|
bitcoin: "bitcoin",
|
|
217
248
|
"bitcoin-testnet": "bitcoin-testnet"
|
|
218
|
-
},
|
|
249
|
+
}, M = {
|
|
219
250
|
segwit: "segwit"
|
|
220
|
-
},
|
|
251
|
+
}, k = {
|
|
221
252
|
bitcoin: "bitcoin",
|
|
222
253
|
"bitcoin-testnet": "bitcoin-testnet"
|
|
223
|
-
},
|
|
254
|
+
}, B = {
|
|
224
255
|
NUMBER_0: 0,
|
|
225
256
|
NUMBER_1: 1
|
|
226
257
|
};
|
|
227
258
|
export {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
259
|
+
a as CapabilityName,
|
|
260
|
+
q as CreateEndUserBtcAccountBodyAddressType,
|
|
261
|
+
I as CreateEndUserBtcAccountBodyNetwork,
|
|
262
|
+
c as DeveloperJWTAuthenticationType,
|
|
263
|
+
d as EmailAuthenticationType,
|
|
232
264
|
u as EndUserBtcAccountAddressType,
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
265
|
+
m as EndUserBtcAccountNetwork,
|
|
266
|
+
A as EndUserOnrampFeeType,
|
|
267
|
+
S as EndUserOnrampOrderStatus,
|
|
268
|
+
t as ErrorType,
|
|
269
|
+
f as EvmEip7702DelegationNetwork,
|
|
270
|
+
g as EvmEip7702DelegationOperationStatus,
|
|
271
|
+
h as EvmSwapsNetwork,
|
|
272
|
+
y as EvmUserOperationNetwork,
|
|
273
|
+
v as EvmUserOperationStatus,
|
|
274
|
+
_ as InitiateEmailAuthenticationNextStepType,
|
|
275
|
+
o as InitiateEmailAuthenticationRequestType,
|
|
276
|
+
r as InitiateSiweAuthenticationRequestType,
|
|
245
277
|
s as InitiateSmsAuthenticationNextStepType,
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
O as
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
M as
|
|
260
|
-
|
|
261
|
-
|
|
278
|
+
n as InitiateSmsAuthenticationRequestType,
|
|
279
|
+
R as InitiateSmsMfaEnrollmentType,
|
|
280
|
+
N as InitiateTotpMfaEnrollmentType,
|
|
281
|
+
i as IosAttestationRegistrationResponsePlatform,
|
|
282
|
+
w as MfaMethod,
|
|
283
|
+
T as Network,
|
|
284
|
+
e as OAuth2ProviderType,
|
|
285
|
+
b as OtpEmailLogoModerationStatus,
|
|
286
|
+
O as RefreshAccessTokenBodyGrantType,
|
|
287
|
+
P as SendEvmAssetWithEndUserAccountBodyNetwork,
|
|
288
|
+
x as SendEvmTransactionWithEndUserAccountBodyNetwork,
|
|
289
|
+
D as SendSolanaAssetWithEndUserAccountBodyNetwork,
|
|
290
|
+
U as SendSolanaTransactionWithEndUserAccountBodyNetwork,
|
|
291
|
+
M as SignBtcHashWithEndUserAccountBodyAddressType,
|
|
292
|
+
B as SignBtcHashWithEndUserAccountBodyChange,
|
|
293
|
+
k as SignBtcHashWithEndUserAccountBodyNetwork,
|
|
294
|
+
p as SiweAuthenticationType,
|
|
262
295
|
l as SmsAuthenticationType,
|
|
263
|
-
|
|
296
|
+
E as SpendPermissionNetwork
|
|
264
297
|
};
|