@wix/auto_sdk_events_forms 1.0.125 → 1.0.127
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.js.map +1 -1
- package/build/cjs/index.typings.d.ts +119 -44
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +119 -44
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +119 -44
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +119 -44
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +106 -50
- package/build/internal/cjs/meta.d.ts +106 -50
- package/build/internal/es/index.typings.d.mts +106 -50
- package/build/internal/es/meta.d.mts +106 -50
- package/package.json +4 -4
|
@@ -1288,7 +1288,6 @@ interface TicketingConfig {
|
|
|
1288
1288
|
/**
|
|
1289
1289
|
* Additional fees charged per order, in display order. Updating with this field in the
|
|
1290
1290
|
* field mask replaces the whole list; an empty list clears it.
|
|
1291
|
-
* @internal
|
|
1292
1291
|
* @maxSize 3
|
|
1293
1292
|
*/
|
|
1294
1293
|
additionalFees?: AdditionalFeeConfig[];
|
|
@@ -1359,20 +1358,16 @@ type CheckoutTypeWithLiterals = CheckoutType | 'EVENTS_APP' | 'ECOMM_PLATFORM';
|
|
|
1359
1358
|
interface AdditionalFeeConfig {
|
|
1360
1359
|
/**
|
|
1361
1360
|
* Fee name shown to buyers. Unique per event (case-insensitive).
|
|
1362
|
-
* @internal
|
|
1363
1361
|
* @minLength 1
|
|
1364
1362
|
* @maxLength 50
|
|
1365
1363
|
*/
|
|
1366
1364
|
name?: string;
|
|
1367
|
-
/**
|
|
1368
|
-
* Fee calculation formula.
|
|
1369
|
-
* @internal
|
|
1370
|
-
*/
|
|
1365
|
+
/** Fee calculation formula. */
|
|
1371
1366
|
formula?: AdditionalFeeFormula;
|
|
1372
1367
|
}
|
|
1373
1368
|
/**
|
|
1374
1369
|
* Formula of an additional fee charged on top of ticket prices.
|
|
1375
|
-
* Amounts are as displayed: net of tax under
|
|
1370
|
+
* Amounts are as displayed: net of tax under ADDED_AT_CHECKOUT tax, gross under INCLUDED tax.
|
|
1376
1371
|
*/
|
|
1377
1372
|
interface AdditionalFeeFormula extends AdditionalFeeFormulaCalculationOneOf {
|
|
1378
1373
|
/**
|
|
@@ -1593,73 +1588,117 @@ interface SeoSettings {
|
|
|
1593
1588
|
hidden?: boolean | null;
|
|
1594
1589
|
}
|
|
1595
1590
|
/**
|
|
1596
|
-
* The SEO
|
|
1597
|
-
*
|
|
1598
|
-
*
|
|
1591
|
+
* The SEO data for a single page or dynamic item, in the shape stored today.
|
|
1592
|
+
*
|
|
1593
|
+
* FROZEN. Existing server code maps onto this message field by field, so its
|
|
1594
|
+
* field set must never change (see the file header). New writers use
|
|
1595
|
+
* `SeoSchemaV2`.
|
|
1596
|
+
*
|
|
1597
|
+
* These tags are rendered into the <head> of the HTML document and are not
|
|
1598
|
+
* visible on the page itself. They override every other source of tags
|
|
1599
|
+
* (site defaults, vertical presets, patterns) for this page.
|
|
1599
1600
|
*/
|
|
1600
1601
|
interface SeoSchema {
|
|
1601
|
-
/**
|
|
1602
|
+
/**
|
|
1603
|
+
* The tags rendered into <head>, in no particular order. Render order is
|
|
1604
|
+
* decided by the renderer, not by position in this list.
|
|
1605
|
+
*
|
|
1606
|
+
* No maxSize: this list is already populated by data written years ago, and
|
|
1607
|
+
* a bound added now could reject a page that is already stored.
|
|
1608
|
+
*/
|
|
1602
1609
|
tags?: Tag[];
|
|
1603
|
-
/** SEO
|
|
1610
|
+
/** Page-level SEO settings that are not themselves tags. */
|
|
1604
1611
|
settings?: Settings;
|
|
1605
1612
|
}
|
|
1613
|
+
/** A keyword term the user is targeting. */
|
|
1606
1614
|
interface Keyword {
|
|
1607
|
-
/**
|
|
1615
|
+
/**
|
|
1616
|
+
* The term itself, e.g. "trail running shoes".
|
|
1617
|
+
*
|
|
1618
|
+
* No maxLength, for the same reason as the legacy tag fields: keywords are
|
|
1619
|
+
* already stored, and a bound added now could reject a record written
|
|
1620
|
+
* before the bound existed. The flynt `missing-string-validations` warning
|
|
1621
|
+
* on this field is accepted deliberately.
|
|
1622
|
+
*/
|
|
1608
1623
|
term?: string;
|
|
1609
|
-
/** Whether
|
|
1624
|
+
/** Whether this is the page's primary focus keyword. At most one per page. */
|
|
1610
1625
|
isMain?: boolean;
|
|
1611
1626
|
/**
|
|
1612
|
-
*
|
|
1627
|
+
* Which surface added the term, e.g. a panel or a suggestion flow. Used for
|
|
1628
|
+
* attribution in BI. Opaque to the renderer.
|
|
1613
1629
|
* @maxLength 1000
|
|
1614
1630
|
*/
|
|
1615
1631
|
origin?: string | null;
|
|
1616
1632
|
}
|
|
1633
|
+
/**
|
|
1634
|
+
* One tag in the page's <head>.
|
|
1635
|
+
*
|
|
1636
|
+
* Not deprecated, and with no removal date, deliberately: stored data is
|
|
1637
|
+
* never migrated, so this shape stays valid input forever. `seo-renderer`
|
|
1638
|
+
* normalizes both shapes on READ.
|
|
1639
|
+
*/
|
|
1617
1640
|
interface Tag {
|
|
1618
1641
|
/**
|
|
1619
|
-
*
|
|
1620
|
-
*
|
|
1642
|
+
* Legacy. Was a free-form string: "title" | "meta" | "script" | "link".
|
|
1643
|
+
* The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes
|
|
1644
|
+
* the invalid combinations unrepresentable rather than merely discouraged.
|
|
1621
1645
|
*
|
|
1622
|
-
*
|
|
1623
|
-
*
|
|
1624
|
-
*
|
|
1625
|
-
*
|
|
1626
|
-
*
|
|
1627
|
-
* `
|
|
1628
|
-
* check the field description of the specific `tags`-typed field you're writing to
|
|
1629
|
-
* for the types it actually supports and the error it returns.
|
|
1646
|
+
* Which of these an API actually accepts depends on where the tag is being
|
|
1647
|
+
* set: this list is not a blanket guarantee across every API that reuses
|
|
1648
|
+
* this message. Site SEO Tags in particular accepts only `meta` (see
|
|
1649
|
+
* `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation
|
|
1650
|
+
* error even though they appear here — check the field description of the
|
|
1651
|
+
* specific `tags`-typed field you are writing to.
|
|
1630
1652
|
*
|
|
1631
1653
|
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
|
|
1632
|
-
*
|
|
1633
|
-
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
1634
|
-
* tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
1635
|
-
* write through the site's Advanced/Custom Tags
|
|
1636
|
-
* omit `custom` (or set it to `false`).
|
|
1654
|
+
* "application/ld+json" carrying structured data) are supported only when
|
|
1655
|
+
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
1656
|
+
* `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
1657
|
+
* `custom: true` routes the write through the site's Advanced/Custom Tags
|
|
1658
|
+
* list. To write structured data, omit `custom` (or set it to `false`).
|
|
1659
|
+
*
|
|
1660
|
+
* No length limit: this field holds data written years ago by writers we
|
|
1661
|
+
* are not migrating. A constraint here could reject a record that is
|
|
1662
|
+
* already stored, which is exactly the promise this design makes.
|
|
1637
1663
|
*/
|
|
1638
1664
|
type?: string;
|
|
1639
1665
|
/**
|
|
1640
|
-
*
|
|
1641
|
-
*
|
|
1666
|
+
* Legacy. Was an untyped bag of HTML attributes.
|
|
1667
|
+
* Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.
|
|
1642
1668
|
*/
|
|
1643
1669
|
props?: Record<string, any> | null;
|
|
1644
|
-
/**
|
|
1670
|
+
/**
|
|
1671
|
+
* Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2`
|
|
1672
|
+
* its contents are split by purpose: per-page structured-data state moves to
|
|
1673
|
+
* StructuredDataTag, authorship to `written_by`, and render-time preset
|
|
1674
|
+
* logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the
|
|
1675
|
+
* stored document entirely — it belongs to the preset definition, not to the
|
|
1676
|
+
* page. See the design log for the full key-by-key mapping.
|
|
1677
|
+
*/
|
|
1645
1678
|
meta?: Record<string, any> | null;
|
|
1646
|
-
/**
|
|
1679
|
+
/**
|
|
1680
|
+
* Legacy. Was the tag's inner content, doubling as the JSON-LD payload
|
|
1681
|
+
* for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and
|
|
1682
|
+
* `StructuredDataTag.json_ld`.
|
|
1683
|
+
* No length limit, for the same reason as `type` above.
|
|
1684
|
+
*/
|
|
1647
1685
|
children?: string;
|
|
1648
1686
|
/**
|
|
1649
1687
|
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
1650
1688
|
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
1651
1689
|
*
|
|
1652
|
-
* Setting this to `true` on a write restricts which `type` values are
|
|
1653
|
-
* — the same restriction the Advanced/Custom Tags UI enforces.
|
|
1654
|
-
* `script` tags (including JSON-LD structured data) must be sent
|
|
1655
|
-
* omitted or `false`; sending them with `custom: true` is
|
|
1656
|
-
* `TAG_TYPE_NOT_ALLOWED`.
|
|
1690
|
+
* Setting this to `true` on a write restricts which `type` values are
|
|
1691
|
+
* accepted — the same restriction the Advanced/Custom Tags UI enforces.
|
|
1692
|
+
* `title` and `script` tags (including JSON-LD structured data) must be sent
|
|
1693
|
+
* with `custom` omitted or `false`; sending them with `custom: true` is
|
|
1694
|
+
* rejected with `TAG_TYPE_NOT_ALLOWED`.
|
|
1657
1695
|
*
|
|
1658
|
-
* Note this is a separate restriction from Site SEO Tags' own type
|
|
1659
|
-
* `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
1660
|
-
* for site-wide structured data) unconditionally.
|
|
1661
|
-
* site-wide, every-page structured data
|
|
1662
|
-
* `script` tag through the Item
|
|
1696
|
+
* Note this is a separate restriction from Site SEO Tags' own type
|
|
1697
|
+
* restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
1698
|
+
* rejects `script` (e.g. for site-wide structured data) unconditionally.
|
|
1699
|
+
* There is currently no way to set site-wide, every-page structured data
|
|
1700
|
+
* through any of these APIs — write a per-page `script` tag through the Item
|
|
1701
|
+
* SEO Tags API instead.
|
|
1663
1702
|
*
|
|
1664
1703
|
* This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
|
|
1665
1704
|
* (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
|
|
@@ -1672,22 +1711,39 @@ interface Tag {
|
|
|
1672
1711
|
* or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the
|
|
1673
1712
|
* response entirely — there, `false` means this API could not tell, not that no custom tag exists.
|
|
1674
1713
|
* Pass `seoData` explicitly to resolve against a known set of tags.
|
|
1714
|
+
*
|
|
1715
|
+
* `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.
|
|
1675
1716
|
*/
|
|
1676
1717
|
custom?: boolean;
|
|
1677
|
-
/**
|
|
1718
|
+
/**
|
|
1719
|
+
* Whether the tag is excluded from the rendered <head>.
|
|
1720
|
+
*
|
|
1721
|
+
* A disabled tag is still stored, so the user can re-enable it and so a
|
|
1722
|
+
* pattern-provided tag stays suppressed on this page. Default false.
|
|
1723
|
+
*/
|
|
1678
1724
|
disabled?: boolean;
|
|
1679
1725
|
}
|
|
1726
|
+
/** Page-level SEO settings that are not tags. */
|
|
1680
1727
|
interface Settings {
|
|
1681
1728
|
/**
|
|
1682
|
-
* Whether the
|
|
1683
|
-
*
|
|
1729
|
+
* Whether to suppress the automatic redirect from this page's previous URL to
|
|
1730
|
+
* its current one after a slug change.
|
|
1684
1731
|
*
|
|
1685
|
-
* Default
|
|
1732
|
+
* Default false, meaning the redirect IS created. The field is named for the
|
|
1733
|
+
* exception rather than the rule, which reads backwards; kept as-is because
|
|
1734
|
+
* renaming a stored boolean is not worth the migration.
|
|
1686
1735
|
*/
|
|
1687
1736
|
preventAutoRedirect?: boolean;
|
|
1688
1737
|
/**
|
|
1689
|
-
*
|
|
1690
|
-
*
|
|
1738
|
+
* Keyword terms the user is targeting for this page. Used by the SEO
|
|
1739
|
+
* assistant and checklist; never rendered into <head>.
|
|
1740
|
+
*
|
|
1741
|
+
* 20 is a sanity bound, not the product limit. v1 declared 5 — the number
|
|
1742
|
+
* the panel happens to allow today — which is exactly the mistake we are
|
|
1743
|
+
* fixing for structured data. A product decision to allow 8 should not need
|
|
1744
|
+
* a proto release, so the panel owns that number and the proto only stops
|
|
1745
|
+
* something absurd.
|
|
1746
|
+
* @maxSize 20
|
|
1691
1747
|
*/
|
|
1692
1748
|
keywords?: Keyword[];
|
|
1693
1749
|
}
|
|
@@ -1310,7 +1310,6 @@ interface TicketingConfig {
|
|
|
1310
1310
|
/**
|
|
1311
1311
|
* Additional fees charged per order, in display order. Updating with this field in the
|
|
1312
1312
|
* field mask replaces the whole list; an empty list clears it.
|
|
1313
|
-
* @internal
|
|
1314
1313
|
* @maxSize 3
|
|
1315
1314
|
*/
|
|
1316
1315
|
additionalFees?: AdditionalFeeConfig[];
|
|
@@ -1381,20 +1380,16 @@ type CheckoutTypeWithLiterals = CheckoutType | 'EVENTS_APP' | 'ECOMM_PLATFORM';
|
|
|
1381
1380
|
interface AdditionalFeeConfig {
|
|
1382
1381
|
/**
|
|
1383
1382
|
* Fee name shown to buyers. Unique per event (case-insensitive).
|
|
1384
|
-
* @internal
|
|
1385
1383
|
* @minLength 1
|
|
1386
1384
|
* @maxLength 50
|
|
1387
1385
|
*/
|
|
1388
1386
|
name?: string;
|
|
1389
|
-
/**
|
|
1390
|
-
* Fee calculation formula.
|
|
1391
|
-
* @internal
|
|
1392
|
-
*/
|
|
1387
|
+
/** Fee calculation formula. */
|
|
1393
1388
|
formula?: AdditionalFeeFormula;
|
|
1394
1389
|
}
|
|
1395
1390
|
/**
|
|
1396
1391
|
* Formula of an additional fee charged on top of ticket prices.
|
|
1397
|
-
* Amounts are as displayed: net of tax under
|
|
1392
|
+
* Amounts are as displayed: net of tax under ADDED_AT_CHECKOUT tax, gross under INCLUDED tax.
|
|
1398
1393
|
*/
|
|
1399
1394
|
interface AdditionalFeeFormula extends AdditionalFeeFormulaCalculationOneOf {
|
|
1400
1395
|
/**
|
|
@@ -1615,73 +1610,117 @@ interface SeoSettings {
|
|
|
1615
1610
|
hidden?: boolean | null;
|
|
1616
1611
|
}
|
|
1617
1612
|
/**
|
|
1618
|
-
* The SEO
|
|
1619
|
-
*
|
|
1620
|
-
*
|
|
1613
|
+
* The SEO data for a single page or dynamic item, in the shape stored today.
|
|
1614
|
+
*
|
|
1615
|
+
* FROZEN. Existing server code maps onto this message field by field, so its
|
|
1616
|
+
* field set must never change (see the file header). New writers use
|
|
1617
|
+
* `SeoSchemaV2`.
|
|
1618
|
+
*
|
|
1619
|
+
* These tags are rendered into the <head> of the HTML document and are not
|
|
1620
|
+
* visible on the page itself. They override every other source of tags
|
|
1621
|
+
* (site defaults, vertical presets, patterns) for this page.
|
|
1621
1622
|
*/
|
|
1622
1623
|
interface SeoSchema {
|
|
1623
|
-
/**
|
|
1624
|
+
/**
|
|
1625
|
+
* The tags rendered into <head>, in no particular order. Render order is
|
|
1626
|
+
* decided by the renderer, not by position in this list.
|
|
1627
|
+
*
|
|
1628
|
+
* No maxSize: this list is already populated by data written years ago, and
|
|
1629
|
+
* a bound added now could reject a page that is already stored.
|
|
1630
|
+
*/
|
|
1624
1631
|
tags?: Tag[];
|
|
1625
|
-
/** SEO
|
|
1632
|
+
/** Page-level SEO settings that are not themselves tags. */
|
|
1626
1633
|
settings?: Settings;
|
|
1627
1634
|
}
|
|
1635
|
+
/** A keyword term the user is targeting. */
|
|
1628
1636
|
interface Keyword {
|
|
1629
|
-
/**
|
|
1637
|
+
/**
|
|
1638
|
+
* The term itself, e.g. "trail running shoes".
|
|
1639
|
+
*
|
|
1640
|
+
* No maxLength, for the same reason as the legacy tag fields: keywords are
|
|
1641
|
+
* already stored, and a bound added now could reject a record written
|
|
1642
|
+
* before the bound existed. The flynt `missing-string-validations` warning
|
|
1643
|
+
* on this field is accepted deliberately.
|
|
1644
|
+
*/
|
|
1630
1645
|
term?: string;
|
|
1631
|
-
/** Whether
|
|
1646
|
+
/** Whether this is the page's primary focus keyword. At most one per page. */
|
|
1632
1647
|
isMain?: boolean;
|
|
1633
1648
|
/**
|
|
1634
|
-
*
|
|
1649
|
+
* Which surface added the term, e.g. a panel or a suggestion flow. Used for
|
|
1650
|
+
* attribution in BI. Opaque to the renderer.
|
|
1635
1651
|
* @maxLength 1000
|
|
1636
1652
|
*/
|
|
1637
1653
|
origin?: string | null;
|
|
1638
1654
|
}
|
|
1655
|
+
/**
|
|
1656
|
+
* One tag in the page's <head>.
|
|
1657
|
+
*
|
|
1658
|
+
* Not deprecated, and with no removal date, deliberately: stored data is
|
|
1659
|
+
* never migrated, so this shape stays valid input forever. `seo-renderer`
|
|
1660
|
+
* normalizes both shapes on READ.
|
|
1661
|
+
*/
|
|
1639
1662
|
interface Tag {
|
|
1640
1663
|
/**
|
|
1641
|
-
*
|
|
1642
|
-
*
|
|
1664
|
+
* Legacy. Was a free-form string: "title" | "meta" | "script" | "link".
|
|
1665
|
+
* The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes
|
|
1666
|
+
* the invalid combinations unrepresentable rather than merely discouraged.
|
|
1643
1667
|
*
|
|
1644
|
-
*
|
|
1645
|
-
*
|
|
1646
|
-
*
|
|
1647
|
-
*
|
|
1648
|
-
*
|
|
1649
|
-
* `
|
|
1650
|
-
* check the field description of the specific `tags`-typed field you're writing to
|
|
1651
|
-
* for the types it actually supports and the error it returns.
|
|
1668
|
+
* Which of these an API actually accepts depends on where the tag is being
|
|
1669
|
+
* set: this list is not a blanket guarantee across every API that reuses
|
|
1670
|
+
* this message. Site SEO Tags in particular accepts only `meta` (see
|
|
1671
|
+
* `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation
|
|
1672
|
+
* error even though they appear here — check the field description of the
|
|
1673
|
+
* specific `tags`-typed field you are writing to.
|
|
1652
1674
|
*
|
|
1653
1675
|
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
|
|
1654
|
-
*
|
|
1655
|
-
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
1656
|
-
* tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
1657
|
-
* write through the site's Advanced/Custom Tags
|
|
1658
|
-
* omit `custom` (or set it to `false`).
|
|
1676
|
+
* "application/ld+json" carrying structured data) are supported only when
|
|
1677
|
+
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
1678
|
+
* `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
1679
|
+
* `custom: true` routes the write through the site's Advanced/Custom Tags
|
|
1680
|
+
* list. To write structured data, omit `custom` (or set it to `false`).
|
|
1681
|
+
*
|
|
1682
|
+
* No length limit: this field holds data written years ago by writers we
|
|
1683
|
+
* are not migrating. A constraint here could reject a record that is
|
|
1684
|
+
* already stored, which is exactly the promise this design makes.
|
|
1659
1685
|
*/
|
|
1660
1686
|
type?: string;
|
|
1661
1687
|
/**
|
|
1662
|
-
*
|
|
1663
|
-
*
|
|
1688
|
+
* Legacy. Was an untyped bag of HTML attributes.
|
|
1689
|
+
* Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.
|
|
1664
1690
|
*/
|
|
1665
1691
|
props?: Record<string, any> | null;
|
|
1666
|
-
/**
|
|
1692
|
+
/**
|
|
1693
|
+
* Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2`
|
|
1694
|
+
* its contents are split by purpose: per-page structured-data state moves to
|
|
1695
|
+
* StructuredDataTag, authorship to `written_by`, and render-time preset
|
|
1696
|
+
* logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the
|
|
1697
|
+
* stored document entirely — it belongs to the preset definition, not to the
|
|
1698
|
+
* page. See the design log for the full key-by-key mapping.
|
|
1699
|
+
*/
|
|
1667
1700
|
meta?: Record<string, any> | null;
|
|
1668
|
-
/**
|
|
1701
|
+
/**
|
|
1702
|
+
* Legacy. Was the tag's inner content, doubling as the JSON-LD payload
|
|
1703
|
+
* for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and
|
|
1704
|
+
* `StructuredDataTag.json_ld`.
|
|
1705
|
+
* No length limit, for the same reason as `type` above.
|
|
1706
|
+
*/
|
|
1669
1707
|
children?: string;
|
|
1670
1708
|
/**
|
|
1671
1709
|
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
1672
1710
|
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
1673
1711
|
*
|
|
1674
|
-
* Setting this to `true` on a write restricts which `type` values are
|
|
1675
|
-
* — the same restriction the Advanced/Custom Tags UI enforces.
|
|
1676
|
-
* `script` tags (including JSON-LD structured data) must be sent
|
|
1677
|
-
* omitted or `false`; sending them with `custom: true` is
|
|
1678
|
-
* `TAG_TYPE_NOT_ALLOWED`.
|
|
1712
|
+
* Setting this to `true` on a write restricts which `type` values are
|
|
1713
|
+
* accepted — the same restriction the Advanced/Custom Tags UI enforces.
|
|
1714
|
+
* `title` and `script` tags (including JSON-LD structured data) must be sent
|
|
1715
|
+
* with `custom` omitted or `false`; sending them with `custom: true` is
|
|
1716
|
+
* rejected with `TAG_TYPE_NOT_ALLOWED`.
|
|
1679
1717
|
*
|
|
1680
|
-
* Note this is a separate restriction from Site SEO Tags' own type
|
|
1681
|
-
* `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
1682
|
-
* for site-wide structured data) unconditionally.
|
|
1683
|
-
* site-wide, every-page structured data
|
|
1684
|
-
* `script` tag through the Item
|
|
1718
|
+
* Note this is a separate restriction from Site SEO Tags' own type
|
|
1719
|
+
* restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
1720
|
+
* rejects `script` (e.g. for site-wide structured data) unconditionally.
|
|
1721
|
+
* There is currently no way to set site-wide, every-page structured data
|
|
1722
|
+
* through any of these APIs — write a per-page `script` tag through the Item
|
|
1723
|
+
* SEO Tags API instead.
|
|
1685
1724
|
*
|
|
1686
1725
|
* This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
|
|
1687
1726
|
* (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
|
|
@@ -1694,22 +1733,39 @@ interface Tag {
|
|
|
1694
1733
|
* or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the
|
|
1695
1734
|
* response entirely — there, `false` means this API could not tell, not that no custom tag exists.
|
|
1696
1735
|
* Pass `seoData` explicitly to resolve against a known set of tags.
|
|
1736
|
+
*
|
|
1737
|
+
* `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.
|
|
1697
1738
|
*/
|
|
1698
1739
|
custom?: boolean;
|
|
1699
|
-
/**
|
|
1740
|
+
/**
|
|
1741
|
+
* Whether the tag is excluded from the rendered <head>.
|
|
1742
|
+
*
|
|
1743
|
+
* A disabled tag is still stored, so the user can re-enable it and so a
|
|
1744
|
+
* pattern-provided tag stays suppressed on this page. Default false.
|
|
1745
|
+
*/
|
|
1700
1746
|
disabled?: boolean;
|
|
1701
1747
|
}
|
|
1748
|
+
/** Page-level SEO settings that are not tags. */
|
|
1702
1749
|
interface Settings {
|
|
1703
1750
|
/**
|
|
1704
|
-
* Whether the
|
|
1705
|
-
*
|
|
1751
|
+
* Whether to suppress the automatic redirect from this page's previous URL to
|
|
1752
|
+
* its current one after a slug change.
|
|
1706
1753
|
*
|
|
1707
|
-
* Default
|
|
1754
|
+
* Default false, meaning the redirect IS created. The field is named for the
|
|
1755
|
+
* exception rather than the rule, which reads backwards; kept as-is because
|
|
1756
|
+
* renaming a stored boolean is not worth the migration.
|
|
1708
1757
|
*/
|
|
1709
1758
|
preventAutoRedirect?: boolean;
|
|
1710
1759
|
/**
|
|
1711
|
-
*
|
|
1712
|
-
*
|
|
1760
|
+
* Keyword terms the user is targeting for this page. Used by the SEO
|
|
1761
|
+
* assistant and checklist; never rendered into <head>.
|
|
1762
|
+
*
|
|
1763
|
+
* 20 is a sanity bound, not the product limit. v1 declared 5 — the number
|
|
1764
|
+
* the panel happens to allow today — which is exactly the mistake we are
|
|
1765
|
+
* fixing for structured data. A product decision to allow 8 should not need
|
|
1766
|
+
* a proto release, so the panel owns that number and the proto only stops
|
|
1767
|
+
* something absurd.
|
|
1768
|
+
* @maxSize 20
|
|
1713
1769
|
*/
|
|
1714
1770
|
keywords?: Keyword[];
|
|
1715
1771
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_events_forms",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.127",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"service-plugins"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@wix/sdk-runtime": "^1.0.
|
|
33
|
-
"@wix/sdk-types": "^1.17.
|
|
32
|
+
"@wix/sdk-runtime": "^1.0.28",
|
|
33
|
+
"@wix/sdk-types": "^1.17.12"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"tsup": "^8.4.0",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.events.v1.form"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "438c1e7fd878f3e33c52cb67cebc4492b262ba1346951c52efb66bc4"
|
|
54
54
|
}
|