@imtbl/sdk 0.27.1 → 0.27.2-alpha
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.d.ts +1 -1
- package/dist/checkout_sdk.js +132 -303
- 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 +271 -307
- package/dist/index.d.ts +1157 -239
- package/dist/index.js +271 -307
- package/dist/passport.js +14 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -146,8 +146,6 @@ let Configuration$1 = class Configuration {
|
|
|
146
146
|
* https://openapi-generator.tech
|
|
147
147
|
* Do not edit the class manually.
|
|
148
148
|
*/
|
|
149
|
-
// Some imports not used depending on template conditions
|
|
150
|
-
// @ts-ignore
|
|
151
149
|
const BASE_PATH$1 = "https://api.sandbox.immutable.com".replace(/\/+$/, "");
|
|
152
150
|
/**
|
|
153
151
|
*
|
|
@@ -175,10 +173,10 @@ let BaseAPI$1 = class BaseAPI {
|
|
|
175
173
|
*/
|
|
176
174
|
let RequiredError$1 = class RequiredError extends Error {
|
|
177
175
|
field;
|
|
178
|
-
name = "RequiredError";
|
|
179
176
|
constructor(field, msg) {
|
|
180
177
|
super(msg);
|
|
181
178
|
this.field = field;
|
|
179
|
+
this.name = "RequiredError";
|
|
182
180
|
}
|
|
183
181
|
};
|
|
184
182
|
|
|
@@ -235,6 +233,8 @@ const setBearerAuthToObject$1 = async function (object, configuration) {
|
|
|
235
233
|
}
|
|
236
234
|
};
|
|
237
235
|
function setFlattenedQueryParams$1(urlSearchParams, parameter, key = "") {
|
|
236
|
+
if (parameter == null)
|
|
237
|
+
return;
|
|
238
238
|
if (typeof parameter === "object") {
|
|
239
239
|
if (Array.isArray(parameter)) {
|
|
240
240
|
parameter.forEach(item => setFlattenedQueryParams$1(urlSearchParams, item, key));
|
|
@@ -287,7 +287,7 @@ const toPathString$1 = function (url) {
|
|
|
287
287
|
*/
|
|
288
288
|
const createRequestFunction$1 = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
289
289
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
290
|
-
const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url };
|
|
290
|
+
const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || axios.defaults.baseURL || basePath) + axiosArgs.url };
|
|
291
291
|
return axios.request(axiosRequestArgs);
|
|
292
292
|
};
|
|
293
293
|
};
|
|
@@ -466,32 +466,22 @@ const ActivitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
466
466
|
/**
|
|
467
467
|
* Get a single activity by ID
|
|
468
468
|
* @summary Get a single activity by ID
|
|
469
|
-
* @param {
|
|
470
|
-
* @param {string} activityId The id of activity
|
|
469
|
+
* @param {ActivitiesApiGetActivityRequest} requestParameters Request parameters.
|
|
471
470
|
* @param {*} [options] Override http request option.
|
|
472
471
|
* @throws {RequiredError}
|
|
473
472
|
*/
|
|
474
|
-
getActivity(
|
|
475
|
-
return localVarFp.getActivity(chainName, activityId, options).then((request) => request(axios, basePath));
|
|
473
|
+
getActivity(requestParameters, options) {
|
|
474
|
+
return localVarFp.getActivity(requestParameters.chainName, requestParameters.activityId, options).then((request) => request(axios, basePath));
|
|
476
475
|
},
|
|
477
476
|
/**
|
|
478
477
|
* List all activities
|
|
479
478
|
* @summary List all activities
|
|
480
|
-
* @param {
|
|
481
|
-
* @param {string} [contractAddress] The contract address of NFT or ERC20 Token
|
|
482
|
-
* @param {string} [tokenId] An `uint256` token id as string
|
|
483
|
-
* @param {string} [accountAddress] The account address activity contains
|
|
484
|
-
* @param {ActivityType} [activityType] The activity type
|
|
485
|
-
* @param {string} [fromIndexedAt] From indexed at including given date
|
|
486
|
-
* @param {string} [toIndexedAt] To indexed at including given date
|
|
487
|
-
* @param {string} [transactionHash] The transaction hash of activity
|
|
488
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
489
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
479
|
+
* @param {ActivitiesApiListActivitiesRequest} requestParameters Request parameters.
|
|
490
480
|
* @param {*} [options] Override http request option.
|
|
491
481
|
* @throws {RequiredError}
|
|
492
482
|
*/
|
|
493
|
-
listActivities(
|
|
494
|
-
return localVarFp.listActivities(chainName, contractAddress, tokenId, accountAddress, activityType, fromIndexedAt, toIndexedAt, transactionHash, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
483
|
+
listActivities(requestParameters, options) {
|
|
484
|
+
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));
|
|
495
485
|
},
|
|
496
486
|
};
|
|
497
487
|
};
|
|
@@ -611,13 +601,12 @@ const ChainsApiFactory = function (configuration, basePath, axios) {
|
|
|
611
601
|
/**
|
|
612
602
|
* List supported chains
|
|
613
603
|
* @summary List supported chains
|
|
614
|
-
* @param {
|
|
615
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
604
|
+
* @param {ChainsApiListChainsRequest} requestParameters Request parameters.
|
|
616
605
|
* @param {*} [options] Override http request option.
|
|
617
606
|
* @throws {RequiredError}
|
|
618
607
|
*/
|
|
619
|
-
listChains(
|
|
620
|
-
return localVarFp.listChains(pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
608
|
+
listChains(requestParameters = {}, options) {
|
|
609
|
+
return localVarFp.listChains(requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
621
610
|
},
|
|
622
611
|
};
|
|
623
612
|
};
|
|
@@ -896,52 +885,42 @@ const CollectionsApiFactory = function (configuration, basePath, axios) {
|
|
|
896
885
|
/**
|
|
897
886
|
* Get collection by contract address
|
|
898
887
|
* @summary Get collection by contract address
|
|
899
|
-
* @param {
|
|
900
|
-
* @param {string} chainName The name of chain
|
|
888
|
+
* @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
|
|
901
889
|
* @param {*} [options] Override http request option.
|
|
902
890
|
* @throws {RequiredError}
|
|
903
891
|
*/
|
|
904
|
-
getCollection(
|
|
905
|
-
return localVarFp.getCollection(contractAddress, chainName, options).then((request) => request(axios, basePath));
|
|
892
|
+
getCollection(requestParameters, options) {
|
|
893
|
+
return localVarFp.getCollection(requestParameters.contractAddress, requestParameters.chainName, options).then((request) => request(axios, basePath));
|
|
906
894
|
},
|
|
907
895
|
/**
|
|
908
896
|
* List all collections
|
|
909
897
|
* @summary List all collections
|
|
910
|
-
* @param {
|
|
911
|
-
* @param {Array<string>} [contractAddress] List of contract addresses to filter by
|
|
912
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
913
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
914
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
898
|
+
* @param {CollectionsApiListCollectionsRequest} requestParameters Request parameters.
|
|
915
899
|
* @param {*} [options] Override http request option.
|
|
916
900
|
* @throws {RequiredError}
|
|
917
901
|
*/
|
|
918
|
-
listCollections(
|
|
919
|
-
return localVarFp.listCollections(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
902
|
+
listCollections(requestParameters, options) {
|
|
903
|
+
return localVarFp.listCollections(requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
920
904
|
},
|
|
921
905
|
/**
|
|
922
906
|
* List collections by NFT owner account address
|
|
923
907
|
* @summary List collections by NFT owner
|
|
924
|
-
* @param {
|
|
925
|
-
* @param {string} chainName The name of chain
|
|
926
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
927
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
908
|
+
* @param {CollectionsApiListCollectionsByNFTOwnerRequest} requestParameters Request parameters.
|
|
928
909
|
* @param {*} [options] Override http request option.
|
|
929
910
|
* @throws {RequiredError}
|
|
930
911
|
*/
|
|
931
|
-
listCollectionsByNFTOwner(
|
|
932
|
-
return localVarFp.listCollectionsByNFTOwner(accountAddress, chainName, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
912
|
+
listCollectionsByNFTOwner(requestParameters, options) {
|
|
913
|
+
return localVarFp.listCollectionsByNFTOwner(requestParameters.accountAddress, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
933
914
|
},
|
|
934
915
|
/**
|
|
935
916
|
* Refresh collection metadata
|
|
936
917
|
* @summary Refresh collection metadata
|
|
937
|
-
* @param {
|
|
938
|
-
* @param {string} chainName The name of chain
|
|
939
|
-
* @param {RefreshCollectionMetadataRequest} refreshCollectionMetadataRequest The request body
|
|
918
|
+
* @param {CollectionsApiRefreshCollectionMetadataRequest} requestParameters Request parameters.
|
|
940
919
|
* @param {*} [options] Override http request option.
|
|
941
920
|
* @throws {RequiredError}
|
|
942
921
|
*/
|
|
943
|
-
refreshCollectionMetadata(
|
|
944
|
-
return localVarFp.refreshCollectionMetadata(contractAddress, chainName, refreshCollectionMetadataRequest, options).then((request) => request(axios, basePath));
|
|
922
|
+
refreshCollectionMetadata(requestParameters, options) {
|
|
923
|
+
return localVarFp.refreshCollectionMetadata(requestParameters.contractAddress, requestParameters.chainName, requestParameters.refreshCollectionMetadataRequest, options).then((request) => request(axios, basePath));
|
|
945
924
|
},
|
|
946
925
|
};
|
|
947
926
|
};
|
|
@@ -1256,52 +1235,42 @@ const MetadataApiFactory = function (configuration, basePath, axios) {
|
|
|
1256
1235
|
/**
|
|
1257
1236
|
* Get metadata by ID
|
|
1258
1237
|
* @summary Get metadata by ID
|
|
1259
|
-
* @param {
|
|
1260
|
-
* @param {string} contractAddress The address of metadata contract
|
|
1261
|
-
* @param {string} metadataId The id of the metadata
|
|
1238
|
+
* @param {MetadataApiGetMetadataRequest} requestParameters Request parameters.
|
|
1262
1239
|
* @param {*} [options] Override http request option.
|
|
1263
1240
|
* @throws {RequiredError}
|
|
1264
1241
|
*/
|
|
1265
|
-
getMetadata(
|
|
1266
|
-
return localVarFp.getMetadata(chainName, contractAddress, metadataId, options).then((request) => request(axios, basePath));
|
|
1242
|
+
getMetadata(requestParameters, options) {
|
|
1243
|
+
return localVarFp.getMetadata(requestParameters.chainName, requestParameters.contractAddress, requestParameters.metadataId, options).then((request) => request(axios, basePath));
|
|
1267
1244
|
},
|
|
1268
1245
|
/**
|
|
1269
1246
|
* Get a list of metadata by from the a given contract
|
|
1270
1247
|
* @summary Get a list of metadata by from the a given contract
|
|
1271
|
-
* @param {
|
|
1272
|
-
* @param {string} contractAddress The address of metadata contract
|
|
1273
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1274
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1275
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1248
|
+
* @param {MetadataApiListMetadataRequest} requestParameters Request parameters.
|
|
1276
1249
|
* @param {*} [options] Override http request option.
|
|
1277
1250
|
* @throws {RequiredError}
|
|
1278
1251
|
*/
|
|
1279
|
-
listMetadata(
|
|
1280
|
-
return localVarFp.listMetadata(chainName, contractAddress, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1252
|
+
listMetadata(requestParameters, options) {
|
|
1253
|
+
return localVarFp.listMetadata(requestParameters.chainName, requestParameters.contractAddress, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1281
1254
|
},
|
|
1282
1255
|
/**
|
|
1283
1256
|
* Refresh stacked metadata
|
|
1284
1257
|
* @summary Refresh stacked metadata
|
|
1285
|
-
* @param {
|
|
1286
|
-
* @param {string} contractAddress Contract address
|
|
1287
|
-
* @param {RefreshMetadataByIDRequest} refreshMetadataByIDRequest NFT Metadata Refresh Request
|
|
1258
|
+
* @param {MetadataApiRefreshMetadataByIDRequest} requestParameters Request parameters.
|
|
1288
1259
|
* @param {*} [options] Override http request option.
|
|
1289
1260
|
* @throws {RequiredError}
|
|
1290
1261
|
*/
|
|
1291
|
-
refreshMetadataByID(
|
|
1292
|
-
return localVarFp.refreshMetadataByID(chainName, contractAddress, refreshMetadataByIDRequest, options).then((request) => request(axios, basePath));
|
|
1262
|
+
refreshMetadataByID(requestParameters, options) {
|
|
1263
|
+
return localVarFp.refreshMetadataByID(requestParameters.chainName, requestParameters.contractAddress, requestParameters.refreshMetadataByIDRequest, options).then((request) => request(axios, basePath));
|
|
1293
1264
|
},
|
|
1294
1265
|
/**
|
|
1295
1266
|
* Refresh NFT metadata
|
|
1296
1267
|
* @summary Refresh NFT metadata
|
|
1297
|
-
* @param {
|
|
1298
|
-
* @param {string} chainName The name of chain
|
|
1299
|
-
* @param {RefreshNFTMetadataByTokenIDRequest} refreshNFTMetadataByTokenIDRequest the request body
|
|
1268
|
+
* @param {MetadataApiRefreshNFTMetadataByTokenIDRequest} requestParameters Request parameters.
|
|
1300
1269
|
* @param {*} [options] Override http request option.
|
|
1301
1270
|
* @throws {RequiredError}
|
|
1302
1271
|
*/
|
|
1303
|
-
refreshNFTMetadataByTokenID(
|
|
1304
|
-
return localVarFp.refreshNFTMetadataByTokenID(contractAddress, chainName, refreshNFTMetadataByTokenIDRequest, options).then((request) => request(axios, basePath));
|
|
1272
|
+
refreshNFTMetadataByTokenID(requestParameters, options) {
|
|
1273
|
+
return localVarFp.refreshNFTMetadataByTokenID(requestParameters.contractAddress, requestParameters.chainName, requestParameters.refreshNFTMetadataByTokenIDRequest, options).then((request) => request(axios, basePath));
|
|
1305
1274
|
},
|
|
1306
1275
|
};
|
|
1307
1276
|
};
|
|
@@ -1520,30 +1489,22 @@ const NftOwnersApiFactory = function (configuration, basePath, axios) {
|
|
|
1520
1489
|
/**
|
|
1521
1490
|
* List NFT owners by token ID
|
|
1522
1491
|
* @summary List NFT owners by token ID
|
|
1523
|
-
* @param {
|
|
1524
|
-
* @param {string} tokenId An `uint256` token id as string
|
|
1525
|
-
* @param {string} chainName The name of chain
|
|
1526
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1527
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1492
|
+
* @param {NftOwnersApiListNFTOwnersRequest} requestParameters Request parameters.
|
|
1528
1493
|
* @param {*} [options] Override http request option.
|
|
1529
1494
|
* @throws {RequiredError}
|
|
1530
1495
|
*/
|
|
1531
|
-
listNFTOwners(
|
|
1532
|
-
return localVarFp.listNFTOwners(contractAddress, tokenId, chainName, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1496
|
+
listNFTOwners(requestParameters, options) {
|
|
1497
|
+
return localVarFp.listNFTOwners(requestParameters.contractAddress, requestParameters.tokenId, requestParameters.chainName, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1533
1498
|
},
|
|
1534
1499
|
/**
|
|
1535
1500
|
* List owners by contract address
|
|
1536
1501
|
* @summary List owners by contract address
|
|
1537
|
-
* @param {
|
|
1538
|
-
* @param {string} chainName The name of chain
|
|
1539
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1540
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1541
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1502
|
+
* @param {NftOwnersApiListOwnersByContractAddressRequest} requestParameters Request parameters.
|
|
1542
1503
|
* @param {*} [options] Override http request option.
|
|
1543
1504
|
* @throws {RequiredError}
|
|
1544
1505
|
*/
|
|
1545
|
-
listOwnersByContractAddress(
|
|
1546
|
-
return localVarFp.listOwnersByContractAddress(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1506
|
+
listOwnersByContractAddress(requestParameters, options) {
|
|
1507
|
+
return localVarFp.listOwnersByContractAddress(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1547
1508
|
},
|
|
1548
1509
|
};
|
|
1549
1510
|
};
|
|
@@ -1906,68 +1867,52 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
1906
1867
|
/**
|
|
1907
1868
|
* Get NFT by token ID
|
|
1908
1869
|
* @summary Get NFT by token ID
|
|
1909
|
-
* @param {
|
|
1910
|
-
* @param {string} tokenId An `uint256` token id as string
|
|
1911
|
-
* @param {string} chainName The name of chain
|
|
1870
|
+
* @param {NftsApiGetNFTRequest} requestParameters Request parameters.
|
|
1912
1871
|
* @param {*} [options] Override http request option.
|
|
1913
1872
|
* @throws {RequiredError}
|
|
1914
1873
|
*/
|
|
1915
|
-
getNFT(
|
|
1916
|
-
return localVarFp.getNFT(contractAddress, tokenId, chainName, options).then((request) => request(axios, basePath));
|
|
1874
|
+
getNFT(requestParameters, options) {
|
|
1875
|
+
return localVarFp.getNFT(requestParameters.contractAddress, requestParameters.tokenId, requestParameters.chainName, options).then((request) => request(axios, basePath));
|
|
1917
1876
|
},
|
|
1918
1877
|
/**
|
|
1919
1878
|
* List all NFT owners on a chain
|
|
1920
1879
|
* @summary List all NFT owners
|
|
1921
|
-
* @param {
|
|
1922
|
-
* @param {string} fromUpdatedAt Datetime to use as the oldest updated timestamp
|
|
1923
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1924
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1880
|
+
* @param {NftsApiListAllNFTOwnersRequest} requestParameters Request parameters.
|
|
1925
1881
|
* @param {*} [options] Override http request option.
|
|
1926
1882
|
* @throws {RequiredError}
|
|
1927
1883
|
*/
|
|
1928
|
-
listAllNFTOwners(
|
|
1929
|
-
return localVarFp.listAllNFTOwners(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1884
|
+
listAllNFTOwners(requestParameters, options) {
|
|
1885
|
+
return localVarFp.listAllNFTOwners(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1930
1886
|
},
|
|
1931
1887
|
/**
|
|
1932
1888
|
* List all NFTs on a chain
|
|
1933
1889
|
* @summary List all NFTs
|
|
1934
|
-
* @param {
|
|
1935
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1936
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1937
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1890
|
+
* @param {NftsApiListAllNFTsRequest} requestParameters Request parameters.
|
|
1938
1891
|
* @param {*} [options] Override http request option.
|
|
1939
1892
|
* @throws {RequiredError}
|
|
1940
1893
|
*/
|
|
1941
|
-
listAllNFTs(
|
|
1942
|
-
return localVarFp.listAllNFTs(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1894
|
+
listAllNFTs(requestParameters, options) {
|
|
1895
|
+
return localVarFp.listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1943
1896
|
},
|
|
1944
1897
|
/**
|
|
1945
1898
|
* List NFTs by contract address
|
|
1946
1899
|
* @summary List NFTs by contract address
|
|
1947
|
-
* @param {
|
|
1948
|
-
* @param {string} chainName The name of chain
|
|
1949
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
1950
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1951
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1900
|
+
* @param {NftsApiListNFTsRequest} requestParameters Request parameters.
|
|
1952
1901
|
* @param {*} [options] Override http request option.
|
|
1953
1902
|
* @throws {RequiredError}
|
|
1954
1903
|
*/
|
|
1955
|
-
listNFTs(
|
|
1956
|
-
return localVarFp.listNFTs(contractAddress, chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1904
|
+
listNFTs(requestParameters, options) {
|
|
1905
|
+
return localVarFp.listNFTs(requestParameters.contractAddress, requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1957
1906
|
},
|
|
1958
1907
|
/**
|
|
1959
1908
|
* List NFTs by account address
|
|
1960
1909
|
* @summary List NFTs by account address
|
|
1961
|
-
* @param {
|
|
1962
|
-
* @param {string} chainName The name of chain
|
|
1963
|
-
* @param {string} [contractAddress] The address of contract
|
|
1964
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
1965
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
1910
|
+
* @param {NftsApiListNFTsByAccountAddressRequest} requestParameters Request parameters.
|
|
1966
1911
|
* @param {*} [options] Override http request option.
|
|
1967
1912
|
* @throws {RequiredError}
|
|
1968
1913
|
*/
|
|
1969
|
-
listNFTsByAccountAddress(
|
|
1970
|
-
return localVarFp.listNFTsByAccountAddress(accountAddress, chainName, contractAddress, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
1914
|
+
listNFTsByAccountAddress(requestParameters, options) {
|
|
1915
|
+
return localVarFp.listNFTsByAccountAddress(requestParameters.accountAddress, requestParameters.chainName, requestParameters.contractAddress, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1971
1916
|
},
|
|
1972
1917
|
};
|
|
1973
1918
|
};
|
|
@@ -2231,8 +2176,8 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
2231
2176
|
* @param {string} [buyItemContractAddress] Buy item contract address to filter by
|
|
2232
2177
|
* @param {string} [sellItemTokenId] Sell item token identifier to filter by
|
|
2233
2178
|
* @param {number} [pageSize] Maximum number of orders to return per page
|
|
2234
|
-
* @param {
|
|
2235
|
-
* @param {
|
|
2179
|
+
* @param {ListListingsSortByEnum} [sortBy] Order field to sort by
|
|
2180
|
+
* @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2236
2181
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2237
2182
|
* @param {*} [options] Override http request option.
|
|
2238
2183
|
* @throws {RequiredError}
|
|
@@ -2289,8 +2234,8 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
2289
2234
|
* @param {string} chainName
|
|
2290
2235
|
* @param {string} [accountAddress]
|
|
2291
2236
|
* @param {number} [pageSize] Maximum number of trades to return per page
|
|
2292
|
-
* @param {
|
|
2293
|
-
* @param {
|
|
2237
|
+
* @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
|
|
2238
|
+
* @param {ListTradesSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2294
2239
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2295
2240
|
* @param {*} [options] Override http request option.
|
|
2296
2241
|
* @throws {RequiredError}
|
|
@@ -2410,8 +2355,8 @@ const OrdersApiFp = function (configuration) {
|
|
|
2410
2355
|
* @param {string} [buyItemContractAddress] Buy item contract address to filter by
|
|
2411
2356
|
* @param {string} [sellItemTokenId] Sell item token identifier to filter by
|
|
2412
2357
|
* @param {number} [pageSize] Maximum number of orders to return per page
|
|
2413
|
-
* @param {
|
|
2414
|
-
* @param {
|
|
2358
|
+
* @param {ListListingsSortByEnum} [sortBy] Order field to sort by
|
|
2359
|
+
* @param {ListListingsSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2415
2360
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2416
2361
|
* @param {*} [options] Override http request option.
|
|
2417
2362
|
* @throws {RequiredError}
|
|
@@ -2426,8 +2371,8 @@ const OrdersApiFp = function (configuration) {
|
|
|
2426
2371
|
* @param {string} chainName
|
|
2427
2372
|
* @param {string} [accountAddress]
|
|
2428
2373
|
* @param {number} [pageSize] Maximum number of trades to return per page
|
|
2429
|
-
* @param {
|
|
2430
|
-
* @param {
|
|
2374
|
+
* @param {ListTradesSortByEnum} [sortBy] Trade field to sort by
|
|
2375
|
+
* @param {ListTradesSortDirectionEnum} [sortDirection] Ascending or descending direction for sort
|
|
2431
2376
|
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2432
2377
|
* @param {*} [options] Override http request option.
|
|
2433
2378
|
* @throws {RequiredError}
|
|
@@ -2448,90 +2393,72 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
2448
2393
|
/**
|
|
2449
2394
|
* Cancel one or more orders
|
|
2450
2395
|
* @summary Cancel one or more orders
|
|
2451
|
-
* @param {
|
|
2452
|
-
* @param {CancelOrdersRequestBody} cancelOrdersRequestBody
|
|
2396
|
+
* @param {OrdersApiCancelOrdersRequest} requestParameters Request parameters.
|
|
2453
2397
|
* @param {*} [options] Override http request option.
|
|
2454
2398
|
* @throws {RequiredError}
|
|
2455
2399
|
*/
|
|
2456
|
-
cancelOrders(
|
|
2457
|
-
return localVarFp.cancelOrders(chainName, cancelOrdersRequestBody, options).then((request) => request(axios, basePath));
|
|
2400
|
+
cancelOrders(requestParameters, options) {
|
|
2401
|
+
return localVarFp.cancelOrders(requestParameters.chainName, requestParameters.cancelOrdersRequestBody, options).then((request) => request(axios, basePath));
|
|
2458
2402
|
},
|
|
2459
2403
|
/**
|
|
2460
2404
|
* Create a listing
|
|
2461
2405
|
* @summary Create a listing
|
|
2462
|
-
* @param {
|
|
2463
|
-
* @param {CreateListingRequestBody} createListingRequestBody
|
|
2406
|
+
* @param {OrdersApiCreateListingRequest} requestParameters Request parameters.
|
|
2464
2407
|
* @param {*} [options] Override http request option.
|
|
2465
2408
|
* @throws {RequiredError}
|
|
2466
2409
|
*/
|
|
2467
|
-
createListing(
|
|
2468
|
-
return localVarFp.createListing(chainName, createListingRequestBody, options).then((request) => request(axios, basePath));
|
|
2410
|
+
createListing(requestParameters, options) {
|
|
2411
|
+
return localVarFp.createListing(requestParameters.chainName, requestParameters.createListingRequestBody, options).then((request) => request(axios, basePath));
|
|
2469
2412
|
},
|
|
2470
2413
|
/**
|
|
2471
2414
|
* Retrieve signed fulfillment data based on the list of order IDs and corresponding fees.
|
|
2472
2415
|
* @summary Retrieve fulfillment data for orders
|
|
2473
|
-
* @param {
|
|
2474
|
-
* @param {Array<FulfillmentDataRequest>} fulfillmentDataRequest
|
|
2416
|
+
* @param {OrdersApiFulfillmentDataRequest} requestParameters Request parameters.
|
|
2475
2417
|
* @param {*} [options] Override http request option.
|
|
2476
2418
|
* @throws {RequiredError}
|
|
2477
2419
|
*/
|
|
2478
|
-
fulfillmentData(
|
|
2479
|
-
return localVarFp.fulfillmentData(chainName, fulfillmentDataRequest, options).then((request) => request(axios, basePath));
|
|
2420
|
+
fulfillmentData(requestParameters, options) {
|
|
2421
|
+
return localVarFp.fulfillmentData(requestParameters.chainName, requestParameters.fulfillmentDataRequest, options).then((request) => request(axios, basePath));
|
|
2480
2422
|
},
|
|
2481
2423
|
/**
|
|
2482
2424
|
* Get a single listing by ID
|
|
2483
2425
|
* @summary Get a single listing by ID
|
|
2484
|
-
* @param {
|
|
2485
|
-
* @param {string} listingId Global Order identifier
|
|
2426
|
+
* @param {OrdersApiGetListingRequest} requestParameters Request parameters.
|
|
2486
2427
|
* @param {*} [options] Override http request option.
|
|
2487
2428
|
* @throws {RequiredError}
|
|
2488
2429
|
*/
|
|
2489
|
-
getListing(
|
|
2490
|
-
return localVarFp.getListing(chainName, listingId, options).then((request) => request(axios, basePath));
|
|
2430
|
+
getListing(requestParameters, options) {
|
|
2431
|
+
return localVarFp.getListing(requestParameters.chainName, requestParameters.listingId, options).then((request) => request(axios, basePath));
|
|
2491
2432
|
},
|
|
2492
2433
|
/**
|
|
2493
2434
|
* Get a single trade by ID
|
|
2494
2435
|
* @summary Get a single trade by ID
|
|
2495
|
-
* @param {
|
|
2496
|
-
* @param {string} tradeId Global Trade identifier
|
|
2436
|
+
* @param {OrdersApiGetTradeRequest} requestParameters Request parameters.
|
|
2497
2437
|
* @param {*} [options] Override http request option.
|
|
2498
2438
|
* @throws {RequiredError}
|
|
2499
2439
|
*/
|
|
2500
|
-
getTrade(
|
|
2501
|
-
return localVarFp.getTrade(chainName, tradeId, options).then((request) => request(axios, basePath));
|
|
2440
|
+
getTrade(requestParameters, options) {
|
|
2441
|
+
return localVarFp.getTrade(requestParameters.chainName, requestParameters.tradeId, options).then((request) => request(axios, basePath));
|
|
2502
2442
|
},
|
|
2503
2443
|
/**
|
|
2504
2444
|
* List all listings
|
|
2505
2445
|
* @summary List all listings
|
|
2506
|
-
* @param {
|
|
2507
|
-
* @param {OrderStatusName} [status] Order status to filter by
|
|
2508
|
-
* @param {string} [sellItemContractAddress] Sell item contract address to filter by
|
|
2509
|
-
* @param {string} [buyItemContractAddress] Buy item contract address to filter by
|
|
2510
|
-
* @param {string} [sellItemTokenId] Sell item token identifier to filter by
|
|
2511
|
-
* @param {number} [pageSize] Maximum number of orders to return per page
|
|
2512
|
-
* @param {'created_at' | 'updated_at' | 'buy_item_amount'} [sortBy] Order field to sort by
|
|
2513
|
-
* @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
|
|
2514
|
-
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2446
|
+
* @param {OrdersApiListListingsRequest} requestParameters Request parameters.
|
|
2515
2447
|
* @param {*} [options] Override http request option.
|
|
2516
2448
|
* @throws {RequiredError}
|
|
2517
2449
|
*/
|
|
2518
|
-
listListings(
|
|
2519
|
-
return localVarFp.listListings(chainName, status, sellItemContractAddress, buyItemContractAddress, sellItemTokenId, pageSize, sortBy, sortDirection, pageCursor, options).then((request) => request(axios, basePath));
|
|
2450
|
+
listListings(requestParameters, options) {
|
|
2451
|
+
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));
|
|
2520
2452
|
},
|
|
2521
2453
|
/**
|
|
2522
2454
|
* List all trades
|
|
2523
2455
|
* @summary List all trades
|
|
2524
|
-
* @param {
|
|
2525
|
-
* @param {string} [accountAddress]
|
|
2526
|
-
* @param {number} [pageSize] Maximum number of trades to return per page
|
|
2527
|
-
* @param {'indexed_at'} [sortBy] Trade field to sort by
|
|
2528
|
-
* @param {'asc' | 'desc'} [sortDirection] Ascending or descending direction for sort
|
|
2529
|
-
* @param {string} [pageCursor] Page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2456
|
+
* @param {OrdersApiListTradesRequest} requestParameters Request parameters.
|
|
2530
2457
|
* @param {*} [options] Override http request option.
|
|
2531
2458
|
* @throws {RequiredError}
|
|
2532
2459
|
*/
|
|
2533
|
-
listTrades(
|
|
2534
|
-
return localVarFp.listTrades(chainName, accountAddress, pageSize, sortBy, sortDirection, pageCursor, options).then((request) => request(axios, basePath));
|
|
2460
|
+
listTrades(requestParameters, options) {
|
|
2461
|
+
return localVarFp.listTrades(requestParameters.chainName, requestParameters.accountAddress, requestParameters.pageSize, requestParameters.sortBy, requestParameters.sortDirection, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
|
|
2535
2462
|
},
|
|
2536
2463
|
};
|
|
2537
2464
|
};
|
|
@@ -2620,6 +2547,34 @@ class OrdersApi extends BaseAPI$1 {
|
|
|
2620
2547
|
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));
|
|
2621
2548
|
}
|
|
2622
2549
|
}
|
|
2550
|
+
/**
|
|
2551
|
+
* @export
|
|
2552
|
+
*/
|
|
2553
|
+
const ListListingsSortByEnum$1 = {
|
|
2554
|
+
CreatedAt: 'created_at',
|
|
2555
|
+
UpdatedAt: 'updated_at',
|
|
2556
|
+
BuyItemAmount: 'buy_item_amount'
|
|
2557
|
+
};
|
|
2558
|
+
/**
|
|
2559
|
+
* @export
|
|
2560
|
+
*/
|
|
2561
|
+
const ListListingsSortDirectionEnum$1 = {
|
|
2562
|
+
Asc: 'asc',
|
|
2563
|
+
Desc: 'desc'
|
|
2564
|
+
};
|
|
2565
|
+
/**
|
|
2566
|
+
* @export
|
|
2567
|
+
*/
|
|
2568
|
+
const ListTradesSortByEnum$1 = {
|
|
2569
|
+
IndexedAt: 'indexed_at'
|
|
2570
|
+
};
|
|
2571
|
+
/**
|
|
2572
|
+
* @export
|
|
2573
|
+
*/
|
|
2574
|
+
const ListTradesSortDirectionEnum$1 = {
|
|
2575
|
+
Asc: 'asc',
|
|
2576
|
+
Desc: 'desc'
|
|
2577
|
+
};
|
|
2623
2578
|
|
|
2624
2579
|
/* tslint:disable */
|
|
2625
2580
|
/* eslint-disable */
|
|
@@ -2748,22 +2703,22 @@ const PassportApiFactory = function (configuration, basePath, axios) {
|
|
|
2748
2703
|
/**
|
|
2749
2704
|
* Create a counterfactual address for a user based on their Ethereum address
|
|
2750
2705
|
* @summary Create a counterfactual address
|
|
2751
|
-
* @param {
|
|
2706
|
+
* @param {PassportApiCreateCounterfactualAddressRequest} requestParameters Request parameters.
|
|
2752
2707
|
* @param {*} [options] Override http request option.
|
|
2753
2708
|
* @throws {RequiredError}
|
|
2754
2709
|
*/
|
|
2755
|
-
createCounterfactualAddress(
|
|
2756
|
-
return localVarFp.createCounterfactualAddress(createCounterfactualAddressRequest, options).then((request) => request(axios, basePath));
|
|
2710
|
+
createCounterfactualAddress(requestParameters, options) {
|
|
2711
|
+
return localVarFp.createCounterfactualAddress(requestParameters.createCounterfactualAddressRequest, options).then((request) => request(axios, basePath));
|
|
2757
2712
|
},
|
|
2758
2713
|
/**
|
|
2759
2714
|
* Get all the Ethereum linked addresses for a user based on its userId
|
|
2760
2715
|
* @summary Get Ethereum linked addresses for a user
|
|
2761
|
-
* @param {
|
|
2716
|
+
* @param {PassportApiGetLinkedAddressesRequest} requestParameters Request parameters.
|
|
2762
2717
|
* @param {*} [options] Override http request option.
|
|
2763
2718
|
* @throws {RequiredError}
|
|
2764
2719
|
*/
|
|
2765
|
-
getLinkedAddresses(
|
|
2766
|
-
return localVarFp.getLinkedAddresses(userId, options).then((request) => request(axios, basePath));
|
|
2720
|
+
getLinkedAddresses(requestParameters, options) {
|
|
2721
|
+
return localVarFp.getLinkedAddresses(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
2767
2722
|
},
|
|
2768
2723
|
};
|
|
2769
2724
|
};
|
|
@@ -2940,26 +2895,22 @@ const TokensApiFactory = function (configuration, basePath, axios) {
|
|
|
2940
2895
|
/**
|
|
2941
2896
|
* Get single ERC20 token
|
|
2942
2897
|
* @summary Get single ERC20 token
|
|
2943
|
-
* @param {
|
|
2944
|
-
* @param {string} chainName The name of chain
|
|
2898
|
+
* @param {TokensApiGetERC20TokenRequest} requestParameters Request parameters.
|
|
2945
2899
|
* @param {*} [options] Override http request option.
|
|
2946
2900
|
* @throws {RequiredError}
|
|
2947
2901
|
*/
|
|
2948
|
-
getERC20Token(
|
|
2949
|
-
return localVarFp.getERC20Token(contractAddress, chainName, options).then((request) => request(axios, basePath));
|
|
2902
|
+
getERC20Token(requestParameters, options) {
|
|
2903
|
+
return localVarFp.getERC20Token(requestParameters.contractAddress, requestParameters.chainName, options).then((request) => request(axios, basePath));
|
|
2950
2904
|
},
|
|
2951
2905
|
/**
|
|
2952
2906
|
* List ERC20 tokens
|
|
2953
2907
|
* @summary List ERC20 tokens
|
|
2954
|
-
* @param {
|
|
2955
|
-
* @param {string} [fromUpdatedAt] Datetime to use as the oldest updated timestamp
|
|
2956
|
-
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
2957
|
-
* @param {number} [pageSize] Maximum number of items to return
|
|
2908
|
+
* @param {TokensApiListERC20TokensRequest} requestParameters Request parameters.
|
|
2958
2909
|
* @param {*} [options] Override http request option.
|
|
2959
2910
|
* @throws {RequiredError}
|
|
2960
2911
|
*/
|
|
2961
|
-
listERC20Tokens(
|
|
2962
|
-
return localVarFp.listERC20Tokens(chainName, fromUpdatedAt, pageCursor, pageSize, options).then((request) => request(axios, basePath));
|
|
2912
|
+
listERC20Tokens(requestParameters, options) {
|
|
2913
|
+
return localVarFp.listERC20Tokens(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
2963
2914
|
},
|
|
2964
2915
|
};
|
|
2965
2916
|
};
|
|
@@ -3082,125 +3033,6 @@ let Configuration$2 = class Configuration {
|
|
|
3082
3033
|
}
|
|
3083
3034
|
};
|
|
3084
3035
|
|
|
3085
|
-
/* tslint:disable */
|
|
3086
|
-
/* eslint-disable */
|
|
3087
|
-
/**
|
|
3088
|
-
* Immutable zkEVM API
|
|
3089
|
-
* Immutable Multi Rollup API
|
|
3090
|
-
*
|
|
3091
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3092
|
-
* Contact: support@immutable.com
|
|
3093
|
-
*
|
|
3094
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3095
|
-
* https://openapi-generator.tech
|
|
3096
|
-
* Do not edit the class manually.
|
|
3097
|
-
*/
|
|
3098
|
-
const APIError400AllOfCodeEnum = {
|
|
3099
|
-
ValidationError: 'VALIDATION_ERROR'
|
|
3100
|
-
};
|
|
3101
|
-
|
|
3102
|
-
/* tslint:disable */
|
|
3103
|
-
/* eslint-disable */
|
|
3104
|
-
/**
|
|
3105
|
-
* Immutable zkEVM API
|
|
3106
|
-
* Immutable Multi Rollup API
|
|
3107
|
-
*
|
|
3108
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3109
|
-
* Contact: support@immutable.com
|
|
3110
|
-
*
|
|
3111
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3112
|
-
* https://openapi-generator.tech
|
|
3113
|
-
* Do not edit the class manually.
|
|
3114
|
-
*/
|
|
3115
|
-
const APIError401AllOfCodeEnum = {
|
|
3116
|
-
UnauthorisedRequest: 'UNAUTHORISED_REQUEST'
|
|
3117
|
-
};
|
|
3118
|
-
|
|
3119
|
-
/* tslint:disable */
|
|
3120
|
-
/* eslint-disable */
|
|
3121
|
-
/**
|
|
3122
|
-
* Immutable zkEVM API
|
|
3123
|
-
* Immutable Multi Rollup API
|
|
3124
|
-
*
|
|
3125
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3126
|
-
* Contact: support@immutable.com
|
|
3127
|
-
*
|
|
3128
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3129
|
-
* https://openapi-generator.tech
|
|
3130
|
-
* Do not edit the class manually.
|
|
3131
|
-
*/
|
|
3132
|
-
const APIError403AllOfCodeEnum = {
|
|
3133
|
-
AuthenticationError: 'AUTHENTICATION_ERROR'
|
|
3134
|
-
};
|
|
3135
|
-
|
|
3136
|
-
/* tslint:disable */
|
|
3137
|
-
/* eslint-disable */
|
|
3138
|
-
/**
|
|
3139
|
-
* Immutable zkEVM API
|
|
3140
|
-
* Immutable Multi Rollup API
|
|
3141
|
-
*
|
|
3142
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3143
|
-
* Contact: support@immutable.com
|
|
3144
|
-
*
|
|
3145
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3146
|
-
* https://openapi-generator.tech
|
|
3147
|
-
* Do not edit the class manually.
|
|
3148
|
-
*/
|
|
3149
|
-
const APIError404AllOfCodeEnum = {
|
|
3150
|
-
ResourceNotFound: 'RESOURCE_NOT_FOUND'
|
|
3151
|
-
};
|
|
3152
|
-
|
|
3153
|
-
/* tslint:disable */
|
|
3154
|
-
/* eslint-disable */
|
|
3155
|
-
/**
|
|
3156
|
-
* Immutable zkEVM API
|
|
3157
|
-
* Immutable Multi Rollup API
|
|
3158
|
-
*
|
|
3159
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3160
|
-
* Contact: support@immutable.com
|
|
3161
|
-
*
|
|
3162
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3163
|
-
* https://openapi-generator.tech
|
|
3164
|
-
* Do not edit the class manually.
|
|
3165
|
-
*/
|
|
3166
|
-
const APIError429AllOfCodeEnum = {
|
|
3167
|
-
TooManyRequestsError: 'TOO_MANY_REQUESTS_ERROR'
|
|
3168
|
-
};
|
|
3169
|
-
|
|
3170
|
-
/* tslint:disable */
|
|
3171
|
-
/* eslint-disable */
|
|
3172
|
-
/**
|
|
3173
|
-
* Immutable zkEVM API
|
|
3174
|
-
* Immutable Multi Rollup API
|
|
3175
|
-
*
|
|
3176
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3177
|
-
* Contact: support@immutable.com
|
|
3178
|
-
*
|
|
3179
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3180
|
-
* https://openapi-generator.tech
|
|
3181
|
-
* Do not edit the class manually.
|
|
3182
|
-
*/
|
|
3183
|
-
const APIError500AllOfCodeEnum = {
|
|
3184
|
-
InternalServerError: 'INTERNAL_SERVER_ERROR'
|
|
3185
|
-
};
|
|
3186
|
-
|
|
3187
|
-
/* tslint:disable */
|
|
3188
|
-
/* eslint-disable */
|
|
3189
|
-
/**
|
|
3190
|
-
* Immutable zkEVM API
|
|
3191
|
-
* Immutable Multi Rollup API
|
|
3192
|
-
*
|
|
3193
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3194
|
-
* Contact: support@immutable.com
|
|
3195
|
-
*
|
|
3196
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3197
|
-
* https://openapi-generator.tech
|
|
3198
|
-
* Do not edit the class manually.
|
|
3199
|
-
*/
|
|
3200
|
-
const APIError501AllOfCodeEnum = {
|
|
3201
|
-
NotImplementedError: 'NOT_IMPLEMENTED_ERROR'
|
|
3202
|
-
};
|
|
3203
|
-
|
|
3204
3036
|
/* tslint:disable */
|
|
3205
3037
|
/* eslint-disable */
|
|
3206
3038
|
/**
|
|
@@ -3565,13 +3397,6 @@ const TokenContractType = {
|
|
|
3565
3397
|
|
|
3566
3398
|
var index = /*#__PURE__*/Object.freeze({
|
|
3567
3399
|
__proto__: null,
|
|
3568
|
-
APIError400AllOfCodeEnum: APIError400AllOfCodeEnum,
|
|
3569
|
-
APIError401AllOfCodeEnum: APIError401AllOfCodeEnum,
|
|
3570
|
-
APIError403AllOfCodeEnum: APIError403AllOfCodeEnum,
|
|
3571
|
-
APIError404AllOfCodeEnum: APIError404AllOfCodeEnum,
|
|
3572
|
-
APIError429AllOfCodeEnum: APIError429AllOfCodeEnum,
|
|
3573
|
-
APIError500AllOfCodeEnum: APIError500AllOfCodeEnum,
|
|
3574
|
-
APIError501AllOfCodeEnum: APIError501AllOfCodeEnum,
|
|
3575
3400
|
ActiveOrderStatusNameEnum: ActiveOrderStatusNameEnum,
|
|
3576
3401
|
ActivitiesApi: ActivitiesApi,
|
|
3577
3402
|
ActivitiesApiAxiosParamCreator: ActivitiesApiAxiosParamCreator,
|
|
@@ -3597,6 +3422,10 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3597
3422
|
FeeFeeTypeEnum: FeeFeeTypeEnum,
|
|
3598
3423
|
FilledOrderStatusNameEnum: FilledOrderStatusNameEnum,
|
|
3599
3424
|
InactiveOrderStatusNameEnum: InactiveOrderStatusNameEnum,
|
|
3425
|
+
ListListingsSortByEnum: ListListingsSortByEnum$1,
|
|
3426
|
+
ListListingsSortDirectionEnum: ListListingsSortDirectionEnum$1,
|
|
3427
|
+
ListTradesSortByEnum: ListTradesSortByEnum$1,
|
|
3428
|
+
ListTradesSortDirectionEnum: ListTradesSortDirectionEnum$1,
|
|
3600
3429
|
MetadataApi: MetadataApi,
|
|
3601
3430
|
MetadataApiAxiosParamCreator: MetadataApiAxiosParamCreator,
|
|
3602
3431
|
MetadataApiFactory: MetadataApiFactory,
|
|
@@ -3630,6 +3459,134 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3630
3459
|
TokensApiFp: TokensApiFp
|
|
3631
3460
|
});
|
|
3632
3461
|
|
|
3462
|
+
/* tslint:disable */
|
|
3463
|
+
/* eslint-disable */
|
|
3464
|
+
/**
|
|
3465
|
+
* Immutable zkEVM API
|
|
3466
|
+
* Immutable Multi Rollup API
|
|
3467
|
+
*
|
|
3468
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3469
|
+
* Contact: support@immutable.com
|
|
3470
|
+
*
|
|
3471
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3472
|
+
* https://openapi-generator.tech
|
|
3473
|
+
* Do not edit the class manually.
|
|
3474
|
+
*/
|
|
3475
|
+
// @ts-ignore
|
|
3476
|
+
|
|
3477
|
+
var activitiesApiTypes = /*#__PURE__*/Object.freeze({
|
|
3478
|
+
__proto__: null,
|
|
3479
|
+
ActivityType: ActivityType
|
|
3480
|
+
});
|
|
3481
|
+
|
|
3482
|
+
/* tslint:disable */
|
|
3483
|
+
/* eslint-disable */
|
|
3484
|
+
/**
|
|
3485
|
+
* Immutable zkEVM API
|
|
3486
|
+
* Immutable Multi Rollup API
|
|
3487
|
+
*
|
|
3488
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3489
|
+
* Contact: support@immutable.com
|
|
3490
|
+
*
|
|
3491
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3492
|
+
* https://openapi-generator.tech
|
|
3493
|
+
* Do not edit the class manually.
|
|
3494
|
+
*/
|
|
3495
|
+
|
|
3496
|
+
var chainsApiTypes = /*#__PURE__*/Object.freeze({
|
|
3497
|
+
__proto__: null
|
|
3498
|
+
});
|
|
3499
|
+
|
|
3500
|
+
/* tslint:disable */
|
|
3501
|
+
/* eslint-disable */
|
|
3502
|
+
/**
|
|
3503
|
+
* Immutable zkEVM API
|
|
3504
|
+
* Immutable Multi Rollup API
|
|
3505
|
+
*
|
|
3506
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3507
|
+
* Contact: support@immutable.com
|
|
3508
|
+
*
|
|
3509
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3510
|
+
* https://openapi-generator.tech
|
|
3511
|
+
* Do not edit the class manually.
|
|
3512
|
+
*/
|
|
3513
|
+
|
|
3514
|
+
var collectionsApiTypes = /*#__PURE__*/Object.freeze({
|
|
3515
|
+
__proto__: null
|
|
3516
|
+
});
|
|
3517
|
+
|
|
3518
|
+
/* tslint:disable */
|
|
3519
|
+
/* eslint-disable */
|
|
3520
|
+
/**
|
|
3521
|
+
* Immutable zkEVM API
|
|
3522
|
+
* Immutable Multi Rollup API
|
|
3523
|
+
*
|
|
3524
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3525
|
+
* Contact: support@immutable.com
|
|
3526
|
+
*
|
|
3527
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3528
|
+
* https://openapi-generator.tech
|
|
3529
|
+
* Do not edit the class manually.
|
|
3530
|
+
*/
|
|
3531
|
+
|
|
3532
|
+
var metadataApiTypes = /*#__PURE__*/Object.freeze({
|
|
3533
|
+
__proto__: null
|
|
3534
|
+
});
|
|
3535
|
+
|
|
3536
|
+
/* tslint:disable */
|
|
3537
|
+
/* eslint-disable */
|
|
3538
|
+
/**
|
|
3539
|
+
* Immutable zkEVM API
|
|
3540
|
+
* Immutable Multi Rollup API
|
|
3541
|
+
*
|
|
3542
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3543
|
+
* Contact: support@immutable.com
|
|
3544
|
+
*
|
|
3545
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3546
|
+
* https://openapi-generator.tech
|
|
3547
|
+
* Do not edit the class manually.
|
|
3548
|
+
*/
|
|
3549
|
+
|
|
3550
|
+
var nftOwnersApiTypes = /*#__PURE__*/Object.freeze({
|
|
3551
|
+
__proto__: null
|
|
3552
|
+
});
|
|
3553
|
+
|
|
3554
|
+
/* tslint:disable */
|
|
3555
|
+
/* eslint-disable */
|
|
3556
|
+
/**
|
|
3557
|
+
* Immutable zkEVM API
|
|
3558
|
+
* Immutable Multi Rollup API
|
|
3559
|
+
*
|
|
3560
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3561
|
+
* Contact: support@immutable.com
|
|
3562
|
+
*
|
|
3563
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3564
|
+
* https://openapi-generator.tech
|
|
3565
|
+
* Do not edit the class manually.
|
|
3566
|
+
*/
|
|
3567
|
+
|
|
3568
|
+
var nftsApiTypes = /*#__PURE__*/Object.freeze({
|
|
3569
|
+
__proto__: null
|
|
3570
|
+
});
|
|
3571
|
+
|
|
3572
|
+
/* tslint:disable */
|
|
3573
|
+
/* eslint-disable */
|
|
3574
|
+
/**
|
|
3575
|
+
* Immutable zkEVM API
|
|
3576
|
+
* Immutable Multi Rollup API
|
|
3577
|
+
*
|
|
3578
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3579
|
+
* Contact: support@immutable.com
|
|
3580
|
+
*
|
|
3581
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3582
|
+
* https://openapi-generator.tech
|
|
3583
|
+
* Do not edit the class manually.
|
|
3584
|
+
*/
|
|
3585
|
+
|
|
3586
|
+
var tokensApiTypes = /*#__PURE__*/Object.freeze({
|
|
3587
|
+
__proto__: null
|
|
3588
|
+
});
|
|
3589
|
+
|
|
3633
3590
|
class MultiRollupApiClients {
|
|
3634
3591
|
config;
|
|
3635
3592
|
activitiesApi;
|
|
@@ -3652,7 +3609,7 @@ class MultiRollupApiClients {
|
|
|
3652
3609
|
}
|
|
3653
3610
|
|
|
3654
3611
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
3655
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.
|
|
3612
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.2-alpha' };
|
|
3656
3613
|
const createConfig = ({ basePath, headers, }) => {
|
|
3657
3614
|
if (!basePath.trim()) {
|
|
3658
3615
|
throw Error('basePath can not be empty');
|
|
@@ -3712,7 +3669,7 @@ class APIError extends Error {
|
|
|
3712
3669
|
|
|
3713
3670
|
/* eslint-disable implicit-arrow-linebreak */
|
|
3714
3671
|
const defaultHeaders = {
|
|
3715
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.
|
|
3672
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.2-alpha',
|
|
3716
3673
|
};
|
|
3717
3674
|
/**
|
|
3718
3675
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -4104,7 +4061,14 @@ class BlockchainData {
|
|
|
4104
4061
|
var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
4105
4062
|
__proto__: null,
|
|
4106
4063
|
APIError: APIError,
|
|
4107
|
-
|
|
4064
|
+
ActivitiesApi: activitiesApiTypes,
|
|
4065
|
+
BlockchainData: BlockchainData,
|
|
4066
|
+
ChainsApi: chainsApiTypes,
|
|
4067
|
+
CollectionsApi: collectionsApiTypes,
|
|
4068
|
+
MetadataApi: metadataApiTypes,
|
|
4069
|
+
NFTOwnersApi: nftOwnersApiTypes,
|
|
4070
|
+
NFTsApi: nftsApiTypes,
|
|
4071
|
+
TokensApi: tokensApiTypes
|
|
4108
4072
|
});
|
|
4109
4073
|
|
|
4110
4074
|
/**
|
|
@@ -4116,7 +4080,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
4116
4080
|
chainID,
|
|
4117
4081
|
coreContractAddress,
|
|
4118
4082
|
registrationContractAddress,
|
|
4119
|
-
sdkVersion: 'ts-immutable-sdk-0.27.
|
|
4083
|
+
sdkVersion: 'ts-immutable-sdk-0.27.2-alpha',
|
|
4120
4084
|
});
|
|
4121
4085
|
/**
|
|
4122
4086
|
* Sets `sdkVersion` at the time of build
|
|
@@ -33041,7 +33005,7 @@ var $045213b18e9f1f94$export$75be0f6af9650f2c;
|
|
|
33041
33005
|
})($045213b18e9f1f94$export$75be0f6af9650f2c || ($045213b18e9f1f94$export$75be0f6af9650f2c = {}));
|
|
33042
33006
|
|
|
33043
33007
|
|
|
33044
|
-
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.
|
|
33008
|
+
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.2-alpha";
|
|
33045
33009
|
const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
|
|
33046
33010
|
const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
|
|
33047
33011
|
|