From 9d27c1b50e4fe3027e065b5e47654a8924454314 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2026 13:26:31 +0000 Subject: [PATCH] SDK regeneration --- .fern/metadata.json | 4 +- .github/workflows/socket_reachability.yml | 80 ----- reference.md | 25 +- src/BaseClient.ts | 4 +- src/api/resources/assets/client/Client.ts | 31 +- .../client/requests/AssetsGetRequest.ts | 16 + .../client/requests/AssetsListRequest.ts | 7 + .../client/requests/AssetsUpdateRequest.ts | 14 +- .../resources/assets/client/requests/index.ts | 1 + .../resources/items/client/Client.ts | 50 ++- .../requests/ItemsListItemsLiveRequest.ts | 6 +- .../client/requests/ItemsListItemsRequest.ts | 6 +- .../types/ItemsListItemsLiveRequestSortBy.ts | 2 + .../types/ItemsListItemsRequestSortBy.ts | 2 + .../client/requests/ComponentDomWrite.ts | 2 +- .../requests/ComponentPropertiesWrite.ts | 2 +- .../requests/ComponentsGetContentRequest.ts | 2 +- .../ComponentsGetPropertiesRequest.ts | 2 +- .../client/requests/PageMetadataWrite.ts | 2 +- .../client/requests/PagesGetContentRequest.ts | 2 +- .../requests/PagesGetMetadataRequest.ts | 2 +- .../pages/client/requests/PagesListRequest.ts | 2 +- src/api/resources/sites/client/Client.ts | 2 + .../CommentsGetCommentThreadRequest.ts | 2 +- .../CommentsListCommentRepliesRequest.ts | 2 +- .../CommentsListCommentThreadsRequest.ts | 2 +- src/api/types/ComponentProperty.ts | 14 +- src/api/types/ComponentPropertyText.ts | 17 + ...tyType.ts => ComponentPropertyTextType.ts} | 4 +- src/api/types/Conflict.ts | 3 + .../FieldValidationsAdditionalProperties.ts | 9 +- ...dditionalPropertiesAdditionalProperties.ts | 5 - src/api/types/InvalidDomain.ts | 3 + src/api/types/InvalidScopes.ts | 3 + .../ItemsListItemsLiveRequestCreatedOn.ts | 8 + .../ItemsListItemsLiveRequestLastUpdated.ts | 8 + .../types/ItemsListItemsRequestCreatedOn.ts | 8 + .../types/ItemsListItemsRequestLastUpdated.ts | 8 + src/api/types/NoDomains.ts | 3 + src/api/types/NotEnterprisePlanSite.ts | 3 + src/api/types/NotEnterprisePlanWorkspace.ts | 3 + src/api/types/index.ts | 8 +- .../client/requests/AssetsUpdateRequest.ts | 6 +- .../types/ItemsListItemsLiveRequestSortBy.ts | 4 +- .../types/ItemsListItemsRequestSortBy.ts | 4 +- src/serialization/types/ComponentProperty.ts | 19 +- .../types/ComponentPropertyText.ts | 26 ++ ...tyType.ts => ComponentPropertyTextType.ts} | 8 +- .../FieldValidationsAdditionalProperties.ts | 5 +- ...dditionalPropertiesAdditionalProperties.ts | 18 - .../ItemsListItemsLiveRequestCreatedOn.ts | 20 ++ .../ItemsListItemsLiveRequestLastUpdated.ts | 20 ++ .../types/ItemsListItemsRequestCreatedOn.ts | 20 ++ .../types/ItemsListItemsRequestLastUpdated.ts | 20 ++ src/serialization/types/index.ts | 8 +- src/version.ts | 2 +- tests/wire/assets.test.ts | 9 +- tests/wire/collections.test.ts | 4 +- tests/wire/collections/items.test.ts | 4 +- tests/wire/components.test.ts | 20 +- tests/wire/orders.test.ts | 320 +++++++++--------- tests/wire/pages.test.ts | 12 +- tests/wire/sites.test.ts | 26 +- yarn.lock | 203 +++++------ 64 files changed, 678 insertions(+), 479 deletions(-) delete mode 100644 .github/workflows/socket_reachability.yml create mode 100644 src/api/resources/assets/client/requests/AssetsGetRequest.ts create mode 100644 src/api/types/ComponentPropertyText.ts rename src/api/types/{ComponentPropertyType.ts => ComponentPropertyTextType.ts} (54%) delete mode 100644 src/api/types/FieldValidationsAdditionalPropertiesAdditionalProperties.ts create mode 100644 src/api/types/ItemsListItemsLiveRequestCreatedOn.ts create mode 100644 src/api/types/ItemsListItemsLiveRequestLastUpdated.ts create mode 100644 src/api/types/ItemsListItemsRequestCreatedOn.ts create mode 100644 src/api/types/ItemsListItemsRequestLastUpdated.ts create mode 100644 src/serialization/types/ComponentPropertyText.ts rename src/serialization/types/{ComponentPropertyType.ts => ComponentPropertyTextType.ts} (62%) delete mode 100644 src/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.ts create mode 100644 src/serialization/types/ItemsListItemsLiveRequestCreatedOn.ts create mode 100644 src/serialization/types/ItemsListItemsLiveRequestLastUpdated.ts create mode 100644 src/serialization/types/ItemsListItemsRequestCreatedOn.ts create mode 100644 src/serialization/types/ItemsListItemsRequestLastUpdated.ts diff --git a/.fern/metadata.json b/.fern/metadata.json index b5cc660b..399908fb 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -1,5 +1,5 @@ { - "cliVersion": "4.22.0", + "cliVersion": "4.65.1", "generatorName": "fernapi/fern-typescript-node-sdk", "generatorVersion": "3.53.13", "generatorConfig": { @@ -34,6 +34,6 @@ } } }, - "originGitCommit": "f0174d404a2635415e858ef151cf9202df3e3d02", + "originGitCommit": "0eb950072ce0d6e80e3c587f693c9d4beb4f6f76", "sdkVersion": "3.3.5" } diff --git a/.github/workflows/socket_reachability.yml b/.github/workflows/socket_reachability.yml deleted file mode 100644 index 72834c1b..00000000 --- a/.github/workflows/socket_reachability.yml +++ /dev/null @@ -1,80 +0,0 @@ -# Socket Security Scan with Tier 1 Reachability Analysis -# -# This workflow scans dependencies and performs reachability analysis -# to identify which vulnerabilities are actually reachable in the code. -# -# Required: SOCKET_SECURITY_API_KEY secret with enterprise plan -# API token scopes needed: socket-basics, uploaded-artifacts, full-scans, repo - -name: Socket Security Scan - -on: - schedule: - - cron: "0 2 * * *" # Everyday at 2 AM UTC - workflow_dispatch: - inputs: - enable_reachability: - description: "Enable Tier 1 reachability analysis" - required: false - default: "true" - type: choice - options: - - "true" - - "false" - -concurrency: - group: socket-security-scan - cancel-in-progress: true - -jobs: - socket-security: - name: Socket Security Scan - runs-on: ubuntu-latest - timeout-minutes: 120 - permissions: - contents: read - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: "20" - - - name: Install uv (Python package manager) - uses: astral-sh/setup-uv@v4 - - - name: Install Socket CLI - run: uv pip install socketsecurity --upgrade --system - - - name: Run Socket Security Scan - env: - SOCKET_SECURITY_API_TOKEN: ${{ secrets.SOCKET_SECURITY_API_KEY }} - PYTHONUNBUFFERED: "1" - ENABLE_REACH: ${{ github.event.inputs.enable_reachability }} - run: | - REPO_NAME="${GITHUB_REPOSITORY#*/}" - - # Build reachability flags if enabled - REACH_FLAGS="" - if [[ "${ENABLE_REACH}" != "false" ]]; then - REACH_FLAGS="--reach --reach-memory-limit 16384 --reach-timeout 3600" - echo "Reachability analysis enabled" - fi - - echo "Scanning repository: $REPO_NAME" - - socketcli \ - --target-path "$GITHUB_WORKSPACE" \ - --repo "$REPO_NAME" \ - --enable-debug \ - $REACH_FLAGS diff --git a/reference.md b/reference.md index 1b8d26b2..ade8c4b2 100644 --- a/reference.md +++ b/reference.md @@ -537,6 +537,8 @@ Publishes a site to one or more more domains. To publish to a specific custom domain, use the domain IDs from the [Get Custom Domains](/data/reference/sites/get-custom-domain) endpoint. +You must include at least one of the `customDomains` or `publishToWebflowSubdomain` properties in the request body. + This endpoint has a specific rate limit of one successful publish queue per minute. Required scope | `sites:write` @@ -2071,6 +2073,7 @@ Required scope | `assets:read` ```typescript await client.assets.list("580e63e98c9a982ac9b8b741", { + localeId: "65427cf400e02b306eaa04a0", offset: 1, limit: 1 }); @@ -2202,7 +2205,7 @@ await client.assets.create("580e63e98c9a982ac9b8b741", { -
client.assets.get(asset_id) -> Webflow.Asset +
client.assets.get(asset_id, { ...params }) -> Webflow.Asset
@@ -2231,7 +2234,9 @@ Required scope | `assets:read`
```typescript -await client.assets.get("580e63fc8c9a982ac9b8b745"); +await client.assets.get("580e63fc8c9a982ac9b8b745", { + localeId: "65427cf400e02b306eaa04a0" +}); ```
@@ -2255,6 +2260,14 @@ await client.assets.get("580e63fc8c9a982ac9b8b745");
+**request:** `Webflow.AssetsGetRequest` + +
+
+ +
+
+ **requestOptions:** `AssetsClient.RequestOptions`
@@ -2361,7 +2374,9 @@ Required scope | `assets:write`
```typescript -await client.assets.update("580e63fc8c9a982ac9b8b745"); +await client.assets.update("580e63fc8c9a982ac9b8b745", { + localeId: "65427cf400e02b306eaa04a0" +}); ```
@@ -4874,7 +4889,7 @@ await client.collections.items.listItems("580e63fc8c9a982ac9b8b745", { limit: 1, name: "name", slug: "slug", - sortBy: "lastPublished", + sortBy: "createdOn", sortOrder: "asc" }); @@ -5270,7 +5285,7 @@ await client.collections.items.listItemsLive("580e63fc8c9a982ac9b8b745", { limit: 1, name: "name", slug: "slug", - sortBy: "lastPublished", + sortBy: "createdOn", sortOrder: "asc" }); diff --git a/src/BaseClient.ts b/src/BaseClient.ts index c73d5fc3..f6c4cc10 100644 --- a/src/BaseClient.ts +++ b/src/BaseClient.ts @@ -51,8 +51,8 @@ export function normalizeClientOptions> { - const { offset, limit } = request; + const { localeId, offset, limit } = request; const _queryParams: Record = { + localeId, offset, limit, }; @@ -312,6 +314,7 @@ export class AssetsClient { * Required scope | `assets:read` * * @param {string} asset_id - Unique identifier for an Asset on a site + * @param {Webflow.AssetsGetRequest} request * @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Webflow.BadRequestError} @@ -321,19 +324,27 @@ export class AssetsClient { * @throws {@link Webflow.InternalServerError} * * @example - * await client.assets.get("580e63fc8c9a982ac9b8b745") + * await client.assets.get("580e63fc8c9a982ac9b8b745", { + * localeId: "65427cf400e02b306eaa04a0" + * }) */ public get( asset_id: string, + request: Webflow.AssetsGetRequest = {}, requestOptions?: AssetsClient.RequestOptions, ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__get(asset_id, requestOptions)); + return core.HttpResponsePromise.fromPromise(this.__get(asset_id, request, requestOptions)); } private async __get( asset_id: string, + request: Webflow.AssetsGetRequest = {}, requestOptions?: AssetsClient.RequestOptions, ): Promise> { + const { localeId } = request; + const _queryParams: Record = { + localeId, + }; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -349,7 +360,7 @@ export class AssetsClient { ), method: "GET", headers: _headers, - queryParameters: requestOptions?.queryParams, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, @@ -556,7 +567,9 @@ export class AssetsClient { * @throws {@link Webflow.InternalServerError} * * @example - * await client.assets.update("580e63fc8c9a982ac9b8b745") + * await client.assets.update("580e63fc8c9a982ac9b8b745", { + * localeId: "65427cf400e02b306eaa04a0" + * }) */ public update( asset_id: string, @@ -571,6 +584,10 @@ export class AssetsClient { request: Webflow.AssetsUpdateRequest = {}, requestOptions?: AssetsClient.RequestOptions, ): Promise> { + const { localeId, ..._body } = request; + const _queryParams: Record = { + localeId, + }; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -587,9 +604,9 @@ export class AssetsClient { method: "PATCH", headers: _headers, contentType: "application/json", - queryParameters: requestOptions?.queryParams, + queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, requestType: "json", - body: serializers.AssetsUpdateRequest.jsonOrThrow(request, { + body: serializers.AssetsUpdateRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "passthrough", allowUnrecognizedUnionMembers: true, allowUnrecognizedEnumValues: true, diff --git a/src/api/resources/assets/client/requests/AssetsGetRequest.ts b/src/api/resources/assets/client/requests/AssetsGetRequest.ts new file mode 100644 index 00000000..404a6091 --- /dev/null +++ b/src/api/resources/assets/client/requests/AssetsGetRequest.ts @@ -0,0 +1,16 @@ +// This file was auto-generated by Fern from our API Definition. + +/** + * @example + * { + * localeId: "65427cf400e02b306eaa04a0" + * } + */ +export interface AssetsGetRequest { + /** + * Unique identifier for a specific Locale. + * + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) + */ + localeId?: string; +} diff --git a/src/api/resources/assets/client/requests/AssetsListRequest.ts b/src/api/resources/assets/client/requests/AssetsListRequest.ts index dba68f8e..d5ca41c6 100644 --- a/src/api/resources/assets/client/requests/AssetsListRequest.ts +++ b/src/api/resources/assets/client/requests/AssetsListRequest.ts @@ -3,11 +3,18 @@ /** * @example * { + * localeId: "65427cf400e02b306eaa04a0", * offset: 1, * limit: 1 * } */ export interface AssetsListRequest { + /** + * Unique identifier for a specific Locale. + * + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) + */ + localeId?: string; /** Offset used for pagination if the results have more than limit records */ offset?: number; /** Maximum number of records to be returned (max limit: 100) */ diff --git a/src/api/resources/assets/client/requests/AssetsUpdateRequest.ts b/src/api/resources/assets/client/requests/AssetsUpdateRequest.ts index bf2e4a76..e5df7dee 100644 --- a/src/api/resources/assets/client/requests/AssetsUpdateRequest.ts +++ b/src/api/resources/assets/client/requests/AssetsUpdateRequest.ts @@ -2,11 +2,19 @@ /** * @example - * {} + * { + * localeId: "65427cf400e02b306eaa04a0" + * } */ export interface AssetsUpdateRequest { - /** Unique identifier for a specific locale. Applicable, when using localization. */ + /** + * Unique identifier for a specific Locale. + * + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) + */ localeId?: string; - /** A human readable name for the asset */ + /** A human readable name for the asset. This value is not localizable. */ displayName?: string; + /** Alternate text describing the image */ + altText?: string; } diff --git a/src/api/resources/assets/client/requests/index.ts b/src/api/resources/assets/client/requests/index.ts index 3a711eb1..6ef452bd 100644 --- a/src/api/resources/assets/client/requests/index.ts +++ b/src/api/resources/assets/client/requests/index.ts @@ -1,4 +1,5 @@ export type { AssetsCreateFolderRequest } from "./AssetsCreateFolderRequest"; export type { AssetsCreateRequest } from "./AssetsCreateRequest"; +export type { AssetsGetRequest } from "./AssetsGetRequest"; export type { AssetsListRequest } from "./AssetsListRequest"; export type { AssetsUpdateRequest } from "./AssetsUpdateRequest"; diff --git a/src/api/resources/collections/resources/items/client/Client.ts b/src/api/resources/collections/resources/items/client/Client.ts index d920aec0..3f9e9186 100644 --- a/src/api/resources/collections/resources/items/client/Client.ts +++ b/src/api/resources/collections/resources/items/client/Client.ts @@ -45,7 +45,7 @@ export class ItemsClient { * limit: 1, * name: "name", * slug: "slug", - * sortBy: "lastPublished", + * sortBy: "createdOn", * sortOrder: "asc" * }) */ @@ -62,13 +62,24 @@ export class ItemsClient { request: Webflow.collections.ItemsListItemsRequest = {}, requestOptions?: ItemsClient.RequestOptions, ): Promise> { - const { cmsLocaleId, offset, limit, name, slug, lastPublished, sortBy, sortOrder } = request; + const { cmsLocaleId, offset, limit, name, slug, createdOn, lastPublished, lastUpdated, sortBy, sortOrder } = + request; const _queryParams: Record = { cmsLocaleId, offset, limit, name, slug, + createdOn: + createdOn != null + ? serializers.ItemsListItemsRequestCreatedOn.jsonOrThrow(createdOn, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + omitUndefined: true, + breadcrumbsPrefix: ["request", "createdOn"], + }) + : createdOn, lastPublished: lastPublished != null ? serializers.ItemsListItemsRequestLastPublished.jsonOrThrow(lastPublished, { @@ -79,6 +90,16 @@ export class ItemsClient { breadcrumbsPrefix: ["request", "lastPublished"], }) : lastPublished, + lastUpdated: + lastUpdated != null + ? serializers.ItemsListItemsRequestLastUpdated.jsonOrThrow(lastUpdated, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + omitUndefined: true, + breadcrumbsPrefix: ["request", "lastUpdated"], + }) + : lastUpdated, sortBy: sortBy != null ? serializers.collections.ItemsListItemsRequestSortBy.jsonOrThrow(sortBy, { @@ -787,7 +808,7 @@ export class ItemsClient { * limit: 1, * name: "name", * slug: "slug", - * sortBy: "lastPublished", + * sortBy: "createdOn", * sortOrder: "asc" * }) */ @@ -804,13 +825,24 @@ export class ItemsClient { request: Webflow.collections.ItemsListItemsLiveRequest = {}, requestOptions?: ItemsClient.RequestOptions, ): Promise> { - const { cmsLocaleId, offset, limit, name, slug, lastPublished, sortBy, sortOrder } = request; + const { cmsLocaleId, offset, limit, name, slug, createdOn, lastPublished, lastUpdated, sortBy, sortOrder } = + request; const _queryParams: Record = { cmsLocaleId, offset, limit, name, slug, + createdOn: + createdOn != null + ? serializers.ItemsListItemsLiveRequestCreatedOn.jsonOrThrow(createdOn, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + omitUndefined: true, + breadcrumbsPrefix: ["request", "createdOn"], + }) + : createdOn, lastPublished: lastPublished != null ? serializers.ItemsListItemsLiveRequestLastPublished.jsonOrThrow(lastPublished, { @@ -821,6 +853,16 @@ export class ItemsClient { breadcrumbsPrefix: ["request", "lastPublished"], }) : lastPublished, + lastUpdated: + lastUpdated != null + ? serializers.ItemsListItemsLiveRequestLastUpdated.jsonOrThrow(lastUpdated, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + omitUndefined: true, + breadcrumbsPrefix: ["request", "lastUpdated"], + }) + : lastUpdated, sortBy: sortBy != null ? serializers.collections.ItemsListItemsLiveRequestSortBy.jsonOrThrow(sortBy, { diff --git a/src/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.ts b/src/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.ts index 6c1c6cee..9dc47f76 100644 --- a/src/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.ts +++ b/src/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.ts @@ -10,7 +10,7 @@ import type * as Webflow from "../../../../../../index"; * limit: 1, * name: "name", * slug: "slug", - * sortBy: "lastPublished", + * sortBy: "createdOn", * sortOrder: "asc" * } */ @@ -25,8 +25,12 @@ export interface ItemsListItemsLiveRequest { name?: string; /** Filter by the exact slug of the item */ slug?: string; + /** Filter by the creation date of the item(s) */ + createdOn?: Webflow.ItemsListItemsLiveRequestCreatedOn; /** Filter by the last published date of the item(s) */ lastPublished?: Webflow.ItemsListItemsLiveRequestLastPublished; + /** Filter by the last updated date of the item(s) */ + lastUpdated?: Webflow.ItemsListItemsLiveRequestLastUpdated; /** Sort results by the provided value */ sortBy?: Webflow.collections.ItemsListItemsLiveRequestSortBy; /** Sorts the results by asc or desc */ diff --git a/src/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.ts b/src/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.ts index d93bfd2a..af6c474b 100644 --- a/src/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.ts +++ b/src/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.ts @@ -10,7 +10,7 @@ import type * as Webflow from "../../../../../../index"; * limit: 1, * name: "name", * slug: "slug", - * sortBy: "lastPublished", + * sortBy: "createdOn", * sortOrder: "asc" * } */ @@ -25,8 +25,12 @@ export interface ItemsListItemsRequest { name?: string; /** Filter by the exact slug of the item */ slug?: string; + /** Filter by the creation date of the item(s) */ + createdOn?: Webflow.ItemsListItemsRequestCreatedOn; /** Filter by the last published date of the item(s) */ lastPublished?: Webflow.ItemsListItemsRequestLastPublished; + /** Filter by the last updated date of the item(s) */ + lastUpdated?: Webflow.ItemsListItemsRequestLastUpdated; /** Sort results by the provided value */ sortBy?: Webflow.collections.ItemsListItemsRequestSortBy; /** Sorts the results by asc or desc */ diff --git a/src/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.ts b/src/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.ts index 62738ae3..cd8c7e9f 100644 --- a/src/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.ts +++ b/src/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.ts @@ -1,7 +1,9 @@ // This file was auto-generated by Fern from our API Definition. export const ItemsListItemsLiveRequestSortBy = { + CreatedOn: "createdOn", LastPublished: "lastPublished", + LastUpdated: "lastUpdated", Name: "name", Slug: "slug", } as const; diff --git a/src/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.ts b/src/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.ts index c4c612ce..9ec14702 100644 --- a/src/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.ts +++ b/src/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.ts @@ -1,7 +1,9 @@ // This file was auto-generated by Fern from our API Definition. export const ItemsListItemsRequestSortBy = { + CreatedOn: "createdOn", LastPublished: "lastPublished", + LastUpdated: "lastUpdated", Name: "name", Slug: "slug", } as const; diff --git a/src/api/resources/components/client/requests/ComponentDomWrite.ts b/src/api/resources/components/client/requests/ComponentDomWrite.ts index cab01181..be87c2b3 100644 --- a/src/api/resources/components/client/requests/ComponentDomWrite.ts +++ b/src/api/resources/components/client/requests/ComponentDomWrite.ts @@ -45,7 +45,7 @@ export interface ComponentDomWrite { /** * Unique identifier for a specific Locale. * - * [Lear more about localization.](/data/v2.0.0/docs/working-with-localization) + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) */ localeId?: string; /** Scope the operation to work on a specific branch. */ diff --git a/src/api/resources/components/client/requests/ComponentPropertiesWrite.ts b/src/api/resources/components/client/requests/ComponentPropertiesWrite.ts index 306872f2..49444694 100644 --- a/src/api/resources/components/client/requests/ComponentPropertiesWrite.ts +++ b/src/api/resources/components/client/requests/ComponentPropertiesWrite.ts @@ -20,7 +20,7 @@ export interface ComponentPropertiesWrite { /** * Unique identifier for a specific Locale. * - * [Lear more about localization.](/data/v2.0.0/docs/working-with-localization) + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) */ localeId?: string; /** Scope the operation to work on a specific branch. */ diff --git a/src/api/resources/components/client/requests/ComponentsGetContentRequest.ts b/src/api/resources/components/client/requests/ComponentsGetContentRequest.ts index b5ae6764..eed1fe70 100644 --- a/src/api/resources/components/client/requests/ComponentsGetContentRequest.ts +++ b/src/api/resources/components/client/requests/ComponentsGetContentRequest.ts @@ -13,7 +13,7 @@ export interface ComponentsGetContentRequest { /** * Unique identifier for a specific Locale. * - * [Lear more about localization.](/data/v2.0.0/docs/working-with-localization) + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) */ localeId?: string; /** Scope the operation to work on a specific branch. */ diff --git a/src/api/resources/components/client/requests/ComponentsGetPropertiesRequest.ts b/src/api/resources/components/client/requests/ComponentsGetPropertiesRequest.ts index bb164ecb..17220f20 100644 --- a/src/api/resources/components/client/requests/ComponentsGetPropertiesRequest.ts +++ b/src/api/resources/components/client/requests/ComponentsGetPropertiesRequest.ts @@ -13,7 +13,7 @@ export interface ComponentsGetPropertiesRequest { /** * Unique identifier for a specific Locale. * - * [Lear more about localization.](/data/v2.0.0/docs/working-with-localization) + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) */ localeId?: string; /** Scope the operation to work on a specific branch. */ diff --git a/src/api/resources/pages/client/requests/PageMetadataWrite.ts b/src/api/resources/pages/client/requests/PageMetadataWrite.ts index 61dc8a5a..6e6709e5 100644 --- a/src/api/resources/pages/client/requests/PageMetadataWrite.ts +++ b/src/api/resources/pages/client/requests/PageMetadataWrite.ts @@ -24,7 +24,7 @@ export interface PageMetadataWrite { /** * Unique identifier for a specific Locale. * - * [Lear more about localization.](/data/v2.0.0/docs/working-with-localization) + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) */ localeId?: string; /** Title for the page */ diff --git a/src/api/resources/pages/client/requests/PagesGetContentRequest.ts b/src/api/resources/pages/client/requests/PagesGetContentRequest.ts index 36b820e4..3cca99e3 100644 --- a/src/api/resources/pages/client/requests/PagesGetContentRequest.ts +++ b/src/api/resources/pages/client/requests/PagesGetContentRequest.ts @@ -12,7 +12,7 @@ export interface PagesGetContentRequest { /** * Unique identifier for a specific Locale. * - * [Lear more about localization.](/data/v2.0.0/docs/working-with-localization) + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) */ localeId?: string; /** Maximum number of records to be returned (max limit: 100) */ diff --git a/src/api/resources/pages/client/requests/PagesGetMetadataRequest.ts b/src/api/resources/pages/client/requests/PagesGetMetadataRequest.ts index 9bab5f28..3f907cb7 100644 --- a/src/api/resources/pages/client/requests/PagesGetMetadataRequest.ts +++ b/src/api/resources/pages/client/requests/PagesGetMetadataRequest.ts @@ -10,7 +10,7 @@ export interface PagesGetMetadataRequest { /** * Unique identifier for a specific Locale. * - * [Lear more about localization.](/data/v2.0.0/docs/working-with-localization) + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) */ localeId?: string; } diff --git a/src/api/resources/pages/client/requests/PagesListRequest.ts b/src/api/resources/pages/client/requests/PagesListRequest.ts index 14101b20..af70003b 100644 --- a/src/api/resources/pages/client/requests/PagesListRequest.ts +++ b/src/api/resources/pages/client/requests/PagesListRequest.ts @@ -12,7 +12,7 @@ export interface PagesListRequest { /** * Unique identifier for a specific Locale. * - * [Lear more about localization.](/data/v2.0.0/docs/working-with-localization) + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) */ localeId?: string; /** Maximum number of records to be returned (max limit: 100) */ diff --git a/src/api/resources/sites/client/Client.ts b/src/api/resources/sites/client/Client.ts index 20dbf050..ae2ebd17 100644 --- a/src/api/resources/sites/client/Client.ts +++ b/src/api/resources/sites/client/Client.ts @@ -829,6 +829,8 @@ export class SitesClient { * * To publish to a specific custom domain, use the domain IDs from the [Get Custom Domains](/data/reference/sites/get-custom-domain) endpoint. * + * You must include at least one of the `customDomains` or `publishToWebflowSubdomain` properties in the request body. + * * This endpoint has a specific rate limit of one successful publish queue per minute. * * Required scope | `sites:write` diff --git a/src/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.ts b/src/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.ts index 2e4b7aac..1767e01b 100644 --- a/src/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.ts +++ b/src/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.ts @@ -16,7 +16,7 @@ export interface CommentsGetCommentThreadRequest { /** * Unique identifier for a specific Locale. * - * [Lear more about localization.](/data/v2.0.0/docs/working-with-localization) + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) */ localeId?: string; /** Offset used for pagination if the results have more than limit records */ diff --git a/src/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.ts b/src/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.ts index b0938d91..fd3d03f6 100644 --- a/src/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.ts +++ b/src/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.ts @@ -16,7 +16,7 @@ export interface CommentsListCommentRepliesRequest { /** * Unique identifier for a specific Locale. * - * [Lear more about localization.](/data/v2.0.0/docs/working-with-localization) + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) */ localeId?: string; /** Offset used for pagination if the results have more than limit records */ diff --git a/src/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.ts b/src/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.ts index 30fda428..d3677740 100644 --- a/src/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.ts +++ b/src/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.ts @@ -16,7 +16,7 @@ export interface CommentsListCommentThreadsRequest { /** * Unique identifier for a specific Locale. * - * [Lear more about localization.](/data/v2.0.0/docs/working-with-localization) + * [Learn more about localization.](/data/v2.0.0/docs/working-with-localization) */ localeId?: string; /** Offset used for pagination if the results have more than limit records */ diff --git a/src/api/types/ComponentProperty.ts b/src/api/types/ComponentProperty.ts index c0a4c7a5..ea6a0fb2 100644 --- a/src/api/types/ComponentProperty.ts +++ b/src/api/types/ComponentProperty.ts @@ -2,16 +2,4 @@ import type * as Webflow from "../index"; -/** - * Represents a property of a component instance in the DOM. A property contains a list of both the raw text and the HTML representation, allowing for flexibility in rendering and processing. Additional attributes can be associated with the text for styling or other purposes. - */ -export interface ComponentProperty { - /** The ID of the property. */ - propertyId?: string; - /** The type of the property. */ - type?: Webflow.ComponentPropertyType; - /** The label of the property in the UI. */ - label?: string; - /** Represents text content within the DOM. It contains both the raw text and its HTML representation. */ - text?: Webflow.Text; -} +export type ComponentProperty = Webflow.ComponentPropertyText; diff --git a/src/api/types/ComponentPropertyText.ts b/src/api/types/ComponentPropertyText.ts new file mode 100644 index 00000000..363b3cb0 --- /dev/null +++ b/src/api/types/ComponentPropertyText.ts @@ -0,0 +1,17 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Webflow from "../index"; + +/** + * A text-based component property containing raw text and HTML representation. + */ +export interface ComponentPropertyText { + /** The ID of the property. */ + propertyId: string; + /** The type of the property. */ + type: Webflow.ComponentPropertyTextType; + /** The label of the property in the UI. */ + label: string; + /** Represents text content within the DOM. It contains both the raw text and its HTML representation. */ + text: Webflow.Text; +} diff --git a/src/api/types/ComponentPropertyType.ts b/src/api/types/ComponentPropertyTextType.ts similarity index 54% rename from src/api/types/ComponentPropertyType.ts rename to src/api/types/ComponentPropertyTextType.ts index 5f2d3413..9b24a575 100644 --- a/src/api/types/ComponentPropertyType.ts +++ b/src/api/types/ComponentPropertyTextType.ts @@ -1,9 +1,9 @@ // This file was auto-generated by Fern from our API Definition. /** The type of the property. */ -export const ComponentPropertyType = { +export const ComponentPropertyTextType = { PlainText: "Plain Text", RichText: "Rich Text", AltText: "Alt Text", } as const; -export type ComponentPropertyType = (typeof ComponentPropertyType)[keyof typeof ComponentPropertyType]; +export type ComponentPropertyTextType = (typeof ComponentPropertyTextType)[keyof typeof ComponentPropertyTextType]; diff --git a/src/api/types/Conflict.ts b/src/api/types/Conflict.ts index 1fe066c3..980d7493 100644 --- a/src/api/types/Conflict.ts +++ b/src/api/types/Conflict.ts @@ -1,3 +1,6 @@ // This file was auto-generated by Fern from our API Definition. +/** + * Resource conflict + */ export type Conflict = unknown; diff --git a/src/api/types/FieldValidationsAdditionalProperties.ts b/src/api/types/FieldValidationsAdditionalProperties.ts index 0178fad1..c3549412 100644 --- a/src/api/types/FieldValidationsAdditionalProperties.ts +++ b/src/api/types/FieldValidationsAdditionalProperties.ts @@ -1,10 +1,3 @@ // This file was auto-generated by Fern from our API Definition. -import type * as Webflow from "../index"; - -export type FieldValidationsAdditionalProperties = - | string - | number - | boolean - | number - | Webflow.FieldValidationsAdditionalPropertiesAdditionalProperties; +export type FieldValidationsAdditionalProperties = string | number | boolean | number | unknown; diff --git a/src/api/types/FieldValidationsAdditionalPropertiesAdditionalProperties.ts b/src/api/types/FieldValidationsAdditionalPropertiesAdditionalProperties.ts deleted file mode 100644 index 3232ec5a..00000000 --- a/src/api/types/FieldValidationsAdditionalPropertiesAdditionalProperties.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -export interface FieldValidationsAdditionalPropertiesAdditionalProperties { - additionalProperties?: unknown; -} diff --git a/src/api/types/InvalidDomain.ts b/src/api/types/InvalidDomain.ts index 9e636d31..9263526d 100644 --- a/src/api/types/InvalidDomain.ts +++ b/src/api/types/InvalidDomain.ts @@ -1,3 +1,6 @@ // This file was auto-generated by Fern from our API Definition. +/** + * Requested an invalid Domain. Please send a valid custom domain URI. + */ export type InvalidDomain = unknown; diff --git a/src/api/types/InvalidScopes.ts b/src/api/types/InvalidScopes.ts index f26c69e7..71330cb1 100644 --- a/src/api/types/InvalidScopes.ts +++ b/src/api/types/InvalidScopes.ts @@ -1,3 +1,6 @@ // This file was auto-generated by Fern from our API Definition. +/** + * Provided access token is valid, but is missing the required scopes. + */ export type InvalidScopes = unknown; diff --git a/src/api/types/ItemsListItemsLiveRequestCreatedOn.ts b/src/api/types/ItemsListItemsLiveRequestCreatedOn.ts new file mode 100644 index 00000000..ac78c035 --- /dev/null +++ b/src/api/types/ItemsListItemsLiveRequestCreatedOn.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export interface ItemsListItemsLiveRequestCreatedOn { + /** Filter items created before this date */ + lte?: Date; + /** Filter items created after this date */ + gte?: Date; +} diff --git a/src/api/types/ItemsListItemsLiveRequestLastUpdated.ts b/src/api/types/ItemsListItemsLiveRequestLastUpdated.ts new file mode 100644 index 00000000..b6460edb --- /dev/null +++ b/src/api/types/ItemsListItemsLiveRequestLastUpdated.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export interface ItemsListItemsLiveRequestLastUpdated { + /** Filter items last updated before this date */ + lte?: Date; + /** Filter items last updated after this date */ + gte?: Date; +} diff --git a/src/api/types/ItemsListItemsRequestCreatedOn.ts b/src/api/types/ItemsListItemsRequestCreatedOn.ts new file mode 100644 index 00000000..135be75a --- /dev/null +++ b/src/api/types/ItemsListItemsRequestCreatedOn.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export interface ItemsListItemsRequestCreatedOn { + /** Filter items created before this date */ + lte?: Date; + /** Filter items created after this date */ + gte?: Date; +} diff --git a/src/api/types/ItemsListItemsRequestLastUpdated.ts b/src/api/types/ItemsListItemsRequestLastUpdated.ts new file mode 100644 index 00000000..8d38e4ad --- /dev/null +++ b/src/api/types/ItemsListItemsRequestLastUpdated.ts @@ -0,0 +1,8 @@ +// This file was auto-generated by Fern from our API Definition. + +export interface ItemsListItemsRequestLastUpdated { + /** Filter items last updated before this date */ + lte?: Date; + /** Filter items last updated after this date */ + gte?: Date; +} diff --git a/src/api/types/NoDomains.ts b/src/api/types/NoDomains.ts index ef51694c..693da7cd 100644 --- a/src/api/types/NoDomains.ts +++ b/src/api/types/NoDomains.ts @@ -1,3 +1,6 @@ // This file was auto-generated by Fern from our API Definition. +/** + * You must pass at least one domain ID to the publish endpoint. + */ export type NoDomains = unknown; diff --git a/src/api/types/NotEnterprisePlanSite.ts b/src/api/types/NotEnterprisePlanSite.ts index 1c46d244..73e41b20 100644 --- a/src/api/types/NotEnterprisePlanSite.ts +++ b/src/api/types/NotEnterprisePlanSite.ts @@ -1,3 +1,6 @@ // This file was auto-generated by Fern from our API Definition. +/** + * Error response for non-enterprise plan sites. + */ export type NotEnterprisePlanSite = unknown; diff --git a/src/api/types/NotEnterprisePlanWorkspace.ts b/src/api/types/NotEnterprisePlanWorkspace.ts index efa63194..6d25b9a9 100644 --- a/src/api/types/NotEnterprisePlanWorkspace.ts +++ b/src/api/types/NotEnterprisePlanWorkspace.ts @@ -1,3 +1,6 @@ // This file was auto-generated by Fern from our API Definition. +/** + * Error response for non-enterprise plan workspaces. + */ export type NotEnterprisePlanWorkspace = unknown; diff --git a/src/api/types/index.ts b/src/api/types/index.ts index 3f2c22d3..ce98580e 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -58,7 +58,8 @@ export * from "./ComponentList"; export * from "./ComponentNode"; export * from "./ComponentProperties"; export * from "./ComponentProperty"; -export * from "./ComponentPropertyType"; +export * from "./ComponentPropertyText"; +export * from "./ComponentPropertyTextType"; export * from "./Conflict"; export * from "./CustomCodeBlock"; export * from "./CustomCodeBlockType"; @@ -78,7 +79,6 @@ export * from "./FieldCreate"; export * from "./FieldType"; export * from "./FieldValidations"; export * from "./FieldValidationsAdditionalProperties"; -export * from "./FieldValidationsAdditionalPropertiesAdditionalProperties"; export * from "./ForbiddenErrorBody"; export * from "./Form"; export * from "./FormField"; @@ -98,8 +98,12 @@ export * from "./InvalidDomain"; export * from "./InvalidScopes"; export * from "./InventoryItem"; export * from "./InventoryItemInventoryType"; +export * from "./ItemsListItemsLiveRequestCreatedOn"; export * from "./ItemsListItemsLiveRequestLastPublished"; +export * from "./ItemsListItemsLiveRequestLastUpdated"; +export * from "./ItemsListItemsRequestCreatedOn"; export * from "./ItemsListItemsRequestLastPublished"; +export * from "./ItemsListItemsRequestLastUpdated"; export * from "./ListCustomCodeBlocks"; export * from "./Locale"; export * from "./Locales"; diff --git a/src/serialization/resources/assets/client/requests/AssetsUpdateRequest.ts b/src/serialization/resources/assets/client/requests/AssetsUpdateRequest.ts index 6ac25a9b..2c705281 100644 --- a/src/serialization/resources/assets/client/requests/AssetsUpdateRequest.ts +++ b/src/serialization/resources/assets/client/requests/AssetsUpdateRequest.ts @@ -6,15 +6,15 @@ import type * as serializers from "../../../../index"; export const AssetsUpdateRequest: core.serialization.Schema< serializers.AssetsUpdateRequest.Raw, - Webflow.AssetsUpdateRequest + Omit > = core.serialization.object({ - localeId: core.serialization.string().optional(), displayName: core.serialization.string().optional(), + altText: core.serialization.string().optional(), }); export declare namespace AssetsUpdateRequest { export interface Raw { - localeId?: string | null; displayName?: string | null; + altText?: string | null; } } diff --git a/src/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.ts b/src/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.ts index 695cd759..71e242c7 100644 --- a/src/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.ts +++ b/src/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.ts @@ -7,8 +7,8 @@ import type * as serializers from "../../../../../index"; export const ItemsListItemsLiveRequestSortBy: core.serialization.Schema< serializers.collections.ItemsListItemsLiveRequestSortBy.Raw, Webflow.collections.ItemsListItemsLiveRequestSortBy -> = core.serialization.enum_(["lastPublished", "name", "slug"]); +> = core.serialization.enum_(["createdOn", "lastPublished", "lastUpdated", "name", "slug"]); export declare namespace ItemsListItemsLiveRequestSortBy { - export type Raw = "lastPublished" | "name" | "slug"; + export type Raw = "createdOn" | "lastPublished" | "lastUpdated" | "name" | "slug"; } diff --git a/src/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.ts b/src/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.ts index 3da20a13..4c7fec75 100644 --- a/src/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.ts +++ b/src/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.ts @@ -7,8 +7,8 @@ import type * as serializers from "../../../../../index"; export const ItemsListItemsRequestSortBy: core.serialization.Schema< serializers.collections.ItemsListItemsRequestSortBy.Raw, Webflow.collections.ItemsListItemsRequestSortBy -> = core.serialization.enum_(["lastPublished", "name", "slug"]); +> = core.serialization.enum_(["createdOn", "lastPublished", "lastUpdated", "name", "slug"]); export declare namespace ItemsListItemsRequestSortBy { - export type Raw = "lastPublished" | "name" | "slug"; + export type Raw = "createdOn" | "lastPublished" | "lastUpdated" | "name" | "slug"; } diff --git a/src/serialization/types/ComponentProperty.ts b/src/serialization/types/ComponentProperty.ts index c0fce8d6..99a62e97 100644 --- a/src/serialization/types/ComponentProperty.ts +++ b/src/serialization/types/ComponentProperty.ts @@ -1,26 +1,15 @@ // This file was auto-generated by Fern from our API Definition. import type * as Webflow from "../../api/index"; -import * as core from "../../core"; +import type * as core from "../../core"; import type * as serializers from "../index"; -import { ComponentPropertyType } from "./ComponentPropertyType"; -import { Text } from "./Text"; +import { ComponentPropertyText } from "./ComponentPropertyText"; export const ComponentProperty: core.serialization.ObjectSchema< serializers.ComponentProperty.Raw, Webflow.ComponentProperty -> = core.serialization.object({ - propertyId: core.serialization.string().optional(), - type: ComponentPropertyType.optional(), - label: core.serialization.string().optional(), - text: Text.optional(), -}); +> = ComponentPropertyText; export declare namespace ComponentProperty { - export interface Raw { - propertyId?: string | null; - type?: ComponentPropertyType.Raw | null; - label?: string | null; - text?: Text.Raw | null; - } + export type Raw = ComponentPropertyText.Raw; } diff --git a/src/serialization/types/ComponentPropertyText.ts b/src/serialization/types/ComponentPropertyText.ts new file mode 100644 index 00000000..adb9e388 --- /dev/null +++ b/src/serialization/types/ComponentPropertyText.ts @@ -0,0 +1,26 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Webflow from "../../api/index"; +import * as core from "../../core"; +import type * as serializers from "../index"; +import { ComponentPropertyTextType } from "./ComponentPropertyTextType"; +import { Text } from "./Text"; + +export const ComponentPropertyText: core.serialization.ObjectSchema< + serializers.ComponentPropertyText.Raw, + Webflow.ComponentPropertyText +> = core.serialization.object({ + propertyId: core.serialization.string(), + type: ComponentPropertyTextType, + label: core.serialization.string(), + text: Text, +}); + +export declare namespace ComponentPropertyText { + export interface Raw { + propertyId: string; + type: ComponentPropertyTextType.Raw; + label: string; + text: Text.Raw; + } +} diff --git a/src/serialization/types/ComponentPropertyType.ts b/src/serialization/types/ComponentPropertyTextType.ts similarity index 62% rename from src/serialization/types/ComponentPropertyType.ts rename to src/serialization/types/ComponentPropertyTextType.ts index 654a85ae..32c41f58 100644 --- a/src/serialization/types/ComponentPropertyType.ts +++ b/src/serialization/types/ComponentPropertyTextType.ts @@ -4,11 +4,11 @@ import type * as Webflow from "../../api/index"; import * as core from "../../core"; import type * as serializers from "../index"; -export const ComponentPropertyType: core.serialization.Schema< - serializers.ComponentPropertyType.Raw, - Webflow.ComponentPropertyType +export const ComponentPropertyTextType: core.serialization.Schema< + serializers.ComponentPropertyTextType.Raw, + Webflow.ComponentPropertyTextType > = core.serialization.enum_(["Plain Text", "Rich Text", "Alt Text"]); -export declare namespace ComponentPropertyType { +export declare namespace ComponentPropertyTextType { export type Raw = "Plain Text" | "Rich Text" | "Alt Text"; } diff --git a/src/serialization/types/FieldValidationsAdditionalProperties.ts b/src/serialization/types/FieldValidationsAdditionalProperties.ts index 4331fb42..790bdbe5 100644 --- a/src/serialization/types/FieldValidationsAdditionalProperties.ts +++ b/src/serialization/types/FieldValidationsAdditionalProperties.ts @@ -3,7 +3,6 @@ import type * as Webflow from "../../api/index"; import * as core from "../../core"; import type * as serializers from "../index"; -import { FieldValidationsAdditionalPropertiesAdditionalProperties } from "./FieldValidationsAdditionalPropertiesAdditionalProperties"; export const FieldValidationsAdditionalProperties: core.serialization.Schema< serializers.FieldValidationsAdditionalProperties.Raw, @@ -13,9 +12,9 @@ export const FieldValidationsAdditionalProperties: core.serialization.Schema< core.serialization.number(), core.serialization.boolean(), core.serialization.number(), - FieldValidationsAdditionalPropertiesAdditionalProperties, + core.serialization.unknown(), ]); export declare namespace FieldValidationsAdditionalProperties { - export type Raw = string | number | boolean | number | FieldValidationsAdditionalPropertiesAdditionalProperties.Raw; + export type Raw = string | number | boolean | number | unknown; } diff --git a/src/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.ts b/src/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.ts deleted file mode 100644 index 0fb06eaa..00000000 --- a/src/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.ts +++ /dev/null @@ -1,18 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Webflow from "../../api/index"; -import * as core from "../../core"; -import type * as serializers from "../index"; - -export const FieldValidationsAdditionalPropertiesAdditionalProperties: core.serialization.ObjectSchema< - serializers.FieldValidationsAdditionalPropertiesAdditionalProperties.Raw, - Webflow.FieldValidationsAdditionalPropertiesAdditionalProperties -> = core.serialization.object({ - additionalProperties: core.serialization.unknown(), -}); - -export declare namespace FieldValidationsAdditionalPropertiesAdditionalProperties { - export interface Raw { - additionalProperties?: unknown; - } -} diff --git a/src/serialization/types/ItemsListItemsLiveRequestCreatedOn.ts b/src/serialization/types/ItemsListItemsLiveRequestCreatedOn.ts new file mode 100644 index 00000000..625dc376 --- /dev/null +++ b/src/serialization/types/ItemsListItemsLiveRequestCreatedOn.ts @@ -0,0 +1,20 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Webflow from "../../api/index"; +import * as core from "../../core"; +import type * as serializers from "../index"; + +export const ItemsListItemsLiveRequestCreatedOn: core.serialization.ObjectSchema< + serializers.ItemsListItemsLiveRequestCreatedOn.Raw, + Webflow.ItemsListItemsLiveRequestCreatedOn +> = core.serialization.object({ + lte: core.serialization.date().optional(), + gte: core.serialization.date().optional(), +}); + +export declare namespace ItemsListItemsLiveRequestCreatedOn { + export interface Raw { + lte?: string | null; + gte?: string | null; + } +} diff --git a/src/serialization/types/ItemsListItemsLiveRequestLastUpdated.ts b/src/serialization/types/ItemsListItemsLiveRequestLastUpdated.ts new file mode 100644 index 00000000..27c2e3ac --- /dev/null +++ b/src/serialization/types/ItemsListItemsLiveRequestLastUpdated.ts @@ -0,0 +1,20 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Webflow from "../../api/index"; +import * as core from "../../core"; +import type * as serializers from "../index"; + +export const ItemsListItemsLiveRequestLastUpdated: core.serialization.ObjectSchema< + serializers.ItemsListItemsLiveRequestLastUpdated.Raw, + Webflow.ItemsListItemsLiveRequestLastUpdated +> = core.serialization.object({ + lte: core.serialization.date().optional(), + gte: core.serialization.date().optional(), +}); + +export declare namespace ItemsListItemsLiveRequestLastUpdated { + export interface Raw { + lte?: string | null; + gte?: string | null; + } +} diff --git a/src/serialization/types/ItemsListItemsRequestCreatedOn.ts b/src/serialization/types/ItemsListItemsRequestCreatedOn.ts new file mode 100644 index 00000000..c309ef37 --- /dev/null +++ b/src/serialization/types/ItemsListItemsRequestCreatedOn.ts @@ -0,0 +1,20 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Webflow from "../../api/index"; +import * as core from "../../core"; +import type * as serializers from "../index"; + +export const ItemsListItemsRequestCreatedOn: core.serialization.ObjectSchema< + serializers.ItemsListItemsRequestCreatedOn.Raw, + Webflow.ItemsListItemsRequestCreatedOn +> = core.serialization.object({ + lte: core.serialization.date().optional(), + gte: core.serialization.date().optional(), +}); + +export declare namespace ItemsListItemsRequestCreatedOn { + export interface Raw { + lte?: string | null; + gte?: string | null; + } +} diff --git a/src/serialization/types/ItemsListItemsRequestLastUpdated.ts b/src/serialization/types/ItemsListItemsRequestLastUpdated.ts new file mode 100644 index 00000000..78e9f3b4 --- /dev/null +++ b/src/serialization/types/ItemsListItemsRequestLastUpdated.ts @@ -0,0 +1,20 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Webflow from "../../api/index"; +import * as core from "../../core"; +import type * as serializers from "../index"; + +export const ItemsListItemsRequestLastUpdated: core.serialization.ObjectSchema< + serializers.ItemsListItemsRequestLastUpdated.Raw, + Webflow.ItemsListItemsRequestLastUpdated +> = core.serialization.object({ + lte: core.serialization.date().optional(), + gte: core.serialization.date().optional(), +}); + +export declare namespace ItemsListItemsRequestLastUpdated { + export interface Raw { + lte?: string | null; + gte?: string | null; + } +} diff --git a/src/serialization/types/index.ts b/src/serialization/types/index.ts index 3f2c22d3..ce98580e 100644 --- a/src/serialization/types/index.ts +++ b/src/serialization/types/index.ts @@ -58,7 +58,8 @@ export * from "./ComponentList"; export * from "./ComponentNode"; export * from "./ComponentProperties"; export * from "./ComponentProperty"; -export * from "./ComponentPropertyType"; +export * from "./ComponentPropertyText"; +export * from "./ComponentPropertyTextType"; export * from "./Conflict"; export * from "./CustomCodeBlock"; export * from "./CustomCodeBlockType"; @@ -78,7 +79,6 @@ export * from "./FieldCreate"; export * from "./FieldType"; export * from "./FieldValidations"; export * from "./FieldValidationsAdditionalProperties"; -export * from "./FieldValidationsAdditionalPropertiesAdditionalProperties"; export * from "./ForbiddenErrorBody"; export * from "./Form"; export * from "./FormField"; @@ -98,8 +98,12 @@ export * from "./InvalidDomain"; export * from "./InvalidScopes"; export * from "./InventoryItem"; export * from "./InventoryItemInventoryType"; +export * from "./ItemsListItemsLiveRequestCreatedOn"; export * from "./ItemsListItemsLiveRequestLastPublished"; +export * from "./ItemsListItemsLiveRequestLastUpdated"; +export * from "./ItemsListItemsRequestCreatedOn"; export * from "./ItemsListItemsRequestLastPublished"; +export * from "./ItemsListItemsRequestLastUpdated"; export * from "./ListCustomCodeBlocks"; export * from "./Locale"; export * from "./Locales"; diff --git a/src/version.ts b/src/version.ts index 09d1b129..7f892b69 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "3.3.4"; +export const SDK_VERSION = "3.3.5"; diff --git a/tests/wire/assets.test.ts b/tests/wire/assets.test.ts index ffd6dd3a..98787565 100644 --- a/tests/wire/assets.test.ts +++ b/tests/wire/assets.test.ts @@ -77,6 +77,7 @@ describe("AssetsClient", () => { .build(); const response = await client.assets.list("580e63e98c9a982ac9b8b741", { + localeId: "65427cf400e02b306eaa04a0", offset: 1, limit: 1, }); @@ -498,7 +499,9 @@ describe("AssetsClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.assets.get("580e63fc8c9a982ac9b8b745"); + const response = await client.assets.get("580e63fc8c9a982ac9b8b745", { + localeId: "65427cf400e02b306eaa04a0", + }); expect(response).toEqual({ id: "63e5889e7fe4eafa7384cea4", contentType: "image/png", @@ -770,7 +773,9 @@ describe("AssetsClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.assets.update("580e63fc8c9a982ac9b8b745"); + const response = await client.assets.update("580e63fc8c9a982ac9b8b745", { + localeId: "65427cf400e02b306eaa04a0", + }); expect(response).toEqual({ id: "63e5889e7fe4eafa7384cea4", contentType: "image/png", diff --git a/tests/wire/collections.test.ts b/tests/wire/collections.test.ts index 811e18b0..cb7a8ce7 100644 --- a/tests/wire/collections.test.ts +++ b/tests/wire/collections.test.ts @@ -588,7 +588,7 @@ describe("CollectionsClient", () => { id: "4f5e6d7c8b9a0e1d2c3b4a5f", isRequired: false, isEditable: true, - type: "Color", + type: "DateTime", slug: "first-mentioned", displayName: "First Mentioned", helpText: "Date of the first mention of the subject.", @@ -757,7 +757,7 @@ describe("CollectionsClient", () => { id: "4f5e6d7c8b9a0e1d2c3b4a5f", isRequired: false, isEditable: true, - type: "Color", + type: "DateTime", slug: "first-mentioned", displayName: "First Mentioned", helpText: "Date of the first mention of the subject.", diff --git a/tests/wire/collections/items.test.ts b/tests/wire/collections/items.test.ts index 6056dcdc..2103ac16 100644 --- a/tests/wire/collections/items.test.ts +++ b/tests/wire/collections/items.test.ts @@ -62,7 +62,7 @@ describe("ItemsClient", () => { limit: 1, name: "name", slug: "slug", - sortBy: "lastPublished", + sortBy: "createdOn", sortOrder: "asc", }); expect(response).toEqual({ @@ -1385,7 +1385,7 @@ describe("ItemsClient", () => { limit: 1, name: "name", slug: "slug", - sortBy: "lastPublished", + sortBy: "createdOn", sortOrder: "asc", }); expect(response).toEqual({ diff --git a/tests/wire/components.test.ts b/tests/wire/components.test.ts index 085886ff..2479e2b7 100644 --- a/tests/wire/components.test.ts +++ b/tests/wire/components.test.ts @@ -201,7 +201,7 @@ describe("ComponentsClient", () => { }); const rawResponseBody = { - componentId: "69118560-d0bc-15fc-bbf8-b8fe5f6535b5", + componentId: "69118560-d0bc-4fbb-8bfe-5f6535b50001", nodes: [ { type: "text", id: "id", text: {}, attributes: { key: "value" } }, { type: "text", id: "id", text: {}, attributes: { key: "value" } }, @@ -219,7 +219,14 @@ describe("ComponentsClient", () => { type: "component-instance", id: "id", componentId: "componentId", - propertyOverrides: [{ propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f0" }], + propertyOverrides: [ + { + propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f0", + type: "Plain Text", + label: "label", + text: {}, + }, + ], }, ], pagination: { limit: 7, offset: 0, total: 7 }, @@ -243,7 +250,7 @@ describe("ComponentsClient", () => { }, ); expect(response).toEqual({ - componentId: "69118560-d0bc-15fc-bbf8-b8fe5f6535b5", + componentId: "69118560-d0bc-4fbb-8bfe-5f6535b50001", nodes: [ { type: "text", @@ -306,6 +313,9 @@ describe("ComponentsClient", () => { propertyOverrides: [ { propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f0", + type: "Plain Text", + label: "label", + text: {}, }, ], }, @@ -780,7 +790,7 @@ describe("ComponentsClient", () => { }); const rawResponseBody = { - componentId: "658205daa3e8206a523b5ad4", + componentId: "658205da-a3e8-4206-a523-b5ad4fabcdef", properties: [ { propertyId: "a245c12d-995b-55ee-5ec7-aa36a6cad623", @@ -816,7 +826,7 @@ describe("ComponentsClient", () => { }, ); expect(response).toEqual({ - componentId: "658205daa3e8206a523b5ad4", + componentId: "658205da-a3e8-4206-a523-b5ad4fabcdef", properties: [ { propertyId: "a245c12d-995b-55ee-5ec7-aa36a6cad623", diff --git a/tests/wire/orders.test.ts b/tests/wire/orders.test.ts index 5ef3ecef..3af41564 100644 --- a/tests/wire/orders.test.ts +++ b/tests/wire/orders.test.ts @@ -22,9 +22,9 @@ describe("OrdersClient", () => { "Customer requested gift wrapping and a personalized note saying: Happy Birthday, Ford! 🎉 Please ensure the item is packed with extra bubble wrap for safe transit.", orderComment: 'Please gift wrap with a personal note saying "Happy Birthday, Ford! 🎉', acceptedOn: "2024-04-10T13:16:21Z", - customerPaid: { unit: "USD", value: "5892", string: "$ 211.55 USD" }, - netAmount: { unit: "USD", value: "5892", string: "$ 200.89 USD" }, - applicationFee: { unit: "USD", value: "5892", string: "$ 4.23 USD" }, + customerPaid: { unit: "USD", value: "21155", string: "$ 211.55 USD" }, + netAmount: { unit: "USD", value: "20089", string: "$ 200.89 USD" }, + applicationFee: { unit: "USD", value: "423", string: "$ 4.23 USD" }, allAddresses: [ { type: "billing", @@ -75,7 +75,7 @@ describe("OrdersClient", () => { purchasedItems: [ { count: 2, - rowTotal: { unit: "USD", value: "5892", string: "$ 111.22 USD" }, + rowTotal: { unit: "USD", value: "11122", string: "$ 111.22 USD" }, productId: "66072fb61b89448912e26791", productName: "Luxurious Fresh Ball", productSlug: "luxurious-fresh-ball", @@ -86,7 +86,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 55.61 USD" }, + variantPrice: { unit: "USD", value: "5561", string: "$ 55.61 USD" }, weight: 11, width: 82, height: 70, @@ -94,7 +94,7 @@ describe("OrdersClient", () => { }, { count: 1, - rowTotal: { unit: "USD", value: "5892", string: "$ 83.09 USD" }, + rowTotal: { unit: "USD", value: "8309", string: "$ 83.09 USD" }, productId: "66072fb61b89448912e2678b", productName: "Incredible Bronze Towels", productSlug: "incredible-bronze-towels", @@ -105,7 +105,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e26729_image16.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 83.09 USD" }, + variantPrice: { unit: "USD", value: "8309", string: "$ 83.09 USD" }, width: 19, height: 72, length: 18, @@ -137,7 +137,7 @@ describe("OrdersClient", () => { type: "tax", name: "State Taxes", description: "CA Taxes (6.25%)", - price: { unit: "USD", value: "5892", string: "$3.44" }, + price: { unit: "USD", value: "344", string: "$3.44" }, }, ], total: { unit: "USD", value: "5892", string: "$58.92" }, @@ -157,9 +157,9 @@ describe("OrdersClient", () => { orderComment: "", acceptedOn: "2024-03-29T21:29:21Z", refundedOn: "2024-04-08T18:25:04Z", - customerPaid: { unit: "USD", value: "5892", string: "$ 118.73 USD" }, - netAmount: { unit: "USD", value: "5892", string: "$ 112.62 USD" }, - applicationFee: { unit: "USD", value: "5892", string: "$ 2.37 USD" }, + customerPaid: { unit: "USD", value: "11873", string: "$ 118.73 USD" }, + netAmount: { unit: "USD", value: "11262", string: "$ 112.62 USD" }, + applicationFee: { unit: "USD", value: "237", string: "$ 2.37 USD" }, allAddresses: [ { type: "billing", @@ -209,7 +209,7 @@ describe("OrdersClient", () => { purchasedItems: [ { count: 1, - rowTotal: { unit: "USD", value: "5892", string: "$ 55.61 USD" }, + rowTotal: { unit: "USD", value: "5561", string: "$ 55.61 USD" }, productId: "66072fb61b89448912e26791", productName: "Luxurious Fresh Ball", productSlug: "luxurious-fresh-ball", @@ -220,7 +220,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 55.61 USD" }, + variantPrice: { unit: "USD", value: "5561", string: "$ 55.61 USD" }, weight: 11, width: 82, height: 70, @@ -228,7 +228,7 @@ describe("OrdersClient", () => { }, { count: 1, - rowTotal: { unit: "USD", value: "5892", string: "$ 53.44 USD" }, + rowTotal: { unit: "USD", value: "5344", string: "$ 53.44 USD" }, productId: "66072fb61b89448912e26799", productName: "Recycled Steel Gloves", productSlug: "recycled-steel-gloves", @@ -239,7 +239,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 53.44 USD" }, + variantPrice: { unit: "USD", value: "5344", string: "$ 53.44 USD" }, weight: 38, width: 76, height: 85, @@ -268,28 +268,28 @@ describe("OrdersClient", () => { hasDownloads: false, paymentProcessor: "stripe", totals: { - subtotal: { unit: "USD", value: "5892", string: "$ 109.05 USD" }, + subtotal: { unit: "USD", value: "10905", string: "$ 109.05 USD" }, extras: [ { type: "tax", name: "State Taxes", description: "NY Taxes (4.00%)", - price: { unit: "USD", value: "5892", string: "$ 4.36 USD" }, + price: { unit: "USD", value: "436", string: "$ 4.36 USD" }, }, { type: "tax", name: "City Taxes", description: "NEW YORK Taxes (4.88%)", - price: { unit: "USD", value: "5892", string: "$ 5.32 USD" }, + price: { unit: "USD", value: "532", string: "$ 5.32 USD" }, }, { type: "shipping", name: "Flat", description: "", - price: { unit: "USD", value: "5892", string: "$ 0.00 USD" }, + price: { unit: "USD", value: "0", string: "$ 0.00 USD" }, }, ], - total: { unit: "USD", value: "5892", string: "$ 118.73 USD" }, + total: { unit: "USD", value: "11873", string: "$ 118.73 USD" }, }, downloadFiles: [ { @@ -326,17 +326,17 @@ describe("OrdersClient", () => { acceptedOn: new Date("2024-04-10T13:16:21.000Z"), customerPaid: { unit: "USD", - value: "5892", + value: "21155", string: "$ 211.55 USD", }, netAmount: { unit: "USD", - value: "5892", + value: "20089", string: "$ 200.89 USD", }, applicationFee: { unit: "USD", - value: "5892", + value: "423", string: "$ 4.23 USD", }, allAddresses: [ @@ -394,7 +394,7 @@ describe("OrdersClient", () => { count: 2, rowTotal: { unit: "USD", - value: "5892", + value: "11122", string: "$ 111.22 USD", }, productId: "66072fb61b89448912e26791", @@ -409,7 +409,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "5561", string: "$ 55.61 USD", }, weight: 11, @@ -421,7 +421,7 @@ describe("OrdersClient", () => { count: 1, rowTotal: { unit: "USD", - value: "5892", + value: "8309", string: "$ 83.09 USD", }, productId: "66072fb61b89448912e2678b", @@ -436,7 +436,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "8309", string: "$ 83.09 USD", }, width: 19, @@ -485,7 +485,7 @@ describe("OrdersClient", () => { description: "CA Taxes (6.25%)", price: { unit: "USD", - value: "5892", + value: "344", string: "$3.44", }, }, @@ -513,17 +513,17 @@ describe("OrdersClient", () => { refundedOn: new Date("2024-04-08T18:25:04.000Z"), customerPaid: { unit: "USD", - value: "5892", + value: "11873", string: "$ 118.73 USD", }, netAmount: { unit: "USD", - value: "5892", + value: "11262", string: "$ 112.62 USD", }, applicationFee: { unit: "USD", - value: "5892", + value: "237", string: "$ 2.37 USD", }, allAddresses: [ @@ -580,7 +580,7 @@ describe("OrdersClient", () => { count: 1, rowTotal: { unit: "USD", - value: "5892", + value: "5561", string: "$ 55.61 USD", }, productId: "66072fb61b89448912e26791", @@ -595,7 +595,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "5561", string: "$ 55.61 USD", }, weight: 11, @@ -607,7 +607,7 @@ describe("OrdersClient", () => { count: 1, rowTotal: { unit: "USD", - value: "5892", + value: "5344", string: "$ 53.44 USD", }, productId: "66072fb61b89448912e26799", @@ -622,7 +622,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "5344", string: "$ 53.44 USD", }, weight: 38, @@ -664,7 +664,7 @@ describe("OrdersClient", () => { totals: { subtotal: { unit: "USD", - value: "5892", + value: "10905", string: "$ 109.05 USD", }, extras: [ @@ -674,7 +674,7 @@ describe("OrdersClient", () => { description: "NY Taxes (4.00%)", price: { unit: "USD", - value: "5892", + value: "436", string: "$ 4.36 USD", }, }, @@ -684,7 +684,7 @@ describe("OrdersClient", () => { description: "NEW YORK Taxes (4.88%)", price: { unit: "USD", - value: "5892", + value: "532", string: "$ 5.32 USD", }, }, @@ -694,14 +694,14 @@ describe("OrdersClient", () => { description: "", price: { unit: "USD", - value: "5892", + value: "0", string: "$ 0.00 USD", }, }, ], total: { unit: "USD", - value: "5892", + value: "11873", string: "$ 118.73 USD", }, }, @@ -896,9 +896,9 @@ describe("OrdersClient", () => { disputedOn: "2024-03-29T21:29:21Z", disputeUpdatedOn: "2024-03-29T21:29:21Z", disputeLastStatus: "charge_refunded", - customerPaid: { unit: "USD", value: "5892", string: "$ 118.73 USD" }, - netAmount: { unit: "USD", value: "5892", string: "$ 112.62 USD" }, - applicationFee: { unit: "USD", value: "5892", string: "$ 2.37 USD" }, + customerPaid: { unit: "USD", value: "11873", string: "$ 118.73 USD" }, + netAmount: { unit: "USD", value: "11262", string: "$ 112.62 USD" }, + applicationFee: { unit: "USD", value: "237", string: "$ 2.37 USD" }, allAddresses: [ { type: "billing", @@ -952,7 +952,7 @@ describe("OrdersClient", () => { purchasedItems: [ { count: 1, - rowTotal: { unit: "USD", value: "5892", string: "$ 55.61 USD" }, + rowTotal: { unit: "USD", value: "5561", string: "$ 55.61 USD" }, productId: "66072fb61b89448912e26791", productName: "Luxurious Fresh Ball", productSlug: "luxurious-fresh-ball", @@ -963,7 +963,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 55.61 USD" }, + variantPrice: { unit: "USD", value: "5561", string: "$ 55.61 USD" }, weight: 11, width: 82, height: 70, @@ -971,7 +971,7 @@ describe("OrdersClient", () => { }, { count: 1, - rowTotal: { unit: "USD", value: "5892", string: "$ 53.44 USD" }, + rowTotal: { unit: "USD", value: "5344", string: "$ 53.44 USD" }, productId: "66072fb61b89448912e26799", productName: "Recycled Steel Gloves", productSlug: "recycled-steel-gloves", @@ -982,7 +982,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 53.44 USD" }, + variantPrice: { unit: "USD", value: "5344", string: "$ 53.44 USD" }, weight: 38, width: 76, height: 85, @@ -1006,28 +1006,28 @@ describe("OrdersClient", () => { hasDownloads: false, paymentProcessor: "stripe", totals: { - subtotal: { unit: "USD", value: "5892", string: "$ 109.05 USD" }, + subtotal: { unit: "USD", value: "10905", string: "$ 109.05 USD" }, extras: [ { type: "tax", name: "State Taxes", description: "NY Taxes (4.00%)", - price: { unit: "USD", value: "5892", string: "$ 4.36 USD" }, + price: { unit: "USD", value: "436", string: "$ 4.36 USD" }, }, { type: "tax", name: "City Taxes", description: "NEW YORK Taxes (4.88%)", - price: { unit: "USD", value: "5892", string: "$ 5.32 USD" }, + price: { unit: "USD", value: "532", string: "$ 5.32 USD" }, }, { type: "shipping", name: "Flat", description: "", - price: { unit: "USD", value: "5892", string: "$ 0.00 USD" }, + price: { unit: "USD", value: "0", string: "$ 0.00 USD" }, }, ], - total: { unit: "USD", value: "5892", string: "$ 118.73 USD" }, + total: { unit: "USD", value: "11873", string: "$ 118.73 USD" }, }, downloadFiles: [ { @@ -1060,17 +1060,17 @@ describe("OrdersClient", () => { disputeLastStatus: "charge_refunded", customerPaid: { unit: "USD", - value: "5892", + value: "11873", string: "$ 118.73 USD", }, netAmount: { unit: "USD", - value: "5892", + value: "11262", string: "$ 112.62 USD", }, applicationFee: { unit: "USD", - value: "5892", + value: "237", string: "$ 2.37 USD", }, allAddresses: [ @@ -1131,7 +1131,7 @@ describe("OrdersClient", () => { count: 1, rowTotal: { unit: "USD", - value: "5892", + value: "5561", string: "$ 55.61 USD", }, productId: "66072fb61b89448912e26791", @@ -1146,7 +1146,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "5561", string: "$ 55.61 USD", }, weight: 11, @@ -1158,7 +1158,7 @@ describe("OrdersClient", () => { count: 1, rowTotal: { unit: "USD", - value: "5892", + value: "5344", string: "$ 53.44 USD", }, productId: "66072fb61b89448912e26799", @@ -1173,7 +1173,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "5344", string: "$ 53.44 USD", }, weight: 38, @@ -1215,7 +1215,7 @@ describe("OrdersClient", () => { totals: { subtotal: { unit: "USD", - value: "5892", + value: "10905", string: "$ 109.05 USD", }, extras: [ @@ -1225,7 +1225,7 @@ describe("OrdersClient", () => { description: "NY Taxes (4.00%)", price: { unit: "USD", - value: "5892", + value: "436", string: "$ 4.36 USD", }, }, @@ -1235,7 +1235,7 @@ describe("OrdersClient", () => { description: "NEW YORK Taxes (4.88%)", price: { unit: "USD", - value: "5892", + value: "532", string: "$ 5.32 USD", }, }, @@ -1245,14 +1245,14 @@ describe("OrdersClient", () => { description: "", price: { unit: "USD", - value: "5892", + value: "0", string: "$ 0.00 USD", }, }, ], total: { unit: "USD", - value: "5892", + value: "11873", string: "$ 118.73 USD", }, }, @@ -1440,9 +1440,9 @@ describe("OrdersClient", () => { disputedOn: "2024-03-29T21:29:21Z", disputeUpdatedOn: "2024-03-29T21:29:21Z", disputeLastStatus: "charge_refunded", - customerPaid: { unit: "USD", value: "5892", string: "$ 118.73 USD" }, - netAmount: { unit: "USD", value: "5892", string: "$ 112.62 USD" }, - applicationFee: { unit: "USD", value: "5892", string: "$ 2.37 USD" }, + customerPaid: { unit: "USD", value: "11873", string: "$ 118.73 USD" }, + netAmount: { unit: "USD", value: "11262", string: "$ 112.62 USD" }, + applicationFee: { unit: "USD", value: "237", string: "$ 2.37 USD" }, allAddresses: [ { type: "billing", @@ -1496,7 +1496,7 @@ describe("OrdersClient", () => { purchasedItems: [ { count: 1, - rowTotal: { unit: "USD", value: "5892", string: "$ 55.61 USD" }, + rowTotal: { unit: "USD", value: "5561", string: "$ 55.61 USD" }, productId: "66072fb61b89448912e26791", productName: "Luxurious Fresh Ball", productSlug: "luxurious-fresh-ball", @@ -1507,7 +1507,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 55.61 USD" }, + variantPrice: { unit: "USD", value: "5561", string: "$ 55.61 USD" }, weight: 11, width: 82, height: 70, @@ -1515,7 +1515,7 @@ describe("OrdersClient", () => { }, { count: 1, - rowTotal: { unit: "USD", value: "5892", string: "$ 53.44 USD" }, + rowTotal: { unit: "USD", value: "5344", string: "$ 53.44 USD" }, productId: "66072fb61b89448912e26799", productName: "Recycled Steel Gloves", productSlug: "recycled-steel-gloves", @@ -1526,7 +1526,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 53.44 USD" }, + variantPrice: { unit: "USD", value: "5344", string: "$ 53.44 USD" }, weight: 38, width: 76, height: 85, @@ -1550,28 +1550,28 @@ describe("OrdersClient", () => { hasDownloads: false, paymentProcessor: "stripe", totals: { - subtotal: { unit: "USD", value: "5892", string: "$ 109.05 USD" }, + subtotal: { unit: "USD", value: "10905", string: "$ 109.05 USD" }, extras: [ { type: "tax", name: "State Taxes", description: "NY Taxes (4.00%)", - price: { unit: "USD", value: "5892", string: "$ 4.36 USD" }, + price: { unit: "USD", value: "436", string: "$ 4.36 USD" }, }, { type: "tax", name: "City Taxes", description: "NEW YORK Taxes (4.88%)", - price: { unit: "USD", value: "5892", string: "$ 5.32 USD" }, + price: { unit: "USD", value: "532", string: "$ 5.32 USD" }, }, { type: "shipping", name: "Flat", description: "", - price: { unit: "USD", value: "5892", string: "$ 0.00 USD" }, + price: { unit: "USD", value: "0", string: "$ 0.00 USD" }, }, ], - total: { unit: "USD", value: "5892", string: "$ 118.73 USD" }, + total: { unit: "USD", value: "11873", string: "$ 118.73 USD" }, }, downloadFiles: [ { @@ -1605,17 +1605,17 @@ describe("OrdersClient", () => { disputeLastStatus: "charge_refunded", customerPaid: { unit: "USD", - value: "5892", + value: "11873", string: "$ 118.73 USD", }, netAmount: { unit: "USD", - value: "5892", + value: "11262", string: "$ 112.62 USD", }, applicationFee: { unit: "USD", - value: "5892", + value: "237", string: "$ 2.37 USD", }, allAddresses: [ @@ -1676,7 +1676,7 @@ describe("OrdersClient", () => { count: 1, rowTotal: { unit: "USD", - value: "5892", + value: "5561", string: "$ 55.61 USD", }, productId: "66072fb61b89448912e26791", @@ -1691,7 +1691,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "5561", string: "$ 55.61 USD", }, weight: 11, @@ -1703,7 +1703,7 @@ describe("OrdersClient", () => { count: 1, rowTotal: { unit: "USD", - value: "5892", + value: "5344", string: "$ 53.44 USD", }, productId: "66072fb61b89448912e26799", @@ -1718,7 +1718,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "5344", string: "$ 53.44 USD", }, weight: 38, @@ -1760,7 +1760,7 @@ describe("OrdersClient", () => { totals: { subtotal: { unit: "USD", - value: "5892", + value: "10905", string: "$ 109.05 USD", }, extras: [ @@ -1770,7 +1770,7 @@ describe("OrdersClient", () => { description: "NY Taxes (4.00%)", price: { unit: "USD", - value: "5892", + value: "436", string: "$ 4.36 USD", }, }, @@ -1780,7 +1780,7 @@ describe("OrdersClient", () => { description: "NEW YORK Taxes (4.88%)", price: { unit: "USD", - value: "5892", + value: "532", string: "$ 5.32 USD", }, }, @@ -1790,14 +1790,14 @@ describe("OrdersClient", () => { description: "", price: { unit: "USD", - value: "5892", + value: "0", string: "$ 0.00 USD", }, }, ], total: { unit: "USD", - value: "5892", + value: "11873", string: "$ 118.73 USD", }, }, @@ -1992,9 +1992,9 @@ describe("OrdersClient", () => { disputedOn: "2024-03-29T21:29:21Z", disputeUpdatedOn: "2024-03-29T21:29:21Z", disputeLastStatus: "charge_refunded", - customerPaid: { unit: "USD", value: "5892", string: "$ 118.73 USD" }, - netAmount: { unit: "USD", value: "5892", string: "$ 112.62 USD" }, - applicationFee: { unit: "USD", value: "5892", string: "$ 2.37 USD" }, + customerPaid: { unit: "USD", value: "11873", string: "$ 118.73 USD" }, + netAmount: { unit: "USD", value: "11262", string: "$ 112.62 USD" }, + applicationFee: { unit: "USD", value: "237", string: "$ 2.37 USD" }, allAddresses: [ { type: "billing", @@ -2048,7 +2048,7 @@ describe("OrdersClient", () => { purchasedItems: [ { count: 1, - rowTotal: { unit: "USD", value: "5892", string: "$ 55.61 USD" }, + rowTotal: { unit: "USD", value: "5561", string: "$ 55.61 USD" }, productId: "66072fb61b89448912e26791", productName: "Luxurious Fresh Ball", productSlug: "luxurious-fresh-ball", @@ -2059,7 +2059,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 55.61 USD" }, + variantPrice: { unit: "USD", value: "5561", string: "$ 55.61 USD" }, weight: 11, width: 82, height: 70, @@ -2067,7 +2067,7 @@ describe("OrdersClient", () => { }, { count: 1, - rowTotal: { unit: "USD", value: "5892", string: "$ 53.44 USD" }, + rowTotal: { unit: "USD", value: "5344", string: "$ 53.44 USD" }, productId: "66072fb61b89448912e26799", productName: "Recycled Steel Gloves", productSlug: "recycled-steel-gloves", @@ -2078,7 +2078,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 53.44 USD" }, + variantPrice: { unit: "USD", value: "5344", string: "$ 53.44 USD" }, weight: 38, width: 76, height: 85, @@ -2102,28 +2102,28 @@ describe("OrdersClient", () => { hasDownloads: false, paymentProcessor: "stripe", totals: { - subtotal: { unit: "USD", value: "5892", string: "$ 109.05 USD" }, + subtotal: { unit: "USD", value: "10905", string: "$ 109.05 USD" }, extras: [ { type: "tax", name: "State Taxes", description: "NY Taxes (4.00%)", - price: { unit: "USD", value: "5892", string: "$ 4.36 USD" }, + price: { unit: "USD", value: "436", string: "$ 4.36 USD" }, }, { type: "tax", name: "City Taxes", description: "NEW YORK Taxes (4.88%)", - price: { unit: "USD", value: "5892", string: "$ 5.32 USD" }, + price: { unit: "USD", value: "532", string: "$ 5.32 USD" }, }, { type: "shipping", name: "Flat", description: "", - price: { unit: "USD", value: "5892", string: "$ 0.00 USD" }, + price: { unit: "USD", value: "0", string: "$ 0.00 USD" }, }, ], - total: { unit: "USD", value: "5892", string: "$ 118.73 USD" }, + total: { unit: "USD", value: "11873", string: "$ 118.73 USD" }, }, downloadFiles: [ { @@ -2157,17 +2157,17 @@ describe("OrdersClient", () => { disputeLastStatus: "charge_refunded", customerPaid: { unit: "USD", - value: "5892", + value: "11873", string: "$ 118.73 USD", }, netAmount: { unit: "USD", - value: "5892", + value: "11262", string: "$ 112.62 USD", }, applicationFee: { unit: "USD", - value: "5892", + value: "237", string: "$ 2.37 USD", }, allAddresses: [ @@ -2228,7 +2228,7 @@ describe("OrdersClient", () => { count: 1, rowTotal: { unit: "USD", - value: "5892", + value: "5561", string: "$ 55.61 USD", }, productId: "66072fb61b89448912e26791", @@ -2243,7 +2243,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "5561", string: "$ 55.61 USD", }, weight: 11, @@ -2255,7 +2255,7 @@ describe("OrdersClient", () => { count: 1, rowTotal: { unit: "USD", - value: "5892", + value: "5344", string: "$ 53.44 USD", }, productId: "66072fb61b89448912e26799", @@ -2270,7 +2270,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "5344", string: "$ 53.44 USD", }, weight: 38, @@ -2312,7 +2312,7 @@ describe("OrdersClient", () => { totals: { subtotal: { unit: "USD", - value: "5892", + value: "10905", string: "$ 109.05 USD", }, extras: [ @@ -2322,7 +2322,7 @@ describe("OrdersClient", () => { description: "NY Taxes (4.00%)", price: { unit: "USD", - value: "5892", + value: "436", string: "$ 4.36 USD", }, }, @@ -2332,7 +2332,7 @@ describe("OrdersClient", () => { description: "NEW YORK Taxes (4.88%)", price: { unit: "USD", - value: "5892", + value: "532", string: "$ 5.32 USD", }, }, @@ -2342,14 +2342,14 @@ describe("OrdersClient", () => { description: "", price: { unit: "USD", - value: "5892", + value: "0", string: "$ 0.00 USD", }, }, ], total: { unit: "USD", - value: "5892", + value: "11873", string: "$ 118.73 USD", }, }, @@ -2544,9 +2544,9 @@ describe("OrdersClient", () => { disputedOn: "2024-03-29T21:29:21Z", disputeUpdatedOn: "2024-03-29T21:29:21Z", disputeLastStatus: "charge_refunded", - customerPaid: { unit: "USD", value: "5892", string: "$ 118.73 USD" }, - netAmount: { unit: "USD", value: "5892", string: "$ 112.62 USD" }, - applicationFee: { unit: "USD", value: "5892", string: "$ 2.37 USD" }, + customerPaid: { unit: "USD", value: "11873", string: "$ 118.73 USD" }, + netAmount: { unit: "USD", value: "11262", string: "$ 112.62 USD" }, + applicationFee: { unit: "USD", value: "237", string: "$ 2.37 USD" }, allAddresses: [ { type: "billing", @@ -2600,7 +2600,7 @@ describe("OrdersClient", () => { purchasedItems: [ { count: 1, - rowTotal: { unit: "USD", value: "5892", string: "$ 55.61 USD" }, + rowTotal: { unit: "USD", value: "5561", string: "$ 55.61 USD" }, productId: "66072fb61b89448912e26791", productName: "Luxurious Fresh Ball", productSlug: "luxurious-fresh-ball", @@ -2611,7 +2611,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 55.61 USD" }, + variantPrice: { unit: "USD", value: "5561", string: "$ 55.61 USD" }, weight: 11, width: 82, height: 70, @@ -2619,7 +2619,7 @@ describe("OrdersClient", () => { }, { count: 1, - rowTotal: { unit: "USD", value: "5892", string: "$ 53.44 USD" }, + rowTotal: { unit: "USD", value: "5344", string: "$ 53.44 USD" }, productId: "66072fb61b89448912e26799", productName: "Recycled Steel Gloves", productSlug: "recycled-steel-gloves", @@ -2630,7 +2630,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 53.44 USD" }, + variantPrice: { unit: "USD", value: "5344", string: "$ 53.44 USD" }, weight: 38, width: 76, height: 85, @@ -2654,28 +2654,28 @@ describe("OrdersClient", () => { hasDownloads: false, paymentProcessor: "stripe", totals: { - subtotal: { unit: "USD", value: "5892", string: "$ 109.05 USD" }, + subtotal: { unit: "USD", value: "10905", string: "$ 109.05 USD" }, extras: [ { type: "tax", name: "State Taxes", description: "NY Taxes (4.00%)", - price: { unit: "USD", value: "5892", string: "$ 4.36 USD" }, + price: { unit: "USD", value: "436", string: "$ 4.36 USD" }, }, { type: "tax", name: "City Taxes", description: "NEW YORK Taxes (4.88%)", - price: { unit: "USD", value: "5892", string: "$ 5.32 USD" }, + price: { unit: "USD", value: "532", string: "$ 5.32 USD" }, }, { type: "shipping", name: "Flat", description: "", - price: { unit: "USD", value: "5892", string: "$ 0.00 USD" }, + price: { unit: "USD", value: "0", string: "$ 0.00 USD" }, }, ], - total: { unit: "USD", value: "5892", string: "$ 118.73 USD" }, + total: { unit: "USD", value: "11873", string: "$ 118.73 USD" }, }, downloadFiles: [ { @@ -2708,17 +2708,17 @@ describe("OrdersClient", () => { disputeLastStatus: "charge_refunded", customerPaid: { unit: "USD", - value: "5892", + value: "11873", string: "$ 118.73 USD", }, netAmount: { unit: "USD", - value: "5892", + value: "11262", string: "$ 112.62 USD", }, applicationFee: { unit: "USD", - value: "5892", + value: "237", string: "$ 2.37 USD", }, allAddresses: [ @@ -2779,7 +2779,7 @@ describe("OrdersClient", () => { count: 1, rowTotal: { unit: "USD", - value: "5892", + value: "5561", string: "$ 55.61 USD", }, productId: "66072fb61b89448912e26791", @@ -2794,7 +2794,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "5561", string: "$ 55.61 USD", }, weight: 11, @@ -2806,7 +2806,7 @@ describe("OrdersClient", () => { count: 1, rowTotal: { unit: "USD", - value: "5892", + value: "5344", string: "$ 53.44 USD", }, productId: "66072fb61b89448912e26799", @@ -2821,7 +2821,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "5344", string: "$ 53.44 USD", }, weight: 38, @@ -2863,7 +2863,7 @@ describe("OrdersClient", () => { totals: { subtotal: { unit: "USD", - value: "5892", + value: "10905", string: "$ 109.05 USD", }, extras: [ @@ -2873,7 +2873,7 @@ describe("OrdersClient", () => { description: "NY Taxes (4.00%)", price: { unit: "USD", - value: "5892", + value: "436", string: "$ 4.36 USD", }, }, @@ -2883,7 +2883,7 @@ describe("OrdersClient", () => { description: "NEW YORK Taxes (4.88%)", price: { unit: "USD", - value: "5892", + value: "532", string: "$ 5.32 USD", }, }, @@ -2893,14 +2893,14 @@ describe("OrdersClient", () => { description: "", price: { unit: "USD", - value: "5892", + value: "0", string: "$ 0.00 USD", }, }, ], total: { unit: "USD", - value: "5892", + value: "11873", string: "$ 118.73 USD", }, }, @@ -3088,9 +3088,9 @@ describe("OrdersClient", () => { disputedOn: "2024-03-29T21:29:21Z", disputeUpdatedOn: "2024-03-29T21:29:21Z", disputeLastStatus: "charge_refunded", - customerPaid: { unit: "USD", value: "5892", string: "$ 118.73 USD" }, - netAmount: { unit: "USD", value: "5892", string: "$ 112.62 USD" }, - applicationFee: { unit: "USD", value: "5892", string: "$ 2.37 USD" }, + customerPaid: { unit: "USD", value: "11873", string: "$ 118.73 USD" }, + netAmount: { unit: "USD", value: "11262", string: "$ 112.62 USD" }, + applicationFee: { unit: "USD", value: "237", string: "$ 2.37 USD" }, allAddresses: [ { type: "billing", @@ -3144,7 +3144,7 @@ describe("OrdersClient", () => { purchasedItems: [ { count: 1, - rowTotal: { unit: "USD", value: "5892", string: "$ 55.61 USD" }, + rowTotal: { unit: "USD", value: "5561", string: "$ 55.61 USD" }, productId: "66072fb61b89448912e26791", productName: "Luxurious Fresh Ball", productSlug: "luxurious-fresh-ball", @@ -3155,7 +3155,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 55.61 USD" }, + variantPrice: { unit: "USD", value: "5561", string: "$ 55.61 USD" }, weight: 11, width: 82, height: 70, @@ -3163,7 +3163,7 @@ describe("OrdersClient", () => { }, { count: 1, - rowTotal: { unit: "USD", value: "5892", string: "$ 53.44 USD" }, + rowTotal: { unit: "USD", value: "5344", string: "$ 53.44 USD" }, productId: "66072fb61b89448912e26799", productName: "Recycled Steel Gloves", productSlug: "recycled-steel-gloves", @@ -3174,7 +3174,7 @@ describe("OrdersClient", () => { variantImage: { url: "https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg", }, - variantPrice: { unit: "USD", value: "5892", string: "$ 53.44 USD" }, + variantPrice: { unit: "USD", value: "5344", string: "$ 53.44 USD" }, weight: 38, width: 76, height: 85, @@ -3198,28 +3198,28 @@ describe("OrdersClient", () => { hasDownloads: false, paymentProcessor: "stripe", totals: { - subtotal: { unit: "USD", value: "5892", string: "$ 109.05 USD" }, + subtotal: { unit: "USD", value: "10905", string: "$ 109.05 USD" }, extras: [ { type: "tax", name: "State Taxes", description: "NY Taxes (4.00%)", - price: { unit: "USD", value: "5892", string: "$ 4.36 USD" }, + price: { unit: "USD", value: "436", string: "$ 4.36 USD" }, }, { type: "tax", name: "City Taxes", description: "NEW YORK Taxes (4.88%)", - price: { unit: "USD", value: "5892", string: "$ 5.32 USD" }, + price: { unit: "USD", value: "532", string: "$ 5.32 USD" }, }, { type: "shipping", name: "Flat", description: "", - price: { unit: "USD", value: "5892", string: "$ 0.00 USD" }, + price: { unit: "USD", value: "0", string: "$ 0.00 USD" }, }, ], - total: { unit: "USD", value: "5892", string: "$ 118.73 USD" }, + total: { unit: "USD", value: "11873", string: "$ 118.73 USD" }, }, downloadFiles: [ { @@ -3253,17 +3253,17 @@ describe("OrdersClient", () => { disputeLastStatus: "charge_refunded", customerPaid: { unit: "USD", - value: "5892", + value: "11873", string: "$ 118.73 USD", }, netAmount: { unit: "USD", - value: "5892", + value: "11262", string: "$ 112.62 USD", }, applicationFee: { unit: "USD", - value: "5892", + value: "237", string: "$ 2.37 USD", }, allAddresses: [ @@ -3324,7 +3324,7 @@ describe("OrdersClient", () => { count: 1, rowTotal: { unit: "USD", - value: "5892", + value: "5561", string: "$ 55.61 USD", }, productId: "66072fb61b89448912e26791", @@ -3339,7 +3339,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "5561", string: "$ 55.61 USD", }, weight: 11, @@ -3351,7 +3351,7 @@ describe("OrdersClient", () => { count: 1, rowTotal: { unit: "USD", - value: "5892", + value: "5344", string: "$ 53.44 USD", }, productId: "66072fb61b89448912e26799", @@ -3366,7 +3366,7 @@ describe("OrdersClient", () => { }, variantPrice: { unit: "USD", - value: "5892", + value: "5344", string: "$ 53.44 USD", }, weight: 38, @@ -3408,7 +3408,7 @@ describe("OrdersClient", () => { totals: { subtotal: { unit: "USD", - value: "5892", + value: "10905", string: "$ 109.05 USD", }, extras: [ @@ -3418,7 +3418,7 @@ describe("OrdersClient", () => { description: "NY Taxes (4.00%)", price: { unit: "USD", - value: "5892", + value: "436", string: "$ 4.36 USD", }, }, @@ -3428,7 +3428,7 @@ describe("OrdersClient", () => { description: "NEW YORK Taxes (4.88%)", price: { unit: "USD", - value: "5892", + value: "532", string: "$ 5.32 USD", }, }, @@ -3438,14 +3438,14 @@ describe("OrdersClient", () => { description: "", price: { unit: "USD", - value: "5892", + value: "0", string: "$ 0.00 USD", }, }, ], total: { unit: "USD", - value: "5892", + value: "11873", string: "$ 118.73 USD", }, }, diff --git a/tests/wire/pages.test.ts b/tests/wire/pages.test.ts index fdad289e..ff3d2f78 100644 --- a/tests/wire/pages.test.ts +++ b/tests/wire/pages.test.ts @@ -649,7 +649,14 @@ describe("PagesClient", () => { type: "component-instance", id: "id", componentId: "componentId", - propertyOverrides: [{ propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f0" }], + propertyOverrides: [ + { + propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f0", + type: "Plain Text", + label: "label", + text: {}, + }, + ], }, ], pagination: { limit: 4, offset: 0, total: 4 }, @@ -732,6 +739,9 @@ describe("PagesClient", () => { propertyOverrides: [ { propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f0", + type: "Plain Text", + label: "label", + text: {}, }, ], }, diff --git a/tests/wire/sites.test.ts b/tests/wire/sites.test.ts index de88ff3c..febbdc99 100644 --- a/tests/wire/sites.test.ts +++ b/tests/wire/sites.test.ts @@ -19,7 +19,10 @@ describe("SitesClient", () => { createdOn: "2024-10-15T20:24:38Z", displayName: "The Hitchiker's Guide", shortName: "hitchikers-guide", + lastPublished: "2024-11-15T20:24:38Z", lastUpdated: "2024-10-15T20:24:38Z", + previewUrl: "https://preview.mysite.com", + timeZone: "America/Los_Angeles", parentFolderId: "670ece123598db72d9648be1", customDomains: [ { id: "589a331aa51e760df7ccb89d", url: "test-api-domain.com", lastPublished: "2022-12-07T16:51:37Z" }, @@ -45,7 +48,10 @@ describe("SitesClient", () => { createdOn: new Date("2024-10-15T20:24:38.000Z"), displayName: "The Hitchiker's Guide", shortName: "hitchikers-guide", + lastPublished: new Date("2024-11-15T20:24:38.000Z"), lastUpdated: new Date("2024-10-15T20:24:38.000Z"), + previewUrl: "https://preview.mysite.com", + timeZone: "America/Los_Angeles", parentFolderId: "670ece123598db72d9648be1", customDomains: [ { @@ -228,7 +234,7 @@ describe("SitesClient", () => { lastPublished: "2023-04-02T12:42:00Z", lastUpdated: "2016-10-24T19:43:17Z", previewUrl: "https://dev-assets.website-files.com/42e63e98c9a982ac9b8b741/197910121200.png", - timeZone: "DeepSpace/InfiniteImprobability", + timeZone: "America/Los_Angeles", parentFolderId: "1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6", customDomains: [ { @@ -280,7 +286,7 @@ describe("SitesClient", () => { lastPublished: "2023-04-02T12:45:00Z", lastUpdated: "2016-10-24T19:43:17Z", previewUrl: "https://dev-assets.website-files.com/42e63e98c9a982ac9b8b742/198110121200.png", - timeZone: "DeepSpace/Depression", + timeZone: "America/Los_Angeles", customDomains: [ { id: "589a331aa51e760df7ccb89f", url: "marvin.blog", lastPublished: "2022-12-07T16:51:37Z" }, ], @@ -318,7 +324,7 @@ describe("SitesClient", () => { lastPublished: "2023-04-02T12:50:00Z", lastUpdated: "2016-10-24T19:43:17Z", previewUrl: "https://dev-assets.website-files.com/42e63e98c9a982ac9b8b743/198210121200.png", - timeZone: "Vogsphere/PoetryHall", + timeZone: "America/Los_Angeles", customDomains: [ { id: "589a331aa51e760df7ccb8a0", @@ -367,7 +373,7 @@ describe("SitesClient", () => { lastPublished: new Date("2023-04-02T12:42:00.000Z"), lastUpdated: new Date("2016-10-24T19:43:17.000Z"), previewUrl: "https://dev-assets.website-files.com/42e63e98c9a982ac9b8b741/197910121200.png", - timeZone: "DeepSpace/InfiniteImprobability", + timeZone: "America/Los_Angeles", parentFolderId: "1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6", customDomains: [ { @@ -419,7 +425,7 @@ describe("SitesClient", () => { lastPublished: new Date("2023-04-02T12:45:00.000Z"), lastUpdated: new Date("2016-10-24T19:43:17.000Z"), previewUrl: "https://dev-assets.website-files.com/42e63e98c9a982ac9b8b742/198110121200.png", - timeZone: "DeepSpace/Depression", + timeZone: "America/Los_Angeles", customDomains: [ { id: "589a331aa51e760df7ccb89f", @@ -461,7 +467,7 @@ describe("SitesClient", () => { lastPublished: new Date("2023-04-02T12:50:00.000Z"), lastUpdated: new Date("2016-10-24T19:43:17.000Z"), previewUrl: "https://dev-assets.website-files.com/42e63e98c9a982ac9b8b743/198210121200.png", - timeZone: "Vogsphere/PoetryHall", + timeZone: "America/Los_Angeles", customDomains: [ { id: "589a331aa51e760df7ccb8a0", @@ -564,7 +570,7 @@ describe("SitesClient", () => { lastUpdated: "2023-04-02T12:42:00Z", previewUrl: "https://screenshots.webflow.com/sites/6258612d1ee792848f805dcf/20231219211811_d5990556c743f33b7071300a03bf67e6.png", - timeZone: "Magrathea/FactoryFloor", + timeZone: "America/Los_Angeles", parentFolderId: "1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6", customDomains: [ { @@ -619,7 +625,7 @@ describe("SitesClient", () => { lastUpdated: new Date("2023-04-02T12:42:00.000Z"), previewUrl: "https://screenshots.webflow.com/sites/6258612d1ee792848f805dcf/20231219211811_d5990556c743f33b7071300a03bf67e6.png", - timeZone: "Magrathea/FactoryFloor", + timeZone: "America/Los_Angeles", parentFolderId: "1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6", customDomains: [ { @@ -869,7 +875,7 @@ describe("SitesClient", () => { lastUpdated: "2023-04-02T12:42:00Z", previewUrl: "https://screenshots.webflow.com/sites/6258612d1ee792848f805dcf/20231219211811_d5990556c743f33b7071300a03bf67e6.png", - timeZone: "Magrathea/FactoryFloor", + timeZone: "America/Los_Angeles", parentFolderId: "1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6", customDomains: [ { @@ -925,7 +931,7 @@ describe("SitesClient", () => { lastUpdated: new Date("2023-04-02T12:42:00.000Z"), previewUrl: "https://screenshots.webflow.com/sites/6258612d1ee792848f805dcf/20231219211811_d5990556c743f33b7071300a03bf67e6.png", - timeZone: "Magrathea/FactoryFloor", + timeZone: "America/Los_Angeles", parentFolderId: "1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6", customDomains: [ { diff --git a/yarn.lock b/yarn.lock index 725e14ac..ab57448c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -102,17 +102,17 @@ integrity sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg== "@babel/helpers@^7.28.6": - version "7.28.6" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.28.6.tgz#fca903a313ae675617936e8998b814c415cbf5d7" - integrity sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw== + version "7.29.2" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.29.2.tgz#9cfbccb02b8e229892c0b07038052cc1a8709c49" + integrity sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw== dependencies: "@babel/template" "^7.28.6" - "@babel/types" "^7.28.6" + "@babel/types" "^7.29.0" "@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.28.6", "@babel/parser@^7.29.0": - version "7.29.0" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.0.tgz#669ef345add7d057e92b7ed15f0bac07611831b6" - integrity sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww== + version "7.29.2" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.2.tgz#58bd50b9a7951d134988a1ae177a35ef9a703ba1" + integrity sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA== dependencies: "@babel/types" "^7.29.0" @@ -387,9 +387,9 @@ resolve-from "^5.0.0" "@istanbuljs/schema@^0.1.2", "@istanbuljs/schema@^0.1.3": - version "0.1.3" - resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" - integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== + version "0.1.6" + resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.6.tgz#8dc9afa2ac1506cb1a58f89940f1c124446c8df3" + integrity sha512-+Sg6GCR/wy1oSmQDFq4LQDAhm3ETKnorxN+y5nbLULOR3P0c14f2Wurzj3/xqPXtasLFfHd5iRFQ7AJt4KH2cw== "@jest/console@^29.7.0": version "29.7.0" @@ -795,11 +795,11 @@ form-data "^4.0.4" "@types/node@*": - version "25.5.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-25.5.0.tgz#5c99f37c443d9ccc4985866913f1ed364217da31" - integrity sha512-jp2P3tQMSxWugkCUKLRPVUpGaL5MVFwF8RDuSRztfwgN1wmqJeMSbKlnEtQqU8UrhTmzEmZdu2I6v2dpp7XIxw== + version "25.6.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-25.6.0.tgz#4e09bad9b469871f2d0f68140198cbd714f4edca" + integrity sha512-+qIYRKdNYJwY3vRCZMdJbPLJAtGjQBudzZzdzwQYkEPQd+PJGixUL5QfvCLDaULoLv+RhT3LDkwEfKaAkgSmNQ== dependencies: - undici-types "~7.18.0" + undici-types "~7.19.0" "@types/node@^18.19.70": version "18.19.130" @@ -1174,10 +1174,10 @@ base64-js@^1.3.1: resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== -baseline-browser-mapping@^2.9.0: - version "2.10.7" - resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.10.7.tgz#2c017adffe4f7bbe93c2e55526cc1869d36f588c" - integrity sha512-1ghYO3HnxGec0TCGBXiDLVns4eCSx4zJpxnHrlqFQajmhfKMQBzUGDdkMK7fUW7PTHTeLf+j87aTuKuuwWzMGw== +baseline-browser-mapping@^2.10.12: + version "2.10.18" + resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.10.18.tgz#565745085ba7743af7d4072707ad132db3a5a42f" + integrity sha512-VSnGQAOLtP5mib/DPyg2/t+Tlv65NTBz83BJBJvmLVHHuKJVaDOBvJJykiT5TR++em5nfAySPccDZDa4oSrn8A== bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: version "4.12.3" @@ -1190,9 +1190,9 @@ bn.js@^5.2.1, bn.js@^5.2.2: integrity sha512-EAcmnPkxpntVL+DS7bO1zhcZNvCkxqtkd0ZY53h06GNQ3DEkkGZ/gKgmDv6DdZQGj9BgfSPKtJJ7Dp1GPP8f7w== brace-expansion@^1.1.7: - version "1.1.12" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.12.tgz#ab9b454466e5a8cc3a187beaad580412a9c5b843" - integrity sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg== + version "1.1.14" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.14.tgz#d9de602370d91347cd9ddad1224d4fd701eb348b" + integrity sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g== dependencies: balanced-match "^1.0.0" concat-map "0.0.1" @@ -1265,15 +1265,15 @@ browserify-sign@^4.2.3: safe-buffer "^5.2.1" browserslist@^4.24.0, browserslist@^4.28.1: - version "4.28.1" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.28.1.tgz#7f534594628c53c63101079e27e40de490456a95" - integrity sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA== + version "4.28.2" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.28.2.tgz#f50b65362ef48974ca9f50b3680566d786b811d2" + integrity sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg== dependencies: - baseline-browser-mapping "^2.9.0" - caniuse-lite "^1.0.30001759" - electron-to-chromium "^1.5.263" - node-releases "^2.0.27" - update-browserslist-db "^1.2.0" + baseline-browser-mapping "^2.10.12" + caniuse-lite "^1.0.30001782" + electron-to-chromium "^1.5.328" + node-releases "^2.0.36" + update-browserslist-db "^1.2.3" bs-logger@^0.2.6: version "0.2.6" @@ -1307,7 +1307,7 @@ buffer@^6.0.3: base64-js "^1.3.1" ieee754 "^1.2.1" -call-bind-apply-helpers@^1.0.0, call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: +call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6" integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ== @@ -1316,13 +1316,13 @@ call-bind-apply-helpers@^1.0.0, call-bind-apply-helpers@^1.0.1, call-bind-apply- function-bind "^1.1.2" call-bind@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.8.tgz#0736a9660f537e3388826f440d5ec45f744eaa4c" - integrity sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww== + version "1.0.9" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.9.tgz#39a644700c80bc7d0ca9102fc6d1d43b2fd7eee7" + integrity sha512-a/hy+pNsFUTR+Iz8TCJvXudKVLAnz/DyeSUo10I5yvFDQJBFU2s9uqQpoSrJlroHUKoKqzg+epxyP9lqFdzfBQ== dependencies: - call-bind-apply-helpers "^1.0.0" - es-define-property "^1.0.0" - get-intrinsic "^1.2.4" + call-bind-apply-helpers "^1.0.2" + es-define-property "^1.0.1" + get-intrinsic "^1.3.0" set-function-length "^1.2.2" call-bound@^1.0.3, call-bound@^1.0.4: @@ -1348,10 +1348,10 @@ camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001759: - version "1.0.30001778" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001778.tgz#79a8a124e3473a20b70616497b987c30d06570a0" - integrity sha512-PN7uxFL+ExFJO61aVmP1aIEG4i9whQd4eoSCebav62UwDyp5OHh06zN4jqKSMePVgxHifCw1QJxdRkA1Pisekg== +caniuse-lite@^1.0.30001782: + version "1.0.30001787" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001787.tgz#fd25c5e42e2d35df5c75eddda00d15d9c0c68f81" + integrity sha512-mNcrMN9KeI68u7muanUpEejSLghOKlVhRqS/Za2IeyGllJ9I9otGpR9g3nsw7n4W378TE/LyIteA0+/FOZm4Kg== chalk@^4.0.0, chalk@^4.1.0: version "4.1.2" @@ -1641,10 +1641,10 @@ dunder-proto@^1.0.1: es-errors "^1.3.0" gopd "^1.2.0" -electron-to-chromium@^1.5.263: - version "1.5.313" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.313.tgz#193e9ae2c2ab6915acb41e833068381e4ef0b3e4" - integrity sha512-QBMrTWEf00GXZmJyx2lbYD45jpI3TUFnNIzJ5BBc8piGUDwMPa1GV6HJWTZVvY/eiN3fSopl7NRbgGp9sZ9LTA== +electron-to-chromium@^1.5.328: + version "1.5.335" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.335.tgz#0b957cea44ef86795c227c616d16b4803d119daa" + integrity sha512-q9n5T4BR4Xwa2cwbrwcsDJtHD/enpQ5S1xF1IAtdqf5AAgqDFmR/aakqH3ChFdqd/QXJhS3rnnXFtexU7rax6Q== elliptic@^6.5.3, elliptic@^6.6.1: version "6.6.1" @@ -1670,9 +1670,9 @@ emoji-regex@^8.0.0: integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== enhanced-resolve@^5.0.0, enhanced-resolve@^5.20.0: - version "5.20.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.20.0.tgz#323c2a70d2aa7fb4bdfd6d3c24dfc705c581295d" - integrity sha512-/ce7+jQ1PQ6rVXwe+jKEg5hW5ciicHwIQUagZkp6IufBoY3YDgdTTY1azVs0qoRgVmvsNB+rbjLJxDAeHHtwsQ== + version "5.20.1" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.20.1.tgz#eeeb3966bea62c348c40a0cc9e7912e2557d0be0" + integrity sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA== dependencies: graceful-fs "^4.2.4" tapable "^2.3.0" @@ -1973,14 +1973,14 @@ graceful-fs@^4.1.2, graceful-fs@^4.2.11, graceful-fs@^4.2.4, graceful-fs@^4.2.9: integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== graphql@^16.8.1: - version "16.13.1" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.13.1.tgz#38ae5c76fbc4a009e0004dca6c76c370a1da7b54" - integrity sha512-gGgrVCoDKlIZ8fIqXBBb0pPKqDgki0Z/FSKNiQzSGj2uEYHr1tq5wmBegGwJx6QB5S5cM0khSBpi/JFHMCvsmQ== + version "16.13.2" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.13.2.tgz#4d2b73df5796b201f1bc2765f5d7067f689cb55f" + integrity sha512-5bJ+nf/UCpAjHM8i06fl7eLyVC9iuNAjm9qzkiu2ZGhM0VscSvS6WDPfAwkdkBuoXGM9FJSbKl6wylMwP9Ktig== -handlebars@^4.7.8: - version "4.7.8" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9" - integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ== +handlebars@^4.7.9: + version "4.7.9" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.9.tgz#6f139082ab58dc4e5a0e51efe7db5ae890d56a0f" + integrity sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ== dependencies: minimist "^1.2.5" neo-async "^2.6.2" @@ -2897,10 +2897,10 @@ node-int64@^0.4.0: resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== -node-releases@^2.0.27: - version "2.0.36" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.36.tgz#99fd6552aaeda9e17c4713b57a63964a2e325e9d" - integrity sha512-TdC8FSgHz8Mwtw9g5L4gR/Sh9XhSP/0DEkQxfEFXOpiul5IiHgHan2VhYYb6agDSfp4KuvltmGApc8HMgUrIkA== +node-releases@^2.0.36: + version "2.0.37" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.37.tgz#9bd4f10b77ba39c2b9402d4e8399c482a797f671" + integrity sha512-1h5gKZCF+pO/o3Iqt5Jp7wc9rH3eJJ0+nh/CIoiRwjRxde/hAHyLPXYN4V3CqKAbiZPSeJFSWHmJsbkicta0Eg== normalize-path@^3.0.0: version "3.0.0" @@ -3035,9 +3035,9 @@ picocolors@^1.1.1: integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" - integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + version "2.3.2" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.2.tgz#5a942915e26b372dc0f0e6753149a16e6b1c5601" + integrity sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA== pirates@^4.0.4: version "4.0.7" @@ -3199,10 +3199,11 @@ resolve.exports@^2.0.0: integrity sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A== resolve@^1.20.0: - version "1.22.11" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.11.tgz#aad857ce1ffb8bfa9b0b1ac29f1156383f68c262" - integrity sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ== + version "1.22.12" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.12.tgz#f5b2a680897c69c238a13cd16b15671f8b73549f" + integrity sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA== dependencies: + es-errors "^1.3.0" is-core-module "^2.16.1" path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" @@ -3257,7 +3258,7 @@ semver@^6.3.0, semver@^6.3.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.3.4, semver@^7.5.3, semver@^7.5.4, semver@^7.7.3: +semver@^7.3.4, semver@^7.5.3, semver@^7.5.4, semver@^7.7.4: version "7.7.4" resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.4.tgz#28464e36060e991fa7a11d0279d2d3f3b57a7e8a" integrity sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA== @@ -3441,9 +3442,9 @@ symbol-tree@^3.2.4: integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== tapable@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.3.0.tgz#7e3ea6d5ca31ba8e078b560f0d83ce9a14aa8be6" - integrity sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg== + version "2.3.2" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.3.2.tgz#86755feabad08d82a26b891db044808c6ad00f15" + integrity sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA== terser-webpack-plugin@^5.3.17: version "5.4.0" @@ -3456,9 +3457,9 @@ terser-webpack-plugin@^5.3.17: terser "^5.31.1" terser@^5.31.1: - version "5.46.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.46.0.tgz#1b81e560d584bbdd74a8ede87b4d9477b0ff9695" - integrity sha512-jTwoImyr/QbOWFFso3YoU3ik0jBBDJ6JTOQiy/J2YxVJdZCc+5u7skhNwiOR3FQIygFqVUPHl7qbbxtjW2K3Qg== + version "5.46.1" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.46.1.tgz#40e4b1e35d5f13130f82793a8b3eeb7ec3a92eee" + integrity sha512-vzCjQO/rgUuK9sf8VJZvjqiqiHFaZLnOiimmUuOKODxWL8mm/xua7viT7aqX7dgPY60otQjUotzFMmCB4VdmqQ== dependencies: "@jridgewell/source-map" "^0.3.3" acorn "^8.15.0" @@ -3474,17 +3475,17 @@ test-exclude@^6.0.0: glob "^7.1.4" minimatch "^3.0.4" -tldts-core@^7.0.25: - version "7.0.25" - resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-7.0.25.tgz#eaee57facdfb5528383d961f5586d49784519de5" - integrity sha512-ZjCZK0rppSBu7rjHYDYsEaMOIbbT+nWF57hKkv4IUmZWBNrBWBOjIElc0mKRgLM8bm7x/BBlof6t2gi/Oq/Asw== +tldts-core@^7.0.28: + version "7.0.28" + resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-7.0.28.tgz#28c256edae2ed177b2a8338a51caf81d41580ecf" + integrity sha512-7W5Efjhsc3chVdFhqtaU0KtK32J37Zcr9RKtID54nG+tIpcY79CQK/veYPODxtD/LJ4Lue66jvrQzIX2Z2/pUQ== tldts@^7.0.5: - version "7.0.25" - resolved "https://registry.yarnpkg.com/tldts/-/tldts-7.0.25.tgz#e9034876e09b2ad92db547a9307ae6fa65400f8d" - integrity sha512-keinCnPbwXEUG3ilrWQZU+CqcTTzHq9m2HhoUP2l7Xmi8l1LuijAXLpAJ5zRW+ifKTNscs4NdCkfkDCBYm352w== + version "7.0.28" + resolved "https://registry.yarnpkg.com/tldts/-/tldts-7.0.28.tgz#5a5bb26ef3f70008d88c6e53ff58cd59ed8d4c68" + integrity sha512-+Zg3vWhRUv8B1maGSTFdev9mjoo8Etn2Ayfs4cnjlD3CsGkxXX4QyW3j2WJ0wdjYcYmy7Lx2RDsZMhgCWafKIw== dependencies: - tldts-core "^7.0.25" + tldts-core "^7.0.28" tmpl@1.0.5: version "1.0.5" @@ -3518,9 +3519,9 @@ tough-cookie@^4.1.2: url-parse "^1.5.3" tough-cookie@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-6.0.0.tgz#11e418b7864a2c0d874702bc8ce0f011261940e5" - integrity sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w== + version "6.0.1" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-6.0.1.tgz#a495f833836609ed983c19bc65639cfbceb54c76" + integrity sha512-LktZQb3IeoUWB9lqR5EWTHgW/VTITCXg4D21M+lvybRVdylLrRMnqaIONLVb5mav8vM19m44HIcGq4qASeu2Qw== dependencies: tldts "^7.0.5" @@ -3537,24 +3538,24 @@ tr46@~0.0.3: integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== ts-jest@^29.3.4: - version "29.4.6" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.4.6.tgz#51cb7c133f227396818b71297ad7409bb77106e9" - integrity sha512-fSpWtOO/1AjSNQguk43hb/JCo16oJDnMJf3CdEGNkqsEX3t0KX96xvyX1D7PfLCpVoKu4MfVrqUkFyblYoY4lA== + version "29.4.9" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.4.9.tgz#47dc33d0f5c36bddcedd16afefae285e0b049d2d" + integrity sha512-LTb9496gYPMCqjeDLdPrKuXtncudeV1yRZnF4Wo5l3SFi0RYEnYRNgMrFIdg+FHvfzjCyQk1cLncWVqiSX+EvQ== dependencies: bs-logger "^0.2.6" fast-json-stable-stringify "^2.1.0" - handlebars "^4.7.8" + handlebars "^4.7.9" json5 "^2.2.3" lodash.memoize "^4.1.2" make-error "^1.3.6" - semver "^7.7.3" + semver "^7.7.4" type-fest "^4.41.0" yargs-parser "^21.1.1" ts-loader@^9.5.1: - version "9.5.4" - resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-9.5.4.tgz#44b571165c10fb5a90744aa5b7e119233c4f4585" - integrity sha512-nCz0rEwunlTZiy6rXFByQU1kVVpCIgUpc/psFiKVrUwrizdnIbRFu8w7bxhUF0X613DYwT4XzrZHpVyMe758hQ== + version "9.5.7" + resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-9.5.7.tgz#582663e853646e18506cd5cc79feb354952731c0" + integrity sha512-/ZNrKgA3K3PtpMYOC71EeMWIloGw3IYEa5/t1cyz2r5/PyUwTXGzYJvcD3kfUvmhlfpz1rhV8B2O6IVTQ0avsg== dependencies: chalk "^4.1.0" enhanced-resolve "^5.0.0" @@ -3601,17 +3602,17 @@ undici-types@~5.26.4: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== -undici-types@~7.18.0: - version "7.18.2" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.18.2.tgz#29357a89e7b7ca4aef3bf0fd3fd0cd73884229e9" - integrity sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w== +undici-types@~7.19.0: + version "7.19.2" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.19.2.tgz#1b67fc26d0f157a0cba3a58a5b5c1e2276b8ba2a" + integrity sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg== universalify@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== -update-browserslist-db@^1.2.0: +update-browserslist-db@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz#64d76db58713136acbeb4c49114366cc6cc2e80d" integrity sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w== @@ -3679,9 +3680,9 @@ webpack-sources@^3.3.4: integrity sha512-7tP1PdV4vF+lYPnkMR0jMY5/la2ub5Fc/8VQrrU+lXkiM6C4TjVfGw7iKfyhnTQOsD+6Q/iKw0eFciziRgD58Q== webpack@^5.97.1: - version "5.105.4" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.105.4.tgz#1b77fcd55a985ac7ca9de80a746caffa38220169" - integrity sha512-jTywjboN9aHxFlToqb0K0Zs9SbBoW4zRUlGzI2tYNxVYcEi/IPpn+Xi4ye5jTLvX2YeLuic/IvxNot+Q1jMoOw== + version "5.106.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.106.1.tgz#0a3eeb43a50e4f67fbecd206e1e6fc2c89fc2b6f" + integrity sha512-EW8af29ak8Oaf4T8k8YsajjrDBDYgnKZ5er6ljWFJsXABfTNowQfvHLftwcepVgdz+IoLSdEAbBiM9DFXoll9w== dependencies: "@types/eslint-scope" "^3.7.7" "@types/estree" "^1.0.8" @@ -3794,9 +3795,9 @@ write-file-atomic@^4.0.2: signal-exit "^3.0.7" ws@^8.11.0: - version "8.19.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.19.0.tgz#ddc2bdfa5b9ad860204f5a72a4863a8895fd8c8b" - integrity sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg== + version "8.20.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.20.0.tgz#4cd9532358eba60bc863aad1623dfb045a4d4af8" + integrity sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA== xml-name-validator@^4.0.0: version "4.0.0"