@imtbl/sdk 0.1.6-alpha → 0.1.7-alpha.1
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/browser/checkout.js +2 -0
- package/dist/checkout_sdk.d.ts +61 -61
- package/dist/checkout_sdk.js +272 -164
- package/dist/checkout_widgets.d.ts +1011 -879
- package/dist/checkout_widgets.js +46 -45
- package/dist/immutablex_client.js +2 -2
- package/dist/index.cjs +2256 -319
- package/dist/index.d.ts +1666 -346
- package/dist/index.js +2256 -322
- package/dist/orderbook.d.ts +57 -0
- package/dist/orderbook.js +1833 -0
- package/dist/passport.d.ts +1154 -1
- package/dist/passport.js +18 -13
- package/dist/provider.d.ts +0 -1
- package/dist/provider.js +80 -76
- package/package.json +15 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/// <reference path="global.d.ts" />
|
|
2
2
|
/// <reference types="node" />
|
|
3
3
|
import { ProviderConfiguration as ProviderConfiguration$1 } from 'config';
|
|
4
|
+
import { OrderbookModuleConfiguration } from 'config/config';
|
|
5
|
+
import { Order as Order$1 } from 'openapi/sdk';
|
|
6
|
+
import { PrepareListingParams, PrepareListingResponse, CreateOrderParams, FulfilOrderResponse, CancelOrderResponse as CancelOrderResponse$1 } from 'types';
|
|
4
7
|
|
|
5
8
|
declare enum Environment {
|
|
6
9
|
PRODUCTION = "production",
|
|
@@ -83,7 +86,7 @@ declare type AccessList = Array<{
|
|
|
83
86
|
storageKeys: Array<string>;
|
|
84
87
|
}>;
|
|
85
88
|
declare type AccessListish = AccessList | Array<[string, Array<string>]> | Record<string, Array<string>>;
|
|
86
|
-
interface Transaction$
|
|
89
|
+
interface Transaction$2 {
|
|
87
90
|
hash?: string;
|
|
88
91
|
to?: string;
|
|
89
92
|
from?: string;
|
|
@@ -139,7 +142,7 @@ declare type TransactionRequest = {
|
|
|
139
142
|
customData?: Record<string, any>;
|
|
140
143
|
ccipReadEnabled?: boolean;
|
|
141
144
|
};
|
|
142
|
-
interface TransactionResponse extends Transaction$
|
|
145
|
+
interface TransactionResponse extends Transaction$2 {
|
|
143
146
|
hash: string;
|
|
144
147
|
blockNumber?: number;
|
|
145
148
|
blockHash?: string;
|
|
@@ -432,7 +435,7 @@ declare class BaseProvider extends Provider implements EnsProvider {
|
|
|
432
435
|
get ready(): Promise<Network$1>;
|
|
433
436
|
static getFormatter(): Formatter;
|
|
434
437
|
static getNetwork(network: Networkish): Network$1;
|
|
435
|
-
ccipReadFetch(tx: Transaction$
|
|
438
|
+
ccipReadFetch(tx: Transaction$2, calldata: string, urls: Array<string>): Promise<null | string>;
|
|
436
439
|
_getInternalBlockNumber(maxAge: number): Promise<number>;
|
|
437
440
|
poll(): Promise<void>;
|
|
438
441
|
resetEventsBlock(blockNumber: number): void;
|
|
@@ -461,9 +464,9 @@ declare class BaseProvider extends Provider implements EnsProvider {
|
|
|
461
464
|
getTransactionCount(addressOrName: string | Promise<string>, blockTag?: BlockTag | Promise<BlockTag>): Promise<number>;
|
|
462
465
|
getCode(addressOrName: string | Promise<string>, blockTag?: BlockTag | Promise<BlockTag>): Promise<string>;
|
|
463
466
|
getStorageAt(addressOrName: string | Promise<string>, position: BigNumberish | Promise<BigNumberish>, blockTag?: BlockTag | Promise<BlockTag>): Promise<string>;
|
|
464
|
-
_wrapTransaction(tx: Transaction$
|
|
467
|
+
_wrapTransaction(tx: Transaction$2, hash?: string, startBlock?: number): TransactionResponse;
|
|
465
468
|
sendTransaction(signedTransaction: string | Promise<string>): Promise<TransactionResponse>;
|
|
466
|
-
_getTransactionRequest(transaction: Deferrable<TransactionRequest>): Promise<Transaction$
|
|
469
|
+
_getTransactionRequest(transaction: Deferrable<TransactionRequest>): Promise<Transaction$2>;
|
|
467
470
|
_getFilter(filter: Filter | FilterByBlockHash | Promise<Filter | FilterByBlockHash>): Promise<Filter | FilterByBlockHash>;
|
|
468
471
|
_call(transaction: TransactionRequest, blockTag: BlockTag, attempt: number): Promise<string>;
|
|
469
472
|
call(transaction: Deferrable<TransactionRequest>, blockTag?: BlockTag | Promise<BlockTag>): Promise<string>;
|
|
@@ -568,30 +571,30 @@ declare class Web3Provider extends JsonRpcProvider {
|
|
|
568
571
|
|
|
569
572
|
// TypeScript Version: 3.0
|
|
570
573
|
|
|
571
|
-
type AxiosRequestHeaders = Record<string, string | number | boolean>;
|
|
574
|
+
type AxiosRequestHeaders$1 = Record<string, string | number | boolean>;
|
|
572
575
|
|
|
573
|
-
type AxiosResponseHeaders = Record<string, string> & {
|
|
576
|
+
type AxiosResponseHeaders$1 = Record<string, string> & {
|
|
574
577
|
"set-cookie"?: string[]
|
|
575
578
|
};
|
|
576
579
|
|
|
577
|
-
interface AxiosRequestTransformer {
|
|
578
|
-
(data: any, headers?: AxiosRequestHeaders): any;
|
|
580
|
+
interface AxiosRequestTransformer$1 {
|
|
581
|
+
(data: any, headers?: AxiosRequestHeaders$1): any;
|
|
579
582
|
}
|
|
580
583
|
|
|
581
|
-
interface AxiosResponseTransformer {
|
|
582
|
-
(data: any, headers?: AxiosResponseHeaders): any;
|
|
584
|
+
interface AxiosResponseTransformer$1 {
|
|
585
|
+
(data: any, headers?: AxiosResponseHeaders$1): any;
|
|
583
586
|
}
|
|
584
587
|
|
|
585
|
-
interface AxiosAdapter {
|
|
586
|
-
(config: AxiosRequestConfig): AxiosPromise;
|
|
588
|
+
interface AxiosAdapter$1 {
|
|
589
|
+
(config: AxiosRequestConfig$1): AxiosPromise$1;
|
|
587
590
|
}
|
|
588
591
|
|
|
589
|
-
interface AxiosBasicCredentials {
|
|
592
|
+
interface AxiosBasicCredentials$1 {
|
|
590
593
|
username: string;
|
|
591
594
|
password: string;
|
|
592
595
|
}
|
|
593
596
|
|
|
594
|
-
interface AxiosProxyConfig {
|
|
597
|
+
interface AxiosProxyConfig$1 {
|
|
595
598
|
host: string;
|
|
596
599
|
port: number;
|
|
597
600
|
auth?: {
|
|
@@ -601,7 +604,7 @@ interface AxiosProxyConfig {
|
|
|
601
604
|
protocol?: string;
|
|
602
605
|
}
|
|
603
606
|
|
|
604
|
-
type Method =
|
|
607
|
+
type Method$1 =
|
|
605
608
|
| 'get' | 'GET'
|
|
606
609
|
| 'delete' | 'DELETE'
|
|
607
610
|
| 'head' | 'HEAD'
|
|
@@ -613,7 +616,7 @@ type Method =
|
|
|
613
616
|
| 'link' | 'LINK'
|
|
614
617
|
| 'unlink' | 'UNLINK';
|
|
615
618
|
|
|
616
|
-
type ResponseType =
|
|
619
|
+
type ResponseType$1 =
|
|
617
620
|
| 'arraybuffer'
|
|
618
621
|
| 'blob'
|
|
619
622
|
| 'document'
|
|
@@ -621,7 +624,7 @@ type ResponseType =
|
|
|
621
624
|
| 'text'
|
|
622
625
|
| 'stream';
|
|
623
626
|
|
|
624
|
-
type responseEncoding =
|
|
627
|
+
type responseEncoding$1 =
|
|
625
628
|
| 'ascii' | 'ASCII'
|
|
626
629
|
| 'ansi' | 'ANSI'
|
|
627
630
|
| 'binary' | 'BINARY'
|
|
@@ -635,29 +638,29 @@ type ResponseType =
|
|
|
635
638
|
| 'utf8' | 'UTF8'
|
|
636
639
|
| 'utf16le' | 'UTF16LE';
|
|
637
640
|
|
|
638
|
-
interface TransitionalOptions {
|
|
641
|
+
interface TransitionalOptions$1 {
|
|
639
642
|
silentJSONParsing?: boolean;
|
|
640
643
|
forcedJSONParsing?: boolean;
|
|
641
644
|
clarifyTimeoutError?: boolean;
|
|
642
645
|
}
|
|
643
646
|
|
|
644
|
-
interface AxiosRequestConfig<D = any> {
|
|
647
|
+
interface AxiosRequestConfig$1<D = any> {
|
|
645
648
|
url?: string;
|
|
646
|
-
method?: Method;
|
|
649
|
+
method?: Method$1;
|
|
647
650
|
baseURL?: string;
|
|
648
|
-
transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
|
|
649
|
-
transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
|
|
650
|
-
headers?: AxiosRequestHeaders;
|
|
651
|
+
transformRequest?: AxiosRequestTransformer$1 | AxiosRequestTransformer$1[];
|
|
652
|
+
transformResponse?: AxiosResponseTransformer$1 | AxiosResponseTransformer$1[];
|
|
653
|
+
headers?: AxiosRequestHeaders$1;
|
|
651
654
|
params?: any;
|
|
652
655
|
paramsSerializer?: (params: any) => string;
|
|
653
656
|
data?: D;
|
|
654
657
|
timeout?: number;
|
|
655
658
|
timeoutErrorMessage?: string;
|
|
656
659
|
withCredentials?: boolean;
|
|
657
|
-
adapter?: AxiosAdapter;
|
|
658
|
-
auth?: AxiosBasicCredentials;
|
|
659
|
-
responseType?: ResponseType;
|
|
660
|
-
responseEncoding?: responseEncoding | string;
|
|
660
|
+
adapter?: AxiosAdapter$1;
|
|
661
|
+
auth?: AxiosBasicCredentials$1;
|
|
662
|
+
responseType?: ResponseType$1;
|
|
663
|
+
responseEncoding?: responseEncoding$1 | string;
|
|
661
664
|
xsrfCookieName?: string;
|
|
662
665
|
xsrfHeaderName?: string;
|
|
663
666
|
onUploadProgress?: (progressEvent: any) => void;
|
|
@@ -669,80 +672,80 @@ interface AxiosRequestConfig<D = any> {
|
|
|
669
672
|
socketPath?: string | null;
|
|
670
673
|
httpAgent?: any;
|
|
671
674
|
httpsAgent?: any;
|
|
672
|
-
proxy?: AxiosProxyConfig | false;
|
|
673
|
-
cancelToken?: CancelToken;
|
|
675
|
+
proxy?: AxiosProxyConfig$1 | false;
|
|
676
|
+
cancelToken?: CancelToken$1;
|
|
674
677
|
decompress?: boolean;
|
|
675
|
-
transitional?: TransitionalOptions;
|
|
678
|
+
transitional?: TransitionalOptions$1;
|
|
676
679
|
signal?: AbortSignal;
|
|
677
680
|
insecureHTTPParser?: boolean;
|
|
678
681
|
}
|
|
679
682
|
|
|
680
|
-
interface HeadersDefaults {
|
|
681
|
-
common: AxiosRequestHeaders;
|
|
682
|
-
delete: AxiosRequestHeaders;
|
|
683
|
-
get: AxiosRequestHeaders;
|
|
684
|
-
head: AxiosRequestHeaders;
|
|
685
|
-
post: AxiosRequestHeaders;
|
|
686
|
-
put: AxiosRequestHeaders;
|
|
687
|
-
patch: AxiosRequestHeaders;
|
|
688
|
-
options?: AxiosRequestHeaders;
|
|
689
|
-
purge?: AxiosRequestHeaders;
|
|
690
|
-
link?: AxiosRequestHeaders;
|
|
691
|
-
unlink?: AxiosRequestHeaders;
|
|
683
|
+
interface HeadersDefaults$1 {
|
|
684
|
+
common: AxiosRequestHeaders$1;
|
|
685
|
+
delete: AxiosRequestHeaders$1;
|
|
686
|
+
get: AxiosRequestHeaders$1;
|
|
687
|
+
head: AxiosRequestHeaders$1;
|
|
688
|
+
post: AxiosRequestHeaders$1;
|
|
689
|
+
put: AxiosRequestHeaders$1;
|
|
690
|
+
patch: AxiosRequestHeaders$1;
|
|
691
|
+
options?: AxiosRequestHeaders$1;
|
|
692
|
+
purge?: AxiosRequestHeaders$1;
|
|
693
|
+
link?: AxiosRequestHeaders$1;
|
|
694
|
+
unlink?: AxiosRequestHeaders$1;
|
|
692
695
|
}
|
|
693
696
|
|
|
694
|
-
interface AxiosDefaults<D = any> extends Omit<AxiosRequestConfig<D>, 'headers'> {
|
|
695
|
-
headers: HeadersDefaults;
|
|
697
|
+
interface AxiosDefaults$1<D = any> extends Omit<AxiosRequestConfig$1<D>, 'headers'> {
|
|
698
|
+
headers: HeadersDefaults$1;
|
|
696
699
|
}
|
|
697
700
|
|
|
698
|
-
interface AxiosResponse<T = any, D = any> {
|
|
701
|
+
interface AxiosResponse$1<T = any, D = any> {
|
|
699
702
|
data: T;
|
|
700
703
|
status: number;
|
|
701
704
|
statusText: string;
|
|
702
|
-
headers: AxiosResponseHeaders;
|
|
703
|
-
config: AxiosRequestConfig<D>;
|
|
705
|
+
headers: AxiosResponseHeaders$1;
|
|
706
|
+
config: AxiosRequestConfig$1<D>;
|
|
704
707
|
request?: any;
|
|
705
708
|
}
|
|
706
709
|
|
|
707
|
-
interface AxiosPromise<T = any> extends Promise<AxiosResponse<T>> {
|
|
710
|
+
interface AxiosPromise$1<T = any> extends Promise<AxiosResponse$1<T>> {
|
|
708
711
|
}
|
|
709
712
|
|
|
710
|
-
interface Cancel {
|
|
713
|
+
interface Cancel$1 {
|
|
711
714
|
message: string | undefined;
|
|
712
715
|
}
|
|
713
716
|
|
|
714
|
-
interface CancelToken {
|
|
715
|
-
promise: Promise<Cancel>;
|
|
716
|
-
reason?: Cancel;
|
|
717
|
+
interface CancelToken$1 {
|
|
718
|
+
promise: Promise<Cancel$1>;
|
|
719
|
+
reason?: Cancel$1;
|
|
717
720
|
throwIfRequested(): void;
|
|
718
721
|
}
|
|
719
722
|
|
|
720
|
-
interface AxiosInterceptorManager<V> {
|
|
723
|
+
interface AxiosInterceptorManager$1<V> {
|
|
721
724
|
use<T = V>(onFulfilled?: (value: V) => T | Promise<T>, onRejected?: (error: any) => any): number;
|
|
722
725
|
eject(id: number): void;
|
|
723
726
|
}
|
|
724
727
|
|
|
725
|
-
declare class Axios {
|
|
726
|
-
constructor(config?: AxiosRequestConfig);
|
|
727
|
-
defaults: AxiosDefaults;
|
|
728
|
+
declare class Axios$1 {
|
|
729
|
+
constructor(config?: AxiosRequestConfig$1);
|
|
730
|
+
defaults: AxiosDefaults$1;
|
|
728
731
|
interceptors: {
|
|
729
|
-
request: AxiosInterceptorManager<AxiosRequestConfig>;
|
|
730
|
-
response: AxiosInterceptorManager<AxiosResponse>;
|
|
732
|
+
request: AxiosInterceptorManager$1<AxiosRequestConfig$1>;
|
|
733
|
+
response: AxiosInterceptorManager$1<AxiosResponse$1>;
|
|
731
734
|
};
|
|
732
|
-
getUri(config?: AxiosRequestConfig): string;
|
|
733
|
-
request<T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R>;
|
|
734
|
-
get<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
735
|
-
delete<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
736
|
-
head<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
737
|
-
options<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
738
|
-
post<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
739
|
-
put<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
740
|
-
patch<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
735
|
+
getUri(config?: AxiosRequestConfig$1): string;
|
|
736
|
+
request<T = any, R = AxiosResponse$1<T>, D = any>(config: AxiosRequestConfig$1<D>): Promise<R>;
|
|
737
|
+
get<T = any, R = AxiosResponse$1<T>, D = any>(url: string, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
738
|
+
delete<T = any, R = AxiosResponse$1<T>, D = any>(url: string, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
739
|
+
head<T = any, R = AxiosResponse$1<T>, D = any>(url: string, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
740
|
+
options<T = any, R = AxiosResponse$1<T>, D = any>(url: string, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
741
|
+
post<T = any, R = AxiosResponse$1<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
742
|
+
put<T = any, R = AxiosResponse$1<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
743
|
+
patch<T = any, R = AxiosResponse$1<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig$1<D>): Promise<R>;
|
|
741
744
|
}
|
|
742
745
|
|
|
743
|
-
interface AxiosInstance extends Axios {
|
|
744
|
-
(config: AxiosRequestConfig): AxiosPromise;
|
|
745
|
-
(url: string, config?: AxiosRequestConfig): AxiosPromise;
|
|
746
|
+
interface AxiosInstance$1 extends Axios$1 {
|
|
747
|
+
(config: AxiosRequestConfig$1): AxiosPromise$1;
|
|
748
|
+
(url: string, config?: AxiosRequestConfig$1): AxiosPromise$1;
|
|
746
749
|
}
|
|
747
750
|
|
|
748
751
|
/**
|
|
@@ -845,7 +848,7 @@ declare type ExchangeTokenAmount = ETHAmount | ERC20Amount;
|
|
|
845
848
|
* https://openapi-generator.tech
|
|
846
849
|
* Do not edit the class manually.
|
|
847
850
|
*/
|
|
848
|
-
interface ConfigurationParameters {
|
|
851
|
+
interface ConfigurationParameters$1 {
|
|
849
852
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
850
853
|
username?: string;
|
|
851
854
|
password?: string;
|
|
@@ -854,7 +857,7 @@ interface ConfigurationParameters {
|
|
|
854
857
|
baseOptions?: any;
|
|
855
858
|
formDataCtor?: new () => any;
|
|
856
859
|
}
|
|
857
|
-
declare class Configuration {
|
|
860
|
+
declare class Configuration$1 {
|
|
858
861
|
/**
|
|
859
862
|
* parameter for apiKey security
|
|
860
863
|
* @param name security name
|
|
@@ -904,7 +907,7 @@ declare class Configuration {
|
|
|
904
907
|
* @type {new () => FormData}
|
|
905
908
|
*/
|
|
906
909
|
formDataCtor?: new () => any;
|
|
907
|
-
constructor(param?: ConfigurationParameters);
|
|
910
|
+
constructor(param?: ConfigurationParameters$1);
|
|
908
911
|
/**
|
|
909
912
|
* Check if the given MIME is a JSON MIME.
|
|
910
913
|
* JSON MIME examples:
|
|
@@ -922,11 +925,11 @@ declare class Configuration {
|
|
|
922
925
|
* @export
|
|
923
926
|
* @class BaseAPI
|
|
924
927
|
*/
|
|
925
|
-
declare class BaseAPI {
|
|
928
|
+
declare class BaseAPI$1 {
|
|
926
929
|
protected basePath: string;
|
|
927
|
-
protected axios: AxiosInstance;
|
|
928
|
-
protected configuration: Configuration | undefined;
|
|
929
|
-
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
930
|
+
protected axios: AxiosInstance$1;
|
|
931
|
+
protected configuration: Configuration$1 | undefined;
|
|
932
|
+
constructor(configuration?: Configuration$1, basePath?: string, axios?: AxiosInstance$1);
|
|
930
933
|
}
|
|
931
934
|
|
|
932
935
|
/**
|
|
@@ -7080,7 +7083,7 @@ interface AssetsApiListAssetsRequest {
|
|
|
7080
7083
|
* @class AssetsApi
|
|
7081
7084
|
* @extends {BaseAPI}
|
|
7082
7085
|
*/
|
|
7083
|
-
declare class AssetsApi extends BaseAPI {
|
|
7086
|
+
declare class AssetsApi extends BaseAPI$1 {
|
|
7084
7087
|
/**
|
|
7085
7088
|
* Get details of an asset
|
|
7086
7089
|
* @summary Get details of an asset
|
|
@@ -7089,7 +7092,7 @@ declare class AssetsApi extends BaseAPI {
|
|
|
7089
7092
|
* @throws {RequiredError}
|
|
7090
7093
|
* @memberof AssetsApi
|
|
7091
7094
|
*/
|
|
7092
|
-
getAsset(requestParameters: AssetsApiGetAssetRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Asset, any>>;
|
|
7095
|
+
getAsset(requestParameters: AssetsApiGetAssetRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Asset, any>>;
|
|
7093
7096
|
/**
|
|
7094
7097
|
* Get a list of assets
|
|
7095
7098
|
* @summary Get a list of assets
|
|
@@ -7098,7 +7101,7 @@ declare class AssetsApi extends BaseAPI {
|
|
|
7098
7101
|
* @throws {RequiredError}
|
|
7099
7102
|
* @memberof AssetsApi
|
|
7100
7103
|
*/
|
|
7101
|
-
listAssets(requestParameters?: AssetsApiListAssetsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListAssetsResponse, any>>;
|
|
7104
|
+
listAssets(requestParameters?: AssetsApiListAssetsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListAssetsResponse, any>>;
|
|
7102
7105
|
}
|
|
7103
7106
|
/**
|
|
7104
7107
|
* Request parameters for getBalance operation in BalancesApi.
|
|
@@ -7162,7 +7165,7 @@ interface BalancesApiListBalancesRequest {
|
|
|
7162
7165
|
* @class BalancesApi
|
|
7163
7166
|
* @extends {BaseAPI}
|
|
7164
7167
|
*/
|
|
7165
|
-
declare class BalancesApi extends BaseAPI {
|
|
7168
|
+
declare class BalancesApi extends BaseAPI$1 {
|
|
7166
7169
|
/**
|
|
7167
7170
|
* Fetches the token balances of the user
|
|
7168
7171
|
* @summary Fetches the token balances of the user
|
|
@@ -7171,7 +7174,7 @@ declare class BalancesApi extends BaseAPI {
|
|
|
7171
7174
|
* @throws {RequiredError}
|
|
7172
7175
|
* @memberof BalancesApi
|
|
7173
7176
|
*/
|
|
7174
|
-
getBalance(requestParameters: BalancesApiGetBalanceRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Balance, any>>;
|
|
7177
|
+
getBalance(requestParameters: BalancesApiGetBalanceRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Balance, any>>;
|
|
7175
7178
|
/**
|
|
7176
7179
|
* Get a list of balances for given user
|
|
7177
7180
|
* @summary Get a list of balances for given user
|
|
@@ -7180,7 +7183,7 @@ declare class BalancesApi extends BaseAPI {
|
|
|
7180
7183
|
* @throws {RequiredError}
|
|
7181
7184
|
* @memberof BalancesApi
|
|
7182
7185
|
*/
|
|
7183
|
-
listBalances(requestParameters: BalancesApiListBalancesRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListBalancesResponse, any>>;
|
|
7186
|
+
listBalances(requestParameters: BalancesApiListBalancesRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListBalancesResponse, any>>;
|
|
7184
7187
|
}
|
|
7185
7188
|
/**
|
|
7186
7189
|
* Request parameters for createCollection operation in CollectionsApi.
|
|
@@ -7331,7 +7334,7 @@ interface CollectionsApiUpdateCollectionRequest {
|
|
|
7331
7334
|
* @class CollectionsApi
|
|
7332
7335
|
* @extends {BaseAPI}
|
|
7333
7336
|
*/
|
|
7334
|
-
declare class CollectionsApi extends BaseAPI {
|
|
7337
|
+
declare class CollectionsApi extends BaseAPI$1 {
|
|
7335
7338
|
/**
|
|
7336
7339
|
* Create collection
|
|
7337
7340
|
* @summary Create collection
|
|
@@ -7340,7 +7343,7 @@ declare class CollectionsApi extends BaseAPI {
|
|
|
7340
7343
|
* @throws {RequiredError}
|
|
7341
7344
|
* @memberof CollectionsApi
|
|
7342
7345
|
*/
|
|
7343
|
-
createCollection(requestParameters: CollectionsApiCreateCollectionRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Collection, any>>;
|
|
7346
|
+
createCollection(requestParameters: CollectionsApiCreateCollectionRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Collection, any>>;
|
|
7344
7347
|
/**
|
|
7345
7348
|
* Get details of a collection at the given address
|
|
7346
7349
|
* @summary Get details of a collection at the given address
|
|
@@ -7349,7 +7352,7 @@ declare class CollectionsApi extends BaseAPI {
|
|
|
7349
7352
|
* @throws {RequiredError}
|
|
7350
7353
|
* @memberof CollectionsApi
|
|
7351
7354
|
*/
|
|
7352
|
-
getCollection(requestParameters: CollectionsApiGetCollectionRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Collection, any>>;
|
|
7355
|
+
getCollection(requestParameters: CollectionsApiGetCollectionRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Collection, any>>;
|
|
7353
7356
|
/**
|
|
7354
7357
|
* Get a list of collection filters
|
|
7355
7358
|
* @summary Get a list of collection filters
|
|
@@ -7358,7 +7361,7 @@ declare class CollectionsApi extends BaseAPI {
|
|
|
7358
7361
|
* @throws {RequiredError}
|
|
7359
7362
|
* @memberof CollectionsApi
|
|
7360
7363
|
*/
|
|
7361
|
-
listCollectionFilters(requestParameters: CollectionsApiListCollectionFiltersRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CollectionFilter, any>>;
|
|
7364
|
+
listCollectionFilters(requestParameters: CollectionsApiListCollectionFiltersRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CollectionFilter, any>>;
|
|
7362
7365
|
/**
|
|
7363
7366
|
* Get a list of collections
|
|
7364
7367
|
* @summary Get a list of collections
|
|
@@ -7367,7 +7370,7 @@ declare class CollectionsApi extends BaseAPI {
|
|
|
7367
7370
|
* @throws {RequiredError}
|
|
7368
7371
|
* @memberof CollectionsApi
|
|
7369
7372
|
*/
|
|
7370
|
-
listCollections(requestParameters?: CollectionsApiListCollectionsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListCollectionsResponse, any>>;
|
|
7373
|
+
listCollections(requestParameters?: CollectionsApiListCollectionsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListCollectionsResponse, any>>;
|
|
7371
7374
|
/**
|
|
7372
7375
|
* Update collection
|
|
7373
7376
|
* @summary Update collection
|
|
@@ -7376,7 +7379,7 @@ declare class CollectionsApi extends BaseAPI {
|
|
|
7376
7379
|
* @throws {RequiredError}
|
|
7377
7380
|
* @memberof CollectionsApi
|
|
7378
7381
|
*/
|
|
7379
|
-
updateCollection(requestParameters: CollectionsApiUpdateCollectionRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Collection, any>>;
|
|
7382
|
+
updateCollection(requestParameters: CollectionsApiUpdateCollectionRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Collection, any>>;
|
|
7380
7383
|
}
|
|
7381
7384
|
/**
|
|
7382
7385
|
* Request parameters for getDeposit operation in DepositsApi.
|
|
@@ -7513,7 +7516,7 @@ interface DepositsApiListDepositsRequest {
|
|
|
7513
7516
|
* @class DepositsApi
|
|
7514
7517
|
* @extends {BaseAPI}
|
|
7515
7518
|
*/
|
|
7516
|
-
declare class DepositsApi extends BaseAPI {
|
|
7519
|
+
declare class DepositsApi extends BaseAPI$1 {
|
|
7517
7520
|
/**
|
|
7518
7521
|
* Get details of a deposit with the given ID
|
|
7519
7522
|
* @summary Get details of a deposit with the given ID
|
|
@@ -7522,7 +7525,7 @@ declare class DepositsApi extends BaseAPI {
|
|
|
7522
7525
|
* @throws {RequiredError}
|
|
7523
7526
|
* @memberof DepositsApi
|
|
7524
7527
|
*/
|
|
7525
|
-
getDeposit(requestParameters: DepositsApiGetDepositRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Deposit, any>>;
|
|
7528
|
+
getDeposit(requestParameters: DepositsApiGetDepositRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Deposit, any>>;
|
|
7526
7529
|
/**
|
|
7527
7530
|
* Gets details of a signable deposit
|
|
7528
7531
|
* @summary Gets details of a signable deposit
|
|
@@ -7531,7 +7534,7 @@ declare class DepositsApi extends BaseAPI {
|
|
|
7531
7534
|
* @throws {RequiredError}
|
|
7532
7535
|
* @memberof DepositsApi
|
|
7533
7536
|
*/
|
|
7534
|
-
getSignableDeposit(requestParameters: DepositsApiGetSignableDepositRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableDepositResponse, any>>;
|
|
7537
|
+
getSignableDeposit(requestParameters: DepositsApiGetSignableDepositRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableDepositResponse, any>>;
|
|
7535
7538
|
/**
|
|
7536
7539
|
* Get a list of deposits
|
|
7537
7540
|
* @summary Get a list of deposits
|
|
@@ -7540,7 +7543,7 @@ declare class DepositsApi extends BaseAPI {
|
|
|
7540
7543
|
* @throws {RequiredError}
|
|
7541
7544
|
* @memberof DepositsApi
|
|
7542
7545
|
*/
|
|
7543
|
-
listDeposits(requestParameters?: DepositsApiListDepositsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListDepositsResponse, any>>;
|
|
7546
|
+
listDeposits(requestParameters?: DepositsApiListDepositsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListDepositsResponse, any>>;
|
|
7544
7547
|
}
|
|
7545
7548
|
/**
|
|
7546
7549
|
* Request parameters for createExchange operation in ExchangesApi.
|
|
@@ -7691,7 +7694,7 @@ interface ExchangesApiGetExchangesRequest {
|
|
|
7691
7694
|
* @class ExchangesApi
|
|
7692
7695
|
* @extends {BaseAPI}
|
|
7693
7696
|
*/
|
|
7694
|
-
declare class ExchangesApi extends BaseAPI {
|
|
7697
|
+
declare class ExchangesApi extends BaseAPI$1 {
|
|
7695
7698
|
/**
|
|
7696
7699
|
* Receive wallet_address, provider, type and widget information to create a base exchange transaction and return widget URL
|
|
7697
7700
|
* @summary Create an exchange with URL
|
|
@@ -7700,7 +7703,7 @@ declare class ExchangesApi extends BaseAPI {
|
|
|
7700
7703
|
* @throws {RequiredError}
|
|
7701
7704
|
* @memberof ExchangesApi
|
|
7702
7705
|
*/
|
|
7703
|
-
createExchange(requestParameters: ExchangesApiCreateExchangeRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ExchangeCreateExchangeAndURLResponse, any>>;
|
|
7706
|
+
createExchange(requestParameters: ExchangesApiCreateExchangeRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ExchangeCreateExchangeAndURLResponse, any>>;
|
|
7704
7707
|
/**
|
|
7705
7708
|
* Accepts a transfer request and updates the transfer_status after processing transfer (offramp)
|
|
7706
7709
|
* @summary Accepts a transfer request and updates the transfer_status after processing transfer (offramp)
|
|
@@ -7709,7 +7712,7 @@ declare class ExchangesApi extends BaseAPI {
|
|
|
7709
7712
|
* @throws {RequiredError}
|
|
7710
7713
|
* @memberof ExchangesApi
|
|
7711
7714
|
*/
|
|
7712
|
-
createExchangeTransfer(requestParameters: ExchangesApiCreateExchangeTransferRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTransferResponseV1, any>>;
|
|
7715
|
+
createExchangeTransfer(requestParameters: ExchangesApiCreateExchangeTransferRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateTransferResponseV1, any>>;
|
|
7713
7716
|
/**
|
|
7714
7717
|
* Get an exchange by ID
|
|
7715
7718
|
* @summary Get an exchange by ID
|
|
@@ -7718,7 +7721,7 @@ declare class ExchangesApi extends BaseAPI {
|
|
|
7718
7721
|
* @throws {RequiredError}
|
|
7719
7722
|
* @memberof ExchangesApi
|
|
7720
7723
|
*/
|
|
7721
|
-
getExchange(requestParameters: ExchangesApiGetExchangeRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Exchange, any>>;
|
|
7724
|
+
getExchange(requestParameters: ExchangesApiGetExchangeRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Exchange, any>>;
|
|
7722
7725
|
/**
|
|
7723
7726
|
* Send a request for signable-transfer-details (offramp)
|
|
7724
7727
|
* @summary Send a request for signable-transfer-details (offramp)
|
|
@@ -7727,7 +7730,7 @@ declare class ExchangesApi extends BaseAPI {
|
|
|
7727
7730
|
* @throws {RequiredError}
|
|
7728
7731
|
* @memberof ExchangesApi
|
|
7729
7732
|
*/
|
|
7730
|
-
getExchangeSignableTransfer(requestParameters: ExchangesApiGetExchangeSignableTransferRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableTransferResponseV1, any>>;
|
|
7733
|
+
getExchangeSignableTransfer(requestParameters: ExchangesApiGetExchangeSignableTransferRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableTransferResponseV1, any>>;
|
|
7731
7734
|
/**
|
|
7732
7735
|
* Returns a list of exchanges based on the request
|
|
7733
7736
|
* @summary Returns a list of exchanges based on the request
|
|
@@ -7736,7 +7739,7 @@ declare class ExchangesApi extends BaseAPI {
|
|
|
7736
7739
|
* @throws {RequiredError}
|
|
7737
7740
|
* @memberof ExchangesApi
|
|
7738
7741
|
*/
|
|
7739
|
-
getExchanges(requestParameters?: ExchangesApiGetExchangesRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetTransactionsResponse, any>>;
|
|
7742
|
+
getExchanges(requestParameters?: ExchangesApiGetExchangesRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetTransactionsResponse, any>>;
|
|
7740
7743
|
}
|
|
7741
7744
|
/**
|
|
7742
7745
|
* Request parameters for addMetadataSchemaToCollection operation in MetadataApi.
|
|
@@ -7825,7 +7828,7 @@ interface MetadataApiUpdateMetadataSchemaByNameRequest {
|
|
|
7825
7828
|
* @class MetadataApi
|
|
7826
7829
|
* @extends {BaseAPI}
|
|
7827
7830
|
*/
|
|
7828
|
-
declare class MetadataApi extends BaseAPI {
|
|
7831
|
+
declare class MetadataApi extends BaseAPI$1 {
|
|
7829
7832
|
/**
|
|
7830
7833
|
* Add metadata schema to collection
|
|
7831
7834
|
* @summary Add metadata schema to collection
|
|
@@ -7834,7 +7837,7 @@ declare class MetadataApi extends BaseAPI {
|
|
|
7834
7837
|
* @throws {RequiredError}
|
|
7835
7838
|
* @memberof MetadataApi
|
|
7836
7839
|
*/
|
|
7837
|
-
addMetadataSchemaToCollection(requestParameters: MetadataApiAddMetadataSchemaToCollectionRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SuccessResponse, any>>;
|
|
7840
|
+
addMetadataSchemaToCollection(requestParameters: MetadataApiAddMetadataSchemaToCollectionRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<SuccessResponse, any>>;
|
|
7838
7841
|
/**
|
|
7839
7842
|
* Get collection metadata schema
|
|
7840
7843
|
* @summary Get collection metadata schema
|
|
@@ -7843,7 +7846,7 @@ declare class MetadataApi extends BaseAPI {
|
|
|
7843
7846
|
* @throws {RequiredError}
|
|
7844
7847
|
* @memberof MetadataApi
|
|
7845
7848
|
*/
|
|
7846
|
-
getMetadataSchema(requestParameters: MetadataApiGetMetadataSchemaRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<MetadataSchemaProperty[], any>>;
|
|
7849
|
+
getMetadataSchema(requestParameters: MetadataApiGetMetadataSchemaRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<MetadataSchemaProperty[], any>>;
|
|
7847
7850
|
/**
|
|
7848
7851
|
* Update metadata schema by name
|
|
7849
7852
|
* @summary Update metadata schema by name
|
|
@@ -7852,7 +7855,7 @@ declare class MetadataApi extends BaseAPI {
|
|
|
7852
7855
|
* @throws {RequiredError}
|
|
7853
7856
|
* @memberof MetadataApi
|
|
7854
7857
|
*/
|
|
7855
|
-
updateMetadataSchemaByName(requestParameters: MetadataApiUpdateMetadataSchemaByNameRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SuccessResponse, any>>;
|
|
7858
|
+
updateMetadataSchemaByName(requestParameters: MetadataApiUpdateMetadataSchemaByNameRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<SuccessResponse, any>>;
|
|
7856
7859
|
}
|
|
7857
7860
|
/**
|
|
7858
7861
|
* Request parameters for getAListOfMetadataRefreshes operation in MetadataRefreshesApi.
|
|
@@ -8008,7 +8011,7 @@ interface MetadataRefreshesApiRequestAMetadataRefreshRequest {
|
|
|
8008
8011
|
* @class MetadataRefreshesApi
|
|
8009
8012
|
* @extends {BaseAPI}
|
|
8010
8013
|
*/
|
|
8011
|
-
declare class MetadataRefreshesApi extends BaseAPI {
|
|
8014
|
+
declare class MetadataRefreshesApi extends BaseAPI$1 {
|
|
8012
8015
|
/**
|
|
8013
8016
|
* Get a list of metadata refreshes
|
|
8014
8017
|
* @param {MetadataRefreshesApiGetAListOfMetadataRefreshesRequest} requestParameters Request parameters.
|
|
@@ -8016,7 +8019,7 @@ declare class MetadataRefreshesApi extends BaseAPI {
|
|
|
8016
8019
|
* @throws {RequiredError}
|
|
8017
8020
|
* @memberof MetadataRefreshesApi
|
|
8018
8021
|
*/
|
|
8019
|
-
getAListOfMetadataRefreshes(requestParameters: MetadataRefreshesApiGetAListOfMetadataRefreshesRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetMetadataRefreshes, any>>;
|
|
8022
|
+
getAListOfMetadataRefreshes(requestParameters: MetadataRefreshesApiGetAListOfMetadataRefreshesRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetMetadataRefreshes, any>>;
|
|
8020
8023
|
/**
|
|
8021
8024
|
* Get metadata refresh errors
|
|
8022
8025
|
* @param {MetadataRefreshesApiGetMetadataRefreshErrorsRequest} requestParameters Request parameters.
|
|
@@ -8024,7 +8027,7 @@ declare class MetadataRefreshesApi extends BaseAPI {
|
|
|
8024
8027
|
* @throws {RequiredError}
|
|
8025
8028
|
* @memberof MetadataRefreshesApi
|
|
8026
8029
|
*/
|
|
8027
|
-
getMetadataRefreshErrors(requestParameters: MetadataRefreshesApiGetMetadataRefreshErrorsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetMetadataRefreshErrorsResponse, any>>;
|
|
8030
|
+
getMetadataRefreshErrors(requestParameters: MetadataRefreshesApiGetMetadataRefreshErrorsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetMetadataRefreshErrorsResponse, any>>;
|
|
8028
8031
|
/**
|
|
8029
8032
|
* Get metadata refresh results
|
|
8030
8033
|
* @param {MetadataRefreshesApiGetMetadataRefreshResultsRequest} requestParameters Request parameters.
|
|
@@ -8032,7 +8035,7 @@ declare class MetadataRefreshesApi extends BaseAPI {
|
|
|
8032
8035
|
* @throws {RequiredError}
|
|
8033
8036
|
* @memberof MetadataRefreshesApi
|
|
8034
8037
|
*/
|
|
8035
|
-
getMetadataRefreshResults(requestParameters: MetadataRefreshesApiGetMetadataRefreshResultsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetMetadataRefreshResponse, any>>;
|
|
8038
|
+
getMetadataRefreshResults(requestParameters: MetadataRefreshesApiGetMetadataRefreshResultsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetMetadataRefreshResponse, any>>;
|
|
8036
8039
|
/**
|
|
8037
8040
|
* Request metadata refresh for provided tokens
|
|
8038
8041
|
* @param {MetadataRefreshesApiRequestAMetadataRefreshRequest} requestParameters Request parameters.
|
|
@@ -8040,7 +8043,7 @@ declare class MetadataRefreshesApi extends BaseAPI {
|
|
|
8040
8043
|
* @throws {RequiredError}
|
|
8041
8044
|
* @memberof MetadataRefreshesApi
|
|
8042
8045
|
*/
|
|
8043
|
-
requestAMetadataRefresh(requestParameters: MetadataRefreshesApiRequestAMetadataRefreshRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateMetadataRefreshResponse, any>>;
|
|
8046
|
+
requestAMetadataRefresh(requestParameters: MetadataRefreshesApiRequestAMetadataRefreshRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateMetadataRefreshResponse, any>>;
|
|
8044
8047
|
}
|
|
8045
8048
|
/**
|
|
8046
8049
|
* Request parameters for getMint operation in MintsApi.
|
|
@@ -8190,7 +8193,7 @@ interface MintsApiMintTokensRequest {
|
|
|
8190
8193
|
* @class MintsApi
|
|
8191
8194
|
* @extends {BaseAPI}
|
|
8192
8195
|
*/
|
|
8193
|
-
declare class MintsApi extends BaseAPI {
|
|
8196
|
+
declare class MintsApi extends BaseAPI$1 {
|
|
8194
8197
|
/**
|
|
8195
8198
|
* Get details of a mint with the given ID
|
|
8196
8199
|
* @summary Get details of a mint with the given ID
|
|
@@ -8199,7 +8202,7 @@ declare class MintsApi extends BaseAPI {
|
|
|
8199
8202
|
* @throws {RequiredError}
|
|
8200
8203
|
* @memberof MintsApi
|
|
8201
8204
|
*/
|
|
8202
|
-
getMint(requestParameters: MintsApiGetMintRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Mint[], any>>;
|
|
8205
|
+
getMint(requestParameters: MintsApiGetMintRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Mint[], any>>;
|
|
8203
8206
|
/**
|
|
8204
8207
|
* Get details of a mintable token with the given token address and token ID
|
|
8205
8208
|
* @summary Get details of a mintable token with the given token address and token ID
|
|
@@ -8208,7 +8211,7 @@ declare class MintsApi extends BaseAPI {
|
|
|
8208
8211
|
* @throws {RequiredError}
|
|
8209
8212
|
* @memberof MintsApi
|
|
8210
8213
|
*/
|
|
8211
|
-
getMintableTokenDetailsByClientTokenId(requestParameters: MintsApiGetMintableTokenDetailsByClientTokenIdRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<MintableTokenDetails, any>>;
|
|
8214
|
+
getMintableTokenDetailsByClientTokenId(requestParameters: MintsApiGetMintableTokenDetailsByClientTokenIdRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<MintableTokenDetails, any>>;
|
|
8212
8215
|
/**
|
|
8213
8216
|
* Get information about token mints. If you want to get information about tokens that have already been minted, use the listAssets endpoint.
|
|
8214
8217
|
* @summary Get a list of mints
|
|
@@ -8217,7 +8220,7 @@ declare class MintsApi extends BaseAPI {
|
|
|
8217
8220
|
* @throws {RequiredError}
|
|
8218
8221
|
* @memberof MintsApi
|
|
8219
8222
|
*/
|
|
8220
|
-
listMints(requestParameters?: MintsApiListMintsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListMintsResponse, any>>;
|
|
8223
|
+
listMints(requestParameters?: MintsApiListMintsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListMintsResponse, any>>;
|
|
8221
8224
|
/**
|
|
8222
8225
|
* Mint tokens in a batch with fees
|
|
8223
8226
|
* @summary Mint Tokens V2
|
|
@@ -8226,7 +8229,7 @@ declare class MintsApi extends BaseAPI {
|
|
|
8226
8229
|
* @throws {RequiredError}
|
|
8227
8230
|
* @memberof MintsApi
|
|
8228
8231
|
*/
|
|
8229
|
-
mintTokens(requestParameters: MintsApiMintTokensRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<MintTokensResponse, any>>;
|
|
8232
|
+
mintTokens(requestParameters: MintsApiMintTokensRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<MintTokensResponse, any>>;
|
|
8230
8233
|
}
|
|
8231
8234
|
/**
|
|
8232
8235
|
* Request parameters for createNftPrimary operation in NftCheckoutPrimaryApi.
|
|
@@ -8365,7 +8368,7 @@ interface NftCheckoutPrimaryApiRegisterNftPrimarySalesContractRequest {
|
|
|
8365
8368
|
* @class NftCheckoutPrimaryApi
|
|
8366
8369
|
* @extends {BaseAPI}
|
|
8367
8370
|
*/
|
|
8368
|
-
declare class NftCheckoutPrimaryApi extends BaseAPI {
|
|
8371
|
+
declare class NftCheckoutPrimaryApi extends BaseAPI$1 {
|
|
8369
8372
|
/**
|
|
8370
8373
|
* Creates a transaction representing minting an NFT with a card payment.
|
|
8371
8374
|
* @summary Create NFT primary sale transaction
|
|
@@ -8374,7 +8377,7 @@ declare class NftCheckoutPrimaryApi extends BaseAPI {
|
|
|
8374
8377
|
* @throws {RequiredError}
|
|
8375
8378
|
* @memberof NftCheckoutPrimaryApi
|
|
8376
8379
|
*/
|
|
8377
|
-
createNftPrimary(requestParameters: NftCheckoutPrimaryApiCreateNftPrimaryRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<NftprimarytransactionCreateResponse, any>>;
|
|
8380
|
+
createNftPrimary(requestParameters: NftCheckoutPrimaryApiCreateNftPrimaryRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<NftprimarytransactionCreateResponse, any>>;
|
|
8378
8381
|
/**
|
|
8379
8382
|
* Returns a list of supported currencies and their limits
|
|
8380
8383
|
* @summary Get currencies with limits
|
|
@@ -8383,7 +8386,7 @@ declare class NftCheckoutPrimaryApi extends BaseAPI {
|
|
|
8383
8386
|
* @throws {RequiredError}
|
|
8384
8387
|
* @memberof NftCheckoutPrimaryApi
|
|
8385
8388
|
*/
|
|
8386
|
-
getCurrenciesNFTCheckoutPrimary(requestParameters?: NftCheckoutPrimaryApiGetCurrenciesNFTCheckoutPrimaryRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CurrencyWithLimits, any>>;
|
|
8389
|
+
getCurrenciesNFTCheckoutPrimary(requestParameters?: NftCheckoutPrimaryApiGetCurrenciesNFTCheckoutPrimaryRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CurrencyWithLimits, any>>;
|
|
8387
8390
|
/**
|
|
8388
8391
|
* given a transaction id, returns the corresponding transaction representing a mint executed from a card payment
|
|
8389
8392
|
* @summary Get NFT primary sale transaction by id
|
|
@@ -8392,7 +8395,7 @@ declare class NftCheckoutPrimaryApi extends BaseAPI {
|
|
|
8392
8395
|
* @throws {RequiredError}
|
|
8393
8396
|
* @memberof NftCheckoutPrimaryApi
|
|
8394
8397
|
*/
|
|
8395
|
-
getNftPrimaryTransaction(requestParameters: NftCheckoutPrimaryApiGetNftPrimaryTransactionRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<NftprimarytransactionGetResponse, any>>;
|
|
8398
|
+
getNftPrimaryTransaction(requestParameters: NftCheckoutPrimaryApiGetNftPrimaryTransactionRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<NftprimarytransactionGetResponse, any>>;
|
|
8396
8399
|
/**
|
|
8397
8400
|
* Returns a list of NFT primary sales transactions
|
|
8398
8401
|
* @summary Get a list of NFT primary sales transactions
|
|
@@ -8401,7 +8404,7 @@ declare class NftCheckoutPrimaryApi extends BaseAPI {
|
|
|
8401
8404
|
* @throws {RequiredError}
|
|
8402
8405
|
* @memberof NftCheckoutPrimaryApi
|
|
8403
8406
|
*/
|
|
8404
|
-
getNftPrimaryTransactions(requestParameters?: NftCheckoutPrimaryApiGetNftPrimaryTransactionsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<NftprimarytransactionListTransactionsResponse, any>>;
|
|
8407
|
+
getNftPrimaryTransactions(requestParameters?: NftCheckoutPrimaryApiGetNftPrimaryTransactionsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<NftprimarytransactionListTransactionsResponse, any>>;
|
|
8405
8408
|
/**
|
|
8406
8409
|
* Registers a new contract for use in the minting with fiat card flow
|
|
8407
8410
|
* @summary Executes NFT primary sales contract registration
|
|
@@ -8410,7 +8413,7 @@ declare class NftCheckoutPrimaryApi extends BaseAPI {
|
|
|
8410
8413
|
* @throws {RequiredError}
|
|
8411
8414
|
* @memberof NftCheckoutPrimaryApi
|
|
8412
8415
|
*/
|
|
8413
|
-
registerNftPrimarySalesContract(requestParameters: NftCheckoutPrimaryApiRegisterNftPrimarySalesContractRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ContractCreateResponse, any>>;
|
|
8416
|
+
registerNftPrimarySalesContract(requestParameters: NftCheckoutPrimaryApiRegisterNftPrimarySalesContractRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ContractCreateResponse, any>>;
|
|
8414
8417
|
}
|
|
8415
8418
|
/**
|
|
8416
8419
|
* Request parameters for cancelOrder operation in OrdersApi.
|
|
@@ -9017,7 +9020,7 @@ interface OrdersApiListOrdersV3Request {
|
|
|
9017
9020
|
* @class OrdersApi
|
|
9018
9021
|
* @extends {BaseAPI}
|
|
9019
9022
|
*/
|
|
9020
|
-
declare class OrdersApi extends BaseAPI {
|
|
9023
|
+
declare class OrdersApi extends BaseAPI$1 {
|
|
9021
9024
|
/**
|
|
9022
9025
|
* Cancel an order. Use https://docs.x.immutable.com/reference#/operations/getSignableCancelOrder to get request body params.
|
|
9023
9026
|
* @summary Cancel an order
|
|
@@ -9026,7 +9029,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
9026
9029
|
* @throws {RequiredError}
|
|
9027
9030
|
* @memberof OrdersApi
|
|
9028
9031
|
*/
|
|
9029
|
-
cancelOrder(requestParameters: OrdersApiCancelOrderRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CancelOrderResponse, any>>;
|
|
9032
|
+
cancelOrder(requestParameters: OrdersApiCancelOrderRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CancelOrderResponse, any>>;
|
|
9030
9033
|
/**
|
|
9031
9034
|
* Cancel an order (V3)
|
|
9032
9035
|
* @summary Cancel an order (V3)
|
|
@@ -9035,7 +9038,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
9035
9038
|
* @throws {RequiredError}
|
|
9036
9039
|
* @memberof OrdersApi
|
|
9037
9040
|
*/
|
|
9038
|
-
cancelOrderV3(requestParameters: OrdersApiCancelOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CancelOrderResponse, any>>;
|
|
9041
|
+
cancelOrderV3(requestParameters: OrdersApiCancelOrderV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CancelOrderResponse, any>>;
|
|
9039
9042
|
/**
|
|
9040
9043
|
* Create an order. Use https://docs.x.immutable.com/reference#/operations/getSignableOrder to get request body params.
|
|
9041
9044
|
* @summary Create an order
|
|
@@ -9044,7 +9047,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
9044
9047
|
* @throws {RequiredError}
|
|
9045
9048
|
* @memberof OrdersApi
|
|
9046
9049
|
*/
|
|
9047
|
-
createOrder(requestParameters: OrdersApiCreateOrderRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateOrderResponse, any>>;
|
|
9050
|
+
createOrder(requestParameters: OrdersApiCreateOrderRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateOrderResponse, any>>;
|
|
9048
9051
|
/**
|
|
9049
9052
|
* Create an order using the v3 orderbook. Currently only buy NFT orders are supported.
|
|
9050
9053
|
* @summary Create an order (V3)
|
|
@@ -9053,7 +9056,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
9053
9056
|
* @throws {RequiredError}
|
|
9054
9057
|
* @memberof OrdersApi
|
|
9055
9058
|
*/
|
|
9056
|
-
createOrderV3(requestParameters: OrdersApiCreateOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateOrderResponse, any>>;
|
|
9059
|
+
createOrderV3(requestParameters: OrdersApiCreateOrderV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateOrderResponse, any>>;
|
|
9057
9060
|
/**
|
|
9058
9061
|
* Get an order
|
|
9059
9062
|
* @summary Get an order
|
|
@@ -9062,7 +9065,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
9062
9065
|
* @throws {RequiredError}
|
|
9063
9066
|
* @memberof OrdersApi
|
|
9064
9067
|
*/
|
|
9065
|
-
getOrder(requestParameters: OrdersApiGetOrderRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Order, any>>;
|
|
9068
|
+
getOrder(requestParameters: OrdersApiGetOrderRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Order, any>>;
|
|
9066
9069
|
/**
|
|
9067
9070
|
* Get an order (V3)
|
|
9068
9071
|
* @summary Get an order (V3)
|
|
@@ -9071,7 +9074,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
9071
9074
|
* @throws {RequiredError}
|
|
9072
9075
|
* @memberof OrdersApi
|
|
9073
9076
|
*/
|
|
9074
|
-
getOrderV3(requestParameters: OrdersApiGetOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<OrderV3, any>>;
|
|
9077
|
+
getOrderV3(requestParameters: OrdersApiGetOrderV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<OrderV3, any>>;
|
|
9075
9078
|
/**
|
|
9076
9079
|
* Get a signable cancel order message
|
|
9077
9080
|
* @summary Get a signable cancel order message
|
|
@@ -9080,7 +9083,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
9080
9083
|
* @throws {RequiredError}
|
|
9081
9084
|
* @memberof OrdersApi
|
|
9082
9085
|
*/
|
|
9083
|
-
getSignableCancelOrder(requestParameters: OrdersApiGetSignableCancelOrderRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableCancelOrderResponse, any>>;
|
|
9086
|
+
getSignableCancelOrder(requestParameters: OrdersApiGetSignableCancelOrderRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableCancelOrderResponse, any>>;
|
|
9084
9087
|
/**
|
|
9085
9088
|
* Get a signable cancel order message (V3)
|
|
9086
9089
|
* @summary Get a signable cancel order message (V3)
|
|
@@ -9089,7 +9092,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
9089
9092
|
* @throws {RequiredError}
|
|
9090
9093
|
* @memberof OrdersApi
|
|
9091
9094
|
*/
|
|
9092
|
-
getSignableCancelOrderV3(requestParameters: OrdersApiGetSignableCancelOrderV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableCancelOrderResponse, any>>;
|
|
9095
|
+
getSignableCancelOrderV3(requestParameters: OrdersApiGetSignableCancelOrderV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableCancelOrderResponse, any>>;
|
|
9093
9096
|
/**
|
|
9094
9097
|
* Get a signable order request (V3)
|
|
9095
9098
|
* @summary Get a signable order request (V3)
|
|
@@ -9098,7 +9101,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
9098
9101
|
* @throws {RequiredError}
|
|
9099
9102
|
* @memberof OrdersApi
|
|
9100
9103
|
*/
|
|
9101
|
-
getSignableOrder(requestParameters: OrdersApiGetSignableOrderRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableOrderResponse, any>>;
|
|
9104
|
+
getSignableOrder(requestParameters: OrdersApiGetSignableOrderRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableOrderResponse, any>>;
|
|
9102
9105
|
/**
|
|
9103
9106
|
* Get a list of orders
|
|
9104
9107
|
* @summary Get a list of orders
|
|
@@ -9107,7 +9110,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
9107
9110
|
* @throws {RequiredError}
|
|
9108
9111
|
* @memberof OrdersApi
|
|
9109
9112
|
*/
|
|
9110
|
-
listOrders(requestParameters?: OrdersApiListOrdersRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListOrdersResponse, any>>;
|
|
9113
|
+
listOrders(requestParameters?: OrdersApiListOrdersRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListOrdersResponse, any>>;
|
|
9111
9114
|
/**
|
|
9112
9115
|
* Get a list of orders (V3)
|
|
9113
9116
|
* @summary Get a list of orders (V3)
|
|
@@ -9116,7 +9119,7 @@ declare class OrdersApi extends BaseAPI {
|
|
|
9116
9119
|
* @throws {RequiredError}
|
|
9117
9120
|
* @memberof OrdersApi
|
|
9118
9121
|
*/
|
|
9119
|
-
listOrdersV3(requestParameters?: OrdersApiListOrdersV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<ListOrdersResponseV3, any>>;
|
|
9122
|
+
listOrdersV3(requestParameters?: OrdersApiListOrdersV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListOrdersResponseV3, any>>;
|
|
9120
9123
|
}
|
|
9121
9124
|
/**
|
|
9122
9125
|
* Request parameters for createProject operation in ProjectsApi.
|
|
@@ -9217,7 +9220,7 @@ interface ProjectsApiGetProjectsRequest {
|
|
|
9217
9220
|
* @class ProjectsApi
|
|
9218
9221
|
* @extends {BaseAPI}
|
|
9219
9222
|
*/
|
|
9220
|
-
declare class ProjectsApi extends BaseAPI {
|
|
9223
|
+
declare class ProjectsApi extends BaseAPI$1 {
|
|
9221
9224
|
/**
|
|
9222
9225
|
* Create a project
|
|
9223
9226
|
* @summary Create a project
|
|
@@ -9226,7 +9229,7 @@ declare class ProjectsApi extends BaseAPI {
|
|
|
9226
9229
|
* @throws {RequiredError}
|
|
9227
9230
|
* @memberof ProjectsApi
|
|
9228
9231
|
*/
|
|
9229
|
-
createProject(requestParameters: ProjectsApiCreateProjectRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateProjectResponse, any>>;
|
|
9232
|
+
createProject(requestParameters: ProjectsApiCreateProjectRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateProjectResponse, any>>;
|
|
9230
9233
|
/**
|
|
9231
9234
|
* Get a project
|
|
9232
9235
|
* @summary Get a project
|
|
@@ -9235,7 +9238,7 @@ declare class ProjectsApi extends BaseAPI {
|
|
|
9235
9238
|
* @throws {RequiredError}
|
|
9236
9239
|
* @memberof ProjectsApi
|
|
9237
9240
|
*/
|
|
9238
|
-
getProject(requestParameters: ProjectsApiGetProjectRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Project, any>>;
|
|
9241
|
+
getProject(requestParameters: ProjectsApiGetProjectRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Project, any>>;
|
|
9239
9242
|
/**
|
|
9240
9243
|
* Get projects
|
|
9241
9244
|
* @summary Get projects
|
|
@@ -9244,7 +9247,7 @@ declare class ProjectsApi extends BaseAPI {
|
|
|
9244
9247
|
* @throws {RequiredError}
|
|
9245
9248
|
* @memberof ProjectsApi
|
|
9246
9249
|
*/
|
|
9247
|
-
getProjects(requestParameters: ProjectsApiGetProjectsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetProjectsResponse, any>>;
|
|
9250
|
+
getProjects(requestParameters: ProjectsApiGetProjectsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetProjectsResponse, any>>;
|
|
9248
9251
|
}
|
|
9249
9252
|
/**
|
|
9250
9253
|
* Request parameters for getToken operation in TokensApi.
|
|
@@ -9308,7 +9311,7 @@ interface TokensApiListTokensRequest {
|
|
|
9308
9311
|
* @class TokensApi
|
|
9309
9312
|
* @extends {BaseAPI}
|
|
9310
9313
|
*/
|
|
9311
|
-
declare class TokensApi extends BaseAPI {
|
|
9314
|
+
declare class TokensApi extends BaseAPI$1 {
|
|
9312
9315
|
/**
|
|
9313
9316
|
* Get details of a token
|
|
9314
9317
|
* @summary Get details of a token
|
|
@@ -9317,7 +9320,7 @@ declare class TokensApi extends BaseAPI {
|
|
|
9317
9320
|
* @throws {RequiredError}
|
|
9318
9321
|
* @memberof TokensApi
|
|
9319
9322
|
*/
|
|
9320
|
-
getToken(requestParameters: TokensApiGetTokenRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<TokenDetails, any>>;
|
|
9323
|
+
getToken(requestParameters: TokensApiGetTokenRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<TokenDetails, any>>;
|
|
9321
9324
|
/**
|
|
9322
9325
|
* Get a list of tokens
|
|
9323
9326
|
* @summary Get a list of tokens
|
|
@@ -9326,7 +9329,7 @@ declare class TokensApi extends BaseAPI {
|
|
|
9326
9329
|
* @throws {RequiredError}
|
|
9327
9330
|
* @memberof TokensApi
|
|
9328
9331
|
*/
|
|
9329
|
-
listTokens(requestParameters?: TokensApiListTokensRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListTokensResponse, any>>;
|
|
9332
|
+
listTokens(requestParameters?: TokensApiListTokensRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListTokensResponse, any>>;
|
|
9330
9333
|
}
|
|
9331
9334
|
/**
|
|
9332
9335
|
* Request parameters for createTrade operation in TradesApi.
|
|
@@ -9568,7 +9571,7 @@ interface TradesApiListTradesV3Request {
|
|
|
9568
9571
|
* @class TradesApi
|
|
9569
9572
|
* @extends {BaseAPI}
|
|
9570
9573
|
*/
|
|
9571
|
-
declare class TradesApi extends BaseAPI {
|
|
9574
|
+
declare class TradesApi extends BaseAPI$1 {
|
|
9572
9575
|
/**
|
|
9573
9576
|
* Create a trade. Use https://docs.x.immutable.com/reference#/operations/getSignableTrade to get request body params.
|
|
9574
9577
|
* @summary Create a Trade between two parties
|
|
@@ -9577,7 +9580,7 @@ declare class TradesApi extends BaseAPI {
|
|
|
9577
9580
|
* @throws {RequiredError}
|
|
9578
9581
|
* @memberof TradesApi
|
|
9579
9582
|
*/
|
|
9580
|
-
createTrade(requestParameters: TradesApiCreateTradeRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTradeResponse, any>>;
|
|
9583
|
+
createTrade(requestParameters: TradesApiCreateTradeRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateTradeResponse, any>>;
|
|
9581
9584
|
/**
|
|
9582
9585
|
* Create a Trade. Currently only buy order is supported.
|
|
9583
9586
|
* @summary Create a Trade (V3)
|
|
@@ -9586,7 +9589,7 @@ declare class TradesApi extends BaseAPI {
|
|
|
9586
9589
|
* @throws {RequiredError}
|
|
9587
9590
|
* @memberof TradesApi
|
|
9588
9591
|
*/
|
|
9589
|
-
createTradeV3(requestParameters: TradesApiCreateTradeV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTradeResponse, any>>;
|
|
9592
|
+
createTradeV3(requestParameters: TradesApiCreateTradeV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateTradeResponse, any>>;
|
|
9590
9593
|
/**
|
|
9591
9594
|
* Get a signable trade V3 message
|
|
9592
9595
|
* @summary Get a signable trade V3 message
|
|
@@ -9595,7 +9598,7 @@ declare class TradesApi extends BaseAPI {
|
|
|
9595
9598
|
* @throws {RequiredError}
|
|
9596
9599
|
* @memberof TradesApi
|
|
9597
9600
|
*/
|
|
9598
|
-
getSignableTrade(requestParameters: TradesApiGetSignableTradeRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableTradeResponse, any>>;
|
|
9601
|
+
getSignableTrade(requestParameters: TradesApiGetSignableTradeRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableTradeResponse, any>>;
|
|
9599
9602
|
/**
|
|
9600
9603
|
* Get details of a trade with the given ID
|
|
9601
9604
|
* @summary Get details of a trade with the given ID
|
|
@@ -9604,7 +9607,7 @@ declare class TradesApi extends BaseAPI {
|
|
|
9604
9607
|
* @throws {RequiredError}
|
|
9605
9608
|
* @memberof TradesApi
|
|
9606
9609
|
*/
|
|
9607
|
-
getTrade(requestParameters: TradesApiGetTradeRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Trade, any>>;
|
|
9610
|
+
getTrade(requestParameters: TradesApiGetTradeRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Trade, any>>;
|
|
9608
9611
|
/**
|
|
9609
9612
|
* Get a list of trades
|
|
9610
9613
|
* @summary Get a list of trades
|
|
@@ -9613,7 +9616,7 @@ declare class TradesApi extends BaseAPI {
|
|
|
9613
9616
|
* @throws {RequiredError}
|
|
9614
9617
|
* @memberof TradesApi
|
|
9615
9618
|
*/
|
|
9616
|
-
listTrades(requestParameters?: TradesApiListTradesRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListTradesResponse, any>>;
|
|
9619
|
+
listTrades(requestParameters?: TradesApiListTradesRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListTradesResponse, any>>;
|
|
9617
9620
|
/**
|
|
9618
9621
|
* Get a list of trades (V3)
|
|
9619
9622
|
* @summary Get a list of trades (V3)
|
|
@@ -9622,7 +9625,7 @@ declare class TradesApi extends BaseAPI {
|
|
|
9622
9625
|
* @throws {RequiredError}
|
|
9623
9626
|
* @memberof TradesApi
|
|
9624
9627
|
*/
|
|
9625
|
-
listTradesV3(requestParameters?: TradesApiListTradesV3Request, options?: AxiosRequestConfig): Promise<AxiosResponse<ListTradesResponse, any>>;
|
|
9628
|
+
listTradesV3(requestParameters?: TradesApiListTradesV3Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListTradesResponse, any>>;
|
|
9626
9629
|
}
|
|
9627
9630
|
/**
|
|
9628
9631
|
* Request parameters for createTransfer operation in TransfersApi.
|
|
@@ -9840,7 +9843,7 @@ interface TransfersApiListTransfersRequest {
|
|
|
9840
9843
|
* @class TransfersApi
|
|
9841
9844
|
* @extends {BaseAPI}
|
|
9842
9845
|
*/
|
|
9843
|
-
declare class TransfersApi extends BaseAPI {
|
|
9846
|
+
declare class TransfersApi extends BaseAPI$1 {
|
|
9844
9847
|
/**
|
|
9845
9848
|
* Create a new transfer request.
|
|
9846
9849
|
* @summary Creates a transfer of multiple tokens between two parties
|
|
@@ -9849,7 +9852,7 @@ declare class TransfersApi extends BaseAPI {
|
|
|
9849
9852
|
* @throws {RequiredError}
|
|
9850
9853
|
* @memberof TransfersApi
|
|
9851
9854
|
*/
|
|
9852
|
-
createTransfer(requestParameters: TransfersApiCreateTransferRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTransferResponse, any>>;
|
|
9855
|
+
createTransfer(requestParameters: TransfersApiCreateTransferRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateTransferResponse, any>>;
|
|
9853
9856
|
/**
|
|
9854
9857
|
* Create a new transfer request.
|
|
9855
9858
|
* @summary Creates a transfer of tokens between two parties
|
|
@@ -9858,7 +9861,7 @@ declare class TransfersApi extends BaseAPI {
|
|
|
9858
9861
|
* @throws {RequiredError}
|
|
9859
9862
|
* @memberof TransfersApi
|
|
9860
9863
|
*/
|
|
9861
|
-
createTransferV1(requestParameters: TransfersApiCreateTransferV1Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateTransferResponseV1, any>>;
|
|
9864
|
+
createTransferV1(requestParameters: TransfersApiCreateTransferV1Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateTransferResponseV1, any>>;
|
|
9862
9865
|
/**
|
|
9863
9866
|
* Gets bulk details of a signable transfer
|
|
9864
9867
|
* @summary Gets bulk details of a signable transfer
|
|
@@ -9867,7 +9870,7 @@ declare class TransfersApi extends BaseAPI {
|
|
|
9867
9870
|
* @throws {RequiredError}
|
|
9868
9871
|
* @memberof TransfersApi
|
|
9869
9872
|
*/
|
|
9870
|
-
getSignableTransfer(requestParameters: TransfersApiGetSignableTransferRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableTransferResponse, any>>;
|
|
9873
|
+
getSignableTransfer(requestParameters: TransfersApiGetSignableTransferRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableTransferResponse, any>>;
|
|
9871
9874
|
/**
|
|
9872
9875
|
* Gets details of a signable transfer
|
|
9873
9876
|
* @summary Gets details of a signable transfer
|
|
@@ -9876,7 +9879,7 @@ declare class TransfersApi extends BaseAPI {
|
|
|
9876
9879
|
* @throws {RequiredError}
|
|
9877
9880
|
* @memberof TransfersApi
|
|
9878
9881
|
*/
|
|
9879
|
-
getSignableTransferV1(requestParameters: TransfersApiGetSignableTransferV1Request, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableTransferResponseV1, any>>;
|
|
9882
|
+
getSignableTransferV1(requestParameters: TransfersApiGetSignableTransferV1Request, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableTransferResponseV1, any>>;
|
|
9880
9883
|
/**
|
|
9881
9884
|
* Get details of a transfer with the given ID
|
|
9882
9885
|
* @summary Get details of a transfer with the given ID
|
|
@@ -9885,7 +9888,7 @@ declare class TransfersApi extends BaseAPI {
|
|
|
9885
9888
|
* @throws {RequiredError}
|
|
9886
9889
|
* @memberof TransfersApi
|
|
9887
9890
|
*/
|
|
9888
|
-
getTransfer(requestParameters: TransfersApiGetTransferRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Transfer, any>>;
|
|
9891
|
+
getTransfer(requestParameters: TransfersApiGetTransferRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Transfer, any>>;
|
|
9889
9892
|
/**
|
|
9890
9893
|
* Get a list of transfers
|
|
9891
9894
|
* @summary Get a list of transfers
|
|
@@ -9894,7 +9897,7 @@ declare class TransfersApi extends BaseAPI {
|
|
|
9894
9897
|
* @throws {RequiredError}
|
|
9895
9898
|
* @memberof TransfersApi
|
|
9896
9899
|
*/
|
|
9897
|
-
listTransfers(requestParameters?: TransfersApiListTransfersRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListTransfersResponse, any>>;
|
|
9900
|
+
listTransfers(requestParameters?: TransfersApiListTransfersRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListTransfersResponse, any>>;
|
|
9898
9901
|
}
|
|
9899
9902
|
/**
|
|
9900
9903
|
* Request parameters for getSignableRegistration operation in UsersApi.
|
|
@@ -9973,7 +9976,7 @@ interface UsersApiRegisterUserRequest {
|
|
|
9973
9976
|
* @class UsersApi
|
|
9974
9977
|
* @extends {BaseAPI}
|
|
9975
9978
|
*/
|
|
9976
|
-
declare class UsersApi extends BaseAPI {
|
|
9979
|
+
declare class UsersApi extends BaseAPI$1 {
|
|
9977
9980
|
/**
|
|
9978
9981
|
* Get operator signature to allow clients to register the user
|
|
9979
9982
|
* @summary Get operator signature to allow clients to register the user
|
|
@@ -9982,7 +9985,7 @@ declare class UsersApi extends BaseAPI {
|
|
|
9982
9985
|
* @throws {RequiredError}
|
|
9983
9986
|
* @memberof UsersApi
|
|
9984
9987
|
*/
|
|
9985
|
-
getSignableRegistration(requestParameters: UsersApiGetSignableRegistrationRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableRegistrationResponse, any>>;
|
|
9988
|
+
getSignableRegistration(requestParameters: UsersApiGetSignableRegistrationRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableRegistrationResponse, any>>;
|
|
9986
9989
|
/**
|
|
9987
9990
|
* Get encoded details to allow clients to register the user offchain
|
|
9988
9991
|
* @summary Get encoded details to allow clients to register the user offchain
|
|
@@ -9991,7 +9994,7 @@ declare class UsersApi extends BaseAPI {
|
|
|
9991
9994
|
* @throws {RequiredError}
|
|
9992
9995
|
* @memberof UsersApi
|
|
9993
9996
|
*/
|
|
9994
|
-
getSignableRegistrationOffchain(requestParameters: UsersApiGetSignableRegistrationOffchainRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableRegistrationOffchainResponse, any>>;
|
|
9997
|
+
getSignableRegistrationOffchain(requestParameters: UsersApiGetSignableRegistrationOffchainRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableRegistrationOffchainResponse, any>>;
|
|
9995
9998
|
/**
|
|
9996
9999
|
* Get stark keys for a registered user
|
|
9997
10000
|
* @summary Get stark keys for a registered user
|
|
@@ -10000,7 +10003,7 @@ declare class UsersApi extends BaseAPI {
|
|
|
10000
10003
|
* @throws {RequiredError}
|
|
10001
10004
|
* @memberof UsersApi
|
|
10002
10005
|
*/
|
|
10003
|
-
getUsers(requestParameters: UsersApiGetUsersRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetUsersApiResponse, any>>;
|
|
10006
|
+
getUsers(requestParameters: UsersApiGetUsersRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetUsersApiResponse, any>>;
|
|
10004
10007
|
/**
|
|
10005
10008
|
* Registers a passport user
|
|
10006
10009
|
* @summary Registers a passport user
|
|
@@ -10009,7 +10012,7 @@ declare class UsersApi extends BaseAPI {
|
|
|
10009
10012
|
* @throws {RequiredError}
|
|
10010
10013
|
* @memberof UsersApi
|
|
10011
10014
|
*/
|
|
10012
|
-
registerPassportUser(requestParameters: UsersApiRegisterPassportUserRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<object, any>>;
|
|
10015
|
+
registerPassportUser(requestParameters: UsersApiRegisterPassportUserRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<object, any>>;
|
|
10013
10016
|
/**
|
|
10014
10017
|
* Registers a user
|
|
10015
10018
|
* @summary Registers a user
|
|
@@ -10018,7 +10021,7 @@ declare class UsersApi extends BaseAPI {
|
|
|
10018
10021
|
* @throws {RequiredError}
|
|
10019
10022
|
* @memberof UsersApi
|
|
10020
10023
|
*/
|
|
10021
|
-
registerUser(requestParameters: UsersApiRegisterUserRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<RegisterUserResponse, any>>;
|
|
10024
|
+
registerUser(requestParameters: UsersApiRegisterUserRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<RegisterUserResponse, any>>;
|
|
10022
10025
|
}
|
|
10023
10026
|
/**
|
|
10024
10027
|
* Request parameters for createWithdrawal operation in WithdrawalsApi.
|
|
@@ -10192,7 +10195,7 @@ interface WithdrawalsApiListWithdrawalsRequest {
|
|
|
10192
10195
|
* @class WithdrawalsApi
|
|
10193
10196
|
* @extends {BaseAPI}
|
|
10194
10197
|
*/
|
|
10195
|
-
declare class WithdrawalsApi extends BaseAPI {
|
|
10198
|
+
declare class WithdrawalsApi extends BaseAPI$1 {
|
|
10196
10199
|
/**
|
|
10197
10200
|
* Creates a withdrawal.
|
|
10198
10201
|
* @summary Creates a withdrawal of a token
|
|
@@ -10201,7 +10204,7 @@ declare class WithdrawalsApi extends BaseAPI {
|
|
|
10201
10204
|
* @throws {RequiredError}
|
|
10202
10205
|
* @memberof WithdrawalsApi
|
|
10203
10206
|
*/
|
|
10204
|
-
createWithdrawal(requestParameters: WithdrawalsApiCreateWithdrawalRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateWithdrawalResponse, any>>;
|
|
10207
|
+
createWithdrawal(requestParameters: WithdrawalsApiCreateWithdrawalRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<CreateWithdrawalResponse, any>>;
|
|
10205
10208
|
/**
|
|
10206
10209
|
* Gets details of a signable withdrawal
|
|
10207
10210
|
* @summary Gets details of a signable withdrawal
|
|
@@ -10210,7 +10213,7 @@ declare class WithdrawalsApi extends BaseAPI {
|
|
|
10210
10213
|
* @throws {RequiredError}
|
|
10211
10214
|
* @memberof WithdrawalsApi
|
|
10212
10215
|
*/
|
|
10213
|
-
getSignableWithdrawal(requestParameters: WithdrawalsApiGetSignableWithdrawalRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSignableWithdrawalResponse, any>>;
|
|
10216
|
+
getSignableWithdrawal(requestParameters: WithdrawalsApiGetSignableWithdrawalRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<GetSignableWithdrawalResponse, any>>;
|
|
10214
10217
|
/**
|
|
10215
10218
|
* Gets details of withdrawal with the given ID
|
|
10216
10219
|
* @summary Gets details of withdrawal with the given ID
|
|
@@ -10219,7 +10222,7 @@ declare class WithdrawalsApi extends BaseAPI {
|
|
|
10219
10222
|
* @throws {RequiredError}
|
|
10220
10223
|
* @memberof WithdrawalsApi
|
|
10221
10224
|
*/
|
|
10222
|
-
getWithdrawal(requestParameters: WithdrawalsApiGetWithdrawalRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Withdrawal, any>>;
|
|
10225
|
+
getWithdrawal(requestParameters: WithdrawalsApiGetWithdrawalRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<Withdrawal, any>>;
|
|
10223
10226
|
/**
|
|
10224
10227
|
* Get a list of withdrawals
|
|
10225
10228
|
* @summary Get a list of withdrawals
|
|
@@ -10228,7 +10231,7 @@ declare class WithdrawalsApi extends BaseAPI {
|
|
|
10228
10231
|
* @throws {RequiredError}
|
|
10229
10232
|
* @memberof WithdrawalsApi
|
|
10230
10233
|
*/
|
|
10231
|
-
listWithdrawals(requestParameters?: WithdrawalsApiListWithdrawalsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ListWithdrawalsResponse, any>>;
|
|
10234
|
+
listWithdrawals(requestParameters?: WithdrawalsApiListWithdrawalsRequest, options?: AxiosRequestConfig$1): Promise<AxiosResponse$1<ListWithdrawalsResponse, any>>;
|
|
10232
10235
|
}
|
|
10233
10236
|
|
|
10234
10237
|
/**
|
|
@@ -10319,7 +10322,7 @@ interface ImmutableXConfiguration {
|
|
|
10319
10322
|
/**
|
|
10320
10323
|
* The configuration for the API client
|
|
10321
10324
|
*/
|
|
10322
|
-
apiConfiguration: Configuration;
|
|
10325
|
+
apiConfiguration: Configuration$1;
|
|
10323
10326
|
/**
|
|
10324
10327
|
* The configuration for the Ethereum network
|
|
10325
10328
|
*/
|
|
@@ -10576,106 +10579,1262 @@ declare class ImmutableXClient {
|
|
|
10576
10579
|
* @returns a promise that resolves with the requested list of Orders
|
|
10577
10580
|
* @throws {@link index.IMXError}
|
|
10578
10581
|
*/
|
|
10579
|
-
listOrders(request?: OrdersApiListOrdersRequest): Promise<ListOrdersResponse>;
|
|
10582
|
+
listOrders(request?: OrdersApiListOrdersRequest): Promise<ListOrdersResponse>;
|
|
10583
|
+
/**
|
|
10584
|
+
* Get details of a Trade with the given ID
|
|
10585
|
+
* @param request - the request object containing the parameters to be provided in the API request
|
|
10586
|
+
* @returns a promise that resolves with the requested Trade
|
|
10587
|
+
* @throws {@link index.IMXError}
|
|
10588
|
+
*/
|
|
10589
|
+
getTrade(request: TradesApiGetTradeRequest): Promise<Trade>;
|
|
10590
|
+
/**
|
|
10591
|
+
* Get a list of Trades
|
|
10592
|
+
* @param request - optional object containing the parameters to be provided in the API request
|
|
10593
|
+
* @returns a promise that resolves with the requested list of Trades
|
|
10594
|
+
* @throws {@link index.IMXError}
|
|
10595
|
+
*/
|
|
10596
|
+
listTrades(request?: TradesApiListTradesRequest): Promise<ListTradesResponse>;
|
|
10597
|
+
/**
|
|
10598
|
+
* Get details of a Token
|
|
10599
|
+
* @param request - the request object containing the parameters to be provided in the API request
|
|
10600
|
+
* @returns a promise that resolves with the requested Token
|
|
10601
|
+
* @throws {@link index.IMXError}
|
|
10602
|
+
*/
|
|
10603
|
+
getToken(request: TokensApiGetTokenRequest): Promise<TokenDetails>;
|
|
10604
|
+
/**
|
|
10605
|
+
* Get a list of Tokens
|
|
10606
|
+
* @param request - optional object containing the parameters to be provided in the API request
|
|
10607
|
+
* @returns a promise that resolves with the requested list of Tokens
|
|
10608
|
+
* @throws {@link index.IMXError}
|
|
10609
|
+
*/
|
|
10610
|
+
listTokens(request?: TokensApiListTokensRequest): Promise<ListTokensResponse>;
|
|
10611
|
+
/**
|
|
10612
|
+
* Get details of a Transfer with the given ID
|
|
10613
|
+
* @param request - the request object containing the parameters to be provided in the API request
|
|
10614
|
+
* @returns a promise that resolves with the requested Transfer
|
|
10615
|
+
* @throws {@link index.IMXError}
|
|
10616
|
+
*/
|
|
10617
|
+
getTransfer(request: TransfersApiGetTransferRequest): Promise<Transfer>;
|
|
10618
|
+
/**
|
|
10619
|
+
* Get a list of Transfers
|
|
10620
|
+
* @param request - optional object containing the parameters to be provided in the API request
|
|
10621
|
+
* @returns a promise that resolves with the requested list of Transfers
|
|
10622
|
+
* @throws {@link index.IMXError}
|
|
10623
|
+
*/
|
|
10624
|
+
listTransfers(request?: TransfersApiListTransfersRequest): Promise<ListTransfersResponse>;
|
|
10625
|
+
/**
|
|
10626
|
+
* Create a new Exchange transaction
|
|
10627
|
+
* @param request - the request object to be provided in the API request
|
|
10628
|
+
* @returns a promise that resolves with the created Exchange Transaction
|
|
10629
|
+
* @throws {@link index.IMXError}
|
|
10630
|
+
*/
|
|
10631
|
+
createExchange(request: ExchangesApiCreateExchangeRequest): Promise<ExchangeCreateExchangeAndURLResponse>;
|
|
10632
|
+
/**
|
|
10633
|
+
* Get an Exchange transaction
|
|
10634
|
+
* @param request - the request object to be provided in the API request
|
|
10635
|
+
* @returns a promise that resolves with the Exchange Transaction
|
|
10636
|
+
* @throws {@link index.IMXError}
|
|
10637
|
+
*/
|
|
10638
|
+
getExchange(request: ExchangesApiGetExchangeRequest): Promise<Exchange>;
|
|
10639
|
+
/**
|
|
10640
|
+
* Get Exchange transactions
|
|
10641
|
+
* @param request - the request object to be provided in the API request
|
|
10642
|
+
* @returns a promise that resolves with Exchange Transactions
|
|
10643
|
+
* @throws {@link index.IMXError}
|
|
10644
|
+
*/
|
|
10645
|
+
getExchanges(request: ExchangesApiGetExchangesRequest): Promise<GetTransactionsResponse>;
|
|
10646
|
+
/**
|
|
10647
|
+
* Create a new Transfer request
|
|
10648
|
+
* @param walletConnection - the pair of Eth/Stark signers
|
|
10649
|
+
* @param request - the request object to be provided in the API request
|
|
10650
|
+
* @returns a promise that resolves with the created Exchange Transfer
|
|
10651
|
+
* @throws {@link index.IMXError}
|
|
10652
|
+
*/
|
|
10653
|
+
exchangeTransfer(walletConnection: WalletConnection, request: UnsignedExchangeTransferRequest): Promise<CreateTransferResponseV1>;
|
|
10654
|
+
/**
|
|
10655
|
+
* Create a new nft primary transaction
|
|
10656
|
+
* @param request - the request object to be provided in the API request
|
|
10657
|
+
* @returns a promise that resolves with the created nft primary Transaction
|
|
10658
|
+
* @throws {@link index.IMXError}
|
|
10659
|
+
*/
|
|
10660
|
+
createNftPrimary(request: NftCheckoutPrimaryApiCreateNftPrimaryRequest): Promise<NftprimarytransactionCreateResponse>;
|
|
10661
|
+
/**
|
|
10662
|
+
* Get nft primary supported currencies and their limits
|
|
10663
|
+
* @param request - the request object to be provided in the API request
|
|
10664
|
+
* @returns a promise that resolves with nft primary Currencies
|
|
10665
|
+
* @throws {@link index.IMXError}
|
|
10666
|
+
*/
|
|
10667
|
+
getCurrenciesNFTCheckoutPrimary(request: NftCheckoutPrimaryApiGetCurrenciesNFTCheckoutPrimaryRequest): Promise<CurrencyWithLimits>;
|
|
10668
|
+
/**
|
|
10669
|
+
* Get nft primary transaction by transaction id
|
|
10670
|
+
* @param request - the request object to be provided in the API request
|
|
10671
|
+
* @returns a promise that resolves with nft primary transaction
|
|
10672
|
+
* @throws {@link index.IMXError}
|
|
10673
|
+
*/
|
|
10674
|
+
getNftPrimaryTransaction(request: NftCheckoutPrimaryApiGetNftPrimaryTransactionRequest): Promise<NftprimarytransactionGetResponse>;
|
|
10675
|
+
/**
|
|
10676
|
+
* Get list of nft primary transactions
|
|
10677
|
+
* @param request - the request object to be provided in the API request
|
|
10678
|
+
* @returns a promise that resolves with nft primary transaction
|
|
10679
|
+
* @throws {@link index.IMXError}
|
|
10680
|
+
*/
|
|
10681
|
+
getNftPrimaryTransactions(request: NftCheckoutPrimaryApiGetNftPrimaryTransactionsRequest): Promise<NftprimarytransactionListTransactionsResponse>;
|
|
10682
|
+
}
|
|
10683
|
+
|
|
10684
|
+
// TypeScript Version: 4.7
|
|
10685
|
+
type AxiosHeaderValue = AxiosHeaders | string | string[] | number | boolean | null;
|
|
10686
|
+
|
|
10687
|
+
interface RawAxiosHeaders {
|
|
10688
|
+
[key: string]: AxiosHeaderValue;
|
|
10689
|
+
}
|
|
10690
|
+
|
|
10691
|
+
type MethodsHeaders = Partial<{
|
|
10692
|
+
[Key in Method as Lowercase<Key>]: AxiosHeaders;
|
|
10693
|
+
} & {common: AxiosHeaders}>;
|
|
10694
|
+
|
|
10695
|
+
type AxiosHeaderMatcher = (this: AxiosHeaders, value: string, name: string, headers: RawAxiosHeaders) => boolean;
|
|
10696
|
+
|
|
10697
|
+
declare class AxiosHeaders {
|
|
10698
|
+
constructor(
|
|
10699
|
+
headers?: RawAxiosHeaders | AxiosHeaders
|
|
10700
|
+
);
|
|
10701
|
+
|
|
10702
|
+
[key: string]: any;
|
|
10703
|
+
|
|
10704
|
+
set(headerName?: string, value?: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
10705
|
+
set(headers?: RawAxiosHeaders | AxiosHeaders, rewrite?: boolean): AxiosHeaders;
|
|
10706
|
+
|
|
10707
|
+
get(headerName: string, parser: RegExp): RegExpExecArray | null;
|
|
10708
|
+
get(headerName: string, matcher?: true | AxiosHeaderMatcher): AxiosHeaderValue;
|
|
10709
|
+
|
|
10710
|
+
has(header: string, matcher?: true | AxiosHeaderMatcher): boolean;
|
|
10711
|
+
|
|
10712
|
+
delete(header: string | string[], matcher?: AxiosHeaderMatcher): boolean;
|
|
10713
|
+
|
|
10714
|
+
clear(matcher?: AxiosHeaderMatcher): boolean;
|
|
10715
|
+
|
|
10716
|
+
normalize(format: boolean): AxiosHeaders;
|
|
10717
|
+
|
|
10718
|
+
concat(...targets: Array<AxiosHeaders | RawAxiosHeaders | string | undefined | null>): AxiosHeaders;
|
|
10719
|
+
|
|
10720
|
+
toJSON(asStrings?: boolean): RawAxiosHeaders;
|
|
10721
|
+
|
|
10722
|
+
static from(thing?: AxiosHeaders | RawAxiosHeaders | string): AxiosHeaders;
|
|
10723
|
+
|
|
10724
|
+
static accessor(header: string | string[]): AxiosHeaders;
|
|
10725
|
+
|
|
10726
|
+
static concat(...targets: Array<AxiosHeaders | RawAxiosHeaders | string | undefined | null>): AxiosHeaders;
|
|
10727
|
+
|
|
10728
|
+
setContentType(value: ContentType, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
10729
|
+
getContentType(parser?: RegExp): RegExpExecArray | null;
|
|
10730
|
+
getContentType(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
10731
|
+
hasContentType(matcher?: AxiosHeaderMatcher): boolean;
|
|
10732
|
+
|
|
10733
|
+
setContentLength(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
10734
|
+
getContentLength(parser?: RegExp): RegExpExecArray | null;
|
|
10735
|
+
getContentLength(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
10736
|
+
hasContentLength(matcher?: AxiosHeaderMatcher): boolean;
|
|
10737
|
+
|
|
10738
|
+
setAccept(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
10739
|
+
getAccept(parser?: RegExp): RegExpExecArray | null;
|
|
10740
|
+
getAccept(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
10741
|
+
hasAccept(matcher?: AxiosHeaderMatcher): boolean;
|
|
10742
|
+
|
|
10743
|
+
setUserAgent(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
10744
|
+
getUserAgent(parser?: RegExp): RegExpExecArray | null;
|
|
10745
|
+
getUserAgent(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
10746
|
+
hasUserAgent(matcher?: AxiosHeaderMatcher): boolean;
|
|
10747
|
+
|
|
10748
|
+
setContentEncoding(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
10749
|
+
getContentEncoding(parser?: RegExp): RegExpExecArray | null;
|
|
10750
|
+
getContentEncoding(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
10751
|
+
hasContentEncoding(matcher?: AxiosHeaderMatcher): boolean;
|
|
10752
|
+
|
|
10753
|
+
setAuthorization(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
|
|
10754
|
+
getAuthorization(parser?: RegExp): RegExpExecArray | null;
|
|
10755
|
+
getAuthorization(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
10756
|
+
hasAuthorization(matcher?: AxiosHeaderMatcher): boolean;
|
|
10757
|
+
|
|
10758
|
+
[Symbol.iterator](): IterableIterator<[string, AxiosHeaderValue]>;
|
|
10759
|
+
}
|
|
10760
|
+
|
|
10761
|
+
type CommonRequestHeadersList = 'Accept' | 'Content-Length' | 'User-Agent' | 'Content-Encoding' | 'Authorization';
|
|
10762
|
+
|
|
10763
|
+
type ContentType = AxiosHeaderValue | 'text/html' | 'text/plain' | 'multipart/form-data' | 'application/json' | 'application/x-www-form-urlencoded' | 'application/octet-stream';
|
|
10764
|
+
|
|
10765
|
+
type RawAxiosRequestHeaders = Partial<RawAxiosHeaders & {
|
|
10766
|
+
[Key in CommonRequestHeadersList]: AxiosHeaderValue;
|
|
10767
|
+
} & {
|
|
10768
|
+
'Content-Type': ContentType
|
|
10769
|
+
}>;
|
|
10770
|
+
|
|
10771
|
+
type AxiosRequestHeaders = RawAxiosRequestHeaders & AxiosHeaders;
|
|
10772
|
+
|
|
10773
|
+
type CommonResponseHeadersList = 'Server' | 'Content-Type' | 'Content-Length' | 'Cache-Control'| 'Content-Encoding';
|
|
10774
|
+
|
|
10775
|
+
type RawCommonResponseHeaders = {
|
|
10776
|
+
[Key in CommonResponseHeadersList]: AxiosHeaderValue;
|
|
10777
|
+
} & {
|
|
10778
|
+
"set-cookie": string[];
|
|
10779
|
+
};
|
|
10780
|
+
|
|
10781
|
+
type RawAxiosResponseHeaders = Partial<RawAxiosHeaders & RawCommonResponseHeaders>;
|
|
10782
|
+
|
|
10783
|
+
type AxiosResponseHeaders = RawAxiosResponseHeaders & AxiosHeaders;
|
|
10784
|
+
|
|
10785
|
+
interface AxiosRequestTransformer {
|
|
10786
|
+
(this: InternalAxiosRequestConfig, data: any, headers: AxiosRequestHeaders): any;
|
|
10787
|
+
}
|
|
10788
|
+
|
|
10789
|
+
interface AxiosResponseTransformer {
|
|
10790
|
+
(this: InternalAxiosRequestConfig, data: any, headers: AxiosResponseHeaders, status?: number): any;
|
|
10791
|
+
}
|
|
10792
|
+
|
|
10793
|
+
interface AxiosAdapter {
|
|
10794
|
+
(config: InternalAxiosRequestConfig): AxiosPromise;
|
|
10795
|
+
}
|
|
10796
|
+
|
|
10797
|
+
interface AxiosBasicCredentials {
|
|
10798
|
+
username: string;
|
|
10799
|
+
password: string;
|
|
10800
|
+
}
|
|
10801
|
+
|
|
10802
|
+
interface AxiosProxyConfig {
|
|
10803
|
+
host: string;
|
|
10804
|
+
port: number;
|
|
10805
|
+
auth?: {
|
|
10806
|
+
username: string;
|
|
10807
|
+
password: string;
|
|
10808
|
+
};
|
|
10809
|
+
protocol?: string;
|
|
10810
|
+
}
|
|
10811
|
+
|
|
10812
|
+
type Method =
|
|
10813
|
+
| 'get' | 'GET'
|
|
10814
|
+
| 'delete' | 'DELETE'
|
|
10815
|
+
| 'head' | 'HEAD'
|
|
10816
|
+
| 'options' | 'OPTIONS'
|
|
10817
|
+
| 'post' | 'POST'
|
|
10818
|
+
| 'put' | 'PUT'
|
|
10819
|
+
| 'patch' | 'PATCH'
|
|
10820
|
+
| 'purge' | 'PURGE'
|
|
10821
|
+
| 'link' | 'LINK'
|
|
10822
|
+
| 'unlink' | 'UNLINK';
|
|
10823
|
+
|
|
10824
|
+
type ResponseType =
|
|
10825
|
+
| 'arraybuffer'
|
|
10826
|
+
| 'blob'
|
|
10827
|
+
| 'document'
|
|
10828
|
+
| 'json'
|
|
10829
|
+
| 'text'
|
|
10830
|
+
| 'stream';
|
|
10831
|
+
|
|
10832
|
+
type responseEncoding =
|
|
10833
|
+
| 'ascii' | 'ASCII'
|
|
10834
|
+
| 'ansi' | 'ANSI'
|
|
10835
|
+
| 'binary' | 'BINARY'
|
|
10836
|
+
| 'base64' | 'BASE64'
|
|
10837
|
+
| 'base64url' | 'BASE64URL'
|
|
10838
|
+
| 'hex' | 'HEX'
|
|
10839
|
+
| 'latin1' | 'LATIN1'
|
|
10840
|
+
| 'ucs-2' | 'UCS-2'
|
|
10841
|
+
| 'ucs2' | 'UCS2'
|
|
10842
|
+
| 'utf-8' | 'UTF-8'
|
|
10843
|
+
| 'utf8' | 'UTF8'
|
|
10844
|
+
| 'utf16le' | 'UTF16LE';
|
|
10845
|
+
|
|
10846
|
+
interface TransitionalOptions {
|
|
10847
|
+
silentJSONParsing?: boolean;
|
|
10848
|
+
forcedJSONParsing?: boolean;
|
|
10849
|
+
clarifyTimeoutError?: boolean;
|
|
10850
|
+
}
|
|
10851
|
+
|
|
10852
|
+
interface GenericAbortSignal {
|
|
10853
|
+
readonly aborted: boolean;
|
|
10854
|
+
onabort?: ((...args: any) => any) | null;
|
|
10855
|
+
addEventListener?: (...args: any) => any;
|
|
10856
|
+
removeEventListener?: (...args: any) => any;
|
|
10857
|
+
}
|
|
10858
|
+
|
|
10859
|
+
interface FormDataVisitorHelpers {
|
|
10860
|
+
defaultVisitor: SerializerVisitor;
|
|
10861
|
+
convertValue: (value: any) => any;
|
|
10862
|
+
isVisitable: (value: any) => boolean;
|
|
10863
|
+
}
|
|
10864
|
+
|
|
10865
|
+
interface SerializerVisitor {
|
|
10866
|
+
(
|
|
10867
|
+
this: GenericFormData,
|
|
10868
|
+
value: any,
|
|
10869
|
+
key: string | number,
|
|
10870
|
+
path: null | Array<string | number>,
|
|
10871
|
+
helpers: FormDataVisitorHelpers
|
|
10872
|
+
): boolean;
|
|
10873
|
+
}
|
|
10874
|
+
|
|
10875
|
+
interface SerializerOptions {
|
|
10876
|
+
visitor?: SerializerVisitor;
|
|
10877
|
+
dots?: boolean;
|
|
10878
|
+
metaTokens?: boolean;
|
|
10879
|
+
indexes?: boolean | null;
|
|
10880
|
+
}
|
|
10881
|
+
|
|
10882
|
+
// tslint:disable-next-line
|
|
10883
|
+
interface FormSerializerOptions extends SerializerOptions {
|
|
10884
|
+
}
|
|
10885
|
+
|
|
10886
|
+
interface ParamEncoder {
|
|
10887
|
+
(value: any, defaultEncoder: (value: any) => any): any;
|
|
10888
|
+
}
|
|
10889
|
+
|
|
10890
|
+
interface CustomParamsSerializer {
|
|
10891
|
+
(params: Record<string, any>, options?: ParamsSerializerOptions): string;
|
|
10892
|
+
}
|
|
10893
|
+
|
|
10894
|
+
interface ParamsSerializerOptions extends SerializerOptions {
|
|
10895
|
+
encode?: ParamEncoder;
|
|
10896
|
+
serialize?: CustomParamsSerializer;
|
|
10897
|
+
}
|
|
10898
|
+
|
|
10899
|
+
type MaxUploadRate = number;
|
|
10900
|
+
|
|
10901
|
+
type MaxDownloadRate = number;
|
|
10902
|
+
|
|
10903
|
+
type BrowserProgressEvent = any;
|
|
10904
|
+
|
|
10905
|
+
interface AxiosProgressEvent {
|
|
10906
|
+
loaded: number;
|
|
10907
|
+
total?: number;
|
|
10908
|
+
progress?: number;
|
|
10909
|
+
bytes: number;
|
|
10910
|
+
rate?: number;
|
|
10911
|
+
estimated?: number;
|
|
10912
|
+
upload?: boolean;
|
|
10913
|
+
download?: boolean;
|
|
10914
|
+
event?: BrowserProgressEvent;
|
|
10915
|
+
}
|
|
10916
|
+
|
|
10917
|
+
type Milliseconds = number;
|
|
10918
|
+
|
|
10919
|
+
type AxiosAdapterName = 'xhr' | 'http' | string;
|
|
10920
|
+
|
|
10921
|
+
type AxiosAdapterConfig = AxiosAdapter | AxiosAdapterName;
|
|
10922
|
+
|
|
10923
|
+
interface AxiosRequestConfig<D = any> {
|
|
10924
|
+
url?: string;
|
|
10925
|
+
method?: Method | string;
|
|
10926
|
+
baseURL?: string;
|
|
10927
|
+
transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
|
|
10928
|
+
transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
|
|
10929
|
+
headers?: (RawAxiosRequestHeaders & MethodsHeaders) | AxiosHeaders;
|
|
10930
|
+
params?: any;
|
|
10931
|
+
paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer;
|
|
10932
|
+
data?: D;
|
|
10933
|
+
timeout?: Milliseconds;
|
|
10934
|
+
timeoutErrorMessage?: string;
|
|
10935
|
+
withCredentials?: boolean;
|
|
10936
|
+
adapter?: AxiosAdapterConfig | AxiosAdapterConfig[];
|
|
10937
|
+
auth?: AxiosBasicCredentials;
|
|
10938
|
+
responseType?: ResponseType;
|
|
10939
|
+
responseEncoding?: responseEncoding | string;
|
|
10940
|
+
xsrfCookieName?: string;
|
|
10941
|
+
xsrfHeaderName?: string;
|
|
10942
|
+
onUploadProgress?: (progressEvent: AxiosProgressEvent) => void;
|
|
10943
|
+
onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void;
|
|
10944
|
+
maxContentLength?: number;
|
|
10945
|
+
validateStatus?: ((status: number) => boolean) | null;
|
|
10946
|
+
maxBodyLength?: number;
|
|
10947
|
+
maxRedirects?: number;
|
|
10948
|
+
maxRate?: number | [MaxUploadRate, MaxDownloadRate];
|
|
10949
|
+
beforeRedirect?: (options: Record<string, any>, responseDetails: { headers: Record<string, string> }) => void;
|
|
10950
|
+
socketPath?: string | null;
|
|
10951
|
+
transport?: any;
|
|
10952
|
+
httpAgent?: any;
|
|
10953
|
+
httpsAgent?: any;
|
|
10954
|
+
proxy?: AxiosProxyConfig | false;
|
|
10955
|
+
cancelToken?: CancelToken;
|
|
10956
|
+
decompress?: boolean;
|
|
10957
|
+
transitional?: TransitionalOptions;
|
|
10958
|
+
signal?: GenericAbortSignal;
|
|
10959
|
+
insecureHTTPParser?: boolean;
|
|
10960
|
+
env?: {
|
|
10961
|
+
FormData?: new (...args: any[]) => object;
|
|
10962
|
+
};
|
|
10963
|
+
formSerializer?: FormSerializerOptions;
|
|
10964
|
+
family?: 4 | 6 | undefined;
|
|
10965
|
+
lookup?: ((hostname: string, options: object, cb: (err: Error | null, address: string, family: number) => void) => void) |
|
|
10966
|
+
((hostname: string, options: object) => Promise<[address: string, family: number] | string>);
|
|
10967
|
+
}
|
|
10968
|
+
|
|
10969
|
+
interface InternalAxiosRequestConfig<D = any> extends AxiosRequestConfig<D> {
|
|
10970
|
+
headers: AxiosRequestHeaders;
|
|
10971
|
+
}
|
|
10972
|
+
|
|
10973
|
+
interface HeadersDefaults {
|
|
10974
|
+
common: RawAxiosRequestHeaders;
|
|
10975
|
+
delete: RawAxiosRequestHeaders;
|
|
10976
|
+
get: RawAxiosRequestHeaders;
|
|
10977
|
+
head: RawAxiosRequestHeaders;
|
|
10978
|
+
post: RawAxiosRequestHeaders;
|
|
10979
|
+
put: RawAxiosRequestHeaders;
|
|
10980
|
+
patch: RawAxiosRequestHeaders;
|
|
10981
|
+
options?: RawAxiosRequestHeaders;
|
|
10982
|
+
purge?: RawAxiosRequestHeaders;
|
|
10983
|
+
link?: RawAxiosRequestHeaders;
|
|
10984
|
+
unlink?: RawAxiosRequestHeaders;
|
|
10985
|
+
}
|
|
10986
|
+
|
|
10987
|
+
interface AxiosDefaults<D = any> extends Omit<AxiosRequestConfig<D>, 'headers'> {
|
|
10988
|
+
headers: HeadersDefaults;
|
|
10989
|
+
}
|
|
10990
|
+
|
|
10991
|
+
interface AxiosResponse<T = any, D = any> {
|
|
10992
|
+
data: T;
|
|
10993
|
+
status: number;
|
|
10994
|
+
statusText: string;
|
|
10995
|
+
headers: RawAxiosResponseHeaders | AxiosResponseHeaders;
|
|
10996
|
+
config: InternalAxiosRequestConfig<D>;
|
|
10997
|
+
request?: any;
|
|
10998
|
+
}
|
|
10999
|
+
|
|
11000
|
+
type AxiosPromise<T = any> = Promise<AxiosResponse<T>>;
|
|
11001
|
+
|
|
11002
|
+
interface Cancel {
|
|
11003
|
+
message: string | undefined;
|
|
11004
|
+
}
|
|
11005
|
+
|
|
11006
|
+
interface CancelToken {
|
|
11007
|
+
promise: Promise<Cancel>;
|
|
11008
|
+
reason?: Cancel;
|
|
11009
|
+
throwIfRequested(): void;
|
|
11010
|
+
}
|
|
11011
|
+
|
|
11012
|
+
interface AxiosInterceptorOptions {
|
|
11013
|
+
synchronous?: boolean;
|
|
11014
|
+
runWhen?: (config: InternalAxiosRequestConfig) => boolean;
|
|
11015
|
+
}
|
|
11016
|
+
|
|
11017
|
+
interface AxiosInterceptorManager<V> {
|
|
11018
|
+
use(onFulfilled?: ((value: V) => V | Promise<V>) | null, onRejected?: ((error: any) => any) | null, options?: AxiosInterceptorOptions): number;
|
|
11019
|
+
eject(id: number): void;
|
|
11020
|
+
clear(): void;
|
|
11021
|
+
}
|
|
11022
|
+
|
|
11023
|
+
declare class Axios {
|
|
11024
|
+
constructor(config?: AxiosRequestConfig);
|
|
11025
|
+
defaults: AxiosDefaults;
|
|
11026
|
+
interceptors: {
|
|
11027
|
+
request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
|
|
11028
|
+
response: AxiosInterceptorManager<AxiosResponse>;
|
|
11029
|
+
};
|
|
11030
|
+
getUri(config?: AxiosRequestConfig): string;
|
|
11031
|
+
request<T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R>;
|
|
11032
|
+
get<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
11033
|
+
delete<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
11034
|
+
head<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
11035
|
+
options<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
11036
|
+
post<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
11037
|
+
put<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
11038
|
+
patch<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
11039
|
+
postForm<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
11040
|
+
putForm<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
11041
|
+
patchForm<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
11042
|
+
}
|
|
11043
|
+
|
|
11044
|
+
interface AxiosInstance extends Axios {
|
|
11045
|
+
<T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R>;
|
|
11046
|
+
<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
11047
|
+
|
|
11048
|
+
defaults: Omit<AxiosDefaults, 'headers'> & {
|
|
11049
|
+
headers: HeadersDefaults & {
|
|
11050
|
+
[key: string]: AxiosHeaderValue
|
|
11051
|
+
}
|
|
11052
|
+
};
|
|
11053
|
+
}
|
|
11054
|
+
|
|
11055
|
+
interface GenericFormData {
|
|
11056
|
+
append(name: string, value: any, options?: any): any;
|
|
11057
|
+
}
|
|
11058
|
+
|
|
11059
|
+
/**
|
|
11060
|
+
* Swagger Guardian
|
|
11061
|
+
* Guardian API
|
|
11062
|
+
*
|
|
11063
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11064
|
+
* Contact: support@immutable.com
|
|
11065
|
+
*
|
|
11066
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11067
|
+
* https://openapi-generator.tech
|
|
11068
|
+
* Do not edit the class manually.
|
|
11069
|
+
*/
|
|
11070
|
+
interface ConfigurationParameters {
|
|
11071
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
11072
|
+
username?: string;
|
|
11073
|
+
password?: string;
|
|
11074
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
11075
|
+
basePath?: string;
|
|
11076
|
+
baseOptions?: any;
|
|
11077
|
+
formDataCtor?: new () => any;
|
|
11078
|
+
}
|
|
11079
|
+
declare class Configuration {
|
|
11080
|
+
/**
|
|
11081
|
+
* parameter for apiKey security
|
|
11082
|
+
* @param name security name
|
|
11083
|
+
* @memberof Configuration
|
|
11084
|
+
*/
|
|
11085
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
11086
|
+
/**
|
|
11087
|
+
* parameter for basic security
|
|
11088
|
+
*
|
|
11089
|
+
* @type {string}
|
|
11090
|
+
* @memberof Configuration
|
|
11091
|
+
*/
|
|
11092
|
+
username?: string;
|
|
11093
|
+
/**
|
|
11094
|
+
* parameter for basic security
|
|
11095
|
+
*
|
|
11096
|
+
* @type {string}
|
|
11097
|
+
* @memberof Configuration
|
|
11098
|
+
*/
|
|
11099
|
+
password?: string;
|
|
11100
|
+
/**
|
|
11101
|
+
* parameter for oauth2 security
|
|
11102
|
+
* @param name security name
|
|
11103
|
+
* @param scopes oauth2 scope
|
|
11104
|
+
* @memberof Configuration
|
|
11105
|
+
*/
|
|
11106
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
11107
|
+
/**
|
|
11108
|
+
* override base path
|
|
11109
|
+
*
|
|
11110
|
+
* @type {string}
|
|
11111
|
+
* @memberof Configuration
|
|
11112
|
+
*/
|
|
11113
|
+
basePath?: string;
|
|
11114
|
+
/**
|
|
11115
|
+
* base options for axios calls
|
|
11116
|
+
*
|
|
11117
|
+
* @type {any}
|
|
11118
|
+
* @memberof Configuration
|
|
11119
|
+
*/
|
|
11120
|
+
baseOptions?: any;
|
|
11121
|
+
/**
|
|
11122
|
+
* The FormData constructor that will be used to create multipart form data
|
|
11123
|
+
* requests. You can inject this here so that execution environments that
|
|
11124
|
+
* do not support the FormData class can still run the generated client.
|
|
11125
|
+
*
|
|
11126
|
+
* @type {new () => FormData}
|
|
11127
|
+
*/
|
|
11128
|
+
formDataCtor?: new () => any;
|
|
11129
|
+
constructor(param?: ConfigurationParameters);
|
|
11130
|
+
/**
|
|
11131
|
+
* Check if the given MIME is a JSON MIME.
|
|
11132
|
+
* JSON MIME examples:
|
|
11133
|
+
* application/json
|
|
11134
|
+
* application/json; charset=UTF8
|
|
11135
|
+
* APPLICATION/JSON
|
|
11136
|
+
* application/vnd.company+json
|
|
11137
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
11138
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
11139
|
+
*/
|
|
11140
|
+
isJsonMime(mime: string): boolean;
|
|
11141
|
+
}
|
|
11142
|
+
|
|
11143
|
+
/**
|
|
11144
|
+
* Swagger Guardian
|
|
11145
|
+
* Guardian API
|
|
11146
|
+
*
|
|
11147
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11148
|
+
* Contact: support@immutable.com
|
|
11149
|
+
*
|
|
11150
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11151
|
+
* https://openapi-generator.tech
|
|
11152
|
+
* Do not edit the class manually.
|
|
11153
|
+
*/
|
|
11154
|
+
|
|
11155
|
+
/**
|
|
11156
|
+
*
|
|
11157
|
+
* @export
|
|
11158
|
+
* @interface RequestArgs
|
|
11159
|
+
*/
|
|
11160
|
+
interface RequestArgs {
|
|
11161
|
+
url: string;
|
|
11162
|
+
options: AxiosRequestConfig;
|
|
11163
|
+
}
|
|
11164
|
+
/**
|
|
11165
|
+
*
|
|
11166
|
+
* @export
|
|
11167
|
+
* @class BaseAPI
|
|
11168
|
+
*/
|
|
11169
|
+
declare class BaseAPI {
|
|
11170
|
+
protected basePath: string;
|
|
11171
|
+
protected axios: AxiosInstance;
|
|
11172
|
+
protected configuration: Configuration | undefined;
|
|
11173
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
11174
|
+
}
|
|
11175
|
+
|
|
11176
|
+
/**
|
|
11177
|
+
* Swagger Guardian
|
|
11178
|
+
* Guardian API
|
|
11179
|
+
*
|
|
11180
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11181
|
+
* Contact: support@immutable.com
|
|
11182
|
+
*
|
|
11183
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11184
|
+
* https://openapi-generator.tech
|
|
11185
|
+
* Do not edit the class manually.
|
|
11186
|
+
*/
|
|
11187
|
+
/**
|
|
11188
|
+
*
|
|
11189
|
+
* @export
|
|
11190
|
+
* @interface APIError403AllOf
|
|
11191
|
+
*/
|
|
11192
|
+
interface APIError403AllOf {
|
|
11193
|
+
/**
|
|
11194
|
+
* Error Code
|
|
11195
|
+
* @type {string}
|
|
11196
|
+
* @memberof APIError403AllOf
|
|
11197
|
+
*/
|
|
11198
|
+
'code': APIError403AllOfCodeEnum;
|
|
11199
|
+
/**
|
|
11200
|
+
* Additional details to help resolve the error
|
|
11201
|
+
* @type {{ [key: string]: any; }}
|
|
11202
|
+
* @memberof APIError403AllOf
|
|
11203
|
+
*/
|
|
11204
|
+
'details': {
|
|
11205
|
+
[key: string]: any;
|
|
11206
|
+
} | null;
|
|
11207
|
+
}
|
|
11208
|
+
declare const APIError403AllOfCodeEnum: {
|
|
11209
|
+
readonly AuthenticationError: "AUTHENTICATION_ERROR";
|
|
11210
|
+
};
|
|
11211
|
+
type APIError403AllOfCodeEnum = typeof APIError403AllOfCodeEnum[keyof typeof APIError403AllOfCodeEnum];
|
|
11212
|
+
|
|
11213
|
+
/**
|
|
11214
|
+
* Swagger Guardian
|
|
11215
|
+
* Guardian API
|
|
11216
|
+
*
|
|
11217
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11218
|
+
* Contact: support@immutable.com
|
|
11219
|
+
*
|
|
11220
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11221
|
+
* https://openapi-generator.tech
|
|
11222
|
+
* Do not edit the class manually.
|
|
11223
|
+
*/
|
|
11224
|
+
/**
|
|
11225
|
+
*
|
|
11226
|
+
* @export
|
|
11227
|
+
* @interface BasicAPIError
|
|
11228
|
+
*/
|
|
11229
|
+
interface BasicAPIError {
|
|
11230
|
+
/**
|
|
11231
|
+
* Error Message
|
|
11232
|
+
* @type {string}
|
|
11233
|
+
* @memberof BasicAPIError
|
|
11234
|
+
*/
|
|
11235
|
+
'message': string;
|
|
11236
|
+
/**
|
|
11237
|
+
* Link to IMX documentation that can help resolve this error
|
|
11238
|
+
* @type {string}
|
|
11239
|
+
* @memberof BasicAPIError
|
|
11240
|
+
*/
|
|
11241
|
+
'link': string;
|
|
11242
|
+
/**
|
|
11243
|
+
* Trace ID of the initial request
|
|
11244
|
+
* @type {string}
|
|
11245
|
+
* @memberof BasicAPIError
|
|
11246
|
+
*/
|
|
11247
|
+
'trace_id': string;
|
|
11248
|
+
}
|
|
11249
|
+
|
|
11250
|
+
/**
|
|
11251
|
+
* Swagger Guardian
|
|
11252
|
+
* Guardian API
|
|
11253
|
+
*
|
|
11254
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11255
|
+
* Contact: support@immutable.com
|
|
11256
|
+
*
|
|
11257
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11258
|
+
* https://openapi-generator.tech
|
|
11259
|
+
* Do not edit the class manually.
|
|
11260
|
+
*/
|
|
11261
|
+
|
|
11262
|
+
/**
|
|
11263
|
+
* @type APIError403
|
|
11264
|
+
* @export
|
|
11265
|
+
*/
|
|
11266
|
+
type APIError403 = APIError403AllOf & BasicAPIError;
|
|
11267
|
+
|
|
11268
|
+
/**
|
|
11269
|
+
* Swagger Guardian
|
|
11270
|
+
* Guardian API
|
|
11271
|
+
*
|
|
11272
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11273
|
+
* Contact: support@immutable.com
|
|
11274
|
+
*
|
|
11275
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11276
|
+
* https://openapi-generator.tech
|
|
11277
|
+
* Do not edit the class manually.
|
|
11278
|
+
*/
|
|
11279
|
+
/**
|
|
11280
|
+
*
|
|
11281
|
+
* @export
|
|
11282
|
+
* @interface APIError404AllOf
|
|
11283
|
+
*/
|
|
11284
|
+
interface APIError404AllOf {
|
|
11285
|
+
/**
|
|
11286
|
+
* Error Code
|
|
11287
|
+
* @type {string}
|
|
11288
|
+
* @memberof APIError404AllOf
|
|
11289
|
+
*/
|
|
11290
|
+
'code': APIError404AllOfCodeEnum;
|
|
11291
|
+
/**
|
|
11292
|
+
* Additional details to help resolve the error
|
|
11293
|
+
* @type {{ [key: string]: any; }}
|
|
11294
|
+
* @memberof APIError404AllOf
|
|
11295
|
+
*/
|
|
11296
|
+
'details': {
|
|
11297
|
+
[key: string]: any;
|
|
11298
|
+
} | null;
|
|
11299
|
+
}
|
|
11300
|
+
declare const APIError404AllOfCodeEnum: {
|
|
11301
|
+
readonly ResourceNotFound: "RESOURCE_NOT_FOUND";
|
|
11302
|
+
};
|
|
11303
|
+
type APIError404AllOfCodeEnum = typeof APIError404AllOfCodeEnum[keyof typeof APIError404AllOfCodeEnum];
|
|
11304
|
+
|
|
11305
|
+
/**
|
|
11306
|
+
* Swagger Guardian
|
|
11307
|
+
* Guardian API
|
|
11308
|
+
*
|
|
11309
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11310
|
+
* Contact: support@immutable.com
|
|
11311
|
+
*
|
|
11312
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11313
|
+
* https://openapi-generator.tech
|
|
11314
|
+
* Do not edit the class manually.
|
|
11315
|
+
*/
|
|
11316
|
+
|
|
11317
|
+
/**
|
|
11318
|
+
* @type APIError404
|
|
11319
|
+
* @export
|
|
11320
|
+
*/
|
|
11321
|
+
type APIError404 = APIError404AllOf & BasicAPIError;
|
|
11322
|
+
|
|
11323
|
+
/**
|
|
11324
|
+
* Swagger Guardian
|
|
11325
|
+
* Guardian API
|
|
11326
|
+
*
|
|
11327
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11328
|
+
* Contact: support@immutable.com
|
|
11329
|
+
*
|
|
11330
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11331
|
+
* https://openapi-generator.tech
|
|
11332
|
+
* Do not edit the class manually.
|
|
11333
|
+
*/
|
|
11334
|
+
/**
|
|
11335
|
+
*
|
|
11336
|
+
* @export
|
|
11337
|
+
* @interface APIError500AllOf
|
|
11338
|
+
*/
|
|
11339
|
+
interface APIError500AllOf {
|
|
11340
|
+
/**
|
|
11341
|
+
* Error Code
|
|
11342
|
+
* @type {string}
|
|
11343
|
+
* @memberof APIError500AllOf
|
|
11344
|
+
*/
|
|
11345
|
+
'code': APIError500AllOfCodeEnum;
|
|
11346
|
+
/**
|
|
11347
|
+
* Additional details to help resolve the error
|
|
11348
|
+
* @type {{ [key: string]: any; }}
|
|
11349
|
+
* @memberof APIError500AllOf
|
|
11350
|
+
*/
|
|
11351
|
+
'details': {
|
|
11352
|
+
[key: string]: any;
|
|
11353
|
+
} | null;
|
|
11354
|
+
}
|
|
11355
|
+
declare const APIError500AllOfCodeEnum: {
|
|
11356
|
+
readonly InternalServerError: "INTERNAL_SERVER_ERROR";
|
|
11357
|
+
};
|
|
11358
|
+
type APIError500AllOfCodeEnum = typeof APIError500AllOfCodeEnum[keyof typeof APIError500AllOfCodeEnum];
|
|
11359
|
+
|
|
11360
|
+
/**
|
|
11361
|
+
* Swagger Guardian
|
|
11362
|
+
* Guardian API
|
|
11363
|
+
*
|
|
11364
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11365
|
+
* Contact: support@immutable.com
|
|
11366
|
+
*
|
|
11367
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11368
|
+
* https://openapi-generator.tech
|
|
11369
|
+
* Do not edit the class manually.
|
|
11370
|
+
*/
|
|
11371
|
+
|
|
11372
|
+
/**
|
|
11373
|
+
* @type APIError500
|
|
11374
|
+
* @export
|
|
11375
|
+
*/
|
|
11376
|
+
type APIError500 = APIError500AllOf & BasicAPIError;
|
|
11377
|
+
|
|
11378
|
+
/**
|
|
11379
|
+
* Swagger Guardian
|
|
11380
|
+
* Guardian API
|
|
11381
|
+
*
|
|
11382
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11383
|
+
* Contact: support@immutable.com
|
|
11384
|
+
*
|
|
11385
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11386
|
+
* https://openapi-generator.tech
|
|
11387
|
+
* Do not edit the class manually.
|
|
11388
|
+
*/
|
|
11389
|
+
/**
|
|
11390
|
+
*
|
|
11391
|
+
* @export
|
|
11392
|
+
* @interface StarkExTransactionValidateReponseDefinition
|
|
11393
|
+
*/
|
|
11394
|
+
interface StarkExTransactionValidateReponseDefinition {
|
|
11395
|
+
/**
|
|
11396
|
+
*
|
|
11397
|
+
* @type {boolean}
|
|
11398
|
+
* @memberof StarkExTransactionValidateReponseDefinition
|
|
11399
|
+
*/
|
|
11400
|
+
'confirmationRequired': boolean;
|
|
11401
|
+
/**
|
|
11402
|
+
*
|
|
11403
|
+
* @type {string}
|
|
11404
|
+
* @memberof StarkExTransactionValidateReponseDefinition
|
|
11405
|
+
*/
|
|
11406
|
+
'confirmationMethod'?: StarkExTransactionValidateReponseDefinitionConfirmationMethodEnum;
|
|
11407
|
+
}
|
|
11408
|
+
declare const StarkExTransactionValidateReponseDefinitionConfirmationMethodEnum: {
|
|
11409
|
+
readonly Otp: "otp";
|
|
11410
|
+
readonly Web: "web";
|
|
11411
|
+
};
|
|
11412
|
+
type StarkExTransactionValidateReponseDefinitionConfirmationMethodEnum = typeof StarkExTransactionValidateReponseDefinitionConfirmationMethodEnum[keyof typeof StarkExTransactionValidateReponseDefinitionConfirmationMethodEnum];
|
|
11413
|
+
|
|
11414
|
+
/**
|
|
11415
|
+
* Swagger Guardian
|
|
11416
|
+
* Guardian API
|
|
11417
|
+
*
|
|
11418
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11419
|
+
* Contact: support@immutable.com
|
|
11420
|
+
*
|
|
11421
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11422
|
+
* https://openapi-generator.tech
|
|
11423
|
+
* Do not edit the class manually.
|
|
11424
|
+
*/
|
|
11425
|
+
/**
|
|
11426
|
+
*
|
|
11427
|
+
* @export
|
|
11428
|
+
* @interface Transaction
|
|
11429
|
+
*/
|
|
11430
|
+
interface Transaction$1 {
|
|
11431
|
+
/**
|
|
11432
|
+
* Confirmation Candidate ID
|
|
11433
|
+
* @type {string}
|
|
11434
|
+
* @memberof Transaction
|
|
11435
|
+
*/
|
|
11436
|
+
'id': string;
|
|
11437
|
+
/**
|
|
11438
|
+
* canidates\'s ether address
|
|
11439
|
+
* @type {string}
|
|
11440
|
+
* @memberof Transaction
|
|
11441
|
+
*/
|
|
11442
|
+
'eth_address': string;
|
|
11443
|
+
/**
|
|
11444
|
+
* Status of the starkex transactions
|
|
11445
|
+
* @type {string}
|
|
11446
|
+
* @memberof Transaction
|
|
11447
|
+
*/
|
|
11448
|
+
'status': string;
|
|
11449
|
+
/**
|
|
11450
|
+
* Confirmation candidate type
|
|
11451
|
+
* @type {string}
|
|
11452
|
+
* @memberof Transaction
|
|
11453
|
+
*/
|
|
11454
|
+
'transaction_type': string;
|
|
11455
|
+
/**
|
|
11456
|
+
* Which version is at
|
|
11457
|
+
* @type {string}
|
|
11458
|
+
* @memberof Transaction
|
|
11459
|
+
*/
|
|
11460
|
+
'version': string;
|
|
11461
|
+
/**
|
|
11462
|
+
* Transaction metadata as a string
|
|
11463
|
+
* @type {{ [key: string]: any; }}
|
|
11464
|
+
* @memberof Transaction
|
|
11465
|
+
*/
|
|
11466
|
+
'transaction_metadata': {
|
|
11467
|
+
[key: string]: any;
|
|
11468
|
+
};
|
|
11469
|
+
}
|
|
11470
|
+
|
|
11471
|
+
/**
|
|
11472
|
+
* Swagger Guardian
|
|
11473
|
+
* Guardian API
|
|
11474
|
+
*
|
|
11475
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11476
|
+
* Contact: support@immutable.com
|
|
11477
|
+
*
|
|
11478
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11479
|
+
* https://openapi-generator.tech
|
|
11480
|
+
* Do not edit the class manually.
|
|
11481
|
+
*/
|
|
11482
|
+
/**
|
|
11483
|
+
*
|
|
11484
|
+
* @export
|
|
11485
|
+
* @interface TransactionApprovalRequest
|
|
11486
|
+
*/
|
|
11487
|
+
interface TransactionApprovalRequest {
|
|
11488
|
+
/**
|
|
11489
|
+
* rollup chain ID
|
|
11490
|
+
* @type {number}
|
|
11491
|
+
* @memberof TransactionApprovalRequest
|
|
11492
|
+
*/
|
|
11493
|
+
'chainID': number;
|
|
11494
|
+
/**
|
|
11495
|
+
* chain type
|
|
11496
|
+
* @type {string}
|
|
11497
|
+
* @memberof TransactionApprovalRequest
|
|
11498
|
+
*/
|
|
11499
|
+
'chainType': TransactionApprovalRequestChainTypeEnum;
|
|
11500
|
+
/**
|
|
11501
|
+
* otp string
|
|
11502
|
+
* @type {string}
|
|
11503
|
+
* @memberof TransactionApprovalRequest
|
|
11504
|
+
*/
|
|
11505
|
+
'otp'?: string;
|
|
11506
|
+
}
|
|
11507
|
+
declare const TransactionApprovalRequestChainTypeEnum: {
|
|
11508
|
+
readonly Starkex: "starkex";
|
|
11509
|
+
readonly Evm: "evm";
|
|
11510
|
+
};
|
|
11511
|
+
type TransactionApprovalRequestChainTypeEnum = typeof TransactionApprovalRequestChainTypeEnum[keyof typeof TransactionApprovalRequestChainTypeEnum];
|
|
11512
|
+
|
|
11513
|
+
/**
|
|
11514
|
+
* DefaultApi - axios parameter creator
|
|
11515
|
+
* @export
|
|
11516
|
+
*/
|
|
11517
|
+
declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
11518
|
+
/**
|
|
11519
|
+
* Approve a pending transaction
|
|
11520
|
+
* @summary Approve a pending transaction given chain
|
|
11521
|
+
* @param {string} payloadHash Hash for the payload
|
|
11522
|
+
* @param {TransactionApprovalRequest} transactionApprovalRequest request body for approving a pending transactio
|
|
11523
|
+
* @param {*} [options] Override http request option.
|
|
11524
|
+
* @throws {RequiredError}
|
|
11525
|
+
*/
|
|
11526
|
+
approvePendingTransaction: (payloadHash: string, transactionApprovalRequest: TransactionApprovalRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11527
|
+
};
|
|
11528
|
+
/**
|
|
11529
|
+
* DefaultApi - functional programming interface
|
|
11530
|
+
* @export
|
|
11531
|
+
*/
|
|
11532
|
+
declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
11533
|
+
/**
|
|
11534
|
+
* Approve a pending transaction
|
|
11535
|
+
* @summary Approve a pending transaction given chain
|
|
11536
|
+
* @param {string} payloadHash Hash for the payload
|
|
11537
|
+
* @param {TransactionApprovalRequest} transactionApprovalRequest request body for approving a pending transactio
|
|
11538
|
+
* @param {*} [options] Override http request option.
|
|
11539
|
+
* @throws {RequiredError}
|
|
11540
|
+
*/
|
|
11541
|
+
approvePendingTransaction(payloadHash: string, transactionApprovalRequest: TransactionApprovalRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
11542
|
+
};
|
|
11543
|
+
/**
|
|
11544
|
+
* DefaultApi - factory interface
|
|
11545
|
+
* @export
|
|
11546
|
+
*/
|
|
11547
|
+
declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
11548
|
+
/**
|
|
11549
|
+
* Approve a pending transaction
|
|
11550
|
+
* @summary Approve a pending transaction given chain
|
|
11551
|
+
* @param {DefaultApiApprovePendingTransactionRequest} requestParameters Request parameters.
|
|
11552
|
+
* @param {*} [options] Override http request option.
|
|
11553
|
+
* @throws {RequiredError}
|
|
11554
|
+
*/
|
|
11555
|
+
approvePendingTransaction(requestParameters: DefaultApiApprovePendingTransactionRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
11556
|
+
};
|
|
11557
|
+
/**
|
|
11558
|
+
* Request parameters for approvePendingTransaction operation in DefaultApi.
|
|
11559
|
+
* @export
|
|
11560
|
+
* @interface DefaultApiApprovePendingTransactionRequest
|
|
11561
|
+
*/
|
|
11562
|
+
interface DefaultApiApprovePendingTransactionRequest {
|
|
11563
|
+
/**
|
|
11564
|
+
* Hash for the payload
|
|
11565
|
+
* @type {string}
|
|
11566
|
+
* @memberof DefaultApiApprovePendingTransaction
|
|
11567
|
+
*/
|
|
11568
|
+
readonly payloadHash: string;
|
|
10580
11569
|
/**
|
|
10581
|
-
*
|
|
10582
|
-
* @
|
|
10583
|
-
* @
|
|
10584
|
-
* @throws {@link index.IMXError}
|
|
11570
|
+
* request body for approving a pending transactio
|
|
11571
|
+
* @type {TransactionApprovalRequest}
|
|
11572
|
+
* @memberof DefaultApiApprovePendingTransaction
|
|
10585
11573
|
*/
|
|
10586
|
-
|
|
11574
|
+
readonly transactionApprovalRequest: TransactionApprovalRequest;
|
|
11575
|
+
}
|
|
11576
|
+
/**
|
|
11577
|
+
* DefaultApi - object-oriented interface
|
|
11578
|
+
* @export
|
|
11579
|
+
* @class DefaultApi
|
|
11580
|
+
* @extends {BaseAPI}
|
|
11581
|
+
*/
|
|
11582
|
+
declare class DefaultApi extends BaseAPI {
|
|
10587
11583
|
/**
|
|
10588
|
-
*
|
|
10589
|
-
* @
|
|
10590
|
-
* @
|
|
10591
|
-
* @
|
|
11584
|
+
* Approve a pending transaction
|
|
11585
|
+
* @summary Approve a pending transaction given chain
|
|
11586
|
+
* @param {DefaultApiApprovePendingTransactionRequest} requestParameters Request parameters.
|
|
11587
|
+
* @param {*} [options] Override http request option.
|
|
11588
|
+
* @throws {RequiredError}
|
|
11589
|
+
* @memberof DefaultApi
|
|
10592
11590
|
*/
|
|
10593
|
-
|
|
11591
|
+
approvePendingTransaction(requestParameters: DefaultApiApprovePendingTransactionRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<void, any>>;
|
|
11592
|
+
}
|
|
11593
|
+
|
|
11594
|
+
/**
|
|
11595
|
+
* StarkexTransactionsApi - axios parameter creator
|
|
11596
|
+
* @export
|
|
11597
|
+
*/
|
|
11598
|
+
declare const StarkexTransactionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
10594
11599
|
/**
|
|
10595
|
-
*
|
|
10596
|
-
* @
|
|
10597
|
-
* @
|
|
10598
|
-
* @
|
|
11600
|
+
* Check if it is a valid transaction by payload hash
|
|
11601
|
+
* @summary Evaluate if it is an valid transaction
|
|
11602
|
+
* @param {string} payloadHash Hash for the payload
|
|
11603
|
+
* @param {*} [options] Override http request option.
|
|
11604
|
+
* @throws {RequiredError}
|
|
10599
11605
|
*/
|
|
10600
|
-
|
|
11606
|
+
evaluateStarkexTransaction: (payloadHash: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11607
|
+
};
|
|
11608
|
+
/**
|
|
11609
|
+
* StarkexTransactionsApi - functional programming interface
|
|
11610
|
+
* @export
|
|
11611
|
+
*/
|
|
11612
|
+
declare const StarkexTransactionsApiFp: (configuration?: Configuration) => {
|
|
10601
11613
|
/**
|
|
10602
|
-
*
|
|
10603
|
-
* @
|
|
10604
|
-
* @
|
|
10605
|
-
* @
|
|
11614
|
+
* Check if it is a valid transaction by payload hash
|
|
11615
|
+
* @summary Evaluate if it is an valid transaction
|
|
11616
|
+
* @param {string} payloadHash Hash for the payload
|
|
11617
|
+
* @param {*} [options] Override http request option.
|
|
11618
|
+
* @throws {RequiredError}
|
|
10606
11619
|
*/
|
|
10607
|
-
|
|
11620
|
+
evaluateStarkexTransaction(payloadHash: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StarkExTransactionValidateReponseDefinition>>;
|
|
11621
|
+
};
|
|
11622
|
+
/**
|
|
11623
|
+
* StarkexTransactionsApi - factory interface
|
|
11624
|
+
* @export
|
|
11625
|
+
*/
|
|
11626
|
+
declare const StarkexTransactionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
10608
11627
|
/**
|
|
10609
|
-
*
|
|
10610
|
-
* @
|
|
10611
|
-
* @
|
|
10612
|
-
* @
|
|
11628
|
+
* Check if it is a valid transaction by payload hash
|
|
11629
|
+
* @summary Evaluate if it is an valid transaction
|
|
11630
|
+
* @param {StarkexTransactionsApiEvaluateStarkexTransactionRequest} requestParameters Request parameters.
|
|
11631
|
+
* @param {*} [options] Override http request option.
|
|
11632
|
+
* @throws {RequiredError}
|
|
10613
11633
|
*/
|
|
10614
|
-
|
|
11634
|
+
evaluateStarkexTransaction(requestParameters: StarkexTransactionsApiEvaluateStarkexTransactionRequest, options?: AxiosRequestConfig): AxiosPromise<StarkExTransactionValidateReponseDefinition>;
|
|
11635
|
+
};
|
|
11636
|
+
/**
|
|
11637
|
+
* Request parameters for evaluateStarkexTransaction operation in StarkexTransactionsApi.
|
|
11638
|
+
* @export
|
|
11639
|
+
* @interface StarkexTransactionsApiEvaluateStarkexTransactionRequest
|
|
11640
|
+
*/
|
|
11641
|
+
interface StarkexTransactionsApiEvaluateStarkexTransactionRequest {
|
|
10615
11642
|
/**
|
|
10616
|
-
*
|
|
10617
|
-
* @
|
|
10618
|
-
* @
|
|
10619
|
-
* @throws {@link index.IMXError}
|
|
11643
|
+
* Hash for the payload
|
|
11644
|
+
* @type {string}
|
|
11645
|
+
* @memberof StarkexTransactionsApiEvaluateStarkexTransaction
|
|
10620
11646
|
*/
|
|
10621
|
-
|
|
11647
|
+
readonly payloadHash: string;
|
|
11648
|
+
}
|
|
11649
|
+
/**
|
|
11650
|
+
* StarkexTransactionsApi - object-oriented interface
|
|
11651
|
+
* @export
|
|
11652
|
+
* @class StarkexTransactionsApi
|
|
11653
|
+
* @extends {BaseAPI}
|
|
11654
|
+
*/
|
|
11655
|
+
declare class StarkexTransactionsApi extends BaseAPI {
|
|
10622
11656
|
/**
|
|
10623
|
-
*
|
|
10624
|
-
* @
|
|
10625
|
-
* @
|
|
10626
|
-
* @
|
|
11657
|
+
* Check if it is a valid transaction by payload hash
|
|
11658
|
+
* @summary Evaluate if it is an valid transaction
|
|
11659
|
+
* @param {StarkexTransactionsApiEvaluateStarkexTransactionRequest} requestParameters Request parameters.
|
|
11660
|
+
* @param {*} [options] Override http request option.
|
|
11661
|
+
* @throws {RequiredError}
|
|
11662
|
+
* @memberof StarkexTransactionsApi
|
|
10627
11663
|
*/
|
|
10628
|
-
|
|
11664
|
+
evaluateStarkexTransaction(requestParameters: StarkexTransactionsApiEvaluateStarkexTransactionRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<StarkExTransactionValidateReponseDefinition, any>>;
|
|
11665
|
+
}
|
|
11666
|
+
|
|
11667
|
+
/**
|
|
11668
|
+
* TransactionsApi - axios parameter creator
|
|
11669
|
+
* @export
|
|
11670
|
+
*/
|
|
11671
|
+
declare const TransactionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
10629
11672
|
/**
|
|
10630
|
-
* Get
|
|
10631
|
-
* @
|
|
10632
|
-
* @
|
|
10633
|
-
* @
|
|
11673
|
+
* Get a transaction by payload hash
|
|
11674
|
+
* @summary Info for a specific transaction
|
|
11675
|
+
* @param {string} transactionID The id of the starkex transaction to retrieve
|
|
11676
|
+
* @param {string} chainType roll up type
|
|
11677
|
+
* @param {number} [chainID] ID of evm chain
|
|
11678
|
+
* @param {*} [options] Override http request option.
|
|
11679
|
+
* @throws {RequiredError}
|
|
10634
11680
|
*/
|
|
10635
|
-
|
|
11681
|
+
getTransactionByID: (transactionID: string, chainType: string, chainID?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11682
|
+
};
|
|
11683
|
+
/**
|
|
11684
|
+
* TransactionsApi - functional programming interface
|
|
11685
|
+
* @export
|
|
11686
|
+
*/
|
|
11687
|
+
declare const TransactionsApiFp: (configuration?: Configuration) => {
|
|
10636
11688
|
/**
|
|
10637
|
-
* Get
|
|
10638
|
-
* @
|
|
10639
|
-
* @
|
|
10640
|
-
* @
|
|
11689
|
+
* Get a transaction by payload hash
|
|
11690
|
+
* @summary Info for a specific transaction
|
|
11691
|
+
* @param {string} transactionID The id of the starkex transaction to retrieve
|
|
11692
|
+
* @param {string} chainType roll up type
|
|
11693
|
+
* @param {number} [chainID] ID of evm chain
|
|
11694
|
+
* @param {*} [options] Override http request option.
|
|
11695
|
+
* @throws {RequiredError}
|
|
10641
11696
|
*/
|
|
10642
|
-
|
|
11697
|
+
getTransactionByID(transactionID: string, chainType: string, chainID?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Transaction$1>>;
|
|
11698
|
+
};
|
|
11699
|
+
/**
|
|
11700
|
+
* TransactionsApi - factory interface
|
|
11701
|
+
* @export
|
|
11702
|
+
*/
|
|
11703
|
+
declare const TransactionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
10643
11704
|
/**
|
|
10644
|
-
*
|
|
10645
|
-
* @
|
|
10646
|
-
* @param
|
|
10647
|
-
* @
|
|
10648
|
-
* @throws {
|
|
11705
|
+
* Get a transaction by payload hash
|
|
11706
|
+
* @summary Info for a specific transaction
|
|
11707
|
+
* @param {TransactionsApiGetTransactionByIDRequest} requestParameters Request parameters.
|
|
11708
|
+
* @param {*} [options] Override http request option.
|
|
11709
|
+
* @throws {RequiredError}
|
|
10649
11710
|
*/
|
|
10650
|
-
|
|
11711
|
+
getTransactionByID(requestParameters: TransactionsApiGetTransactionByIDRequest, options?: AxiosRequestConfig): AxiosPromise<Transaction$1>;
|
|
11712
|
+
};
|
|
11713
|
+
/**
|
|
11714
|
+
* Request parameters for getTransactionByID operation in TransactionsApi.
|
|
11715
|
+
* @export
|
|
11716
|
+
* @interface TransactionsApiGetTransactionByIDRequest
|
|
11717
|
+
*/
|
|
11718
|
+
interface TransactionsApiGetTransactionByIDRequest {
|
|
10651
11719
|
/**
|
|
10652
|
-
*
|
|
10653
|
-
* @
|
|
10654
|
-
* @
|
|
10655
|
-
* @throws {@link index.IMXError}
|
|
11720
|
+
* The id of the starkex transaction to retrieve
|
|
11721
|
+
* @type {string}
|
|
11722
|
+
* @memberof TransactionsApiGetTransactionByID
|
|
10656
11723
|
*/
|
|
10657
|
-
|
|
11724
|
+
readonly transactionID: string;
|
|
10658
11725
|
/**
|
|
10659
|
-
*
|
|
10660
|
-
* @
|
|
10661
|
-
* @
|
|
10662
|
-
* @throws {@link index.IMXError}
|
|
11726
|
+
* roll up type
|
|
11727
|
+
* @type {string}
|
|
11728
|
+
* @memberof TransactionsApiGetTransactionByID
|
|
10663
11729
|
*/
|
|
10664
|
-
|
|
11730
|
+
readonly chainType: string;
|
|
10665
11731
|
/**
|
|
10666
|
-
*
|
|
10667
|
-
* @
|
|
10668
|
-
* @
|
|
10669
|
-
* @throws {@link index.IMXError}
|
|
11732
|
+
* ID of evm chain
|
|
11733
|
+
* @type {number}
|
|
11734
|
+
* @memberof TransactionsApiGetTransactionByID
|
|
10670
11735
|
*/
|
|
10671
|
-
|
|
11736
|
+
readonly chainID?: number;
|
|
11737
|
+
}
|
|
11738
|
+
/**
|
|
11739
|
+
* TransactionsApi - object-oriented interface
|
|
11740
|
+
* @export
|
|
11741
|
+
* @class TransactionsApi
|
|
11742
|
+
* @extends {BaseAPI}
|
|
11743
|
+
*/
|
|
11744
|
+
declare class TransactionsApi extends BaseAPI {
|
|
10672
11745
|
/**
|
|
10673
|
-
* Get
|
|
10674
|
-
* @
|
|
10675
|
-
* @
|
|
10676
|
-
* @
|
|
11746
|
+
* Get a transaction by payload hash
|
|
11747
|
+
* @summary Info for a specific transaction
|
|
11748
|
+
* @param {TransactionsApiGetTransactionByIDRequest} requestParameters Request parameters.
|
|
11749
|
+
* @param {*} [options] Override http request option.
|
|
11750
|
+
* @throws {RequiredError}
|
|
11751
|
+
* @memberof TransactionsApi
|
|
10677
11752
|
*/
|
|
10678
|
-
|
|
11753
|
+
getTransactionByID(requestParameters: TransactionsApiGetTransactionByIDRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Transaction$1, any>>;
|
|
11754
|
+
}
|
|
11755
|
+
|
|
11756
|
+
/**
|
|
11757
|
+
* Swagger Guardian
|
|
11758
|
+
* Guardian API
|
|
11759
|
+
*
|
|
11760
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11761
|
+
* Contact: support@immutable.com
|
|
11762
|
+
*
|
|
11763
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11764
|
+
* https://openapi-generator.tech
|
|
11765
|
+
* Do not edit the class manually.
|
|
11766
|
+
*/
|
|
11767
|
+
|
|
11768
|
+
type index_d_APIError403 = APIError403;
|
|
11769
|
+
type index_d_APIError403AllOf = APIError403AllOf;
|
|
11770
|
+
type index_d_APIError403AllOfCodeEnum = APIError403AllOfCodeEnum;
|
|
11771
|
+
type index_d_APIError404 = APIError404;
|
|
11772
|
+
type index_d_APIError404AllOf = APIError404AllOf;
|
|
11773
|
+
type index_d_APIError404AllOfCodeEnum = APIError404AllOfCodeEnum;
|
|
11774
|
+
type index_d_APIError500 = APIError500;
|
|
11775
|
+
type index_d_APIError500AllOf = APIError500AllOf;
|
|
11776
|
+
type index_d_APIError500AllOfCodeEnum = APIError500AllOfCodeEnum;
|
|
11777
|
+
type index_d_BasicAPIError = BasicAPIError;
|
|
11778
|
+
type index_d_Configuration = Configuration;
|
|
11779
|
+
declare const index_d_Configuration: typeof Configuration;
|
|
11780
|
+
type index_d_ConfigurationParameters = ConfigurationParameters;
|
|
11781
|
+
type index_d_DefaultApi = DefaultApi;
|
|
11782
|
+
declare const index_d_DefaultApi: typeof DefaultApi;
|
|
11783
|
+
type index_d_DefaultApiApprovePendingTransactionRequest = DefaultApiApprovePendingTransactionRequest;
|
|
11784
|
+
declare const index_d_DefaultApiAxiosParamCreator: typeof DefaultApiAxiosParamCreator;
|
|
11785
|
+
declare const index_d_DefaultApiFactory: typeof DefaultApiFactory;
|
|
11786
|
+
declare const index_d_DefaultApiFp: typeof DefaultApiFp;
|
|
11787
|
+
type index_d_StarkExTransactionValidateReponseDefinition = StarkExTransactionValidateReponseDefinition;
|
|
11788
|
+
type index_d_StarkExTransactionValidateReponseDefinitionConfirmationMethodEnum = StarkExTransactionValidateReponseDefinitionConfirmationMethodEnum;
|
|
11789
|
+
type index_d_StarkexTransactionsApi = StarkexTransactionsApi;
|
|
11790
|
+
declare const index_d_StarkexTransactionsApi: typeof StarkexTransactionsApi;
|
|
11791
|
+
declare const index_d_StarkexTransactionsApiAxiosParamCreator: typeof StarkexTransactionsApiAxiosParamCreator;
|
|
11792
|
+
type index_d_StarkexTransactionsApiEvaluateStarkexTransactionRequest = StarkexTransactionsApiEvaluateStarkexTransactionRequest;
|
|
11793
|
+
declare const index_d_StarkexTransactionsApiFactory: typeof StarkexTransactionsApiFactory;
|
|
11794
|
+
declare const index_d_StarkexTransactionsApiFp: typeof StarkexTransactionsApiFp;
|
|
11795
|
+
type index_d_TransactionApprovalRequest = TransactionApprovalRequest;
|
|
11796
|
+
type index_d_TransactionApprovalRequestChainTypeEnum = TransactionApprovalRequestChainTypeEnum;
|
|
11797
|
+
type index_d_TransactionsApi = TransactionsApi;
|
|
11798
|
+
declare const index_d_TransactionsApi: typeof TransactionsApi;
|
|
11799
|
+
declare const index_d_TransactionsApiAxiosParamCreator: typeof TransactionsApiAxiosParamCreator;
|
|
11800
|
+
declare const index_d_TransactionsApiFactory: typeof TransactionsApiFactory;
|
|
11801
|
+
declare const index_d_TransactionsApiFp: typeof TransactionsApiFp;
|
|
11802
|
+
type index_d_TransactionsApiGetTransactionByIDRequest = TransactionsApiGetTransactionByIDRequest;
|
|
11803
|
+
declare namespace index_d {
|
|
11804
|
+
export {
|
|
11805
|
+
index_d_APIError403 as APIError403,
|
|
11806
|
+
index_d_APIError403AllOf as APIError403AllOf,
|
|
11807
|
+
index_d_APIError403AllOfCodeEnum as APIError403AllOfCodeEnum,
|
|
11808
|
+
index_d_APIError404 as APIError404,
|
|
11809
|
+
index_d_APIError404AllOf as APIError404AllOf,
|
|
11810
|
+
index_d_APIError404AllOfCodeEnum as APIError404AllOfCodeEnum,
|
|
11811
|
+
index_d_APIError500 as APIError500,
|
|
11812
|
+
index_d_APIError500AllOf as APIError500AllOf,
|
|
11813
|
+
index_d_APIError500AllOfCodeEnum as APIError500AllOfCodeEnum,
|
|
11814
|
+
index_d_BasicAPIError as BasicAPIError,
|
|
11815
|
+
index_d_Configuration as Configuration,
|
|
11816
|
+
index_d_ConfigurationParameters as ConfigurationParameters,
|
|
11817
|
+
index_d_DefaultApi as DefaultApi,
|
|
11818
|
+
index_d_DefaultApiApprovePendingTransactionRequest as DefaultApiApprovePendingTransactionRequest,
|
|
11819
|
+
index_d_DefaultApiAxiosParamCreator as DefaultApiAxiosParamCreator,
|
|
11820
|
+
index_d_DefaultApiFactory as DefaultApiFactory,
|
|
11821
|
+
index_d_DefaultApiFp as DefaultApiFp,
|
|
11822
|
+
index_d_StarkExTransactionValidateReponseDefinition as StarkExTransactionValidateReponseDefinition,
|
|
11823
|
+
index_d_StarkExTransactionValidateReponseDefinitionConfirmationMethodEnum as StarkExTransactionValidateReponseDefinitionConfirmationMethodEnum,
|
|
11824
|
+
index_d_StarkexTransactionsApi as StarkexTransactionsApi,
|
|
11825
|
+
index_d_StarkexTransactionsApiAxiosParamCreator as StarkexTransactionsApiAxiosParamCreator,
|
|
11826
|
+
index_d_StarkexTransactionsApiEvaluateStarkexTransactionRequest as StarkexTransactionsApiEvaluateStarkexTransactionRequest,
|
|
11827
|
+
index_d_StarkexTransactionsApiFactory as StarkexTransactionsApiFactory,
|
|
11828
|
+
index_d_StarkexTransactionsApiFp as StarkexTransactionsApiFp,
|
|
11829
|
+
Transaction$1 as Transaction,
|
|
11830
|
+
index_d_TransactionApprovalRequest as TransactionApprovalRequest,
|
|
11831
|
+
index_d_TransactionApprovalRequestChainTypeEnum as TransactionApprovalRequestChainTypeEnum,
|
|
11832
|
+
index_d_TransactionsApi as TransactionsApi,
|
|
11833
|
+
index_d_TransactionsApiAxiosParamCreator as TransactionsApiAxiosParamCreator,
|
|
11834
|
+
index_d_TransactionsApiFactory as TransactionsApiFactory,
|
|
11835
|
+
index_d_TransactionsApiFp as TransactionsApiFp,
|
|
11836
|
+
index_d_TransactionsApiGetTransactionByIDRequest as TransactionsApiGetTransactionByIDRequest,
|
|
11837
|
+
};
|
|
10679
11838
|
}
|
|
10680
11839
|
|
|
10681
11840
|
declare enum PassportErrorType {
|
|
@@ -10804,7 +11963,6 @@ declare class GenericIMXProvider implements IMXProvider {
|
|
|
10804
11963
|
|
|
10805
11964
|
declare class MetaMaskIMXProvider extends GenericIMXProvider {
|
|
10806
11965
|
private static imxSigner;
|
|
10807
|
-
constructor(config: ProviderConfiguration$1, ethSigner: Signer, starkSigner: StarkSigner);
|
|
10808
11966
|
static connect(config: ProviderConfiguration$1): Promise<MetaMaskIMXProvider>;
|
|
10809
11967
|
static disconnect(): Promise<void>;
|
|
10810
11968
|
static signMessage(message: string): Promise<string>;
|
|
@@ -10865,6 +12023,58 @@ declare class Passport {
|
|
|
10865
12023
|
private registerUser;
|
|
10866
12024
|
}
|
|
10867
12025
|
|
|
12026
|
+
/**
|
|
12027
|
+
* zkEVM orderbook SDK
|
|
12028
|
+
* @constructor
|
|
12029
|
+
* @param {OrderbookModuleConfiguration} config - Configuration for Immutable services.
|
|
12030
|
+
*/
|
|
12031
|
+
declare class Orderbook {
|
|
12032
|
+
private config;
|
|
12033
|
+
private apiClient;
|
|
12034
|
+
private seaport;
|
|
12035
|
+
constructor(config: OrderbookModuleConfiguration);
|
|
12036
|
+
/**
|
|
12037
|
+
* Get an order by ID
|
|
12038
|
+
* @param {string} orderId - The orderId to find.
|
|
12039
|
+
* @return {Order} The returned order.
|
|
12040
|
+
*/
|
|
12041
|
+
getOrder(orderId: string): Promise<Order$1>;
|
|
12042
|
+
/**
|
|
12043
|
+
* Get required transactions and messages for signing prior to creating a listing
|
|
12044
|
+
* through the createOrder method
|
|
12045
|
+
* @param {PrepareListingParams} prepareListingParams - Details about the listing to be created.
|
|
12046
|
+
* @return {PrepareListingResponse} PrepareListingResponse includes
|
|
12047
|
+
* the unsigned approval transaction, the typed order message for signing and
|
|
12048
|
+
* the order components that can be submitted to `createOrder` with a signature.
|
|
12049
|
+
*/
|
|
12050
|
+
prepareListing({ offerer, listingItem, considerationItem, orderExpiry, }: PrepareListingParams): Promise<PrepareListingResponse>;
|
|
12051
|
+
/**
|
|
12052
|
+
* Create an order
|
|
12053
|
+
* @param {CreateOrderParams} createOrderParams - create an order with the given params.
|
|
12054
|
+
* @return {Order} The order created in the Immutable services.
|
|
12055
|
+
*/
|
|
12056
|
+
createOrder(createOrderParams: CreateOrderParams): Promise<Order$1>;
|
|
12057
|
+
/**
|
|
12058
|
+
* Get unsigned transactions that can be submitted to fulfil an open order. If the approval
|
|
12059
|
+
* transaction exists it must be signed and submitted to the chain before the fulfilment
|
|
12060
|
+
* transaction can be submitted or it will be reverted.
|
|
12061
|
+
* @param {string} orderId - The orderId to fulfil.
|
|
12062
|
+
* @param {string} fulfillerAddress - The address of the account fulfilling the order.
|
|
12063
|
+
* @return {FulfilOrderResponse} Approval and fulfilment transactions.
|
|
12064
|
+
*/
|
|
12065
|
+
fulfillOrder(orderId: string, fulfillerAddress: string): Promise<FulfilOrderResponse>;
|
|
12066
|
+
/**
|
|
12067
|
+
* Get an unsigned cancel order transaction. Orders can only be cancelled by
|
|
12068
|
+
* the account that created them.
|
|
12069
|
+
* @param {string} orderId - The orderId to cancel.
|
|
12070
|
+
* @param {string} accountAddress - The address of the account cancelling the order.
|
|
12071
|
+
* @return {CancelOrderResponse} The unsigned cancel order transaction
|
|
12072
|
+
*/
|
|
12073
|
+
cancelOrder(orderId: string, accountAddress: string): Promise<CancelOrderResponse$1>;
|
|
12074
|
+
}
|
|
12075
|
+
|
|
12076
|
+
declare const module = "orderbook";
|
|
12077
|
+
|
|
10868
12078
|
/**
|
|
10869
12079
|
* Interface representing token information.
|
|
10870
12080
|
* @property {string} name - The token name.
|
|
@@ -10918,8 +12128,11 @@ interface TokenFilter {
|
|
|
10918
12128
|
*/
|
|
10919
12129
|
declare enum ChainId {
|
|
10920
12130
|
ETHEREUM = 1,
|
|
10921
|
-
|
|
10922
|
-
|
|
12131
|
+
SEPOLIA = 11155111,
|
|
12132
|
+
IMTBL_ZKEVM_DEVNET = 13373,
|
|
12133
|
+
IMTBL_ZKEVM_TESTNET = 13372,
|
|
12134
|
+
POLYGON_ZKEVM_TESTNET = 1442,
|
|
12135
|
+
POLYGON_ZKEVM = 137
|
|
10923
12136
|
}
|
|
10924
12137
|
/**
|
|
10925
12138
|
* Interface representing the information of a network.
|
|
@@ -10934,6 +12147,25 @@ interface NetworkInfo {
|
|
|
10934
12147
|
nativeCurrency: TokenInfo;
|
|
10935
12148
|
isSupported: boolean;
|
|
10936
12149
|
}
|
|
12150
|
+
/**
|
|
12151
|
+
* Type representing the details of a network.
|
|
12152
|
+
* @property {string} chainIdHex - The hexadecimal ID of the network.
|
|
12153
|
+
* @property {string} chainName - The name of the network.
|
|
12154
|
+
* @property {string[]} rpcUrls - The RPS URLs of the network's node.
|
|
12155
|
+
* @property {TokenInfo} nativeCurrency - The info of the network's native currency.
|
|
12156
|
+
* @property {string[]} [blockExplorerUrls] - The URLs of the network's block explorer.
|
|
12157
|
+
*/
|
|
12158
|
+
type NetworkDetails = {
|
|
12159
|
+
chainIdHex: string;
|
|
12160
|
+
chainName: string;
|
|
12161
|
+
rpcUrls: string[];
|
|
12162
|
+
nativeCurrency: TokenInfo;
|
|
12163
|
+
blockExplorerUrls?: string[];
|
|
12164
|
+
};
|
|
12165
|
+
/**
|
|
12166
|
+
* Type representing the mapping between ChainId and NetworkDetails
|
|
12167
|
+
*/
|
|
12168
|
+
type NetworkMap = Map<ChainId, NetworkDetails>;
|
|
10937
12169
|
/**
|
|
10938
12170
|
* Interface representing the parameters for {@link Checkout.switchNetwork}.
|
|
10939
12171
|
* @property {Web3Provider} provider - The provider to connect to the network.
|
|
@@ -11027,6 +12259,10 @@ interface GetAllBalancesParams {
|
|
|
11027
12259
|
interface GetAllBalancesResult {
|
|
11028
12260
|
balances: GetBalanceResult[];
|
|
11029
12261
|
}
|
|
12262
|
+
interface CheckoutOverrides {
|
|
12263
|
+
}
|
|
12264
|
+
interface CheckoutModuleConfiguration extends ModuleConfiguration<CheckoutOverrides> {
|
|
12265
|
+
}
|
|
11030
12266
|
/**
|
|
11031
12267
|
* Enum representing the list of default supported providers.
|
|
11032
12268
|
*/
|
|
@@ -11146,57 +12382,6 @@ declare enum WalletFilterTypes {
|
|
|
11146
12382
|
DESKTOP = "desktop",
|
|
11147
12383
|
MOBILE = "mobile"
|
|
11148
12384
|
}
|
|
11149
|
-
/**
|
|
11150
|
-
* Enum representing the types of token filters available.
|
|
11151
|
-
*/
|
|
11152
|
-
declare enum SupportedFiatCurrencies {
|
|
11153
|
-
USD = "USD"
|
|
11154
|
-
}
|
|
11155
|
-
/**
|
|
11156
|
-
* Interface representing the parameters for {@link Checkout.convertTokenToFiat}.
|
|
11157
|
-
* @property {BigNumber} amount - The the amount of token we are converting.
|
|
11158
|
-
* @property {TokenInfo} token - The token we are converting from.
|
|
11159
|
-
* @property {SupportedFiatCurrencies} fiatSymbol - The fiat currency we are converting to.
|
|
11160
|
-
*/
|
|
11161
|
-
interface ConvertTokensToFiatParams {
|
|
11162
|
-
amounts: {
|
|
11163
|
-
[key: string]: {
|
|
11164
|
-
amount: BigNumber;
|
|
11165
|
-
token: TokenInfo;
|
|
11166
|
-
};
|
|
11167
|
-
};
|
|
11168
|
-
fiatSymbol: SupportedFiatCurrencies;
|
|
11169
|
-
}
|
|
11170
|
-
/**
|
|
11171
|
-
* Interface representing the result of a specific token to fiat conversion.
|
|
11172
|
-
* @property {TokenInfo} token - The token that we converted from.
|
|
11173
|
-
* @property {string} fiatSymbol - The fiat currency we converted to.
|
|
11174
|
-
* @property {number} quotedAt - The unix timestamp for when the quote was generated.
|
|
11175
|
-
* @property {number} quote - The quote at the given timestamp.
|
|
11176
|
-
* @property {BigNumber} amount - The amount we converted.
|
|
11177
|
-
* @property {number} convertedAmount - The converted amount.
|
|
11178
|
-
*/
|
|
11179
|
-
interface TokenToFiatConversionResult extends FiatConversionQuote {
|
|
11180
|
-
token: TokenInfo;
|
|
11181
|
-
fiatSymbol: string;
|
|
11182
|
-
amount: BigNumber;
|
|
11183
|
-
convertedAmount: number;
|
|
11184
|
-
}
|
|
11185
|
-
/**
|
|
11186
|
-
* Interface representing the result of {@link Checkout.convertTokenToFiat}.
|
|
11187
|
-
*/
|
|
11188
|
-
interface ConvertTokensToFiatResult {
|
|
11189
|
-
[key: string]: TokenToFiatConversionResult;
|
|
11190
|
-
}
|
|
11191
|
-
/**
|
|
11192
|
-
* Interface representing the result of a specific token to fiat conversion.
|
|
11193
|
-
* @property {number} quotedAt - The unix timestamp for when the quote was generated.
|
|
11194
|
-
* @property {number} quote - The quote at the given timestamp.
|
|
11195
|
-
*/
|
|
11196
|
-
interface FiatConversionQuote {
|
|
11197
|
-
quote: number;
|
|
11198
|
-
quotedAt: number;
|
|
11199
|
-
}
|
|
11200
12385
|
/**
|
|
11201
12386
|
* The different types of errors that can be returned by the checkout process.
|
|
11202
12387
|
*/
|
|
@@ -11211,10 +12396,7 @@ declare enum CheckoutErrorType {
|
|
|
11211
12396
|
PROVIDER_REQUEST_MISSING_ERROR = "PROVIDER_REQUEST_MISSING_ERROR",
|
|
11212
12397
|
PROVIDER_REQUEST_FAILED_ERROR = "PROVIDER_REQUEST_FAILED_ERROR",
|
|
11213
12398
|
USER_REJECTED_REQUEST_ERROR = "USER_REJECTED_REQUEST_ERROR",
|
|
11214
|
-
TRANSACTION_ERROR = "TRANSACTION_ERROR"
|
|
11215
|
-
FIAT_CONVERSION_ERROR = "FIAT_CONVERSION_ERROR",
|
|
11216
|
-
TOKEN_NOT_SUPPORTED_ERROR = "TOKEN_NOT_SUPPORTED_ERROR",
|
|
11217
|
-
FIAT_CURRENCY_NOT_SUPPORTED_ERROR = "FIAT_CURRENCY_NOT_SUPPORTED_ERROR"
|
|
12399
|
+
TRANSACTION_ERROR = "TRANSACTION_ERROR"
|
|
11218
12400
|
}
|
|
11219
12401
|
/**
|
|
11220
12402
|
* The type signature for an error.
|
|
@@ -11227,9 +12409,17 @@ type ErrorType = {
|
|
|
11227
12409
|
[key: string]: string;
|
|
11228
12410
|
};
|
|
11229
12411
|
};
|
|
12412
|
+
declare class CheckoutConfiguration {
|
|
12413
|
+
readonly environment: Environment;
|
|
12414
|
+
readonly networkMap: NetworkMap;
|
|
12415
|
+
constructor(config: CheckoutModuleConfiguration);
|
|
12416
|
+
}
|
|
11230
12417
|
declare class Checkout {
|
|
12418
|
+
readonly config: CheckoutConfiguration;
|
|
12419
|
+
constructor(config?: CheckoutModuleConfiguration);
|
|
11231
12420
|
/**
|
|
11232
|
-
* Check if a wallet is connected to the current application
|
|
12421
|
+
* Check if a wallet is connected to the current application
|
|
12422
|
+
* without requesting permission from the wallet and hence triggering a connect popup.
|
|
11233
12423
|
* @param {CheckConnectionParams} params - The necessary data required to verify a wallet connection status.
|
|
11234
12424
|
* @returns Wallet connection status details.
|
|
11235
12425
|
* @throws {@link ErrorType}
|
|
@@ -11250,14 +12440,17 @@ declare class Checkout {
|
|
|
11250
12440
|
*/
|
|
11251
12441
|
switchNetwork(params: SwitchNetworkParams): Promise<SwitchNetworkResult>;
|
|
11252
12442
|
/**
|
|
11253
|
-
* Fetch the balance of the native token of the current connected network or,
|
|
12443
|
+
* Fetch the balance of the native token of the current connected network or,
|
|
12444
|
+
* if a contract address is provided, it will return the balance of that ERC20 token. For example,
|
|
12445
|
+
* if the wallet is connected to the Ethereum Mainnet then the function gets the wallet ETH L1 balance.
|
|
11254
12446
|
* @param {GetBalanceParams} params - The necessary data required to fetch the wallet balance.
|
|
11255
12447
|
* @returns Native token balance for the given wallet.
|
|
11256
12448
|
* @throws {@link ErrorType}
|
|
11257
12449
|
*/
|
|
11258
12450
|
getBalance(params: GetBalanceParams): Promise<GetBalanceResult>;
|
|
11259
12451
|
/**
|
|
11260
|
-
* Fetch all available balances (ERC20 & Native) of the current connected network of the given wallet.
|
|
12452
|
+
* Fetch all available balances (ERC20 & Native) of the current connected network of the given wallet.
|
|
12453
|
+
* It will loop through the list of allowed tokens and check for balance on each one.
|
|
11261
12454
|
* @param {GetAllBalancesParams} params - The necessary data required to fetch all the wallet balances.
|
|
11262
12455
|
* @returns List of tokens balance for the given wallet.
|
|
11263
12456
|
* @throws {@link ErrorType}
|
|
@@ -22324,6 +23517,9 @@ interface Interaction {
|
|
|
22324
23517
|
}
|
|
22325
23518
|
|
|
22326
23519
|
// NOTE: Users of the `experimental` builds of React should add a reference
|
|
23520
|
+
// to 'react/experimental' in their project. See experimental.d.ts's top comment
|
|
23521
|
+
// for reference and documentation on how exactly to do it.
|
|
23522
|
+
|
|
22327
23523
|
|
|
22328
23524
|
|
|
22329
23525
|
type NativeAnimationEvent = AnimationEvent;
|
|
@@ -22521,7 +23717,23 @@ declare namespace React {
|
|
|
22521
23717
|
*/
|
|
22522
23718
|
interface ReactNodeArray extends ReadonlyArray<ReactNode> {}
|
|
22523
23719
|
type ReactFragment = Iterable<ReactNode>;
|
|
22524
|
-
|
|
23720
|
+
|
|
23721
|
+
/**
|
|
23722
|
+
* For internal usage only.
|
|
23723
|
+
* Different release channels declare additional types of ReactNode this particular release channel accepts.
|
|
23724
|
+
* App or library types should never augment this interface.
|
|
23725
|
+
*/
|
|
23726
|
+
interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_REACT_NODES {}
|
|
23727
|
+
type ReactNode =
|
|
23728
|
+
| ReactElement
|
|
23729
|
+
| string
|
|
23730
|
+
| number
|
|
23731
|
+
| ReactFragment
|
|
23732
|
+
| ReactPortal
|
|
23733
|
+
| boolean
|
|
23734
|
+
| null
|
|
23735
|
+
| undefined
|
|
23736
|
+
| DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_REACT_NODES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_REACT_NODES];
|
|
22525
23737
|
|
|
22526
23738
|
//
|
|
22527
23739
|
// Top Level API
|
|
@@ -23665,6 +24877,9 @@ declare namespace React {
|
|
|
23665
24877
|
interface SVGProps<T> extends SVGAttributes<T>, ClassAttributes<T> {
|
|
23666
24878
|
}
|
|
23667
24879
|
|
|
24880
|
+
interface SVGLineElementAttributes<T> extends SVGProps<T> {}
|
|
24881
|
+
interface SVGTextElementAttributes<T> extends SVGProps<T> {}
|
|
24882
|
+
|
|
23668
24883
|
interface DOMAttributes<T> {
|
|
23669
24884
|
children?: ReactNode | undefined;
|
|
23670
24885
|
dangerouslySetInnerHTML?: {
|
|
@@ -24213,11 +25428,21 @@ declare namespace React {
|
|
|
24213
25428
|
is?: string | undefined;
|
|
24214
25429
|
}
|
|
24215
25430
|
|
|
25431
|
+
/**
|
|
25432
|
+
* For internal usage only.
|
|
25433
|
+
* Different release channels declare additional types of ReactNode this particular release channel accepts.
|
|
25434
|
+
* App or library types should never augment this interface.
|
|
25435
|
+
*/
|
|
25436
|
+
interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS {}
|
|
25437
|
+
|
|
24216
25438
|
interface AllHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
24217
25439
|
// Standard HTML Attributes
|
|
24218
25440
|
accept?: string | undefined;
|
|
24219
25441
|
acceptCharset?: string | undefined;
|
|
24220
|
-
action?:
|
|
25442
|
+
action?:
|
|
25443
|
+
| string
|
|
25444
|
+
| undefined
|
|
25445
|
+
| DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS];
|
|
24221
25446
|
allowFullScreen?: boolean | undefined;
|
|
24222
25447
|
allowTransparency?: boolean | undefined;
|
|
24223
25448
|
alt?: string | undefined;
|
|
@@ -24246,7 +25471,10 @@ declare namespace React {
|
|
|
24246
25471
|
download?: any;
|
|
24247
25472
|
encType?: string | undefined;
|
|
24248
25473
|
form?: string | undefined;
|
|
24249
|
-
formAction?:
|
|
25474
|
+
formAction?:
|
|
25475
|
+
| string
|
|
25476
|
+
| undefined
|
|
25477
|
+
| DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS];
|
|
24250
25478
|
formEncType?: string | undefined;
|
|
24251
25479
|
formMethod?: string | undefined;
|
|
24252
25480
|
formNoValidate?: boolean | undefined;
|
|
@@ -24374,7 +25602,10 @@ declare namespace React {
|
|
|
24374
25602
|
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
24375
25603
|
disabled?: boolean | undefined;
|
|
24376
25604
|
form?: string | undefined;
|
|
24377
|
-
formAction?:
|
|
25605
|
+
formAction?:
|
|
25606
|
+
| string
|
|
25607
|
+
| DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS]
|
|
25608
|
+
| undefined;
|
|
24378
25609
|
formEncType?: string | undefined;
|
|
24379
25610
|
formMethod?: string | undefined;
|
|
24380
25611
|
formNoValidate?: boolean | undefined;
|
|
@@ -24433,7 +25664,10 @@ declare namespace React {
|
|
|
24433
25664
|
|
|
24434
25665
|
interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
24435
25666
|
acceptCharset?: string | undefined;
|
|
24436
|
-
action?:
|
|
25667
|
+
action?:
|
|
25668
|
+
| string
|
|
25669
|
+
| undefined
|
|
25670
|
+
| DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS];
|
|
24437
25671
|
autoComplete?: string | undefined;
|
|
24438
25672
|
encType?: string | undefined;
|
|
24439
25673
|
method?: string | undefined;
|
|
@@ -24523,7 +25757,10 @@ declare namespace React {
|
|
|
24523
25757
|
disabled?: boolean | undefined;
|
|
24524
25758
|
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
|
24525
25759
|
form?: string | undefined;
|
|
24526
|
-
formAction?:
|
|
25760
|
+
formAction?:
|
|
25761
|
+
| string
|
|
25762
|
+
| DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS]
|
|
25763
|
+
| undefined;
|
|
24527
25764
|
formEncType?: string | undefined;
|
|
24528
25765
|
formMethod?: string | undefined;
|
|
24529
25766
|
formNoValidate?: boolean | undefined;
|
|
@@ -25360,6 +26597,19 @@ declare namespace React {
|
|
|
25360
26597
|
*/
|
|
25361
26598
|
componentStack: string;
|
|
25362
26599
|
}
|
|
26600
|
+
|
|
26601
|
+
namespace JSX {
|
|
26602
|
+
interface Element extends GlobalJSXElement {}
|
|
26603
|
+
interface ElementClass extends GlobalJSXElementClass {}
|
|
26604
|
+
interface ElementAttributesProperty extends GlobalJSXElementAttributesProperty {}
|
|
26605
|
+
interface ElementChildrenAttribute extends GlobalJSXElementChildrenAttribute {}
|
|
26606
|
+
|
|
26607
|
+
type LibraryManagedAttributes<C, P> = GlobalJSXLibraryManagedAttributes<C, P>;
|
|
26608
|
+
|
|
26609
|
+
interface IntrinsicAttributes extends GlobalJSXIntrinsicAttributes {}
|
|
26610
|
+
interface IntrinsicClassAttributes<T> extends GlobalJSXIntrinsicClassAttributes<T> {}
|
|
26611
|
+
interface IntrinsicElements extends GlobalJSXIntrinsicElements {}
|
|
26612
|
+
}
|
|
25363
26613
|
}
|
|
25364
26614
|
|
|
25365
26615
|
// naked 'any' type in a conditional type will short circuit and union both the then/else branches
|
|
@@ -25407,6 +26657,9 @@ type ReactManagedAttributes<C, P> = C extends { propTypes: infer T; defaultProps
|
|
|
25407
26657
|
: P;
|
|
25408
26658
|
|
|
25409
26659
|
declare global {
|
|
26660
|
+
/**
|
|
26661
|
+
* @deprecated Use `React.JSX` instead of the global `JSX` namespace.
|
|
26662
|
+
*/
|
|
25410
26663
|
namespace JSX {
|
|
25411
26664
|
interface Element extends React.ReactElement<any, any> { }
|
|
25412
26665
|
interface ElementClass extends React.Component<any> {
|
|
@@ -25587,7 +26840,7 @@ declare global {
|
|
|
25587
26840
|
foreignObject: React.SVGProps<SVGForeignObjectElement>;
|
|
25588
26841
|
g: React.SVGProps<SVGGElement>;
|
|
25589
26842
|
image: React.SVGProps<SVGImageElement>;
|
|
25590
|
-
line: React.
|
|
26843
|
+
line: React.SVGLineElementAttributes<SVGLineElement>;
|
|
25591
26844
|
linearGradient: React.SVGProps<SVGLinearGradientElement>;
|
|
25592
26845
|
marker: React.SVGProps<SVGMarkerElement>;
|
|
25593
26846
|
mask: React.SVGProps<SVGMaskElement>;
|
|
@@ -25602,7 +26855,7 @@ declare global {
|
|
|
25602
26855
|
stop: React.SVGProps<SVGStopElement>;
|
|
25603
26856
|
switch: React.SVGProps<SVGSwitchElement>;
|
|
25604
26857
|
symbol: React.SVGProps<SVGSymbolElement>;
|
|
25605
|
-
text: React.
|
|
26858
|
+
text: React.SVGTextElementAttributes<SVGTextElement>;
|
|
25606
26859
|
textPath: React.SVGProps<SVGTextPathElement>;
|
|
25607
26860
|
tspan: React.SVGProps<SVGTSpanElement>;
|
|
25608
26861
|
use: React.SVGProps<SVGUseElement>;
|
|
@@ -25611,6 +26864,32 @@ declare global {
|
|
|
25611
26864
|
}
|
|
25612
26865
|
}
|
|
25613
26866
|
|
|
26867
|
+
// React.JSX needs to point to global.JSX to keep global module augmentations intact.
|
|
26868
|
+
// But we can't access global.JSX so we need to create these aliases instead.
|
|
26869
|
+
// Once the global JSX namespace will be removed we replace React.JSX with the contents of global.JSX
|
|
26870
|
+
interface GlobalJSXElement extends JSX.Element {}
|
|
26871
|
+
interface GlobalJSXElementClass extends JSX.ElementClass {}
|
|
26872
|
+
interface GlobalJSXElementAttributesProperty extends JSX.ElementAttributesProperty {}
|
|
26873
|
+
interface GlobalJSXElementChildrenAttribute extends JSX.ElementChildrenAttribute {}
|
|
26874
|
+
|
|
26875
|
+
type GlobalJSXLibraryManagedAttributes<C, P> = JSX.LibraryManagedAttributes<C, P>;
|
|
26876
|
+
|
|
26877
|
+
interface GlobalJSXIntrinsicAttributes extends JSX.IntrinsicAttributes {}
|
|
26878
|
+
interface GlobalJSXIntrinsicClassAttributes<T> extends JSX.IntrinsicClassAttributes<T> {}
|
|
26879
|
+
|
|
26880
|
+
interface GlobalJSXIntrinsicElements extends JSX.IntrinsicElements {}
|
|
26881
|
+
|
|
26882
|
+
declare namespace JSX$1 {
|
|
26883
|
+
interface Element extends undefined.Element {}
|
|
26884
|
+
interface ElementClass extends undefined.ElementClass {}
|
|
26885
|
+
interface ElementAttributesProperty extends undefined.ElementAttributesProperty {}
|
|
26886
|
+
interface ElementChildrenAttribute extends undefined.ElementChildrenAttribute {}
|
|
26887
|
+
type LibraryManagedAttributes<C, P> = undefined.LibraryManagedAttributes<C, P>;
|
|
26888
|
+
interface IntrinsicAttributes extends undefined.IntrinsicAttributes {}
|
|
26889
|
+
interface IntrinsicClassAttributes<T> extends undefined.IntrinsicClassAttributes<T> {}
|
|
26890
|
+
interface IntrinsicElements extends undefined.IntrinsicElements {}
|
|
26891
|
+
}
|
|
26892
|
+
|
|
25614
26893
|
/**
|
|
25615
26894
|
* Enum representing the events emitted by the widgets.
|
|
25616
26895
|
*/
|
|
@@ -25662,7 +26941,8 @@ declare enum WalletEventType {
|
|
|
25662
26941
|
ADD_COINS = "add-coins",
|
|
25663
26942
|
REQUEST_SWAP = "request-swap",
|
|
25664
26943
|
REQUEST_BRIDGE = "request-bridge",
|
|
25665
|
-
REQUEST_ONRAMP = "request-onramp"
|
|
26944
|
+
REQUEST_ONRAMP = "request-onramp",
|
|
26945
|
+
DISCONNECT_WALLET = "disconnect-wallet"
|
|
25666
26946
|
}
|
|
25667
26947
|
/**
|
|
25668
26948
|
* Type representing the data emitted by the network switch event.
|
|
@@ -25692,6 +26972,7 @@ type WalletRequestOnrampEvent = {
|
|
|
25692
26972
|
tokenAddress: string;
|
|
25693
26973
|
amount: string;
|
|
25694
26974
|
};
|
|
26975
|
+
type WalletDisconnectWalletEvent = {};
|
|
25695
26976
|
/**
|
|
25696
26977
|
* Represents an event object emitted by the Wallet Widget.
|
|
25697
26978
|
* @property {WalletEventType} type - The type of the event.
|
|
@@ -25715,7 +26996,8 @@ type SwapEvent<T> = {
|
|
|
25715
26996
|
*/
|
|
25716
26997
|
declare enum SwapEventType {
|
|
25717
26998
|
SUCCESS = "success",
|
|
25718
|
-
FAILURE = "failure"
|
|
26999
|
+
FAILURE = "failure",
|
|
27000
|
+
CLOSE_WIDGET = "close-widget"
|
|
25719
27001
|
}
|
|
25720
27002
|
/**
|
|
25721
27003
|
* Type representing a Swap Widget with type SUCCESS.
|
|
@@ -25817,38 +27099,62 @@ type OnRampEvent<T> = {
|
|
|
25817
27099
|
};
|
|
25818
27100
|
declare enum OnRampEventType {
|
|
25819
27101
|
}
|
|
27102
|
+
declare global {
|
|
27103
|
+
interface Window {
|
|
27104
|
+
ImtblCheckoutWidgetConfig: any;
|
|
27105
|
+
}
|
|
27106
|
+
namespace JSX {
|
|
27107
|
+
interface IntrinsicElements {
|
|
27108
|
+
'imtbl-connect': ImtblConnectProps;
|
|
27109
|
+
'imtbl-wallet': ImtblWalletProps;
|
|
27110
|
+
'imtbl-swap': ImtblSwapProps;
|
|
27111
|
+
'imtbl-bridge': ImtblBridgeProps;
|
|
27112
|
+
'imtbl-buy': ImtblBuyProps;
|
|
27113
|
+
'imtbl-example': ImtblExampleProps;
|
|
27114
|
+
'imtbl-transition-example': ImtblTransitionExampleProps;
|
|
27115
|
+
'imtbl-inner-widget-example': ImtblInnerWidgetExampleProps;
|
|
27116
|
+
'imtbl-outer-widget-example': ImtblOuterWidgetExampleProps;
|
|
27117
|
+
}
|
|
27118
|
+
}
|
|
27119
|
+
interface ImmutableWebComponent {
|
|
27120
|
+
setProvider: Function;
|
|
27121
|
+
setAttribute: Function;
|
|
27122
|
+
}
|
|
27123
|
+
}
|
|
25820
27124
|
/**
|
|
25821
27125
|
* Props for the Connect Widget component
|
|
25822
27126
|
* @property {string} providerPreference - The preferred wallet provider to connect to.
|
|
25823
27127
|
* @property {string} theme - The theme to use.
|
|
27128
|
+
* @property {string} environment - The environment configuration
|
|
25824
27129
|
*/
|
|
25825
27130
|
interface ImtblConnectProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
25826
27131
|
providerPreference: string;
|
|
25827
|
-
|
|
27132
|
+
widgetConfig?: string;
|
|
25828
27133
|
}
|
|
25829
27134
|
/**
|
|
25830
27135
|
* Props for the Wallet Widget component
|
|
25831
27136
|
* @property {string} providerPreference - The preferred wallet provider to connect to.
|
|
25832
27137
|
* @property {string} theme - The theme to use.
|
|
27138
|
+
* @property {string} environment - The environment configuration
|
|
25833
27139
|
*/
|
|
25834
27140
|
interface ImtblWalletProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
25835
27141
|
providerPreference: string;
|
|
25836
|
-
|
|
25837
|
-
|
|
25838
|
-
isBridgeEnabled?: string;
|
|
25839
|
-
theme: string;
|
|
27142
|
+
useConnectWidget?: string;
|
|
27143
|
+
widgetConfig?: string;
|
|
25840
27144
|
}
|
|
25841
27145
|
/**
|
|
25842
27146
|
* Props for the Swap Widget component
|
|
25843
27147
|
* @property {string} providerPreference - The preferred wallet provider to connect to.
|
|
25844
27148
|
* @property {string} theme - The theme to use.
|
|
27149
|
+
* @property {string} environment - The environment configuration
|
|
25845
27150
|
* @property {string} amount - The amount to swap.
|
|
25846
27151
|
* @property {string} fromContractAddress - The contract address of the source token.
|
|
25847
27152
|
* @property {string} toContractAddress - The contract address of the destination token.
|
|
25848
27153
|
*/
|
|
25849
27154
|
interface ImtblSwapProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
25850
27155
|
providerPreference: string;
|
|
25851
|
-
|
|
27156
|
+
widgetConfig?: string;
|
|
27157
|
+
useConnectWidget?: string;
|
|
25852
27158
|
amount: string;
|
|
25853
27159
|
fromContractAddress: string;
|
|
25854
27160
|
toContractAddress: string;
|
|
@@ -25857,13 +27163,14 @@ interface ImtblSwapProps extends React.DetailedHTMLProps<React.HTMLAttributes<HT
|
|
|
25857
27163
|
* Props for the Bridge Widget component
|
|
25858
27164
|
* @property {string} providerPreference - The preferred wallet provider to connect to.
|
|
25859
27165
|
* @property {string} theme - The theme to use.
|
|
27166
|
+
* @property {string} environment - The environment configuration
|
|
25860
27167
|
* @property {string} fromContractAddress - The contract address of the source token.
|
|
25861
27168
|
* @property {string} fromNetwork - The network of the source token.
|
|
25862
27169
|
* @property {string} amount - The amount to bridge.
|
|
25863
27170
|
*/
|
|
25864
27171
|
interface ImtblBridgeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
25865
27172
|
providerPreference: string;
|
|
25866
|
-
|
|
27173
|
+
widgetConfig?: string;
|
|
25867
27174
|
fromContractAddress: string;
|
|
25868
27175
|
fromNetwork: string;
|
|
25869
27176
|
amount: string;
|
|
@@ -25872,57 +27179,69 @@ interface ImtblBridgeProps extends React.DetailedHTMLProps<React.HTMLAttributes<
|
|
|
25872
27179
|
* Props for the Example Widget component
|
|
25873
27180
|
* @property {string} providerPreference - The preferred wallet provider to connect to.
|
|
25874
27181
|
* @property {string} theme - The theme to use.
|
|
27182
|
+
* @property {string} environment - The environment configuration
|
|
25875
27183
|
* @experimental
|
|
25876
27184
|
*/
|
|
25877
27185
|
interface ImtblExampleProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
25878
27186
|
providerPreference: string;
|
|
25879
27187
|
theme: string;
|
|
27188
|
+
environment: string;
|
|
25880
27189
|
}
|
|
25881
27190
|
/**
|
|
25882
27191
|
* Props for the Buy Widget component
|
|
25883
27192
|
* @property {string} providerPreference - The preferred wallet provider to connect to.
|
|
25884
27193
|
* @property {string} theme - The theme to use.
|
|
27194
|
+
* @property {string} environment - The environment configuration
|
|
25885
27195
|
* @property {string} orderId - The id of the order to buy.
|
|
25886
27196
|
*/
|
|
25887
27197
|
interface ImtblBuyProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
25888
27198
|
providerPreference: string;
|
|
25889
|
-
|
|
27199
|
+
widgetConfig?: string;
|
|
25890
27200
|
orderId: string;
|
|
25891
27201
|
}
|
|
25892
27202
|
/**
|
|
25893
27203
|
* Props for the TransitionExample Widget component
|
|
25894
27204
|
* @property {string} providerPreference - The preferred wallet provider to connect to.
|
|
25895
27205
|
* @property {string} theme - The theme to use.
|
|
27206
|
+
* @property {string} environment - The environment configuration
|
|
25896
27207
|
*/
|
|
25897
27208
|
interface ImtblTransitionExampleProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
25898
27209
|
providerPreference: string;
|
|
25899
27210
|
theme: string;
|
|
27211
|
+
environment: string;
|
|
25900
27212
|
}
|
|
25901
27213
|
/**
|
|
25902
27214
|
* Props for the InnerWidgetExample Widget component
|
|
25903
27215
|
* @property {string} providerPreference - The preferred wallet provider to connect to.
|
|
25904
27216
|
* @property {string} theme - The theme to use.
|
|
27217
|
+
* @property {string} environment - The environment configuration
|
|
25905
27218
|
*/
|
|
25906
27219
|
interface ImtblInnerWidgetExampleProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
25907
27220
|
providerPreference: string;
|
|
25908
27221
|
theme: string;
|
|
27222
|
+
environment: string;
|
|
25909
27223
|
}
|
|
25910
27224
|
/**
|
|
25911
27225
|
* Props for the OuterWidgetExample Widget component
|
|
25912
27226
|
* @property {string} providerPreference - The preferred wallet provider to connect to.
|
|
25913
27227
|
* @property {string} theme - The theme to use.
|
|
27228
|
+
* @property {string} environment - The environment configuration
|
|
25914
27229
|
*/
|
|
25915
27230
|
interface ImtblOuterWidgetExampleProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
25916
27231
|
providerPreference: string;
|
|
25917
27232
|
theme: string;
|
|
27233
|
+
environment: string;
|
|
25918
27234
|
}
|
|
25919
27235
|
/**
|
|
25920
27236
|
* Enum representing the networks supported by Checkout.
|
|
25921
27237
|
*/
|
|
25922
27238
|
declare enum Network {
|
|
25923
27239
|
ETHEREUM = "Ethereum",
|
|
25924
|
-
|
|
25925
|
-
|
|
27240
|
+
SEPOLIA = "Sepolia",
|
|
27241
|
+
IMTBL_ZKEVM_TESTNET = "Immutable zkEVM Testnet",
|
|
27242
|
+
IMTBL_ZKEVM_DEVNET = "Immutable zkEVM Devnet",
|
|
27243
|
+
POLYGON_ZKEVM_TESTNET = "Polygon zkEVM Testnet",
|
|
27244
|
+
POLYGON_ZKEVM = "Polygon zkEVM"
|
|
25926
27245
|
}
|
|
25927
27246
|
/**
|
|
25928
27247
|
* Enum representing the themes for the Checkout widgets.
|
|
@@ -25932,12 +27251,6 @@ declare enum WidgetTheme {
|
|
|
25932
27251
|
DARK = "dark",
|
|
25933
27252
|
CUSTOM = "custom"
|
|
25934
27253
|
}
|
|
25935
|
-
/**
|
|
25936
|
-
* Enum representing the default Web3 providers supported by the Checkout widgets.
|
|
25937
|
-
*/
|
|
25938
|
-
declare enum WidgetConnectionProviders {
|
|
25939
|
-
METAMASK = "metamask"
|
|
25940
|
-
}
|
|
25941
27254
|
/**
|
|
25942
27255
|
* Enum representing list of Checkout Widgets DOM tags.
|
|
25943
27256
|
*/
|
|
@@ -25951,20 +27264,29 @@ declare enum CheckoutWidgetTagNames {
|
|
|
25951
27264
|
}
|
|
25952
27265
|
/**
|
|
25953
27266
|
* Represents the configuration options for the Checkout Widgets.
|
|
25954
|
-
* @property {WidgetTheme} theme - The theme of the Checkout Widget
|
|
27267
|
+
* @property {WidgetTheme} theme - The theme of the Checkout Widget (default: "DARK")
|
|
27268
|
+
* @property {Environment} environment - The environment configuration (default: "SANDBOX")
|
|
27269
|
+
* @property {boolean} isOnRampEnabled - Enable on-ramp top-up method (default: "true")
|
|
27270
|
+
* @property {boolean} isSwapEnabled - Enable swap top-up method (default: "true")
|
|
27271
|
+
* @property {boolean} isBridgeEnabled - Enable bridge top-up method (default: "true")
|
|
25955
27272
|
*/
|
|
25956
27273
|
type CheckoutWidgetsConfig = {
|
|
25957
27274
|
theme?: WidgetTheme;
|
|
27275
|
+
environment?: Environment;
|
|
27276
|
+
isOnRampEnabled?: boolean;
|
|
27277
|
+
isSwapEnabled?: boolean;
|
|
27278
|
+
isBridgeEnabled?: boolean;
|
|
25958
27279
|
};
|
|
25959
27280
|
/**
|
|
25960
27281
|
* Interface representing the props for the Bridge Widget component.
|
|
25961
|
-
* @property {
|
|
27282
|
+
* @property {string} providerPreference - The preferred provider for the Bridge Widget
|
|
27283
|
+
* (default: "metamask").
|
|
25962
27284
|
* @property {string} fromContractAddress - The contract address to send tokens from.
|
|
25963
27285
|
* @property {string} amount - The amount of tokens to send.
|
|
25964
27286
|
* @property {Network} fromNetwork - The network to send tokens from.
|
|
25965
27287
|
*/
|
|
25966
27288
|
interface BridgeReactProps {
|
|
25967
|
-
providerPreference:
|
|
27289
|
+
providerPreference: string;
|
|
25968
27290
|
fromContractAddress?: string;
|
|
25969
27291
|
amount?: string;
|
|
25970
27292
|
fromNetwork?: Network;
|
|
@@ -25977,11 +27299,12 @@ interface BridgeReactProps {
|
|
|
25977
27299
|
declare function BridgeReact(props: BridgeReactProps): JSX.Element;
|
|
25978
27300
|
/**
|
|
25979
27301
|
* Interface representing the props for the Buy Widget component.
|
|
25980
|
-
* @property {
|
|
27302
|
+
* @property {string} providerPreference - The preferred provider for the Buy Widget
|
|
27303
|
+
* (default: "metamask").
|
|
25981
27304
|
* @property {string} orderId - The ID that identifies the open buy order associated to the assets to buy.
|
|
25982
27305
|
*/
|
|
25983
27306
|
interface BuyReactProps {
|
|
25984
|
-
providerPreference:
|
|
27307
|
+
providerPreference: string;
|
|
25985
27308
|
orderId: string;
|
|
25986
27309
|
}
|
|
25987
27310
|
/**
|
|
@@ -25992,10 +27315,11 @@ interface BuyReactProps {
|
|
|
25992
27315
|
declare function BuyReact(props: BuyReactProps): JSX.Element;
|
|
25993
27316
|
/**
|
|
25994
27317
|
* Interface representing the props for the Connect Widget component.
|
|
25995
|
-
* @property {
|
|
27318
|
+
* @property {string} providerPreference - The preferred provider for the Connect Widget
|
|
27319
|
+
* (default: "metamask").
|
|
25996
27320
|
*/
|
|
25997
27321
|
interface ConnectReactProps {
|
|
25998
|
-
providerPreference?:
|
|
27322
|
+
providerPreference?: string;
|
|
25999
27323
|
}
|
|
26000
27324
|
/**
|
|
26001
27325
|
* A React functional component that renders the Checkout Connect Widget.
|
|
@@ -26005,13 +27329,13 @@ interface ConnectReactProps {
|
|
|
26005
27329
|
declare function ConnectReact(props: ConnectReactProps): JSX.Element;
|
|
26006
27330
|
/**
|
|
26007
27331
|
* Interface representing the props for the Swap Widget component.
|
|
26008
|
-
* @property {
|
|
27332
|
+
* @property {string} providerPreference - The preferred provider for the Swap Widget (default: "metamask"}).
|
|
26009
27333
|
* @property {string} fromContractAddress - The contract address to swap tokens from.
|
|
26010
27334
|
* @property {string} amount - The amount of tokens to send.
|
|
26011
27335
|
* @property {Network} toContractAddress - The contract address to swap tokens to.
|
|
26012
27336
|
*/
|
|
26013
27337
|
interface SwapReactProps {
|
|
26014
|
-
providerPreference:
|
|
27338
|
+
providerPreference: string;
|
|
26015
27339
|
fromContractAddress?: string;
|
|
26016
27340
|
amount?: string;
|
|
26017
27341
|
toContractAddress?: string;
|
|
@@ -26024,35 +27348,31 @@ interface SwapReactProps {
|
|
|
26024
27348
|
declare function SwapReact(props: SwapReactProps): JSX.Element;
|
|
26025
27349
|
/**
|
|
26026
27350
|
* Interface representing the props for the Wallet Widget component.
|
|
26027
|
-
* @property {
|
|
27351
|
+
* @property {string} providerPreference - The preferred provider for the Wallet Widget
|
|
27352
|
+
* (default: "metamask").
|
|
26028
27353
|
*/
|
|
26029
27354
|
interface WalletReactProps {
|
|
26030
|
-
providerPreference?:
|
|
26031
|
-
|
|
26032
|
-
isSwapEnabled?: boolean;
|
|
26033
|
-
isBridgeEnabled?: boolean;
|
|
27355
|
+
providerPreference?: string;
|
|
27356
|
+
useConnectWidget?: boolean;
|
|
26034
27357
|
}
|
|
26035
27358
|
/**
|
|
26036
27359
|
* A React functional component that renders the Checkout Wallet Widget.
|
|
26037
27360
|
* @param {WalletReactProps} props - The props for the Wallet Widget component.
|
|
26038
27361
|
* @returns {JSX.Element} - The rendered Wallet Widget component.
|
|
26039
27362
|
*/
|
|
26040
|
-
declare function WalletReact(props: WalletReactProps): JSX.Element;
|
|
27363
|
+
declare function WalletReact(props: WalletReactProps): JSX$1.Element;
|
|
26041
27364
|
/**
|
|
26042
27365
|
* Interface representing the props for the Example Widget component.
|
|
26043
27366
|
* @experimental
|
|
26044
27367
|
*/
|
|
26045
|
-
interface ExampleReactProps {
|
|
26046
|
-
providerPreference:
|
|
26047
|
-
fromContractAddress?: string;
|
|
26048
|
-
amount?: string;
|
|
26049
|
-
fromNetwork?: Network;
|
|
27368
|
+
interface ExampleReactProps extends CheckoutWidgetsConfig {
|
|
27369
|
+
providerPreference: string;
|
|
26050
27370
|
}
|
|
26051
27371
|
/**
|
|
26052
27372
|
* A React functional component that renders the Checkout Example Widget.
|
|
26053
27373
|
* @experimental
|
|
26054
27374
|
*/
|
|
26055
|
-
declare function ExampleReact(props: ExampleReactProps): JSX.Element;
|
|
27375
|
+
declare function ExampleReact(props: ExampleReactProps): JSX$1.Element;
|
|
26056
27376
|
/**
|
|
26057
27377
|
* CheckoutWidgets allows to inject the Checkout Widgets into your application.
|
|
26058
27378
|
* @param {CheckoutWidgetsConfig|undefined} config - Checkout Widget global configurations.
|
|
@@ -26070,4 +27390,4 @@ declare function UpdateConfig(config: CheckoutWidgetsConfig): void;
|
|
|
26070
27390
|
*/
|
|
26071
27391
|
declare function SetProvider(tagName: CheckoutWidgetTagNames, provider: Web3Provider | null): void;
|
|
26072
27392
|
|
|
26073
|
-
export { BridgeEvent, BridgeEventType, BridgeFailed, BridgeReact, BridgeReactProps, BridgeSuccess, BuyClose, BuyEvent, BuyEventType, BuyFailed, BuyNotConnected, BuyReact, BuyReactProps, BuySuccess, ChainId, CheckConnectionParams, CheckConnectionResult, Checkout, CheckoutErrorType, CheckoutWidgetTagNames, CheckoutWidgets, CheckoutWidgetsConfig, ConnectEvent, ConnectEventType, ConnectParams, ConnectReact, ConnectReactProps, ConnectResult, ConnectionFailed, ConnectionProviders, ConnectionSuccess,
|
|
27393
|
+
export { BridgeEvent, BridgeEventType, BridgeFailed, BridgeReact, BridgeReactProps, BridgeSuccess, BuyClose, BuyEvent, BuyEventType, BuyFailed, BuyNotConnected, BuyReact, BuyReactProps, BuySuccess, ChainId, CheckConnectionParams, CheckConnectionResult, Checkout, CheckoutErrorType, CheckoutModuleConfiguration, CheckoutWidgetTagNames, CheckoutWidgets, CheckoutWidgetsConfig, ConnectEvent, ConnectEventType, ConnectParams, ConnectReact, ConnectReactProps, ConnectResult, ConnectionFailed, ConnectionProviders, ConnectionSuccess, Environment, ErrorType, ExampleReact, ExampleReactProps, GenericIMXProvider, GetAllBalancesParams, GetAllBalancesResult, GetBalanceParams, GetBalanceResult, GetNetworkAllowListParams, GetNetworkAllowListResult, GetNetworkParams, GetTokenAllowListParams, GetTokenAllowListResult, GetWalletAllowListParams, GetWalletAllowListResult, IMTBLWidgetEvents, IMXProvider, ImmutableConfiguration, ImmutableXClient, ImtblBridgeProps, ImtblBuyProps, ImtblConnectProps, ImtblExampleProps, ImtblInnerWidgetExampleProps, ImtblOuterWidgetExampleProps, ImtblSwapProps, ImtblTransitionExampleProps, ImtblWalletProps, ImxModuleConfiguration as ImxClientModuleConfiguration, WalletConnection as ImxClientWalletConnection, MetaMaskIMXProvider, ModuleConfiguration, Network, NetworkFilter, NetworkFilterTypes, NetworkInfo, OnRampEvent, OnRampEventType, Orderbook, Passport, PassportError, PassportModuleConfiguration, ProviderConfiguration, SendTransactionParams, SendTransactionResult, SetProvider, SwapEvent, SwapEventType, SwapFailed, SwapReact, SwapReactProps, SwapSuccess, SwitchNetworkParams, SwitchNetworkResult, TokenFilter, TokenFilterTypes, TokenInfo, Transaction, UpdateConfig, WalletAddCoinsEvent, WalletDisconnectWalletEvent, WalletEvent, WalletEventType, WalletFilter, WalletFilterTypes, WalletInfo, WalletNetworkSwitchEvent, WalletReact, WalletReactProps, WalletRequestBridgeEvent, WalletRequestOnrampEvent, WalletRequestSwapEvent, WidgetTheme, index_d as guardian, createStarkSigner as imxClientCreateStarkSigner, generateLegacyStarkPrivateKey as imxClientGenerateLegacyStarkPrivateKey, module };
|