@b3dotfun/sdk 0.0.70-alpha.1 → 0.0.70
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/cjs/anyspend/index.d.ts +0 -1
- package/dist/cjs/anyspend/index.js +0 -1
- package/dist/cjs/anyspend/react/components/AnySpend.d.ts +0 -6
- package/dist/cjs/anyspend/react/components/AnySpend.js +1 -13
- package/dist/cjs/anyspend/react/components/AnySpendBondKit.d.ts +1 -3
- package/dist/cjs/anyspend/react/components/AnySpendBondKit.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendCustom.d.ts +0 -1
- package/dist/cjs/anyspend/react/components/AnySpendCustom.js +2 -6
- package/dist/cjs/anyspend/react/components/AnySpendCustomExactIn.d.ts +0 -1
- package/dist/cjs/anyspend/react/components/AnySpendCustomExactIn.js +1 -3
- package/dist/cjs/anyspend/react/components/AnySpendDepositUpside.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendDepositUpside.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendNFT.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendNFT.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3ExactIn.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3ExactIn.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeUpside.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeUpside.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeUpsideExactIn.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnySpendStakeUpsideExactIn.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendTournament.d.ts +0 -2
- package/dist/cjs/anyspend/react/components/AnySpendTournament.js +1 -1
- package/dist/cjs/anyspend/react/components/AnyspendDepositHype.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnyspendDepositHype.js +2 -2
- package/dist/cjs/anyspend/react/components/AnyspendSignatureMint.d.ts +1 -2
- package/dist/cjs/anyspend/react/components/AnyspendSignatureMint.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +1 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +0 -1
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.js +1 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -16
- package/dist/cjs/anyspend/services/anyspend.d.ts +1 -2
- package/dist/cjs/anyspend/services/anyspend.js +1 -2
- package/dist/cjs/anyspend/types/api.d.ts +0 -295
- package/dist/cjs/global-account/react/stores/useModalStore.d.ts +0 -4
- package/dist/esm/anyspend/index.d.ts +0 -1
- package/dist/esm/anyspend/index.js +0 -1
- package/dist/esm/anyspend/react/components/AnySpend.d.ts +0 -6
- package/dist/esm/anyspend/react/components/AnySpend.js +1 -13
- package/dist/esm/anyspend/react/components/AnySpendBondKit.d.ts +1 -3
- package/dist/esm/anyspend/react/components/AnySpendBondKit.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendCustom.d.ts +0 -1
- package/dist/esm/anyspend/react/components/AnySpendCustom.js +2 -6
- package/dist/esm/anyspend/react/components/AnySpendCustomExactIn.d.ts +0 -1
- package/dist/esm/anyspend/react/components/AnySpendCustomExactIn.js +1 -3
- package/dist/esm/anyspend/react/components/AnySpendDepositUpside.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendDepositUpside.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendNFT.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendNFT.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeB3ExactIn.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeB3ExactIn.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeUpside.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeUpside.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeUpsideExactIn.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnySpendStakeUpsideExactIn.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpendTournament.d.ts +0 -2
- package/dist/esm/anyspend/react/components/AnySpendTournament.js +1 -1
- package/dist/esm/anyspend/react/components/AnyspendDepositHype.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnyspendDepositHype.js +2 -2
- package/dist/esm/anyspend/react/components/AnyspendSignatureMint.d.ts +1 -2
- package/dist/esm/anyspend/react/components/AnyspendSignatureMint.js +2 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +1 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +0 -1
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.js +1 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -16
- package/dist/esm/anyspend/services/anyspend.d.ts +1 -2
- package/dist/esm/anyspend/services/anyspend.js +1 -2
- package/dist/esm/anyspend/types/api.d.ts +0 -295
- package/dist/esm/global-account/react/stores/useModalStore.d.ts +0 -4
- package/dist/types/anyspend/index.d.ts +0 -1
- package/dist/types/anyspend/react/components/AnySpend.d.ts +0 -6
- package/dist/types/anyspend/react/components/AnySpendBondKit.d.ts +1 -3
- package/dist/types/anyspend/react/components/AnySpendBuySpin.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendCustom.d.ts +0 -1
- package/dist/types/anyspend/react/components/AnySpendCustomExactIn.d.ts +0 -1
- package/dist/types/anyspend/react/components/AnySpendDepositUpside.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendNFT.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendStakeB3.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendStakeB3ExactIn.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendStakeUpside.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendStakeUpsideExactIn.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnySpendTournament.d.ts +0 -2
- package/dist/types/anyspend/react/components/AnyspendDepositHype.d.ts +1 -2
- package/dist/types/anyspend/react/components/AnyspendSignatureMint.d.ts +1 -2
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +0 -1
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -16
- package/dist/types/anyspend/services/anyspend.d.ts +1 -2
- package/dist/types/anyspend/types/api.d.ts +0 -295
- package/dist/types/global-account/react/stores/useModalStore.d.ts +0 -4
- package/package.json +1 -1
- package/src/anyspend/index.ts +0 -1
- package/src/anyspend/react/components/AnySpend.tsx +0 -23
- package/src/anyspend/react/components/AnySpendBondKit.tsx +1 -3
- package/src/anyspend/react/components/AnySpendBuySpin.tsx +0 -3
- package/src/anyspend/react/components/AnySpendCustom.tsx +1 -8
- package/src/anyspend/react/components/AnySpendCustomExactIn.tsx +0 -4
- package/src/anyspend/react/components/AnySpendDepositUpside.tsx +0 -3
- package/src/anyspend/react/components/AnySpendNFT.tsx +0 -3
- package/src/anyspend/react/components/AnySpendStakeB3.tsx +0 -3
- package/src/anyspend/react/components/AnySpendStakeB3ExactIn.tsx +0 -3
- package/src/anyspend/react/components/AnySpendStakeUpside.tsx +0 -3
- package/src/anyspend/react/components/AnySpendStakeUpsideExactIn.tsx +0 -3
- package/src/anyspend/react/components/AnySpendTournament.tsx +0 -3
- package/src/anyspend/react/components/AnyspendDepositHype.tsx +0 -3
- package/src/anyspend/react/components/AnyspendSignatureMint.tsx +0 -3
- package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +0 -2
- package/src/anyspend/react/hooks/useAnyspendCreateOrder.ts +1 -13
- package/src/anyspend/services/anyspend.ts +0 -3
- package/src/anyspend/types/api.ts +0 -295
- package/src/global-account/react/stores/useModalStore.ts +0 -4
- package/dist/cjs/anyspend/utils/validation.d.ts +0 -67
- package/dist/cjs/anyspend/utils/validation.js +0 -157
- package/dist/esm/anyspend/utils/validation.d.ts +0 -67
- package/dist/esm/anyspend/utils/validation.js +0 -153
- package/dist/types/anyspend/utils/validation.d.ts +0 -67
- package/src/anyspend/utils/validation.ts +0 -209
|
@@ -5,12 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
export interface paths {
|
|
7
7
|
"/chains/{chainId}/tokens": {
|
|
8
|
-
parameters: {
|
|
9
|
-
query?: never;
|
|
10
|
-
header?: never;
|
|
11
|
-
path?: never;
|
|
12
|
-
cookie?: never;
|
|
13
|
-
};
|
|
14
8
|
/**
|
|
15
9
|
* Get tokens for a chain
|
|
16
10
|
* @description Retrieves available tokens for a specific blockchain
|
|
@@ -26,7 +20,6 @@ export interface paths {
|
|
|
26
20
|
/** @description Maximum number of tokens to return */
|
|
27
21
|
limit?: number;
|
|
28
22
|
};
|
|
29
|
-
header?: never;
|
|
30
23
|
path: {
|
|
31
24
|
/**
|
|
32
25
|
* @description Blockchain chain ID
|
|
@@ -34,15 +27,10 @@ export interface paths {
|
|
|
34
27
|
*/
|
|
35
28
|
chainId: number;
|
|
36
29
|
};
|
|
37
|
-
cookie?: never;
|
|
38
30
|
};
|
|
39
|
-
requestBody?: never;
|
|
40
31
|
responses: {
|
|
41
32
|
/** @description Tokens retrieved successfully */
|
|
42
33
|
200: {
|
|
43
|
-
headers: {
|
|
44
|
-
[name: string]: unknown;
|
|
45
|
-
};
|
|
46
34
|
content: {
|
|
47
35
|
"application/json": {
|
|
48
36
|
/** @example true */
|
|
@@ -73,9 +61,6 @@ export interface paths {
|
|
|
73
61
|
};
|
|
74
62
|
/** @description Bad request */
|
|
75
63
|
400: {
|
|
76
|
-
headers: {
|
|
77
|
-
[name: string]: unknown;
|
|
78
|
-
};
|
|
79
64
|
content: {
|
|
80
65
|
"application/json": {
|
|
81
66
|
/** @example false */
|
|
@@ -89,21 +74,8 @@ export interface paths {
|
|
|
89
74
|
};
|
|
90
75
|
};
|
|
91
76
|
};
|
|
92
|
-
put?: never;
|
|
93
|
-
post?: never;
|
|
94
|
-
delete?: never;
|
|
95
|
-
options?: never;
|
|
96
|
-
head?: never;
|
|
97
|
-
patch?: never;
|
|
98
|
-
trace?: never;
|
|
99
77
|
};
|
|
100
78
|
"/onramp/coinbase/options": {
|
|
101
|
-
parameters: {
|
|
102
|
-
query?: never;
|
|
103
|
-
header?: never;
|
|
104
|
-
path?: never;
|
|
105
|
-
cookie?: never;
|
|
106
|
-
};
|
|
107
79
|
/**
|
|
108
80
|
* Get Coinbase onramp options
|
|
109
81
|
* @description Retrieves available Coinbase onramp configuration options.
|
|
@@ -140,17 +112,10 @@ export interface paths {
|
|
|
140
112
|
*/
|
|
141
113
|
chainIds?: string[];
|
|
142
114
|
};
|
|
143
|
-
header?: never;
|
|
144
|
-
path?: never;
|
|
145
|
-
cookie?: never;
|
|
146
115
|
};
|
|
147
|
-
requestBody?: never;
|
|
148
116
|
responses: {
|
|
149
117
|
/** @description Coinbase options retrieved successfully */
|
|
150
118
|
200: {
|
|
151
|
-
headers: {
|
|
152
|
-
[name: string]: unknown;
|
|
153
|
-
};
|
|
154
119
|
content: {
|
|
155
120
|
"application/json": {
|
|
156
121
|
/** @example true */
|
|
@@ -253,9 +218,6 @@ export interface paths {
|
|
|
253
218
|
};
|
|
254
219
|
/** @description Bad request */
|
|
255
220
|
400: {
|
|
256
|
-
headers: {
|
|
257
|
-
[name: string]: unknown;
|
|
258
|
-
};
|
|
259
221
|
content: {
|
|
260
222
|
"application/json": {
|
|
261
223
|
/** @example false */
|
|
@@ -269,34 +231,13 @@ export interface paths {
|
|
|
269
231
|
};
|
|
270
232
|
};
|
|
271
233
|
};
|
|
272
|
-
put?: never;
|
|
273
|
-
post?: never;
|
|
274
|
-
delete?: never;
|
|
275
|
-
options?: never;
|
|
276
|
-
head?: never;
|
|
277
|
-
patch?: never;
|
|
278
|
-
trace?: never;
|
|
279
234
|
};
|
|
280
235
|
"/onramp/coinbase/session-token": {
|
|
281
|
-
parameters: {
|
|
282
|
-
query?: never;
|
|
283
|
-
header?: never;
|
|
284
|
-
path?: never;
|
|
285
|
-
cookie?: never;
|
|
286
|
-
};
|
|
287
|
-
get?: never;
|
|
288
|
-
put?: never;
|
|
289
236
|
/**
|
|
290
237
|
* Create Coinbase session token
|
|
291
238
|
* @description Generates a Coinbase Onramp session token that can be reused when constructing buy URLs.
|
|
292
239
|
*/
|
|
293
240
|
post: {
|
|
294
|
-
parameters: {
|
|
295
|
-
query?: never;
|
|
296
|
-
header?: never;
|
|
297
|
-
path?: never;
|
|
298
|
-
cookie?: never;
|
|
299
|
-
};
|
|
300
241
|
requestBody: {
|
|
301
242
|
content: {
|
|
302
243
|
"application/json": components["schemas"]["CoinbaseSessionTokenRequest"];
|
|
@@ -305,18 +246,12 @@ export interface paths {
|
|
|
305
246
|
responses: {
|
|
306
247
|
/** @description Session token created successfully */
|
|
307
248
|
200: {
|
|
308
|
-
headers: {
|
|
309
|
-
[name: string]: unknown;
|
|
310
|
-
};
|
|
311
249
|
content: {
|
|
312
250
|
"application/json": components["schemas"]["CoinbaseSessionTokenResponse"];
|
|
313
251
|
};
|
|
314
252
|
};
|
|
315
253
|
/** @description Bad request */
|
|
316
254
|
400: {
|
|
317
|
-
headers: {
|
|
318
|
-
[name: string]: unknown;
|
|
319
|
-
};
|
|
320
255
|
content: {
|
|
321
256
|
"application/json": {
|
|
322
257
|
/** @example false */
|
|
@@ -330,32 +265,13 @@ export interface paths {
|
|
|
330
265
|
};
|
|
331
266
|
};
|
|
332
267
|
};
|
|
333
|
-
delete?: never;
|
|
334
|
-
options?: never;
|
|
335
|
-
head?: never;
|
|
336
|
-
patch?: never;
|
|
337
|
-
trace?: never;
|
|
338
268
|
};
|
|
339
269
|
"/onramp/coinbase/onramp-url": {
|
|
340
|
-
parameters: {
|
|
341
|
-
query?: never;
|
|
342
|
-
header?: never;
|
|
343
|
-
path?: never;
|
|
344
|
-
cookie?: never;
|
|
345
|
-
};
|
|
346
|
-
get?: never;
|
|
347
|
-
put?: never;
|
|
348
270
|
/**
|
|
349
271
|
* Create Coinbase onramp URL
|
|
350
272
|
* @description Creates a Coinbase Onramp buy URL and optionally returns a session token for reuse.
|
|
351
273
|
*/
|
|
352
274
|
post: {
|
|
353
|
-
parameters: {
|
|
354
|
-
query?: never;
|
|
355
|
-
header?: never;
|
|
356
|
-
path?: never;
|
|
357
|
-
cookie?: never;
|
|
358
|
-
};
|
|
359
275
|
requestBody: {
|
|
360
276
|
content: {
|
|
361
277
|
"application/json": components["schemas"]["CoinbaseOnrampUrlRequest"];
|
|
@@ -364,18 +280,12 @@ export interface paths {
|
|
|
364
280
|
responses: {
|
|
365
281
|
/** @description Onramp URL created successfully */
|
|
366
282
|
200: {
|
|
367
|
-
headers: {
|
|
368
|
-
[name: string]: unknown;
|
|
369
|
-
};
|
|
370
283
|
content: {
|
|
371
284
|
"application/json": components["schemas"]["CoinbaseOnrampUrlResponse"];
|
|
372
285
|
};
|
|
373
286
|
};
|
|
374
287
|
/** @description Bad request */
|
|
375
288
|
400: {
|
|
376
|
-
headers: {
|
|
377
|
-
[name: string]: unknown;
|
|
378
|
-
};
|
|
379
289
|
content: {
|
|
380
290
|
"application/json": {
|
|
381
291
|
/** @example false */
|
|
@@ -389,32 +299,13 @@ export interface paths {
|
|
|
389
299
|
};
|
|
390
300
|
};
|
|
391
301
|
};
|
|
392
|
-
delete?: never;
|
|
393
|
-
options?: never;
|
|
394
|
-
head?: never;
|
|
395
|
-
patch?: never;
|
|
396
|
-
trace?: never;
|
|
397
302
|
};
|
|
398
303
|
"/onramp/coinbase/direct-url": {
|
|
399
|
-
parameters: {
|
|
400
|
-
query?: never;
|
|
401
|
-
header?: never;
|
|
402
|
-
path?: never;
|
|
403
|
-
cookie?: never;
|
|
404
|
-
};
|
|
405
|
-
get?: never;
|
|
406
|
-
put?: never;
|
|
407
304
|
/**
|
|
408
305
|
* Generate direct Coinbase onramp URL
|
|
409
306
|
* @description Generates a direct Coinbase Onramp URL along with the session token backing it.
|
|
410
307
|
*/
|
|
411
308
|
post: {
|
|
412
|
-
parameters: {
|
|
413
|
-
query?: never;
|
|
414
|
-
header?: never;
|
|
415
|
-
path?: never;
|
|
416
|
-
cookie?: never;
|
|
417
|
-
};
|
|
418
309
|
requestBody: {
|
|
419
310
|
content: {
|
|
420
311
|
"application/json": components["schemas"]["CoinbaseDirectOnrampRequest"];
|
|
@@ -423,18 +314,12 @@ export interface paths {
|
|
|
423
314
|
responses: {
|
|
424
315
|
/** @description Direct onramp URL generated successfully */
|
|
425
316
|
200: {
|
|
426
|
-
headers: {
|
|
427
|
-
[name: string]: unknown;
|
|
428
|
-
};
|
|
429
317
|
content: {
|
|
430
318
|
"application/json": components["schemas"]["CoinbaseDirectOnrampResponse"];
|
|
431
319
|
};
|
|
432
320
|
};
|
|
433
321
|
/** @description Bad request */
|
|
434
322
|
400: {
|
|
435
|
-
headers: {
|
|
436
|
-
[name: string]: unknown;
|
|
437
|
-
};
|
|
438
323
|
content: {
|
|
439
324
|
"application/json": {
|
|
440
325
|
/** @example false */
|
|
@@ -448,19 +333,8 @@ export interface paths {
|
|
|
448
333
|
};
|
|
449
334
|
};
|
|
450
335
|
};
|
|
451
|
-
delete?: never;
|
|
452
|
-
options?: never;
|
|
453
|
-
head?: never;
|
|
454
|
-
patch?: never;
|
|
455
|
-
trace?: never;
|
|
456
336
|
};
|
|
457
337
|
"/onramp/stripe/supported": {
|
|
458
|
-
parameters: {
|
|
459
|
-
query?: never;
|
|
460
|
-
header?: never;
|
|
461
|
-
path?: never;
|
|
462
|
-
cookie?: never;
|
|
463
|
-
};
|
|
464
338
|
/**
|
|
465
339
|
* Check Stripe support
|
|
466
340
|
* @description Checks if Stripe onramp and Stripe Web2 are supported based on IP address location and optional transaction amount
|
|
@@ -474,17 +348,10 @@ export interface paths {
|
|
|
474
348
|
*/
|
|
475
349
|
usdAmount?: string;
|
|
476
350
|
};
|
|
477
|
-
header?: never;
|
|
478
|
-
path?: never;
|
|
479
|
-
cookie?: never;
|
|
480
351
|
};
|
|
481
|
-
requestBody?: never;
|
|
482
352
|
responses: {
|
|
483
353
|
/** @description Stripe support status retrieved successfully */
|
|
484
354
|
200: {
|
|
485
|
-
headers: {
|
|
486
|
-
[name: string]: unknown;
|
|
487
|
-
};
|
|
488
355
|
content: {
|
|
489
356
|
"application/json": {
|
|
490
357
|
/** @example true */
|
|
@@ -507,9 +374,6 @@ export interface paths {
|
|
|
507
374
|
};
|
|
508
375
|
/** @description Bad request */
|
|
509
376
|
400: {
|
|
510
|
-
headers: {
|
|
511
|
-
[name: string]: unknown;
|
|
512
|
-
};
|
|
513
377
|
content: {
|
|
514
378
|
"application/json": {
|
|
515
379
|
/** @example false */
|
|
@@ -523,21 +387,8 @@ export interface paths {
|
|
|
523
387
|
};
|
|
524
388
|
};
|
|
525
389
|
};
|
|
526
|
-
put?: never;
|
|
527
|
-
post?: never;
|
|
528
|
-
delete?: never;
|
|
529
|
-
options?: never;
|
|
530
|
-
head?: never;
|
|
531
|
-
patch?: never;
|
|
532
|
-
trace?: never;
|
|
533
390
|
};
|
|
534
391
|
"/orders": {
|
|
535
|
-
parameters: {
|
|
536
|
-
query?: never;
|
|
537
|
-
header?: never;
|
|
538
|
-
path?: never;
|
|
539
|
-
cookie?: never;
|
|
540
|
-
};
|
|
541
392
|
/**
|
|
542
393
|
* Get orders by creator
|
|
543
394
|
* @description Retrieves all orders created by a specific address
|
|
@@ -561,17 +412,10 @@ export interface paths {
|
|
|
561
412
|
*/
|
|
562
413
|
offset?: string;
|
|
563
414
|
};
|
|
564
|
-
header?: never;
|
|
565
|
-
path?: never;
|
|
566
|
-
cookie?: never;
|
|
567
415
|
};
|
|
568
|
-
requestBody?: never;
|
|
569
416
|
responses: {
|
|
570
417
|
/** @description Orders retrieved successfully */
|
|
571
418
|
200: {
|
|
572
|
-
headers: {
|
|
573
|
-
[name: string]: unknown;
|
|
574
|
-
};
|
|
575
419
|
content: {
|
|
576
420
|
"application/json": {
|
|
577
421
|
/** @example true */
|
|
@@ -587,9 +431,6 @@ export interface paths {
|
|
|
587
431
|
};
|
|
588
432
|
/** @description Bad request */
|
|
589
433
|
400: {
|
|
590
|
-
headers: {
|
|
591
|
-
[name: string]: unknown;
|
|
592
|
-
};
|
|
593
434
|
content: {
|
|
594
435
|
"application/json": {
|
|
595
436
|
/** @example false */
|
|
@@ -603,18 +444,11 @@ export interface paths {
|
|
|
603
444
|
};
|
|
604
445
|
};
|
|
605
446
|
};
|
|
606
|
-
put?: never;
|
|
607
447
|
/**
|
|
608
448
|
* Create a new order
|
|
609
449
|
* @description Creates a new order for token transactions across chains
|
|
610
450
|
*/
|
|
611
451
|
post: {
|
|
612
|
-
parameters: {
|
|
613
|
-
query?: never;
|
|
614
|
-
header?: never;
|
|
615
|
-
path?: never;
|
|
616
|
-
cookie?: never;
|
|
617
|
-
};
|
|
618
452
|
requestBody: {
|
|
619
453
|
content: {
|
|
620
454
|
"application/json": components["schemas"]["OrderRequest"];
|
|
@@ -623,9 +457,6 @@ export interface paths {
|
|
|
623
457
|
responses: {
|
|
624
458
|
/** @description Order created successfully */
|
|
625
459
|
200: {
|
|
626
|
-
headers: {
|
|
627
|
-
[name: string]: unknown;
|
|
628
|
-
};
|
|
629
460
|
content: {
|
|
630
461
|
"application/json": {
|
|
631
462
|
/** @example true */
|
|
@@ -640,9 +471,6 @@ export interface paths {
|
|
|
640
471
|
};
|
|
641
472
|
/** @description Bad request */
|
|
642
473
|
400: {
|
|
643
|
-
headers: {
|
|
644
|
-
[name: string]: unknown;
|
|
645
|
-
};
|
|
646
474
|
content: {
|
|
647
475
|
"application/json": {
|
|
648
476
|
/** @example false */
|
|
@@ -656,27 +484,14 @@ export interface paths {
|
|
|
656
484
|
};
|
|
657
485
|
};
|
|
658
486
|
};
|
|
659
|
-
delete?: never;
|
|
660
|
-
options?: never;
|
|
661
|
-
head?: never;
|
|
662
|
-
patch?: never;
|
|
663
|
-
trace?: never;
|
|
664
487
|
};
|
|
665
488
|
"/orders/{orderId}": {
|
|
666
|
-
parameters: {
|
|
667
|
-
query?: never;
|
|
668
|
-
header?: never;
|
|
669
|
-
path?: never;
|
|
670
|
-
cookie?: never;
|
|
671
|
-
};
|
|
672
489
|
/**
|
|
673
490
|
* Get order and transactions
|
|
674
491
|
* @description Retrieves order details along with associated transactions
|
|
675
492
|
*/
|
|
676
493
|
get: {
|
|
677
494
|
parameters: {
|
|
678
|
-
query?: never;
|
|
679
|
-
header?: never;
|
|
680
495
|
path: {
|
|
681
496
|
/**
|
|
682
497
|
* @description Unique order identifier
|
|
@@ -684,15 +499,10 @@ export interface paths {
|
|
|
684
499
|
*/
|
|
685
500
|
orderId: string;
|
|
686
501
|
};
|
|
687
|
-
cookie?: never;
|
|
688
502
|
};
|
|
689
|
-
requestBody?: never;
|
|
690
503
|
responses: {
|
|
691
504
|
/** @description Order and transactions retrieved successfully */
|
|
692
505
|
200: {
|
|
693
|
-
headers: {
|
|
694
|
-
[name: string]: unknown;
|
|
695
|
-
};
|
|
696
506
|
content: {
|
|
697
507
|
"application/json": {
|
|
698
508
|
/** @example true */
|
|
@@ -744,9 +554,6 @@ export interface paths {
|
|
|
744
554
|
};
|
|
745
555
|
/** @description Bad request */
|
|
746
556
|
400: {
|
|
747
|
-
headers: {
|
|
748
|
-
[name: string]: unknown;
|
|
749
|
-
};
|
|
750
557
|
content: {
|
|
751
558
|
"application/json": {
|
|
752
559
|
/** @example false */
|
|
@@ -760,9 +567,6 @@ export interface paths {
|
|
|
760
567
|
};
|
|
761
568
|
/** @description Order not found */
|
|
762
569
|
404: {
|
|
763
|
-
headers: {
|
|
764
|
-
[name: string]: unknown;
|
|
765
|
-
};
|
|
766
570
|
content: {
|
|
767
571
|
"application/json": {
|
|
768
572
|
/** @example false */
|
|
@@ -776,29 +580,14 @@ export interface paths {
|
|
|
776
580
|
};
|
|
777
581
|
};
|
|
778
582
|
};
|
|
779
|
-
put?: never;
|
|
780
|
-
post?: never;
|
|
781
|
-
delete?: never;
|
|
782
|
-
options?: never;
|
|
783
|
-
head?: never;
|
|
784
|
-
patch?: never;
|
|
785
|
-
trace?: never;
|
|
786
583
|
};
|
|
787
584
|
"/orders/{orderId}/comprehensive": {
|
|
788
|
-
parameters: {
|
|
789
|
-
query?: never;
|
|
790
|
-
header?: never;
|
|
791
|
-
path?: never;
|
|
792
|
-
cookie?: never;
|
|
793
|
-
};
|
|
794
585
|
/**
|
|
795
586
|
* Get comprehensive order detail
|
|
796
587
|
* @description Retrieves an order with associated transactions, settlement data, and awarded points without sanitization.
|
|
797
588
|
*/
|
|
798
589
|
get: {
|
|
799
590
|
parameters: {
|
|
800
|
-
query?: never;
|
|
801
|
-
header?: never;
|
|
802
591
|
path: {
|
|
803
592
|
/**
|
|
804
593
|
* @description Unique order identifier
|
|
@@ -806,24 +595,16 @@ export interface paths {
|
|
|
806
595
|
*/
|
|
807
596
|
orderId: string;
|
|
808
597
|
};
|
|
809
|
-
cookie?: never;
|
|
810
598
|
};
|
|
811
|
-
requestBody?: never;
|
|
812
599
|
responses: {
|
|
813
600
|
/** @description Comprehensive order retrieved successfully */
|
|
814
601
|
200: {
|
|
815
|
-
headers: {
|
|
816
|
-
[name: string]: unknown;
|
|
817
|
-
};
|
|
818
602
|
content: {
|
|
819
603
|
"application/json": components["schemas"]["ComprehensiveOrderResponse"];
|
|
820
604
|
};
|
|
821
605
|
};
|
|
822
606
|
/** @description Bad request */
|
|
823
607
|
400: {
|
|
824
|
-
headers: {
|
|
825
|
-
[name: string]: unknown;
|
|
826
|
-
};
|
|
827
608
|
content: {
|
|
828
609
|
"application/json": {
|
|
829
610
|
/** @example false */
|
|
@@ -837,9 +618,6 @@ export interface paths {
|
|
|
837
618
|
};
|
|
838
619
|
/** @description Order not found */
|
|
839
620
|
404: {
|
|
840
|
-
headers: {
|
|
841
|
-
[name: string]: unknown;
|
|
842
|
-
};
|
|
843
621
|
content: {
|
|
844
622
|
"application/json": {
|
|
845
623
|
/** @example false */
|
|
@@ -853,34 +631,13 @@ export interface paths {
|
|
|
853
631
|
};
|
|
854
632
|
};
|
|
855
633
|
};
|
|
856
|
-
put?: never;
|
|
857
|
-
post?: never;
|
|
858
|
-
delete?: never;
|
|
859
|
-
options?: never;
|
|
860
|
-
head?: never;
|
|
861
|
-
patch?: never;
|
|
862
|
-
trace?: never;
|
|
863
634
|
};
|
|
864
635
|
"/orders/quote": {
|
|
865
|
-
parameters: {
|
|
866
|
-
query?: never;
|
|
867
|
-
header?: never;
|
|
868
|
-
path?: never;
|
|
869
|
-
cookie?: never;
|
|
870
|
-
};
|
|
871
|
-
get?: never;
|
|
872
|
-
put?: never;
|
|
873
636
|
/**
|
|
874
637
|
* Get anyspend quote
|
|
875
638
|
* @description Retrieves a quote to swap, execute contract, or participate in HypeDuel
|
|
876
639
|
*/
|
|
877
640
|
post: {
|
|
878
|
-
parameters: {
|
|
879
|
-
query?: never;
|
|
880
|
-
header?: never;
|
|
881
|
-
path?: never;
|
|
882
|
-
cookie?: never;
|
|
883
|
-
};
|
|
884
641
|
requestBody: {
|
|
885
642
|
content: {
|
|
886
643
|
"application/json":
|
|
@@ -1164,9 +921,6 @@ export interface paths {
|
|
|
1164
921
|
responses: {
|
|
1165
922
|
/** @description Quote retrieved successfully */
|
|
1166
923
|
200: {
|
|
1167
|
-
headers: {
|
|
1168
|
-
[name: string]: unknown;
|
|
1169
|
-
};
|
|
1170
924
|
content: {
|
|
1171
925
|
"application/json": {
|
|
1172
926
|
/** @example true */
|
|
@@ -1347,9 +1101,6 @@ export interface paths {
|
|
|
1347
1101
|
};
|
|
1348
1102
|
/** @description Bad request */
|
|
1349
1103
|
400: {
|
|
1350
|
-
headers: {
|
|
1351
|
-
[name: string]: unknown;
|
|
1352
|
-
};
|
|
1353
1104
|
content: {
|
|
1354
1105
|
"application/json": {
|
|
1355
1106
|
/** @example false */
|
|
@@ -1363,19 +1114,8 @@ export interface paths {
|
|
|
1363
1114
|
};
|
|
1364
1115
|
};
|
|
1365
1116
|
};
|
|
1366
|
-
delete?: never;
|
|
1367
|
-
options?: never;
|
|
1368
|
-
head?: never;
|
|
1369
|
-
patch?: never;
|
|
1370
|
-
trace?: never;
|
|
1371
1117
|
};
|
|
1372
1118
|
"/stripe/clientSecret": {
|
|
1373
|
-
parameters: {
|
|
1374
|
-
query?: never;
|
|
1375
|
-
header?: never;
|
|
1376
|
-
path?: never;
|
|
1377
|
-
cookie?: never;
|
|
1378
|
-
};
|
|
1379
1119
|
/**
|
|
1380
1120
|
* Get Stripe client secret
|
|
1381
1121
|
* @description Retrieves a Stripe client secret for payment processing using a payment intent ID
|
|
@@ -1389,17 +1129,10 @@ export interface paths {
|
|
|
1389
1129
|
*/
|
|
1390
1130
|
paymentIntentId: string;
|
|
1391
1131
|
};
|
|
1392
|
-
header?: never;
|
|
1393
|
-
path?: never;
|
|
1394
|
-
cookie?: never;
|
|
1395
1132
|
};
|
|
1396
|
-
requestBody?: never;
|
|
1397
1133
|
responses: {
|
|
1398
1134
|
/** @description Client secret retrieved successfully */
|
|
1399
1135
|
200: {
|
|
1400
|
-
headers: {
|
|
1401
|
-
[name: string]: unknown;
|
|
1402
|
-
};
|
|
1403
1136
|
content: {
|
|
1404
1137
|
"application/json": {
|
|
1405
1138
|
/** @example true */
|
|
@@ -1418,9 +1151,6 @@ export interface paths {
|
|
|
1418
1151
|
};
|
|
1419
1152
|
/** @description Bad request - PaymentIntentId is required or invalid */
|
|
1420
1153
|
400: {
|
|
1421
|
-
headers: {
|
|
1422
|
-
[name: string]: unknown;
|
|
1423
|
-
};
|
|
1424
1154
|
content: {
|
|
1425
1155
|
"application/json": {
|
|
1426
1156
|
/** @example false */
|
|
@@ -1434,13 +1164,6 @@ export interface paths {
|
|
|
1434
1164
|
};
|
|
1435
1165
|
};
|
|
1436
1166
|
};
|
|
1437
|
-
put?: never;
|
|
1438
|
-
post?: never;
|
|
1439
|
-
delete?: never;
|
|
1440
|
-
options?: never;
|
|
1441
|
-
head?: never;
|
|
1442
|
-
patch?: never;
|
|
1443
|
-
trace?: never;
|
|
1444
1167
|
};
|
|
1445
1168
|
}
|
|
1446
1169
|
export type webhooks = Record<string, never>;
|
|
@@ -2080,8 +1803,6 @@ export interface components {
|
|
|
2080
1803
|
creatorAddress: string | null;
|
|
2081
1804
|
/** @description Optional partner identifier */
|
|
2082
1805
|
partnerId: string | null;
|
|
2083
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2084
|
-
clientReferenceId?: string | null;
|
|
2085
1806
|
/** @description Onramp configuration if used */
|
|
2086
1807
|
onrampMetadata: components["schemas"]["OnrampMetadata"] | null;
|
|
2087
1808
|
/** @description Quick purchase URL if available */
|
|
@@ -2236,8 +1957,6 @@ export interface components {
|
|
|
2236
1957
|
metadata: components["schemas"]["SwapMetadata"];
|
|
2237
1958
|
/** @description Optional partner identifier */
|
|
2238
1959
|
partnerId?: string;
|
|
2239
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2240
|
-
clientReferenceId?: string;
|
|
2241
1960
|
onramp?: components["schemas"]["Onramp"];
|
|
2242
1961
|
/**
|
|
2243
1962
|
* @description Optional address of the order creator
|
|
@@ -2286,8 +2005,6 @@ export interface components {
|
|
|
2286
2005
|
metadata: components["schemas"]["SwapMetadata"];
|
|
2287
2006
|
/** @description Optional partner identifier */
|
|
2288
2007
|
partnerId?: string;
|
|
2289
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2290
|
-
clientReferenceId?: string;
|
|
2291
2008
|
onramp?: components["schemas"]["Onramp"];
|
|
2292
2009
|
/**
|
|
2293
2010
|
* @description Optional address of the order creator
|
|
@@ -2336,8 +2053,6 @@ export interface components {
|
|
|
2336
2053
|
metadata: components["schemas"]["HypeDuelMetadata"];
|
|
2337
2054
|
/** @description Optional partner identifier */
|
|
2338
2055
|
partnerId?: string;
|
|
2339
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2340
|
-
clientReferenceId?: string;
|
|
2341
2056
|
onramp?: components["schemas"]["Onramp"];
|
|
2342
2057
|
/**
|
|
2343
2058
|
* @description Optional address of the order creator
|
|
@@ -2386,8 +2101,6 @@ export interface components {
|
|
|
2386
2101
|
metadata: components["schemas"]["CustomMetadata"];
|
|
2387
2102
|
/** @description Optional partner identifier */
|
|
2388
2103
|
partnerId?: string;
|
|
2389
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2390
|
-
clientReferenceId?: string;
|
|
2391
2104
|
onramp?: components["schemas"]["Onramp"];
|
|
2392
2105
|
/**
|
|
2393
2106
|
* @description Optional address of the order creator
|
|
@@ -2436,8 +2149,6 @@ export interface components {
|
|
|
2436
2149
|
metadata: components["schemas"]["CustomMetadata"];
|
|
2437
2150
|
/** @description Optional partner identifier */
|
|
2438
2151
|
partnerId?: string;
|
|
2439
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2440
|
-
clientReferenceId?: string;
|
|
2441
2152
|
onramp?: components["schemas"]["Onramp"];
|
|
2442
2153
|
/**
|
|
2443
2154
|
* @description Optional address of the order creator
|
|
@@ -2486,8 +2197,6 @@ export interface components {
|
|
|
2486
2197
|
metadata: components["schemas"]["MintNftMetadata"];
|
|
2487
2198
|
/** @description Optional partner identifier */
|
|
2488
2199
|
partnerId?: string;
|
|
2489
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2490
|
-
clientReferenceId?: string;
|
|
2491
2200
|
onramp?: components["schemas"]["Onramp"];
|
|
2492
2201
|
/**
|
|
2493
2202
|
* @description Optional address of the order creator
|
|
@@ -2536,8 +2245,6 @@ export interface components {
|
|
|
2536
2245
|
metadata: components["schemas"]["TournamentMetadata"];
|
|
2537
2246
|
/** @description Optional partner identifier */
|
|
2538
2247
|
partnerId?: string;
|
|
2539
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2540
|
-
clientReferenceId?: string;
|
|
2541
2248
|
onramp?: components["schemas"]["Onramp"];
|
|
2542
2249
|
/**
|
|
2543
2250
|
* @description Optional address of the order creator
|
|
@@ -2586,8 +2293,6 @@ export interface components {
|
|
|
2586
2293
|
metadata: components["schemas"]["TournamentMetadata"];
|
|
2587
2294
|
/** @description Optional partner identifier */
|
|
2588
2295
|
partnerId?: string;
|
|
2589
|
-
/** @description Optional client reference identifier for tracking purposes (alphanumeric, hyphens, and underscores only, max 255 chars) */
|
|
2590
|
-
clientReferenceId?: string;
|
|
2591
2296
|
onramp?: components["schemas"]["Onramp"];
|
|
2592
2297
|
/**
|
|
2593
2298
|
* @description Optional address of the order creator
|
|
@@ -128,8 +128,6 @@ export interface AnySpendModalProps extends BaseModalProps {
|
|
|
128
128
|
destinationTokenChainId?: number;
|
|
129
129
|
/** Custom USD input values for quick amount buttons in fiat onramp */
|
|
130
130
|
customUsdInputValues?: string[];
|
|
131
|
-
/** Client-provided reference ID for tracking orders */
|
|
132
|
-
clientReferenceId?: string;
|
|
133
131
|
}
|
|
134
132
|
|
|
135
133
|
/**
|
|
@@ -145,8 +143,6 @@ export interface AnySpendNftProps extends BaseModalProps {
|
|
|
145
143
|
recipientAddress?: string;
|
|
146
144
|
/** Callback function called when the NFT is successfully transferred */
|
|
147
145
|
onSuccess?: (txHash?: string) => void;
|
|
148
|
-
/** Client-provided reference ID for tracking orders */
|
|
149
|
-
clientReferenceId?: string;
|
|
150
146
|
}
|
|
151
147
|
|
|
152
148
|
/**
|