diff --git a/.fernignore b/.fernignore index 532fa3b5..d592c942 100644 --- a/.fernignore +++ b/.fernignore @@ -1,6 +1,7 @@ # Specify files that shouldn't be modified by Fern README.md +MIGRATION.md # Oauth Helpers src/api/types/OAuthScope.ts diff --git a/.mock/definition/__package__.yml b/.mock/definition/__package__.yml index 640e6348..a84481f7 100644 --- a/.mock/definition/__package__.yml +++ b/.mock/definition/__package__.yml @@ -551,10 +551,10 @@ types: CollectionItemFieldData: properties: name: - type: optional + type: string docs: Name of the Item slug: - type: optional + type: string docs: >- URL structure of the Item in your site. Note: Updates to an item slug will break all links referencing the old slug. @@ -592,7 +592,7 @@ types: type: optional docs: Boolean determining if the Item is set to draft default: false - fieldData: optional + fieldData: CollectionItemFieldData source: openapi: ../../../referenced-specs/v2.yml CollectionItemListPagination: @@ -620,6 +620,53 @@ types: pagination: optional source: openapi: ../../../referenced-specs/v2.yml + CollectionItemPostSingleFieldData: + properties: + name: + type: string + docs: Name of the Item + slug: + type: string + docs: >- + URL structure of the Item in your site. Note: Updates to an item slug + will break all links referencing the old slug. + extra-properties: true + source: + openapi: ../../../referenced-specs/v2.yml + inline: true + CollectionItemPostSingle: + docs: > + The fields that define the schema for a given Item are based on the + Collection that Item belongs to. Beyond the user defined fields, there are + a handful of additional fields that are automatically created for all + items + properties: + id: + type: optional + docs: Unique identifier for the Item + cmsLocaleId: + type: optional + docs: Identifier for the locale of the CMS item + lastPublished: + type: optional + docs: The date the item was last published + lastUpdated: + type: optional + docs: The date the item was last updated + createdOn: + type: optional + docs: The date the item was created + isArchived: + type: optional + docs: Boolean determining if the Item is set to archived + default: false + isDraft: + type: optional + docs: Boolean determining if the Item is set to draft + default: false + fieldData: CollectionItemPostSingleFieldData + source: + openapi: ../../../referenced-specs/v2.yml CollectionItemWithIdInputFieldData: properties: name: @@ -722,6 +769,53 @@ types: fieldData: optional source: openapi: ../../../referenced-specs/v2.yml + CollectionItemPatchSingleFieldData: + properties: + name: + type: optional + docs: Name of the Item + slug: + type: optional + docs: >- + URL structure of the Item in your site. Note: Updates to an item slug + will break all links referencing the old slug. + extra-properties: true + source: + openapi: ../../../referenced-specs/v2.yml + inline: true + CollectionItemPatchSingle: + docs: > + The fields that define the schema for a given Item are based on the + Collection that Item belongs to. Beyond the user defined fields, there are + a handful of additional fields that are automatically created for all + items + properties: + id: + type: optional + docs: Unique identifier for the Item + cmsLocaleId: + type: optional + docs: Identifier for the locale of the CMS item + lastPublished: + type: optional + docs: The date the item was last published + lastUpdated: + type: optional + docs: The date the item was last updated + createdOn: + type: optional + docs: The date the item was created + isArchived: + type: optional + docs: Boolean determining if the Item is set to archived + default: false + isDraft: + type: optional + docs: Boolean determining if the Item is set to draft + default: false + fieldData: optional + source: + openapi: ../../../referenced-specs/v2.yml PageSeo: docs: SEO-related fields for the Page properties: @@ -1280,7 +1374,7 @@ types: WebhookFilter: docs: >- Only supported for the `form_submission` trigger type. Filter for the form - you want Webhooks to be sent for. + you want Webhooks to be sent for. properties: name: type: optional @@ -1307,7 +1401,7 @@ types: type: optional docs: >- Only supported for the `form_submission` trigger type. Filter for the - form you want Webhooks to be sent for. + form you want Webhooks to be sent for. lastTriggered: type: optional docs: Date the Webhook instance was last triggered diff --git a/.mock/definition/collections/items.yml b/.mock/definition/collections/items.yml index a21b85fd..51c66e67 100644 --- a/.mock/definition/collections/items.yml +++ b/.mock/definition/collections/items.yml @@ -12,19 +12,19 @@ types: - desc source: openapi: ../../../referenced-specs/v2.yml - ItemsCreateItemRequestItems: + Multiple Items: properties: items: type: optional> - docs: An array of items to create + docs: List of collection items to create source: openapi: ../../../referenced-specs/v2.yml inline: true ItemsCreateItemRequest: discriminated: false union: - - root.CollectionItem - - ItemsCreateItemRequestItems + - root.CollectionItemPostSingle + - Multiple Items source: openapi: ../../../referenced-specs/v2.yml ItemsDeleteItemsRequestItemsItem: @@ -51,19 +51,11 @@ types: - desc source: openapi: ../../../referenced-specs/v2.yml - ItemsCreateItemLiveRequestItems: - properties: - items: - type: optional> - docs: List of collection items to create - source: - openapi: ../../../referenced-specs/v2.yml - inline: true ItemsCreateItemLiveRequest: discriminated: false union: - root.CollectionItem - - ItemsCreateItemLiveRequestItems + - Multiple Items source: openapi: ../../../referenced-specs/v2.yml ItemsDeleteItemsLiveRequestItemsItem: @@ -77,7 +69,7 @@ types: source: openapi: ../../../referenced-specs/v2.yml inline: true - CreateBulkCollectionItemRequestBodyFieldDataName: + Single CMS Item: properties: name: type: string @@ -94,6 +86,7 @@ types: openapi: ../../../referenced-specs/v2.yml inline: true CreateBulkCollectionItemRequestBodyFieldDataItem: + docs: A single CMS item to create properties: name: type: string @@ -112,8 +105,9 @@ types: CreateBulkCollectionItemRequestBodyFieldData: discriminated: false union: - - CreateBulkCollectionItemRequestBodyFieldDataName - - list + - Single CMS Item + - docs: A list of CMS items to create + type: list source: openapi: ../../../referenced-specs/v2.yml inline: true @@ -285,16 +279,16 @@ service: slug: product-manager response: body: - id: 42b720ef280c7a7a3be8cabe + id: id cmsLocaleId: 653ad57de882f528b32e810e - lastPublished: '2022-11-29T16:22:43.159Z' - lastUpdated: '2022-11-17T17:19:43.282Z' - createdOn: '2022-11-17T17:11:57.148Z' - isArchived: false - isDraft: false + lastPublished: '2023-03-17T18:47:35.560Z' + lastUpdated: '2023-03-17T18:47:35.560Z' + createdOn: '2023-03-17T18:47:35.560Z' + isArchived: true + isDraft: true fieldData: - name: Pan Galactic Gargle Blaster Recipe - slug: pan-galactic-gargle-blaster + name: My new item + slug: my-new-item delete-items: path: /collections/{collection_id}/items method: DELETE @@ -1033,7 +1027,7 @@ service: type: optional docs: Indicates whether the item is in draft state. default: false - fieldData: optional + fieldData: CreateBulkCollectionItemRequestBodyFieldData content-type: application/json response: docs: Request was successful @@ -1270,7 +1264,7 @@ service: docs: Unique identifier for an Item display-name: Update Collection Item request: - body: root.CollectionItem + body: root.CollectionItemPatchSingle content-type: application/json response: docs: Request was successful @@ -1286,11 +1280,6 @@ service: collection_id: 580e63fc8c9a982ac9b8b745 item_id: 580e64008c9a982ac9b8b754 request: - id: 42b720ef280c7a7a3be8cabe - cmsLocaleId: 653ad57de882f528b32e810e - lastPublished: '2022-11-29T16:22:43.159Z' - lastUpdated: '2022-11-17T17:19:43.282Z' - createdOn: '2022-11-17T17:11:57.148Z' isArchived: false isDraft: false fieldData: @@ -1425,7 +1414,7 @@ service: docs: Unique identifier for an Item display-name: Update Live Collection Item request: - body: root.CollectionItem + body: root.CollectionItemPatchSingle content-type: application/json response: docs: Request was successful @@ -1441,11 +1430,6 @@ service: collection_id: 580e63fc8c9a982ac9b8b745 item_id: 580e64008c9a982ac9b8b754 request: - id: 42b720ef280c7a7a3be8cabe - cmsLocaleId: 653ad57de882f528b32e810e - lastPublished: '2022-11-29T16:22:43.159Z' - lastUpdated: '2022-11-17T17:19:43.282Z' - createdOn: '2022-11-17T17:11:57.148Z' isArchived: false isDraft: false fieldData: diff --git a/.mock/definition/inventory.yml b/.mock/definition/inventory.yml index c1892c7e..14bd5c07 100644 --- a/.mock/definition/inventory.yml +++ b/.mock/definition/inventory.yml @@ -41,7 +41,7 @@ service: body: id: 5bfedb42bab0ad90fa7dad39 quantity: 100 - inventoryType: infinite + inventoryType: finite update: path: /collections/{collection_id}/items/{item_id}/inventory method: PATCH @@ -106,7 +106,7 @@ service: body: id: 5bfedb42bab0ad90fa7dad39 quantity: 100 - inventoryType: infinite + inventoryType: finite source: openapi: ../../../referenced-specs/v2.yml display-name: Inventory diff --git a/MIGRATION.md b/MIGRATION.md index d05cea5c..a93cd0c1 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -51,4 +51,4 @@ There are a few breaking changes with v3.0.0 of the Webflow JS SDK. Please see t ### Fixes - Some APIs that created resources (i.e. `collections.items.createItem()`) had request payload types that required an `id`, which is not possible to provide. This is no longer required. -- `fieldData` type in CMS Items now allows arbitrary extra key/value pairs +- `fieldData` type in CMS Items now allows arbitrary extra key/value pairs \ No newline at end of file diff --git a/package.json b/package.json index 09cb142f..c7c31d51 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webflow-api", - "version": "3.0.0", + "version": "3.0.1", "private": false, "repository": "https://github.com/webflow/js-webflow-api", "main": "./index.js", diff --git a/reference.md b/reference.md index 5633c5e1..bf9f6049 100644 --- a/reference.md +++ b/reference.md @@ -5368,11 +5368,6 @@ Required scope | `CMS:write` ```typescript await client.collections.items.updateItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", { - id: "42b720ef280c7a7a3be8cabe", - cmsLocaleId: "653ad57de882f528b32e810e", - lastPublished: "2022-11-29T16:22:43.159Z", - lastUpdated: "2022-11-17T17:19:43.282Z", - createdOn: "2022-11-17T17:11:57.148Z", isArchived: false, isDraft: false, fieldData: { @@ -5411,7 +5406,7 @@ await client.collections.items.updateItem("580e63fc8c9a982ac9b8b745", "580e64008
-**request:** `Webflow.CollectionItem` +**request:** `Webflow.CollectionItemPatchSingle`
@@ -5625,11 +5620,6 @@ Required scope | `CMS:write` ```typescript await client.collections.items.updateItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", { - id: "42b720ef280c7a7a3be8cabe", - cmsLocaleId: "653ad57de882f528b32e810e", - lastPublished: "2022-11-29T16:22:43.159Z", - lastUpdated: "2022-11-17T17:19:43.282Z", - createdOn: "2022-11-17T17:11:57.148Z", isArchived: false, isDraft: false, fieldData: { @@ -5668,7 +5658,7 @@ await client.collections.items.updateItemLive("580e63fc8c9a982ac9b8b745", "580e6
-**request:** `Webflow.CollectionItem` +**request:** `Webflow.CollectionItemPatchSingle`
diff --git a/src/api/resources/accessGroups/client/Client.ts b/src/api/resources/accessGroups/client/Client.ts index 1d94c810..d135d4b0 100644 --- a/src/api/resources/accessGroups/client/Client.ts +++ b/src/api/resources/accessGroups/client/Client.ts @@ -78,8 +78,8 @@ export class AccessGroups { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/assets/client/Client.ts b/src/api/resources/assets/client/Client.ts index eff78d1d..a2e14b03 100644 --- a/src/api/resources/assets/client/Client.ts +++ b/src/api/resources/assets/client/Client.ts @@ -58,8 +58,8 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -187,8 +187,8 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -309,8 +309,8 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -426,8 +426,8 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -542,8 +542,8 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -664,8 +664,8 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -790,8 +790,8 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -917,8 +917,8 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/collections/client/Client.ts b/src/api/resources/collections/client/Client.ts index a829c5fb..56c634f2 100644 --- a/src/api/resources/collections/client/Client.ts +++ b/src/api/resources/collections/client/Client.ts @@ -60,8 +60,8 @@ export class Collections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -186,8 +186,8 @@ export class Collections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -310,8 +310,8 @@ export class Collections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -427,8 +427,8 @@ export class Collections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/collections/resources/fields/client/Client.ts b/src/api/resources/collections/resources/fields/client/Client.ts index 83ee27d3..d3a319dc 100644 --- a/src/api/resources/collections/resources/fields/client/Client.ts +++ b/src/api/resources/collections/resources/fields/client/Client.ts @@ -75,8 +75,8 @@ export class Fields { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -200,8 +200,8 @@ export class Fields { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -324,8 +324,8 @@ export class Fields { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/collections/resources/items/client/Client.ts b/src/api/resources/collections/resources/items/client/Client.ts index 591f0880..ffaa2453 100644 --- a/src/api/resources/collections/resources/items/client/Client.ts +++ b/src/api/resources/collections/resources/items/client/Client.ts @@ -93,8 +93,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -246,8 +246,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -377,8 +377,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -553,8 +553,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -712,8 +712,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -865,8 +865,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -996,8 +996,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -1172,8 +1172,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -1315,7 +1315,7 @@ export class Items { */ public async createItems( collectionId: string, - request: Webflow.collections.CreateBulkCollectionItemRequestBody = {}, + request: Webflow.collections.CreateBulkCollectionItemRequestBody, requestOptions?: Items.RequestOptions ): Promise { const _response = await core.fetcher({ @@ -1328,8 +1328,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -1465,8 +1465,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -1598,8 +1598,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -1691,7 +1691,7 @@ export class Items { * * @param {string} collectionId - Unique identifier for a Collection * @param {string} itemId - Unique identifier for an Item - * @param {Webflow.CollectionItem} request + * @param {Webflow.CollectionItemPatchSingle} request * @param {Items.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Webflow.BadRequestError} @@ -1702,11 +1702,6 @@ export class Items { * * @example * await client.collections.items.updateItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", { - * id: "42b720ef280c7a7a3be8cabe", - * cmsLocaleId: "653ad57de882f528b32e810e", - * lastPublished: "2022-11-29T16:22:43.159Z", - * lastUpdated: "2022-11-17T17:19:43.282Z", - * createdOn: "2022-11-17T17:11:57.148Z", * isArchived: false, * isDraft: false, * fieldData: { @@ -1718,7 +1713,7 @@ export class Items { public async updateItem( collectionId: string, itemId: string, - request: Webflow.CollectionItem, + request: Webflow.CollectionItemPatchSingle, requestOptions?: Items.RequestOptions ): Promise { const _response = await core.fetcher({ @@ -1731,15 +1726,15 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, }, contentType: "application/json", requestType: "json", - body: serializers.CollectionItem.jsonOrThrow(request, { + body: serializers.CollectionItemPatchSingle.jsonOrThrow(request, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -1868,8 +1863,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -2003,8 +1998,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -2096,7 +2091,7 @@ export class Items { * * @param {string} collectionId - Unique identifier for a Collection * @param {string} itemId - Unique identifier for an Item - * @param {Webflow.CollectionItem} request + * @param {Webflow.CollectionItemPatchSingle} request * @param {Items.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Webflow.BadRequestError} @@ -2107,11 +2102,6 @@ export class Items { * * @example * await client.collections.items.updateItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", { - * id: "42b720ef280c7a7a3be8cabe", - * cmsLocaleId: "653ad57de882f528b32e810e", - * lastPublished: "2022-11-29T16:22:43.159Z", - * lastUpdated: "2022-11-17T17:19:43.282Z", - * createdOn: "2022-11-17T17:11:57.148Z", * isArchived: false, * isDraft: false, * fieldData: { @@ -2123,7 +2113,7 @@ export class Items { public async updateItemLive( collectionId: string, itemId: string, - request: Webflow.CollectionItem, + request: Webflow.CollectionItemPatchSingle, requestOptions?: Items.RequestOptions ): Promise { const _response = await core.fetcher({ @@ -2136,15 +2126,15 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, }, contentType: "application/json", requestType: "json", - body: serializers.CollectionItem.jsonOrThrow(request, { + body: serializers.CollectionItemPatchSingle.jsonOrThrow(request, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -2268,8 +2258,8 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.ts b/src/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.ts index 43701eac..3f0ef663 100644 --- a/src/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.ts +++ b/src/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.ts @@ -59,5 +59,5 @@ export interface CreateBulkCollectionItemRequestBody { isArchived?: boolean; /** Indicates whether the item is in draft state. */ isDraft?: boolean; - fieldData?: Webflow.collections.CreateBulkCollectionItemRequestBodyFieldData; + fieldData: Webflow.collections.CreateBulkCollectionItemRequestBodyFieldData; } diff --git a/src/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.ts b/src/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.ts index ba28059d..94272dd3 100644 --- a/src/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.ts +++ b/src/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.ts @@ -5,5 +5,7 @@ import * as Webflow from "../../../../../index"; export type CreateBulkCollectionItemRequestBodyFieldData = - | Webflow.collections.CreateBulkCollectionItemRequestBodyFieldDataName + | Webflow.collections.SingleCmsItem + /** + * A list of CMS items to create */ | Webflow.collections.CreateBulkCollectionItemRequestBodyFieldDataItem[]; diff --git a/src/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.ts b/src/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.ts index b6181f54..70f4bf43 100644 --- a/src/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.ts +++ b/src/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.ts @@ -2,6 +2,9 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * A single CMS item to create + */ export interface CreateBulkCollectionItemRequestBodyFieldDataItem { /** The name of the item. */ name: string; diff --git a/src/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.ts b/src/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.ts index 933fc7b8..d59fe0bd 100644 --- a/src/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.ts +++ b/src/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.ts @@ -4,4 +4,4 @@ import * as Webflow from "../../../../../index"; -export type ItemsCreateItemLiveRequest = Webflow.CollectionItem | Webflow.collections.ItemsCreateItemLiveRequestItems; +export type ItemsCreateItemLiveRequest = Webflow.CollectionItem | Webflow.collections.MultipleItems; diff --git a/src/api/resources/collections/resources/items/types/ItemsCreateItemRequest.ts b/src/api/resources/collections/resources/items/types/ItemsCreateItemRequest.ts index 936dafe3..f92fe137 100644 --- a/src/api/resources/collections/resources/items/types/ItemsCreateItemRequest.ts +++ b/src/api/resources/collections/resources/items/types/ItemsCreateItemRequest.ts @@ -4,4 +4,4 @@ import * as Webflow from "../../../../../index"; -export type ItemsCreateItemRequest = Webflow.CollectionItem | Webflow.collections.ItemsCreateItemRequestItems; +export type ItemsCreateItemRequest = Webflow.CollectionItemPostSingle | Webflow.collections.MultipleItems; diff --git a/src/api/resources/collections/resources/items/types/ItemsCreateItemRequestItems.ts b/src/api/resources/collections/resources/items/types/ItemsCreateItemRequestItems.ts deleted file mode 100644 index 678d6422..00000000 --- a/src/api/resources/collections/resources/items/types/ItemsCreateItemRequestItems.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Webflow from "../../../../../index"; - -export interface ItemsCreateItemRequestItems { - /** An array of items to create */ - items?: Webflow.CollectionItem[]; -} diff --git a/src/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.ts b/src/api/resources/collections/resources/items/types/MultipleItems.ts similarity index 80% rename from src/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.ts rename to src/api/resources/collections/resources/items/types/MultipleItems.ts index 5040e3e6..fc463307 100644 --- a/src/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.ts +++ b/src/api/resources/collections/resources/items/types/MultipleItems.ts @@ -4,7 +4,7 @@ import * as Webflow from "../../../../../index"; -export interface ItemsCreateItemLiveRequestItems { +export interface MultipleItems { /** List of collection items to create */ items?: Webflow.CollectionItem[]; } diff --git a/src/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.ts b/src/api/resources/collections/resources/items/types/SingleCmsItem.ts similarity index 83% rename from src/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.ts rename to src/api/resources/collections/resources/items/types/SingleCmsItem.ts index 78e3a858..c321f2ff 100644 --- a/src/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.ts +++ b/src/api/resources/collections/resources/items/types/SingleCmsItem.ts @@ -2,7 +2,7 @@ * This file was auto-generated by Fern from our API Definition. */ -export interface CreateBulkCollectionItemRequestBodyFieldDataName { +export interface SingleCmsItem { /** The name of the item. */ name: string; /** diff --git a/src/api/resources/collections/resources/items/types/index.ts b/src/api/resources/collections/resources/items/types/index.ts index be18fc71..1cb02f3a 100644 --- a/src/api/resources/collections/resources/items/types/index.ts +++ b/src/api/resources/collections/resources/items/types/index.ts @@ -1,14 +1,13 @@ export * from "./ItemsListItemsRequestSortBy"; export * from "./ItemsListItemsRequestSortOrder"; -export * from "./ItemsCreateItemRequestItems"; +export * from "./MultipleItems"; export * from "./ItemsCreateItemRequest"; export * from "./ItemsDeleteItemsRequestItemsItem"; export * from "./ItemsListItemsLiveRequestSortBy"; export * from "./ItemsListItemsLiveRequestSortOrder"; -export * from "./ItemsCreateItemLiveRequestItems"; export * from "./ItemsCreateItemLiveRequest"; export * from "./ItemsDeleteItemsLiveRequestItemsItem"; -export * from "./CreateBulkCollectionItemRequestBodyFieldDataName"; +export * from "./SingleCmsItem"; export * from "./CreateBulkCollectionItemRequestBodyFieldDataItem"; export * from "./CreateBulkCollectionItemRequestBodyFieldData"; export * from "./ItemsPublishItemResponse"; diff --git a/src/api/resources/ecommerce/client/Client.ts b/src/api/resources/ecommerce/client/Client.ts index d72ef68b..2d791b19 100644 --- a/src/api/resources/ecommerce/client/Client.ts +++ b/src/api/resources/ecommerce/client/Client.ts @@ -63,8 +63,8 @@ export class Ecommerce { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/forms/client/Client.ts b/src/api/resources/forms/client/Client.ts index 9580fe32..881b0a83 100644 --- a/src/api/resources/forms/client/Client.ts +++ b/src/api/resources/forms/client/Client.ts @@ -75,8 +75,8 @@ export class Forms { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -198,8 +198,8 @@ export class Forms { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -333,8 +333,8 @@ export class Forms { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -457,8 +457,8 @@ export class Forms { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -585,8 +585,8 @@ export class Forms { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/inventory/client/Client.ts b/src/api/resources/inventory/client/Client.ts index 4baf3ab0..e325d3db 100644 --- a/src/api/resources/inventory/client/Client.ts +++ b/src/api/resources/inventory/client/Client.ts @@ -65,8 +65,8 @@ export class Inventory { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -204,8 +204,8 @@ export class Inventory { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/orders/client/Client.ts b/src/api/resources/orders/client/Client.ts index b203acee..55aaed0f 100644 --- a/src/api/resources/orders/client/Client.ts +++ b/src/api/resources/orders/client/Client.ts @@ -79,8 +79,8 @@ export class Orders { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -205,8 +205,8 @@ export class Orders { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -339,8 +339,8 @@ export class Orders { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -476,8 +476,8 @@ export class Orders { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -611,8 +611,8 @@ export class Orders { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -744,8 +744,8 @@ export class Orders { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/pages/client/Client.ts b/src/api/resources/pages/client/Client.ts index d93daece..9b979d59 100644 --- a/src/api/resources/pages/client/Client.ts +++ b/src/api/resources/pages/client/Client.ts @@ -80,8 +80,8 @@ export class Pages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -211,8 +211,8 @@ export class Pages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -366,8 +366,8 @@ export class Pages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -513,8 +513,8 @@ export class Pages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -659,8 +659,8 @@ export class Pages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/pages/resources/scripts/client/Client.ts b/src/api/resources/pages/resources/scripts/client/Client.ts index e0d94788..d37fa59a 100644 --- a/src/api/resources/pages/resources/scripts/client/Client.ts +++ b/src/api/resources/pages/resources/scripts/client/Client.ts @@ -67,8 +67,8 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -208,8 +208,8 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -336,8 +336,8 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/products/client/Client.ts b/src/api/resources/products/client/Client.ts index 895d9e20..409ff6d4 100644 --- a/src/api/resources/products/client/Client.ts +++ b/src/api/resources/products/client/Client.ts @@ -78,8 +78,8 @@ export class Products { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -219,8 +219,8 @@ export class Products { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -353,8 +353,8 @@ export class Products { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -487,8 +487,8 @@ export class Products { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -628,8 +628,8 @@ export class Products { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -773,8 +773,8 @@ export class Products { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/scripts/client/Client.ts b/src/api/resources/scripts/client/Client.ts index 7f8368fd..29c5914d 100644 --- a/src/api/resources/scripts/client/Client.ts +++ b/src/api/resources/scripts/client/Client.ts @@ -65,8 +65,8 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -201,8 +201,8 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -340,8 +340,8 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/sites/client/Client.ts b/src/api/resources/sites/client/Client.ts index 206e2020..3d7e6f56 100644 --- a/src/api/resources/sites/client/Client.ts +++ b/src/api/resources/sites/client/Client.ts @@ -57,8 +57,8 @@ export class Sites { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -162,8 +162,8 @@ export class Sites { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -279,8 +279,8 @@ export class Sites { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -405,8 +405,8 @@ export class Sites { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/sites/resources/activityLogs/client/Client.ts b/src/api/resources/sites/resources/activityLogs/client/Client.ts index c3887d83..6a880613 100644 --- a/src/api/resources/sites/resources/activityLogs/client/Client.ts +++ b/src/api/resources/sites/resources/activityLogs/client/Client.ts @@ -70,8 +70,8 @@ export class ActivityLogs { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/sites/resources/scripts/client/Client.ts b/src/api/resources/sites/resources/scripts/client/Client.ts index d40ff627..4f185a56 100644 --- a/src/api/resources/sites/resources/scripts/client/Client.ts +++ b/src/api/resources/sites/resources/scripts/client/Client.ts @@ -63,8 +63,8 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -204,8 +204,8 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -328,8 +328,8 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -458,8 +458,8 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/token/client/Client.ts b/src/api/resources/token/client/Client.ts index 7064ddd3..76ea155f 100644 --- a/src/api/resources/token/client/Client.ts +++ b/src/api/resources/token/client/Client.ts @@ -54,8 +54,8 @@ export class Token { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -135,8 +135,8 @@ export class Token { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/users/client/Client.ts b/src/api/resources/users/client/Client.ts index b93dffc3..5e7bb583 100644 --- a/src/api/resources/users/client/Client.ts +++ b/src/api/resources/users/client/Client.ts @@ -78,8 +78,8 @@ export class Users { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -200,8 +200,8 @@ export class Users { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -323,8 +323,8 @@ export class Users { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -456,8 +456,8 @@ export class Users { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -594,8 +594,8 @@ export class Users { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/resources/webhooks/client/Client.ts b/src/api/resources/webhooks/client/Client.ts index ab32bf48..2e35090c 100644 --- a/src/api/resources/webhooks/client/Client.ts +++ b/src/api/resources/webhooks/client/Client.ts @@ -58,8 +58,8 @@ export class Webhooks { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -191,8 +191,8 @@ export class Webhooks { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -313,8 +313,8 @@ export class Webhooks { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, @@ -430,8 +430,8 @@ export class Webhooks { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "3.0.0", - "User-Agent": "webflow-api/3.0.0", + "X-Fern-SDK-Version": "3.0.1", + "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...requestOptions?.headers, diff --git a/src/api/types/CollectionItem.ts b/src/api/types/CollectionItem.ts index d97781bf..e2713fa4 100644 --- a/src/api/types/CollectionItem.ts +++ b/src/api/types/CollectionItem.ts @@ -22,5 +22,5 @@ export interface CollectionItem { isArchived?: boolean; /** Boolean determining if the Item is set to draft */ isDraft?: boolean; - fieldData?: Webflow.CollectionItemFieldData; + fieldData: Webflow.CollectionItemFieldData; } diff --git a/src/api/types/CollectionItemFieldData.ts b/src/api/types/CollectionItemFieldData.ts index 20ff95fb..818da81f 100644 --- a/src/api/types/CollectionItemFieldData.ts +++ b/src/api/types/CollectionItemFieldData.ts @@ -4,9 +4,9 @@ export interface CollectionItemFieldData { /** Name of the Item */ - name?: string; + name: string; /** URL structure of the Item in your site. Note: Updates to an item slug will break all links referencing the old slug. */ - slug?: string; + slug: string; /** Accepts any additional properties */ [key: string]: any; } diff --git a/src/api/types/CollectionItemPatchSingle.ts b/src/api/types/CollectionItemPatchSingle.ts new file mode 100644 index 00000000..2b750e65 --- /dev/null +++ b/src/api/types/CollectionItemPatchSingle.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Webflow from "../index"; + +/** + * The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items + */ +export interface CollectionItemPatchSingle { + /** Unique identifier for the Item */ + id?: string; + /** Identifier for the locale of the CMS item */ + cmsLocaleId?: string; + /** The date the item was last published */ + lastPublished?: string; + /** The date the item was last updated */ + lastUpdated?: string; + /** The date the item was created */ + createdOn?: string; + /** Boolean determining if the Item is set to archived */ + isArchived?: boolean; + /** Boolean determining if the Item is set to draft */ + isDraft?: boolean; + fieldData?: Webflow.CollectionItemPatchSingleFieldData; +} diff --git a/src/api/types/CollectionItemPatchSingleFieldData.ts b/src/api/types/CollectionItemPatchSingleFieldData.ts new file mode 100644 index 00000000..d2436c68 --- /dev/null +++ b/src/api/types/CollectionItemPatchSingleFieldData.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export interface CollectionItemPatchSingleFieldData { + /** Name of the Item */ + name?: string; + /** URL structure of the Item in your site. Note: Updates to an item slug will break all links referencing the old slug. */ + slug?: string; + /** Accepts any additional properties */ + [key: string]: any; +} diff --git a/src/api/types/CollectionItemPostSingle.ts b/src/api/types/CollectionItemPostSingle.ts new file mode 100644 index 00000000..8ba8f220 --- /dev/null +++ b/src/api/types/CollectionItemPostSingle.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Webflow from "../index"; + +/** + * The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items + */ +export interface CollectionItemPostSingle { + /** Unique identifier for the Item */ + id?: string; + /** Identifier for the locale of the CMS item */ + cmsLocaleId?: string; + /** The date the item was last published */ + lastPublished?: string; + /** The date the item was last updated */ + lastUpdated?: string; + /** The date the item was created */ + createdOn?: string; + /** Boolean determining if the Item is set to archived */ + isArchived?: boolean; + /** Boolean determining if the Item is set to draft */ + isDraft?: boolean; + fieldData: Webflow.CollectionItemPostSingleFieldData; +} diff --git a/src/api/types/CollectionItemPostSingleFieldData.ts b/src/api/types/CollectionItemPostSingleFieldData.ts new file mode 100644 index 00000000..82d4a3a7 --- /dev/null +++ b/src/api/types/CollectionItemPostSingleFieldData.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export interface CollectionItemPostSingleFieldData { + /** Name of the Item */ + name: string; + /** URL structure of the Item in your site. Note: Updates to an item slug will break all links referencing the old slug. */ + slug: string; + /** Accepts any additional properties */ + [key: string]: any; +} diff --git a/src/api/types/index.ts b/src/api/types/index.ts index e2f02c81..cd6788c7 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -35,11 +35,15 @@ export * from "./CollectionItemFieldData"; export * from "./CollectionItem"; export * from "./CollectionItemListPagination"; export * from "./CollectionItemList"; +export * from "./CollectionItemPostSingleFieldData"; +export * from "./CollectionItemPostSingle"; export * from "./CollectionItemWithIdInputFieldData"; export * from "./CollectionItemWithIdInput"; export * from "./CollectionItemListNoPagination"; export * from "./BulkCollectionItemFieldData"; export * from "./BulkCollectionItem"; +export * from "./CollectionItemPatchSingleFieldData"; +export * from "./CollectionItemPatchSingle"; export * from "./PageSeo"; export * from "./PageOpenGraph"; export * from "./Page"; diff --git a/src/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.ts b/src/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.ts index ce3b3841..cce75caa 100644 --- a/src/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.ts +++ b/src/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.ts @@ -14,7 +14,7 @@ export const CreateBulkCollectionItemRequestBody: core.serialization.Schema< cmsLocaleIds: core.serialization.list(core.serialization.string()).optional(), isArchived: core.serialization.boolean().optional(), isDraft: core.serialization.boolean().optional(), - fieldData: CreateBulkCollectionItemRequestBodyFieldData.optional(), + fieldData: CreateBulkCollectionItemRequestBodyFieldData, }); export declare namespace CreateBulkCollectionItemRequestBody { @@ -22,6 +22,6 @@ export declare namespace CreateBulkCollectionItemRequestBody { cmsLocaleIds?: string[] | null; isArchived?: boolean | null; isDraft?: boolean | null; - fieldData?: CreateBulkCollectionItemRequestBodyFieldData.Raw | null; + fieldData: CreateBulkCollectionItemRequestBodyFieldData.Raw; } } diff --git a/src/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.ts b/src/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.ts index c4ca1aba..2d1bbda4 100644 --- a/src/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.ts +++ b/src/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.ts @@ -5,19 +5,17 @@ import * as serializers from "../../../../../index"; import * as Webflow from "../../../../../../api/index"; import * as core from "../../../../../../core"; -import { CreateBulkCollectionItemRequestBodyFieldDataName } from "./CreateBulkCollectionItemRequestBodyFieldDataName"; +import { SingleCmsItem } from "./SingleCmsItem"; import { CreateBulkCollectionItemRequestBodyFieldDataItem } from "./CreateBulkCollectionItemRequestBodyFieldDataItem"; export const CreateBulkCollectionItemRequestBodyFieldData: core.serialization.Schema< serializers.collections.CreateBulkCollectionItemRequestBodyFieldData.Raw, Webflow.collections.CreateBulkCollectionItemRequestBodyFieldData > = core.serialization.undiscriminatedUnion([ - CreateBulkCollectionItemRequestBodyFieldDataName, + SingleCmsItem, core.serialization.list(CreateBulkCollectionItemRequestBodyFieldDataItem), ]); export declare namespace CreateBulkCollectionItemRequestBodyFieldData { - type Raw = - | CreateBulkCollectionItemRequestBodyFieldDataName.Raw - | CreateBulkCollectionItemRequestBodyFieldDataItem.Raw[]; + type Raw = SingleCmsItem.Raw | CreateBulkCollectionItemRequestBodyFieldDataItem.Raw[]; } diff --git a/src/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.ts b/src/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.ts index ce34ebc7..4ce52623 100644 --- a/src/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.ts +++ b/src/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.ts @@ -6,13 +6,13 @@ import * as serializers from "../../../../../index"; import * as Webflow from "../../../../../../api/index"; import * as core from "../../../../../../core"; import { CollectionItem } from "../../../../../types/CollectionItem"; -import { ItemsCreateItemLiveRequestItems } from "./ItemsCreateItemLiveRequestItems"; +import { MultipleItems } from "./MultipleItems"; export const ItemsCreateItemLiveRequest: core.serialization.Schema< serializers.collections.ItemsCreateItemLiveRequest.Raw, Webflow.collections.ItemsCreateItemLiveRequest -> = core.serialization.undiscriminatedUnion([CollectionItem, ItemsCreateItemLiveRequestItems]); +> = core.serialization.undiscriminatedUnion([CollectionItem, MultipleItems]); export declare namespace ItemsCreateItemLiveRequest { - type Raw = CollectionItem.Raw | ItemsCreateItemLiveRequestItems.Raw; + type Raw = CollectionItem.Raw | MultipleItems.Raw; } diff --git a/src/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.ts b/src/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.ts deleted file mode 100644 index b52f56a5..00000000 --- a/src/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../../../../../index"; -import * as Webflow from "../../../../../../api/index"; -import * as core from "../../../../../../core"; -import { CollectionItem } from "../../../../../types/CollectionItem"; - -export const ItemsCreateItemLiveRequestItems: core.serialization.ObjectSchema< - serializers.collections.ItemsCreateItemLiveRequestItems.Raw, - Webflow.collections.ItemsCreateItemLiveRequestItems -> = core.serialization.object({ - items: core.serialization.list(CollectionItem).optional(), -}); - -export declare namespace ItemsCreateItemLiveRequestItems { - interface Raw { - items?: CollectionItem.Raw[] | null; - } -} diff --git a/src/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.ts b/src/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.ts index 9e300c4c..3905f1d5 100644 --- a/src/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.ts +++ b/src/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.ts @@ -5,14 +5,14 @@ import * as serializers from "../../../../../index"; import * as Webflow from "../../../../../../api/index"; import * as core from "../../../../../../core"; -import { CollectionItem } from "../../../../../types/CollectionItem"; -import { ItemsCreateItemRequestItems } from "./ItemsCreateItemRequestItems"; +import { CollectionItemPostSingle } from "../../../../../types/CollectionItemPostSingle"; +import { MultipleItems } from "./MultipleItems"; export const ItemsCreateItemRequest: core.serialization.Schema< serializers.collections.ItemsCreateItemRequest.Raw, Webflow.collections.ItemsCreateItemRequest -> = core.serialization.undiscriminatedUnion([CollectionItem, ItemsCreateItemRequestItems]); +> = core.serialization.undiscriminatedUnion([CollectionItemPostSingle, MultipleItems]); export declare namespace ItemsCreateItemRequest { - type Raw = CollectionItem.Raw | ItemsCreateItemRequestItems.Raw; + type Raw = CollectionItemPostSingle.Raw | MultipleItems.Raw; } diff --git a/src/serialization/resources/collections/resources/items/types/ItemsCreateItemRequestItems.ts b/src/serialization/resources/collections/resources/items/types/MultipleItems.ts similarity index 66% rename from src/serialization/resources/collections/resources/items/types/ItemsCreateItemRequestItems.ts rename to src/serialization/resources/collections/resources/items/types/MultipleItems.ts index 971df0ca..86176a26 100644 --- a/src/serialization/resources/collections/resources/items/types/ItemsCreateItemRequestItems.ts +++ b/src/serialization/resources/collections/resources/items/types/MultipleItems.ts @@ -7,14 +7,14 @@ import * as Webflow from "../../../../../../api/index"; import * as core from "../../../../../../core"; import { CollectionItem } from "../../../../../types/CollectionItem"; -export const ItemsCreateItemRequestItems: core.serialization.ObjectSchema< - serializers.collections.ItemsCreateItemRequestItems.Raw, - Webflow.collections.ItemsCreateItemRequestItems +export const MultipleItems: core.serialization.ObjectSchema< + serializers.collections.MultipleItems.Raw, + Webflow.collections.MultipleItems > = core.serialization.object({ items: core.serialization.list(CollectionItem).optional(), }); -export declare namespace ItemsCreateItemRequestItems { +export declare namespace MultipleItems { interface Raw { items?: CollectionItem.Raw[] | null; } diff --git a/src/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.ts b/src/serialization/resources/collections/resources/items/types/SingleCmsItem.ts similarity index 59% rename from src/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.ts rename to src/serialization/resources/collections/resources/items/types/SingleCmsItem.ts index 955e2086..92de79d6 100644 --- a/src/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.ts +++ b/src/serialization/resources/collections/resources/items/types/SingleCmsItem.ts @@ -6,9 +6,9 @@ import * as serializers from "../../../../../index"; import * as Webflow from "../../../../../../api/index"; import * as core from "../../../../../../core"; -export const CreateBulkCollectionItemRequestBodyFieldDataName: core.serialization.ObjectSchema< - serializers.collections.CreateBulkCollectionItemRequestBodyFieldDataName.Raw, - Webflow.collections.CreateBulkCollectionItemRequestBodyFieldDataName +export const SingleCmsItem: core.serialization.ObjectSchema< + serializers.collections.SingleCmsItem.Raw, + Webflow.collections.SingleCmsItem > = core.serialization .object({ name: core.serialization.string(), @@ -16,7 +16,7 @@ export const CreateBulkCollectionItemRequestBodyFieldDataName: core.serializatio }) .passthrough(); -export declare namespace CreateBulkCollectionItemRequestBodyFieldDataName { +export declare namespace SingleCmsItem { interface Raw { name: string; slug: string; diff --git a/src/serialization/resources/collections/resources/items/types/index.ts b/src/serialization/resources/collections/resources/items/types/index.ts index be18fc71..1cb02f3a 100644 --- a/src/serialization/resources/collections/resources/items/types/index.ts +++ b/src/serialization/resources/collections/resources/items/types/index.ts @@ -1,14 +1,13 @@ export * from "./ItemsListItemsRequestSortBy"; export * from "./ItemsListItemsRequestSortOrder"; -export * from "./ItemsCreateItemRequestItems"; +export * from "./MultipleItems"; export * from "./ItemsCreateItemRequest"; export * from "./ItemsDeleteItemsRequestItemsItem"; export * from "./ItemsListItemsLiveRequestSortBy"; export * from "./ItemsListItemsLiveRequestSortOrder"; -export * from "./ItemsCreateItemLiveRequestItems"; export * from "./ItemsCreateItemLiveRequest"; export * from "./ItemsDeleteItemsLiveRequestItemsItem"; -export * from "./CreateBulkCollectionItemRequestBodyFieldDataName"; +export * from "./SingleCmsItem"; export * from "./CreateBulkCollectionItemRequestBodyFieldDataItem"; export * from "./CreateBulkCollectionItemRequestBodyFieldData"; export * from "./ItemsPublishItemResponse"; diff --git a/src/serialization/types/CollectionItem.ts b/src/serialization/types/CollectionItem.ts index 2cd08980..aece6015 100644 --- a/src/serialization/types/CollectionItem.ts +++ b/src/serialization/types/CollectionItem.ts @@ -16,7 +16,7 @@ export const CollectionItem: core.serialization.ObjectSchema = core.serialization .object({ - name: core.serialization.string().optional(), - slug: core.serialization.string().optional(), + name: core.serialization.string(), + slug: core.serialization.string(), }) .passthrough(); export declare namespace CollectionItemFieldData { interface Raw { - name?: string | null; - slug?: string | null; + name: string; + slug: string; [key: string]: any; } } diff --git a/src/serialization/types/CollectionItemPatchSingle.ts b/src/serialization/types/CollectionItemPatchSingle.ts new file mode 100644 index 00000000..81b72cf0 --- /dev/null +++ b/src/serialization/types/CollectionItemPatchSingle.ts @@ -0,0 +1,35 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../index"; +import * as Webflow from "../../api/index"; +import * as core from "../../core"; +import { CollectionItemPatchSingleFieldData } from "./CollectionItemPatchSingleFieldData"; + +export const CollectionItemPatchSingle: core.serialization.ObjectSchema< + serializers.CollectionItemPatchSingle.Raw, + Webflow.CollectionItemPatchSingle +> = core.serialization.object({ + id: core.serialization.string().optional(), + cmsLocaleId: core.serialization.string().optional(), + lastPublished: core.serialization.string().optional(), + lastUpdated: core.serialization.string().optional(), + createdOn: core.serialization.string().optional(), + isArchived: core.serialization.boolean().optional(), + isDraft: core.serialization.boolean().optional(), + fieldData: CollectionItemPatchSingleFieldData.optional(), +}); + +export declare namespace CollectionItemPatchSingle { + interface Raw { + id?: string | null; + cmsLocaleId?: string | null; + lastPublished?: string | null; + lastUpdated?: string | null; + createdOn?: string | null; + isArchived?: boolean | null; + isDraft?: boolean | null; + fieldData?: CollectionItemPatchSingleFieldData.Raw | null; + } +} diff --git a/src/serialization/types/CollectionItemPatchSingleFieldData.ts b/src/serialization/types/CollectionItemPatchSingleFieldData.ts new file mode 100644 index 00000000..01c63731 --- /dev/null +++ b/src/serialization/types/CollectionItemPatchSingleFieldData.ts @@ -0,0 +1,25 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../index"; +import * as Webflow from "../../api/index"; +import * as core from "../../core"; + +export const CollectionItemPatchSingleFieldData: core.serialization.ObjectSchema< + serializers.CollectionItemPatchSingleFieldData.Raw, + Webflow.CollectionItemPatchSingleFieldData +> = core.serialization + .object({ + name: core.serialization.string().optional(), + slug: core.serialization.string().optional(), + }) + .passthrough(); + +export declare namespace CollectionItemPatchSingleFieldData { + interface Raw { + name?: string | null; + slug?: string | null; + [key: string]: any; + } +} diff --git a/src/serialization/types/CollectionItemPostSingle.ts b/src/serialization/types/CollectionItemPostSingle.ts new file mode 100644 index 00000000..cb6f5382 --- /dev/null +++ b/src/serialization/types/CollectionItemPostSingle.ts @@ -0,0 +1,35 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../index"; +import * as Webflow from "../../api/index"; +import * as core from "../../core"; +import { CollectionItemPostSingleFieldData } from "./CollectionItemPostSingleFieldData"; + +export const CollectionItemPostSingle: core.serialization.ObjectSchema< + serializers.CollectionItemPostSingle.Raw, + Webflow.CollectionItemPostSingle +> = core.serialization.object({ + id: core.serialization.string().optional(), + cmsLocaleId: core.serialization.string().optional(), + lastPublished: core.serialization.string().optional(), + lastUpdated: core.serialization.string().optional(), + createdOn: core.serialization.string().optional(), + isArchived: core.serialization.boolean().optional(), + isDraft: core.serialization.boolean().optional(), + fieldData: CollectionItemPostSingleFieldData, +}); + +export declare namespace CollectionItemPostSingle { + interface Raw { + id?: string | null; + cmsLocaleId?: string | null; + lastPublished?: string | null; + lastUpdated?: string | null; + createdOn?: string | null; + isArchived?: boolean | null; + isDraft?: boolean | null; + fieldData: CollectionItemPostSingleFieldData.Raw; + } +} diff --git a/src/serialization/types/CollectionItemPostSingleFieldData.ts b/src/serialization/types/CollectionItemPostSingleFieldData.ts new file mode 100644 index 00000000..c2438657 --- /dev/null +++ b/src/serialization/types/CollectionItemPostSingleFieldData.ts @@ -0,0 +1,25 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../index"; +import * as Webflow from "../../api/index"; +import * as core from "../../core"; + +export const CollectionItemPostSingleFieldData: core.serialization.ObjectSchema< + serializers.CollectionItemPostSingleFieldData.Raw, + Webflow.CollectionItemPostSingleFieldData +> = core.serialization + .object({ + name: core.serialization.string(), + slug: core.serialization.string(), + }) + .passthrough(); + +export declare namespace CollectionItemPostSingleFieldData { + interface Raw { + name: string; + slug: string; + [key: string]: any; + } +} diff --git a/src/serialization/types/index.ts b/src/serialization/types/index.ts index e2f02c81..cd6788c7 100644 --- a/src/serialization/types/index.ts +++ b/src/serialization/types/index.ts @@ -35,11 +35,15 @@ export * from "./CollectionItemFieldData"; export * from "./CollectionItem"; export * from "./CollectionItemListPagination"; export * from "./CollectionItemList"; +export * from "./CollectionItemPostSingleFieldData"; +export * from "./CollectionItemPostSingle"; export * from "./CollectionItemWithIdInputFieldData"; export * from "./CollectionItemWithIdInput"; export * from "./CollectionItemListNoPagination"; export * from "./BulkCollectionItemFieldData"; export * from "./BulkCollectionItem"; +export * from "./CollectionItemPatchSingleFieldData"; +export * from "./CollectionItemPatchSingle"; export * from "./PageSeo"; export * from "./PageOpenGraph"; export * from "./Page"; diff --git a/src/version.ts b/src/version.ts index f29e2e55..68e5be6b 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "3.0.0"; +export const SDK_VERSION = "3.0.1"; diff --git a/yarn.lock b/yarn.lock index 208b836d..cf95e3e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -248,9 +248,9 @@ "@babel/types" "^7.25.9" "@babel/traverse@^7.25.9": - version "7.26.3" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.26.3.tgz#1ebfc75bd748d8f96b3cc63af5e82ebd4c37ba35" - integrity sha512-yTmc8J+Sj8yLzwr4PD5Xb/WF3bOYu2C2OoSZPzbuqRm4n98XirsbzaX+GloeO376UnSYIYJ4NCanwV5/ugZkwA== + version "7.26.4" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.26.4.tgz#ac3a2a84b908dde6d463c3bfa2c5fdc1653574bd" + integrity sha512-fH+b7Y4p3yqvApJALCPJcwb0/XaOSgtK4pzV6WVjPR5GLFQBRI7pfoX2V2iM48NXvX07NUxxm1Vw98YjqTcU5w== dependencies: "@babel/code-frame" "^7.26.2" "@babel/generator" "^7.26.3" @@ -1061,16 +1061,23 @@ buffer@^6.0.3: base64-js "^1.3.1" ieee754 "^1.2.1" -call-bind@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9" - integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== +call-bind-apply-helpers@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz#32e5892e6361b29b0b545ba6f7763378daca2840" + integrity sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g== dependencies: - es-define-property "^1.0.0" es-errors "^1.3.0" function-bind "^1.1.2" + +call-bind@^1.0.7: + version "1.0.8" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.8.tgz#0736a9660f537e3388826f440d5ec45f744eaa4c" + integrity sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww== + dependencies: + call-bind-apply-helpers "^1.0.0" + es-define-property "^1.0.0" get-intrinsic "^1.2.4" - set-function-length "^1.2.1" + set-function-length "^1.2.2" callsites@^3.0.0: version "3.1.0" @@ -1088,9 +1095,9 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001669: - version "1.0.30001686" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001686.tgz#0e04b8d90de8753188e93c9989d56cb19d902670" - integrity sha512-Y7deg0Aergpa24M3qLC5xjNklnKnhsmSyR/V89dLZ1n0ucJIFNs7PgR2Yfa/Zf6W79SbBicgtGxZr2juHkEUIA== + version "1.0.30001687" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001687.tgz#d0ac634d043648498eedf7a3932836beba90ebae" + integrity sha512-0S/FDhf4ZiqrTUiQ39dKeUjYRjkv7lOZU1Dgif2rIqrTzX/1wV2hfKu9TOm1IHkdSijfLswxTFzl/cvir+SLSQ== chalk@^4.0.0, chalk@^4.1.0: version "4.1.2" @@ -1222,9 +1229,9 @@ data-urls@^3.0.2: whatwg-url "^11.0.0" debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: - version "4.3.7" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.7.tgz#87945b4151a011d76d95a198d7111c865c360a52" - integrity sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ== + version "4.4.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.0.tgz#2b3f2aea2ffeb776477460267377dc8710faba8a" + integrity sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA== dependencies: ms "^2.1.3" @@ -1274,10 +1281,19 @@ domexception@^4.0.0: dependencies: webidl-conversions "^7.0.0" +dunder-proto@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.0.tgz#c2fce098b3c8f8899554905f4377b6d85dabaa80" + integrity sha512-9+Sj30DIu+4KvHqMfLUGLFYL2PkURSYMVXJyXe92nFRvlYq5hBjLEhblKB+vkd/WVlUYMWigiY07T91Fkk0+4A== + dependencies: + call-bind-apply-helpers "^1.0.0" + es-errors "^1.3.0" + gopd "^1.2.0" + electron-to-chromium@^1.5.41: - version "1.5.68" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.68.tgz#4f46be4d465ef00e2100d5557b66f4af70e3ce6c" - integrity sha512-FgMdJlma0OzUYlbrtZ4AeXjKxKPk6KT8WOP8BjcqxWtlg8qyJQjRzPJzUtUn5GBg1oQ26hFs7HOOHJMYiJRnvQ== + version "1.5.71" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.71.tgz#d8b5dba1e55b320f2f4e9b1ca80738f53fcfec2b" + integrity sha512-dB68l59BI75W1BUGVTAEJy45CEVuEGy9qPVVQ8pnHyHMn36PLPPoE1mjLH+lo9rKulO3HC2OhbACI/8tCqJBcA== emittery@^0.13.1: version "0.13.1" @@ -1309,12 +1325,10 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-define-property@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" - integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ== - dependencies: - get-intrinsic "^1.2.4" +es-define-property@^1.0.0, es-define-property@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.1.tgz#983eb2f9a6724e9303f61addf011c72e09e0b0fa" + integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g== es-errors@^1.3.0: version "1.3.0" @@ -1495,15 +1509,18 @@ get-caller-file@^2.0.5: integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== get-intrinsic@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" - integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== + version "1.2.5" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.5.tgz#dfe7dd1b30761b464fe51bf4bb00ac7c37b681e7" + integrity sha512-Y4+pKa7XeRUPWFNvOOYHkRYrfzW07oraURSvjDmRVOJ748OrVmeXtpE4+GCEHncjCjkTxPNRt8kEbxDhsn6VTg== dependencies: + call-bind-apply-helpers "^1.0.0" + dunder-proto "^1.0.0" + es-define-property "^1.0.1" es-errors "^1.3.0" function-bind "^1.1.2" - has-proto "^1.0.1" - has-symbols "^1.0.3" - hasown "^2.0.0" + gopd "^1.2.0" + has-symbols "^1.1.0" + hasown "^2.0.2" get-package-type@^0.1.0: version "0.1.0" @@ -1537,7 +1554,7 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -gopd@^1.0.1: +gopd@^1.0.1, gopd@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== @@ -1559,19 +1576,12 @@ has-property-descriptors@^1.0.2: dependencies: es-define-property "^1.0.0" -has-proto@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.1.0.tgz#deb10494cbbe8809bce168a3b961f42969f5ed43" - integrity sha512-QLdzI9IIO1Jg7f9GT1gXpPpXArAn6cS31R1eEZqz08Gc+uQ8/XiqHWt17Fiw+2p6oTTIq5GXEpQkAlA88YRl/Q== - dependencies: - call-bind "^1.0.7" - -has-symbols@^1.0.3: +has-symbols@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== -hasown@^2.0.0, hasown@^2.0.2: +hasown@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== @@ -2607,7 +2617,7 @@ serialize-javascript@^6.0.1: dependencies: randombytes "^2.1.0" -set-function-length@^1.2.1: +set-function-length@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== @@ -2781,9 +2791,9 @@ terser-webpack-plugin@^5.3.10: terser "^5.26.0" terser@^5.26.0: - version "5.36.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.36.0.tgz#8b0dbed459ac40ff7b4c9fd5a3a2029de105180e" - integrity sha512-IYV9eNMuFAV4THUspIRXkLakHnV6XO7FEdtKjf/mDyrnqUg9LnlOn6/RwRvM9SZjR4GUq8Nk8zj67FzVARr74w== + version "5.37.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.37.0.tgz#38aa66d1cfc43d0638fab54e43ff8a4f72a21ba3" + integrity sha512-B8wRRkmre4ERucLM/uXx4MOV5cbnOlVAqUst+1+iLKPI0dOgFO28f84ptoQt9HEI537PMzfYa/d+GEPKTRXmYA== dependencies: "@jridgewell/source-map" "^0.3.3" acorn "^8.8.2" @@ -2958,9 +2968,9 @@ webpack-sources@^3.2.3: integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack@^5.94.0: - version "5.97.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.97.0.tgz#1c5e3b9319f8c6decb19b142e776d90e629d5c40" - integrity sha512-CWT8v7ShSfj7tGs4TLRtaOLmOCPWhoKEvp+eA7FVx8Xrjb3XfT0aXdxDItnRZmE8sHcH+a8ayDrJCOjXKxVFfQ== + version "5.97.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.97.1.tgz#972a8320a438b56ff0f1d94ade9e82eac155fa58" + integrity sha512-EksG6gFY3L1eFMROS/7Wzgrii5mBAFe4rIr3r2BTfo7bcc+DWwFZ4OJ/miOuHJO/A85HwyI4eQ0F6IKXesO7Fg== dependencies: "@types/eslint-scope" "^3.7.7" "@types/estree" "^1.0.6"