@imtbl/generated-clients 2.22.0 → 2.22.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +3 -3
- package/dist/node/index.cjs +9 -12
- package/dist/node/index.js +3 -3
- package/dist/types/config/config.d.ts +1 -9
- package/dist/types/index.d.ts +1 -3
- package/dist/types/multi-rollup/domain/guardian-api.d.ts +11 -12
- package/dist/types/multi-rollup/models/transaction-approval-request.d.ts +0 -1
- package/dist/types/multi-rollup/models/transaction.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/imx/api.d.ts +0 -28
- package/dist/types/imx/base.d.ts +0 -55
- package/dist/types/imx/common.d.ts +0 -65
- package/dist/types/imx/configuration.d.ts +0 -83
- package/dist/types/imx/domain/assets-api.d.ts +0 -287
- package/dist/types/imx/domain/balances-api.d.ts +0 -179
- package/dist/types/imx/domain/collections-api.d.ts +0 -448
- package/dist/types/imx/domain/deposits-api.d.ts +0 -317
- package/dist/types/imx/domain/encoding-api.d.ts +0 -97
- package/dist/types/imx/domain/exchanges-api.d.ts +0 -395
- package/dist/types/imx/domain/metadata-api.d.ts +0 -245
- package/dist/types/imx/domain/metadata-refreshes-api.d.ts +0 -357
- package/dist/types/imx/domain/mints-api.d.ts +0 -364
- package/dist/types/imx/domain/nft-checkout-primary-api.d.ts +0 -376
- package/dist/types/imx/domain/orders-api.d.ts +0 -668
- package/dist/types/imx/domain/projects-api.d.ts +0 -105
- package/dist/types/imx/domain/tokens-api.d.ts +0 -179
- package/dist/types/imx/domain/trades-api.d.ts +0 -347
- package/dist/types/imx/domain/transfers-api.d.ts +0 -524
- package/dist/types/imx/domain/users-api.d.ts +0 -342
- package/dist/types/imx/domain/withdrawals-api.d.ts +0 -513
- package/dist/types/imx/index.d.ts +0 -14
- package/dist/types/imx/models/add-metadata-schema-to-collection-request.d.ts +0 -31
- package/dist/types/imx/models/aggregate-limit.d.ts +0 -30
- package/dist/types/imx/models/api-order-v3-buy.d.ts +0 -18
- package/dist/types/imx/models/api-order-v3-maker-fees.d.ts +0 -18
- package/dist/types/imx/models/api-order-v3-sell.d.ts +0 -18
- package/dist/types/imx/models/api-order-v3-taker-fees.d.ts +0 -18
- package/dist/types/imx/models/api-order-v3.d.ts +0 -101
- package/dist/types/imx/models/api-register-passport-user-request.d.ts +0 -42
- package/dist/types/imx/models/api-sdkversion-check-response.d.ts +0 -36
- package/dist/types/imx/models/api-summarize-collections-response.d.ts +0 -37
- package/dist/types/imx/models/api-summarized-collection.d.ts +0 -31
- package/dist/types/imx/models/apierror.d.ts +0 -36
- package/dist/types/imx/models/asset-collection.d.ts +0 -18
- package/dist/types/imx/models/asset-orders.d.ts +0 -18
- package/dist/types/imx/models/asset-properties-collection.d.ts +0 -18
- package/dist/types/imx/models/asset-properties.d.ts +0 -37
- package/dist/types/imx/models/asset-with-orders-collection.d.ts +0 -18
- package/dist/types/imx/models/asset-with-orders-orders.d.ts +0 -18
- package/dist/types/imx/models/asset-with-orders.d.ts +0 -111
- package/dist/types/imx/models/asset.d.ts +0 -111
- package/dist/types/imx/models/balance.d.ts +0 -48
- package/dist/types/imx/models/cancel-order-request.d.ts +0 -30
- package/dist/types/imx/models/cancel-order-response.d.ts +0 -30
- package/dist/types/imx/models/collection-collection.d.ts +0 -84
- package/dist/types/imx/models/collection-details.d.ts +0 -30
- package/dist/types/imx/models/collection-filter-range.d.ts +0 -18
- package/dist/types/imx/models/collection-filter.d.ts +0 -43
- package/dist/types/imx/models/collection.d.ts +0 -78
- package/dist/types/imx/models/contract-create-apirequest.d.ts +0 -36
- package/dist/types/imx/models/contract-create-response.d.ts +0 -24
- package/dist/types/imx/models/create-collection-request.d.ts +0 -66
- package/dist/types/imx/models/create-exchange-and-urlapirequest.d.ts +0 -53
- package/dist/types/imx/models/create-metadata-refresh-request.d.ts +0 -30
- package/dist/types/imx/models/create-metadata-refresh-response.d.ts +0 -24
- package/dist/types/imx/models/create-order-request-v3.d.ts +0 -91
- package/dist/types/imx/models/create-order-request.d.ts +0 -91
- package/dist/types/imx/models/create-order-response.d.ts +0 -42
- package/dist/types/imx/models/create-project-apikey-response.d.ts +0 -24
- package/dist/types/imx/models/create-project-group-request.d.ts +0 -35
- package/dist/types/imx/models/create-project-request.d.ts +0 -36
- package/dist/types/imx/models/create-project-response.d.ts +0 -30
- package/dist/types/imx/models/create-trade-request-v1-fee-info.d.ts +0 -18
- package/dist/types/imx/models/create-trade-request-v1.d.ts +0 -104
- package/dist/types/imx/models/create-trade-response.d.ts +0 -36
- package/dist/types/imx/models/create-transfer-request-v1.d.ts +0 -72
- package/dist/types/imx/models/create-transfer-request.d.ts +0 -31
- package/dist/types/imx/models/create-transfer-response-v1.d.ts +0 -42
- package/dist/types/imx/models/create-transfer-response-v2.d.ts +0 -24
- package/dist/types/imx/models/create-transfer-response.d.ts +0 -24
- package/dist/types/imx/models/create-withdrawal-request-v2.d.ts +0 -72
- package/dist/types/imx/models/create-withdrawal-request.d.ts +0 -54
- package/dist/types/imx/models/create-withdrawal-response.d.ts +0 -36
- package/dist/types/imx/models/currency-with-limits.d.ts +0 -43
- package/dist/types/imx/models/deposit-token.d.ts +0 -18
- package/dist/types/imx/models/deposit.d.ts +0 -49
- package/dist/types/imx/models/encode-asset-request-token-data.d.ts +0 -18
- package/dist/types/imx/models/encode-asset-request-token.d.ts +0 -37
- package/dist/types/imx/models/encode-asset-request.d.ts +0 -25
- package/dist/types/imx/models/encode-asset-response.d.ts +0 -30
- package/dist/types/imx/models/encode-asset-token-data.d.ts +0 -42
- package/dist/types/imx/models/exchange-create-exchange-and-urlresponse.d.ts +0 -48
- package/dist/types/imx/models/exchange.d.ts +0 -67
- package/dist/types/imx/models/fee-data.d.ts +0 -30
- package/dist/types/imx/models/fee-entry.d.ts +0 -30
- package/dist/types/imx/models/fee-info.d.ts +0 -36
- package/dist/types/imx/models/fee-token-data.d.ts +0 -18
- package/dist/types/imx/models/fee-token.d.ts +0 -36
- package/dist/types/imx/models/fee.d.ts +0 -36
- package/dist/types/imx/models/get-metadata-refresh-errors-response.d.ts +0 -37
- package/dist/types/imx/models/get-metadata-refresh-response.d.ts +0 -61
- package/dist/types/imx/models/get-metadata-refreshes.d.ts +0 -37
- package/dist/types/imx/models/get-projects-response.d.ts +0 -37
- package/dist/types/imx/models/get-signable-cancel-order-request.d.ts +0 -24
- package/dist/types/imx/models/get-signable-cancel-order-response.d.ts +0 -48
- package/dist/types/imx/models/get-signable-deposit-request-token.d.ts +0 -18
- package/dist/types/imx/models/get-signable-deposit-request.d.ts +0 -37
- package/dist/types/imx/models/get-signable-deposit-response.d.ts +0 -48
- package/dist/types/imx/models/get-signable-order-request-token-buy.d.ts +0 -18
- package/dist/types/imx/models/get-signable-order-request-token-sell.d.ts +0 -18
- package/dist/types/imx/models/get-signable-order-request-v3-token-buy.d.ts +0 -18
- package/dist/types/imx/models/get-signable-order-request-v3-token-sell.d.ts +0 -18
- package/dist/types/imx/models/get-signable-order-request-v3.d.ts +0 -69
- package/dist/types/imx/models/get-signable-order-request.d.ts +0 -69
- package/dist/types/imx/models/get-signable-order-response-fee-info.d.ts +0 -18
- package/dist/types/imx/models/get-signable-order-response.d.ts +0 -103
- package/dist/types/imx/models/get-signable-registration-offchain-response.d.ts +0 -42
- package/dist/types/imx/models/get-signable-registration-request.d.ts +0 -30
- package/dist/types/imx/models/get-signable-registration-response.d.ts +0 -42
- package/dist/types/imx/models/get-signable-trade-request.d.ts +0 -43
- package/dist/types/imx/models/get-signable-trade-response-fee-info.d.ts +0 -18
- package/dist/types/imx/models/get-signable-trade-response-result.d.ts +0 -18
- package/dist/types/imx/models/get-signable-trade-response.d.ts +0 -103
- package/dist/types/imx/models/get-signable-trade-result-fee-info.d.ts +0 -18
- package/dist/types/imx/models/get-signable-trade-result.d.ts +0 -103
- package/dist/types/imx/models/get-signable-transfer-request-token.d.ts +0 -18
- package/dist/types/imx/models/get-signable-transfer-request-v1.d.ts +0 -43
- package/dist/types/imx/models/get-signable-transfer-request-v2.d.ts +0 -31
- package/dist/types/imx/models/get-signable-transfer-request.d.ts +0 -43
- package/dist/types/imx/models/get-signable-transfer-response-v1.d.ts +0 -90
- package/dist/types/imx/models/get-signable-transfer-response-v2.d.ts +0 -37
- package/dist/types/imx/models/get-signable-transfer-response.d.ts +0 -37
- package/dist/types/imx/models/get-signable-withdrawal-request-token.d.ts +0 -18
- package/dist/types/imx/models/get-signable-withdrawal-request.d.ts +0 -37
- package/dist/types/imx/models/get-signable-withdrawal-response-v2.d.ts +0 -96
- package/dist/types/imx/models/get-signable-withdrawal-response.d.ts +0 -72
- package/dist/types/imx/models/get-transactions-response.d.ts +0 -37
- package/dist/types/imx/models/get-users-api-response.d.ts +0 -24
- package/dist/types/imx/models/index.d.ts +0 -190
- package/dist/types/imx/models/lambdas-apierror.d.ts +0 -42
- package/dist/types/imx/models/list-assets-response.d.ts +0 -37
- package/dist/types/imx/models/list-balances-response.d.ts +0 -37
- package/dist/types/imx/models/list-collections-response.d.ts +0 -37
- package/dist/types/imx/models/list-deposits-response.d.ts +0 -37
- package/dist/types/imx/models/list-mints-response.d.ts +0 -37
- package/dist/types/imx/models/list-orders-response-v3.d.ts +0 -37
- package/dist/types/imx/models/list-orders-response.d.ts +0 -37
- package/dist/types/imx/models/list-tokens-response.d.ts +0 -31
- package/dist/types/imx/models/list-trades-response.d.ts +0 -37
- package/dist/types/imx/models/list-transfers-response.d.ts +0 -37
- package/dist/types/imx/models/list-withdrawals-response.d.ts +0 -37
- package/dist/types/imx/models/metadata-refresh-errors.d.ts +0 -60
- package/dist/types/imx/models/metadata-refresh-excluding-summary.d.ts +0 -54
- package/dist/types/imx/models/metadata-refresh-summary.d.ts +0 -36
- package/dist/types/imx/models/metadata-schema-property.d.ts +0 -36
- package/dist/types/imx/models/metadata-schema-request.d.ts +0 -44
- package/dist/types/imx/models/mint-fee.d.ts +0 -30
- package/dist/types/imx/models/mint-request.d.ts +0 -44
- package/dist/types/imx/models/mint-result-details.d.ts +0 -36
- package/dist/types/imx/models/mint-token-data-oaigen.d.ts +0 -18
- package/dist/types/imx/models/mint-token-data-v2.d.ts +0 -37
- package/dist/types/imx/models/mint-token-data.d.ts +0 -60
- package/dist/types/imx/models/mint-token-oaigen.d.ts +0 -18
- package/dist/types/imx/models/mint-token.d.ts +0 -18
- package/dist/types/imx/models/mint-tokens-response.d.ts +0 -25
- package/dist/types/imx/models/mint-user.d.ts +0 -31
- package/dist/types/imx/models/mint.d.ts +0 -56
- package/dist/types/imx/models/mintable-token-details.d.ts +0 -36
- package/dist/types/imx/models/nftprimarytransaction-create-apirequest.d.ts +0 -49
- package/dist/types/imx/models/nftprimarytransaction-create-response.d.ts +0 -66
- package/dist/types/imx/models/nftprimarytransaction-get-response.d.ts +0 -66
- package/dist/types/imx/models/nftprimarytransaction-list-transactions-response.d.ts +0 -37
- package/dist/types/imx/models/nftprimarytransaction-transaction-data.d.ts +0 -126
- package/dist/types/imx/models/nftprimarytransaction-widget-params.d.ts +0 -24
- package/dist/types/imx/models/optional-exchange-data.d.ts +0 -66
- package/dist/types/imx/models/order-buy.d.ts +0 -18
- package/dist/types/imx/models/order-details.d.ts +0 -30
- package/dist/types/imx/models/order-fee-info-token.d.ts +0 -18
- package/dist/types/imx/models/order-fee-info.d.ts +0 -43
- package/dist/types/imx/models/order-sell.d.ts +0 -18
- package/dist/types/imx/models/order-v3-buy.d.ts +0 -18
- package/dist/types/imx/models/order-v3-maker-fees.d.ts +0 -18
- package/dist/types/imx/models/order-v3-sell.d.ts +0 -18
- package/dist/types/imx/models/order-v3-taker-fees.d.ts +0 -18
- package/dist/types/imx/models/order-v3.d.ts +0 -101
- package/dist/types/imx/models/order.d.ts +0 -81
- package/dist/types/imx/models/orders-maker-taker-fee.d.ts +0 -55
- package/dist/types/imx/models/project.d.ts +0 -126
- package/dist/types/imx/models/range.d.ts +0 -30
- package/dist/types/imx/models/register-passport-user-request.d.ts +0 -48
- package/dist/types/imx/models/register-passport-user-result.d.ts +0 -36
- package/dist/types/imx/models/register-user-request.d.ts +0 -48
- package/dist/types/imx/models/register-user-response.d.ts +0 -24
- package/dist/types/imx/models/signable-token.d.ts +0 -30
- package/dist/types/imx/models/signable-transfer-details-token.d.ts +0 -18
- package/dist/types/imx/models/signable-transfer-details-v2-token.d.ts +0 -18
- package/dist/types/imx/models/signable-transfer-details-v2.d.ts +0 -37
- package/dist/types/imx/models/signable-transfer-details.d.ts +0 -37
- package/dist/types/imx/models/signable-transfer-response-details-token.d.ts +0 -18
- package/dist/types/imx/models/signable-transfer-response-details.d.ts +0 -85
- package/dist/types/imx/models/store-maker-taker-fee.d.ts +0 -31
- package/dist/types/imx/models/success-response.d.ts +0 -24
- package/dist/types/imx/models/summarized-collection-collection.d.ts +0 -18
- package/dist/types/imx/models/summarized-collection.d.ts +0 -37
- package/dist/types/imx/models/token-data-oaigen.d.ts +0 -18
- package/dist/types/imx/models/token-data-properties.d.ts +0 -18
- package/dist/types/imx/models/token-data.d.ts +0 -67
- package/dist/types/imx/models/token-details.d.ts +0 -54
- package/dist/types/imx/models/token.d.ts +0 -31
- package/dist/types/imx/models/trade-a.d.ts +0 -18
- package/dist/types/imx/models/trade-b.d.ts +0 -18
- package/dist/types/imx/models/trade-side.d.ts +0 -48
- package/dist/types/imx/models/trade.d.ts +0 -50
- package/dist/types/imx/models/trades-create-trade-request-fee-info.d.ts +0 -18
- package/dist/types/imx/models/trades-create-trade-request.d.ts +0 -104
- package/dist/types/imx/models/transfer-request.d.ts +0 -66
- package/dist/types/imx/models/transfer-token.d.ts +0 -18
- package/dist/types/imx/models/transfer.d.ts +0 -55
- package/dist/types/imx/models/update-collection-request.d.ts +0 -48
- package/dist/types/imx/models/widget-params.d.ts +0 -36
- package/dist/types/imx/models/withdrawal-token.d.ts +0 -18
- package/dist/types/imx/models/withdrawal.d.ts +0 -61
- package/dist/types/imx-api-clents.test.d.ts +0 -1
- package/dist/types/imx-api-clients.d.ts +0 -23
package/dist/types/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export * as imx from './imx';
|
|
2
1
|
export * as mr from './multi-rollup';
|
|
3
2
|
export * as BlockchainData from './blockchain-data/index';
|
|
4
|
-
export { ImxApiClients } from './imx-api-clients';
|
|
5
3
|
export { MultiRollupApiClients } from './mr-api-clients';
|
|
6
4
|
export { MagicTeeApiClients } from './magic-tee-api-clients';
|
|
7
|
-
export {
|
|
5
|
+
export { multiRollupConfig, createConfig, } from './config';
|
|
8
6
|
export type { ImmutableAPIConfiguration, MultiRollupAPIConfiguration } from './config';
|
|
@@ -68,9 +68,9 @@ export declare const GuardianApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
68
68
|
*/
|
|
69
69
|
evaluateMessage: (messageEvaluationRequest: MessageEvaluationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
70
|
/**
|
|
71
|
-
* Check if the transaction is valid by transaction ID
|
|
71
|
+
* Check if the transaction is valid by transaction ID
|
|
72
72
|
* @summary Evaluate a transaction
|
|
73
|
-
* @param {string} id Transaction identifier:
|
|
73
|
+
* @param {string} id Transaction identifier: EVM transaction ID
|
|
74
74
|
* @param {TransactionEvaluationRequest} transactionEvaluationRequest Specifies the kind of transaction
|
|
75
75
|
* @param {*} [options] Override http request option.
|
|
76
76
|
* @throws {RequiredError}
|
|
@@ -95,7 +95,7 @@ export declare const GuardianApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
95
95
|
/**
|
|
96
96
|
* Get a transaction by payload hash
|
|
97
97
|
* @summary Info for a specific transaction
|
|
98
|
-
* @param {string} transactionID The id of the
|
|
98
|
+
* @param {string} transactionID The id of the transaction to retrieve
|
|
99
99
|
* @param {GetTransactionByIDChainTypeEnum} chainType roll up type
|
|
100
100
|
* @param {string} [chainID] ID of evm chain
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
@@ -150,9 +150,9 @@ export declare const GuardianApiFp: (configuration?: Configuration) => {
|
|
|
150
150
|
*/
|
|
151
151
|
evaluateMessage(messageEvaluationRequest: MessageEvaluationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessageEvaluationResponse>>;
|
|
152
152
|
/**
|
|
153
|
-
* Check if the transaction is valid by transaction ID
|
|
153
|
+
* Check if the transaction is valid by transaction ID
|
|
154
154
|
* @summary Evaluate a transaction
|
|
155
|
-
* @param {string} id Transaction identifier:
|
|
155
|
+
* @param {string} id Transaction identifier: EVM transaction ID
|
|
156
156
|
* @param {TransactionEvaluationRequest} transactionEvaluationRequest Specifies the kind of transaction
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
158
158
|
* @throws {RequiredError}
|
|
@@ -177,7 +177,7 @@ export declare const GuardianApiFp: (configuration?: Configuration) => {
|
|
|
177
177
|
/**
|
|
178
178
|
* Get a transaction by payload hash
|
|
179
179
|
* @summary Info for a specific transaction
|
|
180
|
-
* @param {string} transactionID The id of the
|
|
180
|
+
* @param {string} transactionID The id of the transaction to retrieve
|
|
181
181
|
* @param {GetTransactionByIDChainTypeEnum} chainType roll up type
|
|
182
182
|
* @param {string} [chainID] ID of evm chain
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
@@ -231,7 +231,7 @@ export declare const GuardianApiFactory: (configuration?: Configuration, basePat
|
|
|
231
231
|
*/
|
|
232
232
|
evaluateMessage(requestParameters: GuardianApiEvaluateMessageRequest, options?: AxiosRequestConfig): AxiosPromise<MessageEvaluationResponse>;
|
|
233
233
|
/**
|
|
234
|
-
* Check if the transaction is valid by transaction ID
|
|
234
|
+
* Check if the transaction is valid by transaction ID
|
|
235
235
|
* @summary Evaluate a transaction
|
|
236
236
|
* @param {GuardianApiEvaluateTransactionRequest} requestParameters Request parameters.
|
|
237
237
|
* @param {*} [options] Override http request option.
|
|
@@ -341,7 +341,7 @@ export interface GuardianApiEvaluateMessageRequest {
|
|
|
341
341
|
*/
|
|
342
342
|
export interface GuardianApiEvaluateTransactionRequest {
|
|
343
343
|
/**
|
|
344
|
-
* Transaction identifier:
|
|
344
|
+
* Transaction identifier: EVM transaction ID
|
|
345
345
|
* @type {string}
|
|
346
346
|
* @memberof GuardianApiEvaluateTransaction
|
|
347
347
|
*/
|
|
@@ -386,14 +386,14 @@ export interface GuardianApiGetMessageByIDRequest {
|
|
|
386
386
|
*/
|
|
387
387
|
export interface GuardianApiGetTransactionByIDRequest {
|
|
388
388
|
/**
|
|
389
|
-
* The id of the
|
|
389
|
+
* The id of the transaction to retrieve
|
|
390
390
|
* @type {string}
|
|
391
391
|
* @memberof GuardianApiGetTransactionByID
|
|
392
392
|
*/
|
|
393
393
|
readonly transactionID: string;
|
|
394
394
|
/**
|
|
395
395
|
* roll up type
|
|
396
|
-
* @type {'
|
|
396
|
+
* @type {'evm'}
|
|
397
397
|
* @memberof GuardianApiGetTransactionByID
|
|
398
398
|
*/
|
|
399
399
|
readonly chainType: GetTransactionByIDChainTypeEnum;
|
|
@@ -457,7 +457,7 @@ export declare class GuardianApi extends BaseAPI {
|
|
|
457
457
|
*/
|
|
458
458
|
evaluateMessage(requestParameters: GuardianApiEvaluateMessageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MessageEvaluationResponse, any>>;
|
|
459
459
|
/**
|
|
460
|
-
* Check if the transaction is valid by transaction ID
|
|
460
|
+
* Check if the transaction is valid by transaction ID
|
|
461
461
|
* @summary Evaluate a transaction
|
|
462
462
|
* @param {GuardianApiEvaluateTransactionRequest} requestParameters Request parameters.
|
|
463
463
|
* @param {*} [options] Override http request option.
|
|
@@ -497,7 +497,6 @@ export declare class GuardianApi extends BaseAPI {
|
|
|
497
497
|
* @export
|
|
498
498
|
*/
|
|
499
499
|
export declare const GetTransactionByIDChainTypeEnum: {
|
|
500
|
-
readonly Starkex: "starkex";
|
|
501
500
|
readonly Evm: "evm";
|
|
502
501
|
};
|
|
503
502
|
export type GetTransactionByIDChainTypeEnum = typeof GetTransactionByIDChainTypeEnum[keyof typeof GetTransactionByIDChainTypeEnum];
|
|
@@ -35,7 +35,6 @@ export interface TransactionApprovalRequest {
|
|
|
35
35
|
'otp'?: string;
|
|
36
36
|
}
|
|
37
37
|
export declare const TransactionApprovalRequestChainTypeEnum: {
|
|
38
|
-
readonly Starkex: "starkex";
|
|
39
38
|
readonly Evm: "evm";
|
|
40
39
|
};
|
|
41
40
|
export type TransactionApprovalRequestChainTypeEnum = typeof TransactionApprovalRequestChainTypeEnum[keyof typeof TransactionApprovalRequestChainTypeEnum];
|
package/package.json
CHANGED
package/dist/types/imx/api.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Immutable X API
|
|
3
|
-
* Immutable X API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 3.0.0
|
|
6
|
-
* Contact: support@immutable.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export * from './domain/assets-api';
|
|
13
|
-
export * from './domain/balances-api';
|
|
14
|
-
export * from './domain/collections-api';
|
|
15
|
-
export * from './domain/deposits-api';
|
|
16
|
-
export * from './domain/encoding-api';
|
|
17
|
-
export * from './domain/exchanges-api';
|
|
18
|
-
export * from './domain/metadata-api';
|
|
19
|
-
export * from './domain/metadata-refreshes-api';
|
|
20
|
-
export * from './domain/mints-api';
|
|
21
|
-
export * from './domain/nft-checkout-primary-api';
|
|
22
|
-
export * from './domain/orders-api';
|
|
23
|
-
export * from './domain/projects-api';
|
|
24
|
-
export * from './domain/tokens-api';
|
|
25
|
-
export * from './domain/trades-api';
|
|
26
|
-
export * from './domain/transfers-api';
|
|
27
|
-
export * from './domain/users-api';
|
|
28
|
-
export * from './domain/withdrawals-api';
|
package/dist/types/imx/base.d.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Immutable X API
|
|
3
|
-
* Immutable X API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 3.0.0
|
|
6
|
-
* Contact: support@immutable.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { Configuration } from "./configuration";
|
|
13
|
-
import { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
|
-
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export declare const COLLECTION_FORMATS: {
|
|
20
|
-
csv: string;
|
|
21
|
-
ssv: string;
|
|
22
|
-
tsv: string;
|
|
23
|
-
pipes: string;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
|
-
export interface RequestArgs {
|
|
31
|
-
url: string;
|
|
32
|
-
options: AxiosRequestConfig;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
|
-
export declare class BaseAPI {
|
|
40
|
-
protected basePath: string;
|
|
41
|
-
protected axios: AxiosInstance;
|
|
42
|
-
protected configuration: Configuration | undefined;
|
|
43
|
-
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
|
-
export declare class RequiredError extends Error {
|
|
52
|
-
field: string;
|
|
53
|
-
name: "RequiredError";
|
|
54
|
-
constructor(field: string, msg?: string);
|
|
55
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Immutable X API
|
|
3
|
-
* Immutable X API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 3.0.0
|
|
6
|
-
* Contact: support@immutable.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { Configuration } from "./configuration";
|
|
13
|
-
import { RequestArgs } from "./base";
|
|
14
|
-
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @throws {RequiredError}
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
|
-
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
|
-
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
*/
|
|
45
|
-
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
|
-
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
*/
|
|
55
|
-
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
|
-
export declare const toPathString: (url: URL) => string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Immutable X API
|
|
3
|
-
* Immutable X API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 3.0.0
|
|
6
|
-
* Contact: support@immutable.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export interface ConfigurationParameters {
|
|
13
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
|
-
username?: string;
|
|
15
|
-
password?: string;
|
|
16
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
|
-
basePath?: string;
|
|
18
|
-
baseOptions?: any;
|
|
19
|
-
formDataCtor?: new () => any;
|
|
20
|
-
}
|
|
21
|
-
export declare class Configuration {
|
|
22
|
-
/**
|
|
23
|
-
* parameter for apiKey security
|
|
24
|
-
* @param name security name
|
|
25
|
-
* @memberof Configuration
|
|
26
|
-
*/
|
|
27
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
|
-
/**
|
|
29
|
-
* parameter for basic security
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof Configuration
|
|
33
|
-
*/
|
|
34
|
-
username?: string;
|
|
35
|
-
/**
|
|
36
|
-
* parameter for basic security
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Configuration
|
|
40
|
-
*/
|
|
41
|
-
password?: string;
|
|
42
|
-
/**
|
|
43
|
-
* parameter for oauth2 security
|
|
44
|
-
* @param name security name
|
|
45
|
-
* @param scopes oauth2 scope
|
|
46
|
-
* @memberof Configuration
|
|
47
|
-
*/
|
|
48
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
49
|
-
/**
|
|
50
|
-
* override base path
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof Configuration
|
|
54
|
-
*/
|
|
55
|
-
basePath?: string;
|
|
56
|
-
/**
|
|
57
|
-
* base options for axios calls
|
|
58
|
-
*
|
|
59
|
-
* @type {any}
|
|
60
|
-
* @memberof Configuration
|
|
61
|
-
*/
|
|
62
|
-
baseOptions?: any;
|
|
63
|
-
/**
|
|
64
|
-
* The FormData constructor that will be used to create multipart form data
|
|
65
|
-
* requests. You can inject this here so that execution environments that
|
|
66
|
-
* do not support the FormData class can still run the generated client.
|
|
67
|
-
*
|
|
68
|
-
* @type {new () => FormData}
|
|
69
|
-
*/
|
|
70
|
-
formDataCtor?: new () => any;
|
|
71
|
-
constructor(param?: ConfigurationParameters);
|
|
72
|
-
/**
|
|
73
|
-
* Check if the given MIME is a JSON MIME.
|
|
74
|
-
* JSON MIME examples:
|
|
75
|
-
* application/json
|
|
76
|
-
* application/json; charset=UTF8
|
|
77
|
-
* APPLICATION/JSON
|
|
78
|
-
* application/vnd.company+json
|
|
79
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
80
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
81
|
-
*/
|
|
82
|
-
isJsonMime(mime: string): boolean;
|
|
83
|
-
}
|
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Immutable X API
|
|
3
|
-
* Immutable X API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 3.0.0
|
|
6
|
-
* Contact: support@immutable.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
-
import { Configuration } from '../configuration';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { Asset } from '../models';
|
|
16
|
-
import { ListAssetsResponse } from '../models';
|
|
17
|
-
/**
|
|
18
|
-
* AssetsApi - axios parameter creator
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export declare const AssetsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
-
/**
|
|
23
|
-
* Get details of an asset
|
|
24
|
-
* @summary Get details of an asset
|
|
25
|
-
* @param {string} tokenAddress Address of the ERC721 contract
|
|
26
|
-
* @param {string} tokenId Either ERC721 token ID or internal IMX ID
|
|
27
|
-
* @param {boolean} [includeFees] Set flag to include fees associated with the asset
|
|
28
|
-
* @param {*} [options] Override http request option.
|
|
29
|
-
* @throws {RequiredError}
|
|
30
|
-
*/
|
|
31
|
-
getAsset: (tokenAddress: string, tokenId: string, includeFees?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
-
/**
|
|
33
|
-
* Get a list of assets
|
|
34
|
-
* @summary Get a list of assets
|
|
35
|
-
* @param {number} [pageSize] Page size of the result
|
|
36
|
-
* @param {string} [cursor] Cursor
|
|
37
|
-
* @param {'updated_at' | 'name'} [orderBy] Property to sort by
|
|
38
|
-
* @param {string} [direction] Direction to sort (asc/desc)
|
|
39
|
-
* @param {string} [user] Comma separated list of ethereum address of the users who own these assets
|
|
40
|
-
* @param {'eth' | 'imx' | 'preparing_withdrawal' | 'withdrawable' | 'burned'} [status] Status of these assets
|
|
41
|
-
* @param {string} [name] Name of the asset to search
|
|
42
|
-
* @param {string} [metadata] URL JSON-encoded metadata filters for these assets. Javascript example: encodeURI(JSON.stringify({\'proto\':[\'1147\'],\'quality\':[\'Meteorite\']}))
|
|
43
|
-
* @param {boolean} [sellOrders] Set flag to true to fetch an array of sell order details with accepted status associated with the asset
|
|
44
|
-
* @param {boolean} [buyOrders] Set flag to true to fetch an array of buy order details with accepted status associated with the asset
|
|
45
|
-
* @param {boolean} [includeFees] Set flag to include fees associated with the asset
|
|
46
|
-
* @param {string} [collection] Comma separated list of the collections contract address
|
|
47
|
-
* @param {string} [updatedMinTimestamp] Minimum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
48
|
-
* @param {string} [updatedMaxTimestamp] Maximum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
49
|
-
* @param {string} [auxiliaryFeePercentages] Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients
|
|
50
|
-
* @param {string} [auxiliaryFeeRecipients] Comma separated string of fee recipients that are to be paired with auxiliary_fee_percentages
|
|
51
|
-
* @param {*} [options] Override http request option.
|
|
52
|
-
* @throws {RequiredError}
|
|
53
|
-
*/
|
|
54
|
-
listAssets: (pageSize?: number, cursor?: string, orderBy?: "updated_at" | "name", direction?: string, user?: string, status?: "eth" | "imx" | "preparing_withdrawal" | "withdrawable" | "burned", name?: string, metadata?: string, sellOrders?: boolean, buyOrders?: boolean, includeFees?: boolean, collection?: string, updatedMinTimestamp?: string, updatedMaxTimestamp?: string, auxiliaryFeePercentages?: string, auxiliaryFeeRecipients?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* AssetsApi - functional programming interface
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
|
-
export declare const AssetsApiFp: (configuration?: Configuration) => {
|
|
61
|
-
/**
|
|
62
|
-
* Get details of an asset
|
|
63
|
-
* @summary Get details of an asset
|
|
64
|
-
* @param {string} tokenAddress Address of the ERC721 contract
|
|
65
|
-
* @param {string} tokenId Either ERC721 token ID or internal IMX ID
|
|
66
|
-
* @param {boolean} [includeFees] Set flag to include fees associated with the asset
|
|
67
|
-
* @param {*} [options] Override http request option.
|
|
68
|
-
* @throws {RequiredError}
|
|
69
|
-
*/
|
|
70
|
-
getAsset(tokenAddress: string, tokenId: string, includeFees?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Asset>>;
|
|
71
|
-
/**
|
|
72
|
-
* Get a list of assets
|
|
73
|
-
* @summary Get a list of assets
|
|
74
|
-
* @param {number} [pageSize] Page size of the result
|
|
75
|
-
* @param {string} [cursor] Cursor
|
|
76
|
-
* @param {'updated_at' | 'name'} [orderBy] Property to sort by
|
|
77
|
-
* @param {string} [direction] Direction to sort (asc/desc)
|
|
78
|
-
* @param {string} [user] Comma separated list of ethereum address of the users who own these assets
|
|
79
|
-
* @param {'eth' | 'imx' | 'preparing_withdrawal' | 'withdrawable' | 'burned'} [status] Status of these assets
|
|
80
|
-
* @param {string} [name] Name of the asset to search
|
|
81
|
-
* @param {string} [metadata] URL JSON-encoded metadata filters for these assets. Javascript example: encodeURI(JSON.stringify({\'proto\':[\'1147\'],\'quality\':[\'Meteorite\']}))
|
|
82
|
-
* @param {boolean} [sellOrders] Set flag to true to fetch an array of sell order details with accepted status associated with the asset
|
|
83
|
-
* @param {boolean} [buyOrders] Set flag to true to fetch an array of buy order details with accepted status associated with the asset
|
|
84
|
-
* @param {boolean} [includeFees] Set flag to include fees associated with the asset
|
|
85
|
-
* @param {string} [collection] Comma separated list of the collections contract address
|
|
86
|
-
* @param {string} [updatedMinTimestamp] Minimum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
87
|
-
* @param {string} [updatedMaxTimestamp] Maximum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
88
|
-
* @param {string} [auxiliaryFeePercentages] Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients
|
|
89
|
-
* @param {string} [auxiliaryFeeRecipients] Comma separated string of fee recipients that are to be paired with auxiliary_fee_percentages
|
|
90
|
-
* @param {*} [options] Override http request option.
|
|
91
|
-
* @throws {RequiredError}
|
|
92
|
-
*/
|
|
93
|
-
listAssets(pageSize?: number, cursor?: string, orderBy?: "updated_at" | "name", direction?: string, user?: string, status?: "eth" | "imx" | "preparing_withdrawal" | "withdrawable" | "burned", name?: string, metadata?: string, sellOrders?: boolean, buyOrders?: boolean, includeFees?: boolean, collection?: string, updatedMinTimestamp?: string, updatedMaxTimestamp?: string, auxiliaryFeePercentages?: string, auxiliaryFeeRecipients?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAssetsResponse>>;
|
|
94
|
-
};
|
|
95
|
-
/**
|
|
96
|
-
* AssetsApi - factory interface
|
|
97
|
-
* @export
|
|
98
|
-
*/
|
|
99
|
-
export declare const AssetsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
100
|
-
/**
|
|
101
|
-
* Get details of an asset
|
|
102
|
-
* @summary Get details of an asset
|
|
103
|
-
* @param {string} tokenAddress Address of the ERC721 contract
|
|
104
|
-
* @param {string} tokenId Either ERC721 token ID or internal IMX ID
|
|
105
|
-
* @param {boolean} [includeFees] Set flag to include fees associated with the asset
|
|
106
|
-
* @param {*} [options] Override http request option.
|
|
107
|
-
* @throws {RequiredError}
|
|
108
|
-
*/
|
|
109
|
-
getAsset(tokenAddress: string, tokenId: string, includeFees?: boolean, options?: any): AxiosPromise<Asset>;
|
|
110
|
-
/**
|
|
111
|
-
* Get a list of assets
|
|
112
|
-
* @summary Get a list of assets
|
|
113
|
-
* @param {number} [pageSize] Page size of the result
|
|
114
|
-
* @param {string} [cursor] Cursor
|
|
115
|
-
* @param {'updated_at' | 'name'} [orderBy] Property to sort by
|
|
116
|
-
* @param {string} [direction] Direction to sort (asc/desc)
|
|
117
|
-
* @param {string} [user] Comma separated list of ethereum address of the users who own these assets
|
|
118
|
-
* @param {'eth' | 'imx' | 'preparing_withdrawal' | 'withdrawable' | 'burned'} [status] Status of these assets
|
|
119
|
-
* @param {string} [name] Name of the asset to search
|
|
120
|
-
* @param {string} [metadata] URL JSON-encoded metadata filters for these assets. Javascript example: encodeURI(JSON.stringify({\'proto\':[\'1147\'],\'quality\':[\'Meteorite\']}))
|
|
121
|
-
* @param {boolean} [sellOrders] Set flag to true to fetch an array of sell order details with accepted status associated with the asset
|
|
122
|
-
* @param {boolean} [buyOrders] Set flag to true to fetch an array of buy order details with accepted status associated with the asset
|
|
123
|
-
* @param {boolean} [includeFees] Set flag to include fees associated with the asset
|
|
124
|
-
* @param {string} [collection] Comma separated list of the collections contract address
|
|
125
|
-
* @param {string} [updatedMinTimestamp] Minimum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
126
|
-
* @param {string} [updatedMaxTimestamp] Maximum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
127
|
-
* @param {string} [auxiliaryFeePercentages] Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients
|
|
128
|
-
* @param {string} [auxiliaryFeeRecipients] Comma separated string of fee recipients that are to be paired with auxiliary_fee_percentages
|
|
129
|
-
* @param {*} [options] Override http request option.
|
|
130
|
-
* @throws {RequiredError}
|
|
131
|
-
*/
|
|
132
|
-
listAssets(pageSize?: number, cursor?: string, orderBy?: "updated_at" | "name", direction?: string, user?: string, status?: "eth" | "imx" | "preparing_withdrawal" | "withdrawable" | "burned", name?: string, metadata?: string, sellOrders?: boolean, buyOrders?: boolean, includeFees?: boolean, collection?: string, updatedMinTimestamp?: string, updatedMaxTimestamp?: string, auxiliaryFeePercentages?: string, auxiliaryFeeRecipients?: string, options?: any): AxiosPromise<ListAssetsResponse>;
|
|
133
|
-
};
|
|
134
|
-
/**
|
|
135
|
-
* Request parameters for getAsset operation in AssetsApi.
|
|
136
|
-
* @export
|
|
137
|
-
* @interface AssetsApiGetAssetRequest
|
|
138
|
-
*/
|
|
139
|
-
export interface AssetsApiGetAssetRequest {
|
|
140
|
-
/**
|
|
141
|
-
* Address of the ERC721 contract
|
|
142
|
-
* @type {string}
|
|
143
|
-
* @memberof AssetsApiGetAsset
|
|
144
|
-
*/
|
|
145
|
-
readonly tokenAddress: string;
|
|
146
|
-
/**
|
|
147
|
-
* Either ERC721 token ID or internal IMX ID
|
|
148
|
-
* @type {string}
|
|
149
|
-
* @memberof AssetsApiGetAsset
|
|
150
|
-
*/
|
|
151
|
-
readonly tokenId: string;
|
|
152
|
-
/**
|
|
153
|
-
* Set flag to include fees associated with the asset
|
|
154
|
-
* @type {boolean}
|
|
155
|
-
* @memberof AssetsApiGetAsset
|
|
156
|
-
*/
|
|
157
|
-
readonly includeFees?: boolean;
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* Request parameters for listAssets operation in AssetsApi.
|
|
161
|
-
* @export
|
|
162
|
-
* @interface AssetsApiListAssetsRequest
|
|
163
|
-
*/
|
|
164
|
-
export interface AssetsApiListAssetsRequest {
|
|
165
|
-
/**
|
|
166
|
-
* Page size of the result
|
|
167
|
-
* @type {number}
|
|
168
|
-
* @memberof AssetsApiListAssets
|
|
169
|
-
*/
|
|
170
|
-
readonly pageSize?: number;
|
|
171
|
-
/**
|
|
172
|
-
* Cursor
|
|
173
|
-
* @type {string}
|
|
174
|
-
* @memberof AssetsApiListAssets
|
|
175
|
-
*/
|
|
176
|
-
readonly cursor?: string;
|
|
177
|
-
/**
|
|
178
|
-
* Property to sort by
|
|
179
|
-
* @type {'updated_at' | 'name'}
|
|
180
|
-
* @memberof AssetsApiListAssets
|
|
181
|
-
*/
|
|
182
|
-
readonly orderBy?: 'updated_at' | 'name';
|
|
183
|
-
/**
|
|
184
|
-
* Direction to sort (asc/desc)
|
|
185
|
-
* @type {string}
|
|
186
|
-
* @memberof AssetsApiListAssets
|
|
187
|
-
*/
|
|
188
|
-
readonly direction?: string;
|
|
189
|
-
/**
|
|
190
|
-
* Comma separated list of ethereum address of the users who own these assets
|
|
191
|
-
* @type {string}
|
|
192
|
-
* @memberof AssetsApiListAssets
|
|
193
|
-
*/
|
|
194
|
-
readonly user?: string;
|
|
195
|
-
/**
|
|
196
|
-
* Status of these assets
|
|
197
|
-
* @type {'eth' | 'imx' | 'preparing_withdrawal' | 'withdrawable' | 'burned'}
|
|
198
|
-
* @memberof AssetsApiListAssets
|
|
199
|
-
*/
|
|
200
|
-
readonly status?: 'eth' | 'imx' | 'preparing_withdrawal' | 'withdrawable' | 'burned';
|
|
201
|
-
/**
|
|
202
|
-
* Name of the asset to search
|
|
203
|
-
* @type {string}
|
|
204
|
-
* @memberof AssetsApiListAssets
|
|
205
|
-
*/
|
|
206
|
-
readonly name?: string;
|
|
207
|
-
/**
|
|
208
|
-
* URL JSON-encoded metadata filters for these assets. Javascript example: encodeURI(JSON.stringify({\'proto\':[\'1147\'],\'quality\':[\'Meteorite\']}))
|
|
209
|
-
* @type {string}
|
|
210
|
-
* @memberof AssetsApiListAssets
|
|
211
|
-
*/
|
|
212
|
-
readonly metadata?: string;
|
|
213
|
-
/**
|
|
214
|
-
* Set flag to true to fetch an array of sell order details with accepted status associated with the asset
|
|
215
|
-
* @type {boolean}
|
|
216
|
-
* @memberof AssetsApiListAssets
|
|
217
|
-
*/
|
|
218
|
-
readonly sellOrders?: boolean;
|
|
219
|
-
/**
|
|
220
|
-
* Set flag to true to fetch an array of buy order details with accepted status associated with the asset
|
|
221
|
-
* @type {boolean}
|
|
222
|
-
* @memberof AssetsApiListAssets
|
|
223
|
-
*/
|
|
224
|
-
readonly buyOrders?: boolean;
|
|
225
|
-
/**
|
|
226
|
-
* Set flag to include fees associated with the asset
|
|
227
|
-
* @type {boolean}
|
|
228
|
-
* @memberof AssetsApiListAssets
|
|
229
|
-
*/
|
|
230
|
-
readonly includeFees?: boolean;
|
|
231
|
-
/**
|
|
232
|
-
* Comma separated list of the collections contract address
|
|
233
|
-
* @type {string}
|
|
234
|
-
* @memberof AssetsApiListAssets
|
|
235
|
-
*/
|
|
236
|
-
readonly collection?: string;
|
|
237
|
-
/**
|
|
238
|
-
* Minimum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
239
|
-
* @type {string}
|
|
240
|
-
* @memberof AssetsApiListAssets
|
|
241
|
-
*/
|
|
242
|
-
readonly updatedMinTimestamp?: string;
|
|
243
|
-
/**
|
|
244
|
-
* Maximum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\'
|
|
245
|
-
* @type {string}
|
|
246
|
-
* @memberof AssetsApiListAssets
|
|
247
|
-
*/
|
|
248
|
-
readonly updatedMaxTimestamp?: string;
|
|
249
|
-
/**
|
|
250
|
-
* Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients
|
|
251
|
-
* @type {string}
|
|
252
|
-
* @memberof AssetsApiListAssets
|
|
253
|
-
*/
|
|
254
|
-
readonly auxiliaryFeePercentages?: string;
|
|
255
|
-
/**
|
|
256
|
-
* Comma separated string of fee recipients that are to be paired with auxiliary_fee_percentages
|
|
257
|
-
* @type {string}
|
|
258
|
-
* @memberof AssetsApiListAssets
|
|
259
|
-
*/
|
|
260
|
-
readonly auxiliaryFeeRecipients?: string;
|
|
261
|
-
}
|
|
262
|
-
/**
|
|
263
|
-
* AssetsApi - object-oriented interface
|
|
264
|
-
* @export
|
|
265
|
-
* @class AssetsApi
|
|
266
|
-
* @extends {BaseAPI}
|
|
267
|
-
*/
|
|
268
|
-
export declare class AssetsApi extends BaseAPI {
|
|
269
|
-
/**
|
|
270
|
-
* Get details of an asset
|
|
271
|
-
* @summary Get details of an asset
|
|
272
|
-
* @param {AssetsApiGetAssetRequest} requestParameters Request parameters.
|
|
273
|
-
* @param {*} [options] Override http request option.
|
|
274
|
-
* @throws {RequiredError}
|
|
275
|
-
* @memberof AssetsApi
|
|
276
|
-
*/
|
|
277
|
-
getAsset(requestParameters: AssetsApiGetAssetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Asset, any>>;
|
|
278
|
-
/**
|
|
279
|
-
* Get a list of assets
|
|
280
|
-
* @summary Get a list of assets
|
|
281
|
-
* @param {AssetsApiListAssetsRequest} requestParameters Request parameters.
|
|
282
|
-
* @param {*} [options] Override http request option.
|
|
283
|
-
* @throws {RequiredError}
|
|
284
|
-
* @memberof AssetsApi
|
|
285
|
-
*/
|
|
286
|
-
listAssets(requestParameters?: AssetsApiListAssetsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAssetsResponse, any>>;
|
|
287
|
-
}
|