@wix/auto_sdk_table-reservations_experiences 1.0.64 → 1.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +105 -44
- package/build/cjs/meta.js.map +1 -1
- package/build/{internal/cjs/table-reservations-v1-experience-experiences.universal-DQvH6wQY.d.ts → cjs/table-reservations-v1-experience-experiences.universal-BXUa1rsl.d.ts} +105 -120
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +105 -44
- package/build/es/meta.mjs.map +1 -1
- package/build/{internal/es/table-reservations-v1-experience-experiences.universal-DQvH6wQY.d.mts → es/table-reservations-v1-experience-experiences.universal-BXUa1rsl.d.mts} +105 -120
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +105 -44
- package/build/{cjs/table-reservations-v1-experience-experiences.universal-ab1StGpD.d.ts → internal/cjs/table-reservations-v1-experience-experiences.universal-CwM4WPM2.d.ts} +181 -44
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +105 -44
- package/build/{es/table-reservations-v1-experience-experiences.universal-ab1StGpD.d.mts → internal/es/table-reservations-v1-experience-experiences.universal-CwM4WPM2.d.mts} +181 -44
- package/package.json +4 -4
package/build/es/meta.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dJ as CreateExperienceRequest$1, dK as CreateExperienceResponse$1, dL as GetExperienceRequest$1, dM as GetExperienceResponse$1, dN as GetExperienceBySlugRequest$1, G as GetExperienceBySlugResponse$1, dO as UpdateExperienceRequest$1, dP as UpdateExperienceResponse$1, dQ as QueryExperiencesRequest$1, dV as QueryExperiencesResponse$1, dY as SearchExperiencesRequest$1, S as SearchExperiencesResponse$1, ex as BulkUpdateExperiencesRequest$1, c as BulkUpdateExperiencesResponse$1, eC as BulkUpdateExperienceTagsRequest$1, f as BulkUpdateExperienceTagsResponse$1, eE as BulkUpdateExperienceTagsByFilterRequest$1, i as BulkUpdateExperienceTagsByFilterResponse$1, eF as BulkArchiveExperiencesRequest$1, k as BulkArchiveExperiencesResponse$1, eH as BulkUnarchiveExperiencesRequest$1, l as BulkUnarchiveExperiencesResponse$1 } from './table-reservations-v1-experience-experiences.universal-
|
|
1
|
+
import { dJ as CreateExperienceRequest$1, dK as CreateExperienceResponse$1, dL as GetExperienceRequest$1, dM as GetExperienceResponse$1, dN as GetExperienceBySlugRequest$1, G as GetExperienceBySlugResponse$1, dO as UpdateExperienceRequest$1, dP as UpdateExperienceResponse$1, dQ as QueryExperiencesRequest$1, dV as QueryExperiencesResponse$1, dY as SearchExperiencesRequest$1, S as SearchExperiencesResponse$1, ex as BulkUpdateExperiencesRequest$1, c as BulkUpdateExperiencesResponse$1, eC as BulkUpdateExperienceTagsRequest$1, f as BulkUpdateExperienceTagsResponse$1, eE as BulkUpdateExperienceTagsByFilterRequest$1, i as BulkUpdateExperienceTagsByFilterResponse$1, eF as BulkArchiveExperiencesRequest$1, k as BulkArchiveExperiencesResponse$1, eH as BulkUnarchiveExperiencesRequest$1, l as BulkUnarchiveExperiencesResponse$1 } from './table-reservations-v1-experience-experiences.universal-BXUa1rsl.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** Experience. */
|
|
@@ -3373,73 +3373,117 @@ interface SeoSettings {
|
|
|
3373
3373
|
seoSchema?: SeoSchema;
|
|
3374
3374
|
}
|
|
3375
3375
|
/**
|
|
3376
|
-
* The SEO
|
|
3377
|
-
*
|
|
3378
|
-
*
|
|
3376
|
+
* The SEO data for a single page or dynamic item, in the shape stored today.
|
|
3377
|
+
*
|
|
3378
|
+
* FROZEN. Existing server code maps onto this message field by field, so its
|
|
3379
|
+
* field set must never change (see the file header). New writers use
|
|
3380
|
+
* `SeoSchemaV2`.
|
|
3381
|
+
*
|
|
3382
|
+
* These tags are rendered into the <head> of the HTML document and are not
|
|
3383
|
+
* visible on the page itself. They override every other source of tags
|
|
3384
|
+
* (site defaults, vertical presets, patterns) for this page.
|
|
3379
3385
|
*/
|
|
3380
3386
|
interface SeoSchema {
|
|
3381
|
-
/**
|
|
3387
|
+
/**
|
|
3388
|
+
* The tags rendered into <head>, in no particular order. Render order is
|
|
3389
|
+
* decided by the renderer, not by position in this list.
|
|
3390
|
+
*
|
|
3391
|
+
* No maxSize: this list is already populated by data written years ago, and
|
|
3392
|
+
* a bound added now could reject a page that is already stored.
|
|
3393
|
+
*/
|
|
3382
3394
|
tags?: Tag[];
|
|
3383
|
-
/** SEO
|
|
3395
|
+
/** Page-level SEO settings that are not themselves tags. */
|
|
3384
3396
|
settings?: Settings;
|
|
3385
3397
|
}
|
|
3398
|
+
/** A keyword term the user is targeting. */
|
|
3386
3399
|
interface Keyword {
|
|
3387
|
-
/**
|
|
3400
|
+
/**
|
|
3401
|
+
* The term itself, e.g. "trail running shoes".
|
|
3402
|
+
*
|
|
3403
|
+
* No maxLength, for the same reason as the legacy tag fields: keywords are
|
|
3404
|
+
* already stored, and a bound added now could reject a record written
|
|
3405
|
+
* before the bound existed. The flynt `missing-string-validations` warning
|
|
3406
|
+
* on this field is accepted deliberately.
|
|
3407
|
+
*/
|
|
3388
3408
|
term?: string;
|
|
3389
|
-
/** Whether
|
|
3409
|
+
/** Whether this is the page's primary focus keyword. At most one per page. */
|
|
3390
3410
|
isMain?: boolean;
|
|
3391
3411
|
/**
|
|
3392
|
-
*
|
|
3412
|
+
* Which surface added the term, e.g. a panel or a suggestion flow. Used for
|
|
3413
|
+
* attribution in BI. Opaque to the renderer.
|
|
3393
3414
|
* @maxLength 1000
|
|
3394
3415
|
*/
|
|
3395
3416
|
origin?: string | null;
|
|
3396
3417
|
}
|
|
3418
|
+
/**
|
|
3419
|
+
* One tag in the page's <head>.
|
|
3420
|
+
*
|
|
3421
|
+
* Not deprecated, and with no removal date, deliberately: stored data is
|
|
3422
|
+
* never migrated, so this shape stays valid input forever. `seo-renderer`
|
|
3423
|
+
* normalizes both shapes on READ.
|
|
3424
|
+
*/
|
|
3397
3425
|
interface Tag {
|
|
3398
3426
|
/**
|
|
3399
|
-
*
|
|
3400
|
-
*
|
|
3401
|
-
*
|
|
3402
|
-
* Supported values: `title`, `meta`, `script`, `link`.
|
|
3427
|
+
* Legacy. Was a free-form string: "title" | "meta" | "script" | "link".
|
|
3428
|
+
* The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes
|
|
3429
|
+
* the invalid combinations unrepresentable rather than merely discouraged.
|
|
3403
3430
|
*
|
|
3404
|
-
* Which of these an API actually accepts depends on where the tag is being
|
|
3405
|
-
* list is not a blanket guarantee across every API that reuses
|
|
3406
|
-
* Tags in particular accepts only `meta` (see
|
|
3407
|
-
* `title`/`script`/`link` with a validation
|
|
3408
|
-
*
|
|
3409
|
-
*
|
|
3431
|
+
* Which of these an API actually accepts depends on where the tag is being
|
|
3432
|
+
* set: this list is not a blanket guarantee across every API that reuses
|
|
3433
|
+
* this message. Site SEO Tags in particular accepts only `meta` (see
|
|
3434
|
+
* `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation
|
|
3435
|
+
* error even though they appear here — check the field description of the
|
|
3436
|
+
* specific `tags`-typed field you are writing to.
|
|
3410
3437
|
*
|
|
3411
3438
|
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
|
|
3412
|
-
*
|
|
3413
|
-
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
3414
|
-
* tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
3415
|
-
* write through the site's Advanced/Custom Tags
|
|
3416
|
-
* omit `custom` (or set it to `false`).
|
|
3439
|
+
* "application/ld+json" carrying structured data) are supported only when
|
|
3440
|
+
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
3441
|
+
* `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
3442
|
+
* `custom: true` routes the write through the site's Advanced/Custom Tags
|
|
3443
|
+
* list. To write structured data, omit `custom` (or set it to `false`).
|
|
3444
|
+
*
|
|
3445
|
+
* No length limit: this field holds data written years ago by writers we
|
|
3446
|
+
* are not migrating. A constraint here could reject a record that is
|
|
3447
|
+
* already stored, which is exactly the promise this design makes.
|
|
3417
3448
|
*/
|
|
3418
3449
|
type?: string;
|
|
3419
3450
|
/**
|
|
3420
|
-
*
|
|
3421
|
-
*
|
|
3451
|
+
* Legacy. Was an untyped bag of HTML attributes.
|
|
3452
|
+
* Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.
|
|
3422
3453
|
*/
|
|
3423
3454
|
props?: Record<string, any> | null;
|
|
3424
|
-
/**
|
|
3455
|
+
/**
|
|
3456
|
+
* Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2`
|
|
3457
|
+
* its contents are split by purpose: per-page structured-data state moves to
|
|
3458
|
+
* StructuredDataTag, authorship to `written_by`, and render-time preset
|
|
3459
|
+
* logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the
|
|
3460
|
+
* stored document entirely — it belongs to the preset definition, not to the
|
|
3461
|
+
* page. See the design log for the full key-by-key mapping.
|
|
3462
|
+
*/
|
|
3425
3463
|
meta?: Record<string, any> | null;
|
|
3426
|
-
/**
|
|
3464
|
+
/**
|
|
3465
|
+
* Legacy. Was the tag's inner content, doubling as the JSON-LD payload
|
|
3466
|
+
* for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and
|
|
3467
|
+
* `StructuredDataTag.json_ld`.
|
|
3468
|
+
* No length limit, for the same reason as `type` above.
|
|
3469
|
+
*/
|
|
3427
3470
|
children?: string;
|
|
3428
3471
|
/**
|
|
3429
3472
|
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
3430
3473
|
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
3431
3474
|
*
|
|
3432
|
-
* Setting this to `true` on a write restricts which `type` values are
|
|
3433
|
-
* — the same restriction the Advanced/Custom Tags UI enforces.
|
|
3434
|
-
* `script` tags (including JSON-LD structured data) must be sent
|
|
3435
|
-
* omitted or `false`; sending them with `custom: true` is
|
|
3436
|
-
* `TAG_TYPE_NOT_ALLOWED`.
|
|
3475
|
+
* Setting this to `true` on a write restricts which `type` values are
|
|
3476
|
+
* accepted — the same restriction the Advanced/Custom Tags UI enforces.
|
|
3477
|
+
* `title` and `script` tags (including JSON-LD structured data) must be sent
|
|
3478
|
+
* with `custom` omitted or `false`; sending them with `custom: true` is
|
|
3479
|
+
* rejected with `TAG_TYPE_NOT_ALLOWED`.
|
|
3437
3480
|
*
|
|
3438
|
-
* Note this is a separate restriction from Site SEO Tags' own type
|
|
3439
|
-
* `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
3440
|
-
* for site-wide structured data) unconditionally.
|
|
3441
|
-
* site-wide, every-page structured data
|
|
3442
|
-
* `script` tag through the Item
|
|
3481
|
+
* Note this is a separate restriction from Site SEO Tags' own type
|
|
3482
|
+
* restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
3483
|
+
* rejects `script` (e.g. for site-wide structured data) unconditionally.
|
|
3484
|
+
* There is currently no way to set site-wide, every-page structured data
|
|
3485
|
+
* through any of these APIs — write a per-page `script` tag through the Item
|
|
3486
|
+
* SEO Tags API instead.
|
|
3443
3487
|
*
|
|
3444
3488
|
* This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
|
|
3445
3489
|
* (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
|
|
@@ -3452,22 +3496,39 @@ interface Tag {
|
|
|
3452
3496
|
* or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the
|
|
3453
3497
|
* response entirely — there, `false` means this API could not tell, not that no custom tag exists.
|
|
3454
3498
|
* Pass `seoData` explicitly to resolve against a known set of tags.
|
|
3499
|
+
*
|
|
3500
|
+
* `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.
|
|
3455
3501
|
*/
|
|
3456
3502
|
custom?: boolean;
|
|
3457
|
-
/**
|
|
3503
|
+
/**
|
|
3504
|
+
* Whether the tag is excluded from the rendered <head>.
|
|
3505
|
+
*
|
|
3506
|
+
* A disabled tag is still stored, so the user can re-enable it and so a
|
|
3507
|
+
* pattern-provided tag stays suppressed on this page. Default false.
|
|
3508
|
+
*/
|
|
3458
3509
|
disabled?: boolean;
|
|
3459
3510
|
}
|
|
3511
|
+
/** Page-level SEO settings that are not tags. */
|
|
3460
3512
|
interface Settings {
|
|
3461
3513
|
/**
|
|
3462
|
-
* Whether the
|
|
3514
|
+
* Whether to suppress the automatic redirect from this page's previous URL to
|
|
3515
|
+
* its current one after a slug change.
|
|
3463
3516
|
*
|
|
3464
|
-
*
|
|
3465
|
-
*
|
|
3517
|
+
* Default false, meaning the redirect IS created. The field is named for the
|
|
3518
|
+
* exception rather than the rule, which reads backwards; kept as-is because
|
|
3519
|
+
* renaming a stored boolean is not worth the migration.
|
|
3466
3520
|
*/
|
|
3467
3521
|
preventAutoRedirect?: boolean;
|
|
3468
3522
|
/**
|
|
3469
|
-
*
|
|
3470
|
-
*
|
|
3523
|
+
* Keyword terms the user is targeting for this page. Used by the SEO
|
|
3524
|
+
* assistant and checklist; never rendered into <head>.
|
|
3525
|
+
*
|
|
3526
|
+
* 20 is a sanity bound, not the product limit. v1 declared 5 — the number
|
|
3527
|
+
* the panel happens to allow today — which is exactly the mistake we are
|
|
3528
|
+
* fixing for structured data. A product decision to allow 8 should not need
|
|
3529
|
+
* a proto release, so the panel owns that number and the proto only stops
|
|
3530
|
+
* something absurd.
|
|
3531
|
+
* @maxSize 20
|
|
3471
3532
|
*/
|
|
3472
3533
|
keywords?: Keyword[];
|
|
3473
3534
|
}
|