@foru-ms/sdk 2.1.7 → 2.1.8
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/posts/types/RetrievePostPostsResponse.d.ts +34 -0
- package/dist/cjs/api/resources/posts/types/RetrievePostPostsResponse.js +19 -0
- package/dist/cjs/api/resources/posts/types/RetrieveReactionPostsResponse.d.ts +15 -0
- package/dist/cjs/api/resources/posts/types/UpdatePostsResponse.d.ts +47 -0
- package/dist/cjs/api/resources/posts/types/UpdatePostsResponse.js +19 -0
- package/dist/cjs/api/resources/tags/types/RetrieveSubscriberTagsResponse.d.ts +15 -0
- package/dist/cjs/api/resources/threads/types/RetrievePostThreadsResponse.d.ts +34 -0
- package/dist/cjs/api/resources/threads/types/RetrievePostThreadsResponse.js +19 -0
- package/dist/cjs/api/resources/threads/types/RetrieveReactionThreadsResponse.d.ts +15 -0
- package/dist/cjs/api/resources/threads/types/RetrieveSubscriberThreadsResponse.d.ts +15 -0
- package/dist/cjs/api/resources/threads/types/UpdateThreadsResponse.d.ts +25 -0
- package/dist/cjs/api/resources/users/types/RetrieveFollowerUsersResponse.d.ts +15 -0
- package/dist/cjs/api/resources/users/types/RetrieveFollowingUsersResponse.d.ts +15 -0
- package/dist/cjs/api/types/Post.d.ts +47 -0
- package/dist/cjs/api/types/Post.js +16 -0
- package/dist/cjs/api/types/PostListResponse.d.ts +47 -0
- package/dist/cjs/api/types/PostListResponse.js +25 -0
- package/dist/cjs/api/types/PostPost.d.ts +34 -0
- package/dist/cjs/api/types/PostPost.js +16 -0
- package/dist/cjs/api/types/PostPostListResponse.d.ts +34 -0
- package/dist/cjs/api/types/PostPostListResponse.js +25 -0
- package/dist/cjs/api/types/PostPostResponse.d.ts +34 -0
- package/dist/cjs/api/types/PostPostResponse.js +19 -0
- package/dist/cjs/api/types/PostReaction.d.ts +15 -0
- package/dist/cjs/api/types/PostReactionListResponse.d.ts +15 -0
- package/dist/cjs/api/types/PostReactionResponse.d.ts +15 -0
- package/dist/cjs/api/types/PostResponse.d.ts +47 -0
- package/dist/cjs/api/types/PostResponse.js +19 -0
- package/dist/cjs/api/types/TagSubscriber.d.ts +15 -0
- package/dist/cjs/api/types/TagSubscriberListResponse.d.ts +15 -0
- package/dist/cjs/api/types/TagSubscriberResponse.d.ts +15 -0
- package/dist/cjs/api/types/Thread.d.ts +25 -0
- package/dist/cjs/api/types/ThreadListResponse.d.ts +25 -0
- package/dist/cjs/api/types/ThreadPost.d.ts +34 -0
- package/dist/cjs/api/types/ThreadPost.js +16 -0
- package/dist/cjs/api/types/ThreadPostListResponse.d.ts +34 -0
- package/dist/cjs/api/types/ThreadPostListResponse.js +25 -0
- package/dist/cjs/api/types/ThreadPostResponse.d.ts +34 -0
- package/dist/cjs/api/types/ThreadPostResponse.js +19 -0
- package/dist/cjs/api/types/ThreadReaction.d.ts +15 -0
- package/dist/cjs/api/types/ThreadReactionListResponse.d.ts +15 -0
- package/dist/cjs/api/types/ThreadReactionResponse.d.ts +15 -0
- package/dist/cjs/api/types/ThreadResponse.d.ts +25 -0
- package/dist/cjs/api/types/ThreadSubscriber.d.ts +15 -0
- package/dist/cjs/api/types/ThreadSubscriberListResponse.d.ts +15 -0
- package/dist/cjs/api/types/ThreadSubscriberResponse.d.ts +15 -0
- package/dist/cjs/api/types/UserFollower.d.ts +15 -0
- package/dist/cjs/api/types/UserFollowerListResponse.d.ts +15 -0
- package/dist/cjs/api/types/UserFollowerResponse.d.ts +15 -0
- package/dist/cjs/api/types/UserFollowing.d.ts +15 -0
- package/dist/cjs/api/types/UserFollowingListResponse.d.ts +15 -0
- package/dist/cjs/api/types/UserFollowingResponse.d.ts +15 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/posts/types/RetrievePostPostsResponse.d.mts +34 -0
- package/dist/esm/api/resources/posts/types/RetrievePostPostsResponse.mjs +18 -1
- package/dist/esm/api/resources/posts/types/RetrieveReactionPostsResponse.d.mts +15 -0
- package/dist/esm/api/resources/posts/types/UpdatePostsResponse.d.mts +47 -0
- package/dist/esm/api/resources/posts/types/UpdatePostsResponse.mjs +18 -1
- package/dist/esm/api/resources/tags/types/RetrieveSubscriberTagsResponse.d.mts +15 -0
- package/dist/esm/api/resources/threads/types/RetrievePostThreadsResponse.d.mts +34 -0
- package/dist/esm/api/resources/threads/types/RetrievePostThreadsResponse.mjs +18 -1
- package/dist/esm/api/resources/threads/types/RetrieveReactionThreadsResponse.d.mts +15 -0
- package/dist/esm/api/resources/threads/types/RetrieveSubscriberThreadsResponse.d.mts +15 -0
- package/dist/esm/api/resources/threads/types/UpdateThreadsResponse.d.mts +25 -0
- package/dist/esm/api/resources/users/types/RetrieveFollowerUsersResponse.d.mts +15 -0
- package/dist/esm/api/resources/users/types/RetrieveFollowingUsersResponse.d.mts +15 -0
- package/dist/esm/api/types/Post.d.mts +47 -0
- package/dist/esm/api/types/Post.mjs +15 -1
- package/dist/esm/api/types/PostListResponse.d.mts +47 -0
- package/dist/esm/api/types/PostListResponse.mjs +24 -1
- package/dist/esm/api/types/PostPost.d.mts +34 -0
- package/dist/esm/api/types/PostPost.mjs +15 -1
- package/dist/esm/api/types/PostPostListResponse.d.mts +34 -0
- package/dist/esm/api/types/PostPostListResponse.mjs +24 -1
- package/dist/esm/api/types/PostPostResponse.d.mts +34 -0
- package/dist/esm/api/types/PostPostResponse.mjs +18 -1
- package/dist/esm/api/types/PostReaction.d.mts +15 -0
- package/dist/esm/api/types/PostReactionListResponse.d.mts +15 -0
- package/dist/esm/api/types/PostReactionResponse.d.mts +15 -0
- package/dist/esm/api/types/PostResponse.d.mts +47 -0
- package/dist/esm/api/types/PostResponse.mjs +18 -1
- package/dist/esm/api/types/TagSubscriber.d.mts +15 -0
- package/dist/esm/api/types/TagSubscriberListResponse.d.mts +15 -0
- package/dist/esm/api/types/TagSubscriberResponse.d.mts +15 -0
- package/dist/esm/api/types/Thread.d.mts +25 -0
- package/dist/esm/api/types/ThreadListResponse.d.mts +25 -0
- package/dist/esm/api/types/ThreadPost.d.mts +34 -0
- package/dist/esm/api/types/ThreadPost.mjs +15 -1
- package/dist/esm/api/types/ThreadPostListResponse.d.mts +34 -0
- package/dist/esm/api/types/ThreadPostListResponse.mjs +24 -1
- package/dist/esm/api/types/ThreadPostResponse.d.mts +34 -0
- package/dist/esm/api/types/ThreadPostResponse.mjs +18 -1
- package/dist/esm/api/types/ThreadReaction.d.mts +15 -0
- package/dist/esm/api/types/ThreadReactionListResponse.d.mts +15 -0
- package/dist/esm/api/types/ThreadReactionResponse.d.mts +15 -0
- package/dist/esm/api/types/ThreadResponse.d.mts +25 -0
- package/dist/esm/api/types/ThreadSubscriber.d.mts +15 -0
- package/dist/esm/api/types/ThreadSubscriberListResponse.d.mts +15 -0
- package/dist/esm/api/types/ThreadSubscriberResponse.d.mts +15 -0
- package/dist/esm/api/types/UserFollower.d.mts +15 -0
- package/dist/esm/api/types/UserFollowerListResponse.d.mts +15 -0
- package/dist/esm/api/types/UserFollowerResponse.d.mts +15 -0
- package/dist/esm/api/types/UserFollowing.d.mts +15 -0
- package/dist/esm/api/types/UserFollowingListResponse.d.mts +15 -0
- package/dist/esm/api/types/UserFollowingResponse.d.mts +15 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ export interface ThreadPost {
|
|
|
5
5
|
body: string;
|
|
6
6
|
depth: number | null;
|
|
7
7
|
user?: ThreadPost.User;
|
|
8
|
+
reactions?: ThreadPost.Reactions.Item[];
|
|
8
9
|
_count?: ThreadPost.Count;
|
|
9
10
|
createdAt: string;
|
|
10
11
|
updatedAt: string;
|
|
@@ -14,6 +15,39 @@ export declare namespace ThreadPost {
|
|
|
14
15
|
id: string;
|
|
15
16
|
username: string;
|
|
16
17
|
displayName: string | null;
|
|
18
|
+
bio: string | null;
|
|
19
|
+
url: string | null;
|
|
20
|
+
isOnline: boolean | null;
|
|
21
|
+
roles?: User.Roles.Item[];
|
|
22
|
+
}
|
|
23
|
+
namespace User {
|
|
24
|
+
type Roles = Roles.Item[];
|
|
25
|
+
namespace Roles {
|
|
26
|
+
interface Item {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
slug: string | null;
|
|
30
|
+
color: string | null;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
type Reactions = Reactions.Item[];
|
|
35
|
+
namespace Reactions {
|
|
36
|
+
interface Item {
|
|
37
|
+
id: string;
|
|
38
|
+
type: Item.Type;
|
|
39
|
+
userId: string;
|
|
40
|
+
createdAt: string;
|
|
41
|
+
}
|
|
42
|
+
namespace Item {
|
|
43
|
+
const Type: {
|
|
44
|
+
readonly Upvote: "UPVOTE";
|
|
45
|
+
readonly Downvote: "DOWNVOTE";
|
|
46
|
+
readonly Like: "LIKE";
|
|
47
|
+
readonly Dislike: "DISLIKE";
|
|
48
|
+
};
|
|
49
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
50
|
+
}
|
|
17
51
|
}
|
|
18
52
|
interface Count {
|
|
19
53
|
reactions: number;
|
|
@@ -1,2 +1,16 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var ThreadPost;
|
|
3
|
+
(function (ThreadPost) {
|
|
4
|
+
let Reactions;
|
|
5
|
+
(function (Reactions) {
|
|
6
|
+
let Item;
|
|
7
|
+
(function (Item) {
|
|
8
|
+
Item.Type = {
|
|
9
|
+
Upvote: "UPVOTE",
|
|
10
|
+
Downvote: "DOWNVOTE",
|
|
11
|
+
Like: "LIKE",
|
|
12
|
+
Dislike: "DISLIKE",
|
|
13
|
+
};
|
|
14
|
+
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
15
|
+
})(Reactions = ThreadPost.Reactions || (ThreadPost.Reactions = {}));
|
|
16
|
+
})(ThreadPost || (ThreadPost = {}));
|
|
@@ -17,6 +17,7 @@ export declare namespace ThreadPostListResponse {
|
|
|
17
17
|
body: string;
|
|
18
18
|
depth: number | null;
|
|
19
19
|
user?: Item.User;
|
|
20
|
+
reactions?: Item.Reactions.Item[];
|
|
20
21
|
_count?: Item.Count;
|
|
21
22
|
createdAt: string;
|
|
22
23
|
updatedAt: string;
|
|
@@ -26,6 +27,39 @@ export declare namespace ThreadPostListResponse {
|
|
|
26
27
|
id: string;
|
|
27
28
|
username: string;
|
|
28
29
|
displayName: string | null;
|
|
30
|
+
bio: string | null;
|
|
31
|
+
url: string | null;
|
|
32
|
+
isOnline: boolean | null;
|
|
33
|
+
roles?: User.Roles.Item[];
|
|
34
|
+
}
|
|
35
|
+
namespace User {
|
|
36
|
+
type Roles = Roles.Item[];
|
|
37
|
+
namespace Roles {
|
|
38
|
+
interface Item {
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
slug: string | null;
|
|
42
|
+
color: string | null;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
type Reactions = Reactions.Item[];
|
|
47
|
+
namespace Reactions {
|
|
48
|
+
interface Item {
|
|
49
|
+
id: string;
|
|
50
|
+
type: Item.Type;
|
|
51
|
+
userId: string;
|
|
52
|
+
createdAt: string;
|
|
53
|
+
}
|
|
54
|
+
namespace Item {
|
|
55
|
+
const Type: {
|
|
56
|
+
readonly Upvote: "UPVOTE";
|
|
57
|
+
readonly Downvote: "DOWNVOTE";
|
|
58
|
+
readonly Like: "LIKE";
|
|
59
|
+
readonly Dislike: "DISLIKE";
|
|
60
|
+
};
|
|
61
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
62
|
+
}
|
|
29
63
|
}
|
|
30
64
|
interface Count {
|
|
31
65
|
reactions: number;
|
|
@@ -1,2 +1,25 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var ThreadPostListResponse;
|
|
3
|
+
(function (ThreadPostListResponse) {
|
|
4
|
+
let Data;
|
|
5
|
+
(function (Data) {
|
|
6
|
+
let Items;
|
|
7
|
+
(function (Items) {
|
|
8
|
+
let Item;
|
|
9
|
+
(function (Item_1) {
|
|
10
|
+
let Reactions;
|
|
11
|
+
(function (Reactions) {
|
|
12
|
+
let Item;
|
|
13
|
+
(function (Item) {
|
|
14
|
+
Item.Type = {
|
|
15
|
+
Upvote: "UPVOTE",
|
|
16
|
+
Downvote: "DOWNVOTE",
|
|
17
|
+
Like: "LIKE",
|
|
18
|
+
Dislike: "DISLIKE",
|
|
19
|
+
};
|
|
20
|
+
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
21
|
+
})(Reactions = Item_1.Reactions || (Item_1.Reactions = {}));
|
|
22
|
+
})(Item = Items.Item || (Items.Item = {}));
|
|
23
|
+
})(Items = Data.Items || (Data.Items = {}));
|
|
24
|
+
})(Data = ThreadPostListResponse.Data || (ThreadPostListResponse.Data = {}));
|
|
25
|
+
})(ThreadPostListResponse || (ThreadPostListResponse = {}));
|
|
@@ -9,6 +9,7 @@ export declare namespace ThreadPostResponse {
|
|
|
9
9
|
body: string;
|
|
10
10
|
depth: number | null;
|
|
11
11
|
user?: Data.User;
|
|
12
|
+
reactions?: Data.Reactions.Item[];
|
|
12
13
|
_count?: Data.Count;
|
|
13
14
|
createdAt: string;
|
|
14
15
|
updatedAt: string;
|
|
@@ -18,6 +19,39 @@ export declare namespace ThreadPostResponse {
|
|
|
18
19
|
id: string;
|
|
19
20
|
username: string;
|
|
20
21
|
displayName: string | null;
|
|
22
|
+
bio: string | null;
|
|
23
|
+
url: string | null;
|
|
24
|
+
isOnline: boolean | null;
|
|
25
|
+
roles?: User.Roles.Item[];
|
|
26
|
+
}
|
|
27
|
+
namespace User {
|
|
28
|
+
type Roles = Roles.Item[];
|
|
29
|
+
namespace Roles {
|
|
30
|
+
interface Item {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
slug: string | null;
|
|
34
|
+
color: string | null;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
type Reactions = Reactions.Item[];
|
|
39
|
+
namespace Reactions {
|
|
40
|
+
interface Item {
|
|
41
|
+
id: string;
|
|
42
|
+
type: Item.Type;
|
|
43
|
+
userId: string;
|
|
44
|
+
createdAt: string;
|
|
45
|
+
}
|
|
46
|
+
namespace Item {
|
|
47
|
+
const Type: {
|
|
48
|
+
readonly Upvote: "UPVOTE";
|
|
49
|
+
readonly Downvote: "DOWNVOTE";
|
|
50
|
+
readonly Like: "LIKE";
|
|
51
|
+
readonly Dislike: "DISLIKE";
|
|
52
|
+
};
|
|
53
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
54
|
+
}
|
|
21
55
|
}
|
|
22
56
|
interface Count {
|
|
23
57
|
reactions: number;
|
|
@@ -1,2 +1,19 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var ThreadPostResponse;
|
|
3
|
+
(function (ThreadPostResponse) {
|
|
4
|
+
let Data;
|
|
5
|
+
(function (Data) {
|
|
6
|
+
let Reactions;
|
|
7
|
+
(function (Reactions) {
|
|
8
|
+
let Item;
|
|
9
|
+
(function (Item) {
|
|
10
|
+
Item.Type = {
|
|
11
|
+
Upvote: "UPVOTE",
|
|
12
|
+
Downvote: "DOWNVOTE",
|
|
13
|
+
Like: "LIKE",
|
|
14
|
+
Dislike: "DISLIKE",
|
|
15
|
+
};
|
|
16
|
+
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
17
|
+
})(Reactions = Data.Reactions || (Data.Reactions = {}));
|
|
18
|
+
})(Data = ThreadPostResponse.Data || (ThreadPostResponse.Data = {}));
|
|
19
|
+
})(ThreadPostResponse || (ThreadPostResponse = {}));
|
|
@@ -10,5 +10,20 @@ export declare namespace ThreadReaction {
|
|
|
10
10
|
id: string;
|
|
11
11
|
username: string;
|
|
12
12
|
displayName: string | null;
|
|
13
|
+
bio: string | null;
|
|
14
|
+
url: string | null;
|
|
15
|
+
isOnline: boolean | null;
|
|
16
|
+
roles?: User.Roles.Item[];
|
|
17
|
+
}
|
|
18
|
+
namespace User {
|
|
19
|
+
type Roles = Roles.Item[];
|
|
20
|
+
namespace Roles {
|
|
21
|
+
interface Item {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
slug: string | null;
|
|
25
|
+
color: string | null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
13
28
|
}
|
|
14
29
|
}
|
|
@@ -22,6 +22,21 @@ export declare namespace ThreadReactionListResponse {
|
|
|
22
22
|
id: string;
|
|
23
23
|
username: string;
|
|
24
24
|
displayName: string | null;
|
|
25
|
+
bio: string | null;
|
|
26
|
+
url: string | null;
|
|
27
|
+
isOnline: boolean | null;
|
|
28
|
+
roles?: User.Roles.Item[];
|
|
29
|
+
}
|
|
30
|
+
namespace User {
|
|
31
|
+
type Roles = Roles.Item[];
|
|
32
|
+
namespace Roles {
|
|
33
|
+
interface Item {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
slug: string | null;
|
|
37
|
+
color: string | null;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
25
40
|
}
|
|
26
41
|
}
|
|
27
42
|
}
|
|
@@ -14,6 +14,21 @@ export declare namespace ThreadReactionResponse {
|
|
|
14
14
|
id: string;
|
|
15
15
|
username: string;
|
|
16
16
|
displayName: string | null;
|
|
17
|
+
bio: string | null;
|
|
18
|
+
url: string | null;
|
|
19
|
+
isOnline: boolean | null;
|
|
20
|
+
roles?: User.Roles.Item[];
|
|
21
|
+
}
|
|
22
|
+
namespace User {
|
|
23
|
+
type Roles = Roles.Item[];
|
|
24
|
+
namespace Roles {
|
|
25
|
+
interface Item {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
slug: string | null;
|
|
29
|
+
color: string | null;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
17
32
|
}
|
|
18
33
|
}
|
|
19
34
|
}
|
|
@@ -28,6 +28,8 @@ export declare namespace ThreadResponse {
|
|
|
28
28
|
postsCount: number;
|
|
29
29
|
/** Timestamp of the last post */
|
|
30
30
|
lastPostAt: string | null;
|
|
31
|
+
/** Thread author */
|
|
32
|
+
user?: Data.User;
|
|
31
33
|
/** Thread reactions */
|
|
32
34
|
reactions?: Data.Reactions.Item[];
|
|
33
35
|
createdAt: string;
|
|
@@ -53,6 +55,29 @@ export declare namespace ThreadResponse {
|
|
|
53
55
|
}
|
|
54
56
|
}
|
|
55
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
* Thread author
|
|
60
|
+
*/
|
|
61
|
+
interface User {
|
|
62
|
+
id: string;
|
|
63
|
+
username: string;
|
|
64
|
+
displayName: string | null;
|
|
65
|
+
bio: string | null;
|
|
66
|
+
url: string | null;
|
|
67
|
+
isOnline: boolean | null;
|
|
68
|
+
roles?: User.Roles.Item[];
|
|
69
|
+
}
|
|
70
|
+
namespace User {
|
|
71
|
+
type Roles = Roles.Item[];
|
|
72
|
+
namespace Roles {
|
|
73
|
+
interface Item {
|
|
74
|
+
id: string;
|
|
75
|
+
name: string;
|
|
76
|
+
slug: string | null;
|
|
77
|
+
color: string | null;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
56
81
|
type Reactions = Reactions.Item[];
|
|
57
82
|
namespace Reactions {
|
|
58
83
|
interface Item {
|
|
@@ -10,5 +10,20 @@ export declare namespace ThreadSubscriber {
|
|
|
10
10
|
id: string;
|
|
11
11
|
username: string;
|
|
12
12
|
displayName: string | null;
|
|
13
|
+
bio: string | null;
|
|
14
|
+
url: string | null;
|
|
15
|
+
isOnline: boolean | null;
|
|
16
|
+
roles?: User.Roles.Item[];
|
|
17
|
+
}
|
|
18
|
+
namespace User {
|
|
19
|
+
type Roles = Roles.Item[];
|
|
20
|
+
namespace Roles {
|
|
21
|
+
interface Item {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
slug: string | null;
|
|
25
|
+
color: string | null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
13
28
|
}
|
|
14
29
|
}
|
|
@@ -22,6 +22,21 @@ export declare namespace ThreadSubscriberListResponse {
|
|
|
22
22
|
id: string;
|
|
23
23
|
username: string;
|
|
24
24
|
displayName: string | null;
|
|
25
|
+
bio: string | null;
|
|
26
|
+
url: string | null;
|
|
27
|
+
isOnline: boolean | null;
|
|
28
|
+
roles?: User.Roles.Item[];
|
|
29
|
+
}
|
|
30
|
+
namespace User {
|
|
31
|
+
type Roles = Roles.Item[];
|
|
32
|
+
namespace Roles {
|
|
33
|
+
interface Item {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
slug: string | null;
|
|
37
|
+
color: string | null;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
25
40
|
}
|
|
26
41
|
}
|
|
27
42
|
}
|
|
@@ -14,6 +14,21 @@ export declare namespace ThreadSubscriberResponse {
|
|
|
14
14
|
id: string;
|
|
15
15
|
username: string;
|
|
16
16
|
displayName: string | null;
|
|
17
|
+
bio: string | null;
|
|
18
|
+
url: string | null;
|
|
19
|
+
isOnline: boolean | null;
|
|
20
|
+
roles?: User.Roles.Item[];
|
|
21
|
+
}
|
|
22
|
+
namespace User {
|
|
23
|
+
type Roles = Roles.Item[];
|
|
24
|
+
namespace Roles {
|
|
25
|
+
interface Item {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
slug: string | null;
|
|
29
|
+
color: string | null;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
17
32
|
}
|
|
18
33
|
}
|
|
19
34
|
}
|
|
@@ -10,5 +10,20 @@ export declare namespace UserFollower {
|
|
|
10
10
|
id: string;
|
|
11
11
|
username: string;
|
|
12
12
|
displayName: string | null;
|
|
13
|
+
bio: string | null;
|
|
14
|
+
url: string | null;
|
|
15
|
+
isOnline: boolean | null;
|
|
16
|
+
roles?: Follower.Roles.Item[];
|
|
17
|
+
}
|
|
18
|
+
namespace Follower {
|
|
19
|
+
type Roles = Roles.Item[];
|
|
20
|
+
namespace Roles {
|
|
21
|
+
interface Item {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
slug: string | null;
|
|
25
|
+
color: string | null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
13
28
|
}
|
|
14
29
|
}
|
|
@@ -22,6 +22,21 @@ export declare namespace UserFollowerListResponse {
|
|
|
22
22
|
id: string;
|
|
23
23
|
username: string;
|
|
24
24
|
displayName: string | null;
|
|
25
|
+
bio: string | null;
|
|
26
|
+
url: string | null;
|
|
27
|
+
isOnline: boolean | null;
|
|
28
|
+
roles?: Follower.Roles.Item[];
|
|
29
|
+
}
|
|
30
|
+
namespace Follower {
|
|
31
|
+
type Roles = Roles.Item[];
|
|
32
|
+
namespace Roles {
|
|
33
|
+
interface Item {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
slug: string | null;
|
|
37
|
+
color: string | null;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
25
40
|
}
|
|
26
41
|
}
|
|
27
42
|
}
|
|
@@ -14,6 +14,21 @@ export declare namespace UserFollowerResponse {
|
|
|
14
14
|
id: string;
|
|
15
15
|
username: string;
|
|
16
16
|
displayName: string | null;
|
|
17
|
+
bio: string | null;
|
|
18
|
+
url: string | null;
|
|
19
|
+
isOnline: boolean | null;
|
|
20
|
+
roles?: Follower.Roles.Item[];
|
|
21
|
+
}
|
|
22
|
+
namespace Follower {
|
|
23
|
+
type Roles = Roles.Item[];
|
|
24
|
+
namespace Roles {
|
|
25
|
+
interface Item {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
slug: string | null;
|
|
29
|
+
color: string | null;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
17
32
|
}
|
|
18
33
|
}
|
|
19
34
|
}
|
|
@@ -10,5 +10,20 @@ export declare namespace UserFollowing {
|
|
|
10
10
|
id: string;
|
|
11
11
|
username: string;
|
|
12
12
|
displayName: string | null;
|
|
13
|
+
bio: string | null;
|
|
14
|
+
url: string | null;
|
|
15
|
+
isOnline: boolean | null;
|
|
16
|
+
roles?: Following.Roles.Item[];
|
|
17
|
+
}
|
|
18
|
+
namespace Following {
|
|
19
|
+
type Roles = Roles.Item[];
|
|
20
|
+
namespace Roles {
|
|
21
|
+
interface Item {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
slug: string | null;
|
|
25
|
+
color: string | null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
13
28
|
}
|
|
14
29
|
}
|
|
@@ -22,6 +22,21 @@ export declare namespace UserFollowingListResponse {
|
|
|
22
22
|
id: string;
|
|
23
23
|
username: string;
|
|
24
24
|
displayName: string | null;
|
|
25
|
+
bio: string | null;
|
|
26
|
+
url: string | null;
|
|
27
|
+
isOnline: boolean | null;
|
|
28
|
+
roles?: Following.Roles.Item[];
|
|
29
|
+
}
|
|
30
|
+
namespace Following {
|
|
31
|
+
type Roles = Roles.Item[];
|
|
32
|
+
namespace Roles {
|
|
33
|
+
interface Item {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
slug: string | null;
|
|
37
|
+
color: string | null;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
25
40
|
}
|
|
26
41
|
}
|
|
27
42
|
}
|
|
@@ -14,6 +14,21 @@ export declare namespace UserFollowingResponse {
|
|
|
14
14
|
id: string;
|
|
15
15
|
username: string;
|
|
16
16
|
displayName: string | null;
|
|
17
|
+
bio: string | null;
|
|
18
|
+
url: string | null;
|
|
19
|
+
isOnline: boolean | null;
|
|
20
|
+
roles?: Following.Roles.Item[];
|
|
21
|
+
}
|
|
22
|
+
namespace Following {
|
|
23
|
+
type Roles = Roles.Item[];
|
|
24
|
+
namespace Roles {
|
|
25
|
+
interface Item {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
slug: string | null;
|
|
29
|
+
color: string | null;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
17
32
|
}
|
|
18
33
|
}
|
|
19
34
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.1.
|
|
1
|
+
export declare const SDK_VERSION = "2.1.8";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "2.1.
|
|
1
|
+
export const SDK_VERSION = "2.1.8";
|