@foru-ms/sdk 2.1.6 → 2.1.7
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/threads/types/UpdateThreadsResponse.d.ts +20 -0
- package/dist/cjs/api/resources/threads/types/UpdateThreadsResponse.js +19 -0
- package/dist/cjs/api/types/Thread.d.ts +22 -0
- package/dist/cjs/api/types/Thread.js +16 -0
- package/dist/cjs/api/types/ThreadListResponse.d.ts +20 -0
- package/dist/cjs/api/types/ThreadListResponse.js +25 -0
- package/dist/cjs/api/types/ThreadResponse.d.ts +20 -0
- package/dist/cjs/api/types/ThreadResponse.js +19 -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/threads/types/UpdateThreadsResponse.d.mts +20 -0
- package/dist/esm/api/resources/threads/types/UpdateThreadsResponse.mjs +18 -1
- package/dist/esm/api/types/Thread.d.mts +22 -0
- package/dist/esm/api/types/Thread.mjs +15 -1
- package/dist/esm/api/types/ThreadListResponse.d.mts +20 -0
- package/dist/esm/api/types/ThreadListResponse.mjs +24 -1
- package/dist/esm/api/types/ThreadResponse.d.mts +20 -0
- package/dist/esm/api/types/ThreadResponse.mjs +18 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@foru-ms/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "2.1.
|
|
47
|
-
"User-Agent": "@foru-ms/sdk/2.1.
|
|
46
|
+
"X-Fern-SDK-Version": "2.1.7",
|
|
47
|
+
"User-Agent": "@foru-ms/sdk/2.1.7",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -28,6 +28,8 @@ export declare namespace UpdateThreadsResponse {
|
|
|
28
28
|
postsCount: number;
|
|
29
29
|
/** Timestamp of the last post */
|
|
30
30
|
lastPostAt: string | null;
|
|
31
|
+
/** Thread reactions */
|
|
32
|
+
reactions?: Data.Reactions.Item[];
|
|
31
33
|
createdAt: string;
|
|
32
34
|
updatedAt: string;
|
|
33
35
|
}
|
|
@@ -51,5 +53,23 @@ export declare namespace UpdateThreadsResponse {
|
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
}
|
|
56
|
+
type Reactions = Reactions.Item[];
|
|
57
|
+
namespace Reactions {
|
|
58
|
+
interface Item {
|
|
59
|
+
id: string;
|
|
60
|
+
type: Item.Type;
|
|
61
|
+
userId: string;
|
|
62
|
+
createdAt: string;
|
|
63
|
+
}
|
|
64
|
+
namespace Item {
|
|
65
|
+
const Type: {
|
|
66
|
+
readonly Upvote: "UPVOTE";
|
|
67
|
+
readonly Downvote: "DOWNVOTE";
|
|
68
|
+
readonly Like: "LIKE";
|
|
69
|
+
readonly Dislike: "DISLIKE";
|
|
70
|
+
};
|
|
71
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
72
|
+
}
|
|
73
|
+
}
|
|
54
74
|
}
|
|
55
75
|
}
|
|
@@ -1,3 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.UpdateThreadsResponse = void 0;
|
|
5
|
+
var UpdateThreadsResponse;
|
|
6
|
+
(function (UpdateThreadsResponse) {
|
|
7
|
+
let Data;
|
|
8
|
+
(function (Data) {
|
|
9
|
+
let Reactions;
|
|
10
|
+
(function (Reactions) {
|
|
11
|
+
let Item;
|
|
12
|
+
(function (Item) {
|
|
13
|
+
Item.Type = {
|
|
14
|
+
Upvote: "UPVOTE",
|
|
15
|
+
Downvote: "DOWNVOTE",
|
|
16
|
+
Like: "LIKE",
|
|
17
|
+
Dislike: "DISLIKE",
|
|
18
|
+
};
|
|
19
|
+
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
20
|
+
})(Reactions = Data.Reactions || (Data.Reactions = {}));
|
|
21
|
+
})(Data = UpdateThreadsResponse.Data || (UpdateThreadsResponse.Data = {}));
|
|
22
|
+
})(UpdateThreadsResponse || (exports.UpdateThreadsResponse = UpdateThreadsResponse = {}));
|
|
@@ -25,6 +25,28 @@ export interface Thread {
|
|
|
25
25
|
postsCount: number;
|
|
26
26
|
/** Timestamp of the last post */
|
|
27
27
|
lastPostAt: string | null;
|
|
28
|
+
/** Thread reactions */
|
|
29
|
+
reactions?: Thread.Reactions.Item[];
|
|
28
30
|
createdAt: string;
|
|
29
31
|
updatedAt: string;
|
|
30
32
|
}
|
|
33
|
+
export declare namespace Thread {
|
|
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
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -1,3 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Thread = void 0;
|
|
5
|
+
var Thread;
|
|
6
|
+
(function (Thread) {
|
|
7
|
+
let Reactions;
|
|
8
|
+
(function (Reactions) {
|
|
9
|
+
let Item;
|
|
10
|
+
(function (Item) {
|
|
11
|
+
Item.Type = {
|
|
12
|
+
Upvote: "UPVOTE",
|
|
13
|
+
Downvote: "DOWNVOTE",
|
|
14
|
+
Like: "LIKE",
|
|
15
|
+
Dislike: "DISLIKE",
|
|
16
|
+
};
|
|
17
|
+
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
18
|
+
})(Reactions = Thread.Reactions || (Thread.Reactions = {}));
|
|
19
|
+
})(Thread || (exports.Thread = Thread = {}));
|
|
@@ -38,6 +38,8 @@ export declare namespace ThreadListResponse {
|
|
|
38
38
|
postsCount: number;
|
|
39
39
|
/** Timestamp of the last post */
|
|
40
40
|
lastPostAt: string | null;
|
|
41
|
+
/** Thread reactions */
|
|
42
|
+
reactions?: Item.Reactions.Item[];
|
|
41
43
|
createdAt: string;
|
|
42
44
|
updatedAt: string;
|
|
43
45
|
}
|
|
@@ -61,6 +63,24 @@ export declare namespace ThreadListResponse {
|
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
65
|
}
|
|
66
|
+
type Reactions = Reactions.Item[];
|
|
67
|
+
namespace Reactions {
|
|
68
|
+
interface Item {
|
|
69
|
+
id: string;
|
|
70
|
+
type: Item.Type;
|
|
71
|
+
userId: string;
|
|
72
|
+
createdAt: string;
|
|
73
|
+
}
|
|
74
|
+
namespace Item {
|
|
75
|
+
const Type: {
|
|
76
|
+
readonly Upvote: "UPVOTE";
|
|
77
|
+
readonly Downvote: "DOWNVOTE";
|
|
78
|
+
readonly Like: "LIKE";
|
|
79
|
+
readonly Dislike: "DISLIKE";
|
|
80
|
+
};
|
|
81
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
64
84
|
}
|
|
65
85
|
}
|
|
66
86
|
}
|
|
@@ -1,3 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ThreadListResponse = void 0;
|
|
5
|
+
var ThreadListResponse;
|
|
6
|
+
(function (ThreadListResponse) {
|
|
7
|
+
let Data;
|
|
8
|
+
(function (Data) {
|
|
9
|
+
let Items;
|
|
10
|
+
(function (Items) {
|
|
11
|
+
let Item;
|
|
12
|
+
(function (Item_1) {
|
|
13
|
+
let Reactions;
|
|
14
|
+
(function (Reactions) {
|
|
15
|
+
let Item;
|
|
16
|
+
(function (Item) {
|
|
17
|
+
Item.Type = {
|
|
18
|
+
Upvote: "UPVOTE",
|
|
19
|
+
Downvote: "DOWNVOTE",
|
|
20
|
+
Like: "LIKE",
|
|
21
|
+
Dislike: "DISLIKE",
|
|
22
|
+
};
|
|
23
|
+
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
24
|
+
})(Reactions = Item_1.Reactions || (Item_1.Reactions = {}));
|
|
25
|
+
})(Item = Items.Item || (Items.Item = {}));
|
|
26
|
+
})(Items = Data.Items || (Data.Items = {}));
|
|
27
|
+
})(Data = ThreadListResponse.Data || (ThreadListResponse.Data = {}));
|
|
28
|
+
})(ThreadListResponse || (exports.ThreadListResponse = ThreadListResponse = {}));
|
|
@@ -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 reactions */
|
|
32
|
+
reactions?: Data.Reactions.Item[];
|
|
31
33
|
createdAt: string;
|
|
32
34
|
updatedAt: string;
|
|
33
35
|
}
|
|
@@ -51,5 +53,23 @@ export declare namespace ThreadResponse {
|
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
}
|
|
56
|
+
type Reactions = Reactions.Item[];
|
|
57
|
+
namespace Reactions {
|
|
58
|
+
interface Item {
|
|
59
|
+
id: string;
|
|
60
|
+
type: Item.Type;
|
|
61
|
+
userId: string;
|
|
62
|
+
createdAt: string;
|
|
63
|
+
}
|
|
64
|
+
namespace Item {
|
|
65
|
+
const Type: {
|
|
66
|
+
readonly Upvote: "UPVOTE";
|
|
67
|
+
readonly Downvote: "DOWNVOTE";
|
|
68
|
+
readonly Like: "LIKE";
|
|
69
|
+
readonly Dislike: "DISLIKE";
|
|
70
|
+
};
|
|
71
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
72
|
+
}
|
|
73
|
+
}
|
|
54
74
|
}
|
|
55
75
|
}
|
|
@@ -1,3 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ThreadResponse = void 0;
|
|
5
|
+
var ThreadResponse;
|
|
6
|
+
(function (ThreadResponse) {
|
|
7
|
+
let Data;
|
|
8
|
+
(function (Data) {
|
|
9
|
+
let Reactions;
|
|
10
|
+
(function (Reactions) {
|
|
11
|
+
let Item;
|
|
12
|
+
(function (Item) {
|
|
13
|
+
Item.Type = {
|
|
14
|
+
Upvote: "UPVOTE",
|
|
15
|
+
Downvote: "DOWNVOTE",
|
|
16
|
+
Like: "LIKE",
|
|
17
|
+
Dislike: "DISLIKE",
|
|
18
|
+
};
|
|
19
|
+
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
20
|
+
})(Reactions = Data.Reactions || (Data.Reactions = {}));
|
|
21
|
+
})(Data = ThreadResponse.Data || (ThreadResponse.Data = {}));
|
|
22
|
+
})(ThreadResponse || (exports.ThreadResponse = ThreadResponse = {}));
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.1.
|
|
1
|
+
export declare const SDK_VERSION = "2.1.7";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@foru-ms/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "2.1.
|
|
10
|
-
"User-Agent": "@foru-ms/sdk/2.1.
|
|
9
|
+
"X-Fern-SDK-Version": "2.1.7",
|
|
10
|
+
"User-Agent": "@foru-ms/sdk/2.1.7",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -28,6 +28,8 @@ export declare namespace UpdateThreadsResponse {
|
|
|
28
28
|
postsCount: number;
|
|
29
29
|
/** Timestamp of the last post */
|
|
30
30
|
lastPostAt: string | null;
|
|
31
|
+
/** Thread reactions */
|
|
32
|
+
reactions?: Data.Reactions.Item[];
|
|
31
33
|
createdAt: string;
|
|
32
34
|
updatedAt: string;
|
|
33
35
|
}
|
|
@@ -51,5 +53,23 @@ export declare namespace UpdateThreadsResponse {
|
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
}
|
|
56
|
+
type Reactions = Reactions.Item[];
|
|
57
|
+
namespace Reactions {
|
|
58
|
+
interface Item {
|
|
59
|
+
id: string;
|
|
60
|
+
type: Item.Type;
|
|
61
|
+
userId: string;
|
|
62
|
+
createdAt: string;
|
|
63
|
+
}
|
|
64
|
+
namespace Item {
|
|
65
|
+
const Type: {
|
|
66
|
+
readonly Upvote: "UPVOTE";
|
|
67
|
+
readonly Downvote: "DOWNVOTE";
|
|
68
|
+
readonly Like: "LIKE";
|
|
69
|
+
readonly Dislike: "DISLIKE";
|
|
70
|
+
};
|
|
71
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
72
|
+
}
|
|
73
|
+
}
|
|
54
74
|
}
|
|
55
75
|
}
|
|
@@ -1,2 +1,19 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var UpdateThreadsResponse;
|
|
3
|
+
(function (UpdateThreadsResponse) {
|
|
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 = UpdateThreadsResponse.Data || (UpdateThreadsResponse.Data = {}));
|
|
19
|
+
})(UpdateThreadsResponse || (UpdateThreadsResponse = {}));
|
|
@@ -25,6 +25,28 @@ export interface Thread {
|
|
|
25
25
|
postsCount: number;
|
|
26
26
|
/** Timestamp of the last post */
|
|
27
27
|
lastPostAt: string | null;
|
|
28
|
+
/** Thread reactions */
|
|
29
|
+
reactions?: Thread.Reactions.Item[];
|
|
28
30
|
createdAt: string;
|
|
29
31
|
updatedAt: string;
|
|
30
32
|
}
|
|
33
|
+
export declare namespace Thread {
|
|
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
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -1,2 +1,16 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var Thread;
|
|
3
|
+
(function (Thread) {
|
|
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 = Thread.Reactions || (Thread.Reactions = {}));
|
|
16
|
+
})(Thread || (Thread = {}));
|
|
@@ -38,6 +38,8 @@ export declare namespace ThreadListResponse {
|
|
|
38
38
|
postsCount: number;
|
|
39
39
|
/** Timestamp of the last post */
|
|
40
40
|
lastPostAt: string | null;
|
|
41
|
+
/** Thread reactions */
|
|
42
|
+
reactions?: Item.Reactions.Item[];
|
|
41
43
|
createdAt: string;
|
|
42
44
|
updatedAt: string;
|
|
43
45
|
}
|
|
@@ -61,6 +63,24 @@ export declare namespace ThreadListResponse {
|
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
65
|
}
|
|
66
|
+
type Reactions = Reactions.Item[];
|
|
67
|
+
namespace Reactions {
|
|
68
|
+
interface Item {
|
|
69
|
+
id: string;
|
|
70
|
+
type: Item.Type;
|
|
71
|
+
userId: string;
|
|
72
|
+
createdAt: string;
|
|
73
|
+
}
|
|
74
|
+
namespace Item {
|
|
75
|
+
const Type: {
|
|
76
|
+
readonly Upvote: "UPVOTE";
|
|
77
|
+
readonly Downvote: "DOWNVOTE";
|
|
78
|
+
readonly Like: "LIKE";
|
|
79
|
+
readonly Dislike: "DISLIKE";
|
|
80
|
+
};
|
|
81
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
64
84
|
}
|
|
65
85
|
}
|
|
66
86
|
}
|
|
@@ -1,2 +1,25 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var ThreadListResponse;
|
|
3
|
+
(function (ThreadListResponse) {
|
|
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 = ThreadListResponse.Data || (ThreadListResponse.Data = {}));
|
|
25
|
+
})(ThreadListResponse || (ThreadListResponse = {}));
|
|
@@ -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 reactions */
|
|
32
|
+
reactions?: Data.Reactions.Item[];
|
|
31
33
|
createdAt: string;
|
|
32
34
|
updatedAt: string;
|
|
33
35
|
}
|
|
@@ -51,5 +53,23 @@ export declare namespace ThreadResponse {
|
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
}
|
|
56
|
+
type Reactions = Reactions.Item[];
|
|
57
|
+
namespace Reactions {
|
|
58
|
+
interface Item {
|
|
59
|
+
id: string;
|
|
60
|
+
type: Item.Type;
|
|
61
|
+
userId: string;
|
|
62
|
+
createdAt: string;
|
|
63
|
+
}
|
|
64
|
+
namespace Item {
|
|
65
|
+
const Type: {
|
|
66
|
+
readonly Upvote: "UPVOTE";
|
|
67
|
+
readonly Downvote: "DOWNVOTE";
|
|
68
|
+
readonly Like: "LIKE";
|
|
69
|
+
readonly Dislike: "DISLIKE";
|
|
70
|
+
};
|
|
71
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
72
|
+
}
|
|
73
|
+
}
|
|
54
74
|
}
|
|
55
75
|
}
|
|
@@ -1,2 +1,19 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var ThreadResponse;
|
|
3
|
+
(function (ThreadResponse) {
|
|
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 = ThreadResponse.Data || (ThreadResponse.Data = {}));
|
|
19
|
+
})(ThreadResponse || (ThreadResponse = {}));
|
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.7";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "2.1.
|
|
1
|
+
export const SDK_VERSION = "2.1.7";
|