@wix/auto_sdk_data_collections 1.0.19 → 1.0.21

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.
@@ -81,29 +81,26 @@ interface RestoreDataCollectionSignature {
81
81
  [P in DataCollectionNonNullablePaths]: `dataCollection.${P}`;
82
82
  }[DataCollectionNonNullablePaths]>>;
83
83
  }
84
- /** @internal */
85
84
  declare function createDataCollectionField$1(httpClient: HttpClient): CreateDataCollectionFieldSignature;
86
85
  interface CreateDataCollectionFieldSignature {
87
86
  /**
88
87
  * Adds new field to data collection schema
89
88
  * @param - ID of data collection to update
90
89
  */
91
- (dataCollectionId: string, options: NonNullablePaths<CreateDataCollectionFieldOptions, `field`>): Promise<NonNullablePaths<CreateDataCollectionFieldResponse, {
90
+ (dataCollectionId: string, options: NonNullablePaths<CreateDataCollectionFieldOptions, `field` | `field.key` | `field.type`>): Promise<NonNullablePaths<CreateDataCollectionFieldResponse, {
92
91
  [P in DataCollectionNonNullablePaths]: `dataCollection.${P}`;
93
92
  }[DataCollectionNonNullablePaths]>>;
94
93
  }
95
- /** @internal */
96
94
  declare function updateDataCollectionField$1(httpClient: HttpClient): UpdateDataCollectionFieldSignature;
97
95
  interface UpdateDataCollectionFieldSignature {
98
96
  /**
99
97
  * Updates data collection field
100
98
  * @param - ID of data collection to update
101
99
  */
102
- (dataCollectionId: string, options: NonNullablePaths<UpdateDataCollectionFieldOptions, `field`>): Promise<NonNullablePaths<UpdateDataCollectionFieldResponse, {
100
+ (dataCollectionId: string, options: NonNullablePaths<UpdateDataCollectionFieldOptions, `field` | `field.key` | `field.type`>): Promise<NonNullablePaths<UpdateDataCollectionFieldResponse, {
103
101
  [P in DataCollectionNonNullablePaths]: `dataCollection.${P}`;
104
102
  }[DataCollectionNonNullablePaths]>>;
105
103
  }
106
- /** @internal */
107
104
  declare function deleteDataCollectionField$1(httpClient: HttpClient): DeleteDataCollectionFieldSignature;
108
105
  interface DeleteDataCollectionFieldSignature {
109
106
  /**
@@ -122,11 +119,8 @@ declare const updateDataCollection: MaybeContext<BuildRESTFunction<typeof update
122
119
  declare const deleteDataCollection: MaybeContext<BuildRESTFunction<typeof deleteDataCollection$1> & typeof deleteDataCollection$1>;
123
120
  /** @internal */
124
121
  declare const restoreDataCollection: MaybeContext<BuildRESTFunction<typeof restoreDataCollection$1> & typeof restoreDataCollection$1>;
125
- /** @internal */
126
122
  declare const createDataCollectionField: MaybeContext<BuildRESTFunction<typeof createDataCollectionField$1> & typeof createDataCollectionField$1>;
127
- /** @internal */
128
123
  declare const updateDataCollectionField: MaybeContext<BuildRESTFunction<typeof updateDataCollectionField$1> & typeof updateDataCollectionField$1>;
129
- /** @internal */
130
124
  declare const deleteDataCollectionField: MaybeContext<BuildRESTFunction<typeof deleteDataCollectionField$1> & typeof deleteDataCollectionField$1>;
131
125
 
132
126
  export { CreateDataCollectionFieldOptions, CreateDataCollectionFieldResponse, DataCollection, DeleteDataCollectionFieldOptions, DeleteDataCollectionFieldResponse, GetDataCollectionOptions, ListDataCollectionsOptions, ListDataCollectionsResponse, RestoreDataCollectionResponse, UpdateDataCollectionFieldOptions, UpdateDataCollectionFieldResponse, createDataCollection, createDataCollectionField, deleteDataCollection, deleteDataCollectionField, getDataCollection, listDataCollections, restoreDataCollection, updateDataCollection, updateDataCollectionField };