@faiber/faiber-drm 0.24.1 → 1.0.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/README.md +36 -17
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.d.ts +187 -107
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +95 -15
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +384 -384
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +296 -290
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +128 -1332
- package/dist/operations.types.d.ts.map +1 -1
- package/dist/types.d.ts +3 -83
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -1
- package/dist/types.js.map +1 -1
- package/dist/wire.types.d.ts +721 -0
- package/dist/wire.types.d.ts.map +1 -0
- package/dist/wire.types.js +2 -0
- package/dist/wire.types.js.map +1 -0
- package/package.json +4 -3
- package/provenance.json +27 -0
|
@@ -1,1490 +1,286 @@
|
|
|
1
|
-
import type { ApiEnvelope, BackendJson, JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
|
|
2
1
|
/** Generated route contracts. Dynamic payload members remain JSON-safe and are documented with their Rust source type. */
|
|
3
2
|
/** Backend query type: AuditQuery. */
|
|
4
|
-
export
|
|
5
|
-
"page"?: number | null;
|
|
6
|
-
"size"?: number | null;
|
|
7
|
-
"from"?: string | null;
|
|
8
|
-
"to"?: string | null;
|
|
9
|
-
}
|
|
3
|
+
export type RouterAuditEventsGetQuery = import("./wire.types.js").DrmAuditQuery;
|
|
10
4
|
/** Backend response type: Page<audit_event::Model>. */
|
|
11
|
-
export type RouterAuditEventsGetResponse =
|
|
5
|
+
export type RouterAuditEventsGetResponse = import("./wire.types.js").DrmPage<import("./wire.types.js").DrmAuditEvent>;
|
|
12
6
|
/** Backend query type: AnalysisQuery. */
|
|
13
|
-
export
|
|
14
|
-
"page"?: number | null;
|
|
15
|
-
"size"?: number | null;
|
|
16
|
-
"search"?: string | null;
|
|
17
|
-
"status"?: string | null;
|
|
18
|
-
"from"?: string | null;
|
|
19
|
-
"to"?: string | null;
|
|
20
|
-
}
|
|
7
|
+
export type RouterListAnalysesGetQuery = import("./wire.types.js").DrmAnalysisQuery;
|
|
21
8
|
/** Backend response type: Page<CompositionAnalysis>. */
|
|
22
|
-
export type RouterListAnalysesGetResponse =
|
|
9
|
+
export type RouterListAnalysesGetResponse = import("./wire.types.js").DrmPage<import("./wire.types.js").DrmCompositionAnalysis>;
|
|
23
10
|
/** Backend response type: Vec<composition_category::Model>. */
|
|
24
|
-
export
|
|
25
|
-
"id": string;
|
|
26
|
-
"parent_id"?: string | null;
|
|
27
|
-
"title": string;
|
|
28
|
-
"created_at": string;
|
|
29
|
-
"updated_at": string;
|
|
30
|
-
}
|
|
31
|
-
export type RouterListCompositionCategoriesGetResponse = RouterListCompositionCategoriesGetResponseItem[];
|
|
11
|
+
export type RouterListCompositionCategoriesGetResponse = (import("./wire.types.js").DrmCompositionCategory)[];
|
|
32
12
|
/** Backend request type: CompositionCategoryInput. */
|
|
33
|
-
export
|
|
34
|
-
"title": string;
|
|
35
|
-
"parent_id"?: string | null;
|
|
36
|
-
}
|
|
13
|
+
export type RouterCreateCompositionCategoryPostInput = import("./wire.types.js").DrmCompositionCategoryInput;
|
|
37
14
|
/** Backend response type: composition_category::Model. */
|
|
38
|
-
export
|
|
39
|
-
"id": string;
|
|
40
|
-
"parent_id"?: string | null;
|
|
41
|
-
"title": string;
|
|
42
|
-
"created_at": string;
|
|
43
|
-
"updated_at": string;
|
|
44
|
-
}
|
|
45
|
-
export type RouterCreateCompositionCategoryPostResponse = RouterCreateCompositionCategoryPostResponseData;
|
|
15
|
+
export type RouterCreateCompositionCategoryPostResponse = import("./wire.types.js").DrmCompositionCategory;
|
|
46
16
|
/** Backend response type: no-content. */
|
|
47
17
|
export type RouterDeleteCompositionCategoryDeleteResponse = void;
|
|
48
18
|
/** Backend request type: CompositionCategoryInput. */
|
|
49
|
-
export
|
|
50
|
-
"title": string;
|
|
51
|
-
"parent_id"?: string | null;
|
|
52
|
-
}
|
|
19
|
+
export type RouterUpdateCompositionCategoryPatchInput = import("./wire.types.js").DrmCompositionCategoryInput;
|
|
53
20
|
/** Backend response type: composition_category::Model. */
|
|
54
|
-
export
|
|
55
|
-
"id": string;
|
|
56
|
-
"parent_id"?: string | null;
|
|
57
|
-
"title": string;
|
|
58
|
-
"created_at": string;
|
|
59
|
-
"updated_at": string;
|
|
60
|
-
}
|
|
61
|
-
export type RouterUpdateCompositionCategoryPatchResponse = RouterUpdateCompositionCategoryPatchResponseData;
|
|
21
|
+
export type RouterUpdateCompositionCategoryPatchResponse = import("./wire.types.js").DrmCompositionCategory;
|
|
62
22
|
/** Backend query type: CompositionQuery. */
|
|
63
|
-
export
|
|
64
|
-
"search"?: string | null;
|
|
65
|
-
"category_id"?: string | null;
|
|
66
|
-
"uncategorized"?: boolean;
|
|
67
|
-
"page"?: number | null;
|
|
68
|
-
"size"?: number | null;
|
|
69
|
-
}
|
|
23
|
+
export type RouterListCompositionsGetQuery = import("./wire.types.js").DrmCompositionQuery;
|
|
70
24
|
/** Backend response type: Page<mixed_media::Model>. */
|
|
71
|
-
export type RouterListCompositionsGetResponse =
|
|
25
|
+
export type RouterListCompositionsGetResponse = import("./wire.types.js").DrmPage<import("./wire.types.js").DrmMixedMedia>;
|
|
72
26
|
/** Backend request type: CompositionInput. */
|
|
73
|
-
export
|
|
74
|
-
"id"?: string | null;
|
|
75
|
-
"library_id": string;
|
|
76
|
-
"name": string;
|
|
77
|
-
"description"?: string | null;
|
|
78
|
-
"category_id"?: string | null;
|
|
79
|
-
}
|
|
27
|
+
export type RouterCreateCompositionPostInput = import("./wire.types.js").DrmCompositionInput;
|
|
80
28
|
/** Backend response type: mixed_media::Model. */
|
|
81
|
-
export
|
|
82
|
-
"id": string;
|
|
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;
|
|
91
|
-
"created_at": string;
|
|
92
|
-
"updated_at": string;
|
|
93
|
-
}
|
|
94
|
-
export type RouterCreateCompositionPostResponse = RouterCreateCompositionPostResponseData;
|
|
29
|
+
export type RouterCreateCompositionPostResponse = import("./wire.types.js").DrmMixedMedia;
|
|
95
30
|
/** Backend response type: Vec<mixed_media_manifest::Model>. */
|
|
96
|
-
export
|
|
97
|
-
"id": string;
|
|
98
|
-
"mixed_media_id": string;
|
|
99
|
-
"version": number;
|
|
100
|
-
"document": BackendJson<"Json">;
|
|
101
|
-
"created_at": string;
|
|
102
|
-
}
|
|
103
|
-
export type RouterListManifestsGetApiV1CompositionsIdManifestsResponse = RouterListManifestsGetApiV1CompositionsIdManifestsResponseItem[];
|
|
31
|
+
export type RouterListManifestsGetApiV1CompositionsIdManifestsResponse = (import("./wire.types.js").DrmMixedMediaManifest)[];
|
|
104
32
|
/** Backend request type: HistoricalManifestInput. */
|
|
105
|
-
export
|
|
106
|
-
"id"?: string | null;
|
|
107
|
-
"document": JsonValue;
|
|
108
|
-
"created_at"?: string | null;
|
|
109
|
-
}
|
|
33
|
+
export type RouterCreateManifestVersionPostInput = import("./wire.types.js").DrmHistoricalManifestInput;
|
|
110
34
|
/** Backend response type: mixed_media_manifest::Model. */
|
|
111
|
-
export
|
|
112
|
-
"id": string;
|
|
113
|
-
"mixed_media_id": string;
|
|
114
|
-
"version": number;
|
|
115
|
-
"document": BackendJson<"Json">;
|
|
116
|
-
"created_at": string;
|
|
117
|
-
}
|
|
118
|
-
export type RouterCreateManifestVersionPostResponse = RouterCreateManifestVersionPostResponseData;
|
|
35
|
+
export type RouterCreateManifestVersionPostResponse = import("./wire.types.js").DrmMixedMediaManifest;
|
|
119
36
|
/** Backend response type: mixed_media_manifest::Model. */
|
|
120
|
-
export
|
|
121
|
-
"id": string;
|
|
122
|
-
"mixed_media_id": string;
|
|
123
|
-
"version": number;
|
|
124
|
-
"document": BackendJson<"Json">;
|
|
125
|
-
"created_at": string;
|
|
126
|
-
}
|
|
127
|
-
export type RouterPublishPostApiV1CompositionsIdPublishResponse = RouterPublishPostApiV1CompositionsIdPublishResponseData;
|
|
37
|
+
export type RouterPublishPostApiV1CompositionsIdPublishResponse = import("./wire.types.js").DrmMixedMediaManifest;
|
|
128
38
|
/** Backend response type: mixed_media_workflow::Model. */
|
|
129
|
-
export
|
|
130
|
-
"mixed_media_id": string;
|
|
131
|
-
"nodes": BackendJson<"Json">;
|
|
132
|
-
"edges": BackendJson<"Json">;
|
|
133
|
-
"revision": number;
|
|
134
|
-
"updated_at": string;
|
|
135
|
-
}
|
|
136
|
-
export type RouterGetWorkflowGetApiV1CompositionsIdWorkflowResponse = RouterGetWorkflowGetApiV1CompositionsIdWorkflowResponseData;
|
|
39
|
+
export type RouterGetWorkflowGetApiV1CompositionsIdWorkflowResponse = import("./wire.types.js").DrmMixedMediaWorkflow;
|
|
137
40
|
/** Backend request type: WorkflowInput. */
|
|
138
|
-
export
|
|
139
|
-
"nodes": JsonValue;
|
|
140
|
-
"edges": JsonValue;
|
|
141
|
-
}
|
|
41
|
+
export type RouterSaveWorkflowPutApiV1CompositionsIdWorkflowInput = import("./wire.types.js").DrmWorkflowInput;
|
|
142
42
|
/** Backend response type: mixed_media_workflow::Model. */
|
|
143
|
-
export
|
|
144
|
-
"mixed_media_id": string;
|
|
145
|
-
"nodes": BackendJson<"Json">;
|
|
146
|
-
"edges": BackendJson<"Json">;
|
|
147
|
-
"revision": number;
|
|
148
|
-
"updated_at": string;
|
|
149
|
-
}
|
|
150
|
-
export type RouterSaveWorkflowPutApiV1CompositionsIdWorkflowResponse = RouterSaveWorkflowPutApiV1CompositionsIdWorkflowResponseData;
|
|
43
|
+
export type RouterSaveWorkflowPutApiV1CompositionsIdWorkflowResponse = import("./wire.types.js").DrmMixedMediaWorkflow;
|
|
151
44
|
/** Backend response type: serde_json::Value. */
|
|
152
|
-
export type RouterDashboardGetResponse =
|
|
45
|
+
export type RouterDashboardGetResponse = import("./wire.types.js").DrmDashboard;
|
|
153
46
|
/** Backend query type: DrmJobQuery. */
|
|
154
|
-
export
|
|
155
|
-
"status"?: string | null;
|
|
156
|
-
"media_id"?: string | null;
|
|
157
|
-
"page"?: number | null;
|
|
158
|
-
"size"?: number | null;
|
|
159
|
-
"from"?: string | null;
|
|
160
|
-
"to"?: string | null;
|
|
161
|
-
}
|
|
47
|
+
export type RouterListJobsGetQuery = import("./wire.types.js").DrmJobQuery;
|
|
162
48
|
/** Backend response type: Page<DrmJobResponse>. */
|
|
163
|
-
export type RouterListJobsGetResponse =
|
|
49
|
+
export type RouterListJobsGetResponse = import("./wire.types.js").DrmPage<import("./wire.types.js").DrmJobResponse>;
|
|
164
50
|
/** Backend request type: EnqueueDrmInput. */
|
|
165
|
-
export
|
|
166
|
-
"download"?: boolean;
|
|
167
|
-
"transcode"?: boolean;
|
|
168
|
-
"package"?: boolean;
|
|
169
|
-
"allow_video_only_on_audio_error"?: boolean;
|
|
170
|
-
}
|
|
171
|
-
export interface RouterCreateJobPostInput extends JsonObject {
|
|
172
|
-
"media_id": string;
|
|
173
|
-
"config"?: RouterCreateJobPostInputConfig;
|
|
174
|
-
}
|
|
51
|
+
export type RouterCreateJobPostInput = import("./wire.types.js").DrmEnqueueDrmInput;
|
|
175
52
|
/** Backend response type: DrmJobResponse. */
|
|
176
|
-
export
|
|
177
|
-
"id": string;
|
|
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">;
|
|
188
|
-
"created_at": string;
|
|
189
|
-
"updated_at": string;
|
|
190
|
-
"started_at"?: string | null;
|
|
191
|
-
"completed_at"?: string | null;
|
|
192
|
-
"media_name": string;
|
|
193
|
-
"media_type": string;
|
|
194
|
-
}
|
|
195
|
-
export type RouterCreateJobPostResponse = RouterCreateJobPostResponseData;
|
|
53
|
+
export type RouterCreateJobPostResponse = import("./wire.types.js").DrmJobResponse;
|
|
196
54
|
/** Backend response type: no-content. */
|
|
197
55
|
export type RouterCancelJobDeleteResponse = void;
|
|
198
56
|
/** Backend request type: DrmConfig. */
|
|
199
|
-
export
|
|
200
|
-
"download"?: boolean;
|
|
201
|
-
"transcode"?: boolean;
|
|
202
|
-
"package"?: boolean;
|
|
203
|
-
"allow_video_only_on_audio_error"?: boolean;
|
|
204
|
-
}
|
|
57
|
+
export type RouterRetryJobPostInput = import("./wire.types.js").DrmConfig | undefined;
|
|
205
58
|
/** Backend response type: DrmJobResponse. */
|
|
206
|
-
export
|
|
207
|
-
"id": string;
|
|
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">;
|
|
218
|
-
"created_at": string;
|
|
219
|
-
"updated_at": string;
|
|
220
|
-
"started_at"?: string | null;
|
|
221
|
-
"completed_at"?: string | null;
|
|
222
|
-
"media_name": string;
|
|
223
|
-
"media_type": string;
|
|
224
|
-
}
|
|
225
|
-
export type RouterRetryJobPostResponse = RouterRetryJobPostResponseData;
|
|
59
|
+
export type RouterRetryJobPostResponse = import("./wire.types.js").DrmJobResponse;
|
|
226
60
|
/** Backend response type: RetryFailedResponse. */
|
|
227
|
-
export
|
|
228
|
-
"count": number;
|
|
229
|
-
}
|
|
230
|
-
export type RouterRetryAllFailedPostResponse = RouterRetryAllFailedPostResponseData;
|
|
61
|
+
export type RouterRetryAllFailedPostResponse = import("./wire.types.js").DrmRetryFailedResponse;
|
|
231
62
|
/** Backend query type: ExternalReferenceQuery. */
|
|
232
|
-
export
|
|
233
|
-
"internal_type"?: string | null;
|
|
234
|
-
"internal_id"?: string | null;
|
|
235
|
-
}
|
|
63
|
+
export type RouterListExternalReferencesGetQuery = import("./wire.types.js").DrmExternalReferenceQuery;
|
|
236
64
|
/** Backend response type: Vec<external_reference::Model>. */
|
|
237
|
-
export
|
|
238
|
-
"system": string;
|
|
239
|
-
"entity_type": string;
|
|
240
|
-
"external_id": string;
|
|
241
|
-
"internal_type": string;
|
|
242
|
-
"internal_id": string;
|
|
243
|
-
"metadata": BackendJson<"Json">;
|
|
244
|
-
"created_at": string;
|
|
245
|
-
"updated_at": string;
|
|
246
|
-
}
|
|
247
|
-
export type RouterListExternalReferencesGetResponse = RouterListExternalReferencesGetResponseItem[];
|
|
65
|
+
export type RouterListExternalReferencesGetResponse = (import("./wire.types.js").DrmExternalReference)[];
|
|
248
66
|
/** Backend request type: ExternalReferenceInput. */
|
|
249
|
-
export
|
|
250
|
-
"system": string;
|
|
251
|
-
"entity_type": string;
|
|
252
|
-
"external_id": string;
|
|
253
|
-
"internal_type": string;
|
|
254
|
-
"internal_id": string;
|
|
255
|
-
"metadata"?: JsonValue;
|
|
256
|
-
}
|
|
67
|
+
export type RouterUpsertExternalReferencePostInput = import("./wire.types.js").DrmExternalReferenceInput;
|
|
257
68
|
/** Backend response type: external_reference::Model. */
|
|
258
|
-
export
|
|
259
|
-
"system": string;
|
|
260
|
-
"entity_type": string;
|
|
261
|
-
"external_id": string;
|
|
262
|
-
"internal_type": string;
|
|
263
|
-
"internal_id": string;
|
|
264
|
-
"metadata": BackendJson<"Json">;
|
|
265
|
-
"created_at": string;
|
|
266
|
-
"updated_at": string;
|
|
267
|
-
}
|
|
268
|
-
export type RouterUpsertExternalReferencePostResponse = RouterUpsertExternalReferencePostResponseData;
|
|
69
|
+
export type RouterUpsertExternalReferencePostResponse = import("./wire.types.js").DrmExternalReference;
|
|
269
70
|
/** Backend response type: Vec<folder::Model>. */
|
|
270
|
-
export
|
|
271
|
-
"id": string;
|
|
272
|
-
"parent_id"?: string | null;
|
|
273
|
-
"name": string;
|
|
274
|
-
"created_at": string;
|
|
275
|
-
"updated_at": string;
|
|
276
|
-
}
|
|
277
|
-
export type RouterListFoldersGetResponse = RouterListFoldersGetResponseItem[];
|
|
71
|
+
export type RouterListFoldersGetResponse = (import("./wire.types.js").DrmFolder)[];
|
|
278
72
|
/** Backend request type: FolderInput. */
|
|
279
|
-
export
|
|
280
|
-
"name": string;
|
|
281
|
-
"parent_id"?: string | null;
|
|
282
|
-
}
|
|
73
|
+
export type RouterCreateFolderPostInput = import("./wire.types.js").DrmFolderInput;
|
|
283
74
|
/** Backend response type: folder::Model. */
|
|
284
|
-
export
|
|
285
|
-
"id": string;
|
|
286
|
-
"parent_id"?: string | null;
|
|
287
|
-
"name": string;
|
|
288
|
-
"created_at": string;
|
|
289
|
-
"updated_at": string;
|
|
290
|
-
}
|
|
291
|
-
export type RouterCreateFolderPostResponse = RouterCreateFolderPostResponseData;
|
|
75
|
+
export type RouterCreateFolderPostResponse = import("./wire.types.js").DrmFolder;
|
|
292
76
|
/** Backend response type: no-content. */
|
|
293
77
|
export type RouterDeleteFolderDeleteResponse = void;
|
|
294
78
|
/** Backend request type: FolderInput. */
|
|
295
|
-
export
|
|
296
|
-
"name": string;
|
|
297
|
-
"parent_id"?: string | null;
|
|
298
|
-
}
|
|
79
|
+
export type RouterUpdateFolderPatchInput = import("./wire.types.js").DrmFolderInput;
|
|
299
80
|
/** Backend response type: folder::Model. */
|
|
300
|
-
export
|
|
301
|
-
"id": string;
|
|
302
|
-
"parent_id"?: string | null;
|
|
303
|
-
"name": string;
|
|
304
|
-
"created_at": string;
|
|
305
|
-
"updated_at": string;
|
|
306
|
-
}
|
|
307
|
-
export type RouterUpdateFolderPatchResponse = RouterUpdateFolderPatchResponseData;
|
|
81
|
+
export type RouterUpdateFolderPatchResponse = import("./wire.types.js").DrmFolder;
|
|
308
82
|
/** Backend response type: Vec<content_library::Model>. */
|
|
309
|
-
export
|
|
310
|
-
"id": string;
|
|
311
|
-
"name": string;
|
|
312
|
-
"description"?: string | null;
|
|
313
|
-
"status": string;
|
|
314
|
-
"visibility": string;
|
|
315
|
-
"created_at": string;
|
|
316
|
-
"updated_at": string;
|
|
317
|
-
}
|
|
318
|
-
export type RouterListLibrariesGetResponse = RouterListLibrariesGetResponseItem[];
|
|
83
|
+
export type RouterListLibrariesGetResponse = (import("./wire.types.js").DrmContentLibrary)[];
|
|
319
84
|
/** Backend request type: LibraryInput. */
|
|
320
|
-
export
|
|
321
|
-
"id"?: string | null;
|
|
322
|
-
"name": string;
|
|
323
|
-
"description"?: string | null;
|
|
324
|
-
"status"?: string | null;
|
|
325
|
-
"visibility"?: string | null;
|
|
326
|
-
}
|
|
85
|
+
export type RouterCreateLibraryPostInput = import("./wire.types.js").DrmLibraryInput;
|
|
327
86
|
/** Backend response type: content_library::Model. */
|
|
328
|
-
export
|
|
329
|
-
"id": string;
|
|
330
|
-
"name": string;
|
|
331
|
-
"description"?: string | null;
|
|
332
|
-
"status": string;
|
|
333
|
-
"visibility": string;
|
|
334
|
-
"created_at": string;
|
|
335
|
-
"updated_at": string;
|
|
336
|
-
}
|
|
337
|
-
export type RouterCreateLibraryPostResponse = RouterCreateLibraryPostResponseData;
|
|
87
|
+
export type RouterCreateLibraryPostResponse = import("./wire.types.js").DrmContentLibrary;
|
|
338
88
|
/** Backend response type: no-content. */
|
|
339
89
|
export type RouterDeleteLibraryDeleteResponse = void;
|
|
340
90
|
/** Backend response type: content_library::Model. */
|
|
341
|
-
export
|
|
342
|
-
"id": string;
|
|
343
|
-
"name": string;
|
|
344
|
-
"description"?: string | null;
|
|
345
|
-
"status": string;
|
|
346
|
-
"visibility": string;
|
|
347
|
-
"created_at": string;
|
|
348
|
-
"updated_at": string;
|
|
349
|
-
}
|
|
350
|
-
export type RouterGetLibraryGetResponse = RouterGetLibraryGetResponseData;
|
|
91
|
+
export type RouterGetLibraryGetResponse = import("./wire.types.js").DrmContentLibrary;
|
|
351
92
|
/** Backend request type: LibraryInput. */
|
|
352
|
-
export
|
|
353
|
-
"id"?: string | null;
|
|
354
|
-
"name": string;
|
|
355
|
-
"description"?: string | null;
|
|
356
|
-
"status"?: string | null;
|
|
357
|
-
"visibility"?: string | null;
|
|
358
|
-
}
|
|
93
|
+
export type RouterUpdateLibraryPatchInput = import("./wire.types.js").DrmLibraryInput;
|
|
359
94
|
/** Backend response type: content_library::Model. */
|
|
360
|
-
export
|
|
361
|
-
"id": string;
|
|
362
|
-
"name": string;
|
|
363
|
-
"description"?: string | null;
|
|
364
|
-
"status": string;
|
|
365
|
-
"visibility": string;
|
|
366
|
-
"created_at": string;
|
|
367
|
-
"updated_at": string;
|
|
368
|
-
}
|
|
369
|
-
export type RouterUpdateLibraryPatchResponse = RouterUpdateLibraryPatchResponseData;
|
|
95
|
+
export type RouterUpdateLibraryPatchResponse = import("./wire.types.js").DrmContentLibrary;
|
|
370
96
|
/** Backend response type: Vec<content_category::Model>. */
|
|
371
|
-
export
|
|
372
|
-
"id": string;
|
|
373
|
-
"mixed_media_id"?: string | null;
|
|
374
|
-
"library_id": string;
|
|
375
|
-
"parent_id"?: string | null;
|
|
376
|
-
"title": string;
|
|
377
|
-
"created_at": string;
|
|
378
|
-
"updated_at": string;
|
|
379
|
-
"archived_at"?: string | null;
|
|
380
|
-
}
|
|
381
|
-
export type RouterListCategoriesGetResponse = RouterListCategoriesGetResponseItem[];
|
|
97
|
+
export type RouterListCategoriesGetResponse = (import("./wire.types.js").DrmContentCategory)[];
|
|
382
98
|
/** Backend request type: GenericCategoryInput. */
|
|
383
|
-
export
|
|
384
|
-
"id"?: string | null;
|
|
385
|
-
"parent_id"?: string | null;
|
|
386
|
-
"title": string;
|
|
387
|
-
}
|
|
99
|
+
export type RouterCreateCategoryPostApiV1LibrariesIdCategoriesInput = import("./wire.types.js").DrmGenericCategoryInput;
|
|
388
100
|
/** Backend response type: content_category::Model. */
|
|
389
|
-
export
|
|
390
|
-
"id": string;
|
|
391
|
-
"mixed_media_id"?: string | null;
|
|
392
|
-
"library_id": string;
|
|
393
|
-
"parent_id"?: string | null;
|
|
394
|
-
"title": string;
|
|
395
|
-
"created_at": string;
|
|
396
|
-
"updated_at": string;
|
|
397
|
-
"archived_at"?: string | null;
|
|
398
|
-
}
|
|
399
|
-
export type RouterCreateCategoryPostApiV1LibrariesIdCategoriesResponse = RouterCreateCategoryPostApiV1LibrariesIdCategoriesResponseData;
|
|
101
|
+
export type RouterCreateCategoryPostApiV1LibrariesIdCategoriesResponse = import("./wire.types.js").DrmContentCategory;
|
|
400
102
|
/** Backend response type: Vec<media_part::Model>. */
|
|
401
|
-
export
|
|
402
|
-
"id": string;
|
|
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;
|
|
416
|
-
"created_at": string;
|
|
417
|
-
"updated_at": string;
|
|
418
|
-
"archived_at"?: string | null;
|
|
419
|
-
}
|
|
420
|
-
export type RouterListItemsGetResponse = RouterListItemsGetResponseItem[];
|
|
103
|
+
export type RouterListItemsGetResponse = (import("./wire.types.js").DrmMediaPart)[];
|
|
421
104
|
/** Backend request type: ContentItemInput. */
|
|
422
|
-
export
|
|
423
|
-
"id"?: string | null;
|
|
424
|
-
"category_id"?: string | null;
|
|
425
|
-
"title": string;
|
|
426
|
-
"state": string;
|
|
427
|
-
"media_type"?: string | null;
|
|
428
|
-
"duration_seconds"?: number;
|
|
429
|
-
"textual"?: JsonValue;
|
|
430
|
-
"rewards"?: JsonValue;
|
|
431
|
-
"textual_hint"?: string | null;
|
|
432
|
-
"game_id"?: string | null;
|
|
433
|
-
}
|
|
105
|
+
export type RouterCreateItemPostInput = import("./wire.types.js").DrmContentItemInput;
|
|
434
106
|
/** Backend response type: media_part::Model. */
|
|
435
|
-
export
|
|
436
|
-
"id": string;
|
|
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;
|
|
450
|
-
"created_at": string;
|
|
451
|
-
"updated_at": string;
|
|
452
|
-
"archived_at"?: string | null;
|
|
453
|
-
}
|
|
454
|
-
export type RouterCreateItemPostResponse = RouterCreateItemPostResponseData;
|
|
107
|
+
export type RouterCreateItemPostResponse = import("./wire.types.js").DrmMediaPart;
|
|
455
108
|
/** Backend query type: ContentItemsQuery. */
|
|
456
|
-
export
|
|
457
|
-
"category_id"?: string | null;
|
|
458
|
-
"direct"?: boolean;
|
|
459
|
-
"errors"?: boolean;
|
|
460
|
-
"search"?: string | null;
|
|
461
|
-
"page"?: number | null;
|
|
462
|
-
"size"?: number | null;
|
|
463
|
-
}
|
|
109
|
+
export type RouterQueryItemsGetQuery = import("./wire.types.js").DrmContentItemsQuery;
|
|
464
110
|
/** Backend response type: Page<media_part::Model>. */
|
|
465
|
-
export type RouterQueryItemsGetResponse =
|
|
111
|
+
export type RouterQueryItemsGetResponse = import("./wire.types.js").DrmPage<import("./wire.types.js").DrmMediaPart>;
|
|
466
112
|
/** Backend response type: LibraryStats. */
|
|
467
|
-
export
|
|
468
|
-
"total": number;
|
|
469
|
-
"question": number;
|
|
470
|
-
"task": number;
|
|
471
|
-
"video": number;
|
|
472
|
-
"game": number;
|
|
473
|
-
}
|
|
474
|
-
export type RouterLibraryStatsGetResponse = RouterLibraryStatsGetResponseData;
|
|
113
|
+
export type RouterLibraryStatsGetResponse = import("./wire.types.js").DrmLibraryStats;
|
|
475
114
|
/** Backend response type: no-content. */
|
|
476
115
|
export type RouterArchiveCategoryDeleteResponse = void;
|
|
477
116
|
/** Backend request type: GenericCategoryInput. */
|
|
478
|
-
export
|
|
479
|
-
"id"?: string | null;
|
|
480
|
-
"parent_id"?: string | null;
|
|
481
|
-
"title": string;
|
|
482
|
-
}
|
|
117
|
+
export type RouterUpdateCategoryPatchApiV1LibrariesLibraryIdCategoriesIdInput = import("./wire.types.js").DrmGenericCategoryInput;
|
|
483
118
|
/** Backend response type: content_category::Model. */
|
|
484
|
-
export
|
|
485
|
-
"id": string;
|
|
486
|
-
"mixed_media_id"?: string | null;
|
|
487
|
-
"library_id": string;
|
|
488
|
-
"parent_id"?: string | null;
|
|
489
|
-
"title": string;
|
|
490
|
-
"created_at": string;
|
|
491
|
-
"updated_at": string;
|
|
492
|
-
"archived_at"?: string | null;
|
|
493
|
-
}
|
|
494
|
-
export type RouterUpdateCategoryPatchApiV1LibrariesLibraryIdCategoriesIdResponse = RouterUpdateCategoryPatchApiV1LibrariesLibraryIdCategoriesIdResponseData;
|
|
119
|
+
export type RouterUpdateCategoryPatchApiV1LibrariesLibraryIdCategoriesIdResponse = import("./wire.types.js").DrmContentCategory;
|
|
495
120
|
/** Backend response type: no-content. */
|
|
496
121
|
export type RouterArchiveItemDeleteResponse = void;
|
|
497
122
|
/** Backend response type: media_part::Model. */
|
|
498
|
-
export
|
|
499
|
-
"id": string;
|
|
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;
|
|
513
|
-
"created_at": string;
|
|
514
|
-
"updated_at": string;
|
|
515
|
-
"archived_at"?: string | null;
|
|
516
|
-
}
|
|
517
|
-
export type RouterGetItemGetResponse = RouterGetItemGetResponseData;
|
|
123
|
+
export type RouterGetItemGetResponse = import("./wire.types.js").DrmMediaPart;
|
|
518
124
|
/** Backend request type: ContentItemInput. */
|
|
519
|
-
export
|
|
520
|
-
"id"?: string | null;
|
|
521
|
-
"category_id"?: string | null;
|
|
522
|
-
"title": string;
|
|
523
|
-
"state": string;
|
|
524
|
-
"media_type"?: string | null;
|
|
525
|
-
"duration_seconds"?: number;
|
|
526
|
-
"textual"?: JsonValue;
|
|
527
|
-
"rewards"?: JsonValue;
|
|
528
|
-
"textual_hint"?: string | null;
|
|
529
|
-
"game_id"?: string | null;
|
|
530
|
-
}
|
|
125
|
+
export type RouterUpdateItemPutInput = import("./wire.types.js").DrmContentItemInput;
|
|
531
126
|
/** Backend response type: media_part::Model. */
|
|
532
|
-
export
|
|
533
|
-
"id": string;
|
|
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;
|
|
547
|
-
"created_at": string;
|
|
548
|
-
"updated_at": string;
|
|
549
|
-
"archived_at"?: string | null;
|
|
550
|
-
}
|
|
551
|
-
export type RouterUpdateItemPutResponse = RouterUpdateItemPutResponseData;
|
|
127
|
+
export type RouterUpdateItemPutResponse = import("./wire.types.js").DrmMediaPart;
|
|
552
128
|
/** Backend response type: Vec<content_item_media::Model>. */
|
|
553
|
-
export
|
|
554
|
-
"content_item_id": string;
|
|
555
|
-
"media_id": string;
|
|
556
|
-
"slot": string;
|
|
557
|
-
"position": number;
|
|
558
|
-
"is_current": boolean;
|
|
559
|
-
"created_at": string;
|
|
560
|
-
}
|
|
561
|
-
export type RouterItemAttachmentsGetResponse = RouterItemAttachmentsGetResponseItem[];
|
|
129
|
+
export type RouterItemAttachmentsGetResponse = (import("./wire.types.js").DrmContentItemMedia)[];
|
|
562
130
|
/** Backend request type: AttachmentInput. */
|
|
563
|
-
export
|
|
564
|
-
"media_id": string;
|
|
565
|
-
"slot": string;
|
|
566
|
-
"position"?: number;
|
|
567
|
-
"is_current"?: boolean;
|
|
568
|
-
}
|
|
131
|
+
export type RouterAttachMediaPostInput = import("./wire.types.js").DrmAttachmentInput;
|
|
569
132
|
/** Backend response type: content_item_media::Model. */
|
|
570
|
-
export
|
|
571
|
-
"content_item_id": string;
|
|
572
|
-
"media_id": string;
|
|
573
|
-
"slot": string;
|
|
574
|
-
"position": number;
|
|
575
|
-
"is_current": boolean;
|
|
576
|
-
"created_at": string;
|
|
577
|
-
}
|
|
578
|
-
export type RouterAttachMediaPostResponse = RouterAttachMediaPostResponseData;
|
|
133
|
+
export type RouterAttachMediaPostResponse = import("./wire.types.js").DrmContentItemMedia;
|
|
579
134
|
/** Backend query type: PackageQuery. */
|
|
580
|
-
export
|
|
581
|
-
"package_id"?: string | null;
|
|
582
|
-
}
|
|
135
|
+
export type RouterClearKeyLicenseGetQuery = import("./wire.types.js").DrmPackageQuery;
|
|
583
136
|
/** Backend response type: serde_json::Value. */
|
|
584
|
-
export type RouterClearKeyLicenseGetResponse =
|
|
137
|
+
export type RouterClearKeyLicenseGetResponse = import("./wire.types.js").DrmClearKeyLicense;
|
|
585
138
|
/** Backend query type: ListQuery. */
|
|
586
|
-
export
|
|
587
|
-
"search"?: string | null;
|
|
588
|
-
"media_type"?: string | null;
|
|
589
|
-
"folder_id"?: string | null;
|
|
590
|
-
"tag_id"?: string | null;
|
|
591
|
-
"page"?: number | null;
|
|
592
|
-
"size"?: number | null;
|
|
593
|
-
}
|
|
139
|
+
export type RouterListMediaGetQuery = import("./wire.types.js").DrmMediaListQuery;
|
|
594
140
|
/** Backend response type: Page<MediaResponse>. */
|
|
595
|
-
export type RouterListMediaGetResponse =
|
|
141
|
+
export type RouterListMediaGetResponse = import("./wire.types.js").DrmPage<import("./wire.types.js").DrmMediaRecord>;
|
|
596
142
|
/** Backend request type: multipart/form-data. */
|
|
597
143
|
export type RouterUploadMediaPostInput = FormData;
|
|
598
144
|
/** Backend response type: MediaResponse. */
|
|
599
|
-
export
|
|
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
|
-
}
|
|
622
|
-
export interface RouterUploadMediaPostResponseData extends JsonObject {
|
|
623
|
-
"id": string;
|
|
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;
|
|
637
|
-
"created_at": string;
|
|
638
|
-
"updated_at": string;
|
|
639
|
-
"tags": RouterUploadMediaPostResponseDataTags[];
|
|
640
|
-
"transcription"?: RouterUploadMediaPostResponseDataTranscription | null;
|
|
641
|
-
}
|
|
642
|
-
export type RouterUploadMediaPostResponse = RouterUploadMediaPostResponseData;
|
|
145
|
+
export type RouterUploadMediaPostResponse = import("./wire.types.js").DrmMediaRecord;
|
|
643
146
|
/** Backend response type: no-content. */
|
|
644
147
|
export type RouterDeleteMediaDeleteResponse = void;
|
|
645
148
|
/** Backend response type: MediaResponse. */
|
|
646
|
-
export
|
|
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
|
-
}
|
|
669
|
-
export interface RouterGetMediaGetResponseData extends JsonObject {
|
|
670
|
-
"id": string;
|
|
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;
|
|
684
|
-
"created_at": string;
|
|
685
|
-
"updated_at": string;
|
|
686
|
-
"tags": RouterGetMediaGetResponseDataTags[];
|
|
687
|
-
"transcription"?: RouterGetMediaGetResponseDataTranscription | null;
|
|
688
|
-
}
|
|
689
|
-
export type RouterGetMediaGetResponse = RouterGetMediaGetResponseData;
|
|
149
|
+
export type RouterGetMediaGetResponse = import("./wire.types.js").DrmMediaRecord;
|
|
690
150
|
/** Backend request type: MediaUpdate. */
|
|
691
|
-
export
|
|
692
|
-
"name"?: string | null;
|
|
693
|
-
"description"?: string | null;
|
|
694
|
-
"folder_id"?: string | null;
|
|
695
|
-
"duration_seconds"?: number | null;
|
|
696
|
-
"status"?: string | null;
|
|
697
|
-
"tag_ids"?: string[] | null;
|
|
698
|
-
}
|
|
151
|
+
export type RouterUpdateMediaPatchInput = import("./wire.types.js").DrmMediaUpdate;
|
|
699
152
|
/** Backend response type: MediaResponse. */
|
|
700
|
-
export
|
|
701
|
-
"id": string;
|
|
702
|
-
"name": string;
|
|
703
|
-
"created_at": string;
|
|
704
|
-
}
|
|
705
|
-
export interface RouterUpdateMediaPatchResponseDataTranscription extends JsonObject {
|
|
706
|
-
"id": string;
|
|
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;
|
|
720
|
-
"created_at": string;
|
|
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;
|
|
153
|
+
export type RouterUpdateMediaPatchResponse = import("./wire.types.js").DrmMediaRecord;
|
|
744
154
|
/** Backend response type: Vec<PackageResponse>. */
|
|
745
|
-
export
|
|
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[];
|
|
155
|
+
export type RouterListPackagesGetResponse = (import("./wire.types.js").DrmPackageResponse)[];
|
|
763
156
|
/** Backend request type: Option<DrmConfig. */
|
|
764
|
-
export
|
|
765
|
-
"download"?: boolean;
|
|
766
|
-
"transcode"?: boolean;
|
|
767
|
-
"package"?: boolean;
|
|
768
|
-
"allow_video_only_on_audio_error"?: boolean;
|
|
769
|
-
}
|
|
157
|
+
export type RouterRegeneratePostInput = import("./wire.types.js").DrmConfig | null;
|
|
770
158
|
/** Backend response type: drm_job::Model. */
|
|
771
|
-
export
|
|
772
|
-
"id": string;
|
|
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">;
|
|
783
|
-
"created_at": string;
|
|
784
|
-
"updated_at": string;
|
|
785
|
-
"started_at"?: string | null;
|
|
786
|
-
"completed_at"?: string | null;
|
|
787
|
-
}
|
|
788
|
-
export type RouterRegeneratePostResponse = RouterRegeneratePostResponseData;
|
|
159
|
+
export type RouterRegeneratePostResponse = import("./wire.types.js").DrmJob;
|
|
789
160
|
/** Backend response type: PlaybackResponse. */
|
|
790
|
-
export
|
|
791
|
-
"media_id": string;
|
|
792
|
-
"media_type": string;
|
|
793
|
-
"mime_type": string;
|
|
794
|
-
"url": string;
|
|
795
|
-
"expires_in_seconds": number;
|
|
796
|
-
}
|
|
797
|
-
export type RouterPlaybackGetResponse = RouterPlaybackGetResponseData;
|
|
161
|
+
export type RouterPlaybackGetResponse = import("./wire.types.js").DrmPlayback;
|
|
798
162
|
/** Backend request type: BatchMediaInput. */
|
|
799
|
-
export
|
|
800
|
-
"ids": string[];
|
|
801
|
-
}
|
|
163
|
+
export type RouterBatchMediaPostInput = import("./wire.types.js").DrmBatchMediaInput;
|
|
802
164
|
/** Backend response type: Vec<MediaResponse>. */
|
|
803
|
-
export
|
|
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
|
-
}
|
|
826
|
-
export interface RouterBatchMediaPostResponseItem extends JsonObject {
|
|
827
|
-
"id": string;
|
|
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;
|
|
841
|
-
"created_at": string;
|
|
842
|
-
"updated_at": string;
|
|
843
|
-
"tags": RouterBatchMediaPostResponseItemTags[];
|
|
844
|
-
"transcription"?: RouterBatchMediaPostResponseItemTranscription | null;
|
|
845
|
-
}
|
|
846
|
-
export type RouterBatchMediaPostResponse = RouterBatchMediaPostResponseItem[];
|
|
165
|
+
export type RouterBatchMediaPostResponse = (import("./wire.types.js").DrmMediaRecord)[];
|
|
847
166
|
/** Backend query type: DrmStatusesQuery. */
|
|
848
|
-
export
|
|
849
|
-
"ids": string;
|
|
850
|
-
}
|
|
167
|
+
export type RouterDrmStatusesGetQuery = import("./wire.types.js").DrmStatusesQuery;
|
|
851
168
|
/** Backend response type: Vec<MediaDrmStatusResponse>. */
|
|
852
|
-
export
|
|
853
|
-
"media_id": string;
|
|
854
|
-
"media_type": string;
|
|
855
|
-
"media_status": string;
|
|
856
|
-
"package_status"?: string | null;
|
|
857
|
-
"job_status"?: string | null;
|
|
858
|
-
"effective_status": string;
|
|
859
|
-
}
|
|
860
|
-
export type RouterDrmStatusesGetResponse = RouterDrmStatusesGetResponseItem[];
|
|
169
|
+
export type RouterDrmStatusesGetResponse = (import("./wire.types.js").DrmMediaDrmStatusResponse)[];
|
|
861
170
|
/** Backend response type: no-content. */
|
|
862
171
|
export type RouterArchivePackageDeleteResponse = void;
|
|
863
172
|
/** Backend request type: RegisterMediaInput. */
|
|
864
|
-
export
|
|
865
|
-
"id"?: string | null;
|
|
866
|
-
"object_key": string;
|
|
867
|
-
"original_filename": string;
|
|
868
|
-
"name"?: string | null;
|
|
869
|
-
"description"?: string | null;
|
|
870
|
-
"mime_type": string;
|
|
871
|
-
"size_bytes": number;
|
|
872
|
-
"checksum_sha256"?: string | null;
|
|
873
|
-
"folder_id"?: string | null;
|
|
874
|
-
}
|
|
173
|
+
export type RouterRegisterExistingMediaPostInput = import("./wire.types.js").DrmRegisterMediaInput;
|
|
875
174
|
/** Backend response type: MediaResponse. */
|
|
876
|
-
export
|
|
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
|
-
}
|
|
899
|
-
export interface RouterRegisterExistingMediaPostResponseData extends JsonObject {
|
|
900
|
-
"id": string;
|
|
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;
|
|
914
|
-
"created_at": string;
|
|
915
|
-
"updated_at": string;
|
|
916
|
-
"tags": RouterRegisterExistingMediaPostResponseDataTags[];
|
|
917
|
-
"transcription"?: RouterRegisterExistingMediaPostResponseDataTranscription | null;
|
|
918
|
-
}
|
|
919
|
-
export type RouterRegisterExistingMediaPostResponse = RouterRegisterExistingMediaPostResponseData;
|
|
175
|
+
export type RouterRegisterExistingMediaPostResponse = import("./wire.types.js").DrmMediaRecord;
|
|
920
176
|
/** Backend response type: Vec<mixed_media::Model>. */
|
|
921
|
-
export
|
|
922
|
-
"id": string;
|
|
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;
|
|
931
|
-
"created_at": string;
|
|
932
|
-
"updated_at": string;
|
|
933
|
-
}
|
|
934
|
-
export type RouterListMixedMediaGetResponse = RouterListMixedMediaGetResponseItem[];
|
|
177
|
+
export type RouterListMixedMediaGetResponse = (import("./wire.types.js").DrmMixedMedia)[];
|
|
935
178
|
/** Backend request type: MixedMediaInput. */
|
|
936
|
-
export
|
|
937
|
-
"library_id": string;
|
|
938
|
-
"name": string;
|
|
939
|
-
"description"?: string | null;
|
|
940
|
-
"category_id"?: string | null;
|
|
941
|
-
"transcription_language"?: string | null;
|
|
942
|
-
}
|
|
179
|
+
export type RouterCreateMixedMediaPostInput = import("./wire.types.js").DrmMixedMediaInput;
|
|
943
180
|
/** Backend response type: mixed_media::Model. */
|
|
944
|
-
export
|
|
945
|
-
"id": string;
|
|
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;
|
|
954
|
-
"created_at": string;
|
|
955
|
-
"updated_at": string;
|
|
956
|
-
}
|
|
957
|
-
export type RouterCreateMixedMediaPostResponse = RouterCreateMixedMediaPostResponseData;
|
|
181
|
+
export type RouterCreateMixedMediaPostResponse = import("./wire.types.js").DrmMixedMedia;
|
|
958
182
|
/** Backend response type: no-content. */
|
|
959
183
|
export type RouterDeleteMixedMediaDeleteResponse = void;
|
|
960
184
|
/** Backend response type: mixed_media::Model. */
|
|
961
|
-
export
|
|
962
|
-
"id": string;
|
|
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;
|
|
971
|
-
"created_at": string;
|
|
972
|
-
"updated_at": string;
|
|
973
|
-
}
|
|
974
|
-
export type RouterGetMixedMediaGetResponse = RouterGetMixedMediaGetResponseData;
|
|
185
|
+
export type RouterGetMixedMediaGetResponse = import("./wire.types.js").DrmMixedMedia;
|
|
975
186
|
/** Backend request type: MixedMediaUpdate. */
|
|
976
|
-
export
|
|
977
|
-
"library_id"?: string | null;
|
|
978
|
-
"name"?: string | null;
|
|
979
|
-
"description"?: string | null;
|
|
980
|
-
"status"?: string | null;
|
|
981
|
-
"transcription_language"?: string | null;
|
|
982
|
-
"category_id"?: string | null;
|
|
983
|
-
}
|
|
187
|
+
export type RouterUpdateMixedMediaPatchInput = import("./wire.types.js").DrmMixedMediaUpdate;
|
|
984
188
|
/** Backend response type: mixed_media::Model. */
|
|
985
|
-
export
|
|
986
|
-
"id": string;
|
|
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;
|
|
995
|
-
"created_at": string;
|
|
996
|
-
"updated_at": string;
|
|
997
|
-
}
|
|
998
|
-
export type RouterUpdateMixedMediaPatchResponse = RouterUpdateMixedMediaPatchResponseData;
|
|
189
|
+
export type RouterUpdateMixedMediaPatchResponse = import("./wire.types.js").DrmMixedMedia;
|
|
999
190
|
/** Backend response type: Option<CompositionAnalysis>. */
|
|
1000
|
-
export type RouterGetAnalysisGetResponse =
|
|
191
|
+
export type RouterGetAnalysisGetResponse = import("./wire.types.js").DrmCompositionAnalysis | null;
|
|
1001
192
|
/** Backend request type: StartAnalysisInput. */
|
|
1002
|
-
export
|
|
1003
|
-
"language"?: string | null;
|
|
1004
|
-
"force"?: boolean;
|
|
1005
|
-
}
|
|
193
|
+
export type RouterStartAnalysisPostInput = import("./wire.types.js").DrmStartAnalysisInput | undefined;
|
|
1006
194
|
/** Backend response type: CompositionAnalysis. */
|
|
1007
|
-
export
|
|
1008
|
-
"mixed_media_id": string;
|
|
1009
|
-
"composition_name": string;
|
|
1010
|
-
"manifest_version": number;
|
|
1011
|
-
"model_ref": string;
|
|
1012
|
-
"summary_model_ref"?: string | null;
|
|
1013
|
-
"language": string;
|
|
1014
|
-
"detected_language"?: string | null;
|
|
1015
|
-
"status": string;
|
|
1016
|
-
"transcript"?: string | null;
|
|
1017
|
-
"summary"?: string | null;
|
|
1018
|
-
"last_error"?: string | null;
|
|
1019
|
-
"queued_at": string;
|
|
1020
|
-
"started_at"?: string | null;
|
|
1021
|
-
"completed_at"?: string | null;
|
|
1022
|
-
"updated_at": string;
|
|
1023
|
-
}
|
|
1024
|
-
export type RouterStartAnalysisPostResponse = RouterStartAnalysisPostResponseData;
|
|
195
|
+
export type RouterStartAnalysisPostResponse = import("./wire.types.js").DrmCompositionAnalysis;
|
|
1025
196
|
/** Backend request type: CategoryInput. */
|
|
1026
|
-
export
|
|
1027
|
-
"title": string;
|
|
1028
|
-
"parent_id"?: string | null;
|
|
1029
|
-
}
|
|
197
|
+
export type RouterCreateCategoryPostApiV1MixedMediaIdCategoriesInput = import("./wire.types.js").DrmCategoryInput;
|
|
1030
198
|
/** Backend response type: content_category::Model. */
|
|
1031
|
-
export
|
|
1032
|
-
"id": string;
|
|
1033
|
-
"mixed_media_id"?: string | null;
|
|
1034
|
-
"library_id": string;
|
|
1035
|
-
"parent_id"?: string | null;
|
|
1036
|
-
"title": string;
|
|
1037
|
-
"created_at": string;
|
|
1038
|
-
"updated_at": string;
|
|
1039
|
-
"archived_at"?: string | null;
|
|
1040
|
-
}
|
|
1041
|
-
export type RouterCreateCategoryPostApiV1MixedMediaIdCategoriesResponse = RouterCreateCategoryPostApiV1MixedMediaIdCategoriesResponseData;
|
|
199
|
+
export type RouterCreateCategoryPostApiV1MixedMediaIdCategoriesResponse = import("./wire.types.js").DrmContentCategory;
|
|
1042
200
|
/** Backend response type: KnowledgeSyncSettings. */
|
|
1043
|
-
export
|
|
1044
|
-
"mixed_media_id": string;
|
|
1045
|
-
"enabled": boolean;
|
|
1046
|
-
"knowledge_base_id"?: string | null;
|
|
1047
|
-
"sync_status": string;
|
|
1048
|
-
"synced_manifest_version"?: number | null;
|
|
1049
|
-
"knowledge_document_id"?: string | null;
|
|
1050
|
-
"sync_event_id"?: string | null;
|
|
1051
|
-
"last_error"?: string | null;
|
|
1052
|
-
"last_synced_at"?: string | null;
|
|
1053
|
-
}
|
|
1054
|
-
export type RouterGetSettingsGetApiV1MixedMediaIdKnowledgeSyncResponse = RouterGetSettingsGetApiV1MixedMediaIdKnowledgeSyncResponseData;
|
|
201
|
+
export type RouterGetSettingsGetApiV1MixedMediaIdKnowledgeSyncResponse = import("./wire.types.js").DrmKnowledgeSyncSettings;
|
|
1055
202
|
/** Backend response type: KnowledgeSyncSettings. */
|
|
1056
|
-
export
|
|
1057
|
-
"mixed_media_id": string;
|
|
1058
|
-
"enabled": boolean;
|
|
1059
|
-
"knowledge_base_id"?: string | null;
|
|
1060
|
-
"sync_status": string;
|
|
1061
|
-
"synced_manifest_version"?: number | null;
|
|
1062
|
-
"knowledge_document_id"?: string | null;
|
|
1063
|
-
"sync_event_id"?: string | null;
|
|
1064
|
-
"last_error"?: string | null;
|
|
1065
|
-
"last_synced_at"?: string | null;
|
|
1066
|
-
}
|
|
1067
|
-
export type RouterSyncNowPostResponse = RouterSyncNowPostResponseData;
|
|
203
|
+
export type RouterSyncNowPostResponse = import("./wire.types.js").DrmKnowledgeSyncSettings;
|
|
1068
204
|
/** Backend request type: UpdateKnowledgeSync. */
|
|
1069
|
-
export
|
|
1070
|
-
"enabled": boolean;
|
|
1071
|
-
"knowledge_base_id"?: string | null;
|
|
1072
|
-
}
|
|
205
|
+
export type RouterUpdateSettingsPutInput = import("./wire.types.js").DrmUpdateKnowledgeSync;
|
|
1073
206
|
/** Backend response type: KnowledgeSyncSettings. */
|
|
1074
|
-
export
|
|
1075
|
-
"mixed_media_id": string;
|
|
1076
|
-
"enabled": boolean;
|
|
1077
|
-
"knowledge_base_id"?: string | null;
|
|
1078
|
-
"sync_status": string;
|
|
1079
|
-
"synced_manifest_version"?: number | null;
|
|
1080
|
-
"knowledge_document_id"?: string | null;
|
|
1081
|
-
"sync_event_id"?: string | null;
|
|
1082
|
-
"last_error"?: string | null;
|
|
1083
|
-
"last_synced_at"?: string | null;
|
|
1084
|
-
}
|
|
1085
|
-
export type RouterUpdateSettingsPutResponse = RouterUpdateSettingsPutResponseData;
|
|
207
|
+
export type RouterUpdateSettingsPutResponse = import("./wire.types.js").DrmKnowledgeSyncSettings;
|
|
1086
208
|
/** Backend response type: mixed_media_manifest::Model. */
|
|
1087
|
-
export
|
|
1088
|
-
"id": string;
|
|
1089
|
-
"mixed_media_id": string;
|
|
1090
|
-
"version": number;
|
|
1091
|
-
"document": BackendJson<"Json">;
|
|
1092
|
-
"created_at": string;
|
|
1093
|
-
}
|
|
1094
|
-
export type RouterGetManifestGetResponse = RouterGetManifestGetResponseData;
|
|
209
|
+
export type RouterGetManifestGetResponse = import("./wire.types.js").DrmMixedMediaManifest;
|
|
1095
210
|
/** Backend response type: Vec<mixed_media_manifest::Model>. */
|
|
1096
|
-
export
|
|
1097
|
-
"id": string;
|
|
1098
|
-
"mixed_media_id": string;
|
|
1099
|
-
"version": number;
|
|
1100
|
-
"document": BackendJson<"Json">;
|
|
1101
|
-
"created_at": string;
|
|
1102
|
-
}
|
|
1103
|
-
export type RouterListManifestsGetApiV1MixedMediaIdManifestsResponse = RouterListManifestsGetApiV1MixedMediaIdManifestsResponseItem[];
|
|
211
|
+
export type RouterListManifestsGetApiV1MixedMediaIdManifestsResponse = (import("./wire.types.js").DrmMixedMediaManifest)[];
|
|
1104
212
|
/** Backend request type: PartInput. */
|
|
1105
|
-
export
|
|
1106
|
-
"category_id"?: string | null;
|
|
1107
|
-
"title": string;
|
|
1108
|
-
"state": string;
|
|
1109
|
-
"media_type"?: string | null;
|
|
1110
|
-
"duration_seconds"?: number;
|
|
1111
|
-
"textual"?: JsonValue;
|
|
1112
|
-
"rewards"?: JsonValue;
|
|
1113
|
-
"textual_hint"?: string | null;
|
|
1114
|
-
"game_id"?: string | null;
|
|
1115
|
-
"primary_media_id"?: string | null;
|
|
1116
|
-
"hint_media_id"?: string | null;
|
|
1117
|
-
}
|
|
213
|
+
export type RouterCreatePartPostInput = import("./wire.types.js").DrmPartInput;
|
|
1118
214
|
/** Backend response type: media_part::Model. */
|
|
1119
|
-
export
|
|
1120
|
-
"id": string;
|
|
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;
|
|
1134
|
-
"created_at": string;
|
|
1135
|
-
"updated_at": string;
|
|
1136
|
-
"archived_at"?: string | null;
|
|
1137
|
-
}
|
|
1138
|
-
export type RouterCreatePartPostResponse = RouterCreatePartPostResponseData;
|
|
215
|
+
export type RouterCreatePartPostResponse = import("./wire.types.js").DrmMediaPart;
|
|
1139
216
|
/** Backend response type: mixed_media_manifest::Model. */
|
|
1140
|
-
export
|
|
1141
|
-
"id": string;
|
|
1142
|
-
"mixed_media_id": string;
|
|
1143
|
-
"version": number;
|
|
1144
|
-
"document": BackendJson<"Json">;
|
|
1145
|
-
"created_at": string;
|
|
1146
|
-
}
|
|
1147
|
-
export type RouterPublishPostApiV1MixedMediaIdPublishResponse = RouterPublishPostApiV1MixedMediaIdPublishResponseData;
|
|
217
|
+
export type RouterPublishPostApiV1MixedMediaIdPublishResponse = import("./wire.types.js").DrmMixedMediaManifest;
|
|
1148
218
|
/** Backend response type: EditorResources. */
|
|
1149
|
-
export
|
|
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
|
-
}
|
|
1178
|
-
export interface RouterResourcesGetResponseData extends JsonObject {
|
|
1179
|
-
"categories": RouterResourcesGetResponseDataCategories[];
|
|
1180
|
-
"parts": RouterResourcesGetResponseDataParts[];
|
|
1181
|
-
}
|
|
1182
|
-
export type RouterResourcesGetResponse = RouterResourcesGetResponseData;
|
|
219
|
+
export type RouterResourcesGetResponse = import("./wire.types.js").DrmEditorResources;
|
|
1183
220
|
/** Backend response type: mixed_media_workflow::Model. */
|
|
1184
|
-
export
|
|
1185
|
-
"mixed_media_id": string;
|
|
1186
|
-
"nodes": BackendJson<"Json">;
|
|
1187
|
-
"edges": BackendJson<"Json">;
|
|
1188
|
-
"revision": number;
|
|
1189
|
-
"updated_at": string;
|
|
1190
|
-
}
|
|
1191
|
-
export type RouterGetWorkflowGetApiV1MixedMediaIdWorkflowResponse = RouterGetWorkflowGetApiV1MixedMediaIdWorkflowResponseData;
|
|
221
|
+
export type RouterGetWorkflowGetApiV1MixedMediaIdWorkflowResponse = import("./wire.types.js").DrmMixedMediaWorkflow;
|
|
1192
222
|
/** Backend request type: WorkflowInput. */
|
|
1193
|
-
export
|
|
1194
|
-
"nodes": JsonValue;
|
|
1195
|
-
"edges": JsonValue;
|
|
1196
|
-
}
|
|
223
|
+
export type RouterSaveWorkflowPutApiV1MixedMediaIdWorkflowInput = import("./wire.types.js").DrmWorkflowInput;
|
|
1197
224
|
/** Backend response type: mixed_media_workflow::Model. */
|
|
1198
|
-
export
|
|
1199
|
-
"mixed_media_id": string;
|
|
1200
|
-
"nodes": BackendJson<"Json">;
|
|
1201
|
-
"edges": BackendJson<"Json">;
|
|
1202
|
-
"revision": number;
|
|
1203
|
-
"updated_at": string;
|
|
1204
|
-
}
|
|
1205
|
-
export type RouterSaveWorkflowPutApiV1MixedMediaIdWorkflowResponse = RouterSaveWorkflowPutApiV1MixedMediaIdWorkflowResponseData;
|
|
225
|
+
export type RouterSaveWorkflowPutApiV1MixedMediaIdWorkflowResponse = import("./wire.types.js").DrmMixedMediaWorkflow;
|
|
1206
226
|
/** Backend response type: no-content. */
|
|
1207
227
|
export type RouterDeleteCategoryDeleteResponse = void;
|
|
1208
228
|
/** Backend request type: CategoryInput. */
|
|
1209
|
-
export
|
|
1210
|
-
"title": string;
|
|
1211
|
-
"parent_id"?: string | null;
|
|
1212
|
-
}
|
|
229
|
+
export type RouterUpdateCategoryPatchApiV1MixedMediaMixedIdCategoriesIdInput = import("./wire.types.js").DrmCategoryInput;
|
|
1213
230
|
/** Backend response type: content_category::Model. */
|
|
1214
|
-
export
|
|
1215
|
-
"id": string;
|
|
1216
|
-
"mixed_media_id"?: string | null;
|
|
1217
|
-
"library_id": string;
|
|
1218
|
-
"parent_id"?: string | null;
|
|
1219
|
-
"title": string;
|
|
1220
|
-
"created_at": string;
|
|
1221
|
-
"updated_at": string;
|
|
1222
|
-
"archived_at"?: string | null;
|
|
1223
|
-
}
|
|
1224
|
-
export type RouterUpdateCategoryPatchApiV1MixedMediaMixedIdCategoriesIdResponse = RouterUpdateCategoryPatchApiV1MixedMediaMixedIdCategoriesIdResponseData;
|
|
231
|
+
export type RouterUpdateCategoryPatchApiV1MixedMediaMixedIdCategoriesIdResponse = import("./wire.types.js").DrmContentCategory;
|
|
1225
232
|
/** Backend response type: no-content. */
|
|
1226
233
|
export type RouterDeletePartDeleteResponse = void;
|
|
1227
234
|
/** Backend response type: media_part::Model. */
|
|
1228
|
-
export
|
|
1229
|
-
"id": string;
|
|
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;
|
|
1243
|
-
"created_at": string;
|
|
1244
|
-
"updated_at": string;
|
|
1245
|
-
"archived_at"?: string | null;
|
|
1246
|
-
}
|
|
1247
|
-
export type RouterGetPartGetResponse = RouterGetPartGetResponseData;
|
|
235
|
+
export type RouterGetPartGetResponse = import("./wire.types.js").DrmMediaPart;
|
|
1248
236
|
/** Backend request type: PartInput. */
|
|
1249
|
-
export
|
|
1250
|
-
"category_id"?: string | null;
|
|
1251
|
-
"title": string;
|
|
1252
|
-
"state": string;
|
|
1253
|
-
"media_type"?: string | null;
|
|
1254
|
-
"duration_seconds"?: number;
|
|
1255
|
-
"textual"?: JsonValue;
|
|
1256
|
-
"rewards"?: JsonValue;
|
|
1257
|
-
"textual_hint"?: string | null;
|
|
1258
|
-
"game_id"?: string | null;
|
|
1259
|
-
"primary_media_id"?: string | null;
|
|
1260
|
-
"hint_media_id"?: string | null;
|
|
1261
|
-
}
|
|
237
|
+
export type RouterUpdatePartPutInput = import("./wire.types.js").DrmPartInput;
|
|
1262
238
|
/** Backend response type: media_part::Model. */
|
|
1263
|
-
export
|
|
1264
|
-
"id": string;
|
|
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;
|
|
1278
|
-
"created_at": string;
|
|
1279
|
-
"updated_at": string;
|
|
1280
|
-
"archived_at"?: string | null;
|
|
1281
|
-
}
|
|
1282
|
-
export type RouterUpdatePartPutResponse = RouterUpdatePartPutResponseData;
|
|
239
|
+
export type RouterUpdatePartPutResponse = import("./wire.types.js").DrmMediaPart;
|
|
1283
240
|
/** Backend response type: serde_json::Value. */
|
|
1284
|
-
export type RouterHealthGetResponse =
|
|
241
|
+
export type RouterHealthGetResponse = import("./wire.types.js").DrmHealth;
|
|
1285
242
|
/** Backend response type: Value. */
|
|
1286
|
-
export type RouterKnowledgeCatalogGetResponse =
|
|
243
|
+
export type RouterKnowledgeCatalogGetResponse = import("./wire.types.js").DrmKnowledgeCatalog;
|
|
1287
244
|
/** Backend response type: SettingsResponse. */
|
|
1288
|
-
export
|
|
1289
|
-
"package_concurrency": number;
|
|
1290
|
-
"transcription_enabled": boolean;
|
|
1291
|
-
"transcription_model_ref"?: string | null;
|
|
1292
|
-
"summary_model_ref"?: string | null;
|
|
1293
|
-
}
|
|
1294
|
-
export type RouterGetSettingsGetApiV1OperationsSettingsResponse = RouterGetSettingsGetApiV1OperationsSettingsResponseData;
|
|
245
|
+
export type RouterGetSettingsGetApiV1OperationsSettingsResponse = import("./wire.types.js").DrmSettingsResponse;
|
|
1295
246
|
/** Backend request type: SettingsInput. */
|
|
1296
|
-
export
|
|
1297
|
-
"package_concurrency": number;
|
|
1298
|
-
"transcription_enabled"?: boolean;
|
|
1299
|
-
"transcription_model_ref"?: string | null;
|
|
1300
|
-
"summary_model_ref"?: string | null;
|
|
1301
|
-
}
|
|
247
|
+
export type RouterUpdateSettingsPatchInput = import("./wire.types.js").DrmSettingsInput;
|
|
1302
248
|
/** Backend response type: SettingsResponse. */
|
|
1303
|
-
export
|
|
1304
|
-
"package_concurrency": number;
|
|
1305
|
-
"transcription_enabled": boolean;
|
|
1306
|
-
"transcription_model_ref"?: string | null;
|
|
1307
|
-
"summary_model_ref"?: string | null;
|
|
1308
|
-
}
|
|
1309
|
-
export type RouterUpdateSettingsPatchResponse = RouterUpdateSettingsPatchResponseData;
|
|
249
|
+
export type RouterUpdateSettingsPatchResponse = import("./wire.types.js").DrmSettingsResponse;
|
|
1310
250
|
/** Backend response type: Vec<TranscriptionModel>. */
|
|
1311
|
-
export
|
|
1312
|
-
"model_ref": string;
|
|
1313
|
-
"model": string;
|
|
1314
|
-
"provider_label": string;
|
|
1315
|
-
"source": string;
|
|
1316
|
-
"capabilities": string[];
|
|
1317
|
-
}
|
|
1318
|
-
export type RouterTranscriptionModelsGetResponse = RouterTranscriptionModelsGetResponseItem[];
|
|
251
|
+
export type RouterTranscriptionModelsGetResponse = (import("./wire.types.js").DrmTranscriptionModel)[];
|
|
1319
252
|
/** Backend request type: LegacyPackageInput. */
|
|
1320
|
-
export
|
|
1321
|
-
"id": string;
|
|
1322
|
-
"download"?: boolean;
|
|
1323
|
-
"transcode"?: boolean;
|
|
1324
|
-
"package"?: boolean;
|
|
1325
|
-
}
|
|
253
|
+
export type RouterLegacyEnqueuePostInput = import("./wire.types.js").DrmLegacyPackageInput;
|
|
1326
254
|
/** Backend response type: serde_json::Value. */
|
|
1327
|
-
export type RouterLegacyEnqueuePostResponse =
|
|
255
|
+
export type RouterLegacyEnqueuePostResponse = import("./wire.types.js").DrmLegacyEnqueue;
|
|
1328
256
|
/** Backend response type: serde_json::Value. */
|
|
1329
|
-
export type RouterLegacyStatusGetResponse =
|
|
257
|
+
export type RouterLegacyStatusGetResponse = import("./wire.types.js").DrmLegacyStatus;
|
|
1330
258
|
/** Backend response type: raw-response. */
|
|
1331
|
-
export
|
|
1332
|
-
}
|
|
259
|
+
export type RouterPackageFileGetResponse = import("./wire.types.js").DrmPackageFile;
|
|
1333
260
|
/** Backend response type: serde_json::Value. */
|
|
1334
|
-
export type RouterStatusGetResponse =
|
|
261
|
+
export type RouterStatusGetResponse = import("./wire.types.js").DrmStatus;
|
|
1335
262
|
/** Backend response type: Vec<tag::Model>. */
|
|
1336
|
-
export
|
|
1337
|
-
"id": string;
|
|
1338
|
-
"name": string;
|
|
1339
|
-
"created_at": string;
|
|
1340
|
-
}
|
|
1341
|
-
export type RouterListTagsGetResponse = RouterListTagsGetResponseItem[];
|
|
263
|
+
export type RouterListTagsGetResponse = (import("./wire.types.js").DrmTag)[];
|
|
1342
264
|
/** Backend request type: TagInput. */
|
|
1343
|
-
export
|
|
1344
|
-
"name": string;
|
|
1345
|
-
}
|
|
265
|
+
export type RouterCreateTagPostInput = import("./wire.types.js").DrmTagInput;
|
|
1346
266
|
/** Backend response type: tag::Model. */
|
|
1347
|
-
export
|
|
1348
|
-
"id": string;
|
|
1349
|
-
"name": string;
|
|
1350
|
-
"created_at": string;
|
|
1351
|
-
}
|
|
1352
|
-
export type RouterCreateTagPostResponse = RouterCreateTagPostResponseData;
|
|
267
|
+
export type RouterCreateTagPostResponse = import("./wire.types.js").DrmTag;
|
|
1353
268
|
/** Backend response type: no-content. */
|
|
1354
269
|
export type RouterDeleteTagDeleteResponse = void;
|
|
1355
270
|
/** Backend request type: UploadSessionInput. */
|
|
1356
|
-
export
|
|
1357
|
-
"media_id"?: string | null;
|
|
1358
|
-
"filename": string;
|
|
1359
|
-
"name"?: string | null;
|
|
1360
|
-
"description"?: string | null;
|
|
1361
|
-
"mime_type": string;
|
|
1362
|
-
"folder_id"?: string | null;
|
|
1363
|
-
"total_bytes": number;
|
|
1364
|
-
"part_size"?: number | null;
|
|
1365
|
-
}
|
|
271
|
+
export type RouterCreateUploadSessionPostInput = import("./wire.types.js").DrmUploadSessionInput;
|
|
1366
272
|
/** Backend response type: UploadSessionResponse. */
|
|
1367
|
-
export
|
|
1368
|
-
"session_id": string;
|
|
1369
|
-
"part_number": number;
|
|
1370
|
-
"etag": string;
|
|
1371
|
-
"size_bytes": number;
|
|
1372
|
-
"created_at": string;
|
|
1373
|
-
}
|
|
1374
|
-
export interface RouterCreateUploadSessionPostResponseData extends JsonObject {
|
|
1375
|
-
"id": string;
|
|
1376
|
-
"media_id": string;
|
|
1377
|
-
"object_key": string;
|
|
1378
|
-
"multipart_upload_id": string;
|
|
1379
|
-
"filename": string;
|
|
1380
|
-
"name": string;
|
|
1381
|
-
"description"?: string | null;
|
|
1382
|
-
"mime_type": string;
|
|
1383
|
-
"media_type": string;
|
|
1384
|
-
"folder_id"?: string | null;
|
|
1385
|
-
"total_bytes": number;
|
|
1386
|
-
"part_size": number;
|
|
1387
|
-
"checksum_sha256"?: string | null;
|
|
1388
|
-
"status": string;
|
|
1389
|
-
"error"?: string | null;
|
|
1390
|
-
"expires_at": string;
|
|
1391
|
-
"created_at": string;
|
|
1392
|
-
"updated_at": string;
|
|
1393
|
-
"completed_at"?: string | null;
|
|
1394
|
-
"parts": RouterCreateUploadSessionPostResponseDataParts[];
|
|
1395
|
-
}
|
|
1396
|
-
export type RouterCreateUploadSessionPostResponse = RouterCreateUploadSessionPostResponseData;
|
|
273
|
+
export type RouterCreateUploadSessionPostResponse = import("./wire.types.js").DrmUploadSessionResponse;
|
|
1397
274
|
/** Backend response type: no-content. */
|
|
1398
275
|
export type RouterCancelUploadDeleteResponse = void;
|
|
1399
276
|
/** Backend response type: UploadSessionResponse. */
|
|
1400
|
-
export
|
|
1401
|
-
"session_id": string;
|
|
1402
|
-
"part_number": number;
|
|
1403
|
-
"etag": string;
|
|
1404
|
-
"size_bytes": number;
|
|
1405
|
-
"created_at": string;
|
|
1406
|
-
}
|
|
1407
|
-
export interface RouterGetUploadSessionGetResponseData extends JsonObject {
|
|
1408
|
-
"id": string;
|
|
1409
|
-
"media_id": string;
|
|
1410
|
-
"object_key": string;
|
|
1411
|
-
"multipart_upload_id": string;
|
|
1412
|
-
"filename": string;
|
|
1413
|
-
"name": string;
|
|
1414
|
-
"description"?: string | null;
|
|
1415
|
-
"mime_type": string;
|
|
1416
|
-
"media_type": string;
|
|
1417
|
-
"folder_id"?: string | null;
|
|
1418
|
-
"total_bytes": number;
|
|
1419
|
-
"part_size": number;
|
|
1420
|
-
"checksum_sha256"?: string | null;
|
|
1421
|
-
"status": string;
|
|
1422
|
-
"error"?: string | null;
|
|
1423
|
-
"expires_at": string;
|
|
1424
|
-
"created_at": string;
|
|
1425
|
-
"updated_at": string;
|
|
1426
|
-
"completed_at"?: string | null;
|
|
1427
|
-
"parts": RouterGetUploadSessionGetResponseDataParts[];
|
|
1428
|
-
}
|
|
1429
|
-
export type RouterGetUploadSessionGetResponse = RouterGetUploadSessionGetResponseData;
|
|
277
|
+
export type RouterGetUploadSessionGetResponse = import("./wire.types.js").DrmUploadSessionResponse;
|
|
1430
278
|
/** Backend request type: CompleteUploadInput. */
|
|
1431
|
-
export
|
|
1432
|
-
"checksum_sha256"?: string | null;
|
|
1433
|
-
}
|
|
279
|
+
export type RouterCompleteUploadPostInput = import("./wire.types.js").DrmCompleteUploadInput;
|
|
1434
280
|
/** Backend response type: MediaResponse. */
|
|
1435
|
-
export
|
|
1436
|
-
"id": string;
|
|
1437
|
-
"name": string;
|
|
1438
|
-
"created_at": string;
|
|
1439
|
-
}
|
|
1440
|
-
export interface RouterCompleteUploadPostResponseDataTranscription extends JsonObject {
|
|
1441
|
-
"id": string;
|
|
1442
|
-
"media_id": string;
|
|
1443
|
-
"model_ref": string;
|
|
1444
|
-
"language": string;
|
|
1445
|
-
"detected_language"?: string | null;
|
|
1446
|
-
"status": string;
|
|
1447
|
-
"transcript"?: string | null;
|
|
1448
|
-
"last_error"?: string | null;
|
|
1449
|
-
"attempts": number;
|
|
1450
|
-
"max_attempts": number;
|
|
1451
|
-
"next_retry_at"?: string | null;
|
|
1452
|
-
"queued_at": string;
|
|
1453
|
-
"started_at"?: string | null;
|
|
1454
|
-
"completed_at"?: string | null;
|
|
1455
|
-
"created_at": string;
|
|
1456
|
-
"updated_at": string;
|
|
1457
|
-
}
|
|
1458
|
-
export interface RouterCompleteUploadPostResponseData extends JsonObject {
|
|
1459
|
-
"id": string;
|
|
1460
|
-
"folder_id"?: string | null;
|
|
1461
|
-
"name": string;
|
|
1462
|
-
"description"?: string | null;
|
|
1463
|
-
"media_type": string;
|
|
1464
|
-
"mime_type": string;
|
|
1465
|
-
"object_key": string;
|
|
1466
|
-
"bucket": string;
|
|
1467
|
-
"size_bytes": number;
|
|
1468
|
-
"duration_seconds"?: number | null;
|
|
1469
|
-
"status": string;
|
|
1470
|
-
"original_filename"?: string | null;
|
|
1471
|
-
"checksum_sha256"?: string | null;
|
|
1472
|
-
"archived_at"?: string | null;
|
|
1473
|
-
"created_at": string;
|
|
1474
|
-
"updated_at": string;
|
|
1475
|
-
"tags": RouterCompleteUploadPostResponseDataTags[];
|
|
1476
|
-
"transcription"?: RouterCompleteUploadPostResponseDataTranscription | null;
|
|
1477
|
-
}
|
|
1478
|
-
export type RouterCompleteUploadPostResponse = RouterCompleteUploadPostResponseData;
|
|
281
|
+
export type RouterCompleteUploadPostResponse = import("./wire.types.js").DrmMediaRecord;
|
|
1479
282
|
/** Backend request type: binary byte stream. */
|
|
1480
|
-
export type RouterPutUploadPartPutInput =
|
|
283
|
+
export type RouterPutUploadPartPutInput = import("./wire.types.js").DrmUploadPartBody;
|
|
1481
284
|
/** Backend response type: upload_part::Model. */
|
|
1482
|
-
export
|
|
1483
|
-
"session_id": string;
|
|
1484
|
-
"part_number": number;
|
|
1485
|
-
"etag": string;
|
|
1486
|
-
"size_bytes": number;
|
|
1487
|
-
"created_at": string;
|
|
1488
|
-
}
|
|
1489
|
-
export type RouterPutUploadPartPutResponse = RouterPutUploadPartPutResponseData;
|
|
285
|
+
export type RouterPutUploadPartPutResponse = import("./wire.types.js").DrmUploadPart;
|
|
1490
286
|
//# sourceMappingURL=operations.types.d.ts.map
|