@coinbase/cdp-api-client 0.0.43 → 0.0.45
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 +164 -142
- package/dist/esm/index2.js +75 -62
- package/dist/esm/index3.js +411 -247
- package/dist/esm/index4.js +67 -66
- package/dist/types/index.d.ts +758 -110
- package/package.json +1 -1
package/dist/esm/index3.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
const e = {
|
|
2
|
-
|
|
2
|
+
prime: "prime",
|
|
3
|
+
business: "business",
|
|
4
|
+
cdp: "cdp"
|
|
3
5
|
}, t = {
|
|
4
|
-
sms: "sms"
|
|
5
|
-
}, a = {
|
|
6
|
-
jwt: "jwt"
|
|
7
|
-
}, n = {
|
|
8
6
|
already_exists: "already_exists",
|
|
9
7
|
bad_gateway: "bad_gateway",
|
|
10
8
|
faucet_limit_exceeded: "faucet_limit_exceeded",
|
|
@@ -35,15 +33,165 @@ const e = {
|
|
|
35
33
|
recipient_allowlist_violation: "recipient_allowlist_violation",
|
|
36
34
|
recipient_allowlist_pending: "recipient_allowlist_pending",
|
|
37
35
|
travel_rules_recipient_violation: "travel_rules_recipient_violation"
|
|
36
|
+
}, a = {
|
|
37
|
+
entity: "entity",
|
|
38
|
+
customer: "customer"
|
|
39
|
+
}, n = {
|
|
40
|
+
business: "business",
|
|
41
|
+
prime: "prime"
|
|
38
42
|
}, i = {
|
|
39
|
-
|
|
43
|
+
fiat: "fiat",
|
|
44
|
+
crypto: "crypto"
|
|
40
45
|
}, o = {
|
|
41
|
-
|
|
46
|
+
individual: "individual",
|
|
47
|
+
business: "business"
|
|
42
48
|
}, r = {
|
|
43
|
-
|
|
49
|
+
employment_income: "employment_income",
|
|
50
|
+
other: "other"
|
|
51
|
+
}, s = {
|
|
52
|
+
finance: "finance",
|
|
53
|
+
technology: "technology",
|
|
54
|
+
other: "other"
|
|
44
55
|
}, _ = {
|
|
56
|
+
trading: "trading",
|
|
57
|
+
mining: "mining",
|
|
58
|
+
other: "other"
|
|
59
|
+
}, c = {
|
|
60
|
+
none: "none",
|
|
61
|
+
self_pep: "self_pep",
|
|
62
|
+
family_of_pep: "family_of_pep",
|
|
63
|
+
associate_of_pep: "associate_of_pep",
|
|
64
|
+
unknown: "unknown"
|
|
65
|
+
}, d = {
|
|
66
|
+
enabled: "enabled",
|
|
67
|
+
restricted: "restricted",
|
|
68
|
+
disabled: "disabled",
|
|
69
|
+
pending: "pending"
|
|
70
|
+
}, l = {
|
|
71
|
+
information_missing: "information_missing",
|
|
72
|
+
invalid_address: "invalid_address",
|
|
73
|
+
verification_document_dob_mismatch: "verification_document_dob_mismatch",
|
|
74
|
+
verification_document_expired: "verification_document_expired"
|
|
75
|
+
}, p = {
|
|
76
|
+
requires_execution: "requires_execution",
|
|
77
|
+
awaiting_funds: "awaiting_funds",
|
|
78
|
+
processing: "processing",
|
|
79
|
+
completed: "completed",
|
|
80
|
+
failed: "failed",
|
|
81
|
+
canceled: "canceled",
|
|
82
|
+
expired: "expired",
|
|
83
|
+
reversed: "reversed"
|
|
84
|
+
}, m = {
|
|
85
|
+
network_fee: "network_fee",
|
|
86
|
+
processing_fee: "processing_fee",
|
|
87
|
+
wire_fee: "wire_fee",
|
|
88
|
+
exchange_fee: "exchange_fee",
|
|
89
|
+
spread_fee: "spread_fee"
|
|
90
|
+
}, u = {
|
|
91
|
+
fedwire: "fedwire"
|
|
92
|
+
}, v = {
|
|
93
|
+
usd: "usd"
|
|
94
|
+
}, y = {
|
|
95
|
+
insufficient_funds: "insufficient_funds",
|
|
96
|
+
invalid_source: "invalid_source",
|
|
97
|
+
invalid_target: "invalid_target",
|
|
98
|
+
compliance_failure: "compliance_failure",
|
|
99
|
+
network_error: "network_error",
|
|
100
|
+
rate_limit_exceeded: "rate_limit_exceeded",
|
|
101
|
+
account_restricted: "account_restricted",
|
|
102
|
+
amount_too_large: "amount_too_large",
|
|
103
|
+
amount_too_small: "amount_too_small",
|
|
104
|
+
asset_not_supported: "asset_not_supported",
|
|
105
|
+
processing_error: "processing_error",
|
|
106
|
+
network_failure: "network_failure",
|
|
107
|
+
insufficient_gas: "insufficient_gas",
|
|
108
|
+
transaction_reverted: "transaction_reverted",
|
|
109
|
+
timeout: "timeout",
|
|
110
|
+
compliance_rejection: "compliance_rejection",
|
|
111
|
+
recipient_unavailable: "recipient_unavailable"
|
|
112
|
+
}, g = {
|
|
113
|
+
user_requested: "user_requested",
|
|
114
|
+
compliance_reversal: "compliance_reversal",
|
|
115
|
+
fraud_reversal: "fraud_reversal",
|
|
116
|
+
network_reversal: "network_reversal",
|
|
117
|
+
system_reversal: "system_reversal"
|
|
118
|
+
}, T = {
|
|
119
|
+
user_canceled: "user_canceled",
|
|
120
|
+
system_canceled: "system_canceled",
|
|
121
|
+
expired: "expired",
|
|
122
|
+
compliance_canceled: "compliance_canceled",
|
|
123
|
+
risk_canceled: "risk_canceled",
|
|
124
|
+
duplicate_canceled: "duplicate_canceled",
|
|
125
|
+
insufficient_funds_canceled: "insufficient_funds_canceled"
|
|
126
|
+
}, f = {
|
|
127
|
+
email: "email"
|
|
128
|
+
}, h = {
|
|
129
|
+
sms: "sms"
|
|
130
|
+
}, b = {
|
|
131
|
+
jwt: "jwt"
|
|
132
|
+
}, S = {
|
|
133
|
+
google: "google"
|
|
134
|
+
}, A = {
|
|
135
|
+
access_denied: "access_denied",
|
|
136
|
+
invalid_request: "invalid_request",
|
|
137
|
+
invalid_client: "invalid_client",
|
|
138
|
+
invalid_grant: "invalid_grant",
|
|
139
|
+
unauthorized_client: "unauthorized_client",
|
|
140
|
+
unsupported_grant_type: "unsupported_grant_type",
|
|
141
|
+
invalid_scope: "invalid_scope"
|
|
142
|
+
}, E = {
|
|
143
|
+
active_without_kyb: "active_without_kyb",
|
|
144
|
+
pending_kyb: "pending_kyb",
|
|
145
|
+
documents_required: "documents_required",
|
|
146
|
+
in_review: "in_review",
|
|
147
|
+
active: "active"
|
|
148
|
+
}, x = {
|
|
149
|
+
team_member: "team_member",
|
|
150
|
+
api_key: "api_key"
|
|
151
|
+
}, k = {
|
|
152
|
+
create_api_key: "create_api_key",
|
|
153
|
+
read_api_key: "read_api_key",
|
|
154
|
+
update_api_key: "update_api_key",
|
|
155
|
+
delete_api_key: "delete_api_key",
|
|
156
|
+
create_project: "create_project",
|
|
157
|
+
read_project: "read_project",
|
|
158
|
+
update_project: "update_project",
|
|
159
|
+
delete_project: "delete_project",
|
|
160
|
+
read_entity: "read_entity",
|
|
161
|
+
update_entity: "update_entity",
|
|
162
|
+
invite_team_member: "invite_team_member",
|
|
163
|
+
read_team_member: "read_team_member",
|
|
164
|
+
update_team_member: "update_team_member",
|
|
165
|
+
remove_team_member: "remove_team_member",
|
|
166
|
+
create_role: "create_role",
|
|
167
|
+
read_role: "read_role",
|
|
168
|
+
update_role: "update_role",
|
|
169
|
+
delete_role: "delete_role",
|
|
170
|
+
create_permission: "create_permission",
|
|
171
|
+
read_permission: "read_permission",
|
|
172
|
+
update_permission: "update_permission",
|
|
173
|
+
delete_permission: "delete_permission",
|
|
174
|
+
manage_billing: "manage_billing",
|
|
175
|
+
view_audit_logs: "view_audit_logs",
|
|
176
|
+
manage_all: "manage_all"
|
|
177
|
+
}, P = {
|
|
178
|
+
business: "business",
|
|
179
|
+
prime: "prime"
|
|
180
|
+
}, w = {
|
|
181
|
+
pending: "pending",
|
|
182
|
+
accepted: "accepted",
|
|
183
|
+
rejected: "rejected",
|
|
184
|
+
canceled: "canceled",
|
|
185
|
+
expired: "expired"
|
|
186
|
+
}, O = {
|
|
187
|
+
email: "email"
|
|
188
|
+
}, R = {
|
|
189
|
+
sms: "sms"
|
|
190
|
+
}, C = {
|
|
45
191
|
"verify-otp": "verify-otp"
|
|
46
|
-
},
|
|
192
|
+
}, I = {
|
|
193
|
+
"verify-otp": "verify-otp"
|
|
194
|
+
}, D = {
|
|
47
195
|
"base-sepolia": "base-sepolia",
|
|
48
196
|
base: "base",
|
|
49
197
|
arbitrum: "arbitrum",
|
|
@@ -54,14 +202,14 @@ const e = {
|
|
|
54
202
|
avalanche: "avalanche",
|
|
55
203
|
ethereum: "ethereum",
|
|
56
204
|
"ethereum-sepolia": "ethereum-sepolia"
|
|
57
|
-
},
|
|
205
|
+
}, N = {
|
|
58
206
|
pending: "pending",
|
|
59
207
|
signed: "signed",
|
|
60
208
|
broadcast: "broadcast",
|
|
61
209
|
complete: "complete",
|
|
62
210
|
dropped: "dropped",
|
|
63
211
|
failed: "failed"
|
|
64
|
-
},
|
|
212
|
+
}, U = {
|
|
65
213
|
base: "base",
|
|
66
214
|
"base-sepolia": "base-sepolia",
|
|
67
215
|
ethereum: "ethereum",
|
|
@@ -70,72 +218,75 @@ const e = {
|
|
|
70
218
|
arbitrum: "arbitrum",
|
|
71
219
|
avalanche: "avalanche",
|
|
72
220
|
polygon: "polygon"
|
|
73
|
-
},
|
|
221
|
+
}, M = {
|
|
74
222
|
base: "base",
|
|
75
223
|
ethereum: "ethereum",
|
|
76
224
|
arbitrum: "arbitrum",
|
|
77
225
|
optimism: "optimism"
|
|
78
|
-
},
|
|
226
|
+
}, j = {
|
|
79
227
|
base: "base",
|
|
80
228
|
"base-sepolia": "base-sepolia",
|
|
81
229
|
ethereum: "ethereum"
|
|
82
|
-
},
|
|
230
|
+
}, z = {
|
|
231
|
+
entity: "entity",
|
|
232
|
+
project: "project"
|
|
233
|
+
}, L = {
|
|
83
234
|
ethValue: "ethValue"
|
|
84
|
-
},
|
|
235
|
+
}, q = {
|
|
85
236
|
">": ">",
|
|
86
237
|
">=": ">=",
|
|
87
238
|
"<": "<",
|
|
88
239
|
"<=": "<=",
|
|
89
240
|
"==": "=="
|
|
90
|
-
},
|
|
241
|
+
}, F = {
|
|
91
242
|
evmAddress: "evmAddress"
|
|
92
|
-
},
|
|
243
|
+
}, Y = {
|
|
93
244
|
in: "in",
|
|
94
245
|
not_in: "not in"
|
|
95
|
-
},
|
|
246
|
+
}, V = {
|
|
96
247
|
erc20: "erc20",
|
|
97
248
|
erc721: "erc721",
|
|
98
249
|
erc1155: "erc1155"
|
|
99
|
-
},
|
|
250
|
+
}, H = {
|
|
100
251
|
pure: "pure",
|
|
101
252
|
view: "view",
|
|
102
253
|
nonpayable: "nonpayable",
|
|
103
254
|
payable: "payable"
|
|
104
|
-
},
|
|
255
|
+
}, X = {
|
|
105
256
|
function: "function"
|
|
106
|
-
},
|
|
257
|
+
}, G = {
|
|
107
258
|
constructor: "constructor",
|
|
108
259
|
error: "error",
|
|
109
260
|
event: "event",
|
|
110
261
|
fallback: "fallback",
|
|
111
262
|
receive: "receive"
|
|
112
|
-
},
|
|
263
|
+
}, B = {
|
|
113
264
|
">": ">",
|
|
114
265
|
">=": ">=",
|
|
115
266
|
"<": "<",
|
|
116
267
|
"<=": "<=",
|
|
117
268
|
"==": "=="
|
|
118
|
-
},
|
|
269
|
+
}, K = {
|
|
119
270
|
in: "in",
|
|
120
271
|
not_in: "not in"
|
|
121
|
-
},
|
|
272
|
+
}, W = {
|
|
122
273
|
evmData: "evmData"
|
|
123
|
-
},
|
|
274
|
+
}, Q = {
|
|
124
275
|
netUSDChange: "netUSDChange"
|
|
125
|
-
},
|
|
276
|
+
}, J = {
|
|
126
277
|
">": ">",
|
|
127
278
|
">=": ">=",
|
|
128
279
|
"<": "<",
|
|
129
280
|
"<=": "<=",
|
|
130
281
|
"==": "=="
|
|
131
|
-
},
|
|
282
|
+
}, Z = {
|
|
132
283
|
reject: "reject",
|
|
133
284
|
accept: "accept"
|
|
134
|
-
},
|
|
285
|
+
}, $ = {
|
|
135
286
|
signEvmTransaction: "signEvmTransaction"
|
|
136
|
-
},
|
|
287
|
+
}, ee = {
|
|
137
288
|
evmNetwork: "evmNetwork"
|
|
138
|
-
},
|
|
289
|
+
}, te = {
|
|
139
290
|
"base-sepolia": "base-sepolia",
|
|
140
291
|
base: "base",
|
|
141
292
|
ethereum: "ethereum",
|
|
@@ -146,140 +297,140 @@ const e = {
|
|
|
146
297
|
arbitrum: "arbitrum",
|
|
147
298
|
zora: "zora",
|
|
148
299
|
bnb: "bnb"
|
|
149
|
-
},
|
|
300
|
+
}, ae = {
|
|
150
301
|
in: "in",
|
|
151
302
|
not_in: "not in"
|
|
152
|
-
},
|
|
303
|
+
}, ne = {
|
|
153
304
|
reject: "reject",
|
|
154
305
|
accept: "accept"
|
|
155
|
-
},
|
|
306
|
+
}, ie = {
|
|
156
307
|
sendEvmTransaction: "sendEvmTransaction"
|
|
157
|
-
},
|
|
308
|
+
}, oe = {
|
|
158
309
|
evmMessage: "evmMessage"
|
|
159
|
-
},
|
|
310
|
+
}, re = {
|
|
160
311
|
reject: "reject",
|
|
161
312
|
accept: "accept"
|
|
162
|
-
},
|
|
313
|
+
}, se = {
|
|
163
314
|
signEvmMessage: "signEvmMessage"
|
|
164
|
-
},
|
|
315
|
+
}, _e = {
|
|
165
316
|
in: "in",
|
|
166
317
|
not_in: "not in"
|
|
167
|
-
},
|
|
318
|
+
}, ce = {
|
|
168
319
|
">": ">",
|
|
169
320
|
">=": ">=",
|
|
170
321
|
"<": "<",
|
|
171
322
|
"<=": "<=",
|
|
172
323
|
"==": "=="
|
|
173
|
-
},
|
|
324
|
+
}, de = {
|
|
174
325
|
evmTypedDataField: "evmTypedDataField"
|
|
175
|
-
},
|
|
326
|
+
}, le = {
|
|
176
327
|
evmTypedDataVerifyingContract: "evmTypedDataVerifyingContract"
|
|
177
|
-
},
|
|
328
|
+
}, pe = {
|
|
178
329
|
in: "in",
|
|
179
330
|
not_in: "not in"
|
|
180
|
-
},
|
|
331
|
+
}, me = {
|
|
181
332
|
reject: "reject",
|
|
182
333
|
accept: "accept"
|
|
183
|
-
},
|
|
334
|
+
}, ue = {
|
|
184
335
|
signEvmTypedData: "signEvmTypedData"
|
|
185
|
-
},
|
|
336
|
+
}, ve = {
|
|
186
337
|
solAddress: "solAddress"
|
|
187
|
-
},
|
|
338
|
+
}, ye = {
|
|
188
339
|
in: "in",
|
|
189
340
|
not_in: "not in"
|
|
190
|
-
},
|
|
341
|
+
}, ge = {
|
|
191
342
|
solValue: "solValue"
|
|
192
|
-
},
|
|
343
|
+
}, Te = {
|
|
193
344
|
">": ">",
|
|
194
345
|
">=": ">=",
|
|
195
346
|
"<": "<",
|
|
196
347
|
"<=": "<=",
|
|
197
348
|
"==": "=="
|
|
198
|
-
},
|
|
349
|
+
}, fe = {
|
|
199
350
|
splAddress: "splAddress"
|
|
200
|
-
},
|
|
351
|
+
}, he = {
|
|
201
352
|
in: "in",
|
|
202
353
|
not_in: "not in"
|
|
203
|
-
},
|
|
354
|
+
}, be = {
|
|
204
355
|
splValue: "splValue"
|
|
205
|
-
},
|
|
356
|
+
}, Se = {
|
|
206
357
|
">": ">",
|
|
207
358
|
">=": ">=",
|
|
208
359
|
"<": "<",
|
|
209
360
|
"<=": "<=",
|
|
210
361
|
"==": "=="
|
|
211
|
-
},
|
|
362
|
+
}, Ae = {
|
|
212
363
|
mintAddress: "mintAddress"
|
|
213
|
-
},
|
|
364
|
+
}, Ee = {
|
|
214
365
|
in: "in",
|
|
215
366
|
not_in: "not in"
|
|
216
|
-
},
|
|
367
|
+
}, xe = {
|
|
217
368
|
SystemProgram: "SystemProgram",
|
|
218
369
|
TokenProgram: "TokenProgram",
|
|
219
370
|
AssociatedTokenProgram: "AssociatedTokenProgram"
|
|
220
|
-
},
|
|
371
|
+
}, ke = {
|
|
221
372
|
">": ">",
|
|
222
373
|
">=": ">=",
|
|
223
374
|
"<": "<",
|
|
224
375
|
"<=": "<=",
|
|
225
376
|
"==": "=="
|
|
226
|
-
},
|
|
377
|
+
}, Pe = {
|
|
227
378
|
in: "in",
|
|
228
379
|
not_in: "not in"
|
|
229
|
-
},
|
|
380
|
+
}, we = {
|
|
230
381
|
solData: "solData"
|
|
231
|
-
},
|
|
382
|
+
}, Oe = {
|
|
232
383
|
programId: "programId"
|
|
233
|
-
},
|
|
384
|
+
}, Re = {
|
|
234
385
|
in: "in",
|
|
235
386
|
not_in: "not in"
|
|
236
|
-
},
|
|
387
|
+
}, Ce = {
|
|
237
388
|
reject: "reject",
|
|
238
389
|
accept: "accept"
|
|
239
|
-
},
|
|
390
|
+
}, Ie = {
|
|
240
391
|
signSolTransaction: "signSolTransaction"
|
|
241
|
-
},
|
|
392
|
+
}, De = {
|
|
242
393
|
solNetwork: "solNetwork"
|
|
243
|
-
},
|
|
394
|
+
}, Ne = {
|
|
244
395
|
"solana-devnet": "solana-devnet",
|
|
245
396
|
solana: "solana"
|
|
246
|
-
},
|
|
397
|
+
}, Ue = {
|
|
247
398
|
in: "in",
|
|
248
399
|
not_in: "not in"
|
|
249
|
-
},
|
|
400
|
+
}, Me = {
|
|
250
401
|
reject: "reject",
|
|
251
402
|
accept: "accept"
|
|
252
|
-
},
|
|
403
|
+
}, je = {
|
|
253
404
|
sendSolTransaction: "sendSolTransaction"
|
|
254
|
-
},
|
|
405
|
+
}, ze = {
|
|
255
406
|
solMessage: "solMessage"
|
|
256
|
-
},
|
|
407
|
+
}, Le = {
|
|
257
408
|
reject: "reject",
|
|
258
409
|
accept: "accept"
|
|
259
|
-
},
|
|
410
|
+
}, qe = {
|
|
260
411
|
signSolMessage: "signSolMessage"
|
|
261
|
-
},
|
|
412
|
+
}, Fe = {
|
|
262
413
|
reject: "reject",
|
|
263
414
|
accept: "accept"
|
|
264
|
-
},
|
|
415
|
+
}, Ye = {
|
|
265
416
|
signEvmHash: "signEvmHash"
|
|
266
|
-
},
|
|
417
|
+
}, Ve = {
|
|
267
418
|
reject: "reject",
|
|
268
419
|
accept: "accept"
|
|
269
|
-
},
|
|
420
|
+
}, He = {
|
|
270
421
|
prepareUserOperation: "prepareUserOperation"
|
|
271
|
-
},
|
|
422
|
+
}, Xe = {
|
|
272
423
|
reject: "reject",
|
|
273
424
|
accept: "accept"
|
|
274
|
-
},
|
|
425
|
+
}, Ge = {
|
|
275
426
|
sendUserOperation: "sendUserOperation"
|
|
276
|
-
},
|
|
427
|
+
}, Be = {
|
|
277
428
|
project: "project",
|
|
278
429
|
account: "account"
|
|
279
|
-
},
|
|
430
|
+
}, Ke = {
|
|
280
431
|
solana: "solana",
|
|
281
432
|
"solana-devnet": "solana-devnet"
|
|
282
|
-
},
|
|
433
|
+
}, We = {
|
|
283
434
|
String: "String",
|
|
284
435
|
UInt8: "UInt8",
|
|
285
436
|
UInt16: "UInt16",
|
|
@@ -300,23 +451,23 @@ const e = {
|
|
|
300
451
|
DateTime: "DateTime",
|
|
301
452
|
DateTime64: "DateTime64",
|
|
302
453
|
UUID: "UUID"
|
|
303
|
-
},
|
|
454
|
+
}, Qe = {
|
|
304
455
|
NUMBER_1: 1
|
|
305
|
-
},
|
|
456
|
+
}, Je = {
|
|
306
457
|
exact: "exact"
|
|
307
|
-
},
|
|
458
|
+
}, Ze = {
|
|
308
459
|
"base-sepolia": "base-sepolia",
|
|
309
460
|
base: "base",
|
|
310
461
|
"solana-devnet": "solana-devnet",
|
|
311
462
|
solana: "solana"
|
|
312
|
-
},
|
|
463
|
+
}, $e = {
|
|
313
464
|
exact: "exact"
|
|
314
|
-
},
|
|
465
|
+
}, et = {
|
|
315
466
|
"base-sepolia": "base-sepolia",
|
|
316
467
|
base: "base",
|
|
317
468
|
"solana-devnet": "solana-devnet",
|
|
318
469
|
solana: "solana"
|
|
319
|
-
},
|
|
470
|
+
}, tt = {
|
|
320
471
|
insufficient_funds: "insufficient_funds",
|
|
321
472
|
invalid_scheme: "invalid_scheme",
|
|
322
473
|
invalid_network: "invalid_network",
|
|
@@ -349,7 +500,7 @@ const e = {
|
|
|
349
500
|
invalid_exact_svm_payload_transaction_sender_ata_not_found: "invalid_exact_svm_payload_transaction_sender_ata_not_found",
|
|
350
501
|
invalid_exact_svm_payload_transaction_simulation_failed: "invalid_exact_svm_payload_transaction_simulation_failed",
|
|
351
502
|
invalid_exact_svm_payload_transaction_transfer_to_incorrect_ata: "invalid_exact_svm_payload_transaction_transfer_to_incorrect_ata"
|
|
352
|
-
},
|
|
503
|
+
}, at = {
|
|
353
504
|
insufficient_funds: "insufficient_funds",
|
|
354
505
|
invalid_scheme: "invalid_scheme",
|
|
355
506
|
invalid_network: "invalid_network",
|
|
@@ -365,62 +516,55 @@ const e = {
|
|
|
365
516
|
invalid_exact_evm_payload_signature_address: "invalid_exact_evm_payload_signature_address",
|
|
366
517
|
settle_exact_svm_block_height_exceeded: "settle_exact_svm_block_height_exceeded",
|
|
367
518
|
settle_exact_svm_transaction_confirmation_timed_out: "settle_exact_svm_transaction_confirmation_timed_out"
|
|
368
|
-
},
|
|
519
|
+
}, nt = {
|
|
369
520
|
exact: "exact"
|
|
370
|
-
},
|
|
521
|
+
}, it = {
|
|
371
522
|
"base-sepolia": "base-sepolia",
|
|
372
523
|
base: "base",
|
|
373
524
|
"solana-devnet": "solana-devnet",
|
|
374
525
|
solana: "solana"
|
|
375
|
-
},
|
|
526
|
+
}, ot = {
|
|
376
527
|
http: "http"
|
|
377
|
-
},
|
|
528
|
+
}, rt = {
|
|
378
529
|
source: "source",
|
|
379
530
|
target: "target"
|
|
380
|
-
},
|
|
531
|
+
}, st = {
|
|
381
532
|
card: "card",
|
|
382
533
|
fiat_account: "fiat_account"
|
|
383
|
-
},
|
|
534
|
+
}, _t = {
|
|
384
535
|
exchange_fee: "exchange_fee",
|
|
385
536
|
network_fee: "network_fee"
|
|
386
|
-
},
|
|
537
|
+
}, ct = {
|
|
387
538
|
payment_method: "payment_method"
|
|
388
|
-
},
|
|
539
|
+
}, dt = {
|
|
389
540
|
crypto_rail: "crypto_rail"
|
|
390
|
-
},
|
|
541
|
+
}, lt = {
|
|
391
542
|
created: "created",
|
|
392
543
|
pending: "pending",
|
|
393
544
|
started: "started",
|
|
394
545
|
completed: "completed",
|
|
395
546
|
failed: "failed"
|
|
396
|
-
},
|
|
547
|
+
}, pt = {
|
|
397
548
|
GUEST_CHECKOUT_APPLE_PAY: "GUEST_CHECKOUT_APPLE_PAY"
|
|
398
|
-
},
|
|
549
|
+
}, mt = {
|
|
399
550
|
FEE_TYPE_NETWORK: "FEE_TYPE_NETWORK",
|
|
400
551
|
FEE_TYPE_EXCHANGE: "FEE_TYPE_EXCHANGE"
|
|
401
|
-
},
|
|
552
|
+
}, ut = {
|
|
402
553
|
ONRAMP_ORDER_STATUS_PENDING_AUTH: "ONRAMP_ORDER_STATUS_PENDING_AUTH",
|
|
403
554
|
ONRAMP_ORDER_STATUS_PENDING_PAYMENT: "ONRAMP_ORDER_STATUS_PENDING_PAYMENT",
|
|
404
555
|
ONRAMP_ORDER_STATUS_PROCESSING: "ONRAMP_ORDER_STATUS_PROCESSING",
|
|
405
556
|
ONRAMP_ORDER_STATUS_COMPLETED: "ONRAMP_ORDER_STATUS_COMPLETED",
|
|
406
557
|
ONRAMP_ORDER_STATUS_FAILED: "ONRAMP_ORDER_STATUS_FAILED"
|
|
407
|
-
},
|
|
558
|
+
}, vt = {
|
|
408
559
|
PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON: "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON"
|
|
409
|
-
},
|
|
560
|
+
}, yt = {
|
|
410
561
|
CARD: "CARD",
|
|
411
562
|
ACH: "ACH",
|
|
412
563
|
APPLE_PAY: "APPLE_PAY",
|
|
413
564
|
PAYPAL: "PAYPAL",
|
|
414
565
|
FIAT_WALLET: "FIAT_WALLET",
|
|
415
566
|
CRYPTO_WALLET: "CRYPTO_WALLET"
|
|
416
|
-
},
|
|
417
|
-
account: "account",
|
|
418
|
-
payment_method: "payment_method"
|
|
419
|
-
}, Ge = {
|
|
420
|
-
account: "account"
|
|
421
|
-
}, Be = {
|
|
422
|
-
payment_method: "payment_method"
|
|
423
|
-
}, Ke = {
|
|
567
|
+
}, gt = {
|
|
424
568
|
base: "base",
|
|
425
569
|
ethereum: "ethereum",
|
|
426
570
|
algorand: "algorand",
|
|
@@ -434,55 +578,53 @@ const e = {
|
|
|
434
578
|
stellar: "stellar",
|
|
435
579
|
sui: "sui",
|
|
436
580
|
unichain: "unichain"
|
|
437
|
-
},
|
|
581
|
+
}, Tt = {
|
|
438
582
|
target: "target",
|
|
439
583
|
source: "source"
|
|
440
|
-
},
|
|
584
|
+
}, ft = {
|
|
441
585
|
pending: "pending",
|
|
442
586
|
awaiting_funds: "awaiting_funds",
|
|
443
587
|
in_progress: "in_progress",
|
|
444
588
|
completed: "completed",
|
|
445
|
-
failed: "failed"
|
|
446
|
-
|
|
589
|
+
failed: "failed",
|
|
590
|
+
unknown: "unknown"
|
|
591
|
+
}, ht = {
|
|
447
592
|
conversion: "conversion",
|
|
448
593
|
settlement: "settlement",
|
|
449
594
|
deposit: "deposit",
|
|
450
595
|
wire_fee: "wire_fee"
|
|
451
|
-
},
|
|
596
|
+
}, bt = {
|
|
452
597
|
fedwire: "fedwire"
|
|
453
|
-
},
|
|
598
|
+
}, St = {
|
|
454
599
|
USD: "USD"
|
|
455
|
-
},
|
|
600
|
+
}, At = {
|
|
456
601
|
ach: "ach",
|
|
457
602
|
fedwire: "fedwire"
|
|
458
|
-
},
|
|
603
|
+
}, Et = {
|
|
459
604
|
unknown: "unknown",
|
|
460
605
|
daily: "daily",
|
|
461
606
|
weekly: "weekly",
|
|
462
607
|
monthly: "monthly",
|
|
463
608
|
biweekly: "biweekly"
|
|
464
|
-
},
|
|
609
|
+
}, xt = {
|
|
465
610
|
checking: "checking",
|
|
466
611
|
savings: "savings"
|
|
467
|
-
},
|
|
612
|
+
}, kt = {
|
|
468
613
|
ach: "ach"
|
|
469
|
-
},
|
|
614
|
+
}, Pt = {
|
|
470
615
|
fedwire: "fedwire"
|
|
471
|
-
},
|
|
616
|
+
}, wt = {
|
|
472
617
|
crypto: "crypto",
|
|
473
618
|
fiat: "fiat"
|
|
474
|
-
},
|
|
619
|
+
}, Ot = {
|
|
475
620
|
base: "base",
|
|
476
621
|
ethereum: "ethereum"
|
|
477
|
-
},
|
|
622
|
+
}, Rt = {
|
|
478
623
|
risk_indicated: "risk_indicated",
|
|
479
624
|
no_risk_indicated: "no_risk_indicated"
|
|
480
|
-
},
|
|
481
|
-
"createdAt=asc": "createdAt=asc",
|
|
482
|
-
"createdAt=desc": "createdAt=desc"
|
|
483
|
-
}, ct = {
|
|
625
|
+
}, Ct = {
|
|
484
626
|
refresh_token: "refresh_token"
|
|
485
|
-
},
|
|
627
|
+
}, It = {
|
|
486
628
|
base: "base",
|
|
487
629
|
"base-sepolia": "base-sepolia",
|
|
488
630
|
ethereum: "ethereum",
|
|
@@ -491,129 +633,151 @@ const e = {
|
|
|
491
633
|
polygon: "polygon",
|
|
492
634
|
optimism: "optimism",
|
|
493
635
|
arbitrum: "arbitrum"
|
|
494
|
-
},
|
|
636
|
+
}, Dt = {
|
|
495
637
|
solana: "solana",
|
|
496
638
|
"solana-devnet": "solana-devnet"
|
|
497
639
|
};
|
|
498
640
|
export {
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
se as
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
641
|
+
X as AbiFunctionType,
|
|
642
|
+
G as AbiInputType,
|
|
643
|
+
H as AbiStateMutability,
|
|
644
|
+
e as AccountType,
|
|
645
|
+
xt as AchDetailsAccountType,
|
|
646
|
+
Ot as AddressRiskNetwork,
|
|
647
|
+
Rt as AddressRiskRiskLevel,
|
|
648
|
+
i as AssetType,
|
|
649
|
+
d as CapabilityStatus,
|
|
650
|
+
At as CoolPaymentMethodType,
|
|
651
|
+
a as CreateAccountRequestType,
|
|
652
|
+
kt as CreatePaymentMethodRequestAchType,
|
|
653
|
+
Pt as CreatePaymentMethodRequestFedwireType,
|
|
654
|
+
Tt as CreateTransferQuoteAmountType,
|
|
655
|
+
o as CustomerType,
|
|
656
|
+
b as DeveloperJWTAuthenticationType,
|
|
657
|
+
f as EmailAuthenticationType,
|
|
658
|
+
E as EntityStatus,
|
|
659
|
+
t as ErrorType,
|
|
660
|
+
q as EthValueCriterionOperator,
|
|
661
|
+
L as EthValueCriterionType,
|
|
662
|
+
Y as EvmAddressCriterionOperator,
|
|
663
|
+
F as EvmAddressCriterionType,
|
|
664
|
+
W as EvmDataCriterionType,
|
|
665
|
+
K as EvmDataParameterConditionListOperator,
|
|
666
|
+
B as EvmDataParameterConditionOperator,
|
|
667
|
+
oe as EvmMessageCriterionType,
|
|
668
|
+
te as EvmNetworkCriterionNetworksItem,
|
|
669
|
+
ae as EvmNetworkCriterionOperator,
|
|
670
|
+
ee as EvmNetworkCriterionType,
|
|
671
|
+
M as EvmSwapsNetwork,
|
|
672
|
+
_e as EvmTypedAddressConditionOperator,
|
|
673
|
+
ce as EvmTypedNumericalConditionOperator,
|
|
674
|
+
D as EvmUserOperationNetwork,
|
|
675
|
+
N as EvmUserOperationStatus,
|
|
676
|
+
ht as FeeDetailsType,
|
|
677
|
+
_t as FeeType,
|
|
678
|
+
c as IndividualConnectionToPolitician,
|
|
679
|
+
_ as IndividualCryptoActivity,
|
|
680
|
+
s as IndividualIndustry,
|
|
681
|
+
r as IndividualSourceOfFunds,
|
|
682
|
+
C as InitiateEmailAuthenticationNextStepType,
|
|
683
|
+
O as InitiateEmailAuthenticationRequestType,
|
|
684
|
+
I as InitiateSmsAuthenticationNextStepType,
|
|
685
|
+
R as InitiateSmsAuthenticationRequestType,
|
|
686
|
+
w as InvitationStatus,
|
|
687
|
+
V as KnownAbiType,
|
|
688
|
+
xe as KnownIdlType,
|
|
689
|
+
Et as LimitPeriod,
|
|
690
|
+
n as LinkAccountType,
|
|
691
|
+
P as LinkableEntityType,
|
|
692
|
+
j as ListEvmTokenBalancesNetwork,
|
|
693
|
+
Ke as ListSolanaTokenBalancesNetwork,
|
|
694
|
+
Ee as MintAddressCriterionOperator,
|
|
695
|
+
Ae as MintAddressCriterionType,
|
|
696
|
+
J as NetUSDChangeCriterionOperator,
|
|
697
|
+
Q as NetUSDChangeCriterionType,
|
|
698
|
+
gt as Network,
|
|
699
|
+
A as OAuth2ErrorCode,
|
|
700
|
+
S as OAuth2ProviderType,
|
|
701
|
+
We as OnchainDataResultSchemaColumnsItemType,
|
|
702
|
+
mt as OnrampOrderFeeType,
|
|
703
|
+
pt as OnrampOrderPaymentMethodTypeId,
|
|
704
|
+
ut as OnrampOrderStatus,
|
|
705
|
+
vt as OnrampPaymentLinkType,
|
|
706
|
+
yt as OnrampQuotePaymentMethodTypeId,
|
|
707
|
+
wt as PaymentAccountType,
|
|
708
|
+
rt as PaymentRailAction,
|
|
709
|
+
ft as PaymentStatus,
|
|
710
|
+
st as PaymentsPaymentMethodType,
|
|
711
|
+
ct as PaymentsTransferSourceType,
|
|
712
|
+
lt as PaymentsTransferStatus,
|
|
713
|
+
dt as PaymentsTransferTargetType,
|
|
714
|
+
z as PermissionCatalogObjectsItemType,
|
|
715
|
+
x as PermissionSubjectType,
|
|
716
|
+
k as PermissionVerb,
|
|
717
|
+
Be as PolicyScope,
|
|
718
|
+
Ve as PrepareUserOperationRuleAction,
|
|
719
|
+
He as PrepareUserOperationRuleOperation,
|
|
720
|
+
Re as ProgramIdCriterionOperator,
|
|
721
|
+
Oe as ProgramIdCriterionType,
|
|
722
|
+
Ct as RefreshAccessTokenBodyGrantType,
|
|
723
|
+
l as RequirementErrorCode,
|
|
724
|
+
ne as SendEvmTransactionRuleAction,
|
|
725
|
+
ie as SendEvmTransactionRuleOperation,
|
|
726
|
+
It as SendEvmTransactionWithEndUserAccountBodyNetwork,
|
|
727
|
+
Me as SendSolTransactionRuleAction,
|
|
728
|
+
je as SendSolTransactionRuleOperation,
|
|
729
|
+
Dt as SendSolanaTransactionWithEndUserAccountBodyNetwork,
|
|
730
|
+
Xe as SendUserOperationRuleAction,
|
|
731
|
+
Ge as SendUserOperationRuleOperation,
|
|
732
|
+
Fe as SignEvmHashRuleAction,
|
|
733
|
+
Ye as SignEvmHashRuleOperation,
|
|
734
|
+
re as SignEvmMessageRuleAction,
|
|
735
|
+
se as SignEvmMessageRuleOperation,
|
|
736
|
+
Z as SignEvmTransactionRuleAction,
|
|
737
|
+
$ as SignEvmTransactionRuleOperation,
|
|
738
|
+
de as SignEvmTypedDataFieldCriterionType,
|
|
739
|
+
me as SignEvmTypedDataRuleAction,
|
|
740
|
+
ue as SignEvmTypedDataRuleOperation,
|
|
741
|
+
pe as SignEvmTypedDataVerifyingContractCriterionOperator,
|
|
742
|
+
le as SignEvmTypedDataVerifyingContractCriterionType,
|
|
743
|
+
Le as SignSolMessageRuleAction,
|
|
744
|
+
qe as SignSolMessageRuleOperation,
|
|
745
|
+
Ce as SignSolTransactionRuleAction,
|
|
746
|
+
Ie as SignSolTransactionRuleOperation,
|
|
747
|
+
h as SmsAuthenticationType,
|
|
748
|
+
ye as SolAddressCriterionOperator,
|
|
749
|
+
ve as SolAddressCriterionType,
|
|
750
|
+
we as SolDataCriterionType,
|
|
751
|
+
Pe as SolDataParameterConditionListOperator,
|
|
752
|
+
ke as SolDataParameterConditionOperator,
|
|
753
|
+
ze as SolMessageCriterionType,
|
|
754
|
+
Ne as SolNetworkCriterionNetworksItem,
|
|
755
|
+
Ue as SolNetworkCriterionOperator,
|
|
756
|
+
De as SolNetworkCriterionType,
|
|
757
|
+
Te as SolValueCriterionOperator,
|
|
758
|
+
ge as SolValueCriterionType,
|
|
759
|
+
St as SourceDepositInstructionsCurrency,
|
|
760
|
+
bt as SourceDepositInstructionsPaymentMethodType,
|
|
761
|
+
U as SpendPermissionNetwork,
|
|
762
|
+
he as SplAddressCriterionOperator,
|
|
763
|
+
fe as SplAddressCriterionType,
|
|
764
|
+
Se as SplValueCriterionOperator,
|
|
765
|
+
be as SplValueCriterionType,
|
|
766
|
+
T as TransferCancellationReason,
|
|
767
|
+
y as TransferFailureReason,
|
|
768
|
+
m as TransferFeeName,
|
|
769
|
+
g as TransferReversalReason,
|
|
770
|
+
v as TransferSourceDepositsInstructionsAssetId,
|
|
771
|
+
u as TransferSourceDepositsInstructionsPaymentMethodType,
|
|
772
|
+
p as TransferStatus,
|
|
773
|
+
ot as X402DiscoveryResourceType,
|
|
774
|
+
Ze as X402PaymentPayloadNetwork,
|
|
775
|
+
Je as X402PaymentPayloadScheme,
|
|
776
|
+
et as X402PaymentRequirementsNetwork,
|
|
777
|
+
$e as X402PaymentRequirementsScheme,
|
|
778
|
+
at as X402SettleErrorReason,
|
|
779
|
+
it as X402SupportedPaymentKindNetwork,
|
|
780
|
+
nt as X402SupportedPaymentKindScheme,
|
|
781
|
+
tt as X402VerifyInvalidReason,
|
|
782
|
+
Qe as X402Version
|
|
619
783
|
};
|