@wix/auto_sdk_events_forms 1.0.109 → 1.0.111

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 (43) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js +5 -2
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +26 -4
  5. package/build/cjs/index.typings.js +5 -2
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +15 -2
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/cjs/schemas.js +787 -787
  10. package/build/cjs/schemas.js.map +1 -1
  11. package/build/es/index.d.mts +2 -2
  12. package/build/es/index.mjs +5 -2
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +26 -4
  15. package/build/es/index.typings.mjs +5 -2
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +15 -2
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/es/schemas.mjs +787 -787
  20. package/build/es/schemas.mjs.map +1 -1
  21. package/build/internal/cjs/index.d.ts +2 -2
  22. package/build/internal/cjs/index.typings.d.ts +26 -4
  23. package/build/internal/cjs/meta.d.ts +15 -2
  24. package/build/internal/es/index.d.mts +2 -2
  25. package/build/internal/es/index.typings.d.mts +26 -4
  26. package/build/internal/es/meta.d.mts +15 -2
  27. package/package.json +2 -2
  28. package/build/internal/cjs/index.js +0 -1954
  29. package/build/internal/cjs/index.js.map +0 -1
  30. package/build/internal/cjs/index.typings.js +0 -1676
  31. package/build/internal/cjs/index.typings.js.map +0 -1
  32. package/build/internal/cjs/meta.js +0 -1584
  33. package/build/internal/cjs/meta.js.map +0 -1
  34. package/build/internal/cjs/schemas.js +0 -1452
  35. package/build/internal/cjs/schemas.js.map +0 -1
  36. package/build/internal/es/index.mjs +0 -1842
  37. package/build/internal/es/index.mjs.map +0 -1
  38. package/build/internal/es/index.typings.mjs +0 -1565
  39. package/build/internal/es/index.typings.mjs.map +0 -1
  40. package/build/internal/es/meta.mjs +0 -1470
  41. package/build/internal/es/meta.mjs.map +0 -1
  42. package/build/internal/es/schemas.mjs +0 -1402
  43. package/build/internal/es/schemas.mjs.map +0 -1
@@ -531,7 +531,7 @@ interface UpdateControlRequest extends UpdateControlRequestControlOneOf {
531
531
  */
532
532
  eventId: string;
533
533
  /** Unique input control ID. */
534
- _id?: string;
534
+ id: string;
535
535
  /** Index used to sort input controls in ascending order. */
536
536
  orderIndex?: number;
537
537
  }
@@ -595,7 +595,7 @@ interface DeleteControlRequest {
595
595
  * Unique input control ID.
596
596
  * @maxLength 100
597
597
  */
598
- _id?: string;
598
+ id: string;
599
599
  }
600
600
  interface DeleteControlResponse {
601
601
  /** Modified event form */
@@ -1435,6 +1435,13 @@ interface Tag {
1435
1435
  * `title`/`script`/`link` with a validation error even though they appear here —
1436
1436
  * check the field description of the specific `tags`-typed field you're writing to
1437
1437
  * for the types it actually supports and the error it returns.
1438
+ *
1439
+ * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
1440
+ * `"application/ld+json"` carrying structured data) are supported only when
1441
+ * `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`
1442
+ * tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the
1443
+ * write through the site's Advanced/Custom Tags list. To write structured data,
1444
+ * omit `custom` (or set it to `false`).
1438
1445
  */
1439
1446
  type?: string;
1440
1447
  /**
@@ -1450,6 +1457,12 @@ interface Tag {
1450
1457
  * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
1451
1458
  * i.e. an entry from the site's Advanced/Custom Tags list.
1452
1459
  *
1460
+ * Setting this to `true` on a write restricts which `type` values are accepted
1461
+ * — the same restriction the Advanced/Custom Tags UI enforces. `title` and
1462
+ * `script` tags (including JSON-LD structured data) must be sent with `custom`
1463
+ * omitted or `false`; sending them with `custom: true` is rejected with
1464
+ * `TAG_TYPE_NOT_ALLOWED`.
1465
+ *
1453
1466
  * Note this is a separate restriction from Site SEO Tags' own type restriction on
1454
1467
  * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
1455
1468
  * for site-wide structured data) unconditionally. There is currently no way to set