@imtbl/sdk 0.27.2-alpha → 0.27.3

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.
@@ -13,6 +13,8 @@ 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
16
18
  const BASE_PATH = "https://api.sandbox.immutable.com".replace(/\/+$/, "");
17
19
  /**
18
20
  *
@@ -40,10 +42,10 @@ class BaseAPI {
40
42
  */
41
43
  class RequiredError extends Error {
42
44
  field;
45
+ name = "RequiredError";
43
46
  constructor(field, msg) {
44
47
  super(msg);
45
48
  this.field = field;
46
- this.name = "RequiredError";
47
49
  }
48
50
  }
49
51
 
@@ -100,8 +102,6 @@ const setBearerAuthToObject = async function (object, configuration) {
100
102
  }
101
103
  };
102
104
  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 || axios.defaults.baseURL || basePath) + axiosArgs.url };
157
+ const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url };
158
158
  return axios.request(axiosRequestArgs);
159
159
  };
160
160
  };
@@ -333,22 +333,32 @@ 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 {ActivitiesApiGetActivityRequest} requestParameters Request parameters.
336
+ * @param {string} chainName The name of chain
337
+ * @param {string} activityId The id of activity
337
338
  * @param {*} [options] Override http request option.
338
339
  * @throws {RequiredError}
339
340
  */
340
- getActivity(requestParameters, options) {
341
- return localVarFp.getActivity(requestParameters.chainName, requestParameters.activityId, options).then((request) => request(axios, basePath));
341
+ getActivity(chainName, activityId, options) {
342
+ return localVarFp.getActivity(chainName, activityId, options).then((request) => request(axios, basePath));
342
343
  },
343
344
  /**
344
345
  * List all activities
345
346
  * @summary List all activities
346
- * @param {ActivitiesApiListActivitiesRequest} requestParameters Request parameters.
347
+ * @param {string} chainName The name of chain
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
347
357
  * @param {*} [options] Override http request option.
348
358
  * @throws {RequiredError}
349
359
  */
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));
360
+ listActivities(chainName, contractAddress, tokenId, accountAddress, activityType, fromIndexedAt, toIndexedAt, transactionHash, pageCursor, pageSize, options) {
361
+ return localVarFp.listActivities(chainName, contractAddress, tokenId, accountAddress, activityType, fromIndexedAt, toIndexedAt, transactionHash, pageCursor, pageSize, options).then((request) => request(axios, basePath));
352
362
  },
353
363
  };
354
364
  };
@@ -468,12 +478,13 @@ const ChainsApiFactory = function (configuration, basePath, axios) {
468
478
  /**
469
479
  * List supported chains
470
480
  * @summary List supported chains
471
- * @param {ChainsApiListChainsRequest} requestParameters Request parameters.
481
+ * @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
482
+ * @param {number} [pageSize] Maximum number of items to return
472
483
  * @param {*} [options] Override http request option.
473
484
  * @throws {RequiredError}
474
485
  */
475
- listChains(requestParameters = {}, options) {
476
- return localVarFp.listChains(requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
486
+ listChains(pageCursor, pageSize, options) {
487
+ return localVarFp.listChains(pageCursor, pageSize, options).then((request) => request(axios, basePath));
477
488
  },
478
489
  };
479
490
  };
@@ -752,42 +763,52 @@ const CollectionsApiFactory = function (configuration, basePath, axios) {
752
763
  /**
753
764
  * Get collection by contract address
754
765
  * @summary Get collection by contract address
755
- * @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
766
+ * @param {string} contractAddress The address contract
767
+ * @param {string} chainName The name of chain
756
768
  * @param {*} [options] Override http request option.
757
769
  * @throws {RequiredError}
758
770
  */
759
- getCollection(requestParameters, options) {
760
- return localVarFp.getCollection(requestParameters.contractAddress, requestParameters.chainName, options).then((request) => request(axios, basePath));
771
+ getCollection(contractAddress, chainName, options) {
772
+ return localVarFp.getCollection(contractAddress, chainName, options).then((request) => request(axios, basePath));
761
773
  },
762
774
  /**
763
775
  * List all collections
764
776
  * @summary List all collections
765
- * @param {CollectionsApiListCollectionsRequest} requestParameters Request parameters.
777
+ * @param {string} chainName The name of chain
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
766
782
  * @param {*} [options] Override http request option.
767
783
  * @throws {RequiredError}
768
784
  */
769
- listCollections(requestParameters, options) {
770
- return localVarFp.listCollections(requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
785
+ listCollections(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options) {
786
+ return localVarFp.listCollections(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
771
787
  },
772
788
  /**
773
789
  * List collections by NFT owner account address
774
790
  * @summary List collections by NFT owner
775
- * @param {CollectionsApiListCollectionsByNFTOwnerRequest} requestParameters Request parameters.
791
+ * @param {string} accountAddress Account address
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
776
795
  * @param {*} [options] Override http request option.
777
796
  * @throws {RequiredError}
778
797
  */
779
- listCollectionsByNFTOwner(requestParameters, options) {
780
- return localVarFp.listCollectionsByNFTOwner(requestParameters.accountAddress, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
798
+ listCollectionsByNFTOwner(accountAddress, chainName, pageCursor, pageSize, options) {
799
+ return localVarFp.listCollectionsByNFTOwner(accountAddress, chainName, pageCursor, pageSize, options).then((request) => request(axios, basePath));
781
800
  },
782
801
  /**
783
802
  * Refresh collection metadata
784
803
  * @summary Refresh collection metadata
785
- * @param {CollectionsApiRefreshCollectionMetadataRequest} requestParameters Request parameters.
804
+ * @param {string} contractAddress The address contract
805
+ * @param {string} chainName The name of chain
806
+ * @param {RefreshCollectionMetadataRequest} refreshCollectionMetadataRequest The request body
786
807
  * @param {*} [options] Override http request option.
787
808
  * @throws {RequiredError}
788
809
  */
789
- refreshCollectionMetadata(requestParameters, options) {
790
- return localVarFp.refreshCollectionMetadata(requestParameters.contractAddress, requestParameters.chainName, requestParameters.refreshCollectionMetadataRequest, options).then((request) => request(axios, basePath));
810
+ refreshCollectionMetadata(contractAddress, chainName, refreshCollectionMetadataRequest, options) {
811
+ return localVarFp.refreshCollectionMetadata(contractAddress, chainName, refreshCollectionMetadataRequest, options).then((request) => request(axios, basePath));
791
812
  },
792
813
  };
793
814
  };
@@ -1102,42 +1123,52 @@ const MetadataApiFactory = function (configuration, basePath, axios) {
1102
1123
  /**
1103
1124
  * Get metadata by ID
1104
1125
  * @summary Get metadata by ID
1105
- * @param {MetadataApiGetMetadataRequest} requestParameters Request parameters.
1126
+ * @param {string} chainName The name of chain
1127
+ * @param {string} contractAddress The address of metadata contract
1128
+ * @param {string} metadataId The id of the metadata
1106
1129
  * @param {*} [options] Override http request option.
1107
1130
  * @throws {RequiredError}
1108
1131
  */
1109
- getMetadata(requestParameters, options) {
1110
- return localVarFp.getMetadata(requestParameters.chainName, requestParameters.contractAddress, requestParameters.metadataId, options).then((request) => request(axios, basePath));
1132
+ getMetadata(chainName, contractAddress, metadataId, options) {
1133
+ return localVarFp.getMetadata(chainName, contractAddress, metadataId, options).then((request) => request(axios, basePath));
1111
1134
  },
1112
1135
  /**
1113
1136
  * Get a list of metadata by from the a given contract
1114
1137
  * @summary Get a list of metadata by from the a given contract
1115
- * @param {MetadataApiListMetadataRequest} requestParameters Request parameters.
1138
+ * @param {string} chainName The name of chain
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
1116
1143
  * @param {*} [options] Override http request option.
1117
1144
  * @throws {RequiredError}
1118
1145
  */
1119
- listMetadata(requestParameters, options) {
1120
- return localVarFp.listMetadata(requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1146
+ listMetadata(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options) {
1147
+ return localVarFp.listMetadata(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1121
1148
  },
1122
1149
  /**
1123
1150
  * Refresh stacked metadata
1124
1151
  * @summary Refresh stacked metadata
1125
- * @param {MetadataApiRefreshMetadataByIDRequest} requestParameters Request parameters.
1152
+ * @param {string} chainName The name of chain
1153
+ * @param {string} contractAddress Contract address
1154
+ * @param {RefreshMetadataByIDRequest} refreshMetadataByIDRequest NFT Metadata Refresh Request
1126
1155
  * @param {*} [options] Override http request option.
1127
1156
  * @throws {RequiredError}
1128
1157
  */
1129
- refreshMetadataByID(requestParameters, options) {
1130
- return localVarFp.refreshMetadataByID(requestParameters.chainName, requestParameters.contractAddress, requestParameters.refreshMetadataByIDRequest, options).then((request) => request(axios, basePath));
1158
+ refreshMetadataByID(chainName, contractAddress, refreshMetadataByIDRequest, options) {
1159
+ return localVarFp.refreshMetadataByID(chainName, contractAddress, refreshMetadataByIDRequest, options).then((request) => request(axios, basePath));
1131
1160
  },
1132
1161
  /**
1133
1162
  * Refresh NFT metadata
1134
1163
  * @summary Refresh NFT metadata
1135
- * @param {MetadataApiRefreshNFTMetadataByTokenIDRequest} requestParameters Request parameters.
1164
+ * @param {string} contractAddress The address of contract
1165
+ * @param {string} chainName The name of chain
1166
+ * @param {RefreshNFTMetadataByTokenIDRequest} refreshNFTMetadataByTokenIDRequest the request body
1136
1167
  * @param {*} [options] Override http request option.
1137
1168
  * @throws {RequiredError}
1138
1169
  */
1139
- refreshNFTMetadataByTokenID(requestParameters, options) {
1140
- return localVarFp.refreshNFTMetadataByTokenID(requestParameters.contractAddress, requestParameters.chainName, requestParameters.refreshNFTMetadataByTokenIDRequest, options).then((request) => request(axios, basePath));
1170
+ refreshNFTMetadataByTokenID(contractAddress, chainName, refreshNFTMetadataByTokenIDRequest, options) {
1171
+ return localVarFp.refreshNFTMetadataByTokenID(contractAddress, chainName, refreshNFTMetadataByTokenIDRequest, options).then((request) => request(axios, basePath));
1141
1172
  },
1142
1173
  };
1143
1174
  };
@@ -1356,22 +1387,30 @@ const NftOwnersApiFactory = function (configuration, basePath, axios) {
1356
1387
  /**
1357
1388
  * List NFT owners by token ID
1358
1389
  * @summary List NFT owners by token ID
1359
- * @param {NftOwnersApiListNFTOwnersRequest} requestParameters Request parameters.
1390
+ * @param {string} contractAddress The address of contract
1391
+ * @param {string} tokenId An &#x60;uint256&#x60; 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
1360
1395
  * @param {*} [options] Override http request option.
1361
1396
  * @throws {RequiredError}
1362
1397
  */
1363
- listNFTOwners(requestParameters, options) {
1364
- return localVarFp.listNFTOwners(requestParameters.contractAddress, requestParameters.tokenId, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1398
+ listNFTOwners(contractAddress, tokenId, chainName, pageCursor, pageSize, options) {
1399
+ return localVarFp.listNFTOwners(contractAddress, tokenId, chainName, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1365
1400
  },
1366
1401
  /**
1367
1402
  * List owners by contract address
1368
1403
  * @summary List owners by contract address
1369
- * @param {NftOwnersApiListOwnersByContractAddressRequest} requestParameters Request parameters.
1404
+ * @param {string} contractAddress The address of contract
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
1370
1409
  * @param {*} [options] Override http request option.
1371
1410
  * @throws {RequiredError}
1372
1411
  */
1373
- listOwnersByContractAddress(requestParameters, options) {
1374
- return localVarFp.listOwnersByContractAddress(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1412
+ listOwnersByContractAddress(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options) {
1413
+ return localVarFp.listOwnersByContractAddress(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1375
1414
  },
1376
1415
  };
1377
1416
  };
@@ -1734,52 +1773,68 @@ const NftsApiFactory = function (configuration, basePath, axios) {
1734
1773
  /**
1735
1774
  * Get NFT by token ID
1736
1775
  * @summary Get NFT by token ID
1737
- * @param {NftsApiGetNFTRequest} requestParameters Request parameters.
1776
+ * @param {string} contractAddress The address of NFT contract
1777
+ * @param {string} tokenId An &#x60;uint256&#x60; token id as string
1778
+ * @param {string} chainName The name of chain
1738
1779
  * @param {*} [options] Override http request option.
1739
1780
  * @throws {RequiredError}
1740
1781
  */
1741
- getNFT(requestParameters, options) {
1742
- return localVarFp.getNFT(requestParameters.contractAddress, requestParameters.tokenId, requestParameters.chainName, options).then((request) => request(axios, basePath));
1782
+ getNFT(contractAddress, tokenId, chainName, options) {
1783
+ return localVarFp.getNFT(contractAddress, tokenId, chainName, options).then((request) => request(axios, basePath));
1743
1784
  },
1744
1785
  /**
1745
1786
  * List all NFT owners on a chain
1746
1787
  * @summary List all NFT owners
1747
- * @param {NftsApiListAllNFTOwnersRequest} requestParameters Request parameters.
1788
+ * @param {string} chainName The name of chain
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
1748
1792
  * @param {*} [options] Override http request option.
1749
1793
  * @throws {RequiredError}
1750
1794
  */
1751
- listAllNFTOwners(requestParameters, options) {
1752
- return localVarFp.listAllNFTOwners(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1795
+ listAllNFTOwners(chainName, fromUpdatedAt, pageCursor, pageSize, options) {
1796
+ return localVarFp.listAllNFTOwners(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1753
1797
  },
1754
1798
  /**
1755
1799
  * List all NFTs on a chain
1756
1800
  * @summary List all NFTs
1757
- * @param {NftsApiListAllNFTsRequest} requestParameters Request parameters.
1801
+ * @param {string} chainName The name of chain
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
1758
1805
  * @param {*} [options] Override http request option.
1759
1806
  * @throws {RequiredError}
1760
1807
  */
1761
- listAllNFTs(requestParameters, options) {
1762
- return localVarFp.listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1808
+ listAllNFTs(chainName, fromUpdatedAt, pageCursor, pageSize, options) {
1809
+ return localVarFp.listAllNFTs(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1763
1810
  },
1764
1811
  /**
1765
1812
  * List NFTs by contract address
1766
1813
  * @summary List NFTs by contract address
1767
- * @param {NftsApiListNFTsRequest} requestParameters Request parameters.
1814
+ * @param {string} contractAddress Contract address
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
1768
1819
  * @param {*} [options] Override http request option.
1769
1820
  * @throws {RequiredError}
1770
1821
  */
1771
- listNFTs(requestParameters, options) {
1772
- return localVarFp.listNFTs(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1822
+ listNFTs(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options) {
1823
+ return localVarFp.listNFTs(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1773
1824
  },
1774
1825
  /**
1775
1826
  * List NFTs by account address
1776
1827
  * @summary List NFTs by account address
1777
- * @param {NftsApiListNFTsByAccountAddressRequest} requestParameters Request parameters.
1828
+ * @param {string} accountAddress Account address
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
1778
1833
  * @param {*} [options] Override http request option.
1779
1834
  * @throws {RequiredError}
1780
1835
  */
1781
- listNFTsByAccountAddress(requestParameters, options) {
1782
- return localVarFp.listNFTsByAccountAddress(requestParameters.accountAddress, requestParameters.chainName, requestParameters.contractAddress, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1836
+ listNFTsByAccountAddress(accountAddress, chainName, contractAddress, pageCursor, pageSize, options) {
1837
+ return localVarFp.listNFTsByAccountAddress(accountAddress, chainName, contractAddress, pageCursor, pageSize, options).then((request) => request(axios, basePath));
1783
1838
  },
1784
1839
  };
1785
1840
  };
@@ -2043,8 +2098,8 @@ const OrdersApiAxiosParamCreator = function (configuration) {
2043
2098
  * @param {string} [buyItemContractAddress] Buy item contract address to filter by
2044
2099
  * @param {string} [sellItemTokenId] Sell item token identifier to filter by
2045
2100
  * @param {number} [pageSize] Maximum number of orders to return per page
2046
- * @param {ListListingsSortByEnum} [sortBy] Order field to sort by
2047
- * @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
2101
+ * @param {'created_at' | 'updated_at' | 'buy_item_amount'} [sortBy] Order field to sort by
2102
+ * @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
2048
2103
  * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
2049
2104
  * @param {*} [options] Override http request option.
2050
2105
  * @throws {RequiredError}
@@ -2101,8 +2156,8 @@ const OrdersApiAxiosParamCreator = function (configuration) {
2101
2156
  * @param {string} chainName
2102
2157
  * @param {string} [accountAddress]
2103
2158
  * @param {number} [pageSize] Maximum number of trades to return per page
2104
- * @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
2105
- * @param {ListTradesSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
2159
+ * @param {'indexed_at'} [sortBy] Trade field to sort by
2160
+ * @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
2106
2161
  * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
2107
2162
  * @param {*} [options] Override http request option.
2108
2163
  * @throws {RequiredError}
@@ -2222,8 +2277,8 @@ const OrdersApiFp = function (configuration) {
2222
2277
  * @param {string} [buyItemContractAddress] Buy item contract address to filter by
2223
2278
  * @param {string} [sellItemTokenId] Sell item token identifier to filter by
2224
2279
  * @param {number} [pageSize] Maximum number of orders to return per page
2225
- * @param {ListListingsSortByEnum} [sortBy] Order field to sort by
2226
- * @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
2280
+ * @param {'created_at' | 'updated_at' | 'buy_item_amount'} [sortBy] Order field to sort by
2281
+ * @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
2227
2282
  * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
2228
2283
  * @param {*} [options] Override http request option.
2229
2284
  * @throws {RequiredError}
@@ -2238,8 +2293,8 @@ const OrdersApiFp = function (configuration) {
2238
2293
  * @param {string} chainName
2239
2294
  * @param {string} [accountAddress]
2240
2295
  * @param {number} [pageSize] Maximum number of trades to return per page
2241
- * @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
2242
- * @param {ListTradesSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
2296
+ * @param {'indexed_at'} [sortBy] Trade field to sort by
2297
+ * @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
2243
2298
  * @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
2244
2299
  * @param {*} [options] Override http request option.
2245
2300
  * @throws {RequiredError}
@@ -2260,72 +2315,90 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
2260
2315
  /**
2261
2316
  * Cancel one or more orders
2262
2317
  * @summary Cancel one or more orders
2263
- * @param {OrdersApiCancelOrdersRequest} requestParameters Request parameters.
2318
+ * @param {string} chainName
2319
+ * @param {CancelOrdersRequestBody} cancelOrdersRequestBody
2264
2320
  * @param {*} [options] Override http request option.
2265
2321
  * @throws {RequiredError}
2266
2322
  */
2267
- cancelOrders(requestParameters, options) {
2268
- return localVarFp.cancelOrders(requestParameters.chainName, requestParameters.cancelOrdersRequestBody, options).then((request) => request(axios, basePath));
2323
+ cancelOrders(chainName, cancelOrdersRequestBody, options) {
2324
+ return localVarFp.cancelOrders(chainName, cancelOrdersRequestBody, options).then((request) => request(axios, basePath));
2269
2325
  },
2270
2326
  /**
2271
2327
  * Create a listing
2272
2328
  * @summary Create a listing
2273
- * @param {OrdersApiCreateListingRequest} requestParameters Request parameters.
2329
+ * @param {string} chainName
2330
+ * @param {CreateListingRequestBody} createListingRequestBody
2274
2331
  * @param {*} [options] Override http request option.
2275
2332
  * @throws {RequiredError}
2276
2333
  */
2277
- createListing(requestParameters, options) {
2278
- return localVarFp.createListing(requestParameters.chainName, requestParameters.createListingRequestBody, options).then((request) => request(axios, basePath));
2334
+ createListing(chainName, createListingRequestBody, options) {
2335
+ return localVarFp.createListing(chainName, createListingRequestBody, options).then((request) => request(axios, basePath));
2279
2336
  },
2280
2337
  /**
2281
2338
  * Retrieve signed fulfillment data based on the list of order IDs and corresponding fees.
2282
2339
  * @summary Retrieve fulfillment data for orders
2283
- * @param {OrdersApiFulfillmentDataRequest} requestParameters Request parameters.
2340
+ * @param {string} chainName
2341
+ * @param {Array<FulfillmentDataRequest>} fulfillmentDataRequest
2284
2342
  * @param {*} [options] Override http request option.
2285
2343
  * @throws {RequiredError}
2286
2344
  */
2287
- fulfillmentData(requestParameters, options) {
2288
- return localVarFp.fulfillmentData(requestParameters.chainName, requestParameters.fulfillmentDataRequest, options).then((request) => request(axios, basePath));
2345
+ fulfillmentData(chainName, fulfillmentDataRequest, options) {
2346
+ return localVarFp.fulfillmentData(chainName, fulfillmentDataRequest, options).then((request) => request(axios, basePath));
2289
2347
  },
2290
2348
  /**
2291
2349
  * Get a single listing by ID
2292
2350
  * @summary Get a single listing by ID
2293
- * @param {OrdersApiGetListingRequest} requestParameters Request parameters.
2351
+ * @param {string} chainName
2352
+ * @param {string} listingId Global Order identifier
2294
2353
  * @param {*} [options] Override http request option.
2295
2354
  * @throws {RequiredError}
2296
2355
  */
2297
- getListing(requestParameters, options) {
2298
- return localVarFp.getListing(requestParameters.chainName, requestParameters.listingId, options).then((request) => request(axios, basePath));
2356
+ getListing(chainName, listingId, options) {
2357
+ return localVarFp.getListing(chainName, listingId, options).then((request) => request(axios, basePath));
2299
2358
  },
2300
2359
  /**
2301
2360
  * Get a single trade by ID
2302
2361
  * @summary Get a single trade by ID
2303
- * @param {OrdersApiGetTradeRequest} requestParameters Request parameters.
2362
+ * @param {string} chainName
2363
+ * @param {string} tradeId Global Trade identifier
2304
2364
  * @param {*} [options] Override http request option.
2305
2365
  * @throws {RequiredError}
2306
2366
  */
2307
- getTrade(requestParameters, options) {
2308
- return localVarFp.getTrade(requestParameters.chainName, requestParameters.tradeId, options).then((request) => request(axios, basePath));
2367
+ getTrade(chainName, tradeId, options) {
2368
+ return localVarFp.getTrade(chainName, tradeId, options).then((request) => request(axios, basePath));
2309
2369
  },
2310
2370
  /**
2311
2371
  * List all listings
2312
2372
  * @summary List all listings
2313
- * @param {OrdersApiListListingsRequest} requestParameters Request parameters.
2373
+ * @param {string} chainName
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.
2314
2382
  * @param {*} [options] Override http request option.
2315
2383
  * @throws {RequiredError}
2316
2384
  */
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));
2385
+ listListings(chainName, status, sellItemContractAddress, buyItemContractAddress, sellItemTokenId, pageSize, sortBy, sortDirection, pageCursor, options) {
2386
+ return localVarFp.listListings(chainName, status, sellItemContractAddress, buyItemContractAddress, sellItemTokenId, pageSize, sortBy, sortDirection, pageCursor, options).then((request) => request(axios, basePath));
2319
2387
  },
2320
2388
  /**
2321
2389
  * List all trades
2322
2390
  * @summary List all trades
2323
- * @param {OrdersApiListTradesRequest} requestParameters Request parameters.
2391
+ * @param {string} chainName
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.
2324
2397
  * @param {*} [options] Override http request option.
2325
2398
  * @throws {RequiredError}
2326
2399
  */
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));
2400
+ listTrades(chainName, accountAddress, pageSize, sortBy, sortDirection, pageCursor, options) {
2401
+ return localVarFp.listTrades(chainName, accountAddress, pageSize, sortBy, sortDirection, pageCursor, options).then((request) => request(axios, basePath));
2329
2402
  },
2330
2403
  };
2331
2404
  };
@@ -2414,34 +2487,6 @@ class OrdersApi extends BaseAPI {
2414
2487
  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));
2415
2488
  }
2416
2489
  }
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
- };
2445
2490
 
2446
2491
  /* tslint:disable */
2447
2492
  /* eslint-disable */
@@ -2570,22 +2615,22 @@ const PassportApiFactory = function (configuration, basePath, axios) {
2570
2615
  /**
2571
2616
  * Create a counterfactual address for a user based on their Ethereum address
2572
2617
  * @summary Create a counterfactual address
2573
- * @param {PassportApiCreateCounterfactualAddressRequest} requestParameters Request parameters.
2618
+ * @param {CreateCounterfactualAddressRequest} createCounterfactualAddressRequest
2574
2619
  * @param {*} [options] Override http request option.
2575
2620
  * @throws {RequiredError}
2576
2621
  */
2577
- createCounterfactualAddress(requestParameters, options) {
2578
- return localVarFp.createCounterfactualAddress(requestParameters.createCounterfactualAddressRequest, options).then((request) => request(axios, basePath));
2622
+ createCounterfactualAddress(createCounterfactualAddressRequest, options) {
2623
+ return localVarFp.createCounterfactualAddress(createCounterfactualAddressRequest, options).then((request) => request(axios, basePath));
2579
2624
  },
2580
2625
  /**
2581
2626
  * Get all the Ethereum linked addresses for a user based on its userId
2582
2627
  * @summary Get Ethereum linked addresses for a user
2583
- * @param {PassportApiGetLinkedAddressesRequest} requestParameters Request parameters.
2628
+ * @param {string} userId The user\&#39;s userId
2584
2629
  * @param {*} [options] Override http request option.
2585
2630
  * @throws {RequiredError}
2586
2631
  */
2587
- getLinkedAddresses(requestParameters, options) {
2588
- return localVarFp.getLinkedAddresses(requestParameters.userId, options).then((request) => request(axios, basePath));
2632
+ getLinkedAddresses(userId, options) {
2633
+ return localVarFp.getLinkedAddresses(userId, options).then((request) => request(axios, basePath));
2589
2634
  },
2590
2635
  };
2591
2636
  };
@@ -2762,22 +2807,26 @@ const TokensApiFactory = function (configuration, basePath, axios) {
2762
2807
  /**
2763
2808
  * Get single ERC20 token
2764
2809
  * @summary Get single ERC20 token
2765
- * @param {TokensApiGetERC20TokenRequest} requestParameters Request parameters.
2810
+ * @param {string} contractAddress The address of contract
2811
+ * @param {string} chainName The name of chain
2766
2812
  * @param {*} [options] Override http request option.
2767
2813
  * @throws {RequiredError}
2768
2814
  */
2769
- getERC20Token(requestParameters, options) {
2770
- return localVarFp.getERC20Token(requestParameters.contractAddress, requestParameters.chainName, options).then((request) => request(axios, basePath));
2815
+ getERC20Token(contractAddress, chainName, options) {
2816
+ return localVarFp.getERC20Token(contractAddress, chainName, options).then((request) => request(axios, basePath));
2771
2817
  },
2772
2818
  /**
2773
2819
  * List ERC20 tokens
2774
2820
  * @summary List ERC20 tokens
2775
- * @param {TokensApiListERC20TokensRequest} requestParameters Request parameters.
2821
+ * @param {string} chainName The name of chain
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
2776
2825
  * @param {*} [options] Override http request option.
2777
2826
  * @throws {RequiredError}
2778
2827
  */
2779
- listERC20Tokens(requestParameters, options) {
2780
- return localVarFp.listERC20Tokens(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
2828
+ listERC20Tokens(chainName, fromUpdatedAt, pageCursor, pageSize, options) {
2829
+ return localVarFp.listERC20Tokens(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
2781
2830
  },
2782
2831
  };
2783
2832
  };
@@ -2900,6 +2949,125 @@ class Configuration {
2900
2949
  }
2901
2950
  }
2902
2951
 
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
+
2903
3071
  /* tslint:disable */
2904
3072
  /* eslint-disable */
2905
3073
  /**
@@ -3264,6 +3432,13 @@ const TokenContractType = {
3264
3432
 
3265
3433
  var index = /*#__PURE__*/Object.freeze({
3266
3434
  __proto__: null,
3435
+ APIError400AllOfCodeEnum: APIError400AllOfCodeEnum,
3436
+ APIError401AllOfCodeEnum: APIError401AllOfCodeEnum,
3437
+ APIError403AllOfCodeEnum: APIError403AllOfCodeEnum,
3438
+ APIError404AllOfCodeEnum: APIError404AllOfCodeEnum,
3439
+ APIError429AllOfCodeEnum: APIError429AllOfCodeEnum,
3440
+ APIError500AllOfCodeEnum: APIError500AllOfCodeEnum,
3441
+ APIError501AllOfCodeEnum: APIError501AllOfCodeEnum,
3267
3442
  ActiveOrderStatusNameEnum: ActiveOrderStatusNameEnum,
3268
3443
  ActivitiesApi: ActivitiesApi,
3269
3444
  ActivitiesApiAxiosParamCreator: ActivitiesApiAxiosParamCreator,
@@ -3289,10 +3464,6 @@ var index = /*#__PURE__*/Object.freeze({
3289
3464
  FeeFeeTypeEnum: FeeFeeTypeEnum,
3290
3465
  FilledOrderStatusNameEnum: FilledOrderStatusNameEnum,
3291
3466
  InactiveOrderStatusNameEnum: InactiveOrderStatusNameEnum,
3292
- ListListingsSortByEnum: ListListingsSortByEnum$1,
3293
- ListListingsSortDirectionEnum: ListListingsSortDirectionEnum$1,
3294
- ListTradesSortByEnum: ListTradesSortByEnum$1,
3295
- ListTradesSortDirectionEnum: ListTradesSortDirectionEnum$1,
3296
3467
  MetadataApi: MetadataApi,
3297
3468
  MetadataApiAxiosParamCreator: MetadataApiAxiosParamCreator,
3298
3469
  MetadataApiFactory: MetadataApiFactory,
@@ -3326,134 +3497,6 @@ var index = /*#__PURE__*/Object.freeze({
3326
3497
  TokensApiFp: TokensApiFp
3327
3498
  });
3328
3499
 
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
-
3457
3500
  var Environment;
3458
3501
  (function (Environment) {
3459
3502
  Environment["PRODUCTION"] = "production";
@@ -3479,7 +3522,7 @@ class APIError extends Error {
3479
3522
 
3480
3523
  /* eslint-disable implicit-arrow-linebreak */
3481
3524
  const defaultHeaders = {
3482
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.2-alpha',
3525
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.3',
3483
3526
  };
3484
3527
  /**
3485
3528
  * createAPIConfiguration to create a custom Configuration
@@ -3868,4 +3911,4 @@ class BlockchainData {
3868
3911
  }
3869
3912
  }
3870
3913
 
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 };
3914
+ export { APIError, BlockchainData };