@wix/auto_sdk_table-reservations_experiences 1.0.63 → 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 +5 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +5 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +119 -56
- package/build/cjs/meta.js +5 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{table-reservations-v1-experience-experiences.universal-Big1r8in.d.ts → table-reservations-v1-experience-experiences.universal-BXUa1rsl.d.ts} +119 -56
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +5 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +119 -56
- package/build/es/meta.mjs +5 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{table-reservations-v1-experience-experiences.universal-Big1r8in.d.mts → table-reservations-v1-experience-experiences.universal-BXUa1rsl.d.mts} +119 -56
- 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 +119 -56
- package/build/internal/cjs/{table-reservations-v1-experience-experiences.universal-bYDsNCr_.d.ts → table-reservations-v1-experience-experiences.universal-CwM4WPM2.d.ts} +119 -56
- 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 +119 -56
- package/build/internal/es/{table-reservations-v1-experience-experiences.universal-bYDsNCr_.d.mts → table-reservations-v1-experience-experiences.universal-CwM4WPM2.d.mts} +119 -56
- 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. */
|
|
@@ -1080,6 +1080,8 @@ interface TextStyle {
|
|
|
1080
1080
|
textAlignment?: TextAlignmentWithLiterals;
|
|
1081
1081
|
/** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */
|
|
1082
1082
|
lineHeight?: string | null;
|
|
1083
|
+
/** Font size of an empty block: it sizes the empty line, its list marker and the text typed into it. Ignored on a block with text, which is sized by its text's `FONT_SIZE` decorations. */
|
|
1084
|
+
fontSize?: FontSizeData;
|
|
1083
1085
|
}
|
|
1084
1086
|
declare enum TextAlignment {
|
|
1085
1087
|
/** browser default, eqivalent to `initial` */
|
|
@@ -1095,6 +1097,18 @@ declare enum TextAlignment {
|
|
|
1095
1097
|
}
|
|
1096
1098
|
/** @enumType */
|
|
1097
1099
|
type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
|
|
1100
|
+
interface FontSizeData {
|
|
1101
|
+
/** The units used for the font size. */
|
|
1102
|
+
unit?: FontTypeWithLiterals;
|
|
1103
|
+
/** Font size value. */
|
|
1104
|
+
value?: number | null;
|
|
1105
|
+
}
|
|
1106
|
+
declare enum FontType {
|
|
1107
|
+
PX = "PX",
|
|
1108
|
+
EM = "EM"
|
|
1109
|
+
}
|
|
1110
|
+
/** @enumType */
|
|
1111
|
+
type FontTypeWithLiterals = FontType | 'PX' | 'EM';
|
|
1098
1112
|
interface DividerData {
|
|
1099
1113
|
/** Styling for the divider's container. */
|
|
1100
1114
|
containerData?: PluginContainerData;
|
|
@@ -1959,18 +1973,6 @@ interface MentionData {
|
|
|
1959
1973
|
/** The kind of entity the mention refers to. Any value is accepted, and it's usually used to mark a mention as a group mention (for example, `group`). When empty, the mention refers to a member. */
|
|
1960
1974
|
type?: string | null;
|
|
1961
1975
|
}
|
|
1962
|
-
interface FontSizeData {
|
|
1963
|
-
/** The units used for the font size. */
|
|
1964
|
-
unit?: FontTypeWithLiterals;
|
|
1965
|
-
/** Font size value. */
|
|
1966
|
-
value?: number | null;
|
|
1967
|
-
}
|
|
1968
|
-
declare enum FontType {
|
|
1969
|
-
PX = "PX",
|
|
1970
|
-
EM = "EM"
|
|
1971
|
-
}
|
|
1972
|
-
/** @enumType */
|
|
1973
|
-
type FontTypeWithLiterals = FontType | 'PX' | 'EM';
|
|
1974
1976
|
interface SpoilerData {
|
|
1975
1977
|
/** Spoiler ID. */
|
|
1976
1978
|
id?: string | null;
|
|
@@ -3371,73 +3373,117 @@ interface SeoSettings {
|
|
|
3371
3373
|
seoSchema?: SeoSchema;
|
|
3372
3374
|
}
|
|
3373
3375
|
/**
|
|
3374
|
-
* The SEO
|
|
3375
|
-
*
|
|
3376
|
-
*
|
|
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.
|
|
3377
3385
|
*/
|
|
3378
3386
|
interface SeoSchema {
|
|
3379
|
-
/**
|
|
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
|
+
*/
|
|
3380
3394
|
tags?: Tag[];
|
|
3381
|
-
/** SEO
|
|
3395
|
+
/** Page-level SEO settings that are not themselves tags. */
|
|
3382
3396
|
settings?: Settings;
|
|
3383
3397
|
}
|
|
3398
|
+
/** A keyword term the user is targeting. */
|
|
3384
3399
|
interface Keyword {
|
|
3385
|
-
/**
|
|
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
|
+
*/
|
|
3386
3408
|
term?: string;
|
|
3387
|
-
/** Whether
|
|
3409
|
+
/** Whether this is the page's primary focus keyword. At most one per page. */
|
|
3388
3410
|
isMain?: boolean;
|
|
3389
3411
|
/**
|
|
3390
|
-
*
|
|
3412
|
+
* Which surface added the term, e.g. a panel or a suggestion flow. Used for
|
|
3413
|
+
* attribution in BI. Opaque to the renderer.
|
|
3391
3414
|
* @maxLength 1000
|
|
3392
3415
|
*/
|
|
3393
3416
|
origin?: string | null;
|
|
3394
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
|
+
*/
|
|
3395
3425
|
interface Tag {
|
|
3396
3426
|
/**
|
|
3397
|
-
*
|
|
3398
|
-
*
|
|
3399
|
-
*
|
|
3400
|
-
* 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.
|
|
3401
3430
|
*
|
|
3402
|
-
* Which of these an API actually accepts depends on where the tag is being
|
|
3403
|
-
* list is not a blanket guarantee across every API that reuses
|
|
3404
|
-
* Tags in particular accepts only `meta` (see
|
|
3405
|
-
* `title`/`script`/`link` with a validation
|
|
3406
|
-
*
|
|
3407
|
-
*
|
|
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.
|
|
3408
3437
|
*
|
|
3409
3438
|
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
|
|
3410
|
-
*
|
|
3411
|
-
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
3412
|
-
* tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
3413
|
-
* write through the site's Advanced/Custom Tags
|
|
3414
|
-
* 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.
|
|
3415
3448
|
*/
|
|
3416
3449
|
type?: string;
|
|
3417
3450
|
/**
|
|
3418
|
-
*
|
|
3419
|
-
*
|
|
3451
|
+
* Legacy. Was an untyped bag of HTML attributes.
|
|
3452
|
+
* Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.
|
|
3420
3453
|
*/
|
|
3421
3454
|
props?: Record<string, any> | null;
|
|
3422
|
-
/**
|
|
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
|
+
*/
|
|
3423
3463
|
meta?: Record<string, any> | null;
|
|
3424
|
-
/**
|
|
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
|
+
*/
|
|
3425
3470
|
children?: string;
|
|
3426
3471
|
/**
|
|
3427
3472
|
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
3428
3473
|
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
3429
3474
|
*
|
|
3430
|
-
* Setting this to `true` on a write restricts which `type` values are
|
|
3431
|
-
* — the same restriction the Advanced/Custom Tags UI enforces.
|
|
3432
|
-
* `script` tags (including JSON-LD structured data) must be sent
|
|
3433
|
-
* omitted or `false`; sending them with `custom: true` is
|
|
3434
|
-
* `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`.
|
|
3435
3480
|
*
|
|
3436
|
-
* Note this is a separate restriction from Site SEO Tags' own type
|
|
3437
|
-
* `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
3438
|
-
* for site-wide structured data) unconditionally.
|
|
3439
|
-
* site-wide, every-page structured data
|
|
3440
|
-
* `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.
|
|
3441
3487
|
*
|
|
3442
3488
|
* This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
|
|
3443
3489
|
* (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
|
|
@@ -3450,22 +3496,39 @@ interface Tag {
|
|
|
3450
3496
|
* or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the
|
|
3451
3497
|
* response entirely — there, `false` means this API could not tell, not that no custom tag exists.
|
|
3452
3498
|
* Pass `seoData` explicitly to resolve against a known set of tags.
|
|
3499
|
+
*
|
|
3500
|
+
* `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.
|
|
3453
3501
|
*/
|
|
3454
3502
|
custom?: boolean;
|
|
3455
|
-
/**
|
|
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
|
+
*/
|
|
3456
3509
|
disabled?: boolean;
|
|
3457
3510
|
}
|
|
3511
|
+
/** Page-level SEO settings that are not tags. */
|
|
3458
3512
|
interface Settings {
|
|
3459
3513
|
/**
|
|
3460
|
-
* Whether the
|
|
3514
|
+
* Whether to suppress the automatic redirect from this page's previous URL to
|
|
3515
|
+
* its current one after a slug change.
|
|
3461
3516
|
*
|
|
3462
|
-
*
|
|
3463
|
-
*
|
|
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.
|
|
3464
3520
|
*/
|
|
3465
3521
|
preventAutoRedirect?: boolean;
|
|
3466
3522
|
/**
|
|
3467
|
-
*
|
|
3468
|
-
*
|
|
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
|
|
3469
3532
|
*/
|
|
3470
3533
|
keywords?: Keyword[];
|
|
3471
3534
|
}
|
package/build/es/meta.mjs
CHANGED
|
@@ -2374,6 +2374,11 @@ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
|
|
|
2374
2374
|
TextAlignment2["JUSTIFY"] = "JUSTIFY";
|
|
2375
2375
|
return TextAlignment2;
|
|
2376
2376
|
})(TextAlignment || {});
|
|
2377
|
+
var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
2378
|
+
FontType2["PX"] = "PX";
|
|
2379
|
+
FontType2["EM"] = "EM";
|
|
2380
|
+
return FontType2;
|
|
2381
|
+
})(FontType || {});
|
|
2377
2382
|
var LineCap = /* @__PURE__ */ ((LineCap2) => {
|
|
2378
2383
|
LineCap2["SQUARE"] = "SQUARE";
|
|
2379
2384
|
LineCap2["ROUND"] = "ROUND";
|
|
@@ -2511,11 +2516,6 @@ var ColorDataBackgroundType = /* @__PURE__ */ ((ColorDataBackgroundType2) => {
|
|
|
2511
2516
|
ColorDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
2512
2517
|
return ColorDataBackgroundType2;
|
|
2513
2518
|
})(ColorDataBackgroundType || {});
|
|
2514
|
-
var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
2515
|
-
FontType2["PX"] = "PX";
|
|
2516
|
-
FontType2["EM"] = "EM";
|
|
2517
|
-
return FontType2;
|
|
2518
|
-
})(FontType || {});
|
|
2519
2519
|
var Variant = /* @__PURE__ */ ((Variant2) => {
|
|
2520
2520
|
Variant2["UNDERLINE"] = "UNDERLINE";
|
|
2521
2521
|
Variant2["BOX"] = "BOX";
|