@remkoj/optimizely-cms-api 6.0.0-pre9 → 6.0.0-rc.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.
- package/README.md +6 -2
- package/dist/api-client.d.ts +1 -13
- package/dist/api-client.js +1 -48
- package/dist/client/client/client.gen.js +36 -5
- package/dist/client/client/index.d.ts +1 -1
- package/dist/client/client/types.gen.d.ts +3 -10
- package/dist/client/client/utils.gen.d.ts +1 -1
- package/dist/client/client/utils.gen.js +9 -11
- package/dist/client/client.gen.js +2 -4
- package/dist/client/core/bodySerializer.gen.d.ts +16 -8
- package/dist/client/core/bodySerializer.gen.js +1 -1
- package/dist/client/core/params.gen.d.ts +10 -0
- package/dist/client/core/params.gen.js +18 -6
- package/dist/client/core/pathSerializer.gen.js +3 -11
- package/dist/client/core/queryKeySerializer.gen.js +4 -11
- package/dist/client/core/serverSentEvents.gen.js +5 -7
- package/dist/client/index.d.ts +4 -4
- package/dist/client/index.js +98 -17
- package/dist/client/sdk.gen.d.ts +211 -1
- package/dist/client/sdk.gen.js +506 -144
- package/dist/client/transformers.gen.d.ts +27 -1
- package/dist/client/transformers.gen.js +246 -46
- package/dist/client/types.gen.d.ts +1818 -44
- package/dist/client-config.js +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -2
- package/dist/version.json +2 -2
- package/package.json +9 -9
- package/dist/instance.client/client/client.gen.d.ts +0 -2
- package/dist/instance.client/client/client.gen.js +0 -208
- package/dist/instance.client/client/index.d.ts +0 -8
- package/dist/instance.client/client/index.js +0 -17
- package/dist/instance.client/client/types.gen.d.ts +0 -124
- package/dist/instance.client/client/types.gen.js +0 -3
- package/dist/instance.client/client/utils.gen.d.ts +0 -33
- package/dist/instance.client/client/utils.gen.js +0 -241
- package/dist/instance.client/client.gen.d.ts +0 -12
- package/dist/instance.client/client.gen.js +0 -9
- package/dist/instance.client/core/auth.gen.d.ts +0 -18
- package/dist/instance.client/core/auth.gen.js +0 -18
- package/dist/instance.client/core/bodySerializer.gen.d.ts +0 -17
- package/dist/instance.client/core/bodySerializer.gen.js +0 -60
- package/dist/instance.client/core/params.gen.d.ts +0 -33
- package/dist/instance.client/core/params.gen.js +0 -92
- package/dist/instance.client/core/pathSerializer.gen.d.ts +0 -33
- package/dist/instance.client/core/pathSerializer.gen.js +0 -123
- package/dist/instance.client/core/queryKeySerializer.gen.d.ts +0 -18
- package/dist/instance.client/core/queryKeySerializer.gen.js +0 -105
- package/dist/instance.client/core/serverSentEvents.gen.d.ts +0 -71
- package/dist/instance.client/core/serverSentEvents.gen.js +0 -139
- package/dist/instance.client/core/types.gen.d.ts +0 -78
- package/dist/instance.client/core/types.gen.js +0 -3
- package/dist/instance.client/core/utils.gen.d.ts +0 -19
- package/dist/instance.client/core/utils.gen.js +0 -93
- package/dist/instance.client/index.d.ts +0 -4
- package/dist/instance.client/index.js +0 -21
- package/dist/instance.client/sdk.gen.d.ts +0 -256
- package/dist/instance.client/sdk.gen.js +0 -638
- package/dist/instance.client/transformers.gen.d.ts +0 -34
- package/dist/instance.client/transformers.gen.js +0 -273
- package/dist/instance.client/types.gen.d.ts +0 -2838
- package/dist/instance.client/types.gen.js +0 -3
|
@@ -20,11 +20,11 @@ export type ArrayItem = {
|
|
|
20
20
|
/**
|
|
21
21
|
* The minimum value that properties of this type should be able to contain. Value type must match the type of the array item.
|
|
22
22
|
*/
|
|
23
|
-
minimum?: number | null | number | string;
|
|
23
|
+
minimum?: number | null | number | string | Date;
|
|
24
24
|
/**
|
|
25
25
|
* The maximum value that properties of this type should be able to contain. Value type must match the type of the array item.
|
|
26
26
|
*/
|
|
27
|
-
maximum?: number | null | number | string;
|
|
27
|
+
maximum?: number | null | number | string | Date;
|
|
28
28
|
/**
|
|
29
29
|
* The minimum string length that list items of this type should be able to contain.
|
|
30
30
|
*/
|
|
@@ -50,6 +50,399 @@ export type ArrayItem = {
|
|
|
50
50
|
*/
|
|
51
51
|
restrictedTypes?: Array<string>;
|
|
52
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* Represents a blueprint of a content item.
|
|
55
|
+
*/
|
|
56
|
+
export type Blueprint = {
|
|
57
|
+
/**
|
|
58
|
+
* The key that identifies this blueprint.
|
|
59
|
+
*/
|
|
60
|
+
readonly key?: string;
|
|
61
|
+
/**
|
|
62
|
+
* The display name of this blueprint.
|
|
63
|
+
*/
|
|
64
|
+
displayName: string;
|
|
65
|
+
/**
|
|
66
|
+
* The content type of this blueprint.
|
|
67
|
+
*/
|
|
68
|
+
readonly contentType?: string;
|
|
69
|
+
lastModified?: Date;
|
|
70
|
+
/**
|
|
71
|
+
* The username of the user that made the latest modification to this blueprint.
|
|
72
|
+
*/
|
|
73
|
+
readonly lastModifiedBy?: string;
|
|
74
|
+
content?: BlueprintData;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Represents the data part of a Blueprint.
|
|
78
|
+
*/
|
|
79
|
+
export type BlueprintData = {
|
|
80
|
+
/**
|
|
81
|
+
* Properties as they are defined by corresponding component or content type.
|
|
82
|
+
*/
|
|
83
|
+
properties?: {
|
|
84
|
+
[key: string]: unknown;
|
|
85
|
+
};
|
|
86
|
+
composition?: CompositionNode;
|
|
87
|
+
};
|
|
88
|
+
export type BlueprintPage = {
|
|
89
|
+
/**
|
|
90
|
+
* The items in this paged collection.
|
|
91
|
+
*/
|
|
92
|
+
readonly items?: Array<Blueprint>;
|
|
93
|
+
/**
|
|
94
|
+
* The zero-based index of the current page.
|
|
95
|
+
*/
|
|
96
|
+
readonly pageIndex?: number;
|
|
97
|
+
/**
|
|
98
|
+
* The number of items in each page. Not necessarily the same as the number of items in this page.
|
|
99
|
+
*/
|
|
100
|
+
readonly pageSize?: number;
|
|
101
|
+
/**
|
|
102
|
+
* The estimated total number of items in the collection. May be omitted if the total item count is unknown.
|
|
103
|
+
*/
|
|
104
|
+
readonly totalItemCount?: number;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Changesets are used to group work on several content items together.
|
|
108
|
+
*/
|
|
109
|
+
export type Changeset = {
|
|
110
|
+
/**
|
|
111
|
+
* The unique key of this Changeset.
|
|
112
|
+
*/
|
|
113
|
+
key?: string;
|
|
114
|
+
/**
|
|
115
|
+
* The source of this Changeset.
|
|
116
|
+
*/
|
|
117
|
+
readonly source?: string;
|
|
118
|
+
/**
|
|
119
|
+
* The name of this Changeset.
|
|
120
|
+
*/
|
|
121
|
+
displayName: string;
|
|
122
|
+
/**
|
|
123
|
+
* A timestamp indicating when this changeset was first created.
|
|
124
|
+
*/
|
|
125
|
+
readonly created?: Date;
|
|
126
|
+
/**
|
|
127
|
+
* The username of the user that created this changeset.
|
|
128
|
+
*/
|
|
129
|
+
readonly createdBy?: string;
|
|
130
|
+
lastModified?: Date;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Items in an changeset that contains a link to the specific content version.
|
|
134
|
+
*/
|
|
135
|
+
export type ChangesetItem = {
|
|
136
|
+
reference: ContentReference;
|
|
137
|
+
/**
|
|
138
|
+
* Gets/sets the changeset item category.
|
|
139
|
+
*/
|
|
140
|
+
category?: string;
|
|
141
|
+
};
|
|
142
|
+
export type ChangesetItemPage = {
|
|
143
|
+
/**
|
|
144
|
+
* The items in this paged collection.
|
|
145
|
+
*/
|
|
146
|
+
readonly items?: Array<ChangesetItem>;
|
|
147
|
+
/**
|
|
148
|
+
* The zero-based index of the current page.
|
|
149
|
+
*/
|
|
150
|
+
readonly pageIndex?: number;
|
|
151
|
+
/**
|
|
152
|
+
* The number of items in each page. Not necessarily the same as the number of items in this page.
|
|
153
|
+
*/
|
|
154
|
+
readonly pageSize?: number;
|
|
155
|
+
/**
|
|
156
|
+
* The estimated total number of items in the collection. May be omitted if the total item count is unknown.
|
|
157
|
+
*/
|
|
158
|
+
readonly totalItemCount?: number;
|
|
159
|
+
};
|
|
160
|
+
export type ChangesetPage = {
|
|
161
|
+
/**
|
|
162
|
+
* The items in this paged collection.
|
|
163
|
+
*/
|
|
164
|
+
readonly items?: Array<Changeset>;
|
|
165
|
+
/**
|
|
166
|
+
* The zero-based index of the current page.
|
|
167
|
+
*/
|
|
168
|
+
readonly pageIndex?: number;
|
|
169
|
+
/**
|
|
170
|
+
* The number of items in each page. Not necessarily the same as the number of items in this page.
|
|
171
|
+
*/
|
|
172
|
+
readonly pageSize?: number;
|
|
173
|
+
/**
|
|
174
|
+
* The estimated total number of items in the collection. May be omitted if the total item count is unknown.
|
|
175
|
+
*/
|
|
176
|
+
readonly totalItemCount?: number;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* Defines display settings for a CompositionNode."/>
|
|
180
|
+
*/
|
|
181
|
+
export type CompositionDisplaySettings = {
|
|
182
|
+
/**
|
|
183
|
+
* The key for the display template that these settings apply to.
|
|
184
|
+
*/
|
|
185
|
+
readonly displayTemplate: string;
|
|
186
|
+
/**
|
|
187
|
+
* Gets/sets the display settings for this CompositionNode.
|
|
188
|
+
*/
|
|
189
|
+
settings?: {
|
|
190
|
+
[key: string]: string;
|
|
191
|
+
} | null;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Specifies a node in a content composition.
|
|
195
|
+
*/
|
|
196
|
+
export type CompositionNode = {
|
|
197
|
+
/**
|
|
198
|
+
* Specifies the id of this CompositionNode.
|
|
199
|
+
*/
|
|
200
|
+
id?: string | null;
|
|
201
|
+
/**
|
|
202
|
+
* The display name of this ContentType.
|
|
203
|
+
*/
|
|
204
|
+
displayName?: string | null;
|
|
205
|
+
/**
|
|
206
|
+
* Gets the node type of this CompositionNode.
|
|
207
|
+
*/
|
|
208
|
+
readonly nodeType?: string;
|
|
209
|
+
/**
|
|
210
|
+
* Gets the node layout type of this CompositionNode
|
|
211
|
+
*/
|
|
212
|
+
readonly layoutType?: string | null;
|
|
213
|
+
displaySettings?: CompositionDisplaySettings;
|
|
214
|
+
/**
|
|
215
|
+
* Represents a content component.
|
|
216
|
+
*/
|
|
217
|
+
component?: {
|
|
218
|
+
/**
|
|
219
|
+
* Dictionary with all custom properties as specified by associated ContentType
|
|
220
|
+
*/
|
|
221
|
+
properties?: unknown;
|
|
222
|
+
reference?: string;
|
|
223
|
+
/**
|
|
224
|
+
* The key of the content type that this is an embedded instance of.
|
|
225
|
+
*/
|
|
226
|
+
contentType?: string | null;
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* Gets the available child nodes for this CompositionNode.
|
|
230
|
+
*/
|
|
231
|
+
nodes?: Array<CompositionNode> | null;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* Represents a content component.
|
|
235
|
+
*/
|
|
236
|
+
export type ContentComponent = {
|
|
237
|
+
/**
|
|
238
|
+
* An optional display option for the content component.
|
|
239
|
+
*/
|
|
240
|
+
displayOption?: string | null;
|
|
241
|
+
/**
|
|
242
|
+
* An optional group for the personalizable component.
|
|
243
|
+
*/
|
|
244
|
+
segmentationGroup?: string | null;
|
|
245
|
+
/**
|
|
246
|
+
* Specifies the settings for the content component.
|
|
247
|
+
*/
|
|
248
|
+
segments?: Array<string> | null;
|
|
249
|
+
/**
|
|
250
|
+
* The display name of the content component. If Reference is set, the name is automatically set to the name of the referenced content.
|
|
251
|
+
*/
|
|
252
|
+
name?: string | null;
|
|
253
|
+
reference?: string;
|
|
254
|
+
/**
|
|
255
|
+
* The key of the content type that this is an embedded instance of.
|
|
256
|
+
*/
|
|
257
|
+
contentType?: string | null;
|
|
258
|
+
/**
|
|
259
|
+
* Dictionary with all custom properties as specified by associated ContentType
|
|
260
|
+
*/
|
|
261
|
+
content?: unknown;
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* Represents a version of a content item.
|
|
265
|
+
*/
|
|
266
|
+
export type ContentItem = {
|
|
267
|
+
/**
|
|
268
|
+
* Properties as they are defined by corresponding component or content type.
|
|
269
|
+
*/
|
|
270
|
+
properties?: {
|
|
271
|
+
[key: string]: unknown;
|
|
272
|
+
};
|
|
273
|
+
/**
|
|
274
|
+
* The key that identifies this content item.
|
|
275
|
+
*/
|
|
276
|
+
readonly key?: string;
|
|
277
|
+
/**
|
|
278
|
+
* The locale of this content instance.
|
|
279
|
+
*/
|
|
280
|
+
locale?: string;
|
|
281
|
+
/**
|
|
282
|
+
* The version identifier of this content instance.
|
|
283
|
+
*/
|
|
284
|
+
readonly version?: string;
|
|
285
|
+
/**
|
|
286
|
+
* The variation of this content item, if any. Variations are used to represent different states or forms of the same content item.
|
|
287
|
+
* A variation has it's own publish lifecycle. A variation can though not be published before the default version of same local is published.
|
|
288
|
+
*/
|
|
289
|
+
variation?: string | null;
|
|
290
|
+
/**
|
|
291
|
+
* The content type of this content item.
|
|
292
|
+
*/
|
|
293
|
+
contentType?: string;
|
|
294
|
+
/**
|
|
295
|
+
* The display name of this content item.
|
|
296
|
+
*/
|
|
297
|
+
displayName: string;
|
|
298
|
+
/**
|
|
299
|
+
* Indicates a time when this content was published or should be published.
|
|
300
|
+
*/
|
|
301
|
+
published?: Date | null;
|
|
302
|
+
/**
|
|
303
|
+
* Indicates a time when this content expired or should expire.
|
|
304
|
+
*/
|
|
305
|
+
expired?: Date | null;
|
|
306
|
+
/**
|
|
307
|
+
* The status of this version of the content item.
|
|
308
|
+
*/
|
|
309
|
+
status?: 'draft' | 'ready' | 'published' | 'previous' | 'scheduled' | 'rejected' | 'inReview';
|
|
310
|
+
/**
|
|
311
|
+
* Indicates a time when this content version should transition to published status. Must only be assigned when Status is set to Scheduled.
|
|
312
|
+
*/
|
|
313
|
+
delayPublishUntil?: Date | null;
|
|
314
|
+
/**
|
|
315
|
+
* The key that identifies the container content that this content item belongs to.
|
|
316
|
+
*/
|
|
317
|
+
container?: string | null;
|
|
318
|
+
/**
|
|
319
|
+
* The key that identifies the owner of this content. Content that is own by another content is also known as an asset.
|
|
320
|
+
*/
|
|
321
|
+
owner?: string | null;
|
|
322
|
+
/**
|
|
323
|
+
* A string that represents the segment that should be used when routing or generate routes to the current content instance.
|
|
324
|
+
*/
|
|
325
|
+
routeSegment?: string | null;
|
|
326
|
+
lastModified?: Date;
|
|
327
|
+
/**
|
|
328
|
+
* The username of the user that made the latest modification to this content instance.
|
|
329
|
+
*/
|
|
330
|
+
readonly lastModifiedBy?: string;
|
|
331
|
+
composition?: CompositionNode;
|
|
332
|
+
};
|
|
333
|
+
export type ContentItemPage = {
|
|
334
|
+
/**
|
|
335
|
+
* The items in this paged collection.
|
|
336
|
+
*/
|
|
337
|
+
readonly items?: Array<ContentItem>;
|
|
338
|
+
/**
|
|
339
|
+
* The zero-based index of the current page.
|
|
340
|
+
*/
|
|
341
|
+
readonly pageIndex?: number;
|
|
342
|
+
/**
|
|
343
|
+
* The number of items in each page. Not necessarily the same as the number of items in this page.
|
|
344
|
+
*/
|
|
345
|
+
readonly pageSize?: number;
|
|
346
|
+
/**
|
|
347
|
+
* The estimated total number of items in the collection. May be omitted if the total item count is unknown.
|
|
348
|
+
*/
|
|
349
|
+
readonly totalItemCount?: number;
|
|
350
|
+
};
|
|
351
|
+
/**
|
|
352
|
+
* Describes information about a locale instance of a content item.
|
|
353
|
+
*/
|
|
354
|
+
export type ContentLocaleInfo = {
|
|
355
|
+
/**
|
|
356
|
+
* The display name of the content.
|
|
357
|
+
*/
|
|
358
|
+
readonly displayName?: string;
|
|
359
|
+
/**
|
|
360
|
+
* The date and time when the first locale version for the content was created.
|
|
361
|
+
*/
|
|
362
|
+
readonly created?: Date;
|
|
363
|
+
/**
|
|
364
|
+
* The username of the user that created this locale version of content.
|
|
365
|
+
*/
|
|
366
|
+
readonly createdBy?: string;
|
|
367
|
+
/**
|
|
368
|
+
* The status of the current locale.
|
|
369
|
+
*/
|
|
370
|
+
status?: 'draft' | 'published';
|
|
371
|
+
};
|
|
372
|
+
/**
|
|
373
|
+
* Represents metadata about a content item.
|
|
374
|
+
*/
|
|
375
|
+
export type ContentMetadata = {
|
|
376
|
+
/**
|
|
377
|
+
* The key that identifies this content.
|
|
378
|
+
*/
|
|
379
|
+
key?: string;
|
|
380
|
+
/**
|
|
381
|
+
* The content type of this content.
|
|
382
|
+
*/
|
|
383
|
+
contentType?: string;
|
|
384
|
+
/**
|
|
385
|
+
* Set of locales that this content has been created for.
|
|
386
|
+
*/
|
|
387
|
+
readonly locales?: {
|
|
388
|
+
[key: string]: ContentLocaleInfo;
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* The key that identifies the container content that this content belongs to.
|
|
392
|
+
*/
|
|
393
|
+
container?: string | null;
|
|
394
|
+
/**
|
|
395
|
+
* Indicates if the content contains any content items.
|
|
396
|
+
*/
|
|
397
|
+
readonly hasItems?: boolean;
|
|
398
|
+
/**
|
|
399
|
+
* The key that identifies the owner of this content. Content that is own by another content is also known as an asset.
|
|
400
|
+
*/
|
|
401
|
+
owner?: string | null;
|
|
402
|
+
/**
|
|
403
|
+
* A timestamp, which if provided, indicates when this content was deleted.
|
|
404
|
+
*/
|
|
405
|
+
readonly deleted?: Date | null;
|
|
406
|
+
/**
|
|
407
|
+
* The username of the user that deleted this content.
|
|
408
|
+
*/
|
|
409
|
+
readonly deletedBy?: string | null;
|
|
410
|
+
};
|
|
411
|
+
export type ContentMetadataPage = {
|
|
412
|
+
/**
|
|
413
|
+
* The items in this paged collection.
|
|
414
|
+
*/
|
|
415
|
+
readonly items?: Array<ContentMetadata>;
|
|
416
|
+
/**
|
|
417
|
+
* The zero-based index of the current page.
|
|
418
|
+
*/
|
|
419
|
+
readonly pageIndex?: number;
|
|
420
|
+
/**
|
|
421
|
+
* The number of items in each page. Not necessarily the same as the number of items in this page.
|
|
422
|
+
*/
|
|
423
|
+
readonly pageSize?: number;
|
|
424
|
+
/**
|
|
425
|
+
* The estimated total number of items in the collection. May be omitted if the total item count is unknown.
|
|
426
|
+
*/
|
|
427
|
+
readonly totalItemCount?: number;
|
|
428
|
+
};
|
|
429
|
+
/**
|
|
430
|
+
* A reference to a specific content instance.
|
|
431
|
+
*/
|
|
432
|
+
export type ContentReference = {
|
|
433
|
+
/**
|
|
434
|
+
* The content key that identifies the content.
|
|
435
|
+
*/
|
|
436
|
+
readonly key?: string;
|
|
437
|
+
/**
|
|
438
|
+
* The name of the content locale
|
|
439
|
+
*/
|
|
440
|
+
readonly locale?: string;
|
|
441
|
+
/**
|
|
442
|
+
* The identifier of a specific version of the content.
|
|
443
|
+
*/
|
|
444
|
+
readonly version?: string;
|
|
445
|
+
};
|
|
53
446
|
/**
|
|
54
447
|
* A writable implementation of an ContentType.
|
|
55
448
|
*/
|
|
@@ -178,11 +571,11 @@ export type ContentTypeProperty = {
|
|
|
178
571
|
/**
|
|
179
572
|
* The minimum value that properties of this type should be able to contain. Value type must match the type of the property.
|
|
180
573
|
*/
|
|
181
|
-
minimum?: number | null | number | string;
|
|
574
|
+
minimum?: number | null | number | string | Date;
|
|
182
575
|
/**
|
|
183
576
|
* The minimum value that properties of this type should be able to contain. Value type must match the type of the property.
|
|
184
577
|
*/
|
|
185
|
-
maximum?: number | null | number | string;
|
|
578
|
+
maximum?: number | null | number | string | Date;
|
|
186
579
|
/**
|
|
187
580
|
* A list of possible values that properties of this type should be able to contain.
|
|
188
581
|
*/
|
|
@@ -219,21 +612,42 @@ export type ContentTypeProperty = {
|
|
|
219
612
|
items?: ArrayItem;
|
|
220
613
|
};
|
|
221
614
|
/**
|
|
222
|
-
*
|
|
615
|
+
* Options for copying content.
|
|
223
616
|
*/
|
|
224
|
-
export type
|
|
617
|
+
export type CopyContentOptions = {
|
|
225
618
|
/**
|
|
226
|
-
*
|
|
619
|
+
* Indicates if deleted content could be used as source.
|
|
227
620
|
*/
|
|
228
|
-
|
|
621
|
+
allowDeleted?: boolean;
|
|
229
622
|
/**
|
|
230
|
-
*
|
|
623
|
+
* Optional key of the container where the copied content should be placed.
|
|
231
624
|
*/
|
|
232
|
-
|
|
625
|
+
container?: string | null;
|
|
233
626
|
/**
|
|
234
|
-
*
|
|
627
|
+
* Optional key of the owner where the copied content should be placed.
|
|
235
628
|
*/
|
|
236
|
-
|
|
629
|
+
owner?: string | null;
|
|
630
|
+
/**
|
|
631
|
+
* Indicates if published versions of the content should keep their published status rather than being created as a draft version at the destination.
|
|
632
|
+
*/
|
|
633
|
+
keepPublishedStatus?: boolean;
|
|
634
|
+
};
|
|
635
|
+
/**
|
|
636
|
+
* Describes a setting for a display template.
|
|
637
|
+
*/
|
|
638
|
+
export type DisplaySetting = {
|
|
639
|
+
/**
|
|
640
|
+
* The display name of this display setting.
|
|
641
|
+
*/
|
|
642
|
+
displayName: string;
|
|
643
|
+
/**
|
|
644
|
+
* The suggested editor for this display setting.
|
|
645
|
+
*/
|
|
646
|
+
editor?: string;
|
|
647
|
+
/**
|
|
648
|
+
* The sort order of this display setting within the template.
|
|
649
|
+
*/
|
|
650
|
+
sortOrder?: number;
|
|
237
651
|
/**
|
|
238
652
|
* The available choices for this display setting.
|
|
239
653
|
*/
|
|
@@ -330,7 +744,7 @@ export type EnumerationValue = {
|
|
|
330
744
|
/**
|
|
331
745
|
* The defined enumeration value. Value type must match the property type.
|
|
332
746
|
*/
|
|
333
|
-
value: number | null | number | string;
|
|
747
|
+
value: number | null | number | string | Date;
|
|
334
748
|
/**
|
|
335
749
|
* The display name of the enumeration value.
|
|
336
750
|
*/
|
|
@@ -353,6 +767,40 @@ export type ImageDescriptor = {
|
|
|
353
767
|
*/
|
|
354
768
|
pregenerated?: boolean;
|
|
355
769
|
};
|
|
770
|
+
/**
|
|
771
|
+
* Represents a hyperlink.
|
|
772
|
+
*/
|
|
773
|
+
export type Link = {
|
|
774
|
+
/**
|
|
775
|
+
* Gets or sets the URL.
|
|
776
|
+
*/
|
|
777
|
+
url?: string | null;
|
|
778
|
+
/**
|
|
779
|
+
* Gets or sets where to display the URL in a browsing context.
|
|
780
|
+
*/
|
|
781
|
+
target?: string;
|
|
782
|
+
/**
|
|
783
|
+
* Gets or sets the title of the link.
|
|
784
|
+
*/
|
|
785
|
+
title?: string;
|
|
786
|
+
/**
|
|
787
|
+
* Gets or sets the content inside a link.
|
|
788
|
+
*/
|
|
789
|
+
text?: string;
|
|
790
|
+
};
|
|
791
|
+
/**
|
|
792
|
+
* Represents a preview URL for a content item.
|
|
793
|
+
*/
|
|
794
|
+
export type Preview = {
|
|
795
|
+
/**
|
|
796
|
+
* The application that this preview URL is associated with.
|
|
797
|
+
*/
|
|
798
|
+
application?: string;
|
|
799
|
+
/**
|
|
800
|
+
* Gets or sets the preview URL (may be relative or absolute).
|
|
801
|
+
*/
|
|
802
|
+
url?: string;
|
|
803
|
+
};
|
|
356
804
|
export type ProblemDetails = {
|
|
357
805
|
/**
|
|
358
806
|
* A URI reference that identifies the problem type.
|
|
@@ -391,16 +839,7 @@ export type ProblemDetails = {
|
|
|
391
839
|
*/
|
|
392
840
|
field?: string | null;
|
|
393
841
|
}> | null;
|
|
394
|
-
[key: string]: unknown
|
|
395
|
-
/**
|
|
396
|
-
* A granular explanation of one specific error related to a field, header or query parameter.
|
|
397
|
-
*/
|
|
398
|
-
detail?: string;
|
|
399
|
-
/**
|
|
400
|
-
* A string that may provide a hint to which field that was the source of the error.
|
|
401
|
-
*/
|
|
402
|
-
field?: string | null;
|
|
403
|
-
}> | null | undefined;
|
|
842
|
+
[key: string]: unknown;
|
|
404
843
|
};
|
|
405
844
|
/**
|
|
406
845
|
* Represent the definition of semantic property formats for content items.
|
|
@@ -513,6 +952,189 @@ export type PropertyGroupPage = {
|
|
|
513
952
|
*/
|
|
514
953
|
readonly totalItemCount?: number;
|
|
515
954
|
};
|
|
955
|
+
/**
|
|
956
|
+
* Represents a blueprint of a content item.
|
|
957
|
+
*/
|
|
958
|
+
export type BlueprintWritable = {
|
|
959
|
+
/**
|
|
960
|
+
* The display name of this blueprint.
|
|
961
|
+
*/
|
|
962
|
+
displayName: string;
|
|
963
|
+
lastModified?: Date;
|
|
964
|
+
content?: BlueprintDataWritable;
|
|
965
|
+
};
|
|
966
|
+
/**
|
|
967
|
+
* Represents the data part of a Blueprint.
|
|
968
|
+
*/
|
|
969
|
+
export type BlueprintDataWritable = {
|
|
970
|
+
/**
|
|
971
|
+
* Properties as they are defined by corresponding component or content type.
|
|
972
|
+
*/
|
|
973
|
+
properties?: {
|
|
974
|
+
[key: string]: unknown;
|
|
975
|
+
};
|
|
976
|
+
composition?: CompositionNodeWritable;
|
|
977
|
+
};
|
|
978
|
+
export type BlueprintPageWritable = {
|
|
979
|
+
[key: string]: never;
|
|
980
|
+
};
|
|
981
|
+
/**
|
|
982
|
+
* Changesets are used to group work on several content items together.
|
|
983
|
+
*/
|
|
984
|
+
export type ChangesetWritable = {
|
|
985
|
+
/**
|
|
986
|
+
* The unique key of this Changeset.
|
|
987
|
+
*/
|
|
988
|
+
key?: string;
|
|
989
|
+
/**
|
|
990
|
+
* The name of this Changeset.
|
|
991
|
+
*/
|
|
992
|
+
displayName: string;
|
|
993
|
+
lastModified?: Date;
|
|
994
|
+
};
|
|
995
|
+
/**
|
|
996
|
+
* Items in an changeset that contains a link to the specific content version.
|
|
997
|
+
*/
|
|
998
|
+
export type ChangesetItemWritable = {
|
|
999
|
+
/**
|
|
1000
|
+
* Gets/sets the changeset item category.
|
|
1001
|
+
*/
|
|
1002
|
+
category?: string;
|
|
1003
|
+
};
|
|
1004
|
+
export type ChangesetItemPageWritable = {
|
|
1005
|
+
[key: string]: never;
|
|
1006
|
+
};
|
|
1007
|
+
export type ChangesetPageWritable = {
|
|
1008
|
+
[key: string]: never;
|
|
1009
|
+
};
|
|
1010
|
+
/**
|
|
1011
|
+
* Defines display settings for a CompositionNode."/>
|
|
1012
|
+
*/
|
|
1013
|
+
export type CompositionDisplaySettingsWritable = {
|
|
1014
|
+
/**
|
|
1015
|
+
* Gets/sets the display settings for this CompositionNode.
|
|
1016
|
+
*/
|
|
1017
|
+
settings?: {
|
|
1018
|
+
[key: string]: string;
|
|
1019
|
+
} | null;
|
|
1020
|
+
};
|
|
1021
|
+
/**
|
|
1022
|
+
* Specifies a node in a content composition.
|
|
1023
|
+
*/
|
|
1024
|
+
export type CompositionNodeWritable = {
|
|
1025
|
+
/**
|
|
1026
|
+
* Specifies the id of this CompositionNode.
|
|
1027
|
+
*/
|
|
1028
|
+
id?: string | null;
|
|
1029
|
+
/**
|
|
1030
|
+
* The display name of this ContentType.
|
|
1031
|
+
*/
|
|
1032
|
+
displayName?: string | null;
|
|
1033
|
+
displaySettings?: CompositionDisplaySettingsWritable;
|
|
1034
|
+
/**
|
|
1035
|
+
* Represents a content component.
|
|
1036
|
+
*/
|
|
1037
|
+
component?: {
|
|
1038
|
+
/**
|
|
1039
|
+
* Dictionary with all custom properties as specified by associated ContentType
|
|
1040
|
+
*/
|
|
1041
|
+
properties?: unknown;
|
|
1042
|
+
reference?: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* The key of the content type that this is an embedded instance of.
|
|
1045
|
+
*/
|
|
1046
|
+
contentType?: string | null;
|
|
1047
|
+
};
|
|
1048
|
+
/**
|
|
1049
|
+
* Gets the available child nodes for this CompositionNode.
|
|
1050
|
+
*/
|
|
1051
|
+
nodes?: Array<CompositionNodeWritable> | null;
|
|
1052
|
+
};
|
|
1053
|
+
/**
|
|
1054
|
+
* Represents a version of a content item.
|
|
1055
|
+
*/
|
|
1056
|
+
export type ContentItemWritable = {
|
|
1057
|
+
/**
|
|
1058
|
+
* Properties as they are defined by corresponding component or content type.
|
|
1059
|
+
*/
|
|
1060
|
+
properties?: {
|
|
1061
|
+
[key: string]: unknown;
|
|
1062
|
+
};
|
|
1063
|
+
/**
|
|
1064
|
+
* The locale of this content instance.
|
|
1065
|
+
*/
|
|
1066
|
+
locale?: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* The variation of this content item, if any. Variations are used to represent different states or forms of the same content item.
|
|
1069
|
+
* A variation has it's own publish lifecycle. A variation can though not be published before the default version of same local is published.
|
|
1070
|
+
*/
|
|
1071
|
+
variation?: string | null;
|
|
1072
|
+
/**
|
|
1073
|
+
* The content type of this content item.
|
|
1074
|
+
*/
|
|
1075
|
+
contentType?: string;
|
|
1076
|
+
/**
|
|
1077
|
+
* The display name of this content item.
|
|
1078
|
+
*/
|
|
1079
|
+
displayName: string;
|
|
1080
|
+
/**
|
|
1081
|
+
* Indicates a time when this content was published or should be published.
|
|
1082
|
+
*/
|
|
1083
|
+
published?: Date | null;
|
|
1084
|
+
/**
|
|
1085
|
+
* Indicates a time when this content expired or should expire.
|
|
1086
|
+
*/
|
|
1087
|
+
expired?: Date | null;
|
|
1088
|
+
/**
|
|
1089
|
+
* The status of this version of the content item.
|
|
1090
|
+
*/
|
|
1091
|
+
status?: 'draft' | 'ready' | 'published' | 'previous' | 'scheduled' | 'rejected' | 'inReview';
|
|
1092
|
+
/**
|
|
1093
|
+
* Indicates a time when this content version should transition to published status. Must only be assigned when Status is set to Scheduled.
|
|
1094
|
+
*/
|
|
1095
|
+
delayPublishUntil?: Date | null;
|
|
1096
|
+
/**
|
|
1097
|
+
* The key that identifies the container content that this content item belongs to.
|
|
1098
|
+
*/
|
|
1099
|
+
container?: string | null;
|
|
1100
|
+
/**
|
|
1101
|
+
* The key that identifies the owner of this content. Content that is own by another content is also known as an asset.
|
|
1102
|
+
*/
|
|
1103
|
+
owner?: string | null;
|
|
1104
|
+
/**
|
|
1105
|
+
* A string that represents the segment that should be used when routing or generate routes to the current content instance.
|
|
1106
|
+
*/
|
|
1107
|
+
routeSegment?: string | null;
|
|
1108
|
+
lastModified?: Date;
|
|
1109
|
+
composition?: CompositionNodeWritable;
|
|
1110
|
+
};
|
|
1111
|
+
export type ContentItemPageWritable = {
|
|
1112
|
+
[key: string]: never;
|
|
1113
|
+
};
|
|
1114
|
+
/**
|
|
1115
|
+
* Represents metadata about a content item.
|
|
1116
|
+
*/
|
|
1117
|
+
export type ContentMetadataWritable = {
|
|
1118
|
+
/**
|
|
1119
|
+
* The key that identifies this content.
|
|
1120
|
+
*/
|
|
1121
|
+
key?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* The content type of this content.
|
|
1124
|
+
*/
|
|
1125
|
+
contentType?: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* The key that identifies the container content that this content belongs to.
|
|
1128
|
+
*/
|
|
1129
|
+
container?: string | null;
|
|
1130
|
+
/**
|
|
1131
|
+
* The key that identifies the owner of this content. Content that is own by another content is also known as an asset.
|
|
1132
|
+
*/
|
|
1133
|
+
owner?: string | null;
|
|
1134
|
+
};
|
|
1135
|
+
export type ContentMetadataPageWritable = {
|
|
1136
|
+
[key: string]: never;
|
|
1137
|
+
};
|
|
516
1138
|
/**
|
|
517
1139
|
* A writable implementation of an ContentType.
|
|
518
1140
|
*/
|
|
@@ -642,6 +1264,1158 @@ export type PropertyGroupWritable = {
|
|
|
642
1264
|
export type PropertyGroupPageWritable = {
|
|
643
1265
|
[key: string]: never;
|
|
644
1266
|
};
|
|
1267
|
+
export type BlueprintsListData = {
|
|
1268
|
+
body?: never;
|
|
1269
|
+
path?: never;
|
|
1270
|
+
query?: {
|
|
1271
|
+
pageIndex?: number;
|
|
1272
|
+
pageSize?: number;
|
|
1273
|
+
};
|
|
1274
|
+
url: '/experimental/blueprints';
|
|
1275
|
+
};
|
|
1276
|
+
export type BlueprintsListErrors = {
|
|
1277
|
+
/**
|
|
1278
|
+
* Forbidden
|
|
1279
|
+
*/
|
|
1280
|
+
403: ProblemDetails;
|
|
1281
|
+
};
|
|
1282
|
+
export type BlueprintsListError = BlueprintsListErrors[keyof BlueprintsListErrors];
|
|
1283
|
+
export type BlueprintsListResponses = {
|
|
1284
|
+
/**
|
|
1285
|
+
* OK
|
|
1286
|
+
*/
|
|
1287
|
+
200: BlueprintPage;
|
|
1288
|
+
};
|
|
1289
|
+
export type BlueprintsListResponse = BlueprintsListResponses[keyof BlueprintsListResponses];
|
|
1290
|
+
export type BlueprintsCreateData = {
|
|
1291
|
+
/**
|
|
1292
|
+
* The blueprint that should be created.
|
|
1293
|
+
*/
|
|
1294
|
+
body: BlueprintWritable;
|
|
1295
|
+
path?: never;
|
|
1296
|
+
query?: never;
|
|
1297
|
+
url: '/experimental/blueprints';
|
|
1298
|
+
};
|
|
1299
|
+
export type BlueprintsCreateErrors = {
|
|
1300
|
+
/**
|
|
1301
|
+
* Bad Request
|
|
1302
|
+
*/
|
|
1303
|
+
400: ProblemDetails;
|
|
1304
|
+
/**
|
|
1305
|
+
* Forbidden
|
|
1306
|
+
*/
|
|
1307
|
+
403: ProblemDetails;
|
|
1308
|
+
};
|
|
1309
|
+
export type BlueprintsCreateError = BlueprintsCreateErrors[keyof BlueprintsCreateErrors];
|
|
1310
|
+
export type BlueprintsCreateResponses = {
|
|
1311
|
+
/**
|
|
1312
|
+
* Created
|
|
1313
|
+
*/
|
|
1314
|
+
201: Blueprint;
|
|
1315
|
+
};
|
|
1316
|
+
export type BlueprintsCreateResponse = BlueprintsCreateResponses[keyof BlueprintsCreateResponses];
|
|
1317
|
+
export type BlueprintsDeleteData = {
|
|
1318
|
+
body?: never;
|
|
1319
|
+
headers?: {
|
|
1320
|
+
/**
|
|
1321
|
+
* If provided, the DELETE request will only be considered if the value matches the RFC7232 ETag of the current resource. Weak ETags will always be ignored.
|
|
1322
|
+
*/
|
|
1323
|
+
'If-Match'?: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* If provided, the DELETE request will only be considered if the resource has not been modified since the provided date. This parameter will be ignored if an 'If-Match' parameter is also provided.
|
|
1326
|
+
*/
|
|
1327
|
+
'If-Unmodified-Since'?: string;
|
|
1328
|
+
};
|
|
1329
|
+
path: {
|
|
1330
|
+
/**
|
|
1331
|
+
* The key of the blueprint to delete.
|
|
1332
|
+
*/
|
|
1333
|
+
key: string;
|
|
1334
|
+
};
|
|
1335
|
+
query?: never;
|
|
1336
|
+
url: '/experimental/blueprints/{key}';
|
|
1337
|
+
};
|
|
1338
|
+
export type BlueprintsDeleteErrors = {
|
|
1339
|
+
/**
|
|
1340
|
+
* Bad Request
|
|
1341
|
+
*/
|
|
1342
|
+
400: ProblemDetails;
|
|
1343
|
+
/**
|
|
1344
|
+
* Forbidden
|
|
1345
|
+
*/
|
|
1346
|
+
403: ProblemDetails;
|
|
1347
|
+
/**
|
|
1348
|
+
* Not Found
|
|
1349
|
+
*/
|
|
1350
|
+
404: ProblemDetails;
|
|
1351
|
+
/**
|
|
1352
|
+
* Precondition Failed
|
|
1353
|
+
*/
|
|
1354
|
+
412: ProblemDetails;
|
|
1355
|
+
};
|
|
1356
|
+
export type BlueprintsDeleteError = BlueprintsDeleteErrors[keyof BlueprintsDeleteErrors];
|
|
1357
|
+
export type BlueprintsDeleteResponses = {
|
|
1358
|
+
/**
|
|
1359
|
+
* OK
|
|
1360
|
+
*/
|
|
1361
|
+
200: Blueprint;
|
|
1362
|
+
};
|
|
1363
|
+
export type BlueprintsDeleteResponse = BlueprintsDeleteResponses[keyof BlueprintsDeleteResponses];
|
|
1364
|
+
export type BlueprintsGetData = {
|
|
1365
|
+
body?: never;
|
|
1366
|
+
headers?: {
|
|
1367
|
+
/**
|
|
1368
|
+
* If provided and the value matches the RFC7232 ETag of the current resource a 304 NotModified response will be returned. Weak ETags will always be ignored.
|
|
1369
|
+
*/
|
|
1370
|
+
'If-None-Match'?: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* If provided and the resource has not been modified since the date a 304 NotModified response will be returned. This parameter will be ignored if an 'If-None-Match' parameter is also provided.
|
|
1373
|
+
*/
|
|
1374
|
+
'If-Modified-Since'?: string;
|
|
1375
|
+
};
|
|
1376
|
+
path: {
|
|
1377
|
+
/**
|
|
1378
|
+
* The key of the blueprint to retrieve.
|
|
1379
|
+
*/
|
|
1380
|
+
key: string;
|
|
1381
|
+
};
|
|
1382
|
+
query?: never;
|
|
1383
|
+
url: '/experimental/blueprints/{key}';
|
|
1384
|
+
};
|
|
1385
|
+
export type BlueprintsGetErrors = {
|
|
1386
|
+
/**
|
|
1387
|
+
* Forbidden
|
|
1388
|
+
*/
|
|
1389
|
+
403: ProblemDetails;
|
|
1390
|
+
/**
|
|
1391
|
+
* Not Found
|
|
1392
|
+
*/
|
|
1393
|
+
404: ProblemDetails;
|
|
1394
|
+
};
|
|
1395
|
+
export type BlueprintsGetError = BlueprintsGetErrors[keyof BlueprintsGetErrors];
|
|
1396
|
+
export type BlueprintsGetResponses = {
|
|
1397
|
+
/**
|
|
1398
|
+
* OK
|
|
1399
|
+
*/
|
|
1400
|
+
200: Blueprint;
|
|
1401
|
+
};
|
|
1402
|
+
export type BlueprintsGetResponse = BlueprintsGetResponses[keyof BlueprintsGetResponses];
|
|
1403
|
+
export type BlueprintsPatchData = {
|
|
1404
|
+
/**
|
|
1405
|
+
* The values of the blueprint that should be patched formatted according to RFC7396.
|
|
1406
|
+
*/
|
|
1407
|
+
body: BlueprintWritable;
|
|
1408
|
+
headers?: {
|
|
1409
|
+
/**
|
|
1410
|
+
* If provided, the PATCH request will only be considered if the value matches the RFC7232 ETag of the current resource. Weak ETags will always be ignored.
|
|
1411
|
+
*/
|
|
1412
|
+
'If-Match'?: string;
|
|
1413
|
+
/**
|
|
1414
|
+
* If provided, the PATCH request will only be considered if the resource has not been modified since the provided date. This parameter will be ignored if an 'If-Match' parameter is also provided.
|
|
1415
|
+
*/
|
|
1416
|
+
'If-Unmodified-Since'?: string;
|
|
1417
|
+
};
|
|
1418
|
+
path: {
|
|
1419
|
+
/**
|
|
1420
|
+
* The key of the blueprint to patch.
|
|
1421
|
+
*/
|
|
1422
|
+
key: string;
|
|
1423
|
+
};
|
|
1424
|
+
query?: never;
|
|
1425
|
+
url: '/experimental/blueprints/{key}';
|
|
1426
|
+
};
|
|
1427
|
+
export type BlueprintsPatchErrors = {
|
|
1428
|
+
/**
|
|
1429
|
+
* Bad Request
|
|
1430
|
+
*/
|
|
1431
|
+
400: ProblemDetails;
|
|
1432
|
+
/**
|
|
1433
|
+
* Forbidden
|
|
1434
|
+
*/
|
|
1435
|
+
403: ProblemDetails;
|
|
1436
|
+
/**
|
|
1437
|
+
* Not Found
|
|
1438
|
+
*/
|
|
1439
|
+
404: ProblemDetails;
|
|
1440
|
+
/**
|
|
1441
|
+
* Precondition Failed
|
|
1442
|
+
*/
|
|
1443
|
+
412: ProblemDetails;
|
|
1444
|
+
};
|
|
1445
|
+
export type BlueprintsPatchError = BlueprintsPatchErrors[keyof BlueprintsPatchErrors];
|
|
1446
|
+
export type BlueprintsPatchResponses = {
|
|
1447
|
+
/**
|
|
1448
|
+
* OK
|
|
1449
|
+
*/
|
|
1450
|
+
200: Blueprint;
|
|
1451
|
+
};
|
|
1452
|
+
export type BlueprintsPatchResponse = BlueprintsPatchResponses[keyof BlueprintsPatchResponses];
|
|
1453
|
+
export type ChangesetsListData = {
|
|
1454
|
+
body?: never;
|
|
1455
|
+
path?: never;
|
|
1456
|
+
query?: {
|
|
1457
|
+
/**
|
|
1458
|
+
* Indicates which sources should be included when listing changesets.
|
|
1459
|
+
* Use Default to include changesets without a specific sources.
|
|
1460
|
+
*/
|
|
1461
|
+
sources?: Array<string>;
|
|
1462
|
+
pageIndex?: number;
|
|
1463
|
+
pageSize?: number;
|
|
1464
|
+
};
|
|
1465
|
+
url: '/experimental/changesets';
|
|
1466
|
+
};
|
|
1467
|
+
export type ChangesetsListErrors = {
|
|
1468
|
+
/**
|
|
1469
|
+
* Forbidden
|
|
1470
|
+
*/
|
|
1471
|
+
403: ProblemDetails;
|
|
1472
|
+
};
|
|
1473
|
+
export type ChangesetsListError = ChangesetsListErrors[keyof ChangesetsListErrors];
|
|
1474
|
+
export type ChangesetsListResponses = {
|
|
1475
|
+
/**
|
|
1476
|
+
* OK
|
|
1477
|
+
*/
|
|
1478
|
+
200: ChangesetPage;
|
|
1479
|
+
};
|
|
1480
|
+
export type ChangesetsListResponse = ChangesetsListResponses[keyof ChangesetsListResponses];
|
|
1481
|
+
export type ChangesetsCreateData = {
|
|
1482
|
+
/**
|
|
1483
|
+
* The changeset that should be created.
|
|
1484
|
+
*/
|
|
1485
|
+
body: ChangesetWritable;
|
|
1486
|
+
path?: never;
|
|
1487
|
+
query?: never;
|
|
1488
|
+
url: '/experimental/changesets';
|
|
1489
|
+
};
|
|
1490
|
+
export type ChangesetsCreateErrors = {
|
|
1491
|
+
/**
|
|
1492
|
+
* Bad Request
|
|
1493
|
+
*/
|
|
1494
|
+
400: ProblemDetails;
|
|
1495
|
+
/**
|
|
1496
|
+
* Forbidden
|
|
1497
|
+
*/
|
|
1498
|
+
403: ProblemDetails;
|
|
1499
|
+
};
|
|
1500
|
+
export type ChangesetsCreateError = ChangesetsCreateErrors[keyof ChangesetsCreateErrors];
|
|
1501
|
+
export type ChangesetsCreateResponses = {
|
|
1502
|
+
/**
|
|
1503
|
+
* Created
|
|
1504
|
+
*/
|
|
1505
|
+
201: Changeset;
|
|
1506
|
+
};
|
|
1507
|
+
export type ChangesetsCreateResponse = ChangesetsCreateResponses[keyof ChangesetsCreateResponses];
|
|
1508
|
+
export type ChangesetsDeleteData = {
|
|
1509
|
+
body?: never;
|
|
1510
|
+
path: {
|
|
1511
|
+
/**
|
|
1512
|
+
* The key of the changeset to delete.
|
|
1513
|
+
*/
|
|
1514
|
+
key: string;
|
|
1515
|
+
};
|
|
1516
|
+
query?: never;
|
|
1517
|
+
url: '/experimental/changesets/{key}';
|
|
1518
|
+
};
|
|
1519
|
+
export type ChangesetsDeleteErrors = {
|
|
1520
|
+
/**
|
|
1521
|
+
* Bad Request
|
|
1522
|
+
*/
|
|
1523
|
+
400: ProblemDetails;
|
|
1524
|
+
/**
|
|
1525
|
+
* Forbidden
|
|
1526
|
+
*/
|
|
1527
|
+
403: ProblemDetails;
|
|
1528
|
+
/**
|
|
1529
|
+
* Not Found
|
|
1530
|
+
*/
|
|
1531
|
+
404: ProblemDetails;
|
|
1532
|
+
};
|
|
1533
|
+
export type ChangesetsDeleteError = ChangesetsDeleteErrors[keyof ChangesetsDeleteErrors];
|
|
1534
|
+
export type ChangesetsDeleteResponses = {
|
|
1535
|
+
/**
|
|
1536
|
+
* OK
|
|
1537
|
+
*/
|
|
1538
|
+
200: Changeset;
|
|
1539
|
+
};
|
|
1540
|
+
export type ChangesetsDeleteResponse = ChangesetsDeleteResponses[keyof ChangesetsDeleteResponses];
|
|
1541
|
+
export type ChangesetsGetData = {
|
|
1542
|
+
body?: never;
|
|
1543
|
+
headers?: {
|
|
1544
|
+
/**
|
|
1545
|
+
* If provided and the value matches the RFC7232 ETag of the current resource a 304 NotModified response will be returned. Weak ETags will always be ignored.
|
|
1546
|
+
*/
|
|
1547
|
+
'If-None-Match'?: string;
|
|
1548
|
+
/**
|
|
1549
|
+
* If provided and the resource has not been modified since the date a 304 NotModified response will be returned. This parameter will be ignored if an 'If-None-Match' parameter is also provided.
|
|
1550
|
+
*/
|
|
1551
|
+
'If-Modified-Since'?: string;
|
|
1552
|
+
};
|
|
1553
|
+
path: {
|
|
1554
|
+
/**
|
|
1555
|
+
* The key of the changeset to retrieve.
|
|
1556
|
+
*/
|
|
1557
|
+
key: string;
|
|
1558
|
+
};
|
|
1559
|
+
query?: never;
|
|
1560
|
+
url: '/experimental/changesets/{key}';
|
|
1561
|
+
};
|
|
1562
|
+
export type ChangesetsGetErrors = {
|
|
1563
|
+
/**
|
|
1564
|
+
* Forbidden
|
|
1565
|
+
*/
|
|
1566
|
+
403: ProblemDetails;
|
|
1567
|
+
/**
|
|
1568
|
+
* Not Found
|
|
1569
|
+
*/
|
|
1570
|
+
404: ProblemDetails;
|
|
1571
|
+
};
|
|
1572
|
+
export type ChangesetsGetError = ChangesetsGetErrors[keyof ChangesetsGetErrors];
|
|
1573
|
+
export type ChangesetsGetResponses = {
|
|
1574
|
+
/**
|
|
1575
|
+
* OK
|
|
1576
|
+
*/
|
|
1577
|
+
200: Changeset;
|
|
1578
|
+
};
|
|
1579
|
+
export type ChangesetsGetResponse = ChangesetsGetResponses[keyof ChangesetsGetResponses];
|
|
1580
|
+
export type ChangesetsPatchData = {
|
|
1581
|
+
/**
|
|
1582
|
+
* The values of the changeset that should be patched formatted according to RFC7396.
|
|
1583
|
+
*/
|
|
1584
|
+
body: ChangesetWritable;
|
|
1585
|
+
path: {
|
|
1586
|
+
/**
|
|
1587
|
+
* The key of the changeset to patch.
|
|
1588
|
+
*/
|
|
1589
|
+
key: string;
|
|
1590
|
+
};
|
|
1591
|
+
query?: never;
|
|
1592
|
+
url: '/experimental/changesets/{key}';
|
|
1593
|
+
};
|
|
1594
|
+
export type ChangesetsPatchErrors = {
|
|
1595
|
+
/**
|
|
1596
|
+
* Bad Request
|
|
1597
|
+
*/
|
|
1598
|
+
400: ProblemDetails;
|
|
1599
|
+
/**
|
|
1600
|
+
* Forbidden
|
|
1601
|
+
*/
|
|
1602
|
+
403: ProblemDetails;
|
|
1603
|
+
/**
|
|
1604
|
+
* Not Found
|
|
1605
|
+
*/
|
|
1606
|
+
404: ProblemDetails;
|
|
1607
|
+
};
|
|
1608
|
+
export type ChangesetsPatchError = ChangesetsPatchErrors[keyof ChangesetsPatchErrors];
|
|
1609
|
+
export type ChangesetsPatchResponses = {
|
|
1610
|
+
/**
|
|
1611
|
+
* OK
|
|
1612
|
+
*/
|
|
1613
|
+
200: Changeset;
|
|
1614
|
+
};
|
|
1615
|
+
export type ChangesetsPatchResponse = ChangesetsPatchResponses[keyof ChangesetsPatchResponses];
|
|
1616
|
+
export type ChangesetsDeleteItemData = {
|
|
1617
|
+
body?: never;
|
|
1618
|
+
path: {
|
|
1619
|
+
/**
|
|
1620
|
+
* The changeset key
|
|
1621
|
+
*/
|
|
1622
|
+
changeset: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* The content key
|
|
1625
|
+
*/
|
|
1626
|
+
key: string;
|
|
1627
|
+
/**
|
|
1628
|
+
* The content version
|
|
1629
|
+
*/
|
|
1630
|
+
version: string;
|
|
1631
|
+
};
|
|
1632
|
+
query?: never;
|
|
1633
|
+
url: '/experimental/changesets/{changeset}/items/{key}/versions/{version}';
|
|
1634
|
+
};
|
|
1635
|
+
export type ChangesetsDeleteItemErrors = {
|
|
1636
|
+
/**
|
|
1637
|
+
* Bad Request
|
|
1638
|
+
*/
|
|
1639
|
+
400: ProblemDetails;
|
|
1640
|
+
/**
|
|
1641
|
+
* Forbidden
|
|
1642
|
+
*/
|
|
1643
|
+
403: ProblemDetails;
|
|
1644
|
+
/**
|
|
1645
|
+
* Not Found
|
|
1646
|
+
*/
|
|
1647
|
+
404: ProblemDetails;
|
|
1648
|
+
};
|
|
1649
|
+
export type ChangesetsDeleteItemError = ChangesetsDeleteItemErrors[keyof ChangesetsDeleteItemErrors];
|
|
1650
|
+
export type ChangesetsDeleteItemResponses = {
|
|
1651
|
+
/**
|
|
1652
|
+
* OK
|
|
1653
|
+
*/
|
|
1654
|
+
200: ChangesetItem;
|
|
1655
|
+
};
|
|
1656
|
+
export type ChangesetsDeleteItemResponse = ChangesetsDeleteItemResponses[keyof ChangesetsDeleteItemResponses];
|
|
1657
|
+
export type ChangesetsGetItemData = {
|
|
1658
|
+
body?: never;
|
|
1659
|
+
path: {
|
|
1660
|
+
/**
|
|
1661
|
+
* The changeset key
|
|
1662
|
+
*/
|
|
1663
|
+
changeset: string;
|
|
1664
|
+
/**
|
|
1665
|
+
* The content key
|
|
1666
|
+
*/
|
|
1667
|
+
key: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* The content version
|
|
1670
|
+
*/
|
|
1671
|
+
version: string;
|
|
1672
|
+
};
|
|
1673
|
+
query?: never;
|
|
1674
|
+
url: '/experimental/changesets/{changeset}/items/{key}/versions/{version}';
|
|
1675
|
+
};
|
|
1676
|
+
export type ChangesetsGetItemErrors = {
|
|
1677
|
+
/**
|
|
1678
|
+
* Forbidden
|
|
1679
|
+
*/
|
|
1680
|
+
403: ProblemDetails;
|
|
1681
|
+
/**
|
|
1682
|
+
* Not Found
|
|
1683
|
+
*/
|
|
1684
|
+
404: ProblemDetails;
|
|
1685
|
+
};
|
|
1686
|
+
export type ChangesetsGetItemError = ChangesetsGetItemErrors[keyof ChangesetsGetItemErrors];
|
|
1687
|
+
export type ChangesetsGetItemResponses = {
|
|
1688
|
+
/**
|
|
1689
|
+
* OK
|
|
1690
|
+
*/
|
|
1691
|
+
200: ChangesetItem;
|
|
1692
|
+
};
|
|
1693
|
+
export type ChangesetsGetItemResponse = ChangesetsGetItemResponses[keyof ChangesetsGetItemResponses];
|
|
1694
|
+
export type ChangesetsPatchItemData = {
|
|
1695
|
+
/**
|
|
1696
|
+
* The values of the changeset item that should be patched formatted according to RFC7396.
|
|
1697
|
+
*/
|
|
1698
|
+
body: ChangesetItemWritable;
|
|
1699
|
+
path: {
|
|
1700
|
+
/**
|
|
1701
|
+
* The changeset key
|
|
1702
|
+
*/
|
|
1703
|
+
changeset: string;
|
|
1704
|
+
/**
|
|
1705
|
+
* The content key
|
|
1706
|
+
*/
|
|
1707
|
+
key: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* The content version
|
|
1710
|
+
*/
|
|
1711
|
+
version: string;
|
|
1712
|
+
};
|
|
1713
|
+
query?: never;
|
|
1714
|
+
url: '/experimental/changesets/{changeset}/items/{key}/versions/{version}';
|
|
1715
|
+
};
|
|
1716
|
+
export type ChangesetsPatchItemErrors = {
|
|
1717
|
+
/**
|
|
1718
|
+
* Bad Request
|
|
1719
|
+
*/
|
|
1720
|
+
400: ProblemDetails;
|
|
1721
|
+
/**
|
|
1722
|
+
* Forbidden
|
|
1723
|
+
*/
|
|
1724
|
+
403: ProblemDetails;
|
|
1725
|
+
/**
|
|
1726
|
+
* Not Found
|
|
1727
|
+
*/
|
|
1728
|
+
404: ProblemDetails;
|
|
1729
|
+
};
|
|
1730
|
+
export type ChangesetsPatchItemError = ChangesetsPatchItemErrors[keyof ChangesetsPatchItemErrors];
|
|
1731
|
+
export type ChangesetsPatchItemResponses = {
|
|
1732
|
+
/**
|
|
1733
|
+
* OK
|
|
1734
|
+
*/
|
|
1735
|
+
200: ChangesetItem;
|
|
1736
|
+
};
|
|
1737
|
+
export type ChangesetsPatchItemResponse = ChangesetsPatchItemResponses[keyof ChangesetsPatchItemResponses];
|
|
1738
|
+
export type ChangesetsListItemsData = {
|
|
1739
|
+
body?: never;
|
|
1740
|
+
path: {
|
|
1741
|
+
/**
|
|
1742
|
+
* The changeset key
|
|
1743
|
+
*/
|
|
1744
|
+
changeset: string;
|
|
1745
|
+
};
|
|
1746
|
+
query?: {
|
|
1747
|
+
pageIndex?: number;
|
|
1748
|
+
pageSize?: number;
|
|
1749
|
+
};
|
|
1750
|
+
url: '/experimental/changesets/{changeset}/items';
|
|
1751
|
+
};
|
|
1752
|
+
export type ChangesetsListItemsErrors = {
|
|
1753
|
+
/**
|
|
1754
|
+
* Forbidden
|
|
1755
|
+
*/
|
|
1756
|
+
403: ProblemDetails;
|
|
1757
|
+
/**
|
|
1758
|
+
* Not Found
|
|
1759
|
+
*/
|
|
1760
|
+
404: ProblemDetails;
|
|
1761
|
+
};
|
|
1762
|
+
export type ChangesetsListItemsError = ChangesetsListItemsErrors[keyof ChangesetsListItemsErrors];
|
|
1763
|
+
export type ChangesetsListItemsResponses = {
|
|
1764
|
+
/**
|
|
1765
|
+
* OK
|
|
1766
|
+
*/
|
|
1767
|
+
200: ChangesetItemPage;
|
|
1768
|
+
};
|
|
1769
|
+
export type ChangesetsListItemsResponse = ChangesetsListItemsResponses[keyof ChangesetsListItemsResponses];
|
|
1770
|
+
export type ChangesetsCreateItemData = {
|
|
1771
|
+
/**
|
|
1772
|
+
* The changeset item
|
|
1773
|
+
*/
|
|
1774
|
+
body: ChangesetItemWritable;
|
|
1775
|
+
path: {
|
|
1776
|
+
/**
|
|
1777
|
+
* The changeset key
|
|
1778
|
+
*/
|
|
1779
|
+
changeset: string;
|
|
1780
|
+
};
|
|
1781
|
+
query?: never;
|
|
1782
|
+
url: '/experimental/changesets/{changeset}/items';
|
|
1783
|
+
};
|
|
1784
|
+
export type ChangesetsCreateItemErrors = {
|
|
1785
|
+
/**
|
|
1786
|
+
* Bad Request
|
|
1787
|
+
*/
|
|
1788
|
+
400: ProblemDetails;
|
|
1789
|
+
/**
|
|
1790
|
+
* Forbidden
|
|
1791
|
+
*/
|
|
1792
|
+
403: ProblemDetails;
|
|
1793
|
+
/**
|
|
1794
|
+
* Not Found
|
|
1795
|
+
*/
|
|
1796
|
+
404: ProblemDetails;
|
|
1797
|
+
};
|
|
1798
|
+
export type ChangesetsCreateItemError = ChangesetsCreateItemErrors[keyof ChangesetsCreateItemErrors];
|
|
1799
|
+
export type ChangesetsCreateItemResponses = {
|
|
1800
|
+
/**
|
|
1801
|
+
* Created
|
|
1802
|
+
*/
|
|
1803
|
+
201: ChangesetItem;
|
|
1804
|
+
};
|
|
1805
|
+
export type ChangesetsCreateItemResponse = ChangesetsCreateItemResponses[keyof ChangesetsCreateItemResponses];
|
|
1806
|
+
export type ContentCreateData = {
|
|
1807
|
+
/**
|
|
1808
|
+
* The content item that should be created.
|
|
1809
|
+
*/
|
|
1810
|
+
body: ContentItemWritable;
|
|
1811
|
+
headers?: {
|
|
1812
|
+
/**
|
|
1813
|
+
* Indicates that the content validation should be ignored.
|
|
1814
|
+
*/
|
|
1815
|
+
'cms-skip-validation'?: boolean;
|
|
1816
|
+
};
|
|
1817
|
+
path?: never;
|
|
1818
|
+
query?: never;
|
|
1819
|
+
url: '/experimental/content';
|
|
1820
|
+
};
|
|
1821
|
+
export type ContentCreateErrors = {
|
|
1822
|
+
/**
|
|
1823
|
+
* Bad Request
|
|
1824
|
+
*/
|
|
1825
|
+
400: ProblemDetails;
|
|
1826
|
+
/**
|
|
1827
|
+
* Forbidden
|
|
1828
|
+
*/
|
|
1829
|
+
403: ProblemDetails;
|
|
1830
|
+
};
|
|
1831
|
+
export type ContentCreateError = ContentCreateErrors[keyof ContentCreateErrors];
|
|
1832
|
+
export type ContentCreateResponses = {
|
|
1833
|
+
/**
|
|
1834
|
+
* Created
|
|
1835
|
+
*/
|
|
1836
|
+
201: ContentItem;
|
|
1837
|
+
};
|
|
1838
|
+
export type ContentCreateResponse = ContentCreateResponses[keyof ContentCreateResponses];
|
|
1839
|
+
export type ContentDeleteData = {
|
|
1840
|
+
body?: never;
|
|
1841
|
+
headers?: {
|
|
1842
|
+
/**
|
|
1843
|
+
* Indicates that the content item should be permanently deleted immediately or if it should be soft deleted first.
|
|
1844
|
+
*/
|
|
1845
|
+
'cms-permanent-delete'?: boolean;
|
|
1846
|
+
};
|
|
1847
|
+
path: {
|
|
1848
|
+
/**
|
|
1849
|
+
* The key of the content item to delete.
|
|
1850
|
+
*/
|
|
1851
|
+
key: string;
|
|
1852
|
+
};
|
|
1853
|
+
query?: never;
|
|
1854
|
+
url: '/experimental/content/{key}';
|
|
1855
|
+
};
|
|
1856
|
+
export type ContentDeleteErrors = {
|
|
1857
|
+
/**
|
|
1858
|
+
* Bad Request
|
|
1859
|
+
*/
|
|
1860
|
+
400: ProblemDetails;
|
|
1861
|
+
/**
|
|
1862
|
+
* Forbidden
|
|
1863
|
+
*/
|
|
1864
|
+
403: ProblemDetails;
|
|
1865
|
+
/**
|
|
1866
|
+
* Not Found
|
|
1867
|
+
*/
|
|
1868
|
+
404: ProblemDetails;
|
|
1869
|
+
};
|
|
1870
|
+
export type ContentDeleteError = ContentDeleteErrors[keyof ContentDeleteErrors];
|
|
1871
|
+
export type ContentDeleteResponses = {
|
|
1872
|
+
/**
|
|
1873
|
+
* OK
|
|
1874
|
+
*/
|
|
1875
|
+
200: ContentMetadata;
|
|
1876
|
+
};
|
|
1877
|
+
export type ContentDeleteResponse = ContentDeleteResponses[keyof ContentDeleteResponses];
|
|
1878
|
+
export type ContentGetMetadataData = {
|
|
1879
|
+
body?: never;
|
|
1880
|
+
path: {
|
|
1881
|
+
/**
|
|
1882
|
+
* The key of the content to retrieve metadata for.
|
|
1883
|
+
*/
|
|
1884
|
+
key: string;
|
|
1885
|
+
};
|
|
1886
|
+
query?: {
|
|
1887
|
+
/**
|
|
1888
|
+
* Indicates that metadata for a deleted content may be returned.
|
|
1889
|
+
*/
|
|
1890
|
+
allowDeleted?: boolean;
|
|
1891
|
+
};
|
|
1892
|
+
url: '/experimental/content/{key}';
|
|
1893
|
+
};
|
|
1894
|
+
export type ContentGetMetadataErrors = {
|
|
1895
|
+
/**
|
|
1896
|
+
* Forbidden
|
|
1897
|
+
*/
|
|
1898
|
+
403: ProblemDetails;
|
|
1899
|
+
/**
|
|
1900
|
+
* Not Found
|
|
1901
|
+
*/
|
|
1902
|
+
404: ProblemDetails;
|
|
1903
|
+
};
|
|
1904
|
+
export type ContentGetMetadataError = ContentGetMetadataErrors[keyof ContentGetMetadataErrors];
|
|
1905
|
+
export type ContentGetMetadataResponses = {
|
|
1906
|
+
/**
|
|
1907
|
+
* OK
|
|
1908
|
+
*/
|
|
1909
|
+
200: ContentMetadata;
|
|
1910
|
+
};
|
|
1911
|
+
export type ContentGetMetadataResponse = ContentGetMetadataResponses[keyof ContentGetMetadataResponses];
|
|
1912
|
+
export type ContentPatchMetadataData = {
|
|
1913
|
+
/**
|
|
1914
|
+
* The values of the content item that should be patched.
|
|
1915
|
+
*/
|
|
1916
|
+
body: ContentMetadataWritable;
|
|
1917
|
+
path: {
|
|
1918
|
+
/**
|
|
1919
|
+
* The key of the content item to patch.
|
|
1920
|
+
*/
|
|
1921
|
+
key: string;
|
|
1922
|
+
};
|
|
1923
|
+
query?: never;
|
|
1924
|
+
url: '/experimental/content/{key}';
|
|
1925
|
+
};
|
|
1926
|
+
export type ContentPatchMetadataErrors = {
|
|
1927
|
+
/**
|
|
1928
|
+
* Bad Request
|
|
1929
|
+
*/
|
|
1930
|
+
400: ProblemDetails;
|
|
1931
|
+
/**
|
|
1932
|
+
* Forbidden
|
|
1933
|
+
*/
|
|
1934
|
+
403: ProblemDetails;
|
|
1935
|
+
/**
|
|
1936
|
+
* Not Found
|
|
1937
|
+
*/
|
|
1938
|
+
404: ProblemDetails;
|
|
1939
|
+
};
|
|
1940
|
+
export type ContentPatchMetadataError = ContentPatchMetadataErrors[keyof ContentPatchMetadataErrors];
|
|
1941
|
+
export type ContentPatchMetadataResponses = {
|
|
1942
|
+
/**
|
|
1943
|
+
* OK
|
|
1944
|
+
*/
|
|
1945
|
+
200: ContentMetadata;
|
|
1946
|
+
};
|
|
1947
|
+
export type ContentPatchMetadataResponse = ContentPatchMetadataResponses[keyof ContentPatchMetadataResponses];
|
|
1948
|
+
export type ContentGetPathData = {
|
|
1949
|
+
body?: never;
|
|
1950
|
+
path: {
|
|
1951
|
+
/**
|
|
1952
|
+
* The key of the content path to retrieve.
|
|
1953
|
+
*/
|
|
1954
|
+
key: string;
|
|
1955
|
+
};
|
|
1956
|
+
query?: {
|
|
1957
|
+
pageIndex?: number;
|
|
1958
|
+
pageSize?: number;
|
|
1959
|
+
};
|
|
1960
|
+
url: '/experimental/content/{key}/path';
|
|
1961
|
+
};
|
|
1962
|
+
export type ContentGetPathErrors = {
|
|
1963
|
+
/**
|
|
1964
|
+
* Forbidden
|
|
1965
|
+
*/
|
|
1966
|
+
403: ProblemDetails;
|
|
1967
|
+
/**
|
|
1968
|
+
* Not Found
|
|
1969
|
+
*/
|
|
1970
|
+
404: ProblemDetails;
|
|
1971
|
+
};
|
|
1972
|
+
export type ContentGetPathError = ContentGetPathErrors[keyof ContentGetPathErrors];
|
|
1973
|
+
export type ContentGetPathResponses = {
|
|
1974
|
+
/**
|
|
1975
|
+
* OK
|
|
1976
|
+
*/
|
|
1977
|
+
200: ContentMetadataPage;
|
|
1978
|
+
};
|
|
1979
|
+
export type ContentGetPathResponse = ContentGetPathResponses[keyof ContentGetPathResponses];
|
|
1980
|
+
export type ContentListItemsData = {
|
|
1981
|
+
body?: never;
|
|
1982
|
+
path: {
|
|
1983
|
+
/**
|
|
1984
|
+
* The key of the content to retrieve items for.
|
|
1985
|
+
*/
|
|
1986
|
+
key: string;
|
|
1987
|
+
};
|
|
1988
|
+
query?: {
|
|
1989
|
+
/**
|
|
1990
|
+
* Indicates which content types or base types to include in the list.
|
|
1991
|
+
*/
|
|
1992
|
+
contentTypes?: Array<string>;
|
|
1993
|
+
pageIndex?: number;
|
|
1994
|
+
pageSize?: number;
|
|
1995
|
+
};
|
|
1996
|
+
url: '/experimental/content/{key}/items';
|
|
1997
|
+
};
|
|
1998
|
+
export type ContentListItemsErrors = {
|
|
1999
|
+
/**
|
|
2000
|
+
* Forbidden
|
|
2001
|
+
*/
|
|
2002
|
+
403: ProblemDetails;
|
|
2003
|
+
/**
|
|
2004
|
+
* Not Found
|
|
2005
|
+
*/
|
|
2006
|
+
404: ProblemDetails;
|
|
2007
|
+
};
|
|
2008
|
+
export type ContentListItemsError = ContentListItemsErrors[keyof ContentListItemsErrors];
|
|
2009
|
+
export type ContentListItemsResponses = {
|
|
2010
|
+
/**
|
|
2011
|
+
* OK
|
|
2012
|
+
*/
|
|
2013
|
+
200: ContentMetadataPage;
|
|
2014
|
+
};
|
|
2015
|
+
export type ContentListItemsResponse = ContentListItemsResponses[keyof ContentListItemsResponses];
|
|
2016
|
+
export type ContentListAssetsData = {
|
|
2017
|
+
body?: never;
|
|
2018
|
+
path: {
|
|
2019
|
+
/**
|
|
2020
|
+
* The key of the content to retrieve assets for.
|
|
2021
|
+
*/
|
|
2022
|
+
key: string;
|
|
2023
|
+
};
|
|
2024
|
+
query?: {
|
|
2025
|
+
/**
|
|
2026
|
+
* Indicates which content types or base types to include in the list.
|
|
2027
|
+
*/
|
|
2028
|
+
contentTypes?: Array<string>;
|
|
2029
|
+
pageIndex?: number;
|
|
2030
|
+
pageSize?: number;
|
|
2031
|
+
};
|
|
2032
|
+
url: '/experimental/content/{key}/assets';
|
|
2033
|
+
};
|
|
2034
|
+
export type ContentListAssetsErrors = {
|
|
2035
|
+
/**
|
|
2036
|
+
* Forbidden
|
|
2037
|
+
*/
|
|
2038
|
+
403: ProblemDetails;
|
|
2039
|
+
/**
|
|
2040
|
+
* Not Found
|
|
2041
|
+
*/
|
|
2042
|
+
404: ProblemDetails;
|
|
2043
|
+
};
|
|
2044
|
+
export type ContentListAssetsError = ContentListAssetsErrors[keyof ContentListAssetsErrors];
|
|
2045
|
+
export type ContentListAssetsResponses = {
|
|
2046
|
+
/**
|
|
2047
|
+
* OK
|
|
2048
|
+
*/
|
|
2049
|
+
200: ContentMetadataPage;
|
|
2050
|
+
};
|
|
2051
|
+
export type ContentListAssetsResponse = ContentListAssetsResponses[keyof ContentListAssetsResponses];
|
|
2052
|
+
export type ContentCopyData = {
|
|
2053
|
+
/**
|
|
2054
|
+
* Optional instructions for how to copy content.
|
|
2055
|
+
*/
|
|
2056
|
+
body?: CopyContentOptions;
|
|
2057
|
+
path: {
|
|
2058
|
+
/**
|
|
2059
|
+
* The key of the content item to copy.
|
|
2060
|
+
*/
|
|
2061
|
+
key: string;
|
|
2062
|
+
};
|
|
2063
|
+
query?: never;
|
|
2064
|
+
url: '/experimental/content/{key}:copy';
|
|
2065
|
+
};
|
|
2066
|
+
export type ContentCopyErrors = {
|
|
2067
|
+
/**
|
|
2068
|
+
* Bad Request
|
|
2069
|
+
*/
|
|
2070
|
+
400: ProblemDetails;
|
|
2071
|
+
/**
|
|
2072
|
+
* Forbidden
|
|
2073
|
+
*/
|
|
2074
|
+
403: ProblemDetails;
|
|
2075
|
+
/**
|
|
2076
|
+
* Not Found
|
|
2077
|
+
*/
|
|
2078
|
+
404: ProblemDetails;
|
|
2079
|
+
};
|
|
2080
|
+
export type ContentCopyError = ContentCopyErrors[keyof ContentCopyErrors];
|
|
2081
|
+
export type ContentCopyResponses = {
|
|
2082
|
+
/**
|
|
2083
|
+
* OK
|
|
2084
|
+
*/
|
|
2085
|
+
200: ContentMetadata;
|
|
2086
|
+
};
|
|
2087
|
+
export type ContentCopyResponse = ContentCopyResponses[keyof ContentCopyResponses];
|
|
2088
|
+
export type ContentUndeleteData = {
|
|
2089
|
+
body?: never;
|
|
2090
|
+
path: {
|
|
2091
|
+
/**
|
|
2092
|
+
* The key of the content item to undelete.
|
|
2093
|
+
*/
|
|
2094
|
+
key: string;
|
|
2095
|
+
};
|
|
2096
|
+
query?: never;
|
|
2097
|
+
url: '/experimental/content/{key}:undelete';
|
|
2098
|
+
};
|
|
2099
|
+
export type ContentUndeleteErrors = {
|
|
2100
|
+
/**
|
|
2101
|
+
* Bad Request
|
|
2102
|
+
*/
|
|
2103
|
+
400: ProblemDetails;
|
|
2104
|
+
/**
|
|
2105
|
+
* Forbidden
|
|
2106
|
+
*/
|
|
2107
|
+
403: ProblemDetails;
|
|
2108
|
+
/**
|
|
2109
|
+
* Not Found
|
|
2110
|
+
*/
|
|
2111
|
+
404: ProblemDetails;
|
|
2112
|
+
};
|
|
2113
|
+
export type ContentUndeleteError = ContentUndeleteErrors[keyof ContentUndeleteErrors];
|
|
2114
|
+
export type ContentUndeleteResponses = {
|
|
2115
|
+
/**
|
|
2116
|
+
* OK
|
|
2117
|
+
*/
|
|
2118
|
+
200: ContentMetadata;
|
|
2119
|
+
};
|
|
2120
|
+
export type ContentUndeleteResponse = ContentUndeleteResponses[keyof ContentUndeleteResponses];
|
|
2121
|
+
export type ContentListAllVersionsData = {
|
|
2122
|
+
body?: never;
|
|
2123
|
+
path?: never;
|
|
2124
|
+
query?: {
|
|
2125
|
+
/**
|
|
2126
|
+
* Indicates which content locales that should be listed. Use 'NEUTRAL' to include locale-neutral content.
|
|
2127
|
+
* Locale must be a valid IETF BCP-47 language tag.
|
|
2128
|
+
*/
|
|
2129
|
+
locales?: Array<string>;
|
|
2130
|
+
/**
|
|
2131
|
+
* Indicates which status content versions must have to be listed.
|
|
2132
|
+
*/
|
|
2133
|
+
statuses?: Array<'draft' | 'ready' | 'published' | 'previous' | 'scheduled' | 'rejected' | 'inReview'>;
|
|
2134
|
+
pageIndex?: number;
|
|
2135
|
+
pageSize?: number;
|
|
2136
|
+
};
|
|
2137
|
+
url: '/experimental/content/versions';
|
|
2138
|
+
};
|
|
2139
|
+
export type ContentListAllVersionsErrors = {
|
|
2140
|
+
/**
|
|
2141
|
+
* Forbidden
|
|
2142
|
+
*/
|
|
2143
|
+
403: ProblemDetails;
|
|
2144
|
+
};
|
|
2145
|
+
export type ContentListAllVersionsError = ContentListAllVersionsErrors[keyof ContentListAllVersionsErrors];
|
|
2146
|
+
export type ContentListAllVersionsResponses = {
|
|
2147
|
+
/**
|
|
2148
|
+
* OK
|
|
2149
|
+
*/
|
|
2150
|
+
200: ContentItemPage;
|
|
2151
|
+
};
|
|
2152
|
+
export type ContentListAllVersionsResponse = ContentListAllVersionsResponses[keyof ContentListAllVersionsResponses];
|
|
2153
|
+
export type ContentDeleteLocaleData = {
|
|
2154
|
+
body?: never;
|
|
2155
|
+
path: {
|
|
2156
|
+
key: string;
|
|
2157
|
+
};
|
|
2158
|
+
query?: {
|
|
2159
|
+
locale?: string;
|
|
2160
|
+
};
|
|
2161
|
+
url: '/experimental/content/{key}/versions';
|
|
2162
|
+
};
|
|
2163
|
+
export type ContentDeleteLocaleErrors = {
|
|
2164
|
+
/**
|
|
2165
|
+
* Bad Request
|
|
2166
|
+
*/
|
|
2167
|
+
400: ProblemDetails;
|
|
2168
|
+
/**
|
|
2169
|
+
* Forbidden
|
|
2170
|
+
*/
|
|
2171
|
+
403: ProblemDetails;
|
|
2172
|
+
/**
|
|
2173
|
+
* Not Found
|
|
2174
|
+
*/
|
|
2175
|
+
404: ProblemDetails;
|
|
2176
|
+
};
|
|
2177
|
+
export type ContentDeleteLocaleError = ContentDeleteLocaleErrors[keyof ContentDeleteLocaleErrors];
|
|
2178
|
+
export type ContentDeleteLocaleResponses = {
|
|
2179
|
+
/**
|
|
2180
|
+
* OK
|
|
2181
|
+
*/
|
|
2182
|
+
200: ContentItem;
|
|
2183
|
+
};
|
|
2184
|
+
export type ContentDeleteLocaleResponse = ContentDeleteLocaleResponses[keyof ContentDeleteLocaleResponses];
|
|
2185
|
+
export type ContentListVersionsData = {
|
|
2186
|
+
body?: never;
|
|
2187
|
+
path: {
|
|
2188
|
+
key: string;
|
|
2189
|
+
};
|
|
2190
|
+
query?: {
|
|
2191
|
+
/**
|
|
2192
|
+
* Indicates which content locales that should be listed. Use 'NEUTRAL' to include locale-neutral content.
|
|
2193
|
+
* Locale must be a valid IETF BCP-47 language tag.
|
|
2194
|
+
*/
|
|
2195
|
+
locales?: Array<string>;
|
|
2196
|
+
/**
|
|
2197
|
+
* Indicates which status content versions must have to be listed.
|
|
2198
|
+
*/
|
|
2199
|
+
statuses?: Array<'draft' | 'ready' | 'published' | 'previous' | 'scheduled' | 'rejected' | 'inReview'>;
|
|
2200
|
+
pageIndex?: number;
|
|
2201
|
+
pageSize?: number;
|
|
2202
|
+
};
|
|
2203
|
+
url: '/experimental/content/{key}/versions';
|
|
2204
|
+
};
|
|
2205
|
+
export type ContentListVersionsErrors = {
|
|
2206
|
+
/**
|
|
2207
|
+
* Forbidden
|
|
2208
|
+
*/
|
|
2209
|
+
403: ProblemDetails;
|
|
2210
|
+
/**
|
|
2211
|
+
* Not Found
|
|
2212
|
+
*/
|
|
2213
|
+
404: ProblemDetails;
|
|
2214
|
+
};
|
|
2215
|
+
export type ContentListVersionsError = ContentListVersionsErrors[keyof ContentListVersionsErrors];
|
|
2216
|
+
export type ContentListVersionsResponses = {
|
|
2217
|
+
/**
|
|
2218
|
+
* OK
|
|
2219
|
+
*/
|
|
2220
|
+
200: ContentItemPage;
|
|
2221
|
+
};
|
|
2222
|
+
export type ContentListVersionsResponse = ContentListVersionsResponses[keyof ContentListVersionsResponses];
|
|
2223
|
+
export type ContentCreateVersionData = {
|
|
2224
|
+
/**
|
|
2225
|
+
* The content version that should be created.
|
|
2226
|
+
*/
|
|
2227
|
+
body: ContentItemWritable;
|
|
2228
|
+
headers?: {
|
|
2229
|
+
/**
|
|
2230
|
+
* Indicates that the content validation should be ignored.
|
|
2231
|
+
*/
|
|
2232
|
+
'cms-skip-validation'?: boolean;
|
|
2233
|
+
};
|
|
2234
|
+
path: {
|
|
2235
|
+
/**
|
|
2236
|
+
* The key of the content item for which a new content version should be created.
|
|
2237
|
+
*/
|
|
2238
|
+
key: string;
|
|
2239
|
+
};
|
|
2240
|
+
query?: never;
|
|
2241
|
+
url: '/experimental/content/{key}/versions';
|
|
2242
|
+
};
|
|
2243
|
+
export type ContentCreateVersionErrors = {
|
|
2244
|
+
/**
|
|
2245
|
+
* Bad Request
|
|
2246
|
+
*/
|
|
2247
|
+
400: ProblemDetails;
|
|
2248
|
+
/**
|
|
2249
|
+
* Forbidden
|
|
2250
|
+
*/
|
|
2251
|
+
403: ProblemDetails;
|
|
2252
|
+
/**
|
|
2253
|
+
* Not Found
|
|
2254
|
+
*/
|
|
2255
|
+
404: ProblemDetails;
|
|
2256
|
+
};
|
|
2257
|
+
export type ContentCreateVersionError = ContentCreateVersionErrors[keyof ContentCreateVersionErrors];
|
|
2258
|
+
export type ContentCreateVersionResponses = {
|
|
2259
|
+
/**
|
|
2260
|
+
* Created
|
|
2261
|
+
*/
|
|
2262
|
+
201: ContentItem;
|
|
2263
|
+
};
|
|
2264
|
+
export type ContentCreateVersionResponse = ContentCreateVersionResponses[keyof ContentCreateVersionResponses];
|
|
2265
|
+
export type ContentDeleteVersionData = {
|
|
2266
|
+
body?: never;
|
|
2267
|
+
path: {
|
|
2268
|
+
key: string;
|
|
2269
|
+
version: string;
|
|
2270
|
+
};
|
|
2271
|
+
query?: never;
|
|
2272
|
+
url: '/experimental/content/{key}/versions/{version}';
|
|
2273
|
+
};
|
|
2274
|
+
export type ContentDeleteVersionErrors = {
|
|
2275
|
+
/**
|
|
2276
|
+
* Bad Request
|
|
2277
|
+
*/
|
|
2278
|
+
400: ProblemDetails;
|
|
2279
|
+
/**
|
|
2280
|
+
* Forbidden
|
|
2281
|
+
*/
|
|
2282
|
+
403: ProblemDetails;
|
|
2283
|
+
/**
|
|
2284
|
+
* Not Found
|
|
2285
|
+
*/
|
|
2286
|
+
404: ProblemDetails;
|
|
2287
|
+
};
|
|
2288
|
+
export type ContentDeleteVersionError = ContentDeleteVersionErrors[keyof ContentDeleteVersionErrors];
|
|
2289
|
+
export type ContentDeleteVersionResponses = {
|
|
2290
|
+
/**
|
|
2291
|
+
* OK
|
|
2292
|
+
*/
|
|
2293
|
+
200: ContentItem;
|
|
2294
|
+
};
|
|
2295
|
+
export type ContentDeleteVersionResponse = ContentDeleteVersionResponses[keyof ContentDeleteVersionResponses];
|
|
2296
|
+
export type ContentGetVersionData = {
|
|
2297
|
+
body?: never;
|
|
2298
|
+
headers?: {
|
|
2299
|
+
/**
|
|
2300
|
+
* If provided and the value matches the RFC7232 ETag of the current resource a 304 NotModified response will be returned. Weak ETags will always be ignored.
|
|
2301
|
+
*/
|
|
2302
|
+
'If-None-Match'?: string;
|
|
2303
|
+
/**
|
|
2304
|
+
* If provided and the resource has not been modified since the date a 304 NotModified response will be returned. This parameter will be ignored if an 'If-None-Match' parameter is also provided.
|
|
2305
|
+
*/
|
|
2306
|
+
'If-Modified-Since'?: string;
|
|
2307
|
+
};
|
|
2308
|
+
path: {
|
|
2309
|
+
key: string;
|
|
2310
|
+
version: string;
|
|
2311
|
+
};
|
|
2312
|
+
query?: {
|
|
2313
|
+
locale?: string;
|
|
2314
|
+
};
|
|
2315
|
+
url: '/experimental/content/{key}/versions/{version}';
|
|
2316
|
+
};
|
|
2317
|
+
export type ContentGetVersionErrors = {
|
|
2318
|
+
/**
|
|
2319
|
+
* Forbidden
|
|
2320
|
+
*/
|
|
2321
|
+
403: ProblemDetails;
|
|
2322
|
+
/**
|
|
2323
|
+
* Not Found
|
|
2324
|
+
*/
|
|
2325
|
+
404: ProblemDetails;
|
|
2326
|
+
};
|
|
2327
|
+
export type ContentGetVersionError = ContentGetVersionErrors[keyof ContentGetVersionErrors];
|
|
2328
|
+
export type ContentGetVersionResponses = {
|
|
2329
|
+
/**
|
|
2330
|
+
* OK
|
|
2331
|
+
*/
|
|
2332
|
+
200: ContentItem;
|
|
2333
|
+
};
|
|
2334
|
+
export type ContentGetVersionResponse = ContentGetVersionResponses[keyof ContentGetVersionResponses];
|
|
2335
|
+
export type ContentPatchVersionData = {
|
|
2336
|
+
/**
|
|
2337
|
+
* The content information that should be patched.
|
|
2338
|
+
*/
|
|
2339
|
+
body: ContentItemWritable;
|
|
2340
|
+
headers?: {
|
|
2341
|
+
/**
|
|
2342
|
+
* Indicates that the content validation should be ignored.
|
|
2343
|
+
*/
|
|
2344
|
+
'cms-skip-validation'?: boolean;
|
|
2345
|
+
};
|
|
2346
|
+
path: {
|
|
2347
|
+
/**
|
|
2348
|
+
* The key of the content item that should be patched.
|
|
2349
|
+
*/
|
|
2350
|
+
key: string;
|
|
2351
|
+
/**
|
|
2352
|
+
* The version of the content that should be patched.
|
|
2353
|
+
*/
|
|
2354
|
+
version: string;
|
|
2355
|
+
};
|
|
2356
|
+
query?: {
|
|
2357
|
+
/**
|
|
2358
|
+
* The locale of the content that should be patched.
|
|
2359
|
+
*/
|
|
2360
|
+
locale?: string;
|
|
2361
|
+
};
|
|
2362
|
+
url: '/experimental/content/{key}/versions/{version}';
|
|
2363
|
+
};
|
|
2364
|
+
export type ContentPatchVersionErrors = {
|
|
2365
|
+
/**
|
|
2366
|
+
* Bad Request
|
|
2367
|
+
*/
|
|
2368
|
+
400: ProblemDetails;
|
|
2369
|
+
/**
|
|
2370
|
+
* Forbidden
|
|
2371
|
+
*/
|
|
2372
|
+
403: ProblemDetails;
|
|
2373
|
+
/**
|
|
2374
|
+
* Not Found
|
|
2375
|
+
*/
|
|
2376
|
+
404: ProblemDetails;
|
|
2377
|
+
};
|
|
2378
|
+
export type ContentPatchVersionError = ContentPatchVersionErrors[keyof ContentPatchVersionErrors];
|
|
2379
|
+
export type ContentPatchVersionResponses = {
|
|
2380
|
+
/**
|
|
2381
|
+
* OK
|
|
2382
|
+
*/
|
|
2383
|
+
200: ContentItem;
|
|
2384
|
+
};
|
|
2385
|
+
export type ContentPatchVersionResponse = ContentPatchVersionResponses[keyof ContentPatchVersionResponses];
|
|
2386
|
+
export type ContentGetPreviewsData = {
|
|
2387
|
+
body?: never;
|
|
2388
|
+
path: {
|
|
2389
|
+
/**
|
|
2390
|
+
* The key of the content item.
|
|
2391
|
+
*/
|
|
2392
|
+
key: string;
|
|
2393
|
+
/**
|
|
2394
|
+
* The version of the content item.
|
|
2395
|
+
*/
|
|
2396
|
+
version: string;
|
|
2397
|
+
};
|
|
2398
|
+
query?: never;
|
|
2399
|
+
url: '/experimental/content/{key}/versions/{version}/previews';
|
|
2400
|
+
};
|
|
2401
|
+
export type ContentGetPreviewsErrors = {
|
|
2402
|
+
/**
|
|
2403
|
+
* Forbidden
|
|
2404
|
+
*/
|
|
2405
|
+
403: ProblemDetails;
|
|
2406
|
+
/**
|
|
2407
|
+
* Not Found
|
|
2408
|
+
*/
|
|
2409
|
+
404: ProblemDetails;
|
|
2410
|
+
};
|
|
2411
|
+
export type ContentGetPreviewsError = ContentGetPreviewsErrors[keyof ContentGetPreviewsErrors];
|
|
2412
|
+
export type ContentGetPreviewsResponses = {
|
|
2413
|
+
/**
|
|
2414
|
+
* OK
|
|
2415
|
+
*/
|
|
2416
|
+
200: Array<Preview>;
|
|
2417
|
+
};
|
|
2418
|
+
export type ContentGetPreviewsResponse = ContentGetPreviewsResponses[keyof ContentGetPreviewsResponses];
|
|
645
2419
|
export type ContentTypesListData = {
|
|
646
2420
|
body?: never;
|
|
647
2421
|
path?: never;
|
|
@@ -707,11 +2481,11 @@ export type ContentTypesDeleteData = {
|
|
|
707
2481
|
/**
|
|
708
2482
|
* If provided, the DELETE request will only be considered if the value matches the RFC7232 ETag of the current resource. Weak ETags will always be ignored.
|
|
709
2483
|
*/
|
|
710
|
-
|
|
2484
|
+
'If-Match'?: string;
|
|
711
2485
|
/**
|
|
712
2486
|
* If provided, the DELETE request will only be considered if the resource has not been modified since the provided date. This parameter will be ignored if an 'If-Match' parameter is also provided.
|
|
713
2487
|
*/
|
|
714
|
-
|
|
2488
|
+
'If-Unmodified-Since'?: string;
|
|
715
2489
|
};
|
|
716
2490
|
path: {
|
|
717
2491
|
/**
|
|
@@ -754,11 +2528,11 @@ export type ContentTypesGetData = {
|
|
|
754
2528
|
/**
|
|
755
2529
|
* If provided and the value matches the RFC7232 ETag of the current resource a 304 NotModified response will be returned. Weak ETags will always be ignored.
|
|
756
2530
|
*/
|
|
757
|
-
|
|
2531
|
+
'If-None-Match'?: string;
|
|
758
2532
|
/**
|
|
759
2533
|
* If provided and the resource has not been modified since the date a 304 NotModified response will be returned. This parameter will be ignored if an 'If-None-Match' parameter is also provided.
|
|
760
2534
|
*/
|
|
761
|
-
|
|
2535
|
+
'If-Modified-Since'?: string;
|
|
762
2536
|
};
|
|
763
2537
|
path: {
|
|
764
2538
|
/**
|
|
@@ -796,15 +2570,15 @@ export type ContentTypesPatchData = {
|
|
|
796
2570
|
/**
|
|
797
2571
|
* Patch the content type even though the changes might result in data loss.
|
|
798
2572
|
*/
|
|
799
|
-
|
|
2573
|
+
'cms-ignore-data-loss-warnings'?: boolean;
|
|
800
2574
|
/**
|
|
801
2575
|
* If provided, the PATCH request will only be considered if the value matches the RFC7232 ETag of the current resource. Weak ETags will always be ignored.
|
|
802
2576
|
*/
|
|
803
|
-
|
|
2577
|
+
'If-Match'?: string;
|
|
804
2578
|
/**
|
|
805
2579
|
* If provided, the PATCH request will only be considered if the resource has not been modified since the provided date. This parameter will be ignored if an 'If-Match' parameter is also provided.
|
|
806
2580
|
*/
|
|
807
|
-
|
|
2581
|
+
'If-Unmodified-Since'?: string;
|
|
808
2582
|
};
|
|
809
2583
|
path: {
|
|
810
2584
|
/**
|
|
@@ -897,11 +2671,11 @@ export type DisplayTemplatesDeleteData = {
|
|
|
897
2671
|
/**
|
|
898
2672
|
* If provided, the DELETE request will only be considered if the value matches the RFC7232 ETag of the current resource. Weak ETags will always be ignored.
|
|
899
2673
|
*/
|
|
900
|
-
|
|
2674
|
+
'If-Match'?: string;
|
|
901
2675
|
/**
|
|
902
2676
|
* If provided, the DELETE request will only be considered if the resource has not been modified since the provided date. This parameter will be ignored if an 'If-Match' parameter is also provided.
|
|
903
2677
|
*/
|
|
904
|
-
|
|
2678
|
+
'If-Unmodified-Since'?: string;
|
|
905
2679
|
};
|
|
906
2680
|
path: {
|
|
907
2681
|
/**
|
|
@@ -944,11 +2718,11 @@ export type DisplayTemplatesGetData = {
|
|
|
944
2718
|
/**
|
|
945
2719
|
* If provided and the value matches the RFC7232 ETag of the current resource a 304 NotModified response will be returned. Weak ETags will always be ignored.
|
|
946
2720
|
*/
|
|
947
|
-
|
|
2721
|
+
'If-None-Match'?: string;
|
|
948
2722
|
/**
|
|
949
2723
|
* If provided and the resource has not been modified since the date a 304 NotModified response will be returned. This parameter will be ignored if an 'If-None-Match' parameter is also provided.
|
|
950
2724
|
*/
|
|
951
|
-
|
|
2725
|
+
'If-Modified-Since'?: string;
|
|
952
2726
|
};
|
|
953
2727
|
path: {
|
|
954
2728
|
/**
|
|
@@ -986,11 +2760,11 @@ export type DisplayTemplatesPatchData = {
|
|
|
986
2760
|
/**
|
|
987
2761
|
* If provided, the PATCH request will only be considered if the value matches the RFC7232 ETag of the current resource. Weak ETags will always be ignored.
|
|
988
2762
|
*/
|
|
989
|
-
|
|
2763
|
+
'If-Match'?: string;
|
|
990
2764
|
/**
|
|
991
2765
|
* If provided, the PATCH request will only be considered if the resource has not been modified since the provided date. This parameter will be ignored if an 'If-Match' parameter is also provided.
|
|
992
2766
|
*/
|
|
993
|
-
|
|
2767
|
+
'If-Unmodified-Since'?: string;
|
|
994
2768
|
};
|
|
995
2769
|
path: {
|
|
996
2770
|
/**
|
|
@@ -1056,11 +2830,11 @@ export type PropertyFormatsGetData = {
|
|
|
1056
2830
|
/**
|
|
1057
2831
|
* If provided and the value matches the RFC7232 ETag of the current resource a 304 NotModified response will be returned. Weak ETags will always be ignored.
|
|
1058
2832
|
*/
|
|
1059
|
-
|
|
2833
|
+
'If-None-Match'?: string;
|
|
1060
2834
|
/**
|
|
1061
2835
|
* If provided and the resource has not been modified since the date a 304 NotModified response will be returned. This parameter will be ignored if an 'If-None-Match' parameter is also provided.
|
|
1062
2836
|
*/
|
|
1063
|
-
|
|
2837
|
+
'If-Modified-Since'?: string;
|
|
1064
2838
|
};
|
|
1065
2839
|
path: {
|
|
1066
2840
|
/**
|
|
@@ -1153,11 +2927,11 @@ export type PropertyGroupsDeleteData = {
|
|
|
1153
2927
|
/**
|
|
1154
2928
|
* If provided, the DELETE request will only be considered if the value matches the RFC7232 ETag of the current resource. Weak ETags will always be ignored.
|
|
1155
2929
|
*/
|
|
1156
|
-
|
|
2930
|
+
'If-Match'?: string;
|
|
1157
2931
|
/**
|
|
1158
2932
|
* If provided, the DELETE request will only be considered if the resource has not been modified since the provided date. This parameter will be ignored if an 'If-Match' parameter is also provided.
|
|
1159
2933
|
*/
|
|
1160
|
-
|
|
2934
|
+
'If-Unmodified-Since'?: string;
|
|
1161
2935
|
};
|
|
1162
2936
|
path: {
|
|
1163
2937
|
/**
|
|
@@ -1200,11 +2974,11 @@ export type PropertyGroupsGetData = {
|
|
|
1200
2974
|
/**
|
|
1201
2975
|
* If provided and the value matches the RFC7232 ETag of the current resource a 304 NotModified response will be returned. Weak ETags will always be ignored.
|
|
1202
2976
|
*/
|
|
1203
|
-
|
|
2977
|
+
'If-None-Match'?: string;
|
|
1204
2978
|
/**
|
|
1205
2979
|
* If provided and the resource has not been modified since the date a 304 NotModified response will be returned. This parameter will be ignored if an 'If-None-Match' parameter is also provided.
|
|
1206
2980
|
*/
|
|
1207
|
-
|
|
2981
|
+
'If-Modified-Since'?: string;
|
|
1208
2982
|
};
|
|
1209
2983
|
path: {
|
|
1210
2984
|
/**
|
|
@@ -1242,11 +3016,11 @@ export type PropertyGroupsPatchData = {
|
|
|
1242
3016
|
/**
|
|
1243
3017
|
* If provided, the PATCH request will only be considered if the value matches the RFC7232 ETag of the current resource. Weak ETags will always be ignored.
|
|
1244
3018
|
*/
|
|
1245
|
-
|
|
3019
|
+
'If-Match'?: string;
|
|
1246
3020
|
/**
|
|
1247
3021
|
* If provided, the PATCH request will only be considered if the resource has not been modified since the provided date. This parameter will be ignored if an 'If-Match' parameter is also provided.
|
|
1248
3022
|
*/
|
|
1249
|
-
|
|
3023
|
+
'If-Unmodified-Since'?: string;
|
|
1250
3024
|
};
|
|
1251
3025
|
path: {
|
|
1252
3026
|
/**
|