From dee644c73c61630f1e1112412f7223e0c313a7d0 Mon Sep 17 00:00:00 2001 From: Allan Almeida <152931211+allan-almeida-imtbl@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:28:13 +1100 Subject: [PATCH] breaking-change fix: Renamed Collection response object field to be consistent with NFT object (#1400) --- .../generated-clients/src/mr-openapi.json | 35 +++++++++++++++++-- .../src/multi-rollup/models/collection.ts | 2 +- .../models/fulfillment-data-request.ts | 2 +- 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/packages/internal/generated-clients/src/mr-openapi.json b/packages/internal/generated-clients/src/mr-openapi.json index 008afa0382..bfceb65636 100644 --- a/packages/internal/generated-clients/src/mr-openapi.json +++ b/packages/internal/generated-clients/src/mr-openapi.json @@ -3180,6 +3180,30 @@ "schema": { "type": "string" } + }, + "MintRequestsLimit": { + "description": "The mint requests limit available to the project for each time window.", + "schema": { + "type": "string" + } + }, + "MintRequestsLimitReset": { + "description": "The expiry date of the current time window.", + "schema": { + "type": "string" + } + }, + "MintRequestsLimitRemaining": { + "description": "The number of mint requests remaining in the current window.", + "schema": { + "type": "string" + } + }, + "MintRequestsRetryAfter": { + "description": "The number of seconds until the next refresh request can be made.", + "schema": { + "type": "string" + } } }, "schemas": { @@ -3742,7 +3766,7 @@ "example": "2022-08-16T17:43:26.991388Z", "description": "When the collection was last updated" }, - "last_metadata_synced_at": { + "metadata_synced_at": { "type": "string", "format": "date-time", "nullable": true, @@ -3763,7 +3787,7 @@ "metadata_uri", "indexed_at", "updated_at", - "last_metadata_synced_at" + "metadata_synced_at" ] }, "ListCollectionsResult": { @@ -3921,6 +3945,8 @@ "properties": { "metadata": { "type": "array", + "maxItems": 10, + "minItems": 1, "items": { "$ref": "#/components/schemas/RefreshMetadataByID" } @@ -4588,6 +4614,8 @@ "nft_metadata": { "type": "array", "description": "List of nft metadata to be refreshed", + "maxItems": 10, + "minItems": 1, "items": { "$ref": "#/components/schemas/RefreshMetadataByTokenID" } @@ -5112,7 +5140,8 @@ }, "required": [ "order_id", - "fees" + "fees", + "taker_address" ] }, "FulfillableOrder": { diff --git a/packages/internal/generated-clients/src/multi-rollup/models/collection.ts b/packages/internal/generated-clients/src/multi-rollup/models/collection.ts index 07c475a471..7eab4370c0 100644 --- a/packages/internal/generated-clients/src/multi-rollup/models/collection.ts +++ b/packages/internal/generated-clients/src/multi-rollup/models/collection.ts @@ -103,7 +103,7 @@ export interface Collection { * @type {string} * @memberof Collection */ - 'last_metadata_synced_at': string | null; + 'metadata_synced_at': string | null; } diff --git a/packages/internal/generated-clients/src/multi-rollup/models/fulfillment-data-request.ts b/packages/internal/generated-clients/src/multi-rollup/models/fulfillment-data-request.ts index 8a872d1b33..d10266c8f1 100644 --- a/packages/internal/generated-clients/src/multi-rollup/models/fulfillment-data-request.ts +++ b/packages/internal/generated-clients/src/multi-rollup/models/fulfillment-data-request.ts @@ -34,7 +34,7 @@ export interface FulfillmentDataRequest { * @type {string} * @memberof FulfillmentDataRequest */ - 'taker_address'?: string; + 'taker_address': string; /** * * @type {Array}