@contentchef/contentchef-types 2.6.0-alpha.0 → 2.6.0
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/dist/api/AccessToken.d.ts +7 -7
- package/dist/api/AuditLog.d.ts +12 -12
- package/dist/api/AuditLog.js +3 -3
- package/dist/api/Author.d.ts +1 -1
- package/dist/api/Channel.d.ts +12 -12
- package/dist/api/Content.d.ts +53 -33
- package/dist/api/Content.js +3 -3
- package/dist/api/ContentDefinition.d.ts +31 -23
- package/dist/api/ContentDefinition.js +1 -1
- package/dist/api/ContentDefinitionSchema.d.ts +48 -48
- package/dist/api/ContentDefinitionSchema.js +3 -3
- package/dist/api/ContentRepository.d.ts +16 -16
- package/dist/api/ContentTag.d.ts +2 -2
- package/dist/api/ContentTranslation.d.ts +15 -15
- package/dist/api/ContentTranslation.js +1 -1
- package/dist/api/Extension.d.ts +8 -8
- package/dist/api/Invites.d.ts +2 -2
- package/dist/api/MediaGallery.d.ts +34 -34
- package/dist/api/PublishedContent.d.ts +14 -14
- package/dist/api/PublishingRequest.d.ts +7 -7
- package/dist/api/PublishingRequest.js +1 -1
- package/dist/api/Space.d.ts +21 -21
- package/dist/api/Subscription.d.ts +27 -27
- package/dist/api/Subscription.js +4 -4
- package/dist/api/User.d.ts +11 -11
- package/dist/api/UserConsents.d.ts +7 -7
- package/dist/api/UserConsents.js +1 -1
- package/dist/api/UserPermission.d.ts +3 -3
- package/dist/api/UserPermission.js +2 -2
- package/dist/api/Webhooks.d.ts +14 -13
- package/dist/api/Webhooks.js +3 -2
- package/dist/api/common.d.ts +1 -1
- package/dist/api/common.js +1 -1
- package/dist/api/index.js +5 -1
- package/dist/extension/index.d.ts +10 -10
- package/dist/extension/index.js +1 -1
- package/dist/index.js +5 -1
- package/lib/api/Content.ts +25 -0
- package/lib/api/ContentDefinition.ts +10 -0
- package/lib/api/ContentDefinitionSchema.ts +2 -2
- package/lib/api/Webhooks.ts +2 -1
- package/package.json +3 -4
- package/dist/.DS_Store +0 -0
package/dist/api/ContentTag.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This type represent the data needed to make a list content tags API request
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
4
|
+
export type ListContentTagsRequest = {
|
|
5
5
|
/**
|
|
6
6
|
* The data to filter the request
|
|
7
7
|
*/
|
|
@@ -15,4 +15,4 @@ export declare type ListContentTagsRequest = {
|
|
|
15
15
|
/**
|
|
16
16
|
* This type represent the response of a list content tag API request
|
|
17
17
|
*/
|
|
18
|
-
export
|
|
18
|
+
export type ListContentTagsResponse = string[];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { AuthorResponse } from './Author';
|
|
2
2
|
import { ContentId, ContentResponse, FieldPath } from './Content';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type ContentTranslationId = number;
|
|
4
|
+
export type FieldTranslation = {
|
|
5
5
|
key: string;
|
|
6
6
|
path: FieldPath;
|
|
7
7
|
value: string;
|
|
8
8
|
checksum: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type ContentTranslation = {
|
|
11
11
|
id: ContentTranslationId;
|
|
12
12
|
spaceId: string;
|
|
13
13
|
locale: string;
|
|
@@ -19,42 +19,42 @@ export declare type ContentTranslation = {
|
|
|
19
19
|
content: ContentResponse;
|
|
20
20
|
status: ContentTranslationStatus;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export type GetContentTranslationRequest = {
|
|
23
23
|
contentId: ContentId;
|
|
24
24
|
locale: string;
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type GetContentTranslationResponse = ContentTranslation & {
|
|
27
27
|
translatedContent: ContentResponse;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type CreateContentTranslationRequest = {
|
|
30
30
|
contentId: ContentId;
|
|
31
31
|
locale: string;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
34
|
-
export
|
|
33
|
+
export type CreateContentTranslationResponse = ContentTranslation;
|
|
34
|
+
export type UpdateContentTranslationRequest = {
|
|
35
35
|
contentId: ContentId;
|
|
36
36
|
locale: string;
|
|
37
37
|
translations: Pick<FieldTranslation, 'path' | 'value'>[];
|
|
38
38
|
checksum: string;
|
|
39
39
|
};
|
|
40
|
-
export
|
|
40
|
+
export type UpdateContentTranslationResponse = ContentTranslation;
|
|
41
41
|
export declare enum ContentTranslationStatus {
|
|
42
42
|
UPTODATE = 0,
|
|
43
43
|
TO_VERIFY = 1,
|
|
44
44
|
INCOMPLETE = 2,
|
|
45
45
|
MISSING = 3
|
|
46
46
|
}
|
|
47
|
-
export
|
|
47
|
+
export type ListContentTranslationRequest = {
|
|
48
48
|
contentId: ContentId;
|
|
49
49
|
};
|
|
50
|
-
export
|
|
51
|
-
export
|
|
50
|
+
export type ListContentTranslationResponse = ContentTranslation[];
|
|
51
|
+
export type DeleteContentTranslationRequest = {
|
|
52
52
|
contentId: ContentId;
|
|
53
53
|
locale: string;
|
|
54
54
|
};
|
|
55
|
-
export
|
|
56
|
-
export
|
|
55
|
+
export type DeleteContentTranslationResponse = boolean;
|
|
56
|
+
export type CleanContentTranslationRequest = {
|
|
57
57
|
contentId: ContentId;
|
|
58
58
|
locales: string[];
|
|
59
59
|
};
|
|
60
|
-
export
|
|
60
|
+
export type CleanContentTranslationResponse = boolean;
|
|
@@ -7,4 +7,4 @@ var ContentTranslationStatus;
|
|
|
7
7
|
ContentTranslationStatus[ContentTranslationStatus["TO_VERIFY"] = 1] = "TO_VERIFY";
|
|
8
8
|
ContentTranslationStatus[ContentTranslationStatus["INCOMPLETE"] = 2] = "INCOMPLETE";
|
|
9
9
|
ContentTranslationStatus[ContentTranslationStatus["MISSING"] = 3] = "MISSING";
|
|
10
|
-
})(ContentTranslationStatus
|
|
10
|
+
})(ContentTranslationStatus || (exports.ContentTranslationStatus = ContentTranslationStatus = {}));
|
package/dist/api/Extension.d.ts
CHANGED
|
@@ -6,25 +6,25 @@ export interface Extension {
|
|
|
6
6
|
id: string;
|
|
7
7
|
supportedTypes: string[];
|
|
8
8
|
}
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
9
|
+
export type ListExtensionResponse = Extension[];
|
|
10
|
+
export type ListExtensionRequest = {};
|
|
11
|
+
export type GetExtensionRequest = {
|
|
12
12
|
id: string;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
14
|
+
export type GetExtensionResponse = Extension;
|
|
15
|
+
export type UpdateExtensionRequest = {
|
|
16
16
|
id: string;
|
|
17
17
|
name: string;
|
|
18
18
|
extensionURL: string;
|
|
19
19
|
supportedTypes: string[];
|
|
20
20
|
skipValidation?: boolean;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
23
|
-
export
|
|
22
|
+
export type UpdateExtensionResponse = Extension;
|
|
23
|
+
export type CreateExtensionRequest = {
|
|
24
24
|
mnemonicId: string;
|
|
25
25
|
name: string;
|
|
26
26
|
extensionURL: string;
|
|
27
27
|
supportedTypes: string[];
|
|
28
28
|
skipValidation?: boolean;
|
|
29
29
|
};
|
|
30
|
-
export
|
|
30
|
+
export type CreateExtensionResponse = Extension;
|
package/dist/api/Invites.d.ts
CHANGED
|
@@ -66,11 +66,11 @@ export interface GetRequest {
|
|
|
66
66
|
/**
|
|
67
67
|
* This type represent the response of a list invite for space API request
|
|
68
68
|
*/
|
|
69
|
-
export
|
|
69
|
+
export type ListForSpaceResponse = Array<UserInvite>;
|
|
70
70
|
/**
|
|
71
71
|
* This type represent the response of a list invite for user API request
|
|
72
72
|
*/
|
|
73
|
-
export
|
|
73
|
+
export type ListForUserResponse = Array<UserInvite>;
|
|
74
74
|
/**
|
|
75
75
|
* This type represent the data needed to make a revoke invite API request
|
|
76
76
|
*/
|
|
@@ -4,7 +4,7 @@ import { PagedListResponse } from './common';
|
|
|
4
4
|
* This type describe the result of a list request on media
|
|
5
5
|
* @template T The type of media requested
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
7
|
+
export type PagedMediaResponse<T> = {
|
|
8
8
|
/**
|
|
9
9
|
* The list of items requested, where T is the type of media requested
|
|
10
10
|
*/
|
|
@@ -21,11 +21,11 @@ export declare type PagedMediaResponse<T> = {
|
|
|
21
21
|
/**
|
|
22
22
|
* The media gallery unique id
|
|
23
23
|
*/
|
|
24
|
-
export
|
|
24
|
+
export type MediaGalleryId = number;
|
|
25
25
|
/**
|
|
26
26
|
* This type describe a media gallery information
|
|
27
27
|
*/
|
|
28
|
-
export
|
|
28
|
+
export type MediaGallery = {
|
|
29
29
|
/**
|
|
30
30
|
* The media gallery unique id
|
|
31
31
|
*/
|
|
@@ -78,11 +78,11 @@ export declare type MediaGallery = {
|
|
|
78
78
|
/**
|
|
79
79
|
* This is the media unique id
|
|
80
80
|
*/
|
|
81
|
-
export
|
|
81
|
+
export type MediaPublicId = string;
|
|
82
82
|
/**
|
|
83
83
|
* This type represent a media information
|
|
84
84
|
*/
|
|
85
|
-
export
|
|
85
|
+
export type Media = {
|
|
86
86
|
/**
|
|
87
87
|
* The aspect radio of the media
|
|
88
88
|
*/
|
|
@@ -136,7 +136,7 @@ export declare type Media = {
|
|
|
136
136
|
/**
|
|
137
137
|
* This type represent all possible filters used to retrieve a list of media gallery
|
|
138
138
|
*/
|
|
139
|
-
export
|
|
139
|
+
export type ListMediaGalleryFilters = {
|
|
140
140
|
/**
|
|
141
141
|
* This filter is used to search a media gallery that contain the value inserted
|
|
142
142
|
*/
|
|
@@ -149,7 +149,7 @@ export declare type ListMediaGalleryFilters = {
|
|
|
149
149
|
/**
|
|
150
150
|
* This type represent the data needed to make a get media gallery API request
|
|
151
151
|
*/
|
|
152
|
-
export
|
|
152
|
+
export type GetMediaGalleryRequest = {
|
|
153
153
|
/**
|
|
154
154
|
* The media gallery unique id
|
|
155
155
|
*/
|
|
@@ -158,11 +158,11 @@ export declare type GetMediaGalleryRequest = {
|
|
|
158
158
|
/**
|
|
159
159
|
* This type represent the response of the get media gallery API request
|
|
160
160
|
*/
|
|
161
|
-
export
|
|
161
|
+
export type GetMediaGalleryResponse = MediaGallery;
|
|
162
162
|
/**
|
|
163
163
|
* This type represent the data needed to make a list media gallery API request
|
|
164
164
|
*/
|
|
165
|
-
export
|
|
165
|
+
export type ListMediaGalleryRequest = {
|
|
166
166
|
/**
|
|
167
167
|
* The number of media galleries to skip
|
|
168
168
|
*/
|
|
@@ -179,11 +179,11 @@ export declare type ListMediaGalleryRequest = {
|
|
|
179
179
|
/**
|
|
180
180
|
* This type represent the response of the list media gallery api request
|
|
181
181
|
*/
|
|
182
|
-
export
|
|
182
|
+
export type ListMediaGalleryResponse = PagedListResponse<MediaGallery>;
|
|
183
183
|
/**
|
|
184
184
|
* This type represent the data needed to make a create media gallery API request
|
|
185
185
|
*/
|
|
186
|
-
export
|
|
186
|
+
export type CreateMediaGalleryRequest = {
|
|
187
187
|
/**
|
|
188
188
|
* THe name of the media gallery
|
|
189
189
|
*/
|
|
@@ -200,11 +200,11 @@ export declare type CreateMediaGalleryRequest = {
|
|
|
200
200
|
/**
|
|
201
201
|
* This type represent the response of the create media gallery API request
|
|
202
202
|
*/
|
|
203
|
-
export
|
|
203
|
+
export type CreateMediaGalleryResponse = MediaGallery;
|
|
204
204
|
/**
|
|
205
205
|
* This type represent the data needed to make a delete media gallery API request
|
|
206
206
|
*/
|
|
207
|
-
export
|
|
207
|
+
export type DeleteMediaGalleryRequest = {
|
|
208
208
|
/**
|
|
209
209
|
* The media gallery unique id
|
|
210
210
|
*/
|
|
@@ -213,7 +213,7 @@ export declare type DeleteMediaGalleryRequest = {
|
|
|
213
213
|
/**
|
|
214
214
|
* This type represent the response of the delete media gallery API request
|
|
215
215
|
*/
|
|
216
|
-
export
|
|
216
|
+
export type DeleteMediaGalleryResponse = Pick<MediaGallery, Exclude<keyof MediaGallery, keyof {
|
|
217
217
|
id: number;
|
|
218
218
|
author: AuthorResponse;
|
|
219
219
|
latestContributor: AuthorResponse;
|
|
@@ -221,7 +221,7 @@ export declare type DeleteMediaGalleryResponse = Pick<MediaGallery, Exclude<keyo
|
|
|
221
221
|
/**
|
|
222
222
|
* This type represent the data needed to make an update media gallery API request
|
|
223
223
|
*/
|
|
224
|
-
export
|
|
224
|
+
export type UpdateMediaGalleryRequest = {
|
|
225
225
|
/**
|
|
226
226
|
* The media gallery unique id
|
|
227
227
|
*/
|
|
@@ -246,11 +246,11 @@ export declare type UpdateMediaGalleryRequest = {
|
|
|
246
246
|
/**
|
|
247
247
|
* This type represent the response of an update media gallery API request
|
|
248
248
|
*/
|
|
249
|
-
export
|
|
249
|
+
export type UpdateMediaGalleryResponse = MediaGallery;
|
|
250
250
|
/**
|
|
251
251
|
* This type represent the data needed to make a verify media API request
|
|
252
252
|
*/
|
|
253
|
-
export
|
|
253
|
+
export type VerifyMediaRequest = {
|
|
254
254
|
/**
|
|
255
255
|
* The media gallery unique id
|
|
256
256
|
*/
|
|
@@ -271,13 +271,13 @@ export declare type VerifyMediaRequest = {
|
|
|
271
271
|
/**
|
|
272
272
|
* This type represent the response of a verify media API request
|
|
273
273
|
*/
|
|
274
|
-
export
|
|
274
|
+
export type VerifyMediaResponse = {
|
|
275
275
|
valid: boolean;
|
|
276
276
|
};
|
|
277
277
|
/**
|
|
278
278
|
* This type represent the data needed to make a lit media gallery folder API request
|
|
279
279
|
*/
|
|
280
|
-
export
|
|
280
|
+
export type ListMediaGalleryFoldersRequest = {
|
|
281
281
|
/**
|
|
282
282
|
* The media gallery unique id
|
|
283
283
|
*/
|
|
@@ -290,7 +290,7 @@ export declare type ListMediaGalleryFoldersRequest = {
|
|
|
290
290
|
/**
|
|
291
291
|
* This type represent the structure of a folder
|
|
292
292
|
*/
|
|
293
|
-
export
|
|
293
|
+
export type Folder = {
|
|
294
294
|
/**
|
|
295
295
|
* The name of the folder
|
|
296
296
|
*/
|
|
@@ -303,7 +303,7 @@ export declare type Folder = {
|
|
|
303
303
|
/**
|
|
304
304
|
* This type represent the response of a list media gallery folder API request
|
|
305
305
|
*/
|
|
306
|
-
export
|
|
306
|
+
export type ListMediaGalleryFoldersResponse = {
|
|
307
307
|
/**
|
|
308
308
|
* A list of folders
|
|
309
309
|
*/
|
|
@@ -312,7 +312,7 @@ export declare type ListMediaGalleryFoldersResponse = {
|
|
|
312
312
|
/**
|
|
313
313
|
* This type represent the data needed to make a list media API request
|
|
314
314
|
*/
|
|
315
|
-
export
|
|
315
|
+
export type ListMediaRequest = {
|
|
316
316
|
/**
|
|
317
317
|
* The media gallery unique id
|
|
318
318
|
*/
|
|
@@ -345,11 +345,11 @@ export declare type ListMediaRequest = {
|
|
|
345
345
|
/**
|
|
346
346
|
* This type represent the response of a list media API request
|
|
347
347
|
*/
|
|
348
|
-
export
|
|
348
|
+
export type ListMediaResponse = PagedMediaResponse<Media>;
|
|
349
349
|
/**
|
|
350
350
|
* This type represent the data needed to make a get media API request
|
|
351
351
|
*/
|
|
352
|
-
export
|
|
352
|
+
export type GetMediaRequest = {
|
|
353
353
|
/**
|
|
354
354
|
* The media gallery unique id
|
|
355
355
|
*/
|
|
@@ -366,11 +366,11 @@ export declare type GetMediaRequest = {
|
|
|
366
366
|
/**
|
|
367
367
|
* This type represent the response of a get media API request
|
|
368
368
|
*/
|
|
369
|
-
export
|
|
369
|
+
export type GetMediaResponse = Media;
|
|
370
370
|
/**
|
|
371
371
|
* This type represent the data needed to make an upload media API request
|
|
372
372
|
*/
|
|
373
|
-
export
|
|
373
|
+
export type UploadMediaRequest = {
|
|
374
374
|
/**
|
|
375
375
|
* The media gallery unique id
|
|
376
376
|
*/
|
|
@@ -399,7 +399,7 @@ export declare type UploadMediaRequest = {
|
|
|
399
399
|
/**
|
|
400
400
|
* This type represent the response of a upload media API request
|
|
401
401
|
*/
|
|
402
|
-
export
|
|
402
|
+
export type UploadMediaResponse = {
|
|
403
403
|
/**
|
|
404
404
|
* This property is a boolean that determines whether or not a media requires an additional step
|
|
405
405
|
*/
|
|
@@ -440,7 +440,7 @@ export declare type UploadMediaResponse = {
|
|
|
440
440
|
/**
|
|
441
441
|
* This type represent the data needed to make an update media API request
|
|
442
442
|
*/
|
|
443
|
-
export
|
|
443
|
+
export type UpdateMediaRequest = {
|
|
444
444
|
/**
|
|
445
445
|
* The media gallery unique id where the media is located
|
|
446
446
|
*/
|
|
@@ -461,7 +461,7 @@ export declare type UpdateMediaRequest = {
|
|
|
461
461
|
/**
|
|
462
462
|
* This type represent the data needed to make a list media tag API request
|
|
463
463
|
*/
|
|
464
|
-
export
|
|
464
|
+
export type ListMediaTagRequest = {
|
|
465
465
|
/**
|
|
466
466
|
* The value that the tag must contain
|
|
467
467
|
*/
|
|
@@ -470,21 +470,21 @@ export declare type ListMediaTagRequest = {
|
|
|
470
470
|
/**
|
|
471
471
|
* This type represent the response of a list media tag API request
|
|
472
472
|
*/
|
|
473
|
-
export
|
|
473
|
+
export type ListMediaTagResponse = {
|
|
474
474
|
tags: string[];
|
|
475
475
|
};
|
|
476
476
|
/**
|
|
477
477
|
* This type represent the response of a upload media API request
|
|
478
478
|
*/
|
|
479
|
-
export
|
|
479
|
+
export type UpdateMediaResponse = Media;
|
|
480
480
|
/**
|
|
481
481
|
* This type represent the possible type of media accepted
|
|
482
482
|
*/
|
|
483
|
-
export
|
|
483
|
+
export type MediaType = 'image' | 'video' | 'raw';
|
|
484
484
|
/**
|
|
485
485
|
* Parameters needed to delete a media
|
|
486
486
|
*/
|
|
487
|
-
export
|
|
487
|
+
export type DeleteMediaRequest = {
|
|
488
488
|
/**
|
|
489
489
|
* The media gallery unique id where the media is located
|
|
490
490
|
*/
|
|
@@ -501,4 +501,4 @@ export declare type DeleteMediaRequest = {
|
|
|
501
501
|
/**
|
|
502
502
|
* Success or failure (boolean) of a delete media request
|
|
503
503
|
*/
|
|
504
|
-
export
|
|
504
|
+
export type DeleteMediaResponse = boolean;
|
|
@@ -5,19 +5,19 @@ import { ContentTranslationStatus } from './ContentTranslation';
|
|
|
5
5
|
/**
|
|
6
6
|
* The published content unique id
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type PublishedContentId = number;
|
|
9
9
|
/**
|
|
10
10
|
* The release unique id
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type ReleaseId = number;
|
|
13
13
|
/**
|
|
14
14
|
* The release item unique id
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export type ReleaseItemId = number;
|
|
17
17
|
/**
|
|
18
18
|
* This type represent the model of a release item
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export type ReleaseItem = {
|
|
21
21
|
/**
|
|
22
22
|
* The release item unique id
|
|
23
23
|
*/
|
|
@@ -78,7 +78,7 @@ export declare type ReleaseItem = {
|
|
|
78
78
|
/**
|
|
79
79
|
* This type represent the model of a release
|
|
80
80
|
*/
|
|
81
|
-
export
|
|
81
|
+
export type Release = {
|
|
82
82
|
/**
|
|
83
83
|
* The Release unique id
|
|
84
84
|
*/
|
|
@@ -99,7 +99,7 @@ export declare type Release = {
|
|
|
99
99
|
/**
|
|
100
100
|
* This type represent the data needed to make a get published content API request
|
|
101
101
|
*/
|
|
102
|
-
export
|
|
102
|
+
export type GetPublishedContentRequest = {
|
|
103
103
|
/**
|
|
104
104
|
* This published content public id
|
|
105
105
|
*/
|
|
@@ -116,7 +116,7 @@ export declare type GetPublishedContentRequest = {
|
|
|
116
116
|
/**
|
|
117
117
|
* This type represent the model of a published content
|
|
118
118
|
*/
|
|
119
|
-
export
|
|
119
|
+
export type PublishedContentResponse = {
|
|
120
120
|
/**
|
|
121
121
|
* The published content unique id
|
|
122
122
|
*/
|
|
@@ -177,7 +177,7 @@ export declare type PublishedContentResponse = {
|
|
|
177
177
|
/**
|
|
178
178
|
* This type represent the data needed to make a set stage content to live API request
|
|
179
179
|
*/
|
|
180
|
-
export
|
|
180
|
+
export type SetStageContentsToLiveRequest = {
|
|
181
181
|
/**
|
|
182
182
|
* The release id to publish to live
|
|
183
183
|
*/
|
|
@@ -186,19 +186,19 @@ export declare type SetStageContentsToLiveRequest = {
|
|
|
186
186
|
/**
|
|
187
187
|
* This type represent the response of a set stage content to live API request
|
|
188
188
|
*/
|
|
189
|
-
export
|
|
189
|
+
export type SetStageContentsToLiveResponse = {};
|
|
190
190
|
/**
|
|
191
191
|
* This type represent the data needed to make a create release API request
|
|
192
192
|
*/
|
|
193
|
-
export
|
|
193
|
+
export type CreateReleaseRequest = {};
|
|
194
194
|
/**
|
|
195
195
|
* This type represent the response of a create release API request
|
|
196
196
|
*/
|
|
197
|
-
export
|
|
197
|
+
export type CreateReleaseResponse = Release;
|
|
198
198
|
/**
|
|
199
199
|
* This type represent the data needed to make an update release API request
|
|
200
200
|
*/
|
|
201
|
-
export
|
|
201
|
+
export type UpdateReleaseRequest = {
|
|
202
202
|
/**
|
|
203
203
|
* The release unique id to update
|
|
204
204
|
*/
|
|
@@ -215,8 +215,8 @@ export declare type UpdateReleaseRequest = {
|
|
|
215
215
|
/**
|
|
216
216
|
* This type represent the response of an update release API request
|
|
217
217
|
*/
|
|
218
|
-
export
|
|
218
|
+
export type UpdateReleaseResponse = Release;
|
|
219
219
|
/**
|
|
220
220
|
* This type represent the response of a get published content API request
|
|
221
221
|
*/
|
|
222
|
-
export
|
|
222
|
+
export type GetPublishedContentResponse = PublishedContentResponse | undefined;
|
|
@@ -3,7 +3,7 @@ import { AuthorResponse } from './Author';
|
|
|
3
3
|
/**
|
|
4
4
|
* The publishing request unique id
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export type PublishingRequestId = number;
|
|
7
7
|
/**
|
|
8
8
|
* This enum represent the available publishing request status
|
|
9
9
|
*/
|
|
@@ -16,7 +16,7 @@ export declare enum PublishingStatus {
|
|
|
16
16
|
/**
|
|
17
17
|
* This type represent the data needed to make a publishing request API request
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export type PublishingRequestRequest = {
|
|
20
20
|
/**
|
|
21
21
|
* The content id to publish to stage
|
|
22
22
|
*/
|
|
@@ -29,15 +29,15 @@ export declare type PublishingRequestRequest = {
|
|
|
29
29
|
/**
|
|
30
30
|
* This type represent the data needed to make a list publishing request API request
|
|
31
31
|
*/
|
|
32
|
-
export
|
|
32
|
+
export type ListPublishingRequestsRequest = PublishingRequestRequest;
|
|
33
33
|
/**
|
|
34
34
|
* This type represent the data needed to make a create publishing request API request
|
|
35
35
|
*/
|
|
36
|
-
export
|
|
36
|
+
export type CreatePublishingRequestRequest = PublishingRequestRequest;
|
|
37
37
|
/**
|
|
38
38
|
* This type represent the model of a publishing request
|
|
39
39
|
*/
|
|
40
|
-
export
|
|
40
|
+
export type PublishingRequestResponse = {
|
|
41
41
|
/**
|
|
42
42
|
* The publishing request unique id
|
|
43
43
|
*/
|
|
@@ -114,8 +114,8 @@ export declare type PublishingRequestResponse = {
|
|
|
114
114
|
/**
|
|
115
115
|
* This type represent the response of a list publishing request API request
|
|
116
116
|
*/
|
|
117
|
-
export
|
|
117
|
+
export type ListPublishingRequestsResponse = PublishingRequestResponse[];
|
|
118
118
|
/**
|
|
119
119
|
* This type represent the response of a create publishing request API request
|
|
120
120
|
*/
|
|
121
|
-
export
|
|
121
|
+
export type CreatePublishingRequestResponse = PublishingRequestResponse;
|
|
@@ -10,4 +10,4 @@ var PublishingStatus;
|
|
|
10
10
|
PublishingStatus["PROCESSING"] = "processing";
|
|
11
11
|
PublishingStatus["PUBLISHED"] = "published";
|
|
12
12
|
PublishingStatus["FAILED"] = "failed";
|
|
13
|
-
})(PublishingStatus
|
|
13
|
+
})(PublishingStatus || (exports.PublishingStatus = PublishingStatus = {}));
|