@faiber/faiber-social 1.5.0 → 1.6.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.
- package/README.md +19 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/campaigns.d.ts +360 -0
- package/dist/campaigns.d.ts.map +1 -0
- package/dist/campaigns.js +31 -0
- package/dist/campaigns.js.map +1 -0
- package/dist/index.d.ts +39 -36
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +112 -112
- package/package.json +2 -2
- package/provenance.json +6 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { CampaignsApi } from "./campaigns.js";
|
|
1
2
|
import { ServiceApi, type Identifier, type RequestOptions } from "@faiber/sdk-core";
|
|
2
3
|
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
4
|
import { SocialOperations } from "./operations.js";
|
|
4
5
|
export declare class SocialApi extends ServiceApi {
|
|
6
|
+
readonly campaigns: CampaignsApi;
|
|
5
7
|
readonly operations: SocialOperations;
|
|
6
8
|
/**
|
|
7
9
|
* List organization-scoped, non-deleted categories ordered by sort_order and slug; hidden/archived categories are included.
|
|
@@ -10,7 +12,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
10
12
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
11
13
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
12
14
|
*/
|
|
13
|
-
categories(options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialCategoryListResponse, any, {}>>;
|
|
15
|
+
categories(options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialCategoryListResponse, any, {}, any>>;
|
|
14
16
|
/**
|
|
15
17
|
* 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
18
|
* @remarks Authorization: social:post:create; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -19,7 +21,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
19
21
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
20
22
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
21
23
|
*/
|
|
22
|
-
uploadMedia(file: Blob, options?: RequestOptions<FormData>): Promise<import("axios").AxiosResponse<SocialMediaResponse, FormData, {}>>;
|
|
24
|
+
uploadMedia(file: Blob, options?: RequestOptions<FormData>): Promise<import("axios").AxiosResponse<SocialMediaResponse, FormData, {}, any>>;
|
|
23
25
|
/**
|
|
24
26
|
* 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
27
|
* @remarks Authorization: social:category:manage; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -28,7 +30,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
28
30
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
29
31
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
30
32
|
*/
|
|
31
|
-
createCategory(data: CreateCategoryInput, options?: RequestOptions<CreateCategoryInput>): Promise<import("axios").AxiosResponse<SocialCategoryResponse, CreateCategoryInput, {}>>;
|
|
33
|
+
createCategory(data: CreateCategoryInput, options?: RequestOptions<CreateCategoryInput>): Promise<import("axios").AxiosResponse<SocialCategoryResponse, CreateCategoryInput, {}, any>>;
|
|
32
34
|
/**
|
|
33
35
|
* Patch supplied category fields. Null and absent Option fields leave stored values unchanged; slug/status validation matches creation.
|
|
34
36
|
* @remarks Authorization: social:category:manage; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -38,7 +40,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
38
40
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
39
41
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
40
42
|
*/
|
|
41
|
-
updateCategory(categoryId: Identifier, data: UpdateCategoryInput, options?: RequestOptions<UpdateCategoryInput>): Promise<import("axios").AxiosResponse<SocialCategoryResponse, UpdateCategoryInput, {}>>;
|
|
43
|
+
updateCategory(categoryId: Identifier, data: UpdateCategoryInput, options?: RequestOptions<UpdateCategoryInput>): Promise<import("axios").AxiosResponse<SocialCategoryResponse, UpdateCategoryInput, {}, any>>;
|
|
42
44
|
/**
|
|
43
45
|
* Soft-delete the category; returns 204 with no body.
|
|
44
46
|
* @remarks Authorization: social:category:manage; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -47,7 +49,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
47
49
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
48
50
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
49
51
|
*/
|
|
50
|
-
deleteCategory(categoryId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
52
|
+
deleteCategory(categoryId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
51
53
|
/**
|
|
52
54
|
* 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
55
|
* @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -56,7 +58,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
56
58
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
57
59
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
58
60
|
*/
|
|
59
|
-
feed(params?: FeedQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostListResponse, any, {}>>;
|
|
61
|
+
feed(params?: FeedQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostListResponse, any, {}, any>>;
|
|
60
62
|
/**
|
|
61
63
|
* 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
64
|
* @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -65,7 +67,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
65
67
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
66
68
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
67
69
|
*/
|
|
68
|
-
post(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostResponse, any, {}>>;
|
|
70
|
+
post(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostResponse, any, {}, any>>;
|
|
69
71
|
/**
|
|
70
72
|
* 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
73
|
* @remarks Authorization: social:post:create; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -74,7 +76,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
74
76
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
75
77
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
76
78
|
*/
|
|
77
|
-
createPost(data: CreatePostInput, options?: RequestOptions<CreatePostInput>): Promise<import("axios").AxiosResponse<SocialPostResponse, CreatePostInput, {}>>;
|
|
79
|
+
createPost(data: CreatePostInput, options?: RequestOptions<CreatePostInput>): Promise<import("axios").AxiosResponse<SocialPostResponse, CreatePostInput, {}, any>>;
|
|
78
80
|
/**
|
|
79
81
|
* 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
82
|
* @remarks Authorization: social:post:update_own; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -84,7 +86,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
84
86
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
85
87
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
86
88
|
*/
|
|
87
|
-
updatePost(postId: Identifier, data: UpdatePostInput, options?: RequestOptions<UpdatePostInput>): Promise<import("axios").AxiosResponse<SocialPostResponse, UpdatePostInput, {}>>;
|
|
89
|
+
updatePost(postId: Identifier, data: UpdatePostInput, options?: RequestOptions<UpdatePostInput>): Promise<import("axios").AxiosResponse<SocialPostResponse, UpdatePostInput, {}, any>>;
|
|
88
90
|
/**
|
|
89
91
|
* Soft-delete an author-owned post, or a moderator-authorized post; returns 204.
|
|
90
92
|
* @remarks Authorization: social:post:delete_own; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -93,7 +95,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
93
95
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
94
96
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
95
97
|
*/
|
|
96
|
-
deletePost(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
98
|
+
deletePost(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
97
99
|
/**
|
|
98
100
|
* Page current actor posts using feed filters and required pagination meta. author_id is overwritten by the authenticated user UUID.
|
|
99
101
|
* @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -102,7 +104,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
102
104
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
103
105
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
104
106
|
*/
|
|
105
|
-
myPosts(params?: FeedQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostListResponse, any, {}>>;
|
|
107
|
+
myPosts(params?: FeedQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostListResponse, any, {}, any>>;
|
|
106
108
|
/**
|
|
107
109
|
* Read the authenticated user location preference, returning data:null when unset.
|
|
108
110
|
* @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -110,7 +112,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
110
112
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
111
113
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
112
114
|
*/
|
|
113
|
-
feedLocation(options?: RequestOptions): Promise<import("axios").AxiosResponse<FeedLocationPreferenceResponse, any, {}>>;
|
|
115
|
+
feedLocation(options?: RequestOptions): Promise<import("axios").AxiosResponse<FeedLocationPreferenceResponse, any, {}, any>>;
|
|
114
116
|
/**
|
|
115
117
|
* 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
118
|
* @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -119,7 +121,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
119
121
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
120
122
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
121
123
|
*/
|
|
122
|
-
setFeedLocation(data: SetFeedLocationInput, options?: RequestOptions<SetFeedLocationInput>): Promise<import("axios").AxiosResponse<SetFeedLocationResponse, import("./types.js").FeedLocationPreference, {}>>;
|
|
124
|
+
setFeedLocation(data: SetFeedLocationInput, options?: RequestOptions<SetFeedLocationInput>): Promise<import("axios").AxiosResponse<SetFeedLocationResponse, import("./types.js").FeedLocationPreference, {}, any>>;
|
|
123
125
|
/**
|
|
124
126
|
* Clear the authenticated user location preference idempotently; returns 204.
|
|
125
127
|
* @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -127,7 +129,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
127
129
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
128
130
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
129
131
|
*/
|
|
130
|
-
clearFeedLocation(options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
132
|
+
clearFeedLocation(options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
131
133
|
/**
|
|
132
134
|
* List bookmarked post UUIDs for the authenticated organization/user; this is not a post projection.
|
|
133
135
|
* @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -135,7 +137,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
135
137
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
136
138
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
137
139
|
*/
|
|
138
|
-
myBookmarks(options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialBookmarksResponse, any, {}>>;
|
|
140
|
+
myBookmarks(options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialBookmarksResponse, any, {}, any>>;
|
|
139
141
|
/**
|
|
140
142
|
* Resubmit author-owned content to the category moderation state; returns the updated post.
|
|
141
143
|
* @remarks Authorization: social:post:update_own; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -144,7 +146,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
144
146
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
145
147
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
146
148
|
*/
|
|
147
|
-
resubmitPost(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostResponse, Record<string, never>, {}>>;
|
|
149
|
+
resubmitPost(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostResponse, Record<string, never>, {}, any>>;
|
|
148
150
|
/**
|
|
149
151
|
* Read published non-deleted comments oldest-first after checking parent visibility; no pagination query is consumed.
|
|
150
152
|
* @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -153,7 +155,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
153
155
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
154
156
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
155
157
|
*/
|
|
156
|
-
comments(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialCommentListResponse, any, {}>>;
|
|
158
|
+
comments(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialCommentListResponse, any, {}, any>>;
|
|
157
159
|
/**
|
|
158
160
|
* 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
161
|
* @remarks Authorization: social:comment:create; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -163,7 +165,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
163
165
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
164
166
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
165
167
|
*/
|
|
166
|
-
createComment(postId: Identifier, data: CreateCommentInput, options?: RequestOptions<CreateCommentInput>): Promise<import("axios").AxiosResponse<SocialCommentResponse, CreateCommentInput, {}>>;
|
|
168
|
+
createComment(postId: Identifier, data: CreateCommentInput, options?: RequestOptions<CreateCommentInput>): Promise<import("axios").AxiosResponse<SocialCommentResponse, CreateCommentInput, {}, any>>;
|
|
167
169
|
/**
|
|
168
170
|
* Update author-owned comment body (1–10000 trimmed characters). Category moderation can require review.
|
|
169
171
|
* @remarks Authorization: social:comment:update_own; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -173,7 +175,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
173
175
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
174
176
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
175
177
|
*/
|
|
176
|
-
updateComment(commentId: Identifier, data: UpdateCommentInput, options?: RequestOptions<UpdateCommentInput>): Promise<import("axios").AxiosResponse<SocialCommentResponse, UpdateCommentInput, {}>>;
|
|
178
|
+
updateComment(commentId: Identifier, data: UpdateCommentInput, options?: RequestOptions<UpdateCommentInput>): Promise<import("axios").AxiosResponse<SocialCommentResponse, UpdateCommentInput, {}, any>>;
|
|
177
179
|
/**
|
|
178
180
|
* Soft-delete author-owned comment, or a moderator-authorized comment, and refresh counts; returns 204.
|
|
179
181
|
* @remarks Authorization: social:comment:delete_own; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -182,7 +184,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
182
184
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
183
185
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
184
186
|
*/
|
|
185
|
-
deleteComment(commentId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
187
|
+
deleteComment(commentId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
186
188
|
/**
|
|
187
189
|
* Read post reaction totals, counts by reaction type and nullable viewer_reaction after verifying visibility.
|
|
188
190
|
* @remarks Authorization: social:read; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -192,7 +194,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
192
194
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
193
195
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
194
196
|
*/
|
|
195
|
-
reactions(target: SocialTargetCollection, targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<ReactionSummaryResponse, any, {}>>;
|
|
197
|
+
reactions(target: SocialTargetCollection, targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<ReactionSummaryResponse, any, {}, any>>;
|
|
196
198
|
/**
|
|
197
199
|
* Upsert current user post reaction after visibility and restriction checks; type is one of like/love/care/haha/wow/sad/angry.
|
|
198
200
|
* @remarks Authorization: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -203,7 +205,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
203
205
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
204
206
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
205
207
|
*/
|
|
206
|
-
setReaction(target: SocialTargetCollection, targetId: Identifier, data: SetReactionInput, options?: RequestOptions<SetReactionInput>): Promise<import("axios").AxiosResponse<SocialReactionResponse, SetReactionInput, {}>>;
|
|
208
|
+
setReaction(target: SocialTargetCollection, targetId: Identifier, data: SetReactionInput, options?: RequestOptions<SetReactionInput>): Promise<import("axios").AxiosResponse<SocialReactionResponse, SetReactionInput, {}, any>>;
|
|
207
209
|
/**
|
|
208
210
|
* Remove current user post reaction and refresh counts; returns 204.
|
|
209
211
|
* @remarks Authorization: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -213,7 +215,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
213
215
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
214
216
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
215
217
|
*/
|
|
216
|
-
removeReaction(target: SocialTargetCollection, targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
218
|
+
removeReaction(target: SocialTargetCollection, targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
217
219
|
/**
|
|
218
220
|
* Set the current user post reaction to like, returning the reaction record.
|
|
219
221
|
* @remarks Authorization: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -223,7 +225,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
223
225
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
224
226
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
225
227
|
*/
|
|
226
|
-
like(target: SocialTargetCollection, targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialReactionResponse, Record<string, never>, {}>>;
|
|
228
|
+
like(target: SocialTargetCollection, targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialReactionResponse, Record<string, never>, {}, any>>;
|
|
227
229
|
/**
|
|
228
230
|
* Remove current user post reaction and refresh counts; returns 204.
|
|
229
231
|
* @remarks Authorization: social:reaction:write; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -233,7 +235,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
233
235
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
234
236
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
235
237
|
*/
|
|
236
|
-
unlike(target: SocialTargetCollection, targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
238
|
+
unlike(target: SocialTargetCollection, targetId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
237
239
|
/**
|
|
238
240
|
* Idempotently bookmark a visible post for current user; returns 204.
|
|
239
241
|
* @remarks Authorization: social:bookmark:write; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -242,7 +244,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
242
244
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
243
245
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
244
246
|
*/
|
|
245
|
-
bookmark(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, Record<string, never>, {}>>;
|
|
247
|
+
bookmark(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, Record<string, never>, {}, any>>;
|
|
246
248
|
/**
|
|
247
249
|
* Remove current user bookmark; returns 204.
|
|
248
250
|
* @remarks Authorization: social:bookmark:write; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -251,7 +253,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
251
253
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
252
254
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
253
255
|
*/
|
|
254
|
-
unbookmark(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
256
|
+
unbookmark(postId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
255
257
|
/**
|
|
256
258
|
* 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
259
|
* @remarks Authorization: social:view:write; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -261,7 +263,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
261
263
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
262
264
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
263
265
|
*/
|
|
264
|
-
recordView(postId: Identifier, data: RecordViewInput, options?: RequestOptions<RecordViewInput>): Promise<import("axios").AxiosResponse<RecordViewResponse, RecordViewInput, {}>>;
|
|
266
|
+
recordView(postId: Identifier, data: RecordViewInput, options?: RequestOptions<RecordViewInput>): Promise<import("axios").AxiosResponse<RecordViewResponse, RecordViewInput, {}, any>>;
|
|
265
267
|
/**
|
|
266
268
|
* 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
269
|
* @remarks Authorization: social:share:write; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -271,7 +273,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
271
273
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
272
274
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
273
275
|
*/
|
|
274
|
-
recordShare(postId: Identifier, data?: ShareEventInput, options?: RequestOptions<ShareEventInput>): Promise<import("axios").AxiosResponse<void, ShareEventInput, {}>>;
|
|
276
|
+
recordShare(postId: Identifier, data?: ShareEventInput, options?: RequestOptions<ShareEventInput>): Promise<import("axios").AxiosResponse<void, ShareEventInput, {}, any>>;
|
|
275
277
|
/**
|
|
276
278
|
* 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
279
|
* @remarks Authorization: social:analytics:read_own; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -280,7 +282,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
280
282
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
281
283
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
282
284
|
*/
|
|
283
|
-
myAnalytics(params?: AnalyticsQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<CreatorAnalyticsResponse, any, {}>>;
|
|
285
|
+
myAnalytics(params?: AnalyticsQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<CreatorAnalyticsResponse, any, {}, any>>;
|
|
284
286
|
/**
|
|
285
287
|
* 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
288
|
* @remarks Authorization: social:analytics:read_own; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -290,7 +292,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
290
292
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
291
293
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
292
294
|
*/
|
|
293
|
-
postAnalytics(postId: Identifier, params?: AnalyticsQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<CreatorAnalyticsResponse, any, {}>>;
|
|
295
|
+
postAnalytics(postId: Identifier, params?: AnalyticsQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<CreatorAnalyticsResponse, any, {}, any>>;
|
|
294
296
|
/**
|
|
295
297
|
* 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
298
|
* @remarks Authorization: social:report:create; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -299,7 +301,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
299
301
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
300
302
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
301
303
|
*/
|
|
302
|
-
report(data: CreateReportInput, options?: RequestOptions<CreateReportInput>): Promise<import("axios").AxiosResponse<SocialReportResponse, CreateReportInput, {}>>;
|
|
304
|
+
report(data: CreateReportInput, options?: RequestOptions<CreateReportInput>): Promise<import("axios").AxiosResponse<SocialReportResponse, CreateReportInput, {}, any>>;
|
|
303
305
|
/**
|
|
304
306
|
* Read pending non-deleted posts/comments and open/reviewing reports; awaiting-funding posts are excluded. Requires either social:moderate or social:moderation:review.
|
|
305
307
|
* @remarks Authorization: social:moderate OR social:moderation:review; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -307,7 +309,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
307
309
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
308
310
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
309
311
|
*/
|
|
310
|
-
moderationQueue(options?: RequestOptions): Promise<import("axios").AxiosResponse<ModerationQueueResponse, any, {}>>;
|
|
312
|
+
moderationQueue(options?: RequestOptions): Promise<import("axios").AxiosResponse<ModerationQueueResponse, any, {}, any>>;
|
|
311
313
|
/**
|
|
312
314
|
* 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
315
|
* @remarks Authorization: social:moderate OR social:moderation:review; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -316,7 +318,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
316
318
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
317
319
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
318
320
|
*/
|
|
319
|
-
moderationAudit(params?: ModerationAuditQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ModerationAuditResponse, any, {}>>;
|
|
321
|
+
moderationAudit(params?: ModerationAuditQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ModerationAuditResponse, any, {}, any>>;
|
|
320
322
|
/**
|
|
321
323
|
* 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
324
|
* @remarks Authorization: social:moderate OR social:moderation:review; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -325,7 +327,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
325
327
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
326
328
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
327
329
|
*/
|
|
328
|
-
moderate(data: ModerateTargetInput, options?: RequestOptions<ModerateTargetInput>): Promise<import("axios").AxiosResponse<ModerationActionResponse, ModerateTargetInput, {}>>;
|
|
330
|
+
moderate(data: ModerateTargetInput, options?: RequestOptions<ModerateTargetInput>): Promise<import("axios").AxiosResponse<ModerationActionResponse, ModerateTargetInput, {}, any>>;
|
|
329
331
|
/**
|
|
330
332
|
* 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
333
|
* @remarks Authorization: social:admin; authenticated IDP context via shared FaiberClient; trusted organization context.
|
|
@@ -334,7 +336,7 @@ export declare class SocialApi extends ServiceApi {
|
|
|
334
336
|
* @returns Complete Axios response with the named Social wire model or empty 204 body.
|
|
335
337
|
* @throws Axios errors for validation (400), identity (401), permission (403), missing records (404), lifecycle conflicts (409) and transport failures.
|
|
336
338
|
*/
|
|
337
|
-
importModules(data?: LegacyImportInput, options?: RequestOptions<LegacyImportInput>): Promise<import("axios").AxiosResponse<LegacyImportResponse, LegacyImportInput, {}>>;
|
|
339
|
+
importModules(data?: LegacyImportInput, options?: RequestOptions<LegacyImportInput>): Promise<import("axios").AxiosResponse<LegacyImportResponse, LegacyImportInput, {}, any>>;
|
|
338
340
|
}
|
|
339
341
|
export * from "@faiber/sdk-core";
|
|
340
342
|
export * from "./types.js";
|
|
@@ -343,4 +345,5 @@ export * from "./operations.types.js";
|
|
|
343
345
|
export * from "./admin.types.js";
|
|
344
346
|
export * from "./discovery.types.js";
|
|
345
347
|
export * from "./contracts.types.js";
|
|
348
|
+
export * from "./campaigns.js";
|
|
346
349
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC/F,OAAO,KAAK,EACV,cAAc,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,eAAe,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,EAAE,eAAe,EAClK,mBAAmB,EAAE,uBAAuB,EAAE,uBAAuB,EACrE,wBAAwB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,oBAAoB,EAC7F,gBAAgB,EAAE,0BAA0B,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,sBAAsB,EAC9I,kBAAkB,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,eAAe,EAAE,eAAe,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,8BAA8B,EAAE,oBAAoB,EAAE,uBAA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Ac,kBAAkB,CAAC;AAEjC,cAAc,sBAAsB,CAAC;AAErC,cAAc,sBAAsB,CAAC;AAErC,cAAc,gBAAgB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { CampaignsApi } from "./campaigns.js";
|
|
1
2
|
import { ServiceApi, multipart } from "@faiber/sdk-core";
|
|
2
3
|
const id = (value) => encodeURIComponent(value);
|
|
3
4
|
import { SocialOperations } from "./operations.js";
|
|
4
5
|
export class SocialApi extends ServiceApi {
|
|
6
|
+
campaigns = new CampaignsApi(this.client);
|
|
5
7
|
operations = new SocialOperations(this.client);
|
|
6
8
|
/**
|
|
7
9
|
* List organization-scoped, non-deleted categories ordered by sort_order and slug; hidden/archived categories are included.
|
|
@@ -343,4 +345,5 @@ export * from "./operations.types.js";
|
|
|
343
345
|
export * from "./admin.types.js";
|
|
344
346
|
export * from "./discovery.types.js";
|
|
345
347
|
export * from "./contracts.types.js";
|
|
348
|
+
export * from "./campaigns.js";
|
|
346
349
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAwC,MAAM,kBAAkB,CAAC;AAS/F,MAAM,EAAE,GAAG,CAAC,KAAiB,EAAE,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,MAAM,OAAO,SAAU,SAAQ,UAAU;IAC9B,UAAU,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxD;;;;;;OAMG;IACH,UAAU,CAAC,OAAwB,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAA6B,oBAAoB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;I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