@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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contracts.types.js","sourceRoot":"","sources":["../src/contracts.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,79 @@
1
+ import type { JsonValue, QueryParams } from '@faiber/sdk-core';
2
+ import type { SocialPostKind } from './types.js';
3
+ /** Public discovery uses the runtime's configured organization/category, not a caller-supplied tenant. */
4
+ export interface SocialDiscoveryFeedQuery extends QueryParams {
5
+ subject_type?: string;
6
+ subject_ref?: string; /** Comma-separated place UUIDs, maximum100 parsed entries. */
7
+ subject_refs?: string;
8
+ following?: boolean;
9
+ q?: string;
10
+ author_id?: string;
11
+ page?: number;
12
+ limit?: number;
13
+ }
14
+ export interface SocialDiscoverySubject {
15
+ subject_type: string;
16
+ subject_ref: string;
17
+ public_snapshot: JsonValue;
18
+ }
19
+ export interface SocialDiscoveryPost {
20
+ id: string;
21
+ author_user_id: string;
22
+ kind: SocialPostKind;
23
+ expires_at: string | null;
24
+ body: string;
25
+ media: JsonValue;
26
+ created_at: string;
27
+ reactions_count: number;
28
+ comments_count: number;
29
+ liked: boolean;
30
+ bookmarked: boolean;
31
+ subject: SocialDiscoverySubject | null;
32
+ }
33
+ export interface SocialDiscoveryComment {
34
+ id: string;
35
+ body: string;
36
+ user_id: string;
37
+ parent_id: string | null;
38
+ created_at: string;
39
+ }
40
+ export type SocialFollowTargetKind = 'place' | 'user';
41
+ export interface SocialRelationship {
42
+ following: boolean;
43
+ blocked: boolean;
44
+ }
45
+ export interface SocialDiscoveryResponse<T> {
46
+ status: 'success';
47
+ data: T;
48
+ }
49
+ /** Graph/settings/worker reads use {data} rather than the Social success envelope. */
50
+ export interface SocialGraphResponse<T> {
51
+ data: T;
52
+ }
53
+ export interface SocialNotificationPreferences {
54
+ follow: boolean;
55
+ comment: boolean;
56
+ place: boolean;
57
+ quest: boolean;
58
+ }
59
+ export type SocialNotificationPreferencesInput = Partial<SocialNotificationPreferences>;
60
+ export interface SocialNotificationPayload {
61
+ path: string;
62
+ kind?: 'follow' | 'comment';
63
+ status?: string;
64
+ }
65
+ export interface SocialNotificationOutboxEvent {
66
+ id: string;
67
+ organization_id: string;
68
+ recipient_id: string | null;
69
+ event: 'social.follow' | 'social.comment' | 'place.updated';
70
+ payload: SocialNotificationPayload;
71
+ created_at: string | null;
72
+ delivered_at: string | null;
73
+ }
74
+ export interface SocialPlaceEventInput {
75
+ id: string;
76
+ place_id: string;
77
+ status: string;
78
+ }
79
+ //# sourceMappingURL=discovery.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discovery.types.d.ts","sourceRoot":"","sources":["../src/discovery.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAC/C,0GAA0G;AAC1G,MAAM,WAAW,wBAAyB,SAAQ,WAAW;IAAE,YAAY,CAAC,EAAC,MAAM,CAAC;IAAA,WAAW,CAAC,EAAC,MAAM,CAAC,CAAA,8DAA8D;IAAA,YAAY,CAAC,EAAC,MAAM,CAAC;IAAA,SAAS,CAAC,EAAC,OAAO,CAAC;IAAA,CAAC,CAAC,EAAC,MAAM,CAAC;IAAA,SAAS,CAAC,EAAC,MAAM,CAAC;IAAA,IAAI,CAAC,EAAC,MAAM,CAAC;IAAA,KAAK,CAAC,EAAC,MAAM,CAAC;CAAC;AACtQ,MAAM,WAAW,sBAAsB;IAAE,YAAY,EAAC,MAAM,CAAC;IAAA,WAAW,EAAC,MAAM,CAAC;IAAA,eAAe,EAAC,SAAS,CAAC;CAAC;AAC3G,MAAM,WAAW,mBAAmB;IAAE,EAAE,EAAC,MAAM,CAAC;IAAA,cAAc,EAAC,MAAM,CAAC;IAAA,IAAI,EAAC,cAAc,C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BAA6B;IAAE,EAAE,EAAC,MAAM,CAAC;IAAA,eAAe,EAAC,MAAM,CAAC;IAAA,YAAY,EAAC,MAAM,GAAC,IAAI,CAAC;IAAA,KAAK,EAAC,eAAe,GAAC,gBAAgB,GAAC,eAAe,CAAC;IAAA,OAAO,EAAC,yBAAyB,CAAC;IAAA,UAAU,EAAC,MAAM,GAAC,IAAI,CAAC;IAAA,YAAY,EAAC,MAAM,GAAC,IAAI,CAAC;CAAC;AACpP,MAAM,WAAW,qBAAqB;IAAE,EAAE,EAAC,MAAM,CAAC;IAAA,QAAQ,EAAC,MAAM,CAAC;IAAA,MAAM,EAAC,MAAM,CAAC;CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=discovery.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discovery.types.js","sourceRoot":"","sources":["../src/discovery.types.ts"],"names":[],"mappings":""}
package/dist/index.d.ts CHANGED
@@ -1,50 +1,346 @@
1
- import { ServiceApi, type ApiEnvelope, type Identifier, type RequestOptions } from "@faiber/sdk-core";
2
- import type { AnalyticsQuery, CreateCategoryInput, CreateCommentInput, CreatePostInput, CreateReportInput, FeedQuery, LegacyImportInput, RecordViewInput, LegacyImportReport, ModerateTargetInput, ModerationQueueResponse, ReactionSummaryResponse, ModerationActionResponse, ModerationAuditQuery, ModerationAuditResponse, SocialReportResponse, SetReactionInput, SocialCategoryListResponse, SocialCategoryResponse, SocialCommentListResponse, SocialCommentResponse, SocialPostListResponse, SocialPostResponse, SocialReactionResponse, UpdateCategoryInput, UpdateCommentInput, UpdatePostInput, ShareEventInput, CreatorAnalyticsResponse, SocialMediaResponse, FeedLocationPreferenceResponse, SetFeedLocationInput } from "./types.js";
1
+ import { ServiceApi, type Identifier, type RequestOptions } from "@faiber/sdk-core";
2
+ import type { AnalyticsQuery, SocialTargetCollection, CreateCategoryInput, CreateCommentInput, CreatePostInput, CreateReportInput, FeedQuery, LegacyImportInput, RecordViewInput, ModerateTargetInput, ModerationQueueResponse, ReactionSummaryResponse, ModerationActionResponse, ModerationAuditQuery, ModerationAuditResponse, SocialReportResponse, SetReactionInput, SocialCategoryListResponse, SocialCategoryResponse, SocialCommentListResponse, SocialCommentResponse, SocialPostListResponse, SocialPostResponse, SocialReactionResponse, UpdateCategoryInput, UpdateCommentInput, UpdatePostInput, ShareEventInput, CreatorAnalyticsResponse, SocialMediaResponse, FeedLocationPreferenceResponse, SetFeedLocationInput, SetFeedLocationResponse, SocialBookmarksResponse, RecordViewResponse, LegacyImportResponse } from "./types.js";
3
3
  import { SocialOperations } from "./operations.js";
4
4
  export declare class SocialApi extends ServiceApi {
5
5
  readonly operations: SocialOperations;
6
- categories(options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialCategoryListResponse, any, {}>>;
7
- uploadMedia(file: Blob, options?: RequestOptions<FormData>): Promise<import("axios").AxiosResponse<SocialMediaResponse, FormData, {}>>;
8
- createCategory(data: CreateCategoryInput, options?: RequestOptions<CreateCategoryInput>): Promise<import("axios").AxiosResponse<SocialCategoryResponse, CreateCategoryInput, {}>>;
9
- updateCategory(categoryId: Identifier, data: UpdateCategoryInput, options?: RequestOptions<UpdateCategoryInput>): Promise<import("axios").AxiosResponse<SocialCategoryResponse, UpdateCategoryInput, {}>>;
10
- deleteCategory(categoryId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
11
- feed(params?: FeedQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostListResponse, any, {}>>;
12
- post(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostResponse, any, {}>>;
13
- createPost(data: CreatePostInput, options?: RequestOptions<CreatePostInput>): Promise<import("axios").AxiosResponse<SocialPostResponse, CreatePostInput, {}>>;
14
- updatePost(postId: Identifier, data: UpdatePostInput, options?: RequestOptions<UpdatePostInput>): Promise<import("axios").AxiosResponse<SocialPostResponse, UpdatePostInput, {}>>;
15
- deletePost(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
16
- myPosts(params?: FeedQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostListResponse, any, {}>>;
17
- feedLocation(options?: RequestOptions): Promise<import("axios").AxiosResponse<FeedLocationPreferenceResponse, any, {}>>;
18
- setFeedLocation(data: SetFeedLocationInput, options?: RequestOptions<SetFeedLocationInput>): Promise<import("axios").AxiosResponse<FeedLocationPreferenceResponse, import("./types.js").FeedLocationPreference, {}>>;
19
- clearFeedLocation(options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
20
- myBookmarks(options?: RequestOptions): Promise<import("axios").AxiosResponse<ApiEnvelope<string[]>, any, {}>>;
21
- resubmitPost(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostResponse, Record<string, never>, {}>>;
22
- comments(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialCommentListResponse, any, {}>>;
23
- createComment(postId: Identifier, data: CreateCommentInput, options?: RequestOptions<CreateCommentInput>): Promise<import("axios").AxiosResponse<SocialCommentResponse, CreateCommentInput, {}>>;
24
- updateComment(commentId: Identifier, data: UpdateCommentInput, options?: RequestOptions<UpdateCommentInput>): Promise<import("axios").AxiosResponse<SocialCommentResponse, UpdateCommentInput, {}>>;
25
- deleteComment(commentId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
26
- reactions(target: "posts" | "comments", targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<ReactionSummaryResponse, any, {}>>;
27
- setReaction(target: "posts" | "comments", targetId: Identifier, data: SetReactionInput, options?: RequestOptions<SetReactionInput>): Promise<import("axios").AxiosResponse<SocialReactionResponse, SetReactionInput, {}>>;
28
- removeReaction(target: "posts" | "comments", targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
29
- like(target: "posts" | "comments", targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialReactionResponse, Record<string, never>, {}>>;
30
- unlike(target: "posts" | "comments", targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
31
- bookmark(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, Record<string, never>, {}>>;
32
- unbookmark(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
33
- recordView(postId: Identifier, data: RecordViewInput, options?: RequestOptions<RecordViewInput>): Promise<import("axios").AxiosResponse<ApiEnvelope<{
34
- counted: boolean;
35
- }>, RecordViewInput, {}>>;
36
- recordShare(postId: Identifier, data?: ShareEventInput, options?: RequestOptions<ShareEventInput>): Promise<import("axios").AxiosResponse<void, ShareEventInput, {}>>;
37
- myAnalytics(params?: AnalyticsQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<CreatorAnalyticsResponse, any, {}>>;
38
- postAnalytics(postId: Identifier, params?: AnalyticsQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<CreatorAnalyticsResponse, any, {}>>;
39
- report(data: CreateReportInput, options?: RequestOptions<CreateReportInput>): Promise<import("axios").AxiosResponse<SocialReportResponse, CreateReportInput, {}>>;
40
- moderationQueue(options?: RequestOptions): Promise<import("axios").AxiosResponse<ModerationQueueResponse, any, {}>>;
41
- /** Lists the authenticated organization's moderation history with bounded pagination. */
42
- moderationAudit(params?: ModerationAuditQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ModerationAuditResponse, any, {}>>;
43
- moderate(data: ModerateTargetInput, options?: RequestOptions<ModerateTargetInput>): Promise<import("axios").AxiosResponse<ModerationActionResponse, ModerateTargetInput, {}>>;
44
- importModules(data?: LegacyImportInput, options?: RequestOptions<LegacyImportInput>): Promise<import("axios").AxiosResponse<ApiEnvelope<LegacyImportReport>, LegacyImportInput, {}>>;
6
+ /**
7
+ * List organization-scoped, non-deleted categories ordered by sort_order and slug; hidden/archived categories are included.
8
+ * @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
9
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
10
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
11
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
12
+ */
13
+ categories(options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialCategoryListResponse, any, {}, any>>;
14
+ /**
15
+ * 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.
16
+ * @remarks Authorization: social:post:create; authenticated IDP context via shared FaiberClient; trusted organization context.
17
+ * @param file JPEG, PNG or WebP Blob.
18
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
19
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
20
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
21
+ */
22
+ uploadMedia(file: Blob, options?: RequestOptions<FormData>): Promise<import("axios").AxiosResponse<SocialMediaResponse, FormData, {}, any>>;
23
+ /**
24
+ * Create a category (201). Slug normalizes to lowercase ASCII letters/digits/hyphens/underscores, 1–100 bytes. Localized labels, description and metadata remain application JSON.
25
+ * @remarks Authorization: social:category:manage; authenticated IDP context via shared FaiberClient; trusted organization context.
26
+ * @param data Typed JSON request; null Option fields follow the documented backend semantics.
27
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
28
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
29
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
30
+ */
31
+ createCategory(data: CreateCategoryInput, options?: RequestOptions<CreateCategoryInput>): Promise<import("axios").AxiosResponse<SocialCategoryResponse, CreateCategoryInput, {}, any>>;
32
+ /**
33
+ * Patch supplied category fields. Null and absent Option fields leave stored values unchanged; slug/status validation matches creation.
34
+ * @remarks Authorization: social:category:manage; authenticated IDP context via shared FaiberClient; trusted organization context.
35
+ * @param data Typed JSON request; null Option fields follow the documented backend semantics.
36
+ * @param categoryId UUID of the organization-scoped target.
37
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
38
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
39
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
40
+ */
41
+ updateCategory(categoryId: Identifier, data: UpdateCategoryInput, options?: RequestOptions<UpdateCategoryInput>): Promise<import("axios").AxiosResponse<SocialCategoryResponse, UpdateCategoryInput, {}, any>>;
42
+ /**
43
+ * Soft-delete the category; returns 204 with no body.
44
+ * @remarks Authorization: social:category:manage; authenticated IDP context via shared FaiberClient; trusted organization context.
45
+ * @param categoryId UUID of the organization-scoped target.
46
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
47
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
48
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
49
+ */
50
+ deleteCategory(categoryId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
51
+ /**
52
+ * 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.
53
+ * @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
54
+ * @param params Flat query parameters with backend defaults when omitted.
55
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
56
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
57
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
58
+ */
59
+ feed(params?: FeedQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostListResponse, any, {}, any>>;
60
+ /**
61
+ * 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.
62
+ * @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
63
+ * @param postId UUID of the organization-scoped target.
64
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
65
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
66
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
67
+ */
68
+ post(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostResponse, any, {}, any>>;
69
+ /**
70
+ * 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.
71
+ * @remarks Authorization: social:post:create; authenticated IDP context via shared FaiberClient; trusted organization context.
72
+ * @param data Typed JSON request; null Option fields follow the documented backend semantics.
73
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
74
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
75
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
76
+ */
77
+ createPost(data: CreatePostInput, options?: RequestOptions<CreatePostInput>): Promise<import("axios").AxiosResponse<SocialPostResponse, CreatePostInput, {}, any>>;
78
+ /**
79
+ * 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.
80
+ * @remarks Authorization: social:post:update_own; authenticated IDP context via shared FaiberClient; trusted organization context.
81
+ * @param data Typed JSON request; null Option fields follow the documented backend semantics.
82
+ * @param postId UUID of the organization-scoped target.
83
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
84
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
85
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
86
+ */
87
+ updatePost(postId: Identifier, data: UpdatePostInput, options?: RequestOptions<UpdatePostInput>): Promise<import("axios").AxiosResponse<SocialPostResponse, UpdatePostInput, {}, any>>;
88
+ /**
89
+ * Soft-delete an author-owned post, or a moderator-authorized post; returns 204.
90
+ * @remarks Authorization: social:post:delete_own; authenticated IDP context via shared FaiberClient; trusted organization context.
91
+ * @param postId UUID of the organization-scoped target.
92
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
93
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
94
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
95
+ */
96
+ deletePost(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
97
+ /**
98
+ * Page current actor posts using feed filters and required pagination meta. author_id is overwritten by the authenticated user UUID.
99
+ * @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
100
+ * @param params Flat query parameters with backend defaults when omitted.
101
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
102
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
103
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
104
+ */
105
+ myPosts(params?: FeedQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostListResponse, any, {}, any>>;
106
+ /**
107
+ * Read the authenticated user location preference, returning data:null when unset.
108
+ * @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
109
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
110
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
111
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
112
+ */
113
+ feedLocation(options?: RequestOptions): Promise<import("axios").AxiosResponse<FeedLocationPreferenceResponse, any, {}, any>>;
114
+ /**
115
+ * 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.
116
+ * @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
117
+ * @param data Typed JSON request; null Option fields follow the documented backend semantics.
118
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
119
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
120
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
121
+ */
122
+ setFeedLocation(data: SetFeedLocationInput, options?: RequestOptions<SetFeedLocationInput>): Promise<import("axios").AxiosResponse<SetFeedLocationResponse, import("./types.js").FeedLocationPreference, {}, any>>;
123
+ /**
124
+ * Clear the authenticated user location preference idempotently; returns 204.
125
+ * @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
126
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
127
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
128
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
129
+ */
130
+ clearFeedLocation(options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
131
+ /**
132
+ * List bookmarked post UUIDs for the authenticated organization/user; this is not a post projection.
133
+ * @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
134
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
135
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
136
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
137
+ */
138
+ myBookmarks(options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialBookmarksResponse, any, {}, any>>;
139
+ /**
140
+ * Resubmit author-owned content to the category moderation state; returns the updated post.
141
+ * @remarks Authorization: social:post:update_own; authenticated IDP context via shared FaiberClient; trusted organization context.
142
+ * @param postId UUID of the organization-scoped target.
143
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
144
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
145
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
146
+ */
147
+ resubmitPost(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostResponse, Record<string, never>, {}, any>>;
148
+ /**
149
+ * Read published non-deleted comments oldest-first after checking parent visibility; no pagination query is consumed.
150
+ * @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
151
+ * @param postId UUID of the organization-scoped target.
152
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
153
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
154
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
155
+ */
156
+ comments(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialCommentListResponse, any, {}, any>>;
157
+ /**
158
+ * 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.
159
+ * @remarks Authorization: social:comment:create; authenticated IDP context via shared FaiberClient; trusted organization context.
160
+ * @param data Typed JSON request; null Option fields follow the documented backend semantics.
161
+ * @param postId UUID of the organization-scoped target.
162
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
163
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
164
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
165
+ */
166
+ createComment(postId: Identifier, data: CreateCommentInput, options?: RequestOptions<CreateCommentInput>): Promise<import("axios").AxiosResponse<SocialCommentResponse, CreateCommentInput, {}, any>>;
167
+ /**
168
+ * Update author-owned comment body (1–10000 trimmed characters). Category moderation can require review.
169
+ * @remarks Authorization: social:comment:update_own; authenticated IDP context via shared FaiberClient; trusted organization context.
170
+ * @param data Typed JSON request; null Option fields follow the documented backend semantics.
171
+ * @param commentId UUID of the organization-scoped target.
172
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
173
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
174
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
175
+ */
176
+ updateComment(commentId: Identifier, data: UpdateCommentInput, options?: RequestOptions<UpdateCommentInput>): Promise<import("axios").AxiosResponse<SocialCommentResponse, UpdateCommentInput, {}, any>>;
177
+ /**
178
+ * Soft-delete author-owned comment, or a moderator-authorized comment, and refresh counts; returns 204.
179
+ * @remarks Authorization: social:comment:delete_own; authenticated IDP context via shared FaiberClient; trusted organization context.
180
+ * @param commentId UUID of the organization-scoped target.
181
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
182
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
183
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
184
+ */
185
+ deleteComment(commentId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
186
+ /**
187
+ * Read post reaction totals, counts by reaction type and nullable viewer_reaction after verifying visibility.
188
+ * @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
189
+ * @param targetId UUID of the organization-scoped target.
190
+ * @param target Post or comment collection.
191
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
192
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
193
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
194
+ */
195
+ reactions(target: SocialTargetCollection, targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<ReactionSummaryResponse, any, {}, any>>;
196
+ /**
197
+ * Upsert current user post reaction after visibility and restriction checks; type is one of like/love/care/haha/wow/sad/angry.
198
+ * @remarks Authorization: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
199
+ * @param data Typed JSON request; null Option fields follow the documented backend semantics.
200
+ * @param targetId UUID of the organization-scoped target.
201
+ * @param target Post or comment collection.
202
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
203
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
204
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
205
+ */
206
+ setReaction(target: SocialTargetCollection, targetId: Identifier, data: SetReactionInput, options?: RequestOptions<SetReactionInput>): Promise<import("axios").AxiosResponse<SocialReactionResponse, SetReactionInput, {}, any>>;
207
+ /**
208
+ * Remove current user post reaction and refresh counts; returns 204.
209
+ * @remarks Authorization: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
210
+ * @param targetId UUID of the organization-scoped target.
211
+ * @param target Post or comment collection.
212
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
213
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
214
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
215
+ */
216
+ removeReaction(target: SocialTargetCollection, targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
217
+ /**
218
+ * Set the current user post reaction to like, returning the reaction record.
219
+ * @remarks Authorization: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
220
+ * @param targetId UUID of the organization-scoped target.
221
+ * @param target Post or comment collection.
222
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
223
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
224
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
225
+ */
226
+ like(target: SocialTargetCollection, targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialReactionResponse, Record<string, never>, {}, any>>;
227
+ /**
228
+ * Remove current user post reaction and refresh counts; returns 204.
229
+ * @remarks Authorization: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
230
+ * @param targetId UUID of the organization-scoped target.
231
+ * @param target Post or comment collection.
232
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
233
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
234
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
235
+ */
236
+ unlike(target: SocialTargetCollection, targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
237
+ /**
238
+ * Idempotently bookmark a visible post for current user; returns 204.
239
+ * @remarks Authorization: social:bookmark:write; authenticated IDP context via shared FaiberClient; trusted organization context.
240
+ * @param postId UUID of the organization-scoped target.
241
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
242
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
243
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
244
+ */
245
+ bookmark(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, Record<string, never>, {}, any>>;
246
+ /**
247
+ * Remove current user bookmark; returns 204.
248
+ * @remarks Authorization: social:bookmark:write; authenticated IDP context via shared FaiberClient; trusted organization context.
249
+ * @param postId UUID of the organization-scoped target.
250
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
251
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
252
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
253
+ */
254
+ unbookmark(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
255
+ /**
256
+ * 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.
257
+ * @remarks Authorization: social:view:write; authenticated IDP context via shared FaiberClient; trusted organization context.
258
+ * @param data Typed JSON request; null Option fields follow the documented backend semantics.
259
+ * @param postId UUID of the organization-scoped target.
260
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
261
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
262
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
263
+ */
264
+ recordView(postId: Identifier, data: RecordViewInput, options?: RequestOptions<RecordViewInput>): Promise<import("axios").AxiosResponse<RecordViewResponse, RecordViewInput, {}, any>>;
265
+ /**
266
+ * 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.
267
+ * @remarks Authorization: social:share:write; authenticated IDP context via shared FaiberClient; trusted organization context.
268
+ * @param data Typed JSON request; null Option fields follow the documented backend semantics.
269
+ * @param postId UUID of the organization-scoped target.
270
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
271
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
272
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
273
+ */
274
+ recordShare(postId: Identifier, data?: ShareEventInput, options?: RequestOptions<ShareEventInput>): Promise<import("axios").AxiosResponse<void, ShareEventInput, {}, any>>;
275
+ /**
276
+ * 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.
277
+ * @remarks Authorization: social:analytics:read_own; authenticated IDP context via shared FaiberClient; trusted organization context.
278
+ * @param params Flat query parameters with backend defaults when omitted.
279
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
280
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
281
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
282
+ */
283
+ myAnalytics(params?: AnalyticsQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<CreatorAnalyticsResponse, any, {}, any>>;
284
+ /**
285
+ * 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.
286
+ * @remarks Authorization: social:analytics:read_own; authenticated IDP context via shared FaiberClient; trusted organization context.
287
+ * @param params Flat query parameters with backend defaults when omitted.
288
+ * @param postId UUID of the organization-scoped target.
289
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
290
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
291
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
292
+ */
293
+ postAnalytics(postId: Identifier, params?: AnalyticsQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<CreatorAnalyticsResponse, any, {}, any>>;
294
+ /**
295
+ * 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.
296
+ * @remarks Authorization: social:report:create; authenticated IDP context via shared FaiberClient; trusted organization context.
297
+ * @param data Typed JSON request; null Option fields follow the documented backend semantics.
298
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
299
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
300
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
301
+ */
302
+ report(data: CreateReportInput, options?: RequestOptions<CreateReportInput>): Promise<import("axios").AxiosResponse<SocialReportResponse, CreateReportInput, {}, any>>;
303
+ /**
304
+ * Read pending non-deleted posts/comments and open/reviewing reports; awaiting-funding posts are excluded. Requires either social:moderate or social:moderation:review.
305
+ * @remarks Authorization: social:moderate OR social:moderation:review; authenticated IDP context via shared FaiberClient; trusted organization context.
306
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
307
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
308
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
309
+ */
310
+ moderationQueue(options?: RequestOptions): Promise<import("axios").AxiosResponse<ModerationQueueResponse, any, {}, any>>;
311
+ /**
312
+ * 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.
313
+ * @remarks Authorization: social:moderate OR social:moderation:review; authenticated IDP context via shared FaiberClient; trusted organization context.
314
+ * @param params Flat query parameters with backend defaults when omitted.
315
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
316
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
317
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
318
+ */
319
+ moderationAudit(params?: ModerationAuditQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ModerationAuditResponse, any, {}, any>>;
320
+ /**
321
+ * 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.
322
+ * @remarks Authorization: social:moderate OR social:moderation:review; authenticated IDP context via shared FaiberClient; trusted organization context.
323
+ * @param data Typed JSON request; null Option fields follow the documented backend semantics.
324
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
325
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
326
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
327
+ */
328
+ moderate(data: ModerateTargetInput, options?: RequestOptions<ModerateTargetInput>): Promise<import("axios").AxiosResponse<ModerationActionResponse, ModerateTargetInput, {}, any>>;
329
+ /**
330
+ * Import legacy Modules social records within the current organization; dry_run defaults true. Returns counters and the explicit legacy reaction mapping; requires social:admin.
331
+ * @remarks Authorization: social:admin; authenticated IDP context via shared FaiberClient; trusted organization context.
332
+ * @param data Typed JSON request; null Option fields follow the documented backend semantics.
333
+ * @param options Axios request settings, including headers, timeout and AbortSignal.
334
+ * @returns Complete Axios response with the named Social wire model or empty 204 body.
335
+ * @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
336
+ */
337
+ importModules(data?: LegacyImportInput, options?: RequestOptions<LegacyImportInput>): Promise<import("axios").AxiosResponse<LegacyImportResponse, LegacyImportInput, {}, any>>;
45
338
  }
46
339
  export * from "@faiber/sdk-core";
47
340
  export * from "./types.js";
48
341
  export * from "./operations.js";
49
342
  export * from "./operations.types.js";
343
+ export * from "./admin.types.js";
344
+ export * from "./discovery.types.js";
345
+ export * from "./contracts.types.js";
50
346
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAA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