@wix/auto_sdk_data_collections 1.0.34 → 1.0.36

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 (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +11 -4
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +42 -1
  5. package/build/cjs/index.typings.js +11 -4
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +42 -1
  8. package/build/cjs/meta.js +11 -4
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +10 -4
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +42 -1
  14. package/build/es/index.typings.mjs +10 -4
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +42 -1
  17. package/build/es/meta.mjs +10 -4
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +11 -4
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +42 -1
  23. package/build/internal/cjs/index.typings.js +11 -4
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +42 -1
  26. package/build/internal/cjs/meta.js +11 -4
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +10 -4
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +42 -1
  32. package/build/internal/es/index.typings.mjs +10 -4
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +42 -1
  35. package/build/internal/es/meta.mjs +10 -4
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1133,7 +1133,20 @@ interface BulkGetDataCollectionsPageBySnapshotsRequest {
1133
1133
  snapshotIds?: string[];
1134
1134
  /** Pagination information. */
1135
1135
  paging?: Paging;
1136
+ /**
1137
+ * Tenant mode
1138
+ * Default: META_SITE
1139
+ */
1140
+ tenantMode?: TenantModeWithLiterals;
1141
+ }
1142
+ declare enum TenantMode {
1143
+ /** MetaSite */
1144
+ META_SITE = "META_SITE",
1145
+ /** Account */
1146
+ ACCOUNT = "ACCOUNT"
1136
1147
  }
1148
+ /** @enumType */
1149
+ type TenantModeWithLiterals = TenantMode | 'META_SITE' | 'ACCOUNT';
1137
1150
  interface BulkGetDataCollectionsPageBySnapshotsResponse {
1138
1151
  /** List of snapshot collection map */
1139
1152
  snapshotCollections?: SnapshotCollection[];
@@ -1288,6 +1301,34 @@ interface CreateDataCollectionsSnapshotResponse {
1288
1301
  /** data collections in snapshot */
1289
1302
  snapshotCollections?: DataCollection[];
1290
1303
  }
1304
+ interface CreateAppCollectionsSnapshotRequest {
1305
+ /**
1306
+ * Snapshot ID to create
1307
+ * @format GUID
1308
+ */
1309
+ snapshotId?: string;
1310
+ /**
1311
+ * App def id of the app that owns the snapshot
1312
+ * @format GUID
1313
+ */
1314
+ appDefId?: string;
1315
+ /**
1316
+ * Collections to include in the snapshot
1317
+ * @maxSize 1000
1318
+ */
1319
+ collections?: CollectionDefinition[];
1320
+ }
1321
+ interface CollectionDefinition {
1322
+ /** Data collection */
1323
+ collection?: DataCollection;
1324
+ /**
1325
+ * Indexes for the data collection
1326
+ * @maxSize 100
1327
+ */
1328
+ indexes?: Index[];
1329
+ }
1330
+ interface CreateAppCollectionsSnapshotResponse {
1331
+ }
1291
1332
  interface RestoreDataCollectionsFromSnapshotRequest {
1292
1333
  /**
1293
1334
  * snapshot ID to restore
@@ -1717,4 +1758,4 @@ interface DeleteDataCollectionFieldOptions {
1717
1758
  fieldKey: string;
1718
1759
  }
1719
1760
 
1720
- export { AccessLevel, type AccessLevelWithLiterals, type ActionEvent, type AllowedDataPermissions, type ApplicationError, type ArraySizeRange, type BulkGetDataCollectionsPageBySnapshotsRequest, type BulkGetDataCollectionsPageBySnapshotsResponse, type BulkGetDataCollectionsRequest, type BulkGetDataCollectionsResponse, type Calculator, type CalculatorPatternOneOf, type CatalogOptions, type CmsOptions, type CollectionCapabilities, CollectionOperation, type CollectionOperationWithLiterals, CollectionType, type CollectionTypeWithLiterals, type CreateDataCollectionFieldOptions, type CreateDataCollectionFieldRequest, type CreateDataCollectionFieldResponse, type CreateDataCollectionRequest, type CreateDataCollectionResponse, type CreateDataCollectionsSnapshotRequest, type CreateDataCollectionsSnapshotResponse, type CreateMigratedCollectionsSnapshotRequest, type CreateMigratedCollectionsSnapshotResponse, type DataCollection, type DataCollectionChangedEvent, type DataCollectionClonedEvent, type DataCollectionEvictedEvent, DataOperation, type DataOperationWithLiterals, type DataPermissions, type DeleteDataCollectionFieldOptions, type DeleteDataCollectionFieldRequest, type DeleteDataCollectionFieldResponse, type DeleteDataCollectionRequest, type DeleteDataCollectionResponse, type DeleteDataCollectionsSnapshotRequest, type DeleteDataCollectionsSnapshotResponse, type Destination, Direction, type DirectionWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailedCollection, type Failure, type Field, type FieldCapabilities, type FieldPlugin, type FieldPluginOptionsOneOf, FieldPluginType, type FieldPluginTypeWithLiterals, type FieldRangeValidationsOneOf, type FieldUpdate, type FieldsPattern, Format, type FormatWithLiterals, type GetDataCollectionOptions, type GetDataCollectionRequest, type GetDataCollectionResponse, type IdentificationData, type IdentificationDataIdOneOf, type Index, type IndexField, type IndexLimits, type IndexQuotaLimits, IndexSource, type IndexSourceWithLiterals, IndexStatus, type IndexStatusWithLiterals, type ListDataCollectionsOptions, type ListDataCollectionsRequest, type ListDataCollectionsResponse, type MessageEnvelope, type MultiReference, type MultilingualOptions, type NumberRange, type ObjectField, Order, type OrderWithLiterals, type PageLink, type PageLinkPluginOptions, type Paging, type PagingMetadataV2, PagingMode, type PagingModeWithLiterals, type Permissions, type Plugin, type PluginCmsOptions, type PluginOptionsOneOf, PluginType, type PluginTypeWithLiterals, type PluginUpdate, type PublishPluginOptions, QueryOperator, type QueryOperatorWithLiterals, type Reference, type RestorationCollection, type RestoreDataCollectionRequest, type RestoreDataCollectionResponse, type RestoreDataCollectionsFromSnapshotRequest, type RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo, Role, type RoleWithLiterals, Segment, type SegmentWithLiterals, type SingleItemPluginOptions, type SiteSort, type SnapshotCollection, type Sort, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type StringLengthRange, Type, type TypeMetadata, type TypeMetadataMetadataOneOf, type TypeWithLiterals, type UpdateDataCollectionFieldOptions, type UpdateDataCollectionFieldRequest, type UpdateDataCollectionFieldResponse, type UpdateDataCollectionRequest, type UpdateDataCollectionResponse, type UpdateDataPermissionsRequest, type UpdateDataPermissionsResponse, type UrlizedOnlyPattern, type UrlizedPluginOptions, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type _Array, type _Object, createDataCollection, createDataCollectionField, deleteDataCollection, deleteDataCollectionField, getDataCollection, listDataCollections, restoreDataCollection, updateDataCollection, updateDataCollectionField };
1761
+ export { AccessLevel, type AccessLevelWithLiterals, type ActionEvent, type AllowedDataPermissions, type ApplicationError, type ArraySizeRange, type BulkGetDataCollectionsPageBySnapshotsRequest, type BulkGetDataCollectionsPageBySnapshotsResponse, type BulkGetDataCollectionsRequest, type BulkGetDataCollectionsResponse, type Calculator, type CalculatorPatternOneOf, type CatalogOptions, type CmsOptions, type CollectionCapabilities, type CollectionDefinition, CollectionOperation, type CollectionOperationWithLiterals, CollectionType, type CollectionTypeWithLiterals, type CreateAppCollectionsSnapshotRequest, type CreateAppCollectionsSnapshotResponse, type CreateDataCollectionFieldOptions, type CreateDataCollectionFieldRequest, type CreateDataCollectionFieldResponse, type CreateDataCollectionRequest, type CreateDataCollectionResponse, type CreateDataCollectionsSnapshotRequest, type CreateDataCollectionsSnapshotResponse, type CreateMigratedCollectionsSnapshotRequest, type CreateMigratedCollectionsSnapshotResponse, type DataCollection, type DataCollectionChangedEvent, type DataCollectionClonedEvent, type DataCollectionEvictedEvent, DataOperation, type DataOperationWithLiterals, type DataPermissions, type DeleteDataCollectionFieldOptions, type DeleteDataCollectionFieldRequest, type DeleteDataCollectionFieldResponse, type DeleteDataCollectionRequest, type DeleteDataCollectionResponse, type DeleteDataCollectionsSnapshotRequest, type DeleteDataCollectionsSnapshotResponse, type Destination, Direction, type DirectionWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailedCollection, type Failure, type Field, type FieldCapabilities, type FieldPlugin, type FieldPluginOptionsOneOf, FieldPluginType, type FieldPluginTypeWithLiterals, type FieldRangeValidationsOneOf, type FieldUpdate, type FieldsPattern, Format, type FormatWithLiterals, type GetDataCollectionOptions, type GetDataCollectionRequest, type GetDataCollectionResponse, type IdentificationData, type IdentificationDataIdOneOf, type Index, type IndexField, type IndexLimits, type IndexQuotaLimits, IndexSource, type IndexSourceWithLiterals, IndexStatus, type IndexStatusWithLiterals, type ListDataCollectionsOptions, type ListDataCollectionsRequest, type ListDataCollectionsResponse, type MessageEnvelope, type MultiReference, type MultilingualOptions, type NumberRange, type ObjectField, Order, type OrderWithLiterals, type PageLink, type PageLinkPluginOptions, type Paging, type PagingMetadataV2, PagingMode, type PagingModeWithLiterals, type Permissions, type Plugin, type PluginCmsOptions, type PluginOptionsOneOf, PluginType, type PluginTypeWithLiterals, type PluginUpdate, type PublishPluginOptions, QueryOperator, type QueryOperatorWithLiterals, type Reference, type RestorationCollection, type RestoreDataCollectionRequest, type RestoreDataCollectionResponse, type RestoreDataCollectionsFromSnapshotRequest, type RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo, Role, type RoleWithLiterals, Segment, type SegmentWithLiterals, type SingleItemPluginOptions, type SiteSort, type SnapshotCollection, type Sort, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type StringLengthRange, TenantMode, type TenantModeWithLiterals, Type, type TypeMetadata, type TypeMetadataMetadataOneOf, type TypeWithLiterals, type UpdateDataCollectionFieldOptions, type UpdateDataCollectionFieldRequest, type UpdateDataCollectionFieldResponse, type UpdateDataCollectionRequest, type UpdateDataCollectionResponse, type UpdateDataPermissionsRequest, type UpdateDataPermissionsResponse, type UrlizedOnlyPattern, type UrlizedPluginOptions, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type _Array, type _Object, createDataCollection, createDataCollectionField, deleteDataCollection, deleteDataCollectionField, getDataCollection, listDataCollections, restoreDataCollection, updateDataCollection, updateDataCollectionField };
@@ -339,8 +339,8 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
339
339
  destPath: "/v1/external-database-connections"
340
340
  },
341
341
  {
342
- srcPath: "/data/v1/data-collection-sharing/policies",
343
- destPath: "/v1/data-collection-sharing/policies"
342
+ srcPath: "/data/v1/data-collection-sharing",
343
+ destPath: "/v1/data-collection-sharing"
344
344
  }
345
345
  ],
346
346
  "www.wixgateway.com": [
@@ -363,8 +363,8 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
363
363
  destPath: "/v1/external-database-connections"
364
364
  },
365
365
  {
366
- srcPath: "/data/v1/data-collection-sharing/policies",
367
- destPath: "/v1/data-collection-sharing/policies"
366
+ srcPath: "/data/v1/data-collection-sharing",
367
+ destPath: "/v1/data-collection-sharing"
368
368
  }
369
369
  ]
370
370
  };
@@ -892,6 +892,11 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
892
892
  SortOrder2["DESC"] = "DESC";
893
893
  return SortOrder2;
894
894
  })(SortOrder || {});
895
+ var TenantMode = /* @__PURE__ */ ((TenantMode2) => {
896
+ TenantMode2["META_SITE"] = "META_SITE";
897
+ TenantMode2["ACCOUNT"] = "ACCOUNT";
898
+ return TenantMode2;
899
+ })(TenantMode || {});
895
900
  var Order = /* @__PURE__ */ ((Order2) => {
896
901
  Order2["ASC"] = "ASC";
897
902
  Order2["DESC"] = "DESC";
@@ -1194,6 +1199,7 @@ export {
1194
1199
  Segment,
1195
1200
  SortOrder,
1196
1201
  Status,
1202
+ TenantMode,
1197
1203
  Type,
1198
1204
  WebhookIdentityType,
1199
1205
  createDataCollection2 as createDataCollection,