@faiber/faiber-task 0.24.1 → 1.1.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.
@@ -2,218 +2,218 @@ import { ServiceApi, urlEncoded } from "@faiber/sdk-core";
2
2
  import { AxiosHeaders } from "axios";
3
3
  export class TaskOperations extends ServiceApi {
4
4
  /**
5
- * Performs the openapi operation for the routes capability.
5
+ * Openapi.
6
6
  * Calls `GET /api/openapi.json` through the shared IDP-aware Faiber client.
7
7
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
8
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
9
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
8
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
9
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local identity extractor; deployment ingress policy is separate. Shared FaiberClient still forwards configured credentials.
10
10
  */
11
11
  workspaceQuery(options) {
12
12
  return this.client.request({ ...options, method: "GET", url: `/api/openapi.json` });
13
13
  }
14
14
  /**
15
- * Performs the effective access operation for the routes capability.
15
+ * Effective access. Returns the Task status/message/data envelope with the full Axios status and headers.
16
16
  * Calls `GET /api/v1/access/effective` through the shared IDP-aware Faiber client.
17
17
  * @param params Typed query parameters; omitted members retain backend defaults.
18
18
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
19
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
20
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
19
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
20
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
21
21
  */
22
22
  routesEffectiveAccessGet(params, options) {
23
23
  return this.client.request({ ...options, method: "GET", url: `/api/v1/access/effective`, params });
24
24
  }
25
25
  /**
26
- * Performs the create agent proposal operation for the routes capability.
26
+ * Create agent proposal. Returns HTTP 201 with the Task status/message/data envelope; ETag is preserved when supplied.
27
27
  * Calls `POST /api/v1/agent-proposals` through the shared IDP-aware Faiber client.
28
28
  * @param data Typed JSON request body.
29
29
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
30
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
31
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
30
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
31
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local agent.propose; verified Bearer/cookie identity through FaiberClient; source checks agent.propose.
32
32
  */
33
33
  routesCreateAgentProposalPost(data, options) {
34
34
  return this.client.request({ ...options, method: "POST", url: `/api/v1/agent-proposals`, data: data });
35
35
  }
36
36
  /**
37
- * Performs the approve agent proposal operation for the routes capability.
37
+ * Mark an agent proposal approved without executing its opaque payload; the proposer cannot approve their own proposal. Returns the Task status/message/data envelope with the full Axios status and headers.
38
38
  * Calls `POST /api/v1/agent-proposals/{id}/approve` through the shared IDP-aware Faiber client.
39
39
  * @param id Backend path identifier `id`.
40
40
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
41
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
42
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
41
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
42
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks agent.approve.
43
43
  */
44
44
  routesApproveAgentProposalPost(id, options) {
45
45
  return this.client.request({ ...options, method: "POST", url: `/api/v1/agent-proposals/${encodeURIComponent(id)}/approve` });
46
46
  }
47
47
  /**
48
- * Performs the query operation for the routes capability.
48
+ * Query. Returns the Task status/message/data envelope with the full Axios status and headers. Queries enforce SQL visibility; reviewed mutations validate each domain grant. Proposal apply rechecks revision and preview atomically; conflicts apply nothing.
49
49
  * Calls `POST /api/v1/assistant/query` through the shared IDP-aware Faiber client.
50
50
  * @param data Typed JSON request body.
51
51
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
52
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
53
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
52
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
53
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient; source checks project.read.
54
54
  */
55
55
  routesQueryPost(data, options) {
56
56
  return this.client.request({ ...options, method: "POST", url: `/api/v1/assistant/query`, data: data });
57
57
  }
58
58
  /**
59
- * Performs the remove operation for the routes capability.
59
+ * Remove. Returns the Task status/message/data envelope with the full Axios status and headers. Private uploads remain quarantined until accepted; current task/note scope and binding rules are rechecked.
60
60
  * Calls `DELETE /api/v1/attachments/{id}` through the shared IDP-aware Faiber client.
61
61
  * @param id Backend path identifier `id`.
62
62
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
63
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
64
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
63
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
64
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks attachment.delete_own, attachment.manage.
65
65
  */
66
66
  routesRemoveDeleteApiV1AttachmentsId(id, options) {
67
67
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/attachments/${encodeURIComponent(id)}` });
68
68
  }
69
69
  /**
70
- * Performs the status operation for the routes capability.
70
+ * Status. Returns the Task status/message/data envelope with the full Axios status and headers. Private uploads remain quarantined until accepted; current task/note scope and binding rules are rechecked.
71
71
  * Calls `GET /api/v1/attachments/{id}` through the shared IDP-aware Faiber client.
72
72
  * @param id Backend path identifier `id`.
73
73
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
74
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
75
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
74
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
75
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read.
76
76
  */
77
77
  routesStatusGetApiV1AttachmentsId(id, options) {
78
78
  return this.client.request({ ...options, method: "GET", url: `/api/v1/attachments/${encodeURIComponent(id)}` });
79
79
  }
80
80
  /**
81
- * Performs the content operation for the routes capability.
81
+ * Content. Returns the Task status/message/data envelope with the full Axios status and headers. Private uploads remain quarantined until accepted; current task/note scope and binding rules are rechecked.
82
82
  * Calls `PUT /api/v1/attachments/{id}/content` through the shared IDP-aware Faiber client.
83
83
  * @param id Backend path identifier `id`.
84
84
  * @param data Typed multipart form.
85
85
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
86
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
87
- * @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: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks attachment.create.
88
88
  */
89
89
  routesContentPut(id, data, options) {
90
90
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/attachments/${encodeURIComponent(id)}/content`, data: data });
91
91
  }
92
92
  /**
93
- * Performs the download operation for the routes capability.
93
+ * Download. Returns the Task status/message/data envelope with the full Axios status and headers. Private uploads remain quarantined until accepted; current task/note scope and binding rules are rechecked.
94
94
  * Calls `GET /api/v1/attachments/{id}/download` through the shared IDP-aware Faiber client.
95
95
  * @param id Backend path identifier `id`.
96
96
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
97
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
98
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
97
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
98
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read.
99
99
  */
100
100
  routesDownloadGet(id, options) {
101
101
  return this.client.request({ ...options, method: "GET", url: `/api/v1/attachments/${encodeURIComponent(id)}/download`, responseType: "arraybuffer" });
102
102
  }
103
103
  /**
104
- * Performs the config operation for the routes capability.
104
+ * Config. Returns the Task status/message/data envelope with the full Axios status and headers. Private uploads remain quarantined until accepted; current task/note scope and binding rules are rechecked.
105
105
  * Calls `GET /api/v1/collaboration/config` through the shared IDP-aware Faiber client.
106
106
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
107
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
108
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
107
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
108
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
109
109
  */
110
110
  routesConfigGetApiV1CollaborationConfig(options) {
111
111
  return this.client.request({ ...options, method: "GET", url: `/api/v1/collaboration/config` });
112
112
  }
113
113
  /**
114
- * Performs the events operation for the routes capability.
114
+ * Events. Raw SSE invalidate/changed frames, no JSON envelope; permission rechecked per event and keepalive every 15 seconds. Reconnect and refetch current snapshots; no replay cursor.
115
115
  * Calls `GET /api/v1/events` through the shared IDP-aware Faiber client.
116
116
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
117
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
118
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
117
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
118
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local project.read; verified Bearer/cookie identity through FaiberClient; source checks project.read, work_item.read.
119
119
  */
120
120
  routesEventsGet(options) {
121
- return this.client.request({ ...options, method: "GET", url: `/api/v1/events`, responseType: "stream" });
121
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/events`, responseType: "stream", adapter: options?.adapter ?? "fetch" });
122
122
  }
123
123
  /**
124
- * Use the authenticated sandbox integration. Server-enforced ownership and scope apply; stale versions return 409. See the package integration guide for cursor, idempotency, and configuration requirements.
124
+ * Assignees. Returns the Task status/message/data envelope with the full Axios status and headers. Feedback realm identity is required; no platform fallback. Optional X-Feedback-Reporter-Id fences capture identity (409 requires fresh capture); IDP role grants and branch/stage checks remain authoritative.
125
125
  * Calls `GET /api/v1/feedback/assignees` through the shared IDP-aware Faiber client.
126
126
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
127
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
128
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: task:feedback:assign plus configured local scope.
127
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
128
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:feedback:assign; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
129
129
  */
130
130
  feedbackAssigneesGet(options) {
131
131
  return this.client.request({ ...options, method: "GET", url: `/api/v1/feedback/assignees` });
132
132
  }
133
133
  /**
134
- * Use the authenticated sandbox integration. Server-enforced ownership and scope apply; stale versions return 409. See the package integration guide for cursor, idempotency, and configuration requirements.
134
+ * Initialize. Returns the Task status/message/data envelope with the full Axios status and headers. Feedback realm identity is required; no platform fallback. Optional X-Feedback-Reporter-Id fences capture identity (409 requires fresh capture); IDP role grants and branch/stage checks remain authoritative.
135
135
  * Calls `POST /api/v1/feedback/attachments` through the shared IDP-aware Faiber client.
136
136
  * @param data Typed JSON request body.
137
137
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
138
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
139
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: task:feedback:submit.
138
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
139
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:feedback:submit; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
140
140
  */
141
141
  feedbackInitializePost(data, options) {
142
142
  return this.client.request({ ...options, method: "POST", url: `/api/v1/feedback/attachments`, data: data });
143
143
  }
144
144
  /**
145
- * Use the authenticated sandbox integration. Server-enforced ownership and scope apply; stale versions return 409. See the package integration guide for cursor, idempotency, and configuration requirements.
145
+ * Complete. Returns the Task status/message/data envelope with the full Axios status and headers. Feedback realm identity is required; no platform fallback. Optional X-Feedback-Reporter-Id fences capture identity (409 requires fresh capture); IDP role grants and branch/stage checks remain authoritative.
146
146
  * Calls `POST /api/v1/feedback/attachments/{id}/complete` through the shared IDP-aware Faiber client.
147
147
  * @param id Backend path identifier `id`.
148
148
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
149
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
150
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: task:feedback:submit and attachment ownership.
149
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
150
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
151
151
  */
152
152
  feedbackCompletePost(id, options) {
153
153
  return this.client.request({ ...options, method: "POST", url: `/api/v1/feedback/attachments/${encodeURIComponent(id)}/complete` });
154
154
  }
155
155
  /**
156
- * Use the authenticated sandbox integration. Server-enforced ownership and scope apply; stale versions return 409. See the package integration guide for cursor, idempotency, and configuration requirements.
156
+ * Upload. Returns the Task status/message/data envelope with the full Axios status and headers. Feedback realm identity is required; no platform fallback. Optional X-Feedback-Reporter-Id fences capture identity (409 requires fresh capture); IDP role grants and branch/stage checks remain authoritative.
157
157
  * Calls `PUT /api/v1/feedback/attachments/{id}/content` through the shared IDP-aware Faiber client.
158
158
  * @param id Backend path identifier `id`.
159
159
  * @param data Typed binary byte stream.
160
160
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
161
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
162
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: task:feedback:submit and attachment ownership.
161
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
162
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
163
163
  */
164
164
  feedbackUploadPut(id, data, options) {
165
- return this.client.request({ ...options, method: "PUT", url: `/api/v1/feedback/attachments/${encodeURIComponent(id)}/content`, data: data, headers: { "Content-Type": "application/octet-stream", ...options?.headers } });
165
+ return this.client.request({ ...options, method: "PUT", url: `/api/v1/feedback/attachments/${encodeURIComponent(id)}/content`, data: data, headers: { "Content-Type": (typeof Blob !== "undefined" && data instanceof Blob && data.type ? data.type : "application/octet-stream"), ...options?.headers } });
166
166
  }
167
167
  /**
168
- * Use the authenticated sandbox integration. Server-enforced ownership and scope apply; stale versions return 409. See the package integration guide for cursor, idempotency, and configuration requirements.
168
+ * Capabilities. Returns the Task status/message/data envelope with the full Axios status and headers. Feedback realm identity is required; no platform fallback. Optional X-Feedback-Reporter-Id fences capture identity (409 requires fresh capture); IDP role grants and branch/stage checks remain authoritative.
169
169
  * Calls `GET /api/v1/feedback/capabilities` through the shared IDP-aware Faiber client.
170
170
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
171
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
172
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: task:feedback:submit.
171
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
172
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:feedback:submit; handler-specific local scope; verified Bearer/cookie identity through FaiberClient; source checks workspace.manage.
173
173
  */
174
174
  feedbackCapabilitiesGet(options) {
175
175
  return this.client.request({ ...options, method: "GET", url: `/api/v1/feedback/capabilities` });
176
176
  }
177
177
  /**
178
- * Use the authenticated sandbox integration. Server-enforced ownership and scope apply; stale versions return 409. See the package integration guide for cursor, idempotency, and configuration requirements.
178
+ * Get policy. Returns the Task status/message/data envelope with the full Axios status and headers. Feedback realm identity is required; no platform fallback. Optional X-Feedback-Reporter-Id fences capture identity (409 requires fresh capture); IDP role grants and branch/stage checks remain authoritative.
179
179
  * Calls `GET /api/v1/feedback/policy` through the shared IDP-aware Faiber client.
180
180
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
181
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
182
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: task:access:use + local workspace.manage.
181
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
182
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
183
183
  */
184
184
  feedbackGetPolicyGet(options) {
185
185
  return this.client.request({ ...options, method: "GET", url: `/api/v1/feedback/policy` });
186
186
  }
187
187
  /**
188
- * Use the authenticated sandbox integration. Server-enforced ownership and scope apply; stale versions return 409. See the package integration guide for cursor, idempotency, and configuration requirements.
188
+ * Put policy. Supply the current integer If-Match; missing preconditions return 428 and stale versions return 409. Returns the Task status/message/data envelope with the full Axios status and headers. Feedback realm identity is required; no platform fallback. Optional X-Feedback-Reporter-Id fences capture identity (409 requires fresh capture); IDP role grants and branch/stage checks remain authoritative.
189
189
  * Calls `PUT /api/v1/feedback/policy` through the shared IDP-aware Faiber client.
190
190
  * @param data Typed JSON request body.
191
191
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
192
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
193
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: task:access:use + local workspace.manage; If-Match header required (0 initializes).
192
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
193
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
194
194
  */
195
195
  feedbackPutPolicyPut(data, options) {
196
196
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/feedback/policy`, data: data });
197
197
  }
198
198
  /**
199
- * Use the authenticated sandbox integration. Server-enforced ownership and scope apply; stale versions return 409. See the package integration guide for cursor, idempotency, and configuration requirements.
199
+ * Index. Returns the Task status/message/data envelope with the full Axios status and headers. Feedback realm identity is required; no platform fallback. Optional X-Feedback-Reporter-Id fences capture identity (409 requires fresh capture); IDP role grants and branch/stage checks remain authoritative.
200
200
  * Calls `GET /api/v1/feedback/requests` through the shared IDP-aware Faiber client.
201
201
  * @param params Typed query parameters; omitted members retain backend defaults.
202
202
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
203
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
204
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: task:feedback:self:read OR scoped review/assignment permission.
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: IDP route policy task:feedback:self:read; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
205
205
  */
206
206
  feedbackIndexGet(params, options) {
207
207
  return this.client.request({ ...options, method: "GET", url: `/api/v1/feedback/requests`, params });
208
208
  }
209
209
  /**
210
- * Use the authenticated sandbox integration. Server-enforced ownership and scope apply; stale versions return 409. See the package integration guide for cursor, idempotency, and configuration requirements.
210
+ * Create. Returns the Task status/message/data envelope with the full Axios status and headers. Feedback realm identity is required; no platform fallback. Optional X-Feedback-Reporter-Id fences capture identity (409 requires fresh capture); IDP role grants and branch/stage checks remain authoritative.
211
211
  * Calls `POST /api/v1/feedback/requests` through the shared IDP-aware Faiber client.
212
212
  * @param idempotencyKey Stable printable ASCII key (1–128 characters, without spaces); reuse for identical retries.
213
213
  * @param data Typed JSON request body.
214
214
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
215
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
216
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: task:feedback:submit.
215
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
216
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:feedback:submit; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
217
217
  */
218
218
  feedbackCreatePost(data, idempotencyKey, options) {
219
219
  if (!/^[\x21-\x7e]{1,128}$/.test(idempotencyKey))
@@ -223,37 +223,37 @@ export class TaskOperations extends ServiceApi {
223
223
  return this.client.request({ ...options, method: "POST", url: `/api/v1/feedback/requests`, headers, data: data });
224
224
  }
225
225
  /**
226
- * Use the authenticated sandbox integration. Server-enforced ownership and scope apply; stale versions return 409. See the package integration guide for cursor, idempotency, and configuration requirements.
226
+ * Show. Returns the Task status/message/data envelope with the full Axios status and headers. Feedback realm identity is required; no platform fallback. Optional X-Feedback-Reporter-Id fences capture identity (409 requires fresh capture); IDP role grants and branch/stage checks remain authoritative.
227
227
  * Calls `GET /api/v1/feedback/requests/{id}` through the shared IDP-aware Faiber client.
228
228
  * @param id Backend path identifier `id`.
229
229
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
230
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
231
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: task:feedback:self:read OR scoped review/assignment permission.
230
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
231
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
232
232
  */
233
233
  feedbackShowGet(id, options) {
234
234
  return this.client.request({ ...options, method: "GET", url: `/api/v1/feedback/requests/${encodeURIComponent(id)}` });
235
235
  }
236
236
  /**
237
- * Use the authenticated sandbox integration. Server-enforced ownership and scope apply; stale versions return 409. See the package integration guide for cursor, idempotency, and configuration requirements.
237
+ * Content. Returns the Task status/message/data envelope with the full Axios status and headers. Feedback realm identity is required; no platform fallback. Optional X-Feedback-Reporter-Id fences capture identity (409 requires fresh capture); IDP role grants and branch/stage checks remain authoritative.
238
238
  * Calls `GET /api/v1/feedback/requests/{id}/attachments/{attachment}/content` through the shared IDP-aware Faiber client.
239
239
  * @param id Backend path identifier `id`.
240
240
  * @param attachment Backend path identifier `attachment`.
241
241
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
242
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
243
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authorized current request access.
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: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
244
244
  */
245
245
  feedbackContentGet(id, attachment, options) {
246
246
  return this.client.request({ ...options, method: "GET", url: `/api/v1/feedback/requests/${encodeURIComponent(id)}/attachments/${encodeURIComponent(attachment)}/content`, responseType: "arraybuffer" });
247
247
  }
248
248
  /**
249
- * Use the authenticated sandbox integration. Server-enforced ownership and scope apply; stale versions return 409. See the package integration guide for cursor, idempotency, and configuration requirements.
249
+ * Decision. Returns the Task status/message/data envelope with the full Axios status and headers. Feedback realm identity is required; no platform fallback. Optional X-Feedback-Reporter-Id fences capture identity (409 requires fresh capture); IDP role grants and branch/stage checks remain authoritative.
250
250
  * Calls `POST /api/v1/feedback/requests/{id}/decisions` through the shared IDP-aware Faiber client.
251
251
  * @param id Backend path identifier `id`.
252
252
  * @param idempotencyKey Stable printable ASCII key (1–128 characters, without spaces); reuse for identical retries.
253
253
  * @param data Typed JSON request body.
254
254
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
255
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
256
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: task:feedback:review OR task:feedback:assign plus configured local scope.
255
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
256
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
257
257
  */
258
258
  feedbackDecisionPost(id, data, idempotencyKey, options) {
259
259
  if (!/^[\x21-\x7e]{1,128}$/.test(idempotencyKey))
@@ -263,1179 +263,1180 @@ export class TaskOperations extends ServiceApi {
263
263
  return this.client.request({ ...options, method: "POST", url: `/api/v1/feedback/requests/${encodeURIComponent(id)}/decisions`, headers, data: data });
264
264
  }
265
265
  /**
266
- * Performs the use guest link operation for the routes capability.
266
+ * Use guest link. Returns the Task status/message/data envelope with the full Axios status and headers.
267
267
  * Calls `POST /api/v1/guest-links/use` through the shared IDP-aware Faiber client.
268
268
  * @param data Typed JSON request body.
269
269
  * @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: session-derived or public bootstrap route.
270
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
271
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Guest token in body; no IDP identity extractor. Expiry, active link and sandbox are checked by repository.
272
272
  */
273
273
  routesUseGuestLinkPost(data, options) {
274
274
  return this.client.request({ ...options, method: "POST", url: `/api/v1/guest-links/use`, data: data });
275
275
  }
276
276
  /**
277
- * Performs the list operation for the routes capability.
277
+ * List. Returns the Task status/message/data envelope with the full Axios status and headers.
278
278
  * Calls `GET /api/v1/internal/plans/gifts` through the shared IDP-aware Faiber client.
279
279
  * @param params Typed query parameters; omitted members retain backend defaults.
280
280
  * @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: trusted backend service credential and tenant scope; not a public browser endpoint.
281
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
282
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Trusted backend service Bearer credential (PRODUCT_CHAT_SERVICE_TOKEN; gifts use PRODUCT_TRIAL_GIFT_SERVICE_TOKEN), workspace and actor/owner scope; never expose service credentials to browser callers.
283
283
  */
284
284
  routesListGet(params, options) {
285
285
  return this.client.request({ ...options, method: "GET", url: `/api/v1/internal/plans/gifts`, params });
286
286
  }
287
287
  /**
288
- * Performs the create operation for the routes capability.
288
+ * Create. Returns the Task status/message/data envelope with the full Axios status and headers.
289
289
  * Calls `POST /api/v1/internal/plans/gifts` through the shared IDP-aware Faiber client.
290
290
  * @param data Typed JSON request body.
291
291
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
292
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
293
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: trusted backend service credential and tenant scope; not a public browser endpoint.
292
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
293
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Trusted backend service Bearer credential (PRODUCT_CHAT_SERVICE_TOKEN; gifts use PRODUCT_TRIAL_GIFT_SERVICE_TOKEN), workspace and actor/owner scope; never expose service credentials to browser callers.
294
294
  */
295
295
  routesCreatePostApiV1InternalPlansGifts(data, options) {
296
296
  return this.client.request({ ...options, method: "POST", url: `/api/v1/internal/plans/gifts`, data: data });
297
297
  }
298
298
  /**
299
- * Performs the show operation for the routes capability.
299
+ * Show. Returns the Task status/message/data envelope with the full Axios status and headers.
300
300
  * Calls `GET /api/v1/internal/plans/gifts/{id}` through the shared IDP-aware Faiber client.
301
301
  * @param id Backend path identifier `id`.
302
302
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
303
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
304
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: trusted backend service credential and tenant scope; not a public browser endpoint.
303
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
304
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Trusted backend service Bearer credential (PRODUCT_CHAT_SERVICE_TOKEN; gifts use PRODUCT_TRIAL_GIFT_SERVICE_TOKEN), workspace and actor/owner scope; never expose service credentials to browser callers.
305
305
  */
306
306
  routesShowGet(id, options) {
307
307
  return this.client.request({ ...options, method: "GET", url: `/api/v1/internal/plans/gifts/${encodeURIComponent(id)}` });
308
308
  }
309
309
  /**
310
- * Performs the update operation for the routes capability.
310
+ * Update. Returns the Task status/message/data envelope with the full Axios status and headers.
311
311
  * Calls `PUT /api/v1/internal/plans/gifts/{id}` through the shared IDP-aware Faiber client.
312
312
  * @param id Backend path identifier `id`.
313
313
  * @param data Typed JSON request body.
314
314
  * @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: trusted backend service credential and tenant scope; not a public browser endpoint.
315
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
316
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Trusted backend service Bearer credential (PRODUCT_CHAT_SERVICE_TOKEN; gifts use PRODUCT_TRIAL_GIFT_SERVICE_TOKEN), workspace and actor/owner scope; never expose service credentials to browser callers.
317
317
  */
318
318
  routesUpdatePut(id, data, options) {
319
319
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/internal/plans/gifts/${encodeURIComponent(id)}`, data: data });
320
320
  }
321
321
  /**
322
- * Performs the reserve internal operation for the routes capability.
322
+ * Reserve internal. Returns the Task status/message/data envelope with the full Axios status and headers.
323
323
  * Calls `POST /api/v1/internal/plans/memory-reservations` through the shared IDP-aware Faiber client.
324
324
  * @param data Typed JSON request body.
325
325
  * @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: trusted backend service credential and tenant scope; not a public browser endpoint.
326
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
327
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Trusted backend service Bearer credential (PRODUCT_CHAT_SERVICE_TOKEN; gifts use PRODUCT_TRIAL_GIFT_SERVICE_TOKEN), workspace and actor/owner scope; never expose service credentials to browser callers.
328
328
  */
329
329
  routesReserveInternalPost(data, options) {
330
330
  return this.client.request({ ...options, method: "POST", url: `/api/v1/internal/plans/memory-reservations`, data: data });
331
331
  }
332
332
  /**
333
- * Performs the settle internal operation for the routes capability.
333
+ * Settle internal. Returns the Task status/message/data envelope with the full Axios status and headers.
334
334
  * Calls `POST /api/v1/internal/plans/memory-reservations/{id}` through the shared IDP-aware Faiber client.
335
335
  * @param id Backend path identifier `id`.
336
336
  * @param data Typed JSON request body.
337
337
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
338
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
339
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: trusted backend service credential and tenant scope; not a public browser endpoint.
338
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
339
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Trusted backend service Bearer credential (PRODUCT_CHAT_SERVICE_TOKEN; gifts use PRODUCT_TRIAL_GIFT_SERVICE_TOKEN), workspace and actor/owner scope; never expose service credentials to browser callers.
340
340
  */
341
341
  routesSettleInternalPost(id, data, options) {
342
342
  return this.client.request({ ...options, method: "POST", url: `/api/v1/internal/plans/memory-reservations/${encodeURIComponent(id)}`, data: data });
343
343
  }
344
344
  /**
345
- * Performs the reserve operation for the routes capability.
345
+ * Reserve. Returns the Task status/message/data envelope with the full Axios status and headers.
346
346
  * Calls `POST /api/v1/internal/plans/reservations` through the shared IDP-aware Faiber client.
347
347
  * @param data Typed JSON request body.
348
348
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
349
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
350
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: trusted backend service credential and tenant scope; not a public browser endpoint.
349
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
350
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Trusted backend service Bearer credential (PRODUCT_CHAT_SERVICE_TOKEN; gifts use PRODUCT_TRIAL_GIFT_SERVICE_TOKEN), workspace and actor/owner scope; never expose service credentials to browser callers.
351
351
  */
352
352
  routesReservePost(data, options) {
353
353
  return this.client.request({ ...options, method: "POST", url: `/api/v1/internal/plans/reservations`, data: data });
354
354
  }
355
355
  /**
356
- * Performs the finish operation for the routes capability.
356
+ * Finish. Returns the Task status/message/data envelope with the full Axios status and headers.
357
357
  * Calls `POST /api/v1/internal/plans/reservations/{id}` through the shared IDP-aware Faiber client.
358
358
  * @param id Backend path identifier `id`.
359
359
  * @param data Typed JSON request body.
360
360
  * @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: trusted backend service credential and tenant scope; not a public browser endpoint.
361
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
362
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Trusted backend service Bearer credential (PRODUCT_CHAT_SERVICE_TOKEN; gifts use PRODUCT_TRIAL_GIFT_SERVICE_TOKEN), workspace and actor/owner scope; never expose service credentials to browser callers.
363
363
  */
364
364
  routesFinishPost(id, data, options) {
365
365
  return this.client.request({ ...options, method: "POST", url: `/api/v1/internal/plans/reservations/${encodeURIComponent(id)}`, data: data });
366
366
  }
367
367
  /**
368
- * Performs the own operation for the routes capability.
368
+ * Own. Returns the Task status/message/data envelope with the full Axios status and headers.
369
369
  * Calls `GET /api/v1/memory-usage` through the shared IDP-aware Faiber client.
370
370
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
371
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
372
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
371
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
372
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
373
373
  */
374
374
  routesOwnGet(options) {
375
375
  return this.client.request({ ...options, method: "GET", url: `/api/v1/memory-usage` });
376
376
  }
377
377
  /**
378
- * Performs the folders operation for the routes capability.
378
+ * Folders. Returns the Task status/message/data envelope with the full Axios status and headers. Queries enforce SQL visibility; reviewed mutations validate each domain grant. Proposal apply rechecks revision and preview atomically; conflicts apply nothing.
379
379
  * Calls `GET /api/v1/note-folders` through the shared IDP-aware Faiber client.
380
380
  * @param params Typed query parameters; omitted members retain backend defaults.
381
381
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
382
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
383
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
382
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
383
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient; source checks project.read.
384
384
  */
385
385
  workspaceFolders(params, options) {
386
386
  return this.client.request({ ...options, method: "GET", url: `/api/v1/note-folders`, params });
387
387
  }
388
388
  /**
389
- * Performs the get operation for the routes capability.
389
+ * Get. Returns the Task status/message/data envelope with the full Axios status and headers. Feature flags may return 404. Jobs are actor-owned and note edit access is rechecked; extraction creates a preview and requires explicit apply.
390
390
  * Calls `GET /api/v1/note-imports/{id}` through the shared IDP-aware Faiber client.
391
391
  * @param id Backend path identifier `id`.
392
392
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
393
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
394
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
393
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
394
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
395
395
  */
396
396
  routesGetGetApiV1NoteImportsId(id, options) {
397
397
  return this.client.request({ ...options, method: "GET", url: `/api/v1/note-imports/${encodeURIComponent(id)}` });
398
398
  }
399
399
  /**
400
- * Performs the control operation for the routes capability.
400
+ * Control. Returns the Task status/message/data envelope with the full Axios status and headers. Feature flags may return 404. Jobs are actor-owned and note edit access is rechecked; extraction creates a preview and requires explicit apply.
401
401
  * Calls `POST /api/v1/note-imports/{id}` through the shared IDP-aware Faiber client.
402
402
  * @param id Backend path identifier `id`.
403
403
  * @param data Typed JSON request body.
404
404
  * @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: session-derived or public bootstrap route.
405
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
406
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read.
407
407
  */
408
408
  routesControlPost(id, data, options) {
409
409
  return this.client.request({ ...options, method: "POST", url: `/api/v1/note-imports/${encodeURIComponent(id)}`, data: data });
410
410
  }
411
411
  /**
412
- * Performs the apply operation for the routes capability.
412
+ * Apply. Returns the Task status/message/data envelope with the full Axios status and headers. Feature flags may return 404. Jobs are actor-owned and note edit access is rechecked; extraction creates a preview and requires explicit apply.
413
413
  * Calls `POST /api/v1/note-imports/{id}/apply` through the shared IDP-aware Faiber client.
414
414
  * @param id Backend path identifier `id`.
415
415
  * @param data Typed JSON request body.
416
416
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
417
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
418
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
417
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
418
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.assign, work_item.read, work_item.update.
419
419
  */
420
420
  routesApplyPostApiV1NoteImportsIdApply(id, data, options) {
421
421
  return this.client.request({ ...options, method: "POST", url: `/api/v1/note-imports/${encodeURIComponent(id)}/apply`, data: data });
422
422
  }
423
423
  /**
424
- * Performs the cover operation for the routes capability.
424
+ * Cover. Returns the Task status/message/data envelope with the full Axios status and headers. Private uploads remain quarantined until accepted; current task/note scope and binding rules are rechecked.
425
425
  * Calls `PUT /api/v1/notes/{id}/cover` through the shared IDP-aware Faiber client.
426
426
  * @param id Backend path identifier `id`.
427
427
  * @param data Typed JSON request body.
428
428
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
429
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
430
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
429
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
430
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read, work_item.update.
431
431
  */
432
432
  routesCoverPut(id, data, options) {
433
433
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/notes/${encodeURIComponent(id)}/cover`, data: data });
434
434
  }
435
435
  /**
436
- * Performs the document operation for the routes capability.
436
+ * Document. Returns the Task status/message/data envelope with the full Axios status and headers.
437
437
  * Calls `GET /api/v1/notes/{id}/document` through the shared IDP-aware Faiber client.
438
438
  * @param id Backend path identifier `id`.
439
439
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
440
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
441
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
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: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
442
442
  */
443
443
  routesDocumentGet(id, options) {
444
444
  return this.client.request({ ...options, method: "GET", url: `/api/v1/notes/${encodeURIComponent(id)}/document` });
445
445
  }
446
446
  /**
447
- * Performs the update operation for the routes capability.
447
+ * Update. Returns the Task status/message/data envelope with the full Axios status and headers.
448
448
  * Calls `POST /api/v1/notes/{id}/document` through the shared IDP-aware Faiber client.
449
449
  * @param id Backend path identifier `id`.
450
450
  * @param data Typed JSON request body.
451
451
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
452
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
453
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
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: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
454
454
  */
455
455
  routesUpdatePost(id, data, options) {
456
456
  return this.client.request({ ...options, method: "POST", url: `/api/v1/notes/${encodeURIComponent(id)}/document`, data: data });
457
457
  }
458
458
  /**
459
- * Performs the create operation for the routes capability.
459
+ * Create. Returns the Task status/message/data envelope with the full Axios status and headers. Feature flags may return 404. Jobs are actor-owned and note edit access is rechecked; extraction creates a preview and requires explicit apply.
460
460
  * Calls `POST /api/v1/notes/{id}/imports` through the shared IDP-aware Faiber client.
461
461
  * @param id Backend path identifier `id`.
462
462
  * @param data Typed JSON request body.
463
463
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
464
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
465
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
464
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
465
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read.
466
466
  */
467
467
  routesCreatePostApiV1NotesIdImports(id, data, options) {
468
468
  return this.client.request({ ...options, method: "POST", url: `/api/v1/notes/${encodeURIComponent(id)}/imports`, data: data });
469
469
  }
470
470
  /**
471
- * Performs the status operation for the routes capability.
471
+ * Status. Returns the Task status/message/data envelope with the full Axios status and headers.
472
472
  * Calls `GET /api/v1/notes/{id}/indexing` through the shared IDP-aware Faiber client.
473
473
  * @param id Backend path identifier `id`.
474
474
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
475
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
476
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
475
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
476
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read.
477
477
  */
478
478
  routesStatusGetApiV1NotesIdIndexing(id, options) {
479
479
  return this.client.request({ ...options, method: "GET", url: `/api/v1/notes/${encodeURIComponent(id)}/indexing` });
480
480
  }
481
481
  /**
482
- * Performs the retry operation for the routes capability.
482
+ * Retry. Returns the Task status/message/data envelope with the full Axios status and headers.
483
483
  * Calls `POST /api/v1/notes/{id}/indexing` through the shared IDP-aware Faiber client.
484
484
  * @param id Backend path identifier `id`.
485
485
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
486
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
487
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
486
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
487
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read, work_item.update.
488
488
  */
489
489
  routesRetryPost(id, options) {
490
490
  return this.client.request({ ...options, method: "POST", url: `/api/v1/notes/${encodeURIComponent(id)}/indexing` });
491
491
  }
492
492
  /**
493
- * Performs the get operation for the routes capability.
493
+ * Get. Returns the Task status/message/data envelope with the full Axios status and headers. Private uploads remain quarantined until accepted; current task/note scope and binding rules are rechecked.
494
494
  * Calls `GET /api/v1/notes/{id}/media` through the shared IDP-aware Faiber client.
495
495
  * @param id Backend path identifier `id`.
496
496
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
497
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
498
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
497
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
498
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
499
499
  */
500
500
  routesGetGetApiV1NotesIdMedia(id, options) {
501
501
  return this.client.request({ ...options, method: "GET", url: `/api/v1/notes/${encodeURIComponent(id)}/media` });
502
502
  }
503
503
  /**
504
- * Performs the add operation for the routes capability.
504
+ * Add. Returns the Task status/message/data envelope with the full Axios status and headers. Private uploads remain quarantined until accepted; current task/note scope and binding rules are rechecked.
505
505
  * Calls `POST /api/v1/notes/{id}/media` through the shared IDP-aware Faiber client.
506
506
  * @param id Backend path identifier `id`.
507
507
  * @param data Typed JSON request body.
508
508
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
509
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
510
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
509
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
510
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read, work_item.update.
511
511
  */
512
512
  routesAddPost(id, data, options) {
513
513
  return this.client.request({ ...options, method: "POST", url: `/api/v1/notes/${encodeURIComponent(id)}/media`, data: data });
514
514
  }
515
515
  /**
516
- * Performs the remove operation for the routes capability.
516
+ * Remove. Returns the Task status/message/data envelope with the full Axios status and headers. Private uploads remain quarantined until accepted; current task/note scope and binding rules are rechecked.
517
517
  * Calls `DELETE /api/v1/notes/{id}/media/{attachment}` through the shared IDP-aware Faiber client.
518
518
  * @param id Backend path identifier `id`.
519
519
  * @param attachment Backend path identifier `attachment`.
520
520
  * @param data Typed JSON request body.
521
521
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
522
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
523
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
522
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
523
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read, work_item.update.
524
524
  */
525
525
  routesRemoveDeleteApiV1NotesIdMediaAttachment(id, attachment, data, options) {
526
526
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/notes/${encodeURIComponent(id)}/media/${encodeURIComponent(attachment)}`, data: data });
527
527
  }
528
528
  /**
529
- * Performs the authorize operation for the routes capability.
529
+ * Authorize. Raw {auth} signature for the exact private-note channel and numeric/dot socket ID after note-read access; no Task envelope, WebSocket, or credential in query.
530
530
  * Calls `POST /api/v1/notes/{id}/realtime/auth` through the shared IDP-aware Faiber client.
531
531
  * @param id Backend path identifier `id`.
532
532
  * @param data Typed JSON request body.
533
533
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
534
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
535
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
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: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
536
536
  */
537
537
  routesAuthorizePost(id, data, options) {
538
538
  return this.client.request({ ...options, method: "POST", url: `/api/v1/notes/${encodeURIComponent(id)}/realtime/auth`, data: data });
539
539
  }
540
540
  /**
541
- * Performs the config operation for the routes capability.
541
+ * Config. Returns the Task status/message/data envelope with the full Axios status and headers. Reads note-scoped Sockudo configuration; 503 when required realtime configuration is absent.
542
542
  * Calls `GET /api/v1/notes/{id}/realtime/config` through the shared IDP-aware Faiber client.
543
543
  * @param id Backend path identifier `id`.
544
544
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
545
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
546
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
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: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks note.updated.
547
547
  */
548
548
  routesConfigGetApiV1NotesIdRealtimeConfig(id, options) {
549
549
  return this.client.request({ ...options, method: "GET", url: `/api/v1/notes/${encodeURIComponent(id)}/realtime/config` });
550
550
  }
551
551
  /**
552
- * Performs the create operation for the routes capability.
552
+ * Create. Returns the Task status/message/data envelope with the full Axios status and headers. Feature flags may return 404. Jobs are actor-owned and note edit access is rechecked; extraction creates a preview and requires explicit apply.
553
553
  * Calls `POST /api/v1/notes/{id}/source-imports` through the shared IDP-aware Faiber client.
554
554
  * @param id Backend path identifier `id`.
555
555
  * @param data Typed JSON request body.
556
556
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
557
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
558
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
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: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read.
559
559
  */
560
560
  routesCreatePostApiV1NotesIdSourceImports(id, data, options) {
561
561
  return this.client.request({ ...options, method: "POST", url: `/api/v1/notes/${encodeURIComponent(id)}/source-imports`, data: data });
562
562
  }
563
563
  /**
564
- * Performs the catalog operation for the routes capability.
564
+ * Catalog. Returns the Task status/message/data envelope with the full Axios status and headers.
565
565
  * Calls `GET /api/v1/notes/data/catalog` through the shared IDP-aware Faiber client.
566
+ * @param params Typed query parameters; omitted members retain backend defaults.
566
567
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
567
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
568
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
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: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read.
569
570
  */
570
- routesCatalogGetApiV1NotesDataCatalog(options) {
571
- return this.client.request({ ...options, method: "GET", url: `/api/v1/notes/data/catalog` });
571
+ routesCatalogGetApiV1NotesDataCatalog(params, options) {
572
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/notes/data/catalog`, params });
572
573
  }
573
574
  /**
574
- * Performs the search operation for the routes capability.
575
+ * Search. Returns the Task status/message/data envelope with the full Axios status and headers.
575
576
  * Calls `POST /api/v1/notes/knowledge/search` through the shared IDP-aware Faiber client.
576
577
  * @param data Typed JSON request body.
577
578
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
578
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
579
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
579
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
580
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local work_item.read; verified Bearer/cookie identity through FaiberClient; source checks project.read, work_item.read.
580
581
  */
581
582
  routesSearchPost(data, options) {
582
583
  return this.client.request({ ...options, method: "POST", url: `/api/v1/notes/knowledge/search`, data: data });
583
584
  }
584
585
  /**
585
- * Performs the get preferences operation for the routes capability.
586
+ * Get preferences. Returns the Task status/message/data envelope with the full Axios status and headers.
586
587
  * Calls `GET /api/v1/notification-preferences` through the shared IDP-aware Faiber client.
587
588
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
588
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
589
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
589
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
590
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
590
591
  */
591
592
  routesGetPreferencesGet(options) {
592
593
  return this.client.request({ ...options, method: "GET", url: `/api/v1/notification-preferences` });
593
594
  }
594
595
  /**
595
- * Performs the put preferences operation for the routes capability.
596
+ * Put preferences. Supply the current integer If-Match; missing preconditions return 428 and stale versions return 409. Returns the Task status/message/data envelope with the full Axios status and headers.
596
597
  * Calls `PUT /api/v1/notification-preferences` through the shared IDP-aware Faiber client.
597
598
  * @param data Typed JSON request body.
598
599
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
599
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
600
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
600
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
601
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
601
602
  */
602
603
  routesPutPreferencesPut(data, options) {
603
604
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/notification-preferences`, data: data });
604
605
  }
605
606
  /**
606
- * Performs the upsert performance policy operation for the routes capability.
607
+ * Upsert performance policy. Returns the Task status/message/data envelope with the full Axios status and headers.
607
608
  * Calls `PUT /api/v1/performance/policies` through the shared IDP-aware Faiber client.
608
609
  * @param data Typed JSON request body.
609
610
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
610
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
611
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
611
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
612
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local performance.manage; verified Bearer/cookie identity through FaiberClient; source checks performance.manage.
612
613
  */
613
614
  routesUpsertPerformancePolicyPut(data, options) {
614
615
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/performance/policies`, data: data });
615
616
  }
616
617
  /**
617
- * Performs the preferences operation for the routes capability.
618
+ * Preferences. Returns the Task status/message/data envelope with the full Axios status and headers. Queries enforce SQL visibility; reviewed mutations validate each domain grant. Proposal apply rechecks revision and preview atomically; conflicts apply nothing.
618
619
  * Calls `GET /api/v1/planning-preferences` through the shared IDP-aware Faiber client.
619
620
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
620
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
621
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
621
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
622
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
622
623
  */
623
624
  workspacePreferences(options) {
624
625
  return this.client.request({ ...options, method: "GET", url: `/api/v1/planning-preferences` });
625
626
  }
626
627
  /**
627
- * Performs the save preferences operation for the routes capability.
628
+ * Save preferences. Supply the current integer If-Match; missing preconditions return 428 and stale versions return 409. Returns the Task status/message/data envelope with the full Axios status and headers. Queries enforce SQL visibility; reviewed mutations validate each domain grant. Proposal apply rechecks revision and preview atomically; conflicts apply nothing.
628
629
  * Calls `PUT /api/v1/planning-preferences` through the shared IDP-aware Faiber client.
629
630
  * @param data Typed JSON request body.
630
631
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
631
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
632
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
632
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
633
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
633
634
  */
634
635
  workspaceSavePreferences(data, options) {
635
636
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/planning-preferences`, data: data });
636
637
  }
637
638
  /**
638
- * Performs the get operation for the routes capability.
639
+ * Get. Returns the Task status/message/data envelope with the full Axios status and headers.
639
640
  * Calls `GET /api/v1/plans` through the shared IDP-aware Faiber client.
640
641
  * @param params Typed query parameters; omitted members retain backend defaults.
641
642
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
642
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
643
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
643
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
644
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
644
645
  */
645
646
  routesGetGetApiV1Plans(params, options) {
646
647
  return this.client.request({ ...options, method: "GET", url: `/api/v1/plans`, params });
647
648
  }
648
649
  /**
649
- * Performs the income operation for the routes capability.
650
+ * Income. Returns the Task status/message/data envelope with the full Axios status and headers.
650
651
  * Calls `GET /api/v1/plans/admin/income` through the shared IDP-aware Faiber client.
651
652
  * @param params Typed query parameters; omitted members retain backend defaults.
652
653
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
653
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
654
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
654
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
655
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
655
656
  */
656
657
  routesIncomeGet(params, options) {
657
658
  return this.client.request({ ...options, method: "GET", url: `/api/v1/plans/admin/income`, params });
658
659
  }
659
660
  /**
660
- * Performs the configure operation for the routes capability.
661
+ * Configure. Returns the Task status/message/data envelope with the full Axios status and headers.
661
662
  * Calls `PUT /api/v1/plans/admin/memory-limits` through the shared IDP-aware Faiber client.
662
663
  * @param data Typed JSON request body.
663
664
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
664
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
665
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
665
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
666
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
666
667
  */
667
668
  routesConfigurePut(data, options) {
668
669
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/plans/admin/memory-limits`, data: data });
669
670
  }
670
671
  /**
671
- * Performs the users operation for the routes capability.
672
+ * Users. Returns the Task status/message/data envelope with the full Axios status and headers.
672
673
  * Calls `GET /api/v1/plans/admin/users` through the shared IDP-aware Faiber client.
673
674
  * @param params Typed query parameters; omitted members retain backend defaults.
674
675
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
675
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
676
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
676
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
677
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
677
678
  */
678
679
  routesUsersGet(params, options) {
679
680
  return this.client.request({ ...options, method: "GET", url: `/api/v1/plans/admin/users`, params });
680
681
  }
681
682
  /**
682
- * Performs the checkout operation for the routes capability.
683
+ * Checkout. Returns the Task status/message/data envelope with the full Axios status and headers.
683
684
  * Calls `POST /api/v1/plans/checkout` through the shared IDP-aware Faiber client.
684
685
  * @param data Typed JSON request body.
685
686
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
686
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
687
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
687
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
688
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
688
689
  */
689
690
  routesCheckoutPost(data, options) {
690
691
  return this.client.request({ ...options, method: "POST", url: `/api/v1/plans/checkout`, data: data });
691
692
  }
692
693
  /**
693
- * Performs the redeem operation for the routes capability.
694
+ * Redeem. Returns the Task status/message/data envelope with the full Axios status and headers.
694
695
  * Calls `POST /api/v1/plans/gift` through the shared IDP-aware Faiber client.
695
696
  * @param data Typed JSON request body.
696
697
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
697
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
698
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
698
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
699
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
699
700
  */
700
701
  routesRedeemPost(data, options) {
701
702
  return this.client.request({ ...options, method: "POST", url: `/api/v1/plans/gift`, data: data });
702
703
  }
703
704
  /**
704
- * Performs the gift operation for the routes capability.
705
+ * Gift. Returns the Task status/message/data envelope with the full Axios status and headers.
705
706
  * Calls `POST /api/v1/plans/gift-tokens` through the shared IDP-aware Faiber client.
706
707
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
707
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
708
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
708
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
709
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
709
710
  */
710
711
  routesGiftPost(options) {
711
712
  return this.client.request({ ...options, method: "POST", url: `/api/v1/plans/gift-tokens` });
712
713
  }
713
714
  /**
714
- * Performs the catalog operation for the routes capability.
715
+ * Catalog. Returns the Task status/message/data envelope with the full Axios status and headers.
715
716
  * Calls `GET /api/v1/plans/memory-limits` through the shared IDP-aware Faiber client.
716
717
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
717
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
718
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
718
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
719
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
719
720
  */
720
721
  routesCatalogGetApiV1PlansMemoryLimits(options) {
721
722
  return this.client.request({ ...options, method: "GET", url: `/api/v1/plans/memory-limits` });
722
723
  }
723
724
  /**
724
- * Performs the reconcile operation for the routes capability.
725
+ * Reconcile. Returns the Task status/message/data envelope with the full Axios status and headers.
725
726
  * Calls `POST /api/v1/plans/orders/{id}/reconcile` through the shared IDP-aware Faiber client.
726
727
  * @param id Backend path identifier `id`.
727
728
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
728
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
729
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
729
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
730
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
730
731
  */
731
732
  routesReconcilePost(id, options) {
732
733
  return this.client.request({ ...options, method: "POST", url: `/api/v1/plans/orders/${encodeURIComponent(id)}/reconcile` });
733
734
  }
734
735
  /**
735
- * Performs the point history operation for the routes capability.
736
+ * Point history. Returns the Task status/message/data envelope with the full Axios status and headers.
736
737
  * Calls `GET /api/v1/points/history` through the shared IDP-aware Faiber client.
737
738
  * @param params Typed query parameters; omitted members retain backend defaults.
738
739
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
739
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
740
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
740
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
741
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local report.read; verified Bearer/cookie identity through FaiberClient; source checks report.read.
741
742
  */
742
743
  routesPointHistoryGet(params, options) {
743
744
  return this.client.request({ ...options, method: "GET", url: `/api/v1/points/history`, params });
744
745
  }
745
746
  /**
746
- * Performs the list projects operation for the routes capability.
747
+ * List projects. Returns the Task status/message/data envelope with the full Axios status and headers.
747
748
  * Calls `GET /api/v1/projects` through the shared IDP-aware Faiber client.
748
749
  * @param params Typed query parameters; omitted members retain backend defaults.
749
750
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
750
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
751
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
751
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
752
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local project.read; verified Bearer/cookie identity through FaiberClient.
752
753
  */
753
754
  routesListProjectsGet(params, options) {
754
755
  return this.client.request({ ...options, method: "GET", url: `/api/v1/projects`, params });
755
756
  }
756
757
  /**
757
- * Performs the create project operation for the routes capability.
758
+ * Create project. Returns HTTP 201 with the Task status/message/data envelope; ETag is preserved when supplied.
758
759
  * Calls `POST /api/v1/projects` through the shared IDP-aware Faiber client.
759
760
  * @param data Typed JSON request body.
760
761
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
761
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
762
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
762
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
763
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local project.create; verified Bearer/cookie identity through FaiberClient.
763
764
  */
764
765
  routesCreateProjectPost(data, options) {
765
766
  return this.client.request({ ...options, method: "POST", url: `/api/v1/projects`, data: data });
766
767
  }
767
768
  /**
768
- * Performs the get project operation for the routes capability.
769
+ * Get project. Returns the Task status/message/data envelope with the full Axios status and headers.
769
770
  * Calls `GET /api/v1/projects/{id}` through the shared IDP-aware Faiber client.
770
771
  * @param id Backend path identifier `id`.
771
772
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
772
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
773
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
773
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
774
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read.
774
775
  */
775
776
  routesGetProjectGet(id, options) {
776
777
  return this.client.request({ ...options, method: "GET", url: `/api/v1/projects/${encodeURIComponent(id)}` });
777
778
  }
778
779
  /**
779
- * Performs the update project operation for the routes capability.
780
+ * Update project. Supply the current integer If-Match; missing preconditions return 428 and stale versions return 409. Returns the Task status/message/data envelope with the full Axios status and headers.
780
781
  * Calls `PATCH /api/v1/projects/{id}` through the shared IDP-aware Faiber client.
781
782
  * @param id Backend path identifier `id`.
782
783
  * @param data Typed JSON request body.
783
784
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
784
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
785
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
785
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
786
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.update.
786
787
  */
787
788
  routesUpdateProjectPatch(id, data, options) {
788
789
  return this.client.request({ ...options, method: "PATCH", url: `/api/v1/projects/${encodeURIComponent(id)}`, data: data });
789
790
  }
790
791
  /**
791
- * Performs the get operation for the routes capability.
792
+ * Get. Returns the Task status/message/data envelope with the full Axios status and headers.
792
793
  * Calls `GET /api/v1/projects/{id}/board-workflow` through the shared IDP-aware Faiber client.
793
794
  * @param id Backend path identifier `id`.
794
795
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
795
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
796
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
796
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
797
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read.
797
798
  */
798
799
  routesGetGetApiV1ProjectsIdBoardWorkflow(id, options) {
799
800
  return this.client.request({ ...options, method: "GET", url: `/api/v1/projects/${encodeURIComponent(id)}/board-workflow` });
800
801
  }
801
802
  /**
802
- * Performs the put operation for the routes capability.
803
+ * Put. Returns the Task status/message/data envelope with the full Axios status and headers.
803
804
  * Calls `PUT /api/v1/projects/{id}/board-workflow` through the shared IDP-aware Faiber client.
804
805
  * @param id Backend path identifier `id`.
805
806
  * @param data Typed JSON request body.
806
807
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
807
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
808
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
808
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
809
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.members.manage, work_item.rank, work_item.transition.
809
810
  */
810
811
  routesPutPutApiV1ProjectsIdBoardWorkflow(id, data, options) {
811
812
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/projects/${encodeURIComponent(id)}/board-workflow`, data: data });
812
813
  }
813
814
  /**
814
- * Performs the project checklists operation for the routes capability.
815
+ * Project checklists. Returns the Task status/message/data envelope with the full Axios status and headers.
815
816
  * Calls `GET /api/v1/projects/{id}/checklists` through the shared IDP-aware Faiber client.
816
817
  * @param id Backend path identifier `id`.
817
818
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
818
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
819
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
819
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
820
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read.
820
821
  */
821
822
  routesProjectChecklistsGet(id, options) {
822
823
  return this.client.request({ ...options, method: "GET", url: `/api/v1/projects/${encodeURIComponent(id)}/checklists` });
823
824
  }
824
825
  /**
825
- * Performs the grant project access operation for the routes capability.
826
+ * Grant project access. Returns the Task status/message/data envelope with the full Axios status and headers.
826
827
  * Calls `POST /api/v1/projects/{id}/grants` through the shared IDP-aware Faiber client.
827
828
  * @param id Backend path identifier `id`.
828
829
  * @param data Typed JSON request body.
829
830
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
830
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
831
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
831
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
832
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.members.manage, workspace.manage.
832
833
  */
833
834
  routesGrantProjectAccessPost(id, data, options) {
834
835
  return this.client.request({ ...options, method: "POST", url: `/api/v1/projects/${encodeURIComponent(id)}/grants`, data: data });
835
836
  }
836
837
  /**
837
- * Performs the members operation for the routes capability.
838
+ * Members. Returns the Task status/message/data envelope with the full Axios status and headers.
838
839
  * Calls `GET /api/v1/projects/{id}/members` through the shared IDP-aware Faiber client.
839
840
  * @param id Backend path identifier `id`.
840
841
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
841
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
842
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
842
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
843
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read.
843
844
  */
844
845
  routesMembersGet(id, options) {
845
846
  return this.client.request({ ...options, method: "GET", url: `/api/v1/projects/${encodeURIComponent(id)}/members` });
846
847
  }
847
848
  /**
848
- * Performs the remove member operation for the routes capability.
849
+ * Remove member. Returns the Task status/message/data envelope with the full Axios status and headers.
849
850
  * Calls `DELETE /api/v1/projects/{id}/members/{user_id}` through the shared IDP-aware Faiber client.
850
851
  * @param id Backend path identifier `id`.
851
852
  * @param userId Backend path identifier `user_id`.
852
853
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
853
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
854
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
854
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
855
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.members.manage.
855
856
  */
856
857
  routesRemoveMemberDelete(id, userId, options) {
857
858
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/projects/${encodeURIComponent(id)}/members/${encodeURIComponent(userId)}` });
858
859
  }
859
860
  /**
860
- * Performs the get operation for the routes capability.
861
+ * Get. Returns the Task status/message/data envelope with the full Axios status and headers.
861
862
  * Calls `GET /api/v1/projects/{id}/memory-usage` through the shared IDP-aware Faiber client.
862
863
  * @param id Backend path identifier `id`.
863
864
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
864
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
865
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
865
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
866
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read.
866
867
  */
867
868
  routesGetGetApiV1ProjectsIdMemoryUsage(id, options) {
868
869
  return this.client.request({ ...options, method: "GET", url: `/api/v1/projects/${encodeURIComponent(id)}/memory-usage` });
869
870
  }
870
871
  /**
871
- * Performs the get operation for the routes capability.
872
+ * Get. Returns the Task status/message/data envelope with the full Axios status and headers.
872
873
  * Calls `GET /api/v1/projects/{id}/report` through the shared IDP-aware Faiber client.
873
874
  * @param id Backend path identifier `id`.
874
875
  * @param params Typed query parameters; omitted members retain backend defaults.
875
876
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
876
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
877
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
877
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
878
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks report.read.
878
879
  */
879
880
  routesGetGetApiV1ProjectsIdReport(id, params, options) {
880
881
  return this.client.request({ ...options, method: "GET", url: `/api/v1/projects/${encodeURIComponent(id)}/report`, params });
881
882
  }
882
883
  /**
883
- * Performs the workflow states operation for the routes capability.
884
+ * Workflow states. Returns the Task status/message/data envelope with the full Axios status and headers.
884
885
  * Calls `GET /api/v1/projects/{id}/workflow` through the shared IDP-aware Faiber client.
885
886
  * @param id Backend path identifier `id`.
886
887
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
887
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
888
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
888
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
889
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read.
889
890
  */
890
891
  routesWorkflowStatesGet(id, options) {
891
892
  return this.client.request({ ...options, method: "GET", url: `/api/v1/projects/${encodeURIComponent(id)}/workflow` });
892
893
  }
893
894
  /**
894
- * Performs the ensure personal project operation for the routes capability.
895
+ * Ensure personal project. Returns the Task status/message/data envelope with the full Axios status and headers.
895
896
  * Calls `POST /api/v1/projects/personal` through the shared IDP-aware Faiber client.
896
897
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
897
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
898
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
898
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
899
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
899
900
  */
900
901
  routesEnsurePersonalProjectPost(options) {
901
902
  return this.client.request({ ...options, method: "POST", url: `/api/v1/projects/personal` });
902
903
  }
903
904
  /**
904
- * Performs the create shared project operation for the routes capability.
905
+ * Create shared project. Returns HTTP 201 with the Task status/message/data envelope; ETag is preserved when supplied.
905
906
  * Calls `POST /api/v1/projects/shared` through the shared IDP-aware Faiber client.
906
907
  * @param data Typed JSON request body.
907
908
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
908
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
909
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
909
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
910
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
910
911
  */
911
912
  routesCreateSharedProjectPost(data, options) {
912
913
  return this.client.request({ ...options, method: "POST", url: `/api/v1/projects/shared`, data: data });
913
914
  }
914
915
  /**
915
- * Performs the report summary operation for the routes capability.
916
+ * Report summary. Returns the Task status/message/data envelope with the full Axios status and headers.
916
917
  * Calls `GET /api/v1/reports/summary` through the shared IDP-aware Faiber client.
917
918
  * @param params Typed query parameters; omitted members retain backend defaults.
918
919
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
919
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
920
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
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: IDP route policy task:access:use; local report.read; verified Bearer/cookie identity through FaiberClient; source checks report.read.
921
922
  */
922
923
  routesReportSummaryGet(params, options) {
923
924
  return this.client.request({ ...options, method: "GET", url: `/api/v1/reports/summary`, params });
924
925
  }
925
926
  /**
926
- * Performs the team monitoring operation for the routes capability.
927
+ * Team monitoring. Returns the Task status/message/data envelope with the full Axios status and headers.
927
928
  * Calls `GET /api/v1/reports/team-monitoring` through the shared IDP-aware Faiber client.
928
929
  * @param params Typed query parameters; omitted members retain backend defaults.
929
930
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
930
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
931
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
931
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
932
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local report.read; verified Bearer/cookie identity through FaiberClient; source checks report.read.
932
933
  */
933
934
  routesTeamMonitoringGet(params, options) {
934
935
  return this.client.request({ ...options, method: "GET", url: `/api/v1/reports/team-monitoring`, params });
935
936
  }
936
937
  /**
937
- * Performs the propose operation for the routes capability.
938
+ * Propose. Returns the Task status/message/data envelope with the full Axios status and headers. Queries enforce SQL visibility; reviewed mutations validate each domain grant. Proposal apply rechecks revision and preview atomically; conflicts apply nothing.
938
939
  * Calls `POST /api/v1/review-proposals` through the shared IDP-aware Faiber client.
939
940
  * @param data Typed JSON request body.
940
941
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
941
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
942
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
942
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
943
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
943
944
  */
944
945
  workspacePropose(data, options) {
945
946
  return this.client.request({ ...options, method: "POST", url: `/api/v1/review-proposals`, data: data });
946
947
  }
947
948
  /**
948
- * Performs the get operation for the routes capability.
949
+ * Get. Returns the Task status/message/data envelope with the full Axios status and headers. Queries enforce SQL visibility; reviewed mutations validate each domain grant. Proposal apply rechecks revision and preview atomically; conflicts apply nothing.
949
950
  * Calls `GET /api/v1/review-proposals/{id}` through the shared IDP-aware Faiber client.
950
951
  * @param id Backend path identifier `id`.
951
952
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
952
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
953
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
953
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
954
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read, work_item.read.
954
955
  */
955
956
  workspaceProposal(id, options) {
956
957
  return this.client.request({ ...options, method: "GET", url: `/api/v1/review-proposals/${encodeURIComponent(id)}` });
957
958
  }
958
959
  /**
959
- * Performs the revise operation for the routes capability.
960
+ * Revise. Supply the current integer If-Match; missing preconditions return 428 and stale versions return 409. Returns the Task status/message/data envelope with the full Axios status and headers. Queries enforce SQL visibility; reviewed mutations validate each domain grant. Proposal apply rechecks revision and preview atomically; conflicts apply nothing.
960
961
  * Calls `PUT /api/v1/review-proposals/{id}` through the shared IDP-aware Faiber client.
961
962
  * @param id Backend path identifier `id`.
962
963
  * @param data Typed JSON request body.
963
964
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
964
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
965
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
965
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
966
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
966
967
  */
967
968
  workspaceRevise(id, data, options) {
968
969
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/review-proposals/${encodeURIComponent(id)}`, data: data });
969
970
  }
970
971
  /**
971
- * Performs the apply operation for the routes capability.
972
+ * Apply. Supply the current integer If-Match; missing preconditions return 428 and stale versions return 409. Returns the Task status/message/data envelope with the full Axios status and headers. Queries enforce SQL visibility; reviewed mutations validate each domain grant. Proposal apply rechecks revision and preview atomically; conflicts apply nothing.
972
973
  * Calls `POST /api/v1/review-proposals/{id}/apply` through the shared IDP-aware Faiber client.
973
974
  * @param id Backend path identifier `id`.
974
975
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
975
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
976
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
976
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
977
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
977
978
  */
978
979
  workspaceApply(id, options) {
979
980
  return this.client.request({ ...options, method: "POST", url: `/api/v1/review-proposals/${encodeURIComponent(id)}/apply` });
980
981
  }
981
982
  /**
982
- * Performs the refresh operation for the routes capability.
983
+ * Refresh. Returns the Task status/message/data envelope with the full Axios status and headers. Queries enforce SQL visibility; reviewed mutations validate each domain grant. Proposal apply rechecks revision and preview atomically; conflicts apply nothing.
983
984
  * Calls `POST /api/v1/review-proposals/{id}/refresh` through the shared IDP-aware Faiber client.
984
985
  * @param id Backend path identifier `id`.
985
986
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
986
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
987
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
987
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
988
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
988
989
  */
989
990
  workspaceRefresh(id, options) {
990
991
  return this.client.request({ ...options, method: "POST", url: `/api/v1/review-proposals/${encodeURIComponent(id)}/refresh` });
991
992
  }
992
993
  /**
993
- * Performs the validate proposal operation for the routes capability.
994
+ * Validate proposal. Returns the Task status/message/data envelope with the full Axios status and headers. Queries enforce SQL visibility; reviewed mutations validate each domain grant. Proposal apply rechecks revision and preview atomically; conflicts apply nothing.
994
995
  * Calls `POST /api/v1/review-proposals/validate` through the shared IDP-aware Faiber client.
995
996
  * @param data Typed JSON request body.
996
997
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
997
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
998
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
998
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
999
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; handler-specific local scope; verified Bearer/cookie identity through FaiberClient.
999
1000
  */
1000
1001
  workspaceValidate(data, options) {
1001
1002
  return this.client.request({ ...options, method: "POST", url: `/api/v1/review-proposals/validate`, data: data });
1002
1003
  }
1003
1004
  /**
1004
- * Performs the list sprints operation for the routes capability.
1005
+ * List sprints. Returns the Task status/message/data envelope with the full Axios status and headers.
1005
1006
  * Calls `GET /api/v1/sprints` through the shared IDP-aware Faiber client.
1006
1007
  * @param params Typed query parameters; omitted members retain backend defaults.
1007
1008
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1008
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1009
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1009
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1010
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local sprint.read; verified Bearer/cookie identity through FaiberClient.
1010
1011
  */
1011
1012
  routesListSprintsGet(params, options) {
1012
1013
  return this.client.request({ ...options, method: "GET", url: `/api/v1/sprints`, params });
1013
1014
  }
1014
1015
  /**
1015
- * Performs the create sprint operation for the routes capability.
1016
+ * Create sprint. Returns HTTP 201 with the Task status/message/data envelope; ETag is preserved when supplied.
1016
1017
  * Calls `POST /api/v1/sprints` through the shared IDP-aware Faiber client.
1017
1018
  * @param data Typed JSON request body.
1018
1019
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1019
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1020
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1020
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1021
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local sprint.manage; verified Bearer/cookie identity through FaiberClient; source checks sprint.manage.
1021
1022
  */
1022
1023
  routesCreateSprintPost(data, options) {
1023
1024
  return this.client.request({ ...options, method: "POST", url: `/api/v1/sprints`, data: data });
1024
1025
  }
1025
1026
  /**
1026
- * Performs the complete sprint operation for the routes capability.
1027
+ * Complete sprint. Returns the Task status/message/data envelope with the full Axios status and headers.
1027
1028
  * Calls `POST /api/v1/sprints/{id}/complete` through the shared IDP-aware Faiber client.
1028
1029
  * @param id Backend path identifier `id`.
1029
1030
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1030
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1031
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1031
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1032
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks sprint.complete.
1032
1033
  */
1033
1034
  routesCompleteSprintPost(id, options) {
1034
1035
  return this.client.request({ ...options, method: "POST", url: `/api/v1/sprints/${encodeURIComponent(id)}/complete` });
1035
1036
  }
1036
1037
  /**
1037
- * Performs the start sprint operation for the routes capability.
1038
+ * Start sprint. Returns the Task status/message/data envelope with the full Axios status and headers.
1038
1039
  * Calls `POST /api/v1/sprints/{id}/start` through the shared IDP-aware Faiber client.
1039
1040
  * @param id Backend path identifier `id`.
1040
1041
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1041
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1042
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1042
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1043
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks sprint.start.
1043
1044
  */
1044
1045
  routesStartSprintPost(id, options) {
1045
1046
  return this.client.request({ ...options, method: "POST", url: `/api/v1/sprints/${encodeURIComponent(id)}/start` });
1046
1047
  }
1047
1048
  /**
1048
- * Performs the list teams operation for the routes capability.
1049
+ * List teams. Returns the Task status/message/data envelope with the full Axios status and headers.
1049
1050
  * Calls `GET /api/v1/teams` through the shared IDP-aware Faiber client.
1050
1051
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1051
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1052
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1052
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1053
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local team.read; verified Bearer/cookie identity through FaiberClient.
1053
1054
  */
1054
1055
  routesListTeamsGet(options) {
1055
1056
  return this.client.request({ ...options, method: "GET", url: `/api/v1/teams` });
1056
1057
  }
1057
1058
  /**
1058
- * Performs the create team operation for the routes capability.
1059
+ * Create team. Returns HTTP 201 with the Task status/message/data envelope; ETag is preserved when supplied.
1059
1060
  * Calls `POST /api/v1/teams` through the shared IDP-aware Faiber client.
1060
1061
  * @param data Typed JSON request body.
1061
1062
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1062
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1063
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1063
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1064
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local team.manage; verified Bearer/cookie identity through FaiberClient; source checks team.manage, team.read.
1064
1065
  */
1065
1066
  routesCreateTeamPost(data, options) {
1066
1067
  return this.client.request({ ...options, method: "POST", url: `/api/v1/teams`, data: data });
1067
1068
  }
1068
1069
  /**
1069
- * Performs the get team operation for the routes capability.
1070
+ * Get team. Returns the Task status/message/data envelope with the full Axios status and headers.
1070
1071
  * Calls `GET /api/v1/teams/{id}` through the shared IDP-aware Faiber client.
1071
1072
  * @param id Backend path identifier `id`.
1072
1073
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1073
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1074
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1074
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1075
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks team.read.
1075
1076
  */
1076
1077
  routesGetTeamGet(id, options) {
1077
1078
  return this.client.request({ ...options, method: "GET", url: `/api/v1/teams/${encodeURIComponent(id)}` });
1078
1079
  }
1079
1080
  /**
1080
- * Performs the update team operation for the routes capability.
1081
+ * Update team. Supply the current integer If-Match; missing preconditions return 428 and stale versions return 409. Returns the Task status/message/data envelope with the full Axios status and headers.
1081
1082
  * Calls `PATCH /api/v1/teams/{id}` through the shared IDP-aware Faiber client.
1082
1083
  * @param id Backend path identifier `id`.
1083
1084
  * @param data Typed JSON request body.
1084
1085
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1085
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1086
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
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: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks team.manage, team.read.
1087
1088
  */
1088
1089
  routesUpdateTeamPatch(id, data, options) {
1089
1090
  return this.client.request({ ...options, method: "PATCH", url: `/api/v1/teams/${encodeURIComponent(id)}`, data: data });
1090
1091
  }
1091
1092
  /**
1092
- * Performs the list work items operation for the routes capability.
1093
+ * List work items. Returns the Task status/message/data envelope with the full Axios status and headers.
1093
1094
  * Calls `GET /api/v1/work-items` through the shared IDP-aware Faiber client.
1094
1095
  * @param params Typed query parameters; omitted members retain backend defaults.
1095
1096
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1096
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1097
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1097
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1098
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local work_item.read; verified Bearer/cookie identity through FaiberClient.
1098
1099
  */
1099
1100
  routesListWorkItemsGet(params, options) {
1100
1101
  return this.client.request({ ...options, method: "GET", url: `/api/v1/work-items`, params });
1101
1102
  }
1102
1103
  /**
1103
- * Performs the create work item operation for the routes capability.
1104
+ * Create work item. Returns HTTP 201 with the Task status/message/data envelope; ETag is preserved when supplied.
1104
1105
  * Calls `POST /api/v1/work-items` through the shared IDP-aware Faiber client.
1105
1106
  * @param data Typed JSON request body.
1106
1107
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1107
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1108
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1108
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1109
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local work_item.create; verified Bearer/cookie identity through FaiberClient; source checks work_item.assign, work_item.create.
1109
1110
  */
1110
1111
  routesCreateWorkItemPost(data, options) {
1111
1112
  return this.client.request({ ...options, method: "POST", url: `/api/v1/work-items`, data: data });
1112
1113
  }
1113
1114
  /**
1114
- * Performs the remove work item operation for the routes capability.
1115
+ * Remove work item. Supply the current integer If-Match; missing preconditions return 428 and stale versions return 409. Returns HTTP 204 with no response body.
1115
1116
  * Calls `DELETE /api/v1/work-items/{id}` through the shared IDP-aware Faiber client.
1116
1117
  * @param id Backend path identifier `id`.
1117
1118
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1118
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1119
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1119
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1120
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read.
1120
1121
  */
1121
1122
  routesRemoveWorkItemDelete(id, options) {
1122
1123
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/work-items/${encodeURIComponent(id)}` });
1123
1124
  }
1124
1125
  /**
1125
- * Performs the get work item operation for the routes capability.
1126
+ * Get work item. Returns the Task status/message/data envelope with the full Axios status and headers.
1126
1127
  * Calls `GET /api/v1/work-items/{id}` through the shared IDP-aware Faiber client.
1127
1128
  * @param id Backend path identifier `id`.
1128
1129
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1129
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1130
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1130
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1131
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read.
1131
1132
  */
1132
1133
  routesGetWorkItemGet(id, options) {
1133
1134
  return this.client.request({ ...options, method: "GET", url: `/api/v1/work-items/${encodeURIComponent(id)}` });
1134
1135
  }
1135
1136
  /**
1136
- * Performs the update work item operation for the routes capability.
1137
+ * Update work item. Supply the current integer If-Match; missing preconditions return 428 and stale versions return 409. Returns the Task status/message/data envelope with the full Axios status and headers.
1137
1138
  * Calls `PATCH /api/v1/work-items/{id}` through the shared IDP-aware Faiber client.
1138
1139
  * @param id Backend path identifier `id`.
1139
1140
  * @param data Typed JSON request body.
1140
1141
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1141
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1142
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1142
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1143
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.assign, work_item.update.
1143
1144
  */
1144
1145
  routesUpdateWorkItemPatch(id, data, options) {
1145
1146
  return this.client.request({ ...options, method: "PATCH", url: `/api/v1/work-items/${encodeURIComponent(id)}`, data: data });
1146
1147
  }
1147
1148
  /**
1148
- * Performs the work item activity operation for the routes capability.
1149
+ * Work item activity. Returns the Task status/message/data envelope with the full Axios status and headers.
1149
1150
  * Calls `GET /api/v1/work-items/{id}/activity` through the shared IDP-aware Faiber client.
1150
1151
  * @param id Backend path identifier `id`.
1151
1152
  * @param params Typed query parameters; omitted members retain backend defaults.
1152
1153
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1153
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1154
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1154
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1155
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read.
1155
1156
  */
1156
1157
  routesWorkItemActivityGet(id, params, options) {
1157
1158
  return this.client.request({ ...options, method: "GET", url: `/api/v1/work-items/${encodeURIComponent(id)}/activity`, params });
1158
1159
  }
1159
1160
  /**
1160
- * Performs the create operation for the routes capability.
1161
+ * Create. Returns the Task status/message/data envelope with the full Axios status and headers. Private uploads remain quarantined until accepted; current task/note scope and binding rules are rechecked.
1161
1162
  * Calls `POST /api/v1/work-items/{id}/attachments` through the shared IDP-aware Faiber client.
1162
1163
  * @param id Backend path identifier `id`.
1163
1164
  * @param data Typed JSON request body.
1164
1165
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1165
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1166
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1166
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1167
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks attachment.create, comment.create, project.read, work_item.update.
1167
1168
  */
1168
1169
  routesCreatePostApiV1WorkItemsIdAttachments(id, data, options) {
1169
1170
  return this.client.request({ ...options, method: "POST", url: `/api/v1/work-items/${encodeURIComponent(id)}/attachments`, data: data });
1170
1171
  }
1171
1172
  /**
1172
- * Performs the work item checklist operation for the routes capability.
1173
+ * Work item checklist. Returns the Task status/message/data envelope with the full Axios status and headers.
1173
1174
  * Calls `GET /api/v1/work-items/{id}/checklist` through the shared IDP-aware Faiber client.
1174
1175
  * @param id Backend path identifier `id`.
1175
1176
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1176
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1177
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1177
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1178
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read.
1178
1179
  */
1179
1180
  routesWorkItemChecklistGet(id, options) {
1180
1181
  return this.client.request({ ...options, method: "GET", url: `/api/v1/work-items/${encodeURIComponent(id)}/checklist` });
1181
1182
  }
1182
1183
  /**
1183
- * Performs the replace checklist operation for the routes capability.
1184
+ * Replace checklist. Supply the current integer If-Match; missing preconditions return 428 and stale versions return 409. Returns the Task status/message/data envelope with the full Axios status and headers.
1184
1185
  * Calls `PUT /api/v1/work-items/{id}/checklist` through the shared IDP-aware Faiber client.
1185
1186
  * @param id Backend path identifier `id`.
1186
1187
  * @param data Typed JSON request body.
1187
1188
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1188
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1189
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1189
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1190
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks project.read, work_item.read, work_item.update.
1190
1191
  */
1191
1192
  routesReplaceChecklistPut(id, data, options) {
1192
1193
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/work-items/${encodeURIComponent(id)}/checklist`, data: data });
1193
1194
  }
1194
1195
  /**
1195
- * Performs the list comments operation for the routes capability.
1196
+ * List comments. Returns the Task status/message/data envelope with the full Axios status and headers.
1196
1197
  * Calls `GET /api/v1/work-items/{id}/comments` through the shared IDP-aware Faiber client.
1197
1198
  * @param id Backend path identifier `id`.
1198
1199
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1199
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1200
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1200
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1201
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read.
1201
1202
  */
1202
1203
  routesListCommentsGet(id, options) {
1203
1204
  return this.client.request({ ...options, method: "GET", url: `/api/v1/work-items/${encodeURIComponent(id)}/comments` });
1204
1205
  }
1205
1206
  /**
1206
- * Performs the create comment operation for the routes capability.
1207
+ * Create comment. Returns HTTP 201 with the Task status/message/data envelope; ETag is preserved when supplied.
1207
1208
  * Calls `POST /api/v1/work-items/{id}/comments` through the shared IDP-aware Faiber client.
1208
1209
  * @param id Backend path identifier `id`.
1209
1210
  * @param data Typed JSON request body.
1210
1211
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1211
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1212
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1212
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1213
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks comment.create.
1213
1214
  */
1214
1215
  routesCreateCommentPost(id, data, options) {
1215
1216
  return this.client.request({ ...options, method: "POST", url: `/api/v1/work-items/${encodeURIComponent(id)}/comments`, data: data });
1216
1217
  }
1217
1218
  /**
1218
- * Performs the comment page operation for the routes capability.
1219
+ * Comment page. Returns the Task status/message/data envelope with the full Axios status and headers.
1219
1220
  * Calls `GET /api/v1/work-items/{id}/comments/page` through the shared IDP-aware Faiber client.
1220
1221
  * @param id Backend path identifier `id`.
1221
1222
  * @param params Typed query parameters; omitted members retain backend defaults.
1222
1223
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1223
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1224
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1224
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1225
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read.
1225
1226
  */
1226
1227
  routesCommentPageGet(id, params, options) {
1227
1228
  return this.client.request({ ...options, method: "GET", url: `/api/v1/work-items/${encodeURIComponent(id)}/comments/page`, params });
1228
1229
  }
1229
1230
  /**
1230
- * Performs the list commits operation for the routes capability.
1231
+ * List commits. Returns the Task status/message/data envelope with the full Axios status and headers.
1231
1232
  * Calls `GET /api/v1/work-items/{id}/commits` through the shared IDP-aware Faiber client.
1232
1233
  * @param id Backend path identifier `id`.
1233
1234
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1234
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1235
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1235
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1236
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read.
1236
1237
  */
1237
1238
  routesListCommitsGet(id, options) {
1238
1239
  return this.client.request({ ...options, method: "GET", url: `/api/v1/work-items/${encodeURIComponent(id)}/commits` });
1239
1240
  }
1240
1241
  /**
1241
- * Performs the attach commit operation for the routes capability.
1242
+ * Attach commit. Returns HTTP 201 with the Task status/message/data envelope; ETag is preserved when supplied.
1242
1243
  * Calls `POST /api/v1/work-items/{id}/commits` through the shared IDP-aware Faiber client.
1243
1244
  * @param id Backend path identifier `id`.
1244
1245
  * @param data Typed JSON request body.
1245
1246
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1246
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1247
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1247
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1248
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.update.
1248
1249
  */
1249
1250
  routesAttachCommitPost(id, data, options) {
1250
1251
  return this.client.request({ ...options, method: "POST", url: `/api/v1/work-items/${encodeURIComponent(id)}/commits`, data: data });
1251
1252
  }
1252
1253
  /**
1253
- * Performs the add points operation for the routes capability.
1254
+ * Add points. Returns HTTP 201 with the Task status/message/data envelope; ETag is preserved when supplied.
1254
1255
  * Calls `POST /api/v1/work-items/{id}/points` through the shared IDP-aware Faiber client.
1255
1256
  * @param id Backend path identifier `id`.
1256
1257
  * @param data Typed JSON request body.
1257
1258
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1258
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1259
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1259
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1260
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks points.manage.
1260
1261
  */
1261
1262
  routesAddPointsPost(id, data, options) {
1262
1263
  return this.client.request({ ...options, method: "POST", url: `/api/v1/work-items/${encodeURIComponent(id)}/points`, data: data });
1263
1264
  }
1264
1265
  /**
1265
- * Performs the remove operation for the routes capability.
1266
+ * Remove. Supply the current integer If-Match; missing preconditions return 428 and stale versions return 409. Returns the Task status/message/data envelope with the full Axios status and headers.
1266
1267
  * Calls `DELETE /api/v1/work-items/{id}/reminder` through the shared IDP-aware Faiber client.
1267
1268
  * @param id Backend path identifier `id`.
1268
1269
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1269
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1270
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1270
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1271
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
1271
1272
  */
1272
1273
  routesRemoveDeleteApiV1WorkItemsIdReminder(id, options) {
1273
1274
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/work-items/${encodeURIComponent(id)}/reminder` });
1274
1275
  }
1275
1276
  /**
1276
- * Performs the get operation for the routes capability.
1277
+ * Get. Returns the Task status/message/data envelope with the full Axios status and headers.
1277
1278
  * Calls `GET /api/v1/work-items/{id}/reminder` through the shared IDP-aware Faiber client.
1278
1279
  * @param id Backend path identifier `id`.
1279
1280
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1280
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1281
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1281
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1282
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
1282
1283
  */
1283
1284
  routesGetGetApiV1WorkItemsIdReminder(id, options) {
1284
1285
  return this.client.request({ ...options, method: "GET", url: `/api/v1/work-items/${encodeURIComponent(id)}/reminder` });
1285
1286
  }
1286
1287
  /**
1287
- * Performs the put operation for the routes capability.
1288
+ * Put. Supply the current integer If-Match; missing preconditions return 428 and stale versions return 409. Returns the Task status/message/data envelope with the full Axios status and headers.
1288
1289
  * Calls `PUT /api/v1/work-items/{id}/reminder` through the shared IDP-aware Faiber client.
1289
1290
  * @param id Backend path identifier `id`.
1290
1291
  * @param data Typed JSON request body.
1291
1292
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1292
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1293
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1293
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1294
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants.
1294
1295
  */
1295
1296
  routesPutPutApiV1WorkItemsIdReminder(id, data, options) {
1296
1297
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/work-items/${encodeURIComponent(id)}/reminder`, data: data });
1297
1298
  }
1298
1299
  /**
1299
- * Performs the transition work item operation for the routes capability.
1300
+ * Transition work item. Supply the current integer If-Match; missing preconditions return 428 and stale versions return 409. Returns the Task status/message/data envelope with the full Axios status and headers.
1300
1301
  * Calls `POST /api/v1/work-items/{id}/transition` through the shared IDP-aware Faiber client.
1301
1302
  * @param id Backend path identifier `id`.
1302
1303
  * @param data Typed JSON request body.
1303
1304
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1304
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1305
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1305
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1306
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.rank, work_item.transition.
1306
1307
  */
1307
1308
  routesTransitionWorkItemPost(id, data, options) {
1308
1309
  return this.client.request({ ...options, method: "POST", url: `/api/v1/work-items/${encodeURIComponent(id)}/transition`, data: data });
1309
1310
  }
1310
1311
  /**
1311
- * Performs the list work logs operation for the routes capability.
1312
+ * List work logs. Returns the Task status/message/data envelope with the full Axios status and headers.
1312
1313
  * Calls `GET /api/v1/work-items/{id}/work-logs` through the shared IDP-aware Faiber client.
1313
1314
  * @param id Backend path identifier `id`.
1314
1315
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1315
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1316
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1316
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1317
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read.
1317
1318
  */
1318
1319
  routesListWorkLogsGet(id, options) {
1319
1320
  return this.client.request({ ...options, method: "GET", url: `/api/v1/work-items/${encodeURIComponent(id)}/work-logs` });
1320
1321
  }
1321
1322
  /**
1322
- * Performs the create work log operation for the routes capability.
1323
+ * Create work log. Returns HTTP 201 with the Task status/message/data envelope; ETag is preserved when supplied.
1323
1324
  * Calls `POST /api/v1/work-items/{id}/work-logs` through the shared IDP-aware Faiber client.
1324
1325
  * @param id Backend path identifier `id`.
1325
1326
  * @param data Typed JSON request body.
1326
1327
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1327
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1328
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1328
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1329
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks time_log.create.
1329
1330
  */
1330
1331
  routesCreateWorkLogPost(id, data, options) {
1331
1332
  return this.client.request({ ...options, method: "POST", url: `/api/v1/work-items/${encodeURIComponent(id)}/work-logs`, data: data });
1332
1333
  }
1333
1334
  /**
1334
- * Performs the list work sessions operation for the routes capability.
1335
+ * List work sessions. Returns the Task status/message/data envelope with the full Axios status and headers.
1335
1336
  * Calls `GET /api/v1/work-items/{id}/work-sessions` through the shared IDP-aware Faiber client.
1336
1337
  * @param id Backend path identifier `id`.
1337
1338
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1338
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1339
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1339
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1340
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks work_item.read.
1340
1341
  */
1341
1342
  routesListWorkSessionsGet(id, options) {
1342
1343
  return this.client.request({ ...options, method: "GET", url: `/api/v1/work-items/${encodeURIComponent(id)}/work-sessions` });
1343
1344
  }
1344
1345
  /**
1345
- * Performs the start work session operation for the routes capability.
1346
+ * Start work session. Returns HTTP 201 with the Task status/message/data envelope; ETag is preserved when supplied.
1346
1347
  * Calls `POST /api/v1/work-items/{id}/work-sessions/start` through the shared IDP-aware Faiber client.
1347
1348
  * @param id Backend path identifier `id`.
1348
1349
  * @param data Typed JSON request body.
1349
1350
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1350
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1351
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1351
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1352
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks time_log.create.
1352
1353
  */
1353
1354
  routesStartWorkSessionPost(id, data, options) {
1354
1355
  return this.client.request({ ...options, method: "POST", url: `/api/v1/work-items/${encodeURIComponent(id)}/work-sessions/start`, data: data });
1355
1356
  }
1356
1357
  /**
1357
- * Performs the heartbeat work session operation for the routes capability.
1358
+ * Heartbeat work session. Returns the Task status/message/data envelope with the full Axios status and headers.
1358
1359
  * Calls `POST /api/v1/work-sessions/{id}/heartbeat` through the shared IDP-aware Faiber client.
1359
1360
  * @param id Backend path identifier `id`.
1360
1361
  * @param data Typed JSON request body.
1361
1362
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1362
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1363
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1363
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1364
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks time_log.create.
1364
1365
  */
1365
1366
  routesHeartbeatWorkSessionPost(id, data, options) {
1366
1367
  return this.client.request({ ...options, method: "POST", url: `/api/v1/work-sessions/${encodeURIComponent(id)}/heartbeat`, data: data });
1367
1368
  }
1368
1369
  /**
1369
- * Performs the stop work session operation for the routes capability.
1370
+ * Stop work session. Returns the Task status/message/data envelope with the full Axios status and headers.
1370
1371
  * Calls `POST /api/v1/work-sessions/{id}/stop` through the shared IDP-aware Faiber client.
1371
1372
  * @param id Backend path identifier `id`.
1372
1373
  * @param data Typed JSON request body.
1373
1374
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1374
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1375
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1375
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1376
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Verified IDP Bearer/cookie identity through FaiberClient; configured task:access:use and current workspace/resource grants; source checks time_log.create, time_log.manage.
1376
1377
  */
1377
1378
  routesStopWorkSessionPost(id, data, options) {
1378
1379
  return this.client.request({ ...options, method: "POST", url: `/api/v1/work-sessions/${encodeURIComponent(id)}/stop`, data: data });
1379
1380
  }
1380
1381
  /**
1381
- * Performs the active work sessions operation for the routes capability.
1382
+ * Active work sessions. Returns the Task status/message/data envelope with the full Axios status and headers.
1382
1383
  * Calls `GET /api/v1/work-sessions/active` through the shared IDP-aware Faiber client.
1383
1384
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1384
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1385
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1385
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1386
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local time_log.create; verified Bearer/cookie identity through FaiberClient.
1386
1387
  */
1387
1388
  routesActiveWorkSessionsGet(options) {
1388
1389
  return this.client.request({ ...options, method: "GET", url: `/api/v1/work-sessions/active` });
1389
1390
  }
1390
1391
  /**
1391
- * Performs the workspace operation for the routes capability.
1392
+ * Workspace. Returns the Task status/message/data envelope with the full Axios status and headers.
1392
1393
  * Calls `GET /api/v1/workspace` through the shared IDP-aware Faiber client.
1393
1394
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1394
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1395
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1395
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1396
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route policy task:access:use; local project.read; verified Bearer/cookie identity through FaiberClient.
1396
1397
  */
1397
1398
  routesWorkspaceGet(options) {
1398
1399
  return this.client.request({ ...options, method: "GET", url: `/api/v1/workspace` });
1399
1400
  }
1400
1401
  /**
1401
- * Performs the ready operation for the routes capability.
1402
+ * Ready. Returns the Task status/message/data envelope with the full Axios status and headers.
1402
1403
  * Calls `GET /health/dependencies` through the shared IDP-aware Faiber client.
1403
1404
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1404
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1405
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1405
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1406
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local identity extractor; deployment ingress policy is separate. Shared FaiberClient still forwards configured credentials.
1406
1407
  */
1407
1408
  routesReadyGetHealthDependencies(options) {
1408
1409
  return this.client.request({ ...options, method: "GET", url: `/health/dependencies` });
1409
1410
  }
1410
1411
  /**
1411
- * Performs the live operation for the routes capability.
1412
+ * Live. Returns the Task status/message/data envelope with the full Axios status and headers.
1412
1413
  * Calls `GET /health/live` through the shared IDP-aware Faiber client.
1413
1414
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1414
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1415
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1415
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1416
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local identity extractor; deployment ingress policy is separate. Shared FaiberClient still forwards configured credentials.
1416
1417
  */
1417
1418
  routesLiveGet(options) {
1418
1419
  return this.client.request({ ...options, method: "GET", url: `/health/live` });
1419
1420
  }
1420
1421
  /**
1421
- * Performs the ready operation for the routes capability.
1422
+ * Ready. Returns the Task status/message/data envelope with the full Axios status and headers.
1422
1423
  * Calls `GET /health/ready` through the shared IDP-aware Faiber client.
1423
1424
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1424
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1425
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1425
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1426
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local identity extractor; deployment ingress policy is separate. Shared FaiberClient still forwards configured credentials.
1426
1427
  */
1427
1428
  routesReadyGetHealthReady(options) {
1428
1429
  return this.client.request({ ...options, method: "GET", url: `/health/ready` });
1429
1430
  }
1430
1431
  /**
1431
- * Performs the metrics operation for the routes capability.
1432
+ * Metrics.
1432
1433
  * Calls `GET /metrics` through the shared IDP-aware Faiber client.
1433
1434
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1434
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
1435
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1435
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1436
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local identity extractor; deployment ingress policy is separate. Shared FaiberClient still forwards configured credentials.
1436
1437
  */
1437
1438
  routesMetricsGet(options) {
1438
- return this.client.request({ ...options, method: "GET", url: `/metrics` });
1439
+ return this.client.request({ ...options, method: "GET", url: `/metrics`, responseType: "text" });
1439
1440
  }
1440
1441
  }
1441
1442
  //# sourceMappingURL=operations.js.map