@wix/auto_sdk_data_collections 1.0.88 → 1.0.89
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.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +9 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +15 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +9 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +15 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2660,11 +2660,13 @@ interface DeleteDataCollectionPluginOptions {
|
|
|
2660
2660
|
}
|
|
2661
2661
|
/**
|
|
2662
2662
|
* Adds the Publish plugin to a data collection.
|
|
2663
|
-
* @param dataCollectionId - ID of the data collection to update.
|
|
2664
2663
|
* @internal
|
|
2665
2664
|
* @documentationMaturity preview
|
|
2666
2665
|
* @requiredField dataCollectionId
|
|
2667
2666
|
* @requiredField options.publishOptions
|
|
2667
|
+
* @param dataCollectionId - ID of the data collection to update.
|
|
2668
|
+
* @param publishOptions - Publish plugin options.
|
|
2669
|
+
* @param options - Options for adding the Publish plugin.
|
|
2668
2670
|
* @permissionId data:v2:data_collection:add_publish_plugin
|
|
2669
2671
|
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddPublishPlugin
|
|
2670
2672
|
*/
|
|
@@ -2687,12 +2689,13 @@ interface AddPublishPluginOptions {
|
|
|
2687
2689
|
declare function deletePublishPlugin(dataCollectionId: string): Promise<NonNullablePaths<DeletePublishPluginResponse, `dataCollection._id` | `dataCollection.collectionType` | `dataCollection.defaultDisplayOrder.fieldKey` | `dataCollection.defaultDisplayOrder.direction` | `dataCollection.capabilities.dataOperations` | `dataCollection.capabilities.collectionOperations` | `dataCollection.capabilities.indexLimits.regular` | `dataCollection.capabilities.indexLimits.unique` | `dataCollection.capabilities.indexLimits.total` | `dataCollection.fields` | `dataCollection.fields.${number}.key` | `dataCollection.fields.${number}.type` | `dataCollection.fields.${number}.typeMetadata.reference.referencedCollectionId` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencedCollectionId` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencingFieldKey` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencingDisplayName` | `dataCollection.fields.${number}.typeMetadata.array.elementType` | `dataCollection.fields.${number}.systemField` | `dataCollection.fields.${number}.capabilities.sortable` | `dataCollection.fields.${number}.encrypted` | `dataCollection.fields.${number}.condition.permission` | `dataCollection.permissions.insert` | `dataCollection.permissions.update` | `dataCollection.permissions.remove` | `dataCollection.permissions.read` | `dataCollection.plugins` | `dataCollection.plugins.${number}.publishOptions.defaultStatus` | `dataCollection.plugins.${number}.singleItemOptions.singleItemId` | `dataCollection.plugins.${number}.urlizedOptions.format` | `dataCollection.plugins.${number}.editablePageLinkOptions.isPersisted` | `dataCollection.plugins.${number}.editablePageLinkOptions.isMutable` | `dataCollection.plugins.${number}.type` | `dataCollection.pagingModes`, 7>>;
|
|
2688
2690
|
/**
|
|
2689
2691
|
* Adds the Urlized plugin to a data collection.
|
|
2690
|
-
* @param dataCollectionId - ID of the data collection to update.
|
|
2691
2692
|
* @internal
|
|
2692
2693
|
* @documentationMaturity preview
|
|
2693
2694
|
* @requiredField dataCollectionId
|
|
2694
2695
|
* @requiredField options
|
|
2695
2696
|
* @requiredField options.urlizedOptions
|
|
2697
|
+
* @param dataCollectionId - ID of the data collection to update.
|
|
2698
|
+
* @param urlizedOptions - Urlized plugin options.
|
|
2696
2699
|
* @permissionId data:v2:data_collection:add_urlized_plugin
|
|
2697
2700
|
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddUrlizedPlugin
|
|
2698
2701
|
*/
|
|
@@ -2713,12 +2716,13 @@ interface AddUrlizedPluginOptions {
|
|
|
2713
2716
|
declare function deleteUrlizedPlugin(dataCollectionId: string): Promise<NonNullablePaths<DeleteUrlizedPluginResponse, `dataCollection._id` | `dataCollection.collectionType` | `dataCollection.defaultDisplayOrder.fieldKey` | `dataCollection.defaultDisplayOrder.direction` | `dataCollection.capabilities.dataOperations` | `dataCollection.capabilities.collectionOperations` | `dataCollection.capabilities.indexLimits.regular` | `dataCollection.capabilities.indexLimits.unique` | `dataCollection.capabilities.indexLimits.total` | `dataCollection.fields` | `dataCollection.fields.${number}.key` | `dataCollection.fields.${number}.type` | `dataCollection.fields.${number}.typeMetadata.reference.referencedCollectionId` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencedCollectionId` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencingFieldKey` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencingDisplayName` | `dataCollection.fields.${number}.typeMetadata.array.elementType` | `dataCollection.fields.${number}.systemField` | `dataCollection.fields.${number}.capabilities.sortable` | `dataCollection.fields.${number}.encrypted` | `dataCollection.fields.${number}.condition.permission` | `dataCollection.permissions.insert` | `dataCollection.permissions.update` | `dataCollection.permissions.remove` | `dataCollection.permissions.read` | `dataCollection.plugins` | `dataCollection.plugins.${number}.publishOptions.defaultStatus` | `dataCollection.plugins.${number}.singleItemOptions.singleItemId` | `dataCollection.plugins.${number}.urlizedOptions.format` | `dataCollection.plugins.${number}.editablePageLinkOptions.isPersisted` | `dataCollection.plugins.${number}.editablePageLinkOptions.isMutable` | `dataCollection.plugins.${number}.type` | `dataCollection.pagingModes`, 7>>;
|
|
2714
2717
|
/**
|
|
2715
2718
|
* Adds the Multilingual plugin to a data collection.
|
|
2716
|
-
* @param dataCollectionId - ID of the data collection to update.
|
|
2717
2719
|
* @internal
|
|
2718
2720
|
* @documentationMaturity preview
|
|
2719
2721
|
* @requiredField dataCollectionId
|
|
2720
2722
|
* @requiredField options
|
|
2721
2723
|
* @requiredField options.multilingualOptions
|
|
2724
|
+
* @param dataCollectionId - ID of the data collection to update.
|
|
2725
|
+
* @param multilingualOptions - Multilingual plugin options.
|
|
2722
2726
|
* @permissionId data:v2:data_collection:add_multilingual_plugin
|
|
2723
2727
|
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddMultilingualPlugin
|
|
2724
2728
|
*/
|
|
@@ -2739,12 +2743,13 @@ interface AddMultilingualPluginOptions {
|
|
|
2739
2743
|
declare function deleteMultilingualPlugin(dataCollectionId: string): Promise<NonNullablePaths<DeleteMultilingualPluginResponse, `dataCollection._id` | `dataCollection.collectionType` | `dataCollection.defaultDisplayOrder.fieldKey` | `dataCollection.defaultDisplayOrder.direction` | `dataCollection.capabilities.dataOperations` | `dataCollection.capabilities.collectionOperations` | `dataCollection.capabilities.indexLimits.regular` | `dataCollection.capabilities.indexLimits.unique` | `dataCollection.capabilities.indexLimits.total` | `dataCollection.fields` | `dataCollection.fields.${number}.key` | `dataCollection.fields.${number}.type` | `dataCollection.fields.${number}.typeMetadata.reference.referencedCollectionId` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencedCollectionId` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencingFieldKey` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencingDisplayName` | `dataCollection.fields.${number}.typeMetadata.array.elementType` | `dataCollection.fields.${number}.systemField` | `dataCollection.fields.${number}.capabilities.sortable` | `dataCollection.fields.${number}.encrypted` | `dataCollection.fields.${number}.condition.permission` | `dataCollection.permissions.insert` | `dataCollection.permissions.update` | `dataCollection.permissions.remove` | `dataCollection.permissions.read` | `dataCollection.plugins` | `dataCollection.plugins.${number}.publishOptions.defaultStatus` | `dataCollection.plugins.${number}.singleItemOptions.singleItemId` | `dataCollection.plugins.${number}.urlizedOptions.format` | `dataCollection.plugins.${number}.editablePageLinkOptions.isPersisted` | `dataCollection.plugins.${number}.editablePageLinkOptions.isMutable` | `dataCollection.plugins.${number}.type` | `dataCollection.pagingModes`, 7>>;
|
|
2740
2744
|
/**
|
|
2741
2745
|
* Adds the CMS plugin to a data collection.
|
|
2742
|
-
* @param dataCollectionId - ID of the data collection to update.
|
|
2743
2746
|
* @internal
|
|
2744
2747
|
* @documentationMaturity preview
|
|
2745
2748
|
* @requiredField dataCollectionId
|
|
2746
2749
|
* @requiredField options
|
|
2747
2750
|
* @requiredField options.cmsOptions
|
|
2751
|
+
* @param dataCollectionId - ID of the data collection to update.
|
|
2752
|
+
* @param cmsOptions - CMS plugin options.
|
|
2748
2753
|
* @permissionId data:v2:data_collection:add_cms_plugin
|
|
2749
2754
|
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddCmsPlugin
|
|
2750
2755
|
*/
|
|
@@ -2765,12 +2770,13 @@ interface AddCmsPluginOptions {
|
|
|
2765
2770
|
declare function deleteCmsPlugin(dataCollectionId: string): Promise<NonNullablePaths<DeleteCmsPluginResponse, `dataCollection._id` | `dataCollection.collectionType` | `dataCollection.defaultDisplayOrder.fieldKey` | `dataCollection.defaultDisplayOrder.direction` | `dataCollection.capabilities.dataOperations` | `dataCollection.capabilities.collectionOperations` | `dataCollection.capabilities.indexLimits.regular` | `dataCollection.capabilities.indexLimits.unique` | `dataCollection.capabilities.indexLimits.total` | `dataCollection.fields` | `dataCollection.fields.${number}.key` | `dataCollection.fields.${number}.type` | `dataCollection.fields.${number}.typeMetadata.reference.referencedCollectionId` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencedCollectionId` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencingFieldKey` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencingDisplayName` | `dataCollection.fields.${number}.typeMetadata.array.elementType` | `dataCollection.fields.${number}.systemField` | `dataCollection.fields.${number}.capabilities.sortable` | `dataCollection.fields.${number}.encrypted` | `dataCollection.fields.${number}.condition.permission` | `dataCollection.permissions.insert` | `dataCollection.permissions.update` | `dataCollection.permissions.remove` | `dataCollection.permissions.read` | `dataCollection.plugins` | `dataCollection.plugins.${number}.publishOptions.defaultStatus` | `dataCollection.plugins.${number}.singleItemOptions.singleItemId` | `dataCollection.plugins.${number}.urlizedOptions.format` | `dataCollection.plugins.${number}.editablePageLinkOptions.isPersisted` | `dataCollection.plugins.${number}.editablePageLinkOptions.isMutable` | `dataCollection.plugins.${number}.type` | `dataCollection.pagingModes`, 7>>;
|
|
2766
2771
|
/**
|
|
2767
2772
|
* Adds the Catalog plugin to a data collection.
|
|
2768
|
-
* @param dataCollectionId - ID of the data collection to update.
|
|
2769
2773
|
* @internal
|
|
2770
2774
|
* @documentationMaturity preview
|
|
2771
2775
|
* @requiredField dataCollectionId
|
|
2772
2776
|
* @requiredField options
|
|
2773
2777
|
* @requiredField options.catalogOptions
|
|
2778
|
+
* @param dataCollectionId - ID of the data collection to update.
|
|
2779
|
+
* @param catalogOptions - Catalog plugin options.
|
|
2774
2780
|
* @permissionId data:v2:data_collection:add_catalog_plugin
|
|
2775
2781
|
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddCatalogPlugin
|
|
2776
2782
|
*/
|
|
@@ -2791,11 +2797,13 @@ interface AddCatalogPluginOptions {
|
|
|
2791
2797
|
declare function deleteCatalogPlugin(dataCollectionId: string): Promise<NonNullablePaths<DeleteCatalogPluginResponse, `dataCollection._id` | `dataCollection.collectionType` | `dataCollection.defaultDisplayOrder.fieldKey` | `dataCollection.defaultDisplayOrder.direction` | `dataCollection.capabilities.dataOperations` | `dataCollection.capabilities.collectionOperations` | `dataCollection.capabilities.indexLimits.regular` | `dataCollection.capabilities.indexLimits.unique` | `dataCollection.capabilities.indexLimits.total` | `dataCollection.fields` | `dataCollection.fields.${number}.key` | `dataCollection.fields.${number}.type` | `dataCollection.fields.${number}.typeMetadata.reference.referencedCollectionId` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencedCollectionId` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencingFieldKey` | `dataCollection.fields.${number}.typeMetadata.multiReference.referencingDisplayName` | `dataCollection.fields.${number}.typeMetadata.array.elementType` | `dataCollection.fields.${number}.systemField` | `dataCollection.fields.${number}.capabilities.sortable` | `dataCollection.fields.${number}.encrypted` | `dataCollection.fields.${number}.condition.permission` | `dataCollection.permissions.insert` | `dataCollection.permissions.update` | `dataCollection.permissions.remove` | `dataCollection.permissions.read` | `dataCollection.plugins` | `dataCollection.plugins.${number}.publishOptions.defaultStatus` | `dataCollection.plugins.${number}.singleItemOptions.singleItemId` | `dataCollection.plugins.${number}.urlizedOptions.format` | `dataCollection.plugins.${number}.editablePageLinkOptions.isPersisted` | `dataCollection.plugins.${number}.editablePageLinkOptions.isMutable` | `dataCollection.plugins.${number}.type` | `dataCollection.pagingModes`, 7>>;
|
|
2792
2798
|
/**
|
|
2793
2799
|
* Adds the Draft Items plugin to a data collection.
|
|
2794
|
-
* @param dataCollectionId - ID of the data collection to update.
|
|
2795
2800
|
* @internal
|
|
2796
2801
|
* @documentationMaturity preview
|
|
2797
2802
|
* @requiredField dataCollectionId
|
|
2798
2803
|
* @requiredField options.draftItemsOptions
|
|
2804
|
+
* @param dataCollectionId - ID of the data collection to update.
|
|
2805
|
+
* @param draftItemsOptions - Draft Items plugin options.
|
|
2806
|
+
* @param options - Options for adding the Draft Items plugin.
|
|
2799
2807
|
* @permissionId data:v2:data_collection:add_draft_items_plugin
|
|
2800
2808
|
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddDraftItemsPlugin
|
|
2801
2809
|
*/
|
|
@@ -2812,6 +2820,7 @@ interface AddDraftItemsPluginOptions {
|
|
|
2812
2820
|
* @internal
|
|
2813
2821
|
* @documentationMaturity preview
|
|
2814
2822
|
* @requiredField dataCollectionId
|
|
2823
|
+
* @param options - Options for removing the Draft Items plugin.
|
|
2815
2824
|
* @permissionId data:v2:data_collection:delete_draft_items_plugin
|
|
2816
2825
|
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteDraftItemsPlugin
|
|
2817
2826
|
*/
|