@openpeepshq/client 0.1.36 → 0.1.38
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/dist/endpoints/accounts.d.ts +69 -0
- package/dist/endpoints/accounts.js +1 -0
- package/dist/endpoints/admin.d.ts +115 -17271
- package/dist/endpoints/admin.js +10 -0
- package/dist/endpoints/analytics.d.ts +15 -0
- package/dist/endpoints/analytics.js +4 -0
- package/dist/endpoints/auth.d.ts +2 -1
- package/dist/endpoints/conversations.d.ts +35481 -5352
- package/dist/endpoints/conversations.js +2 -0
- package/dist/endpoints/groups.d.ts +15 -3
- package/dist/endpoints/jams.d.ts +7500 -716
- package/dist/endpoints/jams.js +12 -0
- package/dist/endpoints/plugins.d.ts +1 -1
- package/dist/endpoints/posts.d.ts +72 -76801
- package/dist/endpoints/posts.js +2 -0
- package/dist/endpoints/profiles.d.ts +27284 -3728
- package/dist/endpoints/profiles.js +12 -1
- package/dist/endpoints/search.d.ts +24551 -4361
- package/dist/endpoints/server.d.ts +26 -1
- package/dist/endpoints/types.d.ts +3 -0
- package/dist/index.js +3 -1
- package/package.json +3 -3
|
@@ -3,4 +3,6 @@ export const conversations = (rawClient) => ({
|
|
|
3
3
|
list: allpeepNoPayloadEndpoint(rawClient, '/conversations'),
|
|
4
4
|
findById: allpeepNoPayloadEndpoint(rawClient, '/conversations/:id'),
|
|
5
5
|
newPost: allpeepPayloadEndpoint(rawClient, '/conversations/:id/posts'),
|
|
6
|
+
leave: allpeepNoPayloadEndpoint(rawClient, '/conversations/:id/leave', 'delete'),
|
|
7
|
+
archived: allpeepNoPayloadEndpoint(rawClient, '/conversations/archived'),
|
|
6
8
|
});
|
|
@@ -58,7 +58,7 @@ export declare const groups: (rawClient: FetchClient) => {
|
|
|
58
58
|
discoverable?: boolean | undefined;
|
|
59
59
|
deletedAt?: string | null | undefined;
|
|
60
60
|
};
|
|
61
|
-
roles?: ("none" | "local" | "member" | "admin" | "
|
|
61
|
+
roles?: ("none" | "local" | "member" | "moderator" | "admin" | "owner" | "invited")[] | null | undefined;
|
|
62
62
|
}[] | undefined;
|
|
63
63
|
deletedAt?: string | null | undefined;
|
|
64
64
|
avatar?: string | null | undefined;
|
|
@@ -76,6 +76,10 @@ export declare const groups: (rawClient: FetchClient) => {
|
|
|
76
76
|
locked?: boolean | undefined;
|
|
77
77
|
bot?: boolean | undefined;
|
|
78
78
|
discoverable?: boolean | undefined;
|
|
79
|
+
roles?: {
|
|
80
|
+
key: string;
|
|
81
|
+
displayName: string;
|
|
82
|
+
}[] | undefined;
|
|
79
83
|
fields?: {
|
|
80
84
|
name: string;
|
|
81
85
|
value: string;
|
|
@@ -84,6 +88,8 @@ export declare const groups: (rawClient: FetchClient) => {
|
|
|
84
88
|
followersCount: number;
|
|
85
89
|
followingCount: number;
|
|
86
90
|
} | undefined;
|
|
91
|
+
pinnedPostId?: string | undefined;
|
|
92
|
+
blockedByMe?: boolean | undefined;
|
|
87
93
|
}[] | undefined;
|
|
88
94
|
}, {
|
|
89
95
|
success: boolean;
|
|
@@ -283,7 +289,7 @@ export declare const groups: (rawClient: FetchClient) => {
|
|
|
283
289
|
discoverable?: boolean | undefined;
|
|
284
290
|
deletedAt?: string | null | undefined;
|
|
285
291
|
};
|
|
286
|
-
roles?: ("none" | "local" | "member" | "admin" | "
|
|
292
|
+
roles?: ("none" | "local" | "member" | "moderator" | "admin" | "owner" | "invited")[] | null | undefined;
|
|
287
293
|
}[] | undefined;
|
|
288
294
|
deletedAt?: string | null | undefined;
|
|
289
295
|
avatar?: string | null | undefined;
|
|
@@ -301,6 +307,10 @@ export declare const groups: (rawClient: FetchClient) => {
|
|
|
301
307
|
locked?: boolean | undefined;
|
|
302
308
|
bot?: boolean | undefined;
|
|
303
309
|
discoverable?: boolean | undefined;
|
|
310
|
+
roles?: {
|
|
311
|
+
key: string;
|
|
312
|
+
displayName: string;
|
|
313
|
+
}[] | undefined;
|
|
304
314
|
fields?: {
|
|
305
315
|
name: string;
|
|
306
316
|
value: string;
|
|
@@ -309,6 +319,8 @@ export declare const groups: (rawClient: FetchClient) => {
|
|
|
309
319
|
followersCount: number;
|
|
310
320
|
followingCount: number;
|
|
311
321
|
} | undefined;
|
|
322
|
+
pinnedPostId?: string | undefined;
|
|
323
|
+
blockedByMe?: boolean | undefined;
|
|
312
324
|
}, {
|
|
313
325
|
success: boolean;
|
|
314
326
|
message?: string | undefined;
|
|
@@ -329,7 +341,7 @@ export declare const groups: (rawClient: FetchClient) => {
|
|
|
329
341
|
setMemberRoles: import("@openpeepshq/fetch-client").TypedPayloadEndpoint<{
|
|
330
342
|
success: true;
|
|
331
343
|
}, {
|
|
332
|
-
roles?: ("local" | "admin" | "none" | "member" | "moderator" | "invited")[] | null | undefined;
|
|
344
|
+
roles?: ("local" | "admin" | "none" | "member" | "moderator" | "owner" | "invited")[] | null | undefined;
|
|
333
345
|
}, {
|
|
334
346
|
success: boolean;
|
|
335
347
|
message?: string | undefined;
|