@imtbl/generated-clients 2.22.0 → 2.23.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
|
@@ -1,179 +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 { Balance } from '../models';
|
|
16
|
-
import { ListBalancesResponse } from '../models';
|
|
17
|
-
/**
|
|
18
|
-
* BalancesApi - axios parameter creator
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export declare const BalancesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
-
/**
|
|
23
|
-
* Fetches the token balances of the user
|
|
24
|
-
* @summary Fetches the token balances of the user
|
|
25
|
-
* @param {string} owner Address of the owner/user
|
|
26
|
-
* @param {string} address Token address or \'eth\'
|
|
27
|
-
* @param {*} [options] Override http request option.
|
|
28
|
-
* @throws {RequiredError}
|
|
29
|
-
*/
|
|
30
|
-
getBalance: (owner: string, address: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
-
/**
|
|
32
|
-
* Get a list of balances for given user
|
|
33
|
-
* @summary Get a list of balances for given user
|
|
34
|
-
* @param {string} owner Ethereum wallet address for user
|
|
35
|
-
* @param {number} [pageSize] Page size of the result
|
|
36
|
-
* @param {string} [cursor] Cursor
|
|
37
|
-
* @param {string} [orderBy] Property to sort by
|
|
38
|
-
* @param {string} [direction] Direction to sort (asc/desc)
|
|
39
|
-
* @param {*} [options] Override http request option.
|
|
40
|
-
* @throws {RequiredError}
|
|
41
|
-
*/
|
|
42
|
-
listBalances: (owner: string, pageSize?: number, cursor?: string, orderBy?: string, direction?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* BalancesApi - functional programming interface
|
|
46
|
-
* @export
|
|
47
|
-
*/
|
|
48
|
-
export declare const BalancesApiFp: (configuration?: Configuration) => {
|
|
49
|
-
/**
|
|
50
|
-
* Fetches the token balances of the user
|
|
51
|
-
* @summary Fetches the token balances of the user
|
|
52
|
-
* @param {string} owner Address of the owner/user
|
|
53
|
-
* @param {string} address Token address or \'eth\'
|
|
54
|
-
* @param {*} [options] Override http request option.
|
|
55
|
-
* @throws {RequiredError}
|
|
56
|
-
*/
|
|
57
|
-
getBalance(owner: string, address: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Balance>>;
|
|
58
|
-
/**
|
|
59
|
-
* Get a list of balances for given user
|
|
60
|
-
* @summary Get a list of balances for given user
|
|
61
|
-
* @param {string} owner Ethereum wallet address for user
|
|
62
|
-
* @param {number} [pageSize] Page size of the result
|
|
63
|
-
* @param {string} [cursor] Cursor
|
|
64
|
-
* @param {string} [orderBy] Property to sort by
|
|
65
|
-
* @param {string} [direction] Direction to sort (asc/desc)
|
|
66
|
-
* @param {*} [options] Override http request option.
|
|
67
|
-
* @throws {RequiredError}
|
|
68
|
-
*/
|
|
69
|
-
listBalances(owner: string, pageSize?: number, cursor?: string, orderBy?: string, direction?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBalancesResponse>>;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* BalancesApi - factory interface
|
|
73
|
-
* @export
|
|
74
|
-
*/
|
|
75
|
-
export declare const BalancesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
76
|
-
/**
|
|
77
|
-
* Fetches the token balances of the user
|
|
78
|
-
* @summary Fetches the token balances of the user
|
|
79
|
-
* @param {string} owner Address of the owner/user
|
|
80
|
-
* @param {string} address Token address or \'eth\'
|
|
81
|
-
* @param {*} [options] Override http request option.
|
|
82
|
-
* @throws {RequiredError}
|
|
83
|
-
*/
|
|
84
|
-
getBalance(owner: string, address: string, options?: any): AxiosPromise<Balance>;
|
|
85
|
-
/**
|
|
86
|
-
* Get a list of balances for given user
|
|
87
|
-
* @summary Get a list of balances for given user
|
|
88
|
-
* @param {string} owner Ethereum wallet address for user
|
|
89
|
-
* @param {number} [pageSize] Page size of the result
|
|
90
|
-
* @param {string} [cursor] Cursor
|
|
91
|
-
* @param {string} [orderBy] Property to sort by
|
|
92
|
-
* @param {string} [direction] Direction to sort (asc/desc)
|
|
93
|
-
* @param {*} [options] Override http request option.
|
|
94
|
-
* @throws {RequiredError}
|
|
95
|
-
*/
|
|
96
|
-
listBalances(owner: string, pageSize?: number, cursor?: string, orderBy?: string, direction?: string, options?: any): AxiosPromise<ListBalancesResponse>;
|
|
97
|
-
};
|
|
98
|
-
/**
|
|
99
|
-
* Request parameters for getBalance operation in BalancesApi.
|
|
100
|
-
* @export
|
|
101
|
-
* @interface BalancesApiGetBalanceRequest
|
|
102
|
-
*/
|
|
103
|
-
export interface BalancesApiGetBalanceRequest {
|
|
104
|
-
/**
|
|
105
|
-
* Address of the owner/user
|
|
106
|
-
* @type {string}
|
|
107
|
-
* @memberof BalancesApiGetBalance
|
|
108
|
-
*/
|
|
109
|
-
readonly owner: string;
|
|
110
|
-
/**
|
|
111
|
-
* Token address or \'eth\'
|
|
112
|
-
* @type {string}
|
|
113
|
-
* @memberof BalancesApiGetBalance
|
|
114
|
-
*/
|
|
115
|
-
readonly address: string;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Request parameters for listBalances operation in BalancesApi.
|
|
119
|
-
* @export
|
|
120
|
-
* @interface BalancesApiListBalancesRequest
|
|
121
|
-
*/
|
|
122
|
-
export interface BalancesApiListBalancesRequest {
|
|
123
|
-
/**
|
|
124
|
-
* Ethereum wallet address for user
|
|
125
|
-
* @type {string}
|
|
126
|
-
* @memberof BalancesApiListBalances
|
|
127
|
-
*/
|
|
128
|
-
readonly owner: string;
|
|
129
|
-
/**
|
|
130
|
-
* Page size of the result
|
|
131
|
-
* @type {number}
|
|
132
|
-
* @memberof BalancesApiListBalances
|
|
133
|
-
*/
|
|
134
|
-
readonly pageSize?: number;
|
|
135
|
-
/**
|
|
136
|
-
* Cursor
|
|
137
|
-
* @type {string}
|
|
138
|
-
* @memberof BalancesApiListBalances
|
|
139
|
-
*/
|
|
140
|
-
readonly cursor?: string;
|
|
141
|
-
/**
|
|
142
|
-
* Property to sort by
|
|
143
|
-
* @type {string}
|
|
144
|
-
* @memberof BalancesApiListBalances
|
|
145
|
-
*/
|
|
146
|
-
readonly orderBy?: string;
|
|
147
|
-
/**
|
|
148
|
-
* Direction to sort (asc/desc)
|
|
149
|
-
* @type {string}
|
|
150
|
-
* @memberof BalancesApiListBalances
|
|
151
|
-
*/
|
|
152
|
-
readonly direction?: string;
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* BalancesApi - object-oriented interface
|
|
156
|
-
* @export
|
|
157
|
-
* @class BalancesApi
|
|
158
|
-
* @extends {BaseAPI}
|
|
159
|
-
*/
|
|
160
|
-
export declare class BalancesApi extends BaseAPI {
|
|
161
|
-
/**
|
|
162
|
-
* Fetches the token balances of the user
|
|
163
|
-
* @summary Fetches the token balances of the user
|
|
164
|
-
* @param {BalancesApiGetBalanceRequest} requestParameters Request parameters.
|
|
165
|
-
* @param {*} [options] Override http request option.
|
|
166
|
-
* @throws {RequiredError}
|
|
167
|
-
* @memberof BalancesApi
|
|
168
|
-
*/
|
|
169
|
-
getBalance(requestParameters: BalancesApiGetBalanceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Balance, any>>;
|
|
170
|
-
/**
|
|
171
|
-
* Get a list of balances for given user
|
|
172
|
-
* @summary Get a list of balances for given user
|
|
173
|
-
* @param {BalancesApiListBalancesRequest} requestParameters Request parameters.
|
|
174
|
-
* @param {*} [options] Override http request option.
|
|
175
|
-
* @throws {RequiredError}
|
|
176
|
-
* @memberof BalancesApi
|
|
177
|
-
*/
|
|
178
|
-
listBalances(requestParameters: BalancesApiListBalancesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBalancesResponse, any>>;
|
|
179
|
-
}
|
|
@@ -1,448 +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 { ApiSummarizeCollectionsResponse } from '../models';
|
|
16
|
-
import { Collection } from '../models';
|
|
17
|
-
import { CollectionFilter } from '../models';
|
|
18
|
-
import { CreateCollectionRequest } from '../models';
|
|
19
|
-
import { ListCollectionsResponse } from '../models';
|
|
20
|
-
import { UpdateCollectionRequest } from '../models';
|
|
21
|
-
/**
|
|
22
|
-
* CollectionsApi - axios parameter creator
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
export declare const CollectionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
|
-
/**
|
|
27
|
-
* Create collection
|
|
28
|
-
* @summary Create collection
|
|
29
|
-
* @param {string} iMXSignature String created by signing wallet address and timestamp. See https://docs.x.immutable.com/docs/generate-imx-signature
|
|
30
|
-
* @param {string} iMXTimestamp Unix Epoc timestamp
|
|
31
|
-
* @param {CreateCollectionRequest} createCollectionRequest create a collection
|
|
32
|
-
* @param {string} [xImmutableApiKey] Immutable secret API key generated in the Immutable Hub https://hub.immutable.com. This key is required for all projects that are created inside the Immutable Hub.
|
|
33
|
-
* @param {*} [options] Override http request option.
|
|
34
|
-
* @throws {RequiredError}
|
|
35
|
-
*/
|
|
36
|
-
createCollection: (iMXSignature: string, iMXTimestamp: string, createCollectionRequest: CreateCollectionRequest, xImmutableApiKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
|
-
/**
|
|
38
|
-
* Get details of a collection at the given address
|
|
39
|
-
* @summary Get details of a collection at the given address
|
|
40
|
-
* @param {string} address Collection contract address
|
|
41
|
-
* @param {*} [options] Override http request option.
|
|
42
|
-
* @throws {RequiredError}
|
|
43
|
-
*/
|
|
44
|
-
getCollection: (address: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
-
/**
|
|
46
|
-
* Get a list of collection filters
|
|
47
|
-
* @summary Get a list of collection filters
|
|
48
|
-
* @param {string} address Collection contract address
|
|
49
|
-
* @param {number} [pageSize] Page size of the result
|
|
50
|
-
* @param {string} [nextPageToken] Next page token
|
|
51
|
-
* @param {*} [options] Override http request option.
|
|
52
|
-
* @throws {RequiredError}
|
|
53
|
-
*/
|
|
54
|
-
listCollectionFilters: (address: string, pageSize?: number, nextPageToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
|
-
/**
|
|
56
|
-
* Get a list of collections
|
|
57
|
-
* @summary Get a list of collections
|
|
58
|
-
* @param {number} [pageSize] Page size of the result
|
|
59
|
-
* @param {string} [cursor] Cursor
|
|
60
|
-
* @param {'name' | 'address' | 'project_id' | 'created_at' | 'updated_at'} [orderBy] Property to sort by
|
|
61
|
-
* @param {string} [direction] Direction to sort (asc/desc)
|
|
62
|
-
* @param {string} [blacklist] List of collections not to be included, separated by commas
|
|
63
|
-
* @param {string} [whitelist] List of collections to be included, separated by commas
|
|
64
|
-
* @param {string} [keyword] Keyword to search in collection name and description
|
|
65
|
-
* @param {*} [options] Override http request option.
|
|
66
|
-
* @throws {RequiredError}
|
|
67
|
-
*/
|
|
68
|
-
listCollections: (pageSize?: number, cursor?: string, orderBy?: "name" | "address" | "project_id" | "created_at" | "updated_at", direction?: string, blacklist?: string, whitelist?: string, keyword?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
-
/**
|
|
70
|
-
* Get details of the collections from which a set of wallets hold tokens, along with the number of tokens held in each collection.
|
|
71
|
-
* @summary Get metadata about the collections held by a set of wallets
|
|
72
|
-
* @param {string} user Comma separated list of wallet addresses
|
|
73
|
-
* @param {*} [options] Override http request option.
|
|
74
|
-
* @throws {RequiredError}
|
|
75
|
-
*/
|
|
76
|
-
summarizeCollections: (user: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
|
-
/**
|
|
78
|
-
* Update collection
|
|
79
|
-
* @summary Update collection
|
|
80
|
-
* @param {string} address Collection contract address
|
|
81
|
-
* @param {string} iMXSignature String created by signing wallet address and timestamp
|
|
82
|
-
* @param {string} iMXTimestamp Unix Epoc timestamp
|
|
83
|
-
* @param {UpdateCollectionRequest} updateCollectionRequest update a collection
|
|
84
|
-
* @param {*} [options] Override http request option.
|
|
85
|
-
* @throws {RequiredError}
|
|
86
|
-
*/
|
|
87
|
-
updateCollection: (address: string, iMXSignature: string, iMXTimestamp: string, updateCollectionRequest: UpdateCollectionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
|
-
};
|
|
89
|
-
/**
|
|
90
|
-
* CollectionsApi - functional programming interface
|
|
91
|
-
* @export
|
|
92
|
-
*/
|
|
93
|
-
export declare const CollectionsApiFp: (configuration?: Configuration) => {
|
|
94
|
-
/**
|
|
95
|
-
* Create collection
|
|
96
|
-
* @summary Create collection
|
|
97
|
-
* @param {string} iMXSignature String created by signing wallet address and timestamp. See https://docs.x.immutable.com/docs/generate-imx-signature
|
|
98
|
-
* @param {string} iMXTimestamp Unix Epoc timestamp
|
|
99
|
-
* @param {CreateCollectionRequest} createCollectionRequest create a collection
|
|
100
|
-
* @param {string} [xImmutableApiKey] Immutable secret API key generated in the Immutable Hub https://hub.immutable.com. This key is required for all projects that are created inside the Immutable Hub.
|
|
101
|
-
* @param {*} [options] Override http request option.
|
|
102
|
-
* @throws {RequiredError}
|
|
103
|
-
*/
|
|
104
|
-
createCollection(iMXSignature: string, iMXTimestamp: string, createCollectionRequest: CreateCollectionRequest, xImmutableApiKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Collection>>;
|
|
105
|
-
/**
|
|
106
|
-
* Get details of a collection at the given address
|
|
107
|
-
* @summary Get details of a collection at the given address
|
|
108
|
-
* @param {string} address Collection contract address
|
|
109
|
-
* @param {*} [options] Override http request option.
|
|
110
|
-
* @throws {RequiredError}
|
|
111
|
-
*/
|
|
112
|
-
getCollection(address: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Collection>>;
|
|
113
|
-
/**
|
|
114
|
-
* Get a list of collection filters
|
|
115
|
-
* @summary Get a list of collection filters
|
|
116
|
-
* @param {string} address Collection contract address
|
|
117
|
-
* @param {number} [pageSize] Page size of the result
|
|
118
|
-
* @param {string} [nextPageToken] Next page token
|
|
119
|
-
* @param {*} [options] Override http request option.
|
|
120
|
-
* @throws {RequiredError}
|
|
121
|
-
*/
|
|
122
|
-
listCollectionFilters(address: string, pageSize?: number, nextPageToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CollectionFilter>>>;
|
|
123
|
-
/**
|
|
124
|
-
* Get a list of collections
|
|
125
|
-
* @summary Get a list of collections
|
|
126
|
-
* @param {number} [pageSize] Page size of the result
|
|
127
|
-
* @param {string} [cursor] Cursor
|
|
128
|
-
* @param {'name' | 'address' | 'project_id' | 'created_at' | 'updated_at'} [orderBy] Property to sort by
|
|
129
|
-
* @param {string} [direction] Direction to sort (asc/desc)
|
|
130
|
-
* @param {string} [blacklist] List of collections not to be included, separated by commas
|
|
131
|
-
* @param {string} [whitelist] List of collections to be included, separated by commas
|
|
132
|
-
* @param {string} [keyword] Keyword to search in collection name and description
|
|
133
|
-
* @param {*} [options] Override http request option.
|
|
134
|
-
* @throws {RequiredError}
|
|
135
|
-
*/
|
|
136
|
-
listCollections(pageSize?: number, cursor?: string, orderBy?: "name" | "address" | "project_id" | "created_at" | "updated_at", direction?: string, blacklist?: string, whitelist?: string, keyword?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCollectionsResponse>>;
|
|
137
|
-
/**
|
|
138
|
-
* Get details of the collections from which a set of wallets hold tokens, along with the number of tokens held in each collection.
|
|
139
|
-
* @summary Get metadata about the collections held by a set of wallets
|
|
140
|
-
* @param {string} user Comma separated list of wallet addresses
|
|
141
|
-
* @param {*} [options] Override http request option.
|
|
142
|
-
* @throws {RequiredError}
|
|
143
|
-
*/
|
|
144
|
-
summarizeCollections(user: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiSummarizeCollectionsResponse>>;
|
|
145
|
-
/**
|
|
146
|
-
* Update collection
|
|
147
|
-
* @summary Update collection
|
|
148
|
-
* @param {string} address Collection contract address
|
|
149
|
-
* @param {string} iMXSignature String created by signing wallet address and timestamp
|
|
150
|
-
* @param {string} iMXTimestamp Unix Epoc timestamp
|
|
151
|
-
* @param {UpdateCollectionRequest} updateCollectionRequest update a collection
|
|
152
|
-
* @param {*} [options] Override http request option.
|
|
153
|
-
* @throws {RequiredError}
|
|
154
|
-
*/
|
|
155
|
-
updateCollection(address: string, iMXSignature: string, iMXTimestamp: string, updateCollectionRequest: UpdateCollectionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Collection>>;
|
|
156
|
-
};
|
|
157
|
-
/**
|
|
158
|
-
* CollectionsApi - factory interface
|
|
159
|
-
* @export
|
|
160
|
-
*/
|
|
161
|
-
export declare const CollectionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
162
|
-
/**
|
|
163
|
-
* Create collection
|
|
164
|
-
* @summary Create collection
|
|
165
|
-
* @param {string} iMXSignature String created by signing wallet address and timestamp. See https://docs.x.immutable.com/docs/generate-imx-signature
|
|
166
|
-
* @param {string} iMXTimestamp Unix Epoc timestamp
|
|
167
|
-
* @param {CreateCollectionRequest} createCollectionRequest create a collection
|
|
168
|
-
* @param {string} [xImmutableApiKey] Immutable secret API key generated in the Immutable Hub https://hub.immutable.com. This key is required for all projects that are created inside the Immutable Hub.
|
|
169
|
-
* @param {*} [options] Override http request option.
|
|
170
|
-
* @throws {RequiredError}
|
|
171
|
-
*/
|
|
172
|
-
createCollection(iMXSignature: string, iMXTimestamp: string, createCollectionRequest: CreateCollectionRequest, xImmutableApiKey?: string, options?: any): AxiosPromise<Collection>;
|
|
173
|
-
/**
|
|
174
|
-
* Get details of a collection at the given address
|
|
175
|
-
* @summary Get details of a collection at the given address
|
|
176
|
-
* @param {string} address Collection contract address
|
|
177
|
-
* @param {*} [options] Override http request option.
|
|
178
|
-
* @throws {RequiredError}
|
|
179
|
-
*/
|
|
180
|
-
getCollection(address: string, options?: any): AxiosPromise<Collection>;
|
|
181
|
-
/**
|
|
182
|
-
* Get a list of collection filters
|
|
183
|
-
* @summary Get a list of collection filters
|
|
184
|
-
* @param {string} address Collection contract address
|
|
185
|
-
* @param {number} [pageSize] Page size of the result
|
|
186
|
-
* @param {string} [nextPageToken] Next page token
|
|
187
|
-
* @param {*} [options] Override http request option.
|
|
188
|
-
* @throws {RequiredError}
|
|
189
|
-
*/
|
|
190
|
-
listCollectionFilters(address: string, pageSize?: number, nextPageToken?: string, options?: any): AxiosPromise<Array<CollectionFilter>>;
|
|
191
|
-
/**
|
|
192
|
-
* Get a list of collections
|
|
193
|
-
* @summary Get a list of collections
|
|
194
|
-
* @param {number} [pageSize] Page size of the result
|
|
195
|
-
* @param {string} [cursor] Cursor
|
|
196
|
-
* @param {'name' | 'address' | 'project_id' | 'created_at' | 'updated_at'} [orderBy] Property to sort by
|
|
197
|
-
* @param {string} [direction] Direction to sort (asc/desc)
|
|
198
|
-
* @param {string} [blacklist] List of collections not to be included, separated by commas
|
|
199
|
-
* @param {string} [whitelist] List of collections to be included, separated by commas
|
|
200
|
-
* @param {string} [keyword] Keyword to search in collection name and description
|
|
201
|
-
* @param {*} [options] Override http request option.
|
|
202
|
-
* @throws {RequiredError}
|
|
203
|
-
*/
|
|
204
|
-
listCollections(pageSize?: number, cursor?: string, orderBy?: "name" | "address" | "project_id" | "created_at" | "updated_at", direction?: string, blacklist?: string, whitelist?: string, keyword?: string, options?: any): AxiosPromise<ListCollectionsResponse>;
|
|
205
|
-
/**
|
|
206
|
-
* Get details of the collections from which a set of wallets hold tokens, along with the number of tokens held in each collection.
|
|
207
|
-
* @summary Get metadata about the collections held by a set of wallets
|
|
208
|
-
* @param {string} user Comma separated list of wallet addresses
|
|
209
|
-
* @param {*} [options] Override http request option.
|
|
210
|
-
* @throws {RequiredError}
|
|
211
|
-
*/
|
|
212
|
-
summarizeCollections(user: string, options?: any): AxiosPromise<ApiSummarizeCollectionsResponse>;
|
|
213
|
-
/**
|
|
214
|
-
* Update collection
|
|
215
|
-
* @summary Update collection
|
|
216
|
-
* @param {string} address Collection contract address
|
|
217
|
-
* @param {string} iMXSignature String created by signing wallet address and timestamp
|
|
218
|
-
* @param {string} iMXTimestamp Unix Epoc timestamp
|
|
219
|
-
* @param {UpdateCollectionRequest} updateCollectionRequest update a collection
|
|
220
|
-
* @param {*} [options] Override http request option.
|
|
221
|
-
* @throws {RequiredError}
|
|
222
|
-
*/
|
|
223
|
-
updateCollection(address: string, iMXSignature: string, iMXTimestamp: string, updateCollectionRequest: UpdateCollectionRequest, options?: any): AxiosPromise<Collection>;
|
|
224
|
-
};
|
|
225
|
-
/**
|
|
226
|
-
* Request parameters for createCollection operation in CollectionsApi.
|
|
227
|
-
* @export
|
|
228
|
-
* @interface CollectionsApiCreateCollectionRequest
|
|
229
|
-
*/
|
|
230
|
-
export interface CollectionsApiCreateCollectionRequest {
|
|
231
|
-
/**
|
|
232
|
-
* String created by signing wallet address and timestamp. See https://docs.x.immutable.com/docs/generate-imx-signature
|
|
233
|
-
* @type {string}
|
|
234
|
-
* @memberof CollectionsApiCreateCollection
|
|
235
|
-
*/
|
|
236
|
-
readonly iMXSignature: string;
|
|
237
|
-
/**
|
|
238
|
-
* Unix Epoc timestamp
|
|
239
|
-
* @type {string}
|
|
240
|
-
* @memberof CollectionsApiCreateCollection
|
|
241
|
-
*/
|
|
242
|
-
readonly iMXTimestamp: string;
|
|
243
|
-
/**
|
|
244
|
-
* create a collection
|
|
245
|
-
* @type {CreateCollectionRequest}
|
|
246
|
-
* @memberof CollectionsApiCreateCollection
|
|
247
|
-
*/
|
|
248
|
-
readonly createCollectionRequest: CreateCollectionRequest;
|
|
249
|
-
/**
|
|
250
|
-
* Immutable secret API key generated in the Immutable Hub https://hub.immutable.com. This key is required for all projects that are created inside the Immutable Hub.
|
|
251
|
-
* @type {string}
|
|
252
|
-
* @memberof CollectionsApiCreateCollection
|
|
253
|
-
*/
|
|
254
|
-
readonly xImmutableApiKey?: string;
|
|
255
|
-
}
|
|
256
|
-
/**
|
|
257
|
-
* Request parameters for getCollection operation in CollectionsApi.
|
|
258
|
-
* @export
|
|
259
|
-
* @interface CollectionsApiGetCollectionRequest
|
|
260
|
-
*/
|
|
261
|
-
export interface CollectionsApiGetCollectionRequest {
|
|
262
|
-
/**
|
|
263
|
-
* Collection contract address
|
|
264
|
-
* @type {string}
|
|
265
|
-
* @memberof CollectionsApiGetCollection
|
|
266
|
-
*/
|
|
267
|
-
readonly address: string;
|
|
268
|
-
}
|
|
269
|
-
/**
|
|
270
|
-
* Request parameters for listCollectionFilters operation in CollectionsApi.
|
|
271
|
-
* @export
|
|
272
|
-
* @interface CollectionsApiListCollectionFiltersRequest
|
|
273
|
-
*/
|
|
274
|
-
export interface CollectionsApiListCollectionFiltersRequest {
|
|
275
|
-
/**
|
|
276
|
-
* Collection contract address
|
|
277
|
-
* @type {string}
|
|
278
|
-
* @memberof CollectionsApiListCollectionFilters
|
|
279
|
-
*/
|
|
280
|
-
readonly address: string;
|
|
281
|
-
/**
|
|
282
|
-
* Page size of the result
|
|
283
|
-
* @type {number}
|
|
284
|
-
* @memberof CollectionsApiListCollectionFilters
|
|
285
|
-
*/
|
|
286
|
-
readonly pageSize?: number;
|
|
287
|
-
/**
|
|
288
|
-
* Next page token
|
|
289
|
-
* @type {string}
|
|
290
|
-
* @memberof CollectionsApiListCollectionFilters
|
|
291
|
-
*/
|
|
292
|
-
readonly nextPageToken?: string;
|
|
293
|
-
}
|
|
294
|
-
/**
|
|
295
|
-
* Request parameters for listCollections operation in CollectionsApi.
|
|
296
|
-
* @export
|
|
297
|
-
* @interface CollectionsApiListCollectionsRequest
|
|
298
|
-
*/
|
|
299
|
-
export interface CollectionsApiListCollectionsRequest {
|
|
300
|
-
/**
|
|
301
|
-
* Page size of the result
|
|
302
|
-
* @type {number}
|
|
303
|
-
* @memberof CollectionsApiListCollections
|
|
304
|
-
*/
|
|
305
|
-
readonly pageSize?: number;
|
|
306
|
-
/**
|
|
307
|
-
* Cursor
|
|
308
|
-
* @type {string}
|
|
309
|
-
* @memberof CollectionsApiListCollections
|
|
310
|
-
*/
|
|
311
|
-
readonly cursor?: string;
|
|
312
|
-
/**
|
|
313
|
-
* Property to sort by
|
|
314
|
-
* @type {'name' | 'address' | 'project_id' | 'created_at' | 'updated_at'}
|
|
315
|
-
* @memberof CollectionsApiListCollections
|
|
316
|
-
*/
|
|
317
|
-
readonly orderBy?: 'name' | 'address' | 'project_id' | 'created_at' | 'updated_at';
|
|
318
|
-
/**
|
|
319
|
-
* Direction to sort (asc/desc)
|
|
320
|
-
* @type {string}
|
|
321
|
-
* @memberof CollectionsApiListCollections
|
|
322
|
-
*/
|
|
323
|
-
readonly direction?: string;
|
|
324
|
-
/**
|
|
325
|
-
* List of collections not to be included, separated by commas
|
|
326
|
-
* @type {string}
|
|
327
|
-
* @memberof CollectionsApiListCollections
|
|
328
|
-
*/
|
|
329
|
-
readonly blacklist?: string;
|
|
330
|
-
/**
|
|
331
|
-
* List of collections to be included, separated by commas
|
|
332
|
-
* @type {string}
|
|
333
|
-
* @memberof CollectionsApiListCollections
|
|
334
|
-
*/
|
|
335
|
-
readonly whitelist?: string;
|
|
336
|
-
/**
|
|
337
|
-
* Keyword to search in collection name and description
|
|
338
|
-
* @type {string}
|
|
339
|
-
* @memberof CollectionsApiListCollections
|
|
340
|
-
*/
|
|
341
|
-
readonly keyword?: string;
|
|
342
|
-
}
|
|
343
|
-
/**
|
|
344
|
-
* Request parameters for summarizeCollections operation in CollectionsApi.
|
|
345
|
-
* @export
|
|
346
|
-
* @interface CollectionsApiSummarizeCollectionsRequest
|
|
347
|
-
*/
|
|
348
|
-
export interface CollectionsApiSummarizeCollectionsRequest {
|
|
349
|
-
/**
|
|
350
|
-
* Comma separated list of wallet addresses
|
|
351
|
-
* @type {string}
|
|
352
|
-
* @memberof CollectionsApiSummarizeCollections
|
|
353
|
-
*/
|
|
354
|
-
readonly user: string;
|
|
355
|
-
}
|
|
356
|
-
/**
|
|
357
|
-
* Request parameters for updateCollection operation in CollectionsApi.
|
|
358
|
-
* @export
|
|
359
|
-
* @interface CollectionsApiUpdateCollectionRequest
|
|
360
|
-
*/
|
|
361
|
-
export interface CollectionsApiUpdateCollectionRequest {
|
|
362
|
-
/**
|
|
363
|
-
* Collection contract address
|
|
364
|
-
* @type {string}
|
|
365
|
-
* @memberof CollectionsApiUpdateCollection
|
|
366
|
-
*/
|
|
367
|
-
readonly address: string;
|
|
368
|
-
/**
|
|
369
|
-
* String created by signing wallet address and timestamp
|
|
370
|
-
* @type {string}
|
|
371
|
-
* @memberof CollectionsApiUpdateCollection
|
|
372
|
-
*/
|
|
373
|
-
readonly iMXSignature: string;
|
|
374
|
-
/**
|
|
375
|
-
* Unix Epoc timestamp
|
|
376
|
-
* @type {string}
|
|
377
|
-
* @memberof CollectionsApiUpdateCollection
|
|
378
|
-
*/
|
|
379
|
-
readonly iMXTimestamp: string;
|
|
380
|
-
/**
|
|
381
|
-
* update a collection
|
|
382
|
-
* @type {UpdateCollectionRequest}
|
|
383
|
-
* @memberof CollectionsApiUpdateCollection
|
|
384
|
-
*/
|
|
385
|
-
readonly updateCollectionRequest: UpdateCollectionRequest;
|
|
386
|
-
}
|
|
387
|
-
/**
|
|
388
|
-
* CollectionsApi - object-oriented interface
|
|
389
|
-
* @export
|
|
390
|
-
* @class CollectionsApi
|
|
391
|
-
* @extends {BaseAPI}
|
|
392
|
-
*/
|
|
393
|
-
export declare class CollectionsApi extends BaseAPI {
|
|
394
|
-
/**
|
|
395
|
-
* Create collection
|
|
396
|
-
* @summary Create collection
|
|
397
|
-
* @param {CollectionsApiCreateCollectionRequest} requestParameters Request parameters.
|
|
398
|
-
* @param {*} [options] Override http request option.
|
|
399
|
-
* @throws {RequiredError}
|
|
400
|
-
* @memberof CollectionsApi
|
|
401
|
-
*/
|
|
402
|
-
createCollection(requestParameters: CollectionsApiCreateCollectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Collection, any>>;
|
|
403
|
-
/**
|
|
404
|
-
* Get details of a collection at the given address
|
|
405
|
-
* @summary Get details of a collection at the given address
|
|
406
|
-
* @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
|
|
407
|
-
* @param {*} [options] Override http request option.
|
|
408
|
-
* @throws {RequiredError}
|
|
409
|
-
* @memberof CollectionsApi
|
|
410
|
-
*/
|
|
411
|
-
getCollection(requestParameters: CollectionsApiGetCollectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Collection, any>>;
|
|
412
|
-
/**
|
|
413
|
-
* Get a list of collection filters
|
|
414
|
-
* @summary Get a list of collection filters
|
|
415
|
-
* @param {CollectionsApiListCollectionFiltersRequest} requestParameters Request parameters.
|
|
416
|
-
* @param {*} [options] Override http request option.
|
|
417
|
-
* @throws {RequiredError}
|
|
418
|
-
* @memberof CollectionsApi
|
|
419
|
-
*/
|
|
420
|
-
listCollectionFilters(requestParameters: CollectionsApiListCollectionFiltersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionFilter[], any>>;
|
|
421
|
-
/**
|
|
422
|
-
* Get a list of collections
|
|
423
|
-
* @summary Get a list of collections
|
|
424
|
-
* @param {CollectionsApiListCollectionsRequest} requestParameters Request parameters.
|
|
425
|
-
* @param {*} [options] Override http request option.
|
|
426
|
-
* @throws {RequiredError}
|
|
427
|
-
* @memberof CollectionsApi
|
|
428
|
-
*/
|
|
429
|
-
listCollections(requestParameters?: CollectionsApiListCollectionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCollectionsResponse, any>>;
|
|
430
|
-
/**
|
|
431
|
-
* Get details of the collections from which a set of wallets hold tokens, along with the number of tokens held in each collection.
|
|
432
|
-
* @summary Get metadata about the collections held by a set of wallets
|
|
433
|
-
* @param {CollectionsApiSummarizeCollectionsRequest} requestParameters Request parameters.
|
|
434
|
-
* @param {*} [options] Override http request option.
|
|
435
|
-
* @throws {RequiredError}
|
|
436
|
-
* @memberof CollectionsApi
|
|
437
|
-
*/
|
|
438
|
-
summarizeCollections(requestParameters: CollectionsApiSummarizeCollectionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiSummarizeCollectionsResponse, any>>;
|
|
439
|
-
/**
|
|
440
|
-
* Update collection
|
|
441
|
-
* @summary Update collection
|
|
442
|
-
* @param {CollectionsApiUpdateCollectionRequest} requestParameters Request parameters.
|
|
443
|
-
* @param {*} [options] Override http request option.
|
|
444
|
-
* @throws {RequiredError}
|
|
445
|
-
* @memberof CollectionsApi
|
|
446
|
-
*/
|
|
447
|
-
updateCollection(requestParameters: CollectionsApiUpdateCollectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Collection, any>>;
|
|
448
|
-
}
|