@wix/auto_sdk_online-programs_programs 1.0.27 → 1.0.29

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +2 -2
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/cjs/meta.d.ts +20 -7
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/cjs/{online-programs-v3-program-programs.universal-DHoODqUk.d.ts → online-programs-v3-program-programs.universal-CjQ3ZRd9.d.ts} +19 -6
  8. package/build/cjs/schemas.js +28 -28
  9. package/build/cjs/schemas.js.map +1 -1
  10. package/build/es/index.d.mts +2 -2
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/index.typings.d.mts +2 -2
  13. package/build/es/index.typings.mjs.map +1 -1
  14. package/build/es/meta.d.mts +20 -7
  15. package/build/es/meta.mjs.map +1 -1
  16. package/build/es/{online-programs-v3-program-programs.universal-DHoODqUk.d.mts → online-programs-v3-program-programs.universal-CjQ3ZRd9.d.mts} +19 -6
  17. package/build/es/schemas.mjs +28 -28
  18. package/build/es/schemas.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +2 -2
  20. package/build/internal/cjs/index.js.map +1 -1
  21. package/build/internal/cjs/index.typings.d.ts +2 -2
  22. package/build/internal/cjs/index.typings.js.map +1 -1
  23. package/build/internal/cjs/meta.d.ts +20 -7
  24. package/build/internal/cjs/meta.js.map +1 -1
  25. package/build/internal/cjs/{online-programs-v3-program-programs.universal-CauvIR3y.d.ts → online-programs-v3-program-programs.universal-Cf65Q7wu.d.ts} +19 -6
  26. package/build/internal/cjs/schemas.js +28 -28
  27. package/build/internal/cjs/schemas.js.map +1 -1
  28. package/build/internal/es/index.d.mts +2 -2
  29. package/build/internal/es/index.mjs.map +1 -1
  30. package/build/internal/es/index.typings.d.mts +2 -2
  31. package/build/internal/es/index.typings.mjs.map +1 -1
  32. package/build/internal/es/meta.d.mts +20 -7
  33. package/build/internal/es/meta.mjs.map +1 -1
  34. package/build/internal/es/{online-programs-v3-program-programs.universal-CauvIR3y.d.mts → online-programs-v3-program-programs.universal-Cf65Q7wu.d.mts} +19 -6
  35. package/build/internal/es/schemas.mjs +28 -28
  36. package/build/internal/es/schemas.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { ax as CreateProgramRequest$1, ay as CreateProgramResponse$1, aI as DuplicateProgramRequest$1, D as DuplicateProgramResponse$1, aJ as GetProgramRequest$1, aK as GetProgramResponse$1, aL as UpdateProgramRequest$1, aM as UpdateProgramResponse$1, aS as DeleteProgramRequest$1, aT as DeleteProgramResponse$1, aU as QueryProgramsRequest$1, a_ as QueryProgramsResponse$1, b1 as SearchProgramsRequest$1, S as SearchProgramsResponse$1, bF as PublishProgramRequest$1, c as PublishProgramResponse$1, bG as EndProgramRequest$1, E as EndProgramResponse$1, bH as ArchiveProgramRequest$1, A as ArchiveProgramResponse$1, bI as BulkUpdateProgramsRequest$1, e as BulkUpdateProgramsResponse$1, bK as CountProgramsRequest$1, f as CountProgramsResponse$1, bL as ListSampleProgramsRequest$1, L as ListSampleProgramsResponse$1 } from './online-programs-v3-program-programs.universal-DHoODqUk.mjs';
1
+ import { ax as CreateProgramRequest$1, ay as CreateProgramResponse$1, aI as DuplicateProgramRequest$1, D as DuplicateProgramResponse$1, aJ as GetProgramRequest$1, aK as GetProgramResponse$1, aL as UpdateProgramRequest$1, aM as UpdateProgramResponse$1, aS as DeleteProgramRequest$1, aT as DeleteProgramResponse$1, aU as QueryProgramsRequest$1, a_ as QueryProgramsResponse$1, b1 as SearchProgramsRequest$1, S as SearchProgramsResponse$1, bF as PublishProgramRequest$1, c as PublishProgramResponse$1, bG as EndProgramRequest$1, E as EndProgramResponse$1, bH as ArchiveProgramRequest$1, A as ArchiveProgramResponse$1, bI as BulkUpdateProgramsRequest$1, e as BulkUpdateProgramsResponse$1, bK as CountProgramsRequest$1, f as CountProgramsResponse$1, bL as ListSampleProgramsRequest$1, L as ListSampleProgramsResponse$1 } from './online-programs-v3-program-programs.universal-CjQ3ZRd9.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -298,6 +298,13 @@ interface Tag {
298
298
  * `title`/`script`/`link` with a validation error even though they appear here —
299
299
  * check the field description of the specific `tags`-typed field you're writing to
300
300
  * for the types it actually supports and the error it returns.
301
+ *
302
+ * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
303
+ * `"application/ld+json"` carrying structured data) are supported only when
304
+ * `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`
305
+ * tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the
306
+ * write through the site's Advanced/Custom Tags list. To write structured data,
307
+ * omit `custom` (or set it to `false`).
301
308
  */
302
309
  type?: string;
303
310
  /**
@@ -313,6 +320,12 @@ interface Tag {
313
320
  * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
314
321
  * i.e. an entry from the site's Advanced/Custom Tags list.
315
322
  *
323
+ * Setting this to `true` on a write restricts which `type` values are accepted
324
+ * — the same restriction the Advanced/Custom Tags UI enforces. `title` and
325
+ * `script` tags (including JSON-LD structured data) must be sent with `custom`
326
+ * omitted or `false`; sending them with `custom: true` is rejected with
327
+ * `TAG_TYPE_NOT_ALLOWED`.
328
+ *
316
329
  * Note this is a separate restriction from Site SEO Tags' own type restriction on
317
330
  * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
318
331
  * for site-wide structured data) unconditionally. There is currently no way to set
@@ -1909,7 +1922,10 @@ declare enum Namespace {
1909
1922
  CLUBS = "CLUBS",
1910
1923
  /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
1911
1924
  ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
1912
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
1925
+ /**
1926
+ * AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default.
1927
+ * Not the dev-center dev site (see Flag.DEV_CENTER_DEV_SITE_FLAG).
1928
+ */
1913
1929
  DEV_SITE = "DEV_SITE",
1914
1930
  /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
1915
1931
  LOGOS = "LOGOS",
@@ -2004,11 +2020,8 @@ declare enum Namespace {
2004
2020
  */
2005
2021
  ENTERPRISE_BRAND_KIT = "ENTERPRISE_BRAND_KIT",
2006
2022
  /**
2007
- * Development sites managed by dev-center's DevelopmentSitesManager (com.wixpress.devcenter.dsm) —
2008
- * real, fully premium Wix sites created from a template and lent to a developer to test their
2009
- * in-development app. Distinct from DEV_SITE (Wix Blocks app-backing sites keyed by app_def_id).
2010
- * Owner: ot-dev-center-platform.
2011
- * MetaSites with this namespace will *not* be shown in a user's site list by default.
2023
+ * Dev-center development sites (com.wixpress.devcenter.dsm).
2024
+ * DEPRECATED: replaced by Flag.DEV_CENTER_DEV_SITE_FLAG (a dev site is orthogonal to the namespace). Do not use for new sites.
2012
2025
  */
2013
2026
  DEV_CENTER_DEV_SITE = "DEV_CENTER_DEV_SITE"
2014
2027
  }