@meshery/schemas 1.3.90 → 1.3.91
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/cloudApi.d.mts +4307 -4307
- package/dist/cloudApi.d.ts +4307 -4307
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta3/activity_result/ActivityResult.d.ts +1 -1
- package/dist/constructs/v1beta3/activity_result/ActivityResultSchema.js +1 -1
- package/dist/constructs/v1beta3/activity_result/ActivityResultSchema.mjs +1 -1
- package/dist/constructs/v1beta3/{content_piece/ContentPiece.d.ts → content_item/ContentItem.d.ts} +96 -96
- package/dist/constructs/v1beta3/content_item/ContentItemSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/content_item/ContentItemSchema.js +71 -0
- package/dist/constructs/v1beta3/content_item/ContentItemSchema.mjs +71 -0
- package/dist/constructs/v1beta3/profile/Profile.d.ts +7 -4
- package/dist/constructs/v1beta3/profile/ProfileSchema.js +8 -5
- package/dist/constructs/v1beta3/profile/ProfileSchema.mjs +8 -5
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +2 -2
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +1 -1
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +1 -1
- package/dist/permissions.d.mts +29 -29
- package/dist/permissions.d.ts +29 -29
- package/dist/permissions.js +1 -1
- package/dist/permissions.mjs +1 -1
- package/package.json +1 -1
- package/dist/constructs/v1beta3/content_piece/ContentPieceSchema.d.ts +0 -2
- package/dist/constructs/v1beta3/content_piece/ContentPieceSchema.js +0 -71
- package/dist/constructs/v1beta3/content_piece/ContentPieceSchema.mjs +0 -71
- /package/dist/constructs/v1beta3/{content_piece/ContentPiece.js → content_item/ContentItem.js} +0 -0
- /package/dist/constructs/v1beta3/{content_piece/ContentPiece.mjs → content_item/ContentItem.mjs} +0 -0
package/dist/constructs/v1beta3/{content_piece/ContentPiece.d.ts → content_item/ContentItem.d.ts}
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export interface paths {
|
|
7
|
-
"/api/content
|
|
7
|
+
"/api/content-items": {
|
|
8
8
|
parameters: {
|
|
9
9
|
query?: never;
|
|
10
10
|
header?: never;
|
|
@@ -12,67 +12,67 @@ export interface paths {
|
|
|
12
12
|
cookie?: never;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
|
-
* List content
|
|
16
|
-
* @description Returns a paginated list of the live content
|
|
15
|
+
* List content items
|
|
16
|
+
* @description Returns a paginated list of the live content items in the
|
|
17
17
|
* organization of the authenticated session, ordered by `rowNumber`
|
|
18
18
|
* unless `order` names another column (`rowNumber`, `createdAt`,
|
|
19
19
|
* `updatedAt`). `search` matches the profile or the content values,
|
|
20
20
|
* case-insensitively.
|
|
21
21
|
*/
|
|
22
|
-
get: operations["
|
|
22
|
+
get: operations["listContentItems"];
|
|
23
23
|
put?: never;
|
|
24
24
|
/**
|
|
25
|
-
* Insert a content
|
|
26
|
-
* @description Inserts a new content
|
|
25
|
+
* Insert a content item
|
|
26
|
+
* @description Inserts a new content item. Insert-only: any supplied
|
|
27
27
|
* `id` and `expectedFingerprint` are ignored; existing rows change
|
|
28
|
-
* only through the conditional `
|
|
28
|
+
* only through the conditional `updateContentItem`. The
|
|
29
29
|
* `fingerprint` is server-computed. Row numbers are unique across
|
|
30
|
-
* the live content
|
|
30
|
+
* the live content items of the organization, whatever their
|
|
31
31
|
* `profile`. When `rowNumber` is omitted the server assigns the next
|
|
32
32
|
* row number of the organization (one more than the highest row
|
|
33
33
|
* number the organization has used, counting soft-deleted content
|
|
34
|
-
*
|
|
34
|
+
* items so a deleted item's number is not handed out again by
|
|
35
35
|
* assignment), atomically with the insert, so
|
|
36
36
|
* concurrent inserts never receive the same number. An organization
|
|
37
|
-
* that has never had a content
|
|
37
|
+
* that has never had a content item is assigned row number 1 first
|
|
38
38
|
* (an explicit `rowNumber` of 0 is still accepted). A supplied
|
|
39
|
-
* `rowNumber` that another live content
|
|
39
|
+
* `rowNumber` that another live content item of the organization
|
|
40
40
|
* already holds refuses the insert with a 409.
|
|
41
41
|
*/
|
|
42
|
-
post: operations["
|
|
42
|
+
post: operations["insertContentItem"];
|
|
43
43
|
delete?: never;
|
|
44
44
|
options?: never;
|
|
45
45
|
head?: never;
|
|
46
46
|
patch?: never;
|
|
47
47
|
trace?: never;
|
|
48
48
|
};
|
|
49
|
-
"/api/content/
|
|
49
|
+
"/api/content-items/{contentItemId}": {
|
|
50
50
|
parameters: {
|
|
51
51
|
query?: never;
|
|
52
52
|
header?: never;
|
|
53
53
|
path?: never;
|
|
54
54
|
cookie?: never;
|
|
55
55
|
};
|
|
56
|
-
/** Get a content
|
|
57
|
-
get: operations["
|
|
56
|
+
/** Get a content item by ID */
|
|
57
|
+
get: operations["getContentItem"];
|
|
58
58
|
/**
|
|
59
|
-
* Update a content
|
|
60
|
-
* @description Conditionally updates the content
|
|
59
|
+
* Update a content item
|
|
60
|
+
* @description Conditionally updates the content item. When
|
|
61
61
|
* `expectedFingerprint` is supplied and stale, the update is
|
|
62
|
-
* refused with a 409, as is an update that would move the
|
|
63
|
-
* onto a `rowNumber` another live content
|
|
62
|
+
* refused with a 409, as is an update that would move the item
|
|
63
|
+
* onto a `rowNumber` another live content item of the organization
|
|
64
64
|
* holds. An omitted `rowNumber` keeps the stored one.
|
|
65
65
|
*/
|
|
66
|
-
put: operations["
|
|
66
|
+
put: operations["updateContentItem"];
|
|
67
67
|
post?: never;
|
|
68
68
|
/**
|
|
69
|
-
* Delete a content
|
|
70
|
-
* @description Soft-deletes the content
|
|
69
|
+
* Delete a content item
|
|
70
|
+
* @description Soft-deletes the content item. When `expectedFingerprint` is
|
|
71
71
|
* supplied, the delete applies only when the stored fingerprint
|
|
72
72
|
* still matches and is refused with a 409 otherwise; without it the
|
|
73
73
|
* delete is unconditional.
|
|
74
74
|
*/
|
|
75
|
-
delete: operations["
|
|
75
|
+
delete: operations["deleteContentItem"];
|
|
76
76
|
options?: never;
|
|
77
77
|
head?: never;
|
|
78
78
|
patch?: never;
|
|
@@ -83,16 +83,16 @@ export type webhooks = Record<string, never>;
|
|
|
83
83
|
export interface components {
|
|
84
84
|
schemas: {
|
|
85
85
|
/**
|
|
86
|
-
* Content
|
|
87
|
-
* @description Server-returned content
|
|
88
|
-
* Content
|
|
86
|
+
* Content Item Schema
|
|
87
|
+
* @description Server-returned content item as persisted by the owning service.
|
|
88
|
+
* Content items carry a row number and a server-computed fingerprint over
|
|
89
89
|
* their canonical values; updates are conditional on the fingerprint the
|
|
90
90
|
* writer read, so stale writes are refused rather than silently applied.
|
|
91
91
|
*/
|
|
92
|
-
|
|
92
|
+
ContentItem: {
|
|
93
93
|
/**
|
|
94
94
|
* Format: uuid
|
|
95
|
-
* @description Server-generated content
|
|
95
|
+
* @description Server-generated content item ID.
|
|
96
96
|
*/
|
|
97
97
|
id: string;
|
|
98
98
|
/**
|
|
@@ -102,7 +102,7 @@ export interface components {
|
|
|
102
102
|
organizationId: string;
|
|
103
103
|
/** @description Subject of the owning profile. */
|
|
104
104
|
profile: string;
|
|
105
|
-
/** @description Row number of the content
|
|
105
|
+
/** @description Row number of the content item, unique across the live content items of the organization. */
|
|
106
106
|
rowNumber: number;
|
|
107
107
|
/** @description Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates. */
|
|
108
108
|
fingerprint: string;
|
|
@@ -110,38 +110,38 @@ export interface components {
|
|
|
110
110
|
data?: Record<string, never>;
|
|
111
111
|
/**
|
|
112
112
|
* Format: date-time
|
|
113
|
-
* @description Timestamp of content
|
|
113
|
+
* @description Timestamp of content item creation.
|
|
114
114
|
*/
|
|
115
115
|
createdAt: string;
|
|
116
116
|
/**
|
|
117
117
|
* Format: date-time
|
|
118
|
-
* @description Timestamp of last content
|
|
118
|
+
* @description Timestamp of last content item modification.
|
|
119
119
|
*/
|
|
120
120
|
updatedAt: string;
|
|
121
121
|
/**
|
|
122
122
|
* Format: date-time
|
|
123
|
-
* @description Timestamp when the content
|
|
123
|
+
* @description Timestamp when the content item was soft-deleted.
|
|
124
124
|
*/
|
|
125
125
|
deletedAt?: string | null;
|
|
126
126
|
};
|
|
127
127
|
/**
|
|
128
|
-
* @description Payload for inserting or updating a content
|
|
128
|
+
* @description Payload for inserting or updating a content item.
|
|
129
129
|
* Contains only client-settable fields; the owning
|
|
130
130
|
* `organizationId` (derived from the authenticated session), the
|
|
131
131
|
* server-computed `fingerprint` and the server-generated
|
|
132
132
|
* `createdAt` / `updatedAt` timestamps are intentionally excluded.
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
ContentItemPayload: {
|
|
135
135
|
/**
|
|
136
136
|
* Format: uuid
|
|
137
|
-
* @description Existing content
|
|
137
|
+
* @description Existing content item ID for updates; ignored on insert.
|
|
138
138
|
*/
|
|
139
139
|
id?: string;
|
|
140
140
|
/** @description Subject of the owning profile. */
|
|
141
141
|
profile: string;
|
|
142
142
|
/**
|
|
143
|
-
* @description Row number of the content
|
|
144
|
-
*
|
|
143
|
+
* @description Row number of the content item, unique across the live content
|
|
144
|
+
* items of the organization. Optional: omitted on insert, the
|
|
145
145
|
* server assigns the next row number of the organization; omitted
|
|
146
146
|
* on update, the stored row number is kept.
|
|
147
147
|
*/
|
|
@@ -156,19 +156,19 @@ export interface components {
|
|
|
156
156
|
*/
|
|
157
157
|
expectedFingerprint?: string;
|
|
158
158
|
};
|
|
159
|
-
/** @description Paginated collection of content
|
|
160
|
-
|
|
159
|
+
/** @description Paginated collection of content items. */
|
|
160
|
+
ContentItemPage: {
|
|
161
161
|
/** @description Current page number of the result set. */
|
|
162
162
|
page?: number;
|
|
163
163
|
/** @description Number of items per page. */
|
|
164
164
|
pageSize?: number;
|
|
165
165
|
/** @description Total number of items available. */
|
|
166
166
|
totalCount?: number;
|
|
167
|
-
/** @description Content
|
|
168
|
-
|
|
167
|
+
/** @description Content items included on this page of results. */
|
|
168
|
+
contentItems?: {
|
|
169
169
|
/**
|
|
170
170
|
* Format: uuid
|
|
171
|
-
* @description Server-generated content
|
|
171
|
+
* @description Server-generated content item ID.
|
|
172
172
|
*/
|
|
173
173
|
id: string;
|
|
174
174
|
/**
|
|
@@ -178,7 +178,7 @@ export interface components {
|
|
|
178
178
|
organizationId: string;
|
|
179
179
|
/** @description Subject of the owning profile. */
|
|
180
180
|
profile: string;
|
|
181
|
-
/** @description Row number of the content
|
|
181
|
+
/** @description Row number of the content item, unique across the live content items of the organization. */
|
|
182
182
|
rowNumber: number;
|
|
183
183
|
/** @description Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates. */
|
|
184
184
|
fingerprint: string;
|
|
@@ -186,17 +186,17 @@ export interface components {
|
|
|
186
186
|
data?: Record<string, never>;
|
|
187
187
|
/**
|
|
188
188
|
* Format: date-time
|
|
189
|
-
* @description Timestamp of content
|
|
189
|
+
* @description Timestamp of content item creation.
|
|
190
190
|
*/
|
|
191
191
|
createdAt: string;
|
|
192
192
|
/**
|
|
193
193
|
* Format: date-time
|
|
194
|
-
* @description Timestamp of last content
|
|
194
|
+
* @description Timestamp of last content item modification.
|
|
195
195
|
*/
|
|
196
196
|
updatedAt: string;
|
|
197
197
|
/**
|
|
198
198
|
* Format: date-time
|
|
199
|
-
* @description Timestamp when the content
|
|
199
|
+
* @description Timestamp when the content item was soft-deleted.
|
|
200
200
|
*/
|
|
201
201
|
deletedAt?: string | null;
|
|
202
202
|
}[];
|
|
@@ -239,7 +239,7 @@ export interface components {
|
|
|
239
239
|
"text/plain": string;
|
|
240
240
|
};
|
|
241
241
|
};
|
|
242
|
-
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content
|
|
242
|
+
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content item of the organization already holds the same rowNumber */
|
|
243
243
|
409: {
|
|
244
244
|
headers: {
|
|
245
245
|
[name: string]: unknown;
|
|
@@ -264,8 +264,8 @@ export interface components {
|
|
|
264
264
|
* delete applies only when the stored fingerprint still matches.
|
|
265
265
|
*/
|
|
266
266
|
expectedFingerprint: string;
|
|
267
|
-
/** @description Content
|
|
268
|
-
|
|
267
|
+
/** @description Content item ID */
|
|
268
|
+
contentItemId: string;
|
|
269
269
|
/** @description Get responses by page */
|
|
270
270
|
page: number;
|
|
271
271
|
/** @description Number of items per page (canonical camelCase form). */
|
|
@@ -287,7 +287,7 @@ export interface components {
|
|
|
287
287
|
}
|
|
288
288
|
export type $defs = Record<string, never>;
|
|
289
289
|
export interface operations {
|
|
290
|
-
|
|
290
|
+
listContentItems: {
|
|
291
291
|
parameters: {
|
|
292
292
|
query?: {
|
|
293
293
|
/** @description Get responses by page */
|
|
@@ -313,7 +313,7 @@ export interface operations {
|
|
|
313
313
|
};
|
|
314
314
|
requestBody?: never;
|
|
315
315
|
responses: {
|
|
316
|
-
/** @description Content
|
|
316
|
+
/** @description Content item page */
|
|
317
317
|
200: {
|
|
318
318
|
headers: {
|
|
319
319
|
[name: string]: unknown;
|
|
@@ -326,11 +326,11 @@ export interface operations {
|
|
|
326
326
|
pageSize?: number;
|
|
327
327
|
/** @description Total number of items available. */
|
|
328
328
|
totalCount?: number;
|
|
329
|
-
/** @description Content
|
|
330
|
-
|
|
329
|
+
/** @description Content items included on this page of results. */
|
|
330
|
+
contentItems?: {
|
|
331
331
|
/**
|
|
332
332
|
* Format: uuid
|
|
333
|
-
* @description Server-generated content
|
|
333
|
+
* @description Server-generated content item ID.
|
|
334
334
|
*/
|
|
335
335
|
id: string;
|
|
336
336
|
/**
|
|
@@ -340,7 +340,7 @@ export interface operations {
|
|
|
340
340
|
organizationId: string;
|
|
341
341
|
/** @description Subject of the owning profile. */
|
|
342
342
|
profile: string;
|
|
343
|
-
/** @description Row number of the content
|
|
343
|
+
/** @description Row number of the content item, unique across the live content items of the organization. */
|
|
344
344
|
rowNumber: number;
|
|
345
345
|
/** @description Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates. */
|
|
346
346
|
fingerprint: string;
|
|
@@ -348,17 +348,17 @@ export interface operations {
|
|
|
348
348
|
data?: Record<string, never>;
|
|
349
349
|
/**
|
|
350
350
|
* Format: date-time
|
|
351
|
-
* @description Timestamp of content
|
|
351
|
+
* @description Timestamp of content item creation.
|
|
352
352
|
*/
|
|
353
353
|
createdAt: string;
|
|
354
354
|
/**
|
|
355
355
|
* Format: date-time
|
|
356
|
-
* @description Timestamp of last content
|
|
356
|
+
* @description Timestamp of last content item modification.
|
|
357
357
|
*/
|
|
358
358
|
updatedAt: string;
|
|
359
359
|
/**
|
|
360
360
|
* Format: date-time
|
|
361
|
-
* @description Timestamp when the content
|
|
361
|
+
* @description Timestamp when the content item was soft-deleted.
|
|
362
362
|
*/
|
|
363
363
|
deletedAt?: string | null;
|
|
364
364
|
}[];
|
|
@@ -403,7 +403,7 @@ export interface operations {
|
|
|
403
403
|
};
|
|
404
404
|
};
|
|
405
405
|
};
|
|
406
|
-
|
|
406
|
+
insertContentItem: {
|
|
407
407
|
parameters: {
|
|
408
408
|
query?: never;
|
|
409
409
|
header?: never;
|
|
@@ -415,14 +415,14 @@ export interface operations {
|
|
|
415
415
|
"application/json": {
|
|
416
416
|
/**
|
|
417
417
|
* Format: uuid
|
|
418
|
-
* @description Existing content
|
|
418
|
+
* @description Existing content item ID for updates; ignored on insert.
|
|
419
419
|
*/
|
|
420
420
|
id?: string;
|
|
421
421
|
/** @description Subject of the owning profile. */
|
|
422
422
|
profile: string;
|
|
423
423
|
/**
|
|
424
|
-
* @description Row number of the content
|
|
425
|
-
*
|
|
424
|
+
* @description Row number of the content item, unique across the live content
|
|
425
|
+
* items of the organization. Optional: omitted on insert, the
|
|
426
426
|
* server assigns the next row number of the organization; omitted
|
|
427
427
|
* on update, the stored row number is kept.
|
|
428
428
|
*/
|
|
@@ -440,7 +440,7 @@ export interface operations {
|
|
|
440
440
|
};
|
|
441
441
|
};
|
|
442
442
|
responses: {
|
|
443
|
-
/** @description Content
|
|
443
|
+
/** @description Content item created */
|
|
444
444
|
201: {
|
|
445
445
|
headers: {
|
|
446
446
|
[name: string]: unknown;
|
|
@@ -449,7 +449,7 @@ export interface operations {
|
|
|
449
449
|
"application/json": {
|
|
450
450
|
/**
|
|
451
451
|
* Format: uuid
|
|
452
|
-
* @description Server-generated content
|
|
452
|
+
* @description Server-generated content item ID.
|
|
453
453
|
*/
|
|
454
454
|
id: string;
|
|
455
455
|
/**
|
|
@@ -459,7 +459,7 @@ export interface operations {
|
|
|
459
459
|
organizationId: string;
|
|
460
460
|
/** @description Subject of the owning profile. */
|
|
461
461
|
profile: string;
|
|
462
|
-
/** @description Row number of the content
|
|
462
|
+
/** @description Row number of the content item, unique across the live content items of the organization. */
|
|
463
463
|
rowNumber: number;
|
|
464
464
|
/** @description Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates. */
|
|
465
465
|
fingerprint: string;
|
|
@@ -467,17 +467,17 @@ export interface operations {
|
|
|
467
467
|
data?: Record<string, never>;
|
|
468
468
|
/**
|
|
469
469
|
* Format: date-time
|
|
470
|
-
* @description Timestamp of content
|
|
470
|
+
* @description Timestamp of content item creation.
|
|
471
471
|
*/
|
|
472
472
|
createdAt: string;
|
|
473
473
|
/**
|
|
474
474
|
* Format: date-time
|
|
475
|
-
* @description Timestamp of last content
|
|
475
|
+
* @description Timestamp of last content item modification.
|
|
476
476
|
*/
|
|
477
477
|
updatedAt: string;
|
|
478
478
|
/**
|
|
479
479
|
* Format: date-time
|
|
480
|
-
* @description Timestamp when the content
|
|
480
|
+
* @description Timestamp when the content item was soft-deleted.
|
|
481
481
|
*/
|
|
482
482
|
deletedAt?: string | null;
|
|
483
483
|
};
|
|
@@ -519,7 +519,7 @@ export interface operations {
|
|
|
519
519
|
"text/plain": string;
|
|
520
520
|
};
|
|
521
521
|
};
|
|
522
|
-
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content
|
|
522
|
+
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content item of the organization already holds the same rowNumber */
|
|
523
523
|
409: {
|
|
524
524
|
headers: {
|
|
525
525
|
[name: string]: unknown;
|
|
@@ -539,19 +539,19 @@ export interface operations {
|
|
|
539
539
|
};
|
|
540
540
|
};
|
|
541
541
|
};
|
|
542
|
-
|
|
542
|
+
getContentItem: {
|
|
543
543
|
parameters: {
|
|
544
544
|
query?: never;
|
|
545
545
|
header?: never;
|
|
546
546
|
path: {
|
|
547
|
-
/** @description Content
|
|
548
|
-
|
|
547
|
+
/** @description Content item ID */
|
|
548
|
+
contentItemId: string;
|
|
549
549
|
};
|
|
550
550
|
cookie?: never;
|
|
551
551
|
};
|
|
552
552
|
requestBody?: never;
|
|
553
553
|
responses: {
|
|
554
|
-
/** @description Content
|
|
554
|
+
/** @description Content item response */
|
|
555
555
|
200: {
|
|
556
556
|
headers: {
|
|
557
557
|
[name: string]: unknown;
|
|
@@ -560,7 +560,7 @@ export interface operations {
|
|
|
560
560
|
"application/json": {
|
|
561
561
|
/**
|
|
562
562
|
* Format: uuid
|
|
563
|
-
* @description Server-generated content
|
|
563
|
+
* @description Server-generated content item ID.
|
|
564
564
|
*/
|
|
565
565
|
id: string;
|
|
566
566
|
/**
|
|
@@ -570,7 +570,7 @@ export interface operations {
|
|
|
570
570
|
organizationId: string;
|
|
571
571
|
/** @description Subject of the owning profile. */
|
|
572
572
|
profile: string;
|
|
573
|
-
/** @description Row number of the content
|
|
573
|
+
/** @description Row number of the content item, unique across the live content items of the organization. */
|
|
574
574
|
rowNumber: number;
|
|
575
575
|
/** @description Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates. */
|
|
576
576
|
fingerprint: string;
|
|
@@ -578,17 +578,17 @@ export interface operations {
|
|
|
578
578
|
data?: Record<string, never>;
|
|
579
579
|
/**
|
|
580
580
|
* Format: date-time
|
|
581
|
-
* @description Timestamp of content
|
|
581
|
+
* @description Timestamp of content item creation.
|
|
582
582
|
*/
|
|
583
583
|
createdAt: string;
|
|
584
584
|
/**
|
|
585
585
|
* Format: date-time
|
|
586
|
-
* @description Timestamp of last content
|
|
586
|
+
* @description Timestamp of last content item modification.
|
|
587
587
|
*/
|
|
588
588
|
updatedAt: string;
|
|
589
589
|
/**
|
|
590
590
|
* Format: date-time
|
|
591
|
-
* @description Timestamp when the content
|
|
591
|
+
* @description Timestamp when the content item was soft-deleted.
|
|
592
592
|
*/
|
|
593
593
|
deletedAt?: string | null;
|
|
594
594
|
};
|
|
@@ -641,13 +641,13 @@ export interface operations {
|
|
|
641
641
|
};
|
|
642
642
|
};
|
|
643
643
|
};
|
|
644
|
-
|
|
644
|
+
updateContentItem: {
|
|
645
645
|
parameters: {
|
|
646
646
|
query?: never;
|
|
647
647
|
header?: never;
|
|
648
648
|
path: {
|
|
649
|
-
/** @description Content
|
|
650
|
-
|
|
649
|
+
/** @description Content item ID */
|
|
650
|
+
contentItemId: string;
|
|
651
651
|
};
|
|
652
652
|
cookie?: never;
|
|
653
653
|
};
|
|
@@ -656,14 +656,14 @@ export interface operations {
|
|
|
656
656
|
"application/json": {
|
|
657
657
|
/**
|
|
658
658
|
* Format: uuid
|
|
659
|
-
* @description Existing content
|
|
659
|
+
* @description Existing content item ID for updates; ignored on insert.
|
|
660
660
|
*/
|
|
661
661
|
id?: string;
|
|
662
662
|
/** @description Subject of the owning profile. */
|
|
663
663
|
profile: string;
|
|
664
664
|
/**
|
|
665
|
-
* @description Row number of the content
|
|
666
|
-
*
|
|
665
|
+
* @description Row number of the content item, unique across the live content
|
|
666
|
+
* items of the organization. Optional: omitted on insert, the
|
|
667
667
|
* server assigns the next row number of the organization; omitted
|
|
668
668
|
* on update, the stored row number is kept.
|
|
669
669
|
*/
|
|
@@ -681,7 +681,7 @@ export interface operations {
|
|
|
681
681
|
};
|
|
682
682
|
};
|
|
683
683
|
responses: {
|
|
684
|
-
/** @description Content
|
|
684
|
+
/** @description Content item updated */
|
|
685
685
|
200: {
|
|
686
686
|
headers: {
|
|
687
687
|
[name: string]: unknown;
|
|
@@ -690,7 +690,7 @@ export interface operations {
|
|
|
690
690
|
"application/json": {
|
|
691
691
|
/**
|
|
692
692
|
* Format: uuid
|
|
693
|
-
* @description Server-generated content
|
|
693
|
+
* @description Server-generated content item ID.
|
|
694
694
|
*/
|
|
695
695
|
id: string;
|
|
696
696
|
/**
|
|
@@ -700,7 +700,7 @@ export interface operations {
|
|
|
700
700
|
organizationId: string;
|
|
701
701
|
/** @description Subject of the owning profile. */
|
|
702
702
|
profile: string;
|
|
703
|
-
/** @description Row number of the content
|
|
703
|
+
/** @description Row number of the content item, unique across the live content items of the organization. */
|
|
704
704
|
rowNumber: number;
|
|
705
705
|
/** @description Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates. */
|
|
706
706
|
fingerprint: string;
|
|
@@ -708,17 +708,17 @@ export interface operations {
|
|
|
708
708
|
data?: Record<string, never>;
|
|
709
709
|
/**
|
|
710
710
|
* Format: date-time
|
|
711
|
-
* @description Timestamp of content
|
|
711
|
+
* @description Timestamp of content item creation.
|
|
712
712
|
*/
|
|
713
713
|
createdAt: string;
|
|
714
714
|
/**
|
|
715
715
|
* Format: date-time
|
|
716
|
-
* @description Timestamp of last content
|
|
716
|
+
* @description Timestamp of last content item modification.
|
|
717
717
|
*/
|
|
718
718
|
updatedAt: string;
|
|
719
719
|
/**
|
|
720
720
|
* Format: date-time
|
|
721
|
-
* @description Timestamp when the content
|
|
721
|
+
* @description Timestamp when the content item was soft-deleted.
|
|
722
722
|
*/
|
|
723
723
|
deletedAt?: string | null;
|
|
724
724
|
};
|
|
@@ -760,7 +760,7 @@ export interface operations {
|
|
|
760
760
|
"text/plain": string;
|
|
761
761
|
};
|
|
762
762
|
};
|
|
763
|
-
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content
|
|
763
|
+
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content item of the organization already holds the same rowNumber */
|
|
764
764
|
409: {
|
|
765
765
|
headers: {
|
|
766
766
|
[name: string]: unknown;
|
|
@@ -780,7 +780,7 @@ export interface operations {
|
|
|
780
780
|
};
|
|
781
781
|
};
|
|
782
782
|
};
|
|
783
|
-
|
|
783
|
+
deleteContentItem: {
|
|
784
784
|
parameters: {
|
|
785
785
|
query?: {
|
|
786
786
|
/**
|
|
@@ -791,14 +791,14 @@ export interface operations {
|
|
|
791
791
|
};
|
|
792
792
|
header?: never;
|
|
793
793
|
path: {
|
|
794
|
-
/** @description Content
|
|
795
|
-
|
|
794
|
+
/** @description Content item ID */
|
|
795
|
+
contentItemId: string;
|
|
796
796
|
};
|
|
797
797
|
cookie?: never;
|
|
798
798
|
};
|
|
799
799
|
requestBody?: never;
|
|
800
800
|
responses: {
|
|
801
|
-
/** @description Content
|
|
801
|
+
/** @description Content item deleted */
|
|
802
802
|
204: {
|
|
803
803
|
headers: {
|
|
804
804
|
[name: string]: unknown;
|
|
@@ -841,7 +841,7 @@ export interface operations {
|
|
|
841
841
|
"text/plain": string;
|
|
842
842
|
};
|
|
843
843
|
};
|
|
844
|
-
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content
|
|
844
|
+
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content item of the organization already holds the same rowNumber */
|
|
845
845
|
409: {
|
|
846
846
|
headers: {
|
|
847
847
|
[name: string]: unknown;
|