@wix/auto_sdk_bookings_services 1.0.296 → 1.0.297

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.
@@ -1,4 +1,4 @@
1
- import { c_ as CreateServiceRequest$1, c$ as CreateServiceResponse$1, d3 as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, d8 as GetServiceRequest$1, d9 as GetServiceResponse$1, de as UpdateServiceRequest$1, df as UpdateServiceResponse$1, dg as BulkUpdateServicesRequest$1, e as BulkUpdateServicesResponse$1, di as BulkUpdateServicesByFilterRequest$1, h as BulkUpdateServicesByFilterResponse$1, dj as DeleteServiceRequest$1, dl as DeleteServiceResponse$1, dm as BulkDeleteServicesRequest$1, j as BulkDeleteServicesResponse$1, dn as BulkDeleteServicesByFilterRequest$1, l as BulkDeleteServicesByFilterResponse$1, dp as QueryServicesRequest$1, dv as QueryServicesResponse$1, dy as SearchServicesRequest$1, n as SearchServicesResponse$1, ec as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, ef as QueryBookingFormsRequest$1, q as QueryBookingFormsResponse$1, ej as CountServicesRequest$1, t as CountServicesResponse$1, ek as QueryLocationsRequest$1, v as QueryLocationsResponse$1, ep as QueryCategoriesRequest$1, x as QueryCategoriesResponse$1, et as SetServiceLocationsRequest$1, z as SetServiceLocationsResponse$1, ex as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, eA as DisablePricingPlansForServiceRequest$1, H as DisablePricingPlansForServiceResponse$1, eB as SetCustomSlugRequest$1, K as SetCustomSlugResponse$1, eC as ValidateSlugRequest$1, N as ValidateSlugResponse$1, eD as CloneServiceRequest$1, O as CloneServiceResponse$1, f2 as CreateAddOnGroupRequest$1, T as CreateAddOnGroupResponse$1, f3 as DeleteAddOnGroupRequest$1, f4 as DeleteAddOnGroupResponse$1, f5 as UpdateAddOnGroupRequest$1, _ as UpdateAddOnGroupResponse$1, f6 as ListAddOnGroupsByServiceIdRequest$1, a1 as ListAddOnGroupsByServiceIdResponse$1, fa as SetAddOnsForGroupRequest$1, a3 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-Bf4TC5aj.js';
1
+ import { c_ as CreateServiceRequest$1, c$ as CreateServiceResponse$1, d3 as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, d8 as GetServiceRequest$1, d9 as GetServiceResponse$1, de as UpdateServiceRequest$1, df as UpdateServiceResponse$1, dg as BulkUpdateServicesRequest$1, e as BulkUpdateServicesResponse$1, di as BulkUpdateServicesByFilterRequest$1, h as BulkUpdateServicesByFilterResponse$1, dj as DeleteServiceRequest$1, dl as DeleteServiceResponse$1, dm as BulkDeleteServicesRequest$1, j as BulkDeleteServicesResponse$1, dn as BulkDeleteServicesByFilterRequest$1, l as BulkDeleteServicesByFilterResponse$1, dp as QueryServicesRequest$1, dv as QueryServicesResponse$1, dy as SearchServicesRequest$1, n as SearchServicesResponse$1, ec as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, ef as QueryBookingFormsRequest$1, q as QueryBookingFormsResponse$1, ej as CountServicesRequest$1, t as CountServicesResponse$1, ek as QueryLocationsRequest$1, v as QueryLocationsResponse$1, ep as QueryCategoriesRequest$1, x as QueryCategoriesResponse$1, et as SetServiceLocationsRequest$1, z as SetServiceLocationsResponse$1, ex as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, eA as DisablePricingPlansForServiceRequest$1, H as DisablePricingPlansForServiceResponse$1, eB as SetCustomSlugRequest$1, K as SetCustomSlugResponse$1, eC as ValidateSlugRequest$1, N as ValidateSlugResponse$1, eD as CloneServiceRequest$1, O as CloneServiceResponse$1, f2 as CreateAddOnGroupRequest$1, T as CreateAddOnGroupResponse$1, f3 as DeleteAddOnGroupRequest$1, f4 as DeleteAddOnGroupResponse$1, f5 as UpdateAddOnGroupRequest$1, _ as UpdateAddOnGroupResponse$1, f6 as ListAddOnGroupsByServiceIdRequest$1, a1 as ListAddOnGroupsByServiceIdResponse$1, fa as SetAddOnsForGroupRequest$1, a3 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-BeKJHC9c.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /** The `service` object represents an offering that a business provides to its customers. */
@@ -1737,73 +1737,117 @@ interface ExtendedFields {
1737
1737
  namespaces?: Record<string, Record<string, any>>;
1738
1738
  }
1739
1739
  /**
1740
- * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
1741
- * The search engines use this information for ranking purposes, or to display snippets in the search results.
1742
- * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
1740
+ * The SEO data for a single page or dynamic item, in the shape stored today.
1741
+ *
1742
+ * FROZEN. Existing server code maps onto this message field by field, so its
1743
+ * field set must never change (see the file header). New writers use
1744
+ * `SeoSchemaV2`.
1745
+ *
1746
+ * These tags are rendered into the <head> of the HTML document and are not
1747
+ * visible on the page itself. They override every other source of tags
1748
+ * (site defaults, vertical presets, patterns) for this page.
1743
1749
  */
1744
1750
  interface SeoSchema {
1745
- /** SEO tag information. */
1751
+ /**
1752
+ * The tags rendered into <head>, in no particular order. Render order is
1753
+ * decided by the renderer, not by position in this list.
1754
+ *
1755
+ * No maxSize: this list is already populated by data written years ago, and
1756
+ * a bound added now could reject a page that is already stored.
1757
+ */
1746
1758
  tags?: Tag[];
1747
- /** SEO general settings. */
1759
+ /** Page-level SEO settings that are not themselves tags. */
1748
1760
  settings?: Settings;
1749
1761
  }
1762
+ /** A keyword term the user is targeting. */
1750
1763
  interface Keyword {
1751
- /** Keyword value. */
1764
+ /**
1765
+ * The term itself, e.g. "trail running shoes".
1766
+ *
1767
+ * No maxLength, for the same reason as the legacy tag fields: keywords are
1768
+ * already stored, and a bound added now could reject a record written
1769
+ * before the bound existed. The flynt `missing-string-validations` warning
1770
+ * on this field is accepted deliberately.
1771
+ */
1752
1772
  term?: string;
1753
- /** Whether the keyword is the main focus keyword. */
1773
+ /** Whether this is the page's primary focus keyword. At most one per page. */
1754
1774
  isMain?: boolean;
1755
1775
  /**
1756
- * The source that added the keyword terms to the SEO settings.
1776
+ * Which surface added the term, e.g. a panel or a suggestion flow. Used for
1777
+ * attribution in BI. Opaque to the renderer.
1757
1778
  * @maxLength 1000
1758
1779
  */
1759
1780
  origin?: string | null;
1760
1781
  }
1782
+ /**
1783
+ * One tag in the page's <head>.
1784
+ *
1785
+ * Not deprecated, and with no removal date, deliberately: stored data is
1786
+ * never migrated, so this shape stays valid input forever. `seo-renderer`
1787
+ * normalizes both shapes on READ.
1788
+ */
1761
1789
  interface Tag {
1762
1790
  /**
1763
- * SEO tag type.
1764
- *
1765
- *
1766
- * Supported values: `title`, `meta`, `script`, `link`.
1791
+ * Legacy. Was a free-form string: "title" | "meta" | "script" | "link".
1792
+ * The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes
1793
+ * the invalid combinations unrepresentable rather than merely discouraged.
1767
1794
  *
1768
- * Which of these an API actually accepts depends on where the tag is being set: this
1769
- * list is not a blanket guarantee across every API that reuses this message. Site SEO
1770
- * Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects
1771
- * `title`/`script`/`link` with a validation error even though they appear here —
1772
- * check the field description of the specific `tags`-typed field you're writing to
1773
- * for the types it actually supports and the error it returns.
1795
+ * Which of these an API actually accepts depends on where the tag is being
1796
+ * set: this list is not a blanket guarantee across every API that reuses
1797
+ * this message. Site SEO Tags in particular accepts only `meta` (see
1798
+ * `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation
1799
+ * error even though they appear here — check the field description of the
1800
+ * specific `tags`-typed field you are writing to.
1774
1801
  *
1775
1802
  * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
1776
- * `"application/ld+json"` carrying structured data) are supported only when
1777
- * `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`
1778
- * tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the
1779
- * write through the site's Advanced/Custom Tags list. To write structured data,
1780
- * omit `custom` (or set it to `false`).
1803
+ * "application/ld+json" carrying structured data) are supported only when
1804
+ * `custom` is unset or `false`. Setting `custom: true` on a `title` or
1805
+ * `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
1806
+ * `custom: true` routes the write through the site's Advanced/Custom Tags
1807
+ * list. To write structured data, omit `custom` (or set it to `false`).
1808
+ *
1809
+ * No length limit: this field holds data written years ago by writers we
1810
+ * are not migrating. A constraint here could reject a record that is
1811
+ * already stored, which is exactly the promise this design makes.
1781
1812
  */
1782
1813
  type?: string;
1783
1814
  /**
1784
- * A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value.
1785
- * For example: `{"name": "description", "content": "the description itself"}`.
1815
+ * Legacy. Was an untyped bag of HTML attributes.
1816
+ * Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.
1786
1817
  */
1787
1818
  props?: Record<string, any> | null;
1788
- /** SEO tag metadata. For example, `{"height": 300, "width": 240}`. */
1819
+ /**
1820
+ * Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2`
1821
+ * its contents are split by purpose: per-page structured-data state moves to
1822
+ * StructuredDataTag, authorship to `written_by`, and render-time preset
1823
+ * logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the
1824
+ * stored document entirely — it belongs to the preset definition, not to the
1825
+ * page. See the design log for the full key-by-key mapping.
1826
+ */
1789
1827
  meta?: Record<string, any> | null;
1790
- /** SEO tag inner content. For example, `<title> inner content </title>`. */
1828
+ /**
1829
+ * Legacy. Was the tag's inner content, doubling as the JSON-LD payload
1830
+ * for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and
1831
+ * `StructuredDataTag.json_ld`.
1832
+ * No length limit, for the same reason as `type` above.
1833
+ */
1791
1834
  children?: string;
1792
1835
  /**
1793
1836
  * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
1794
1837
  * i.e. an entry from the site's Advanced/Custom Tags list.
1795
1838
  *
1796
- * Setting this to `true` on a write restricts which `type` values are accepted
1797
- * — the same restriction the Advanced/Custom Tags UI enforces. `title` and
1798
- * `script` tags (including JSON-LD structured data) must be sent with `custom`
1799
- * omitted or `false`; sending them with `custom: true` is rejected with
1800
- * `TAG_TYPE_NOT_ALLOWED`.
1839
+ * Setting this to `true` on a write restricts which `type` values are
1840
+ * accepted — the same restriction the Advanced/Custom Tags UI enforces.
1841
+ * `title` and `script` tags (including JSON-LD structured data) must be sent
1842
+ * with `custom` omitted or `false`; sending them with `custom: true` is
1843
+ * rejected with `TAG_TYPE_NOT_ALLOWED`.
1801
1844
  *
1802
- * Note this is a separate restriction from Site SEO Tags' own type restriction on
1803
- * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
1804
- * for site-wide structured data) unconditionally. There is currently no way to set
1805
- * site-wide, every-page structured data through any of these APIs — write a per-page
1806
- * `script` tag through the Item SEO Tags API instead.
1845
+ * Note this is a separate restriction from Site SEO Tags' own type
1846
+ * restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
1847
+ * rejects `script` (e.g. for site-wide structured data) unconditionally.
1848
+ * There is currently no way to set site-wide, every-page structured data
1849
+ * through any of these APIs — write a per-page `script` tag through the Item
1850
+ * SEO Tags API instead.
1807
1851
  *
1808
1852
  * This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
1809
1853
  * (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
@@ -1816,22 +1860,39 @@ interface Tag {
1816
1860
  * or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the
1817
1861
  * response entirely — there, `false` means this API could not tell, not that no custom tag exists.
1818
1862
  * Pass `seoData` explicitly to resolve against a known set of tags.
1863
+ *
1864
+ * `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.
1819
1865
  */
1820
1866
  custom?: boolean;
1821
- /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */
1867
+ /**
1868
+ * Whether the tag is excluded from the rendered <head>.
1869
+ *
1870
+ * A disabled tag is still stored, so the user can re-enable it and so a
1871
+ * pattern-provided tag stays suppressed on this page. Default false.
1872
+ */
1822
1873
  disabled?: boolean;
1823
1874
  }
1875
+ /** Page-level SEO settings that are not tags. */
1824
1876
  interface Settings {
1825
1877
  /**
1826
- * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.
1827
- *
1878
+ * Whether to suppress the automatic redirect from this page's previous URL to
1879
+ * its current one after a slug change.
1828
1880
  *
1829
- * Default: `false` (automatical redirect is enabled).
1881
+ * Default false, meaning the redirect IS created. The field is named for the
1882
+ * exception rather than the rule, which reads backwards; kept as-is because
1883
+ * renaming a stored boolean is not worth the migration.
1830
1884
  */
1831
1885
  preventAutoRedirect?: boolean;
1832
1886
  /**
1833
- * User-selected keyword terms for a specific page.
1834
- * @maxSize 5
1887
+ * Keyword terms the user is targeting for this page. Used by the SEO
1888
+ * assistant and checklist; never rendered into <head>.
1889
+ *
1890
+ * 20 is a sanity bound, not the product limit. v1 declared 5 — the number
1891
+ * the panel happens to allow today — which is exactly the mistake we are
1892
+ * fixing for structured data. A product decision to allow 8 should not need
1893
+ * a proto release, so the panel owns that number and the proto only stops
1894
+ * something absurd.
1895
+ * @maxSize 20
1835
1896
  */
1836
1897
  keywords?: Keyword[];
1837
1898
  }