@wix/auto_sdk_data_collections 1.0.46 → 1.0.47
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.d.ts +51 -13
- package/build/cjs/index.js +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +57 -16
- package/build/cjs/index.typings.js +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -5
- package/build/cjs/meta.js +2 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +51 -13
- package/build/es/index.mjs +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +57 -16
- package/build/es/index.typings.mjs +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -5
- package/build/es/meta.mjs +2 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +40 -13
- package/build/internal/cjs/index.js +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +46 -17
- package/build/internal/cjs/index.typings.js +1 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +5 -5
- package/build/internal/cjs/meta.js +2 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +40 -13
- package/build/internal/es/index.mjs +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +46 -17
- package/build/internal/es/index.typings.mjs +1 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +5 -5
- package/build/internal/es/meta.mjs +2 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1046,11 +1046,11 @@ interface RestoreDataCollectionResponse {
|
|
|
1046
1046
|
dataCollection?: DataCollection;
|
|
1047
1047
|
}
|
|
1048
1048
|
interface PatchDataCollectionRequest {
|
|
1049
|
-
/** Data collection to
|
|
1049
|
+
/** Data collection to update. */
|
|
1050
1050
|
dataCollection: DataCollection;
|
|
1051
1051
|
}
|
|
1052
1052
|
interface PatchDataCollectionResponse {
|
|
1053
|
-
/**
|
|
1053
|
+
/** Updated data collection. */
|
|
1054
1054
|
dataCollection?: DataCollection;
|
|
1055
1055
|
}
|
|
1056
1056
|
interface CreateDataCollectionFieldRequest {
|
|
@@ -1103,7 +1103,7 @@ interface AddDataCollectionPluginRequest {
|
|
|
1103
1103
|
dataCollectionId: string;
|
|
1104
1104
|
/**
|
|
1105
1105
|
* Plugin to add to the collection. Must include the plugin type and any type-specific configuration.
|
|
1106
|
-
* If a plugin of the same type already exists, this operation
|
|
1106
|
+
* If a plugin of the same type already exists in the collection, this operation fails.
|
|
1107
1107
|
*/
|
|
1108
1108
|
plugin: Plugin;
|
|
1109
1109
|
}
|
|
@@ -1130,7 +1130,7 @@ interface PatchDataCollectionFieldRequest {
|
|
|
1130
1130
|
* @maxLength 256
|
|
1131
1131
|
*/
|
|
1132
1132
|
dataCollectionId: string;
|
|
1133
|
-
/** Field to
|
|
1133
|
+
/** Field to update. */
|
|
1134
1134
|
field: Field;
|
|
1135
1135
|
}
|
|
1136
1136
|
interface PatchDataCollectionFieldResponse {
|
|
@@ -1685,19 +1685,24 @@ interface ListDataCollectionsOptions {
|
|
|
1685
1685
|
/**
|
|
1686
1686
|
* Updates a data collection.
|
|
1687
1687
|
*
|
|
1688
|
-
* A collection ID, revision number, permissions, and at least 1 field must be provided
|
|
1688
|
+
* A collection ID, revision number, permissions, and at least 1 field must be provided in the `collection` body parameter.
|
|
1689
1689
|
* If a collection with that ID exists, and if its current `revision` number matches the one provided, it's updated.
|
|
1690
1690
|
* Otherwise, the request fails.
|
|
1691
1691
|
*
|
|
1692
|
-
* When a collection is updated, its `updatedDate` property is changed to the current date and its `revision` property is incremented.
|
|
1693
|
-
*
|
|
1694
1692
|
* <blockquote class="important">
|
|
1695
1693
|
* <strong>Important:</strong>
|
|
1696
|
-
* After a collection is updated, it only contains the properties included in the Update Data Collection request. If the existing collection
|
|
1697
|
-
* has properties with values and those properties aren't included in the updated collection details, their values are lost.<br/><br/>
|
|
1698
1694
|
*
|
|
1699
|
-
*
|
|
1695
|
+
* After a collection is updated, it only contains the properties included in the Update Data Collection request.
|
|
1696
|
+
* If the existing collection has properties with values and those properties aren't included in the updated collection details,
|
|
1697
|
+
* their values are lost.<br/><br/>
|
|
1698
|
+
*
|
|
1699
|
+
* To update only specific properties without affecting others, use [Patch Data Collection](https://dev.wix.com/docs/api-reference/business-solutions/cms/collection-management/data-collections/patch-data-collection).
|
|
1700
1700
|
* </blockquote>
|
|
1701
|
+
*
|
|
1702
|
+
* When a collection is updated, its `updatedDate` changes to the current date and its `revision` increments by 1.
|
|
1703
|
+
*
|
|
1704
|
+
* To update only properties in a collection's `fields` array, use [Update Data Collection Field](https://dev.wix.com/docs/api-reference/business-solutions/cms/collection-management/data-collections/update-data-collection-field).
|
|
1705
|
+
* To only add or remove `plugins`, use [Add Data Collection Plugin](https://dev.wix.com/docs/api-reference/business-solutions/cms/collection-management/data-collections/add-data-collection-plugin) or [Delete Data Collection Plugin](https://dev.wix.com/docs/api-reference/business-solutions/cms/collection-management/data-collections/delete-data-collection-plugin).
|
|
1701
1706
|
* @param collection - Updated collection details. The existing collection is replaced with this version.
|
|
1702
1707
|
* @public
|
|
1703
1708
|
* @requiredField collection
|
|
@@ -1734,6 +1739,24 @@ declare function updateDataCollection(collection: NonNullablePaths<DataCollectio
|
|
|
1734
1739
|
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteDataCollection
|
|
1735
1740
|
*/
|
|
1736
1741
|
declare function deleteDataCollection(dataCollectionId: string): Promise<void>;
|
|
1742
|
+
/**
|
|
1743
|
+
* Updates specified properties of a data collection.
|
|
1744
|
+
*
|
|
1745
|
+
* Only updates the properties specified in the request, all other properties remain unchanged.
|
|
1746
|
+
* The following properties can be updated with this method: `displayName`, `displayField`, `permissions`, `dataPermissions`. If attempting to update other, unsupported properties, this operation fails.
|
|
1747
|
+
*
|
|
1748
|
+
* To update properties in a collection's `fields`array, use [Patch Data Collection Field](https://dev.wix.com/docs/api-reference/business-solutions/cms/collection-management/data-collections/patch-data-collection-field).
|
|
1749
|
+
* To add or remove `plugins`, use [Add Data Collection Plugin](https://dev.wix.com/docs/api-reference/business-solutions/cms/collection-management/data-collections/add-data-collection-plugin) or [Delete Data Collection Plugin](https://dev.wix.com/docs/api-reference/business-solutions/cms/collection-management/data-collections/delete-data-collection-plugin).
|
|
1750
|
+
* @param _id - Collection ID. For example, `my-first-collection`. May include a namespace.
|
|
1751
|
+
* @public
|
|
1752
|
+
* @documentationMaturity preview
|
|
1753
|
+
* @requiredField _id
|
|
1754
|
+
* @requiredField dataCollection
|
|
1755
|
+
* @permissionId WIX_DATA.UPDATE_COLLECTION
|
|
1756
|
+
* @applicableIdentity APP
|
|
1757
|
+
* @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.PatchDataCollection
|
|
1758
|
+
*/
|
|
1759
|
+
declare function patchDataCollection(_id: string, dataCollection: PatchDataCollection): Promise<NonNullablePaths<PatchDataCollectionResponse, `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.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>>;
|
|
1737
1760
|
interface PatchDataCollection {
|
|
1738
1761
|
/**
|
|
1739
1762
|
* Collection ID. For example, `my-first-collection`. May include a namespace.
|
|
@@ -1840,7 +1863,16 @@ interface CreateDataCollectionFieldOptions {
|
|
|
1840
1863
|
field: Field;
|
|
1841
1864
|
}
|
|
1842
1865
|
/**
|
|
1843
|
-
* Updates
|
|
1866
|
+
* Updates properties in a [data collection's](https://dev.wix.com/docs/api-reference/business-solutions/cms/collection-management/data-collections/create-data-collection) `fields` array.
|
|
1867
|
+
*
|
|
1868
|
+
* <blockquote class="important">
|
|
1869
|
+
* <strong>Important:</strong>
|
|
1870
|
+
*
|
|
1871
|
+
* After `fields` is updated, it only contains the properties included in the Update Data Collection Field request.
|
|
1872
|
+
* If the existing `fields` array has properties with values and those properties aren't included in the updated details, their values are lost.<br/><br/>
|
|
1873
|
+
*
|
|
1874
|
+
* To update only specific properties in the array without affecting others, use [Patch Data Collection Field](https://dev.wix.com/docs/api-reference/business-solutions/cms/collection-management/data-collections/patch-data-collection-field).
|
|
1875
|
+
* </blockquote>
|
|
1844
1876
|
* @param dataCollectionId - ID of the data collection to update.
|
|
1845
1877
|
* @public
|
|
1846
1878
|
* @documentationMaturity preview
|
|
@@ -1883,6 +1915,8 @@ interface DeleteDataCollectionFieldOptions {
|
|
|
1883
1915
|
}
|
|
1884
1916
|
/**
|
|
1885
1917
|
* Adds a plugin to a data collection.
|
|
1918
|
+
*
|
|
1919
|
+
* If a plugin of the same type already exists in the collection, this operation fails.
|
|
1886
1920
|
* @param dataCollectionId - ID of the data collection to update.
|
|
1887
1921
|
* @public
|
|
1888
1922
|
* @documentationMaturity preview
|
|
@@ -1898,12 +1932,14 @@ declare function addDataCollectionPlugin(dataCollectionId: string, options: NonN
|
|
|
1898
1932
|
interface AddDataCollectionPluginOptions {
|
|
1899
1933
|
/**
|
|
1900
1934
|
* Plugin to add to the collection. Must include the plugin type and any type-specific configuration.
|
|
1901
|
-
* If a plugin of the same type already exists, this operation
|
|
1935
|
+
* If a plugin of the same type already exists in the collection, this operation fails.
|
|
1902
1936
|
*/
|
|
1903
1937
|
plugin: Plugin;
|
|
1904
1938
|
}
|
|
1905
1939
|
/**
|
|
1906
|
-
*
|
|
1940
|
+
* Removes a plugin from a data collection.
|
|
1941
|
+
*
|
|
1942
|
+
* Removing a plugin disables its functionality for the collection.
|
|
1907
1943
|
* @param dataCollectionId - ID of the data collection to update.
|
|
1908
1944
|
* @public
|
|
1909
1945
|
* @documentationMaturity preview
|
|
@@ -1920,9 +1956,14 @@ interface DeleteDataCollectionPluginOptions {
|
|
|
1920
1956
|
pluginType: PluginTypeWithLiterals;
|
|
1921
1957
|
}
|
|
1922
1958
|
/**
|
|
1923
|
-
*
|
|
1959
|
+
* Updates specified properties in a [data collection's](https://dev.wix.com/docs/api-reference/business-solutions/cms/collection-management/data-collections/create-data-collection) `fields` array.
|
|
1960
|
+
*
|
|
1961
|
+
* Only updates the properties specified in the request, all other properties remain unchanged.
|
|
1962
|
+
* The following properties can be updated with this method: `displayName`, `type`, `typeMetadata`, `encrypted`, `description`. If attempting to update `key` or other unsupported properties, this operation fails.
|
|
1963
|
+
*
|
|
1964
|
+
* To update properties in a data collection other than `fields`, use [Patch Data Collection](https://dev.wix.com/docs/api-reference/business-solutions/cms/collection-management/data-collections/patch-data-collection).
|
|
1924
1965
|
* @param dataCollectionId - ID of the data collection to update.
|
|
1925
|
-
* @param field - Field to
|
|
1966
|
+
* @param field - Field to update.
|
|
1926
1967
|
* @public
|
|
1927
1968
|
* @documentationMaturity preview
|
|
1928
1969
|
* @requiredField dataCollectionId
|
|
@@ -1933,4 +1974,4 @@ interface DeleteDataCollectionPluginOptions {
|
|
|
1933
1974
|
*/
|
|
1934
1975
|
declare function patchDataCollectionField(dataCollectionId: string, field: Field): Promise<NonNullablePaths<PatchDataCollectionFieldResponse, `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.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>>;
|
|
1935
1976
|
|
|
1936
|
-
export { AccessLevel, type AccessLevelWithLiterals, type ActionEvent, type AddDataCollectionPluginOptions, type AddDataCollectionPluginRequest, type AddDataCollectionPluginResponse, type AllowedDataPermissions, type AppOptions, type ApplicationError, type ArraySizeRange, type BulkGetDataCollectionsPageBySnapshotsRequest, type BulkGetDataCollectionsPageBySnapshotsRequestTenantModeOptionsOneOf, 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 DeleteDataCollectionPluginOptions, type DeleteDataCollectionPluginRequest, type DeleteDataCollectionPluginResponse, 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 PatchDataCollection, type PatchDataCollectionFieldRequest, type PatchDataCollectionFieldResponse, type PatchDataCollectionRequest, type PatchDataCollectionResponse, 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 Slug, 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, addDataCollectionPlugin, createDataCollection, createDataCollectionField, deleteDataCollection, deleteDataCollectionField, deleteDataCollectionPlugin, getDataCollection, listDataCollections, patchDataCollectionField, updateDataCollection, updateDataCollectionField };
|
|
1977
|
+
export { AccessLevel, type AccessLevelWithLiterals, type ActionEvent, type AddDataCollectionPluginOptions, type AddDataCollectionPluginRequest, type AddDataCollectionPluginResponse, type AllowedDataPermissions, type AppOptions, type ApplicationError, type ArraySizeRange, type BulkGetDataCollectionsPageBySnapshotsRequest, type BulkGetDataCollectionsPageBySnapshotsRequestTenantModeOptionsOneOf, 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 DeleteDataCollectionPluginOptions, type DeleteDataCollectionPluginRequest, type DeleteDataCollectionPluginResponse, 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 PatchDataCollection, type PatchDataCollectionFieldRequest, type PatchDataCollectionFieldResponse, type PatchDataCollectionRequest, type PatchDataCollectionResponse, 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 Slug, 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, addDataCollectionPlugin, createDataCollection, createDataCollectionField, deleteDataCollection, deleteDataCollectionField, deleteDataCollectionPlugin, getDataCollection, listDataCollections, patchDataCollection, patchDataCollectionField, updateDataCollection, updateDataCollectionField };
|
|
@@ -883,7 +883,7 @@ function patchDataCollectionField(payload) {
|
|
|
883
883
|
]);
|
|
884
884
|
const metadata = {
|
|
885
885
|
entityFqdn: "wix.data.v2.data_collection",
|
|
886
|
-
method: "
|
|
886
|
+
method: "PATCH",
|
|
887
887
|
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.PatchDataCollectionField",
|
|
888
888
|
packageName: PACKAGE_NAME,
|
|
889
889
|
migrationOptions: {
|