@faiber/faiber-flow 0.24.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,193 +1,193 @@
1
1
  import { ServiceApi, urlEncoded } from "@faiber/sdk-core";
2
2
  export class FlowOperations extends ServiceApi {
3
3
  /**
4
- * Performs the status route operation for the router capability.
4
+ * Read package version liveness; no dependency checks. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
5
5
  * Calls `GET /` through the shared IDP-aware Faiber client.
6
6
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
7
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
8
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
7
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
8
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No declared handler permission. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
9
9
  */
10
10
  routerStatusRouteGet(options) {
11
11
  return this.client.request({ ...options, method: "GET", url: `/` });
12
12
  }
13
13
  /**
14
- * Performs the actions operation for the catalog capability.
14
+ * Read all cached action catalog entries including verbatim external payload_fields JSON; no pagination or tenant filter. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
15
15
  * Calls `GET /api/v1/catalog/actions` through the shared IDP-aware Faiber client.
16
16
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
17
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
18
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: flow:read.
17
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
18
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Declared IDP metadata: flow:read. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
19
19
  */
20
20
  catalogActionsGet(options) {
21
21
  return this.client.request({ ...options, method: "GET", url: `/api/v1/catalog/actions` });
22
22
  }
23
23
  /**
24
- * Performs the sync operation for the catalog capability.
24
+ * Fetch configured services OpenAPI and Flow integration metadata; replace matching triggers/actions; return200 report with per-service openapi/actions failures, not {synced:true}. Does not remove stale absent metadata. Partial persistence and insert errors may occur; retry fetches and replaces again. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
25
25
  * Calls `POST /api/v1/catalog/sync` through the shared IDP-aware Faiber client.
26
26
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
27
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
28
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: catalog:sync.
27
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
28
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Declared IDP metadata: catalog:sync. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
29
29
  */
30
30
  catalogSyncPost(options) {
31
31
  return this.client.request({ ...options, method: "POST", url: `/api/v1/catalog/sync` });
32
32
  }
33
33
  /**
34
- * Performs the triggers operation for the catalog capability.
34
+ * Read all cached trigger catalog entries with service/method/path/trigger_key; no pagination or tenant filter. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
35
35
  * Calls `GET /api/v1/catalog/triggers` through the shared IDP-aware Faiber client.
36
36
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
37
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
38
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: flow:read.
37
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
38
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Declared IDP metadata: flow:read. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
39
39
  */
40
40
  catalogTriggersGet(options) {
41
41
  return this.client.request({ ...options, method: "GET", url: `/api/v1/catalog/triggers` });
42
42
  }
43
43
  /**
44
- * Performs the emit operation for the event capability.
44
+ * Emit arbitrary JSON including null; require nonempty1..200 ASCII alphanumeric/dot/underscore/hyphen key without leading/trailing/double dots400. Explicit flow:execute or * local check403. New event UUID per call; awaits matching enabled flows; individual execution failures logged/swallowed. HTTP200 accepted does not guarantee completed runs; repeated calls can emit duplicates. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
45
45
  * Calls `POST /api/v1/events/{event_key}` through the shared IDP-aware Faiber client.
46
46
  * @param eventKey Backend path identifier `event_key`.
47
47
  * @param data Typed JSON request body.
48
48
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
49
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
50
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: flow:execute.
49
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
50
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Declared IDP metadata: flow:execute. Handler explicitly checks AuthContext flow:execute or *; roles alone are insufficient. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
51
51
  */
52
52
  eventEmitPost(eventKey, data, options) {
53
- return this.client.request({ ...options, method: "POST", url: `/api/v1/events/${encodeURIComponent(eventKey)}`, data: data });
53
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/events/${encodeURIComponent(eventKey)}`, data: data, headers: { "Content-Type": "application/json", ...options?.headers } });
54
54
  }
55
55
  /**
56
- * Performs the index operation for the flow capability.
56
+ * List all flows descending updated_at without pagination or tenant filter. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
57
57
  * Calls `GET /api/v1/flows` through the shared IDP-aware Faiber client.
58
58
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
59
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
60
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: flow:read.
59
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
60
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Declared IDP metadata: flow:read. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
61
61
  */
62
62
  flowIndexGet(options) {
63
63
  return this.client.request({ ...options, method: "GET", url: `/api/v1/flows` });
64
64
  }
65
65
  /**
66
- * Performs the store operation for the flow capability.
66
+ * Create flow: name1..200, nonempty trigger_key; normalized nonempty unique slug (409), enabled defaults false, graph defaults trigger node. Validate graph400. Insert before enabled-registry notification; notification500 may follow persisted mutation. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
67
67
  * Calls `POST /api/v1/flows` through the shared IDP-aware Faiber client.
68
68
  * @param data Typed JSON request body.
69
69
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
70
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
71
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: flow:create.
70
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
71
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Declared IDP metadata: flow:create. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
72
72
  */
73
73
  flowStorePost(data, options) {
74
74
  return this.client.request({ ...options, method: "POST", url: `/api/v1/flows`, data: data });
75
75
  }
76
76
  /**
77
- * Performs the destroy operation for the flow capability.
77
+ * Delete UUID flow (missing404), then notify registry; returns200 {deleted:true}. Notification500 can follow committed deletion; repeated deletion404. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
78
78
  * Calls `DELETE /api/v1/flows/{id}` through the shared IDP-aware Faiber client.
79
79
  * @param id Backend path identifier `id`.
80
80
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
81
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
82
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: flow:delete.
81
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
82
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Declared IDP metadata: flow:delete. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
83
83
  */
84
84
  flowDestroyDelete(id, options) {
85
85
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/flows/${encodeURIComponent(id)}` });
86
86
  }
87
87
  /**
88
- * Performs the show operation for the flow capability.
88
+ * Read UUID flow; missing404. No tenant/owner predicate. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
89
89
  * Calls `GET /api/v1/flows/{id}` through the shared IDP-aware Faiber client.
90
90
  * @param id Backend path identifier `id`.
91
91
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
92
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
93
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: flow:read.
92
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
93
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Declared IDP metadata: flow:read. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
94
94
  */
95
95
  flowShowGet(id, options) {
96
96
  return this.client.request({ ...options, method: "GET", url: `/api/v1/flows/${encodeURIComponent(id)}` });
97
97
  }
98
98
  /**
99
- * Performs the update operation for the flow capability.
99
+ * Partially update UUID flow; null/omitted fields preserve existing values. Graph or trigger_key increments version and updates trigger node data. Slug normalization/conflict409; existing graph revalidated400 even on metadata update. Update before registry notification; notification500 may follow persisted mutation. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
100
100
  * Calls `PUT /api/v1/flows/{id}` through the shared IDP-aware Faiber client.
101
101
  * @param id Backend path identifier `id`.
102
102
  * @param data Typed JSON request body.
103
103
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
104
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
105
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: flow:update.
104
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
105
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Declared IDP metadata: flow:update. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
106
106
  */
107
107
  flowUpdatePut(id, data, options) {
108
108
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/flows/${encodeURIComponent(id)}`, data: data });
109
109
  }
110
110
  /**
111
- * Performs the validate operation for the flow capability.
111
+ * Validate persisted UUID graph; missing404. Invalid graph returns200 {valid:false,errors:[...]}; no mutation. Checks one trigger, edges endpoints, unique nonempty node IDs, emit service/event/object payload and supported condition structure; does not reject cycles or unknown node types. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
112
112
  * Calls `POST /api/v1/flows/{id}/validate` through the shared IDP-aware Faiber client.
113
113
  * @param id Backend path identifier `id`.
114
114
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
115
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
116
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: flow:update.
115
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
116
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Declared IDP metadata: flow:update. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
117
117
  */
118
118
  flowValidatePost(id, options) {
119
119
  return this.client.request({ ...options, method: "POST", url: `/api/v1/flows/${encodeURIComponent(id)}/validate` });
120
120
  }
121
121
  /**
122
- * Performs the import operation for the flow capability.
122
+ * Expand bridges/groups then validate nonempty manifest, normalized unique slugs and graph400. Arrays default empty, bridge enabled defaults true; version/source ignored. Transactional upsert by slug; dry_run rolls back and reports proposed counts. Normal import commits before registry notify, so500 can follow durable effects; identical retry reports unchanged. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
123
123
  * Calls `POST /api/v1/flows/import` through the shared IDP-aware Faiber client.
124
124
  * @param data Typed JSON request body.
125
125
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
126
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
127
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: flow:create, flow:update.
126
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
127
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Declared IDP metadata: flow:create, flow:update. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
128
128
  */
129
129
  flowImportPost(data, options) {
130
130
  return this.client.request({ ...options, method: "POST", url: `/api/v1/flows/import`, data: data });
131
131
  }
132
132
  /**
133
- * Performs the integration flow operation for the router capability.
133
+ * Read integration metadata; queue flow_queue and empty events. Concrete shared metadata inspected in pinned dependency source; dependency is pinned to faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
134
134
  * Calls `GET /api/v1/integration/flow` through the shared IDP-aware Faiber client.
135
135
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
136
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
137
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
136
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
137
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No declared handler permission. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
138
138
  */
139
139
  routerIntegrationFlowGet(options) {
140
140
  return this.client.request({ ...options, method: "GET", url: `/api/v1/integration/flow` });
141
141
  }
142
142
  /**
143
- * Performs the active triggers operation for the registry capability.
143
+ * Read {version,triggers}; enabled flows grouped by trigger key and unioned capture_fields, unordered. Optional service matches endpoint.{service}. prefix; generic event triggers excluded with service filter. No handler-local permission or tenant check. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
144
144
  * Calls `GET /api/v1/registry/active-triggers` through the shared IDP-aware Faiber client.
145
145
  * @param params Typed query parameters; omitted members retain backend defaults.
146
146
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
147
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
148
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
147
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
148
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No declared handler permission. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
149
149
  */
150
150
  registryActiveTriggersGet(params, options) {
151
151
  return this.client.request({ ...options, method: "GET", url: `/api/v1/registry/active-triggers`, params });
152
152
  }
153
153
  /**
154
- * Performs the index operation for the run capability.
154
+ * List global runs descending started_at; limit optional nonnegative u64, default50, no clamp. No pagination envelope or flow/owner filter. Integer values must fit JavaScript safe range for precise requests. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
155
155
  * Calls `GET /api/v1/runs` through the shared IDP-aware Faiber client.
156
156
  * @param params Typed query parameters; omitted members retain backend defaults.
157
157
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
158
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
159
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: flow_run:read.
158
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
159
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Declared IDP metadata: flow_run:read. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
160
160
  */
161
161
  runIndexGet(params, options) {
162
162
  return this.client.request({ ...options, method: "GET", url: `/api/v1/runs`, params });
163
163
  }
164
164
  /**
165
- * Performs the show operation for the run capability.
165
+ * Read UUID run404; flatten run fields alongside nullable JSON context and steps ordered created_at ascending. Payload/context may be null; no tenant/owner filter. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
166
166
  * Calls `GET /api/v1/runs/{id}` through the shared IDP-aware Faiber client.
167
167
  * @param id Backend path identifier `id`.
168
168
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
169
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
170
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: flow_run:read.
169
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
170
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Declared IDP metadata: flow_run:read. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
171
171
  */
172
172
  runShowGet(id, options) {
173
173
  return this.client.request({ ...options, method: "GET", url: `/api/v1/runs/${encodeURIComponent(id)}` });
174
174
  }
175
175
  /**
176
- * Performs the status route operation for the router capability.
176
+ * Read package version liveness; no dependency checks. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
177
177
  * Calls `GET /health` through the shared IDP-aware Faiber client.
178
178
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
179
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
180
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
179
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
180
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No declared handler permission. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
181
181
  */
182
182
  routerStatusRouteGetHealth(options) {
183
183
  return this.client.request({ ...options, method: "GET", url: `/health` });
184
184
  }
185
185
  /**
186
- * Performs the status route operation for the router capability.
186
+ * Read package version liveness; no dependency checks. Success envelope is {status:"success",message:"ok",data}; AppError uses {error:string}, database/broker failures500 and malformed extractors use Axum rejection responses.
187
187
  * Calls `GET /up` through the shared IDP-aware Faiber client.
188
188
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
189
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
190
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
189
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
190
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No declared handler permission. No handler-local permission enforcement. Global imported auth_extractor_middleware; pinned IDP macro registers metadata and middleware trusts x-user-* with dev-fallback, not token verification. Dependency is pinned to reviewed faiber-sdk 291c81a67bc302d667fb807da2af3240598bee52. Use enforcing gateway; FaiberClient forwards configured Bearer/cookie credentials..
191
191
  */
192
192
  routerStatusRouteGetUp(options) {
193
193
  return this.client.request({ ...options, method: "GET", url: `/up` });
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAwC,MAAM,kBAAkB,CAAC;AAGhG,MAAM,OAAO,cAAe,SAAQ,UAAU;IAC5C;;;;;;OAMG;IACH,oBAAoB,CAAC,OAAwB;QAC3C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAiC,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;IACtG,CAAC;IACD;;;;;;OAMG;IACH,iBAAiB,CAAC,OAAwB;QACxC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA8B,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,yBAAyB,EAAE,CAAC,CAAC;IACzH,CAAC;IACD;;;;;;OAMG;IACH,eAAe,CAAC,OAAwB;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CA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