@imtbl/sdk 1.7.3-alpha.1 → 1.7.3-alpha.2

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.
Files changed (37) hide show
  1. package/dist/blockchain_data.d.ts +288 -449
  2. package/dist/blockchain_data.js +2 -149
  3. package/dist/browser/checkout/BridgeWidget-85db50d2.js +1 -0
  4. package/dist/browser/checkout/OnRampWidget-58400404.js +1 -0
  5. package/dist/browser/checkout/SaleWidget-549f0f75.js +2 -0
  6. package/dist/browser/checkout/SpendingCapHero-24fed6d2.js +1 -0
  7. package/dist/browser/checkout/SwapWidget-9eecba27.js +1 -0
  8. package/dist/browser/checkout/TopUpView-26964a9e.js +1 -0
  9. package/dist/browser/checkout/WalletWidget-7e6fed9c.js +1 -0
  10. package/dist/browser/checkout/auto-track-da38e5a8.js +1 -0
  11. package/dist/browser/checkout/balance-310539bb.js +1 -0
  12. package/dist/browser/checkout/index-392bc434.js +1 -0
  13. package/dist/browser/checkout/index-3d847e0c.js +1 -0
  14. package/dist/browser/checkout/index-4e77760b.js +773 -0
  15. package/dist/browser/checkout/index-8184ffea.js +1 -0
  16. package/dist/browser/checkout/index-919a5df1.js +1 -0
  17. package/dist/browser/checkout/index-e6159023.js +1 -0
  18. package/dist/browser/checkout/index-eb42cd09.js +106 -0
  19. package/dist/browser/checkout/index.umd-c2e32802.js +1 -0
  20. package/dist/browser/checkout/is-plan-event-enabled-80f76ce6.js +1 -0
  21. package/dist/browser/checkout/retry-355e44f2.js +1 -0
  22. package/dist/browser/checkout/sdk.js +4 -4
  23. package/dist/browser/checkout/useTransakEvents-c6a83ea5.js +2 -0
  24. package/dist/browser/checkout/widgets-esm.js +1 -0
  25. package/dist/browser/checkout/widgets.js +50 -51
  26. package/dist/checkout.d.ts +3 -1
  27. package/dist/checkout.js +65 -179
  28. package/dist/config.js +1 -1
  29. package/dist/index.browser.js +7 -7
  30. package/dist/index.browser.js.map +1 -1
  31. package/dist/index.cjs +200 -290
  32. package/dist/index.d.ts +291 -450
  33. package/dist/index.js +200 -290
  34. package/dist/orderbook.js +1 -1
  35. package/dist/passport.js +136 -239
  36. package/dist/x.js +2 -2
  37. package/package.json +1 -1
@@ -1030,24 +1030,6 @@ interface CollectionMetadata$1 {
1030
1030
  'base_uri': string | null;
1031
1031
  }
1032
1032
 
1033
- /**
1034
- * Immutable zkEVM API
1035
- * Immutable Multi Rollup API
1036
- *
1037
- * The version of the OpenAPI document: 1.0.0
1038
- * Contact: support@immutable.com
1039
- *
1040
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1041
- * https://openapi-generator.tech
1042
- * Do not edit the class manually.
1043
- */
1044
- /**
1045
- * @type NFTMetadataAttributeValue
1046
- * The metadata trait value
1047
- * @export
1048
- */
1049
- type NFTMetadataAttributeValue$1 = boolean | number | string;
1050
-
1051
1033
  /**
1052
1034
  * Immutable zkEVM API
1053
1035
  * Immutable Multi Rollup API
@@ -1061,23 +1043,17 @@ type NFTMetadataAttributeValue$1 = boolean | number | string;
1061
1043
  */
1062
1044
 
1063
1045
  /**
1064
- *
1046
+ * Single activity
1065
1047
  * @export
1066
- * @interface NFTMetadataAttribute
1048
+ * @interface GetActivityResult
1067
1049
  */
1068
- interface NFTMetadataAttribute$1 {
1069
- /**
1070
- * The metadata trait type
1071
- * @type {string}
1072
- * @memberof NFTMetadataAttribute
1073
- */
1074
- 'trait_type': string;
1050
+ interface GetActivityResult$1 {
1075
1051
  /**
1076
1052
  *
1077
- * @type {NFTMetadataAttributeValue}
1078
- * @memberof NFTMetadataAttribute
1053
+ * @type {Activity}
1054
+ * @memberof GetActivityResult
1079
1055
  */
1080
- 'value': NFTMetadataAttributeValue$1;
1056
+ 'result': Activity$1;
1081
1057
  }
1082
1058
 
1083
1059
  /**
@@ -1093,53 +1069,17 @@ interface NFTMetadataAttribute$1 {
1093
1069
  */
1094
1070
 
1095
1071
  /**
1096
- *
1072
+ * Single Collection
1097
1073
  * @export
1098
- * @interface NFTMetadataRequest
1074
+ * @interface GetCollectionResult
1099
1075
  */
1100
- interface NFTMetadataRequest$1 {
1101
- /**
1102
- * The name of the NFT
1103
- * @type {string}
1104
- * @memberof NFTMetadataRequest
1105
- */
1106
- 'name'?: string | null;
1107
- /**
1108
- * The description of the NFT
1109
- * @type {string}
1110
- * @memberof NFTMetadataRequest
1111
- */
1112
- 'description'?: string | null;
1113
- /**
1114
- * The image url of the NFT
1115
- * @type {string}
1116
- * @memberof NFTMetadataRequest
1117
- */
1118
- 'image'?: string | null;
1119
- /**
1120
- * The external link of the NFT
1121
- * @type {string}
1122
- * @memberof NFTMetadataRequest
1123
- */
1124
- 'external_url'?: string | null;
1125
- /**
1126
- * The animation url of the NFT
1127
- * @type {string}
1128
- * @memberof NFTMetadataRequest
1129
- */
1130
- 'animation_url'?: string | null;
1131
- /**
1132
- * The youtube link of the NFT
1133
- * @type {string}
1134
- * @memberof NFTMetadataRequest
1135
- */
1136
- 'youtube_url'?: string | null;
1076
+ interface GetCollectionResult$1 {
1137
1077
  /**
1138
- * List of Metadata attributes
1139
- * @type {Array<NFTMetadataAttribute>}
1140
- * @memberof NFTMetadataRequest
1078
+ *
1079
+ * @type {Collection}
1080
+ * @memberof GetCollectionResult
1141
1081
  */
1142
- 'attributes'?: Array<NFTMetadataAttribute$1> | null;
1082
+ 'result': Collection$1;
1143
1083
  }
1144
1084
 
1145
1085
  /**
@@ -1153,20 +1093,12 @@ interface NFTMetadataRequest$1 {
1153
1093
  * https://openapi-generator.tech
1154
1094
  * Do not edit the class manually.
1155
1095
  */
1156
-
1157
1096
  /**
1158
- * Single activity
1097
+ * @type NFTMetadataAttributeValue
1098
+ * The metadata trait value
1159
1099
  * @export
1160
- * @interface GetActivityResult
1161
1100
  */
1162
- interface GetActivityResult$1 {
1163
- /**
1164
- *
1165
- * @type {Activity}
1166
- * @memberof GetActivityResult
1167
- */
1168
- 'result': Activity$1;
1169
- }
1101
+ type NFTMetadataAttributeValue$1 = boolean | number | string;
1170
1102
 
1171
1103
  /**
1172
1104
  * Immutable zkEVM API
@@ -1181,17 +1113,23 @@ interface GetActivityResult$1 {
1181
1113
  */
1182
1114
 
1183
1115
  /**
1184
- * Single Collection
1116
+ *
1185
1117
  * @export
1186
- * @interface GetCollectionResult
1118
+ * @interface NFTMetadataAttribute
1187
1119
  */
1188
- interface GetCollectionResult$1 {
1120
+ interface NFTMetadataAttribute$1 {
1121
+ /**
1122
+ * The metadata trait type
1123
+ * @type {string}
1124
+ * @memberof NFTMetadataAttribute
1125
+ */
1126
+ 'trait_type': string;
1189
1127
  /**
1190
1128
  *
1191
- * @type {Collection}
1192
- * @memberof GetCollectionResult
1129
+ * @type {NFTMetadataAttributeValue}
1130
+ * @memberof NFTMetadataAttribute
1193
1131
  */
1194
- 'result': Collection$1;
1132
+ 'value': NFTMetadataAttributeValue$1;
1195
1133
  }
1196
1134
 
1197
1135
  /**
@@ -1890,6 +1828,68 @@ interface MetadataRefreshRateLimitResult$1 {
1890
1828
  'retry_after': string;
1891
1829
  }
1892
1830
 
1831
+ /**
1832
+ * Immutable zkEVM API
1833
+ * Immutable Multi Rollup API
1834
+ *
1835
+ * The version of the OpenAPI document: 1.0.0
1836
+ * Contact: support@immutable.com
1837
+ *
1838
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1839
+ * https://openapi-generator.tech
1840
+ * Do not edit the class manually.
1841
+ */
1842
+
1843
+ /**
1844
+ *
1845
+ * @export
1846
+ * @interface NFTMetadataRequest
1847
+ */
1848
+ interface NFTMetadataRequest$1 {
1849
+ /**
1850
+ * The name of the NFT
1851
+ * @type {string}
1852
+ * @memberof NFTMetadataRequest
1853
+ */
1854
+ 'name'?: string | null;
1855
+ /**
1856
+ * The description of the NFT
1857
+ * @type {string}
1858
+ * @memberof NFTMetadataRequest
1859
+ */
1860
+ 'description'?: string | null;
1861
+ /**
1862
+ * The image url of the NFT
1863
+ * @type {string}
1864
+ * @memberof NFTMetadataRequest
1865
+ */
1866
+ 'image'?: string | null;
1867
+ /**
1868
+ * The external link of the NFT
1869
+ * @type {string}
1870
+ * @memberof NFTMetadataRequest
1871
+ */
1872
+ 'external_url'?: string | null;
1873
+ /**
1874
+ * The animation url of the NFT
1875
+ * @type {string}
1876
+ * @memberof NFTMetadataRequest
1877
+ */
1878
+ 'animation_url'?: string | null;
1879
+ /**
1880
+ * The youtube link of the NFT
1881
+ * @type {string}
1882
+ * @memberof NFTMetadataRequest
1883
+ */
1884
+ 'youtube_url'?: string | null;
1885
+ /**
1886
+ * List of Metadata attributes
1887
+ * @type {Array<NFTMetadataAttribute>}
1888
+ * @memberof NFTMetadataRequest
1889
+ */
1890
+ 'attributes'?: Array<NFTMetadataAttribute$1> | null;
1891
+ }
1892
+
1893
1893
  /**
1894
1894
  * Immutable zkEVM API
1895
1895
  * Immutable Multi Rollup API
@@ -4151,11 +4151,43 @@ interface CollectionMetadata {
4151
4151
  * Do not edit the class manually.
4152
4152
  */
4153
4153
  /**
4154
- * @type NFTMetadataAttributeValue
4155
- * The metadata trait value
4154
+ *
4156
4155
  * @export
4156
+ * @interface ERC1155Item
4157
4157
  */
4158
- type NFTMetadataAttributeValue = boolean | number | string;
4158
+ interface ERC1155Item {
4159
+ /**
4160
+ * Token type user is offering, which in this case is ERC1155
4161
+ * @type {string}
4162
+ * @memberof ERC1155Item
4163
+ */
4164
+ 'type': ERC1155ItemTypeEnum;
4165
+ /**
4166
+ * Address of ERC1155 token
4167
+ * @type {string}
4168
+ * @memberof ERC1155Item
4169
+ */
4170
+ 'contract_address': string;
4171
+ /**
4172
+ * ID of ERC1155 token
4173
+ * @type {string}
4174
+ * @memberof ERC1155Item
4175
+ */
4176
+ 'token_id': string;
4177
+ /**
4178
+ * A string representing the price at which the user is willing to sell the token. This value is provided in the smallest unit of the token (e.g., wei for Ethereum).
4179
+ * @type {string}
4180
+ * @memberof ERC1155Item
4181
+ */
4182
+ 'amount': string;
4183
+ }
4184
+ /**
4185
+ * @export
4186
+ * @enum {string}
4187
+ */
4188
+ declare enum ERC1155ItemTypeEnum {
4189
+ Erc1155 = "ERC1155"
4190
+ }
4159
4191
 
4160
4192
  /**
4161
4193
  * Immutable zkEVM API
@@ -4168,25 +4200,37 @@ type NFTMetadataAttributeValue = boolean | number | string;
4168
4200
  * https://openapi-generator.tech
4169
4201
  * Do not edit the class manually.
4170
4202
  */
4171
-
4172
4203
  /**
4173
4204
  *
4174
4205
  * @export
4175
- * @interface NFTMetadataAttribute
4206
+ * @interface ERC20Item
4176
4207
  */
4177
- interface NFTMetadataAttribute {
4208
+ interface ERC20Item {
4178
4209
  /**
4179
- * The metadata trait type
4210
+ * Token type user is offering, which in this case is ERC20
4180
4211
  * @type {string}
4181
- * @memberof NFTMetadataAttribute
4212
+ * @memberof ERC20Item
4182
4213
  */
4183
- 'trait_type': string;
4214
+ 'type': ERC20ItemTypeEnum;
4184
4215
  /**
4185
- *
4186
- * @type {NFTMetadataAttributeValue}
4187
- * @memberof NFTMetadataAttribute
4216
+ * Address of ERC20 token
4217
+ * @type {string}
4218
+ * @memberof ERC20Item
4188
4219
  */
4189
- 'value': NFTMetadataAttributeValue;
4220
+ 'contract_address': string;
4221
+ /**
4222
+ * A string representing the price at which the user is willing to sell the token. This value is provided in the smallest unit of the token (e.g., wei for Ethereum).
4223
+ * @type {string}
4224
+ * @memberof ERC20Item
4225
+ */
4226
+ 'amount': string;
4227
+ }
4228
+ /**
4229
+ * @export
4230
+ * @enum {string}
4231
+ */
4232
+ declare enum ERC20ItemTypeEnum {
4233
+ Erc20 = "ERC20"
4190
4234
  }
4191
4235
 
4192
4236
  /**
@@ -4200,93 +4244,37 @@ interface NFTMetadataAttribute {
4200
4244
  * https://openapi-generator.tech
4201
4245
  * Do not edit the class manually.
4202
4246
  */
4203
-
4204
4247
  /**
4205
4248
  *
4206
4249
  * @export
4207
- * @interface NFTMetadataRequest
4250
+ * @interface ERC721Item
4208
4251
  */
4209
- interface NFTMetadataRequest {
4252
+ interface ERC721Item {
4210
4253
  /**
4211
- * The name of the NFT
4212
- * @type {string}
4213
- * @memberof NFTMetadataRequest
4214
- */
4215
- 'name'?: string | null;
4216
- /**
4217
- * The description of the NFT
4218
- * @type {string}
4219
- * @memberof NFTMetadataRequest
4220
- */
4221
- 'description'?: string | null;
4222
- /**
4223
- * The image url of the NFT
4224
- * @type {string}
4225
- * @memberof NFTMetadataRequest
4226
- */
4227
- 'image'?: string | null;
4228
- /**
4229
- * The external link of the NFT
4254
+ * Token type user is offering, which in this case is ERC721
4230
4255
  * @type {string}
4231
- * @memberof NFTMetadataRequest
4256
+ * @memberof ERC721Item
4232
4257
  */
4233
- 'external_url'?: string | null;
4258
+ 'type': ERC721ItemTypeEnum;
4234
4259
  /**
4235
- * The animation url of the NFT
4260
+ * Address of ERC721 token
4236
4261
  * @type {string}
4237
- * @memberof NFTMetadataRequest
4262
+ * @memberof ERC721Item
4238
4263
  */
4239
- 'animation_url'?: string | null;
4264
+ 'contract_address': string;
4240
4265
  /**
4241
- * The youtube link of the NFT
4266
+ * ID of ERC721 token
4242
4267
  * @type {string}
4243
- * @memberof NFTMetadataRequest
4244
- */
4245
- 'youtube_url'?: string | null;
4246
- /**
4247
- * List of Metadata attributes
4248
- * @type {Array<NFTMetadataAttribute>}
4249
- * @memberof NFTMetadataRequest
4268
+ * @memberof ERC721Item
4250
4269
  */
4251
- 'attributes'?: Array<NFTMetadataAttribute> | null;
4270
+ 'token_id': string;
4252
4271
  }
4253
-
4254
- /**
4255
- * Immutable zkEVM API
4256
- * Immutable Multi Rollup API
4257
- *
4258
- * The version of the OpenAPI document: 1.0.0
4259
- * Contact: support@immutable.com
4260
- *
4261
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4262
- * https://openapi-generator.tech
4263
- * Do not edit the class manually.
4264
- */
4265
-
4266
4272
  /**
4267
- *
4268
- * @export
4269
- * @interface MintAsset
4270
- */
4271
- interface MintAsset {
4272
- /**
4273
- * The ID of this asset in the system that originates the mint request
4274
- * @type {string}
4275
- * @memberof MintAsset
4276
- */
4277
- 'reference_id': string;
4278
- /**
4279
- * The address of the receiver
4280
- * @type {string}
4281
- * @memberof MintAsset
4282
- */
4283
- 'owner_address': string;
4284
- /**
4285
- *
4286
- * @type {NFTMetadataRequest}
4287
- * @memberof MintAsset
4288
- */
4289
- 'metadata'?: NFTMetadataRequest;
4273
+ * @export
4274
+ * @enum {string}
4275
+ */
4276
+ declare enum ERC721ItemTypeEnum {
4277
+ Erc721 = "ERC721"
4290
4278
  }
4291
4279
 
4292
4280
  /**
@@ -4302,17 +4290,17 @@ interface MintAsset {
4302
4290
  */
4303
4291
 
4304
4292
  /**
4305
- *
4293
+ * Single activity
4306
4294
  * @export
4307
- * @interface CreateMintRequestRequest
4295
+ * @interface GetActivityResult
4308
4296
  */
4309
- interface CreateMintRequestRequest {
4297
+ interface GetActivityResult {
4310
4298
  /**
4311
- * List of nft to be minted
4312
- * @type {Array<MintAsset>}
4313
- * @memberof CreateMintRequestRequest
4299
+ *
4300
+ * @type {Activity}
4301
+ * @memberof GetActivityResult
4314
4302
  */
4315
- 'assets': Array<MintAsset>;
4303
+ 'result': Activity;
4316
4304
  }
4317
4305
 
4318
4306
  /**
@@ -4326,36 +4314,19 @@ interface CreateMintRequestRequest {
4326
4314
  * https://openapi-generator.tech
4327
4315
  * Do not edit the class manually.
4328
4316
  */
4317
+
4329
4318
  /**
4330
- *
4319
+ * Single Collection
4331
4320
  * @export
4332
- * @interface CreateMintRequestResult
4321
+ * @interface GetCollectionResult
4333
4322
  */
4334
- interface CreateMintRequestResult {
4335
- /**
4336
- *
4337
- * @type {string}
4338
- * @memberof CreateMintRequestResult
4339
- */
4340
- 'imx_mint_requests_limit': string;
4341
- /**
4342
- *
4343
- * @type {string}
4344
- * @memberof CreateMintRequestResult
4345
- */
4346
- 'imx_mint_requests_limit_reset': string;
4347
- /**
4348
- *
4349
- * @type {string}
4350
- * @memberof CreateMintRequestResult
4351
- */
4352
- 'imx_remaining_mint_requests': string;
4323
+ interface GetCollectionResult {
4353
4324
  /**
4354
4325
  *
4355
- * @type {string}
4356
- * @memberof CreateMintRequestResult
4326
+ * @type {Collection}
4327
+ * @memberof GetCollectionResult
4357
4328
  */
4358
- 'imx_mint_requests_retry_after': string;
4329
+ 'result': Collection;
4359
4330
  }
4360
4331
 
4361
4332
  /**
@@ -4370,43 +4341,11 @@ interface CreateMintRequestResult {
4370
4341
  * Do not edit the class manually.
4371
4342
  */
4372
4343
  /**
4373
- *
4344
+ * @type NFTMetadataAttributeValue
4345
+ * The metadata trait value
4374
4346
  * @export
4375
- * @interface ERC1155Item
4376
4347
  */
4377
- interface ERC1155Item {
4378
- /**
4379
- * Token type user is offering, which in this case is ERC1155
4380
- * @type {string}
4381
- * @memberof ERC1155Item
4382
- */
4383
- 'type': ERC1155ItemTypeEnum;
4384
- /**
4385
- * Address of ERC1155 token
4386
- * @type {string}
4387
- * @memberof ERC1155Item
4388
- */
4389
- 'contract_address': string;
4390
- /**
4391
- * ID of ERC1155 token
4392
- * @type {string}
4393
- * @memberof ERC1155Item
4394
- */
4395
- 'token_id': string;
4396
- /**
4397
- * A string representing the price at which the user is willing to sell the token. This value is provided in the smallest unit of the token (e.g., wei for Ethereum).
4398
- * @type {string}
4399
- * @memberof ERC1155Item
4400
- */
4401
- 'amount': string;
4402
- }
4403
- /**
4404
- * @export
4405
- * @enum {string}
4406
- */
4407
- declare enum ERC1155ItemTypeEnum {
4408
- Erc1155 = "ERC1155"
4409
- }
4348
+ type NFTMetadataAttributeValue = boolean | number | string;
4410
4349
 
4411
4350
  /**
4412
4351
  * Immutable zkEVM API
@@ -4419,133 +4358,25 @@ declare enum ERC1155ItemTypeEnum {
4419
4358
  * https://openapi-generator.tech
4420
4359
  * Do not edit the class manually.
4421
4360
  */
4422
- /**
4423
- *
4424
- * @export
4425
- * @interface ERC20Item
4426
- */
4427
- interface ERC20Item {
4428
- /**
4429
- * Token type user is offering, which in this case is ERC20
4430
- * @type {string}
4431
- * @memberof ERC20Item
4432
- */
4433
- 'type': ERC20ItemTypeEnum;
4434
- /**
4435
- * Address of ERC20 token
4436
- * @type {string}
4437
- * @memberof ERC20Item
4438
- */
4439
- 'contract_address': string;
4440
- /**
4441
- * A string representing the price at which the user is willing to sell the token. This value is provided in the smallest unit of the token (e.g., wei for Ethereum).
4442
- * @type {string}
4443
- * @memberof ERC20Item
4444
- */
4445
- 'amount': string;
4446
- }
4447
- /**
4448
- * @export
4449
- * @enum {string}
4450
- */
4451
- declare enum ERC20ItemTypeEnum {
4452
- Erc20 = "ERC20"
4453
- }
4454
4361
 
4455
- /**
4456
- * Immutable zkEVM API
4457
- * Immutable Multi Rollup API
4458
- *
4459
- * The version of the OpenAPI document: 1.0.0
4460
- * Contact: support@immutable.com
4461
- *
4462
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4463
- * https://openapi-generator.tech
4464
- * Do not edit the class manually.
4465
- */
4466
4362
  /**
4467
4363
  *
4468
4364
  * @export
4469
- * @interface ERC721Item
4365
+ * @interface NFTMetadataAttribute
4470
4366
  */
4471
- interface ERC721Item {
4472
- /**
4473
- * Token type user is offering, which in this case is ERC721
4474
- * @type {string}
4475
- * @memberof ERC721Item
4476
- */
4477
- 'type': ERC721ItemTypeEnum;
4478
- /**
4479
- * Address of ERC721 token
4480
- * @type {string}
4481
- * @memberof ERC721Item
4482
- */
4483
- 'contract_address': string;
4367
+ interface NFTMetadataAttribute {
4484
4368
  /**
4485
- * ID of ERC721 token
4369
+ * The metadata trait type
4486
4370
  * @type {string}
4487
- * @memberof ERC721Item
4488
- */
4489
- 'token_id': string;
4490
- }
4491
- /**
4492
- * @export
4493
- * @enum {string}
4494
- */
4495
- declare enum ERC721ItemTypeEnum {
4496
- Erc721 = "ERC721"
4497
- }
4498
-
4499
- /**
4500
- * Immutable zkEVM API
4501
- * Immutable Multi Rollup API
4502
- *
4503
- * The version of the OpenAPI document: 1.0.0
4504
- * Contact: support@immutable.com
4505
- *
4506
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4507
- * https://openapi-generator.tech
4508
- * Do not edit the class manually.
4509
- */
4510
-
4511
- /**
4512
- * Single activity
4513
- * @export
4514
- * @interface GetActivityResult
4515
- */
4516
- interface GetActivityResult {
4517
- /**
4518
- *
4519
- * @type {Activity}
4520
- * @memberof GetActivityResult
4371
+ * @memberof NFTMetadataAttribute
4521
4372
  */
4522
- 'result': Activity;
4523
- }
4524
-
4525
- /**
4526
- * Immutable zkEVM API
4527
- * Immutable Multi Rollup API
4528
- *
4529
- * The version of the OpenAPI document: 1.0.0
4530
- * Contact: support@immutable.com
4531
- *
4532
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4533
- * https://openapi-generator.tech
4534
- * Do not edit the class manually.
4535
- */
4536
-
4537
- /**
4538
- * Single Collection
4539
- * @export
4540
- * @interface GetCollectionResult
4541
- */
4542
- interface GetCollectionResult {
4373
+ 'trait_type': string;
4543
4374
  /**
4544
4375
  *
4545
- * @type {Collection}
4546
- * @memberof GetCollectionResult
4376
+ * @type {NFTMetadataAttributeValue}
4377
+ * @memberof NFTMetadataAttribute
4547
4378
  */
4548
- 'result': Collection;
4379
+ 'value': NFTMetadataAttributeValue;
4549
4380
  }
4550
4381
 
4551
4382
  /**
@@ -5337,38 +5168,6 @@ interface ListMetadataResult {
5337
5168
  'page': Page;
5338
5169
  }
5339
5170
 
5340
- /**
5341
- * Immutable zkEVM API
5342
- * Immutable Multi Rollup API
5343
- *
5344
- * The version of the OpenAPI document: 1.0.0
5345
- * Contact: support@immutable.com
5346
- *
5347
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5348
- * https://openapi-generator.tech
5349
- * Do not edit the class manually.
5350
- */
5351
-
5352
- /**
5353
- * List mint requests
5354
- * @export
5355
- * @interface ListMintRequestsResult
5356
- */
5357
- interface ListMintRequestsResult {
5358
- /**
5359
- * List of mint requests
5360
- * @type {Array<GetMintRequestResult>}
5361
- * @memberof ListMintRequestsResult
5362
- */
5363
- 'result': Array<GetMintRequestResult>;
5364
- /**
5365
- *
5366
- * @type {Page}
5367
- * @memberof ListMintRequestsResult
5368
- */
5369
- 'page': Page;
5370
- }
5371
-
5372
5171
  /**
5373
5172
  * Immutable zkEVM API
5374
5173
  * Immutable Multi Rollup API
@@ -5712,6 +5511,106 @@ interface MetadataRefreshRateLimitResult {
5712
5511
  'retry_after': string;
5713
5512
  }
5714
5513
 
5514
+ /**
5515
+ * Immutable zkEVM API
5516
+ * Immutable Multi Rollup API
5517
+ *
5518
+ * The version of the OpenAPI document: 1.0.0
5519
+ * Contact: support@immutable.com
5520
+ *
5521
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5522
+ * https://openapi-generator.tech
5523
+ * Do not edit the class manually.
5524
+ */
5525
+
5526
+ /**
5527
+ *
5528
+ * @export
5529
+ * @interface NFTMetadataRequest
5530
+ */
5531
+ interface NFTMetadataRequest {
5532
+ /**
5533
+ * The name of the NFT
5534
+ * @type {string}
5535
+ * @memberof NFTMetadataRequest
5536
+ */
5537
+ 'name'?: string | null;
5538
+ /**
5539
+ * The description of the NFT
5540
+ * @type {string}
5541
+ * @memberof NFTMetadataRequest
5542
+ */
5543
+ 'description'?: string | null;
5544
+ /**
5545
+ * The image url of the NFT
5546
+ * @type {string}
5547
+ * @memberof NFTMetadataRequest
5548
+ */
5549
+ 'image'?: string | null;
5550
+ /**
5551
+ * The external link of the NFT
5552
+ * @type {string}
5553
+ * @memberof NFTMetadataRequest
5554
+ */
5555
+ 'external_url'?: string | null;
5556
+ /**
5557
+ * The animation url of the NFT
5558
+ * @type {string}
5559
+ * @memberof NFTMetadataRequest
5560
+ */
5561
+ 'animation_url'?: string | null;
5562
+ /**
5563
+ * The youtube link of the NFT
5564
+ * @type {string}
5565
+ * @memberof NFTMetadataRequest
5566
+ */
5567
+ 'youtube_url'?: string | null;
5568
+ /**
5569
+ * List of Metadata attributes
5570
+ * @type {Array<NFTMetadataAttribute>}
5571
+ * @memberof NFTMetadataRequest
5572
+ */
5573
+ 'attributes'?: Array<NFTMetadataAttribute> | null;
5574
+ }
5575
+
5576
+ /**
5577
+ * Immutable zkEVM API
5578
+ * Immutable Multi Rollup API
5579
+ *
5580
+ * The version of the OpenAPI document: 1.0.0
5581
+ * Contact: support@immutable.com
5582
+ *
5583
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5584
+ * https://openapi-generator.tech
5585
+ * Do not edit the class manually.
5586
+ */
5587
+
5588
+ /**
5589
+ *
5590
+ * @export
5591
+ * @interface MintAsset
5592
+ */
5593
+ interface MintAsset {
5594
+ /**
5595
+ * The ID of this asset in the system that originates the mint request
5596
+ * @type {string}
5597
+ * @memberof MintAsset
5598
+ */
5599
+ 'reference_id': string;
5600
+ /**
5601
+ * The address of the receiver
5602
+ * @type {string}
5603
+ * @memberof MintAsset
5604
+ */
5605
+ 'owner_address': string;
5606
+ /**
5607
+ *
5608
+ * @type {NFTMetadataRequest}
5609
+ * @memberof MintAsset
5610
+ */
5611
+ 'metadata'?: NFTMetadataRequest;
5612
+ }
5613
+
5715
5614
  /**
5716
5615
  * Immutable zkEVM API
5717
5616
  * Immutable Multi Rollup API
@@ -6505,56 +6404,6 @@ interface ListOwnersByContractAddressRequestParams {
6505
6404
  * Do not edit the class manually.
6506
6405
  */
6507
6406
 
6508
- /**
6509
- * Request parameters for createMintRequest operation in NftsApi.
6510
- * @export
6511
- * @interface CreateMintRequestRequest
6512
- */
6513
- interface CreateMintRequestRequestParams {
6514
- /**
6515
- * The address of contract
6516
- * @type {string}
6517
- * @memberof CreateMintRequest
6518
- */
6519
- readonly contractAddress: string;
6520
- /**
6521
- * The name of chain
6522
- * @type {string}
6523
- * @memberof CreateMintRequest
6524
- */
6525
- readonly chainName: string;
6526
- /**
6527
- * the request body
6528
- * @type {CreateMintRequestRequest}
6529
- * @memberof CreateMintRequest
6530
- */
6531
- readonly createMintRequestRequest: CreateMintRequestRequest;
6532
- }
6533
- /**
6534
- * Request parameters for getMintRequest operation in NftsApi.
6535
- * @export
6536
- * @interface GetMintRequestRequest
6537
- */
6538
- interface GetMintRequestRequestParams {
6539
- /**
6540
- * The address of contract
6541
- * @type {string}
6542
- * @memberof GetMintRequest
6543
- */
6544
- readonly contractAddress: string;
6545
- /**
6546
- * The name of chain
6547
- * @type {string}
6548
- * @memberof GetMintRequest
6549
- */
6550
- readonly chainName: string;
6551
- /**
6552
- * The ID of the mint request
6553
- * @type {string}
6554
- * @memberof GetMintRequest
6555
- */
6556
- readonly referenceId: string;
6557
- }
6558
6407
  /**
6559
6408
  * Request parameters for getNFT operation in NftsApi.
6560
6409
  * @export
@@ -6814,9 +6663,6 @@ type index_d_Collection = Collection;
6814
6663
  type index_d_CollectionContractType = CollectionContractType;
6815
6664
  declare const index_d_CollectionContractType: typeof CollectionContractType;
6816
6665
  type index_d_CollectionMetadata = CollectionMetadata;
6817
- type index_d_CreateMintRequestRequest = CreateMintRequestRequest;
6818
- type index_d_CreateMintRequestRequestParams = CreateMintRequestRequestParams;
6819
- type index_d_CreateMintRequestResult = CreateMintRequestResult;
6820
6666
  type index_d_Deposit = Deposit;
6821
6667
  type index_d_ERC1155Item = ERC1155Item;
6822
6668
  type index_d_ERC1155ItemTypeEnum = ERC1155ItemTypeEnum;
@@ -6834,7 +6680,6 @@ type index_d_GetCollectionResult = GetCollectionResult;
6834
6680
  type index_d_GetERC20TokenRequestParams = GetERC20TokenRequestParams;
6835
6681
  type index_d_GetMetadataRequestParams = GetMetadataRequestParams;
6836
6682
  type index_d_GetMetadataResult = GetMetadataResult;
6837
- type index_d_GetMintRequestRequestParams = GetMintRequestRequestParams;
6838
6683
  type index_d_GetMintRequestResult = GetMintRequestResult;
6839
6684
  type index_d_GetNFTRequestParams = GetNFTRequestParams;
6840
6685
  type index_d_GetNFTResult = GetNFTResult;
@@ -6855,7 +6700,6 @@ type index_d_ListERC20TokensRequestParams = ListERC20TokensRequestParams;
6855
6700
  type index_d_ListMetadataForChainRequestParams = ListMetadataForChainRequestParams;
6856
6701
  type index_d_ListMetadataRequestParams = ListMetadataRequestParams;
6857
6702
  type index_d_ListMetadataResult = ListMetadataResult;
6858
- type index_d_ListMintRequestsResult = ListMintRequestsResult;
6859
6703
  type index_d_ListNFTOwnersRequestParams = ListNFTOwnersRequestParams;
6860
6704
  type index_d_ListNFTOwnersResult = ListNFTOwnersResult;
6861
6705
  type index_d_ListNFTsByAccountAddressRequestParams = ListNFTsByAccountAddressRequestParams;
@@ -6948,9 +6792,6 @@ declare namespace index_d {
6948
6792
  index_d_Collection as Collection,
6949
6793
  index_d_CollectionContractType as CollectionContractType,
6950
6794
  index_d_CollectionMetadata as CollectionMetadata,
6951
- index_d_CreateMintRequestRequest as CreateMintRequestRequest,
6952
- index_d_CreateMintRequestRequestParams as CreateMintRequestRequestParams,
6953
- index_d_CreateMintRequestResult as CreateMintRequestResult,
6954
6795
  index_d_Deposit as Deposit,
6955
6796
  index_d_ERC1155Item as ERC1155Item,
6956
6797
  index_d_ERC1155ItemTypeEnum as ERC1155ItemTypeEnum,
@@ -6965,7 +6806,6 @@ declare namespace index_d {
6965
6806
  index_d_GetERC20TokenRequestParams as GetERC20TokenRequestParams,
6966
6807
  index_d_GetMetadataRequestParams as GetMetadataRequestParams,
6967
6808
  index_d_GetMetadataResult as GetMetadataResult,
6968
- index_d_GetMintRequestRequestParams as GetMintRequestRequestParams,
6969
6809
  index_d_GetMintRequestResult as GetMintRequestResult,
6970
6810
  index_d_GetNFTRequestParams as GetNFTRequestParams,
6971
6811
  index_d_GetNFTResult as GetNFTResult,
@@ -6986,7 +6826,6 @@ declare namespace index_d {
6986
6826
  index_d_ListMetadataForChainRequestParams as ListMetadataForChainRequestParams,
6987
6827
  index_d_ListMetadataRequestParams as ListMetadataRequestParams,
6988
6828
  index_d_ListMetadataResult as ListMetadataResult,
6989
- index_d_ListMintRequestsResult as ListMintRequestsResult,
6990
6829
  index_d_ListNFTOwnersRequestParams as ListNFTOwnersRequestParams,
6991
6830
  index_d_ListNFTOwnersResult as ListNFTOwnersResult,
6992
6831
  index_d_ListNFTsByAccountAddressRequestParams as ListNFTsByAccountAddressRequestParams,