@faiber/faiber-drm 0.23.0 → 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
package/dist/operations.js
CHANGED
|
@@ -1,1084 +1,1090 @@
|
|
|
1
1
|
import { ServiceApi, urlEncoded } from "@faiber/sdk-core";
|
|
2
|
+
function wildcardPath(path) {
|
|
3
|
+
const parts = String(path).split("/");
|
|
4
|
+
if (parts.some(part => !part || part === "." || part === ".." || /[%?#\\]/.test(part)))
|
|
5
|
+
throw new TypeError("Wildcard paths require nonempty raw segments without dot traversal, percent escapes, query, fragment or backslash");
|
|
6
|
+
return parts.map(part => encodeURIComponent(part)).join("/");
|
|
7
|
+
}
|
|
2
8
|
export class DrmOperations extends ServiceApi {
|
|
3
9
|
/**
|
|
4
|
-
*
|
|
10
|
+
* Page audit events descending created_at; defaults page1,size50, clamps1..100; from/to inclusive timestamps.
|
|
5
11
|
* Calls `GET /api/v1/audit-events` through the shared IDP-aware Faiber client.
|
|
6
12
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
7
13
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
8
|
-
* @returns The complete Axios response, including the typed
|
|
9
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:audit:read.
|
|
14
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
15
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:audit:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
10
16
|
*/
|
|
11
17
|
routerAuditEventsGet(params, options) {
|
|
12
18
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/audit-events`, params });
|
|
13
19
|
}
|
|
14
20
|
/**
|
|
15
|
-
*
|
|
21
|
+
* Page composition analyses with search/status/time filters; defaults page1,size20 with size clamped1..100.
|
|
16
22
|
* Calls `GET /api/v1/composition-analyses` through the shared IDP-aware Faiber client.
|
|
17
23
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
18
24
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
19
|
-
* @returns The complete Axios response, including the typed
|
|
20
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
25
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
26
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
21
27
|
*/
|
|
22
28
|
routerListAnalysesGet(params, options) {
|
|
23
29
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/composition-analyses`, params });
|
|
24
30
|
}
|
|
25
31
|
/**
|
|
26
|
-
*
|
|
32
|
+
* List composition categories. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
27
33
|
* Calls `GET /api/v1/composition-categories` through the shared IDP-aware Faiber client.
|
|
28
34
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
29
|
-
* @returns The complete Axios response, including the typed
|
|
30
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
35
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
36
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
31
37
|
*/
|
|
32
38
|
routerListCompositionCategoriesGet(options) {
|
|
33
39
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/composition-categories` });
|
|
34
40
|
}
|
|
35
41
|
/**
|
|
36
|
-
*
|
|
42
|
+
* Create composition category. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
37
43
|
* Calls `POST /api/v1/composition-categories` through the shared IDP-aware Faiber client.
|
|
38
44
|
* @param data Typed JSON request body.
|
|
39
45
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
40
|
-
* @returns The complete Axios response, including the typed
|
|
41
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
46
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
47
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
42
48
|
*/
|
|
43
49
|
routerCreateCompositionCategoryPost(data, options) {
|
|
44
50
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/composition-categories`, data: data });
|
|
45
51
|
}
|
|
46
52
|
/**
|
|
47
|
-
*
|
|
53
|
+
* Delete composition category. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
48
54
|
* Calls `DELETE /api/v1/composition-categories/{id}` through the shared IDP-aware Faiber client.
|
|
49
55
|
* @param id Backend path identifier `id`.
|
|
50
56
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
51
|
-
* @returns The complete Axios response, including the typed
|
|
52
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
57
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
58
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
53
59
|
*/
|
|
54
60
|
routerDeleteCompositionCategoryDelete(id, options) {
|
|
55
61
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/composition-categories/${encodeURIComponent(id)}` });
|
|
56
62
|
}
|
|
57
63
|
/**
|
|
58
|
-
*
|
|
64
|
+
* Update composition category. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
59
65
|
* Calls `PATCH /api/v1/composition-categories/{id}` through the shared IDP-aware Faiber client.
|
|
60
66
|
* @param id Backend path identifier `id`.
|
|
61
67
|
* @param data Typed JSON request body.
|
|
62
68
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
63
|
-
* @returns The complete Axios response, including the typed
|
|
64
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
69
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
70
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
65
71
|
*/
|
|
66
72
|
routerUpdateCompositionCategoryPatch(id, data, options) {
|
|
67
73
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/composition-categories/${encodeURIComponent(id)}`, data: data });
|
|
68
74
|
}
|
|
69
75
|
/**
|
|
70
|
-
*
|
|
76
|
+
* Page compositions by updated time descending; defaults page1,size20 (clamps1..100). uncategorized=true overrides category_id; category filter includes descendants; search matches name/description.
|
|
71
77
|
* Calls `GET /api/v1/compositions` through the shared IDP-aware Faiber client.
|
|
72
78
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
73
79
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
74
|
-
* @returns The complete Axios response, including the typed
|
|
75
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
80
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
81
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
76
82
|
*/
|
|
77
83
|
routerListCompositionsGet(params, options) {
|
|
78
84
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/compositions`, params });
|
|
79
85
|
}
|
|
80
86
|
/**
|
|
81
|
-
*
|
|
87
|
+
* Create composition. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
82
88
|
* Calls `POST /api/v1/compositions` through the shared IDP-aware Faiber client.
|
|
83
89
|
* @param data Typed JSON request body.
|
|
84
90
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
85
|
-
* @returns The complete Axios response, including the typed
|
|
86
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
91
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
92
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
87
93
|
*/
|
|
88
94
|
routerCreateCompositionPost(data, options) {
|
|
89
95
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/compositions`, data: data });
|
|
90
96
|
}
|
|
91
97
|
/**
|
|
92
|
-
*
|
|
98
|
+
* List manifests. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
93
99
|
* Calls `GET /api/v1/compositions/{id}/manifests` through the shared IDP-aware Faiber client.
|
|
94
100
|
* @param id Backend path identifier `id`.
|
|
95
101
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
96
|
-
* @returns The complete Axios response, including the typed
|
|
97
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
102
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
103
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
98
104
|
*/
|
|
99
105
|
routerListManifestsGetApiV1CompositionsIdManifests(id, options) {
|
|
100
106
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/compositions/${encodeURIComponent(id)}/manifests` });
|
|
101
107
|
}
|
|
102
108
|
/**
|
|
103
|
-
*
|
|
109
|
+
* Store caller-supplied historical JSON document and increment composition manifest version. Existing explicit manifest ID returns200, otherwise201.
|
|
104
110
|
* Calls `POST /api/v1/compositions/{id}/manifests` through the shared IDP-aware Faiber client.
|
|
105
111
|
* @param id Backend path identifier `id`.
|
|
106
112
|
* @param data Typed JSON request body.
|
|
107
113
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
108
|
-
* @returns The complete Axios response, including the typed
|
|
109
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
114
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
115
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
110
116
|
*/
|
|
111
117
|
routerCreateManifestVersionPost(id, data, options) {
|
|
112
118
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/compositions/${encodeURIComponent(id)}/manifests`, data: data });
|
|
113
119
|
}
|
|
114
120
|
/**
|
|
115
|
-
*
|
|
121
|
+
* Validate a nonempty, singly started, connected acyclic workflow and ready video references, then create versioned manifest201. Referenced unarchived items may come from other libraries; launches Knowledge sync/optional analysis.
|
|
116
122
|
* Calls `POST /api/v1/compositions/{id}/publish` through the shared IDP-aware Faiber client.
|
|
117
123
|
* @param id Backend path identifier `id`.
|
|
118
124
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
119
|
-
* @returns The complete Axios response, including the typed
|
|
120
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
125
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
126
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
121
127
|
*/
|
|
122
128
|
routerPublishPostApiV1CompositionsIdPublish(id, options) {
|
|
123
129
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/compositions/${encodeURIComponent(id)}/publish` });
|
|
124
130
|
}
|
|
125
131
|
/**
|
|
126
|
-
*
|
|
132
|
+
* Get workflow. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
127
133
|
* Calls `GET /api/v1/compositions/{id}/workflow` through the shared IDP-aware Faiber client.
|
|
128
134
|
* @param id Backend path identifier `id`.
|
|
129
135
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
130
|
-
* @returns The complete Axios response, including the typed
|
|
131
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
136
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
137
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
132
138
|
*/
|
|
133
139
|
routerGetWorkflowGetApiV1CompositionsIdWorkflow(id, options) {
|
|
134
140
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/compositions/${encodeURIComponent(id)}/workflow` });
|
|
135
141
|
}
|
|
136
142
|
/**
|
|
137
|
-
*
|
|
143
|
+
* Replace nodes and edges arrays and increment revision; returns400 if either is not an array. Node data remains editor-defined JSON.
|
|
138
144
|
* Calls `PUT /api/v1/compositions/{id}/workflow` through the shared IDP-aware Faiber client.
|
|
139
145
|
* @param id Backend path identifier `id`.
|
|
140
146
|
* @param data Typed JSON request body.
|
|
141
147
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
142
|
-
* @returns The complete Axios response, including the typed
|
|
143
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
148
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
149
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
144
150
|
*/
|
|
145
151
|
routerSaveWorkflowPutApiV1CompositionsIdWorkflow(id, data, options) {
|
|
146
152
|
return this.client.request({ ...options, method: "PUT", url: `/api/v1/compositions/${encodeURIComponent(id)}/workflow`, data: data });
|
|
147
153
|
}
|
|
148
154
|
/**
|
|
149
|
-
*
|
|
155
|
+
* Read global media/content/package counts and latest10 updated jobs.
|
|
150
156
|
* Calls `GET /api/v1/dashboard/summary` through the shared IDP-aware Faiber client.
|
|
151
157
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
152
|
-
* @returns The complete Axios response, including the typed
|
|
153
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:read.
|
|
158
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
159
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
154
160
|
*/
|
|
155
161
|
routerDashboardGet(options) {
|
|
156
162
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/dashboard/summary` });
|
|
157
163
|
}
|
|
158
164
|
/**
|
|
159
|
-
*
|
|
165
|
+
* Page DRM jobs newest first; defaults page1,size30 (clamps1..100); status/media_id/from/to filters combine. Response flattens job and adds media_name/media_type.
|
|
160
166
|
* Calls `GET /api/v1/drm/jobs` through the shared IDP-aware Faiber client.
|
|
161
167
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
162
168
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
163
|
-
* @returns The complete Axios response, including the typed
|
|
164
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:package:read.
|
|
169
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
170
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:package:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
165
171
|
*/
|
|
166
172
|
routerListJobsGet(params, options) {
|
|
167
173
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/drm/jobs`, params });
|
|
168
174
|
}
|
|
169
175
|
/**
|
|
170
|
-
*
|
|
176
|
+
* Enqueue video packaging (audio/image400); deduplicate existing queued/processing/retrying job; full config defaults true/true/true/false; returns202.
|
|
171
177
|
* Calls `POST /api/v1/drm/jobs` through the shared IDP-aware Faiber client.
|
|
172
178
|
* @param data Typed JSON request body.
|
|
173
179
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
174
|
-
* @returns The complete Axios response, including the typed
|
|
175
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:package:write.
|
|
180
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
181
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:package:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
176
182
|
*/
|
|
177
183
|
routerCreateJobPost(data, options) {
|
|
178
184
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/drm/jobs`, data: data });
|
|
179
185
|
}
|
|
180
186
|
/**
|
|
181
|
-
*
|
|
187
|
+
* Cancel active job and update package/media transactionally; finished job400; success204.
|
|
182
188
|
* Calls `DELETE /api/v1/drm/jobs/{id}` through the shared IDP-aware Faiber client.
|
|
183
189
|
* @param id Backend path identifier `id`.
|
|
184
190
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
185
|
-
* @returns The complete Axios response, including the typed
|
|
186
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:package:write.
|
|
191
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
192
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:package:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
187
193
|
*/
|
|
188
194
|
routerCancelJobDelete(id, options) {
|
|
189
195
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/drm/jobs/${encodeURIComponent(id)}` });
|
|
190
196
|
}
|
|
191
197
|
/**
|
|
192
|
-
*
|
|
198
|
+
* Retry failed/cancelled job, optionally replacing config (undefined omits body); other states400. Resets package/media and queue state transactionally.
|
|
193
199
|
* Calls `POST /api/v1/drm/jobs/{id}/retry` through the shared IDP-aware Faiber client.
|
|
194
200
|
* @param id Backend path identifier `id`.
|
|
195
201
|
* @param data Typed JSON request body.
|
|
196
202
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
197
|
-
* @returns The complete Axios response, including the typed
|
|
198
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:package:write.
|
|
203
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
204
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:package:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
199
205
|
*/
|
|
200
206
|
routerRetryJobPost(id, data, options) {
|
|
201
207
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/drm/jobs/${encodeURIComponent(id)}/retry`, data: data });
|
|
202
208
|
}
|
|
203
209
|
/**
|
|
204
|
-
*
|
|
210
|
+
* Retry only newest failed job per media and skip any media with active work; returns count.
|
|
205
211
|
* Calls `POST /api/v1/drm/jobs/actions/retry-failed` through the shared IDP-aware Faiber client.
|
|
206
212
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
207
|
-
* @returns The complete Axios response, including the typed
|
|
208
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:package:write.
|
|
213
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
214
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:package:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
209
215
|
*/
|
|
210
216
|
routerRetryAllFailedPost(options) {
|
|
211
217
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/drm/jobs/actions/retry-failed` });
|
|
212
218
|
}
|
|
213
219
|
/**
|
|
214
|
-
*
|
|
220
|
+
* List external references. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
215
221
|
* Calls `GET /api/v1/external-references` through the shared IDP-aware Faiber client.
|
|
216
222
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
217
223
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
218
|
-
* @returns The complete Axios response, including the typed
|
|
219
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
224
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
225
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
220
226
|
*/
|
|
221
227
|
routerListExternalReferencesGet(params, options) {
|
|
222
228
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/external-references`, params });
|
|
223
229
|
}
|
|
224
230
|
/**
|
|
225
|
-
*
|
|
231
|
+
* Create external mapping or return existing identical mapping; conflicting internal target409; existing metadata is preserved.
|
|
226
232
|
* Calls `POST /api/v1/external-references` through the shared IDP-aware Faiber client.
|
|
227
233
|
* @param data Typed JSON request body.
|
|
228
234
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
229
|
-
* @returns The complete Axios response, including the typed
|
|
230
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
235
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
236
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
231
237
|
*/
|
|
232
238
|
routerUpsertExternalReferencePost(data, options) {
|
|
233
239
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/external-references`, data: data });
|
|
234
240
|
}
|
|
235
241
|
/**
|
|
236
|
-
*
|
|
242
|
+
* List folders. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
237
243
|
* Calls `GET /api/v1/folders` through the shared IDP-aware Faiber client.
|
|
238
244
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
239
|
-
* @returns The complete Axios response, including the typed
|
|
240
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:read.
|
|
245
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
246
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
241
247
|
*/
|
|
242
248
|
routerListFoldersGet(options) {
|
|
243
249
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/folders` });
|
|
244
250
|
}
|
|
245
251
|
/**
|
|
246
|
-
*
|
|
252
|
+
* Create folder. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
247
253
|
* Calls `POST /api/v1/folders` through the shared IDP-aware Faiber client.
|
|
248
254
|
* @param data Typed JSON request body.
|
|
249
255
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
250
|
-
* @returns The complete Axios response, including the typed
|
|
251
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
256
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
257
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
252
258
|
*/
|
|
253
259
|
routerCreateFolderPost(data, options) {
|
|
254
260
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/folders`, data: data });
|
|
255
261
|
}
|
|
256
262
|
/**
|
|
257
|
-
*
|
|
263
|
+
* Delete folder. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
258
264
|
* Calls `DELETE /api/v1/folders/{id}` through the shared IDP-aware Faiber client.
|
|
259
265
|
* @param id Backend path identifier `id`.
|
|
260
266
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
261
|
-
* @returns The complete Axios response, including the typed
|
|
262
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
267
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
268
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
263
269
|
*/
|
|
264
270
|
routerDeleteFolderDelete(id, options) {
|
|
265
271
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/folders/${encodeURIComponent(id)}` });
|
|
266
272
|
}
|
|
267
273
|
/**
|
|
268
|
-
*
|
|
274
|
+
* Update folder. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
269
275
|
* Calls `PATCH /api/v1/folders/{id}` through the shared IDP-aware Faiber client.
|
|
270
276
|
* @param id Backend path identifier `id`.
|
|
271
277
|
* @param data Typed JSON request body.
|
|
272
278
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
273
|
-
* @returns The complete Axios response, including the typed
|
|
274
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
279
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
280
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
275
281
|
*/
|
|
276
282
|
routerUpdateFolderPatch(id, data, options) {
|
|
277
283
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/folders/${encodeURIComponent(id)}`, data: data });
|
|
278
284
|
}
|
|
279
285
|
/**
|
|
280
|
-
*
|
|
286
|
+
* List only public libraries ordered by name; direct get by ID can read private libraries with route permission.
|
|
281
287
|
* Calls `GET /api/v1/libraries` through the shared IDP-aware Faiber client.
|
|
282
288
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
283
|
-
* @returns The complete Axios response, including the typed
|
|
284
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:library:read.
|
|
289
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
290
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:library:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
285
291
|
*/
|
|
286
292
|
routerListLibrariesGet(options) {
|
|
287
293
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/libraries` });
|
|
288
294
|
}
|
|
289
295
|
/**
|
|
290
|
-
*
|
|
296
|
+
* Create public/private library; defaults public/active; blank name400. Existing explicit ID200, new201.
|
|
291
297
|
* Calls `POST /api/v1/libraries` through the shared IDP-aware Faiber client.
|
|
292
298
|
* @param data Typed JSON request body.
|
|
293
299
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
294
|
-
* @returns The complete Axios response, including the typed
|
|
295
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:library:write.
|
|
300
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
301
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:library:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
296
302
|
*/
|
|
297
303
|
routerCreateLibraryPost(data, options) {
|
|
298
304
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/libraries`, data: data });
|
|
299
305
|
}
|
|
300
306
|
/**
|
|
301
|
-
*
|
|
307
|
+
* Permanently delete library, categories, items, compositions and linked external references transactionally; requires dedicated library delete permission; success204.
|
|
302
308
|
* Calls `DELETE /api/v1/libraries/{id}` through the shared IDP-aware Faiber client.
|
|
303
309
|
* @param id Backend path identifier `id`.
|
|
304
310
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
305
|
-
* @returns The complete Axios response, including the typed
|
|
306
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:library:delete.
|
|
311
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
312
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:library:delete (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
307
313
|
*/
|
|
308
314
|
routerDeleteLibraryDelete(id, options) {
|
|
309
315
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/libraries/${encodeURIComponent(id)}` });
|
|
310
316
|
}
|
|
311
317
|
/**
|
|
312
|
-
*
|
|
318
|
+
* Get library. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
313
319
|
* Calls `GET /api/v1/libraries/{id}` through the shared IDP-aware Faiber client.
|
|
314
320
|
* @param id Backend path identifier `id`.
|
|
315
321
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
316
|
-
* @returns The complete Axios response, including the typed
|
|
317
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:library:read.
|
|
322
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
323
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:library:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
318
324
|
*/
|
|
319
325
|
routerGetLibraryGet(id, options) {
|
|
320
326
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/libraries/${encodeURIComponent(id)}` });
|
|
321
327
|
}
|
|
322
328
|
/**
|
|
323
|
-
*
|
|
329
|
+
* Replace library name/description and optionally status/visibility; description omitted clears; visibility only public/private.
|
|
324
330
|
* Calls `PATCH /api/v1/libraries/{id}` through the shared IDP-aware Faiber client.
|
|
325
331
|
* @param id Backend path identifier `id`.
|
|
326
332
|
* @param data Typed JSON request body.
|
|
327
333
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
328
|
-
* @returns The complete Axios response, including the typed
|
|
329
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:library:write.
|
|
334
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
335
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:library:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
330
336
|
*/
|
|
331
337
|
routerUpdateLibraryPatch(id, data, options) {
|
|
332
338
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/libraries/${encodeURIComponent(id)}`, data: data });
|
|
333
339
|
}
|
|
334
340
|
/**
|
|
335
|
-
*
|
|
341
|
+
* List categories. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
336
342
|
* Calls `GET /api/v1/libraries/{id}/categories` through the shared IDP-aware Faiber client.
|
|
337
343
|
* @param id Backend path identifier `id`.
|
|
338
344
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
339
|
-
* @returns The complete Axios response, including the typed
|
|
340
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:library:read.
|
|
345
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
346
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:library:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
341
347
|
*/
|
|
342
348
|
routerListCategoriesGet(id, options) {
|
|
343
349
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/libraries/${encodeURIComponent(id)}/categories` });
|
|
344
350
|
}
|
|
345
351
|
/**
|
|
346
|
-
*
|
|
352
|
+
* Create category; parent must be in the same library or mixed media scope. Returns201, or200 on an existing explicit generic category ID.
|
|
347
353
|
* Calls `POST /api/v1/libraries/{id}/categories` through the shared IDP-aware Faiber client.
|
|
348
354
|
* @param id Backend path identifier `id`.
|
|
349
355
|
* @param data Typed JSON request body.
|
|
350
356
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
351
|
-
* @returns The complete Axios response, including the typed
|
|
352
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:library:write.
|
|
357
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
358
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:library:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
353
359
|
*/
|
|
354
360
|
routerCreateCategoryPostApiV1LibrariesIdCategories(id, data, options) {
|
|
355
361
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/libraries/${encodeURIComponent(id)}/categories`, data: data });
|
|
356
362
|
}
|
|
357
363
|
/**
|
|
358
|
-
*
|
|
364
|
+
* List items. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
359
365
|
* Calls `GET /api/v1/libraries/{id}/items` through the shared IDP-aware Faiber client.
|
|
360
366
|
* @param id Backend path identifier `id`.
|
|
361
367
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
362
|
-
* @returns The complete Axios response, including the typed
|
|
363
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:content:read.
|
|
368
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
369
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:content:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
364
370
|
*/
|
|
365
371
|
routerListItemsGet(id, options) {
|
|
366
372
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/libraries/${encodeURIComponent(id)}/items` });
|
|
367
373
|
}
|
|
368
374
|
/**
|
|
369
|
-
*
|
|
375
|
+
* Create reusable content; state must be Question/Task/Interactive/Game. Negative duration clamps0. rewards is accepted but stored as empty object. Explicit existing ID returns200, otherwise201.
|
|
370
376
|
* Calls `POST /api/v1/libraries/{id}/items` through the shared IDP-aware Faiber client.
|
|
371
377
|
* @param id Backend path identifier `id`.
|
|
372
378
|
* @param data Typed JSON request body.
|
|
373
379
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
374
|
-
* @returns The complete Axios response, including the typed
|
|
375
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:content:write.
|
|
380
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
381
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:content:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
376
382
|
*/
|
|
377
383
|
routerCreateItemPost(id, data, options) {
|
|
378
384
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/libraries/${encodeURIComponent(id)}/items`, data: data });
|
|
379
385
|
}
|
|
380
386
|
/**
|
|
381
|
-
*
|
|
387
|
+
* Page unarchived library items by title; page1,size30,size clamps1..100. category_id includes descendants unless direct=true. errors=true finds missing/failed media; search filters title.
|
|
382
388
|
* Calls `GET /api/v1/libraries/{id}/items/query` through the shared IDP-aware Faiber client.
|
|
383
389
|
* @param id Backend path identifier `id`.
|
|
384
390
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
385
391
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
386
|
-
* @returns The complete Axios response, including the typed
|
|
387
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:content:read.
|
|
392
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
393
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:content:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
388
394
|
*/
|
|
389
395
|
routerQueryItemsGet(id, params, options) {
|
|
390
396
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/libraries/${encodeURIComponent(id)}/items/query`, params });
|
|
391
397
|
}
|
|
392
398
|
/**
|
|
393
|
-
*
|
|
399
|
+
* Library stats. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
394
400
|
* Calls `GET /api/v1/libraries/{id}/stats` through the shared IDP-aware Faiber client.
|
|
395
401
|
* @param id Backend path identifier `id`.
|
|
396
402
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
397
|
-
* @returns The complete Axios response, including the typed
|
|
398
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:library:read.
|
|
403
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
404
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:library:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
399
405
|
*/
|
|
400
406
|
routerLibraryStatsGet(id, options) {
|
|
401
407
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/libraries/${encodeURIComponent(id)}/stats` });
|
|
402
408
|
}
|
|
403
409
|
/**
|
|
404
|
-
*
|
|
410
|
+
* Archive category descendants and contained content transactionally; returns204. Category must belong to path library.
|
|
405
411
|
* Calls `DELETE /api/v1/libraries/{library_id}/categories/{id}` through the shared IDP-aware Faiber client.
|
|
406
412
|
* @param libraryId Backend path identifier `library_id`.
|
|
407
413
|
* @param id Backend path identifier `id`.
|
|
408
414
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
409
|
-
* @returns The complete Axios response, including the typed
|
|
410
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:library:write.
|
|
415
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
416
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:library:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
411
417
|
*/
|
|
412
418
|
routerArchiveCategoryDelete(libraryId, id, options) {
|
|
413
419
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/libraries/${encodeURIComponent(libraryId)}/categories/${encodeURIComponent(id)}` });
|
|
414
420
|
}
|
|
415
421
|
/**
|
|
416
|
-
*
|
|
422
|
+
* Replace title and parent; reject self-parent. Generic library route and mixed-media route enforce their respective parent scope.
|
|
417
423
|
* Calls `PATCH /api/v1/libraries/{library_id}/categories/{id}` through the shared IDP-aware Faiber client.
|
|
418
424
|
* @param libraryId Backend path identifier `library_id`.
|
|
419
425
|
* @param id Backend path identifier `id`.
|
|
420
426
|
* @param data Typed JSON request body.
|
|
421
427
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
422
|
-
* @returns The complete Axios response, including the typed
|
|
423
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:library:write.
|
|
428
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
429
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:library:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
424
430
|
*/
|
|
425
431
|
routerUpdateCategoryPatchApiV1LibrariesLibraryIdCategoriesId(libraryId, id, data, options) {
|
|
426
432
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/libraries/${encodeURIComponent(libraryId)}/categories/${encodeURIComponent(id)}`, data: data });
|
|
427
433
|
}
|
|
428
434
|
/**
|
|
429
|
-
*
|
|
435
|
+
* Archive item. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
430
436
|
* Calls `DELETE /api/v1/libraries/{library_id}/items/{id}` through the shared IDP-aware Faiber client.
|
|
431
437
|
* @param libraryId Backend path identifier `library_id`.
|
|
432
438
|
* @param id Backend path identifier `id`.
|
|
433
439
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
434
|
-
* @returns The complete Axios response, including the typed
|
|
435
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:content:write.
|
|
440
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
441
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:content:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
436
442
|
*/
|
|
437
443
|
routerArchiveItemDelete(libraryId, id, options) {
|
|
438
444
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/libraries/${encodeURIComponent(libraryId)}/items/${encodeURIComponent(id)}` });
|
|
439
445
|
}
|
|
440
446
|
/**
|
|
441
|
-
*
|
|
447
|
+
* Read item by UUID. The pinned handler ignores library_id when fetching; callers must select the intended library and deployment authorization remains authoritative.
|
|
442
448
|
* Calls `GET /api/v1/libraries/{library_id}/items/{id}` through the shared IDP-aware Faiber client.
|
|
443
449
|
* @param libraryId Backend path identifier `library_id`.
|
|
444
450
|
* @param id Backend path identifier `id`.
|
|
445
451
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
446
|
-
* @returns The complete Axios response, including the typed
|
|
447
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:content:read.
|
|
452
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
453
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:content:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
448
454
|
*/
|
|
449
455
|
routerGetItemGet(libraryId, id, options) {
|
|
450
456
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/libraries/${encodeURIComponent(libraryId)}/items/${encodeURIComponent(id)}` });
|
|
451
457
|
}
|
|
452
458
|
/**
|
|
453
|
-
*
|
|
459
|
+
* Replace item fields, checking path library. Negative duration clamps0; rewards is stored as empty object. Omitted optional members clear/reset corresponding fields.
|
|
454
460
|
* Calls `PUT /api/v1/libraries/{library_id}/items/{id}` through the shared IDP-aware Faiber client.
|
|
455
461
|
* @param libraryId Backend path identifier `library_id`.
|
|
456
462
|
* @param id Backend path identifier `id`.
|
|
457
463
|
* @param data Typed JSON request body.
|
|
458
464
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
459
|
-
* @returns The complete Axios response, including the typed
|
|
460
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:content:write.
|
|
465
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
466
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:content:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
461
467
|
*/
|
|
462
468
|
routerUpdateItemPut(libraryId, id, data, options) {
|
|
463
469
|
return this.client.request({ ...options, method: "PUT", url: `/api/v1/libraries/${encodeURIComponent(libraryId)}/items/${encodeURIComponent(id)}`, data: data });
|
|
464
470
|
}
|
|
465
471
|
/**
|
|
466
|
-
*
|
|
472
|
+
* Item attachments. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
467
473
|
* Calls `GET /api/v1/libraries/{library_id}/items/{id}/attachments` through the shared IDP-aware Faiber client.
|
|
468
474
|
* @param libraryId Backend path identifier `library_id`.
|
|
469
475
|
* @param id Backend path identifier `id`.
|
|
470
476
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
471
|
-
* @returns The complete Axios response, including the typed
|
|
472
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:content:read.
|
|
477
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
478
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:content:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
473
479
|
*/
|
|
474
480
|
routerItemAttachmentsGet(libraryId, id, options) {
|
|
475
481
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/libraries/${encodeURIComponent(libraryId)}/items/${encodeURIComponent(id)}/attachments` });
|
|
476
482
|
}
|
|
477
483
|
/**
|
|
478
|
-
*
|
|
484
|
+
* Attach primary/hint media; is_current demotes prior current attachment in the slot and updates the item media pointer; position clamps0; existing link200, new201.
|
|
479
485
|
* Calls `POST /api/v1/libraries/{library_id}/items/{id}/attachments` through the shared IDP-aware Faiber client.
|
|
480
486
|
* @param libraryId Backend path identifier `library_id`.
|
|
481
487
|
* @param id Backend path identifier `id`.
|
|
482
488
|
* @param data Typed JSON request body.
|
|
483
489
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
484
|
-
* @returns The complete Axios response, including the typed
|
|
485
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:content:write.
|
|
490
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
491
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:content:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
486
492
|
*/
|
|
487
493
|
routerAttachMediaPost(libraryId, id, data, options) {
|
|
488
494
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/libraries/${encodeURIComponent(libraryId)}/items/${encodeURIComponent(id)}/attachments`, data: data });
|
|
489
495
|
}
|
|
490
496
|
/**
|
|
491
|
-
*
|
|
497
|
+
* Read temporary ClearKey JWK document; package_id UUID required. Keep key material private and use authenticated shared transport.
|
|
492
498
|
* Calls `GET /api/v1/licenses/clearkey` through the shared IDP-aware Faiber client.
|
|
493
499
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
494
500
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
495
|
-
* @returns The complete Axios response, including the typed
|
|
496
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:license:read.
|
|
501
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
502
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:license:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
497
503
|
*/
|
|
498
504
|
routerClearKeyLicenseGet(params, options) {
|
|
499
505
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/licenses/clearkey`, params });
|
|
500
506
|
}
|
|
501
507
|
/**
|
|
502
|
-
*
|
|
508
|
+
* Search name, description and matching tags, with media_type/folder_id/tag_id AND filters. Defaults page=1,size=30; size clamps1..100; newest created first.
|
|
503
509
|
* Calls `GET /api/v1/media` through the shared IDP-aware Faiber client.
|
|
504
510
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
505
511
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
506
|
-
* @returns The complete Axios response, including the typed
|
|
507
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:read.
|
|
512
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
513
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
508
514
|
*/
|
|
509
515
|
routerListMediaGet(params, options) {
|
|
510
516
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/media`, params });
|
|
511
517
|
}
|
|
512
518
|
/**
|
|
513
|
-
*
|
|
519
|
+
* Upload audio, video or image multipart file. Fields name/description/folder_id are text; tag_ids is JSON-encoded UUID array. Returns201; video queues packaging and optional transcription.
|
|
514
520
|
* Calls `POST /api/v1/media` through the shared IDP-aware Faiber client.
|
|
515
521
|
* @param data Typed multipart form.
|
|
516
522
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
517
|
-
* @returns The complete Axios response, including the typed
|
|
518
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
523
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
524
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
519
525
|
*/
|
|
520
526
|
routerUploadMediaPost(data, options) {
|
|
521
527
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/media`, data: data });
|
|
522
528
|
}
|
|
523
529
|
/**
|
|
524
|
-
*
|
|
530
|
+
* Delete metadata, original and package storage; attached content conflicts409; returns204.
|
|
525
531
|
* Calls `DELETE /api/v1/media/{id}` through the shared IDP-aware Faiber client.
|
|
526
532
|
* @param id Backend path identifier `id`.
|
|
527
533
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
528
|
-
* @returns The complete Axios response, including the typed
|
|
529
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
534
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
535
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
530
536
|
*/
|
|
531
537
|
routerDeleteMediaDelete(id, options) {
|
|
532
538
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/media/${encodeURIComponent(id)}` });
|
|
533
539
|
}
|
|
534
540
|
/**
|
|
535
|
-
*
|
|
541
|
+
* Get media. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
536
542
|
* Calls `GET /api/v1/media/{id}` through the shared IDP-aware Faiber client.
|
|
537
543
|
* @param id Backend path identifier `id`.
|
|
538
544
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
539
|
-
* @returns The complete Axios response, including the typed
|
|
540
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:read.
|
|
545
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
546
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
541
547
|
*/
|
|
542
548
|
routerGetMediaGet(id, options) {
|
|
543
549
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/media/${encodeURIComponent(id)}` });
|
|
544
550
|
}
|
|
545
551
|
/**
|
|
546
|
-
*
|
|
552
|
+
* Patch supplied metadata and replace tag links when tag_ids is present. Plain Serde Option<Option<Uuid>> means folder_id:null is a no-op; description/duration null also preserve.
|
|
547
553
|
* Calls `PATCH /api/v1/media/{id}` through the shared IDP-aware Faiber client.
|
|
548
554
|
* @param id Backend path identifier `id`.
|
|
549
555
|
* @param data Typed JSON request body.
|
|
550
556
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
551
|
-
* @returns The complete Axios response, including the typed
|
|
552
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
557
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
558
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
553
559
|
*/
|
|
554
560
|
routerUpdateMediaPatch(id, data, options) {
|
|
555
561
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/media/${encodeURIComponent(id)}`, data: data });
|
|
556
562
|
}
|
|
557
563
|
/**
|
|
558
|
-
*
|
|
564
|
+
* List packages. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
559
565
|
* Calls `GET /api/v1/media/{id}/packages` through the shared IDP-aware Faiber client.
|
|
560
566
|
* @param id Backend path identifier `id`.
|
|
561
567
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
562
|
-
* @returns The complete Axios response, including the typed
|
|
563
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:package:read.
|
|
568
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
569
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:package:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
564
570
|
*/
|
|
565
571
|
routerListPackagesGet(id, options) {
|
|
566
572
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/media/${encodeURIComponent(id)}/packages` });
|
|
567
573
|
}
|
|
568
574
|
/**
|
|
569
|
-
*
|
|
575
|
+
* Enqueue/deduplicate video packaging; JSON null selects default config; send null rather than an absent JSON body. Returns202 raw job without media_name/media_type.
|
|
570
576
|
* Calls `POST /api/v1/media/{id}/packages` through the shared IDP-aware Faiber client.
|
|
571
577
|
* @param id Backend path identifier `id`.
|
|
572
578
|
* @param data Typed JSON request body.
|
|
573
579
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
574
|
-
* @returns The complete Axios response, including the typed
|
|
575
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:package:write.
|
|
580
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
581
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:package:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
576
582
|
*/
|
|
577
583
|
routerRegeneratePost(id, data, options) {
|
|
578
|
-
return this.client.request({ ...options, method: "POST", url: `/api/v1/media/${encodeURIComponent(id)}/packages`, data: data });
|
|
584
|
+
return this.client.request({ ...options, method: "POST", url: `/api/v1/media/${encodeURIComponent(id)}/packages`, data: data, headers: { "Content-Type": "application/json", ...options?.headers } });
|
|
579
585
|
}
|
|
580
586
|
/**
|
|
581
|
-
*
|
|
587
|
+
* Return a900-second signed original-object URL, independent of package readiness. Archived media404; status alone does not hide the original.
|
|
582
588
|
* Calls `GET /api/v1/media/{id}/playback` through the shared IDP-aware Faiber client.
|
|
583
589
|
* @param id Backend path identifier `id`.
|
|
584
590
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
585
|
-
* @returns The complete Axios response, including the typed
|
|
586
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:read.
|
|
591
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
592
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
587
593
|
*/
|
|
588
594
|
routerPlaybackGet(id, options) {
|
|
589
595
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/media/${encodeURIComponent(id)}/playback` });
|
|
590
596
|
}
|
|
591
597
|
/**
|
|
592
|
-
*
|
|
598
|
+
* Read deduplicated IDs in request order; at most the first50 unique IDs are used; missing IDs are omitted.
|
|
593
599
|
* Calls `POST /api/v1/media/batch` through the shared IDP-aware Faiber client.
|
|
594
600
|
* @param data Typed JSON request body.
|
|
595
601
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
596
|
-
* @returns The complete Axios response, including the typed
|
|
597
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
602
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
603
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
598
604
|
*/
|
|
599
605
|
routerBatchMediaPost(data, options) {
|
|
600
606
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/media/batch`, data: data });
|
|
601
607
|
}
|
|
602
608
|
/**
|
|
603
|
-
*
|
|
609
|
+
* Read effective video package/job states for comma-separated UUID ids (required). Invalid UUIDs ignored; at most500 unique IDs; ready package takes precedence; non-video not_applicable.
|
|
604
610
|
* Calls `GET /api/v1/media/drm-statuses` through the shared IDP-aware Faiber client.
|
|
605
611
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
606
612
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
607
|
-
* @returns The complete Axios response, including the typed
|
|
608
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:read.
|
|
613
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
614
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
609
615
|
*/
|
|
610
616
|
routerDrmStatusesGet(params, options) {
|
|
611
617
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/media/drm-statuses`, params });
|
|
612
618
|
}
|
|
613
619
|
/**
|
|
614
|
-
*
|
|
620
|
+
* Archive package. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
615
621
|
* Calls `DELETE /api/v1/media/packages/{id}` through the shared IDP-aware Faiber client.
|
|
616
622
|
* @param id Backend path identifier `id`.
|
|
617
623
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
618
|
-
* @returns The complete Axios response, including the typed
|
|
619
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:package:write.
|
|
624
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
625
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:package:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
620
626
|
*/
|
|
621
627
|
routerArchivePackageDelete(id, options) {
|
|
622
628
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/media/packages/${encodeURIComponent(id)}` });
|
|
623
629
|
}
|
|
624
630
|
/**
|
|
625
|
-
*
|
|
631
|
+
* Register existing originals/ object (reject ..) after actual size verification; accepts audio/video/image. Existing ID returns200; new201; video queues DRM/transcription.
|
|
626
632
|
* Calls `POST /api/v1/media/register` through the shared IDP-aware Faiber client.
|
|
627
633
|
* @param data Typed JSON request body.
|
|
628
634
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
629
|
-
* @returns The complete Axios response, including the typed
|
|
630
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
635
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
636
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
631
637
|
*/
|
|
632
638
|
routerRegisterExistingMediaPost(data, options) {
|
|
633
639
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/media/register`, data: data });
|
|
634
640
|
}
|
|
635
641
|
/**
|
|
636
|
-
*
|
|
642
|
+
* List mixed media. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
637
643
|
* Calls `GET /api/v1/mixed-media` through the shared IDP-aware Faiber client.
|
|
638
644
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
639
|
-
* @returns The complete Axios response, including the typed
|
|
640
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
645
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
646
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
641
647
|
*/
|
|
642
648
|
routerListMixedMediaGet(options) {
|
|
643
649
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/mixed-media` });
|
|
644
650
|
}
|
|
645
651
|
/**
|
|
646
|
-
*
|
|
652
|
+
* Create composition and revision1 workflow. Requires existing library/category; nonempty name; transcription_language auto/fa/en; defaults auto; returns201.
|
|
647
653
|
* Calls `POST /api/v1/mixed-media` through the shared IDP-aware Faiber client.
|
|
648
654
|
* @param data Typed JSON request body.
|
|
649
655
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
650
|
-
* @returns The complete Axios response, including the typed
|
|
651
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
656
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
657
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
652
658
|
*/
|
|
653
659
|
routerCreateMixedMediaPost(data, options) {
|
|
654
660
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/mixed-media`, data: data });
|
|
655
661
|
}
|
|
656
662
|
/**
|
|
657
|
-
*
|
|
663
|
+
* Delete mixed media. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
658
664
|
* Calls `DELETE /api/v1/mixed-media/{id}` through the shared IDP-aware Faiber client.
|
|
659
665
|
* @param id Backend path identifier `id`.
|
|
660
666
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
661
|
-
* @returns The complete Axios response, including the typed
|
|
662
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
667
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
668
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
663
669
|
*/
|
|
664
670
|
routerDeleteMixedMediaDelete(id, options) {
|
|
665
671
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/mixed-media/${encodeURIComponent(id)}` });
|
|
666
672
|
}
|
|
667
673
|
/**
|
|
668
|
-
*
|
|
674
|
+
* Get mixed media. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
669
675
|
* Calls `GET /api/v1/mixed-media/{id}` through the shared IDP-aware Faiber client.
|
|
670
676
|
* @param id Backend path identifier `id`.
|
|
671
677
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
672
|
-
* @returns The complete Axios response, including the typed
|
|
673
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
678
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
679
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
674
680
|
*/
|
|
675
681
|
routerGetMixedMediaGet(id, options) {
|
|
676
682
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/mixed-media/${encodeURIComponent(id)}` });
|
|
677
683
|
}
|
|
678
684
|
/**
|
|
679
|
-
*
|
|
685
|
+
* Patch composition. category_id:null explicitly clears category; omitted category preserves. Plain nested-Option description:null preserves at this pin. Language auto/fa/en; status draft/published/inactive.
|
|
680
686
|
* Calls `PATCH /api/v1/mixed-media/{id}` through the shared IDP-aware Faiber client.
|
|
681
687
|
* @param id Backend path identifier `id`.
|
|
682
688
|
* @param data Typed JSON request body.
|
|
683
689
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
684
|
-
* @returns The complete Axios response, including the typed
|
|
685
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
690
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
691
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
686
692
|
*/
|
|
687
693
|
routerUpdateMixedMediaPatch(id, data, options) {
|
|
688
694
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/mixed-media/${encodeURIComponent(id)}`, data: data });
|
|
689
695
|
}
|
|
690
696
|
/**
|
|
691
|
-
*
|
|
697
|
+
* Return analysis or JSON null when no analysis/composition exists; errors other than not-found propagate.
|
|
692
698
|
* Calls `GET /api/v1/mixed-media/{id}/analysis` through the shared IDP-aware Faiber client.
|
|
693
699
|
* @param id Backend path identifier `id`.
|
|
694
700
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
695
|
-
* @returns The complete Axios response, including the typed
|
|
696
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
701
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
702
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
697
703
|
*/
|
|
698
704
|
routerGetAnalysisGet(id, options) {
|
|
699
705
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/mixed-media/${encodeURIComponent(id)}/analysis` });
|
|
700
706
|
}
|
|
701
707
|
/**
|
|
702
|
-
*
|
|
708
|
+
* Queue composition analysis; body may be omitted (undefined) or supply language/force. Language override persists and requires auto/fa/en. Returns existing active work unless force applies; model/settings errors400.
|
|
703
709
|
* Calls `POST /api/v1/mixed-media/{id}/analysis` through the shared IDP-aware Faiber client.
|
|
704
710
|
* @param id Backend path identifier `id`.
|
|
705
711
|
* @param data Typed JSON request body.
|
|
706
712
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
707
|
-
* @returns The complete Axios response, including the typed
|
|
708
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
713
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
714
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
709
715
|
*/
|
|
710
716
|
routerStartAnalysisPost(id, data, options) {
|
|
711
717
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/mixed-media/${encodeURIComponent(id)}/analysis`, data: data });
|
|
712
718
|
}
|
|
713
719
|
/**
|
|
714
|
-
*
|
|
720
|
+
* Create category; parent must be in the same library or mixed media scope. Returns201, or200 on an existing explicit generic category ID.
|
|
715
721
|
* Calls `POST /api/v1/mixed-media/{id}/categories` through the shared IDP-aware Faiber client.
|
|
716
722
|
* @param id Backend path identifier `id`.
|
|
717
723
|
* @param data Typed JSON request body.
|
|
718
724
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
719
|
-
* @returns The complete Axios response, including the typed
|
|
720
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
725
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
726
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
721
727
|
*/
|
|
722
728
|
routerCreateCategoryPostApiV1MixedMediaIdCategories(id, data, options) {
|
|
723
729
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/mixed-media/${encodeURIComponent(id)}/categories`, data: data });
|
|
724
730
|
}
|
|
725
731
|
/**
|
|
726
|
-
*
|
|
732
|
+
* Read persisted settings. Knowledge settings read creates default row for an existing composition; absent composition404. Operations settings require drm:manage.
|
|
727
733
|
* Calls `GET /api/v1/mixed-media/{id}/knowledge-sync` through the shared IDP-aware Faiber client.
|
|
728
734
|
* @param id Backend path identifier `id`.
|
|
729
735
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
730
|
-
* @returns The complete Axios response, including the typed
|
|
731
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
736
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
737
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
732
738
|
*/
|
|
733
739
|
routerGetSettingsGetApiV1MixedMediaIdKnowledgeSync(id, options) {
|
|
734
740
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/mixed-media/${encodeURIComponent(id)}/knowledge-sync` });
|
|
735
741
|
}
|
|
736
742
|
/**
|
|
737
|
-
*
|
|
743
|
+
* Synchronize published composition using Knowledge broker; x-organization-id UUID required unless server default configured. Returns settings; disabled/missing configuration can reject.
|
|
738
744
|
* Calls `POST /api/v1/mixed-media/{id}/knowledge-sync` through the shared IDP-aware Faiber client.
|
|
739
745
|
* @param id Backend path identifier `id`.
|
|
740
746
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
741
|
-
* @returns The complete Axios response, including the typed
|
|
742
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
747
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
748
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
743
749
|
*/
|
|
744
750
|
routerSyncNowPost(id, options) {
|
|
745
751
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/mixed-media/${encodeURIComponent(id)}/knowledge-sync` });
|
|
746
752
|
}
|
|
747
753
|
/**
|
|
748
|
-
*
|
|
754
|
+
* Update operational or Knowledge settings. Operations package_concurrency1..16; enabled transcription requires speech and summary models. Knowledge enabled requires knowledge_base_id and organization context; starts immediate sync.
|
|
749
755
|
* Calls `PUT /api/v1/mixed-media/{id}/knowledge-sync` through the shared IDP-aware Faiber client.
|
|
750
756
|
* @param id Backend path identifier `id`.
|
|
751
757
|
* @param data Typed JSON request body.
|
|
752
758
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
753
|
-
* @returns The complete Axios response, including the typed
|
|
754
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
759
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
760
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
755
761
|
*/
|
|
756
762
|
routerUpdateSettingsPut(id, data, options) {
|
|
757
763
|
return this.client.request({ ...options, method: "PUT", url: `/api/v1/mixed-media/${encodeURIComponent(id)}/knowledge-sync`, data: data });
|
|
758
764
|
}
|
|
759
765
|
/**
|
|
760
|
-
*
|
|
766
|
+
* Get manifest. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
761
767
|
* Calls `GET /api/v1/mixed-media/{id}/manifest` through the shared IDP-aware Faiber client.
|
|
762
768
|
* @param id Backend path identifier `id`.
|
|
763
769
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
764
|
-
* @returns The complete Axios response, including the typed
|
|
765
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
770
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
771
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
766
772
|
*/
|
|
767
773
|
routerGetManifestGet(id, options) {
|
|
768
774
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/mixed-media/${encodeURIComponent(id)}/manifest` });
|
|
769
775
|
}
|
|
770
776
|
/**
|
|
771
|
-
*
|
|
777
|
+
* List manifests. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
772
778
|
* Calls `GET /api/v1/mixed-media/{id}/manifests` through the shared IDP-aware Faiber client.
|
|
773
779
|
* @param id Backend path identifier `id`.
|
|
774
780
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
775
|
-
* @returns The complete Axios response, including the typed
|
|
776
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
781
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
782
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
777
783
|
*/
|
|
778
784
|
routerListManifestsGetApiV1MixedMediaIdManifests(id, options) {
|
|
779
785
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/mixed-media/${encodeURIComponent(id)}/manifests` });
|
|
780
786
|
}
|
|
781
787
|
/**
|
|
782
|
-
*
|
|
788
|
+
* Create composition part; nonempty title, Question/Task/Interactive/Game state and nonnegative duration required; referenced media must exist. rewards is persisted empty; returns201.
|
|
783
789
|
* Calls `POST /api/v1/mixed-media/{id}/parts` through the shared IDP-aware Faiber client.
|
|
784
790
|
* @param id Backend path identifier `id`.
|
|
785
791
|
* @param data Typed JSON request body.
|
|
786
792
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
787
|
-
* @returns The complete Axios response, including the typed
|
|
788
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
793
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
794
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
789
795
|
*/
|
|
790
796
|
routerCreatePartPost(id, data, options) {
|
|
791
797
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/mixed-media/${encodeURIComponent(id)}/parts`, data: data });
|
|
792
798
|
}
|
|
793
799
|
/**
|
|
794
|
-
*
|
|
800
|
+
* Validate a nonempty, singly started, connected acyclic workflow and ready video references, then create versioned manifest201. Referenced unarchived items may come from other libraries; launches Knowledge sync/optional analysis.
|
|
795
801
|
* Calls `POST /api/v1/mixed-media/{id}/publish` through the shared IDP-aware Faiber client.
|
|
796
802
|
* @param id Backend path identifier `id`.
|
|
797
803
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
798
|
-
* @returns The complete Axios response, including the typed
|
|
799
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
804
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
805
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
800
806
|
*/
|
|
801
807
|
routerPublishPostApiV1MixedMediaIdPublish(id, options) {
|
|
802
808
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/mixed-media/${encodeURIComponent(id)}/publish` });
|
|
803
809
|
}
|
|
804
810
|
/**
|
|
805
|
-
*
|
|
811
|
+
* Read unarchived categories and parts from the composition owning library, ordered by title.
|
|
806
812
|
* Calls `GET /api/v1/mixed-media/{id}/resources` through the shared IDP-aware Faiber client.
|
|
807
813
|
* @param id Backend path identifier `id`.
|
|
808
814
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
809
|
-
* @returns The complete Axios response, including the typed
|
|
810
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
815
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
816
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
811
817
|
*/
|
|
812
818
|
routerResourcesGet(id, options) {
|
|
813
819
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/mixed-media/${encodeURIComponent(id)}/resources` });
|
|
814
820
|
}
|
|
815
821
|
/**
|
|
816
|
-
*
|
|
822
|
+
* Get workflow. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
817
823
|
* Calls `GET /api/v1/mixed-media/{id}/workflow` through the shared IDP-aware Faiber client.
|
|
818
824
|
* @param id Backend path identifier `id`.
|
|
819
825
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
820
|
-
* @returns The complete Axios response, including the typed
|
|
821
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
826
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
827
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
822
828
|
*/
|
|
823
829
|
routerGetWorkflowGetApiV1MixedMediaIdWorkflow(id, options) {
|
|
824
830
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/mixed-media/${encodeURIComponent(id)}/workflow` });
|
|
825
831
|
}
|
|
826
832
|
/**
|
|
827
|
-
*
|
|
833
|
+
* Replace nodes and edges arrays and increment revision; returns400 if either is not an array. Node data remains editor-defined JSON.
|
|
828
834
|
* Calls `PUT /api/v1/mixed-media/{id}/workflow` through the shared IDP-aware Faiber client.
|
|
829
835
|
* @param id Backend path identifier `id`.
|
|
830
836
|
* @param data Typed JSON request body.
|
|
831
837
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
832
|
-
* @returns The complete Axios response, including the typed
|
|
833
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
838
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
839
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
834
840
|
*/
|
|
835
841
|
routerSaveWorkflowPutApiV1MixedMediaIdWorkflow(id, data, options) {
|
|
836
842
|
return this.client.request({ ...options, method: "PUT", url: `/api/v1/mixed-media/${encodeURIComponent(id)}/workflow`, data: data });
|
|
837
843
|
}
|
|
838
844
|
/**
|
|
839
|
-
*
|
|
845
|
+
* Delete category. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
840
846
|
* Calls `DELETE /api/v1/mixed-media/{mixed_id}/categories/{id}` through the shared IDP-aware Faiber client.
|
|
841
847
|
* @param mixedId Backend path identifier `mixed_id`.
|
|
842
848
|
* @param id Backend path identifier `id`.
|
|
843
849
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
844
|
-
* @returns The complete Axios response, including the typed
|
|
845
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
850
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
851
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
846
852
|
*/
|
|
847
853
|
routerDeleteCategoryDelete(mixedId, id, options) {
|
|
848
854
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/mixed-media/${encodeURIComponent(mixedId)}/categories/${encodeURIComponent(id)}` });
|
|
849
855
|
}
|
|
850
856
|
/**
|
|
851
|
-
*
|
|
857
|
+
* Replace title and parent; reject self-parent. Generic library route and mixed-media route enforce their respective parent scope.
|
|
852
858
|
* Calls `PATCH /api/v1/mixed-media/{mixed_id}/categories/{id}` through the shared IDP-aware Faiber client.
|
|
853
859
|
* @param mixedId Backend path identifier `mixed_id`.
|
|
854
860
|
* @param id Backend path identifier `id`.
|
|
855
861
|
* @param data Typed JSON request body.
|
|
856
862
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
857
|
-
* @returns The complete Axios response, including the typed
|
|
858
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
863
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
864
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
859
865
|
*/
|
|
860
866
|
routerUpdateCategoryPatchApiV1MixedMediaMixedIdCategoriesId(mixedId, id, data, options) {
|
|
861
867
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/mixed-media/${encodeURIComponent(mixedId)}/categories/${encodeURIComponent(id)}`, data: data });
|
|
862
868
|
}
|
|
863
869
|
/**
|
|
864
|
-
*
|
|
870
|
+
* Delete part. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
865
871
|
* Calls `DELETE /api/v1/mixed-media/{mixed_id}/parts/{id}` through the shared IDP-aware Faiber client.
|
|
866
872
|
* @param mixedId Backend path identifier `mixed_id`.
|
|
867
873
|
* @param id Backend path identifier `id`.
|
|
868
874
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
869
|
-
* @returns The complete Axios response, including the typed
|
|
870
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
875
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
876
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
871
877
|
*/
|
|
872
878
|
routerDeletePartDelete(mixedId, id, options) {
|
|
873
879
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/mixed-media/${encodeURIComponent(mixedId)}/parts/${encodeURIComponent(id)}` });
|
|
874
880
|
}
|
|
875
881
|
/**
|
|
876
|
-
*
|
|
882
|
+
* Get part. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
877
883
|
* Calls `GET /api/v1/mixed-media/{mixed_id}/parts/{id}` through the shared IDP-aware Faiber client.
|
|
878
884
|
* @param mixedId Backend path identifier `mixed_id`.
|
|
879
885
|
* @param id Backend path identifier `id`.
|
|
880
886
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
881
|
-
* @returns The complete Axios response, including the typed
|
|
882
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:read.
|
|
887
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
888
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
883
889
|
*/
|
|
884
890
|
routerGetPartGet(mixedId, id, options) {
|
|
885
891
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/mixed-media/${encodeURIComponent(mixedId)}/parts/${encodeURIComponent(id)}` });
|
|
886
892
|
}
|
|
887
893
|
/**
|
|
888
|
-
*
|
|
894
|
+
* Replace composition part within path parent; validates title/state/duration/media and stores rewards as empty object.
|
|
889
895
|
* Calls `PUT /api/v1/mixed-media/{mixed_id}/parts/{id}` through the shared IDP-aware Faiber client.
|
|
890
896
|
* @param mixedId Backend path identifier `mixed_id`.
|
|
891
897
|
* @param id Backend path identifier `id`.
|
|
892
898
|
* @param data Typed JSON request body.
|
|
893
899
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
894
|
-
* @returns The complete Axios response, including the typed
|
|
895
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:composition:write.
|
|
900
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
901
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:composition:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
896
902
|
*/
|
|
897
903
|
routerUpdatePartPut(mixedId, id, data, options) {
|
|
898
904
|
return this.client.request({ ...options, method: "PUT", url: `/api/v1/mixed-media/${encodeURIComponent(mixedId)}/parts/${encodeURIComponent(id)}`, data: data });
|
|
899
905
|
}
|
|
900
906
|
/**
|
|
901
|
-
*
|
|
907
|
+
* Read dependency/tool/storage health including nullable tool versions and public_url; service marker remains ok even if dependencies are false.
|
|
902
908
|
* Calls `GET /api/v1/operations/health` through the shared IDP-aware Faiber client.
|
|
903
909
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
904
|
-
* @returns The complete Axios response, including the typed
|
|
905
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:read.
|
|
910
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
911
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
906
912
|
*/
|
|
907
913
|
routerHealthGet(options) {
|
|
908
914
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/operations/health` });
|
|
909
915
|
}
|
|
910
916
|
/**
|
|
911
|
-
*
|
|
917
|
+
* Proxy Knowledge platform catalog verbatim; requires x-organization-id UUID unless server default configured. Forwards Authorization or configured service credential. Upstream failures500.
|
|
912
918
|
* Calls `GET /api/v1/operations/knowledge-catalog` through the shared IDP-aware Faiber client.
|
|
913
919
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
914
|
-
* @returns The complete Axios response, including the typed
|
|
915
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:read.
|
|
920
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
921
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
916
922
|
*/
|
|
917
923
|
routerKnowledgeCatalogGet(options) {
|
|
918
924
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/operations/knowledge-catalog` });
|
|
919
925
|
}
|
|
920
926
|
/**
|
|
921
|
-
*
|
|
927
|
+
* Read persisted settings. Knowledge settings read creates default row for an existing composition; absent composition404. Operations settings require drm:manage.
|
|
922
928
|
* Calls `GET /api/v1/operations/settings` through the shared IDP-aware Faiber client.
|
|
923
929
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
924
|
-
* @returns The complete Axios response, including the typed
|
|
925
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:manage.
|
|
930
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
931
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:manage (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
926
932
|
*/
|
|
927
933
|
routerGetSettingsGetApiV1OperationsSettings(options) {
|
|
928
934
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/operations/settings` });
|
|
929
935
|
}
|
|
930
936
|
/**
|
|
931
|
-
*
|
|
937
|
+
* Update operational or Knowledge settings. Operations package_concurrency1..16; enabled transcription requires speech and summary models. Knowledge enabled requires knowledge_base_id and organization context; starts immediate sync.
|
|
932
938
|
* Calls `PATCH /api/v1/operations/settings` through the shared IDP-aware Faiber client.
|
|
933
939
|
* @param data Typed JSON request body.
|
|
934
940
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
935
|
-
* @returns The complete Axios response, including the typed
|
|
936
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:manage.
|
|
941
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
942
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:manage (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
937
943
|
*/
|
|
938
944
|
routerUpdateSettingsPatch(data, options) {
|
|
939
945
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/operations/settings`, data: data });
|
|
940
946
|
}
|
|
941
947
|
/**
|
|
942
|
-
*
|
|
948
|
+
* Transcription models. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
943
949
|
* Calls `GET /api/v1/operations/transcription-models` through the shared IDP-aware Faiber client.
|
|
944
950
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
945
|
-
* @returns The complete Axios response, including the typed
|
|
946
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:manage.
|
|
951
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
952
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:manage (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
947
953
|
*/
|
|
948
954
|
routerTranscriptionModelsGet(options) {
|
|
949
955
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/operations/transcription-models` });
|
|
950
956
|
}
|
|
951
957
|
/**
|
|
952
|
-
*
|
|
958
|
+
* Legacy video enqueue; omitted download/transcode/package default false (unlike modern config); returns202 with job_id/status.
|
|
953
959
|
* Calls `POST /api/v1/packages` through the shared IDP-aware Faiber client.
|
|
954
960
|
* @param data Typed JSON request body.
|
|
955
961
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
956
|
-
* @returns The complete Axios response, including the typed
|
|
957
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:package:write.
|
|
962
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
963
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:package:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
958
964
|
*/
|
|
959
965
|
routerLegacyEnqueuePost(data, options) {
|
|
960
966
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/packages`, data: data });
|
|
961
967
|
}
|
|
962
968
|
/**
|
|
963
|
-
*
|
|
969
|
+
* Read newest job for media UUID; kind path member is ignored by pinned handler; response contains key/content_type/policy/status plus job_id/progress.
|
|
964
970
|
* Calls `GET /api/v1/packages/{kind}/{media_id}` through the shared IDP-aware Faiber client.
|
|
965
971
|
* @param kind Backend path identifier `kind`.
|
|
966
972
|
* @param mediaId Backend path identifier `media_id`.
|
|
967
973
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
968
|
-
* @returns The complete Axios response, including the typed
|
|
969
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:package:read.
|
|
974
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
975
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:package:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
970
976
|
*/
|
|
971
977
|
routerLegacyStatusGet(kind, mediaId, options) {
|
|
972
978
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/packages/${encodeURIComponent(kind)}/${encodeURIComponent(mediaId)}` });
|
|
973
979
|
}
|
|
974
980
|
/**
|
|
975
|
-
*
|
|
981
|
+
* Download raw ready package bytes with optional Range header. Returns200 or206 with Content-Range/Accept-Ranges/Content-Type/cache metadata. Not-ready409; invalid path400; missing object404.
|
|
976
982
|
* Calls `GET /api/v1/packages/{package_id}/files/{*path}` through the shared IDP-aware Faiber client.
|
|
977
983
|
* @param packageId Backend path identifier `package_id`.
|
|
978
984
|
* @param path Backend path identifier `*path`.
|
|
979
985
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
980
|
-
* @returns The complete Axios response, including the typed
|
|
981
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:package:read.
|
|
986
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
987
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:package:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
982
988
|
*/
|
|
983
989
|
routerPackageFileGet(packageId, path, options) {
|
|
984
|
-
return this.client.request({ ...options, method: "GET", url: `/api/v1/packages/${encodeURIComponent(packageId)}/files/${
|
|
990
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/packages/${encodeURIComponent(packageId)}/files/${wildcardPath(path)}`, responseType: "arraybuffer" });
|
|
985
991
|
}
|
|
986
992
|
/**
|
|
987
|
-
*
|
|
993
|
+
* Read public liveness marker; this does not inspect database or object storage.
|
|
988
994
|
* Calls `GET /api/v1/status` through the shared IDP-aware Faiber client.
|
|
989
995
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
990
|
-
* @returns The complete Axios response, including the typed
|
|
991
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
996
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
997
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Public status; configured credentials still forwarded through FaiberClient.
|
|
992
998
|
*/
|
|
993
999
|
routerStatusGet(options) {
|
|
994
1000
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/status` });
|
|
995
1001
|
}
|
|
996
1002
|
/**
|
|
997
|
-
*
|
|
1003
|
+
* List tags. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
998
1004
|
* Calls `GET /api/v1/tags` through the shared IDP-aware Faiber client.
|
|
999
1005
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1000
|
-
* @returns The complete Axios response, including the typed
|
|
1001
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:read.
|
|
1006
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1007
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
1002
1008
|
*/
|
|
1003
1009
|
routerListTagsGet(options) {
|
|
1004
1010
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/tags` });
|
|
1005
1011
|
}
|
|
1006
1012
|
/**
|
|
1007
|
-
*
|
|
1013
|
+
* Create tag. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
1008
1014
|
* Calls `POST /api/v1/tags` through the shared IDP-aware Faiber client.
|
|
1009
1015
|
* @param data Typed JSON request body.
|
|
1010
1016
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1011
|
-
* @returns The complete Axios response, including the typed
|
|
1012
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
1017
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1018
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
1013
1019
|
*/
|
|
1014
1020
|
routerCreateTagPost(data, options) {
|
|
1015
1021
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/tags`, data: data });
|
|
1016
1022
|
}
|
|
1017
1023
|
/**
|
|
1018
|
-
*
|
|
1024
|
+
* Delete tag. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
1019
1025
|
* Calls `DELETE /api/v1/tags/{id}` through the shared IDP-aware Faiber client.
|
|
1020
1026
|
* @param id Backend path identifier `id`.
|
|
1021
1027
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1022
|
-
* @returns The complete Axios response, including the typed
|
|
1023
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
1028
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1029
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
1024
1030
|
*/
|
|
1025
1031
|
routerDeleteTagDelete(id, options) {
|
|
1026
1032
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/tags/${encodeURIComponent(id)}` });
|
|
1027
1033
|
}
|
|
1028
1034
|
/**
|
|
1029
|
-
*
|
|
1035
|
+
* Create24-hour resumable session for audio/video/image; total_bytes positive; default part10MiB clamped5..64MiB; existing media_id409; returns201 with sorted parts.
|
|
1030
1036
|
* Calls `POST /api/v1/upload-sessions` through the shared IDP-aware Faiber client.
|
|
1031
1037
|
* @param data Typed JSON request body.
|
|
1032
1038
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1033
|
-
* @returns The complete Axios response, including the typed
|
|
1034
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
1039
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1040
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
1035
1041
|
*/
|
|
1036
1042
|
routerCreateUploadSessionPost(data, options) {
|
|
1037
1043
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/upload-sessions`, data: data });
|
|
1038
1044
|
}
|
|
1039
1045
|
/**
|
|
1040
|
-
*
|
|
1046
|
+
* Abort uploading storage session and mark cancelled; returns204, including sessions already completed/cancelled.
|
|
1041
1047
|
* Calls `DELETE /api/v1/upload-sessions/{id}` through the shared IDP-aware Faiber client.
|
|
1042
1048
|
* @param id Backend path identifier `id`.
|
|
1043
1049
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1044
|
-
* @returns The complete Axios response, including the typed
|
|
1045
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
1050
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1051
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
1046
1052
|
*/
|
|
1047
1053
|
routerCancelUploadDelete(id, options) {
|
|
1048
1054
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/upload-sessions/${encodeURIComponent(id)}` });
|
|
1049
1055
|
}
|
|
1050
1056
|
/**
|
|
1051
|
-
*
|
|
1057
|
+
* Get upload session. Returns the bare JSON payload with full Axios status/headers; missing records404 and validation400.
|
|
1052
1058
|
* Calls `GET /api/v1/upload-sessions/{id}` through the shared IDP-aware Faiber client.
|
|
1053
1059
|
* @param id Backend path identifier `id`.
|
|
1054
1060
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1055
|
-
* @returns The complete Axios response, including the typed
|
|
1056
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:read.
|
|
1061
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1062
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:read (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
1057
1063
|
*/
|
|
1058
1064
|
routerGetUploadSessionGet(id, options) {
|
|
1059
1065
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/upload-sessions/${encodeURIComponent(id)}` });
|
|
1060
1066
|
}
|
|
1061
1067
|
/**
|
|
1062
|
-
*
|
|
1068
|
+
* Complete multipart when uploaded sizes sum total_bytes, verify stored size and register media201; repeat completed session200. checksum_sha256 is stored client metadata, not independently verified.
|
|
1063
1069
|
* Calls `POST /api/v1/upload-sessions/{id}/complete` through the shared IDP-aware Faiber client.
|
|
1064
1070
|
* @param id Backend path identifier `id`.
|
|
1065
1071
|
* @param data Typed JSON request body.
|
|
1066
1072
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1067
|
-
* @returns The complete Axios response, including the typed
|
|
1068
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
1073
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1074
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
1069
1075
|
*/
|
|
1070
1076
|
routerCompleteUploadPost(id, data, options) {
|
|
1071
1077
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/upload-sessions/${encodeURIComponent(id)}/complete`, data: data });
|
|
1072
1078
|
}
|
|
1073
1079
|
/**
|
|
1074
|
-
*
|
|
1080
|
+
* Send raw bytes (not JSON/multipart), part_number1..10000; nonempty body no larger than session part_size; expired/non-uploading409. Re-upload replaces stored part metadata.
|
|
1075
1081
|
* Calls `PUT /api/v1/upload-sessions/{id}/parts/{part_number}` through the shared IDP-aware Faiber client.
|
|
1076
1082
|
* @param id Backend path identifier `id`.
|
|
1077
1083
|
* @param partNumber Backend path identifier `part_number`.
|
|
1078
1084
|
* @param data Typed binary byte stream.
|
|
1079
1085
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1080
|
-
* @returns The complete Axios response, including the typed
|
|
1081
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: drm:media:write.
|
|
1086
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1087
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Local AuthContext requires drm:media:write (management/wildcard aliases accepted). Pinned IDP SDK extracts trusted x-user-* headers with dev-fallback and does not verify tokens; use an enforcing gateway. FaiberClient forwards configured Bearer/cookie credentials; deployed gateway authority remains unverified.
|
|
1082
1088
|
*/
|
|
1083
1089
|
routerPutUploadPartPut(id, partNumber, data, options) {
|
|
1084
1090
|
return this.client.request({ ...options, method: "PUT", url: `/api/v1/upload-sessions/${encodeURIComponent(id)}/parts/${encodeURIComponent(partNumber)}`, data: data, headers: { "Content-Type": "application/octet-stream", ...options?.headers } });
|