diff --git a/packages/internal/generated-clients/src/blockchain-data/.openapi-generator/FILES b/packages/internal/generated-clients/src/blockchain-data/.openapi-generator/FILES index 9858cf56b6..965e81e724 100644 --- a/packages/internal/generated-clients/src/blockchain-data/.openapi-generator/FILES +++ b/packages/internal/generated-clients/src/blockchain-data/.openapi-generator/FILES @@ -103,6 +103,7 @@ models/nft.ts models/nftcontract-type.ts models/nftmetadata-attribute-value.ts models/nftmetadata-attribute.ts +models/nftmetadata-request.ts models/nftowner.ts models/nftsale.ts models/nftwith-balance.ts diff --git a/packages/internal/generated-clients/src/blockchain-data/models/get-mint-request-result.ts b/packages/internal/generated-clients/src/blockchain-data/models/get-mint-request-result.ts index 6eb542a2dd..81ca8bcde7 100644 --- a/packages/internal/generated-clients/src/blockchain-data/models/get-mint-request-result.ts +++ b/packages/internal/generated-clients/src/blockchain-data/models/get-mint-request-result.ts @@ -59,6 +59,12 @@ export interface GetMintRequestResult { * @memberof GetMintRequestResult */ 'token_id': string | null; + /** + * The id of the mint activity associated with this mint request + * @type {string} + * @memberof GetMintRequestResult + */ + 'activity_id'?: string | null; /** * The transaction hash of the activity * @type {string} diff --git a/packages/internal/generated-clients/src/blockchain-data/models/index.ts b/packages/internal/generated-clients/src/blockchain-data/models/index.ts index 6d38fda578..3feea64027 100644 --- a/packages/internal/generated-clients/src/blockchain-data/models/index.ts +++ b/packages/internal/generated-clients/src/blockchain-data/models/index.ts @@ -59,6 +59,7 @@ export * from './nft'; export * from './nftcontract-type'; export * from './nftmetadata-attribute'; export * from './nftmetadata-attribute-value'; +export * from './nftmetadata-request'; export * from './nftowner'; export * from './nftsale'; export * from './nftwith-balance'; diff --git a/packages/internal/generated-clients/src/blockchain-data/models/mint-asset.ts b/packages/internal/generated-clients/src/blockchain-data/models/mint-asset.ts index a6130acaf8..e9835c5a79 100644 --- a/packages/internal/generated-clients/src/blockchain-data/models/mint-asset.ts +++ b/packages/internal/generated-clients/src/blockchain-data/models/mint-asset.ts @@ -15,7 +15,7 @@ // May contain unused imports in some cases // @ts-ignore -import { RefreshableNFTAttributes } from './refreshable-nftattributes'; +import { NFTMetadataRequest } from './nftmetadata-request'; /** * @@ -37,9 +37,9 @@ export interface MintAsset { 'owner_address': string; /** * - * @type {RefreshableNFTAttributes} + * @type {NFTMetadataRequest} * @memberof MintAsset */ - 'metadata'?: RefreshableNFTAttributes; + 'metadata'?: NFTMetadataRequest; } diff --git a/packages/internal/generated-clients/src/blockchain-data/models/nftmetadata-request.ts b/packages/internal/generated-clients/src/blockchain-data/models/nftmetadata-request.ts new file mode 100644 index 0000000000..ba28cfc3c3 --- /dev/null +++ b/packages/internal/generated-clients/src/blockchain-data/models/nftmetadata-request.ts @@ -0,0 +1,69 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable zkEVM API + * Immutable Multi Rollup API + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { NFTMetadataAttribute } from './nftmetadata-attribute'; + +/** + * + * @export + * @interface NFTMetadataRequest + */ +export interface NFTMetadataRequest { + /** + * The name of the NFT + * @type {string} + * @memberof NFTMetadataRequest + */ + 'name'?: string | null; + /** + * The description of the NFT + * @type {string} + * @memberof NFTMetadataRequest + */ + 'description'?: string | null; + /** + * The image url of the NFT + * @type {string} + * @memberof NFTMetadataRequest + */ + 'image'?: string | null; + /** + * The external link of the NFT + * @type {string} + * @memberof NFTMetadataRequest + */ + 'external_url'?: string | null; + /** + * The animation url of the NFT + * @type {string} + * @memberof NFTMetadataRequest + */ + 'animation_url'?: string | null; + /** + * The youtube link of the NFT + * @type {string} + * @memberof NFTMetadataRequest + */ + 'youtube_url'?: string | null; + /** + * List of Metadata attributes + * @type {Array} + * @memberof NFTMetadataRequest + */ + 'attributes'?: Array | null; +} + diff --git a/packages/internal/generated-clients/src/blockchain-data/models/refreshable-nftattributes.ts b/packages/internal/generated-clients/src/blockchain-data/models/refreshable-nftattributes.ts index 9372db43da..b59a70a348 100644 --- a/packages/internal/generated-clients/src/blockchain-data/models/refreshable-nftattributes.ts +++ b/packages/internal/generated-clients/src/blockchain-data/models/refreshable-nftattributes.ts @@ -16,54 +16,14 @@ // May contain unused imports in some cases // @ts-ignore import { NFTMetadataAttribute } from './nftmetadata-attribute'; +// May contain unused imports in some cases +// @ts-ignore +import { NFTMetadataRequest } from './nftmetadata-request'; /** - * + * @type RefreshableNFTAttributes * @export - * @interface RefreshableNFTAttributes */ -export interface RefreshableNFTAttributes { - /** - * The name of the NFT - * @type {string} - * @memberof RefreshableNFTAttributes - */ - 'name': string | null; - /** - * The description of the NFT - * @type {string} - * @memberof RefreshableNFTAttributes - */ - 'description': string | null; - /** - * The image url of the NFT - * @type {string} - * @memberof RefreshableNFTAttributes - */ - 'image': string | null; - /** - * The external link of the NFT - * @type {string} - * @memberof RefreshableNFTAttributes - */ - 'external_url': string | null; - /** - * The animation url of the NFT - * @type {string} - * @memberof RefreshableNFTAttributes - */ - 'animation_url': string | null; - /** - * The youtube link of the NFT - * @type {string} - * @memberof RefreshableNFTAttributes - */ - 'youtube_url': string | null; - /** - * List of Metadata attributes - * @type {Array} - * @memberof RefreshableNFTAttributes - */ - 'attributes': Array | null; -} +export type RefreshableNFTAttributes = NFTMetadataRequest; + diff --git a/packages/internal/generated-clients/src/mr-openapi.json b/packages/internal/generated-clients/src/mr-openapi.json index f37baa5276..b7dcdb40c0 100644 --- a/packages/internal/generated-clients/src/mr-openapi.json +++ b/packages/internal/generated-clients/src/mr-openapi.json @@ -4559,6 +4559,22 @@ ] }, "RefreshableNFTAttributes": { + "allOf": [ + { + "$ref": "#/components/schemas/NFTMetadataRequest" + } + ], + "required": [ + "name", + "description", + "image", + "external_url", + "animation_url", + "youtube_url", + "attributes" + ] + }, + "NFTMetadataRequest": { "type": "object", "properties": { "name": { @@ -4605,16 +4621,7 @@ "$ref": "#/components/schemas/NFTMetadataAttribute" } } - }, - "required": [ - "name", - "description", - "image", - "external_url", - "animation_url", - "youtube_url", - "attributes" - ] + } }, "RefreshNFTMetadataByTokenIDRequest": { "type": "object", @@ -4815,7 +4822,7 @@ "example": "0xc344c05eef8876e517072f879dae8905aa2b956b" }, "metadata": { - "$ref": "#/components/schemas/RefreshableNFTAttributes" + "$ref": "#/components/schemas/NFTMetadataRequest" } }, "required": [ @@ -4848,6 +4855,13 @@ "nullable": true, "description": "An `uint256` token id as string. Only available when the mint request succeeds" }, + "activity_id": { + "type": "string", + "format": "uuid", + "example": "4e28df8d-f65c-4c11-ba04-6a9dd47b179b", + "nullable": true, + "description": "The id of the mint activity associated with this mint request" + }, "transaction_hash": { "type": "string", "nullable": true, diff --git a/packages/internal/generated-clients/src/multi-rollup/.openapi-generator/FILES b/packages/internal/generated-clients/src/multi-rollup/.openapi-generator/FILES index ce4e555456..be8f8022a9 100644 --- a/packages/internal/generated-clients/src/multi-rollup/.openapi-generator/FILES +++ b/packages/internal/generated-clients/src/multi-rollup/.openapi-generator/FILES @@ -112,6 +112,7 @@ models/nft.ts models/nftcontract-type.ts models/nftmetadata-attribute-value.ts models/nftmetadata-attribute.ts +models/nftmetadata-request.ts models/nftowner.ts models/nftsale.ts models/nftwith-balance.ts diff --git a/packages/internal/generated-clients/src/multi-rollup/models/get-mint-request-result.ts b/packages/internal/generated-clients/src/multi-rollup/models/get-mint-request-result.ts index 6eb542a2dd..81ca8bcde7 100644 --- a/packages/internal/generated-clients/src/multi-rollup/models/get-mint-request-result.ts +++ b/packages/internal/generated-clients/src/multi-rollup/models/get-mint-request-result.ts @@ -59,6 +59,12 @@ export interface GetMintRequestResult { * @memberof GetMintRequestResult */ 'token_id': string | null; + /** + * The id of the mint activity associated with this mint request + * @type {string} + * @memberof GetMintRequestResult + */ + 'activity_id'?: string | null; /** * The transaction hash of the activity * @type {string} diff --git a/packages/internal/generated-clients/src/multi-rollup/models/index.ts b/packages/internal/generated-clients/src/multi-rollup/models/index.ts index 30e9e38d19..5bf59a4c14 100644 --- a/packages/internal/generated-clients/src/multi-rollup/models/index.ts +++ b/packages/internal/generated-clients/src/multi-rollup/models/index.ts @@ -83,6 +83,7 @@ export * from './nft'; export * from './nftcontract-type'; export * from './nftmetadata-attribute'; export * from './nftmetadata-attribute-value'; +export * from './nftmetadata-request'; export * from './nftowner'; export * from './nftsale'; export * from './nftwith-balance'; diff --git a/packages/internal/generated-clients/src/multi-rollup/models/mint-asset.ts b/packages/internal/generated-clients/src/multi-rollup/models/mint-asset.ts index a6130acaf8..e9835c5a79 100644 --- a/packages/internal/generated-clients/src/multi-rollup/models/mint-asset.ts +++ b/packages/internal/generated-clients/src/multi-rollup/models/mint-asset.ts @@ -15,7 +15,7 @@ // May contain unused imports in some cases // @ts-ignore -import { RefreshableNFTAttributes } from './refreshable-nftattributes'; +import { NFTMetadataRequest } from './nftmetadata-request'; /** * @@ -37,9 +37,9 @@ export interface MintAsset { 'owner_address': string; /** * - * @type {RefreshableNFTAttributes} + * @type {NFTMetadataRequest} * @memberof MintAsset */ - 'metadata'?: RefreshableNFTAttributes; + 'metadata'?: NFTMetadataRequest; } diff --git a/packages/internal/generated-clients/src/multi-rollup/models/nftmetadata-request.ts b/packages/internal/generated-clients/src/multi-rollup/models/nftmetadata-request.ts new file mode 100644 index 0000000000..ba28cfc3c3 --- /dev/null +++ b/packages/internal/generated-clients/src/multi-rollup/models/nftmetadata-request.ts @@ -0,0 +1,69 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable zkEVM API + * Immutable Multi Rollup API + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { NFTMetadataAttribute } from './nftmetadata-attribute'; + +/** + * + * @export + * @interface NFTMetadataRequest + */ +export interface NFTMetadataRequest { + /** + * The name of the NFT + * @type {string} + * @memberof NFTMetadataRequest + */ + 'name'?: string | null; + /** + * The description of the NFT + * @type {string} + * @memberof NFTMetadataRequest + */ + 'description'?: string | null; + /** + * The image url of the NFT + * @type {string} + * @memberof NFTMetadataRequest + */ + 'image'?: string | null; + /** + * The external link of the NFT + * @type {string} + * @memberof NFTMetadataRequest + */ + 'external_url'?: string | null; + /** + * The animation url of the NFT + * @type {string} + * @memberof NFTMetadataRequest + */ + 'animation_url'?: string | null; + /** + * The youtube link of the NFT + * @type {string} + * @memberof NFTMetadataRequest + */ + 'youtube_url'?: string | null; + /** + * List of Metadata attributes + * @type {Array} + * @memberof NFTMetadataRequest + */ + 'attributes'?: Array | null; +} + diff --git a/packages/internal/generated-clients/src/multi-rollup/models/refreshable-nftattributes.ts b/packages/internal/generated-clients/src/multi-rollup/models/refreshable-nftattributes.ts index 9372db43da..b59a70a348 100644 --- a/packages/internal/generated-clients/src/multi-rollup/models/refreshable-nftattributes.ts +++ b/packages/internal/generated-clients/src/multi-rollup/models/refreshable-nftattributes.ts @@ -16,54 +16,14 @@ // May contain unused imports in some cases // @ts-ignore import { NFTMetadataAttribute } from './nftmetadata-attribute'; +// May contain unused imports in some cases +// @ts-ignore +import { NFTMetadataRequest } from './nftmetadata-request'; /** - * + * @type RefreshableNFTAttributes * @export - * @interface RefreshableNFTAttributes */ -export interface RefreshableNFTAttributes { - /** - * The name of the NFT - * @type {string} - * @memberof RefreshableNFTAttributes - */ - 'name': string | null; - /** - * The description of the NFT - * @type {string} - * @memberof RefreshableNFTAttributes - */ - 'description': string | null; - /** - * The image url of the NFT - * @type {string} - * @memberof RefreshableNFTAttributes - */ - 'image': string | null; - /** - * The external link of the NFT - * @type {string} - * @memberof RefreshableNFTAttributes - */ - 'external_url': string | null; - /** - * The animation url of the NFT - * @type {string} - * @memberof RefreshableNFTAttributes - */ - 'animation_url': string | null; - /** - * The youtube link of the NFT - * @type {string} - * @memberof RefreshableNFTAttributes - */ - 'youtube_url': string | null; - /** - * List of Metadata attributes - * @type {Array} - * @memberof RefreshableNFTAttributes - */ - 'attributes': Array | null; -} +export type RefreshableNFTAttributes = NFTMetadataRequest; +