@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.
@@ -1961,6 +1961,7 @@ var Type = /* @__PURE__ */ ((Type2) => {
1961
1961
  Type2["LEGACY_IMAGE"] = "LEGACY_IMAGE";
1962
1962
  Type2["LEGACY_COLOR"] = "LEGACY_COLOR";
1963
1963
  Type2["LEGACY_EXTERNAL_VIDEO"] = "LEGACY_EXTERNAL_VIDEO";
1964
+ Type2["SLUG"] = "SLUG";
1964
1965
  Type2["EMAIL"] = "EMAIL";
1965
1966
  Type2["SECURED_MEDIA"] = "SECURED_MEDIA";
1966
1967
  Type2["MEDIA_IMAGE"] = "MEDIA_IMAGE";
@@ -1991,6 +1992,9 @@ var PageLinkType = /* @__PURE__ */ ((PageLinkType2) => {
1991
1992
  var FieldPluginType = /* @__PURE__ */ ((FieldPluginType2) => {
1992
1993
  FieldPluginType2["UNKNOWN"] = "UNKNOWN";
1993
1994
  FieldPluginType2["CMS"] = "CMS";
1995
+ FieldPluginType2["CATEGORY_FIELD"] = "CATEGORY_FIELD";
1996
+ FieldPluginType2["CATEGORY_CONSUMER"] = "CATEGORY_CONSUMER";
1997
+ FieldPluginType2["PRIMARY_CATEGORY_FIELD"] = "PRIMARY_CATEGORY_FIELD";
1994
1998
  return FieldPluginType2;
1995
1999
  })(FieldPluginType || {});
1996
2000
  var Permission = /* @__PURE__ */ ((Permission2) => {
@@ -2037,6 +2041,9 @@ var PluginType = /* @__PURE__ */ ((PluginType2) => {
2037
2041
  PluginType2["SHARED"] = "SHARED";
2038
2042
  PluginType2["EDITABLE_PAGE_LINK"] = "EDITABLE_PAGE_LINK";
2039
2043
  PluginType2["CMS"] = "CMS";
2044
+ PluginType2["CATALOG"] = "CATALOG";
2045
+ PluginType2["CATEGORIES"] = "CATEGORIES";
2046
+ PluginType2["DRAFT_ITEMS"] = "DRAFT_ITEMS";
2040
2047
  return PluginType2;
2041
2048
  })(PluginType || {});
2042
2049
  var PagingMode = /* @__PURE__ */ ((PagingMode2) => {