@imtbl/sdk 0.27.3 → 0.27.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blockchain_data.d.ts +990 -79
- package/dist/blockchain_data.js +261 -304
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.js +133 -304
- package/dist/checkout_widgets.js +1 -1
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +13 -13
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +272 -308
- package/dist/index.d.ts +996 -78
- package/dist/index.js +272 -308
- package/dist/passport.js +14 -14
- package/package.json +1 -1
package/dist/blockchain_data.js
CHANGED
|
@@ -13,8 +13,6 @@ import globalAxios from 'axios';
|
|
|
13
13
|
* https://openapi-generator.tech
|
|
14
14
|
* Do not edit the class manually.
|
|
15
15
|
*/
|
|
16
|
-
// Some imports not used depending on template conditions
|
|
17
|
-
// @ts-ignore
|
|
18
16
|
const BASE_PATH = "https://api.sandbox.immutable.com".replace(/\/+$/, "");
|
|
19
17
|
/**
|
|
20
18
|
*
|
|
@@ -42,10 +40,10 @@ class BaseAPI {
|
|
|
42
40
|
*/
|
|
43
41
|
class RequiredError extends Error {
|
|
44
42
|
field;
|
|
45
|
-
name = "RequiredError";
|
|
46
43
|
constructor(field, msg) {
|
|
47
44
|
super(msg);
|
|
48
45
|
this.field = field;
|
|
46
|
+
this.name = "RequiredError";
|
|
49
47
|
}
|
|
50
48
|
}
|
|
51
49
|
|
|
@@ -102,6 +100,8 @@ const setBearerAuthToObject = async function (object, configuration) {
|
|
|
102
100
|
}
|
|
103
101
|
};
|
|
104
102
|
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
103
|
+
if (parameter == null)
|
|
104
|
+
return;
|
|
105
105
|
if (typeof parameter === "object") {
|
|
106
106
|
if (Array.isArray(parameter)) {
|
|
107
107
|
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
@@ -154,7 +154,7 @@ const toPathString = function (url) {
|
|
|
154
154
|
*/
|
|
155
155
|
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
156
156
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
157
|
-
const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url };
|
|
157
|
+
const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || axios.defaults.baseURL || basePath) + axiosArgs.url };
|
|
158
158
|
return axios.request(axiosRequestArgs);
|
|
159
159
|
};
|
|
160
160
|
};
|
|
@@ -333,32 +333,22 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
333
333
|
/**
|
|
334
334
|
* Get a single activity by ID
|
|
335
335
|
* @summary Get a single activity by ID
|
|
336
|
-
* @param {
|
|
337
|
-
* @param {string} activityId The id of activity
|
|
336
|
+
* @param {ActivitiesApiGetActivityRequest} requestParameters Request parameters.
|
|
338
337
|
* @param {*} [options] Override http request option.
|
|
339
338
|
* @throws {RequiredError}
|
|
340
339
|
*/
|
|
341
|
-
getActivity(
|
|
342
|
-
return localVarFp.getActivity(chainName, activityId, options).then((request) => request(axios, basePath));
|
|
340
|
+
getActivity(requestParameters, options) {
|
|
341
|
+
return localVarFp.getActivity(requestParameters.chainName, requestParameters.activityId, options).then((request) => request(axios, basePath));
|
|
343
342
|
},
|
|
344
343
|
/**
|
|
345
344
|
* List all activities
|
|
346
345
|
* @summary List all activities
|
|
347
|
-
* @param {
|
|
348
|
-
* @param {string} [contractAddress] The contract address of NFT or ERC20 Token
|
|
349
|
-
* @param {string} [tokenId] An `uint256` token id as string
|
|
350
|
-
* @param {string} [accountAddress] The account address activity contains
|
|
351
|
-
* @param {ActivityType} [activityType] The activity type
|
|
352
|
-
* @param {string} [fromIndexedAt] From indexed at including given date
|
|
353
|
-
* @param {string} [toIndexedAt] To indexed at including given date
|
|
354
|
-
* @param {string} [transactionHash] The transaction hash of activity
|
|
355
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
356
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
346
|
+
* @param {ActivitiesApiListActivitiesRequest} requestParameters Request parameters.
|
|
357
347
|
* @param {*} [options] Override http request option.
|
|
358
348
|
* @throws {RequiredError}
|
|
359
349
|
*/
|
|
360
|
-
listActivities(
|
|
361
|
-
return localVarFp.listActivities(chainName, contractAddress, tokenId, accountAddress, activityType, fromIndexedAt, toIndexedAt, transactionHash, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
350
|
+
listActivities(requestParameters, options) {
|
|
351
|
+
return localVarFp.listActivities(requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.accountAddress, requestParameters.activityType, requestParameters.fromIndexedAt, requestParameters.toIndexedAt, requestParameters.transactionHash, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
362
352
|
},
|
|
363
353
|
};
|
|
364
354
|
};
|
|
@@ -478,13 +468,12 @@ const ChainsApiFactory = function (configuration, basePath, axios) {
|
|
|
478
468
|
/**
|
|
479
469
|
* List supported chains
|
|
480
470
|
* @summary List supported chains
|
|
481
|
-
* @param {
|
|
482
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
471
|
+
* @param {ChainsApiListChainsRequest} requestParameters Request parameters.
|
|
483
472
|
* @param {*} [options] Override http request option.
|
|
484
473
|
* @throws {RequiredError}
|
|
485
474
|
*/
|
|
486
|
-
listChains(
|
|
487
|
-
return localVarFp.listChains(pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
475
|
+
listChains(requestParameters = {}, options) {
|
|
476
|
+
return localVarFp.listChains(requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
488
477
|
},
|
|
489
478
|
};
|
|
490
479
|
};
|
|
@@ -763,52 +752,42 @@ const CollectionsApiFactory = function (configuration, basePath, axios) {
|
|
|
763
752
|
/**
|
|
764
753
|
* Get collection by contract address
|
|
765
754
|
* @summary Get collection by contract address
|
|
766
|
-
* @param {
|
|
767
|
-
* @param {string} chainName The name of chain
|
|
755
|
+
* @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
|
|
768
756
|
* @param {*} [options] Override http request option.
|
|
769
757
|
* @throws {RequiredError}
|
|
770
758
|
*/
|
|
771
|
-
getCollection(
|
|
772
|
-
return localVarFp.getCollection(contractAddress, chainName, options).then((request) => request(axios, basePath));
|
|
759
|
+
getCollection(requestParameters, options) {
|
|
760
|
+
return localVarFp.getCollection(requestParameters.contractAddress, requestParameters.chainName, options).then((request) => request(axios, basePath));
|
|
773
761
|
},
|
|
774
762
|
/**
|
|
775
763
|
* List all collections
|
|
776
764
|
* @summary List all collections
|
|
777
|
-
* @param {
|
|
778
|
-
* @param {Array<string>} [contractAddress] List of contract addresses to filter by
|
|
779
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
780
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
781
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
765
|
+
* @param {CollectionsApiListCollectionsRequest} requestParameters Request parameters.
|
|
782
766
|
* @param {*} [options] Override http request option.
|
|
783
767
|
* @throws {RequiredError}
|
|
784
768
|
*/
|
|
785
|
-
listCollections(
|
|
786
|
-
return localVarFp.listCollections(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
769
|
+
listCollections(requestParameters, options) {
|
|
770
|
+
return localVarFp.listCollections(requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
787
771
|
},
|
|
788
772
|
/**
|
|
789
773
|
* List collections by NFT owner account address
|
|
790
774
|
* @summary List collections by NFT owner
|
|
791
|
-
* @param {
|
|
792
|
-
* @param {string} chainName The name of chain
|
|
793
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
794
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
775
|
+
* @param {CollectionsApiListCollectionsByNFTOwnerRequest} requestParameters Request parameters.
|
|
795
776
|
* @param {*} [options] Override http request option.
|
|
796
777
|
* @throws {RequiredError}
|
|
797
778
|
*/
|
|
798
|
-
listCollectionsByNFTOwner(
|
|
799
|
-
return localVarFp.listCollectionsByNFTOwner(accountAddress, chainName, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
779
|
+
listCollectionsByNFTOwner(requestParameters, options) {
|
|
780
|
+
return localVarFp.listCollectionsByNFTOwner(requestParameters.accountAddress, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
800
781
|
},
|
|
801
782
|
/**
|
|
802
783
|
* Refresh collection metadata
|
|
803
784
|
* @summary Refresh collection metadata
|
|
804
|
-
* @param {
|
|
805
|
-
* @param {string} chainName The name of chain
|
|
806
|
-
* @param {RefreshCollectionMetadataRequest} refreshCollectionMetadataRequest The request body
|
|
785
|
+
* @param {CollectionsApiRefreshCollectionMetadataRequest} requestParameters Request parameters.
|
|
807
786
|
* @param {*} [options] Override http request option.
|
|
808
787
|
* @throws {RequiredError}
|
|
809
788
|
*/
|
|
810
|
-
refreshCollectionMetadata(
|
|
811
|
-
return localVarFp.refreshCollectionMetadata(contractAddress, chainName, refreshCollectionMetadataRequest, options).then((request) => request(axios, basePath));
|
|
789
|
+
refreshCollectionMetadata(requestParameters, options) {
|
|
790
|
+
return localVarFp.refreshCollectionMetadata(requestParameters.contractAddress, requestParameters.chainName, requestParameters.refreshCollectionMetadataRequest, options).then((request) => request(axios, basePath));
|
|
812
791
|
},
|
|
813
792
|
};
|
|
814
793
|
};
|
|
@@ -1123,52 +1102,42 @@ const MetadataApiFactory = function (configuration, basePath, axios) {
|
|
|
1123
1102
|
/**
|
|
1124
1103
|
* Get metadata by ID
|
|
1125
1104
|
* @summary Get metadata by ID
|
|
1126
|
-
* @param {
|
|
1127
|
-
* @param {string} contractAddress The address of metadata contract
|
|
1128
|
-
* @param {string} metadataId The id of the metadata
|
|
1105
|
+
* @param {MetadataApiGetMetadataRequest} requestParameters Request parameters.
|
|
1129
1106
|
* @param {*} [options] Override http request option.
|
|
1130
1107
|
* @throws {RequiredError}
|
|
1131
1108
|
*/
|
|
1132
|
-
getMetadata(
|
|
1133
|
-
return localVarFp.getMetadata(chainName, contractAddress, metadataId, options).then((request) => request(axios, basePath));
|
|
1109
|
+
getMetadata(requestParameters, options) {
|
|
1110
|
+
return localVarFp.getMetadata(requestParameters.chainName, requestParameters.contractAddress, requestParameters.metadataId, options).then((request) => request(axios, basePath));
|
|
1134
1111
|
},
|
|
1135
1112
|
/**
|
|
1136
1113
|
* Get a list of metadata by from the a given contract
|
|
1137
1114
|
* @summary Get a list of metadata by from the a given contract
|
|
1138
|
-
* @param {
|
|
1139
|
-
* @param {string} contractAddress The address of metadata contract
|
|
1140
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1141
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1142
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1115
|
+
* @param {MetadataApiListMetadataRequest} requestParameters Request parameters.
|
|
1143
1116
|
* @param {*} [options] Override http request option.
|
|
1144
1117
|
* @throws {RequiredError}
|
|
1145
1118
|
*/
|
|
1146
|
-
listMetadata(
|
|
1147
|
-
return localVarFp.listMetadata(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1119
|
+
listMetadata(requestParameters, options) {
|
|
1120
|
+
return localVarFp.listMetadata(requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1148
1121
|
},
|
|
1149
1122
|
/**
|
|
1150
1123
|
* Refresh stacked metadata
|
|
1151
1124
|
* @summary Refresh stacked metadata
|
|
1152
|
-
* @param {
|
|
1153
|
-
* @param {string} contractAddress Contract address
|
|
1154
|
-
* @param {RefreshMetadataByIDRequest} refreshMetadataByIDRequest NFT Metadata Refresh Request
|
|
1125
|
+
* @param {MetadataApiRefreshMetadataByIDRequest} requestParameters Request parameters.
|
|
1155
1126
|
* @param {*} [options] Override http request option.
|
|
1156
1127
|
* @throws {RequiredError}
|
|
1157
1128
|
*/
|
|
1158
|
-
refreshMetadataByID(
|
|
1159
|
-
return localVarFp.refreshMetadataByID(chainName, contractAddress, refreshMetadataByIDRequest, options).then((request) => request(axios, basePath));
|
|
1129
|
+
refreshMetadataByID(requestParameters, options) {
|
|
1130
|
+
return localVarFp.refreshMetadataByID(requestParameters.chainName, requestParameters.contractAddress, requestParameters.refreshMetadataByIDRequest, options).then((request) => request(axios, basePath));
|
|
1160
1131
|
},
|
|
1161
1132
|
/**
|
|
1162
1133
|
* Refresh NFT metadata
|
|
1163
1134
|
* @summary Refresh NFT metadata
|
|
1164
|
-
* @param {
|
|
1165
|
-
* @param {string} chainName The name of chain
|
|
1166
|
-
* @param {RefreshNFTMetadataByTokenIDRequest} refreshNFTMetadataByTokenIDRequest the request body
|
|
1135
|
+
* @param {MetadataApiRefreshNFTMetadataByTokenIDRequest} requestParameters Request parameters.
|
|
1167
1136
|
* @param {*} [options] Override http request option.
|
|
1168
1137
|
* @throws {RequiredError}
|
|
1169
1138
|
*/
|
|
1170
|
-
refreshNFTMetadataByTokenID(
|
|
1171
|
-
return localVarFp.refreshNFTMetadataByTokenID(contractAddress, chainName, refreshNFTMetadataByTokenIDRequest, options).then((request) => request(axios, basePath));
|
|
1139
|
+
refreshNFTMetadataByTokenID(requestParameters, options) {
|
|
1140
|
+
return localVarFp.refreshNFTMetadataByTokenID(requestParameters.contractAddress, requestParameters.chainName, requestParameters.refreshNFTMetadataByTokenIDRequest, options).then((request) => request(axios, basePath));
|
|
1172
1141
|
},
|
|
1173
1142
|
};
|
|
1174
1143
|
};
|
|
@@ -1387,30 +1356,22 @@ const NftOwnersApiFactory = function (configuration, basePath, axios) {
|
|
|
1387
1356
|
/**
|
|
1388
1357
|
* List NFT owners by token ID
|
|
1389
1358
|
* @summary List NFT owners by token ID
|
|
1390
|
-
* @param {
|
|
1391
|
-
* @param {string} tokenId An `uint256` token id as string
|
|
1392
|
-
* @param {string} chainName The name of chain
|
|
1393
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1394
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1359
|
+
* @param {NftOwnersApiListNFTOwnersRequest} requestParameters Request parameters.
|
|
1395
1360
|
* @param {*} [options] Override http request option.
|
|
1396
1361
|
* @throws {RequiredError}
|
|
1397
1362
|
*/
|
|
1398
|
-
listNFTOwners(
|
|
1399
|
-
return localVarFp.listNFTOwners(contractAddress, tokenId, chainName, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1363
|
+
listNFTOwners(requestParameters, options) {
|
|
1364
|
+
return localVarFp.listNFTOwners(requestParameters.contractAddress, requestParameters.tokenId, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1400
1365
|
},
|
|
1401
1366
|
/**
|
|
1402
1367
|
* List owners by contract address
|
|
1403
1368
|
* @summary List owners by contract address
|
|
1404
|
-
* @param {
|
|
1405
|
-
* @param {string} chainName The name of chain
|
|
1406
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1407
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1408
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1369
|
+
* @param {NftOwnersApiListOwnersByContractAddressRequest} requestParameters Request parameters.
|
|
1409
1370
|
* @param {*} [options] Override http request option.
|
|
1410
1371
|
* @throws {RequiredError}
|
|
1411
1372
|
*/
|
|
1412
|
-
listOwnersByContractAddress(
|
|
1413
|
-
return localVarFp.listOwnersByContractAddress(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1373
|
+
listOwnersByContractAddress(requestParameters, options) {
|
|
1374
|
+
return localVarFp.listOwnersByContractAddress(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1414
1375
|
},
|
|
1415
1376
|
};
|
|
1416
1377
|
};
|
|
@@ -1773,68 +1734,52 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
1773
1734
|
/**
|
|
1774
1735
|
* Get NFT by token ID
|
|
1775
1736
|
* @summary Get NFT by token ID
|
|
1776
|
-
* @param {
|
|
1777
|
-
* @param {string} tokenId An `uint256` token id as string
|
|
1778
|
-
* @param {string} chainName The name of chain
|
|
1737
|
+
* @param {NftsApiGetNFTRequest} requestParameters Request parameters.
|
|
1779
1738
|
* @param {*} [options] Override http request option.
|
|
1780
1739
|
* @throws {RequiredError}
|
|
1781
1740
|
*/
|
|
1782
|
-
getNFT(
|
|
1783
|
-
return localVarFp.getNFT(contractAddress, tokenId, chainName, options).then((request) => request(axios, basePath));
|
|
1741
|
+
getNFT(requestParameters, options) {
|
|
1742
|
+
return localVarFp.getNFT(requestParameters.contractAddress, requestParameters.tokenId, requestParameters.chainName, options).then((request) => request(axios, basePath));
|
|
1784
1743
|
},
|
|
1785
1744
|
/**
|
|
1786
1745
|
* List all NFT owners on a chain
|
|
1787
1746
|
* @summary List all NFT owners
|
|
1788
|
-
* @param {
|
|
1789
|
-
* @param {string} fromUpdatedAt Datetime to use as the oldest updated timestamp
|
|
1790
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1791
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1747
|
+
* @param {NftsApiListAllNFTOwnersRequest} requestParameters Request parameters.
|
|
1792
1748
|
* @param {*} [options] Override http request option.
|
|
1793
1749
|
* @throws {RequiredError}
|
|
1794
1750
|
*/
|
|
1795
|
-
listAllNFTOwners(
|
|
1796
|
-
return localVarFp.listAllNFTOwners(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1751
|
+
listAllNFTOwners(requestParameters, options) {
|
|
1752
|
+
return localVarFp.listAllNFTOwners(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1797
1753
|
},
|
|
1798
1754
|
/**
|
|
1799
1755
|
* List all NFTs on a chain
|
|
1800
1756
|
* @summary List all NFTs
|
|
1801
|
-
* @param {
|
|
1802
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1803
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1804
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1757
|
+
* @param {NftsApiListAllNFTsRequest} requestParameters Request parameters.
|
|
1805
1758
|
* @param {*} [options] Override http request option.
|
|
1806
1759
|
* @throws {RequiredError}
|
|
1807
1760
|
*/
|
|
1808
|
-
listAllNFTs(
|
|
1809
|
-
return localVarFp.listAllNFTs(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1761
|
+
listAllNFTs(requestParameters, options) {
|
|
1762
|
+
return localVarFp.listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1810
1763
|
},
|
|
1811
1764
|
/**
|
|
1812
1765
|
* List NFTs by contract address
|
|
1813
1766
|
* @summary List NFTs by contract address
|
|
1814
|
-
* @param {
|
|
1815
|
-
* @param {string} chainName The name of chain
|
|
1816
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1817
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1818
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1767
|
+
* @param {NftsApiListNFTsRequest} requestParameters Request parameters.
|
|
1819
1768
|
* @param {*} [options] Override http request option.
|
|
1820
1769
|
* @throws {RequiredError}
|
|
1821
1770
|
*/
|
|
1822
|
-
listNFTs(
|
|
1823
|
-
return localVarFp.listNFTs(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1771
|
+
listNFTs(requestParameters, options) {
|
|
1772
|
+
return localVarFp.listNFTs(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1824
1773
|
},
|
|
1825
1774
|
/**
|
|
1826
1775
|
* List NFTs by account address
|
|
1827
1776
|
* @summary List NFTs by account address
|
|
1828
|
-
* @param {
|
|
1829
|
-
* @param {string} chainName The name of chain
|
|
1830
|
-
* @param {string} [contractAddress] The address of contract
|
|
1831
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1832
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1777
|
+
* @param {NftsApiListNFTsByAccountAddressRequest} requestParameters Request parameters.
|
|
1833
1778
|
* @param {*} [options] Override http request option.
|
|
1834
1779
|
* @throws {RequiredError}
|
|
1835
1780
|
*/
|
|
1836
|
-
listNFTsByAccountAddress(
|
|
1837
|
-
return localVarFp.listNFTsByAccountAddress(accountAddress, chainName, contractAddress, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1781
|
+
listNFTsByAccountAddress(requestParameters, options) {
|
|
1782
|
+
return localVarFp.listNFTsByAccountAddress(requestParameters.accountAddress, requestParameters.chainName, requestParameters.contractAddress, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1838
1783
|
},
|
|
1839
1784
|
};
|
|
1840
1785
|
};
|
|
@@ -2098,8 +2043,8 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
2098
2043
|
* @param {string} [buyItemContractAddress] Buy item contract address to filter by
|
|
2099
2044
|
* @param {string} [sellItemTokenId] Sell item token identifier to filter by
|
|
2100
2045
|
* @param {number} [pageSize] Maximum number of orders to return per page
|
|
2101
|
-
* @param {
|
|
2102
|
-
* @param {
|
|
2046
|
+
* @param {ListListingsSortByEnum} [sortBy] Order field to sort by
|
|
2047
|
+
* @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2103
2048
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2104
2049
|
* @param {*} [options] Override http request option.
|
|
2105
2050
|
* @throws {RequiredError}
|
|
@@ -2156,8 +2101,8 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
2156
2101
|
* @param {string} chainName
|
|
2157
2102
|
* @param {string} [accountAddress]
|
|
2158
2103
|
* @param {number} [pageSize] Maximum number of trades to return per page
|
|
2159
|
-
* @param {
|
|
2160
|
-
* @param {
|
|
2104
|
+
* @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
|
|
2105
|
+
* @param {ListTradesSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2161
2106
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2162
2107
|
* @param {*} [options] Override http request option.
|
|
2163
2108
|
* @throws {RequiredError}
|
|
@@ -2277,8 +2222,8 @@ const OrdersApiFp = function (configuration) {
|
|
|
2277
2222
|
* @param {string} [buyItemContractAddress] Buy item contract address to filter by
|
|
2278
2223
|
* @param {string} [sellItemTokenId] Sell item token identifier to filter by
|
|
2279
2224
|
* @param {number} [pageSize] Maximum number of orders to return per page
|
|
2280
|
-
* @param {
|
|
2281
|
-
* @param {
|
|
2225
|
+
* @param {ListListingsSortByEnum} [sortBy] Order field to sort by
|
|
2226
|
+
* @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2282
2227
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2283
2228
|
* @param {*} [options] Override http request option.
|
|
2284
2229
|
* @throws {RequiredError}
|
|
@@ -2293,8 +2238,8 @@ const OrdersApiFp = function (configuration) {
|
|
|
2293
2238
|
* @param {string} chainName
|
|
2294
2239
|
* @param {string} [accountAddress]
|
|
2295
2240
|
* @param {number} [pageSize] Maximum number of trades to return per page
|
|
2296
|
-
* @param {
|
|
2297
|
-
* @param {
|
|
2241
|
+
* @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
|
|
2242
|
+
* @param {ListTradesSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2298
2243
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2299
2244
|
* @param {*} [options] Override http request option.
|
|
2300
2245
|
* @throws {RequiredError}
|
|
@@ -2315,90 +2260,72 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
2315
2260
|
/**
|
|
2316
2261
|
* Cancel one or more orders
|
|
2317
2262
|
* @summary Cancel one or more orders
|
|
2318
|
-
* @param {
|
|
2319
|
-
* @param {CancelOrdersRequestBody} cancelOrdersRequestBody
|
|
2263
|
+
* @param {OrdersApiCancelOrdersRequest} requestParameters Request parameters.
|
|
2320
2264
|
* @param {*} [options] Override http request option.
|
|
2321
2265
|
* @throws {RequiredError}
|
|
2322
2266
|
*/
|
|
2323
|
-
cancelOrders(
|
|
2324
|
-
return localVarFp.cancelOrders(chainName, cancelOrdersRequestBody, options).then((request) => request(axios, basePath));
|
|
2267
|
+
cancelOrders(requestParameters, options) {
|
|
2268
|
+
return localVarFp.cancelOrders(requestParameters.chainName, requestParameters.cancelOrdersRequestBody, options).then((request) => request(axios, basePath));
|
|
2325
2269
|
},
|
|
2326
2270
|
/**
|
|
2327
2271
|
* Create a listing
|
|
2328
2272
|
* @summary Create a listing
|
|
2329
|
-
* @param {
|
|
2330
|
-
* @param {CreateListingRequestBody} createListingRequestBody
|
|
2273
|
+
* @param {OrdersApiCreateListingRequest} requestParameters Request parameters.
|
|
2331
2274
|
* @param {*} [options] Override http request option.
|
|
2332
2275
|
* @throws {RequiredError}
|
|
2333
2276
|
*/
|
|
2334
|
-
createListing(
|
|
2335
|
-
return localVarFp.createListing(chainName, createListingRequestBody, options).then((request) => request(axios, basePath));
|
|
2277
|
+
createListing(requestParameters, options) {
|
|
2278
|
+
return localVarFp.createListing(requestParameters.chainName, requestParameters.createListingRequestBody, options).then((request) => request(axios, basePath));
|
|
2336
2279
|
},
|
|
2337
2280
|
/**
|
|
2338
2281
|
* Retrieve signed fulfillment data based on the list of order IDs and corresponding fees.
|
|
2339
2282
|
* @summary Retrieve fulfillment data for orders
|
|
2340
|
-
* @param {
|
|
2341
|
-
* @param {Array<FulfillmentDataRequest>} fulfillmentDataRequest
|
|
2283
|
+
* @param {OrdersApiFulfillmentDataRequest} requestParameters Request parameters.
|
|
2342
2284
|
* @param {*} [options] Override http request option.
|
|
2343
2285
|
* @throws {RequiredError}
|
|
2344
2286
|
*/
|
|
2345
|
-
fulfillmentData(
|
|
2346
|
-
return localVarFp.fulfillmentData(chainName, fulfillmentDataRequest, options).then((request) => request(axios, basePath));
|
|
2287
|
+
fulfillmentData(requestParameters, options) {
|
|
2288
|
+
return localVarFp.fulfillmentData(requestParameters.chainName, requestParameters.fulfillmentDataRequest, options).then((request) => request(axios, basePath));
|
|
2347
2289
|
},
|
|
2348
2290
|
/**
|
|
2349
2291
|
* Get a single listing by ID
|
|
2350
2292
|
* @summary Get a single listing by ID
|
|
2351
|
-
* @param {
|
|
2352
|
-
* @param {string} listingId Global Order identifier
|
|
2293
|
+
* @param {OrdersApiGetListingRequest} requestParameters Request parameters.
|
|
2353
2294
|
* @param {*} [options] Override http request option.
|
|
2354
2295
|
* @throws {RequiredError}
|
|
2355
2296
|
*/
|
|
2356
|
-
getListing(
|
|
2357
|
-
return localVarFp.getListing(chainName, listingId, options).then((request) => request(axios, basePath));
|
|
2297
|
+
getListing(requestParameters, options) {
|
|
2298
|
+
return localVarFp.getListing(requestParameters.chainName, requestParameters.listingId, options).then((request) => request(axios, basePath));
|
|
2358
2299
|
},
|
|
2359
2300
|
/**
|
|
2360
2301
|
* Get a single trade by ID
|
|
2361
2302
|
* @summary Get a single trade by ID
|
|
2362
|
-
* @param {
|
|
2363
|
-
* @param {string} tradeId Global Trade identifier
|
|
2303
|
+
* @param {OrdersApiGetTradeRequest} requestParameters Request parameters.
|
|
2364
2304
|
* @param {*} [options] Override http request option.
|
|
2365
2305
|
* @throws {RequiredError}
|
|
2366
2306
|
*/
|
|
2367
|
-
getTrade(
|
|
2368
|
-
return localVarFp.getTrade(chainName, tradeId, options).then((request) => request(axios, basePath));
|
|
2307
|
+
getTrade(requestParameters, options) {
|
|
2308
|
+
return localVarFp.getTrade(requestParameters.chainName, requestParameters.tradeId, options).then((request) => request(axios, basePath));
|
|
2369
2309
|
},
|
|
2370
2310
|
/**
|
|
2371
2311
|
* List all listings
|
|
2372
2312
|
* @summary List all listings
|
|
2373
|
-
* @param {
|
|
2374
|
-
* @param {OrderStatusName} [status] Order status to filter by
|
|
2375
|
-
* @param {string} [sellItemContractAddress] Sell item contract address to filter by
|
|
2376
|
-
* @param {string} [buyItemContractAddress] Buy item contract address to filter by
|
|
2377
|
-
* @param {string} [sellItemTokenId] Sell item token identifier to filter by
|
|
2378
|
-
* @param {number} [pageSize] Maximum number of orders to return per page
|
|
2379
|
-
* @param {'created_at' | 'updated_at' | 'buy_item_amount'} [sortBy] Order field to sort by
|
|
2380
|
-
* @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
|
|
2381
|
-
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2313
|
+
* @param {OrdersApiListListingsRequest} requestParameters Request parameters.
|
|
2382
2314
|
* @param {*} [options] Override http request option.
|
|
2383
2315
|
* @throws {RequiredError}
|
|
2384
2316
|
*/
|
|
2385
|
-
listListings(
|
|
2386
|
-
return localVarFp.listListings(chainName, status, sellItemContractAddress, buyItemContractAddress, sellItemTokenId, pageSize, sortBy, sortDirection, pageCursor, options).then((request) => request(axios, basePath));
|
|
2317
|
+
listListings(requestParameters, options) {
|
|
2318
|
+
return localVarFp.listListings(requestParameters.chainName, requestParameters.status, requestParameters.sellItemContractAddress, requestParameters.buyItemContractAddress, requestParameters.sellItemTokenId, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
|
|
2387
2319
|
},
|
|
2388
2320
|
/**
|
|
2389
2321
|
* List all trades
|
|
2390
2322
|
* @summary List all trades
|
|
2391
|
-
* @param {
|
|
2392
|
-
* @param {string} [accountAddress]
|
|
2393
|
-
* @param {number} [pageSize] Maximum number of trades to return per page
|
|
2394
|
-
* @param {'indexed_at'} [sortBy] Trade field to sort by
|
|
2395
|
-
* @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
|
|
2396
|
-
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2323
|
+
* @param {OrdersApiListTradesRequest} requestParameters Request parameters.
|
|
2397
2324
|
* @param {*} [options] Override http request option.
|
|
2398
2325
|
* @throws {RequiredError}
|
|
2399
2326
|
*/
|
|
2400
|
-
listTrades(
|
|
2401
|
-
return localVarFp.listTrades(chainName, accountAddress, pageSize, sortBy, sortDirection, pageCursor, options).then((request) => request(axios, basePath));
|
|
2327
|
+
listTrades(requestParameters, options) {
|
|
2328
|
+
return localVarFp.listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
|
|
2402
2329
|
},
|
|
2403
2330
|
};
|
|
2404
2331
|
};
|
|
@@ -2487,6 +2414,34 @@ class OrdersApi extends BaseAPI {
|
|
|
2487
2414
|
return OrdersApiFp(this.configuration).listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
|
|
2488
2415
|
}
|
|
2489
2416
|
}
|
|
2417
|
+
/**
|
|
2418
|
+
* @export
|
|
2419
|
+
*/
|
|
2420
|
+
const ListListingsSortByEnum$1 = {
|
|
2421
|
+
CreatedAt: 'created_at',
|
|
2422
|
+
UpdatedAt: 'updated_at',
|
|
2423
|
+
BuyItemAmount: 'buy_item_amount'
|
|
2424
|
+
};
|
|
2425
|
+
/**
|
|
2426
|
+
* @export
|
|
2427
|
+
*/
|
|
2428
|
+
const ListListingsSortDirectionEnum$1 = {
|
|
2429
|
+
Asc: 'asc',
|
|
2430
|
+
Desc: 'desc'
|
|
2431
|
+
};
|
|
2432
|
+
/**
|
|
2433
|
+
* @export
|
|
2434
|
+
*/
|
|
2435
|
+
const ListTradesSortByEnum$1 = {
|
|
2436
|
+
IndexedAt: 'indexed_at'
|
|
2437
|
+
};
|
|
2438
|
+
/**
|
|
2439
|
+
* @export
|
|
2440
|
+
*/
|
|
2441
|
+
const ListTradesSortDirectionEnum$1 = {
|
|
2442
|
+
Asc: 'asc',
|
|
2443
|
+
Desc: 'desc'
|
|
2444
|
+
};
|
|
2490
2445
|
|
|
2491
2446
|
/* tslint:disable */
|
|
2492
2447
|
/* eslint-disable */
|
|
@@ -2615,22 +2570,22 @@ const PassportApiFactory = function (configuration, basePath, axios) {
|
|
|
2615
2570
|
/**
|
|
2616
2571
|
* Create a counterfactual address for a user based on their Ethereum address
|
|
2617
2572
|
* @summary Create a counterfactual address
|
|
2618
|
-
* @param {
|
|
2573
|
+
* @param {PassportApiCreateCounterfactualAddressRequest} requestParameters Request parameters.
|
|
2619
2574
|
* @param {*} [options] Override http request option.
|
|
2620
2575
|
* @throws {RequiredError}
|
|
2621
2576
|
*/
|
|
2622
|
-
createCounterfactualAddress(
|
|
2623
|
-
return localVarFp.createCounterfactualAddress(createCounterfactualAddressRequest, options).then((request) => request(axios, basePath));
|
|
2577
|
+
createCounterfactualAddress(requestParameters, options) {
|
|
2578
|
+
return localVarFp.createCounterfactualAddress(requestParameters.createCounterfactualAddressRequest, options).then((request) => request(axios, basePath));
|
|
2624
2579
|
},
|
|
2625
2580
|
/**
|
|
2626
2581
|
* Get all the Ethereum linked addresses for a user based on its userId
|
|
2627
2582
|
* @summary Get Ethereum linked addresses for a user
|
|
2628
|
-
* @param {
|
|
2583
|
+
* @param {PassportApiGetLinkedAddressesRequest} requestParameters Request parameters.
|
|
2629
2584
|
* @param {*} [options] Override http request option.
|
|
2630
2585
|
* @throws {RequiredError}
|
|
2631
2586
|
*/
|
|
2632
|
-
getLinkedAddresses(
|
|
2633
|
-
return localVarFp.getLinkedAddresses(userId, options).then((request) => request(axios, basePath));
|
|
2587
|
+
getLinkedAddresses(requestParameters, options) {
|
|
2588
|
+
return localVarFp.getLinkedAddresses(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
2634
2589
|
},
|
|
2635
2590
|
};
|
|
2636
2591
|
};
|
|
@@ -2807,26 +2762,22 @@ const TokensApiFactory = function (configuration, basePath, axios) {
|
|
|
2807
2762
|
/**
|
|
2808
2763
|
* Get single ERC20 token
|
|
2809
2764
|
* @summary Get single ERC20 token
|
|
2810
|
-
* @param {
|
|
2811
|
-
* @param {string} chainName The name of chain
|
|
2765
|
+
* @param {TokensApiGetERC20TokenRequest} requestParameters Request parameters.
|
|
2812
2766
|
* @param {*} [options] Override http request option.
|
|
2813
2767
|
* @throws {RequiredError}
|
|
2814
2768
|
*/
|
|
2815
|
-
getERC20Token(
|
|
2816
|
-
return localVarFp.getERC20Token(contractAddress, chainName, options).then((request) => request(axios, basePath));
|
|
2769
|
+
getERC20Token(requestParameters, options) {
|
|
2770
|
+
return localVarFp.getERC20Token(requestParameters.contractAddress, requestParameters.chainName, options).then((request) => request(axios, basePath));
|
|
2817
2771
|
},
|
|
2818
2772
|
/**
|
|
2819
2773
|
* List ERC20 tokens
|
|
2820
2774
|
* @summary List ERC20 tokens
|
|
2821
|
-
* @param {
|
|
2822
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
2823
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2824
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
2775
|
+
* @param {TokensApiListERC20TokensRequest} requestParameters Request parameters.
|
|
2825
2776
|
* @param {*} [options] Override http request option.
|
|
2826
2777
|
* @throws {RequiredError}
|
|
2827
2778
|
*/
|
|
2828
|
-
listERC20Tokens(
|
|
2829
|
-
return localVarFp.listERC20Tokens(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
2779
|
+
listERC20Tokens(requestParameters, options) {
|
|
2780
|
+
return localVarFp.listERC20Tokens(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
2830
2781
|
},
|
|
2831
2782
|
};
|
|
2832
2783
|
};
|
|
@@ -2949,125 +2900,6 @@ class Configuration {
|
|
|
2949
2900
|
}
|
|
2950
2901
|
}
|
|
2951
2902
|
|
|
2952
|
-
/* tslint:disable */
|
|
2953
|
-
/* eslint-disable */
|
|
2954
|
-
/**
|
|
2955
|
-
* Immutable zkEVM API
|
|
2956
|
-
* Immutable Multi Rollup API
|
|
2957
|
-
*
|
|
2958
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2959
|
-
* Contact: support@immutable.com
|
|
2960
|
-
*
|
|
2961
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2962
|
-
* https://openapi-generator.tech
|
|
2963
|
-
* Do not edit the class manually.
|
|
2964
|
-
*/
|
|
2965
|
-
const APIError400AllOfCodeEnum = {
|
|
2966
|
-
ValidationError: 'VALIDATION_ERROR'
|
|
2967
|
-
};
|
|
2968
|
-
|
|
2969
|
-
/* tslint:disable */
|
|
2970
|
-
/* eslint-disable */
|
|
2971
|
-
/**
|
|
2972
|
-
* Immutable zkEVM API
|
|
2973
|
-
* Immutable Multi Rollup API
|
|
2974
|
-
*
|
|
2975
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2976
|
-
* Contact: support@immutable.com
|
|
2977
|
-
*
|
|
2978
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2979
|
-
* https://openapi-generator.tech
|
|
2980
|
-
* Do not edit the class manually.
|
|
2981
|
-
*/
|
|
2982
|
-
const APIError401AllOfCodeEnum = {
|
|
2983
|
-
UnauthorisedRequest: 'UNAUTHORISED_REQUEST'
|
|
2984
|
-
};
|
|
2985
|
-
|
|
2986
|
-
/* tslint:disable */
|
|
2987
|
-
/* eslint-disable */
|
|
2988
|
-
/**
|
|
2989
|
-
* Immutable zkEVM API
|
|
2990
|
-
* Immutable Multi Rollup API
|
|
2991
|
-
*
|
|
2992
|
-
* The version of the OpenAPI document: 1.0.0
|
|
2993
|
-
* Contact: support@immutable.com
|
|
2994
|
-
*
|
|
2995
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2996
|
-
* https://openapi-generator.tech
|
|
2997
|
-
* Do not edit the class manually.
|
|
2998
|
-
*/
|
|
2999
|
-
const APIError403AllOfCodeEnum = {
|
|
3000
|
-
AuthenticationError: 'AUTHENTICATION_ERROR'
|
|
3001
|
-
};
|
|
3002
|
-
|
|
3003
|
-
/* tslint:disable */
|
|
3004
|
-
/* eslint-disable */
|
|
3005
|
-
/**
|
|
3006
|
-
* Immutable zkEVM API
|
|
3007
|
-
* Immutable Multi Rollup API
|
|
3008
|
-
*
|
|
3009
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3010
|
-
* Contact: support@immutable.com
|
|
3011
|
-
*
|
|
3012
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3013
|
-
* https://openapi-generator.tech
|
|
3014
|
-
* Do not edit the class manually.
|
|
3015
|
-
*/
|
|
3016
|
-
const APIError404AllOfCodeEnum = {
|
|
3017
|
-
ResourceNotFound: 'RESOURCE_NOT_FOUND'
|
|
3018
|
-
};
|
|
3019
|
-
|
|
3020
|
-
/* tslint:disable */
|
|
3021
|
-
/* eslint-disable */
|
|
3022
|
-
/**
|
|
3023
|
-
* Immutable zkEVM API
|
|
3024
|
-
* Immutable Multi Rollup API
|
|
3025
|
-
*
|
|
3026
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3027
|
-
* Contact: support@immutable.com
|
|
3028
|
-
*
|
|
3029
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3030
|
-
* https://openapi-generator.tech
|
|
3031
|
-
* Do not edit the class manually.
|
|
3032
|
-
*/
|
|
3033
|
-
const APIError429AllOfCodeEnum = {
|
|
3034
|
-
TooManyRequestsError: 'TOO_MANY_REQUESTS_ERROR'
|
|
3035
|
-
};
|
|
3036
|
-
|
|
3037
|
-
/* tslint:disable */
|
|
3038
|
-
/* eslint-disable */
|
|
3039
|
-
/**
|
|
3040
|
-
* Immutable zkEVM API
|
|
3041
|
-
* Immutable Multi Rollup API
|
|
3042
|
-
*
|
|
3043
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3044
|
-
* Contact: support@immutable.com
|
|
3045
|
-
*
|
|
3046
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3047
|
-
* https://openapi-generator.tech
|
|
3048
|
-
* Do not edit the class manually.
|
|
3049
|
-
*/
|
|
3050
|
-
const APIError500AllOfCodeEnum = {
|
|
3051
|
-
InternalServerError: 'INTERNAL_SERVER_ERROR'
|
|
3052
|
-
};
|
|
3053
|
-
|
|
3054
|
-
/* tslint:disable */
|
|
3055
|
-
/* eslint-disable */
|
|
3056
|
-
/**
|
|
3057
|
-
* Immutable zkEVM API
|
|
3058
|
-
* Immutable Multi Rollup API
|
|
3059
|
-
*
|
|
3060
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3061
|
-
* Contact: support@immutable.com
|
|
3062
|
-
*
|
|
3063
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3064
|
-
* https://openapi-generator.tech
|
|
3065
|
-
* Do not edit the class manually.
|
|
3066
|
-
*/
|
|
3067
|
-
const APIError501AllOfCodeEnum = {
|
|
3068
|
-
NotImplementedError: 'NOT_IMPLEMENTED_ERROR'
|
|
3069
|
-
};
|
|
3070
|
-
|
|
3071
2903
|
/* tslint:disable */
|
|
3072
2904
|
/* eslint-disable */
|
|
3073
2905
|
/**
|
|
@@ -3432,13 +3264,6 @@ const TokenContractType = {
|
|
|
3432
3264
|
|
|
3433
3265
|
var index = /*#__PURE__*/Object.freeze({
|
|
3434
3266
|
__proto__: null,
|
|
3435
|
-
APIError400AllOfCodeEnum: APIError400AllOfCodeEnum,
|
|
3436
|
-
APIError401AllOfCodeEnum: APIError401AllOfCodeEnum,
|
|
3437
|
-
APIError403AllOfCodeEnum: APIError403AllOfCodeEnum,
|
|
3438
|
-
APIError404AllOfCodeEnum: APIError404AllOfCodeEnum,
|
|
3439
|
-
APIError429AllOfCodeEnum: APIError429AllOfCodeEnum,
|
|
3440
|
-
APIError500AllOfCodeEnum: APIError500AllOfCodeEnum,
|
|
3441
|
-
APIError501AllOfCodeEnum: APIError501AllOfCodeEnum,
|
|
3442
3267
|
ActiveOrderStatusNameEnum: ActiveOrderStatusNameEnum,
|
|
3443
3268
|
ActivitiesApi: ActivitiesApi,
|
|
3444
3269
|
ActivitiesApiAxiosParamCreator: ActivitiesApiAxiosParamCreator,
|
|
@@ -3464,6 +3289,10 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3464
3289
|
FeeFeeTypeEnum: FeeFeeTypeEnum,
|
|
3465
3290
|
FilledOrderStatusNameEnum: FilledOrderStatusNameEnum,
|
|
3466
3291
|
InactiveOrderStatusNameEnum: InactiveOrderStatusNameEnum,
|
|
3292
|
+
ListListingsSortByEnum: ListListingsSortByEnum$1,
|
|
3293
|
+
ListListingsSortDirectionEnum: ListListingsSortDirectionEnum$1,
|
|
3294
|
+
ListTradesSortByEnum: ListTradesSortByEnum$1,
|
|
3295
|
+
ListTradesSortDirectionEnum: ListTradesSortDirectionEnum$1,
|
|
3467
3296
|
MetadataApi: MetadataApi,
|
|
3468
3297
|
MetadataApiAxiosParamCreator: MetadataApiAxiosParamCreator,
|
|
3469
3298
|
MetadataApiFactory: MetadataApiFactory,
|
|
@@ -3497,6 +3326,134 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3497
3326
|
TokensApiFp: TokensApiFp
|
|
3498
3327
|
});
|
|
3499
3328
|
|
|
3329
|
+
/* tslint:disable */
|
|
3330
|
+
/* eslint-disable */
|
|
3331
|
+
/**
|
|
3332
|
+
* Immutable zkEVM API
|
|
3333
|
+
* Immutable Multi Rollup API
|
|
3334
|
+
*
|
|
3335
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3336
|
+
* Contact: support@immutable.com
|
|
3337
|
+
*
|
|
3338
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3339
|
+
* https://openapi-generator.tech
|
|
3340
|
+
* Do not edit the class manually.
|
|
3341
|
+
*/
|
|
3342
|
+
// @ts-ignore
|
|
3343
|
+
|
|
3344
|
+
var activitiesApiTypes = /*#__PURE__*/Object.freeze({
|
|
3345
|
+
__proto__: null,
|
|
3346
|
+
ActivityType: ActivityType
|
|
3347
|
+
});
|
|
3348
|
+
|
|
3349
|
+
/* tslint:disable */
|
|
3350
|
+
/* eslint-disable */
|
|
3351
|
+
/**
|
|
3352
|
+
* Immutable zkEVM API
|
|
3353
|
+
* Immutable Multi Rollup API
|
|
3354
|
+
*
|
|
3355
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3356
|
+
* Contact: support@immutable.com
|
|
3357
|
+
*
|
|
3358
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3359
|
+
* https://openapi-generator.tech
|
|
3360
|
+
* Do not edit the class manually.
|
|
3361
|
+
*/
|
|
3362
|
+
|
|
3363
|
+
var chainsApiTypes = /*#__PURE__*/Object.freeze({
|
|
3364
|
+
__proto__: null
|
|
3365
|
+
});
|
|
3366
|
+
|
|
3367
|
+
/* tslint:disable */
|
|
3368
|
+
/* eslint-disable */
|
|
3369
|
+
/**
|
|
3370
|
+
* Immutable zkEVM API
|
|
3371
|
+
* Immutable Multi Rollup API
|
|
3372
|
+
*
|
|
3373
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3374
|
+
* Contact: support@immutable.com
|
|
3375
|
+
*
|
|
3376
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3377
|
+
* https://openapi-generator.tech
|
|
3378
|
+
* Do not edit the class manually.
|
|
3379
|
+
*/
|
|
3380
|
+
|
|
3381
|
+
var collectionsApiTypes = /*#__PURE__*/Object.freeze({
|
|
3382
|
+
__proto__: null
|
|
3383
|
+
});
|
|
3384
|
+
|
|
3385
|
+
/* tslint:disable */
|
|
3386
|
+
/* eslint-disable */
|
|
3387
|
+
/**
|
|
3388
|
+
* Immutable zkEVM API
|
|
3389
|
+
* Immutable Multi Rollup API
|
|
3390
|
+
*
|
|
3391
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3392
|
+
* Contact: support@immutable.com
|
|
3393
|
+
*
|
|
3394
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3395
|
+
* https://openapi-generator.tech
|
|
3396
|
+
* Do not edit the class manually.
|
|
3397
|
+
*/
|
|
3398
|
+
|
|
3399
|
+
var metadataApiTypes = /*#__PURE__*/Object.freeze({
|
|
3400
|
+
__proto__: null
|
|
3401
|
+
});
|
|
3402
|
+
|
|
3403
|
+
/* tslint:disable */
|
|
3404
|
+
/* eslint-disable */
|
|
3405
|
+
/**
|
|
3406
|
+
* Immutable zkEVM API
|
|
3407
|
+
* Immutable Multi Rollup API
|
|
3408
|
+
*
|
|
3409
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3410
|
+
* Contact: support@immutable.com
|
|
3411
|
+
*
|
|
3412
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3413
|
+
* https://openapi-generator.tech
|
|
3414
|
+
* Do not edit the class manually.
|
|
3415
|
+
*/
|
|
3416
|
+
|
|
3417
|
+
var nftOwnersApiTypes = /*#__PURE__*/Object.freeze({
|
|
3418
|
+
__proto__: null
|
|
3419
|
+
});
|
|
3420
|
+
|
|
3421
|
+
/* tslint:disable */
|
|
3422
|
+
/* eslint-disable */
|
|
3423
|
+
/**
|
|
3424
|
+
* Immutable zkEVM API
|
|
3425
|
+
* Immutable Multi Rollup API
|
|
3426
|
+
*
|
|
3427
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3428
|
+
* Contact: support@immutable.com
|
|
3429
|
+
*
|
|
3430
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3431
|
+
* https://openapi-generator.tech
|
|
3432
|
+
* Do not edit the class manually.
|
|
3433
|
+
*/
|
|
3434
|
+
|
|
3435
|
+
var nftsApiTypes = /*#__PURE__*/Object.freeze({
|
|
3436
|
+
__proto__: null
|
|
3437
|
+
});
|
|
3438
|
+
|
|
3439
|
+
/* tslint:disable */
|
|
3440
|
+
/* eslint-disable */
|
|
3441
|
+
/**
|
|
3442
|
+
* Immutable zkEVM API
|
|
3443
|
+
* Immutable Multi Rollup API
|
|
3444
|
+
*
|
|
3445
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3446
|
+
* Contact: support@immutable.com
|
|
3447
|
+
*
|
|
3448
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3449
|
+
* https://openapi-generator.tech
|
|
3450
|
+
* Do not edit the class manually.
|
|
3451
|
+
*/
|
|
3452
|
+
|
|
3453
|
+
var tokensApiTypes = /*#__PURE__*/Object.freeze({
|
|
3454
|
+
__proto__: null
|
|
3455
|
+
});
|
|
3456
|
+
|
|
3500
3457
|
var Environment;
|
|
3501
3458
|
(function (Environment) {
|
|
3502
3459
|
Environment["PRODUCTION"] = "production";
|
|
@@ -3522,7 +3479,7 @@ class APIError extends Error {
|
|
|
3522
3479
|
|
|
3523
3480
|
/* eslint-disable implicit-arrow-linebreak */
|
|
3524
3481
|
const defaultHeaders = {
|
|
3525
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.
|
|
3482
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.4',
|
|
3526
3483
|
};
|
|
3527
3484
|
/**
|
|
3528
3485
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -3911,4 +3868,4 @@ class BlockchainData {
|
|
|
3911
3868
|
}
|
|
3912
3869
|
}
|
|
3913
3870
|
|
|
3914
|
-
export { APIError, BlockchainData };
|
|
3871
|
+
export { APIError, activitiesApiTypes as ActivitiesApi, BlockchainData, chainsApiTypes as ChainsApi, collectionsApiTypes as CollectionsApi, metadataApiTypes as MetadataApi, nftOwnersApiTypes as NFTOwnersApi, nftsApiTypes as NFTsApi, tokensApiTypes as TokensApi };
|