@contentchef/contentchef-types 2.6.0-alpha.0 → 2.6.1-alpha.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 +42 -20
- 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/PublishedContent.ts +184 -160
- package/lib/api/Webhooks.ts +2 -1
- package/package.json +3 -4
- package/dist/.DS_Store +0 -0
package/dist/api/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -28,15 +28,15 @@ export declare enum Message {
|
|
|
28
28
|
UPDATE_PUBLISHING_CHANNEL = "updatePublishingChannel",
|
|
29
29
|
PUBLISH_CONTENT = "publishContent"
|
|
30
30
|
}
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
31
|
+
export type SystemMessage = Message.CONNECT | Message.RESULT | Message.ERROR;
|
|
32
|
+
export type UIMessage = Message.RESIZE;
|
|
33
|
+
export type FieldMessage = Message.GET_VALUE | Message.SET_VALUE | Message.SCHEMA_FIELD_ERROR | Message.VALUE_CHANGED;
|
|
34
|
+
export type APIContentMessage = Message.GET_CONTENT | Message.LIST_CONTENT | Message.CREATE_CONTENT | Message.UPDATE_CONTENT;
|
|
35
|
+
export type APIDefinitionMessage = Message.GET_DEFINITION | Message.LIST_DEFINITION | Message.CREATE_DEFINITION | Message.UPDATE_DEFINITION;
|
|
36
|
+
export type APIRepositoryMessage = Message.GET_REPOSITORY | Message.LIST_REPOSITORY | Message.CREATE_REPOSITORY | Message.UPDATE_REPOSITORY;
|
|
37
|
+
export type APIPublishingChannelMessage = Message.GET_PUBLISHING_CHANNEL | Message.LIST_PUBLISHING_CHANNEL | Message.CREATE_PUBLISHING_CHANNEL | Message.UPDATE_PUBLISHING_CHANNEL;
|
|
38
|
+
export type APIPublishMessage = Message.PUBLISH_CONTENT;
|
|
39
|
+
export type MessageType = SystemMessage | UIMessage | FieldMessage | APIContentMessage | APIDefinitionMessage | APIRepositoryMessage | APIPublishingChannelMessage | APIPublishMessage;
|
|
40
40
|
export interface MessagePayload {
|
|
41
41
|
type: Message;
|
|
42
42
|
value?: any;
|
|
@@ -60,4 +60,4 @@ export interface ContentInfo {
|
|
|
60
60
|
contentId?: number;
|
|
61
61
|
contentPublicId?: string;
|
|
62
62
|
}
|
|
63
|
-
export
|
|
63
|
+
export type System = ContentInfo & FieldInfo;
|
package/dist/extension/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/lib/api/Content.ts
CHANGED
|
@@ -218,6 +218,16 @@ export type CreateContentRequest = {
|
|
|
218
218
|
* Controls if translations should be ignored when publishing
|
|
219
219
|
*/
|
|
220
220
|
contentLocalizationSettings?: LocalizationSettings;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* will bypass content definition mnemonicId validation for every linked-content field
|
|
224
|
+
*/
|
|
225
|
+
bypassLinkedContentValidation?: boolean;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* set an identifier coming from a third party application
|
|
229
|
+
*/
|
|
230
|
+
externalIdentifier?: string;
|
|
221
231
|
};
|
|
222
232
|
|
|
223
233
|
/**
|
|
@@ -269,6 +279,16 @@ export type UpdateContentRequest = {
|
|
|
269
279
|
* Controls if translations should be ignored when publishing
|
|
270
280
|
*/
|
|
271
281
|
contentLocalizationSettings?: LocalizationSettings;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* will bypass content definition mnemonicId validation for every linked-content field
|
|
285
|
+
*/
|
|
286
|
+
bypassLinkedContentValidation?: boolean;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* set an identifier coming from a third party application
|
|
290
|
+
*/
|
|
291
|
+
externalIdentifier?: string;
|
|
272
292
|
};
|
|
273
293
|
|
|
274
294
|
/**
|
|
@@ -586,6 +606,11 @@ export type ContentResponse = {
|
|
|
586
606
|
* Content's locale
|
|
587
607
|
*/
|
|
588
608
|
locale: string;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Content's external identifier
|
|
612
|
+
*/
|
|
613
|
+
externalIdentifier?: string;
|
|
589
614
|
};
|
|
590
615
|
|
|
591
616
|
/**
|
|
@@ -109,6 +109,11 @@ export type CreateContentDefinitionRequest = {
|
|
|
109
109
|
* The content definition fields schema
|
|
110
110
|
*/
|
|
111
111
|
schema: ContentDefinitionSchema;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* will bypass content definition mnemonicId validation for every linked-content field
|
|
115
|
+
*/
|
|
116
|
+
bypassLinkedContentValidation?: boolean;
|
|
112
117
|
};
|
|
113
118
|
|
|
114
119
|
/**
|
|
@@ -131,6 +136,11 @@ export type UpdateContentDefinitionRequest = {
|
|
|
131
136
|
* The content definition fields schema
|
|
132
137
|
*/
|
|
133
138
|
schema: ContentDefinitionSchema;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* will bypass content definition mnemonicId validation for every linked-content field
|
|
142
|
+
*/
|
|
143
|
+
bypassLinkedContentValidation?: boolean;
|
|
134
144
|
};
|
|
135
145
|
|
|
136
146
|
/**
|
|
@@ -459,7 +459,7 @@ export type MediaSchemaType = TranslatableSchemaType<SchemaType<SchemaTypeIds.ME
|
|
|
459
459
|
* This type represent a number field schema type
|
|
460
460
|
* A number field can be indexed and searched when requesting the content
|
|
461
461
|
*/
|
|
462
|
-
export type NumberSchemaType = IndexableSchemaType<SchemaTypeIds.NUMBER, NumberFieldConstraints
|
|
462
|
+
export type NumberSchemaType = TranslatableSchemaType<IndexableSchemaType<SchemaTypeIds.NUMBER, NumberFieldConstraints>>;
|
|
463
463
|
/**
|
|
464
464
|
* This type represent a boolean field schema type
|
|
465
465
|
* A boolean field can be indexed and searched when requesting the content
|
|
@@ -510,7 +510,7 @@ export type IndexableSchemaTypes = TextSchemaType | LongTextSchemaType | LinkedC
|
|
|
510
510
|
/**
|
|
511
511
|
* This are all the fields that can be localized
|
|
512
512
|
*/
|
|
513
|
-
export type TranslatableSchemaTypes = TextSchemaType | LongTextSchemaType | CloudinaryPublicIdSchemaType | CloudinaryImageSchemaType | CloudinaryVideoSchemaType | CloudinaryRawSchemaType | MediaSchemaType;
|
|
513
|
+
export type TranslatableSchemaTypes = NumberSchemaType | TextSchemaType | LongTextSchemaType | CloudinaryPublicIdSchemaType | CloudinaryImageSchemaType | CloudinaryVideoSchemaType | CloudinaryRawSchemaType | MediaSchemaType;
|
|
514
514
|
|
|
515
515
|
/**
|
|
516
516
|
* This type group all the schema types of a content definition that are not indexable
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ContentId } from
|
|
2
|
-
import { AuthorResponse } from
|
|
3
|
-
import { ContentRepositoryId } from
|
|
4
|
-
import { ContentTranslationStatus } from
|
|
1
|
+
import { ContentId } from "./Content";
|
|
2
|
+
import { AuthorResponse } from "./Author";
|
|
3
|
+
import { ContentRepositoryId } from "./ContentRepository";
|
|
4
|
+
import { ContentTranslationStatus } from "./ContentTranslation";
|
|
5
|
+
import { PagedListResponse } from "./common";
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* The published content unique id
|
|
@@ -20,175 +21,175 @@ export type ReleaseItemId = number;
|
|
|
20
21
|
* This type represent the model of a release item
|
|
21
22
|
*/
|
|
22
23
|
export type ReleaseItem = {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
24
|
+
/**
|
|
25
|
+
* The release item unique id
|
|
26
|
+
*/
|
|
27
|
+
id: ReleaseItemId;
|
|
28
|
+
/**
|
|
29
|
+
* The release item related space id
|
|
30
|
+
*/
|
|
31
|
+
spaceId: string;
|
|
32
|
+
/**
|
|
33
|
+
* The release item related content name
|
|
34
|
+
*/
|
|
35
|
+
contentName: string;
|
|
36
|
+
/**
|
|
37
|
+
* The release item related content id
|
|
38
|
+
*/
|
|
39
|
+
contentId: ContentId;
|
|
40
|
+
/**
|
|
41
|
+
* The release item related content tags
|
|
42
|
+
*/
|
|
43
|
+
contentTags: string[];
|
|
44
|
+
/**
|
|
45
|
+
* The release item related content definition mnemonic id
|
|
46
|
+
*/
|
|
47
|
+
contentDefinitionMnemonicId: string;
|
|
48
|
+
/**
|
|
49
|
+
* The release item related content repository unique id
|
|
50
|
+
*/
|
|
51
|
+
contentRepositoryId: ContentRepositoryId;
|
|
52
|
+
/**
|
|
53
|
+
* The release item related content published id
|
|
54
|
+
*/
|
|
55
|
+
publishedContentId: PublishedContentId;
|
|
56
|
+
/**
|
|
57
|
+
* The release item related content public id
|
|
58
|
+
*/
|
|
59
|
+
publicId: string;
|
|
60
|
+
/**
|
|
61
|
+
* The release item related content online date
|
|
62
|
+
*/
|
|
63
|
+
onlineDate?: Date;
|
|
64
|
+
/**
|
|
65
|
+
* The release item related content offline date
|
|
66
|
+
*/
|
|
67
|
+
offlineDate?: Date;
|
|
68
|
+
/**
|
|
69
|
+
* Mark if the release item have to be publish
|
|
70
|
+
*/
|
|
71
|
+
toPublish: boolean;
|
|
71
72
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
73
|
+
/**
|
|
74
|
+
* Content`s locale
|
|
75
|
+
*/
|
|
76
|
+
contentLocale: string;
|
|
77
|
+
/**
|
|
78
|
+
* Status of the ContentTranslation (defined if content is derived from a translation)
|
|
79
|
+
*/
|
|
80
|
+
translationStatus?: ContentTranslationStatus;
|
|
80
81
|
};
|
|
81
82
|
|
|
82
83
|
/**
|
|
83
84
|
* This type represent the model of a release
|
|
84
85
|
*/
|
|
85
86
|
export type Release = {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
87
|
+
/**
|
|
88
|
+
* The Release unique id
|
|
89
|
+
*/
|
|
90
|
+
id: ReleaseId;
|
|
91
|
+
/**
|
|
92
|
+
* The release related space id
|
|
93
|
+
*/
|
|
94
|
+
spaceId: string;
|
|
95
|
+
/**
|
|
96
|
+
* The list of content item in the release
|
|
97
|
+
*/
|
|
98
|
+
releaseItems: ReleaseItem[];
|
|
99
|
+
/**
|
|
100
|
+
* Mark if the release is archived
|
|
101
|
+
*/
|
|
102
|
+
archived: boolean;
|
|
102
103
|
};
|
|
103
104
|
|
|
104
105
|
/**
|
|
105
106
|
* This type represent the data needed to make a get published content API request
|
|
106
107
|
*/
|
|
107
108
|
export type GetPublishedContentRequest = {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
109
|
+
/**
|
|
110
|
+
* This published content public id
|
|
111
|
+
*/
|
|
112
|
+
publicId: string;
|
|
113
|
+
/**
|
|
114
|
+
* The date where to find the published content
|
|
115
|
+
*/
|
|
116
|
+
targetDate?: Date;
|
|
117
|
+
/**
|
|
118
|
+
* This publishing channel of the content
|
|
119
|
+
*/
|
|
120
|
+
publishingChannel: string;
|
|
120
121
|
};
|
|
121
122
|
|
|
122
123
|
/**
|
|
123
124
|
* This type represent the model of a published content
|
|
124
125
|
*/
|
|
125
126
|
export type PublishedContentResponse = {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
127
|
+
/**
|
|
128
|
+
* The published content unique id
|
|
129
|
+
*/
|
|
130
|
+
id: PublishedContentId;
|
|
131
|
+
/**
|
|
132
|
+
* The related content unique id
|
|
133
|
+
*/
|
|
134
|
+
contentId: ContentId;
|
|
135
|
+
/**
|
|
136
|
+
* The published content current version
|
|
137
|
+
*/
|
|
138
|
+
contentVersion: number;
|
|
139
|
+
/**
|
|
140
|
+
* The publishing channels where the content is published
|
|
141
|
+
*/
|
|
142
|
+
contentChannels: string[];
|
|
143
|
+
/**
|
|
144
|
+
* The published content tags
|
|
145
|
+
*/
|
|
146
|
+
contentTags: string[];
|
|
147
|
+
/**
|
|
148
|
+
* The published content related content definition mnemonic id
|
|
149
|
+
*/
|
|
150
|
+
contentDefinitionMnemonicId: string;
|
|
151
|
+
/**
|
|
152
|
+
* The published content related content repository id
|
|
153
|
+
*/
|
|
154
|
+
contentRepositoryId: ContentRepositoryId;
|
|
155
|
+
/**
|
|
156
|
+
* The published content public id
|
|
157
|
+
*/
|
|
158
|
+
publicId: string;
|
|
159
|
+
/**
|
|
160
|
+
* The published content payload
|
|
161
|
+
*/
|
|
162
|
+
payload: object;
|
|
163
|
+
/**
|
|
164
|
+
* The published content online date
|
|
165
|
+
*/
|
|
166
|
+
onlineDate?: Date;
|
|
167
|
+
/**
|
|
168
|
+
* The published content offline date
|
|
169
|
+
*/
|
|
170
|
+
offlineDate?: Date;
|
|
171
|
+
/**
|
|
172
|
+
* The creation date of the related content
|
|
173
|
+
*/
|
|
174
|
+
createdDate: Date;
|
|
175
|
+
/**
|
|
176
|
+
* The update date of the related content
|
|
177
|
+
*/
|
|
178
|
+
lastModifiedDate: Date;
|
|
179
|
+
/**
|
|
180
|
+
* The creator of the content
|
|
181
|
+
*/
|
|
182
|
+
author: AuthorResponse;
|
|
182
183
|
};
|
|
183
184
|
|
|
184
185
|
/**
|
|
185
186
|
* This type represent the data needed to make a set stage content to live API request
|
|
186
187
|
*/
|
|
187
188
|
export type SetStageContentsToLiveRequest = {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
189
|
+
/**
|
|
190
|
+
* The release id to publish to live
|
|
191
|
+
*/
|
|
192
|
+
releaseId: ReleaseId;
|
|
192
193
|
};
|
|
193
194
|
|
|
194
195
|
/**
|
|
@@ -210,18 +211,18 @@ export type CreateReleaseResponse = Release;
|
|
|
210
211
|
* This type represent the data needed to make an update release API request
|
|
211
212
|
*/
|
|
212
213
|
export type UpdateReleaseRequest = {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
214
|
+
/**
|
|
215
|
+
* The release unique id to update
|
|
216
|
+
*/
|
|
217
|
+
releaseId: ReleaseId;
|
|
218
|
+
/**
|
|
219
|
+
* The release item to publish
|
|
220
|
+
*/
|
|
221
|
+
itemsToPromote: ReleaseItemId[];
|
|
222
|
+
/**
|
|
223
|
+
* Mark if all the puslished content in stage have to be publish to live
|
|
224
|
+
*/
|
|
225
|
+
includeAll?: boolean;
|
|
225
226
|
};
|
|
226
227
|
|
|
227
228
|
/**
|
|
@@ -233,3 +234,26 @@ export type UpdateReleaseResponse = Release;
|
|
|
233
234
|
* This type represent the response of a get published content API request
|
|
234
235
|
*/
|
|
235
236
|
export type GetPublishedContentResponse = PublishedContentResponse | undefined;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* This type represent the data needed to make a list release items API request
|
|
240
|
+
*/
|
|
241
|
+
export type ListReleaseItemsRequest = {
|
|
242
|
+
/**
|
|
243
|
+
* The release id to retrieve items from
|
|
244
|
+
*/
|
|
245
|
+
releaseId: number;
|
|
246
|
+
/**
|
|
247
|
+
* The contents to skip (used to paginate the result)
|
|
248
|
+
*/
|
|
249
|
+
skip: number;
|
|
250
|
+
/**
|
|
251
|
+
* The contents to take (used to paginate the result)
|
|
252
|
+
*/
|
|
253
|
+
take: number;
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* This type represent the response of the list release items API request
|
|
258
|
+
*/
|
|
259
|
+
export type ListReleaseItemsResponse = PagedListResponse<ReleaseItem>;
|
package/lib/api/Webhooks.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentchef/contentchef-types",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1-alpha.0",
|
|
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",
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
"url": "https://github.com/ContentChef/contentchef-management-js-client/issues"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"typescript": "^
|
|
36
|
-
}
|
|
37
|
-
"gitHead": "dd738eb3c9ee0725393bfa725d4843b533744229"
|
|
35
|
+
"typescript": "^5.9.3"
|
|
36
|
+
}
|
|
38
37
|
}
|
package/dist/.DS_Store
DELETED
|
Binary file
|