@imtbl/sdk 0.36.5 → 0.38.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/blockchain_data.js +1 -1
- package/dist/browser/checkout/sdk.js +6 -6
- package/dist/browser/checkout/widgets.js +58 -58
- package/dist/checkout.d.ts +633 -194
- package/dist/checkout.js +222 -106
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +3 -3
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +227 -110
- package/dist/index.d.ts +510 -66
- package/dist/index.js +227 -110
- package/dist/passport.js +2 -2
- package/package.json +4 -1
package/dist/checkout.d.ts
CHANGED
|
@@ -548,30 +548,30 @@ declare class Web3Provider extends JsonRpcProvider {
|
|
|
548
548
|
|
|
549
549
|
// TypeScript Version: 3.0
|
|
550
550
|
|
|
551
|
-
type AxiosRequestHeaders = Record<string, string | number | boolean>;
|
|
551
|
+
type AxiosRequestHeaders$1 = Record<string, string | number | boolean>;
|
|
552
552
|
|
|
553
|
-
type AxiosResponseHeaders = Record<string, string> & {
|
|
553
|
+
type AxiosResponseHeaders$1 = Record<string, string> & {
|
|
554
554
|
"set-cookie"?: string[]
|
|
555
555
|
};
|
|
556
556
|
|
|
557
|
-
interface AxiosRequestTransformer {
|
|
558
|
-
(data: any, headers?: AxiosRequestHeaders): any;
|
|
557
|
+
interface AxiosRequestTransformer$1 {
|
|
558
|
+
(data: any, headers?: AxiosRequestHeaders$1): any;
|
|
559
559
|
}
|
|
560
560
|
|
|
561
|
-
interface AxiosResponseTransformer {
|
|
562
|
-
(data: any, headers?: AxiosResponseHeaders): any;
|
|
561
|
+
interface AxiosResponseTransformer$1 {
|
|
562
|
+
(data: any, headers?: AxiosResponseHeaders$1): any;
|
|
563
563
|
}
|
|
564
564
|
|
|
565
|
-
interface AxiosAdapter {
|
|
566
|
-
(config: AxiosRequestConfig): AxiosPromise;
|
|
565
|
+
interface AxiosAdapter$1 {
|
|
566
|
+
(config: AxiosRequestConfig$1): AxiosPromise$1;
|
|
567
567
|
}
|
|
568
568
|
|
|
569
|
-
interface AxiosBasicCredentials {
|
|
569
|
+
interface AxiosBasicCredentials$1 {
|
|
570
570
|
username: string;
|
|
571
571
|
password: string;
|
|
572
572
|
}
|
|
573
573
|
|
|
574
|
-
interface AxiosProxyConfig {
|
|
574
|
+
interface AxiosProxyConfig$1 {
|
|
575
575
|
host: string;
|
|
576
576
|
port: number;
|
|
577
577
|
auth?: {
|
|
@@ -581,7 +581,7 @@ interface AxiosProxyConfig {
|
|
|
581
581
|
protocol?: string;
|
|
582
582
|
}
|
|
583
583
|
|
|
584
|
-
type Method =
|
|
584
|
+
type Method$1 =
|
|
585
585
|
| 'get' | 'GET'
|
|
586
586
|
| 'delete' | 'DELETE'
|
|
587
587
|
| 'head' | 'HEAD'
|
|
@@ -593,7 +593,7 @@ type Method =
|
|
|
593
593
|
| 'link' | 'LINK'
|
|
594
594
|
| 'unlink' | 'UNLINK';
|
|
595
595
|
|
|
596
|
-
type ResponseType =
|
|
596
|
+
type ResponseType$1 =
|
|
597
597
|
| 'arraybuffer'
|
|
598
598
|
| 'blob'
|
|
599
599
|
| 'document'
|
|
@@ -601,7 +601,7 @@ type ResponseType =
|
|
|
601
601
|
| 'text'
|
|
602
602
|
| 'stream';
|
|
603
603
|
|
|
604
|
-
type responseEncoding =
|
|
604
|
+
type responseEncoding$1 =
|
|
605
605
|
| 'ascii' | 'ASCII'
|
|
606
606
|
| 'ansi' | 'ANSI'
|
|
607
607
|
| 'binary' | 'BINARY'
|
|
@@ -615,29 +615,29 @@ type ResponseType =
|
|
|
615
615
|
| 'utf8' | 'UTF8'
|
|
616
616
|
| 'utf16le' | 'UTF16LE';
|
|
617
617
|
|
|
618
|
-
interface TransitionalOptions {
|
|
618
|
+
interface TransitionalOptions$1 {
|
|
619
619
|
silentJSONParsing?: boolean;
|
|
620
620
|
forcedJSONParsing?: boolean;
|
|
621
621
|
clarifyTimeoutError?: boolean;
|
|
622
622
|
}
|
|
623
623
|
|
|
624
|
-
interface AxiosRequestConfig<D = any> {
|
|
624
|
+
interface AxiosRequestConfig$1<D = any> {
|
|
625
625
|
url?: string;
|
|
626
|
-
method?: Method;
|
|
626
|
+
method?: Method$1;
|
|
627
627
|
baseURL?: string;
|
|
628
|
-
transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
|
|
629
|
-
transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
|
|
630
|
-
headers?: AxiosRequestHeaders;
|
|
628
|
+
transformRequest?: AxiosRequestTransformer$1 | AxiosRequestTransformer$1[];
|
|
629
|
+
transformResponse?: AxiosResponseTransformer$1 | AxiosResponseTransformer$1[];
|
|
630
|
+
headers?: AxiosRequestHeaders$1;
|
|
631
631
|
params?: any;
|
|
632
632
|
paramsSerializer?: (params: any) => string;
|
|
633
633
|
data?: D;
|
|
634
634
|
timeout?: number;
|
|
635
635
|
timeoutErrorMessage?: string;
|
|
636
636
|
withCredentials?: boolean;
|
|
637
|
-
adapter?: AxiosAdapter;
|
|
638
|
-
auth?: AxiosBasicCredentials;
|
|
639
|
-
responseType?: ResponseType;
|
|
640
|
-
responseEncoding?: responseEncoding | string;
|
|
637
|
+
adapter?: AxiosAdapter$1;
|
|
638
|
+
auth?: AxiosBasicCredentials$1;
|
|
639
|
+
responseType?: ResponseType$1;
|
|
640
|
+
responseEncoding?: responseEncoding$1 | string;
|
|
641
641
|
xsrfCookieName?: string;
|
|
642
642
|
xsrfHeaderName?: string;
|
|
643
643
|
onUploadProgress?: (progressEvent: any) => void;
|
|
@@ -649,80 +649,80 @@ interface AxiosRequestConfig<D = any> {
|
|
|
649
649
|
socketPath?: string | null;
|
|
650
650
|
httpAgent?: any;
|
|
651
651
|
httpsAgent?: any;
|
|
652
|
-
proxy?: AxiosProxyConfig | false;
|
|
653
|
-
cancelToken?: CancelToken;
|
|
652
|
+
proxy?: AxiosProxyConfig$1 | false;
|
|
653
|
+
cancelToken?: CancelToken$1;
|
|
654
654
|
decompress?: boolean;
|
|
655
|
-
transitional?: TransitionalOptions;
|
|
655
|
+
transitional?: TransitionalOptions$1;
|
|
656
656
|
signal?: AbortSignal;
|
|
657
657
|
insecureHTTPParser?: boolean;
|
|
658
658
|
}
|
|
659
659
|
|
|
660
|
-
interface HeadersDefaults {
|
|
661
|
-
common: AxiosRequestHeaders;
|
|
662
|
-
delete: AxiosRequestHeaders;
|
|
663
|
-
get: AxiosRequestHeaders;
|
|
664
|
-
head: AxiosRequestHeaders;
|
|
665
|
-
post: AxiosRequestHeaders;
|
|
666
|
-
put: AxiosRequestHeaders;
|
|
667
|
-
patch: AxiosRequestHeaders;
|
|
668
|
-
options?: AxiosRequestHeaders;
|
|
669
|
-
purge?: AxiosRequestHeaders;
|
|
670
|
-
link?: AxiosRequestHeaders;
|
|
671
|
-
unlink?: AxiosRequestHeaders;
|
|
660
|
+
interface HeadersDefaults$1 {
|
|
661
|
+
common: AxiosRequestHeaders$1;
|
|
662
|
+
delete: AxiosRequestHeaders$1;
|
|
663
|
+
get: AxiosRequestHeaders$1;
|
|
664
|
+
head: AxiosRequestHeaders$1;
|
|
665
|
+
post: AxiosRequestHeaders$1;
|
|
666
|
+
put: AxiosRequestHeaders$1;
|
|
667
|
+
patch: AxiosRequestHeaders$1;
|
|
668
|
+
options?: AxiosRequestHeaders$1;
|
|
669
|
+
purge?: AxiosRequestHeaders$1;
|
|
670
|
+
link?: AxiosRequestHeaders$1;
|
|
671
|
+
unlink?: AxiosRequestHeaders$1;
|
|
672
672
|
}
|
|
673
673
|
|
|
674
|
-
interface AxiosDefaults<D = any> extends Omit<AxiosRequestConfig<D>, 'headers'> {
|
|
675
|
-
headers: HeadersDefaults;
|
|
674
|
+
interface AxiosDefaults$1<D = any> extends Omit<AxiosRequestConfig$1<D>, 'headers'> {
|
|
675
|
+
headers: HeadersDefaults$1;
|
|
676
676
|
}
|
|
677
677
|
|
|
678
|
-
interface AxiosResponse<T = any, D = any> {
|
|
678
|
+
interface AxiosResponse$1<T = any, D = any> {
|
|
679
679
|
data: T;
|
|
680
680
|
status: number;
|
|
681
681
|
statusText: string;
|
|
682
|
-
headers: AxiosResponseHeaders;
|
|
683
|
-
config: AxiosRequestConfig<D>;
|
|
682
|
+
headers: AxiosResponseHeaders$1;
|
|
683
|
+
config: AxiosRequestConfig$1<D>;
|
|
684
684
|
request?: any;
|
|
685
685
|
}
|
|
686
686
|
|
|
687
|
-
interface AxiosPromise<T = any> extends Promise<AxiosResponse<T>> {
|
|
687
|
+
interface AxiosPromise$1<T = any> extends Promise<AxiosResponse$1<T>> {
|
|
688
688
|
}
|
|
689
689
|
|
|
690
|
-
interface Cancel {
|
|
690
|
+
interface Cancel$1 {
|
|
691
691
|
message: string | undefined;
|
|
692
692
|
}
|
|
693
693
|
|
|
694
|
-
interface CancelToken {
|
|
695
|
-
promise: Promise<Cancel>;
|
|
696
|
-
reason?: Cancel;
|
|
694
|
+
interface CancelToken$1 {
|
|
695
|
+
promise: Promise<Cancel$1>;
|
|
696
|
+
reason?: Cancel$1;
|
|
697
697
|
throwIfRequested(): void;
|
|
698
698
|
}
|
|
699
699
|
|
|
700
|
-
interface AxiosInterceptorManager<V> {
|
|
700
|
+
interface AxiosInterceptorManager$1<V> {
|
|
701
701
|
use<T = V>(onFulfilled?: (value: V) => T | Promise<T>, onRejected?: (error: any) => any): number;
|
|
702
702
|
eject(id: number): void;
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
declare class Axios {
|
|
706
|
-
constructor(config?: AxiosRequestConfig);
|
|
707
|
-
defaults: AxiosDefaults;
|
|
705
|
+
declare class Axios$1 {
|
|
706
|
+
constructor(config?: AxiosRequestConfig$1);
|
|
707
|
+
defaults: AxiosDefaults$1;
|
|
708
708
|
interceptors: {
|
|
709
|
-
request: AxiosInterceptorManager<AxiosRequestConfig>;
|
|
710
|
-
response: AxiosInterceptorManager<AxiosResponse>;
|
|
709
|
+
request: AxiosInterceptorManager$1<AxiosRequestConfig$1>;
|
|
710
|
+
response: AxiosInterceptorManager$1<AxiosResponse$1>;
|
|
711
711
|
};
|
|
712
|
-
getUri(config?: AxiosRequestConfig): string;
|
|
713
|
-
request<T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R>;
|
|
714
|
-
get<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
715
|
-
delete<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
716
|
-
head<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
717
|
-
options<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
718
|
-
post<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
719
|
-
put<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
720
|
-
patch<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
712
|
+
getUri(config?: AxiosRequestConfig$1): string;
|
|
713
|
+
request<T = any, R = AxiosResponse$1<T>, D = any>(config: AxiosRequestConfig$1<D>): Promise<R>;
|
|
714
|
+
get<T = any, R = AxiosResponse$1<T>, D = any>(url: string, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
715
|
+
delete<T = any, R = AxiosResponse$1<T>, D = any>(url: string, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
716
|
+
head<T = any, R = AxiosResponse$1<T>, D = any>(url: string, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
717
|
+
options<T = any, R = AxiosResponse$1<T>, D = any>(url: string, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
718
|
+
post<T = any, R = AxiosResponse$1<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
719
|
+
put<T = any, R = AxiosResponse$1<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
720
|
+
patch<T = any, R = AxiosResponse$1<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
interface AxiosInstance extends Axios {
|
|
724
|
-
(config: AxiosRequestConfig): AxiosPromise;
|
|
725
|
-
(url: string, config?: AxiosRequestConfig): AxiosPromise;
|
|
723
|
+
interface AxiosInstance$1 extends Axios$1 {
|
|
724
|
+
(config: AxiosRequestConfig$1): AxiosPromise$1;
|
|
725
|
+
(url: string, config?: AxiosRequestConfig$1): AxiosPromise$1;
|
|
726
726
|
}
|
|
727
727
|
|
|
728
728
|
/**
|
|
@@ -898,9 +898,9 @@ declare class Configuration {
|
|
|
898
898
|
*/
|
|
899
899
|
declare class BaseAPI {
|
|
900
900
|
protected basePath: string;
|
|
901
|
-
protected axios: AxiosInstance;
|
|
901
|
+
protected axios: AxiosInstance$1;
|
|
902
902
|
protected configuration: Configuration | undefined;
|
|
903
|
-
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
903
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance$1);
|
|
904
904
|
}
|
|
905
905
|
|
|
906
906
|
/**
|
|
@@ -7199,7 +7199,7 @@ declare class AssetsApi extends BaseAPI {
|
|
|
7199
7199
|
* @throws {RequiredError}
|
|
7200
7200
|
* @memberof AssetsApi
|
|
7201
7201
|
*/
|
|
7202
|
-
getAsset(requestParameters: AssetsApiGetAssetRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Asset, any>>;
|
|
7202
|
+
getAsset(requestParameters: AssetsApiGetAssetRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Asset, any>>;
|
|
7203
7203
|
/**
|
|
7204
7204
|
* Get a list of assets
|
|
7205
7205
|
* @summary Get a list of assets
|
|
@@ -7208,7 +7208,7 @@ declare class AssetsApi extends BaseAPI {
|
|
|
7208
7208
|
* @throws {RequiredError}
|
|
7209
7209
|
* @memberof AssetsApi
|
|
7210
7210
|
*/
|
|
7211
|
-
listAssets(requestParameters?: AssetsApiListAssetsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListAssetsResponse, any>>;
|
|
7211
|
+
listAssets(requestParameters?: AssetsApiListAssetsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListAssetsResponse, any>>;
|
|
7212
7212
|
}
|
|
7213
7213
|
/**
|
|
7214
7214
|
* Request parameters for getBalance operation in BalancesApi.
|
|
@@ -7281,7 +7281,7 @@ declare class BalancesApi extends BaseAPI {
|
|
|
7281
7281
|
* @throws {RequiredError}
|
|
7282
7282
|
* @memberof BalancesApi
|
|
7283
7283
|
*/
|
|
7284
|
-
getBalance(requestParameters: BalancesApiGetBalanceRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Balance, any>>;
|
|
7284
|
+
getBalance(requestParameters: BalancesApiGetBalanceRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Balance, any>>;
|
|
7285
7285
|
/**
|
|
7286
7286
|
* Get a list of balances for given user
|
|
7287
7287
|
* @summary Get a list of balances for given user
|
|
@@ -7290,7 +7290,7 @@ declare class BalancesApi extends BaseAPI {
|
|
|
7290
7290
|
* @throws {RequiredError}
|
|
7291
7291
|
* @memberof BalancesApi
|
|
7292
7292
|
*/
|
|
7293
|
-
listBalances(requestParameters: BalancesApiListBalancesRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListBalancesResponse, any>>;
|
|
7293
|
+
listBalances(requestParameters: BalancesApiListBalancesRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListBalancesResponse, any>>;
|
|
7294
7294
|
}
|
|
7295
7295
|
/**
|
|
7296
7296
|
* Request parameters for createCollection operation in CollectionsApi.
|
|
@@ -7450,7 +7450,7 @@ declare class CollectionsApi extends BaseAPI {
|
|
|
7450
7450
|
* @throws {RequiredError}
|
|
7451
7451
|
* @memberof CollectionsApi
|
|
7452
7452
|
*/
|
|
7453
|
-
createCollection(requestParameters: CollectionsApiCreateCollectionRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Collection, any>>;
|
|
7453
|
+
createCollection(requestParameters: CollectionsApiCreateCollectionRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Collection, any>>;
|
|
7454
7454
|
/**
|
|
7455
7455
|
* Get details of a collection at the given address
|
|
7456
7456
|
* @summary Get details of a collection at the given address
|
|
@@ -7459,7 +7459,7 @@ declare class CollectionsApi extends BaseAPI {
|
|
|
7459
7459
|
* @throws {RequiredError}
|
|
7460
7460
|
* @memberof CollectionsApi
|
|
7461
7461
|
*/
|
|
7462
|
-
getCollection(requestParameters: CollectionsApiGetCollectionRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Collection, any>>;
|
|
7462
|
+
getCollection(requestParameters: CollectionsApiGetCollectionRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Collection, any>>;
|
|
7463
7463
|
/**
|
|
7464
7464
|
* Get a list of collection filters
|
|
7465
7465
|
* @summary Get a list of collection filters
|
|
@@ -7468,7 +7468,7 @@ declare class CollectionsApi extends BaseAPI {
|
|
|
7468
7468
|
* @throws {RequiredError}
|
|
7469
7469
|
* @memberof CollectionsApi
|
|
7470
7470
|
*/
|
|
7471
|
-
listCollectionFilters(requestParameters: CollectionsApiListCollectionFiltersRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CollectionFilter, any>>;
|
|
7471
|
+
listCollectionFilters(requestParameters: CollectionsApiListCollectionFiltersRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CollectionFilter, any>>;
|
|
7472
7472
|
/**
|
|
7473
7473
|
* Get a list of collections
|
|
7474
7474
|
* @summary Get a list of collections
|
|
@@ -7477,7 +7477,7 @@ declare class CollectionsApi extends BaseAPI {
|
|
|
7477
7477
|
* @throws {RequiredError}
|
|
7478
7478
|
* @memberof CollectionsApi
|
|
7479
7479
|
*/
|
|
7480
|
-
listCollections(requestParameters?: CollectionsApiListCollectionsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListCollectionsResponse, any>>;
|
|
7480
|
+
listCollections(requestParameters?: CollectionsApiListCollectionsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListCollectionsResponse, any>>;
|
|
7481
7481
|
/**
|
|
7482
7482
|
* Update collection
|
|
7483
7483
|
* @summary Update collection
|
|
@@ -7486,7 +7486,7 @@ declare class CollectionsApi extends BaseAPI {
|
|
|
7486
7486
|
* @throws {RequiredError}
|
|
7487
7487
|
* @memberof CollectionsApi
|
|
7488
7488
|
*/
|
|
7489
|
-
updateCollection(requestParameters: CollectionsApiUpdateCollectionRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Collection, any>>;
|
|
7489
|
+
updateCollection(requestParameters: CollectionsApiUpdateCollectionRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Collection, any>>;
|
|
7490
7490
|
}
|
|
7491
7491
|
/**
|
|
7492
7492
|
* Request parameters for getDeposit operation in DepositsApi.
|
|
@@ -7632,7 +7632,7 @@ declare class DepositsApi extends BaseAPI {
|
|
|
7632
7632
|
* @throws {RequiredError}
|
|
7633
7633
|
* @memberof DepositsApi
|
|
7634
7634
|
*/
|
|
7635
|
-
getDeposit(requestParameters: DepositsApiGetDepositRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Deposit, any>>;
|
|
7635
|
+
getDeposit(requestParameters: DepositsApiGetDepositRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Deposit, any>>;
|
|
7636
7636
|
/**
|
|
7637
7637
|
* Gets details of a signable deposit
|
|
7638
7638
|
* @summary Gets details of a signable deposit
|
|
@@ -7641,7 +7641,7 @@ declare class DepositsApi extends BaseAPI {
|
|
|
7641
7641
|
* @throws {RequiredError}
|
|
7642
7642
|
* @memberof DepositsApi
|
|
7643
7643
|
*/
|
|
7644
|
-
getSignableDeposit(requestParameters: DepositsApiGetSignableDepositRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableDepositResponse, any>>;
|
|
7644
|
+
getSignableDeposit(requestParameters: DepositsApiGetSignableDepositRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableDepositResponse, any>>;
|
|
7645
7645
|
/**
|
|
7646
7646
|
* Get a list of deposits
|
|
7647
7647
|
* @summary Get a list of deposits
|
|
@@ -7650,7 +7650,7 @@ declare class DepositsApi extends BaseAPI {
|
|
|
7650
7650
|
* @throws {RequiredError}
|
|
7651
7651
|
* @memberof DepositsApi
|
|
7652
7652
|
*/
|
|
7653
|
-
listDeposits(requestParameters?: DepositsApiListDepositsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListDepositsResponse, any>>;
|
|
7653
|
+
listDeposits(requestParameters?: DepositsApiListDepositsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListDepositsResponse, any>>;
|
|
7654
7654
|
}
|
|
7655
7655
|
/**
|
|
7656
7656
|
* Request parameters for createExchange operation in ExchangesApi.
|
|
@@ -7810,7 +7810,7 @@ declare class ExchangesApi extends BaseAPI {
|
|
|
7810
7810
|
* @throws {RequiredError}
|
|
7811
7811
|
* @memberof ExchangesApi
|
|
7812
7812
|
*/
|
|
7813
|
-
createExchange(requestParameters: ExchangesApiCreateExchangeRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ExchangeCreateExchangeAndURLResponse, any>>;
|
|
7813
|
+
createExchange(requestParameters: ExchangesApiCreateExchangeRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ExchangeCreateExchangeAndURLResponse, any>>;
|
|
7814
7814
|
/**
|
|
7815
7815
|
* Accepts a transfer request and updates the transfer_status after processing transfer (offramp)
|
|
7816
7816
|
* @summary Accepts a transfer request and updates the transfer_status after processing transfer (offramp)
|
|
@@ -7819,7 +7819,7 @@ declare class ExchangesApi extends BaseAPI {
|
|
|
7819
7819
|
* @throws {RequiredError}
|
|
7820
7820
|
* @memberof ExchangesApi
|
|
7821
7821
|
*/
|
|
7822
|
-
createExchangeTransfer(requestParameters: ExchangesApiCreateExchangeTransferRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTransferResponseV1, any>>;
|
|
7822
|
+
createExchangeTransfer(requestParameters: ExchangesApiCreateExchangeTransferRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateTransferResponseV1, any>>;
|
|
7823
7823
|
/**
|
|
7824
7824
|
* Get an exchange by ID
|
|
7825
7825
|
* @summary Get an exchange by ID
|
|
@@ -7828,7 +7828,7 @@ declare class ExchangesApi extends BaseAPI {
|
|
|
7828
7828
|
* @throws {RequiredError}
|
|
7829
7829
|
* @memberof ExchangesApi
|
|
7830
7830
|
*/
|
|
7831
|
-
getExchange(requestParameters: ExchangesApiGetExchangeRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Exchange, any>>;
|
|
7831
|
+
getExchange(requestParameters: ExchangesApiGetExchangeRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Exchange, any>>;
|
|
7832
7832
|
/**
|
|
7833
7833
|
* Send a request for signable-transfer-details (offramp)
|
|
7834
7834
|
* @summary Send a request for signable-transfer-details (offramp)
|
|
@@ -7837,7 +7837,7 @@ declare class ExchangesApi extends BaseAPI {
|
|
|
7837
7837
|
* @throws {RequiredError}
|
|
7838
7838
|
* @memberof ExchangesApi
|
|
7839
7839
|
*/
|
|
7840
|
-
getExchangeSignableTransfer(requestParameters: ExchangesApiGetExchangeSignableTransferRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableTransferResponseV1, any>>;
|
|
7840
|
+
getExchangeSignableTransfer(requestParameters: ExchangesApiGetExchangeSignableTransferRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableTransferResponseV1, any>>;
|
|
7841
7841
|
/**
|
|
7842
7842
|
* Returns a list of exchanges based on the request
|
|
7843
7843
|
* @summary Returns a list of exchanges based on the request
|
|
@@ -7846,7 +7846,7 @@ declare class ExchangesApi extends BaseAPI {
|
|
|
7846
7846
|
* @throws {RequiredError}
|
|
7847
7847
|
* @memberof ExchangesApi
|
|
7848
7848
|
*/
|
|
7849
|
-
getExchanges(requestParameters?: ExchangesApiGetExchangesRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetTransactionsResponse, any>>;
|
|
7849
|
+
getExchanges(requestParameters?: ExchangesApiGetExchangesRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetTransactionsResponse, any>>;
|
|
7850
7850
|
}
|
|
7851
7851
|
/**
|
|
7852
7852
|
* Request parameters for addMetadataSchemaToCollection operation in MetadataApi.
|
|
@@ -7944,7 +7944,7 @@ declare class MetadataApi extends BaseAPI {
|
|
|
7944
7944
|
* @throws {RequiredError}
|
|
7945
7945
|
* @memberof MetadataApi
|
|
7946
7946
|
*/
|
|
7947
|
-
addMetadataSchemaToCollection(requestParameters: MetadataApiAddMetadataSchemaToCollectionRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SuccessResponse, any>>;
|
|
7947
|
+
addMetadataSchemaToCollection(requestParameters: MetadataApiAddMetadataSchemaToCollectionRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<SuccessResponse, any>>;
|
|
7948
7948
|
/**
|
|
7949
7949
|
* Get collection metadata schema
|
|
7950
7950
|
* @summary Get collection metadata schema
|
|
@@ -7953,7 +7953,7 @@ declare class MetadataApi extends BaseAPI {
|
|
|
7953
7953
|
* @throws {RequiredError}
|
|
7954
7954
|
* @memberof MetadataApi
|
|
7955
7955
|
*/
|
|
7956
|
-
getMetadataSchema(requestParameters: MetadataApiGetMetadataSchemaRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<MetadataSchemaProperty[], any>>;
|
|
7956
|
+
getMetadataSchema(requestParameters: MetadataApiGetMetadataSchemaRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<MetadataSchemaProperty[], any>>;
|
|
7957
7957
|
/**
|
|
7958
7958
|
* Update metadata schema by name
|
|
7959
7959
|
* @summary Update metadata schema by name
|
|
@@ -7962,7 +7962,7 @@ declare class MetadataApi extends BaseAPI {
|
|
|
7962
7962
|
* @throws {RequiredError}
|
|
7963
7963
|
* @memberof MetadataApi
|
|
7964
7964
|
*/
|
|
7965
|
-
updateMetadataSchemaByName(requestParameters: MetadataApiUpdateMetadataSchemaByNameRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SuccessResponse, any>>;
|
|
7965
|
+
updateMetadataSchemaByName(requestParameters: MetadataApiUpdateMetadataSchemaByNameRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<SuccessResponse, any>>;
|
|
7966
7966
|
}
|
|
7967
7967
|
/**
|
|
7968
7968
|
* Request parameters for getAListOfMetadataRefreshes operation in MetadataRefreshesApi.
|
|
@@ -8126,7 +8126,7 @@ declare class MetadataRefreshesApi extends BaseAPI {
|
|
|
8126
8126
|
* @throws {RequiredError}
|
|
8127
8127
|
* @memberof MetadataRefreshesApi
|
|
8128
8128
|
*/
|
|
8129
|
-
getAListOfMetadataRefreshes(requestParameters: MetadataRefreshesApiGetAListOfMetadataRefreshesRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetMetadataRefreshes, any>>;
|
|
8129
|
+
getAListOfMetadataRefreshes(requestParameters: MetadataRefreshesApiGetAListOfMetadataRefreshesRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetMetadataRefreshes, any>>;
|
|
8130
8130
|
/**
|
|
8131
8131
|
* Get metadata refresh errors
|
|
8132
8132
|
* @param {MetadataRefreshesApiGetMetadataRefreshErrorsRequest} requestParameters Request parameters.
|
|
@@ -8134,7 +8134,7 @@ declare class MetadataRefreshesApi extends BaseAPI {
|
|
|
8134
8134
|
* @throws {RequiredError}
|
|
8135
8135
|
* @memberof MetadataRefreshesApi
|
|
8136
8136
|
*/
|
|
8137
|
-
getMetadataRefreshErrors(requestParameters: MetadataRefreshesApiGetMetadataRefreshErrorsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetMetadataRefreshErrorsResponse, any>>;
|
|
8137
|
+
getMetadataRefreshErrors(requestParameters: MetadataRefreshesApiGetMetadataRefreshErrorsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetMetadataRefreshErrorsResponse, any>>;
|
|
8138
8138
|
/**
|
|
8139
8139
|
* Get metadata refresh results
|
|
8140
8140
|
* @param {MetadataRefreshesApiGetMetadataRefreshResultsRequest} requestParameters Request parameters.
|
|
@@ -8142,7 +8142,7 @@ declare class MetadataRefreshesApi extends BaseAPI {
|
|
|
8142
8142
|
* @throws {RequiredError}
|
|
8143
8143
|
* @memberof MetadataRefreshesApi
|
|
8144
8144
|
*/
|
|
8145
|
-
getMetadataRefreshResults(requestParameters: MetadataRefreshesApiGetMetadataRefreshResultsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetMetadataRefreshResponse, any>>;
|
|
8145
|
+
getMetadataRefreshResults(requestParameters: MetadataRefreshesApiGetMetadataRefreshResultsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetMetadataRefreshResponse, any>>;
|
|
8146
8146
|
/**
|
|
8147
8147
|
* Request metadata refresh for provided tokens
|
|
8148
8148
|
* @param {MetadataRefreshesApiRequestAMetadataRefreshRequest} requestParameters Request parameters.
|
|
@@ -8150,7 +8150,7 @@ declare class MetadataRefreshesApi extends BaseAPI {
|
|
|
8150
8150
|
* @throws {RequiredError}
|
|
8151
8151
|
* @memberof MetadataRefreshesApi
|
|
8152
8152
|
*/
|
|
8153
|
-
requestAMetadataRefresh(requestParameters: MetadataRefreshesApiRequestAMetadataRefreshRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateMetadataRefreshResponse, any>>;
|
|
8153
|
+
requestAMetadataRefresh(requestParameters: MetadataRefreshesApiRequestAMetadataRefreshRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateMetadataRefreshResponse, any>>;
|
|
8154
8154
|
}
|
|
8155
8155
|
/**
|
|
8156
8156
|
* Request parameters for getMint operation in MintsApi.
|
|
@@ -8309,7 +8309,7 @@ declare class MintsApi extends BaseAPI {
|
|
|
8309
8309
|
* @throws {RequiredError}
|
|
8310
8310
|
* @memberof MintsApi
|
|
8311
8311
|
*/
|
|
8312
|
-
getMint(requestParameters: MintsApiGetMintRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Mint[], any>>;
|
|
8312
|
+
getMint(requestParameters: MintsApiGetMintRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Mint[], any>>;
|
|
8313
8313
|
/**
|
|
8314
8314
|
* Get details of a mintable token with the given token address and token ID
|
|
8315
8315
|
* @summary Get details of a mintable token with the given token address and token ID
|
|
@@ -8318,7 +8318,7 @@ declare class MintsApi extends BaseAPI {
|
|
|
8318
8318
|
* @throws {RequiredError}
|
|
8319
8319
|
* @memberof MintsApi
|
|
8320
8320
|
*/
|
|
8321
|
-
getMintableTokenDetailsByClientTokenId(requestParameters: MintsApiGetMintableTokenDetailsByClientTokenIdRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<MintableTokenDetails, any>>;
|
|
8321
|
+
getMintableTokenDetailsByClientTokenId(requestParameters: MintsApiGetMintableTokenDetailsByClientTokenIdRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<MintableTokenDetails, any>>;
|
|
8322
8322
|
/**
|
|
8323
8323
|
* Get information about token mints. If you want to get information about tokens that have already been minted, use the listAssets endpoint.
|
|
8324
8324
|
* @summary Get a list of mints
|
|
@@ -8327,7 +8327,7 @@ declare class MintsApi extends BaseAPI {
|
|
|
8327
8327
|
* @throws {RequiredError}
|
|
8328
8328
|
* @memberof MintsApi
|
|
8329
8329
|
*/
|
|
8330
|
-
listMints(requestParameters?: MintsApiListMintsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListMintsResponse, any>>;
|
|
8330
|
+
listMints(requestParameters?: MintsApiListMintsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListMintsResponse, any>>;
|
|
8331
8331
|
/**
|
|
8332
8332
|
* Mint tokens in a batch with fees
|
|
8333
8333
|
* @summary Mint Tokens V2
|
|
@@ -8336,7 +8336,7 @@ declare class MintsApi extends BaseAPI {
|
|
|
8336
8336
|
* @throws {RequiredError}
|
|
8337
8337
|
* @memberof MintsApi
|
|
8338
8338
|
*/
|
|
8339
|
-
mintTokens(requestParameters: MintsApiMintTokensRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<MintTokensResponse, any>>;
|
|
8339
|
+
mintTokens(requestParameters: MintsApiMintTokensRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<MintTokensResponse, any>>;
|
|
8340
8340
|
}
|
|
8341
8341
|
/**
|
|
8342
8342
|
* Request parameters for createNftPrimary operation in NftCheckoutPrimaryApi.
|
|
@@ -8484,7 +8484,7 @@ declare class NftCheckoutPrimaryApi extends BaseAPI {
|
|
|
8484
8484
|
* @throws {RequiredError}
|
|
8485
8485
|
* @memberof NftCheckoutPrimaryApi
|
|
8486
8486
|
*/
|
|
8487
|
-
createNftPrimary(requestParameters: NftCheckoutPrimaryApiCreateNftPrimaryRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<NftprimarytransactionCreateResponse, any>>;
|
|
8487
|
+
createNftPrimary(requestParameters: NftCheckoutPrimaryApiCreateNftPrimaryRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<NftprimarytransactionCreateResponse, any>>;
|
|
8488
8488
|
/**
|
|
8489
8489
|
* Returns a list of supported currencies and their limits
|
|
8490
8490
|
* @summary Get currencies with limits
|
|
@@ -8493,7 +8493,7 @@ declare class NftCheckoutPrimaryApi extends BaseAPI {
|
|
|
8493
8493
|
* @throws {RequiredError}
|
|
8494
8494
|
* @memberof NftCheckoutPrimaryApi
|
|
8495
8495
|
*/
|
|
8496
|
-
getCurrenciesNFTCheckoutPrimary(requestParameters?: NftCheckoutPrimaryApiGetCurrenciesNFTCheckoutPrimaryRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CurrencyWithLimits, any>>;
|
|
8496
|
+
getCurrenciesNFTCheckoutPrimary(requestParameters?: NftCheckoutPrimaryApiGetCurrenciesNFTCheckoutPrimaryRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CurrencyWithLimits, any>>;
|
|
8497
8497
|
/**
|
|
8498
8498
|
* given a transaction id, returns the corresponding transaction representing a mint executed from a card payment
|
|
8499
8499
|
* @summary Get NFT primary sale transaction by id
|
|
@@ -8502,7 +8502,7 @@ declare class NftCheckoutPrimaryApi extends BaseAPI {
|
|
|
8502
8502
|
* @throws {RequiredError}
|
|
8503
8503
|
* @memberof NftCheckoutPrimaryApi
|
|
8504
8504
|
*/
|
|
8505
|
-
getNftPrimaryTransaction(requestParameters: NftCheckoutPrimaryApiGetNftPrimaryTransactionRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<NftprimarytransactionGetResponse, any>>;
|
|
8505
|
+
getNftPrimaryTransaction(requestParameters: NftCheckoutPrimaryApiGetNftPrimaryTransactionRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<NftprimarytransactionGetResponse, any>>;
|
|
8506
8506
|
/**
|
|
8507
8507
|
* Returns a list of NFT primary sales transactions
|
|
8508
8508
|
* @summary Get a list of NFT primary sales transactions
|
|
@@ -8511,7 +8511,7 @@ declare class NftCheckoutPrimaryApi extends BaseAPI {
|
|
|
8511
8511
|
* @throws {RequiredError}
|
|
8512
8512
|
* @memberof NftCheckoutPrimaryApi
|
|
8513
8513
|
*/
|
|
8514
|
-
getNftPrimaryTransactions(requestParameters?: NftCheckoutPrimaryApiGetNftPrimaryTransactionsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<NftprimarytransactionListTransactionsResponse, any>>;
|
|
8514
|
+
getNftPrimaryTransactions(requestParameters?: NftCheckoutPrimaryApiGetNftPrimaryTransactionsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<NftprimarytransactionListTransactionsResponse, any>>;
|
|
8515
8515
|
/**
|
|
8516
8516
|
* Registers a new contract for use in the minting with fiat card flow
|
|
8517
8517
|
* @summary Executes NFT primary sales contract registration
|
|
@@ -8520,7 +8520,7 @@ declare class NftCheckoutPrimaryApi extends BaseAPI {
|
|
|
8520
8520
|
* @throws {RequiredError}
|
|
8521
8521
|
* @memberof NftCheckoutPrimaryApi
|
|
8522
8522
|
*/
|
|
8523
|
-
registerNftPrimarySalesContract(requestParameters: NftCheckoutPrimaryApiRegisterNftPrimarySalesContractRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ContractCreateResponse, any>>;
|
|
8523
|
+
registerNftPrimarySalesContract(requestParameters: NftCheckoutPrimaryApiRegisterNftPrimarySalesContractRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ContractCreateResponse, any>>;
|
|
8524
8524
|
}
|
|
8525
8525
|
/**
|
|
8526
8526
|
* Request parameters for cancelOrderV3 operation in OrdersApi.
|
|
@@ -8843,7 +8843,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
8843
8843
|
* @throws {RequiredError}
|
|
8844
8844
|
* @memberof OrdersApi
|
|
8845
8845
|
*/
|
|
8846
|
-
cancelOrderV3(requestParameters: OrdersApiCancelOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CancelOrderResponse, any>>;
|
|
8846
|
+
cancelOrderV3(requestParameters: OrdersApiCancelOrderV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CancelOrderResponse, any>>;
|
|
8847
8847
|
/**
|
|
8848
8848
|
* Create an order using the v3 orderbook.
|
|
8849
8849
|
* @summary Create an order (V3)
|
|
@@ -8852,7 +8852,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
8852
8852
|
* @throws {RequiredError}
|
|
8853
8853
|
* @memberof OrdersApi
|
|
8854
8854
|
*/
|
|
8855
|
-
createOrderV3(requestParameters: OrdersApiCreateOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateOrderResponse, any>>;
|
|
8855
|
+
createOrderV3(requestParameters: OrdersApiCreateOrderV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateOrderResponse, any>>;
|
|
8856
8856
|
/**
|
|
8857
8857
|
* Get an order (V3)
|
|
8858
8858
|
* @summary Get an order (V3)
|
|
@@ -8861,7 +8861,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
8861
8861
|
* @throws {RequiredError}
|
|
8862
8862
|
* @memberof OrdersApi
|
|
8863
8863
|
*/
|
|
8864
|
-
getOrderV3(requestParameters: OrdersApiGetOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<OrderV3, any>>;
|
|
8864
|
+
getOrderV3(requestParameters: OrdersApiGetOrderV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<OrderV3, any>>;
|
|
8865
8865
|
/**
|
|
8866
8866
|
* Generate a signable cancel order message (V3)
|
|
8867
8867
|
* @summary Generate a signable cancel order message (V3)
|
|
@@ -8870,7 +8870,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
8870
8870
|
* @throws {RequiredError}
|
|
8871
8871
|
* @memberof OrdersApi
|
|
8872
8872
|
*/
|
|
8873
|
-
getSignableCancelOrderV3(requestParameters: OrdersApiGetSignableCancelOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableCancelOrderResponse, any>>;
|
|
8873
|
+
getSignableCancelOrderV3(requestParameters: OrdersApiGetSignableCancelOrderV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableCancelOrderResponse, any>>;
|
|
8874
8874
|
/**
|
|
8875
8875
|
* Generate a signable order request (V3)
|
|
8876
8876
|
* @summary Generate a signable order request (V3)
|
|
@@ -8879,7 +8879,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
8879
8879
|
* @throws {RequiredError}
|
|
8880
8880
|
* @memberof OrdersApi
|
|
8881
8881
|
*/
|
|
8882
|
-
getSignableOrder(requestParameters: OrdersApiGetSignableOrderRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableOrderResponse, any>>;
|
|
8882
|
+
getSignableOrder(requestParameters: OrdersApiGetSignableOrderRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableOrderResponse, any>>;
|
|
8883
8883
|
/**
|
|
8884
8884
|
* Get a list of orders (V3)
|
|
8885
8885
|
* @summary Get a list of orders (V3)
|
|
@@ -8888,7 +8888,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
8888
8888
|
* @throws {RequiredError}
|
|
8889
8889
|
* @memberof OrdersApi
|
|
8890
8890
|
*/
|
|
8891
|
-
listOrdersV3(requestParameters?: OrdersApiListOrdersV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<ListOrdersResponseV3, any>>;
|
|
8891
|
+
listOrdersV3(requestParameters?: OrdersApiListOrdersV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListOrdersResponseV3, any>>;
|
|
8892
8892
|
}
|
|
8893
8893
|
/**
|
|
8894
8894
|
* Request parameters for createProject operation in ProjectsApi.
|
|
@@ -9024,7 +9024,7 @@ declare class ProjectsApi extends BaseAPI {
|
|
|
9024
9024
|
* @throws {RequiredError}
|
|
9025
9025
|
* @memberof ProjectsApi
|
|
9026
9026
|
*/
|
|
9027
|
-
createProject(requestParameters: ProjectsApiCreateProjectRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateProjectResponse, any>>;
|
|
9027
|
+
createProject(requestParameters: ProjectsApiCreateProjectRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateProjectResponse, any>>;
|
|
9028
9028
|
/**
|
|
9029
9029
|
* Get a project
|
|
9030
9030
|
* @summary Get a project
|
|
@@ -9033,7 +9033,7 @@ declare class ProjectsApi extends BaseAPI {
|
|
|
9033
9033
|
* @throws {RequiredError}
|
|
9034
9034
|
* @memberof ProjectsApi
|
|
9035
9035
|
*/
|
|
9036
|
-
getProject(requestParameters: ProjectsApiGetProjectRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Project, any>>;
|
|
9036
|
+
getProject(requestParameters: ProjectsApiGetProjectRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Project, any>>;
|
|
9037
9037
|
/**
|
|
9038
9038
|
* Get projects
|
|
9039
9039
|
* @summary Get projects
|
|
@@ -9042,7 +9042,7 @@ declare class ProjectsApi extends BaseAPI {
|
|
|
9042
9042
|
* @throws {RequiredError}
|
|
9043
9043
|
* @memberof ProjectsApi
|
|
9044
9044
|
*/
|
|
9045
|
-
getProjects(requestParameters: ProjectsApiGetProjectsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetProjectsResponse, any>>;
|
|
9045
|
+
getProjects(requestParameters: ProjectsApiGetProjectsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetProjectsResponse, any>>;
|
|
9046
9046
|
/**
|
|
9047
9047
|
* Checks the SDK Version of caller against the current SDK Version and returns a message.
|
|
9048
9048
|
* @summary Checks the SDK Version of caller against the current SDK Version
|
|
@@ -9051,7 +9051,7 @@ declare class ProjectsApi extends BaseAPI {
|
|
|
9051
9051
|
* @throws {RequiredError}
|
|
9052
9052
|
* @memberof ProjectsApi
|
|
9053
9053
|
*/
|
|
9054
|
-
getSdkVersion(requestParameters: ProjectsApiGetSdkVersionRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ApiSDKVersionCheckResponse, any>>;
|
|
9054
|
+
getSdkVersion(requestParameters: ProjectsApiGetSdkVersionRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ApiSDKVersionCheckResponse, any>>;
|
|
9055
9055
|
}
|
|
9056
9056
|
/**
|
|
9057
9057
|
* Request parameters for getToken operation in TokensApi.
|
|
@@ -9124,7 +9124,7 @@ declare class TokensApi extends BaseAPI {
|
|
|
9124
9124
|
* @throws {RequiredError}
|
|
9125
9125
|
* @memberof TokensApi
|
|
9126
9126
|
*/
|
|
9127
|
-
getToken(requestParameters: TokensApiGetTokenRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<TokenDetails, any>>;
|
|
9127
|
+
getToken(requestParameters: TokensApiGetTokenRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<TokenDetails, any>>;
|
|
9128
9128
|
/**
|
|
9129
9129
|
* Get a list of tokens
|
|
9130
9130
|
* @summary Get a list of tokens
|
|
@@ -9133,7 +9133,7 @@ declare class TokensApi extends BaseAPI {
|
|
|
9133
9133
|
* @throws {RequiredError}
|
|
9134
9134
|
* @memberof TokensApi
|
|
9135
9135
|
*/
|
|
9136
|
-
listTokens(requestParameters?: TokensApiListTokensRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListTokensResponse, any>>;
|
|
9136
|
+
listTokens(requestParameters?: TokensApiListTokensRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListTokensResponse, any>>;
|
|
9137
9137
|
}
|
|
9138
9138
|
/**
|
|
9139
9139
|
* Request parameters for createTradeV3 operation in TradesApi.
|
|
@@ -9280,7 +9280,7 @@ declare class TradesApi extends BaseAPI {
|
|
|
9280
9280
|
* @throws {RequiredError}
|
|
9281
9281
|
* @memberof TradesApi
|
|
9282
9282
|
*/
|
|
9283
|
-
createTradeV3(requestParameters: TradesApiCreateTradeV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTradeResponse, any>>;
|
|
9283
|
+
createTradeV3(requestParameters: TradesApiCreateTradeV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateTradeResponse, any>>;
|
|
9284
9284
|
/**
|
|
9285
9285
|
* Generate a signable trade message (V3)
|
|
9286
9286
|
* @summary Generate a signable trade message (V3)
|
|
@@ -9289,7 +9289,7 @@ declare class TradesApi extends BaseAPI {
|
|
|
9289
9289
|
* @throws {RequiredError}
|
|
9290
9290
|
* @memberof TradesApi
|
|
9291
9291
|
*/
|
|
9292
|
-
getSignableTrade(requestParameters: TradesApiGetSignableTradeRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableTradeResponse, any>>;
|
|
9292
|
+
getSignableTrade(requestParameters: TradesApiGetSignableTradeRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableTradeResponse, any>>;
|
|
9293
9293
|
/**
|
|
9294
9294
|
* Get details of a trade with the given ID
|
|
9295
9295
|
* @summary Get details of a trade with the given ID
|
|
@@ -9298,7 +9298,7 @@ declare class TradesApi extends BaseAPI {
|
|
|
9298
9298
|
* @throws {RequiredError}
|
|
9299
9299
|
* @memberof TradesApi
|
|
9300
9300
|
*/
|
|
9301
|
-
getTradeV3(requestParameters: TradesApiGetTradeV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<Trade, any>>;
|
|
9301
|
+
getTradeV3(requestParameters: TradesApiGetTradeV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Trade, any>>;
|
|
9302
9302
|
/**
|
|
9303
9303
|
* Get a list of trades (V3)
|
|
9304
9304
|
* @summary Get a list of trades (V3)
|
|
@@ -9307,7 +9307,7 @@ declare class TradesApi extends BaseAPI {
|
|
|
9307
9307
|
* @throws {RequiredError}
|
|
9308
9308
|
* @memberof TradesApi
|
|
9309
9309
|
*/
|
|
9310
|
-
listTradesV3(requestParameters?: TradesApiListTradesV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<ListTradesResponse, any>>;
|
|
9310
|
+
listTradesV3(requestParameters?: TradesApiListTradesV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListTradesResponse, any>>;
|
|
9311
9311
|
}
|
|
9312
9312
|
/**
|
|
9313
9313
|
* Request parameters for createTransfer operation in TransfersApi.
|
|
@@ -9534,7 +9534,7 @@ declare class TransfersApi extends BaseAPI {
|
|
|
9534
9534
|
* @throws {RequiredError}
|
|
9535
9535
|
* @memberof TransfersApi
|
|
9536
9536
|
*/
|
|
9537
|
-
createTransfer(requestParameters: TransfersApiCreateTransferRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTransferResponseV2, any>>;
|
|
9537
|
+
createTransfer(requestParameters: TransfersApiCreateTransferRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateTransferResponseV2, any>>;
|
|
9538
9538
|
/**
|
|
9539
9539
|
* Create a new transfer request. Use https://docs.x.immutable.com/reference#/operations/getSignableTransferV1 to get request body params.
|
|
9540
9540
|
* @summary Creates a transfer of tokens between two parties
|
|
@@ -9543,7 +9543,7 @@ declare class TransfersApi extends BaseAPI {
|
|
|
9543
9543
|
* @throws {RequiredError}
|
|
9544
9544
|
* @memberof TransfersApi
|
|
9545
9545
|
*/
|
|
9546
|
-
createTransferV1(requestParameters: TransfersApiCreateTransferV1Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTransferResponseV1, any>>;
|
|
9546
|
+
createTransferV1(requestParameters: TransfersApiCreateTransferV1Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateTransferResponseV1, any>>;
|
|
9547
9547
|
/**
|
|
9548
9548
|
* Gets bulk details of a signable transfer
|
|
9549
9549
|
* @summary Gets bulk details of a signable transfer
|
|
@@ -9552,7 +9552,7 @@ declare class TransfersApi extends BaseAPI {
|
|
|
9552
9552
|
* @throws {RequiredError}
|
|
9553
9553
|
* @memberof TransfersApi
|
|
9554
9554
|
*/
|
|
9555
|
-
getSignableTransfer(requestParameters: TransfersApiGetSignableTransferRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableTransferResponseV2, any>>;
|
|
9555
|
+
getSignableTransfer(requestParameters: TransfersApiGetSignableTransferRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableTransferResponseV2, any>>;
|
|
9556
9556
|
/**
|
|
9557
9557
|
* Gets details of a signable transfer
|
|
9558
9558
|
* @summary Gets details of a signable transfer
|
|
@@ -9561,7 +9561,7 @@ declare class TransfersApi extends BaseAPI {
|
|
|
9561
9561
|
* @throws {RequiredError}
|
|
9562
9562
|
* @memberof TransfersApi
|
|
9563
9563
|
*/
|
|
9564
|
-
getSignableTransferV1(requestParameters: TransfersApiGetSignableTransferV1Request, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableTransferResponseV1, any>>;
|
|
9564
|
+
getSignableTransferV1(requestParameters: TransfersApiGetSignableTransferV1Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableTransferResponseV1, any>>;
|
|
9565
9565
|
/**
|
|
9566
9566
|
* Get details of a transfer with the given ID
|
|
9567
9567
|
* @summary Get details of a transfer with the given ID
|
|
@@ -9570,7 +9570,7 @@ declare class TransfersApi extends BaseAPI {
|
|
|
9570
9570
|
* @throws {RequiredError}
|
|
9571
9571
|
* @memberof TransfersApi
|
|
9572
9572
|
*/
|
|
9573
|
-
getTransfer(requestParameters: TransfersApiGetTransferRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Transfer, any>>;
|
|
9573
|
+
getTransfer(requestParameters: TransfersApiGetTransferRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Transfer, any>>;
|
|
9574
9574
|
/**
|
|
9575
9575
|
* Get a list of transfers
|
|
9576
9576
|
* @summary Get a list of transfers
|
|
@@ -9579,7 +9579,7 @@ declare class TransfersApi extends BaseAPI {
|
|
|
9579
9579
|
* @throws {RequiredError}
|
|
9580
9580
|
* @memberof TransfersApi
|
|
9581
9581
|
*/
|
|
9582
|
-
listTransfers(requestParameters?: TransfersApiListTransfersRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListTransfersResponse, any>>;
|
|
9582
|
+
listTransfers(requestParameters?: TransfersApiListTransfersRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListTransfersResponse, any>>;
|
|
9583
9583
|
}
|
|
9584
9584
|
/**
|
|
9585
9585
|
* Request parameters for getSignableRegistration operation in UsersApi.
|
|
@@ -9667,7 +9667,7 @@ declare class UsersApi extends BaseAPI {
|
|
|
9667
9667
|
* @throws {RequiredError}
|
|
9668
9668
|
* @memberof UsersApi
|
|
9669
9669
|
*/
|
|
9670
|
-
getSignableRegistration(requestParameters: UsersApiGetSignableRegistrationRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableRegistrationResponse, any>>;
|
|
9670
|
+
getSignableRegistration(requestParameters: UsersApiGetSignableRegistrationRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableRegistrationResponse, any>>;
|
|
9671
9671
|
/**
|
|
9672
9672
|
* Get encoded details to allow clients to register the user offchain
|
|
9673
9673
|
* @summary Get encoded details to allow clients to register the user offchain
|
|
@@ -9676,7 +9676,7 @@ declare class UsersApi extends BaseAPI {
|
|
|
9676
9676
|
* @throws {RequiredError}
|
|
9677
9677
|
* @memberof UsersApi
|
|
9678
9678
|
*/
|
|
9679
|
-
getSignableRegistrationOffchain(requestParameters: UsersApiGetSignableRegistrationOffchainRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableRegistrationOffchainResponse, any>>;
|
|
9679
|
+
getSignableRegistrationOffchain(requestParameters: UsersApiGetSignableRegistrationOffchainRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableRegistrationOffchainResponse, any>>;
|
|
9680
9680
|
/**
|
|
9681
9681
|
* Get stark keys for a registered user
|
|
9682
9682
|
* @summary Get stark keys for a registered user
|
|
@@ -9685,7 +9685,7 @@ declare class UsersApi extends BaseAPI {
|
|
|
9685
9685
|
* @throws {RequiredError}
|
|
9686
9686
|
* @memberof UsersApi
|
|
9687
9687
|
*/
|
|
9688
|
-
getUsers(requestParameters: UsersApiGetUsersRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetUsersApiResponse, any>>;
|
|
9688
|
+
getUsers(requestParameters: UsersApiGetUsersRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetUsersApiResponse, any>>;
|
|
9689
9689
|
/**
|
|
9690
9690
|
* Registers a passport user
|
|
9691
9691
|
* @summary Registers a passport user
|
|
@@ -9694,7 +9694,7 @@ declare class UsersApi extends BaseAPI {
|
|
|
9694
9694
|
* @throws {RequiredError}
|
|
9695
9695
|
* @memberof UsersApi
|
|
9696
9696
|
*/
|
|
9697
|
-
registerPassportUser(requestParameters: UsersApiRegisterPassportUserRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<RegisterPassportUserResult, any>>;
|
|
9697
|
+
registerPassportUser(requestParameters: UsersApiRegisterPassportUserRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<RegisterPassportUserResult, any>>;
|
|
9698
9698
|
/**
|
|
9699
9699
|
* Registers a user
|
|
9700
9700
|
* @summary Registers a user
|
|
@@ -9703,7 +9703,7 @@ declare class UsersApi extends BaseAPI {
|
|
|
9703
9703
|
* @throws {RequiredError}
|
|
9704
9704
|
* @memberof UsersApi
|
|
9705
9705
|
*/
|
|
9706
|
-
registerUser(requestParameters: UsersApiRegisterUserRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<RegisterUserResponse, any>>;
|
|
9706
|
+
registerUser(requestParameters: UsersApiRegisterUserRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<RegisterUserResponse, any>>;
|
|
9707
9707
|
}
|
|
9708
9708
|
/**
|
|
9709
9709
|
* Request parameters for createWithdrawal operation in WithdrawalsApi.
|
|
@@ -9886,7 +9886,7 @@ declare class WithdrawalsApi extends BaseAPI {
|
|
|
9886
9886
|
* @throws {RequiredError}
|
|
9887
9887
|
* @memberof WithdrawalsApi
|
|
9888
9888
|
*/
|
|
9889
|
-
createWithdrawal(requestParameters: WithdrawalsApiCreateWithdrawalRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateWithdrawalResponse, any>>;
|
|
9889
|
+
createWithdrawal(requestParameters: WithdrawalsApiCreateWithdrawalRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateWithdrawalResponse, any>>;
|
|
9890
9890
|
/**
|
|
9891
9891
|
* Gets details of a signable withdrawal
|
|
9892
9892
|
* @summary Gets details of a signable withdrawal
|
|
@@ -9895,7 +9895,7 @@ declare class WithdrawalsApi extends BaseAPI {
|
|
|
9895
9895
|
* @throws {RequiredError}
|
|
9896
9896
|
* @memberof WithdrawalsApi
|
|
9897
9897
|
*/
|
|
9898
|
-
getSignableWithdrawal(requestParameters: WithdrawalsApiGetSignableWithdrawalRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableWithdrawalResponse, any>>;
|
|
9898
|
+
getSignableWithdrawal(requestParameters: WithdrawalsApiGetSignableWithdrawalRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableWithdrawalResponse, any>>;
|
|
9899
9899
|
/**
|
|
9900
9900
|
* Gets details of withdrawal with the given ID
|
|
9901
9901
|
* @summary Gets details of withdrawal with the given ID
|
|
@@ -9904,7 +9904,7 @@ declare class WithdrawalsApi extends BaseAPI {
|
|
|
9904
9904
|
* @throws {RequiredError}
|
|
9905
9905
|
* @memberof WithdrawalsApi
|
|
9906
9906
|
*/
|
|
9907
|
-
getWithdrawal(requestParameters: WithdrawalsApiGetWithdrawalRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Withdrawal, any>>;
|
|
9907
|
+
getWithdrawal(requestParameters: WithdrawalsApiGetWithdrawalRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Withdrawal, any>>;
|
|
9908
9908
|
/**
|
|
9909
9909
|
* Get a list of withdrawals
|
|
9910
9910
|
* @summary Get a list of withdrawals
|
|
@@ -9913,7 +9913,7 @@ declare class WithdrawalsApi extends BaseAPI {
|
|
|
9913
9913
|
* @throws {RequiredError}
|
|
9914
9914
|
* @memberof WithdrawalsApi
|
|
9915
9915
|
*/
|
|
9916
|
-
listWithdrawals(requestParameters?: WithdrawalsApiListWithdrawalsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListWithdrawalsResponse, any>>;
|
|
9916
|
+
listWithdrawals(requestParameters?: WithdrawalsApiListWithdrawalsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListWithdrawalsResponse, any>>;
|
|
9917
9917
|
}
|
|
9918
9918
|
|
|
9919
9919
|
/**
|
|
@@ -10916,15 +10916,15 @@ type NativeBuyToken = {
|
|
|
10916
10916
|
* Represents a ERC20 buy token
|
|
10917
10917
|
* @property {ItemType} type
|
|
10918
10918
|
* @property {string} amount
|
|
10919
|
-
* @property {string}
|
|
10919
|
+
* @property {string} tokenAddress
|
|
10920
10920
|
*/
|
|
10921
10921
|
type ERC20BuyToken = {
|
|
10922
10922
|
/** The type indicate this is a ERC20 token. */
|
|
10923
10923
|
type: ItemType.ERC20;
|
|
10924
10924
|
/** The amount of native token. */
|
|
10925
10925
|
amount: string;
|
|
10926
|
-
/** The
|
|
10927
|
-
|
|
10926
|
+
/** The token address of the ERC20. */
|
|
10927
|
+
tokenAddress: string;
|
|
10928
10928
|
};
|
|
10929
10929
|
/**
|
|
10930
10930
|
* The SellToken type
|
|
@@ -10965,16 +10965,16 @@ type NativeItemRequirement = {
|
|
|
10965
10965
|
/**
|
|
10966
10966
|
* Represents an ERC20 item requirement for a transaction.
|
|
10967
10967
|
* @property {ItemType.ERC20} type
|
|
10968
|
+
* @property {string} tokenAddress
|
|
10968
10969
|
* @property {string} amount
|
|
10969
|
-
* @property {string} contractAddress
|
|
10970
10970
|
* @property {string} spenderAddress
|
|
10971
10971
|
*/
|
|
10972
10972
|
type ERC20ItemRequirement = {
|
|
10973
10973
|
/** The type to indicate this is a ERC20 item requirement. */
|
|
10974
10974
|
type: ItemType.ERC20;
|
|
10975
|
+
/** The token address of the ERC20. */
|
|
10976
|
+
tokenAddress: string;
|
|
10975
10977
|
/** The amount of the item. */
|
|
10976
|
-
contractAddress: string;
|
|
10977
|
-
/** The contract address of the ERC20. */
|
|
10978
10978
|
amount: string;
|
|
10979
10979
|
/** The contract address of the approver. */
|
|
10980
10980
|
spenderAddress: string;
|
|
@@ -11068,14 +11068,14 @@ type NativeGas = {
|
|
|
11068
11068
|
/**
|
|
11069
11069
|
* Represents an ERC20 gas token.
|
|
11070
11070
|
* @property {GasTokenType} type
|
|
11071
|
-
* @property {string}
|
|
11071
|
+
* @property {string} tokenAddress
|
|
11072
11072
|
* @property {BigNumber} limit
|
|
11073
11073
|
*/
|
|
11074
11074
|
type ERC20Gas = {
|
|
11075
11075
|
/** The type to indicate this is an ERC20 gas token. */
|
|
11076
11076
|
type: GasTokenType.ERC20;
|
|
11077
|
-
/** The
|
|
11078
|
-
|
|
11077
|
+
/** The token address of the ERC20. */
|
|
11078
|
+
tokenAddress: string;
|
|
11079
11079
|
/** The gas limit. */
|
|
11080
11080
|
limit: BigNumber;
|
|
11081
11081
|
};
|
|
@@ -11183,6 +11183,8 @@ type FundingRoute = {
|
|
|
11183
11183
|
* @property {TokenInfo | undefined} token
|
|
11184
11184
|
*/
|
|
11185
11185
|
type Fee = {
|
|
11186
|
+
/** The type of fee */
|
|
11187
|
+
type: FeeType;
|
|
11186
11188
|
/** The amount of the fee */
|
|
11187
11189
|
amount: BigNumber;
|
|
11188
11190
|
/** The formatted amount of the fee */
|
|
@@ -11190,6 +11192,20 @@ type Fee = {
|
|
|
11190
11192
|
/** The token info for the fee */
|
|
11191
11193
|
token?: TokenInfo;
|
|
11192
11194
|
};
|
|
11195
|
+
/**
|
|
11196
|
+
* An enum representing the funding step types
|
|
11197
|
+
* @enum {string}
|
|
11198
|
+
* @property {string} GAS - If the fee is a gas fee.
|
|
11199
|
+
* @property {string} BRIDGE_FEE - If the fee is a bridge fee.
|
|
11200
|
+
* @property {string} SWAP_FEE - If the fee is a swap fee.
|
|
11201
|
+
* @property {string} IMMUTABLE_FEE - If the fee is an immutable fee.
|
|
11202
|
+
*/
|
|
11203
|
+
declare enum FeeType {
|
|
11204
|
+
GAS = "GAS",
|
|
11205
|
+
BRIDGE_FEE = "BRIDGE_FEE",
|
|
11206
|
+
SWAP_FEE = "SWAP_FEE",
|
|
11207
|
+
IMMUTABLE_FEE = "IMMUTABLE_FEE"
|
|
11208
|
+
}
|
|
11193
11209
|
type FundingStep = BridgeFundingStep | SwapFundingStep | OnRampFundingStep;
|
|
11194
11210
|
/**
|
|
11195
11211
|
* Represents a bridge funding route
|
|
@@ -11210,15 +11226,15 @@ type BridgeFundingStep = {
|
|
|
11210
11226
|
};
|
|
11211
11227
|
/**
|
|
11212
11228
|
* Represents the fees for a bridge funding step
|
|
11213
|
-
* @property {Fee}
|
|
11214
|
-
* @property {Fee}
|
|
11229
|
+
* @property {Fee} approvalGasFee
|
|
11230
|
+
* @property {Fee} bridgeGasFee
|
|
11215
11231
|
* @property {Fee[]} bridgeFees
|
|
11216
11232
|
*/
|
|
11217
11233
|
type BridgeFees = {
|
|
11218
|
-
/** The approval gas
|
|
11219
|
-
|
|
11220
|
-
/** The bridge gas
|
|
11221
|
-
|
|
11234
|
+
/** The approval gas fee for the bridge */
|
|
11235
|
+
approvalGasFee: Fee;
|
|
11236
|
+
/** The bridge gas fee for the bridge */
|
|
11237
|
+
bridgeGasFee: Fee;
|
|
11222
11238
|
/** Additional bridge fees for the bridge */
|
|
11223
11239
|
bridgeFees: Fee[];
|
|
11224
11240
|
};
|
|
@@ -11241,15 +11257,15 @@ type SwapFundingStep = {
|
|
|
11241
11257
|
};
|
|
11242
11258
|
/**
|
|
11243
11259
|
* Represents the fees for a swap funding step
|
|
11244
|
-
* @property {Fee}
|
|
11245
|
-
* @property {Fee}
|
|
11260
|
+
* @property {Fee} approvalGasFee
|
|
11261
|
+
* @property {Fee} swapGasFee
|
|
11246
11262
|
* @property {Fee[]} swapFees
|
|
11247
11263
|
*/
|
|
11248
11264
|
type SwapFees = {
|
|
11249
|
-
/** The approval gas
|
|
11250
|
-
|
|
11251
|
-
/** The swap gas
|
|
11252
|
-
|
|
11265
|
+
/** The approval gas fee for the swap */
|
|
11266
|
+
approvalGasFee: Fee;
|
|
11267
|
+
/** The swap gas fee for the swap */
|
|
11268
|
+
swapGasFee: Fee;
|
|
11253
11269
|
/** Additional swap fees for the swap */
|
|
11254
11270
|
swapFees: Fee[];
|
|
11255
11271
|
};
|
|
@@ -11512,12 +11528,14 @@ interface CheckoutBridgeConfiguration extends CheckoutFeatureConfiguration {
|
|
|
11512
11528
|
* @property {CheckoutSwapConfiguration} swap - To configure the swap feature.
|
|
11513
11529
|
* @property {CheckoutBridgeConfiguration} bridge - To configure the bridge feature.
|
|
11514
11530
|
* @property {Passport} passport - To enable passport wallet integration.
|
|
11531
|
+
* @property {string} publishableKey - To identify your integration for tracking and analytics purposes.
|
|
11515
11532
|
*/
|
|
11516
11533
|
interface CheckoutModuleConfiguration extends ModuleConfiguration<CheckoutOverrides> {
|
|
11517
11534
|
onRamp?: CheckoutOnRampConfiguration;
|
|
11518
11535
|
swap?: CheckoutSwapConfiguration;
|
|
11519
11536
|
bridge?: CheckoutBridgeConfiguration;
|
|
11520
11537
|
passport?: Passport;
|
|
11538
|
+
publishableKey?: string;
|
|
11521
11539
|
}
|
|
11522
11540
|
/**
|
|
11523
11541
|
* A type representing various remotely defined configurations which are
|
|
@@ -12018,23 +12036,413 @@ interface FiatRampParams {
|
|
|
12018
12036
|
passport?: any;
|
|
12019
12037
|
}
|
|
12020
12038
|
|
|
12039
|
+
// TypeScript Version: 4.7
|
|
12040
|
+
type AxiosHeaderValue = AxiosHeaders | string | string[] | number | boolean | null;
|
|
12041
|
+
|
|
12042
|
+
interface RawAxiosHeaders {
|
|
12043
|
+
[key: string]: AxiosHeaderValue;
|
|
12044
|
+
}
|
|
12045
|
+
|
|
12046
|
+
type MethodsHeaders = Partial<{
|
|
12047
|
+
[Key in Method as Lowercase<Key>]: AxiosHeaders;
|
|
12048
|
+
} & {common: AxiosHeaders}>;
|
|
12049
|
+
|
|
12050
|
+
type AxiosHeaderMatcher = (this: AxiosHeaders, value: string, name: string, headers: RawAxiosHeaders) => boolean;
|
|
12051
|
+
|
|
12052
|
+
declare class AxiosHeaders {
|
|
12053
|
+
constructor(
|
|
12054
|
+
headers?: RawAxiosHeaders | AxiosHeaders
|
|
12055
|
+
);
|
|
12056
|
+
|
|
12057
|
+
[key: string]: any;
|
|
12058
|
+
|
|
12059
|
+
set(headerName?: string, value?: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
12060
|
+
set(headers?: RawAxiosHeaders | AxiosHeaders, rewrite?: boolean): AxiosHeaders;
|
|
12061
|
+
|
|
12062
|
+
get(headerName: string, parser: RegExp): RegExpExecArray | null;
|
|
12063
|
+
get(headerName: string, matcher?: true | AxiosHeaderMatcher): AxiosHeaderValue;
|
|
12064
|
+
|
|
12065
|
+
has(header: string, matcher?: true | AxiosHeaderMatcher): boolean;
|
|
12066
|
+
|
|
12067
|
+
delete(header: string | string[], matcher?: AxiosHeaderMatcher): boolean;
|
|
12068
|
+
|
|
12069
|
+
clear(matcher?: AxiosHeaderMatcher): boolean;
|
|
12070
|
+
|
|
12071
|
+
normalize(format: boolean): AxiosHeaders;
|
|
12072
|
+
|
|
12073
|
+
concat(...targets: Array<AxiosHeaders | RawAxiosHeaders | string | undefined | null>): AxiosHeaders;
|
|
12074
|
+
|
|
12075
|
+
toJSON(asStrings?: boolean): RawAxiosHeaders;
|
|
12076
|
+
|
|
12077
|
+
static from(thing?: AxiosHeaders | RawAxiosHeaders | string): AxiosHeaders;
|
|
12078
|
+
|
|
12079
|
+
static accessor(header: string | string[]): AxiosHeaders;
|
|
12080
|
+
|
|
12081
|
+
static concat(...targets: Array<AxiosHeaders | RawAxiosHeaders | string | undefined | null>): AxiosHeaders;
|
|
12082
|
+
|
|
12083
|
+
setContentType(value: ContentType, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
12084
|
+
getContentType(parser?: RegExp): RegExpExecArray | null;
|
|
12085
|
+
getContentType(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
12086
|
+
hasContentType(matcher?: AxiosHeaderMatcher): boolean;
|
|
12087
|
+
|
|
12088
|
+
setContentLength(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
12089
|
+
getContentLength(parser?: RegExp): RegExpExecArray | null;
|
|
12090
|
+
getContentLength(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
12091
|
+
hasContentLength(matcher?: AxiosHeaderMatcher): boolean;
|
|
12092
|
+
|
|
12093
|
+
setAccept(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
12094
|
+
getAccept(parser?: RegExp): RegExpExecArray | null;
|
|
12095
|
+
getAccept(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
12096
|
+
hasAccept(matcher?: AxiosHeaderMatcher): boolean;
|
|
12097
|
+
|
|
12098
|
+
setUserAgent(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
12099
|
+
getUserAgent(parser?: RegExp): RegExpExecArray | null;
|
|
12100
|
+
getUserAgent(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
12101
|
+
hasUserAgent(matcher?: AxiosHeaderMatcher): boolean;
|
|
12102
|
+
|
|
12103
|
+
setContentEncoding(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
12104
|
+
getContentEncoding(parser?: RegExp): RegExpExecArray | null;
|
|
12105
|
+
getContentEncoding(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
12106
|
+
hasContentEncoding(matcher?: AxiosHeaderMatcher): boolean;
|
|
12107
|
+
|
|
12108
|
+
setAuthorization(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
12109
|
+
getAuthorization(parser?: RegExp): RegExpExecArray | null;
|
|
12110
|
+
getAuthorization(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
12111
|
+
hasAuthorization(matcher?: AxiosHeaderMatcher): boolean;
|
|
12112
|
+
|
|
12113
|
+
[Symbol.iterator](): IterableIterator<[string, AxiosHeaderValue]>;
|
|
12114
|
+
}
|
|
12115
|
+
|
|
12116
|
+
type CommonRequestHeadersList = 'Accept' | 'Content-Length' | 'User-Agent' | 'Content-Encoding' | 'Authorization';
|
|
12117
|
+
|
|
12118
|
+
type ContentType = AxiosHeaderValue | 'text/html' | 'text/plain' | 'multipart/form-data' | 'application/json' | 'application/x-www-form-urlencoded' | 'application/octet-stream';
|
|
12119
|
+
|
|
12120
|
+
type RawAxiosRequestHeaders = Partial<RawAxiosHeaders & {
|
|
12121
|
+
[Key in CommonRequestHeadersList]: AxiosHeaderValue;
|
|
12122
|
+
} & {
|
|
12123
|
+
'Content-Type': ContentType
|
|
12124
|
+
}>;
|
|
12125
|
+
|
|
12126
|
+
type AxiosRequestHeaders = RawAxiosRequestHeaders & AxiosHeaders;
|
|
12127
|
+
|
|
12128
|
+
type CommonResponseHeadersList = 'Server' | 'Content-Type' | 'Content-Length' | 'Cache-Control'| 'Content-Encoding';
|
|
12129
|
+
|
|
12130
|
+
type RawCommonResponseHeaders = {
|
|
12131
|
+
[Key in CommonResponseHeadersList]: AxiosHeaderValue;
|
|
12132
|
+
} & {
|
|
12133
|
+
"set-cookie": string[];
|
|
12134
|
+
};
|
|
12135
|
+
|
|
12136
|
+
type RawAxiosResponseHeaders = Partial<RawAxiosHeaders & RawCommonResponseHeaders>;
|
|
12137
|
+
|
|
12138
|
+
type AxiosResponseHeaders = RawAxiosResponseHeaders & AxiosHeaders;
|
|
12139
|
+
|
|
12140
|
+
interface AxiosRequestTransformer {
|
|
12141
|
+
(this: InternalAxiosRequestConfig, data: any, headers: AxiosRequestHeaders): any;
|
|
12142
|
+
}
|
|
12143
|
+
|
|
12144
|
+
interface AxiosResponseTransformer {
|
|
12145
|
+
(this: InternalAxiosRequestConfig, data: any, headers: AxiosResponseHeaders, status?: number): any;
|
|
12146
|
+
}
|
|
12147
|
+
|
|
12148
|
+
interface AxiosAdapter {
|
|
12149
|
+
(config: InternalAxiosRequestConfig): AxiosPromise;
|
|
12150
|
+
}
|
|
12151
|
+
|
|
12152
|
+
interface AxiosBasicCredentials {
|
|
12153
|
+
username: string;
|
|
12154
|
+
password: string;
|
|
12155
|
+
}
|
|
12156
|
+
|
|
12157
|
+
interface AxiosProxyConfig {
|
|
12158
|
+
host: string;
|
|
12159
|
+
port: number;
|
|
12160
|
+
auth?: {
|
|
12161
|
+
username: string;
|
|
12162
|
+
password: string;
|
|
12163
|
+
};
|
|
12164
|
+
protocol?: string;
|
|
12165
|
+
}
|
|
12166
|
+
|
|
12167
|
+
type Method =
|
|
12168
|
+
| 'get' | 'GET'
|
|
12169
|
+
| 'delete' | 'DELETE'
|
|
12170
|
+
| 'head' | 'HEAD'
|
|
12171
|
+
| 'options' | 'OPTIONS'
|
|
12172
|
+
| 'post' | 'POST'
|
|
12173
|
+
| 'put' | 'PUT'
|
|
12174
|
+
| 'patch' | 'PATCH'
|
|
12175
|
+
| 'purge' | 'PURGE'
|
|
12176
|
+
| 'link' | 'LINK'
|
|
12177
|
+
| 'unlink' | 'UNLINK';
|
|
12178
|
+
|
|
12179
|
+
type ResponseType =
|
|
12180
|
+
| 'arraybuffer'
|
|
12181
|
+
| 'blob'
|
|
12182
|
+
| 'document'
|
|
12183
|
+
| 'json'
|
|
12184
|
+
| 'text'
|
|
12185
|
+
| 'stream';
|
|
12186
|
+
|
|
12187
|
+
type responseEncoding =
|
|
12188
|
+
| 'ascii' | 'ASCII'
|
|
12189
|
+
| 'ansi' | 'ANSI'
|
|
12190
|
+
| 'binary' | 'BINARY'
|
|
12191
|
+
| 'base64' | 'BASE64'
|
|
12192
|
+
| 'base64url' | 'BASE64URL'
|
|
12193
|
+
| 'hex' | 'HEX'
|
|
12194
|
+
| 'latin1' | 'LATIN1'
|
|
12195
|
+
| 'ucs-2' | 'UCS-2'
|
|
12196
|
+
| 'ucs2' | 'UCS2'
|
|
12197
|
+
| 'utf-8' | 'UTF-8'
|
|
12198
|
+
| 'utf8' | 'UTF8'
|
|
12199
|
+
| 'utf16le' | 'UTF16LE';
|
|
12200
|
+
|
|
12201
|
+
interface TransitionalOptions {
|
|
12202
|
+
silentJSONParsing?: boolean;
|
|
12203
|
+
forcedJSONParsing?: boolean;
|
|
12204
|
+
clarifyTimeoutError?: boolean;
|
|
12205
|
+
}
|
|
12206
|
+
|
|
12207
|
+
interface GenericAbortSignal {
|
|
12208
|
+
readonly aborted: boolean;
|
|
12209
|
+
onabort?: ((...args: any) => any) | null;
|
|
12210
|
+
addEventListener?: (...args: any) => any;
|
|
12211
|
+
removeEventListener?: (...args: any) => any;
|
|
12212
|
+
}
|
|
12213
|
+
|
|
12214
|
+
interface FormDataVisitorHelpers {
|
|
12215
|
+
defaultVisitor: SerializerVisitor;
|
|
12216
|
+
convertValue: (value: any) => any;
|
|
12217
|
+
isVisitable: (value: any) => boolean;
|
|
12218
|
+
}
|
|
12219
|
+
|
|
12220
|
+
interface SerializerVisitor {
|
|
12221
|
+
(
|
|
12222
|
+
this: GenericFormData,
|
|
12223
|
+
value: any,
|
|
12224
|
+
key: string | number,
|
|
12225
|
+
path: null | Array<string | number>,
|
|
12226
|
+
helpers: FormDataVisitorHelpers
|
|
12227
|
+
): boolean;
|
|
12228
|
+
}
|
|
12229
|
+
|
|
12230
|
+
interface SerializerOptions {
|
|
12231
|
+
visitor?: SerializerVisitor;
|
|
12232
|
+
dots?: boolean;
|
|
12233
|
+
metaTokens?: boolean;
|
|
12234
|
+
indexes?: boolean | null;
|
|
12235
|
+
}
|
|
12236
|
+
|
|
12237
|
+
// tslint:disable-next-line
|
|
12238
|
+
interface FormSerializerOptions extends SerializerOptions {
|
|
12239
|
+
}
|
|
12240
|
+
|
|
12241
|
+
interface ParamEncoder {
|
|
12242
|
+
(value: any, defaultEncoder: (value: any) => any): any;
|
|
12243
|
+
}
|
|
12244
|
+
|
|
12245
|
+
interface CustomParamsSerializer {
|
|
12246
|
+
(params: Record<string, any>, options?: ParamsSerializerOptions): string;
|
|
12247
|
+
}
|
|
12248
|
+
|
|
12249
|
+
interface ParamsSerializerOptions extends SerializerOptions {
|
|
12250
|
+
encode?: ParamEncoder;
|
|
12251
|
+
serialize?: CustomParamsSerializer;
|
|
12252
|
+
}
|
|
12253
|
+
|
|
12254
|
+
type MaxUploadRate = number;
|
|
12255
|
+
|
|
12256
|
+
type MaxDownloadRate = number;
|
|
12257
|
+
|
|
12258
|
+
type BrowserProgressEvent = any;
|
|
12259
|
+
|
|
12260
|
+
interface AxiosProgressEvent {
|
|
12261
|
+
loaded: number;
|
|
12262
|
+
total?: number;
|
|
12263
|
+
progress?: number;
|
|
12264
|
+
bytes: number;
|
|
12265
|
+
rate?: number;
|
|
12266
|
+
estimated?: number;
|
|
12267
|
+
upload?: boolean;
|
|
12268
|
+
download?: boolean;
|
|
12269
|
+
event?: BrowserProgressEvent;
|
|
12270
|
+
}
|
|
12271
|
+
|
|
12272
|
+
type Milliseconds = number;
|
|
12273
|
+
|
|
12274
|
+
type AxiosAdapterName = 'xhr' | 'http' | string;
|
|
12275
|
+
|
|
12276
|
+
type AxiosAdapterConfig = AxiosAdapter | AxiosAdapterName;
|
|
12277
|
+
|
|
12278
|
+
interface AxiosRequestConfig<D = any> {
|
|
12279
|
+
url?: string;
|
|
12280
|
+
method?: Method | string;
|
|
12281
|
+
baseURL?: string;
|
|
12282
|
+
transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
|
|
12283
|
+
transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
|
|
12284
|
+
headers?: (RawAxiosRequestHeaders & MethodsHeaders) | AxiosHeaders;
|
|
12285
|
+
params?: any;
|
|
12286
|
+
paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer;
|
|
12287
|
+
data?: D;
|
|
12288
|
+
timeout?: Milliseconds;
|
|
12289
|
+
timeoutErrorMessage?: string;
|
|
12290
|
+
withCredentials?: boolean;
|
|
12291
|
+
adapter?: AxiosAdapterConfig | AxiosAdapterConfig[];
|
|
12292
|
+
auth?: AxiosBasicCredentials;
|
|
12293
|
+
responseType?: ResponseType;
|
|
12294
|
+
responseEncoding?: responseEncoding | string;
|
|
12295
|
+
xsrfCookieName?: string;
|
|
12296
|
+
xsrfHeaderName?: string;
|
|
12297
|
+
onUploadProgress?: (progressEvent: AxiosProgressEvent) => void;
|
|
12298
|
+
onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void;
|
|
12299
|
+
maxContentLength?: number;
|
|
12300
|
+
validateStatus?: ((status: number) => boolean) | null;
|
|
12301
|
+
maxBodyLength?: number;
|
|
12302
|
+
maxRedirects?: number;
|
|
12303
|
+
maxRate?: number | [MaxUploadRate, MaxDownloadRate];
|
|
12304
|
+
beforeRedirect?: (options: Record<string, any>, responseDetails: { headers: Record<string, string> }) => void;
|
|
12305
|
+
socketPath?: string | null;
|
|
12306
|
+
transport?: any;
|
|
12307
|
+
httpAgent?: any;
|
|
12308
|
+
httpsAgent?: any;
|
|
12309
|
+
proxy?: AxiosProxyConfig | false;
|
|
12310
|
+
cancelToken?: CancelToken;
|
|
12311
|
+
decompress?: boolean;
|
|
12312
|
+
transitional?: TransitionalOptions;
|
|
12313
|
+
signal?: GenericAbortSignal;
|
|
12314
|
+
insecureHTTPParser?: boolean;
|
|
12315
|
+
env?: {
|
|
12316
|
+
FormData?: new (...args: any[]) => object;
|
|
12317
|
+
};
|
|
12318
|
+
formSerializer?: FormSerializerOptions;
|
|
12319
|
+
family?: 4 | 6 | undefined;
|
|
12320
|
+
lookup?: ((hostname: string, options: object, cb: (err: Error | null, address: string, family: number) => void) => void) |
|
|
12321
|
+
((hostname: string, options: object) => Promise<[address: string, family: number] | string>);
|
|
12322
|
+
}
|
|
12323
|
+
|
|
12324
|
+
interface InternalAxiosRequestConfig<D = any> extends AxiosRequestConfig<D> {
|
|
12325
|
+
headers: AxiosRequestHeaders;
|
|
12326
|
+
}
|
|
12327
|
+
|
|
12328
|
+
interface HeadersDefaults {
|
|
12329
|
+
common: RawAxiosRequestHeaders;
|
|
12330
|
+
delete: RawAxiosRequestHeaders;
|
|
12331
|
+
get: RawAxiosRequestHeaders;
|
|
12332
|
+
head: RawAxiosRequestHeaders;
|
|
12333
|
+
post: RawAxiosRequestHeaders;
|
|
12334
|
+
put: RawAxiosRequestHeaders;
|
|
12335
|
+
patch: RawAxiosRequestHeaders;
|
|
12336
|
+
options?: RawAxiosRequestHeaders;
|
|
12337
|
+
purge?: RawAxiosRequestHeaders;
|
|
12338
|
+
link?: RawAxiosRequestHeaders;
|
|
12339
|
+
unlink?: RawAxiosRequestHeaders;
|
|
12340
|
+
}
|
|
12341
|
+
|
|
12342
|
+
interface AxiosDefaults<D = any> extends Omit<AxiosRequestConfig<D>, 'headers'> {
|
|
12343
|
+
headers: HeadersDefaults;
|
|
12344
|
+
}
|
|
12345
|
+
|
|
12346
|
+
interface AxiosResponse<T = any, D = any> {
|
|
12347
|
+
data: T;
|
|
12348
|
+
status: number;
|
|
12349
|
+
statusText: string;
|
|
12350
|
+
headers: RawAxiosResponseHeaders | AxiosResponseHeaders;
|
|
12351
|
+
config: InternalAxiosRequestConfig<D>;
|
|
12352
|
+
request?: any;
|
|
12353
|
+
}
|
|
12354
|
+
|
|
12355
|
+
type AxiosPromise<T = any> = Promise<AxiosResponse<T>>;
|
|
12356
|
+
|
|
12357
|
+
interface Cancel {
|
|
12358
|
+
message: string | undefined;
|
|
12359
|
+
}
|
|
12360
|
+
|
|
12361
|
+
interface CancelToken {
|
|
12362
|
+
promise: Promise<Cancel>;
|
|
12363
|
+
reason?: Cancel;
|
|
12364
|
+
throwIfRequested(): void;
|
|
12365
|
+
}
|
|
12366
|
+
|
|
12367
|
+
interface AxiosInterceptorOptions {
|
|
12368
|
+
synchronous?: boolean;
|
|
12369
|
+
runWhen?: (config: InternalAxiosRequestConfig) => boolean;
|
|
12370
|
+
}
|
|
12371
|
+
|
|
12372
|
+
interface AxiosInterceptorManager<V> {
|
|
12373
|
+
use(onFulfilled?: ((value: V) => V | Promise<V>) | null, onRejected?: ((error: any) => any) | null, options?: AxiosInterceptorOptions): number;
|
|
12374
|
+
eject(id: number): void;
|
|
12375
|
+
clear(): void;
|
|
12376
|
+
}
|
|
12377
|
+
|
|
12378
|
+
declare class Axios {
|
|
12379
|
+
constructor(config?: AxiosRequestConfig);
|
|
12380
|
+
defaults: AxiosDefaults;
|
|
12381
|
+
interceptors: {
|
|
12382
|
+
request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
|
|
12383
|
+
response: AxiosInterceptorManager<AxiosResponse>;
|
|
12384
|
+
};
|
|
12385
|
+
getUri(config?: AxiosRequestConfig): string;
|
|
12386
|
+
request<T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R>;
|
|
12387
|
+
get<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
12388
|
+
delete<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
12389
|
+
head<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
12390
|
+
options<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
12391
|
+
post<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
12392
|
+
put<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
12393
|
+
patch<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
12394
|
+
postForm<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
12395
|
+
putForm<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
12396
|
+
patchForm<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
12397
|
+
}
|
|
12398
|
+
|
|
12399
|
+
interface AxiosInstance extends Axios {
|
|
12400
|
+
<T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R>;
|
|
12401
|
+
<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
12402
|
+
|
|
12403
|
+
defaults: Omit<AxiosDefaults, 'headers'> & {
|
|
12404
|
+
headers: HeadersDefaults & {
|
|
12405
|
+
[key: string]: AxiosHeaderValue
|
|
12406
|
+
}
|
|
12407
|
+
};
|
|
12408
|
+
}
|
|
12409
|
+
|
|
12410
|
+
interface GenericFormData {
|
|
12411
|
+
append(name: string, value: any, options?: any): any;
|
|
12412
|
+
}
|
|
12413
|
+
|
|
12414
|
+
declare class HttpClient {
|
|
12415
|
+
protected config: any;
|
|
12416
|
+
protected axiosInstance: AxiosInstance;
|
|
12417
|
+
constructor(config?: CheckoutModuleConfiguration);
|
|
12418
|
+
private shouldAddPublishableKey;
|
|
12419
|
+
private setupInterceptors;
|
|
12420
|
+
private processResponse;
|
|
12421
|
+
request(config: AxiosRequestConfig): Promise<AxiosResponse<any, any>>;
|
|
12422
|
+
get(url: string, config?: AxiosRequestConfig): Promise<AxiosResponse<any, any>>;
|
|
12423
|
+
post(url: string, data?: any, config?: AxiosRequestConfig): Promise<AxiosResponse<any, any>>;
|
|
12424
|
+
put(url: string, data?: any, config?: AxiosRequestConfig): Promise<AxiosResponse<any, any>>;
|
|
12425
|
+
delete(url: string, data?: any, config?: AxiosRequestConfig): Promise<AxiosResponse<any, any>>;
|
|
12426
|
+
}
|
|
12427
|
+
|
|
12021
12428
|
type RemoteConfigParams = {
|
|
12022
12429
|
isDevelopment: boolean;
|
|
12023
12430
|
isProduction: boolean;
|
|
12024
12431
|
};
|
|
12025
12432
|
declare class RemoteConfigFetcher {
|
|
12433
|
+
private httpClient;
|
|
12026
12434
|
private isDevelopment;
|
|
12027
12435
|
private isProduction;
|
|
12028
12436
|
private configCache;
|
|
12029
12437
|
private tokensCache;
|
|
12030
12438
|
private version;
|
|
12031
|
-
constructor(params: RemoteConfigParams);
|
|
12032
|
-
private static makeHttpRequest;
|
|
12439
|
+
constructor(httpClient: HttpClient, params: RemoteConfigParams);
|
|
12033
12440
|
private getEndpoint;
|
|
12034
12441
|
private loadConfig;
|
|
12035
12442
|
private loadConfigTokens;
|
|
12036
12443
|
getConfig(key?: keyof RemoteConfiguration): Promise<RemoteConfiguration | RemoteConfiguration[keyof RemoteConfiguration] | undefined>;
|
|
12037
12444
|
getTokensConfig(chainId: ChainId): Promise<ChainTokensConfig>;
|
|
12445
|
+
getHttpClient: () => HttpClient;
|
|
12038
12446
|
}
|
|
12039
12447
|
|
|
12040
12448
|
declare class CheckoutConfiguration {
|
|
@@ -12046,7 +12454,7 @@ declare class CheckoutConfiguration {
|
|
|
12046
12454
|
readonly remote: RemoteConfigFetcher;
|
|
12047
12455
|
readonly environment: Environment;
|
|
12048
12456
|
readonly networkMap: NetworkMap;
|
|
12049
|
-
constructor(config: CheckoutModuleConfiguration);
|
|
12457
|
+
constructor(config: CheckoutModuleConfiguration, httpClient: HttpClient);
|
|
12050
12458
|
}
|
|
12051
12459
|
|
|
12052
12460
|
interface FiatRampWidgetParams {
|
|
@@ -12088,7 +12496,42 @@ declare enum WidgetTheme {
|
|
|
12088
12496
|
type WidgetConfiguration = {
|
|
12089
12497
|
/** The theme of the Checkout Widget (default: "DARK") */
|
|
12090
12498
|
theme?: WidgetTheme;
|
|
12499
|
+
language?: WidgetLanguage;
|
|
12091
12500
|
};
|
|
12501
|
+
/**
|
|
12502
|
+
* Widget Language represents the language options for the Checkout Widgets.
|
|
12503
|
+
*/
|
|
12504
|
+
type WidgetLanguage = 'en' | 'ja' | 'ko' | 'zh';
|
|
12505
|
+
|
|
12506
|
+
/**
|
|
12507
|
+
* Connect Widget Configuration represents the configuration options for the Connect Widget.
|
|
12508
|
+
*/
|
|
12509
|
+
type ConnectWidgetConfiguration = {} & WidgetConfiguration;
|
|
12510
|
+
|
|
12511
|
+
/**
|
|
12512
|
+
* Bridge Widget Configuration represents the configuration options for the Bridge Widget.
|
|
12513
|
+
*/
|
|
12514
|
+
type BridgeWidgetConfiguration = {} & WidgetConfiguration;
|
|
12515
|
+
|
|
12516
|
+
/**
|
|
12517
|
+
* Wallet Widget Configuration represents the configuration options for the Wallet Widget.
|
|
12518
|
+
*/
|
|
12519
|
+
type WalletWidgetConfiguration = {} & WidgetConfiguration;
|
|
12520
|
+
|
|
12521
|
+
/**
|
|
12522
|
+
* Swap Widget Configuration represents the configuration options for the Swap Widget.
|
|
12523
|
+
*/
|
|
12524
|
+
type SwapWidgetConfiguration = {} & WidgetConfiguration;
|
|
12525
|
+
|
|
12526
|
+
/**
|
|
12527
|
+
* Onramp Widget Configuration represents the configuration options for the Onramp Widget.
|
|
12528
|
+
*/
|
|
12529
|
+
type OnrampWidgetConfiguration = {} & WidgetConfiguration;
|
|
12530
|
+
|
|
12531
|
+
/**
|
|
12532
|
+
* Sale Widget Configuration represents the configuration options for the Sale Widget.
|
|
12533
|
+
*/
|
|
12534
|
+
type SaleWidgetConfiguration = {} & WidgetConfiguration;
|
|
12092
12535
|
|
|
12093
12536
|
/**
|
|
12094
12537
|
* Enum representing the events emitted by the widgets.
|
|
@@ -12114,6 +12557,12 @@ declare enum ProviderEventType {
|
|
|
12114
12557
|
type ProviderUpdated = {
|
|
12115
12558
|
provider: Web3Provider;
|
|
12116
12559
|
};
|
|
12560
|
+
/**
|
|
12561
|
+
* Payload type for the LANGUAGE_CHANGED event
|
|
12562
|
+
*/
|
|
12563
|
+
type LanguageChanged = {
|
|
12564
|
+
language: WidgetLanguage;
|
|
12565
|
+
};
|
|
12117
12566
|
|
|
12118
12567
|
/**
|
|
12119
12568
|
* Enum representing possible Connect Widget event types.
|
|
@@ -12121,7 +12570,8 @@ type ProviderUpdated = {
|
|
|
12121
12570
|
declare enum ConnectEventType {
|
|
12122
12571
|
CLOSE_WIDGET = "close-widget",
|
|
12123
12572
|
SUCCESS = "success",
|
|
12124
|
-
FAILURE = "failure"
|
|
12573
|
+
FAILURE = "failure",
|
|
12574
|
+
LANGUAGE_CHANGED = "language-changed"
|
|
12125
12575
|
}
|
|
12126
12576
|
/**
|
|
12127
12577
|
* Represents a successful connection.
|
|
@@ -12149,7 +12599,8 @@ type ConnectionFailed = {
|
|
|
12149
12599
|
declare enum WalletEventType {
|
|
12150
12600
|
CLOSE_WIDGET = "close-widget",
|
|
12151
12601
|
NETWORK_SWITCH = "network-switch",
|
|
12152
|
-
DISCONNECT_WALLET = "disconnect-wallet"
|
|
12602
|
+
DISCONNECT_WALLET = "disconnect-wallet",
|
|
12603
|
+
LANGUAGE_CHANGED = "language-changed"
|
|
12153
12604
|
}
|
|
12154
12605
|
/**
|
|
12155
12606
|
* Represents an event that is triggered when the user switches the network in their wallet.
|
|
@@ -12177,7 +12628,8 @@ declare enum SwapEventType {
|
|
|
12177
12628
|
CLOSE_WIDGET = "close-widget",
|
|
12178
12629
|
SUCCESS = "success",
|
|
12179
12630
|
FAILURE = "failure",
|
|
12180
|
-
REJECTED = "rejected"
|
|
12631
|
+
REJECTED = "rejected",
|
|
12632
|
+
LANGUAGE_CHANGED = "language-changed"
|
|
12181
12633
|
}
|
|
12182
12634
|
/**
|
|
12183
12635
|
* Represents a successful swap transaction.
|
|
@@ -12218,7 +12670,8 @@ declare enum SaleEventType {
|
|
|
12218
12670
|
SUCCESS = "success",
|
|
12219
12671
|
FAILURE = "failure",
|
|
12220
12672
|
REJECTED = "rejected",
|
|
12221
|
-
TRANSACTION_SUCCESS = "transaction-success"
|
|
12673
|
+
TRANSACTION_SUCCESS = "transaction-success",
|
|
12674
|
+
LANGUAGE_CHANGED = "language-changed"
|
|
12222
12675
|
}
|
|
12223
12676
|
/**
|
|
12224
12677
|
* Represents a successful Sale transaction.
|
|
@@ -12267,7 +12720,8 @@ type SaleTransactionSuccess = {
|
|
|
12267
12720
|
declare enum BridgeEventType {
|
|
12268
12721
|
CLOSE_WIDGET = "close-widget",
|
|
12269
12722
|
FAILURE = "failure",
|
|
12270
|
-
TRANSACTION_SENT = "transaction-sent"
|
|
12723
|
+
TRANSACTION_SENT = "transaction-sent",
|
|
12724
|
+
LANGUAGE_CHANGED = "language-changed"
|
|
12271
12725
|
}
|
|
12272
12726
|
/**
|
|
12273
12727
|
* Represents a successful bridge transaction.
|
|
@@ -12359,7 +12813,8 @@ type OrchestrationEventData = RequestConnectEvent | RequestWalletEvent | Request
|
|
|
12359
12813
|
declare enum OnRampEventType {
|
|
12360
12814
|
CLOSE_WIDGET = "close-widget",
|
|
12361
12815
|
SUCCESS = "success",
|
|
12362
|
-
FAILURE = "failure"
|
|
12816
|
+
FAILURE = "failure",
|
|
12817
|
+
LANGUAGE_CHANGED = "language-changed"
|
|
12363
12818
|
}
|
|
12364
12819
|
/**
|
|
12365
12820
|
* Represents a successful on-ramp transaction.
|
|
@@ -12385,7 +12840,10 @@ declare enum ConnectTargetLayer {
|
|
|
12385
12840
|
LAYER1 = "LAYER1",
|
|
12386
12841
|
LAYER2 = "LAYER2"
|
|
12387
12842
|
}
|
|
12388
|
-
type ConnectWidgetParams = {
|
|
12843
|
+
type ConnectWidgetParams = {
|
|
12844
|
+
/** The language to use for the connect widget */
|
|
12845
|
+
language?: WidgetLanguage;
|
|
12846
|
+
};
|
|
12389
12847
|
|
|
12390
12848
|
/**
|
|
12391
12849
|
* Bridge Widget parameters
|
|
@@ -12400,6 +12858,8 @@ type BridgeWidgetParams = {
|
|
|
12400
12858
|
amount?: string;
|
|
12401
12859
|
/** The wallet provider name to use for the bridge widget */
|
|
12402
12860
|
walletProviderName?: WalletProviderName;
|
|
12861
|
+
/** The language to use for the bridge widget */
|
|
12862
|
+
language?: WidgetLanguage;
|
|
12403
12863
|
};
|
|
12404
12864
|
|
|
12405
12865
|
/**
|
|
@@ -12409,6 +12869,8 @@ type BridgeWidgetParams = {
|
|
|
12409
12869
|
type WalletWidgetParams = {
|
|
12410
12870
|
/** The wallet provider name to use for the wallet widget */
|
|
12411
12871
|
walletProviderName?: WalletProviderName;
|
|
12872
|
+
/** The language to use for the wallet widget */
|
|
12873
|
+
language?: WidgetLanguage;
|
|
12412
12874
|
};
|
|
12413
12875
|
|
|
12414
12876
|
/**
|
|
@@ -12427,6 +12889,8 @@ type SwapWidgetParams = {
|
|
|
12427
12889
|
toTokenAddress?: string;
|
|
12428
12890
|
/** The wallet provider name to use for the swap widget */
|
|
12429
12891
|
walletProviderName?: WalletProviderName;
|
|
12892
|
+
/** The language to use for the swap widget */
|
|
12893
|
+
language?: WidgetLanguage;
|
|
12430
12894
|
};
|
|
12431
12895
|
|
|
12432
12896
|
/**
|
|
@@ -12442,6 +12906,8 @@ type OnRampWidgetParams = {
|
|
|
12442
12906
|
amount?: string;
|
|
12443
12907
|
/** The wallet provider name to use for the onramp widget */
|
|
12444
12908
|
walletProviderName?: WalletProviderName;
|
|
12909
|
+
/** The language to use for the onramp widget */
|
|
12910
|
+
language?: WidgetLanguage;
|
|
12445
12911
|
};
|
|
12446
12912
|
|
|
12447
12913
|
/**
|
|
@@ -12461,6 +12927,8 @@ type SaleWidgetParams = {
|
|
|
12461
12927
|
items?: SaleItem[];
|
|
12462
12928
|
/** The wallet provider name to default to if no web3Provider is passed */
|
|
12463
12929
|
walletProviderName?: WalletProviderName;
|
|
12930
|
+
/** The language to use for the sales widget */
|
|
12931
|
+
language?: WidgetLanguage;
|
|
12464
12932
|
};
|
|
12465
12933
|
/**
|
|
12466
12934
|
* A product to be purchased
|
|
@@ -12483,36 +12951,6 @@ type SaleItem = {
|
|
|
12483
12951
|
description: string;
|
|
12484
12952
|
};
|
|
12485
12953
|
|
|
12486
|
-
/**
|
|
12487
|
-
* Connect Widget Configuration represents the configuration options for the Connect Widget.
|
|
12488
|
-
*/
|
|
12489
|
-
type ConnectWidgetConfiguration = {} & WidgetConfiguration;
|
|
12490
|
-
|
|
12491
|
-
/**
|
|
12492
|
-
* Bridge Widget Configuration represents the configuration options for the Bridge Widget.
|
|
12493
|
-
*/
|
|
12494
|
-
type BridgeWidgetConfiguration = {} & WidgetConfiguration;
|
|
12495
|
-
|
|
12496
|
-
/**
|
|
12497
|
-
* Wallet Widget Configuration represents the configuration options for the Wallet Widget.
|
|
12498
|
-
*/
|
|
12499
|
-
type WalletWidgetConfiguration = {} & WidgetConfiguration;
|
|
12500
|
-
|
|
12501
|
-
/**
|
|
12502
|
-
* Swap Widget Configuration represents the configuration options for the Swap Widget.
|
|
12503
|
-
*/
|
|
12504
|
-
type SwapWidgetConfiguration = {} & WidgetConfiguration;
|
|
12505
|
-
|
|
12506
|
-
/**
|
|
12507
|
-
* Onramp Widget Configuration represents the configuration options for the Onramp Widget.
|
|
12508
|
-
*/
|
|
12509
|
-
type OnrampWidgetConfiguration = {} & WidgetConfiguration;
|
|
12510
|
-
|
|
12511
|
-
/**
|
|
12512
|
-
* Sale Widget Configuration represents the configuration options for the Sale Widget.
|
|
12513
|
-
*/
|
|
12514
|
-
type SaleWidgetConfiguration = {} & WidgetConfiguration;
|
|
12515
|
-
|
|
12516
12954
|
/**
|
|
12517
12955
|
* Enum representing the list of widget types.
|
|
12518
12956
|
*/
|
|
@@ -12752,6 +13190,7 @@ type WidgetsInit = {
|
|
|
12752
13190
|
|
|
12753
13191
|
declare class Checkout {
|
|
12754
13192
|
private readOnlyProviders;
|
|
13193
|
+
private httpClient;
|
|
12755
13194
|
readonly config: CheckoutConfiguration;
|
|
12756
13195
|
readonly fiatRampService: FiatRampService;
|
|
12757
13196
|
readonly availability: AvailabilityService;
|
|
@@ -13028,4 +13467,4 @@ type ErrorType = {
|
|
|
13028
13467
|
};
|
|
13029
13468
|
};
|
|
13030
13469
|
|
|
13031
|
-
export { AllowedNetworkConfig, AvailableRoutingOptions, BalanceDelta, BridgeEventType, BridgeFailed, BridgeFundingStep, BridgeTransactionSent, BridgeWidgetConfiguration, BridgeWidgetParams, BuyOrder, BuyParams, BuyResult, BuyResultFailed, BuyResultInsufficientFunds, BuyResultSuccess, BuyToken, CancelParams, CancelResult, CancelResultFailed, CancelResultSuccess, ChainId, ChainName, ChainSlug, CheckConnectionParams, CheckConnectionResult, Checkout, CheckoutBridgeConfiguration, CheckoutConfiguration, CheckoutErrorType, CheckoutModuleConfiguration, CheckoutOnRampConfiguration, CheckoutStatus, CheckoutSwapConfiguration, CheckoutWidgetsConfig, ConnectEventType, ConnectParams, ConnectResult, ConnectTargetLayer, ConnectWidgetConfiguration, ConnectWidgetParams, ConnectionFailed, ConnectionSuccess, CreateProviderParams, CreateProviderResult, DexConfig, ERC20ItemRequirement, ERC721Balance, ERC721ItemRequirement, ErrorType, ExchangeType, Fee, FeePercentage, FeeToken, FiatRampParams, FulfillmentTransaction, FundingItem, FundingRoute, FundingStep, FundingStepType, GasAmount, GasEstimateBridgeToL2Result, GasEstimateParams, GasEstimateSwapResult, GasEstimateTokenConfig, GasEstimateType, GasToken, GasTokenType, GetAllBalancesParams, GetAllBalancesResult, GetBalanceParams, GetBalanceResult, GetNetworkAllowListParams, GetNetworkAllowListResult, GetNetworkParams, GetTokenAllowListParams, GetTokenAllowListResult, GetTokenInfoParams, GetWalletAllowListParams, GetWalletAllowListResult, IMMUTABLE_API_BASE_URL, IMTBLWidgetEvents, IWidgetsFactory, ItemBalance, ItemType, NativeItemRequirement, NetworkFilter, NetworkFilterTypes, NetworkInfo, NoRouteOptions, NoRoutesFound, OnRampEventType, OnRampFailed, OnRampFundingStep, OnRampProviderFees, OnRampSuccess, OnRampWidgetParams, OnrampWidgetConfiguration, OrchestrationEvent, OrchestrationEventData, OrchestrationEventType, OrderFee, ProviderEvent, ProviderEventType, ProviderUpdated, RemoteConfiguration, RequestBridgeEvent, RequestConnectEvent, RequestOnrampEvent, RequestSwapEvent, RequestWalletEvent, RoutesFound, RoutingOutcome, RoutingOutcomeType, SaleEventType, SaleFailed, SaleItem, SaleSuccess, SaleTransactionSuccess, SaleWidgetConfiguration, SaleWidgetParams, SellOrder, SellParams, SellResult, SellResultFailed, SellResultInsufficientFunds, SellResultSuccess, SellToken, SemanticVersion, SendTransactionParams, SendTransactionResult, SmartCheckoutInsufficient, SmartCheckoutParams, SmartCheckoutResult, SmartCheckoutRouter, SmartCheckoutSufficient, SwapEventType, SwapFailed, SwapFundingStep, SwapRejected, SwapSuccess, SwapWidgetConfiguration, SwapWidgetParams, SwitchNetworkParams, SwitchNetworkResult, TokenAmountEstimate, TokenBalance, TokenFilter, TokenFilterTypes, TokenInfo, TransactionOrGasType, TransactionRequirement, WalletDisconnect, WalletEventType, WalletFilter, WalletFilterTypes, WalletInfo, WalletNetworkSwitch, WalletProviderName, WalletWidgetConfiguration, WalletWidgetParams, Widget, WidgetConfiguration, WidgetConfigurations, WidgetEvent, WidgetEventData, WidgetEventTypes, WidgetParameters, WidgetProperties, WidgetTheme, WidgetType };
|
|
13470
|
+
export { AllowedNetworkConfig, AvailableRoutingOptions, BalanceDelta, BridgeEventType, BridgeFailed, BridgeFundingStep, BridgeTransactionSent, BridgeWidgetConfiguration, BridgeWidgetParams, BuyOrder, BuyParams, BuyResult, BuyResultFailed, BuyResultInsufficientFunds, BuyResultSuccess, BuyToken, CancelParams, CancelResult, CancelResultFailed, CancelResultSuccess, ChainId, ChainName, ChainSlug, CheckConnectionParams, CheckConnectionResult, Checkout, CheckoutBridgeConfiguration, CheckoutConfiguration, CheckoutErrorType, CheckoutModuleConfiguration, CheckoutOnRampConfiguration, CheckoutStatus, CheckoutSwapConfiguration, CheckoutWidgetsConfig, ConnectEventType, ConnectParams, ConnectResult, ConnectTargetLayer, ConnectWidgetConfiguration, ConnectWidgetParams, ConnectionFailed, ConnectionSuccess, CreateProviderParams, CreateProviderResult, DexConfig, ERC20ItemRequirement, ERC721Balance, ERC721ItemRequirement, ErrorType, ExchangeType, Fee, FeePercentage, FeeToken, FeeType, FiatRampParams, FulfillmentTransaction, FundingItem, FundingRoute, FundingStep, FundingStepType, GasAmount, GasEstimateBridgeToL2Result, GasEstimateParams, GasEstimateSwapResult, GasEstimateTokenConfig, GasEstimateType, GasToken, GasTokenType, GetAllBalancesParams, GetAllBalancesResult, GetBalanceParams, GetBalanceResult, GetNetworkAllowListParams, GetNetworkAllowListResult, GetNetworkParams, GetTokenAllowListParams, GetTokenAllowListResult, GetTokenInfoParams, GetWalletAllowListParams, GetWalletAllowListResult, IMMUTABLE_API_BASE_URL, IMTBLWidgetEvents, IWidgetsFactory, ItemBalance, ItemType, LanguageChanged, NativeItemRequirement, NetworkFilter, NetworkFilterTypes, NetworkInfo, NoRouteOptions, NoRoutesFound, OnRampEventType, OnRampFailed, OnRampFundingStep, OnRampProviderFees, OnRampSuccess, OnRampWidgetParams, OnrampWidgetConfiguration, OrchestrationEvent, OrchestrationEventData, OrchestrationEventType, OrderFee, ProviderEvent, ProviderEventType, ProviderUpdated, RemoteConfiguration, RequestBridgeEvent, RequestConnectEvent, RequestOnrampEvent, RequestSwapEvent, RequestWalletEvent, RoutesFound, RoutingOutcome, RoutingOutcomeType, SaleEventType, SaleFailed, SaleItem, SaleSuccess, SaleTransactionSuccess, SaleWidgetConfiguration, SaleWidgetParams, SellOrder, SellParams, SellResult, SellResultFailed, SellResultInsufficientFunds, SellResultSuccess, SellToken, SemanticVersion, SendTransactionParams, SendTransactionResult, SmartCheckoutInsufficient, SmartCheckoutParams, SmartCheckoutResult, SmartCheckoutRouter, SmartCheckoutSufficient, SwapEventType, SwapFailed, SwapFundingStep, SwapRejected, SwapSuccess, SwapWidgetConfiguration, SwapWidgetParams, SwitchNetworkParams, SwitchNetworkResult, TokenAmountEstimate, TokenBalance, TokenFilter, TokenFilterTypes, TokenInfo, TransactionOrGasType, TransactionRequirement, WalletDisconnect, WalletEventType, WalletFilter, WalletFilterTypes, WalletInfo, WalletNetworkSwitch, WalletProviderName, WalletWidgetConfiguration, WalletWidgetParams, Widget, WidgetConfiguration, WidgetConfigurations, WidgetEvent, WidgetEventData, WidgetEventTypes, WidgetLanguage, WidgetParameters, WidgetProperties, WidgetTheme, WidgetType };
|