@faiber/faiber-drm 0.10.2 → 0.11.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.
@@ -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. */
@@ -192,21 +162,33 @@ export interface RouterListJobsGetQuery extends QueryParams {
192
162
  /** Backend response type: Page<DrmJobResponse>. */
193
163
  export type RouterListJobsGetResponse = BackendJson<"Page<DrmJobResponse>">;
194
164
  /** Backend request type: EnqueueDrmInput. */
165
+ export interface RouterCreateJobPostInputConfig extends JsonObject {
166
+ "download"?: boolean;
167
+ "transcode"?: boolean;
168
+ "package"?: boolean;
169
+ "allow_video_only_on_audio_error"?: boolean;
170
+ }
195
171
  export interface RouterCreateJobPostInput extends JsonObject {
196
172
  "media_id": string;
197
- "config"?: BackendJson<"DrmConfig">;
173
+ "config"?: RouterCreateJobPostInputConfig;
198
174
  }
199
175
  /** Backend response type: DrmJobResponse. */
200
176
  export interface RouterCreateJobPostResponseData extends JsonObject {
201
177
  "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;
178
+ "media_id": string;
179
+ "package_id"?: string | null;
180
+ "status": string;
181
+ "stage": string;
182
+ "progress": number;
183
+ "attempts": number;
184
+ "max_attempts": number;
185
+ "next_retry_at"?: string | null;
186
+ "last_error"?: string | null;
187
+ "config": BackendJson<"Json">;
209
188
  "created_at": string;
189
+ "updated_at": string;
190
+ "started_at"?: string | null;
191
+ "completed_at"?: string | null;
210
192
  "media_name": string;
211
193
  "media_type": string;
212
194
  }
@@ -223,14 +205,20 @@ export interface RouterRetryJobPostInput extends JsonObject {
223
205
  /** Backend response type: DrmJobResponse. */
224
206
  export interface RouterRetryJobPostResponseData extends JsonObject {
225
207
  "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;
208
+ "media_id": string;
209
+ "package_id"?: string | null;
210
+ "status": string;
211
+ "stage": string;
212
+ "progress": number;
213
+ "attempts": number;
214
+ "max_attempts": number;
215
+ "next_retry_at"?: string | null;
216
+ "last_error"?: string | null;
217
+ "config": BackendJson<"Json">;
233
218
  "created_at": string;
219
+ "updated_at": string;
220
+ "started_at"?: string | null;
221
+ "completed_at"?: string | null;
234
222
  "media_name": string;
235
223
  "media_type": string;
236
224
  }
@@ -247,15 +235,14 @@ export interface RouterListExternalReferencesGetQuery extends QueryParams {
247
235
  }
248
236
  /** Backend response type: Vec<external_reference::Model>. */
249
237
  export interface RouterListExternalReferencesGetResponseItem extends JsonObject {
250
- "id": string;
251
- "actor_id"?: string | null;
252
- "action": string;
238
+ "system": string;
253
239
  "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;
240
+ "external_id": string;
241
+ "internal_type": string;
242
+ "internal_id": string;
243
+ "metadata": BackendJson<"Json">;
258
244
  "created_at": string;
245
+ "updated_at": string;
259
246
  }
260
247
  export type RouterListExternalReferencesGetResponse = RouterListExternalReferencesGetResponseItem[];
261
248
  /** Backend request type: ExternalReferenceInput. */
@@ -269,28 +256,23 @@ export interface RouterUpsertExternalReferencePostInput extends JsonObject {
269
256
  }
270
257
  /** Backend response type: external_reference::Model. */
271
258
  export interface RouterUpsertExternalReferencePostResponseData extends JsonObject {
272
- "id": string;
273
- "actor_id"?: string | null;
274
- "action": string;
259
+ "system": string;
275
260
  "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;
261
+ "external_id": string;
262
+ "internal_type": string;
263
+ "internal_id": string;
264
+ "metadata": BackendJson<"Json">;
280
265
  "created_at": string;
266
+ "updated_at": string;
281
267
  }
282
268
  export type RouterUpsertExternalReferencePostResponse = RouterUpsertExternalReferencePostResponseData;
283
269
  /** Backend response type: Vec<folder::Model>. */
284
270
  export interface RouterListFoldersGetResponseItem extends JsonObject {
285
271
  "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;
272
+ "parent_id"?: string | null;
273
+ "name": string;
293
274
  "created_at": string;
275
+ "updated_at": string;
294
276
  }
295
277
  export type RouterListFoldersGetResponse = RouterListFoldersGetResponseItem[];
296
278
  /** Backend request type: FolderInput. */
@@ -301,14 +283,10 @@ export interface RouterCreateFolderPostInput extends JsonObject {
301
283
  /** Backend response type: folder::Model. */
302
284
  export interface RouterCreateFolderPostResponseData extends JsonObject {
303
285
  "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;
286
+ "parent_id"?: string | null;
287
+ "name": string;
311
288
  "created_at": string;
289
+ "updated_at": string;
312
290
  }
313
291
  export type RouterCreateFolderPostResponse = RouterCreateFolderPostResponseData;
314
292
  /** Backend response type: no-content. */
@@ -321,27 +299,21 @@ export interface RouterUpdateFolderPatchInput extends JsonObject {
321
299
  /** Backend response type: folder::Model. */
322
300
  export interface RouterUpdateFolderPatchResponseData extends JsonObject {
323
301
  "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;
302
+ "parent_id"?: string | null;
303
+ "name": string;
331
304
  "created_at": string;
305
+ "updated_at": string;
332
306
  }
333
307
  export type RouterUpdateFolderPatchResponse = RouterUpdateFolderPatchResponseData;
334
308
  /** Backend response type: Vec<content_library::Model>. */
335
309
  export interface RouterListLibrariesGetResponseItem extends JsonObject {
336
310
  "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;
311
+ "name": string;
312
+ "description"?: string | null;
313
+ "status": string;
314
+ "visibility": string;
344
315
  "created_at": string;
316
+ "updated_at": string;
345
317
  }
346
318
  export type RouterListLibrariesGetResponse = RouterListLibrariesGetResponseItem[];
347
319
  /** Backend request type: LibraryInput. */
@@ -355,14 +327,12 @@ export interface RouterCreateLibraryPostInput extends JsonObject {
355
327
  /** Backend response type: content_library::Model. */
356
328
  export interface RouterCreateLibraryPostResponseData extends JsonObject {
357
329
  "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;
330
+ "name": string;
331
+ "description"?: string | null;
332
+ "status": string;
333
+ "visibility": string;
365
334
  "created_at": string;
335
+ "updated_at": string;
366
336
  }
367
337
  export type RouterCreateLibraryPostResponse = RouterCreateLibraryPostResponseData;
368
338
  /** Backend response type: no-content. */
@@ -370,14 +340,12 @@ export type RouterDeleteLibraryDeleteResponse = void;
370
340
  /** Backend response type: content_library::Model. */
371
341
  export interface RouterGetLibraryGetResponseData extends JsonObject {
372
342
  "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;
343
+ "name": string;
344
+ "description"?: string | null;
345
+ "status": string;
346
+ "visibility": string;
380
347
  "created_at": string;
348
+ "updated_at": string;
381
349
  }
382
350
  export type RouterGetLibraryGetResponse = RouterGetLibraryGetResponseData;
383
351
  /** Backend request type: LibraryInput. */
@@ -391,59 +359,63 @@ export interface RouterUpdateLibraryPatchInput extends JsonObject {
391
359
  /** Backend response type: content_library::Model. */
392
360
  export interface RouterUpdateLibraryPatchResponseData extends JsonObject {
393
361
  "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;
362
+ "name": string;
363
+ "description"?: string | null;
364
+ "status": string;
365
+ "visibility": string;
401
366
  "created_at": string;
367
+ "updated_at": string;
402
368
  }
403
369
  export type RouterUpdateLibraryPatchResponse = RouterUpdateLibraryPatchResponseData;
404
370
  /** Backend response type: Vec<content_category::Model>. */
405
371
  export interface RouterListCategoriesGetResponseItem extends JsonObject {
406
372
  "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;
373
+ "mixed_media_id"?: string | null;
374
+ "library_id": string;
375
+ "parent_id"?: string | null;
376
+ "title": string;
414
377
  "created_at": string;
378
+ "updated_at": string;
379
+ "archived_at"?: string | null;
415
380
  }
416
381
  export type RouterListCategoriesGetResponse = RouterListCategoriesGetResponseItem[];
417
382
  /** Backend request type: GenericCategoryInput. */
418
- export interface RouterCreateCategoryPostLibrariesIdCategoriesInput extends JsonObject {
383
+ export interface RouterCreateCategoryPostApiV1LibrariesIdCategoriesInput extends JsonObject {
419
384
  "id"?: string | null;
420
385
  "parent_id"?: string | null;
421
386
  "title": string;
422
387
  }
423
388
  /** Backend response type: content_category::Model. */
424
- export interface RouterCreateCategoryPostLibrariesIdCategoriesResponseData extends JsonObject {
389
+ export interface RouterCreateCategoryPostApiV1LibrariesIdCategoriesResponseData extends JsonObject {
425
390
  "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;
391
+ "mixed_media_id"?: string | null;
392
+ "library_id": string;
393
+ "parent_id"?: string | null;
394
+ "title": string;
433
395
  "created_at": string;
396
+ "updated_at": string;
397
+ "archived_at"?: string | null;
434
398
  }
435
- export type RouterCreateCategoryPostLibrariesIdCategoriesResponse = RouterCreateCategoryPostLibrariesIdCategoriesResponseData;
399
+ export type RouterCreateCategoryPostApiV1LibrariesIdCategoriesResponse = RouterCreateCategoryPostApiV1LibrariesIdCategoriesResponseData;
436
400
  /** Backend response type: Vec<media_part::Model>. */
437
401
  export interface RouterListItemsGetResponseItem extends JsonObject {
438
402
  "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;
403
+ "mixed_media_id"?: string | null;
404
+ "library_id": string;
405
+ "category_id"?: string | null;
406
+ "title": string;
407
+ "state": string;
408
+ "media_type"?: string | null;
409
+ "duration_seconds": number;
410
+ "textual": BackendJson<"Json">;
411
+ "rewards": BackendJson<"Json">;
412
+ "textual_hint"?: string | null;
413
+ "game_id"?: string | null;
414
+ "primary_media_id"?: string | null;
415
+ "hint_media_id"?: string | null;
446
416
  "created_at": string;
417
+ "updated_at": string;
418
+ "archived_at"?: string | null;
447
419
  }
448
420
  export type RouterListItemsGetResponse = RouterListItemsGetResponseItem[];
449
421
  /** Backend request type: ContentItemInput. */
@@ -462,14 +434,22 @@ export interface RouterCreateItemPostInput extends JsonObject {
462
434
  /** Backend response type: media_part::Model. */
463
435
  export interface RouterCreateItemPostResponseData extends JsonObject {
464
436
  "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;
437
+ "mixed_media_id"?: string | null;
438
+ "library_id": string;
439
+ "category_id"?: string | null;
440
+ "title": string;
441
+ "state": string;
442
+ "media_type"?: string | null;
443
+ "duration_seconds": number;
444
+ "textual": BackendJson<"Json">;
445
+ "rewards": BackendJson<"Json">;
446
+ "textual_hint"?: string | null;
447
+ "game_id"?: string | null;
448
+ "primary_media_id"?: string | null;
449
+ "hint_media_id"?: string | null;
472
450
  "created_at": string;
451
+ "updated_at": string;
452
+ "archived_at"?: string | null;
473
453
  }
474
454
  export type RouterCreateItemPostResponse = RouterCreateItemPostResponseData;
475
455
  /** Backend query type: ContentItemsQuery. */
@@ -495,37 +475,44 @@ export type RouterLibraryStatsGetResponse = RouterLibraryStatsGetResponseData;
495
475
  /** Backend response type: no-content. */
496
476
  export type RouterArchiveCategoryDeleteResponse = void;
497
477
  /** Backend request type: GenericCategoryInput. */
498
- export interface RouterUpdateCategoryPatchLibrariesLibraryIdCategoriesIdInput extends JsonObject {
478
+ export interface RouterUpdateCategoryPatchApiV1LibrariesLibraryIdCategoriesIdInput extends JsonObject {
499
479
  "id"?: string | null;
500
480
  "parent_id"?: string | null;
501
481
  "title": string;
502
482
  }
503
483
  /** Backend response type: content_category::Model. */
504
- export interface RouterUpdateCategoryPatchLibrariesLibraryIdCategoriesIdResponseData extends JsonObject {
484
+ export interface RouterUpdateCategoryPatchApiV1LibrariesLibraryIdCategoriesIdResponseData extends JsonObject {
505
485
  "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;
486
+ "mixed_media_id"?: string | null;
487
+ "library_id": string;
488
+ "parent_id"?: string | null;
489
+ "title": string;
513
490
  "created_at": string;
491
+ "updated_at": string;
492
+ "archived_at"?: string | null;
514
493
  }
515
- export type RouterUpdateCategoryPatchLibrariesLibraryIdCategoriesIdResponse = RouterUpdateCategoryPatchLibrariesLibraryIdCategoriesIdResponseData;
494
+ export type RouterUpdateCategoryPatchApiV1LibrariesLibraryIdCategoriesIdResponse = RouterUpdateCategoryPatchApiV1LibrariesLibraryIdCategoriesIdResponseData;
516
495
  /** Backend response type: no-content. */
517
496
  export type RouterArchiveItemDeleteResponse = void;
518
497
  /** Backend response type: media_part::Model. */
519
498
  export interface RouterGetItemGetResponseData extends JsonObject {
520
499
  "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;
500
+ "mixed_media_id"?: string | null;
501
+ "library_id": string;
502
+ "category_id"?: string | null;
503
+ "title": string;
504
+ "state": string;
505
+ "media_type"?: string | null;
506
+ "duration_seconds": number;
507
+ "textual": BackendJson<"Json">;
508
+ "rewards": BackendJson<"Json">;
509
+ "textual_hint"?: string | null;
510
+ "game_id"?: string | null;
511
+ "primary_media_id"?: string | null;
512
+ "hint_media_id"?: string | null;
528
513
  "created_at": string;
514
+ "updated_at": string;
515
+ "archived_at"?: string | null;
529
516
  }
530
517
  export type RouterGetItemGetResponse = RouterGetItemGetResponseData;
531
518
  /** Backend request type: ContentItemInput. */
@@ -544,26 +531,31 @@ export interface RouterUpdateItemPutInput extends JsonObject {
544
531
  /** Backend response type: media_part::Model. */
545
532
  export interface RouterUpdateItemPutResponseData extends JsonObject {
546
533
  "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;
534
+ "mixed_media_id"?: string | null;
535
+ "library_id": string;
536
+ "category_id"?: string | null;
537
+ "title": string;
538
+ "state": string;
539
+ "media_type"?: string | null;
540
+ "duration_seconds": number;
541
+ "textual": BackendJson<"Json">;
542
+ "rewards": BackendJson<"Json">;
543
+ "textual_hint"?: string | null;
544
+ "game_id"?: string | null;
545
+ "primary_media_id"?: string | null;
546
+ "hint_media_id"?: string | null;
554
547
  "created_at": string;
548
+ "updated_at": string;
549
+ "archived_at"?: string | null;
555
550
  }
556
551
  export type RouterUpdateItemPutResponse = RouterUpdateItemPutResponseData;
557
552
  /** Backend response type: Vec<content_item_media::Model>. */
558
553
  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;
554
+ "content_item_id": string;
555
+ "media_id": string;
556
+ "slot": string;
557
+ "position": number;
558
+ "is_current": boolean;
567
559
  "created_at": string;
568
560
  }
569
561
  export type RouterItemAttachmentsGetResponse = RouterItemAttachmentsGetResponseItem[];
@@ -576,14 +568,11 @@ export interface RouterAttachMediaPostInput extends JsonObject {
576
568
  }
577
569
  /** Backend response type: content_item_media::Model. */
578
570
  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;
571
+ "content_item_id": string;
572
+ "media_id": string;
573
+ "slot": string;
574
+ "position": number;
575
+ "is_current": boolean;
587
576
  "created_at": string;
588
577
  }
589
578
  export type RouterAttachMediaPostResponse = RouterAttachMediaPostResponseData;
@@ -607,35 +596,95 @@ export type RouterListMediaGetResponse = BackendJson<"Page<MediaResponse>">;
607
596
  /** Backend request type: multipart/form-data. */
608
597
  export type RouterUploadMediaPostInput = FormData;
609
598
  /** Backend response type: MediaResponse. */
599
+ export interface RouterUploadMediaPostResponseDataTags extends JsonObject {
600
+ "id": string;
601
+ "name": string;
602
+ "created_at": string;
603
+ }
604
+ export interface RouterUploadMediaPostResponseDataTranscription extends JsonObject {
605
+ "id": string;
606
+ "media_id": string;
607
+ "model_ref": string;
608
+ "language": string;
609
+ "detected_language"?: string | null;
610
+ "status": string;
611
+ "transcript"?: string | null;
612
+ "last_error"?: string | null;
613
+ "attempts": number;
614
+ "max_attempts": number;
615
+ "next_retry_at"?: string | null;
616
+ "queued_at": string;
617
+ "started_at"?: string | null;
618
+ "completed_at"?: string | null;
619
+ "created_at": string;
620
+ "updated_at": string;
621
+ }
610
622
  export interface RouterUploadMediaPostResponseData extends JsonObject {
611
623
  "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;
624
+ "folder_id"?: string | null;
625
+ "name": string;
626
+ "description"?: string | null;
627
+ "media_type": string;
628
+ "mime_type": string;
629
+ "object_key": string;
630
+ "bucket": string;
631
+ "size_bytes": number;
632
+ "duration_seconds"?: number | null;
633
+ "status": string;
634
+ "original_filename"?: string | null;
635
+ "checksum_sha256"?: string | null;
636
+ "archived_at"?: string | null;
619
637
  "created_at": string;
620
- "tags": BackendJson<"entity::tag::Model">[];
621
- "transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
638
+ "updated_at": string;
639
+ "tags": RouterUploadMediaPostResponseDataTags[];
640
+ "transcription"?: RouterUploadMediaPostResponseDataTranscription | null;
622
641
  }
623
642
  export type RouterUploadMediaPostResponse = RouterUploadMediaPostResponseData;
624
643
  /** Backend response type: no-content. */
625
644
  export type RouterDeleteMediaDeleteResponse = void;
626
645
  /** Backend response type: MediaResponse. */
646
+ export interface RouterGetMediaGetResponseDataTags extends JsonObject {
647
+ "id": string;
648
+ "name": string;
649
+ "created_at": string;
650
+ }
651
+ export interface RouterGetMediaGetResponseDataTranscription extends JsonObject {
652
+ "id": string;
653
+ "media_id": string;
654
+ "model_ref": string;
655
+ "language": string;
656
+ "detected_language"?: string | null;
657
+ "status": string;
658
+ "transcript"?: string | null;
659
+ "last_error"?: string | null;
660
+ "attempts": number;
661
+ "max_attempts": number;
662
+ "next_retry_at"?: string | null;
663
+ "queued_at": string;
664
+ "started_at"?: string | null;
665
+ "completed_at"?: string | null;
666
+ "created_at": string;
667
+ "updated_at": string;
668
+ }
627
669
  export interface RouterGetMediaGetResponseData extends JsonObject {
628
670
  "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;
671
+ "folder_id"?: string | null;
672
+ "name": string;
673
+ "description"?: string | null;
674
+ "media_type": string;
675
+ "mime_type": string;
676
+ "object_key": string;
677
+ "bucket": string;
678
+ "size_bytes": number;
679
+ "duration_seconds"?: number | null;
680
+ "status": string;
681
+ "original_filename"?: string | null;
682
+ "checksum_sha256"?: string | null;
683
+ "archived_at"?: string | null;
636
684
  "created_at": string;
637
- "tags": BackendJson<"entity::tag::Model">[];
638
- "transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
685
+ "updated_at": string;
686
+ "tags": RouterGetMediaGetResponseDataTags[];
687
+ "transcription"?: RouterGetMediaGetResponseDataTranscription | null;
639
688
  }
640
689
  export type RouterGetMediaGetResponse = RouterGetMediaGetResponseData;
641
690
  /** Backend request type: MediaUpdate. */
@@ -648,53 +697,93 @@ export interface RouterUpdateMediaPatchInput extends JsonObject {
648
697
  "tag_ids"?: string[] | null;
649
698
  }
650
699
  /** Backend response type: MediaResponse. */
651
- export interface RouterUpdateMediaPatchResponseData extends JsonObject {
700
+ export interface RouterUpdateMediaPatchResponseDataTags extends JsonObject {
652
701
  "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;
702
+ "name": string;
660
703
  "created_at": string;
661
- "tags": BackendJson<"entity::tag::Model">[];
662
- "transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
663
704
  }
664
- export type RouterUpdateMediaPatchResponse = RouterUpdateMediaPatchResponseData;
665
- /** Backend response type: Vec<PackageResponse>. */
666
- export interface RouterListPackagesGetResponseItem extends JsonObject {
705
+ export interface RouterUpdateMediaPatchResponseDataTranscription extends JsonObject {
667
706
  "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;
707
+ "media_id": string;
708
+ "model_ref": string;
709
+ "language": string;
710
+ "detected_language"?: string | null;
711
+ "status": string;
712
+ "transcript"?: string | null;
713
+ "last_error"?: string | null;
714
+ "attempts": number;
715
+ "max_attempts": number;
716
+ "next_retry_at"?: string | null;
717
+ "queued_at": string;
718
+ "started_at"?: string | null;
719
+ "completed_at"?: string | null;
675
720
  "created_at": string;
676
- "dash_url"?: string | null;
677
- "hls_url"?: string | null;
678
- }
679
- export type RouterListPackagesGetResponse = RouterListPackagesGetResponseItem[];
680
- /** Backend request type: Option<DrmConfig. */
681
- export interface RouterRegeneratePostInput extends JsonObject {
682
- "download"?: boolean;
683
- "transcode"?: boolean;
684
- "package"?: boolean;
685
- "allow_video_only_on_audio_error"?: boolean;
721
+ "updated_at": string;
722
+ }
723
+ export interface RouterUpdateMediaPatchResponseData extends JsonObject {
724
+ "id": string;
725
+ "folder_id"?: string | null;
726
+ "name": string;
727
+ "description"?: string | null;
728
+ "media_type": string;
729
+ "mime_type": string;
730
+ "object_key": string;
731
+ "bucket": string;
732
+ "size_bytes": number;
733
+ "duration_seconds"?: number | null;
734
+ "status": string;
735
+ "original_filename"?: string | null;
736
+ "checksum_sha256"?: string | null;
737
+ "archived_at"?: string | null;
738
+ "created_at": string;
739
+ "updated_at": string;
740
+ "tags": RouterUpdateMediaPatchResponseDataTags[];
741
+ "transcription"?: RouterUpdateMediaPatchResponseDataTranscription | null;
742
+ }
743
+ export type RouterUpdateMediaPatchResponse = RouterUpdateMediaPatchResponseData;
744
+ /** Backend response type: Vec<PackageResponse>. */
745
+ export interface RouterListPackagesGetResponseItem extends JsonObject {
746
+ "id": string;
747
+ "media_id": string;
748
+ "revision": number;
749
+ "status": string;
750
+ "profile": BackendJson<"Json">;
751
+ "manifest_dash_key"?: string | null;
752
+ "manifest_hls_key"?: string | null;
753
+ "object_prefix": string;
754
+ "checksum_manifest"?: string | null;
755
+ "last_error"?: string | null;
756
+ "created_at": string;
757
+ "updated_at": string;
758
+ "completed_at"?: string | null;
759
+ "dash_url"?: string | null;
760
+ "hls_url"?: string | null;
761
+ }
762
+ export type RouterListPackagesGetResponse = RouterListPackagesGetResponseItem[];
763
+ /** Backend request type: Option<DrmConfig. */
764
+ export interface RouterRegeneratePostInput extends JsonObject {
765
+ "download"?: boolean;
766
+ "transcode"?: boolean;
767
+ "package"?: boolean;
768
+ "allow_video_only_on_audio_error"?: boolean;
686
769
  }
687
770
  /** Backend response type: drm_job::Model. */
688
771
  export interface RouterRegeneratePostResponseData extends JsonObject {
689
772
  "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;
773
+ "media_id": string;
774
+ "package_id"?: string | null;
775
+ "status": string;
776
+ "stage": string;
777
+ "progress": number;
778
+ "attempts": number;
779
+ "max_attempts": number;
780
+ "next_retry_at"?: string | null;
781
+ "last_error"?: string | null;
782
+ "config": BackendJson<"Json">;
697
783
  "created_at": string;
784
+ "updated_at": string;
785
+ "started_at"?: string | null;
786
+ "completed_at"?: string | null;
698
787
  }
699
788
  export type RouterRegeneratePostResponse = RouterRegeneratePostResponseData;
700
789
  /** Backend response type: PlaybackResponse. */
@@ -711,18 +800,48 @@ export interface RouterBatchMediaPostInput extends JsonObject {
711
800
  "ids": string[];
712
801
  }
713
802
  /** Backend response type: Vec<MediaResponse>. */
803
+ export interface RouterBatchMediaPostResponseItemTags extends JsonObject {
804
+ "id": string;
805
+ "name": string;
806
+ "created_at": string;
807
+ }
808
+ export interface RouterBatchMediaPostResponseItemTranscription extends JsonObject {
809
+ "id": string;
810
+ "media_id": string;
811
+ "model_ref": string;
812
+ "language": string;
813
+ "detected_language"?: string | null;
814
+ "status": string;
815
+ "transcript"?: string | null;
816
+ "last_error"?: string | null;
817
+ "attempts": number;
818
+ "max_attempts": number;
819
+ "next_retry_at"?: string | null;
820
+ "queued_at": string;
821
+ "started_at"?: string | null;
822
+ "completed_at"?: string | null;
823
+ "created_at": string;
824
+ "updated_at": string;
825
+ }
714
826
  export interface RouterBatchMediaPostResponseItem extends JsonObject {
715
827
  "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;
828
+ "folder_id"?: string | null;
829
+ "name": string;
830
+ "description"?: string | null;
831
+ "media_type": string;
832
+ "mime_type": string;
833
+ "object_key": string;
834
+ "bucket": string;
835
+ "size_bytes": number;
836
+ "duration_seconds"?: number | null;
837
+ "status": string;
838
+ "original_filename"?: string | null;
839
+ "checksum_sha256"?: string | null;
840
+ "archived_at"?: string | null;
723
841
  "created_at": string;
724
- "tags": BackendJson<"entity::tag::Model">[];
725
- "transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
842
+ "updated_at": string;
843
+ "tags": RouterBatchMediaPostResponseItemTags[];
844
+ "transcription"?: RouterBatchMediaPostResponseItemTranscription | null;
726
845
  }
727
846
  export type RouterBatchMediaPostResponse = RouterBatchMediaPostResponseItem[];
728
847
  /** Backend query type: DrmStatusesQuery. */
@@ -754,31 +873,63 @@ export interface RouterRegisterExistingMediaPostInput extends JsonObject {
754
873
  "folder_id"?: string | null;
755
874
  }
756
875
  /** Backend response type: MediaResponse. */
876
+ export interface RouterRegisterExistingMediaPostResponseDataTags extends JsonObject {
877
+ "id": string;
878
+ "name": string;
879
+ "created_at": string;
880
+ }
881
+ export interface RouterRegisterExistingMediaPostResponseDataTranscription extends JsonObject {
882
+ "id": string;
883
+ "media_id": string;
884
+ "model_ref": string;
885
+ "language": string;
886
+ "detected_language"?: string | null;
887
+ "status": string;
888
+ "transcript"?: string | null;
889
+ "last_error"?: string | null;
890
+ "attempts": number;
891
+ "max_attempts": number;
892
+ "next_retry_at"?: string | null;
893
+ "queued_at": string;
894
+ "started_at"?: string | null;
895
+ "completed_at"?: string | null;
896
+ "created_at": string;
897
+ "updated_at": string;
898
+ }
757
899
  export interface RouterRegisterExistingMediaPostResponseData extends JsonObject {
758
900
  "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;
901
+ "folder_id"?: string | null;
902
+ "name": string;
903
+ "description"?: string | null;
904
+ "media_type": string;
905
+ "mime_type": string;
906
+ "object_key": string;
907
+ "bucket": string;
908
+ "size_bytes": number;
909
+ "duration_seconds"?: number | null;
910
+ "status": string;
911
+ "original_filename"?: string | null;
912
+ "checksum_sha256"?: string | null;
913
+ "archived_at"?: string | null;
766
914
  "created_at": string;
767
- "tags": BackendJson<"entity::tag::Model">[];
768
- "transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
915
+ "updated_at": string;
916
+ "tags": RouterRegisterExistingMediaPostResponseDataTags[];
917
+ "transcription"?: RouterRegisterExistingMediaPostResponseDataTranscription | null;
769
918
  }
770
919
  export type RouterRegisterExistingMediaPostResponse = RouterRegisterExistingMediaPostResponseData;
771
920
  /** Backend response type: Vec<mixed_media::Model>. */
772
921
  export interface RouterListMixedMediaGetResponseItem extends JsonObject {
773
922
  "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;
923
+ "library_id": string;
924
+ "category_id"?: string | null;
925
+ "name": string;
926
+ "description"?: string | null;
927
+ "transcription_language": string;
928
+ "status": string;
929
+ "manifest_version": number;
930
+ "published_at"?: string | null;
781
931
  "created_at": string;
932
+ "updated_at": string;
782
933
  }
783
934
  export type RouterListMixedMediaGetResponse = RouterListMixedMediaGetResponseItem[];
784
935
  /** Backend request type: MixedMediaInput. */
@@ -792,14 +943,16 @@ export interface RouterCreateMixedMediaPostInput extends JsonObject {
792
943
  /** Backend response type: mixed_media::Model. */
793
944
  export interface RouterCreateMixedMediaPostResponseData extends JsonObject {
794
945
  "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;
946
+ "library_id": string;
947
+ "category_id"?: string | null;
948
+ "name": string;
949
+ "description"?: string | null;
950
+ "transcription_language": string;
951
+ "status": string;
952
+ "manifest_version": number;
953
+ "published_at"?: string | null;
802
954
  "created_at": string;
955
+ "updated_at": string;
803
956
  }
804
957
  export type RouterCreateMixedMediaPostResponse = RouterCreateMixedMediaPostResponseData;
805
958
  /** Backend response type: no-content. */
@@ -807,14 +960,16 @@ export type RouterDeleteMixedMediaDeleteResponse = void;
807
960
  /** Backend response type: mixed_media::Model. */
808
961
  export interface RouterGetMixedMediaGetResponseData extends JsonObject {
809
962
  "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;
963
+ "library_id": string;
964
+ "category_id"?: string | null;
965
+ "name": string;
966
+ "description"?: string | null;
967
+ "transcription_language": string;
968
+ "status": string;
969
+ "manifest_version": number;
970
+ "published_at"?: string | null;
817
971
  "created_at": string;
972
+ "updated_at": string;
818
973
  }
819
974
  export type RouterGetMixedMediaGetResponse = RouterGetMixedMediaGetResponseData;
820
975
  /** Backend request type: MixedMediaUpdate. */
@@ -829,14 +984,16 @@ export interface RouterUpdateMixedMediaPatchInput extends JsonObject {
829
984
  /** Backend response type: mixed_media::Model. */
830
985
  export interface RouterUpdateMixedMediaPatchResponseData extends JsonObject {
831
986
  "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;
987
+ "library_id": string;
988
+ "category_id"?: string | null;
989
+ "name": string;
990
+ "description"?: string | null;
991
+ "transcription_language": string;
992
+ "status": string;
993
+ "manifest_version": number;
994
+ "published_at"?: string | null;
839
995
  "created_at": string;
996
+ "updated_at": string;
840
997
  }
841
998
  export type RouterUpdateMixedMediaPatchResponse = RouterUpdateMixedMediaPatchResponseData;
842
999
  /** Backend response type: Option<CompositionAnalysis>. */
@@ -866,25 +1023,24 @@ export interface RouterStartAnalysisPostResponseData extends JsonObject {
866
1023
  }
867
1024
  export type RouterStartAnalysisPostResponse = RouterStartAnalysisPostResponseData;
868
1025
  /** Backend request type: CategoryInput. */
869
- export interface RouterCreateCategoryPostMixedMediaIdCategoriesInput extends JsonObject {
1026
+ export interface RouterCreateCategoryPostApiV1MixedMediaIdCategoriesInput extends JsonObject {
870
1027
  "title": string;
871
1028
  "parent_id"?: string | null;
872
1029
  }
873
1030
  /** Backend response type: content_category::Model. */
874
- export interface RouterCreateCategoryPostMixedMediaIdCategoriesResponseData extends JsonObject {
1031
+ export interface RouterCreateCategoryPostApiV1MixedMediaIdCategoriesResponseData extends JsonObject {
875
1032
  "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;
1033
+ "mixed_media_id"?: string | null;
1034
+ "library_id": string;
1035
+ "parent_id"?: string | null;
1036
+ "title": string;
883
1037
  "created_at": string;
1038
+ "updated_at": string;
1039
+ "archived_at"?: string | null;
884
1040
  }
885
- export type RouterCreateCategoryPostMixedMediaIdCategoriesResponse = RouterCreateCategoryPostMixedMediaIdCategoriesResponseData;
1041
+ export type RouterCreateCategoryPostApiV1MixedMediaIdCategoriesResponse = RouterCreateCategoryPostApiV1MixedMediaIdCategoriesResponseData;
886
1042
  /** Backend response type: KnowledgeSyncSettings. */
887
- export interface RouterGetSettingsGetMixedMediaIdKnowledgeSyncResponseData extends JsonObject {
1043
+ export interface RouterGetSettingsGetApiV1MixedMediaIdKnowledgeSyncResponseData extends JsonObject {
888
1044
  "mixed_media_id": string;
889
1045
  "enabled": boolean;
890
1046
  "knowledge_base_id"?: string | null;
@@ -895,7 +1051,7 @@ export interface RouterGetSettingsGetMixedMediaIdKnowledgeSyncResponseData exten
895
1051
  "last_error"?: string | null;
896
1052
  "last_synced_at"?: string | null;
897
1053
  }
898
- export type RouterGetSettingsGetMixedMediaIdKnowledgeSyncResponse = RouterGetSettingsGetMixedMediaIdKnowledgeSyncResponseData;
1054
+ export type RouterGetSettingsGetApiV1MixedMediaIdKnowledgeSyncResponse = RouterGetSettingsGetApiV1MixedMediaIdKnowledgeSyncResponseData;
899
1055
  /** Backend response type: KnowledgeSyncSettings. */
900
1056
  export interface RouterSyncNowPostResponseData extends JsonObject {
901
1057
  "mixed_media_id": string;
@@ -930,29 +1086,21 @@ export type RouterUpdateSettingsPutResponse = RouterUpdateSettingsPutResponseDat
930
1086
  /** Backend response type: mixed_media_manifest::Model. */
931
1087
  export interface RouterGetManifestGetResponseData extends JsonObject {
932
1088
  "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;
1089
+ "mixed_media_id": string;
1090
+ "version": number;
1091
+ "document": BackendJson<"Json">;
940
1092
  "created_at": string;
941
1093
  }
942
1094
  export type RouterGetManifestGetResponse = RouterGetManifestGetResponseData;
943
1095
  /** Backend response type: Vec<mixed_media_manifest::Model>. */
944
- export interface RouterListManifestsGetMixedMediaIdManifestsResponseItem extends JsonObject {
1096
+ export interface RouterListManifestsGetApiV1MixedMediaIdManifestsResponseItem extends JsonObject {
945
1097
  "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;
1098
+ "mixed_media_id": string;
1099
+ "version": number;
1100
+ "document": BackendJson<"Json">;
953
1101
  "created_at": string;
954
1102
  }
955
- export type RouterListManifestsGetMixedMediaIdManifestsResponse = RouterListManifestsGetMixedMediaIdManifestsResponseItem[];
1103
+ export type RouterListManifestsGetApiV1MixedMediaIdManifestsResponse = RouterListManifestsGetApiV1MixedMediaIdManifestsResponseItem[];
956
1104
  /** Backend request type: PartInput. */
957
1105
  export interface RouterCreatePartPostInput extends JsonObject {
958
1106
  "category_id"?: string | null;
@@ -970,99 +1118,131 @@ export interface RouterCreatePartPostInput extends JsonObject {
970
1118
  /** Backend response type: media_part::Model. */
971
1119
  export interface RouterCreatePartPostResponseData extends JsonObject {
972
1120
  "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;
1121
+ "mixed_media_id"?: string | null;
1122
+ "library_id": string;
1123
+ "category_id"?: string | null;
1124
+ "title": string;
1125
+ "state": string;
1126
+ "media_type"?: string | null;
1127
+ "duration_seconds": number;
1128
+ "textual": BackendJson<"Json">;
1129
+ "rewards": BackendJson<"Json">;
1130
+ "textual_hint"?: string | null;
1131
+ "game_id"?: string | null;
1132
+ "primary_media_id"?: string | null;
1133
+ "hint_media_id"?: string | null;
980
1134
  "created_at": string;
1135
+ "updated_at": string;
1136
+ "archived_at"?: string | null;
981
1137
  }
982
1138
  export type RouterCreatePartPostResponse = RouterCreatePartPostResponseData;
983
1139
  /** Backend response type: mixed_media_manifest::Model. */
984
- export interface RouterPublishPostMixedMediaIdPublishResponseData extends JsonObject {
1140
+ export interface RouterPublishPostApiV1MixedMediaIdPublishResponseData extends JsonObject {
985
1141
  "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;
1142
+ "mixed_media_id": string;
1143
+ "version": number;
1144
+ "document": BackendJson<"Json">;
993
1145
  "created_at": string;
994
1146
  }
995
- export type RouterPublishPostMixedMediaIdPublishResponse = RouterPublishPostMixedMediaIdPublishResponseData;
1147
+ export type RouterPublishPostApiV1MixedMediaIdPublishResponse = RouterPublishPostApiV1MixedMediaIdPublishResponseData;
996
1148
  /** Backend response type: EditorResources. */
1149
+ export interface RouterResourcesGetResponseDataCategories extends JsonObject {
1150
+ "id": string;
1151
+ "mixed_media_id"?: string | null;
1152
+ "library_id": string;
1153
+ "parent_id"?: string | null;
1154
+ "title": string;
1155
+ "created_at": string;
1156
+ "updated_at": string;
1157
+ "archived_at"?: string | null;
1158
+ }
1159
+ export interface RouterResourcesGetResponseDataParts extends JsonObject {
1160
+ "id": string;
1161
+ "mixed_media_id"?: string | null;
1162
+ "library_id": string;
1163
+ "category_id"?: string | null;
1164
+ "title": string;
1165
+ "state": string;
1166
+ "media_type"?: string | null;
1167
+ "duration_seconds": number;
1168
+ "textual": BackendJson<"Json">;
1169
+ "rewards": BackendJson<"Json">;
1170
+ "textual_hint"?: string | null;
1171
+ "game_id"?: string | null;
1172
+ "primary_media_id"?: string | null;
1173
+ "hint_media_id"?: string | null;
1174
+ "created_at": string;
1175
+ "updated_at": string;
1176
+ "archived_at"?: string | null;
1177
+ }
997
1178
  export interface RouterResourcesGetResponseData extends JsonObject {
998
- "categories": BackendJson<"entity::content_category::Model">[];
999
- "parts": BackendJson<"entity::media_part::Model">[];
1179
+ "categories": RouterResourcesGetResponseDataCategories[];
1180
+ "parts": RouterResourcesGetResponseDataParts[];
1000
1181
  }
1001
1182
  export type RouterResourcesGetResponse = RouterResourcesGetResponseData;
1002
1183
  /** 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;
1184
+ export interface RouterGetWorkflowGetApiV1MixedMediaIdWorkflowResponseData extends JsonObject {
1185
+ "mixed_media_id": string;
1186
+ "nodes": BackendJson<"Json">;
1187
+ "edges": BackendJson<"Json">;
1188
+ "revision": number;
1189
+ "updated_at": string;
1013
1190
  }
1014
- export type RouterGetWorkflowGetMixedMediaIdWorkflowResponse = RouterGetWorkflowGetMixedMediaIdWorkflowResponseData;
1191
+ export type RouterGetWorkflowGetApiV1MixedMediaIdWorkflowResponse = RouterGetWorkflowGetApiV1MixedMediaIdWorkflowResponseData;
1015
1192
  /** Backend request type: WorkflowInput. */
1016
- export interface RouterSaveWorkflowPutMixedMediaIdWorkflowInput extends JsonObject {
1193
+ export interface RouterSaveWorkflowPutApiV1MixedMediaIdWorkflowInput extends JsonObject {
1017
1194
  "nodes": JsonValue;
1018
1195
  "edges": JsonValue;
1019
1196
  }
1020
1197
  /** 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;
1198
+ export interface RouterSaveWorkflowPutApiV1MixedMediaIdWorkflowResponseData extends JsonObject {
1199
+ "mixed_media_id": string;
1200
+ "nodes": BackendJson<"Json">;
1201
+ "edges": BackendJson<"Json">;
1202
+ "revision": number;
1203
+ "updated_at": string;
1031
1204
  }
1032
- export type RouterSaveWorkflowPutMixedMediaIdWorkflowResponse = RouterSaveWorkflowPutMixedMediaIdWorkflowResponseData;
1205
+ export type RouterSaveWorkflowPutApiV1MixedMediaIdWorkflowResponse = RouterSaveWorkflowPutApiV1MixedMediaIdWorkflowResponseData;
1033
1206
  /** Backend response type: no-content. */
1034
1207
  export type RouterDeleteCategoryDeleteResponse = void;
1035
1208
  /** Backend request type: CategoryInput. */
1036
- export interface RouterUpdateCategoryPatchMixedMediaMixedIdCategoriesIdInput extends JsonObject {
1209
+ export interface RouterUpdateCategoryPatchApiV1MixedMediaMixedIdCategoriesIdInput extends JsonObject {
1037
1210
  "title": string;
1038
1211
  "parent_id"?: string | null;
1039
1212
  }
1040
1213
  /** Backend response type: content_category::Model. */
1041
- export interface RouterUpdateCategoryPatchMixedMediaMixedIdCategoriesIdResponseData extends JsonObject {
1214
+ export interface RouterUpdateCategoryPatchApiV1MixedMediaMixedIdCategoriesIdResponseData extends JsonObject {
1042
1215
  "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;
1216
+ "mixed_media_id"?: string | null;
1217
+ "library_id": string;
1218
+ "parent_id"?: string | null;
1219
+ "title": string;
1050
1220
  "created_at": string;
1221
+ "updated_at": string;
1222
+ "archived_at"?: string | null;
1051
1223
  }
1052
- export type RouterUpdateCategoryPatchMixedMediaMixedIdCategoriesIdResponse = RouterUpdateCategoryPatchMixedMediaMixedIdCategoriesIdResponseData;
1224
+ export type RouterUpdateCategoryPatchApiV1MixedMediaMixedIdCategoriesIdResponse = RouterUpdateCategoryPatchApiV1MixedMediaMixedIdCategoriesIdResponseData;
1053
1225
  /** Backend response type: no-content. */
1054
1226
  export type RouterDeletePartDeleteResponse = void;
1055
1227
  /** Backend response type: media_part::Model. */
1056
1228
  export interface RouterGetPartGetResponseData extends JsonObject {
1057
1229
  "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;
1230
+ "mixed_media_id"?: string | null;
1231
+ "library_id": string;
1232
+ "category_id"?: string | null;
1233
+ "title": string;
1234
+ "state": string;
1235
+ "media_type"?: string | null;
1236
+ "duration_seconds": number;
1237
+ "textual": BackendJson<"Json">;
1238
+ "rewards": BackendJson<"Json">;
1239
+ "textual_hint"?: string | null;
1240
+ "game_id"?: string | null;
1241
+ "primary_media_id"?: string | null;
1242
+ "hint_media_id"?: string | null;
1065
1243
  "created_at": string;
1244
+ "updated_at": string;
1245
+ "archived_at"?: string | null;
1066
1246
  }
1067
1247
  export type RouterGetPartGetResponse = RouterGetPartGetResponseData;
1068
1248
  /** Backend request type: PartInput. */
@@ -1082,14 +1262,22 @@ export interface RouterUpdatePartPutInput extends JsonObject {
1082
1262
  /** Backend response type: media_part::Model. */
1083
1263
  export interface RouterUpdatePartPutResponseData extends JsonObject {
1084
1264
  "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;
1265
+ "mixed_media_id"?: string | null;
1266
+ "library_id": string;
1267
+ "category_id"?: string | null;
1268
+ "title": string;
1269
+ "state": string;
1270
+ "media_type"?: string | null;
1271
+ "duration_seconds": number;
1272
+ "textual": BackendJson<"Json">;
1273
+ "rewards": BackendJson<"Json">;
1274
+ "textual_hint"?: string | null;
1275
+ "game_id"?: string | null;
1276
+ "primary_media_id"?: string | null;
1277
+ "hint_media_id"?: string | null;
1092
1278
  "created_at": string;
1279
+ "updated_at": string;
1280
+ "archived_at"?: string | null;
1093
1281
  }
1094
1282
  export type RouterUpdatePartPutResponse = RouterUpdatePartPutResponseData;
1095
1283
  /** Backend response type: serde_json::Value. */
@@ -1097,13 +1285,13 @@ export type RouterHealthGetResponse = JsonValue;
1097
1285
  /** Backend response type: Value. */
1098
1286
  export type RouterKnowledgeCatalogGetResponse = JsonValue;
1099
1287
  /** Backend response type: SettingsResponse. */
1100
- export interface RouterGetSettingsGetOperationsSettingsResponseData extends JsonObject {
1288
+ export interface RouterGetSettingsGetApiV1OperationsSettingsResponseData extends JsonObject {
1101
1289
  "package_concurrency": number;
1102
1290
  "transcription_enabled": boolean;
1103
1291
  "transcription_model_ref"?: string | null;
1104
1292
  "summary_model_ref"?: string | null;
1105
1293
  }
1106
- export type RouterGetSettingsGetOperationsSettingsResponse = RouterGetSettingsGetOperationsSettingsResponseData;
1294
+ export type RouterGetSettingsGetApiV1OperationsSettingsResponse = RouterGetSettingsGetApiV1OperationsSettingsResponseData;
1107
1295
  /** Backend request type: SettingsInput. */
1108
1296
  export interface RouterUpdateSettingsPatchInput extends JsonObject {
1109
1297
  "package_concurrency": number;
@@ -1146,13 +1334,7 @@ export type RouterStatusGetResponse = JsonValue;
1146
1334
  /** Backend response type: Vec<tag::Model>. */
1147
1335
  export interface RouterListTagsGetResponseItem extends JsonObject {
1148
1336
  "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;
1337
+ "name": string;
1156
1338
  "created_at": string;
1157
1339
  }
1158
1340
  export type RouterListTagsGetResponse = RouterListTagsGetResponseItem[];
@@ -1163,13 +1345,7 @@ export interface RouterCreateTagPostInput extends JsonObject {
1163
1345
  /** Backend response type: tag::Model. */
1164
1346
  export interface RouterCreateTagPostResponseData extends JsonObject {
1165
1347
  "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;
1348
+ "name": string;
1173
1349
  "created_at": string;
1174
1350
  }
1175
1351
  export type RouterCreateTagPostResponse = RouterCreateTagPostResponseData;
@@ -1187,33 +1363,67 @@ export interface RouterCreateUploadSessionPostInput extends JsonObject {
1187
1363
  "part_size"?: number | null;
1188
1364
  }
1189
1365
  /** Backend response type: UploadSessionResponse. */
1366
+ export interface RouterCreateUploadSessionPostResponseDataParts extends JsonObject {
1367
+ "session_id": string;
1368
+ "part_number": number;
1369
+ "etag": string;
1370
+ "size_bytes": number;
1371
+ "created_at": string;
1372
+ }
1190
1373
  export interface RouterCreateUploadSessionPostResponseData extends JsonObject {
1191
1374
  "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;
1375
+ "media_id": string;
1376
+ "object_key": string;
1377
+ "multipart_upload_id": string;
1378
+ "filename": string;
1379
+ "name": string;
1380
+ "description"?: string | null;
1381
+ "mime_type": string;
1382
+ "media_type": string;
1383
+ "folder_id"?: string | null;
1384
+ "total_bytes": number;
1385
+ "part_size": number;
1386
+ "checksum_sha256"?: string | null;
1387
+ "status": string;
1388
+ "error"?: string | null;
1389
+ "expires_at": string;
1199
1390
  "created_at": string;
1200
- "parts": BackendJson<"upload_part::Model">[];
1391
+ "updated_at": string;
1392
+ "completed_at"?: string | null;
1393
+ "parts": RouterCreateUploadSessionPostResponseDataParts[];
1201
1394
  }
1202
1395
  export type RouterCreateUploadSessionPostResponse = RouterCreateUploadSessionPostResponseData;
1203
1396
  /** Backend response type: no-content. */
1204
1397
  export type RouterCancelUploadDeleteResponse = void;
1205
1398
  /** Backend response type: UploadSessionResponse. */
1399
+ export interface RouterGetUploadSessionGetResponseDataParts extends JsonObject {
1400
+ "session_id": string;
1401
+ "part_number": number;
1402
+ "etag": string;
1403
+ "size_bytes": number;
1404
+ "created_at": string;
1405
+ }
1206
1406
  export interface RouterGetUploadSessionGetResponseData extends JsonObject {
1207
1407
  "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;
1408
+ "media_id": string;
1409
+ "object_key": string;
1410
+ "multipart_upload_id": string;
1411
+ "filename": string;
1412
+ "name": string;
1413
+ "description"?: string | null;
1414
+ "mime_type": string;
1415
+ "media_type": string;
1416
+ "folder_id"?: string | null;
1417
+ "total_bytes": number;
1418
+ "part_size": number;
1419
+ "checksum_sha256"?: string | null;
1420
+ "status": string;
1421
+ "error"?: string | null;
1422
+ "expires_at": string;
1215
1423
  "created_at": string;
1216
- "parts": BackendJson<"upload_part::Model">[];
1424
+ "updated_at": string;
1425
+ "completed_at"?: string | null;
1426
+ "parts": RouterGetUploadSessionGetResponseDataParts[];
1217
1427
  }
1218
1428
  export type RouterGetUploadSessionGetResponse = RouterGetUploadSessionGetResponseData;
1219
1429
  /** Backend request type: CompleteUploadInput. */
@@ -1221,30 +1431,58 @@ export interface RouterCompleteUploadPostInput extends JsonObject {
1221
1431
  "checksum_sha256"?: string | null;
1222
1432
  }
1223
1433
  /** Backend response type: MediaResponse. */
1434
+ export interface RouterCompleteUploadPostResponseDataTags extends JsonObject {
1435
+ "id": string;
1436
+ "name": string;
1437
+ "created_at": string;
1438
+ }
1439
+ export interface RouterCompleteUploadPostResponseDataTranscription extends JsonObject {
1440
+ "id": string;
1441
+ "media_id": string;
1442
+ "model_ref": string;
1443
+ "language": string;
1444
+ "detected_language"?: string | null;
1445
+ "status": string;
1446
+ "transcript"?: string | null;
1447
+ "last_error"?: string | null;
1448
+ "attempts": number;
1449
+ "max_attempts": number;
1450
+ "next_retry_at"?: string | null;
1451
+ "queued_at": string;
1452
+ "started_at"?: string | null;
1453
+ "completed_at"?: string | null;
1454
+ "created_at": string;
1455
+ "updated_at": string;
1456
+ }
1224
1457
  export interface RouterCompleteUploadPostResponseData extends JsonObject {
1225
1458
  "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;
1459
+ "folder_id"?: string | null;
1460
+ "name": string;
1461
+ "description"?: string | null;
1462
+ "media_type": string;
1463
+ "mime_type": string;
1464
+ "object_key": string;
1465
+ "bucket": string;
1466
+ "size_bytes": number;
1467
+ "duration_seconds"?: number | null;
1468
+ "status": string;
1469
+ "original_filename"?: string | null;
1470
+ "checksum_sha256"?: string | null;
1471
+ "archived_at"?: string | null;
1233
1472
  "created_at": string;
1234
- "tags": BackendJson<"entity::tag::Model">[];
1235
- "transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
1473
+ "updated_at": string;
1474
+ "tags": RouterCompleteUploadPostResponseDataTags[];
1475
+ "transcription"?: RouterCompleteUploadPostResponseDataTranscription | null;
1236
1476
  }
1237
1477
  export type RouterCompleteUploadPostResponse = RouterCompleteUploadPostResponseData;
1478
+ /** Backend request type: binary byte stream. */
1479
+ export type RouterPutUploadPartPutInput = Blob | ArrayBuffer | ArrayBufferView;
1238
1480
  /** Backend response type: upload_part::Model. */
1239
1481
  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;
1482
+ "session_id": string;
1483
+ "part_number": number;
1484
+ "etag": string;
1485
+ "size_bytes": number;
1248
1486
  "created_at": string;
1249
1487
  }
1250
1488
  export type RouterPutUploadPartPutResponse = RouterPutUploadPartPutResponseData;