@faiber/faiber-session 0.24.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,433 +1,512 @@
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 SessionOperations extends ServiceApi {
3
9
  /**
4
- * Performs the status route operation for the router capability.
10
+ * Read public liveness and hard-coded service version; no database readiness probe.
5
11
  * Calls `GET /` through the shared IDP-aware Faiber client.
6
12
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
7
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
8
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
13
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
14
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local permission requirement; production auth context middleware still runs.
9
15
  */
10
16
  routerStatusRouteGet(options) {
11
17
  return this.client.request({ ...options, method: "GET", url: `/` });
12
18
  }
13
19
  /**
14
- * Performs the show operation for the branding capability.
20
+ * Read flattened branding with nullable title/icon and locale map. Requires a non-nil user and config:read.
15
21
  * Calls `GET /api/v1/config/branding` through the shared IDP-aware Faiber client.
16
22
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
17
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
18
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: config:read.
23
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
24
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; config:read.
19
25
  */
20
26
  brandingShowGet(options) {
21
27
  return this.client.request({ ...options, method: "GET", url: `/api/v1/config/branding` });
22
28
  }
23
29
  /**
24
- * Performs the update operation for the branding capability.
30
+ * Replace branding; omitted fields reset to defaults. Locale keys normalize lowercase, titles trim (500 characters max), at most 30 locales; icon URL derives from uploaded key. Invalid/unuploaded keys return422.
25
31
  * Calls `PUT /api/v1/config/branding` through the shared IDP-aware Faiber client.
26
32
  * @param data Typed JSON request body.
27
33
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
28
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
29
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: config:update.
34
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
35
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; config:update.
30
36
  */
31
37
  brandingUpdatePut(data, options) {
32
38
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/config/branding`, data: data });
33
39
  }
34
40
  /**
35
- * Performs the upload operation for the branding capability.
41
+ * Upload FormData with file as its first field. PNG/JPEG/WebP signature and MIME must match; nonempty image at most8MiB. Returns asset_key and URL; malformed, oversized and unsupported files return400/413/415.
36
42
  * Calls `POST /api/v1/config/branding/assets` through the shared IDP-aware Faiber client.
37
43
  * @param data Typed multipart form.
38
44
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
39
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
40
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: config:update.
45
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
46
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; config:update.
41
47
  */
42
48
  brandingUploadPost(data, options) {
43
49
  return this.client.request({ ...options, method: "POST", url: `/api/v1/config/branding/assets`, data: data });
44
50
  }
45
51
  /**
46
- * Performs the livekit config show operation for the configuration capability.
52
+ * Read LiveKit/recording/AI settings with secret-presence booleans; secrets are never returned.
47
53
  * Calls `GET /api/v1/config/livekit` through the shared IDP-aware Faiber client.
48
54
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
49
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
50
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: config:read.
55
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
56
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; config:read.
51
57
  */
52
58
  configurationLivekitConfigShowGet(options) {
53
59
  return this.client.request({ ...options, method: "GET", url: `/api/v1/config/livekit` });
54
60
  }
55
61
  /**
56
- * Performs the livekit config update operation for the configuration capability.
62
+ * Replace LiveKit settings. Missing/null/blank secret fields preserve existing secrets; omitted audio_processing_enabled becomes false, audio_language defaults auto. Model refs may clear with null. Invalid URLs, language, schedules and model configuration return422.
57
63
  * Calls `PUT /api/v1/config/livekit` through the shared IDP-aware Faiber client.
58
64
  * @param data Typed JSON request body.
59
65
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
60
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
61
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: config:update.
66
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
67
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; config:update.
62
68
  */
63
69
  configurationLivekitConfigUpdatePut(data, options) {
64
70
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/config/livekit`, data: data });
65
71
  }
66
72
  /**
67
- * Performs the integration docs show operation for the integration capability.
73
+ * Read browser integration steps and code snippets with the configured public LiveKit websocket URL.
68
74
  * Calls `GET /api/v1/integration/docs` through the shared IDP-aware Faiber client.
69
75
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
70
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
71
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: integration:read.
76
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
77
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; integration:read.
72
78
  */
73
79
  integrationIntegrationDocsShowGet(options) {
74
80
  return this.client.request({ ...options, method: "GET", url: `/api/v1/integration/docs` });
75
81
  }
76
82
  /**
77
- * Performs the flow integration show operation for the integration capability.
78
- * Calls `GET /api/v1/integration/flow` through the shared IDP-aware Faiber client.
79
- * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
80
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
81
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
82
- */
83
- integrationFlowIntegrationShowGet(options) {
84
- return this.client.request({ ...options, method: "GET", url: `/api/v1/integration/flow` });
85
- }
86
- /**
87
- * Performs the tool schema operation for the assistant tools capability.
83
+ * Read the two stable assistant tool schemas (session_list and session_detail). This route has no local permission gate.
88
84
  * Calls `GET /api/v1/integrations/chat/tool-schema` through the shared IDP-aware Faiber client.
89
85
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
90
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
91
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
86
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
87
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local permission requirement; production auth context middleware still runs.
92
88
  */
93
89
  assistantToolsToolSchemaGet(options) {
94
90
  return this.client.request({ ...options, method: "GET", url: `/api/v1/integrations/chat/tool-schema` });
95
91
  }
96
92
  /**
97
- * Performs the list user sessions operation for the assistant tools capability.
93
+ * List the specified user participant rooms by newest activity. q searches room name; limit defaults20 and clamps1..100. Latest analysis is restricted to that user and transcript truncates to1200 characters.
98
94
  * Calls `GET /api/v1/integrations/chat/users/{user_id}/sessions` through the shared IDP-aware Faiber client.
99
95
  * @param userId Backend path identifier `user_id`.
100
96
  * @param params Typed query parameters; omitted members retain backend defaults.
101
97
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
102
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
103
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
98
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
99
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Own user plus assistant_session:read_own OR room_recording:read_own OR room:read_recordings; OR assistant_session:read_all/room_recording:read_all. * and session:* accepted.
104
100
  */
105
101
  assistantToolsListUserSessionsGet(userId, params, options) {
106
102
  return this.client.request({ ...options, method: "GET", url: `/api/v1/integrations/chat/users/${encodeURIComponent(userId)}/sessions`, params });
107
103
  }
108
104
  /**
109
- * Performs the user session detail operation for the assistant tools capability.
105
+ * Read one room only if the specified user is a participant; missing membership/room returns404. Own access filters analyses to that user; read_all includes all room analyses. DRM manifest and model analysis remain provider-owned JSON.
110
106
  * Calls `GET /api/v1/integrations/chat/users/{user_id}/sessions/{room_id}` through the shared IDP-aware Faiber client.
111
107
  * @param userId Backend path identifier `user_id`.
112
108
  * @param roomId Backend path identifier `room_id`.
113
109
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
114
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
115
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
110
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
111
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Own user plus assistant_session:read_own OR room_recording:read_own OR room:read_recordings; OR assistant_session:read_all/room_recording:read_all. * and session:* accepted.
116
112
  */
117
113
  assistantToolsUserSessionDetailGet(userId, roomId, options) {
118
114
  return this.client.request({ ...options, method: "GET", url: `/api/v1/integrations/chat/users/${encodeURIComponent(userId)}/sessions/${encodeURIComponent(roomId)}` });
119
115
  }
120
116
  /**
121
- * Performs the performance context operation for the integration capability.
122
- * Calls `POST /api/v1/integrations/lms/performance-context` through the shared IDP-aware Faiber client.
123
- * @param data Typed JSON request body.
117
+ * Read trusted LMS notification state. Header x-infera-lms-token must match LMS_SERVICE_TOKEN (403 on mismatch,503 if missing/provider unavailable). This read can persist learning start and an outbox event; LiveKit probe timeout is5s.
118
+ * Calls `GET /api/v1/integrations/lms/rooms/{id}/notification-state` through the shared IDP-aware Faiber client.
119
+ * @param id Backend path identifier `id`.
124
120
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
125
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
126
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
121
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
122
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Trusted server-only x-infera-lms-token matching LMS_SERVICE_TOKEN.
127
123
  */
128
- integrationPerformanceContextPost(data, options) {
129
- return this.client.request({ ...options, method: "POST", url: `/api/v1/integrations/lms/performance-context`, data: data });
124
+ notificationStateSnapshotGet(id, options) {
125
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/integrations/lms/rooms/${encodeURIComponent(id)}/notification-state` });
130
126
  }
131
127
  /**
132
- * Performs the public show operation for the branding capability.
128
+ * Read public flattened branding and nullable runtime-validated feedback_task_origin. This origin cannot be saved through branding.
133
129
  * Calls `GET /api/v1/public/branding` through the shared IDP-aware Faiber client.
134
130
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
135
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
136
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
131
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
132
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local permission requirement; production auth context middleware still runs.
137
133
  */
138
134
  brandingPublicShowGet(options) {
139
135
  return this.client.request({ ...options, method: "GET", url: `/api/v1/public/branding` });
140
136
  }
141
137
  /**
142
- * Performs the asset operation for the branding capability.
138
+ * Read public raw branding image bytes with immutable cache headers. Invalid/missing UUID.extension key returns404; this is not a JSON envelope.
143
139
  * Calls `GET /api/v1/public/branding/assets/{key}` through the shared IDP-aware Faiber client.
144
140
  * @param key Backend path identifier `key`.
145
141
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
146
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
147
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
142
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
143
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local permission requirement; production auth context middleware still runs.
148
144
  */
149
145
  brandingAssetGet(key, options) {
150
- return this.client.request({ ...options, method: "GET", url: `/api/v1/public/branding/assets/${encodeURIComponent(key)}` });
146
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/public/branding/assets/${encodeURIComponent(key)}`, responseType: "arraybuffer" });
151
147
  }
152
148
  /**
153
- * Performs the recordings index operation for the recording capability.
149
+ * Page recording queue with page_number/page_size (default1/10, page>=1 and size1..100), escaped literal search and exact status filter. Returns recordings and meta; sorted by started_at descending.
154
150
  * Calls `GET /api/v1/recordings` through the shared IDP-aware Faiber client.
155
151
  * @param params Typed query parameters; omitted members retain backend defaults.
156
152
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
157
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
158
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room_recording:read.
153
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
154
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room_recording:read; aliases room_recording:read_all, room:read_recordings.
159
155
  */
160
156
  recordingRecordingsIndexGet(params, options) {
161
157
  return this.client.request({ ...options, method: "GET", url: `/api/v1/recordings`, params });
162
158
  }
163
159
  /**
164
- * Performs the recording manifest operation for the recording capability.
160
+ * Read typed recording tracks and analyses; missing recording returns404. Own read requires current room-client membership; global/admin scopes are accepted. Analysis remains model-owned JSON.
165
161
  * Calls `GET /api/v1/recordings/{recording_id}/manifest` through the shared IDP-aware Faiber client.
166
162
  * @param recordingId Backend path identifier `recording_id`.
167
163
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
168
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
169
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room_recording:read.
164
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
165
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room_recording:read; aliases room_recording:read_all, room_recording:read_own, room:read_recordings.
170
166
  */
171
167
  recordingRecordingManifestGet(recordingId, options) {
172
168
  return this.client.request({ ...options, method: "GET", url: `/api/v1/recordings/${encodeURIComponent(recordingId)}/manifest` });
173
169
  }
174
170
  /**
175
- * Performs the recording schedule operation for the recording capability.
171
+ * Schedule ready/scheduled/failed recording processing; raw_capturing/processing/archived/deleting or raced transitions return409. process_at is timezone-free ISO datetime. Omitted/null optional audio fields preserve current values.
176
172
  * Calls `POST /api/v1/recordings/{recording_id}/schedule` through the shared IDP-aware Faiber client.
177
173
  * @param recordingId Backend path identifier `recording_id`.
178
174
  * @param data Typed JSON request body.
179
175
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
180
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
181
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room_recording:process.
176
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
177
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room_recording:process.
182
178
  */
183
179
  recordingRecordingSchedulePost(recordingId, data, options) {
184
180
  return this.client.request({ ...options, method: "POST", url: `/api/v1/recordings/${encodeURIComponent(recordingId)}/schedule`, data: data });
185
181
  }
186
182
  /**
187
- * Performs the audio models operation for the recording capability.
183
+ * Read normalized Agentic audio model catalog using configured financial owner or current config user; missing owner/upstream failure returns502.
188
184
  * Calls `GET /api/v1/recordings/audio-models` through the shared IDP-aware Faiber client.
189
185
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
190
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
191
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: config:read.
186
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
187
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; config:read.
192
188
  */
193
189
  recordingAudioModelsGet(options) {
194
190
  return this.client.request({ ...options, method: "GET", url: `/api/v1/recordings/audio-models` });
195
191
  }
196
192
  /**
197
- * Performs the room state respond operation for the room state capability.
193
+ * Respond as a current participant to question/task/game state. Staff cannot answer questions/tasks. values are required; evidence_images defaults empty. Failed task validation returns200 with validated:false, without persisting completion. Accepted replies may advance the active cohort and emit rewards.
198
194
  * Calls `POST /api/v1/room_states/{room_state_id}/respond` through the shared IDP-aware Faiber client.
199
195
  * @param roomStateId Backend path identifier `room_state_id`.
200
196
  * @param data Typed JSON request body.
201
197
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
202
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
203
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room_state:respond.
198
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
199
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room_state:respond; aliases room:read_own.
204
200
  */
205
201
  roomStateRoomStateRespondPost(roomStateId, data, options) {
206
202
  return this.client.request({ ...options, method: "POST", url: `/api/v1/room_states/${encodeURIComponent(roomStateId)}/respond`, data: data });
207
203
  }
208
204
  /**
209
- * Performs the rooms index operation for the room capability.
205
+ * List rooms with page_number/page_size (default1/10; supply positive values), custom_only and normalized Persian/literal search. Returns data.rooms without pagination metadata. status is numeric; current_state uses Rust enum variant casing.
210
206
  * Calls `GET /api/v1/rooms` through the shared IDP-aware Faiber client.
211
207
  * @param params Typed query parameters; omitted members retain backend defaults.
212
208
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
213
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
214
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:read.
209
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
210
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room:read; aliases room:read_all, room:read_own.
215
211
  */
216
212
  roomRoomsIndexGet(params, options) {
217
213
  return this.client.request({ ...options, method: "GET", url: `/api/v1/rooms`, params });
218
214
  }
219
215
  /**
220
- * Performs the rooms create operation for the room capability.
216
+ * Create a room with required name/capacity/starts_at; starts_at is timezone-free ISO datetime. Room-state names use PascalCase (ChargeLow), numeric room status defaults1. Composition rooms materialize DRM state later. Returns200 data.room.
221
217
  * Calls `POST /api/v1/rooms` through the shared IDP-aware Faiber client.
222
218
  * @param data Typed JSON request body.
223
219
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
224
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
225
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:create.
220
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
221
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room:create; aliases room:read, room:read_own.
226
222
  */
227
223
  roomRoomsCreatePost(data, options) {
228
224
  return this.client.request({ ...options, method: "POST", url: `/api/v1/rooms`, data: data });
229
225
  }
230
226
  /**
231
- * Performs the rooms delete operation for the room capability.
227
+ * Delete room and dependent records; returns200 data.room snapshot of the deleted room, not a generic deleted boolean. Missing room returns404; started-room media cleanup is best effort.
232
228
  * Calls `DELETE /api/v1/rooms/{room_id}` through the shared IDP-aware Faiber client.
233
229
  * @param roomId Backend path identifier `room_id`.
234
230
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
235
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
236
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:delete.
231
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
232
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room:delete.
237
233
  */
238
234
  roomRoomsDeleteDelete(roomId, options) {
239
235
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/rooms/${encodeURIComponent(roomId)}` });
240
236
  }
241
237
  /**
242
- * Performs the rooms show operation for the room capability.
238
+ * Read room detail with nullable timestamps/current_state and numeric status. Requires preview access or own room membership; missing room returns404.
243
239
  * Calls `GET /api/v1/rooms/{room_id}` through the shared IDP-aware Faiber client.
244
240
  * @param roomId Backend path identifier `room_id`.
245
241
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
246
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
247
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:read.
242
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
243
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room:read; aliases room:read_all, room:read_own.
248
244
  */
249
245
  roomRoomsShowGet(roomId, options) {
250
246
  return this.client.request({ ...options, method: "GET", url: `/api/v1/rooms/${encodeURIComponent(roomId)}` });
251
247
  }
252
248
  /**
253
- * Performs the rooms update operation for the room capability.
249
+ * Partially update a room via PUT or PATCH (same handler). Omitted/null optional fields preserve values; users/states arrays synchronize membership/states. Before start, timing/state edits reset lifecycle; after start progress is retained. Missing room currently returns500.
254
250
  * Calls `PATCH /api/v1/rooms/{room_id}` through the shared IDP-aware Faiber client.
255
251
  * @param roomId Backend path identifier `room_id`.
256
252
  * @param data Typed JSON request body.
257
253
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
258
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
259
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:update.
254
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
255
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room:update.
260
256
  */
261
257
  roomRoomsUpdatePatch(roomId, data, options) {
262
258
  return this.client.request({ ...options, method: "PATCH", url: `/api/v1/rooms/${encodeURIComponent(roomId)}`, data: data });
263
259
  }
264
260
  /**
265
- * Performs the rooms update operation for the room capability.
261
+ * Partially update a room via PUT or PATCH (same handler). Omitted/null optional fields preserve values; users/states arrays synchronize membership/states. Before start, timing/state edits reset lifecycle; after start progress is retained. Missing room currently returns500.
266
262
  * Calls `PUT /api/v1/rooms/{room_id}` through the shared IDP-aware Faiber client.
267
263
  * @param roomId Backend path identifier `room_id`.
268
264
  * @param data Typed JSON request body.
269
265
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
270
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
271
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:update.
266
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
267
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room:update.
272
268
  */
273
269
  roomRoomsUpdatePut(roomId, data, options) {
274
270
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/rooms/${encodeURIComponent(roomId)}`, data: data });
275
271
  }
276
272
  /**
277
- * Performs the rooms end operation for the room capability.
273
+ * End current room; requires teacher/admin/manager role or current LMS teacher in addition to permission. Returns200 {status,message} without data; absent room returns404.
278
274
  * Calls `POST /api/v1/rooms/{room_id}/end` through the shared IDP-aware Faiber client.
279
275
  * @param roomId Backend path identifier `room_id`.
280
276
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
281
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
282
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:end.
277
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
278
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room:end.
283
279
  */
284
280
  roomRoomsEndPost(roomId, options) {
285
281
  return this.client.request({ ...options, method: "POST", url: `/api/v1/rooms/${encodeURIComponent(roomId)}/end` });
286
282
  }
287
283
  /**
288
- * Performs the interact operation for the asset economy capability.
284
+ * Queue a server-authorized interaction for an unmuted participant in an active room. Reuse event_id only for identical interaction/content; changed or pending retries return409. content max4096 encoded bytes; disabled interactions return422. Asset receipt returns unchanged.
289
285
  * Calls `POST /api/v1/rooms/{room_id}/interactions` through the shared IDP-aware Faiber client.
290
286
  * @param roomId Backend path identifier `room_id`.
291
287
  * @param data Typed JSON request body.
292
288
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
293
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
294
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:read_own.
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: IDP Bearer token or secure cookie via shared FaiberClient; room:read_own; aliases room:read.
295
291
  */
296
292
  assetEconomyInteractPost(roomId, data, options) {
297
293
  return this.client.request({ ...options, method: "POST", url: `/api/v1/rooms/${encodeURIComponent(roomId)}/interactions`, data: data });
298
294
  }
299
295
  /**
300
- * Performs the rooms interactive start operation for the room capability.
296
+ * Start interactive state for a current room participant after asset checks; no request body. Returns200 {status,message} without data; missing room/client returns404.
301
297
  * Calls `POST /api/v1/rooms/{room_id}/interactive/start` through the shared IDP-aware Faiber client.
302
298
  * @param roomId Backend path identifier `room_id`.
303
299
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
304
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
305
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:start_interactive.
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: IDP Bearer token or secure cookie via shared FaiberClient; room:start_interactive; aliases room:read_own.
306
302
  */
307
303
  roomRoomsInteractiveStartPost(roomId, options) {
308
304
  return this.client.request({ ...options, method: "POST", url: `/api/v1/rooms/${encodeURIComponent(roomId)}/interactive/start` });
309
305
  }
310
306
  /**
311
- * Performs the rooms join operation for the room capability.
307
+ * Issue fresh LiveKit participant token after preview/participant checks and asset admission. Ended room returns empty token. chat_model_ref/chat_assistant_id/realtime are omitted when unavailable; membership and provider grants are enforced server-side.
312
308
  * Calls `GET /api/v1/rooms/{room_id}/join` through the shared IDP-aware Faiber client.
313
309
  * @param roomId Backend path identifier `room_id`.
314
310
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
315
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
316
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:read_livekit_token.
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: IDP Bearer token or secure cookie via shared FaiberClient; room:read_livekit_token; aliases room:read, room:read_all, room:read_own.
317
313
  */
318
314
  roomRoomsJoinGet(roomId, options) {
319
315
  return this.client.request({ ...options, method: "GET", url: `/api/v1/rooms/${encodeURIComponent(roomId)}/join` });
320
316
  }
321
317
  /**
322
- * Performs the rooms leaderboard operation for the room capability.
318
+ * Read active seconds, earned coins and asset names per participant; this handler has no extra room-membership check beyond declared permission.
323
319
  * Calls `GET /api/v1/rooms/{room_id}/leaderboard` through the shared IDP-aware Faiber client.
324
320
  * @param roomId Backend path identifier `room_id`.
325
321
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
326
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
327
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:read_own.
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: IDP Bearer token or secure cookie via shared FaiberClient; room:read_own; aliases room:read, room:read_all.
328
324
  */
329
325
  roomRoomsLeaderboardGet(roomId, options) {
330
326
  return this.client.request({ ...options, method: "GET", url: `/api/v1/rooms/${encodeURIComponent(roomId)}/leaderboard` });
331
327
  }
332
328
  /**
333
- * Performs the rooms livekit token operation for the room capability.
329
+ * Issue LiveKit preview/participant token after preview/membership checks; ended room returns409 and missing room returns404.
334
330
  * Calls `GET /api/v1/rooms/{room_id}/livekit-token` through the shared IDP-aware Faiber client.
335
331
  * @param roomId Backend path identifier `room_id`.
336
332
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
337
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
338
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:read_livekit_token.
333
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
334
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room:read_livekit_token; aliases room:read, room:read_all, room:read_own, room_recording:read, room_recording:read_all, room_recording:read_own.
339
335
  */
340
336
  roomRoomsLivekitTokenGet(roomId, options) {
341
337
  return this.client.request({ ...options, method: "GET", url: `/api/v1/rooms/${encodeURIComponent(roomId)}/livekit-token` });
342
338
  }
343
339
  /**
344
- * Performs the rooms self moderation operation for the room capability.
340
+ * Read current participant mute status; expired mute becomes null. Authenticated user and existing participant are required; absent participant returns404.
345
341
  * Calls `GET /api/v1/rooms/{room_id}/moderation` through the shared IDP-aware Faiber client.
346
342
  * @param roomId Backend path identifier `room_id`.
347
343
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
348
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
349
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:read_own.
344
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
345
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room:read_own; aliases room:read, room:read_all.
350
346
  */
351
347
  roomRoomsSelfModerationGet(roomId, options) {
352
348
  return this.client.request({ ...options, method: "GET", url: `/api/v1/rooms/${encodeURIComponent(roomId)}/moderation` });
353
349
  }
354
350
  /**
355
- * Performs the rooms participant mute operation for the room capability.
351
+ * Mute/unmute a student as teacher/admin/manager or current LMS teacher. Self mute returns400, staff targets403, unverifiable LMS staff503. Returns nullable muted_until.
356
352
  * Calls `PUT /api/v1/rooms/{room_id}/participants/{profile_id}/mute` through the shared IDP-aware Faiber client.
357
353
  * @param roomId Backend path identifier `room_id`.
358
354
  * @param profileId Backend path identifier `profile_id`.
359
355
  * @param data Typed JSON request body.
360
356
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
361
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
362
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:end.
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: IDP Bearer token or secure cookie via shared FaiberClient; room:end; aliases room:update, room:read, room:read_own.
363
359
  */
364
360
  roomRoomsParticipantMutePut(roomId, profileId, data, options) {
365
361
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/rooms/${encodeURIComponent(roomId)}/participants/${encodeURIComponent(profileId)}/mute`, data: data });
366
362
  }
367
363
  /**
368
- * Performs the rooms playback show operation for the room capability.
364
+ * Read full playback room/states after preview and readiness checks. Classroom session IDs can resolve through LMS. Unready/untimed composition returns409; timestamps include nullable available_until.
369
365
  * Calls `GET /api/v1/rooms/{room_id}/playback` through the shared IDP-aware Faiber client.
370
366
  * @param roomId Backend path identifier `room_id`.
371
367
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
372
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
373
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:read_playback.
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: IDP Bearer token or secure cookie via shared FaiberClient; room:read_playback; aliases room:read, room:read_all, room:read_own, room_recording:read, room_recording:read_all, room_recording:read_own.
374
370
  */
375
371
  roomRoomsPlaybackShowGet(roomId, options) {
376
372
  return this.client.request({ ...options, method: "GET", url: `/api/v1/rooms/${encodeURIComponent(roomId)}/playback` });
377
373
  }
378
374
  /**
379
- * Performs the rooms presence events operation for the room capability.
375
+ * Read joined/left activity-log events for an authorized previewer or participant, sorted by timestamp then ID. Output timestamps are UTC; missing room returns404.
380
376
  * Calls `GET /api/v1/rooms/{room_id}/presence-events` through the shared IDP-aware Faiber client.
381
377
  * @param roomId Backend path identifier `room_id`.
382
378
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
383
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
384
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:read or room:read_all or room:read_own plus room preview/participation access.
379
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
380
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room:read; aliases room:read_all, room:read_own.
385
381
  */
386
382
  roomRoomsPresenceEventsGet(roomId, options) {
387
383
  return this.client.request({ ...options, method: "GET", url: `/api/v1/rooms/${encodeURIComponent(roomId)}/presence-events` });
388
384
  }
389
385
  /**
390
- * Performs the rooms recordings operation for the room capability.
386
+ * Read recording list and analyses after recording permission and current membership/global/admin checks; presigned URLs are returned, with model-produced analysis JSON.
391
387
  * Calls `GET /api/v1/rooms/{room_id}/recordings` through the shared IDP-aware Faiber client.
392
388
  * @param roomId Backend path identifier `room_id`.
393
389
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
394
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
395
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room_recording:read.
390
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
391
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room_recording:read; aliases room_recording:read_all, room_recording:read_own, room:read_recordings.
396
392
  */
397
393
  roomRoomsRecordingsGet(roomId, options) {
398
394
  return this.client.request({ ...options, method: "GET", url: `/api/v1/rooms/${encodeURIComponent(roomId)}/recordings` });
399
395
  }
400
396
  /**
401
- * Performs the rooms stop operation for the room capability.
397
+ * Stop room using its registered GET route and return200 data.room. This operation mutates state; missing room returns404.
402
398
  * Calls `GET /api/v1/rooms/{room_id}/stop` through the shared IDP-aware Faiber client.
403
399
  * @param roomId Backend path identifier `room_id`.
404
400
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
405
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
406
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:stop.
401
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
402
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room:stop.
407
403
  */
408
404
  roomRoomsStopGet(roomId, options) {
409
405
  return this.client.request({ ...options, method: "GET", url: `/api/v1/rooms/${encodeURIComponent(roomId)}/stop` });
410
406
  }
411
407
  /**
412
- * Performs the rooms analytics operation for the room capability.
408
+ * Read ongoing sessions, today sessions and distinct ongoing/today connected users from repository activity and room records.
413
409
  * Calls `GET /api/v1/rooms/analytics` through the shared IDP-aware Faiber client.
414
410
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
415
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
416
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: room:read_analytics.
411
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
412
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP Bearer token or secure cookie via shared FaiberClient; room:read_analytics.
417
413
  */
418
414
  roomRoomsAnalyticsGet(options) {
419
415
  return this.client.request({ ...options, method: "GET", url: `/api/v1/rooms/analytics` });
420
416
  }
421
417
  /**
422
- * Performs the livekit webhook operation for the room capability.
418
+ * Receive signed LiveKit webhook raw bytes; preserve the signed body exactly and supply Authorization. Invalid/missing signature returns401. Success returns200 {status,message} without data; this is server-to-server transport.
423
419
  * Calls `POST /api/v1/rooms/livekit/webhook` through the shared IDP-aware Faiber client.
424
420
  * @param data Typed binary byte stream.
425
421
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
426
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
427
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
422
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
423
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: LiveKit webhook Authorization signature; preserve exact body bytes.
428
424
  */
429
425
  roomLivekitWebhookPost(data, options) {
430
426
  return this.client.request({ ...options, method: "POST", url: `/api/v1/rooms/livekit/webhook`, data: data, headers: { "Content-Type": "application/octet-stream", ...options?.headers } });
431
427
  }
428
+ /**
429
+ * Read native observation policy with current IDP Bearer authority session:summary_access:manage; cookie-only and spoofed actor headers are insufficient. Binding is source-owned; this is not an MCP session.
430
+ * Calls `GET /api/v1/summary-access` through the shared IDP-aware Faiber client.
431
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
432
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
433
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Current IDP Bearer authority session:summary_access:manage; source binding and downstream collector checks.
434
+ */
435
+ nativeSummaryAccessStatus(options) {
436
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/summary-access` });
437
+ }
438
+ /**
439
+ * Save native observation policy with optimistic expected_revision (stale409), required reason max1024 Unicode characters, and current collector session:summary:read validation when enabling. After503 reload current state before retrying; mutation may have committed.
440
+ * Calls `PUT /api/v1/summary-access` through the shared IDP-aware Faiber client.
441
+ * @param data Typed JSON request body.
442
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
443
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
444
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Current IDP Bearer authority session:summary_access:manage; source binding and downstream collector checks.
445
+ */
446
+ saveNativeSummaryAccessPolicy(data, options) {
447
+ return this.client.request({ ...options, method: "PUT", url: `/api/v1/summary-access`, data: data });
448
+ }
449
+ /**
450
+ * Revoke one native summary object with required reason max1024 Unicode characters. Revocation survives policy disable/re-enable. Reload current state after503 because mutation can commit before status reconciliation fails.
451
+ * Calls `POST /api/v1/summary-access/revocations` through the shared IDP-aware Faiber client.
452
+ * @param data Typed JSON request body.
453
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
454
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
455
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Current IDP Bearer authority session:summary_access:manage; source binding and downstream collector checks.
456
+ */
457
+ revokeNativeSummaryObject(data, options) {
458
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/summary-access/revocations`, data: data });
459
+ }
460
+ /**
461
+ * Restore a native summary object using JSON DELETE body with required reason max1024 Unicode characters. Reload after503; restored status can lag reconciliation.
462
+ * Calls `DELETE /api/v1/summary-access/revocations/{object}` through the shared IDP-aware Faiber client.
463
+ * @param object Backend path identifier `object`.
464
+ * @param data Typed JSON request body.
465
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
466
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
467
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Current IDP Bearer authority session:summary_access:manage; source binding and downstream collector checks.
468
+ */
469
+ restoreNativeSummaryObject(object, data, options) {
470
+ return this.client.request({ ...options, method: "DELETE", url: `/api/v1/summary-access/revocations/${encodeURIComponent(object)}`, data: data });
471
+ }
472
+ /**
473
+ * Forward opaque peer bytes through Session actor extraction to chat/asset/profile/drm/lms; explicit HTTP method and separate query. Body max2MiB (413); missing configured Chat/DRM/LMS or upstream failure502; unknown peer404. Chat room grants enforce membership and filter collections; DRM path-based read grants do not prove room membership. Response headers are allowlisted; SDK buffers upstream streams.
474
+ * Calls `ANY /api/v1/view/{service}/{*path}` through the shared IDP-aware Faiber client.
475
+ * @param service Backend path identifier `service`.
476
+ * @param path Backend path identifier `*path`.
477
+ * @param method HTTP method accepted by the mounted ANY handler; CONNECT requires an explicit tunnel-capable Axios adapter. The SDK never sends an ANY verb.
478
+ * @param data Typed JSON request body.
479
+ * @param params Typed query parameters; omitted members retain backend defaults.
480
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
481
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
482
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Extracted IDP actor; Session room/peer authorization plus target-service current authorization.
483
+ */
484
+ routerProxyViewServiceAny(service, path, method, data, params, options) {
485
+ if (!["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS", "TRACE", "CONNECT"].includes(method))
486
+ throw new TypeError("Invalid HTTP method");
487
+ if (method === "CONNECT" && !options?.adapter)
488
+ throw new TypeError("CONNECT requires an explicit tunnel-capable Axios adapter");
489
+ return this.client.request({ ...options, method: method, url: `/api/v1/view/${encodeURIComponent(service)}/${wildcardPath(path)}`, data: data, params, responseType: "arraybuffer" });
490
+ }
491
+ /**
492
+ * Read public liveness and hard-coded service version; no database readiness probe.
493
+ * Calls `GET /health` through the shared IDP-aware Faiber client.
494
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
495
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
496
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local permission requirement; production auth context middleware still runs.
497
+ */
498
+ routerStatusRouteGetHealth(options) {
499
+ return this.client.request({ ...options, method: "GET", url: `/health` });
500
+ }
501
+ /**
502
+ * Read Flow integration queue/events from the pinned infera-flow-sdk model; mounted at root /integration/flow.
503
+ * Calls `GET /integration/flow` through the shared IDP-aware Faiber client.
504
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
505
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
506
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local permission requirement; production auth context middleware still runs.
507
+ */
508
+ integrationFlowIntegrationShowGet(options) {
509
+ return this.client.request({ ...options, method: "GET", url: `/integration/flow` });
510
+ }
432
511
  }
433
512
  //# sourceMappingURL=operations.js.map