@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
@@ -2223,6 +2223,12 @@ interface AccountInfo {
2223
2223
  declare function createDataCollection(collection: NonNullablePaths<DataCollection, `_id` | `fields.${number}.key` | `fields.${number}.type` | `permissions.insert` | `permissions.read` | `permissions.remove` | `permissions.update`, 4>): Promise<NonNullablePaths<DataCollection, `_id` | `collectionType` | `defaultDisplayOrder.fieldKey` | `defaultDisplayOrder.direction` | `capabilities.dataOperations` | `capabilities.collectionOperations` | `capabilities.indexLimits.regular` | `capabilities.indexLimits.unique` | `capabilities.indexLimits.total` | `fields` | `fields.${number}.key` | `fields.${number}.type` | `fields.${number}.typeMetadata.reference.referencedCollectionId` | `fields.${number}.typeMetadata.multiReference.referencedCollectionId` | `fields.${number}.typeMetadata.multiReference.referencingFieldKey` | `fields.${number}.typeMetadata.multiReference.referencingDisplayName` | `fields.${number}.typeMetadata.array.elementType` | `fields.${number}.systemField` | `fields.${number}.capabilities.sortable` | `fields.${number}.encrypted` | `fields.${number}.condition.permission` | `permissions.insert` | `permissions.update` | `permissions.remove` | `permissions.read` | `plugins` | `plugins.${number}.publishOptions.defaultStatus` | `plugins.${number}.singleItemOptions.singleItemId` | `plugins.${number}.urlizedOptions.format` | `plugins.${number}.editablePageLinkOptions.isPersisted` | `plugins.${number}.editablePageLinkOptions.isMutable` | `plugins.${number}.type` | `pagingModes`, 6>>;
2224
2224
  /**
2225
2225
  * Retrieves a data collection by ID.
2226
+ *
2227
+ * Starting on August 3rd, 2026, when called with a visitor (unauthenticated) identity, the response contains only
2228
+ * the collection details needed to display the collection's data: `id`, `displayName`, `displayField`, `plugins`,
2229
+ * and for each field in `fields` its `key`, `displayName`, `type`, and `typeMetadata`. All other collection
2230
+ * details, such as `permissions` and `capabilities`, are omitted. Calls made with any other identity return the
2231
+ * full collection.
2226
2232
  * @param dataCollectionId - ID of the collection to retrieve.
2227
2233
  * @public
2228
2234
  * @requiredField dataCollectionId
@@ -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) => {