@faiber/faiber-drm 0.10.2 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,14 +23,10 @@ export type RouterListAnalysesGetResponse = BackendJson<"Page<CompositionAnalysi
23
23
  /** Backend response type: Vec<composition_category::Model>. */
24
24
  export interface RouterListCompositionCategoriesGetResponseItem extends JsonObject {
25
25
  "id": string;
26
- "actor_id"?: string | null;
27
- "action": string;
28
- "entity_type": string;
29
- "entity_id"?: string | null;
30
- "request_id"?: string | null;
31
- "before_data"?: BackendJson<"Json"> | null;
32
- "after_data"?: BackendJson<"Json"> | null;
26
+ "parent_id"?: string | null;
27
+ "title": string;
33
28
  "created_at": string;
29
+ "updated_at": string;
34
30
  }
35
31
  export type RouterListCompositionCategoriesGetResponse = RouterListCompositionCategoriesGetResponseItem[];
36
32
  /** Backend request type: CompositionCategoryInput. */
@@ -41,14 +37,10 @@ export interface RouterCreateCompositionCategoryPostInput extends JsonObject {
41
37
  /** Backend response type: composition_category::Model. */
42
38
  export interface RouterCreateCompositionCategoryPostResponseData extends JsonObject {
43
39
  "id": string;
44
- "actor_id"?: string | null;
45
- "action": string;
46
- "entity_type": string;
47
- "entity_id"?: string | null;
48
- "request_id"?: string | null;
49
- "before_data"?: BackendJson<"Json"> | null;
50
- "after_data"?: BackendJson<"Json"> | null;
40
+ "parent_id"?: string | null;
41
+ "title": string;
51
42
  "created_at": string;
43
+ "updated_at": string;
52
44
  }
53
45
  export type RouterCreateCompositionCategoryPostResponse = RouterCreateCompositionCategoryPostResponseData;
54
46
  /** Backend response type: no-content. */
@@ -61,14 +53,10 @@ export interface RouterUpdateCompositionCategoryPatchInput extends JsonObject {
61
53
  /** Backend response type: composition_category::Model. */
62
54
  export interface RouterUpdateCompositionCategoryPatchResponseData extends JsonObject {
63
55
  "id": string;
64
- "actor_id"?: string | null;
65
- "action": string;
66
- "entity_type": string;
67
- "entity_id"?: string | null;
68
- "request_id"?: string | null;
69
- "before_data"?: BackendJson<"Json"> | null;
70
- "after_data"?: BackendJson<"Json"> | null;
56
+ "parent_id"?: string | null;
57
+ "title": string;
71
58
  "created_at": string;
59
+ "updated_at": string;
72
60
  }
73
61
  export type RouterUpdateCompositionCategoryPatchResponse = RouterUpdateCompositionCategoryPatchResponseData;
74
62
  /** Backend query type: CompositionQuery. */
@@ -92,29 +80,27 @@ export interface RouterCreateCompositionPostInput extends JsonObject {
92
80
  /** Backend response type: mixed_media::Model. */
93
81
  export interface RouterCreateCompositionPostResponseData extends JsonObject {
94
82
  "id": string;
95
- "actor_id"?: string | null;
96
- "action": string;
97
- "entity_type": string;
98
- "entity_id"?: string | null;
99
- "request_id"?: string | null;
100
- "before_data"?: BackendJson<"Json"> | null;
101
- "after_data"?: BackendJson<"Json"> | null;
83
+ "library_id": string;
84
+ "category_id"?: string | null;
85
+ "name": string;
86
+ "description"?: string | null;
87
+ "transcription_language": string;
88
+ "status": string;
89
+ "manifest_version": number;
90
+ "published_at"?: string | null;
102
91
  "created_at": string;
92
+ "updated_at": string;
103
93
  }
104
94
  export type RouterCreateCompositionPostResponse = RouterCreateCompositionPostResponseData;
105
95
  /** Backend response type: Vec<mixed_media_manifest::Model>. */
106
- export interface RouterListManifestsGetCompositionsIdManifestsResponseItem extends JsonObject {
96
+ export interface RouterListManifestsGetApiV1CompositionsIdManifestsResponseItem extends JsonObject {
107
97
  "id": string;
108
- "actor_id"?: string | null;
109
- "action": string;
110
- "entity_type": string;
111
- "entity_id"?: string | null;
112
- "request_id"?: string | null;
113
- "before_data"?: BackendJson<"Json"> | null;
114
- "after_data"?: BackendJson<"Json"> | null;
98
+ "mixed_media_id": string;
99
+ "version": number;
100
+ "document": BackendJson<"Json">;
115
101
  "created_at": string;
116
102
  }
117
- export type RouterListManifestsGetCompositionsIdManifestsResponse = RouterListManifestsGetCompositionsIdManifestsResponseItem[];
103
+ export type RouterListManifestsGetApiV1CompositionsIdManifestsResponse = RouterListManifestsGetApiV1CompositionsIdManifestsResponseItem[];
118
104
  /** Backend request type: HistoricalManifestInput. */
119
105
  export interface RouterCreateManifestVersionPostInput extends JsonObject {
120
106
  "id"?: string | null;
@@ -124,60 +110,44 @@ export interface RouterCreateManifestVersionPostInput extends JsonObject {
124
110
  /** Backend response type: mixed_media_manifest::Model. */
125
111
  export interface RouterCreateManifestVersionPostResponseData extends JsonObject {
126
112
  "id": string;
127
- "actor_id"?: string | null;
128
- "action": string;
129
- "entity_type": string;
130
- "entity_id"?: string | null;
131
- "request_id"?: string | null;
132
- "before_data"?: BackendJson<"Json"> | null;
133
- "after_data"?: BackendJson<"Json"> | null;
113
+ "mixed_media_id": string;
114
+ "version": number;
115
+ "document": BackendJson<"Json">;
134
116
  "created_at": string;
135
117
  }
136
118
  export type RouterCreateManifestVersionPostResponse = RouterCreateManifestVersionPostResponseData;
137
119
  /** Backend response type: mixed_media_manifest::Model. */
138
- export interface RouterPublishPostCompositionsIdPublishResponseData extends JsonObject {
120
+ export interface RouterPublishPostApiV1CompositionsIdPublishResponseData extends JsonObject {
139
121
  "id": string;
140
- "actor_id"?: string | null;
141
- "action": string;
142
- "entity_type": string;
143
- "entity_id"?: string | null;
144
- "request_id"?: string | null;
145
- "before_data"?: BackendJson<"Json"> | null;
146
- "after_data"?: BackendJson<"Json"> | null;
122
+ "mixed_media_id": string;
123
+ "version": number;
124
+ "document": BackendJson<"Json">;
147
125
  "created_at": string;
148
126
  }
149
- export type RouterPublishPostCompositionsIdPublishResponse = RouterPublishPostCompositionsIdPublishResponseData;
127
+ export type RouterPublishPostApiV1CompositionsIdPublishResponse = RouterPublishPostApiV1CompositionsIdPublishResponseData;
150
128
  /** Backend response type: mixed_media_workflow::Model. */
151
- export interface RouterGetWorkflowGetCompositionsIdWorkflowResponseData extends JsonObject {
152
- "id": string;
153
- "actor_id"?: string | null;
154
- "action": string;
155
- "entity_type": string;
156
- "entity_id"?: string | null;
157
- "request_id"?: string | null;
158
- "before_data"?: BackendJson<"Json"> | null;
159
- "after_data"?: BackendJson<"Json"> | null;
160
- "created_at": string;
129
+ export interface RouterGetWorkflowGetApiV1CompositionsIdWorkflowResponseData extends JsonObject {
130
+ "mixed_media_id": string;
131
+ "nodes": BackendJson<"Json">;
132
+ "edges": BackendJson<"Json">;
133
+ "revision": number;
134
+ "updated_at": string;
161
135
  }
162
- export type RouterGetWorkflowGetCompositionsIdWorkflowResponse = RouterGetWorkflowGetCompositionsIdWorkflowResponseData;
136
+ export type RouterGetWorkflowGetApiV1CompositionsIdWorkflowResponse = RouterGetWorkflowGetApiV1CompositionsIdWorkflowResponseData;
163
137
  /** Backend request type: WorkflowInput. */
164
- export interface RouterSaveWorkflowPutCompositionsIdWorkflowInput extends JsonObject {
138
+ export interface RouterSaveWorkflowPutApiV1CompositionsIdWorkflowInput extends JsonObject {
165
139
  "nodes": JsonValue;
166
140
  "edges": JsonValue;
167
141
  }
168
142
  /** Backend response type: mixed_media_workflow::Model. */
169
- export interface RouterSaveWorkflowPutCompositionsIdWorkflowResponseData extends JsonObject {
170
- "id": string;
171
- "actor_id"?: string | null;
172
- "action": string;
173
- "entity_type": string;
174
- "entity_id"?: string | null;
175
- "request_id"?: string | null;
176
- "before_data"?: BackendJson<"Json"> | null;
177
- "after_data"?: BackendJson<"Json"> | null;
178
- "created_at": string;
143
+ export interface RouterSaveWorkflowPutApiV1CompositionsIdWorkflowResponseData extends JsonObject {
144
+ "mixed_media_id": string;
145
+ "nodes": BackendJson<"Json">;
146
+ "edges": BackendJson<"Json">;
147
+ "revision": number;
148
+ "updated_at": string;
179
149
  }
180
- export type RouterSaveWorkflowPutCompositionsIdWorkflowResponse = RouterSaveWorkflowPutCompositionsIdWorkflowResponseData;
150
+ export type RouterSaveWorkflowPutApiV1CompositionsIdWorkflowResponse = RouterSaveWorkflowPutApiV1CompositionsIdWorkflowResponseData;
181
151
  /** Backend response type: serde_json::Value. */
182
152
  export type RouterDashboardGetResponse = JsonValue;
183
153
  /** Backend query type: DrmJobQuery. */
@@ -199,14 +169,20 @@ export interface RouterCreateJobPostInput extends JsonObject {
199
169
  /** Backend response type: DrmJobResponse. */
200
170
  export interface RouterCreateJobPostResponseData extends JsonObject {
201
171
  "id": string;
202
- "actor_id"?: string | null;
203
- "action": string;
204
- "entity_type": string;
205
- "entity_id"?: string | null;
206
- "request_id"?: string | null;
207
- "before_data"?: BackendJson<"Json"> | null;
208
- "after_data"?: BackendJson<"Json"> | null;
172
+ "media_id": string;
173
+ "package_id"?: string | null;
174
+ "status": string;
175
+ "stage": string;
176
+ "progress": number;
177
+ "attempts": number;
178
+ "max_attempts": number;
179
+ "next_retry_at"?: string | null;
180
+ "last_error"?: string | null;
181
+ "config": BackendJson<"Json">;
209
182
  "created_at": string;
183
+ "updated_at": string;
184
+ "started_at"?: string | null;
185
+ "completed_at"?: string | null;
210
186
  "media_name": string;
211
187
  "media_type": string;
212
188
  }
@@ -223,14 +199,20 @@ export interface RouterRetryJobPostInput extends JsonObject {
223
199
  /** Backend response type: DrmJobResponse. */
224
200
  export interface RouterRetryJobPostResponseData extends JsonObject {
225
201
  "id": string;
226
- "actor_id"?: string | null;
227
- "action": string;
228
- "entity_type": string;
229
- "entity_id"?: string | null;
230
- "request_id"?: string | null;
231
- "before_data"?: BackendJson<"Json"> | null;
232
- "after_data"?: BackendJson<"Json"> | null;
202
+ "media_id": string;
203
+ "package_id"?: string | null;
204
+ "status": string;
205
+ "stage": string;
206
+ "progress": number;
207
+ "attempts": number;
208
+ "max_attempts": number;
209
+ "next_retry_at"?: string | null;
210
+ "last_error"?: string | null;
211
+ "config": BackendJson<"Json">;
233
212
  "created_at": string;
213
+ "updated_at": string;
214
+ "started_at"?: string | null;
215
+ "completed_at"?: string | null;
234
216
  "media_name": string;
235
217
  "media_type": string;
236
218
  }
@@ -247,15 +229,14 @@ export interface RouterListExternalReferencesGetQuery extends QueryParams {
247
229
  }
248
230
  /** Backend response type: Vec<external_reference::Model>. */
249
231
  export interface RouterListExternalReferencesGetResponseItem extends JsonObject {
250
- "id": string;
251
- "actor_id"?: string | null;
252
- "action": string;
232
+ "system": string;
253
233
  "entity_type": string;
254
- "entity_id"?: string | null;
255
- "request_id"?: string | null;
256
- "before_data"?: BackendJson<"Json"> | null;
257
- "after_data"?: BackendJson<"Json"> | null;
234
+ "external_id": string;
235
+ "internal_type": string;
236
+ "internal_id": string;
237
+ "metadata": BackendJson<"Json">;
258
238
  "created_at": string;
239
+ "updated_at": string;
259
240
  }
260
241
  export type RouterListExternalReferencesGetResponse = RouterListExternalReferencesGetResponseItem[];
261
242
  /** Backend request type: ExternalReferenceInput. */
@@ -269,28 +250,23 @@ export interface RouterUpsertExternalReferencePostInput extends JsonObject {
269
250
  }
270
251
  /** Backend response type: external_reference::Model. */
271
252
  export interface RouterUpsertExternalReferencePostResponseData extends JsonObject {
272
- "id": string;
273
- "actor_id"?: string | null;
274
- "action": string;
253
+ "system": string;
275
254
  "entity_type": string;
276
- "entity_id"?: string | null;
277
- "request_id"?: string | null;
278
- "before_data"?: BackendJson<"Json"> | null;
279
- "after_data"?: BackendJson<"Json"> | null;
255
+ "external_id": string;
256
+ "internal_type": string;
257
+ "internal_id": string;
258
+ "metadata": BackendJson<"Json">;
280
259
  "created_at": string;
260
+ "updated_at": string;
281
261
  }
282
262
  export type RouterUpsertExternalReferencePostResponse = RouterUpsertExternalReferencePostResponseData;
283
263
  /** Backend response type: Vec<folder::Model>. */
284
264
  export interface RouterListFoldersGetResponseItem extends JsonObject {
285
265
  "id": string;
286
- "actor_id"?: string | null;
287
- "action": string;
288
- "entity_type": string;
289
- "entity_id"?: string | null;
290
- "request_id"?: string | null;
291
- "before_data"?: BackendJson<"Json"> | null;
292
- "after_data"?: BackendJson<"Json"> | null;
266
+ "parent_id"?: string | null;
267
+ "name": string;
293
268
  "created_at": string;
269
+ "updated_at": string;
294
270
  }
295
271
  export type RouterListFoldersGetResponse = RouterListFoldersGetResponseItem[];
296
272
  /** Backend request type: FolderInput. */
@@ -301,14 +277,10 @@ export interface RouterCreateFolderPostInput extends JsonObject {
301
277
  /** Backend response type: folder::Model. */
302
278
  export interface RouterCreateFolderPostResponseData extends JsonObject {
303
279
  "id": string;
304
- "actor_id"?: string | null;
305
- "action": string;
306
- "entity_type": string;
307
- "entity_id"?: string | null;
308
- "request_id"?: string | null;
309
- "before_data"?: BackendJson<"Json"> | null;
310
- "after_data"?: BackendJson<"Json"> | null;
280
+ "parent_id"?: string | null;
281
+ "name": string;
311
282
  "created_at": string;
283
+ "updated_at": string;
312
284
  }
313
285
  export type RouterCreateFolderPostResponse = RouterCreateFolderPostResponseData;
314
286
  /** Backend response type: no-content. */
@@ -321,27 +293,21 @@ export interface RouterUpdateFolderPatchInput extends JsonObject {
321
293
  /** Backend response type: folder::Model. */
322
294
  export interface RouterUpdateFolderPatchResponseData extends JsonObject {
323
295
  "id": string;
324
- "actor_id"?: string | null;
325
- "action": string;
326
- "entity_type": string;
327
- "entity_id"?: string | null;
328
- "request_id"?: string | null;
329
- "before_data"?: BackendJson<"Json"> | null;
330
- "after_data"?: BackendJson<"Json"> | null;
296
+ "parent_id"?: string | null;
297
+ "name": string;
331
298
  "created_at": string;
299
+ "updated_at": string;
332
300
  }
333
301
  export type RouterUpdateFolderPatchResponse = RouterUpdateFolderPatchResponseData;
334
302
  /** Backend response type: Vec<content_library::Model>. */
335
303
  export interface RouterListLibrariesGetResponseItem extends JsonObject {
336
304
  "id": string;
337
- "actor_id"?: string | null;
338
- "action": string;
339
- "entity_type": string;
340
- "entity_id"?: string | null;
341
- "request_id"?: string | null;
342
- "before_data"?: BackendJson<"Json"> | null;
343
- "after_data"?: BackendJson<"Json"> | null;
305
+ "name": string;
306
+ "description"?: string | null;
307
+ "status": string;
308
+ "visibility": string;
344
309
  "created_at": string;
310
+ "updated_at": string;
345
311
  }
346
312
  export type RouterListLibrariesGetResponse = RouterListLibrariesGetResponseItem[];
347
313
  /** Backend request type: LibraryInput. */
@@ -355,14 +321,12 @@ export interface RouterCreateLibraryPostInput extends JsonObject {
355
321
  /** Backend response type: content_library::Model. */
356
322
  export interface RouterCreateLibraryPostResponseData extends JsonObject {
357
323
  "id": string;
358
- "actor_id"?: string | null;
359
- "action": string;
360
- "entity_type": string;
361
- "entity_id"?: string | null;
362
- "request_id"?: string | null;
363
- "before_data"?: BackendJson<"Json"> | null;
364
- "after_data"?: BackendJson<"Json"> | null;
324
+ "name": string;
325
+ "description"?: string | null;
326
+ "status": string;
327
+ "visibility": string;
365
328
  "created_at": string;
329
+ "updated_at": string;
366
330
  }
367
331
  export type RouterCreateLibraryPostResponse = RouterCreateLibraryPostResponseData;
368
332
  /** Backend response type: no-content. */
@@ -370,14 +334,12 @@ export type RouterDeleteLibraryDeleteResponse = void;
370
334
  /** Backend response type: content_library::Model. */
371
335
  export interface RouterGetLibraryGetResponseData extends JsonObject {
372
336
  "id": string;
373
- "actor_id"?: string | null;
374
- "action": string;
375
- "entity_type": string;
376
- "entity_id"?: string | null;
377
- "request_id"?: string | null;
378
- "before_data"?: BackendJson<"Json"> | null;
379
- "after_data"?: BackendJson<"Json"> | null;
337
+ "name": string;
338
+ "description"?: string | null;
339
+ "status": string;
340
+ "visibility": string;
380
341
  "created_at": string;
342
+ "updated_at": string;
381
343
  }
382
344
  export type RouterGetLibraryGetResponse = RouterGetLibraryGetResponseData;
383
345
  /** Backend request type: LibraryInput. */
@@ -391,59 +353,63 @@ export interface RouterUpdateLibraryPatchInput extends JsonObject {
391
353
  /** Backend response type: content_library::Model. */
392
354
  export interface RouterUpdateLibraryPatchResponseData extends JsonObject {
393
355
  "id": string;
394
- "actor_id"?: string | null;
395
- "action": string;
396
- "entity_type": string;
397
- "entity_id"?: string | null;
398
- "request_id"?: string | null;
399
- "before_data"?: BackendJson<"Json"> | null;
400
- "after_data"?: BackendJson<"Json"> | null;
356
+ "name": string;
357
+ "description"?: string | null;
358
+ "status": string;
359
+ "visibility": string;
401
360
  "created_at": string;
361
+ "updated_at": string;
402
362
  }
403
363
  export type RouterUpdateLibraryPatchResponse = RouterUpdateLibraryPatchResponseData;
404
364
  /** Backend response type: Vec<content_category::Model>. */
405
365
  export interface RouterListCategoriesGetResponseItem extends JsonObject {
406
366
  "id": string;
407
- "actor_id"?: string | null;
408
- "action": string;
409
- "entity_type": string;
410
- "entity_id"?: string | null;
411
- "request_id"?: string | null;
412
- "before_data"?: BackendJson<"Json"> | null;
413
- "after_data"?: BackendJson<"Json"> | null;
367
+ "mixed_media_id"?: string | null;
368
+ "library_id": string;
369
+ "parent_id"?: string | null;
370
+ "title": string;
414
371
  "created_at": string;
372
+ "updated_at": string;
373
+ "archived_at"?: string | null;
415
374
  }
416
375
  export type RouterListCategoriesGetResponse = RouterListCategoriesGetResponseItem[];
417
376
  /** Backend request type: GenericCategoryInput. */
418
- export interface RouterCreateCategoryPostLibrariesIdCategoriesInput extends JsonObject {
377
+ export interface RouterCreateCategoryPostApiV1LibrariesIdCategoriesInput extends JsonObject {
419
378
  "id"?: string | null;
420
379
  "parent_id"?: string | null;
421
380
  "title": string;
422
381
  }
423
382
  /** Backend response type: content_category::Model. */
424
- export interface RouterCreateCategoryPostLibrariesIdCategoriesResponseData extends JsonObject {
383
+ export interface RouterCreateCategoryPostApiV1LibrariesIdCategoriesResponseData extends JsonObject {
425
384
  "id": string;
426
- "actor_id"?: string | null;
427
- "action": string;
428
- "entity_type": string;
429
- "entity_id"?: string | null;
430
- "request_id"?: string | null;
431
- "before_data"?: BackendJson<"Json"> | null;
432
- "after_data"?: BackendJson<"Json"> | null;
385
+ "mixed_media_id"?: string | null;
386
+ "library_id": string;
387
+ "parent_id"?: string | null;
388
+ "title": string;
433
389
  "created_at": string;
390
+ "updated_at": string;
391
+ "archived_at"?: string | null;
434
392
  }
435
- export type RouterCreateCategoryPostLibrariesIdCategoriesResponse = RouterCreateCategoryPostLibrariesIdCategoriesResponseData;
393
+ export type RouterCreateCategoryPostApiV1LibrariesIdCategoriesResponse = RouterCreateCategoryPostApiV1LibrariesIdCategoriesResponseData;
436
394
  /** Backend response type: Vec<media_part::Model>. */
437
395
  export interface RouterListItemsGetResponseItem extends JsonObject {
438
396
  "id": string;
439
- "actor_id"?: string | null;
440
- "action": string;
441
- "entity_type": string;
442
- "entity_id"?: string | null;
443
- "request_id"?: string | null;
444
- "before_data"?: BackendJson<"Json"> | null;
445
- "after_data"?: BackendJson<"Json"> | null;
397
+ "mixed_media_id"?: string | null;
398
+ "library_id": string;
399
+ "category_id"?: string | null;
400
+ "title": string;
401
+ "state": string;
402
+ "media_type"?: string | null;
403
+ "duration_seconds": number;
404
+ "textual": BackendJson<"Json">;
405
+ "rewards": BackendJson<"Json">;
406
+ "textual_hint"?: string | null;
407
+ "game_id"?: string | null;
408
+ "primary_media_id"?: string | null;
409
+ "hint_media_id"?: string | null;
446
410
  "created_at": string;
411
+ "updated_at": string;
412
+ "archived_at"?: string | null;
447
413
  }
448
414
  export type RouterListItemsGetResponse = RouterListItemsGetResponseItem[];
449
415
  /** Backend request type: ContentItemInput. */
@@ -462,14 +428,22 @@ export interface RouterCreateItemPostInput extends JsonObject {
462
428
  /** Backend response type: media_part::Model. */
463
429
  export interface RouterCreateItemPostResponseData extends JsonObject {
464
430
  "id": string;
465
- "actor_id"?: string | null;
466
- "action": string;
467
- "entity_type": string;
468
- "entity_id"?: string | null;
469
- "request_id"?: string | null;
470
- "before_data"?: BackendJson<"Json"> | null;
471
- "after_data"?: BackendJson<"Json"> | null;
431
+ "mixed_media_id"?: string | null;
432
+ "library_id": string;
433
+ "category_id"?: string | null;
434
+ "title": string;
435
+ "state": string;
436
+ "media_type"?: string | null;
437
+ "duration_seconds": number;
438
+ "textual": BackendJson<"Json">;
439
+ "rewards": BackendJson<"Json">;
440
+ "textual_hint"?: string | null;
441
+ "game_id"?: string | null;
442
+ "primary_media_id"?: string | null;
443
+ "hint_media_id"?: string | null;
472
444
  "created_at": string;
445
+ "updated_at": string;
446
+ "archived_at"?: string | null;
473
447
  }
474
448
  export type RouterCreateItemPostResponse = RouterCreateItemPostResponseData;
475
449
  /** Backend query type: ContentItemsQuery. */
@@ -495,37 +469,44 @@ export type RouterLibraryStatsGetResponse = RouterLibraryStatsGetResponseData;
495
469
  /** Backend response type: no-content. */
496
470
  export type RouterArchiveCategoryDeleteResponse = void;
497
471
  /** Backend request type: GenericCategoryInput. */
498
- export interface RouterUpdateCategoryPatchLibrariesLibraryIdCategoriesIdInput extends JsonObject {
472
+ export interface RouterUpdateCategoryPatchApiV1LibrariesLibraryIdCategoriesIdInput extends JsonObject {
499
473
  "id"?: string | null;
500
474
  "parent_id"?: string | null;
501
475
  "title": string;
502
476
  }
503
477
  /** Backend response type: content_category::Model. */
504
- export interface RouterUpdateCategoryPatchLibrariesLibraryIdCategoriesIdResponseData extends JsonObject {
478
+ export interface RouterUpdateCategoryPatchApiV1LibrariesLibraryIdCategoriesIdResponseData extends JsonObject {
505
479
  "id": string;
506
- "actor_id"?: string | null;
507
- "action": string;
508
- "entity_type": string;
509
- "entity_id"?: string | null;
510
- "request_id"?: string | null;
511
- "before_data"?: BackendJson<"Json"> | null;
512
- "after_data"?: BackendJson<"Json"> | null;
480
+ "mixed_media_id"?: string | null;
481
+ "library_id": string;
482
+ "parent_id"?: string | null;
483
+ "title": string;
513
484
  "created_at": string;
485
+ "updated_at": string;
486
+ "archived_at"?: string | null;
514
487
  }
515
- export type RouterUpdateCategoryPatchLibrariesLibraryIdCategoriesIdResponse = RouterUpdateCategoryPatchLibrariesLibraryIdCategoriesIdResponseData;
488
+ export type RouterUpdateCategoryPatchApiV1LibrariesLibraryIdCategoriesIdResponse = RouterUpdateCategoryPatchApiV1LibrariesLibraryIdCategoriesIdResponseData;
516
489
  /** Backend response type: no-content. */
517
490
  export type RouterArchiveItemDeleteResponse = void;
518
491
  /** Backend response type: media_part::Model. */
519
492
  export interface RouterGetItemGetResponseData extends JsonObject {
520
493
  "id": string;
521
- "actor_id"?: string | null;
522
- "action": string;
523
- "entity_type": string;
524
- "entity_id"?: string | null;
525
- "request_id"?: string | null;
526
- "before_data"?: BackendJson<"Json"> | null;
527
- "after_data"?: BackendJson<"Json"> | null;
494
+ "mixed_media_id"?: string | null;
495
+ "library_id": string;
496
+ "category_id"?: string | null;
497
+ "title": string;
498
+ "state": string;
499
+ "media_type"?: string | null;
500
+ "duration_seconds": number;
501
+ "textual": BackendJson<"Json">;
502
+ "rewards": BackendJson<"Json">;
503
+ "textual_hint"?: string | null;
504
+ "game_id"?: string | null;
505
+ "primary_media_id"?: string | null;
506
+ "hint_media_id"?: string | null;
528
507
  "created_at": string;
508
+ "updated_at": string;
509
+ "archived_at"?: string | null;
529
510
  }
530
511
  export type RouterGetItemGetResponse = RouterGetItemGetResponseData;
531
512
  /** Backend request type: ContentItemInput. */
@@ -544,26 +525,31 @@ export interface RouterUpdateItemPutInput extends JsonObject {
544
525
  /** Backend response type: media_part::Model. */
545
526
  export interface RouterUpdateItemPutResponseData extends JsonObject {
546
527
  "id": string;
547
- "actor_id"?: string | null;
548
- "action": string;
549
- "entity_type": string;
550
- "entity_id"?: string | null;
551
- "request_id"?: string | null;
552
- "before_data"?: BackendJson<"Json"> | null;
553
- "after_data"?: BackendJson<"Json"> | null;
528
+ "mixed_media_id"?: string | null;
529
+ "library_id": string;
530
+ "category_id"?: string | null;
531
+ "title": string;
532
+ "state": string;
533
+ "media_type"?: string | null;
534
+ "duration_seconds": number;
535
+ "textual": BackendJson<"Json">;
536
+ "rewards": BackendJson<"Json">;
537
+ "textual_hint"?: string | null;
538
+ "game_id"?: string | null;
539
+ "primary_media_id"?: string | null;
540
+ "hint_media_id"?: string | null;
554
541
  "created_at": string;
542
+ "updated_at": string;
543
+ "archived_at"?: string | null;
555
544
  }
556
545
  export type RouterUpdateItemPutResponse = RouterUpdateItemPutResponseData;
557
546
  /** Backend response type: Vec<content_item_media::Model>. */
558
547
  export interface RouterItemAttachmentsGetResponseItem extends JsonObject {
559
- "id": string;
560
- "actor_id"?: string | null;
561
- "action": string;
562
- "entity_type": string;
563
- "entity_id"?: string | null;
564
- "request_id"?: string | null;
565
- "before_data"?: BackendJson<"Json"> | null;
566
- "after_data"?: BackendJson<"Json"> | null;
548
+ "content_item_id": string;
549
+ "media_id": string;
550
+ "slot": string;
551
+ "position": number;
552
+ "is_current": boolean;
567
553
  "created_at": string;
568
554
  }
569
555
  export type RouterItemAttachmentsGetResponse = RouterItemAttachmentsGetResponseItem[];
@@ -576,14 +562,11 @@ export interface RouterAttachMediaPostInput extends JsonObject {
576
562
  }
577
563
  /** Backend response type: content_item_media::Model. */
578
564
  export interface RouterAttachMediaPostResponseData extends JsonObject {
579
- "id": string;
580
- "actor_id"?: string | null;
581
- "action": string;
582
- "entity_type": string;
583
- "entity_id"?: string | null;
584
- "request_id"?: string | null;
585
- "before_data"?: BackendJson<"Json"> | null;
586
- "after_data"?: BackendJson<"Json"> | null;
565
+ "content_item_id": string;
566
+ "media_id": string;
567
+ "slot": string;
568
+ "position": number;
569
+ "is_current": boolean;
587
570
  "created_at": string;
588
571
  }
589
572
  export type RouterAttachMediaPostResponse = RouterAttachMediaPostResponseData;
@@ -609,14 +592,21 @@ export type RouterUploadMediaPostInput = FormData;
609
592
  /** Backend response type: MediaResponse. */
610
593
  export interface RouterUploadMediaPostResponseData extends JsonObject {
611
594
  "id": string;
612
- "actor_id"?: string | null;
613
- "action": string;
614
- "entity_type": string;
615
- "entity_id"?: string | null;
616
- "request_id"?: string | null;
617
- "before_data"?: BackendJson<"Json"> | null;
618
- "after_data"?: BackendJson<"Json"> | null;
595
+ "folder_id"?: string | null;
596
+ "name": string;
597
+ "description"?: string | null;
598
+ "media_type": string;
599
+ "mime_type": string;
600
+ "object_key": string;
601
+ "bucket": string;
602
+ "size_bytes": number;
603
+ "duration_seconds"?: number | null;
604
+ "status": string;
605
+ "original_filename"?: string | null;
606
+ "checksum_sha256"?: string | null;
607
+ "archived_at"?: string | null;
619
608
  "created_at": string;
609
+ "updated_at": string;
620
610
  "tags": BackendJson<"entity::tag::Model">[];
621
611
  "transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
622
612
  }
@@ -626,14 +616,21 @@ export type RouterDeleteMediaDeleteResponse = void;
626
616
  /** Backend response type: MediaResponse. */
627
617
  export interface RouterGetMediaGetResponseData extends JsonObject {
628
618
  "id": string;
629
- "actor_id"?: string | null;
630
- "action": string;
631
- "entity_type": string;
632
- "entity_id"?: string | null;
633
- "request_id"?: string | null;
634
- "before_data"?: BackendJson<"Json"> | null;
635
- "after_data"?: BackendJson<"Json"> | null;
619
+ "folder_id"?: string | null;
620
+ "name": string;
621
+ "description"?: string | null;
622
+ "media_type": string;
623
+ "mime_type": string;
624
+ "object_key": string;
625
+ "bucket": string;
626
+ "size_bytes": number;
627
+ "duration_seconds"?: number | null;
628
+ "status": string;
629
+ "original_filename"?: string | null;
630
+ "checksum_sha256"?: string | null;
631
+ "archived_at"?: string | null;
636
632
  "created_at": string;
633
+ "updated_at": string;
637
634
  "tags": BackendJson<"entity::tag::Model">[];
638
635
  "transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
639
636
  }
@@ -650,14 +647,21 @@ export interface RouterUpdateMediaPatchInput extends JsonObject {
650
647
  /** Backend response type: MediaResponse. */
651
648
  export interface RouterUpdateMediaPatchResponseData extends JsonObject {
652
649
  "id": string;
653
- "actor_id"?: string | null;
654
- "action": string;
655
- "entity_type": string;
656
- "entity_id"?: string | null;
657
- "request_id"?: string | null;
658
- "before_data"?: BackendJson<"Json"> | null;
659
- "after_data"?: BackendJson<"Json"> | null;
650
+ "folder_id"?: string | null;
651
+ "name": string;
652
+ "description"?: string | null;
653
+ "media_type": string;
654
+ "mime_type": string;
655
+ "object_key": string;
656
+ "bucket": string;
657
+ "size_bytes": number;
658
+ "duration_seconds"?: number | null;
659
+ "status": string;
660
+ "original_filename"?: string | null;
661
+ "checksum_sha256"?: string | null;
662
+ "archived_at"?: string | null;
660
663
  "created_at": string;
664
+ "updated_at": string;
661
665
  "tags": BackendJson<"entity::tag::Model">[];
662
666
  "transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
663
667
  }
@@ -665,14 +669,18 @@ export type RouterUpdateMediaPatchResponse = RouterUpdateMediaPatchResponseData;
665
669
  /** Backend response type: Vec<PackageResponse>. */
666
670
  export interface RouterListPackagesGetResponseItem extends JsonObject {
667
671
  "id": string;
668
- "actor_id"?: string | null;
669
- "action": string;
670
- "entity_type": string;
671
- "entity_id"?: string | null;
672
- "request_id"?: string | null;
673
- "before_data"?: BackendJson<"Json"> | null;
674
- "after_data"?: BackendJson<"Json"> | null;
672
+ "media_id": string;
673
+ "revision": number;
674
+ "status": string;
675
+ "profile": BackendJson<"Json">;
676
+ "manifest_dash_key"?: string | null;
677
+ "manifest_hls_key"?: string | null;
678
+ "object_prefix": string;
679
+ "checksum_manifest"?: string | null;
680
+ "last_error"?: string | null;
675
681
  "created_at": string;
682
+ "updated_at": string;
683
+ "completed_at"?: string | null;
676
684
  "dash_url"?: string | null;
677
685
  "hls_url"?: string | null;
678
686
  }
@@ -687,14 +695,20 @@ export interface RouterRegeneratePostInput extends JsonObject {
687
695
  /** Backend response type: drm_job::Model. */
688
696
  export interface RouterRegeneratePostResponseData extends JsonObject {
689
697
  "id": string;
690
- "actor_id"?: string | null;
691
- "action": string;
692
- "entity_type": string;
693
- "entity_id"?: string | null;
694
- "request_id"?: string | null;
695
- "before_data"?: BackendJson<"Json"> | null;
696
- "after_data"?: BackendJson<"Json"> | null;
698
+ "media_id": string;
699
+ "package_id"?: string | null;
700
+ "status": string;
701
+ "stage": string;
702
+ "progress": number;
703
+ "attempts": number;
704
+ "max_attempts": number;
705
+ "next_retry_at"?: string | null;
706
+ "last_error"?: string | null;
707
+ "config": BackendJson<"Json">;
697
708
  "created_at": string;
709
+ "updated_at": string;
710
+ "started_at"?: string | null;
711
+ "completed_at"?: string | null;
698
712
  }
699
713
  export type RouterRegeneratePostResponse = RouterRegeneratePostResponseData;
700
714
  /** Backend response type: PlaybackResponse. */
@@ -713,14 +727,21 @@ export interface RouterBatchMediaPostInput extends JsonObject {
713
727
  /** Backend response type: Vec<MediaResponse>. */
714
728
  export interface RouterBatchMediaPostResponseItem extends JsonObject {
715
729
  "id": string;
716
- "actor_id"?: string | null;
717
- "action": string;
718
- "entity_type": string;
719
- "entity_id"?: string | null;
720
- "request_id"?: string | null;
721
- "before_data"?: BackendJson<"Json"> | null;
722
- "after_data"?: BackendJson<"Json"> | null;
730
+ "folder_id"?: string | null;
731
+ "name": string;
732
+ "description"?: string | null;
733
+ "media_type": string;
734
+ "mime_type": string;
735
+ "object_key": string;
736
+ "bucket": string;
737
+ "size_bytes": number;
738
+ "duration_seconds"?: number | null;
739
+ "status": string;
740
+ "original_filename"?: string | null;
741
+ "checksum_sha256"?: string | null;
742
+ "archived_at"?: string | null;
723
743
  "created_at": string;
744
+ "updated_at": string;
724
745
  "tags": BackendJson<"entity::tag::Model">[];
725
746
  "transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
726
747
  }
@@ -756,14 +777,21 @@ export interface RouterRegisterExistingMediaPostInput extends JsonObject {
756
777
  /** Backend response type: MediaResponse. */
757
778
  export interface RouterRegisterExistingMediaPostResponseData extends JsonObject {
758
779
  "id": string;
759
- "actor_id"?: string | null;
760
- "action": string;
761
- "entity_type": string;
762
- "entity_id"?: string | null;
763
- "request_id"?: string | null;
764
- "before_data"?: BackendJson<"Json"> | null;
765
- "after_data"?: BackendJson<"Json"> | null;
780
+ "folder_id"?: string | null;
781
+ "name": string;
782
+ "description"?: string | null;
783
+ "media_type": string;
784
+ "mime_type": string;
785
+ "object_key": string;
786
+ "bucket": string;
787
+ "size_bytes": number;
788
+ "duration_seconds"?: number | null;
789
+ "status": string;
790
+ "original_filename"?: string | null;
791
+ "checksum_sha256"?: string | null;
792
+ "archived_at"?: string | null;
766
793
  "created_at": string;
794
+ "updated_at": string;
767
795
  "tags": BackendJson<"entity::tag::Model">[];
768
796
  "transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
769
797
  }
@@ -771,14 +799,16 @@ export type RouterRegisterExistingMediaPostResponse = RouterRegisterExistingMedi
771
799
  /** Backend response type: Vec<mixed_media::Model>. */
772
800
  export interface RouterListMixedMediaGetResponseItem extends JsonObject {
773
801
  "id": string;
774
- "actor_id"?: string | null;
775
- "action": string;
776
- "entity_type": string;
777
- "entity_id"?: string | null;
778
- "request_id"?: string | null;
779
- "before_data"?: BackendJson<"Json"> | null;
780
- "after_data"?: BackendJson<"Json"> | null;
802
+ "library_id": string;
803
+ "category_id"?: string | null;
804
+ "name": string;
805
+ "description"?: string | null;
806
+ "transcription_language": string;
807
+ "status": string;
808
+ "manifest_version": number;
809
+ "published_at"?: string | null;
781
810
  "created_at": string;
811
+ "updated_at": string;
782
812
  }
783
813
  export type RouterListMixedMediaGetResponse = RouterListMixedMediaGetResponseItem[];
784
814
  /** Backend request type: MixedMediaInput. */
@@ -792,14 +822,16 @@ export interface RouterCreateMixedMediaPostInput extends JsonObject {
792
822
  /** Backend response type: mixed_media::Model. */
793
823
  export interface RouterCreateMixedMediaPostResponseData extends JsonObject {
794
824
  "id": string;
795
- "actor_id"?: string | null;
796
- "action": string;
797
- "entity_type": string;
798
- "entity_id"?: string | null;
799
- "request_id"?: string | null;
800
- "before_data"?: BackendJson<"Json"> | null;
801
- "after_data"?: BackendJson<"Json"> | null;
825
+ "library_id": string;
826
+ "category_id"?: string | null;
827
+ "name": string;
828
+ "description"?: string | null;
829
+ "transcription_language": string;
830
+ "status": string;
831
+ "manifest_version": number;
832
+ "published_at"?: string | null;
802
833
  "created_at": string;
834
+ "updated_at": string;
803
835
  }
804
836
  export type RouterCreateMixedMediaPostResponse = RouterCreateMixedMediaPostResponseData;
805
837
  /** Backend response type: no-content. */
@@ -807,14 +839,16 @@ export type RouterDeleteMixedMediaDeleteResponse = void;
807
839
  /** Backend response type: mixed_media::Model. */
808
840
  export interface RouterGetMixedMediaGetResponseData extends JsonObject {
809
841
  "id": string;
810
- "actor_id"?: string | null;
811
- "action": string;
812
- "entity_type": string;
813
- "entity_id"?: string | null;
814
- "request_id"?: string | null;
815
- "before_data"?: BackendJson<"Json"> | null;
816
- "after_data"?: BackendJson<"Json"> | null;
842
+ "library_id": string;
843
+ "category_id"?: string | null;
844
+ "name": string;
845
+ "description"?: string | null;
846
+ "transcription_language": string;
847
+ "status": string;
848
+ "manifest_version": number;
849
+ "published_at"?: string | null;
817
850
  "created_at": string;
851
+ "updated_at": string;
818
852
  }
819
853
  export type RouterGetMixedMediaGetResponse = RouterGetMixedMediaGetResponseData;
820
854
  /** Backend request type: MixedMediaUpdate. */
@@ -829,14 +863,16 @@ export interface RouterUpdateMixedMediaPatchInput extends JsonObject {
829
863
  /** Backend response type: mixed_media::Model. */
830
864
  export interface RouterUpdateMixedMediaPatchResponseData extends JsonObject {
831
865
  "id": string;
832
- "actor_id"?: string | null;
833
- "action": string;
834
- "entity_type": string;
835
- "entity_id"?: string | null;
836
- "request_id"?: string | null;
837
- "before_data"?: BackendJson<"Json"> | null;
838
- "after_data"?: BackendJson<"Json"> | null;
866
+ "library_id": string;
867
+ "category_id"?: string | null;
868
+ "name": string;
869
+ "description"?: string | null;
870
+ "transcription_language": string;
871
+ "status": string;
872
+ "manifest_version": number;
873
+ "published_at"?: string | null;
839
874
  "created_at": string;
875
+ "updated_at": string;
840
876
  }
841
877
  export type RouterUpdateMixedMediaPatchResponse = RouterUpdateMixedMediaPatchResponseData;
842
878
  /** Backend response type: Option<CompositionAnalysis>. */
@@ -866,25 +902,24 @@ export interface RouterStartAnalysisPostResponseData extends JsonObject {
866
902
  }
867
903
  export type RouterStartAnalysisPostResponse = RouterStartAnalysisPostResponseData;
868
904
  /** Backend request type: CategoryInput. */
869
- export interface RouterCreateCategoryPostMixedMediaIdCategoriesInput extends JsonObject {
905
+ export interface RouterCreateCategoryPostApiV1MixedMediaIdCategoriesInput extends JsonObject {
870
906
  "title": string;
871
907
  "parent_id"?: string | null;
872
908
  }
873
909
  /** Backend response type: content_category::Model. */
874
- export interface RouterCreateCategoryPostMixedMediaIdCategoriesResponseData extends JsonObject {
910
+ export interface RouterCreateCategoryPostApiV1MixedMediaIdCategoriesResponseData extends JsonObject {
875
911
  "id": string;
876
- "actor_id"?: string | null;
877
- "action": string;
878
- "entity_type": string;
879
- "entity_id"?: string | null;
880
- "request_id"?: string | null;
881
- "before_data"?: BackendJson<"Json"> | null;
882
- "after_data"?: BackendJson<"Json"> | null;
912
+ "mixed_media_id"?: string | null;
913
+ "library_id": string;
914
+ "parent_id"?: string | null;
915
+ "title": string;
883
916
  "created_at": string;
917
+ "updated_at": string;
918
+ "archived_at"?: string | null;
884
919
  }
885
- export type RouterCreateCategoryPostMixedMediaIdCategoriesResponse = RouterCreateCategoryPostMixedMediaIdCategoriesResponseData;
920
+ export type RouterCreateCategoryPostApiV1MixedMediaIdCategoriesResponse = RouterCreateCategoryPostApiV1MixedMediaIdCategoriesResponseData;
886
921
  /** Backend response type: KnowledgeSyncSettings. */
887
- export interface RouterGetSettingsGetMixedMediaIdKnowledgeSyncResponseData extends JsonObject {
922
+ export interface RouterGetSettingsGetApiV1MixedMediaIdKnowledgeSyncResponseData extends JsonObject {
888
923
  "mixed_media_id": string;
889
924
  "enabled": boolean;
890
925
  "knowledge_base_id"?: string | null;
@@ -895,7 +930,7 @@ export interface RouterGetSettingsGetMixedMediaIdKnowledgeSyncResponseData exten
895
930
  "last_error"?: string | null;
896
931
  "last_synced_at"?: string | null;
897
932
  }
898
- export type RouterGetSettingsGetMixedMediaIdKnowledgeSyncResponse = RouterGetSettingsGetMixedMediaIdKnowledgeSyncResponseData;
933
+ export type RouterGetSettingsGetApiV1MixedMediaIdKnowledgeSyncResponse = RouterGetSettingsGetApiV1MixedMediaIdKnowledgeSyncResponseData;
899
934
  /** Backend response type: KnowledgeSyncSettings. */
900
935
  export interface RouterSyncNowPostResponseData extends JsonObject {
901
936
  "mixed_media_id": string;
@@ -930,29 +965,21 @@ export type RouterUpdateSettingsPutResponse = RouterUpdateSettingsPutResponseDat
930
965
  /** Backend response type: mixed_media_manifest::Model. */
931
966
  export interface RouterGetManifestGetResponseData extends JsonObject {
932
967
  "id": string;
933
- "actor_id"?: string | null;
934
- "action": string;
935
- "entity_type": string;
936
- "entity_id"?: string | null;
937
- "request_id"?: string | null;
938
- "before_data"?: BackendJson<"Json"> | null;
939
- "after_data"?: BackendJson<"Json"> | null;
968
+ "mixed_media_id": string;
969
+ "version": number;
970
+ "document": BackendJson<"Json">;
940
971
  "created_at": string;
941
972
  }
942
973
  export type RouterGetManifestGetResponse = RouterGetManifestGetResponseData;
943
974
  /** Backend response type: Vec<mixed_media_manifest::Model>. */
944
- export interface RouterListManifestsGetMixedMediaIdManifestsResponseItem extends JsonObject {
975
+ export interface RouterListManifestsGetApiV1MixedMediaIdManifestsResponseItem extends JsonObject {
945
976
  "id": string;
946
- "actor_id"?: string | null;
947
- "action": string;
948
- "entity_type": string;
949
- "entity_id"?: string | null;
950
- "request_id"?: string | null;
951
- "before_data"?: BackendJson<"Json"> | null;
952
- "after_data"?: BackendJson<"Json"> | null;
977
+ "mixed_media_id": string;
978
+ "version": number;
979
+ "document": BackendJson<"Json">;
953
980
  "created_at": string;
954
981
  }
955
- export type RouterListManifestsGetMixedMediaIdManifestsResponse = RouterListManifestsGetMixedMediaIdManifestsResponseItem[];
982
+ export type RouterListManifestsGetApiV1MixedMediaIdManifestsResponse = RouterListManifestsGetApiV1MixedMediaIdManifestsResponseItem[];
956
983
  /** Backend request type: PartInput. */
957
984
  export interface RouterCreatePartPostInput extends JsonObject {
958
985
  "category_id"?: string | null;
@@ -970,29 +997,33 @@ export interface RouterCreatePartPostInput extends JsonObject {
970
997
  /** Backend response type: media_part::Model. */
971
998
  export interface RouterCreatePartPostResponseData extends JsonObject {
972
999
  "id": string;
973
- "actor_id"?: string | null;
974
- "action": string;
975
- "entity_type": string;
976
- "entity_id"?: string | null;
977
- "request_id"?: string | null;
978
- "before_data"?: BackendJson<"Json"> | null;
979
- "after_data"?: BackendJson<"Json"> | null;
1000
+ "mixed_media_id"?: string | null;
1001
+ "library_id": string;
1002
+ "category_id"?: string | null;
1003
+ "title": string;
1004
+ "state": string;
1005
+ "media_type"?: string | null;
1006
+ "duration_seconds": number;
1007
+ "textual": BackendJson<"Json">;
1008
+ "rewards": BackendJson<"Json">;
1009
+ "textual_hint"?: string | null;
1010
+ "game_id"?: string | null;
1011
+ "primary_media_id"?: string | null;
1012
+ "hint_media_id"?: string | null;
980
1013
  "created_at": string;
1014
+ "updated_at": string;
1015
+ "archived_at"?: string | null;
981
1016
  }
982
1017
  export type RouterCreatePartPostResponse = RouterCreatePartPostResponseData;
983
1018
  /** Backend response type: mixed_media_manifest::Model. */
984
- export interface RouterPublishPostMixedMediaIdPublishResponseData extends JsonObject {
1019
+ export interface RouterPublishPostApiV1MixedMediaIdPublishResponseData extends JsonObject {
985
1020
  "id": string;
986
- "actor_id"?: string | null;
987
- "action": string;
988
- "entity_type": string;
989
- "entity_id"?: string | null;
990
- "request_id"?: string | null;
991
- "before_data"?: BackendJson<"Json"> | null;
992
- "after_data"?: BackendJson<"Json"> | null;
1021
+ "mixed_media_id": string;
1022
+ "version": number;
1023
+ "document": BackendJson<"Json">;
993
1024
  "created_at": string;
994
1025
  }
995
- export type RouterPublishPostMixedMediaIdPublishResponse = RouterPublishPostMixedMediaIdPublishResponseData;
1026
+ export type RouterPublishPostApiV1MixedMediaIdPublishResponse = RouterPublishPostApiV1MixedMediaIdPublishResponseData;
996
1027
  /** Backend response type: EditorResources. */
997
1028
  export interface RouterResourcesGetResponseData extends JsonObject {
998
1029
  "categories": BackendJson<"entity::content_category::Model">[];
@@ -1000,69 +1031,68 @@ export interface RouterResourcesGetResponseData extends JsonObject {
1000
1031
  }
1001
1032
  export type RouterResourcesGetResponse = RouterResourcesGetResponseData;
1002
1033
  /** Backend response type: mixed_media_workflow::Model. */
1003
- export interface RouterGetWorkflowGetMixedMediaIdWorkflowResponseData extends JsonObject {
1004
- "id": string;
1005
- "actor_id"?: string | null;
1006
- "action": string;
1007
- "entity_type": string;
1008
- "entity_id"?: string | null;
1009
- "request_id"?: string | null;
1010
- "before_data"?: BackendJson<"Json"> | null;
1011
- "after_data"?: BackendJson<"Json"> | null;
1012
- "created_at": string;
1034
+ export interface RouterGetWorkflowGetApiV1MixedMediaIdWorkflowResponseData extends JsonObject {
1035
+ "mixed_media_id": string;
1036
+ "nodes": BackendJson<"Json">;
1037
+ "edges": BackendJson<"Json">;
1038
+ "revision": number;
1039
+ "updated_at": string;
1013
1040
  }
1014
- export type RouterGetWorkflowGetMixedMediaIdWorkflowResponse = RouterGetWorkflowGetMixedMediaIdWorkflowResponseData;
1041
+ export type RouterGetWorkflowGetApiV1MixedMediaIdWorkflowResponse = RouterGetWorkflowGetApiV1MixedMediaIdWorkflowResponseData;
1015
1042
  /** Backend request type: WorkflowInput. */
1016
- export interface RouterSaveWorkflowPutMixedMediaIdWorkflowInput extends JsonObject {
1043
+ export interface RouterSaveWorkflowPutApiV1MixedMediaIdWorkflowInput extends JsonObject {
1017
1044
  "nodes": JsonValue;
1018
1045
  "edges": JsonValue;
1019
1046
  }
1020
1047
  /** Backend response type: mixed_media_workflow::Model. */
1021
- export interface RouterSaveWorkflowPutMixedMediaIdWorkflowResponseData extends JsonObject {
1022
- "id": string;
1023
- "actor_id"?: string | null;
1024
- "action": string;
1025
- "entity_type": string;
1026
- "entity_id"?: string | null;
1027
- "request_id"?: string | null;
1028
- "before_data"?: BackendJson<"Json"> | null;
1029
- "after_data"?: BackendJson<"Json"> | null;
1030
- "created_at": string;
1048
+ export interface RouterSaveWorkflowPutApiV1MixedMediaIdWorkflowResponseData extends JsonObject {
1049
+ "mixed_media_id": string;
1050
+ "nodes": BackendJson<"Json">;
1051
+ "edges": BackendJson<"Json">;
1052
+ "revision": number;
1053
+ "updated_at": string;
1031
1054
  }
1032
- export type RouterSaveWorkflowPutMixedMediaIdWorkflowResponse = RouterSaveWorkflowPutMixedMediaIdWorkflowResponseData;
1055
+ export type RouterSaveWorkflowPutApiV1MixedMediaIdWorkflowResponse = RouterSaveWorkflowPutApiV1MixedMediaIdWorkflowResponseData;
1033
1056
  /** Backend response type: no-content. */
1034
1057
  export type RouterDeleteCategoryDeleteResponse = void;
1035
1058
  /** Backend request type: CategoryInput. */
1036
- export interface RouterUpdateCategoryPatchMixedMediaMixedIdCategoriesIdInput extends JsonObject {
1059
+ export interface RouterUpdateCategoryPatchApiV1MixedMediaMixedIdCategoriesIdInput extends JsonObject {
1037
1060
  "title": string;
1038
1061
  "parent_id"?: string | null;
1039
1062
  }
1040
1063
  /** Backend response type: content_category::Model. */
1041
- export interface RouterUpdateCategoryPatchMixedMediaMixedIdCategoriesIdResponseData extends JsonObject {
1064
+ export interface RouterUpdateCategoryPatchApiV1MixedMediaMixedIdCategoriesIdResponseData extends JsonObject {
1042
1065
  "id": string;
1043
- "actor_id"?: string | null;
1044
- "action": string;
1045
- "entity_type": string;
1046
- "entity_id"?: string | null;
1047
- "request_id"?: string | null;
1048
- "before_data"?: BackendJson<"Json"> | null;
1049
- "after_data"?: BackendJson<"Json"> | null;
1066
+ "mixed_media_id"?: string | null;
1067
+ "library_id": string;
1068
+ "parent_id"?: string | null;
1069
+ "title": string;
1050
1070
  "created_at": string;
1071
+ "updated_at": string;
1072
+ "archived_at"?: string | null;
1051
1073
  }
1052
- export type RouterUpdateCategoryPatchMixedMediaMixedIdCategoriesIdResponse = RouterUpdateCategoryPatchMixedMediaMixedIdCategoriesIdResponseData;
1074
+ export type RouterUpdateCategoryPatchApiV1MixedMediaMixedIdCategoriesIdResponse = RouterUpdateCategoryPatchApiV1MixedMediaMixedIdCategoriesIdResponseData;
1053
1075
  /** Backend response type: no-content. */
1054
1076
  export type RouterDeletePartDeleteResponse = void;
1055
1077
  /** Backend response type: media_part::Model. */
1056
1078
  export interface RouterGetPartGetResponseData extends JsonObject {
1057
1079
  "id": string;
1058
- "actor_id"?: string | null;
1059
- "action": string;
1060
- "entity_type": string;
1061
- "entity_id"?: string | null;
1062
- "request_id"?: string | null;
1063
- "before_data"?: BackendJson<"Json"> | null;
1064
- "after_data"?: BackendJson<"Json"> | null;
1080
+ "mixed_media_id"?: string | null;
1081
+ "library_id": string;
1082
+ "category_id"?: string | null;
1083
+ "title": string;
1084
+ "state": string;
1085
+ "media_type"?: string | null;
1086
+ "duration_seconds": number;
1087
+ "textual": BackendJson<"Json">;
1088
+ "rewards": BackendJson<"Json">;
1089
+ "textual_hint"?: string | null;
1090
+ "game_id"?: string | null;
1091
+ "primary_media_id"?: string | null;
1092
+ "hint_media_id"?: string | null;
1065
1093
  "created_at": string;
1094
+ "updated_at": string;
1095
+ "archived_at"?: string | null;
1066
1096
  }
1067
1097
  export type RouterGetPartGetResponse = RouterGetPartGetResponseData;
1068
1098
  /** Backend request type: PartInput. */
@@ -1082,14 +1112,22 @@ export interface RouterUpdatePartPutInput extends JsonObject {
1082
1112
  /** Backend response type: media_part::Model. */
1083
1113
  export interface RouterUpdatePartPutResponseData extends JsonObject {
1084
1114
  "id": string;
1085
- "actor_id"?: string | null;
1086
- "action": string;
1087
- "entity_type": string;
1088
- "entity_id"?: string | null;
1089
- "request_id"?: string | null;
1090
- "before_data"?: BackendJson<"Json"> | null;
1091
- "after_data"?: BackendJson<"Json"> | null;
1115
+ "mixed_media_id"?: string | null;
1116
+ "library_id": string;
1117
+ "category_id"?: string | null;
1118
+ "title": string;
1119
+ "state": string;
1120
+ "media_type"?: string | null;
1121
+ "duration_seconds": number;
1122
+ "textual": BackendJson<"Json">;
1123
+ "rewards": BackendJson<"Json">;
1124
+ "textual_hint"?: string | null;
1125
+ "game_id"?: string | null;
1126
+ "primary_media_id"?: string | null;
1127
+ "hint_media_id"?: string | null;
1092
1128
  "created_at": string;
1129
+ "updated_at": string;
1130
+ "archived_at"?: string | null;
1093
1131
  }
1094
1132
  export type RouterUpdatePartPutResponse = RouterUpdatePartPutResponseData;
1095
1133
  /** Backend response type: serde_json::Value. */
@@ -1097,13 +1135,13 @@ export type RouterHealthGetResponse = JsonValue;
1097
1135
  /** Backend response type: Value. */
1098
1136
  export type RouterKnowledgeCatalogGetResponse = JsonValue;
1099
1137
  /** Backend response type: SettingsResponse. */
1100
- export interface RouterGetSettingsGetOperationsSettingsResponseData extends JsonObject {
1138
+ export interface RouterGetSettingsGetApiV1OperationsSettingsResponseData extends JsonObject {
1101
1139
  "package_concurrency": number;
1102
1140
  "transcription_enabled": boolean;
1103
1141
  "transcription_model_ref"?: string | null;
1104
1142
  "summary_model_ref"?: string | null;
1105
1143
  }
1106
- export type RouterGetSettingsGetOperationsSettingsResponse = RouterGetSettingsGetOperationsSettingsResponseData;
1144
+ export type RouterGetSettingsGetApiV1OperationsSettingsResponse = RouterGetSettingsGetApiV1OperationsSettingsResponseData;
1107
1145
  /** Backend request type: SettingsInput. */
1108
1146
  export interface RouterUpdateSettingsPatchInput extends JsonObject {
1109
1147
  "package_concurrency": number;
@@ -1146,13 +1184,7 @@ export type RouterStatusGetResponse = JsonValue;
1146
1184
  /** Backend response type: Vec<tag::Model>. */
1147
1185
  export interface RouterListTagsGetResponseItem extends JsonObject {
1148
1186
  "id": string;
1149
- "actor_id"?: string | null;
1150
- "action": string;
1151
- "entity_type": string;
1152
- "entity_id"?: string | null;
1153
- "request_id"?: string | null;
1154
- "before_data"?: BackendJson<"Json"> | null;
1155
- "after_data"?: BackendJson<"Json"> | null;
1187
+ "name": string;
1156
1188
  "created_at": string;
1157
1189
  }
1158
1190
  export type RouterListTagsGetResponse = RouterListTagsGetResponseItem[];
@@ -1163,13 +1195,7 @@ export interface RouterCreateTagPostInput extends JsonObject {
1163
1195
  /** Backend response type: tag::Model. */
1164
1196
  export interface RouterCreateTagPostResponseData extends JsonObject {
1165
1197
  "id": string;
1166
- "actor_id"?: string | null;
1167
- "action": string;
1168
- "entity_type": string;
1169
- "entity_id"?: string | null;
1170
- "request_id"?: string | null;
1171
- "before_data"?: BackendJson<"Json"> | null;
1172
- "after_data"?: BackendJson<"Json"> | null;
1198
+ "name": string;
1173
1199
  "created_at": string;
1174
1200
  }
1175
1201
  export type RouterCreateTagPostResponse = RouterCreateTagPostResponseData;
@@ -1189,14 +1215,24 @@ export interface RouterCreateUploadSessionPostInput extends JsonObject {
1189
1215
  /** Backend response type: UploadSessionResponse. */
1190
1216
  export interface RouterCreateUploadSessionPostResponseData extends JsonObject {
1191
1217
  "id": string;
1192
- "actor_id"?: string | null;
1193
- "action": string;
1194
- "entity_type": string;
1195
- "entity_id"?: string | null;
1196
- "request_id"?: string | null;
1197
- "before_data"?: BackendJson<"Json"> | null;
1198
- "after_data"?: BackendJson<"Json"> | null;
1218
+ "media_id": string;
1219
+ "object_key": string;
1220
+ "multipart_upload_id": string;
1221
+ "filename": string;
1222
+ "name": string;
1223
+ "description"?: string | null;
1224
+ "mime_type": string;
1225
+ "media_type": string;
1226
+ "folder_id"?: string | null;
1227
+ "total_bytes": number;
1228
+ "part_size": number;
1229
+ "checksum_sha256"?: string | null;
1230
+ "status": string;
1231
+ "error"?: string | null;
1232
+ "expires_at": string;
1199
1233
  "created_at": string;
1234
+ "updated_at": string;
1235
+ "completed_at"?: string | null;
1200
1236
  "parts": BackendJson<"upload_part::Model">[];
1201
1237
  }
1202
1238
  export type RouterCreateUploadSessionPostResponse = RouterCreateUploadSessionPostResponseData;
@@ -1205,14 +1241,24 @@ export type RouterCancelUploadDeleteResponse = void;
1205
1241
  /** Backend response type: UploadSessionResponse. */
1206
1242
  export interface RouterGetUploadSessionGetResponseData extends JsonObject {
1207
1243
  "id": string;
1208
- "actor_id"?: string | null;
1209
- "action": string;
1210
- "entity_type": string;
1211
- "entity_id"?: string | null;
1212
- "request_id"?: string | null;
1213
- "before_data"?: BackendJson<"Json"> | null;
1214
- "after_data"?: BackendJson<"Json"> | null;
1244
+ "media_id": string;
1245
+ "object_key": string;
1246
+ "multipart_upload_id": string;
1247
+ "filename": string;
1248
+ "name": string;
1249
+ "description"?: string | null;
1250
+ "mime_type": string;
1251
+ "media_type": string;
1252
+ "folder_id"?: string | null;
1253
+ "total_bytes": number;
1254
+ "part_size": number;
1255
+ "checksum_sha256"?: string | null;
1256
+ "status": string;
1257
+ "error"?: string | null;
1258
+ "expires_at": string;
1215
1259
  "created_at": string;
1260
+ "updated_at": string;
1261
+ "completed_at"?: string | null;
1216
1262
  "parts": BackendJson<"upload_part::Model">[];
1217
1263
  }
1218
1264
  export type RouterGetUploadSessionGetResponse = RouterGetUploadSessionGetResponseData;
@@ -1223,28 +1269,33 @@ export interface RouterCompleteUploadPostInput extends JsonObject {
1223
1269
  /** Backend response type: MediaResponse. */
1224
1270
  export interface RouterCompleteUploadPostResponseData extends JsonObject {
1225
1271
  "id": string;
1226
- "actor_id"?: string | null;
1227
- "action": string;
1228
- "entity_type": string;
1229
- "entity_id"?: string | null;
1230
- "request_id"?: string | null;
1231
- "before_data"?: BackendJson<"Json"> | null;
1232
- "after_data"?: BackendJson<"Json"> | null;
1272
+ "folder_id"?: string | null;
1273
+ "name": string;
1274
+ "description"?: string | null;
1275
+ "media_type": string;
1276
+ "mime_type": string;
1277
+ "object_key": string;
1278
+ "bucket": string;
1279
+ "size_bytes": number;
1280
+ "duration_seconds"?: number | null;
1281
+ "status": string;
1282
+ "original_filename"?: string | null;
1283
+ "checksum_sha256"?: string | null;
1284
+ "archived_at"?: string | null;
1233
1285
  "created_at": string;
1286
+ "updated_at": string;
1234
1287
  "tags": BackendJson<"entity::tag::Model">[];
1235
1288
  "transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
1236
1289
  }
1237
1290
  export type RouterCompleteUploadPostResponse = RouterCompleteUploadPostResponseData;
1291
+ /** Backend request type: binary byte stream. */
1292
+ export type RouterPutUploadPartPutInput = Blob | ArrayBuffer | ArrayBufferView;
1238
1293
  /** Backend response type: upload_part::Model. */
1239
1294
  export interface RouterPutUploadPartPutResponseData extends JsonObject {
1240
- "id": string;
1241
- "actor_id"?: string | null;
1242
- "action": string;
1243
- "entity_type": string;
1244
- "entity_id"?: string | null;
1245
- "request_id"?: string | null;
1246
- "before_data"?: BackendJson<"Json"> | null;
1247
- "after_data"?: BackendJson<"Json"> | null;
1295
+ "session_id": string;
1296
+ "part_number": number;
1297
+ "etag": string;
1298
+ "size_bytes": number;
1248
1299
  "created_at": string;
1249
1300
  }
1250
1301
  export type RouterPutUploadPartPutResponse = RouterPutUploadPartPutResponseData;