@wix/auto_sdk_data_collections 1.0.45 → 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 +41 -14
- 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 +47 -19
- 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 +41 -14
- 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 +47 -19
- 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
|
@@ -1047,11 +1047,11 @@ interface RestoreDataCollectionResponse {
|
|
|
1047
1047
|
dataCollection?: DataCollection;
|
|
1048
1048
|
}
|
|
1049
1049
|
interface PatchDataCollectionRequest {
|
|
1050
|
-
/** Data collection to
|
|
1050
|
+
/** Data collection to update. */
|
|
1051
1051
|
dataCollection: DataCollection;
|
|
1052
1052
|
}
|
|
1053
1053
|
interface PatchDataCollectionResponse {
|
|
1054
|
-
/**
|
|
1054
|
+
/** Updated data collection. */
|
|
1055
1055
|
dataCollection?: DataCollection;
|
|
1056
1056
|
}
|
|
1057
1057
|
interface CreateDataCollectionFieldRequest {
|
|
@@ -1104,7 +1104,7 @@ interface AddDataCollectionPluginRequest {
|
|
|
1104
1104
|
dataCollectionId: string;
|
|
1105
1105
|
/**
|
|
1106
1106
|
* Plugin to add to the collection. Must include the plugin type and any type-specific configuration.
|
|
1107
|
-
* If a plugin of the same type already exists, this operation
|
|
1107
|
+
* If a plugin of the same type already exists in the collection, this operation fails.
|
|
1108
1108
|
*/
|
|
1109
1109
|
plugin: Plugin;
|
|
1110
1110
|
}
|
|
@@ -1131,7 +1131,7 @@ interface PatchDataCollectionFieldRequest {
|
|
|
1131
1131
|
* @maxLength 256
|
|
1132
1132
|
*/
|
|
1133
1133
|
dataCollectionId: string;
|
|
1134
|
-
/** Field to
|
|
1134
|
+
/** Field to update. */
|
|
1135
1135
|
field: Field;
|
|
1136
1136
|
}
|
|
1137
1137
|
interface PatchDataCollectionFieldResponse {
|
|
@@ -1630,7 +1630,7 @@ declare function updateDataCollectionField(): __PublicMethodMetaInfo<'POST', {},
|
|
|
1630
1630
|
declare function deleteDataCollectionField(): __PublicMethodMetaInfo<'POST', {}, DeleteDataCollectionFieldRequest$1, DeleteDataCollectionFieldRequest, DeleteDataCollectionFieldResponse$1, DeleteDataCollectionFieldResponse>;
|
|
1631
1631
|
declare function addDataCollectionPlugin(): __PublicMethodMetaInfo<'POST', {}, AddDataCollectionPluginRequest$1, AddDataCollectionPluginRequest, AddDataCollectionPluginResponse$1, AddDataCollectionPluginResponse>;
|
|
1632
1632
|
declare function deleteDataCollectionPlugin(): __PublicMethodMetaInfo<'POST', {}, DeleteDataCollectionPluginRequest$1, DeleteDataCollectionPluginRequest, DeleteDataCollectionPluginResponse$1, DeleteDataCollectionPluginResponse>;
|
|
1633
|
-
declare function patchDataCollectionField(): __PublicMethodMetaInfo<'
|
|
1633
|
+
declare function patchDataCollectionField(): __PublicMethodMetaInfo<'PATCH', {
|
|
1634
1634
|
dataCollectionId: string;
|
|
1635
1635
|
}, PatchDataCollectionFieldRequest$1, PatchDataCollectionFieldRequest, PatchDataCollectionFieldResponse$1, PatchDataCollectionFieldResponse>;
|
|
1636
1636
|
|
|
@@ -876,7 +876,7 @@ function patchDataCollectionField(payload) {
|
|
|
876
876
|
]);
|
|
877
877
|
const metadata = {
|
|
878
878
|
entityFqdn: "wix.data.v2.data_collection",
|
|
879
|
-
method: "
|
|
879
|
+
method: "PATCH",
|
|
880
880
|
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.PatchDataCollectionField",
|
|
881
881
|
packageName: PACKAGE_NAME,
|
|
882
882
|
migrationOptions: {
|
|
@@ -1330,7 +1330,7 @@ function patchDataCollectionField2() {
|
|
|
1330
1330
|
};
|
|
1331
1331
|
return {
|
|
1332
1332
|
getUrl,
|
|
1333
|
-
httpMethod: "
|
|
1333
|
+
httpMethod: "PATCH",
|
|
1334
1334
|
path: "/v2/collections/{dataCollectionId}/patch-field",
|
|
1335
1335
|
pathParams: { dataCollectionId: "dataCollectionId" },
|
|
1336
1336
|
__requestType: null,
|