@faiber/faiber-social 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.
@@ -1,680 +1,1243 @@
1
1
  import { ServiceApi, urlEncoded } from "@faiber/sdk-core";
2
2
  export class SocialOperations extends ServiceApi {
3
3
  /**
4
- * Performs the import modules operation for the api capability.
4
+ * Import legacy Modules social records within the current organization; dry_run defaults true. Returns counters and the explicit legacy reaction mapping; requires social:admin.
5
5
  * Calls `POST /api/v1/admin/import/modules` through the shared IDP-aware Faiber client.
6
6
  * @param data Typed JSON request body.
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: social:admin.
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: social:admin; authenticated IDP context via shared FaiberClient; trusted organization context.
10
10
  */
11
11
  apiImportModulesPost(data, options) {
12
12
  return this.client.request({ ...options, method: "POST", url: `/api/v1/admin/import/modules`, data: data });
13
13
  }
14
14
  /**
15
- * Performs the self identity operation for the api capability.
15
+ * Page actors by latest post time; q optionally filters an actor UUID. Invalid q is currently ignored; meta.total is current-page length.
16
+ * Calls `GET /api/v1/admin/social/actors` through the shared IDP-aware Faiber client.
17
+ * @param params Typed query parameters; omitted members retain backend defaults.
18
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
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: social:content:read; current trusted organization/actor context required.
21
+ */
22
+ adminActorsGet(params, options) {
23
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/actors`, params });
24
+ }
25
+ /**
26
+ * Read actor activity counts and restriction rows in the organization; a UUID with no activity returns zero counts.
27
+ * Calls `GET /api/v1/admin/social/actors/{id}` through the shared IDP-aware Faiber client.
28
+ * @param id Backend path identifier `id`.
29
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
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: social:content:read; current trusted organization/actor context required.
32
+ */
33
+ adminActorDetailGet(id, options) {
34
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/actors/${encodeURIComponent(id)}` });
35
+ }
36
+ /**
37
+ * Read organization-scoped counts by status and navigation grant events; includes deleted posts in status totals.
38
+ * Calls `GET /api/v1/admin/social/analytics` through the shared IDP-aware Faiber client.
39
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
40
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
41
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:analytics:read; current trusted organization/actor context required.
42
+ */
43
+ adminAnalyticsGet(options) {
44
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/analytics` });
45
+ }
46
+ /**
47
+ * Page organization-scoped audit rows. status filters exact audit action, not a lifecycle state.
48
+ * Calls `GET /api/v1/admin/social/audit` through the shared IDP-aware Faiber client.
49
+ * @param params Typed query parameters; omitted members retain backend defaults.
50
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
51
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
52
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:audit:read; current trusted organization/actor context required.
53
+ */
54
+ adminAuditGet(params, options) {
55
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/audit`, params });
56
+ }
57
+ /**
58
+ * Page organization-scoped bounties with exact status filter and newest-update ordering. Admin amount uses a JSON number.
59
+ * Calls `GET /api/v1/admin/social/bounties` through the shared IDP-aware Faiber client.
60
+ * @param params Typed query parameters; omitted members retain backend defaults.
61
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
62
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
63
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:funding:review; current trusted organization/actor context required.
64
+ */
65
+ adminBountiesGet(params, options) {
66
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/bounties`, params });
67
+ }
68
+ /**
69
+ * Read a bounty UUID in the organization; missing records return404.
70
+ * Calls `GET /api/v1/admin/social/bounties/{id}` through the shared IDP-aware Faiber client.
71
+ * @param id Backend path identifier `id`.
72
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
73
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
74
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:funding:review; current trusted organization/actor context required.
75
+ */
76
+ adminBountyDetailGet(id, options) {
77
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/bounties/${encodeURIComponent(id)}` });
78
+ }
79
+ /**
80
+ * List category capability policies ordered by category UUID and descending version, including draft/retired.
81
+ * Calls `GET /api/v1/admin/social/capability-policies` through the shared IDP-aware Faiber client.
82
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
83
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
84
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:panel:view; current trusted organization/actor context required.
85
+ */
86
+ adminPoliciesGet(options) {
87
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/capability-policies` });
88
+ }
89
+ /**
90
+ * Create a new draft policy version for a category; authenticated operator required; returns201. Only seven supported config section names are accepted.
91
+ * Calls `POST /api/v1/admin/social/capability-policies` through the shared IDP-aware Faiber client.
92
+ * @param data Typed JSON request body.
93
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
94
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
95
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:capabilities:manage; current trusted organization/actor context required.
96
+ */
97
+ adminCreatePolicyPost(data, options) {
98
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/admin/social/capability-policies`, data: data });
99
+ }
100
+ /**
101
+ * Read an organization-scoped capability policy UUID; missing records return404.
102
+ * Calls `GET /api/v1/admin/social/capability-policies/{id}` through the shared IDP-aware Faiber client.
103
+ * @param id Backend path identifier `id`.
104
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
105
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
106
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:panel:view; current trusted organization/actor context required.
107
+ */
108
+ adminPolicyDetailGet(id, options) {
109
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/capability-policies/${encodeURIComponent(id)}` });
110
+ }
111
+ /**
112
+ * Replace draft config for the matching category; non-draft, missing or mismatched category returns409.
113
+ * Calls `PATCH /api/v1/admin/social/capability-policies/{id}` through the shared IDP-aware Faiber client.
114
+ * @param id Backend path identifier `id`.
115
+ * @param data Typed JSON request body.
116
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
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: social:capabilities:manage; current trusted organization/actor context required.
119
+ */
120
+ adminUpdatePolicyPatch(id, data, options) {
121
+ return this.client.request({ ...options, method: "PATCH", url: `/api/v1/admin/social/capability-policies/${encodeURIComponent(id)}`, data: data });
122
+ }
123
+ /**
124
+ * Publish a draft and retire the previously published category policy in one transaction. Authenticated operator required; non-draft returns409.
125
+ * Calls `POST /api/v1/admin/social/capability-policies/{id}/publish` through the shared IDP-aware Faiber client.
126
+ * @param id Backend path identifier `id`.
127
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
128
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
129
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:capabilities:manage; current trusted organization/actor context required.
130
+ */
131
+ adminPublishPolicyPost(id, options) {
132
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/admin/social/capability-policies/${encodeURIComponent(id)}/publish` });
133
+ }
134
+ /**
135
+ * List non-deleted categories, including hidden/archived status; no pagination.
136
+ * Calls `GET /api/v1/admin/social/categories` through the shared IDP-aware Faiber client.
137
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
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: social:panel:view; current trusted organization/actor context required.
140
+ */
141
+ adminCategoriesGet(options) {
142
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/categories` });
143
+ }
144
+ /**
145
+ * Create a validated category; returns201. Localized name/description and metadata use backend JSON values.
146
+ * Calls `POST /api/v1/admin/social/categories` through the shared IDP-aware Faiber client.
147
+ * @param data Typed JSON request body.
148
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
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: social:categories:manage; current trusted organization/actor context required.
151
+ */
152
+ adminCreateCategoryPost(data, options) {
153
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/admin/social/categories`, data: data });
154
+ }
155
+ /**
156
+ * Soft-delete a category; returns204 without a response body.
157
+ * Calls `DELETE /api/v1/admin/social/categories/{id}` through the shared IDP-aware Faiber client.
158
+ * @param id Backend path identifier `id`.
159
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
160
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
161
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:categories:manage; current trusted organization/actor context required.
162
+ */
163
+ adminArchiveCategoryDelete(id, options) {
164
+ return this.client.request({ ...options, method: "DELETE", url: `/api/v1/admin/social/categories/${encodeURIComponent(id)}` });
165
+ }
166
+ /**
167
+ * Read a non-deleted category UUID from the organization-scoped category list.
168
+ * Calls `GET /api/v1/admin/social/categories/{id}` through the shared IDP-aware Faiber client.
169
+ * @param id Backend path identifier `id`.
170
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
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: social:panel:view; current trusted organization/actor context required.
173
+ */
174
+ adminCategoryDetailGet(id, options) {
175
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/categories/${encodeURIComponent(id)}` });
176
+ }
177
+ /**
178
+ * Patch a category using supplied fields; absent and null optional fields follow backend Option semantics.
179
+ * Calls `PATCH /api/v1/admin/social/categories/{id}` through the shared IDP-aware Faiber client.
180
+ * @param id Backend path identifier `id`.
181
+ * @param data Typed JSON request body.
182
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
183
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
184
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:categories:manage; current trusted organization/actor context required.
185
+ */
186
+ adminUpdateCategoryPatch(id, data, options) {
187
+ return this.client.request({ ...options, method: "PATCH", url: `/api/v1/admin/social/categories/${encodeURIComponent(id)}`, data: data });
188
+ }
189
+ /**
190
+ * Page organization-scoped claims with exact status filtering.
191
+ * Calls `GET /api/v1/admin/social/claims` through the shared IDP-aware Faiber client.
192
+ * @param params Typed query parameters; omitted members retain backend defaults.
193
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
194
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
195
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:claims:manage; current trusted organization/actor context required.
196
+ */
197
+ adminClaimsGet(params, options) {
198
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/claims`, params });
199
+ }
200
+ /**
201
+ * Read a claim UUID in the organization; missing records return404.
202
+ * Calls `GET /api/v1/admin/social/claims/{id}` through the shared IDP-aware Faiber client.
203
+ * @param id Backend path identifier `id`.
204
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
205
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
206
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:claims:manage; current trusted organization/actor context required.
207
+ */
208
+ adminClaimDetailGet(id, options) {
209
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/claims/${encodeURIComponent(id)}` });
210
+ }
211
+ /**
212
+ * Resolve an author-selected and author-approved claim in a transaction, update post lifecycle and audit. Authenticated operator required; unmet selection prerequisites return409.
213
+ * Calls `POST /api/v1/admin/social/claims/{id}/approve` through the shared IDP-aware Faiber client.
214
+ * @param id Backend path identifier `id`.
215
+ * @param data Typed JSON request body.
216
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
217
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
218
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:claims:manage; current trusted organization/actor context required.
219
+ */
220
+ adminApproveClaimPost(id, data, options) {
221
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/admin/social/claims/${encodeURIComponent(id)}/approve`, data: data });
222
+ }
223
+ /**
224
+ * Reject a submitted/selected claim and audit the decision. Nonempty reason and authenticated operator required. Terminal claims return409; the claim row is locked while applying the decision.
225
+ * Calls `POST /api/v1/admin/social/claims/{id}/reject` through the shared IDP-aware Faiber client.
226
+ * @param id Backend path identifier `id`.
227
+ * @param data Typed JSON request body.
228
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
229
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
230
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:claims:manage; current trusted organization/actor context required.
231
+ */
232
+ adminRejectClaimPost(id, data, options) {
233
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/admin/social/claims/${encodeURIComponent(id)}/reject`, data: data });
234
+ }
235
+ /**
236
+ * Page comments including deleted records; status filters moderation_status. q/category_id are ignored.
237
+ * Calls `GET /api/v1/admin/social/comments` through the shared IDP-aware Faiber client.
238
+ * @param params Typed query parameters; omitted members retain backend defaults.
239
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
240
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
241
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:content:read; current trusted organization/actor context required.
242
+ */
243
+ adminCommentsGet(params, options) {
244
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/comments`, params });
245
+ }
246
+ /**
247
+ * Read an organization-scoped comment UUID, including deleted rows; missing records return404.
248
+ * Calls `GET /api/v1/admin/social/comments/{id}` through the shared IDP-aware Faiber client.
249
+ * @param id Backend path identifier `id`.
250
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
251
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
252
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:content:read; current trusted organization/actor context required.
253
+ */
254
+ adminCommentDetailGet(id, options) {
255
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/comments/${encodeURIComponent(id)}` });
256
+ }
257
+ /**
258
+ * Page organization-scoped durable integration events with exact status filter and newest-update ordering.
259
+ * Calls `GET /api/v1/admin/social/integrations` through the shared IDP-aware Faiber client.
260
+ * @param params Typed query parameters; omitted members retain backend defaults.
261
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
262
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
263
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:integrations:manage; current trusted organization/actor context required.
264
+ */
265
+ adminIntegrationsGet(params, options) {
266
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/integrations`, params });
267
+ }
268
+ /**
269
+ * Read an organization-scoped durable event UUID, including its payload; missing returns404.
270
+ * Calls `GET /api/v1/admin/social/integrations/{id}` through the shared IDP-aware Faiber client.
271
+ * @param id Backend path identifier `id`.
272
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
273
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
274
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:integrations:manage; current trusted organization/actor context required.
275
+ */
276
+ adminIntegrationDetailGet(id, options) {
277
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/integrations/${encodeURIComponent(id)}` });
278
+ }
279
+ /**
280
+ * Reset failed/dead_letter events to pending and audit a replay request. Authenticated operator and nonempty reason required; other statuses return409. Receipt is queued, not delivered; the outbox reset and audit insert commit in one transaction.
281
+ * Calls `POST /api/v1/admin/social/integrations/{id}/replay` through the shared IDP-aware Faiber client.
282
+ * @param id Backend path identifier `id`.
283
+ * @param data Typed JSON request body.
284
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
285
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
286
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:integrations:manage; current trusted organization/actor context required.
287
+ */
288
+ adminReplayIntegrationPost(id, data, options) {
289
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/admin/social/integrations/${encodeURIComponent(id)}/replay`, data: data });
290
+ }
291
+ /**
292
+ * Reveal decrypted coordinates with a mandatory nonempty operator reason and audit event. Response is no-store/no-cache; expire the result after60seconds.
293
+ * Calls `POST /api/v1/admin/social/locations/{post_id}/reveal` through the shared IDP-aware Faiber client.
294
+ * @param postId Backend path identifier `post_id`.
295
+ * @param data Typed JSON request body.
296
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
297
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
298
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:location:reveal; current trusted organization/actor context required.
299
+ */
300
+ adminRevealLocationPost(postId, data, options) {
301
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/admin/social/locations/${encodeURIComponent(postId)}/reveal`, data: data });
302
+ }
303
+ /**
304
+ * Page uploaded media. status filters exact content_type, not lifecycle status.
305
+ * Calls `GET /api/v1/admin/social/media` through the shared IDP-aware Faiber client.
306
+ * @param params Typed query parameters; omitted members retain backend defaults.
307
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
308
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
309
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:content:read; current trusted organization/actor context required.
310
+ */
311
+ adminMediaGet(params, options) {
312
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/media`, params });
313
+ }
314
+ /**
315
+ * Read pending non-deleted posts/comments and open/reviewing reports. Awaiting-funding posts are excluded; queue is unpaginated.
316
+ * Calls `GET /api/v1/admin/social/moderation/queue` through the shared IDP-aware Faiber client.
317
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
318
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
319
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:moderation:review; current trusted organization/actor context required.
320
+ */
321
+ adminModerationQueueGet(options) {
322
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/moderation/queue` });
323
+ }
324
+ /**
325
+ * Read organization-scoped operator totals.
326
+ * Calls `GET /api/v1/admin/social/overview` through the shared IDP-aware Faiber client.
327
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
328
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
329
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:panel:view; current trusted organization/actor context required.
330
+ */
331
+ adminOverviewGet(options) {
332
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/overview` });
333
+ }
334
+ /**
335
+ * Page non-deleted posts, filtering moderation status, category UUID and trimmed title/body search.
336
+ * Calls `GET /api/v1/admin/social/posts` through the shared IDP-aware Faiber client.
337
+ * @param params Typed query parameters; omitted members retain backend defaults.
338
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
339
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
340
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:content:read; current trusted organization/actor context required.
341
+ */
342
+ adminPostsGet(params, options) {
343
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/posts`, params });
344
+ }
345
+ /**
346
+ * Read a post, metadata, report rows, activity counts and public capability projection. Missing or deleted post projection returns404.
347
+ * Calls `GET /api/v1/admin/social/posts/{id}` through the shared IDP-aware Faiber client.
348
+ * @param id Backend path identifier `id`.
349
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
350
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
351
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:content:read; current trusted organization/actor context required.
352
+ */
353
+ adminPostDetailGet(id, options) {
354
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/posts/${encodeURIComponent(id)}` });
355
+ }
356
+ /**
357
+ * Page organization-scoped reports with exact status filtering.
358
+ * Calls `GET /api/v1/admin/social/reports` through the shared IDP-aware Faiber client.
359
+ * @param params Typed query parameters; omitted members retain backend defaults.
360
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
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: social:reports:manage; current trusted organization/actor context required.
363
+ */
364
+ adminReportsGet(params, options) {
365
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/reports`, params });
366
+ }
367
+ /**
368
+ * Read a report UUID in the organization; missing records return404.
369
+ * Calls `GET /api/v1/admin/social/reports/{id}` through the shared IDP-aware Faiber client.
370
+ * @param id Backend path identifier `id`.
371
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
372
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
373
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reports:manage; current trusted organization/actor context required.
374
+ */
375
+ adminReportDetailGet(id, options) {
376
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/reports/${encodeURIComponent(id)}` });
377
+ }
378
+ /**
379
+ * Page organization-scoped restrictions with exact status filter.
380
+ * Calls `GET /api/v1/admin/social/restrictions` through the shared IDP-aware Faiber client.
381
+ * @param params Typed query parameters; omitted members retain backend defaults.
382
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
383
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
384
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:actors:restrict; current trusted organization/actor context required.
385
+ */
386
+ adminRestrictionsGet(params, options) {
387
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/restrictions`, params });
388
+ }
389
+ /**
390
+ * Create an active restriction; authenticated operator, valid scope, nonempty reason and end later than start required; returns201.
391
+ * Calls `POST /api/v1/admin/social/restrictions` through the shared IDP-aware Faiber client.
392
+ * @param data Typed JSON request body.
393
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
394
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
395
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:actors:restrict; current trusted organization/actor context required.
396
+ */
397
+ adminCreateRestrictionPost(data, options) {
398
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/admin/social/restrictions`, data: data });
399
+ }
400
+ /**
401
+ * Revoke an active restriction with an authenticated operator and nonempty reason; non-active/missing returns409.
402
+ * Calls `POST /api/v1/admin/social/restrictions/{id}/revoke` through the shared IDP-aware Faiber client.
403
+ * @param id Backend path identifier `id`.
404
+ * @param data Typed JSON request body.
405
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
406
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
407
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:actors:restrict; current trusted organization/actor context required.
408
+ */
409
+ adminRevokeRestrictionPost(id, data, options) {
410
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/admin/social/restrictions/${encodeURIComponent(id)}/revoke`, data: data });
411
+ }
412
+ /**
413
+ * Read configuration-presence flags and capability contract version. This does not disclose secrets or prove they are valid.
414
+ * Calls `GET /api/v1/admin/social/settings` through the shared IDP-aware Faiber client.
415
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
416
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
417
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:settings:manage; current trusted organization/actor context required.
418
+ */
419
+ adminSettingsGet(options) {
420
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/admin/social/settings` });
421
+ }
422
+ /**
423
+ * Read the middleware-derived current user UUID, roles and permissions.
16
424
  * Calls `GET /api/v1/auth/self` through the shared IDP-aware Faiber client.
17
425
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
18
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
19
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
426
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
427
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: middleware-derived IDP identity.
20
428
  */
21
429
  apiSelfIdentityGet(options) {
22
430
  return this.client.request({ ...options, method: "GET", url: `/api/v1/auth/self` });
23
431
  }
24
432
  /**
25
- * Performs the list categories operation for the api capability.
433
+ * Remove the current actor block edge; idempotent204.
434
+ * Calls `DELETE /api/v1/block/{id}` through the shared IDP-aware Faiber client.
435
+ * @param id Backend path identifier `id`.
436
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
437
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
438
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: trusted server BFF_SERVICE_KEY bearer plus actor UUID.
439
+ */
440
+ discoveryUnblockDelete(id, options) {
441
+ return this.client.request({ ...options, method: "DELETE", url: `/api/v1/block/${encodeURIComponent(id)}` });
442
+ }
443
+ /**
444
+ * Block a user and remove user-follow edges in both directions; self-block400, success204. Current handler uses separate statements.
445
+ * Calls `PUT /api/v1/block/{id}` through the shared IDP-aware Faiber client.
446
+ * @param id Backend path identifier `id`.
447
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
448
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
449
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: trusted server BFF_SERVICE_KEY bearer plus actor UUID.
450
+ */
451
+ discoveryBlockPut(id, options) {
452
+ return this.client.request({ ...options, method: "PUT", url: `/api/v1/block/${encodeURIComponent(id)}` });
453
+ }
454
+ /**
455
+ * List organization-scoped, non-deleted categories ordered by sort_order and slug; hidden/archived categories are included.
26
456
  * Calls `GET /api/v1/categories` through the shared IDP-aware Faiber client.
27
457
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
28
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
29
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
458
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
459
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
30
460
  */
31
461
  apiListCategoriesGet(options) {
32
462
  return this.client.request({ ...options, method: "GET", url: `/api/v1/categories` });
33
463
  }
34
464
  /**
35
- * Performs the create category operation for the api capability.
465
+ * Create a category (201). Slug normalizes to lowercase ASCII letters/digits/hyphens/underscores, 1–100 bytes. Localized labels, description and metadata remain application JSON.
36
466
  * Calls `POST /api/v1/categories` through the shared IDP-aware Faiber client.
37
467
  * @param data Typed JSON request body.
38
468
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
39
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
40
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:category:manage.
469
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
470
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:category:manage; authenticated IDP context via shared FaiberClient; trusted organization context.
41
471
  */
42
472
  apiCreateCategoryPost(data, options) {
43
473
  return this.client.request({ ...options, method: "POST", url: `/api/v1/categories`, data: data });
44
474
  }
45
475
  /**
46
- * Performs the delete category operation for the api capability.
476
+ * Soft-delete the category; returns 204 with no body.
47
477
  * Calls `DELETE /api/v1/categories/{id}` through the shared IDP-aware Faiber client.
48
478
  * @param id Backend path identifier `id`.
49
479
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
50
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
51
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:category:manage.
480
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
481
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:category:manage; authenticated IDP context via shared FaiberClient; trusted organization context.
52
482
  */
53
483
  apiDeleteCategoryDelete(id, options) {
54
484
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/categories/${encodeURIComponent(id)}` });
55
485
  }
56
486
  /**
57
- * Performs the update category operation for the api capability.
487
+ * Patch supplied category fields. Null and absent Option fields leave stored values unchanged; slug/status validation matches creation.
58
488
  * Calls `PATCH /api/v1/categories/{id}` through the shared IDP-aware Faiber client.
59
489
  * @param id Backend path identifier `id`.
60
490
  * @param data Typed JSON request body.
61
491
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
62
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
63
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:category:manage.
492
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
493
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:category:manage; authenticated IDP context via shared FaiberClient; trusted organization context.
64
494
  */
65
495
  apiUpdateCategoryPatch(id, data, options) {
66
496
  return this.client.request({ ...options, method: "PATCH", url: `/api/v1/categories/${encodeURIComponent(id)}`, data: data });
67
497
  }
68
498
  /**
69
- * Performs the category capability policy operation for the api capability.
499
+ * Read the published category policy projection (404 when absent), including configurable JSON sections and published_at.
70
500
  * Calls `GET /api/v1/categories/{id}/capability-policy` through the shared IDP-aware Faiber client.
71
501
  * @param id Backend path identifier `id`.
72
502
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
73
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
74
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
503
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
504
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
75
505
  */
76
506
  apiCategoryCapabilityPolicyGet(id, options) {
77
507
  return this.client.request({ ...options, method: "GET", url: `/api/v1/categories/${encodeURIComponent(id)}/capability-policy` });
78
508
  }
79
509
  /**
80
- * Performs the claim detail operation for the api capability.
510
+ * Read a private claim for its claimant, post author or claims manager; returns mutual contact consent and nullable resolution. Nonparticipants return 403.
81
511
  * Calls `GET /api/v1/claims/{id}` through the shared IDP-aware Faiber client.
82
512
  * @param id Backend path identifier `id`.
83
513
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
84
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
85
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
514
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
515
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
86
516
  */
87
517
  apiClaimDetailGet(id, options) {
88
518
  return this.client.request({ ...options, method: "GET", url: `/api/v1/claims/${encodeURIComponent(id)}` });
89
519
  }
90
520
  /**
91
- * Performs the set contact consent operation for the api capability.
521
+ * Set consent for a claim participant; mutual_consent reflects both participant grants. Requires an authenticated participant.
92
522
  * Calls `PUT /api/v1/claims/{id}/contact-consent` through the shared IDP-aware Faiber client.
93
523
  * @param id Backend path identifier `id`.
94
524
  * @param data Typed JSON request body.
95
525
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
96
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
97
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:claim:consent.
526
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
527
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:claim:consent; authenticated IDP context via shared FaiberClient; trusted organization context.
98
528
  */
99
529
  apiSetContactConsentPut(id, data, options) {
100
530
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/claims/${encodeURIComponent(id)}/contact-consent`, data: data });
101
531
  }
102
532
  /**
103
- * Performs the select claim operation for the api capability.
533
+ * Select a submitted claim as the post author in a transaction and create pending resolution. Another selected claim returns 409; returns claim_id/post_id/status/author_approved.
104
534
  * Calls `POST /api/v1/claims/{id}/select` through the shared IDP-aware Faiber client.
105
535
  * @param id Backend path identifier `id`.
106
536
  * @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: social:claim:select_own.
537
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
538
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:claim:select_own; authenticated IDP context via shared FaiberClient; trusted organization context.
109
539
  */
110
540
  apiSelectClaimPost(id, options) {
111
541
  return this.client.request({ ...options, method: "POST", url: `/api/v1/claims/${encodeURIComponent(id)}/select` });
112
542
  }
113
543
  /**
114
- * Performs the withdraw claim operation for the api capability.
544
+ * Withdraw only the current claimant submitted claim; other states or ownership return 409. Returns id/status.
115
545
  * Calls `POST /api/v1/claims/{id}/withdraw` through the shared IDP-aware Faiber client.
116
546
  * @param id Backend path identifier `id`.
117
547
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
118
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
119
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:claim:update_own.
548
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
549
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:claim:update_own; authenticated IDP context via shared FaiberClient; trusted organization context.
120
550
  */
121
551
  apiWithdrawClaimPost(id, options) {
122
552
  return this.client.request({ ...options, method: "POST", url: `/api/v1/claims/${encodeURIComponent(id)}/withdraw` });
123
553
  }
124
554
  /**
125
- * Performs the delete comment operation for the api capability.
555
+ * Soft-delete author-owned comment, or a moderator-authorized comment, and refresh counts; returns 204.
126
556
  * Calls `DELETE /api/v1/comments/{id}` through the shared IDP-aware Faiber client.
127
557
  * @param id Backend path identifier `id`.
128
558
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
129
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
130
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:comment:delete_own.
559
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
560
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:comment:delete_own; authenticated IDP context via shared FaiberClient; trusted organization context.
131
561
  */
132
562
  apiDeleteCommentDelete(id, options) {
133
563
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/comments/${encodeURIComponent(id)}` });
134
564
  }
135
565
  /**
136
- * Performs the update comment operation for the api capability.
566
+ * Update author-owned comment body (1–10000 trimmed characters). Category moderation can require review.
137
567
  * Calls `PATCH /api/v1/comments/{id}` through the shared IDP-aware Faiber client.
138
568
  * @param id Backend path identifier `id`.
139
569
  * @param data Typed JSON request body.
140
570
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
141
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
142
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:comment:update_own.
571
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
572
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:comment:update_own; authenticated IDP context via shared FaiberClient; trusted organization context.
143
573
  */
144
574
  apiUpdateCommentPatch(id, data, options) {
145
575
  return this.client.request({ ...options, method: "PATCH", url: `/api/v1/comments/${encodeURIComponent(id)}`, data: data });
146
576
  }
147
577
  /**
148
- * Performs the remove comment reaction operation for the api capability.
578
+ * Remove current user comment reaction and refresh counts; returns 204.
149
579
  * Calls `DELETE /api/v1/comments/{id}/like` through the shared IDP-aware Faiber client.
150
580
  * @param id Backend path identifier `id`.
151
581
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
152
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
153
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write.
582
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
583
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
154
584
  */
155
585
  apiRemoveCommentReactionDeleteApiV1CommentsIdLike(id, options) {
156
586
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/comments/${encodeURIComponent(id)}/like` });
157
587
  }
158
588
  /**
159
- * Performs the like comment operation for the api capability.
589
+ * Set the current user comment reaction to like, returning the reaction record.
160
590
  * Calls `PUT /api/v1/comments/{id}/like` through the shared IDP-aware Faiber client.
161
591
  * @param id Backend path identifier `id`.
162
592
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
163
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
164
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write.
593
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
594
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
165
595
  */
166
596
  apiLikeCommentPut(id, options) {
167
597
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/comments/${encodeURIComponent(id)}/like` });
168
598
  }
169
599
  /**
170
- * Performs the remove comment reaction operation for the api capability.
600
+ * Remove current user comment reaction and refresh counts; returns 204.
171
601
  * Calls `DELETE /api/v1/comments/{id}/reaction` through the shared IDP-aware Faiber client.
172
602
  * @param id Backend path identifier `id`.
173
603
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
174
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
175
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write.
604
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
605
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
176
606
  */
177
607
  apiRemoveCommentReactionDeleteApiV1CommentsIdReaction(id, options) {
178
608
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/comments/${encodeURIComponent(id)}/reaction` });
179
609
  }
180
610
  /**
181
- * Performs the comment reactions operation for the api capability.
611
+ * Read comment reaction totals, counts by reaction type and nullable viewer_reaction after verifying target visibility.
182
612
  * Calls `GET /api/v1/comments/{id}/reaction` through the shared IDP-aware Faiber client.
183
613
  * @param id Backend path identifier `id`.
184
614
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
185
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
186
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
615
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
616
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
187
617
  */
188
618
  apiCommentReactionsGet(id, options) {
189
619
  return this.client.request({ ...options, method: "GET", url: `/api/v1/comments/${encodeURIComponent(id)}/reaction` });
190
620
  }
191
621
  /**
192
- * Performs the set comment reaction operation for the api capability.
622
+ * Upsert current user comment reaction after visibility and restriction checks; type is one of like/love/care/haha/wow/sad/angry.
193
623
  * Calls `PUT /api/v1/comments/{id}/reaction` through the shared IDP-aware Faiber client.
194
624
  * @param id Backend path identifier `id`.
195
625
  * @param data Typed JSON request body.
196
626
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
197
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
198
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write.
627
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
628
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
199
629
  */
200
630
  apiSetCommentReactionPut(id, data, options) {
201
631
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/comments/${encodeURIComponent(id)}/reaction`, data: data });
202
632
  }
203
633
  /**
204
- * Performs the list post comments operation for the api capability.
634
+ * Read published non-deleted comments oldest-first after checking parent visibility; no pagination query is consumed.
205
635
  * Calls `GET /api/v1/comments/post/{id}` through the shared IDP-aware Faiber client.
206
636
  * @param id Backend path identifier `id`.
207
637
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
208
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
209
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
638
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
639
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
210
640
  */
211
641
  apiListPostCommentsGetApiV1CommentsPostId(id, options) {
212
642
  return this.client.request({ ...options, method: "GET", url: `/api/v1/comments/post/${encodeURIComponent(id)}` });
213
643
  }
214
644
  /**
215
- * Performs the create post comment operation for the api capability.
645
+ * Create a post comment (201), checking parent post and optional same-post non-deleted parent comment. Body is trimmed, 1–10000 characters; category moderation/restrictions apply.
216
646
  * Calls `POST /api/v1/comments/post/{id}` through the shared IDP-aware Faiber client.
217
647
  * @param id Backend path identifier `id`.
218
648
  * @param data Typed JSON request body.
219
649
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
220
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
221
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:comment:create.
650
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
651
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:comment:create; authenticated IDP context via shared FaiberClient; trusted organization context.
222
652
  */
223
653
  apiCreatePostCommentPostApiV1CommentsPostId(id, data, options) {
224
654
  return this.client.request({ ...options, method: "POST", url: `/api/v1/comments/post/${encodeURIComponent(id)}`, data: data });
225
655
  }
226
656
  /**
227
- * Performs the receive funding event operation for the api capability.
657
+ * Remove the current actor follow edge; returns204 even when no edge existed.
658
+ * Calls `DELETE /api/v1/follow/{kind}/{id}` through the shared IDP-aware Faiber client.
659
+ * @param kind Backend path identifier `kind`.
660
+ * @param id Backend path identifier `id`.
661
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
662
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
663
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: trusted server BFF_SERVICE_KEY bearer plus actor UUID.
664
+ */
665
+ discoveryUnfollowDelete(kind, id, options) {
666
+ return this.client.request({ ...options, method: "DELETE", url: `/api/v1/follow/${encodeURIComponent(kind)}/${encodeURIComponent(id)}` });
667
+ }
668
+ /**
669
+ * Read whether the current BFF actor follows or blocks a user/place target. kind is place or user.
670
+ * Calls `GET /api/v1/follow/{kind}/{id}` through the shared IDP-aware Faiber client.
671
+ * @param kind Backend path identifier `kind`.
672
+ * @param id Backend path identifier `id`.
673
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
674
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
675
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: trusted server BFF_SERVICE_KEY bearer plus actor UUID.
676
+ */
677
+ discoveryRelationshipGet(kind, id, options) {
678
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/follow/${encodeURIComponent(kind)}/${encodeURIComponent(id)}` });
679
+ }
680
+ /**
681
+ * Idempotently follow a user/place. Self-follow400 and blocked user403. Returns204; the migration 6 database trigger may enqueue an opted-in user-follow notification for a new edge.
682
+ * Calls `PUT /api/v1/follow/{kind}/{id}` through the shared IDP-aware Faiber client.
683
+ * @param kind Backend path identifier `kind`.
684
+ * @param id Backend path identifier `id`.
685
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
686
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
687
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: trusted server BFF_SERVICE_KEY bearer plus actor UUID.
688
+ */
689
+ discoveryFollowPut(kind, id, options) {
690
+ return this.client.request({ ...options, method: "PUT", url: `/api/v1/follow/${encodeURIComponent(kind)}/${encodeURIComponent(id)}` });
691
+ }
692
+ /**
693
+ * Apply a durable provider funding event after matching bounty unit/code/decimal amount. Event/reference are 1–255 trimmed characters. Duplicate external_event_id returns duplicate:true without status; new event returns duplicate:false/status. A funded result advances category moderation lifecycle transactionally.
228
694
  * Calls `POST /api/v1/integrations/funding-events` through the shared IDP-aware Faiber client.
229
695
  * @param data Typed JSON request body.
230
696
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
231
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
232
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:integrations:write.
697
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
698
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:integrations:write; authenticated IDP context via shared FaiberClient; trusted organization context.
233
699
  */
234
700
  apiReceiveFundingEventPost(data, options) {
235
701
  return this.client.request({ ...options, method: "POST", url: `/api/v1/integrations/funding-events`, data: data });
236
702
  }
237
703
  /**
238
- * Performs the my analytics operation for the api capability.
704
+ * Read oldest50 undelivered notification events for the configured organization. No lease or claim is acquired; consumers must deduplicate.
705
+ * Calls `GET /api/v1/internal/notification-outbox` through the shared IDP-aware Faiber client.
706
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
707
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
708
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: trusted BFF actor plus exact social:integrations:write permission.
709
+ */
710
+ discoveryOutboxGet(options) {
711
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/internal/notification-outbox` });
712
+ }
713
+ /**
714
+ * Mark an organization-scoped notification as delivered; returns204 even for missing/already-acknowledged rows. Ack is not a downstream business-effect receipt.
715
+ * Calls `PUT /api/v1/internal/notification-outbox/{id}/ack` through the shared IDP-aware Faiber client.
716
+ * @param id Backend path identifier `id`.
717
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
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: trusted BFF actor plus exact social:integrations:write permission.
720
+ */
721
+ discoveryAckPut(id, options) {
722
+ return this.client.request({ ...options, method: "PUT", url: `/api/v1/internal/notification-outbox/${encodeURIComponent(id)}/ack` });
723
+ }
724
+ /**
725
+ * Record a unique organization/event UUID and queue place.updated notifications for followers who did not disable place notifications, in one transaction. Repeated ID has no new effect; returns204.
726
+ * Calls `POST /api/v1/internal/place-events` through the shared IDP-aware Faiber client.
727
+ * @param data Typed JSON request body.
728
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
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: trusted BFF actor plus exact social:integrations:write permission.
731
+ */
732
+ discoveryPlaceEventPost(data, options) {
733
+ return this.client.request({ ...options, method: "POST", url: `/api/v1/internal/place-events`, data: data });
734
+ }
735
+ /**
736
+ * Read current author analytics over inclusive YYYY-MM-DD from/to dates, at most 366 days; defaults to today and preceding 29 days. Returns totals/posts/trend.
239
737
  * Calls `GET /api/v1/me/analytics` through the shared IDP-aware Faiber client.
240
738
  * @param params Typed query parameters; omitted members retain backend defaults.
241
739
  * @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: social:analytics:read_own.
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: social:analytics:read_own; authenticated IDP context via shared FaiberClient; trusted organization context.
244
742
  */
245
743
  apiMyAnalyticsGet(params, options) {
246
744
  return this.client.request({ ...options, method: "GET", url: `/api/v1/me/analytics`, params });
247
745
  }
248
746
  /**
249
- * Performs the my bookmarks operation for the api capability.
747
+ * List bookmarked post UUIDs for the authenticated organization/user; this is not a post projection.
250
748
  * Calls `GET /api/v1/me/bookmarks` through the shared IDP-aware Faiber client.
251
749
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
252
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
253
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
750
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
751
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
254
752
  */
255
753
  apiMyBookmarksGet(options) {
256
754
  return this.client.request({ ...options, method: "GET", url: `/api/v1/me/bookmarks` });
257
755
  }
258
756
  /**
259
- * Performs the my claims operation for the api capability.
757
+ * Page current claimant claims with required total/page/limit meta, message/evidence/status and mutual_contact_consent; defaults page=1/limit=30, limit 1–100.
260
758
  * Calls `GET /api/v1/me/claims` through the shared IDP-aware Faiber client.
261
759
  * @param params Typed query parameters; omitted members retain backend defaults.
262
760
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
263
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
264
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
761
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
762
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
265
763
  */
266
764
  apiMyClaimsGet(params, options) {
267
765
  return this.client.request({ ...options, method: "GET", url: `/api/v1/me/claims`, params });
268
766
  }
269
767
  /**
270
- * Performs the clear feed location operation for the api capability.
768
+ * Clear the authenticated user location preference idempotently; returns 204.
271
769
  * Calls `DELETE /api/v1/me/feed-location` through the shared IDP-aware Faiber client.
272
770
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
273
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
274
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
771
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
772
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
275
773
  */
276
774
  apiClearFeedLocationDelete(options) {
277
775
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/me/feed-location` });
278
776
  }
279
777
  /**
280
- * Performs the get feed location operation for the api capability.
778
+ * Read the authenticated user location preference, returning data:null when unset.
281
779
  * Calls `GET /api/v1/me/feed-location` through the shared IDP-aware Faiber client.
282
780
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
283
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
284
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
781
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
782
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
285
783
  */
286
784
  apiGetFeedLocationGet(options) {
287
785
  return this.client.request({ ...options, method: "GET", url: `/api/v1/me/feed-location` });
288
786
  }
289
787
  /**
290
- * Performs the set feed location operation for the api capability.
788
+ * Save current user location preference. Coordinates must be finite and within latitude ±90/longitude ±180; range_km must be >0 and <=500. Returns the saved non-null preference.
291
789
  * Calls `PUT /api/v1/me/feed-location` through the shared IDP-aware Faiber client.
292
790
  * @param data Typed JSON request body.
293
791
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
294
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
295
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
792
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
793
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
296
794
  */
297
795
  apiSetFeedLocationPut(data, options) {
298
796
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/me/feed-location`, data: data });
299
797
  }
300
798
  /**
301
- * Performs the list my posts operation for the api capability.
799
+ * Read follow/comment/place/quest notification preferences, defaulting to enabled.
800
+ * Calls `GET /api/v1/me/notification-preferences` through the shared IDP-aware Faiber client.
801
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
802
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
803
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: trusted server BFF_SERVICE_KEY bearer plus actor UUID.
804
+ */
805
+ discoveryPreferencesGet(options) {
806
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/me/notification-preferences` });
807
+ }
808
+ /**
809
+ * Update supplied boolean preferences; absent fields stay unchanged. Current handler writes supplied preferences separately.
810
+ * Calls `PUT /api/v1/me/notification-preferences` through the shared IDP-aware Faiber client.
811
+ * @param data Typed JSON request body.
812
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
813
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
814
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: trusted server BFF_SERVICE_KEY bearer plus actor UUID.
815
+ */
816
+ discoverySetPreferencesPut(data, options) {
817
+ return this.client.request({ ...options, method: "PUT", url: `/api/v1/me/notification-preferences`, data: data });
818
+ }
819
+ /**
820
+ * Page current actor posts using feed filters and required pagination meta. author_id is overwritten by the authenticated user UUID.
302
821
  * Calls `GET /api/v1/me/posts` through the shared IDP-aware Faiber client.
303
822
  * @param params Typed query parameters; omitted members retain backend defaults.
304
823
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
305
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
306
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
824
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
825
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
307
826
  */
308
827
  apiListMyPostsGet(params, options) {
309
828
  return this.client.request({ ...options, method: "GET", url: `/api/v1/me/posts`, params });
310
829
  }
311
830
  /**
312
- * Performs the my post claims operation for the api capability.
831
+ * Page claims for a post owned by the current user; other actors return 403. Returns required total/page/limit meta and mutual_contact_consent.
313
832
  * Calls `GET /api/v1/me/posts/{id}/claims` through the shared IDP-aware Faiber client.
314
833
  * @param id Backend path identifier `id`.
315
834
  * @param params Typed query parameters; omitted members retain backend defaults.
316
835
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
317
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
318
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
836
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
837
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
319
838
  */
320
839
  apiMyPostClaimsGet(id, params, options) {
321
840
  return this.client.request({ ...options, method: "GET", url: `/api/v1/me/posts/${encodeURIComponent(id)}/claims`, params });
322
841
  }
323
842
  /**
324
- * Performs the get media operation for the api capability.
843
+ * Download organization media after uploader/parent visibility checks. Returns bytes with Content-Type and private,max-age=300; storage/configuration failures return 500.
325
844
  * Calls `GET /api/v1/media/{id}` through the shared IDP-aware Faiber client.
326
845
  * @param id Backend path identifier `id`.
327
846
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
328
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
329
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
847
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
848
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
330
849
  */
331
850
  apiGetMediaGet(id, options) {
332
- return this.client.request({ ...options, method: "GET", url: `/api/v1/media/${encodeURIComponent(id)}` });
851
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/media/${encodeURIComponent(id)}`, responseType: "arraybuffer" });
333
852
  }
334
853
  /**
335
- * Performs the upload media operation for the api capability.
854
+ * Upload the first multipart field as JPEG, PNG or WebP (1 byte–12 MiB); full multipart body limit 13 MiB. Returns 201 with UUID, authenticated media URL and content type. Storage must be configured.
336
855
  * Calls `POST /api/v1/media/uploads` through the shared IDP-aware Faiber client.
337
856
  * @param data Typed multipart form.
338
857
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
339
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
340
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:post:create.
858
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
859
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:post:create; authenticated IDP context via shared FaiberClient; trusted organization context.
341
860
  */
342
861
  apiUploadMediaPost(data, options) {
343
862
  return this.client.request({ ...options, method: "POST", url: `/api/v1/media/uploads`, data: data });
344
863
  }
345
864
  /**
346
- * Performs the moderate operation for the api capability.
865
+ * Moderate a post/comment/report. Reject/hide require a nonblank reason; resolve/dismiss target reports. Awaiting-funding posts return 409. Returns target_type,target_id,status,action; audit stores previous_status separately. Requires either social:moderate or social:moderation:review.
347
866
  * Calls `POST /api/v1/moderation/actions` through the shared IDP-aware Faiber client.
348
867
  * @param data Typed JSON request body.
349
868
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
350
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
351
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
869
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
870
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:moderate OR social:moderation:review; authenticated IDP context via shared FaiberClient; trusted organization context.
352
871
  */
353
872
  apiModeratePost(data, options) {
354
873
  return this.client.request({ ...options, method: "POST", url: `/api/v1/moderation/actions`, data: data });
355
874
  }
356
875
  /**
357
- * Performs the moderation audit operation for the api capability.
876
+ * Page organization moderation history with optional target_type/action filters; defaults page=1/limit=30 with page>=1 and limit 1–100. Requires either social:moderate or social:moderation:review.
358
877
  * Calls `GET /api/v1/moderation/audit` through the shared IDP-aware Faiber client.
359
878
  * @param params Typed query parameters; omitted members retain backend defaults.
360
879
  * @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: session-derived or public bootstrap route.
880
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
881
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:moderate OR social:moderation:review; authenticated IDP context via shared FaiberClient; trusted organization context.
363
882
  */
364
883
  apiModerationAuditGet(params, options) {
365
884
  return this.client.request({ ...options, method: "GET", url: `/api/v1/moderation/audit`, params });
366
885
  }
367
886
  /**
368
- * Performs the moderation queue operation for the api capability.
887
+ * Read pending non-deleted posts/comments and open/reviewing reports; awaiting-funding posts are excluded. Requires either social:moderate or social:moderation:review.
369
888
  * Calls `GET /api/v1/moderation/queue` through the shared IDP-aware Faiber client.
370
889
  * @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.
890
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
891
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:moderate OR social:moderation:review; authenticated IDP context via shared FaiberClient; trusted organization context.
373
892
  */
374
893
  apiModerationQueueGet(options) {
375
894
  return this.client.request({ ...options, method: "GET", url: `/api/v1/moderation/queue` });
376
895
  }
377
896
  /**
378
- * Performs the list posts operation for the api capability.
897
+ * Page visible organization posts with q title/body search, author/category UUID and validated kind filters. Defaults page=1/limit=30, page>=1 and limit 1–100. Saved location ranks nearby posts then posts without decryptable coordinates. Returns data plus required total/page/limit meta.
379
898
  * Calls `GET /api/v1/posts` through the shared IDP-aware Faiber client.
380
899
  * @param params Typed query parameters; omitted members retain backend defaults.
381
900
  * @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: social:read.
901
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
902
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
384
903
  */
385
904
  apiListPostsGet(params, options) {
386
905
  return this.client.request({ ...options, method: "GET", url: `/api/v1/posts`, params });
387
906
  }
388
907
  /**
389
- * Performs the create post operation for the api capability.
908
+ * Create a post (201), or return the completed identical request_key replay (200). Body is trimmed, 1–50000 characters; creation title truncates to 500 characters. Media array entries must reference owned uploaded IDs. Category entitlements/restrictions and published capability policy apply. Reusing a key for changed content or an unconfirmed request returns 409; retry the same request key.
390
909
  * Calls `POST /api/v1/posts` through the shared IDP-aware Faiber client.
391
910
  * @param data Typed JSON request body.
392
911
  * @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: social:post:create.
912
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
913
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:post:create; authenticated IDP context via shared FaiberClient; trusted organization context.
395
914
  */
396
915
  apiCreatePostPost(data, options) {
397
916
  return this.client.request({ ...options, method: "POST", url: `/api/v1/posts`, data: data });
398
917
  }
399
918
  /**
400
- * Performs the delete post operation for the api capability.
919
+ * Soft-delete an author-owned post, or a moderator-authorized post; returns 204.
401
920
  * Calls `DELETE /api/v1/posts/{id}` through the shared IDP-aware Faiber client.
402
921
  * @param id Backend path identifier `id`.
403
922
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
404
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
405
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:post:delete_own.
923
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
924
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:post:delete_own; authenticated IDP context via shared FaiberClient; trusted organization context.
406
925
  */
407
926
  apiDeletePostDelete(id, options) {
408
927
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/posts/${encodeURIComponent(id)}` });
409
928
  }
410
929
  /**
411
- * Performs the get post operation for the api capability.
930
+ * Read a non-deleted organization-scoped post visible to its author, moderators or readers of published non-private posts. Bidirectional user blocks hide it with 404.
412
931
  * Calls `GET /api/v1/posts/{id}` through the shared IDP-aware Faiber client.
413
932
  * @param id Backend path identifier `id`.
414
933
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
415
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
416
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
934
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
935
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
417
936
  */
418
937
  apiGetPostGet(id, options) {
419
938
  return this.client.request({ ...options, method: "GET", url: `/api/v1/posts/${encodeURIComponent(id)}` });
420
939
  }
421
940
  /**
422
- * Performs the update post operation for the api capability.
941
+ * Update author-owned content; Option nulls leave fields unchanged. Body is 1–50000 characters and supplied title is 1–500. Existing/new category entitlement and media ownership are enforced. Rejected or moderated content returns to review; awaiting-funding lifecycle is preserved.
423
942
  * Calls `PATCH /api/v1/posts/{id}` through the shared IDP-aware Faiber client.
424
943
  * @param id Backend path identifier `id`.
425
944
  * @param data Typed JSON request body.
426
945
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
427
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
428
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:post:update_own.
946
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
947
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:post:update_own; authenticated IDP context via shared FaiberClient; trusted organization context.
429
948
  */
430
949
  apiUpdatePostPatch(id, data, options) {
431
950
  return this.client.request({ ...options, method: "PATCH", url: `/api/v1/posts/${encodeURIComponent(id)}`, data: data });
432
951
  }
433
952
  /**
434
- * Performs the post analytics operation for the api capability.
953
+ * Read author-only post analytics over inclusive YYYY-MM-DD from/to dates. Defaults to today and preceding 29 days; from<=to and at most 366 days. Returns totals/posts/trend.
435
954
  * Calls `GET /api/v1/posts/{id}/analytics` through the shared IDP-aware Faiber client.
436
955
  * @param id Backend path identifier `id`.
437
956
  * @param params Typed query parameters; omitted members retain backend defaults.
438
957
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
439
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
440
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:analytics:read_own.
958
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
959
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:analytics:read_own; authenticated IDP context via shared FaiberClient; trusted organization context.
441
960
  */
442
961
  apiPostAnalyticsGet(id, params, options) {
443
962
  return this.client.request({ ...options, method: "GET", url: `/api/v1/posts/${encodeURIComponent(id)}/analytics`, params });
444
963
  }
445
964
  /**
446
- * Performs the unbookmark post operation for the api capability.
965
+ * Remove current user bookmark; returns 204.
447
966
  * Calls `DELETE /api/v1/posts/{id}/bookmark` through the shared IDP-aware Faiber client.
448
967
  * @param id Backend path identifier `id`.
449
968
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
450
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
451
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:bookmark:write.
969
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
970
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:bookmark:write; authenticated IDP context via shared FaiberClient; trusted organization context.
452
971
  */
453
972
  apiUnbookmarkPostDelete(id, options) {
454
973
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/posts/${encodeURIComponent(id)}/bookmark` });
455
974
  }
456
975
  /**
457
- * Performs the bookmark post operation for the api capability.
976
+ * Idempotently bookmark a visible post for current user; returns 204.
458
977
  * Calls `PUT /api/v1/posts/{id}/bookmark` through the shared IDP-aware Faiber client.
459
978
  * @param id Backend path identifier `id`.
460
979
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
461
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
462
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:bookmark:write.
980
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
981
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:bookmark:write; authenticated IDP context via shared FaiberClient; trusted organization context.
463
982
  */
464
983
  apiBookmarkPostPut(id, options) {
465
984
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/posts/${encodeURIComponent(id)}/bookmark` });
466
985
  }
467
986
  /**
468
- * Performs the cancel capability post operation for the api capability.
987
+ * Cancel an author-owned post unless already resolved/cancelled/expired (409); hide content and queue bounty refund where relevant. Returns post_id/lifecycle_status.
469
988
  * Calls `POST /api/v1/posts/{id}/cancel` through the shared IDP-aware Faiber client.
470
989
  * @param id Backend path identifier `id`.
471
990
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
472
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
473
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:post:update_own.
991
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
992
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:post:update_own; authenticated IDP context via shared FaiberClient; trusted organization context.
474
993
  */
475
994
  apiCancelCapabilityPostPost(id, options) {
476
995
  return this.client.request({ ...options, method: "POST", url: `/api/v1/posts/${encodeURIComponent(id)}/cancel` });
477
996
  }
478
997
  /**
479
- * Performs the post capabilities operation for the api capability.
998
+ * Read a visible post capability projection with nullable subject/location/bounty, linked actions and lifecycle. Exact coordinates are excluded.
480
999
  * Calls `GET /api/v1/posts/{id}/capabilities` through the shared IDP-aware Faiber client.
481
1000
  * @param id Backend path identifier `id`.
482
1001
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
483
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
484
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
1002
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1003
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
485
1004
  */
486
1005
  apiPostCapabilitiesGet(id, options) {
487
1006
  return this.client.request({ ...options, method: "GET", url: `/api/v1/posts/${encodeURIComponent(id)}/capabilities` });
488
1007
  }
489
1008
  /**
490
- * Performs the create claim operation for the api capability.
1009
+ * Submit one claim per user/post (201). Authors cannot claim own posts; lifecycle must be published and policy must enable claims. Message 1–5000 trimmed characters, evidence defaults null; conflicts return 409.
491
1010
  * Calls `POST /api/v1/posts/{id}/claims` through the shared IDP-aware Faiber client.
492
1011
  * @param id Backend path identifier `id`.
493
1012
  * @param data Typed JSON request body.
494
1013
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
495
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
496
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:claim:create.
1014
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1015
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:claim:create; authenticated IDP context via shared FaiberClient; trusted organization context.
497
1016
  */
498
1017
  apiCreateClaimPost(id, data, options) {
499
1018
  return this.client.request({ ...options, method: "POST", url: `/api/v1/posts/${encodeURIComponent(id)}/claims`, data: data });
500
1019
  }
501
1020
  /**
502
- * Performs the list post comments operation for the api capability.
1021
+ * Read published non-deleted comments oldest-first after checking parent visibility; no pagination query is consumed.
503
1022
  * Calls `GET /api/v1/posts/{id}/comments` through the shared IDP-aware Faiber client.
504
1023
  * @param id Backend path identifier `id`.
505
1024
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
506
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
507
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
1025
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1026
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
508
1027
  */
509
1028
  apiListPostCommentsGetApiV1PostsIdComments(id, options) {
510
1029
  return this.client.request({ ...options, method: "GET", url: `/api/v1/posts/${encodeURIComponent(id)}/comments` });
511
1030
  }
512
1031
  /**
513
- * Performs the create post comment operation for the api capability.
1032
+ * Create a post comment (201), checking parent post and optional same-post non-deleted parent comment. Body is trimmed, 1–10000 characters; category moderation/restrictions apply.
514
1033
  * Calls `POST /api/v1/posts/{id}/comments` through the shared IDP-aware Faiber client.
515
1034
  * @param id Backend path identifier `id`.
516
1035
  * @param data Typed JSON request body.
517
1036
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
518
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
519
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:comment:create.
1037
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1038
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:comment:create; authenticated IDP context via shared FaiberClient; trusted organization context.
520
1039
  */
521
1040
  apiCreatePostCommentPostApiV1PostsIdComments(id, data, options) {
522
1041
  return this.client.request({ ...options, method: "POST", url: `/api/v1/posts/${encodeURIComponent(id)}/comments`, data: data });
523
1042
  }
524
1043
  /**
525
- * Performs the remove post reaction operation for the api capability.
1044
+ * Remove current user post reaction and refresh counts; returns 204.
526
1045
  * Calls `DELETE /api/v1/posts/{id}/like` through the shared IDP-aware Faiber client.
527
1046
  * @param id Backend path identifier `id`.
528
1047
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
529
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
530
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write.
1048
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1049
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
531
1050
  */
532
1051
  apiRemovePostReactionDeleteApiV1PostsIdLike(id, options) {
533
1052
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/posts/${encodeURIComponent(id)}/like` });
534
1053
  }
535
1054
  /**
536
- * Performs the like post operation for the api capability.
1055
+ * Set the current user post reaction to like, returning the reaction record.
537
1056
  * Calls `PUT /api/v1/posts/{id}/like` through the shared IDP-aware Faiber client.
538
1057
  * @param id Backend path identifier `id`.
539
1058
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
540
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
541
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write.
1059
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1060
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
542
1061
  */
543
1062
  apiLikePostPut(id, options) {
544
1063
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/posts/${encodeURIComponent(id)}/like` });
545
1064
  }
546
1065
  /**
547
- * Performs the navigation access operation for the api capability.
1066
+ * Request short-lived exact coordinates with optional reason. Requires authenticated user, navigation permission and location access policy; returns no-store coordinates expiring in 60 seconds.
548
1067
  * Calls `POST /api/v1/posts/{id}/navigation-access` through the shared IDP-aware Faiber client.
549
1068
  * @param id Backend path identifier `id`.
550
1069
  * @param data Typed JSON request body.
551
1070
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
552
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
553
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:location:navigate.
1071
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1072
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:location:navigate; authenticated IDP context via shared FaiberClient; trusted organization context.
554
1073
  */
555
1074
  apiNavigationAccessPost(id, data, options) {
556
1075
  return this.client.request({ ...options, method: "POST", url: `/api/v1/posts/${encodeURIComponent(id)}/navigation-access`, data: data });
557
1076
  }
558
1077
  /**
559
- * Performs the remove post reaction operation for the api capability.
1078
+ * Remove current user post reaction and refresh counts; returns 204.
560
1079
  * Calls `DELETE /api/v1/posts/{id}/reaction` through the shared IDP-aware Faiber client.
561
1080
  * @param id Backend path identifier `id`.
562
1081
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
563
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
564
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write.
1082
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1083
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
565
1084
  */
566
1085
  apiRemovePostReactionDeleteApiV1PostsIdReaction(id, options) {
567
1086
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/posts/${encodeURIComponent(id)}/reaction` });
568
1087
  }
569
1088
  /**
570
- * Performs the post reactions operation for the api capability.
1089
+ * Read post reaction totals, counts by reaction type and nullable viewer_reaction after verifying visibility.
571
1090
  * Calls `GET /api/v1/posts/{id}/reaction` through the shared IDP-aware Faiber client.
572
1091
  * @param id Backend path identifier `id`.
573
1092
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
574
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
575
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
1093
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1094
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
576
1095
  */
577
1096
  apiPostReactionsGetApiV1PostsIdReaction(id, options) {
578
1097
  return this.client.request({ ...options, method: "GET", url: `/api/v1/posts/${encodeURIComponent(id)}/reaction` });
579
1098
  }
580
1099
  /**
581
- * Performs the set post reaction operation for the api capability.
1100
+ * Upsert current user post reaction after visibility and restriction checks; type is one of like/love/care/haha/wow/sad/angry.
582
1101
  * Calls `PUT /api/v1/posts/{id}/reaction` through the shared IDP-aware Faiber client.
583
1102
  * @param id Backend path identifier `id`.
584
1103
  * @param data Typed JSON request body.
585
1104
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
586
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
587
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write.
1105
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1106
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
588
1107
  */
589
1108
  apiSetPostReactionPut(id, data, options) {
590
1109
  return this.client.request({ ...options, method: "PUT", url: `/api/v1/posts/${encodeURIComponent(id)}/reaction`, data: data });
591
1110
  }
592
1111
  /**
593
- * Performs the resubmit post operation for the api capability.
1112
+ * Resubmit author-owned content to the category moderation state; returns the updated post.
594
1113
  * Calls `POST /api/v1/posts/{id}/resubmit` through the shared IDP-aware Faiber client.
595
1114
  * @param id Backend path identifier `id`.
596
1115
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
597
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
598
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:post:update_own.
1116
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1117
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:post:update_own; authenticated IDP context via shared FaiberClient; trusted organization context.
599
1118
  */
600
1119
  apiResubmitPostPost(id, options) {
601
1120
  return this.client.request({ ...options, method: "POST", url: `/api/v1/posts/${encodeURIComponent(id)}/resubmit` });
602
1121
  }
603
1122
  /**
604
- * Performs the record share event operation for the api capability.
1123
+ * Record a visible post share with channel default system and optional idempotency_key; returns 204. Idempotency keys are scoped to organization/user across posts, truncate to 128 characters, and suppress duplicates; channel is trimmed to 1–32 characters.
605
1124
  * Calls `POST /api/v1/posts/{id}/share-events` through the shared IDP-aware Faiber client.
606
1125
  * @param id Backend path identifier `id`.
607
1126
  * @param data Typed JSON request body.
608
1127
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
609
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
610
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:share:write.
1128
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1129
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:share:write; authenticated IDP context via shared FaiberClient; trusted organization context.
611
1130
  */
612
1131
  apiRecordShareEventPost(id, data, options) {
613
1132
  return this.client.request({ ...options, method: "POST", url: `/api/v1/posts/${encodeURIComponent(id)}/share-events`, data: data });
614
1133
  }
615
1134
  /**
616
- * Performs the record post view operation for the api capability.
1135
+ * Record a visible post view when visible_ms>=1000; lower values return 400. counted is false for author views or a duplicate user/post/day view.
617
1136
  * Calls `POST /api/v1/posts/{id}/views` through the shared IDP-aware Faiber client.
618
1137
  * @param id Backend path identifier `id`.
619
1138
  * @param data Typed JSON request body.
620
1139
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
621
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
622
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:view:write.
1140
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1141
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:view:write; authenticated IDP context via shared FaiberClient; trusted organization context.
623
1142
  */
624
1143
  apiRecordPostViewPost(id, data, options) {
625
1144
  return this.client.request({ ...options, method: "POST", url: `/api/v1/posts/${encodeURIComponent(id)}/views`, data: data });
626
1145
  }
627
1146
  /**
628
- * Performs the remove post reaction operation for the api capability.
1147
+ * Download published media bytes after parent visibility and blocking checks. Response has private,no-cache. Unpublished media404, unavailable object storage500.
1148
+ * Calls `GET /api/v1/public/media/{id}` through the shared IDP-aware Faiber client.
1149
+ * @param id Backend path identifier `id`.
1150
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1151
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1152
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: public projection.
1153
+ */
1154
+ discoveryMediaGet(id, options) {
1155
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/public/media/${encodeURIComponent(id)}`, responseType: "arraybuffer" });
1156
+ }
1157
+ /**
1158
+ * Public projection; runtime-configured organization/category, only public published non-deleted posts and non-expired24hour stories. Valid trusted actor enables following/liked/bookmarked and bidirectional blocking. Page1..10000/limit1..100; subject pair, comma-separated place references, author UUID and normalized text filters.
1159
+ * Calls `GET /api/v1/public/posts` through the shared IDP-aware Faiber client.
1160
+ * @param params Typed query parameters; omitted members retain backend defaults.
1161
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1162
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1163
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: public; following=true requires a trusted BFF actor.
1164
+ */
1165
+ discoveryFeedGet(params, options) {
1166
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/public/posts`, params });
1167
+ }
1168
+ /**
1169
+ * Read the same public, unexpired and non-blocked post projection; hidden, private, wrong-category or blocked records return404.
1170
+ * Calls `GET /api/v1/public/posts/{id}` through the shared IDP-aware Faiber client.
1171
+ * @param id Backend path identifier `id`.
1172
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1173
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1174
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: public projection.
1175
+ */
1176
+ discoveryPostDetailGet(id, options) {
1177
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/public/posts/${encodeURIComponent(id)}` });
1178
+ }
1179
+ /**
1180
+ * Read at most100 published non-deleted comments, oldest first, after verifying parent post visibility and bidirectional actor blocks.
1181
+ * Calls `GET /api/v1/public/posts/{id}/comments` through the shared IDP-aware Faiber client.
1182
+ * @param id Backend path identifier `id`.
1183
+ * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
1184
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1185
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: public projection.
1186
+ */
1187
+ discoveryCommentsGet(id, options) {
1188
+ return this.client.request({ ...options, method: "GET", url: `/api/v1/public/posts/${encodeURIComponent(id)}/comments` });
1189
+ }
1190
+ /**
1191
+ * Remove current user post reaction and refresh counts; returns 204.
629
1192
  * Calls `DELETE /api/v1/reactions/post/{id}` through the shared IDP-aware Faiber client.
630
1193
  * @param id Backend path identifier `id`.
631
1194
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
632
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
633
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write.
1195
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1196
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
634
1197
  */
635
1198
  apiRemovePostReactionDeleteApiV1ReactionsPostId(id, options) {
636
1199
  return this.client.request({ ...options, method: "DELETE", url: `/api/v1/reactions/post/${encodeURIComponent(id)}` });
637
1200
  }
638
1201
  /**
639
- * Performs the post reactions operation for the api capability.
1202
+ * Read post reaction totals, counts by reaction type and nullable viewer_reaction after verifying visibility.
640
1203
  * Calls `GET /api/v1/reactions/post/{id}` through the shared IDP-aware Faiber client.
641
1204
  * @param id Backend path identifier `id`.
642
1205
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
643
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
644
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read.
1206
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1207
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
645
1208
  */
646
1209
  apiPostReactionsGetApiV1ReactionsPostId(id, options) {
647
1210
  return this.client.request({ ...options, method: "GET", url: `/api/v1/reactions/post/${encodeURIComponent(id)}` });
648
1211
  }
649
1212
  /**
650
- * Performs the set post reaction operation for the api capability.
1213
+ * Upsert current user post reaction after visibility and restriction checks; type is one of like/love/care/haha/wow/sad/angry.
651
1214
  * Calls `POST /api/v1/reactions/post/{id}` through the shared IDP-aware Faiber client.
652
1215
  * @param id Backend path identifier `id`.
653
1216
  * @param data Typed JSON request body.
654
1217
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
655
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
656
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write.
1218
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1219
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
657
1220
  */
658
1221
  apiSetPostReactionPost(id, data, options) {
659
1222
  return this.client.request({ ...options, method: "POST", url: `/api/v1/reactions/post/${encodeURIComponent(id)}`, data: data });
660
1223
  }
661
1224
  /**
662
- * Performs the create report operation for the api capability.
1225
+ * Report a visible post/comment or another user (201). Self user reports return 400; reason is trimmed, 1–64 characters. Returns the complete report record with nullable resolution fields.
663
1226
  * Calls `POST /api/v1/reports` through the shared IDP-aware Faiber client.
664
1227
  * @param data Typed JSON request body.
665
1228
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
666
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
667
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:report:create.
1229
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1230
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: social:report:create; authenticated IDP context via shared FaiberClient; trusted organization context.
668
1231
  */
669
1232
  apiCreateReportPost(data, options) {
670
1233
  return this.client.request({ ...options, method: "POST", url: `/api/v1/reports`, data: data });
671
1234
  }
672
1235
  /**
673
- * Performs the health operation for the main capability.
1236
+ * Read process liveness and package version; this is not a dependency readiness probe.
674
1237
  * Calls `GET /health` through the shared IDP-aware Faiber client.
675
1238
  * @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
676
- * @returns The complete Axios response, including the typed service envelope, status, and headers.
677
- * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
1239
+ * @returns The complete Axios response, including the typed handler payload, status, and headers.
1240
+ * @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: public liveness route.
678
1241
  */
679
1242
  mainHealthGet(options) {
680
1243
  return this.client.request({ ...options, method: "GET", url: `/health` });