diff --git a/package.json b/package.json index e0871163..2126e1e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webflow-api", - "version": "2.1.2", + "version": "v2.2.0", "private": false, "repository": "https://github.com/webflow/js-webflow-api", "main": "./index.js", diff --git a/src/Client.ts b/src/Client.ts index bf57e34f..7d71c14b 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -9,8 +9,8 @@ import { Sites } from "./api/resources/sites/client/Client"; import { Collections } from "./api/resources/collections/client/Client"; import { Pages } from "./api/resources/pages/client/Client"; import { Scripts } from "./api/resources/scripts/client/Client"; -import { Webhooks } from "./api/resources/webhooks/client/Client"; import { Assets } from "./api/resources/assets/client/Client"; +import { Webhooks } from "./api/resources/webhooks/client/Client"; import { Forms } from "./api/resources/forms/client/Client"; import { Users } from "./api/resources/users/client/Client"; import { AccessGroups } from "./api/resources/accessGroups/client/Client"; @@ -64,18 +64,18 @@ export class WebflowClient { return (this._scripts ??= new Scripts(this._options)); } - protected _webhooks: Webhooks | undefined; - - public get webhooks(): Webhooks { - return (this._webhooks ??= new Webhooks(this._options)); - } - protected _assets: Assets | undefined; public get assets(): Assets { return (this._assets ??= new Assets(this._options)); } + protected _webhooks: Webhooks | undefined; + + public get webhooks(): Webhooks { + return (this._webhooks ??= new Webhooks(this._options)); + } + protected _forms: Forms | undefined; public get forms(): Forms { diff --git a/src/api/resources/accessGroups/client/Client.ts b/src/api/resources/accessGroups/client/Client.ts index cdf93d03..92795abe 100644 --- a/src/api/resources/accessGroups/client/Client.ts +++ b/src/api/resources/accessGroups/client/Client.ts @@ -65,7 +65,7 @@ export class AccessGroups { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/assets/client/Client.ts b/src/api/resources/assets/client/Client.ts index 18da28a9..4e946766 100644 --- a/src/api/resources/assets/client/Client.ts +++ b/src/api/resources/assets/client/Client.ts @@ -46,7 +46,7 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -129,7 +129,7 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -205,7 +205,7 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -280,7 +280,7 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -337,7 +337,7 @@ export class Assets { * * @example * await webflow.assets.update("asset_id", { - * displayName: "file.png" + * displayName: "bulldoze.png" * }) */ public async update( @@ -355,7 +355,7 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -431,7 +431,7 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -513,7 +513,7 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -592,7 +592,7 @@ export class Assets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/assets/client/requests/AssetsUpdateRequest.ts b/src/api/resources/assets/client/requests/AssetsUpdateRequest.ts index d43f8086..0aed8a60 100644 --- a/src/api/resources/assets/client/requests/AssetsUpdateRequest.ts +++ b/src/api/resources/assets/client/requests/AssetsUpdateRequest.ts @@ -5,7 +5,7 @@ /** * @example * { - * displayName: "file.png" + * displayName: "bulldoze.png" * } */ export interface AssetsUpdateRequest { diff --git a/src/api/resources/collections/client/Client.ts b/src/api/resources/collections/client/Client.ts index bc6b494f..1351f4a6 100644 --- a/src/api/resources/collections/client/Client.ts +++ b/src/api/resources/collections/client/Client.ts @@ -48,7 +48,7 @@ export class Collections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -131,7 +131,7 @@ export class Collections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -207,7 +207,7 @@ export class Collections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -282,7 +282,7 @@ export class Collections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -355,7 +355,7 @@ export class Collections { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/collections/resources/fields/client/Client.ts b/src/api/resources/collections/resources/fields/client/Client.ts index 23f1e3bb..cf9bd7e3 100644 --- a/src/api/resources/collections/resources/fields/client/Client.ts +++ b/src/api/resources/collections/resources/fields/client/Client.ts @@ -55,7 +55,7 @@ export class Fields { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -140,7 +140,7 @@ export class Fields { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/collections/resources/items/client/Client.ts b/src/api/resources/collections/resources/items/client/Client.ts index 23a28d19..232a9317 100644 --- a/src/api/resources/collections/resources/items/client/Client.ts +++ b/src/api/resources/collections/resources/items/client/Client.ts @@ -68,7 +68,7 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -132,14 +132,16 @@ export class Items { * * @example * await webflow.collections.items.createItem("collection_id", { - * id: "580e64008c9a982ac9b8b754", + * id: "42b720ef280c7a7a3be8cabe", * cmsLocaleId: "653ad57de882f528b32e810e", - * lastPublished: "2023-03-17T18:47:35.560Z", - * lastUpdated: "2023-03-17T18:47:35.560Z", - * createdOn: "2023-03-17T18:47:35.560Z", + * 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: { - * name: "My new item", - * slug: "my-new-item" + * name: "Pan Galactic Gargle Blaster Recipe", + * slug: "pan-galactic-gargle-blaster" * } * }) */ @@ -158,7 +160,7 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -216,14 +218,16 @@ export class Items { * * @example * await webflow.collections.items.createItemLive("collection_id", { - * id: "580e64008c9a982ac9b8b754", + * id: "42b720ef280c7a7a3be8cabe", * cmsLocaleId: "653ad57de882f528b32e810e", - * lastPublished: "2023-03-17T18:47:35.560Z", - * lastUpdated: "2023-03-17T18:47:35.560Z", - * createdOn: "2023-03-17T18:47:35.560Z", + * 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: { - * name: "My new item", - * slug: "my-new-item" + * name: "Pan Galactic Gargle Blaster Recipe", + * slug: "pan-galactic-gargle-blaster" * } * }) */ @@ -242,7 +246,7 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -325,7 +329,7 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -408,7 +412,7 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -499,7 +503,7 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -557,14 +561,16 @@ export class Items { * * @example * await webflow.collections.items.updateItem("collection_id", "item_id", { - * id: "580e64008c9a982ac9b8b754", + * id: "42b720ef280c7a7a3be8cabe", * cmsLocaleId: "653ad57de882f528b32e810e", - * lastPublished: "2023-03-17T18:47:35.560Z", - * lastUpdated: "2023-03-17T18:47:35.560Z", - * createdOn: "2023-03-17T18:47:35.560Z", + * 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: { - * name: "My new item", - * slug: "my-new-item" + * name: "Pan Galactic Gargle Blaster Recipe", + * slug: "pan-galactic-gargle-blaster" * } * }) */ @@ -584,7 +590,7 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -664,7 +670,7 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -721,14 +727,16 @@ export class Items { * * @example * await webflow.collections.items.updateItemLive("collection_id", "item_id", { - * id: "580e64008c9a982ac9b8b754", + * id: "42b720ef280c7a7a3be8cabe", * cmsLocaleId: "653ad57de882f528b32e810e", - * lastPublished: "2023-03-17T18:47:35.560Z", - * lastUpdated: "2023-03-17T18:47:35.560Z", - * createdOn: "2023-03-17T18:47:35.560Z", + * 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: { - * name: "My new item", - * slug: "my-new-item" + * name: "Pan Galactic Gargle Blaster Recipe", + * slug: "pan-galactic-gargle-blaster" * } * }) */ @@ -748,7 +756,7 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -830,7 +838,7 @@ export class Items { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/collections/resources/items/client/requests/BulkCollectionItem.ts b/src/api/resources/collections/resources/items/client/requests/BulkCollectionItem.ts index 825dedaf..08a955da 100644 --- a/src/api/resources/collections/resources/items/client/requests/BulkCollectionItem.ts +++ b/src/api/resources/collections/resources/items/client/requests/BulkCollectionItem.ts @@ -20,7 +20,7 @@ import * as Webflow from "../../../../../.."; export interface BulkCollectionItem { /** Unique identifier for the Item */ id: string; - /** Array of identifiers for the locales where the item will be crated */ + /** Array of identifiers for the locales where the item will be created */ cmsLocaleIds?: string[]; /** The date the item was last published */ lastPublished?: string; diff --git a/src/api/resources/ecommerce/client/Client.ts b/src/api/resources/ecommerce/client/Client.ts index 17056b1b..ad89a657 100644 --- a/src/api/resources/ecommerce/client/Client.ts +++ b/src/api/resources/ecommerce/client/Client.ts @@ -53,7 +53,7 @@ export class Ecommerce { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/forms/client/Client.ts b/src/api/resources/forms/client/Client.ts index d79b4919..09226f81 100644 --- a/src/api/resources/forms/client/Client.ts +++ b/src/api/resources/forms/client/Client.ts @@ -62,7 +62,7 @@ export class Forms { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -143,7 +143,7 @@ export class Forms { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -224,7 +224,7 @@ export class Forms { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -305,7 +305,7 @@ export class Forms { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -388,7 +388,7 @@ export class Forms { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/index.ts b/src/api/resources/index.ts index 7b25e9fb..6b1e862e 100644 --- a/src/api/resources/index.ts +++ b/src/api/resources/index.ts @@ -14,16 +14,16 @@ export * from "./inventory/types"; export * as token from "./token"; export * as sites from "./sites"; export * as scripts from "./scripts"; -export * as webhooks from "./webhooks"; export * as assets from "./assets"; +export * as webhooks from "./webhooks"; export * as forms from "./forms"; export * as ecommerce from "./ecommerce"; export * from "./sites/client/requests"; export * from "./collections/client/requests"; export * from "./pages/client/requests"; export * from "./scripts/client/requests"; -export * from "./webhooks/client/requests"; export * from "./assets/client/requests"; +export * from "./webhooks/client/requests"; export * from "./forms/client/requests"; export * from "./users/client/requests"; export * from "./accessGroups/client/requests"; diff --git a/src/api/resources/inventory/client/Client.ts b/src/api/resources/inventory/client/Client.ts index a3e9704e..2de650df 100644 --- a/src/api/resources/inventory/client/Client.ts +++ b/src/api/resources/inventory/client/Client.ts @@ -54,7 +54,7 @@ export class Inventory { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -146,7 +146,7 @@ export class Inventory { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/orders/client/Client.ts b/src/api/resources/orders/client/Client.ts index 86208c2f..6814c08c 100644 --- a/src/api/resources/orders/client/Client.ts +++ b/src/api/resources/orders/client/Client.ts @@ -68,7 +68,7 @@ export class Orders { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -152,7 +152,7 @@ export class Orders { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -245,7 +245,7 @@ export class Orders { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -334,7 +334,7 @@ export class Orders { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -424,7 +424,7 @@ export class Orders { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -513,7 +513,7 @@ export class Orders { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/orders/client/requests/OrdersListRequest.ts b/src/api/resources/orders/client/requests/OrdersListRequest.ts index e63a1baa..b3b5ba58 100644 --- a/src/api/resources/orders/client/requests/OrdersListRequest.ts +++ b/src/api/resources/orders/client/requests/OrdersListRequest.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Webflow from "../../../.."; - /** * @example * {} @@ -12,7 +10,7 @@ export interface OrdersListRequest { /** * Filter the orders by status */ - status?: Webflow.OrdersListRequestStatus; + status?: string; /** * Offset used for pagination if the results have more than limit records */ diff --git a/src/api/resources/orders/types/OrdersListRequestStatus.ts b/src/api/resources/orders/types/OrdersListRequestStatus.ts deleted file mode 100644 index fd41c99d..00000000 --- a/src/api/resources/orders/types/OrdersListRequestStatus.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type OrdersListRequestStatus = - | "pending" - | "refunded" - | "dispute-lost" - | "fulfilled" - | "disputed" - | "unfulfilled"; - -export const OrdersListRequestStatus = { - Pending: "pending", - Refunded: "refunded", - DisputeLost: "dispute-lost", - Fulfilled: "fulfilled", - Disputed: "disputed", - Unfulfilled: "unfulfilled", -} as const; diff --git a/src/api/resources/orders/types/index.ts b/src/api/resources/orders/types/index.ts index 59a55534..ba7e0574 100644 --- a/src/api/resources/orders/types/index.ts +++ b/src/api/resources/orders/types/index.ts @@ -1,2 +1 @@ -export * from "./OrdersListRequestStatus"; export * from "./OrdersRefundRequestReason"; diff --git a/src/api/resources/pages/client/Client.ts b/src/api/resources/pages/client/Client.ts index cfb9ca53..7c96d760 100644 --- a/src/api/resources/pages/client/Client.ts +++ b/src/api/resources/pages/client/Client.ts @@ -65,7 +65,7 @@ export class Pages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -151,7 +151,7 @@ export class Pages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -262,7 +262,7 @@ export class Pages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -350,7 +350,7 @@ export class Pages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -442,7 +442,7 @@ export class Pages { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/pages/resources/scripts/client/Client.ts b/src/api/resources/pages/resources/scripts/client/Client.ts index b998930e..6f045f66 100644 --- a/src/api/resources/pages/resources/scripts/client/Client.ts +++ b/src/api/resources/pages/resources/scripts/client/Client.ts @@ -25,7 +25,7 @@ export class Scripts { constructor(protected readonly _options: Scripts.Options) {} /** - * Get all registered scripts that have been applied to a specific Page.

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints.

Required scope | `custom_code:read` + * Get all registered scripts that have been applied to a specific Page.

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints.

Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:read` * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.NotFoundError} @@ -49,7 +49,7 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -103,7 +103,7 @@ export class Scripts { } /** - * Add a registered script to a Page.

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints.

Required scope | `custom_code:write` + * Add a registered script to a Page.

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints.

Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:write` * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.NotFoundError} @@ -145,7 +145,7 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -200,7 +200,7 @@ export class Scripts { } /** - * Delete the custom code block that an app has created for a page

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints.

Required scope | `custom_code:write` + * Delete the custom code block that an app has created for a page

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints.

Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:write` * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.NotFoundError} @@ -221,7 +221,7 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/products/client/Client.ts b/src/api/resources/products/client/Client.ts index f675db1f..629e03ae 100644 --- a/src/api/resources/products/client/Client.ts +++ b/src/api/resources/products/client/Client.ts @@ -64,7 +64,7 @@ export class Products { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -158,7 +158,7 @@ export class Products { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -246,7 +246,7 @@ export class Products { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -342,8 +342,8 @@ export class Products { * slug: "crimson-red" * }, { * id: "forrest-green", - * name: "Forrst Green", - * slug: "forrest-green" + * name: "name", + * slug: "slug" * }, { * id: "id", * name: "name", @@ -378,7 +378,7 @@ export class Products { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -485,7 +485,7 @@ export class Products { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -591,7 +591,7 @@ export class Products { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/products/client/requests/ProductsUpdateRequest.ts b/src/api/resources/products/client/requests/ProductsUpdateRequest.ts index ae642ae8..dd34a6a8 100644 --- a/src/api/resources/products/client/requests/ProductsUpdateRequest.ts +++ b/src/api/resources/products/client/requests/ProductsUpdateRequest.ts @@ -32,8 +32,8 @@ import * as Webflow from "../../../.."; * slug: "crimson-red" * }, { * id: "forrest-green", - * name: "Forrst Green", - * slug: "forrest-green" + * name: "name", + * slug: "slug" * }, { * id: "id", * name: "name", diff --git a/src/api/resources/scripts/client/Client.ts b/src/api/resources/scripts/client/Client.ts index 2785e4e5..387df235 100644 --- a/src/api/resources/scripts/client/Client.ts +++ b/src/api/resources/scripts/client/Client.ts @@ -25,7 +25,7 @@ export class Scripts { constructor(protected readonly _options: Scripts.Options) {} /** - * List of scripts registered to a Site.

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. Additionally, Scripts can be remotely hosted, or registered as inline snippets.

Required scope | `custom_code:read` + * List of scripts registered to a Site.

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. Additionally, Scripts can be remotely hosted, or registered as inline snippets. Access to this endpoint requires a bearer token from a Data Client App.

Required scope | `custom_code:read` * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.NotFoundError} @@ -46,7 +46,7 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -100,7 +100,7 @@ export class Scripts { } /** - * Add a script to a Site's Custom Code registry.

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. Additionally, Scripts can be remotely hosted, or registered as inline snippets.

Required scope | `custom_code:write` + * Add a script to a Site's Custom Code registry.

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. Additionally, Scripts can be remotely hosted, or registered as inline snippets. Access to this endpoint requires a bearer token from a Data Client App.

Required scope | `custom_code:write` * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.NotFoundError} @@ -130,7 +130,7 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -185,7 +185,7 @@ export class Scripts { } /** - * Add a script to a Site's Custom Code registry. Inline scripts can be between 1 and 2000 characters.

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints.

Required scope | `custom_code:write` + * Add a script to a Site's Custom Code registry. Inline scripts can be between 1 and 2000 characters.

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints.

Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:write` * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.NotFoundError} @@ -214,7 +214,7 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/sites/client/Client.ts b/src/api/resources/sites/client/Client.ts index fc5d76e6..eb5de663 100644 --- a/src/api/resources/sites/client/Client.ts +++ b/src/api/resources/sites/client/Client.ts @@ -37,7 +37,7 @@ export class Sites { * @example * await webflow.sites.list() */ - public async list(requestOptions?: Sites.RequestOptions): Promise { + public async list(requestOptions?: Sites.RequestOptions): Promise { const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.WebflowEnvironment.Default, @@ -48,7 +48,7 @@ export class Sites { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -57,7 +57,7 @@ export class Sites { maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { - return await serializers.Sites.parseOrThrow(_response.body, { + return await serializers.Site.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -123,7 +123,7 @@ export class Sites { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -187,7 +187,7 @@ export class Sites { * @example * await webflow.sites.getCustomDomain("site_id") */ - public async getCustomDomain(siteId: string, requestOptions?: Sites.RequestOptions): Promise { + public async getCustomDomain(siteId: string, requestOptions?: Sites.RequestOptions): Promise { const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.WebflowEnvironment.Default, @@ -198,7 +198,7 @@ export class Sites { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -207,7 +207,7 @@ export class Sites { maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { - return await serializers.Domain.parseOrThrow(_response.body, { + return await serializers.Domains.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -279,7 +279,7 @@ export class Sites { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/sites/resources/activityLogs/client/Client.ts b/src/api/resources/sites/resources/activityLogs/client/Client.ts index 13129614..7a2d92eb 100644 --- a/src/api/resources/sites/resources/activityLogs/client/Client.ts +++ b/src/api/resources/sites/resources/activityLogs/client/Client.ts @@ -59,7 +59,7 @@ export class ActivityLogs { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/sites/resources/scripts/client/Client.ts b/src/api/resources/sites/resources/scripts/client/Client.ts index c2d2a4c5..4ace1b85 100644 --- a/src/api/resources/sites/resources/scripts/client/Client.ts +++ b/src/api/resources/sites/resources/scripts/client/Client.ts @@ -25,7 +25,7 @@ export class Scripts { constructor(protected readonly _options: Scripts.Options) {} /** - * Get all registered scripts that have been applied to a specific Site. Required scope | `custom_code:read` + * Get all registered scripts that have been applied to a specific Site.

Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:read` * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.NotFoundError} @@ -49,7 +49,7 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -103,7 +103,7 @@ export class Scripts { } /** - * Add a registered script to a Site.

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints.

Required scope | `custom_code:write` + * Add a registered script to a Site.

In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints.

Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:write` * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.NotFoundError} @@ -145,7 +145,7 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -200,7 +200,7 @@ export class Scripts { } /** - * Delete the custom code block that an app created for a Site + * Delete the custom code block that an app created for a Site

Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:write` * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.NotFoundError} @@ -221,7 +221,7 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -269,7 +269,7 @@ export class Scripts { } /** - * Get all instances of Custom Code applied to a Site or Pages. Required scope | `custom_code:read` + * Get all instances of Custom Code applied to a Site or Pages.

Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:read` * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.NotFoundError} @@ -304,7 +304,7 @@ export class Scripts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/token/client/Client.ts b/src/api/resources/token/client/Client.ts index c2868744..edfe41f9 100644 --- a/src/api/resources/token/client/Client.ts +++ b/src/api/resources/token/client/Client.ts @@ -43,7 +43,7 @@ export class Token { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -91,7 +91,7 @@ export class Token { } /** - * Information about the authorization token + * Information about the authorization token

Access to this endpoint requires a bearer token from a Data Client App. * @throws {@link Webflow.UnauthorizedError} * * @example @@ -108,7 +108,7 @@ export class Token { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/users/client/Client.ts b/src/api/resources/users/client/Client.ts index aba3a66a..601524db 100644 --- a/src/api/resources/users/client/Client.ts +++ b/src/api/resources/users/client/Client.ts @@ -65,7 +65,7 @@ export class Users { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -144,7 +144,7 @@ export class Users { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -222,7 +222,7 @@ export class Users { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -308,7 +308,7 @@ export class Users { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -395,7 +395,7 @@ export class Users { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/webhooks/client/Client.ts b/src/api/resources/webhooks/client/Client.ts index 87f11c9b..f1e3f909 100644 --- a/src/api/resources/webhooks/client/Client.ts +++ b/src/api/resources/webhooks/client/Client.ts @@ -25,7 +25,7 @@ export class Webhooks { constructor(protected readonly _options: Webhooks.Options) {} /** - * List all App-created Webhooks registered for a given site + * List all App-created Webhooks registered for a given site

Required scope | `sites:read` * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.NotFoundError} @@ -35,7 +35,7 @@ export class Webhooks { * @example * await webflow.webhooks.list("site_id") */ - public async list(siteId: string, requestOptions?: Webhooks.RequestOptions): Promise { + public async list(siteId: string, requestOptions?: Webhooks.RequestOptions): Promise { const _response = await core.fetcher({ url: urlJoin( (await core.Supplier.get(this._options.environment)) ?? environments.WebflowEnvironment.Default, @@ -46,7 +46,7 @@ export class Webhooks { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -55,7 +55,7 @@ export class Webhooks { maxRetries: requestOptions?.maxRetries, }); if (_response.ok) { - return await serializers.webhooks.list.Response.parseOrThrow(_response.body, { + return await serializers.WebhookList.parseOrThrow(_response.body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, @@ -100,7 +100,7 @@ export class Webhooks { } /** - * Create a new Webhook, to be notified when Webflow resources change. Limit of 75 registrations per `triggerType`, per site. + * Create a new Webhook, to be notified when Webflow resources change. Limit of 75 registrations per `triggerType`, per site.

Access to this endpoint requires a bearer token from a Data Client App. The only exceptions are for creating webhooks with `site_publish` or `form_submission` triggers, which can be done with Site Tokens
Required scope | `sites:write` * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.NotFoundError} @@ -128,7 +128,7 @@ export class Webhooks { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -204,7 +204,7 @@ export class Webhooks { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -279,7 +279,7 @@ export class Webhooks { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", - "X-Fern-SDK-Version": "2.1.2", + "X-Fern-SDK-Version": "v2.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/types/Application.ts b/src/api/types/Application.ts index 18c66866..ad9eebe6 100644 --- a/src/api/types/Application.ts +++ b/src/api/types/Application.ts @@ -2,13 +2,4 @@ * This file was auto-generated by Fern from our API Definition. */ -export interface Application { - /** Unique identifier for the Application */ - id?: string; - /** Application description provided by the developer */ - description?: string; - /** Application homepage URL provided by the developer */ - homepage?: string; - /** Application name provided by the developer */ - displayName?: string; -} +export type Application = unknown; diff --git a/src/api/types/Authorization.ts b/src/api/types/Authorization.ts index 0be0b006..05ce7387 100644 --- a/src/api/types/Authorization.ts +++ b/src/api/types/Authorization.ts @@ -7,5 +7,5 @@ import * as Webflow from ".."; export interface Authorization { /** The Authorization object */ authorization?: Webflow.AuthorizationAuthorization; - application?: Webflow.Application; + application?: Webflow.Application | undefined; } diff --git a/src/api/types/CollectionItemRemoved.ts b/src/api/types/CollectionItemRemoved.ts deleted file mode 100644 index 6ad08102..00000000 --- a/src/api/types/CollectionItemRemoved.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface CollectionItemRemoved { - /** The number of items deleted */ - deleted?: number; - /** The id of the collection item that was deleted */ - itemId?: string; -} diff --git a/src/api/types/CustomCodeBlock.ts b/src/api/types/CustomCodeBlock.ts index a66e6c11..c0083fb9 100644 --- a/src/api/types/CustomCodeBlock.ts +++ b/src/api/types/CustomCodeBlock.ts @@ -14,7 +14,7 @@ export interface CustomCodeBlock { pageId?: string; /** Whether the Custom Code script is applied at the Site-level or Page-level */ type?: Webflow.CustomCodeBlockType; - scripts?: Webflow.ScriptApply[]; + scripts?: Webflow.Scripts; /** The date the Block was created */ createdOn?: Date; /** The date the Block was most recently updated */ diff --git a/src/api/types/Assets.ts b/src/api/types/Domains.ts similarity index 62% rename from src/api/types/Assets.ts rename to src/api/types/Domains.ts index 6a447dd2..b12bda2f 100644 --- a/src/api/types/Assets.ts +++ b/src/api/types/Domains.ts @@ -4,6 +4,6 @@ import * as Webflow from ".."; -export interface Assets { - assets?: Webflow.Asset[]; +export interface Domains { + customDomains?: Webflow.Domain[]; } diff --git a/src/api/types/DuplicateUserEmail.ts b/src/api/types/DuplicateUserEmail.ts index db5c3c95..f301d1f0 100644 --- a/src/api/types/DuplicateUserEmail.ts +++ b/src/api/types/DuplicateUserEmail.ts @@ -5,7 +5,8 @@ import * as Webflow from ".."; export interface DuplicateUserEmail { - code?: "duplicate_user_email"; + /** Error code */ + code?: string; /** Error message */ message?: string; /** Link to more information */ diff --git a/src/api/types/Fields.ts b/src/api/types/Fields.ts deleted file mode 100644 index 54d14dcd..00000000 --- a/src/api/types/Fields.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Webflow from ".."; - -/** - * The list of fields in the Collection - */ -export type Fields = Webflow.Field[]; diff --git a/src/api/types/FormSubmissionTrigger.ts b/src/api/types/FormSubmissionTrigger.ts deleted file mode 100644 index 35dfc234..00000000 --- a/src/api/types/FormSubmissionTrigger.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Webflow from ".."; - -export interface FormSubmissionTrigger { - /** The type of event that triggered the request */ - triggerType?: string; - /** The payload of data sent from Webflow */ - payload?: Webflow.FormSubmissionTriggerPayload; -} diff --git a/src/api/types/FormSubmissionTriggerPayload.ts b/src/api/types/FormSubmissionTriggerPayload.ts deleted file mode 100644 index eb05a4a6..00000000 --- a/src/api/types/FormSubmissionTriggerPayload.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * The payload of data sent from Webflow - */ -export interface FormSubmissionTriggerPayload { - /** The name of the form */ - name?: string; - /** The id of the site that the form was submitted from */ - siteId?: string; - /** The data submitted in the form */ - data?: Record; - /** The timestamp the form was submitted */ - submittedAt?: string; - /** The id of the form submission */ - formId?: string; -} diff --git a/src/api/types/InvalidScopes.ts b/src/api/types/InvalidScopes.ts deleted file mode 100644 index 8504a5c9..00000000 --- a/src/api/types/InvalidScopes.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface InvalidScopes { - status?: number; - message?: string; - publicErrorCode?: string; - externalReference?: string; - details?: string[]; -} diff --git a/src/api/types/PageCreatedWebhook.ts b/src/api/types/PageCreatedWebhook.ts deleted file mode 100644 index fc6d4cfc..00000000 --- a/src/api/types/PageCreatedWebhook.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * The Webhook payload for when a Page is created - */ -export interface PageCreatedWebhook { - siteId?: string; - pageId?: string; - pageTitle?: string; - createdAt?: Date; -} diff --git a/src/api/types/PageDeletedWebhook.ts b/src/api/types/PageDeletedWebhook.ts deleted file mode 100644 index 2603ec1e..00000000 --- a/src/api/types/PageDeletedWebhook.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * The Webhook payload for when a Page is deleted - */ -export interface PageDeletedWebhook { - siteId?: string; - pageId?: string; - pageTitle?: string; - deletedAt?: Date; -} diff --git a/src/api/types/PageMetadataUpdatedWebhook.ts b/src/api/types/PageMetadataUpdatedWebhook.ts deleted file mode 100644 index 1e8e644a..00000000 --- a/src/api/types/PageMetadataUpdatedWebhook.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * The Webhook payload for when a Page's metadata is updated - */ -export interface PageMetadataUpdatedWebhook { - siteId?: string; - pageId?: string; - pageTitle?: string; - lastUpdated?: Date; -} diff --git a/src/api/types/PageSeoGraphData.ts b/src/api/types/PageSeoGraphData.ts deleted file mode 100644 index 67d71638..00000000 --- a/src/api/types/PageSeoGraphData.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Webflow from ".."; - -/** - * The SEO and/or OpenGraph information to include in the page's details - */ -export interface PageSeoGraphData { - seo?: Webflow.PageSeoGraphDataSeo; - openGraph?: Webflow.PageSeoGraphDataOpenGraph; -} diff --git a/src/api/types/PageSeoGraphDataOpenGraph.ts b/src/api/types/PageSeoGraphDataOpenGraph.ts deleted file mode 100644 index 215e105a..00000000 --- a/src/api/types/PageSeoGraphDataOpenGraph.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface PageSeoGraphDataOpenGraph { - title?: string; - description?: string; -} diff --git a/src/api/types/PageSeoGraphDataSeo.ts b/src/api/types/PageSeoGraphDataSeo.ts deleted file mode 100644 index 0d20c6f1..00000000 --- a/src/api/types/PageSeoGraphDataSeo.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface PageSeoGraphDataSeo { - title?: string; - description?: string; -} diff --git a/src/api/types/PublishedItems.ts b/src/api/types/PublishedItems.ts deleted file mode 100644 index 08317f1e..00000000 --- a/src/api/types/PublishedItems.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * A list of items published - */ -export interface PublishedItems { - /** Array of published item ids */ - publishedItemIds?: string[]; - /** Array of errors */ - errors?: string[]; -} diff --git a/src/api/types/PublishedSite.ts b/src/api/types/PublishedSite.ts deleted file mode 100644 index d7504deb..00000000 --- a/src/api/types/PublishedSite.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface PublishedSite { - /** Indicates if the site has been queued for publish */ - queued: boolean; -} diff --git a/src/api/types/RemovedItems.ts b/src/api/types/RemovedItems.ts deleted file mode 100644 index 4929ebba..00000000 --- a/src/api/types/RemovedItems.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * A list of items removed - */ -export interface RemovedItems { - /** Array of deleted item ids */ - deletedItemIds?: string[]; - /** Array of errors */ - errors?: string[]; -} diff --git a/src/api/types/Sites.ts b/src/api/types/Scripts.ts similarity index 65% rename from src/api/types/Sites.ts rename to src/api/types/Scripts.ts index 5620b5c6..9beacc5f 100644 --- a/src/api/types/Sites.ts +++ b/src/api/types/Scripts.ts @@ -4,6 +4,4 @@ import * as Webflow from ".."; -export interface Sites { - sites?: Webflow.Site[]; -} +export type Scripts = Webflow.ScriptApply[]; diff --git a/src/api/types/SitePublish.ts b/src/api/types/SitePublish.ts deleted file mode 100644 index 18a4eec2..00000000 --- a/src/api/types/SitePublish.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Webflow from ".."; - -export interface SitePublish { - /** The payload of data sent from Webflow */ - payload?: Webflow.SitePublishPayload; -} diff --git a/src/api/types/SitePublishPayload.ts b/src/api/types/SitePublishPayload.ts deleted file mode 100644 index 12b5aa41..00000000 --- a/src/api/types/SitePublishPayload.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * The payload of data sent from Webflow - */ -export interface SitePublishPayload { - /** The site id that was published */ - site?: string; - /** The timestamp of the publish event */ - publishTime?: Date; - /** The domains that were published */ - domains?: string[]; - /** The name and id of the user who published the site */ - publishedBy?: Record; -} diff --git a/src/api/types/UserLimitReached.ts b/src/api/types/UserLimitReached.ts index 712f0a4a..5292a3e0 100644 --- a/src/api/types/UserLimitReached.ts +++ b/src/api/types/UserLimitReached.ts @@ -5,7 +5,8 @@ import * as Webflow from ".."; export interface UserLimitReached { - code?: "user_limit_reached"; + /** Error code */ + code?: string; /** Error message */ message?: string; /** Link to more information */ diff --git a/src/api/types/UserWebhookPayload.ts b/src/api/types/UserWebhookPayload.ts deleted file mode 100644 index c63d4cab..00000000 --- a/src/api/types/UserWebhookPayload.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Webflow from ".."; - -export interface UserWebhookPayload { - /** The type of event that triggered the request */ - triggerType?: Webflow.UserWebhookPayloadTriggerType; - payload?: Webflow.User; -} diff --git a/src/api/types/UserWebhookPayloadTriggerType.ts b/src/api/types/UserWebhookPayloadTriggerType.ts deleted file mode 100644 index 8c315409..00000000 --- a/src/api/types/UserWebhookPayloadTriggerType.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * The type of event that triggered the request - */ -export type UserWebhookPayloadTriggerType = "user_account_added" | "user_account_updated" | "user_account_deleted"; - -export const UserWebhookPayloadTriggerType = { - UserAccountAdded: "user_account_added", - UserAccountUpdated: "user_account_updated", - UserAccountDeleted: "user_account_deleted", -} as const; diff --git a/src/api/types/UsersNotEnabled.ts b/src/api/types/UsersNotEnabled.ts index 8f1d9a3b..65d20e0c 100644 --- a/src/api/types/UsersNotEnabled.ts +++ b/src/api/types/UsersNotEnabled.ts @@ -5,7 +5,8 @@ import * as Webflow from ".."; export interface UsersNotEnabled { - code?: "users_not_enabled"; + /** Error code */ + code?: string; /** Error message */ message?: string; /** Link to more information */ diff --git a/src/api/types/index.ts b/src/api/types/index.ts index f8f20244..08be623d 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -1,64 +1,59 @@ export * from "./OauthScope"; export * from "./AuthorizedUser"; +export * from "./Application"; export * from "./AuthorizationAuthorizationAuthorizedTo"; export * from "./AuthorizationAuthorization"; export * from "./Authorization"; +export * from "./Domain"; +export * from "./Site"; +export * from "./Domains"; +export * from "./InvalidDomain"; +export * from "./NoDomains"; +export * from "./SiteActivityLogItemResourceOperation"; +export * from "./SiteActivityLogItemUser"; +export * from "./SiteActivityLogItem"; export * from "./Pagination"; -export * from "./PublishStatus"; -export * from "./InvalidScopes"; -export * from "./CustomCodeResponse"; -export * from "./RegisteredScriptList"; -export * from "./ScriptApplyList"; -export * from "./ScriptApplyLocation"; -export * from "./ScriptApply"; -export * from "./ListCustomCodeBlocks"; -export * from "./CustomCodeBlockType"; -export * from "./CustomCodeBlock"; -export * from "./PageList"; -export * from "./PageSeo"; -export * from "./PageOpenGraph"; -export * from "./Page"; -export * from "./PageCreatedWebhook"; -export * from "./PageMetadataUpdatedWebhook"; -export * from "./PageDeletedWebhook"; -export * from "./PageSeoGraphDataSeo"; -export * from "./PageSeoGraphDataOpenGraph"; -export * from "./PageSeoGraphData"; -export * from "./Dom"; -export * from "./NodeType"; -export * from "./Node"; -export * from "./TextNode"; -export * from "./ImageNode"; -export * from "./CollectionList"; +export * from "./SiteActivityLogResponse"; +export * from "./ErrorDetailsItem"; +export * from "./Error_"; +export * from "./MissingScopes"; +export * from "./NotEnterprisePlanSite"; export * from "./CollectionListArrayItem"; -export * from "./Collection"; -export * from "./Fields"; +export * from "./CollectionList"; export * from "./FieldType"; export * from "./Field"; +export * from "./Collection"; export * from "./CollectionItemFieldData"; export * from "./CollectionItem"; export * from "./CollectionItemListPagination"; export * from "./CollectionItemList"; -export * from "./Webhook"; -export * from "./WebhookList"; -export * from "./TriggerType"; -export * from "./CollectionItemRemoved"; -export * from "./Sites"; -export * from "./Site"; -export * from "./Domain"; -export * from "./SitePublishPayload"; -export * from "./SitePublish"; -export * from "./SiteActivityLogResponse"; -export * from "./SiteActivityLogItemResourceOperation"; -export * from "./SiteActivityLogItemUser"; -export * from "./SiteActivityLogItem"; -export * from "./Assets"; -export * from "./Asset"; +export * from "./PageSeo"; +export * from "./PageOpenGraph"; +export * from "./Page"; +export * from "./PageList"; +export * from "./TextNode"; +export * from "./ImageNode"; +export * from "./NodeType"; +export * from "./Node"; +export * from "./Dom"; +export * from "./ScriptApplyLocation"; +export * from "./ScriptApply"; +export * from "./ScriptApplyList"; +export * from "./CustomCodeResponse"; +export * from "./RegisteredScriptList"; +export * from "./Scripts"; +export * from "./CustomCodeBlockType"; +export * from "./CustomCodeBlock"; +export * from "./ListCustomCodeBlocks"; export * from "./AssetVariant"; +export * from "./Asset"; export * from "./AssetUploadUploadDetails"; export * from "./AssetUpload"; export * from "./AssetFolder"; export * from "./AssetFolderList"; +export * from "./TriggerType"; +export * from "./Webhook"; +export * from "./WebhookList"; export * from "./FormFieldValueType"; export * from "./FormFieldValue"; export * from "./FormField"; @@ -67,33 +62,25 @@ export * from "./Form"; export * from "./FormList"; export * from "./FormSubmission"; export * from "./FormSubmissionList"; -export * from "./FormSubmissionTriggerPayload"; -export * from "./FormSubmissionTrigger"; -export * from "./Application"; -export * from "./PublishedSite"; -export * from "./PublishedItems"; -export * from "./RemovedItems"; +export * from "./UserDataData"; +export * from "./UserData"; export * from "./UserStatus"; export * from "./UserAccessGroupsItemType"; export * from "./UserAccessGroupsItem"; export * from "./User"; -export * from "./UserDataData"; -export * from "./UserData"; export * from "./UserList"; -export * from "./UserWebhookPayloadTriggerType"; -export * from "./UserWebhookPayload"; -export * from "./AccessGroup"; -export * from "./AccessGroupList"; -export * from "./ErrorDetailsItem"; export * from "./UsersNotEnabled"; export * from "./DuplicateUserEmail"; export * from "./UserLimitReached"; -export * from "./MissingScopes"; -export * from "./NotEnterprisePlanSite"; +export * from "./AccessGroup"; +export * from "./AccessGroupList"; +export * from "./SkuPropertyListEnumItem"; +export * from "./SkuPropertyList"; export * from "./ProductFieldDataTaxCategory"; export * from "./ProductFieldDataEcProductType"; export * from "./ProductFieldData"; export * from "./Product"; +export * from "./SkuValueList"; export * from "./SkuFieldDataPrice"; export * from "./SkuFieldDataCompareAtPrice"; export * from "./SkuFieldDataEcSkuBillingMethod"; @@ -103,19 +90,7 @@ export * from "./SkuFieldData"; export * from "./Sku"; export * from "./ProductAndSkUs"; export * from "./ProductAndSkUsList"; -export * from "./SkuPropertyListEnumItem"; -export * from "./SkuPropertyList"; -export * from "./SkuValueList"; -export * from "./OrderStatus"; -export * from "./OrderDisputeLastStatus"; -export * from "./OrderCustomerInfo"; -export * from "./OrderMetadata"; -export * from "./OrderTotalsExtrasItemType"; -export * from "./OrderTotalsExtrasItem"; -export * from "./OrderTotals"; -export * from "./OrderDownloadFilesItem"; -export * from "./Order"; -export * from "./OrderList"; +export * from "./PublishStatus"; export * from "./OrderPrice"; export * from "./OrderAddressType"; export * from "./OrderAddressJapanType"; @@ -129,9 +104,16 @@ export * from "./StripeCardBrand"; export * from "./StripeCardExpires"; export * from "./StripeCard"; export * from "./PaypalDetails"; +export * from "./OrderStatus"; +export * from "./OrderDisputeLastStatus"; +export * from "./OrderCustomerInfo"; +export * from "./OrderMetadata"; +export * from "./OrderTotalsExtrasItemType"; +export * from "./OrderTotalsExtrasItem"; +export * from "./OrderTotals"; +export * from "./OrderDownloadFilesItem"; +export * from "./Order"; +export * from "./OrderList"; export * from "./InventoryItemInventoryType"; export * from "./InventoryItem"; export * from "./EcommerceSettings"; -export * from "./Error_"; -export * from "./InvalidDomain"; -export * from "./NoDomains"; diff --git a/src/serialization/resources/index.ts b/src/serialization/resources/index.ts index 6d30080f..ad26b86d 100644 --- a/src/serialization/resources/index.ts +++ b/src/serialization/resources/index.ts @@ -11,7 +11,6 @@ export * as orders from "./orders"; export * from "./orders/types"; export * as inventory from "./inventory"; export * from "./inventory/types"; -export * as webhooks from "./webhooks"; export * as assets from "./assets"; export * as sites from "./sites"; export * from "./sites/client/requests"; @@ -19,8 +18,9 @@ export * from "./collections/client/requests"; export * from "./pages/client/requests"; export * as scripts from "./scripts"; export * from "./scripts/client/requests"; -export * from "./webhooks/client/requests"; export * from "./assets/client/requests"; +export * as webhooks from "./webhooks"; +export * from "./webhooks/client/requests"; export * as forms from "./forms"; export * from "./forms/client/requests"; export * from "./users/client/requests"; diff --git a/src/serialization/resources/orders/types/OrdersListRequestStatus.ts b/src/serialization/resources/orders/types/OrdersListRequestStatus.ts deleted file mode 100644 index 3f79e1f1..00000000 --- a/src/serialization/resources/orders/types/OrdersListRequestStatus.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../../.."; -import * as Webflow from "../../../../api"; -import * as core from "../../../../core"; - -export const OrdersListRequestStatus: core.serialization.Schema< - serializers.OrdersListRequestStatus.Raw, - Webflow.OrdersListRequestStatus -> = core.serialization.enum_(["pending", "refunded", "dispute-lost", "fulfilled", "disputed", "unfulfilled"]); - -export declare namespace OrdersListRequestStatus { - type Raw = "pending" | "refunded" | "dispute-lost" | "fulfilled" | "disputed" | "unfulfilled"; -} diff --git a/src/serialization/resources/orders/types/index.ts b/src/serialization/resources/orders/types/index.ts index 59a55534..ba7e0574 100644 --- a/src/serialization/resources/orders/types/index.ts +++ b/src/serialization/resources/orders/types/index.ts @@ -1,2 +1 @@ -export * from "./OrdersListRequestStatus"; export * from "./OrdersRefundRequestReason"; diff --git a/src/serialization/resources/webhooks/client/index.ts b/src/serialization/resources/webhooks/client/index.ts index 257d03e9..415726b7 100644 --- a/src/serialization/resources/webhooks/client/index.ts +++ b/src/serialization/resources/webhooks/client/index.ts @@ -1,2 +1 @@ -export * as list from "./list"; export * from "./requests"; diff --git a/src/serialization/resources/webhooks/client/list.ts b/src/serialization/resources/webhooks/client/list.ts deleted file mode 100644 index 829fffed..00000000 --- a/src/serialization/resources/webhooks/client/list.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../../.."; -import * as Webflow from "../../../../api"; -import * as core from "../../../../core"; - -export const Response: core.serialization.Schema = - core.serialization.list(core.serialization.lazyObject(async () => (await import("../../..")).Webhook)); - -export declare namespace Response { - type Raw = serializers.Webhook.Raw[]; -} diff --git a/src/serialization/types/AccessGroup.ts b/src/serialization/types/AccessGroup.ts index e67d7450..880344db 100644 --- a/src/serialization/types/AccessGroup.ts +++ b/src/serialization/types/AccessGroup.ts @@ -8,7 +8,7 @@ import * as core from "../../core"; export const AccessGroup: core.serialization.ObjectSchema = core.serialization.object({ - id: core.serialization.property("_id", core.serialization.string().optional()), + id: core.serialization.string().optional(), name: core.serialization.string().optional(), shortId: core.serialization.string().optional(), slug: core.serialization.string().optional(), @@ -17,7 +17,7 @@ export const AccessGroup: core.serialization.ObjectSchema = - core.serialization.object({ - id: core.serialization.string().optional(), - description: core.serialization.string().optional(), - homepage: core.serialization.string().optional(), - displayName: core.serialization.string().optional(), - }); +export const Application: core.serialization.Schema = + core.serialization.unknown(); export declare namespace Application { - interface Raw { - id?: string | null; - description?: string | null; - homepage?: string | null; - displayName?: string | null; - } + type Raw = unknown; } diff --git a/src/serialization/types/Authorization.ts b/src/serialization/types/Authorization.ts index 2812a785..a6621798 100644 --- a/src/serialization/types/Authorization.ts +++ b/src/serialization/types/Authorization.ts @@ -11,12 +11,12 @@ export const Authorization: core.serialization.ObjectSchema (await import("..")).AuthorizationAuthorization) .optional(), - application: core.serialization.lazyObject(async () => (await import("..")).Application).optional(), + application: core.serialization.lazy(async () => (await import("..")).Application).optional(), }); export declare namespace Authorization { interface Raw { authorization?: serializers.AuthorizationAuthorization.Raw | null; - application?: serializers.Application.Raw | null; + application?: (serializers.Application.Raw | undefined) | null; } } diff --git a/src/serialization/types/CollectionItemRemoved.ts b/src/serialization/types/CollectionItemRemoved.ts deleted file mode 100644 index 9cd31c1d..00000000 --- a/src/serialization/types/CollectionItemRemoved.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const CollectionItemRemoved: core.serialization.ObjectSchema< - serializers.CollectionItemRemoved.Raw, - Webflow.CollectionItemRemoved -> = core.serialization.object({ - deleted: core.serialization.number().optional(), - itemId: core.serialization.string().optional(), -}); - -export declare namespace CollectionItemRemoved { - interface Raw { - deleted?: number | null; - itemId?: string | null; - } -} diff --git a/src/serialization/types/CustomCodeBlock.ts b/src/serialization/types/CustomCodeBlock.ts index 33140316..5582a254 100644 --- a/src/serialization/types/CustomCodeBlock.ts +++ b/src/serialization/types/CustomCodeBlock.ts @@ -13,9 +13,7 @@ export const CustomCodeBlock: core.serialization.ObjectSchema< siteId: core.serialization.string().optional(), pageId: core.serialization.string().optional(), type: core.serialization.lazy(async () => (await import("..")).CustomCodeBlockType).optional(), - scripts: core.serialization - .list(core.serialization.lazyObject(async () => (await import("..")).ScriptApply)) - .optional(), + scripts: core.serialization.lazy(async () => (await import("..")).Scripts).optional(), createdOn: core.serialization.date().optional(), lastUpdated: core.serialization.date().optional(), }); @@ -25,7 +23,7 @@ export declare namespace CustomCodeBlock { siteId?: string | null; pageId?: string | null; type?: serializers.CustomCodeBlockType.Raw | null; - scripts?: serializers.ScriptApply.Raw[] | null; + scripts?: serializers.Scripts.Raw | null; createdOn?: string | null; lastUpdated?: string | null; } diff --git a/src/serialization/types/Assets.ts b/src/serialization/types/Domains.ts similarity index 57% rename from src/serialization/types/Assets.ts rename to src/serialization/types/Domains.ts index 90301010..54f0d7b9 100644 --- a/src/serialization/types/Assets.ts +++ b/src/serialization/types/Domains.ts @@ -6,15 +6,15 @@ import * as serializers from ".."; import * as Webflow from "../../api"; import * as core from "../../core"; -export const Assets: core.serialization.ObjectSchema = +export const Domains: core.serialization.ObjectSchema = core.serialization.object({ - assets: core.serialization - .list(core.serialization.lazyObject(async () => (await import("..")).Asset)) + customDomains: core.serialization + .list(core.serialization.lazyObject(async () => (await import("..")).Domain)) .optional(), }); -export declare namespace Assets { +export declare namespace Domains { interface Raw { - assets?: serializers.Asset.Raw[] | null; + customDomains?: serializers.Domain.Raw[] | null; } } diff --git a/src/serialization/types/DuplicateUserEmail.ts b/src/serialization/types/DuplicateUserEmail.ts index ca8d28ff..8c30516c 100644 --- a/src/serialization/types/DuplicateUserEmail.ts +++ b/src/serialization/types/DuplicateUserEmail.ts @@ -10,7 +10,7 @@ export const DuplicateUserEmail: core.serialization.ObjectSchema< serializers.DuplicateUserEmail.Raw, Webflow.DuplicateUserEmail > = core.serialization.object({ - code: core.serialization.stringLiteral("duplicate_user_email").optional(), + code: core.serialization.string().optional(), message: core.serialization.string().optional(), externalReference: core.serialization.string().optional(), details: core.serialization @@ -20,7 +20,7 @@ export const DuplicateUserEmail: core.serialization.ObjectSchema< export declare namespace DuplicateUserEmail { interface Raw { - code?: "duplicate_user_email" | null; + code?: string | null; message?: string | null; externalReference?: string | null; details?: serializers.ErrorDetailsItem.Raw[] | null; diff --git a/src/serialization/types/FormSubmissionTrigger.ts b/src/serialization/types/FormSubmissionTrigger.ts deleted file mode 100644 index 3f92fe9e..00000000 --- a/src/serialization/types/FormSubmissionTrigger.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const FormSubmissionTrigger: core.serialization.ObjectSchema< - serializers.FormSubmissionTrigger.Raw, - Webflow.FormSubmissionTrigger -> = core.serialization.object({ - triggerType: core.serialization.string().optional(), - payload: core.serialization.lazyObject(async () => (await import("..")).FormSubmissionTriggerPayload).optional(), -}); - -export declare namespace FormSubmissionTrigger { - interface Raw { - triggerType?: string | null; - payload?: serializers.FormSubmissionTriggerPayload.Raw | null; - } -} diff --git a/src/serialization/types/FormSubmissionTriggerPayload.ts b/src/serialization/types/FormSubmissionTriggerPayload.ts deleted file mode 100644 index 4d5d9f64..00000000 --- a/src/serialization/types/FormSubmissionTriggerPayload.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const FormSubmissionTriggerPayload: core.serialization.ObjectSchema< - serializers.FormSubmissionTriggerPayload.Raw, - Webflow.FormSubmissionTriggerPayload -> = core.serialization.object({ - name: core.serialization.string().optional(), - siteId: core.serialization.string().optional(), - data: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - submittedAt: core.serialization.string().optional(), - formId: core.serialization.string().optional(), -}); - -export declare namespace FormSubmissionTriggerPayload { - interface Raw { - name?: string | null; - siteId?: string | null; - data?: Record | null; - submittedAt?: string | null; - formId?: string | null; - } -} diff --git a/src/serialization/types/InvalidScopes.ts b/src/serialization/types/InvalidScopes.ts deleted file mode 100644 index 68141b7d..00000000 --- a/src/serialization/types/InvalidScopes.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const InvalidScopes: core.serialization.ObjectSchema = - core.serialization.object({ - status: core.serialization.number().optional(), - message: core.serialization.string().optional(), - publicErrorCode: core.serialization.string().optional(), - externalReference: core.serialization.string().optional(), - details: core.serialization.list(core.serialization.string()).optional(), - }); - -export declare namespace InvalidScopes { - interface Raw { - status?: number | null; - message?: string | null; - publicErrorCode?: string | null; - externalReference?: string | null; - details?: string[] | null; - } -} diff --git a/src/serialization/types/PageCreatedWebhook.ts b/src/serialization/types/PageCreatedWebhook.ts deleted file mode 100644 index cc834acc..00000000 --- a/src/serialization/types/PageCreatedWebhook.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const PageCreatedWebhook: core.serialization.ObjectSchema< - serializers.PageCreatedWebhook.Raw, - Webflow.PageCreatedWebhook -> = core.serialization.object({ - siteId: core.serialization.string().optional(), - pageId: core.serialization.string().optional(), - pageTitle: core.serialization.string().optional(), - createdAt: core.serialization.date().optional(), -}); - -export declare namespace PageCreatedWebhook { - interface Raw { - siteId?: string | null; - pageId?: string | null; - pageTitle?: string | null; - createdAt?: string | null; - } -} diff --git a/src/serialization/types/PageDeletedWebhook.ts b/src/serialization/types/PageDeletedWebhook.ts deleted file mode 100644 index b6aa2d3a..00000000 --- a/src/serialization/types/PageDeletedWebhook.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const PageDeletedWebhook: core.serialization.ObjectSchema< - serializers.PageDeletedWebhook.Raw, - Webflow.PageDeletedWebhook -> = core.serialization.object({ - siteId: core.serialization.string().optional(), - pageId: core.serialization.string().optional(), - pageTitle: core.serialization.string().optional(), - deletedAt: core.serialization.date().optional(), -}); - -export declare namespace PageDeletedWebhook { - interface Raw { - siteId?: string | null; - pageId?: string | null; - pageTitle?: string | null; - deletedAt?: string | null; - } -} diff --git a/src/serialization/types/PageMetadataUpdatedWebhook.ts b/src/serialization/types/PageMetadataUpdatedWebhook.ts deleted file mode 100644 index 625b7316..00000000 --- a/src/serialization/types/PageMetadataUpdatedWebhook.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const PageMetadataUpdatedWebhook: core.serialization.ObjectSchema< - serializers.PageMetadataUpdatedWebhook.Raw, - Webflow.PageMetadataUpdatedWebhook -> = core.serialization.object({ - siteId: core.serialization.string().optional(), - pageId: core.serialization.string().optional(), - pageTitle: core.serialization.string().optional(), - lastUpdated: core.serialization.date().optional(), -}); - -export declare namespace PageMetadataUpdatedWebhook { - interface Raw { - siteId?: string | null; - pageId?: string | null; - pageTitle?: string | null; - lastUpdated?: string | null; - } -} diff --git a/src/serialization/types/PageSeoGraphData.ts b/src/serialization/types/PageSeoGraphData.ts deleted file mode 100644 index 1bdcb740..00000000 --- a/src/serialization/types/PageSeoGraphData.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const PageSeoGraphData: core.serialization.ObjectSchema< - serializers.PageSeoGraphData.Raw, - Webflow.PageSeoGraphData -> = core.serialization.object({ - seo: core.serialization.lazyObject(async () => (await import("..")).PageSeoGraphDataSeo).optional(), - openGraph: core.serialization.lazyObject(async () => (await import("..")).PageSeoGraphDataOpenGraph).optional(), -}); - -export declare namespace PageSeoGraphData { - interface Raw { - seo?: serializers.PageSeoGraphDataSeo.Raw | null; - openGraph?: serializers.PageSeoGraphDataOpenGraph.Raw | null; - } -} diff --git a/src/serialization/types/PageSeoGraphDataOpenGraph.ts b/src/serialization/types/PageSeoGraphDataOpenGraph.ts deleted file mode 100644 index 4bcd3e73..00000000 --- a/src/serialization/types/PageSeoGraphDataOpenGraph.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const PageSeoGraphDataOpenGraph: core.serialization.ObjectSchema< - serializers.PageSeoGraphDataOpenGraph.Raw, - Webflow.PageSeoGraphDataOpenGraph -> = core.serialization.object({ - title: core.serialization.string().optional(), - description: core.serialization.string().optional(), -}); - -export declare namespace PageSeoGraphDataOpenGraph { - interface Raw { - title?: string | null; - description?: string | null; - } -} diff --git a/src/serialization/types/PageSeoGraphDataSeo.ts b/src/serialization/types/PageSeoGraphDataSeo.ts deleted file mode 100644 index a47ba2cb..00000000 --- a/src/serialization/types/PageSeoGraphDataSeo.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const PageSeoGraphDataSeo: core.serialization.ObjectSchema< - serializers.PageSeoGraphDataSeo.Raw, - Webflow.PageSeoGraphDataSeo -> = core.serialization.object({ - title: core.serialization.string().optional(), - description: core.serialization.string().optional(), -}); - -export declare namespace PageSeoGraphDataSeo { - interface Raw { - title?: string | null; - description?: string | null; - } -} diff --git a/src/serialization/types/PublishedItems.ts b/src/serialization/types/PublishedItems.ts deleted file mode 100644 index 1b8de915..00000000 --- a/src/serialization/types/PublishedItems.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const PublishedItems: core.serialization.ObjectSchema = - core.serialization.object({ - publishedItemIds: core.serialization.list(core.serialization.string()).optional(), - errors: core.serialization.list(core.serialization.string()).optional(), - }); - -export declare namespace PublishedItems { - interface Raw { - publishedItemIds?: string[] | null; - errors?: string[] | null; - } -} diff --git a/src/serialization/types/PublishedSite.ts b/src/serialization/types/PublishedSite.ts deleted file mode 100644 index 155f8cae..00000000 --- a/src/serialization/types/PublishedSite.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const PublishedSite: core.serialization.ObjectSchema = - core.serialization.object({ - queued: core.serialization.boolean(), - }); - -export declare namespace PublishedSite { - interface Raw { - queued: boolean; - } -} diff --git a/src/serialization/types/RemovedItems.ts b/src/serialization/types/RemovedItems.ts deleted file mode 100644 index 485633f8..00000000 --- a/src/serialization/types/RemovedItems.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const RemovedItems: core.serialization.ObjectSchema = - core.serialization.object({ - deletedItemIds: core.serialization.list(core.serialization.string()).optional(), - errors: core.serialization.list(core.serialization.string()).optional(), - }); - -export declare namespace RemovedItems { - interface Raw { - deletedItemIds?: string[] | null; - errors?: string[] | null; - } -} diff --git a/src/serialization/types/Fields.ts b/src/serialization/types/Scripts.ts similarity index 54% rename from src/serialization/types/Fields.ts rename to src/serialization/types/Scripts.ts index e9458718..5fdc9edb 100644 --- a/src/serialization/types/Fields.ts +++ b/src/serialization/types/Scripts.ts @@ -6,10 +6,10 @@ import * as serializers from ".."; import * as Webflow from "../../api"; import * as core from "../../core"; -export const Fields: core.serialization.Schema = core.serialization.list( - core.serialization.lazyObject(async () => (await import("..")).Field) +export const Scripts: core.serialization.Schema = core.serialization.list( + core.serialization.lazyObject(async () => (await import("..")).ScriptApply) ); -export declare namespace Fields { - type Raw = serializers.Field.Raw[]; +export declare namespace Scripts { + type Raw = serializers.ScriptApply.Raw[]; } diff --git a/src/serialization/types/SitePublish.ts b/src/serialization/types/SitePublish.ts deleted file mode 100644 index ff25c1f4..00000000 --- a/src/serialization/types/SitePublish.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const SitePublish: core.serialization.ObjectSchema = - core.serialization.object({ - payload: core.serialization.lazyObject(async () => (await import("..")).SitePublishPayload).optional(), - }); - -export declare namespace SitePublish { - interface Raw { - payload?: serializers.SitePublishPayload.Raw | null; - } -} diff --git a/src/serialization/types/SitePublishPayload.ts b/src/serialization/types/SitePublishPayload.ts deleted file mode 100644 index 20415fac..00000000 --- a/src/serialization/types/SitePublishPayload.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const SitePublishPayload: core.serialization.ObjectSchema< - serializers.SitePublishPayload.Raw, - Webflow.SitePublishPayload -> = core.serialization.object({ - site: core.serialization.string().optional(), - publishTime: core.serialization.date().optional(), - domains: core.serialization.list(core.serialization.string()).optional(), - publishedBy: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), -}); - -export declare namespace SitePublishPayload { - interface Raw { - site?: string | null; - publishTime?: string | null; - domains?: string[] | null; - publishedBy?: Record | null; - } -} diff --git a/src/serialization/types/Sites.ts b/src/serialization/types/Sites.ts deleted file mode 100644 index 1addf834..00000000 --- a/src/serialization/types/Sites.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const Sites: core.serialization.ObjectSchema = core.serialization.object({ - sites: core.serialization.list(core.serialization.lazyObject(async () => (await import("..")).Site)).optional(), -}); - -export declare namespace Sites { - interface Raw { - sites?: serializers.Site.Raw[] | null; - } -} diff --git a/src/serialization/types/UserLimitReached.ts b/src/serialization/types/UserLimitReached.ts index 1d5dc438..9c31295e 100644 --- a/src/serialization/types/UserLimitReached.ts +++ b/src/serialization/types/UserLimitReached.ts @@ -10,7 +10,7 @@ export const UserLimitReached: core.serialization.ObjectSchema< serializers.UserLimitReached.Raw, Webflow.UserLimitReached > = core.serialization.object({ - code: core.serialization.stringLiteral("user_limit_reached").optional(), + code: core.serialization.string().optional(), message: core.serialization.string().optional(), externalReference: core.serialization.string().optional(), details: core.serialization @@ -20,7 +20,7 @@ export const UserLimitReached: core.serialization.ObjectSchema< export declare namespace UserLimitReached { interface Raw { - code?: "user_limit_reached" | null; + code?: string | null; message?: string | null; externalReference?: string | null; details?: serializers.ErrorDetailsItem.Raw[] | null; diff --git a/src/serialization/types/UserWebhookPayload.ts b/src/serialization/types/UserWebhookPayload.ts deleted file mode 100644 index 5dfb56b8..00000000 --- a/src/serialization/types/UserWebhookPayload.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const UserWebhookPayload: core.serialization.ObjectSchema< - serializers.UserWebhookPayload.Raw, - Webflow.UserWebhookPayload -> = core.serialization.object({ - triggerType: core.serialization.lazy(async () => (await import("..")).UserWebhookPayloadTriggerType).optional(), - payload: core.serialization.lazyObject(async () => (await import("..")).User).optional(), -}); - -export declare namespace UserWebhookPayload { - interface Raw { - triggerType?: serializers.UserWebhookPayloadTriggerType.Raw | null; - payload?: serializers.User.Raw | null; - } -} diff --git a/src/serialization/types/UserWebhookPayloadTriggerType.ts b/src/serialization/types/UserWebhookPayloadTriggerType.ts deleted file mode 100644 index 5dda9d94..00000000 --- a/src/serialization/types/UserWebhookPayloadTriggerType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from ".."; -import * as Webflow from "../../api"; -import * as core from "../../core"; - -export const UserWebhookPayloadTriggerType: core.serialization.Schema< - serializers.UserWebhookPayloadTriggerType.Raw, - Webflow.UserWebhookPayloadTriggerType -> = core.serialization.enum_(["user_account_added", "user_account_updated", "user_account_deleted"]); - -export declare namespace UserWebhookPayloadTriggerType { - type Raw = "user_account_added" | "user_account_updated" | "user_account_deleted"; -} diff --git a/src/serialization/types/UsersNotEnabled.ts b/src/serialization/types/UsersNotEnabled.ts index 2356011c..ba7004e8 100644 --- a/src/serialization/types/UsersNotEnabled.ts +++ b/src/serialization/types/UsersNotEnabled.ts @@ -10,7 +10,7 @@ export const UsersNotEnabled: core.serialization.ObjectSchema< serializers.UsersNotEnabled.Raw, Webflow.UsersNotEnabled > = core.serialization.object({ - code: core.serialization.stringLiteral("users_not_enabled").optional(), + code: core.serialization.string().optional(), message: core.serialization.string().optional(), externalReference: core.serialization.string().optional(), details: core.serialization @@ -20,7 +20,7 @@ export const UsersNotEnabled: core.serialization.ObjectSchema< export declare namespace UsersNotEnabled { interface Raw { - code?: "users_not_enabled" | null; + code?: string | null; message?: string | null; externalReference?: string | null; details?: serializers.ErrorDetailsItem.Raw[] | null; diff --git a/src/serialization/types/index.ts b/src/serialization/types/index.ts index f8f20244..08be623d 100644 --- a/src/serialization/types/index.ts +++ b/src/serialization/types/index.ts @@ -1,64 +1,59 @@ export * from "./OauthScope"; export * from "./AuthorizedUser"; +export * from "./Application"; export * from "./AuthorizationAuthorizationAuthorizedTo"; export * from "./AuthorizationAuthorization"; export * from "./Authorization"; +export * from "./Domain"; +export * from "./Site"; +export * from "./Domains"; +export * from "./InvalidDomain"; +export * from "./NoDomains"; +export * from "./SiteActivityLogItemResourceOperation"; +export * from "./SiteActivityLogItemUser"; +export * from "./SiteActivityLogItem"; export * from "./Pagination"; -export * from "./PublishStatus"; -export * from "./InvalidScopes"; -export * from "./CustomCodeResponse"; -export * from "./RegisteredScriptList"; -export * from "./ScriptApplyList"; -export * from "./ScriptApplyLocation"; -export * from "./ScriptApply"; -export * from "./ListCustomCodeBlocks"; -export * from "./CustomCodeBlockType"; -export * from "./CustomCodeBlock"; -export * from "./PageList"; -export * from "./PageSeo"; -export * from "./PageOpenGraph"; -export * from "./Page"; -export * from "./PageCreatedWebhook"; -export * from "./PageMetadataUpdatedWebhook"; -export * from "./PageDeletedWebhook"; -export * from "./PageSeoGraphDataSeo"; -export * from "./PageSeoGraphDataOpenGraph"; -export * from "./PageSeoGraphData"; -export * from "./Dom"; -export * from "./NodeType"; -export * from "./Node"; -export * from "./TextNode"; -export * from "./ImageNode"; -export * from "./CollectionList"; +export * from "./SiteActivityLogResponse"; +export * from "./ErrorDetailsItem"; +export * from "./Error_"; +export * from "./MissingScopes"; +export * from "./NotEnterprisePlanSite"; export * from "./CollectionListArrayItem"; -export * from "./Collection"; -export * from "./Fields"; +export * from "./CollectionList"; export * from "./FieldType"; export * from "./Field"; +export * from "./Collection"; export * from "./CollectionItemFieldData"; export * from "./CollectionItem"; export * from "./CollectionItemListPagination"; export * from "./CollectionItemList"; -export * from "./Webhook"; -export * from "./WebhookList"; -export * from "./TriggerType"; -export * from "./CollectionItemRemoved"; -export * from "./Sites"; -export * from "./Site"; -export * from "./Domain"; -export * from "./SitePublishPayload"; -export * from "./SitePublish"; -export * from "./SiteActivityLogResponse"; -export * from "./SiteActivityLogItemResourceOperation"; -export * from "./SiteActivityLogItemUser"; -export * from "./SiteActivityLogItem"; -export * from "./Assets"; -export * from "./Asset"; +export * from "./PageSeo"; +export * from "./PageOpenGraph"; +export * from "./Page"; +export * from "./PageList"; +export * from "./TextNode"; +export * from "./ImageNode"; +export * from "./NodeType"; +export * from "./Node"; +export * from "./Dom"; +export * from "./ScriptApplyLocation"; +export * from "./ScriptApply"; +export * from "./ScriptApplyList"; +export * from "./CustomCodeResponse"; +export * from "./RegisteredScriptList"; +export * from "./Scripts"; +export * from "./CustomCodeBlockType"; +export * from "./CustomCodeBlock"; +export * from "./ListCustomCodeBlocks"; export * from "./AssetVariant"; +export * from "./Asset"; export * from "./AssetUploadUploadDetails"; export * from "./AssetUpload"; export * from "./AssetFolder"; export * from "./AssetFolderList"; +export * from "./TriggerType"; +export * from "./Webhook"; +export * from "./WebhookList"; export * from "./FormFieldValueType"; export * from "./FormFieldValue"; export * from "./FormField"; @@ -67,33 +62,25 @@ export * from "./Form"; export * from "./FormList"; export * from "./FormSubmission"; export * from "./FormSubmissionList"; -export * from "./FormSubmissionTriggerPayload"; -export * from "./FormSubmissionTrigger"; -export * from "./Application"; -export * from "./PublishedSite"; -export * from "./PublishedItems"; -export * from "./RemovedItems"; +export * from "./UserDataData"; +export * from "./UserData"; export * from "./UserStatus"; export * from "./UserAccessGroupsItemType"; export * from "./UserAccessGroupsItem"; export * from "./User"; -export * from "./UserDataData"; -export * from "./UserData"; export * from "./UserList"; -export * from "./UserWebhookPayloadTriggerType"; -export * from "./UserWebhookPayload"; -export * from "./AccessGroup"; -export * from "./AccessGroupList"; -export * from "./ErrorDetailsItem"; export * from "./UsersNotEnabled"; export * from "./DuplicateUserEmail"; export * from "./UserLimitReached"; -export * from "./MissingScopes"; -export * from "./NotEnterprisePlanSite"; +export * from "./AccessGroup"; +export * from "./AccessGroupList"; +export * from "./SkuPropertyListEnumItem"; +export * from "./SkuPropertyList"; export * from "./ProductFieldDataTaxCategory"; export * from "./ProductFieldDataEcProductType"; export * from "./ProductFieldData"; export * from "./Product"; +export * from "./SkuValueList"; export * from "./SkuFieldDataPrice"; export * from "./SkuFieldDataCompareAtPrice"; export * from "./SkuFieldDataEcSkuBillingMethod"; @@ -103,19 +90,7 @@ export * from "./SkuFieldData"; export * from "./Sku"; export * from "./ProductAndSkUs"; export * from "./ProductAndSkUsList"; -export * from "./SkuPropertyListEnumItem"; -export * from "./SkuPropertyList"; -export * from "./SkuValueList"; -export * from "./OrderStatus"; -export * from "./OrderDisputeLastStatus"; -export * from "./OrderCustomerInfo"; -export * from "./OrderMetadata"; -export * from "./OrderTotalsExtrasItemType"; -export * from "./OrderTotalsExtrasItem"; -export * from "./OrderTotals"; -export * from "./OrderDownloadFilesItem"; -export * from "./Order"; -export * from "./OrderList"; +export * from "./PublishStatus"; export * from "./OrderPrice"; export * from "./OrderAddressType"; export * from "./OrderAddressJapanType"; @@ -129,9 +104,16 @@ export * from "./StripeCardBrand"; export * from "./StripeCardExpires"; export * from "./StripeCard"; export * from "./PaypalDetails"; +export * from "./OrderStatus"; +export * from "./OrderDisputeLastStatus"; +export * from "./OrderCustomerInfo"; +export * from "./OrderMetadata"; +export * from "./OrderTotalsExtrasItemType"; +export * from "./OrderTotalsExtrasItem"; +export * from "./OrderTotals"; +export * from "./OrderDownloadFilesItem"; +export * from "./Order"; +export * from "./OrderList"; export * from "./InventoryItemInventoryType"; export * from "./InventoryItem"; export * from "./EcommerceSettings"; -export * from "./Error_"; -export * from "./InvalidDomain"; -export * from "./NoDomains"; diff --git a/yarn.lock b/yarn.lock index 17af4ec4..cd816342 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,33 +10,33 @@ "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.24" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.23.5": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.23.5.tgz#9009b69a8c602293476ad598ff53e4562e15c244" - integrity sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA== +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.23.5", "@babel/code-frame@^7.24.1", "@babel/code-frame@^7.24.2": + version "7.24.2" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.24.2.tgz#718b4b19841809a58b29b68cde80bc5e1aa6d9ae" + integrity sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ== dependencies: - "@babel/highlight" "^7.23.4" - chalk "^2.4.2" + "@babel/highlight" "^7.24.2" + picocolors "^1.0.0" "@babel/compat-data@^7.23.5": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.23.5.tgz#ffb878728bb6bdcb6f4510aa51b1be9afb8cfd98" - integrity sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw== + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.24.1.tgz#31c1f66435f2a9c329bb5716a6d6186c516c3742" + integrity sha512-Pc65opHDliVpRHuKfzI+gSA4zcgr65O4cl64fFJIWEEh8JoHIHh0Oez1Eo8Arz8zq/JhgKodQaxEwUPRtZylVA== "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9": - version "7.24.0" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.24.0.tgz#56cbda6b185ae9d9bed369816a8f4423c5f2ff1b" - integrity sha512-fQfkg0Gjkza3nf0c7/w6Xf34BW4YvzNfACRLmmb7XRLa6XHdR+K9AlJlxneFfWYf6uhOzuzZVTjF/8KfndZANw== + version "7.24.3" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.24.3.tgz#568864247ea10fbd4eff04dda1e05f9e2ea985c3" + integrity sha512-5FcvN1JHw2sHJChotgx8Ek0lyuh4kCKelgMTTqhYJJtloNvUfpAFMeNQUtdlIaktwrSV9LtCdqwk48wL2wBacQ== dependencies: "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.23.5" - "@babel/generator" "^7.23.6" + "@babel/code-frame" "^7.24.2" + "@babel/generator" "^7.24.1" "@babel/helper-compilation-targets" "^7.23.6" "@babel/helper-module-transforms" "^7.23.3" - "@babel/helpers" "^7.24.0" - "@babel/parser" "^7.24.0" + "@babel/helpers" "^7.24.1" + "@babel/parser" "^7.24.1" "@babel/template" "^7.24.0" - "@babel/traverse" "^7.24.0" + "@babel/traverse" "^7.24.1" "@babel/types" "^7.24.0" convert-source-map "^2.0.0" debug "^4.1.0" @@ -44,14 +44,14 @@ json5 "^2.2.3" semver "^6.3.1" -"@babel/generator@^7.23.6", "@babel/generator@^7.7.2": - version "7.23.6" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.6.tgz#9e1fca4811c77a10580d17d26b57b036133f3c2e" - integrity sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw== +"@babel/generator@^7.24.1", "@babel/generator@^7.7.2": + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.24.1.tgz#e67e06f68568a4ebf194d1c6014235344f0476d0" + integrity sha512-DfCRfZsBcrPEHUfuBMgbJ1Ut01Y/itOs+hY2nFLgqsqXd52/iSiVq5TITtUasIUgm+IIKdY2/1I7auiQOEeC9A== dependencies: - "@babel/types" "^7.23.6" - "@jridgewell/gen-mapping" "^0.3.2" - "@jridgewell/trace-mapping" "^0.3.17" + "@babel/types" "^7.24.0" + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.25" jsesc "^2.5.1" "@babel/helper-compilation-targets@^7.23.6": @@ -86,11 +86,11 @@ "@babel/types" "^7.22.5" "@babel/helper-module-imports@^7.22.15": - version "7.22.15" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0" - integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== + version "7.24.3" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz#6ac476e6d168c7c23ff3ba3cf4f7841d46ac8128" + integrity sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg== dependencies: - "@babel/types" "^7.22.15" + "@babel/types" "^7.24.0" "@babel/helper-module-transforms@^7.23.3": version "7.23.3" @@ -103,7 +103,7 @@ "@babel/helper-split-export-declaration" "^7.22.6" "@babel/helper-validator-identifier" "^7.22.20" -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.0": +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.24.0", "@babel/helper-plugin-utils@^7.8.0": version "7.24.0" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz#945681931a52f15ce879fd5b86ce2dae6d3d7f2a" integrity sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w== @@ -123,9 +123,9 @@ "@babel/types" "^7.22.5" "@babel/helper-string-parser@^7.23.4": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz#9478c707febcbbe1ddb38a3d91a2e054ae622d83" - integrity sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ== + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz#f99c36d3593db9540705d0739a1f10b5e20c696e" + integrity sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ== "@babel/helper-validator-identifier@^7.22.20": version "7.22.20" @@ -137,28 +137,29 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz#907a3fbd4523426285365d1206c423c4c5520307" integrity sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw== -"@babel/helpers@^7.24.0": - version "7.24.0" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.24.0.tgz#a3dd462b41769c95db8091e49cfe019389a9409b" - integrity sha512-ulDZdc0Aj5uLc5nETsa7EPx2L7rM0YJM8r7ck7U73AXi7qOV44IHHRAYZHY6iU1rr3C5N4NtTmMRUJP6kwCWeA== +"@babel/helpers@^7.24.1": + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.24.1.tgz#183e44714b9eba36c3038e442516587b1e0a1a94" + integrity sha512-BpU09QqEe6ZCHuIHFphEFgvNSrubve1FtyMton26ekZ85gRGi6LrTF7zArARp2YvyFxloeiRmtSCq5sjh1WqIg== dependencies: "@babel/template" "^7.24.0" - "@babel/traverse" "^7.24.0" + "@babel/traverse" "^7.24.1" "@babel/types" "^7.24.0" -"@babel/highlight@^7.23.4": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.23.4.tgz#edaadf4d8232e1a961432db785091207ead0621b" - integrity sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A== +"@babel/highlight@^7.24.2": + version "7.24.2" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.24.2.tgz#3f539503efc83d3c59080a10e6634306e0370d26" + integrity sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA== dependencies: "@babel/helper-validator-identifier" "^7.22.20" chalk "^2.4.2" js-tokens "^4.0.0" + picocolors "^1.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.24.0": - version "7.24.0" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.0.tgz#26a3d1ff49031c53a97d03b604375f028746a9ac" - integrity sha512-QuP/FxEAzMSjXygs8v4N9dvdXzEHN4W1oF3PxuWAtPo08UdM17u89RDMgjLn/mlc56iM0HlLmVkO/wgR+rDgHg== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.24.0", "@babel/parser@^7.24.1": + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.1.tgz#1e416d3627393fab1cb5b0f2f1796a100ae9133a" + integrity sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg== "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -196,11 +197,11 @@ "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-jsx@^7.7.2": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz#8f2e4f8a9b5f9aa16067e142c1ac9cd9f810f473" - integrity sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg== + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.1.tgz#3f6ca04b8c841811dbc3c5c5f837934e0d626c10" + integrity sha512-2eCtxZXf+kbkMIsXS4poTvT4Yu5rXiRa+9xGVT56raghjmBTKMpFNc9R4IDiB4emao9eO22Ox7CxuJG7BgExqA== dependencies: - "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-plugin-utils" "^7.24.0" "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.10.4" @@ -252,11 +253,11 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-typescript@^7.7.2": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz#24f460c85dbbc983cd2b9c4994178bcc01df958f" - integrity sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ== + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.1.tgz#b3bcc51f396d15f3591683f90239de143c076844" + integrity sha512-Yhnmvy5HZEnHUty6i++gcfH1/l68AHnItFHnaCv6hn9dNh0hQvvQJsxpi4BMBFN5DLeHBuucT/0DgzXif/OyRw== dependencies: - "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-plugin-utils" "^7.24.0" "@babel/template@^7.22.15", "@babel/template@^7.24.0", "@babel/template@^7.3.3": version "7.24.0" @@ -267,23 +268,23 @@ "@babel/parser" "^7.24.0" "@babel/types" "^7.24.0" -"@babel/traverse@^7.24.0": - version "7.24.0" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.24.0.tgz#4a408fbf364ff73135c714a2ab46a5eab2831b1e" - integrity sha512-HfuJlI8qq3dEDmNU5ChzzpZRWq+oxCZQyMzIMEqLho+AQnhMnKQUzH6ydo3RBl/YjPCuk68Y6s0Gx0AeyULiWw== +"@babel/traverse@^7.24.1": + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.24.1.tgz#d65c36ac9dd17282175d1e4a3c49d5b7988f530c" + integrity sha512-xuU6o9m68KeqZbQuDt2TcKSxUw/mrsvavlEqQ1leZ/B+C9tk6E4sRWy97WaXgvq5E+nU3cXMxv3WKOCanVMCmQ== dependencies: - "@babel/code-frame" "^7.23.5" - "@babel/generator" "^7.23.6" + "@babel/code-frame" "^7.24.1" + "@babel/generator" "^7.24.1" "@babel/helper-environment-visitor" "^7.22.20" "@babel/helper-function-name" "^7.23.0" "@babel/helper-hoist-variables" "^7.22.5" "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/parser" "^7.24.0" + "@babel/parser" "^7.24.1" "@babel/types" "^7.24.0" debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.6", "@babel/types@^7.24.0", "@babel/types@^7.3.3": +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.24.0", "@babel/types@^7.3.3": version "7.24.0" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.24.0.tgz#3b951f435a92e7333eba05b7566fd297960ea1bf" integrity sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w== @@ -505,7 +506,7 @@ "@types/yargs" "^17.0.8" chalk "^4.0.0" -"@jridgewell/gen-mapping@^0.3.2", "@jridgewell/gen-mapping@^0.3.5": +"@jridgewell/gen-mapping@^0.3.5": version "0.3.5" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz#dcce6aff74bdf6dad1a95802b69b04a2fcb1fb36" integrity sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg== @@ -529,7 +530,7 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24": +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": version "0.3.25" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== @@ -632,9 +633,9 @@ form-data "^4.0.0" "@types/node@*": - version "20.11.27" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.27.tgz#debe5cfc8a507dd60fe2a3b4875b1604f215c2ac" - integrity sha512-qyUZfMnCg1KEz57r7pzFtSGt49f6RPkPBis3Vo4PbS7roQEDn22hiHzl/Lo1q4i4hDEgBJmBF/NTNg2XR0HbFg== + version "20.11.30" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.30.tgz#9c33467fc23167a347e73834f788f4b9f399d66f" + integrity sha512-dHM6ZxwlmuZaRmUPfv1p+KrdD1Dci04FbdEm/9wEMouFqxYoFl5aMkt0VMAUtYRQDyYvD41WJLukhq/ha3YuTw== dependencies: undici-types "~5.26.4" @@ -857,9 +858,9 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001587: - version "1.0.30001597" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001597.tgz#8be94a8c1d679de23b22fbd944232aa1321639e6" - integrity sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w== + version "1.0.30001600" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001600.tgz#93a3ee17a35aa6a9f0c6ef1b2ab49507d1ab9079" + integrity sha512-+2S9/2JFhYmYaDpZvo0lKkfvuKIglrx68MwOBqMGHhQsNkLjB5xtc/TGoEPs+MxjSyN/72qer2g97nzR641mOQ== chalk@^2.4.2: version "2.4.2" @@ -1017,9 +1018,9 @@ diff-sequences@^29.6.3: integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q== electron-to-chromium@^1.4.668: - version "1.4.703" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.703.tgz#786ab0c8cfe548b9da03890f923e69b1ae522741" - integrity sha512-094ZZC4nHXPKl/OwPinSMtLN9+hoFkdfQGKnvXbY+3WEAYtVDpz9UhJIViiY6Zb8agvqxiaJzNG9M+pRZWvSZw== + version "1.4.722" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.722.tgz#99ae3484c5fc0f387d39ad98d77e1f259b9f4074" + integrity sha512-5nLE0TWFFpZ80Crhtp4pIp8LXCztjYX41yUcV6b+bKR2PqzjskTMOOlBi1VjBHlvHwS+4gar7kNKOrsbsewEZQ== emittery@^0.13.1: version "0.13.1" @@ -2019,9 +2020,9 @@ prompts@^2.0.1: sisteransi "^1.0.5" pure-rand@^6.0.0: - version "6.0.4" - resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.0.4.tgz#50b737f6a925468679bff00ad20eade53f37d5c7" - integrity sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA== + version "6.1.0" + resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.1.0.tgz#d173cf23258231976ccbdb05247c9787957604f2" + integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA== qs@6.11.2: version "6.11.2"