@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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +51 -13
  2. package/build/cjs/index.js +1 -1
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +57 -16
  5. package/build/cjs/index.typings.js +1 -1
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +5 -5
  8. package/build/cjs/meta.js +2 -2
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +51 -13
  11. package/build/es/index.mjs +1 -1
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +57 -16
  14. package/build/es/index.typings.mjs +1 -1
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +5 -5
  17. package/build/es/meta.mjs +2 -2
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +40 -13
  20. package/build/internal/cjs/index.js +1 -1
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +46 -17
  23. package/build/internal/cjs/index.typings.js +1 -1
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +5 -5
  26. package/build/internal/cjs/meta.js +2 -2
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +40 -13
  29. package/build/internal/es/index.mjs +1 -1
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +46 -17
  32. package/build/internal/es/index.typings.mjs +1 -1
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +5 -5
  35. package/build/internal/es/meta.mjs +2 -2
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. 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 patch. Only fields specified in the field_mask are updated. */
1050
+ /** Data collection to update. */
1051
1051
  dataCollection: DataCollection;
1052
1052
  }
1053
1053
  interface PatchDataCollectionResponse {
1054
- /** The updated data collection. */
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 will fail.
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 patch. */
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<'POST', {
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: "POST",
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: "POST",
1333
+ httpMethod: "PATCH",
1334
1334
  path: "/v2/collections/{dataCollectionId}/patch-field",
1335
1335
  pathParams: { dataCollectionId: "dataCollectionId" },
1336
1336
  __requestType: null,