@wix/auto_sdk_data_collections 1.0.89 → 1.0.91

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 (35) hide show
  1. package/build/cjs/index.d.ts +6 -0
  2. package/build/cjs/index.js +7 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +6 -0
  5. package/build/cjs/index.typings.js +7 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.js +10 -0
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/es/index.d.mts +6 -0
  10. package/build/es/index.mjs +7 -0
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/index.typings.d.mts +6 -0
  13. package/build/es/index.typings.mjs +7 -0
  14. package/build/es/index.typings.mjs.map +1 -1
  15. package/build/es/meta.mjs +10 -0
  16. package/build/es/meta.mjs.map +1 -1
  17. package/build/internal/cjs/index.d.ts +6 -0
  18. package/build/internal/cjs/index.js +7 -0
  19. package/build/internal/cjs/index.js.map +1 -1
  20. package/build/internal/cjs/index.typings.d.ts +416 -2
  21. package/build/internal/cjs/index.typings.js +7 -0
  22. package/build/internal/cjs/index.typings.js.map +1 -1
  23. package/build/internal/cjs/meta.d.ts +508 -3
  24. package/build/internal/cjs/meta.js +10 -0
  25. package/build/internal/cjs/meta.js.map +1 -1
  26. package/build/internal/es/index.d.mts +6 -0
  27. package/build/internal/es/index.mjs +7 -0
  28. package/build/internal/es/index.mjs.map +1 -1
  29. package/build/internal/es/index.typings.d.mts +416 -2
  30. package/build/internal/es/index.typings.mjs +7 -0
  31. package/build/internal/es/index.typings.mjs.map +1 -1
  32. package/build/internal/es/meta.d.mts +508 -3
  33. package/build/internal/es/meta.mjs +10 -0
  34. package/build/internal/es/meta.mjs.map +1 -1
  35. package/package.json +4 -4
@@ -18,6 +18,12 @@ declare function getDataCollection$1(httpClient: HttpClient): GetDataCollectionS
18
18
  interface GetDataCollectionSignature {
19
19
  /**
20
20
  * Retrieves a data collection by ID.
21
+ *
22
+ * Starting on August 3rd, 2026, when called with a visitor (unauthenticated) identity, the response contains only
23
+ * the collection details needed to display the collection's data: `id`, `displayName`, `displayField`, `plugins`,
24
+ * and for each field in `fields` its `key`, `displayName`, `type`, and `typeMetadata`. All other collection
25
+ * details, such as `permissions` and `capabilities`, are omitted. Calls made with any other identity return the
26
+ * full collection.
21
27
  * @param - ID of the collection to retrieve.
22
28
  * @param - Options for retrieving a data collection.
23
29
  * @returns Details of the collection requested.
@@ -2034,6 +2034,7 @@ var Type = /* @__PURE__ */ ((Type2) => {
2034
2034
  Type2["LEGACY_IMAGE"] = "LEGACY_IMAGE";
2035
2035
  Type2["LEGACY_COLOR"] = "LEGACY_COLOR";
2036
2036
  Type2["LEGACY_EXTERNAL_VIDEO"] = "LEGACY_EXTERNAL_VIDEO";
2037
+ Type2["SLUG"] = "SLUG";
2037
2038
  Type2["EMAIL"] = "EMAIL";
2038
2039
  Type2["SECURED_MEDIA"] = "SECURED_MEDIA";
2039
2040
  Type2["MEDIA_IMAGE"] = "MEDIA_IMAGE";
@@ -2064,6 +2065,9 @@ var PageLinkType = /* @__PURE__ */ ((PageLinkType2) => {
2064
2065
  var FieldPluginType = /* @__PURE__ */ ((FieldPluginType2) => {
2065
2066
  FieldPluginType2["UNKNOWN"] = "UNKNOWN";
2066
2067
  FieldPluginType2["CMS"] = "CMS";
2068
+ FieldPluginType2["CATEGORY_FIELD"] = "CATEGORY_FIELD";
2069
+ FieldPluginType2["CATEGORY_CONSUMER"] = "CATEGORY_CONSUMER";
2070
+ FieldPluginType2["PRIMARY_CATEGORY_FIELD"] = "PRIMARY_CATEGORY_FIELD";
2067
2071
  return FieldPluginType2;
2068
2072
  })(FieldPluginType || {});
2069
2073
  var Permission = /* @__PURE__ */ ((Permission2) => {
@@ -2110,6 +2114,9 @@ var PluginType = /* @__PURE__ */ ((PluginType2) => {
2110
2114
  PluginType2["SHARED"] = "SHARED";
2111
2115
  PluginType2["EDITABLE_PAGE_LINK"] = "EDITABLE_PAGE_LINK";
2112
2116
  PluginType2["CMS"] = "CMS";
2117
+ PluginType2["CATALOG"] = "CATALOG";
2118
+ PluginType2["CATEGORIES"] = "CATEGORIES";
2119
+ PluginType2["DRAFT_ITEMS"] = "DRAFT_ITEMS";
2113
2120
  return PluginType2;
2114
2121
  })(PluginType || {});
2115
2122
  var PagingMode = /* @__PURE__ */ ((PagingMode2) => {