@faiber/faiber-drm 0.5.2 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +822 -0
- package/dist/operations.d.ts.map +1 -0
- package/dist/operations.js +997 -0
- package/dist/operations.js.map +1 -0
- package/dist/operations.types.d.ts +1141 -0
- package/dist/operations.types.d.ts.map +1 -0
- package/dist/operations.types.js +2 -0
- package/dist/operations.types.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,1141 @@
|
|
|
1
|
+
import type { ApiEnvelope, BackendJson, JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
|
|
2
|
+
/** Generated route contracts. Dynamic payload members remain JSON-safe and are documented with their Rust source type. */
|
|
3
|
+
/** Backend query type: AuditQuery. */
|
|
4
|
+
export interface RouterAuditEventsGetQuery extends QueryParams {
|
|
5
|
+
"page"?: number | null;
|
|
6
|
+
"size"?: number | null;
|
|
7
|
+
"from"?: string | null;
|
|
8
|
+
"to"?: string | null;
|
|
9
|
+
}
|
|
10
|
+
/** Backend response type: Page<audit_event::Model>. */
|
|
11
|
+
export type RouterAuditEventsGetResponse = BackendJson<"Page<audit_event::Model>">;
|
|
12
|
+
/** Backend response type: Vec<composition_category::Model>. */
|
|
13
|
+
export interface RouterListCompositionCategoriesGetResponseItem extends JsonObject {
|
|
14
|
+
"id": string;
|
|
15
|
+
"actor_id"?: string | null;
|
|
16
|
+
"action": string;
|
|
17
|
+
"entity_type": string;
|
|
18
|
+
"entity_id"?: string | null;
|
|
19
|
+
"request_id"?: string | null;
|
|
20
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
21
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
22
|
+
"created_at": string;
|
|
23
|
+
}
|
|
24
|
+
export type RouterListCompositionCategoriesGetResponse = RouterListCompositionCategoriesGetResponseItem[];
|
|
25
|
+
/** Backend request type: CompositionCategoryInput. */
|
|
26
|
+
export interface RouterCreateCompositionCategoryPostInput extends JsonObject {
|
|
27
|
+
"title": string;
|
|
28
|
+
"parent_id"?: string | null;
|
|
29
|
+
}
|
|
30
|
+
/** Backend response type: composition_category::Model. */
|
|
31
|
+
export interface RouterCreateCompositionCategoryPostResponseData extends JsonObject {
|
|
32
|
+
"id": string;
|
|
33
|
+
"actor_id"?: string | null;
|
|
34
|
+
"action": string;
|
|
35
|
+
"entity_type": string;
|
|
36
|
+
"entity_id"?: string | null;
|
|
37
|
+
"request_id"?: string | null;
|
|
38
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
39
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
40
|
+
"created_at": string;
|
|
41
|
+
}
|
|
42
|
+
export type RouterCreateCompositionCategoryPostResponse = RouterCreateCompositionCategoryPostResponseData;
|
|
43
|
+
/** Backend response type: no-content. */
|
|
44
|
+
export type RouterDeleteCompositionCategoryDeleteResponse = void;
|
|
45
|
+
/** Backend request type: CompositionCategoryInput. */
|
|
46
|
+
export interface RouterUpdateCompositionCategoryPatchInput extends JsonObject {
|
|
47
|
+
"title": string;
|
|
48
|
+
"parent_id"?: string | null;
|
|
49
|
+
}
|
|
50
|
+
/** Backend response type: composition_category::Model. */
|
|
51
|
+
export interface RouterUpdateCompositionCategoryPatchResponseData extends JsonObject {
|
|
52
|
+
"id": string;
|
|
53
|
+
"actor_id"?: string | null;
|
|
54
|
+
"action": string;
|
|
55
|
+
"entity_type": string;
|
|
56
|
+
"entity_id"?: string | null;
|
|
57
|
+
"request_id"?: string | null;
|
|
58
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
59
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
60
|
+
"created_at": string;
|
|
61
|
+
}
|
|
62
|
+
export type RouterUpdateCompositionCategoryPatchResponse = RouterUpdateCompositionCategoryPatchResponseData;
|
|
63
|
+
/** Backend query type: CompositionQuery. */
|
|
64
|
+
export interface RouterListCompositionsGetQuery extends QueryParams {
|
|
65
|
+
"search"?: string | null;
|
|
66
|
+
"category_id"?: string | null;
|
|
67
|
+
"uncategorized"?: boolean;
|
|
68
|
+
"page"?: number | null;
|
|
69
|
+
"size"?: number | null;
|
|
70
|
+
}
|
|
71
|
+
/** Backend response type: Page<mixed_media::Model>. */
|
|
72
|
+
export type RouterListCompositionsGetResponse = BackendJson<"Page<mixed_media::Model>">;
|
|
73
|
+
/** Backend request type: CompositionInput. */
|
|
74
|
+
export interface RouterCreateCompositionPostInput extends JsonObject {
|
|
75
|
+
"id"?: string | null;
|
|
76
|
+
"library_id": string;
|
|
77
|
+
"name": string;
|
|
78
|
+
"description"?: string | null;
|
|
79
|
+
"category_id"?: string | null;
|
|
80
|
+
}
|
|
81
|
+
/** Backend response type: mixed_media::Model. */
|
|
82
|
+
export interface RouterCreateCompositionPostResponseData extends JsonObject {
|
|
83
|
+
"id": string;
|
|
84
|
+
"actor_id"?: string | null;
|
|
85
|
+
"action": string;
|
|
86
|
+
"entity_type": string;
|
|
87
|
+
"entity_id"?: string | null;
|
|
88
|
+
"request_id"?: string | null;
|
|
89
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
90
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
91
|
+
"created_at": string;
|
|
92
|
+
}
|
|
93
|
+
export type RouterCreateCompositionPostResponse = RouterCreateCompositionPostResponseData;
|
|
94
|
+
/** Backend response type: Vec<mixed_media_manifest::Model>. */
|
|
95
|
+
export interface RouterListManifestsGetCompositionsIdManifestsResponseItem extends JsonObject {
|
|
96
|
+
"id": string;
|
|
97
|
+
"actor_id"?: string | null;
|
|
98
|
+
"action": string;
|
|
99
|
+
"entity_type": string;
|
|
100
|
+
"entity_id"?: string | null;
|
|
101
|
+
"request_id"?: string | null;
|
|
102
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
103
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
104
|
+
"created_at": string;
|
|
105
|
+
}
|
|
106
|
+
export type RouterListManifestsGetCompositionsIdManifestsResponse = RouterListManifestsGetCompositionsIdManifestsResponseItem[];
|
|
107
|
+
/** Backend request type: HistoricalManifestInput. */
|
|
108
|
+
export interface RouterCreateManifestVersionPostInput extends JsonObject {
|
|
109
|
+
"id"?: string | null;
|
|
110
|
+
"document": JsonValue;
|
|
111
|
+
"created_at"?: string | null;
|
|
112
|
+
}
|
|
113
|
+
/** Backend response type: mixed_media_manifest::Model. */
|
|
114
|
+
export interface RouterCreateManifestVersionPostResponseData extends JsonObject {
|
|
115
|
+
"id": string;
|
|
116
|
+
"actor_id"?: string | null;
|
|
117
|
+
"action": string;
|
|
118
|
+
"entity_type": string;
|
|
119
|
+
"entity_id"?: string | null;
|
|
120
|
+
"request_id"?: string | null;
|
|
121
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
122
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
123
|
+
"created_at": string;
|
|
124
|
+
}
|
|
125
|
+
export type RouterCreateManifestVersionPostResponse = RouterCreateManifestVersionPostResponseData;
|
|
126
|
+
/** Backend response type: mixed_media_manifest::Model. */
|
|
127
|
+
export interface RouterPublishPostCompositionsIdPublishResponseData extends JsonObject {
|
|
128
|
+
"id": string;
|
|
129
|
+
"actor_id"?: string | null;
|
|
130
|
+
"action": string;
|
|
131
|
+
"entity_type": string;
|
|
132
|
+
"entity_id"?: string | null;
|
|
133
|
+
"request_id"?: string | null;
|
|
134
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
135
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
136
|
+
"created_at": string;
|
|
137
|
+
}
|
|
138
|
+
export type RouterPublishPostCompositionsIdPublishResponse = RouterPublishPostCompositionsIdPublishResponseData;
|
|
139
|
+
/** Backend response type: mixed_media_workflow::Model. */
|
|
140
|
+
export interface RouterGetWorkflowGetCompositionsIdWorkflowResponseData extends JsonObject {
|
|
141
|
+
"id": string;
|
|
142
|
+
"actor_id"?: string | null;
|
|
143
|
+
"action": string;
|
|
144
|
+
"entity_type": string;
|
|
145
|
+
"entity_id"?: string | null;
|
|
146
|
+
"request_id"?: string | null;
|
|
147
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
148
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
149
|
+
"created_at": string;
|
|
150
|
+
}
|
|
151
|
+
export type RouterGetWorkflowGetCompositionsIdWorkflowResponse = RouterGetWorkflowGetCompositionsIdWorkflowResponseData;
|
|
152
|
+
/** Backend request type: WorkflowInput. */
|
|
153
|
+
export interface RouterSaveWorkflowPutCompositionsIdWorkflowInput extends JsonObject {
|
|
154
|
+
"nodes": JsonValue;
|
|
155
|
+
"edges": JsonValue;
|
|
156
|
+
}
|
|
157
|
+
/** Backend response type: mixed_media_workflow::Model. */
|
|
158
|
+
export interface RouterSaveWorkflowPutCompositionsIdWorkflowResponseData extends JsonObject {
|
|
159
|
+
"id": string;
|
|
160
|
+
"actor_id"?: string | null;
|
|
161
|
+
"action": string;
|
|
162
|
+
"entity_type": string;
|
|
163
|
+
"entity_id"?: string | null;
|
|
164
|
+
"request_id"?: string | null;
|
|
165
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
166
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
167
|
+
"created_at": string;
|
|
168
|
+
}
|
|
169
|
+
export type RouterSaveWorkflowPutCompositionsIdWorkflowResponse = RouterSaveWorkflowPutCompositionsIdWorkflowResponseData;
|
|
170
|
+
/** Backend response type: serde_json::Value. */
|
|
171
|
+
export type RouterDashboardGetResponse = JsonValue;
|
|
172
|
+
/** Backend query type: DrmJobQuery. */
|
|
173
|
+
export interface RouterListJobsGetQuery extends QueryParams {
|
|
174
|
+
"status"?: string | null;
|
|
175
|
+
"media_id"?: string | null;
|
|
176
|
+
"page"?: number | null;
|
|
177
|
+
"size"?: number | null;
|
|
178
|
+
"from"?: string | null;
|
|
179
|
+
"to"?: string | null;
|
|
180
|
+
}
|
|
181
|
+
/** Backend response type: Page<DrmJobResponse>. */
|
|
182
|
+
export type RouterListJobsGetResponse = BackendJson<"Page<DrmJobResponse>">;
|
|
183
|
+
/** Backend request type: EnqueueDrmInput. */
|
|
184
|
+
export interface RouterCreateJobPostInput extends JsonObject {
|
|
185
|
+
"media_id": string;
|
|
186
|
+
"config"?: BackendJson<"DrmConfig">;
|
|
187
|
+
}
|
|
188
|
+
/** Backend response type: DrmJobResponse. */
|
|
189
|
+
export interface RouterCreateJobPostResponseData extends JsonObject {
|
|
190
|
+
"id": string;
|
|
191
|
+
"actor_id"?: string | null;
|
|
192
|
+
"action": string;
|
|
193
|
+
"entity_type": string;
|
|
194
|
+
"entity_id"?: string | null;
|
|
195
|
+
"request_id"?: string | null;
|
|
196
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
197
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
198
|
+
"created_at": string;
|
|
199
|
+
"media_name": string;
|
|
200
|
+
"media_type": string;
|
|
201
|
+
}
|
|
202
|
+
export type RouterCreateJobPostResponse = RouterCreateJobPostResponseData;
|
|
203
|
+
/** Backend response type: no-content. */
|
|
204
|
+
export type RouterCancelJobDeleteResponse = void;
|
|
205
|
+
/** Backend request type: DrmConfig. */
|
|
206
|
+
export interface RouterRetryJobPostInput extends JsonObject {
|
|
207
|
+
"download"?: boolean;
|
|
208
|
+
"transcode"?: boolean;
|
|
209
|
+
"package"?: boolean;
|
|
210
|
+
"allow_video_only_on_audio_error"?: boolean;
|
|
211
|
+
}
|
|
212
|
+
/** Backend response type: DrmJobResponse. */
|
|
213
|
+
export interface RouterRetryJobPostResponseData extends JsonObject {
|
|
214
|
+
"id": string;
|
|
215
|
+
"actor_id"?: string | null;
|
|
216
|
+
"action": string;
|
|
217
|
+
"entity_type": string;
|
|
218
|
+
"entity_id"?: string | null;
|
|
219
|
+
"request_id"?: string | null;
|
|
220
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
221
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
222
|
+
"created_at": string;
|
|
223
|
+
"media_name": string;
|
|
224
|
+
"media_type": string;
|
|
225
|
+
}
|
|
226
|
+
export type RouterRetryJobPostResponse = RouterRetryJobPostResponseData;
|
|
227
|
+
/** Backend response type: RetryFailedResponse. */
|
|
228
|
+
export interface RouterRetryAllFailedPostResponseData extends JsonObject {
|
|
229
|
+
"count": number;
|
|
230
|
+
}
|
|
231
|
+
export type RouterRetryAllFailedPostResponse = RouterRetryAllFailedPostResponseData;
|
|
232
|
+
/** Backend query type: ExternalReferenceQuery. */
|
|
233
|
+
export interface RouterListExternalReferencesGetQuery extends QueryParams {
|
|
234
|
+
"internal_type"?: string | null;
|
|
235
|
+
"internal_id"?: string | null;
|
|
236
|
+
}
|
|
237
|
+
/** Backend response type: Vec<external_reference::Model>. */
|
|
238
|
+
export interface RouterListExternalReferencesGetResponseItem extends JsonObject {
|
|
239
|
+
"id": string;
|
|
240
|
+
"actor_id"?: string | null;
|
|
241
|
+
"action": string;
|
|
242
|
+
"entity_type": string;
|
|
243
|
+
"entity_id"?: string | null;
|
|
244
|
+
"request_id"?: string | null;
|
|
245
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
246
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
247
|
+
"created_at": string;
|
|
248
|
+
}
|
|
249
|
+
export type RouterListExternalReferencesGetResponse = RouterListExternalReferencesGetResponseItem[];
|
|
250
|
+
/** Backend request type: ExternalReferenceInput. */
|
|
251
|
+
export interface RouterUpsertExternalReferencePostInput extends JsonObject {
|
|
252
|
+
"system": string;
|
|
253
|
+
"entity_type": string;
|
|
254
|
+
"external_id": string;
|
|
255
|
+
"internal_type": string;
|
|
256
|
+
"internal_id": string;
|
|
257
|
+
"metadata"?: JsonValue;
|
|
258
|
+
}
|
|
259
|
+
/** Backend response type: external_reference::Model. */
|
|
260
|
+
export interface RouterUpsertExternalReferencePostResponseData extends JsonObject {
|
|
261
|
+
"id": string;
|
|
262
|
+
"actor_id"?: string | null;
|
|
263
|
+
"action": string;
|
|
264
|
+
"entity_type": string;
|
|
265
|
+
"entity_id"?: string | null;
|
|
266
|
+
"request_id"?: string | null;
|
|
267
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
268
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
269
|
+
"created_at": string;
|
|
270
|
+
}
|
|
271
|
+
export type RouterUpsertExternalReferencePostResponse = RouterUpsertExternalReferencePostResponseData;
|
|
272
|
+
/** Backend response type: Vec<folder::Model>. */
|
|
273
|
+
export interface RouterListFoldersGetResponseItem extends JsonObject {
|
|
274
|
+
"id": string;
|
|
275
|
+
"actor_id"?: string | null;
|
|
276
|
+
"action": string;
|
|
277
|
+
"entity_type": string;
|
|
278
|
+
"entity_id"?: string | null;
|
|
279
|
+
"request_id"?: string | null;
|
|
280
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
281
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
282
|
+
"created_at": string;
|
|
283
|
+
}
|
|
284
|
+
export type RouterListFoldersGetResponse = RouterListFoldersGetResponseItem[];
|
|
285
|
+
/** Backend request type: FolderInput. */
|
|
286
|
+
export interface RouterCreateFolderPostInput extends JsonObject {
|
|
287
|
+
"name": string;
|
|
288
|
+
"parent_id"?: string | null;
|
|
289
|
+
}
|
|
290
|
+
/** Backend response type: folder::Model. */
|
|
291
|
+
export interface RouterCreateFolderPostResponseData extends JsonObject {
|
|
292
|
+
"id": string;
|
|
293
|
+
"actor_id"?: string | null;
|
|
294
|
+
"action": string;
|
|
295
|
+
"entity_type": string;
|
|
296
|
+
"entity_id"?: string | null;
|
|
297
|
+
"request_id"?: string | null;
|
|
298
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
299
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
300
|
+
"created_at": string;
|
|
301
|
+
}
|
|
302
|
+
export type RouterCreateFolderPostResponse = RouterCreateFolderPostResponseData;
|
|
303
|
+
/** Backend response type: no-content. */
|
|
304
|
+
export type RouterDeleteFolderDeleteResponse = void;
|
|
305
|
+
/** Backend request type: FolderInput. */
|
|
306
|
+
export interface RouterUpdateFolderPatchInput extends JsonObject {
|
|
307
|
+
"name": string;
|
|
308
|
+
"parent_id"?: string | null;
|
|
309
|
+
}
|
|
310
|
+
/** Backend response type: folder::Model. */
|
|
311
|
+
export interface RouterUpdateFolderPatchResponseData extends JsonObject {
|
|
312
|
+
"id": string;
|
|
313
|
+
"actor_id"?: string | null;
|
|
314
|
+
"action": string;
|
|
315
|
+
"entity_type": string;
|
|
316
|
+
"entity_id"?: string | null;
|
|
317
|
+
"request_id"?: string | null;
|
|
318
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
319
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
320
|
+
"created_at": string;
|
|
321
|
+
}
|
|
322
|
+
export type RouterUpdateFolderPatchResponse = RouterUpdateFolderPatchResponseData;
|
|
323
|
+
/** Backend response type: Vec<content_library::Model>. */
|
|
324
|
+
export interface RouterListLibrariesGetResponseItem extends JsonObject {
|
|
325
|
+
"id": string;
|
|
326
|
+
"actor_id"?: string | null;
|
|
327
|
+
"action": string;
|
|
328
|
+
"entity_type": string;
|
|
329
|
+
"entity_id"?: string | null;
|
|
330
|
+
"request_id"?: string | null;
|
|
331
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
332
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
333
|
+
"created_at": string;
|
|
334
|
+
}
|
|
335
|
+
export type RouterListLibrariesGetResponse = RouterListLibrariesGetResponseItem[];
|
|
336
|
+
/** Backend request type: LibraryInput. */
|
|
337
|
+
export interface RouterCreateLibraryPostInput extends JsonObject {
|
|
338
|
+
"id"?: string | null;
|
|
339
|
+
"name": string;
|
|
340
|
+
"description"?: string | null;
|
|
341
|
+
"status"?: string | null;
|
|
342
|
+
"visibility"?: string | null;
|
|
343
|
+
}
|
|
344
|
+
/** Backend response type: content_library::Model. */
|
|
345
|
+
export interface RouterCreateLibraryPostResponseData extends JsonObject {
|
|
346
|
+
"id": string;
|
|
347
|
+
"actor_id"?: string | null;
|
|
348
|
+
"action": string;
|
|
349
|
+
"entity_type": string;
|
|
350
|
+
"entity_id"?: string | null;
|
|
351
|
+
"request_id"?: string | null;
|
|
352
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
353
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
354
|
+
"created_at": string;
|
|
355
|
+
}
|
|
356
|
+
export type RouterCreateLibraryPostResponse = RouterCreateLibraryPostResponseData;
|
|
357
|
+
/** Backend response type: no-content. */
|
|
358
|
+
export type RouterDeleteLibraryDeleteResponse = void;
|
|
359
|
+
/** Backend response type: content_library::Model. */
|
|
360
|
+
export interface RouterGetLibraryGetResponseData extends JsonObject {
|
|
361
|
+
"id": string;
|
|
362
|
+
"actor_id"?: string | null;
|
|
363
|
+
"action": string;
|
|
364
|
+
"entity_type": string;
|
|
365
|
+
"entity_id"?: string | null;
|
|
366
|
+
"request_id"?: string | null;
|
|
367
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
368
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
369
|
+
"created_at": string;
|
|
370
|
+
}
|
|
371
|
+
export type RouterGetLibraryGetResponse = RouterGetLibraryGetResponseData;
|
|
372
|
+
/** Backend request type: LibraryInput. */
|
|
373
|
+
export interface RouterUpdateLibraryPatchInput extends JsonObject {
|
|
374
|
+
"id"?: string | null;
|
|
375
|
+
"name": string;
|
|
376
|
+
"description"?: string | null;
|
|
377
|
+
"status"?: string | null;
|
|
378
|
+
"visibility"?: string | null;
|
|
379
|
+
}
|
|
380
|
+
/** Backend response type: content_library::Model. */
|
|
381
|
+
export interface RouterUpdateLibraryPatchResponseData extends JsonObject {
|
|
382
|
+
"id": string;
|
|
383
|
+
"actor_id"?: string | null;
|
|
384
|
+
"action": string;
|
|
385
|
+
"entity_type": string;
|
|
386
|
+
"entity_id"?: string | null;
|
|
387
|
+
"request_id"?: string | null;
|
|
388
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
389
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
390
|
+
"created_at": string;
|
|
391
|
+
}
|
|
392
|
+
export type RouterUpdateLibraryPatchResponse = RouterUpdateLibraryPatchResponseData;
|
|
393
|
+
/** Backend response type: Vec<content_category::Model>. */
|
|
394
|
+
export interface RouterListCategoriesGetResponseItem extends JsonObject {
|
|
395
|
+
"id": string;
|
|
396
|
+
"actor_id"?: string | null;
|
|
397
|
+
"action": string;
|
|
398
|
+
"entity_type": string;
|
|
399
|
+
"entity_id"?: string | null;
|
|
400
|
+
"request_id"?: string | null;
|
|
401
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
402
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
403
|
+
"created_at": string;
|
|
404
|
+
}
|
|
405
|
+
export type RouterListCategoriesGetResponse = RouterListCategoriesGetResponseItem[];
|
|
406
|
+
/** Backend request type: CategoryInput. */
|
|
407
|
+
export interface RouterCreateCategoryPostLibrariesIdCategoriesInput extends JsonObject {
|
|
408
|
+
"title": string;
|
|
409
|
+
"parent_id"?: string | null;
|
|
410
|
+
}
|
|
411
|
+
/** Backend response type: content_category::Model. */
|
|
412
|
+
export interface RouterCreateCategoryPostLibrariesIdCategoriesResponseData extends JsonObject {
|
|
413
|
+
"id": string;
|
|
414
|
+
"actor_id"?: string | null;
|
|
415
|
+
"action": string;
|
|
416
|
+
"entity_type": string;
|
|
417
|
+
"entity_id"?: string | null;
|
|
418
|
+
"request_id"?: string | null;
|
|
419
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
420
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
421
|
+
"created_at": string;
|
|
422
|
+
}
|
|
423
|
+
export type RouterCreateCategoryPostLibrariesIdCategoriesResponse = RouterCreateCategoryPostLibrariesIdCategoriesResponseData;
|
|
424
|
+
/** Backend response type: Vec<media_part::Model>. */
|
|
425
|
+
export interface RouterListItemsGetResponseItem extends JsonObject {
|
|
426
|
+
"id": string;
|
|
427
|
+
"actor_id"?: string | null;
|
|
428
|
+
"action": string;
|
|
429
|
+
"entity_type": string;
|
|
430
|
+
"entity_id"?: string | null;
|
|
431
|
+
"request_id"?: string | null;
|
|
432
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
433
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
434
|
+
"created_at": string;
|
|
435
|
+
}
|
|
436
|
+
export type RouterListItemsGetResponse = RouterListItemsGetResponseItem[];
|
|
437
|
+
/** Backend request type: ContentItemInput. */
|
|
438
|
+
export interface RouterCreateItemPostInput extends JsonObject {
|
|
439
|
+
"id"?: string | null;
|
|
440
|
+
"category_id"?: string | null;
|
|
441
|
+
"title": string;
|
|
442
|
+
"state": string;
|
|
443
|
+
"media_type"?: string | null;
|
|
444
|
+
"duration_seconds"?: number;
|
|
445
|
+
"textual"?: JsonValue;
|
|
446
|
+
"rewards"?: JsonValue;
|
|
447
|
+
"textual_hint"?: string | null;
|
|
448
|
+
"game_id"?: string | null;
|
|
449
|
+
}
|
|
450
|
+
/** Backend response type: media_part::Model. */
|
|
451
|
+
export interface RouterCreateItemPostResponseData extends JsonObject {
|
|
452
|
+
"id": string;
|
|
453
|
+
"actor_id"?: string | null;
|
|
454
|
+
"action": string;
|
|
455
|
+
"entity_type": string;
|
|
456
|
+
"entity_id"?: string | null;
|
|
457
|
+
"request_id"?: string | null;
|
|
458
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
459
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
460
|
+
"created_at": string;
|
|
461
|
+
}
|
|
462
|
+
export type RouterCreateItemPostResponse = RouterCreateItemPostResponseData;
|
|
463
|
+
/** Backend query type: ContentItemsQuery. */
|
|
464
|
+
export interface RouterQueryItemsGetQuery extends QueryParams {
|
|
465
|
+
"category_id"?: string | null;
|
|
466
|
+
"direct"?: boolean;
|
|
467
|
+
"search"?: string | null;
|
|
468
|
+
"page"?: number | null;
|
|
469
|
+
"size"?: number | null;
|
|
470
|
+
}
|
|
471
|
+
/** Backend response type: Page<media_part::Model>. */
|
|
472
|
+
export type RouterQueryItemsGetResponse = BackendJson<"Page<media_part::Model>">;
|
|
473
|
+
/** Backend response type: LibraryStats. */
|
|
474
|
+
export interface RouterLibraryStatsGetResponseData extends JsonObject {
|
|
475
|
+
"total": number;
|
|
476
|
+
"question": number;
|
|
477
|
+
"task": number;
|
|
478
|
+
"video": number;
|
|
479
|
+
"game": number;
|
|
480
|
+
}
|
|
481
|
+
export type RouterLibraryStatsGetResponse = RouterLibraryStatsGetResponseData;
|
|
482
|
+
/** Backend response type: no-content. */
|
|
483
|
+
export type RouterArchiveCategoryDeleteResponse = void;
|
|
484
|
+
/** Backend request type: CategoryInput. */
|
|
485
|
+
export interface RouterUpdateCategoryPatchLibrariesLibraryIdCategoriesIdInput extends JsonObject {
|
|
486
|
+
"title": string;
|
|
487
|
+
"parent_id"?: string | null;
|
|
488
|
+
}
|
|
489
|
+
/** Backend response type: content_category::Model. */
|
|
490
|
+
export interface RouterUpdateCategoryPatchLibrariesLibraryIdCategoriesIdResponseData extends JsonObject {
|
|
491
|
+
"id": string;
|
|
492
|
+
"actor_id"?: string | null;
|
|
493
|
+
"action": string;
|
|
494
|
+
"entity_type": string;
|
|
495
|
+
"entity_id"?: string | null;
|
|
496
|
+
"request_id"?: string | null;
|
|
497
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
498
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
499
|
+
"created_at": string;
|
|
500
|
+
}
|
|
501
|
+
export type RouterUpdateCategoryPatchLibrariesLibraryIdCategoriesIdResponse = RouterUpdateCategoryPatchLibrariesLibraryIdCategoriesIdResponseData;
|
|
502
|
+
/** Backend response type: no-content. */
|
|
503
|
+
export type RouterArchiveItemDeleteResponse = void;
|
|
504
|
+
/** Backend response type: media_part::Model. */
|
|
505
|
+
export interface RouterGetItemGetResponseData extends JsonObject {
|
|
506
|
+
"id": string;
|
|
507
|
+
"actor_id"?: string | null;
|
|
508
|
+
"action": string;
|
|
509
|
+
"entity_type": string;
|
|
510
|
+
"entity_id"?: string | null;
|
|
511
|
+
"request_id"?: string | null;
|
|
512
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
513
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
514
|
+
"created_at": string;
|
|
515
|
+
}
|
|
516
|
+
export type RouterGetItemGetResponse = RouterGetItemGetResponseData;
|
|
517
|
+
/** Backend request type: ContentItemInput. */
|
|
518
|
+
export interface RouterUpdateItemPutInput extends JsonObject {
|
|
519
|
+
"id"?: string | null;
|
|
520
|
+
"category_id"?: string | null;
|
|
521
|
+
"title": string;
|
|
522
|
+
"state": string;
|
|
523
|
+
"media_type"?: string | null;
|
|
524
|
+
"duration_seconds"?: number;
|
|
525
|
+
"textual"?: JsonValue;
|
|
526
|
+
"rewards"?: JsonValue;
|
|
527
|
+
"textual_hint"?: string | null;
|
|
528
|
+
"game_id"?: string | null;
|
|
529
|
+
}
|
|
530
|
+
/** Backend response type: media_part::Model. */
|
|
531
|
+
export interface RouterUpdateItemPutResponseData extends JsonObject {
|
|
532
|
+
"id": string;
|
|
533
|
+
"actor_id"?: string | null;
|
|
534
|
+
"action": string;
|
|
535
|
+
"entity_type": string;
|
|
536
|
+
"entity_id"?: string | null;
|
|
537
|
+
"request_id"?: string | null;
|
|
538
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
539
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
540
|
+
"created_at": string;
|
|
541
|
+
}
|
|
542
|
+
export type RouterUpdateItemPutResponse = RouterUpdateItemPutResponseData;
|
|
543
|
+
/** Backend response type: Vec<content_item_media::Model>. */
|
|
544
|
+
export interface RouterItemAttachmentsGetResponseItem extends JsonObject {
|
|
545
|
+
"id": string;
|
|
546
|
+
"actor_id"?: string | null;
|
|
547
|
+
"action": string;
|
|
548
|
+
"entity_type": string;
|
|
549
|
+
"entity_id"?: string | null;
|
|
550
|
+
"request_id"?: string | null;
|
|
551
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
552
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
553
|
+
"created_at": string;
|
|
554
|
+
}
|
|
555
|
+
export type RouterItemAttachmentsGetResponse = RouterItemAttachmentsGetResponseItem[];
|
|
556
|
+
/** Backend request type: AttachmentInput. */
|
|
557
|
+
export interface RouterAttachMediaPostInput extends JsonObject {
|
|
558
|
+
"media_id": string;
|
|
559
|
+
"slot": string;
|
|
560
|
+
"position"?: number;
|
|
561
|
+
"is_current"?: boolean;
|
|
562
|
+
}
|
|
563
|
+
/** Backend response type: content_item_media::Model. */
|
|
564
|
+
export interface RouterAttachMediaPostResponseData extends JsonObject {
|
|
565
|
+
"id": string;
|
|
566
|
+
"actor_id"?: string | null;
|
|
567
|
+
"action": string;
|
|
568
|
+
"entity_type": string;
|
|
569
|
+
"entity_id"?: string | null;
|
|
570
|
+
"request_id"?: string | null;
|
|
571
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
572
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
573
|
+
"created_at": string;
|
|
574
|
+
}
|
|
575
|
+
export type RouterAttachMediaPostResponse = RouterAttachMediaPostResponseData;
|
|
576
|
+
/** Backend query type: PackageQuery. */
|
|
577
|
+
export interface RouterClearKeyLicenseGetQuery extends QueryParams {
|
|
578
|
+
"package_id"?: string | null;
|
|
579
|
+
}
|
|
580
|
+
/** Backend response type: serde_json::Value. */
|
|
581
|
+
export type RouterClearKeyLicenseGetResponse = JsonValue;
|
|
582
|
+
/** Backend query type: ListQuery. */
|
|
583
|
+
export interface RouterListMediaGetQuery extends QueryParams {
|
|
584
|
+
"search"?: string | null;
|
|
585
|
+
"media_type"?: string | null;
|
|
586
|
+
"folder_id"?: string | null;
|
|
587
|
+
"tag_id"?: string | null;
|
|
588
|
+
"page"?: number | null;
|
|
589
|
+
"size"?: number | null;
|
|
590
|
+
}
|
|
591
|
+
/** Backend response type: Page<MediaResponse>. */
|
|
592
|
+
export type RouterListMediaGetResponse = BackendJson<"Page<MediaResponse>">;
|
|
593
|
+
/** Backend request type: multipart/form-data. */
|
|
594
|
+
export type RouterUploadMediaPostInput = FormData;
|
|
595
|
+
/** Backend response type: MediaResponse. */
|
|
596
|
+
export interface RouterUploadMediaPostResponseData extends JsonObject {
|
|
597
|
+
"id": string;
|
|
598
|
+
"actor_id"?: string | null;
|
|
599
|
+
"action": string;
|
|
600
|
+
"entity_type": string;
|
|
601
|
+
"entity_id"?: string | null;
|
|
602
|
+
"request_id"?: string | null;
|
|
603
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
604
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
605
|
+
"created_at": string;
|
|
606
|
+
"tags": BackendJson<"entity::tag::Model">[];
|
|
607
|
+
"transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
|
|
608
|
+
}
|
|
609
|
+
export type RouterUploadMediaPostResponse = RouterUploadMediaPostResponseData;
|
|
610
|
+
/** Backend response type: no-content. */
|
|
611
|
+
export type RouterDeleteMediaDeleteResponse = void;
|
|
612
|
+
/** Backend response type: MediaResponse. */
|
|
613
|
+
export interface RouterGetMediaGetResponseData extends JsonObject {
|
|
614
|
+
"id": string;
|
|
615
|
+
"actor_id"?: string | null;
|
|
616
|
+
"action": string;
|
|
617
|
+
"entity_type": string;
|
|
618
|
+
"entity_id"?: string | null;
|
|
619
|
+
"request_id"?: string | null;
|
|
620
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
621
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
622
|
+
"created_at": string;
|
|
623
|
+
"tags": BackendJson<"entity::tag::Model">[];
|
|
624
|
+
"transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
|
|
625
|
+
}
|
|
626
|
+
export type RouterGetMediaGetResponse = RouterGetMediaGetResponseData;
|
|
627
|
+
/** Backend request type: MediaUpdate. */
|
|
628
|
+
export interface RouterUpdateMediaPatchInput extends JsonObject {
|
|
629
|
+
"name"?: string | null;
|
|
630
|
+
"description"?: string | null;
|
|
631
|
+
"folder_id"?: string | null;
|
|
632
|
+
"duration_seconds"?: number | null;
|
|
633
|
+
"status"?: string | null;
|
|
634
|
+
"tag_ids"?: string[] | null;
|
|
635
|
+
}
|
|
636
|
+
/** Backend response type: MediaResponse. */
|
|
637
|
+
export interface RouterUpdateMediaPatchResponseData extends JsonObject {
|
|
638
|
+
"id": string;
|
|
639
|
+
"actor_id"?: string | null;
|
|
640
|
+
"action": string;
|
|
641
|
+
"entity_type": string;
|
|
642
|
+
"entity_id"?: string | null;
|
|
643
|
+
"request_id"?: string | null;
|
|
644
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
645
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
646
|
+
"created_at": string;
|
|
647
|
+
"tags": BackendJson<"entity::tag::Model">[];
|
|
648
|
+
"transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
|
|
649
|
+
}
|
|
650
|
+
export type RouterUpdateMediaPatchResponse = RouterUpdateMediaPatchResponseData;
|
|
651
|
+
/** Backend response type: Vec<PackageResponse>. */
|
|
652
|
+
export interface RouterListPackagesGetResponseItem extends JsonObject {
|
|
653
|
+
"id": string;
|
|
654
|
+
"actor_id"?: string | null;
|
|
655
|
+
"action": string;
|
|
656
|
+
"entity_type": string;
|
|
657
|
+
"entity_id"?: string | null;
|
|
658
|
+
"request_id"?: string | null;
|
|
659
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
660
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
661
|
+
"created_at": string;
|
|
662
|
+
"dash_url"?: string | null;
|
|
663
|
+
"hls_url"?: string | null;
|
|
664
|
+
}
|
|
665
|
+
export type RouterListPackagesGetResponse = RouterListPackagesGetResponseItem[];
|
|
666
|
+
/** Backend request type: Option<DrmConfig. */
|
|
667
|
+
export interface RouterRegeneratePostInput extends JsonObject {
|
|
668
|
+
"download"?: boolean;
|
|
669
|
+
"transcode"?: boolean;
|
|
670
|
+
"package"?: boolean;
|
|
671
|
+
"allow_video_only_on_audio_error"?: boolean;
|
|
672
|
+
}
|
|
673
|
+
/** Backend response type: drm_job::Model. */
|
|
674
|
+
export interface RouterRegeneratePostResponseData extends JsonObject {
|
|
675
|
+
"id": string;
|
|
676
|
+
"actor_id"?: string | null;
|
|
677
|
+
"action": string;
|
|
678
|
+
"entity_type": string;
|
|
679
|
+
"entity_id"?: string | null;
|
|
680
|
+
"request_id"?: string | null;
|
|
681
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
682
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
683
|
+
"created_at": string;
|
|
684
|
+
}
|
|
685
|
+
export type RouterRegeneratePostResponse = RouterRegeneratePostResponseData;
|
|
686
|
+
/** Backend response type: PlaybackResponse. */
|
|
687
|
+
export interface RouterPlaybackGetResponseData extends JsonObject {
|
|
688
|
+
"media_id": string;
|
|
689
|
+
"media_type": string;
|
|
690
|
+
"mime_type": string;
|
|
691
|
+
"url": string;
|
|
692
|
+
"expires_in_seconds": number;
|
|
693
|
+
}
|
|
694
|
+
export type RouterPlaybackGetResponse = RouterPlaybackGetResponseData;
|
|
695
|
+
/** Backend query type: DrmStatusesQuery. */
|
|
696
|
+
export interface RouterDrmStatusesGetQuery extends QueryParams {
|
|
697
|
+
"ids": string;
|
|
698
|
+
}
|
|
699
|
+
/** Backend response type: Vec<MediaDrmStatusResponse>. */
|
|
700
|
+
export interface RouterDrmStatusesGetResponseItem extends JsonObject {
|
|
701
|
+
"media_id": string;
|
|
702
|
+
"media_type": string;
|
|
703
|
+
"media_status": string;
|
|
704
|
+
"package_status"?: string | null;
|
|
705
|
+
"job_status"?: string | null;
|
|
706
|
+
"effective_status": string;
|
|
707
|
+
}
|
|
708
|
+
export type RouterDrmStatusesGetResponse = RouterDrmStatusesGetResponseItem[];
|
|
709
|
+
/** Backend response type: no-content. */
|
|
710
|
+
export type RouterArchivePackageDeleteResponse = void;
|
|
711
|
+
/** Backend request type: RegisterMediaInput. */
|
|
712
|
+
export interface RouterRegisterExistingMediaPostInput extends JsonObject {
|
|
713
|
+
"id"?: string | null;
|
|
714
|
+
"object_key": string;
|
|
715
|
+
"original_filename": string;
|
|
716
|
+
"name"?: string | null;
|
|
717
|
+
"description"?: string | null;
|
|
718
|
+
"mime_type": string;
|
|
719
|
+
"size_bytes": number;
|
|
720
|
+
"checksum_sha256"?: string | null;
|
|
721
|
+
"folder_id"?: string | null;
|
|
722
|
+
}
|
|
723
|
+
/** Backend response type: MediaResponse. */
|
|
724
|
+
export interface RouterRegisterExistingMediaPostResponseData extends JsonObject {
|
|
725
|
+
"id": string;
|
|
726
|
+
"actor_id"?: string | null;
|
|
727
|
+
"action": string;
|
|
728
|
+
"entity_type": string;
|
|
729
|
+
"entity_id"?: string | null;
|
|
730
|
+
"request_id"?: string | null;
|
|
731
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
732
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
733
|
+
"created_at": string;
|
|
734
|
+
"tags": BackendJson<"entity::tag::Model">[];
|
|
735
|
+
"transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
|
|
736
|
+
}
|
|
737
|
+
export type RouterRegisterExistingMediaPostResponse = RouterRegisterExistingMediaPostResponseData;
|
|
738
|
+
/** Backend response type: Vec<mixed_media::Model>. */
|
|
739
|
+
export interface RouterListMixedMediaGetResponseItem extends JsonObject {
|
|
740
|
+
"id": string;
|
|
741
|
+
"actor_id"?: string | null;
|
|
742
|
+
"action": string;
|
|
743
|
+
"entity_type": string;
|
|
744
|
+
"entity_id"?: string | null;
|
|
745
|
+
"request_id"?: string | null;
|
|
746
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
747
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
748
|
+
"created_at": string;
|
|
749
|
+
}
|
|
750
|
+
export type RouterListMixedMediaGetResponse = RouterListMixedMediaGetResponseItem[];
|
|
751
|
+
/** Backend request type: MixedMediaInput. */
|
|
752
|
+
export interface RouterCreateMixedMediaPostInput extends JsonObject {
|
|
753
|
+
"library_id": string;
|
|
754
|
+
"name": string;
|
|
755
|
+
"description"?: string | null;
|
|
756
|
+
"category_id"?: string | null;
|
|
757
|
+
}
|
|
758
|
+
/** Backend response type: mixed_media::Model. */
|
|
759
|
+
export interface RouterCreateMixedMediaPostResponseData extends JsonObject {
|
|
760
|
+
"id": string;
|
|
761
|
+
"actor_id"?: string | null;
|
|
762
|
+
"action": string;
|
|
763
|
+
"entity_type": string;
|
|
764
|
+
"entity_id"?: string | null;
|
|
765
|
+
"request_id"?: string | null;
|
|
766
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
767
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
768
|
+
"created_at": string;
|
|
769
|
+
}
|
|
770
|
+
export type RouterCreateMixedMediaPostResponse = RouterCreateMixedMediaPostResponseData;
|
|
771
|
+
/** Backend response type: no-content. */
|
|
772
|
+
export type RouterDeleteMixedMediaDeleteResponse = void;
|
|
773
|
+
/** Backend response type: mixed_media::Model. */
|
|
774
|
+
export interface RouterGetMixedMediaGetResponseData extends JsonObject {
|
|
775
|
+
"id": string;
|
|
776
|
+
"actor_id"?: string | null;
|
|
777
|
+
"action": string;
|
|
778
|
+
"entity_type": string;
|
|
779
|
+
"entity_id"?: string | null;
|
|
780
|
+
"request_id"?: string | null;
|
|
781
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
782
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
783
|
+
"created_at": string;
|
|
784
|
+
}
|
|
785
|
+
export type RouterGetMixedMediaGetResponse = RouterGetMixedMediaGetResponseData;
|
|
786
|
+
/** Backend request type: MixedMediaUpdate. */
|
|
787
|
+
export interface RouterUpdateMixedMediaPatchInput extends JsonObject {
|
|
788
|
+
"library_id"?: string | null;
|
|
789
|
+
"name"?: string | null;
|
|
790
|
+
"description"?: string | null;
|
|
791
|
+
"status"?: string | null;
|
|
792
|
+
"category_id"?: string | null;
|
|
793
|
+
}
|
|
794
|
+
/** Backend response type: mixed_media::Model. */
|
|
795
|
+
export interface RouterUpdateMixedMediaPatchResponseData extends JsonObject {
|
|
796
|
+
"id": string;
|
|
797
|
+
"actor_id"?: string | null;
|
|
798
|
+
"action": string;
|
|
799
|
+
"entity_type": string;
|
|
800
|
+
"entity_id"?: string | null;
|
|
801
|
+
"request_id"?: string | null;
|
|
802
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
803
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
804
|
+
"created_at": string;
|
|
805
|
+
}
|
|
806
|
+
export type RouterUpdateMixedMediaPatchResponse = RouterUpdateMixedMediaPatchResponseData;
|
|
807
|
+
/** Backend request type: CategoryInput. */
|
|
808
|
+
export interface RouterCreateCategoryPostMixedMediaIdCategoriesInput extends JsonObject {
|
|
809
|
+
"title": string;
|
|
810
|
+
"parent_id"?: string | null;
|
|
811
|
+
}
|
|
812
|
+
/** Backend response type: content_category::Model. */
|
|
813
|
+
export interface RouterCreateCategoryPostMixedMediaIdCategoriesResponseData extends JsonObject {
|
|
814
|
+
"id": string;
|
|
815
|
+
"actor_id"?: string | null;
|
|
816
|
+
"action": string;
|
|
817
|
+
"entity_type": string;
|
|
818
|
+
"entity_id"?: string | null;
|
|
819
|
+
"request_id"?: string | null;
|
|
820
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
821
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
822
|
+
"created_at": string;
|
|
823
|
+
}
|
|
824
|
+
export type RouterCreateCategoryPostMixedMediaIdCategoriesResponse = RouterCreateCategoryPostMixedMediaIdCategoriesResponseData;
|
|
825
|
+
/** Backend response type: mixed_media_manifest::Model. */
|
|
826
|
+
export interface RouterGetManifestGetResponseData extends JsonObject {
|
|
827
|
+
"id": string;
|
|
828
|
+
"actor_id"?: string | null;
|
|
829
|
+
"action": string;
|
|
830
|
+
"entity_type": string;
|
|
831
|
+
"entity_id"?: string | null;
|
|
832
|
+
"request_id"?: string | null;
|
|
833
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
834
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
835
|
+
"created_at": string;
|
|
836
|
+
}
|
|
837
|
+
export type RouterGetManifestGetResponse = RouterGetManifestGetResponseData;
|
|
838
|
+
/** Backend response type: Vec<mixed_media_manifest::Model>. */
|
|
839
|
+
export interface RouterListManifestsGetMixedMediaIdManifestsResponseItem extends JsonObject {
|
|
840
|
+
"id": string;
|
|
841
|
+
"actor_id"?: string | null;
|
|
842
|
+
"action": string;
|
|
843
|
+
"entity_type": string;
|
|
844
|
+
"entity_id"?: string | null;
|
|
845
|
+
"request_id"?: string | null;
|
|
846
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
847
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
848
|
+
"created_at": string;
|
|
849
|
+
}
|
|
850
|
+
export type RouterListManifestsGetMixedMediaIdManifestsResponse = RouterListManifestsGetMixedMediaIdManifestsResponseItem[];
|
|
851
|
+
/** Backend request type: PartInput. */
|
|
852
|
+
export interface RouterCreatePartPostInput extends JsonObject {
|
|
853
|
+
"category_id"?: string | null;
|
|
854
|
+
"title": string;
|
|
855
|
+
"state": string;
|
|
856
|
+
"media_type"?: string | null;
|
|
857
|
+
"duration_seconds"?: number;
|
|
858
|
+
"textual"?: JsonValue;
|
|
859
|
+
"rewards"?: JsonValue;
|
|
860
|
+
"textual_hint"?: string | null;
|
|
861
|
+
"game_id"?: string | null;
|
|
862
|
+
"primary_media_id"?: string | null;
|
|
863
|
+
"hint_media_id"?: string | null;
|
|
864
|
+
}
|
|
865
|
+
/** Backend response type: media_part::Model. */
|
|
866
|
+
export interface RouterCreatePartPostResponseData extends JsonObject {
|
|
867
|
+
"id": string;
|
|
868
|
+
"actor_id"?: string | null;
|
|
869
|
+
"action": string;
|
|
870
|
+
"entity_type": string;
|
|
871
|
+
"entity_id"?: string | null;
|
|
872
|
+
"request_id"?: string | null;
|
|
873
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
874
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
875
|
+
"created_at": string;
|
|
876
|
+
}
|
|
877
|
+
export type RouterCreatePartPostResponse = RouterCreatePartPostResponseData;
|
|
878
|
+
/** Backend response type: mixed_media_manifest::Model. */
|
|
879
|
+
export interface RouterPublishPostMixedMediaIdPublishResponseData extends JsonObject {
|
|
880
|
+
"id": string;
|
|
881
|
+
"actor_id"?: string | null;
|
|
882
|
+
"action": string;
|
|
883
|
+
"entity_type": string;
|
|
884
|
+
"entity_id"?: string | null;
|
|
885
|
+
"request_id"?: string | null;
|
|
886
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
887
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
888
|
+
"created_at": string;
|
|
889
|
+
}
|
|
890
|
+
export type RouterPublishPostMixedMediaIdPublishResponse = RouterPublishPostMixedMediaIdPublishResponseData;
|
|
891
|
+
/** Backend response type: EditorResources. */
|
|
892
|
+
export interface RouterResourcesGetResponseData extends JsonObject {
|
|
893
|
+
"categories": BackendJson<"entity::content_category::Model">[];
|
|
894
|
+
"parts": BackendJson<"entity::media_part::Model">[];
|
|
895
|
+
}
|
|
896
|
+
export type RouterResourcesGetResponse = RouterResourcesGetResponseData;
|
|
897
|
+
/** Backend response type: mixed_media_workflow::Model. */
|
|
898
|
+
export interface RouterGetWorkflowGetMixedMediaIdWorkflowResponseData extends JsonObject {
|
|
899
|
+
"id": string;
|
|
900
|
+
"actor_id"?: string | null;
|
|
901
|
+
"action": string;
|
|
902
|
+
"entity_type": string;
|
|
903
|
+
"entity_id"?: string | null;
|
|
904
|
+
"request_id"?: string | null;
|
|
905
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
906
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
907
|
+
"created_at": string;
|
|
908
|
+
}
|
|
909
|
+
export type RouterGetWorkflowGetMixedMediaIdWorkflowResponse = RouterGetWorkflowGetMixedMediaIdWorkflowResponseData;
|
|
910
|
+
/** Backend request type: WorkflowInput. */
|
|
911
|
+
export interface RouterSaveWorkflowPutMixedMediaIdWorkflowInput extends JsonObject {
|
|
912
|
+
"nodes": JsonValue;
|
|
913
|
+
"edges": JsonValue;
|
|
914
|
+
}
|
|
915
|
+
/** Backend response type: mixed_media_workflow::Model. */
|
|
916
|
+
export interface RouterSaveWorkflowPutMixedMediaIdWorkflowResponseData extends JsonObject {
|
|
917
|
+
"id": string;
|
|
918
|
+
"actor_id"?: string | null;
|
|
919
|
+
"action": string;
|
|
920
|
+
"entity_type": string;
|
|
921
|
+
"entity_id"?: string | null;
|
|
922
|
+
"request_id"?: string | null;
|
|
923
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
924
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
925
|
+
"created_at": string;
|
|
926
|
+
}
|
|
927
|
+
export type RouterSaveWorkflowPutMixedMediaIdWorkflowResponse = RouterSaveWorkflowPutMixedMediaIdWorkflowResponseData;
|
|
928
|
+
/** Backend response type: no-content. */
|
|
929
|
+
export type RouterDeleteCategoryDeleteResponse = void;
|
|
930
|
+
/** Backend request type: CategoryInput. */
|
|
931
|
+
export interface RouterUpdateCategoryPatchMixedMediaMixedIdCategoriesIdInput extends JsonObject {
|
|
932
|
+
"title": string;
|
|
933
|
+
"parent_id"?: string | null;
|
|
934
|
+
}
|
|
935
|
+
/** Backend response type: content_category::Model. */
|
|
936
|
+
export interface RouterUpdateCategoryPatchMixedMediaMixedIdCategoriesIdResponseData extends JsonObject {
|
|
937
|
+
"id": string;
|
|
938
|
+
"actor_id"?: string | null;
|
|
939
|
+
"action": string;
|
|
940
|
+
"entity_type": string;
|
|
941
|
+
"entity_id"?: string | null;
|
|
942
|
+
"request_id"?: string | null;
|
|
943
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
944
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
945
|
+
"created_at": string;
|
|
946
|
+
}
|
|
947
|
+
export type RouterUpdateCategoryPatchMixedMediaMixedIdCategoriesIdResponse = RouterUpdateCategoryPatchMixedMediaMixedIdCategoriesIdResponseData;
|
|
948
|
+
/** Backend response type: no-content. */
|
|
949
|
+
export type RouterDeletePartDeleteResponse = void;
|
|
950
|
+
/** Backend response type: media_part::Model. */
|
|
951
|
+
export interface RouterGetPartGetResponseData extends JsonObject {
|
|
952
|
+
"id": string;
|
|
953
|
+
"actor_id"?: string | null;
|
|
954
|
+
"action": string;
|
|
955
|
+
"entity_type": string;
|
|
956
|
+
"entity_id"?: string | null;
|
|
957
|
+
"request_id"?: string | null;
|
|
958
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
959
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
960
|
+
"created_at": string;
|
|
961
|
+
}
|
|
962
|
+
export type RouterGetPartGetResponse = RouterGetPartGetResponseData;
|
|
963
|
+
/** Backend request type: PartInput. */
|
|
964
|
+
export interface RouterUpdatePartPutInput extends JsonObject {
|
|
965
|
+
"category_id"?: string | null;
|
|
966
|
+
"title": string;
|
|
967
|
+
"state": string;
|
|
968
|
+
"media_type"?: string | null;
|
|
969
|
+
"duration_seconds"?: number;
|
|
970
|
+
"textual"?: JsonValue;
|
|
971
|
+
"rewards"?: JsonValue;
|
|
972
|
+
"textual_hint"?: string | null;
|
|
973
|
+
"game_id"?: string | null;
|
|
974
|
+
"primary_media_id"?: string | null;
|
|
975
|
+
"hint_media_id"?: string | null;
|
|
976
|
+
}
|
|
977
|
+
/** Backend response type: media_part::Model. */
|
|
978
|
+
export interface RouterUpdatePartPutResponseData extends JsonObject {
|
|
979
|
+
"id": string;
|
|
980
|
+
"actor_id"?: string | null;
|
|
981
|
+
"action": string;
|
|
982
|
+
"entity_type": string;
|
|
983
|
+
"entity_id"?: string | null;
|
|
984
|
+
"request_id"?: string | null;
|
|
985
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
986
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
987
|
+
"created_at": string;
|
|
988
|
+
}
|
|
989
|
+
export type RouterUpdatePartPutResponse = RouterUpdatePartPutResponseData;
|
|
990
|
+
/** Backend response type: serde_json::Value. */
|
|
991
|
+
export type RouterHealthGetResponse = JsonValue;
|
|
992
|
+
/** Backend response type: SettingsResponse. */
|
|
993
|
+
export interface RouterGetSettingsGetResponseData extends JsonObject {
|
|
994
|
+
"package_concurrency": number;
|
|
995
|
+
"transcription_enabled": boolean;
|
|
996
|
+
"transcription_model_ref"?: string | null;
|
|
997
|
+
}
|
|
998
|
+
export type RouterGetSettingsGetResponse = RouterGetSettingsGetResponseData;
|
|
999
|
+
/** Backend request type: SettingsInput. */
|
|
1000
|
+
export interface RouterUpdateSettingsPatchInput extends JsonObject {
|
|
1001
|
+
"package_concurrency": number;
|
|
1002
|
+
"transcription_enabled"?: boolean;
|
|
1003
|
+
"transcription_model_ref"?: string | null;
|
|
1004
|
+
}
|
|
1005
|
+
/** Backend response type: SettingsResponse. */
|
|
1006
|
+
export interface RouterUpdateSettingsPatchResponseData extends JsonObject {
|
|
1007
|
+
"package_concurrency": number;
|
|
1008
|
+
"transcription_enabled": boolean;
|
|
1009
|
+
"transcription_model_ref"?: string | null;
|
|
1010
|
+
}
|
|
1011
|
+
export type RouterUpdateSettingsPatchResponse = RouterUpdateSettingsPatchResponseData;
|
|
1012
|
+
/** Backend response type: Vec<TranscriptionModel>. */
|
|
1013
|
+
export interface RouterTranscriptionModelsGetResponseItem extends JsonObject {
|
|
1014
|
+
"model_ref": string;
|
|
1015
|
+
"model": string;
|
|
1016
|
+
"provider_label": string;
|
|
1017
|
+
"source": string;
|
|
1018
|
+
}
|
|
1019
|
+
export type RouterTranscriptionModelsGetResponse = RouterTranscriptionModelsGetResponseItem[];
|
|
1020
|
+
/** Backend request type: LegacyPackageInput. */
|
|
1021
|
+
export interface RouterLegacyEnqueuePostInput extends JsonObject {
|
|
1022
|
+
"id": string;
|
|
1023
|
+
"download"?: boolean;
|
|
1024
|
+
"transcode"?: boolean;
|
|
1025
|
+
"package"?: boolean;
|
|
1026
|
+
}
|
|
1027
|
+
/** Backend response type: serde_json::Value. */
|
|
1028
|
+
export type RouterLegacyEnqueuePostResponse = JsonValue;
|
|
1029
|
+
/** Backend response type: serde_json::Value. */
|
|
1030
|
+
export type RouterLegacyStatusGetResponse = JsonValue;
|
|
1031
|
+
/** Backend response type: raw-response. */
|
|
1032
|
+
export interface RouterPackageFileGetResponse extends ApiEnvelope<JsonValue> {
|
|
1033
|
+
}
|
|
1034
|
+
/** Backend response type: serde_json::Value. */
|
|
1035
|
+
export type RouterStatusGetResponse = JsonValue;
|
|
1036
|
+
/** Backend response type: Vec<tag::Model>. */
|
|
1037
|
+
export interface RouterListTagsGetResponseItem extends JsonObject {
|
|
1038
|
+
"id": string;
|
|
1039
|
+
"actor_id"?: string | null;
|
|
1040
|
+
"action": string;
|
|
1041
|
+
"entity_type": string;
|
|
1042
|
+
"entity_id"?: string | null;
|
|
1043
|
+
"request_id"?: string | null;
|
|
1044
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
1045
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
1046
|
+
"created_at": string;
|
|
1047
|
+
}
|
|
1048
|
+
export type RouterListTagsGetResponse = RouterListTagsGetResponseItem[];
|
|
1049
|
+
/** Backend request type: TagInput. */
|
|
1050
|
+
export interface RouterCreateTagPostInput extends JsonObject {
|
|
1051
|
+
"name": string;
|
|
1052
|
+
}
|
|
1053
|
+
/** Backend response type: tag::Model. */
|
|
1054
|
+
export interface RouterCreateTagPostResponseData extends JsonObject {
|
|
1055
|
+
"id": string;
|
|
1056
|
+
"actor_id"?: string | null;
|
|
1057
|
+
"action": string;
|
|
1058
|
+
"entity_type": string;
|
|
1059
|
+
"entity_id"?: string | null;
|
|
1060
|
+
"request_id"?: string | null;
|
|
1061
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
1062
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
1063
|
+
"created_at": string;
|
|
1064
|
+
}
|
|
1065
|
+
export type RouterCreateTagPostResponse = RouterCreateTagPostResponseData;
|
|
1066
|
+
/** Backend response type: no-content. */
|
|
1067
|
+
export type RouterDeleteTagDeleteResponse = void;
|
|
1068
|
+
/** Backend request type: UploadSessionInput. */
|
|
1069
|
+
export interface RouterCreateUploadSessionPostInput extends JsonObject {
|
|
1070
|
+
"media_id"?: string | null;
|
|
1071
|
+
"filename": string;
|
|
1072
|
+
"name"?: string | null;
|
|
1073
|
+
"description"?: string | null;
|
|
1074
|
+
"mime_type": string;
|
|
1075
|
+
"folder_id"?: string | null;
|
|
1076
|
+
"total_bytes": number;
|
|
1077
|
+
"part_size"?: number | null;
|
|
1078
|
+
}
|
|
1079
|
+
/** Backend response type: UploadSessionResponse. */
|
|
1080
|
+
export interface RouterCreateUploadSessionPostResponseData extends JsonObject {
|
|
1081
|
+
"id": string;
|
|
1082
|
+
"actor_id"?: string | null;
|
|
1083
|
+
"action": string;
|
|
1084
|
+
"entity_type": string;
|
|
1085
|
+
"entity_id"?: string | null;
|
|
1086
|
+
"request_id"?: string | null;
|
|
1087
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
1088
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
1089
|
+
"created_at": string;
|
|
1090
|
+
"parts": BackendJson<"upload_part::Model">[];
|
|
1091
|
+
}
|
|
1092
|
+
export type RouterCreateUploadSessionPostResponse = RouterCreateUploadSessionPostResponseData;
|
|
1093
|
+
/** Backend response type: no-content. */
|
|
1094
|
+
export type RouterCancelUploadDeleteResponse = void;
|
|
1095
|
+
/** Backend response type: UploadSessionResponse. */
|
|
1096
|
+
export interface RouterGetUploadSessionGetResponseData extends JsonObject {
|
|
1097
|
+
"id": string;
|
|
1098
|
+
"actor_id"?: string | null;
|
|
1099
|
+
"action": string;
|
|
1100
|
+
"entity_type": string;
|
|
1101
|
+
"entity_id"?: string | null;
|
|
1102
|
+
"request_id"?: string | null;
|
|
1103
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
1104
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
1105
|
+
"created_at": string;
|
|
1106
|
+
"parts": BackendJson<"upload_part::Model">[];
|
|
1107
|
+
}
|
|
1108
|
+
export type RouterGetUploadSessionGetResponse = RouterGetUploadSessionGetResponseData;
|
|
1109
|
+
/** Backend request type: CompleteUploadInput. */
|
|
1110
|
+
export interface RouterCompleteUploadPostInput extends JsonObject {
|
|
1111
|
+
"checksum_sha256"?: string | null;
|
|
1112
|
+
}
|
|
1113
|
+
/** Backend response type: MediaResponse. */
|
|
1114
|
+
export interface RouterCompleteUploadPostResponseData extends JsonObject {
|
|
1115
|
+
"id": string;
|
|
1116
|
+
"actor_id"?: string | null;
|
|
1117
|
+
"action": string;
|
|
1118
|
+
"entity_type": string;
|
|
1119
|
+
"entity_id"?: string | null;
|
|
1120
|
+
"request_id"?: string | null;
|
|
1121
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
1122
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
1123
|
+
"created_at": string;
|
|
1124
|
+
"tags": BackendJson<"entity::tag::Model">[];
|
|
1125
|
+
"transcription"?: BackendJson<"entity::media_transcription::Model"> | null;
|
|
1126
|
+
}
|
|
1127
|
+
export type RouterCompleteUploadPostResponse = RouterCompleteUploadPostResponseData;
|
|
1128
|
+
/** Backend response type: upload_part::Model. */
|
|
1129
|
+
export interface RouterPutUploadPartPutResponseData extends JsonObject {
|
|
1130
|
+
"id": string;
|
|
1131
|
+
"actor_id"?: string | null;
|
|
1132
|
+
"action": string;
|
|
1133
|
+
"entity_type": string;
|
|
1134
|
+
"entity_id"?: string | null;
|
|
1135
|
+
"request_id"?: string | null;
|
|
1136
|
+
"before_data"?: BackendJson<"Json"> | null;
|
|
1137
|
+
"after_data"?: BackendJson<"Json"> | null;
|
|
1138
|
+
"created_at": string;
|
|
1139
|
+
}
|
|
1140
|
+
export type RouterPutUploadPartPutResponse = RouterPutUploadPartPutResponseData;
|
|
1141
|
+
//# sourceMappingURL=operations.types.d.ts.map
|