@contentchef/contentchef-types 2.6.1-alpha.0 → 3.0.0-alpha.1

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.
@@ -195,7 +195,16 @@ export type CreateReleaseRequest = {};
195
195
  /**
196
196
  * This type represent the response of a create release API request
197
197
  */
198
- export type CreateReleaseResponse = Release;
198
+ export type CreateReleaseResponse = {
199
+ /**
200
+ * The release unique id
201
+ */
202
+ releaseId: ReleaseId;
203
+ /**
204
+ * The number of items in the release
205
+ */
206
+ releaseItemsCount: number;
207
+ };
199
208
  /**
200
209
  * This type represent the data needed to make an update release API request
201
210
  */
@@ -237,6 +246,12 @@ export type ListReleaseItemsRequest = {
237
246
  * The contents to take (used to paginate the result)
238
247
  */
239
248
  take: number;
249
+ /**
250
+ * The filters to apply to the list of release items
251
+ */
252
+ filters?: {
253
+ search?: string;
254
+ };
240
255
  };
241
256
  /**
242
257
  * This type represent the response of the list release items API request
@@ -205,7 +205,16 @@ export type CreateReleaseRequest = {};
205
205
  /**
206
206
  * This type represent the response of a create release API request
207
207
  */
208
- export type CreateReleaseResponse = Release;
208
+ export type CreateReleaseResponse = {
209
+ /**
210
+ * The release unique id
211
+ */
212
+ releaseId: ReleaseId;
213
+ /**
214
+ * The number of items in the release
215
+ */
216
+ releaseItemsCount: number;
217
+ };
209
218
 
210
219
  /**
211
220
  * This type represent the data needed to make an update release API request
@@ -251,6 +260,13 @@ export type ListReleaseItemsRequest = {
251
260
  * The contents to take (used to paginate the result)
252
261
  */
253
262
  take: number;
263
+
264
+ /**
265
+ * The filters to apply to the list of release items
266
+ */
267
+ filters?: {
268
+ search?: string;
269
+ };
254
270
  };
255
271
 
256
272
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentchef/contentchef-types",
3
- "version": "2.6.1-alpha.0",
3
+ "version": "3.0.0-alpha.1",
4
4
  "description": "ContentChef types",
5
5
  "author": "PierpaoloIannone <piannone@byte-code.com>",
6
6
  "homepage": "https://github.com/ContentChef/contentchef-management-js-client#readme",