@imtbl/sdk 1.2.0 → 1.4.0-alpha.1

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/index.js CHANGED
@@ -151,7 +151,7 @@ const flattenProperties$1 = (properties) => {
151
151
  };
152
152
 
153
153
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
154
- const SDK_VERSION$1 = '1.2.0';
154
+ const SDK_VERSION$1 = '1.4.0-alpha.1';
155
155
  let initialised$1 = false;
156
156
  const isInitialised$1 = () => initialised$1;
157
157
  const getReferrer$1 = () => {
@@ -9322,7 +9322,7 @@ class OrdersApi extends BaseAPI$2 {
9322
9322
  /**
9323
9323
  * @export
9324
9324
  */
9325
- const ListListingsSortByEnum$1 = {
9325
+ const ListListingsSortByEnum = {
9326
9326
  CreatedAt: 'created_at',
9327
9327
  UpdatedAt: 'updated_at',
9328
9328
  BuyItemAmount: 'buy_item_amount'
@@ -9330,20 +9330,20 @@ const ListListingsSortByEnum$1 = {
9330
9330
  /**
9331
9331
  * @export
9332
9332
  */
9333
- const ListListingsSortDirectionEnum$1 = {
9333
+ const ListListingsSortDirectionEnum = {
9334
9334
  Asc: 'asc',
9335
9335
  Desc: 'desc'
9336
9336
  };
9337
9337
  /**
9338
9338
  * @export
9339
9339
  */
9340
- const ListTradesSortByEnum$1 = {
9340
+ const ListTradesSortByEnum = {
9341
9341
  IndexedAt: 'indexed_at'
9342
9342
  };
9343
9343
  /**
9344
9344
  * @export
9345
9345
  */
9346
- const ListTradesSortDirectionEnum$1 = {
9346
+ const ListTradesSortDirectionEnum = {
9347
9347
  Asc: 'asc',
9348
9348
  Desc: 'desc'
9349
9349
  };
@@ -10105,7 +10105,7 @@ let Configuration$2 = class Configuration {
10105
10105
  * https://openapi-generator.tech
10106
10106
  * Do not edit the class manually.
10107
10107
  */
10108
- const APIError400AllOfCodeEnum = {
10108
+ const APIError400AllOfCodeEnum$1 = {
10109
10109
  ValidationError: 'VALIDATION_ERROR'
10110
10110
  };
10111
10111
 
@@ -10122,7 +10122,7 @@ const APIError400AllOfCodeEnum = {
10122
10122
  * https://openapi-generator.tech
10123
10123
  * Do not edit the class manually.
10124
10124
  */
10125
- const APIError401AllOfCodeEnum = {
10125
+ const APIError401AllOfCodeEnum$1 = {
10126
10126
  UnauthorisedRequest: 'UNAUTHORISED_REQUEST'
10127
10127
  };
10128
10128
 
@@ -10139,7 +10139,7 @@ const APIError401AllOfCodeEnum = {
10139
10139
  * https://openapi-generator.tech
10140
10140
  * Do not edit the class manually.
10141
10141
  */
10142
- const APIError403AllOfCodeEnum = {
10142
+ const APIError403AllOfCodeEnum$1 = {
10143
10143
  AuthenticationError: 'AUTHENTICATION_ERROR'
10144
10144
  };
10145
10145
 
@@ -10156,7 +10156,7 @@ const APIError403AllOfCodeEnum = {
10156
10156
  * https://openapi-generator.tech
10157
10157
  * Do not edit the class manually.
10158
10158
  */
10159
- const APIError404AllOfCodeEnum = {
10159
+ const APIError404AllOfCodeEnum$1 = {
10160
10160
  ResourceNotFound: 'RESOURCE_NOT_FOUND'
10161
10161
  };
10162
10162
 
@@ -10173,7 +10173,7 @@ const APIError404AllOfCodeEnum = {
10173
10173
  * https://openapi-generator.tech
10174
10174
  * Do not edit the class manually.
10175
10175
  */
10176
- const APIError429AllOfCodeEnum = {
10176
+ const APIError429AllOfCodeEnum$1 = {
10177
10177
  TooManyRequestsError: 'TOO_MANY_REQUESTS_ERROR'
10178
10178
  };
10179
10179
 
@@ -10190,7 +10190,7 @@ const APIError429AllOfCodeEnum = {
10190
10190
  * https://openapi-generator.tech
10191
10191
  * Do not edit the class manually.
10192
10192
  */
10193
- const APIError500AllOfCodeEnum = {
10193
+ const APIError500AllOfCodeEnum$1 = {
10194
10194
  InternalServerError: 'INTERNAL_SERVER_ERROR'
10195
10195
  };
10196
10196
 
@@ -10207,7 +10207,7 @@ const APIError500AllOfCodeEnum = {
10207
10207
  * https://openapi-generator.tech
10208
10208
  * Do not edit the class manually.
10209
10209
  */
10210
- const APIError501AllOfCodeEnum = {
10210
+ const APIError501AllOfCodeEnum$1 = {
10211
10211
  NotImplementedError: 'NOT_IMPLEMENTED_ERROR'
10212
10212
  };
10213
10213
 
@@ -10224,7 +10224,7 @@ const APIError501AllOfCodeEnum = {
10224
10224
  * https://openapi-generator.tech
10225
10225
  * Do not edit the class manually.
10226
10226
  */
10227
- const ActiveOrderStatusNameEnum = {
10227
+ const ActiveOrderStatusNameEnum$1 = {
10228
10228
  Active: 'ACTIVE'
10229
10229
  };
10230
10230
 
@@ -10246,7 +10246,7 @@ const ActiveOrderStatusNameEnum = {
10246
10246
  * @export
10247
10247
  * @enum {string}
10248
10248
  */
10249
- const ActivityType = {
10249
+ const ActivityType$1 = {
10250
10250
  Mint: 'mint',
10251
10251
  Burn: 'burn',
10252
10252
  Transfer: 'transfer',
@@ -10294,7 +10294,7 @@ const CancelledOrderStatusCancellationTypeEnum = {
10294
10294
  * @export
10295
10295
  * @enum {string}
10296
10296
  */
10297
- const CollectionContractType = {
10297
+ const CollectionContractType$1 = {
10298
10298
  Erc721: 'ERC721',
10299
10299
  Erc1155: 'ERC1155'
10300
10300
  };
@@ -10312,7 +10312,7 @@ const CollectionContractType = {
10312
10312
  * https://openapi-generator.tech
10313
10313
  * Do not edit the class manually.
10314
10314
  */
10315
- const ERC1155ItemTypeEnum = {
10315
+ const ERC1155ItemTypeEnum$1 = {
10316
10316
  Erc1155: 'ERC1155'
10317
10317
  };
10318
10318
 
@@ -10329,7 +10329,7 @@ const ERC1155ItemTypeEnum = {
10329
10329
  * https://openapi-generator.tech
10330
10330
  * Do not edit the class manually.
10331
10331
  */
10332
- const ERC20ItemTypeEnum = {
10332
+ const ERC20ItemTypeEnum$1 = {
10333
10333
  Erc20: 'ERC20'
10334
10334
  };
10335
10335
 
@@ -10346,7 +10346,7 @@ const ERC20ItemTypeEnum = {
10346
10346
  * https://openapi-generator.tech
10347
10347
  * Do not edit the class manually.
10348
10348
  */
10349
- const ERC721ItemTypeEnum = {
10349
+ const ERC721ItemTypeEnum$1 = {
10350
10350
  Erc721: 'ERC721'
10351
10351
  };
10352
10352
 
@@ -10473,7 +10473,7 @@ const InactiveOrderStatusNameEnum = {
10473
10473
  * @export
10474
10474
  * @enum {string}
10475
10475
  */
10476
- const MintRequestStatus = {
10476
+ const MintRequestStatus$1 = {
10477
10477
  Pending: 'pending',
10478
10478
  Succeeded: 'succeeded',
10479
10479
  Failed: 'failed'
@@ -10497,7 +10497,7 @@ const MintRequestStatus = {
10497
10497
  * @export
10498
10498
  * @enum {string}
10499
10499
  */
10500
- const NFTContractType = {
10500
+ const NFTContractType$1 = {
10501
10501
  Erc721: 'ERC721'
10502
10502
  };
10503
10503
 
@@ -10514,7 +10514,7 @@ const NFTContractType = {
10514
10514
  * https://openapi-generator.tech
10515
10515
  * Do not edit the class manually.
10516
10516
  */
10517
- const NativeItemTypeEnum = {
10517
+ const NativeItemTypeEnum$1 = {
10518
10518
  Native: 'NATIVE',
10519
10519
  Erc20: 'ERC20',
10520
10520
  Erc721: 'ERC721',
@@ -10612,7 +10612,7 @@ const ProtocolDataOrderTypeEnum = {
10612
10612
  * https://openapi-generator.tech
10613
10613
  * Do not edit the class manually.
10614
10614
  */
10615
- const SaleFeeTypeEnum = {
10615
+ const SaleFeeTypeEnum$1 = {
10616
10616
  Royalty: 'ROYALTY'
10617
10617
  };
10618
10618
 
@@ -10634,7 +10634,7 @@ const SaleFeeTypeEnum = {
10634
10634
  * @export
10635
10635
  * @enum {string}
10636
10636
  */
10637
- const TokenContractType = {
10637
+ const TokenContractType$1 = {
10638
10638
  Erc20: 'ERC20'
10639
10639
  };
10640
10640
 
@@ -10652,53 +10652,53 @@ const TokenContractType = {
10652
10652
  * Do not edit the class manually.
10653
10653
  */
10654
10654
 
10655
- var index = /*#__PURE__*/Object.freeze({
10655
+ var index$1 = /*#__PURE__*/Object.freeze({
10656
10656
  __proto__: null,
10657
- APIError400AllOfCodeEnum: APIError400AllOfCodeEnum,
10658
- APIError401AllOfCodeEnum: APIError401AllOfCodeEnum,
10659
- APIError403AllOfCodeEnum: APIError403AllOfCodeEnum,
10660
- APIError404AllOfCodeEnum: APIError404AllOfCodeEnum,
10661
- APIError429AllOfCodeEnum: APIError429AllOfCodeEnum,
10662
- APIError500AllOfCodeEnum: APIError500AllOfCodeEnum,
10663
- APIError501AllOfCodeEnum: APIError501AllOfCodeEnum,
10664
- ActiveOrderStatusNameEnum: ActiveOrderStatusNameEnum,
10657
+ APIError400AllOfCodeEnum: APIError400AllOfCodeEnum$1,
10658
+ APIError401AllOfCodeEnum: APIError401AllOfCodeEnum$1,
10659
+ APIError403AllOfCodeEnum: APIError403AllOfCodeEnum$1,
10660
+ APIError404AllOfCodeEnum: APIError404AllOfCodeEnum$1,
10661
+ APIError429AllOfCodeEnum: APIError429AllOfCodeEnum$1,
10662
+ APIError500AllOfCodeEnum: APIError500AllOfCodeEnum$1,
10663
+ APIError501AllOfCodeEnum: APIError501AllOfCodeEnum$1,
10664
+ ActiveOrderStatusNameEnum: ActiveOrderStatusNameEnum$1,
10665
10665
  ActivitiesApi: ActivitiesApi,
10666
10666
  ActivitiesApiAxiosParamCreator: ActivitiesApiAxiosParamCreator,
10667
10667
  ActivitiesApiFactory: ActivitiesApiFactory,
10668
10668
  ActivitiesApiFp: ActivitiesApiFp,
10669
- ActivityType: ActivityType,
10669
+ ActivityType: ActivityType$1,
10670
10670
  CancelledOrderStatusCancellationTypeEnum: CancelledOrderStatusCancellationTypeEnum,
10671
10671
  CancelledOrderStatusNameEnum: CancelledOrderStatusNameEnum,
10672
10672
  ChainsApi: ChainsApi,
10673
10673
  ChainsApiAxiosParamCreator: ChainsApiAxiosParamCreator,
10674
10674
  ChainsApiFactory: ChainsApiFactory,
10675
10675
  ChainsApiFp: ChainsApiFp,
10676
- CollectionContractType: CollectionContractType,
10676
+ CollectionContractType: CollectionContractType$1,
10677
10677
  CollectionsApi: CollectionsApi,
10678
10678
  CollectionsApiAxiosParamCreator: CollectionsApiAxiosParamCreator,
10679
10679
  CollectionsApiFactory: CollectionsApiFactory,
10680
10680
  CollectionsApiFp: CollectionsApiFp,
10681
10681
  Configuration: Configuration$2,
10682
- ERC1155ItemTypeEnum: ERC1155ItemTypeEnum,
10683
- ERC20ItemTypeEnum: ERC20ItemTypeEnum,
10684
- ERC721ItemTypeEnum: ERC721ItemTypeEnum,
10682
+ ERC1155ItemTypeEnum: ERC1155ItemTypeEnum$1,
10683
+ ERC20ItemTypeEnum: ERC20ItemTypeEnum$1,
10684
+ ERC721ItemTypeEnum: ERC721ItemTypeEnum$1,
10685
10685
  ExpiredOrderStatusNameEnum: ExpiredOrderStatusNameEnum,
10686
10686
  FailedOrderCancellationReasonCodeEnum: FailedOrderCancellationReasonCodeEnum,
10687
10687
  FeeTypeEnum: FeeTypeEnum,
10688
10688
  FilledOrderStatusNameEnum: FilledOrderStatusNameEnum,
10689
10689
  GetContractAbiResTransactionTypeEnum: GetContractAbiResTransactionTypeEnum,
10690
10690
  InactiveOrderStatusNameEnum: InactiveOrderStatusNameEnum,
10691
- ListListingsSortByEnum: ListListingsSortByEnum$1,
10692
- ListListingsSortDirectionEnum: ListListingsSortDirectionEnum$1,
10693
- ListTradesSortByEnum: ListTradesSortByEnum$1,
10694
- ListTradesSortDirectionEnum: ListTradesSortDirectionEnum$1,
10691
+ ListListingsSortByEnum: ListListingsSortByEnum,
10692
+ ListListingsSortDirectionEnum: ListListingsSortDirectionEnum,
10693
+ ListTradesSortByEnum: ListTradesSortByEnum,
10694
+ ListTradesSortDirectionEnum: ListTradesSortDirectionEnum,
10695
10695
  MetadataApi: MetadataApi,
10696
10696
  MetadataApiAxiosParamCreator: MetadataApiAxiosParamCreator,
10697
10697
  MetadataApiFactory: MetadataApiFactory,
10698
10698
  MetadataApiFp: MetadataApiFp,
10699
- MintRequestStatus: MintRequestStatus,
10700
- NFTContractType: NFTContractType,
10701
- NativeItemTypeEnum: NativeItemTypeEnum,
10699
+ MintRequestStatus: MintRequestStatus$1,
10700
+ NFTContractType: NFTContractType$1,
10701
+ NativeItemTypeEnum: NativeItemTypeEnum$1,
10702
10702
  NftOwnersApi: NftOwnersApi,
10703
10703
  NftOwnersApiAxiosParamCreator: NftOwnersApiAxiosParamCreator,
10704
10704
  NftOwnersApiFactory: NftOwnersApiFactory,
@@ -10719,8 +10719,8 @@ var index = /*#__PURE__*/Object.freeze({
10719
10719
  PassportApiFp: PassportApiFp,
10720
10720
  PendingOrderStatusNameEnum: PendingOrderStatusNameEnum,
10721
10721
  ProtocolDataOrderTypeEnum: ProtocolDataOrderTypeEnum,
10722
- SaleFeeTypeEnum: SaleFeeTypeEnum,
10723
- TokenContractType: TokenContractType,
10722
+ SaleFeeTypeEnum: SaleFeeTypeEnum$1,
10723
+ TokenContractType: TokenContractType$1,
10724
10724
  TokensApi: TokensApi,
10725
10725
  TokensApiAxiosParamCreator: TokensApiAxiosParamCreator,
10726
10726
  TokensApiFactory: TokensApiFactory,
@@ -10740,12 +10740,36 @@ var index = /*#__PURE__*/Object.freeze({
10740
10740
  * https://openapi-generator.tech
10741
10741
  * Do not edit the class manually.
10742
10742
  */
10743
- // @ts-ignore
10743
+ /**
10744
+ * @export
10745
+ * @enum {string}
10746
+ */
10747
+ var APIError400AllOfCodeEnum;
10748
+ (function (APIError400AllOfCodeEnum) {
10749
+ APIError400AllOfCodeEnum["ValidationError"] = "VALIDATION_ERROR";
10750
+ })(APIError400AllOfCodeEnum || (APIError400AllOfCodeEnum = {}));
10744
10751
 
10745
- var activitiesApiTypes = /*#__PURE__*/Object.freeze({
10746
- __proto__: null,
10747
- ActivityType: ActivityType
10748
- });
10752
+ /* tslint:disable */
10753
+ /* eslint-disable */
10754
+ /**
10755
+ * Immutable zkEVM API
10756
+ * Immutable Multi Rollup API
10757
+ *
10758
+ * The version of the OpenAPI document: 1.0.0
10759
+ * Contact: support@immutable.com
10760
+ *
10761
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10762
+ * https://openapi-generator.tech
10763
+ * Do not edit the class manually.
10764
+ */
10765
+ /**
10766
+ * @export
10767
+ * @enum {string}
10768
+ */
10769
+ var APIError401AllOfCodeEnum;
10770
+ (function (APIError401AllOfCodeEnum) {
10771
+ APIError401AllOfCodeEnum["UnauthorisedRequest"] = "UNAUTHORISED_REQUEST";
10772
+ })(APIError401AllOfCodeEnum || (APIError401AllOfCodeEnum = {}));
10749
10773
 
10750
10774
  /* tslint:disable */
10751
10775
  /* eslint-disable */
@@ -10760,10 +10784,36 @@ var activitiesApiTypes = /*#__PURE__*/Object.freeze({
10760
10784
  * https://openapi-generator.tech
10761
10785
  * Do not edit the class manually.
10762
10786
  */
10787
+ /**
10788
+ * @export
10789
+ * @enum {string}
10790
+ */
10791
+ var APIError403AllOfCodeEnum;
10792
+ (function (APIError403AllOfCodeEnum) {
10793
+ APIError403AllOfCodeEnum["AuthenticationError"] = "AUTHENTICATION_ERROR";
10794
+ })(APIError403AllOfCodeEnum || (APIError403AllOfCodeEnum = {}));
10763
10795
 
10764
- var chainsApiTypes = /*#__PURE__*/Object.freeze({
10765
- __proto__: null
10766
- });
10796
+ /* tslint:disable */
10797
+ /* eslint-disable */
10798
+ /**
10799
+ * Immutable zkEVM API
10800
+ * Immutable Multi Rollup API
10801
+ *
10802
+ * The version of the OpenAPI document: 1.0.0
10803
+ * Contact: support@immutable.com
10804
+ *
10805
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10806
+ * https://openapi-generator.tech
10807
+ * Do not edit the class manually.
10808
+ */
10809
+ /**
10810
+ * @export
10811
+ * @enum {string}
10812
+ */
10813
+ var APIError404AllOfCodeEnum;
10814
+ (function (APIError404AllOfCodeEnum) {
10815
+ APIError404AllOfCodeEnum["ResourceNotFound"] = "RESOURCE_NOT_FOUND";
10816
+ })(APIError404AllOfCodeEnum || (APIError404AllOfCodeEnum = {}));
10767
10817
 
10768
10818
  /* tslint:disable */
10769
10819
  /* eslint-disable */
@@ -10778,10 +10828,36 @@ var chainsApiTypes = /*#__PURE__*/Object.freeze({
10778
10828
  * https://openapi-generator.tech
10779
10829
  * Do not edit the class manually.
10780
10830
  */
10831
+ /**
10832
+ * @export
10833
+ * @enum {string}
10834
+ */
10835
+ var APIError429AllOfCodeEnum;
10836
+ (function (APIError429AllOfCodeEnum) {
10837
+ APIError429AllOfCodeEnum["TooManyRequestsError"] = "TOO_MANY_REQUESTS_ERROR";
10838
+ })(APIError429AllOfCodeEnum || (APIError429AllOfCodeEnum = {}));
10781
10839
 
10782
- var collectionsApiTypes = /*#__PURE__*/Object.freeze({
10783
- __proto__: null
10784
- });
10840
+ /* tslint:disable */
10841
+ /* eslint-disable */
10842
+ /**
10843
+ * Immutable zkEVM API
10844
+ * Immutable Multi Rollup API
10845
+ *
10846
+ * The version of the OpenAPI document: 1.0.0
10847
+ * Contact: support@immutable.com
10848
+ *
10849
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10850
+ * https://openapi-generator.tech
10851
+ * Do not edit the class manually.
10852
+ */
10853
+ /**
10854
+ * @export
10855
+ * @enum {string}
10856
+ */
10857
+ var APIError500AllOfCodeEnum;
10858
+ (function (APIError500AllOfCodeEnum) {
10859
+ APIError500AllOfCodeEnum["InternalServerError"] = "INTERNAL_SERVER_ERROR";
10860
+ })(APIError500AllOfCodeEnum || (APIError500AllOfCodeEnum = {}));
10785
10861
 
10786
10862
  /* tslint:disable */
10787
10863
  /* eslint-disable */
@@ -10796,10 +10872,36 @@ var collectionsApiTypes = /*#__PURE__*/Object.freeze({
10796
10872
  * https://openapi-generator.tech
10797
10873
  * Do not edit the class manually.
10798
10874
  */
10875
+ /**
10876
+ * @export
10877
+ * @enum {string}
10878
+ */
10879
+ var APIError501AllOfCodeEnum;
10880
+ (function (APIError501AllOfCodeEnum) {
10881
+ APIError501AllOfCodeEnum["NotImplementedError"] = "NOT_IMPLEMENTED_ERROR";
10882
+ })(APIError501AllOfCodeEnum || (APIError501AllOfCodeEnum = {}));
10799
10883
 
10800
- var metadataApiTypes = /*#__PURE__*/Object.freeze({
10801
- __proto__: null
10802
- });
10884
+ /* tslint:disable */
10885
+ /* eslint-disable */
10886
+ /**
10887
+ * Immutable zkEVM API
10888
+ * Immutable Multi Rollup API
10889
+ *
10890
+ * The version of the OpenAPI document: 1.0.0
10891
+ * Contact: support@immutable.com
10892
+ *
10893
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10894
+ * https://openapi-generator.tech
10895
+ * Do not edit the class manually.
10896
+ */
10897
+ /**
10898
+ * @export
10899
+ * @enum {string}
10900
+ */
10901
+ var ActiveOrderStatusNameEnum;
10902
+ (function (ActiveOrderStatusNameEnum) {
10903
+ ActiveOrderStatusNameEnum["Active"] = "ACTIVE";
10904
+ })(ActiveOrderStatusNameEnum || (ActiveOrderStatusNameEnum = {}));
10803
10905
 
10804
10906
  /* tslint:disable */
10805
10907
  /* eslint-disable */
@@ -10814,10 +10916,44 @@ var metadataApiTypes = /*#__PURE__*/Object.freeze({
10814
10916
  * https://openapi-generator.tech
10815
10917
  * Do not edit the class manually.
10816
10918
  */
10919
+ /**
10920
+ * The activity type
10921
+ * @export
10922
+ * @enum {string}
10923
+ */
10924
+ var ActivityType;
10925
+ (function (ActivityType) {
10926
+ ActivityType["Mint"] = "mint";
10927
+ ActivityType["Burn"] = "burn";
10928
+ ActivityType["Transfer"] = "transfer";
10929
+ ActivityType["Sale"] = "sale";
10930
+ ActivityType["Deposit"] = "deposit";
10931
+ ActivityType["Withdrawal"] = "withdrawal";
10932
+ })(ActivityType || (ActivityType = {}));
10817
10933
 
10818
- var nftOwnersApiTypes = /*#__PURE__*/Object.freeze({
10819
- __proto__: null
10820
- });
10934
+ /* tslint:disable */
10935
+ /* eslint-disable */
10936
+ /**
10937
+ * Immutable zkEVM API
10938
+ * Immutable Multi Rollup API
10939
+ *
10940
+ * The version of the OpenAPI document: 1.0.0
10941
+ * Contact: support@immutable.com
10942
+ *
10943
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10944
+ * https://openapi-generator.tech
10945
+ * Do not edit the class manually.
10946
+ */
10947
+ /**
10948
+ * The collection contract type
10949
+ * @export
10950
+ * @enum {string}
10951
+ */
10952
+ var CollectionContractType;
10953
+ (function (CollectionContractType) {
10954
+ CollectionContractType["Erc721"] = "ERC721";
10955
+ CollectionContractType["Erc1155"] = "ERC1155";
10956
+ })(CollectionContractType || (CollectionContractType = {}));
10821
10957
 
10822
10958
  /* tslint:disable */
10823
10959
  /* eslint-disable */
@@ -10832,10 +10968,176 @@ var nftOwnersApiTypes = /*#__PURE__*/Object.freeze({
10832
10968
  * https://openapi-generator.tech
10833
10969
  * Do not edit the class manually.
10834
10970
  */
10971
+ /**
10972
+ * @export
10973
+ * @enum {string}
10974
+ */
10975
+ var ERC1155ItemTypeEnum;
10976
+ (function (ERC1155ItemTypeEnum) {
10977
+ ERC1155ItemTypeEnum["Erc1155"] = "ERC1155";
10978
+ })(ERC1155ItemTypeEnum || (ERC1155ItemTypeEnum = {}));
10835
10979
 
10836
- var nftsApiTypes = /*#__PURE__*/Object.freeze({
10837
- __proto__: null
10838
- });
10980
+ /* tslint:disable */
10981
+ /* eslint-disable */
10982
+ /**
10983
+ * Immutable zkEVM API
10984
+ * Immutable Multi Rollup API
10985
+ *
10986
+ * The version of the OpenAPI document: 1.0.0
10987
+ * Contact: support@immutable.com
10988
+ *
10989
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10990
+ * https://openapi-generator.tech
10991
+ * Do not edit the class manually.
10992
+ */
10993
+ /**
10994
+ * @export
10995
+ * @enum {string}
10996
+ */
10997
+ var ERC20ItemTypeEnum;
10998
+ (function (ERC20ItemTypeEnum) {
10999
+ ERC20ItemTypeEnum["Erc20"] = "ERC20";
11000
+ })(ERC20ItemTypeEnum || (ERC20ItemTypeEnum = {}));
11001
+
11002
+ /* tslint:disable */
11003
+ /* eslint-disable */
11004
+ /**
11005
+ * Immutable zkEVM API
11006
+ * Immutable Multi Rollup API
11007
+ *
11008
+ * The version of the OpenAPI document: 1.0.0
11009
+ * Contact: support@immutable.com
11010
+ *
11011
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11012
+ * https://openapi-generator.tech
11013
+ * Do not edit the class manually.
11014
+ */
11015
+ /**
11016
+ * @export
11017
+ * @enum {string}
11018
+ */
11019
+ var ERC721ItemTypeEnum;
11020
+ (function (ERC721ItemTypeEnum) {
11021
+ ERC721ItemTypeEnum["Erc721"] = "ERC721";
11022
+ })(ERC721ItemTypeEnum || (ERC721ItemTypeEnum = {}));
11023
+
11024
+ /* tslint:disable */
11025
+ /* eslint-disable */
11026
+ /**
11027
+ * Immutable zkEVM API
11028
+ * Immutable Multi Rollup API
11029
+ *
11030
+ * The version of the OpenAPI document: 1.0.0
11031
+ * Contact: support@immutable.com
11032
+ *
11033
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11034
+ * https://openapi-generator.tech
11035
+ * Do not edit the class manually.
11036
+ */
11037
+ /**
11038
+ * The status of the mint request
11039
+ * @export
11040
+ * @enum {string}
11041
+ */
11042
+ var MintRequestStatus;
11043
+ (function (MintRequestStatus) {
11044
+ MintRequestStatus["Pending"] = "pending";
11045
+ MintRequestStatus["Succeeded"] = "succeeded";
11046
+ MintRequestStatus["Failed"] = "failed";
11047
+ })(MintRequestStatus || (MintRequestStatus = {}));
11048
+
11049
+ /* tslint:disable */
11050
+ /* eslint-disable */
11051
+ /**
11052
+ * Immutable zkEVM API
11053
+ * Immutable Multi Rollup API
11054
+ *
11055
+ * The version of the OpenAPI document: 1.0.0
11056
+ * Contact: support@immutable.com
11057
+ *
11058
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11059
+ * https://openapi-generator.tech
11060
+ * Do not edit the class manually.
11061
+ */
11062
+ /**
11063
+ * The contract type for an NFT
11064
+ * @export
11065
+ * @enum {string}
11066
+ */
11067
+ var NFTContractType;
11068
+ (function (NFTContractType) {
11069
+ NFTContractType["Erc721"] = "ERC721";
11070
+ })(NFTContractType || (NFTContractType = {}));
11071
+
11072
+ /* tslint:disable */
11073
+ /* eslint-disable */
11074
+ /**
11075
+ * Immutable zkEVM API
11076
+ * Immutable Multi Rollup API
11077
+ *
11078
+ * The version of the OpenAPI document: 1.0.0
11079
+ * Contact: support@immutable.com
11080
+ *
11081
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11082
+ * https://openapi-generator.tech
11083
+ * Do not edit the class manually.
11084
+ */
11085
+ /**
11086
+ * @export
11087
+ * @enum {string}
11088
+ */
11089
+ var NativeItemTypeEnum;
11090
+ (function (NativeItemTypeEnum) {
11091
+ NativeItemTypeEnum["Native"] = "NATIVE";
11092
+ NativeItemTypeEnum["Erc20"] = "ERC20";
11093
+ NativeItemTypeEnum["Erc721"] = "ERC721";
11094
+ NativeItemTypeEnum["Erc1155"] = "ERC1155";
11095
+ })(NativeItemTypeEnum || (NativeItemTypeEnum = {}));
11096
+
11097
+ /* tslint:disable */
11098
+ /* eslint-disable */
11099
+ /**
11100
+ * Immutable zkEVM API
11101
+ * Immutable Multi Rollup API
11102
+ *
11103
+ * The version of the OpenAPI document: 1.0.0
11104
+ * Contact: support@immutable.com
11105
+ *
11106
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11107
+ * https://openapi-generator.tech
11108
+ * Do not edit the class manually.
11109
+ */
11110
+ /**
11111
+ * @export
11112
+ * @enum {string}
11113
+ */
11114
+ var SaleFeeTypeEnum;
11115
+ (function (SaleFeeTypeEnum) {
11116
+ SaleFeeTypeEnum["Royalty"] = "ROYALTY";
11117
+ })(SaleFeeTypeEnum || (SaleFeeTypeEnum = {}));
11118
+
11119
+ /* tslint:disable */
11120
+ /* eslint-disable */
11121
+ /**
11122
+ * Immutable zkEVM API
11123
+ * Immutable Multi Rollup API
11124
+ *
11125
+ * The version of the OpenAPI document: 1.0.0
11126
+ * Contact: support@immutable.com
11127
+ *
11128
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11129
+ * https://openapi-generator.tech
11130
+ * Do not edit the class manually.
11131
+ */
11132
+ /**
11133
+ * The contract type for a token
11134
+ * @export
11135
+ * @enum {string}
11136
+ */
11137
+ var TokenContractType;
11138
+ (function (TokenContractType) {
11139
+ TokenContractType["Erc20"] = "ERC20";
11140
+ })(TokenContractType || (TokenContractType = {}));
10839
11141
 
10840
11142
  /* tslint:disable */
10841
11143
  /* eslint-disable */
@@ -10851,8 +11153,26 @@ var nftsApiTypes = /*#__PURE__*/Object.freeze({
10851
11153
  * Do not edit the class manually.
10852
11154
  */
10853
11155
 
10854
- var tokensApiTypes = /*#__PURE__*/Object.freeze({
10855
- __proto__: null
11156
+ var index = /*#__PURE__*/Object.freeze({
11157
+ __proto__: null,
11158
+ get APIError400AllOfCodeEnum () { return APIError400AllOfCodeEnum; },
11159
+ get APIError401AllOfCodeEnum () { return APIError401AllOfCodeEnum; },
11160
+ get APIError403AllOfCodeEnum () { return APIError403AllOfCodeEnum; },
11161
+ get APIError404AllOfCodeEnum () { return APIError404AllOfCodeEnum; },
11162
+ get APIError429AllOfCodeEnum () { return APIError429AllOfCodeEnum; },
11163
+ get APIError500AllOfCodeEnum () { return APIError500AllOfCodeEnum; },
11164
+ get APIError501AllOfCodeEnum () { return APIError501AllOfCodeEnum; },
11165
+ get ActiveOrderStatusNameEnum () { return ActiveOrderStatusNameEnum; },
11166
+ get ActivityType () { return ActivityType; },
11167
+ get CollectionContractType () { return CollectionContractType; },
11168
+ get ERC1155ItemTypeEnum () { return ERC1155ItemTypeEnum; },
11169
+ get ERC20ItemTypeEnum () { return ERC20ItemTypeEnum; },
11170
+ get ERC721ItemTypeEnum () { return ERC721ItemTypeEnum; },
11171
+ get MintRequestStatus () { return MintRequestStatus; },
11172
+ get NFTContractType () { return NFTContractType; },
11173
+ get NativeItemTypeEnum () { return NativeItemTypeEnum; },
11174
+ get SaleFeeTypeEnum () { return SaleFeeTypeEnum; },
11175
+ get TokenContractType () { return TokenContractType; }
10856
11176
  });
10857
11177
 
10858
11178
  class ImxApiClients {
@@ -10918,7 +11238,7 @@ class MultiRollupApiClients {
10918
11238
  }
10919
11239
 
10920
11240
  // eslint-disable-next-line @typescript-eslint/naming-convention
10921
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.2.0' };
11241
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.4.0-alpha.1' };
10922
11242
  const createConfig = ({ basePath, headers, }) => {
10923
11243
  if (!basePath.trim()) {
10924
11244
  throw Error('basePath can not be empty');
@@ -10990,7 +11310,7 @@ class APIError extends Error {
10990
11310
 
10991
11311
  /* eslint-disable implicit-arrow-linebreak */
10992
11312
  const defaultHeaders = {
10993
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.2.0',
11313
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.4.0-alpha.1',
10994
11314
  };
10995
11315
  /**
10996
11316
  * createAPIConfiguration to create a custom Configuration
@@ -11006,7 +11326,7 @@ const createAPIConfiguration = ({ baseConfig, basePath, headers: baseHeaders, })
11006
11326
  basePath,
11007
11327
  baseOptions: { headers },
11008
11328
  };
11009
- return new index.Configuration(configParams);
11329
+ return new index$1.Configuration(configParams);
11010
11330
  };
11011
11331
  class BlockchainDataConfiguration {
11012
11332
  apiConfig;
@@ -11089,13 +11409,13 @@ class BlockchainData {
11089
11409
  metadata;
11090
11410
  constructor(moduleConfig) {
11091
11411
  this.config = new BlockchainDataConfiguration(moduleConfig);
11092
- this.activities = new index.ActivitiesApi(this.config.apiConfig);
11093
- this.chains = new index.ChainsApi(this.config.apiConfig);
11094
- this.collections = new index.CollectionsApi(this.config.apiConfig);
11095
- this.nfts = new index.NftsApi(this.config.apiConfig);
11096
- this.nftOwners = new index.NftOwnersApi(this.config.apiConfig);
11097
- this.tokens = new index.TokensApi(this.config.apiConfig);
11098
- this.metadata = new index.MetadataApi(this.config.apiConfig);
11412
+ this.activities = new index$1.ActivitiesApi(this.config.apiConfig);
11413
+ this.chains = new index$1.ChainsApi(this.config.apiConfig);
11414
+ this.collections = new index$1.CollectionsApi(this.config.apiConfig);
11415
+ this.nfts = new index$1.NftsApi(this.config.apiConfig);
11416
+ this.nftOwners = new index$1.NftOwnersApi(this.config.apiConfig);
11417
+ this.tokens = new index$1.TokensApi(this.config.apiConfig);
11418
+ this.metadata = new index$1.MetadataApi(this.config.apiConfig);
11099
11419
  }
11100
11420
  /**
11101
11421
  * List all activities
@@ -11410,14 +11730,8 @@ class BlockchainData {
11410
11730
  var blockchain_data = /*#__PURE__*/Object.freeze({
11411
11731
  __proto__: null,
11412
11732
  APIError: APIError,
11413
- ActivitiesTypes: activitiesApiTypes,
11414
11733
  BlockchainData: BlockchainData,
11415
- ChainsTypes: chainsApiTypes,
11416
- CollectionsTypes: collectionsApiTypes,
11417
- MetadataTypes: metadataApiTypes,
11418
- NFTOwnersTypes: nftOwnersApiTypes,
11419
- NFTsTypes: nftsApiTypes,
11420
- TokensTypes: tokensApiTypes
11734
+ Types: index
11421
11735
  });
11422
11736
 
11423
11737
  /**
@@ -11429,7 +11743,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
11429
11743
  chainID,
11430
11744
  coreContractAddress,
11431
11745
  registrationContractAddress,
11432
- sdkVersion: 'ts-immutable-sdk-1.2.0',
11746
+ sdkVersion: 'ts-immutable-sdk-1.4.0-alpha.1',
11433
11747
  });
11434
11748
  /**
11435
11749
  * Sets `sdkVersion` at the time of build
@@ -36694,7 +37008,7 @@ const flattenProperties = (properties) => {
36694
37008
  };
36695
37009
 
36696
37010
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
36697
- const SDK_VERSION = '1.2.0';
37011
+ const SDK_VERSION = '1.4.0-alpha.1';
36698
37012
  let initialised = false;
36699
37013
  const isInitialised = () => initialised;
36700
37014
  const getReferrer = () => {
@@ -40938,6 +41252,8 @@ var BridgeEventType;
40938
41252
  BridgeEventType["FAILURE"] = "failure";
40939
41253
  BridgeEventType["TRANSACTION_SENT"] = "transaction-sent";
40940
41254
  BridgeEventType["LANGUAGE_CHANGED"] = "language-changed";
41255
+ BridgeEventType["CLAIM_WITHDRAWAL_SUCCESS"] = "claim-withdrawal-success";
41256
+ BridgeEventType["CLAIM_WITHDRAWAL_FAILURE"] = "claim-withdrawal-failure";
40941
41257
  })(BridgeEventType || (BridgeEventType = {}));
40942
41258
 
40943
41259
  /**
@@ -41797,7 +42113,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
41797
42113
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
41798
42114
  };
41799
42115
 
41800
- const SDK_VERSION_MARKER = '1.2.0';
42116
+ const SDK_VERSION_MARKER = '1.4.0-alpha.1';
41801
42117
  // This SDK version is replaced by the `yarn build` command ran on the root level
41802
42118
  const globalPackageVersion = () => SDK_VERSION_MARKER;
41803
42119