@foru-ms/sdk 2.1.17 → 2.1.18

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.
@@ -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.17",
47
- "User-Agent": "@foru-ms/sdk/2.1.17",
46
+ "X-Fern-SDK-Version": "2.1.18",
47
+ "User-Agent": "@foru-ms/sdk/2.1.18",
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);
@@ -63,6 +63,8 @@ export declare namespace UpdateThreadsResponse {
63
63
  expiresAt: string | null;
64
64
  totalVotes: number;
65
65
  options: Poll.Options.Item[];
66
+ /** The option ID that the current user voted for, or null if they haven't voted */
67
+ userVote: string | null;
66
68
  createdAt: string;
67
69
  updatedAt: string;
68
70
  }
@@ -73,6 +73,8 @@ export declare namespace ThreadListResponse {
73
73
  expiresAt: string | null;
74
74
  totalVotes: number;
75
75
  options: Poll.Options.Item[];
76
+ /** The option ID that the current user voted for, or null if they haven't voted */
77
+ userVote: string | null;
76
78
  createdAt: string;
77
79
  updatedAt: string;
78
80
  }
@@ -6,6 +6,8 @@ export interface ThreadPoll {
6
6
  expiresAt: string | null;
7
7
  totalVotes: number;
8
8
  options: ThreadPoll.Options.Item[];
9
+ /** The option ID that the current user voted for, or null if they haven't voted */
10
+ userVote: string | null;
9
11
  createdAt: string;
10
12
  updatedAt: string;
11
13
  }
@@ -18,6 +18,8 @@ export declare namespace ThreadPollListResponse {
18
18
  expiresAt: string | null;
19
19
  totalVotes: number;
20
20
  options: Item.Options.Item[];
21
+ /** The option ID that the current user voted for, or null if they haven't voted */
22
+ userVote: string | null;
21
23
  createdAt: string;
22
24
  updatedAt: string;
23
25
  }
@@ -10,6 +10,8 @@ export declare namespace ThreadPollResponse {
10
10
  expiresAt: string | null;
11
11
  totalVotes: number;
12
12
  options: Data.Options.Item[];
13
+ /** The option ID that the current user voted for, or null if they haven't voted */
14
+ userVote: string | null;
13
15
  createdAt: string;
14
16
  updatedAt: string;
15
17
  }
@@ -63,6 +63,8 @@ export declare namespace ThreadResponse {
63
63
  expiresAt: string | null;
64
64
  totalVotes: number;
65
65
  options: Poll.Options.Item[];
66
+ /** The option ID that the current user voted for, or null if they haven't voted */
67
+ userVote: string | null;
66
68
  createdAt: string;
67
69
  updatedAt: string;
68
70
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.1.17";
1
+ export declare const SDK_VERSION = "2.1.18";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "2.1.17";
4
+ exports.SDK_VERSION = "2.1.18";
@@ -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.17",
10
- "User-Agent": "@foru-ms/sdk/2.1.17",
9
+ "X-Fern-SDK-Version": "2.1.18",
10
+ "User-Agent": "@foru-ms/sdk/2.1.18",
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);
@@ -63,6 +63,8 @@ export declare namespace UpdateThreadsResponse {
63
63
  expiresAt: string | null;
64
64
  totalVotes: number;
65
65
  options: Poll.Options.Item[];
66
+ /** The option ID that the current user voted for, or null if they haven't voted */
67
+ userVote: string | null;
66
68
  createdAt: string;
67
69
  updatedAt: string;
68
70
  }
@@ -73,6 +73,8 @@ export declare namespace ThreadListResponse {
73
73
  expiresAt: string | null;
74
74
  totalVotes: number;
75
75
  options: Poll.Options.Item[];
76
+ /** The option ID that the current user voted for, or null if they haven't voted */
77
+ userVote: string | null;
76
78
  createdAt: string;
77
79
  updatedAt: string;
78
80
  }
@@ -6,6 +6,8 @@ export interface ThreadPoll {
6
6
  expiresAt: string | null;
7
7
  totalVotes: number;
8
8
  options: ThreadPoll.Options.Item[];
9
+ /** The option ID that the current user voted for, or null if they haven't voted */
10
+ userVote: string | null;
9
11
  createdAt: string;
10
12
  updatedAt: string;
11
13
  }
@@ -18,6 +18,8 @@ export declare namespace ThreadPollListResponse {
18
18
  expiresAt: string | null;
19
19
  totalVotes: number;
20
20
  options: Item.Options.Item[];
21
+ /** The option ID that the current user voted for, or null if they haven't voted */
22
+ userVote: string | null;
21
23
  createdAt: string;
22
24
  updatedAt: string;
23
25
  }
@@ -10,6 +10,8 @@ export declare namespace ThreadPollResponse {
10
10
  expiresAt: string | null;
11
11
  totalVotes: number;
12
12
  options: Data.Options.Item[];
13
+ /** The option ID that the current user voted for, or null if they haven't voted */
14
+ userVote: string | null;
13
15
  createdAt: string;
14
16
  updatedAt: string;
15
17
  }
@@ -63,6 +63,8 @@ export declare namespace ThreadResponse {
63
63
  expiresAt: string | null;
64
64
  totalVotes: number;
65
65
  options: Poll.Options.Item[];
66
+ /** The option ID that the current user voted for, or null if they haven't voted */
67
+ userVote: string | null;
66
68
  createdAt: string;
67
69
  updatedAt: string;
68
70
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.1.17";
1
+ export declare const SDK_VERSION = "2.1.18";
@@ -1 +1 @@
1
- export const SDK_VERSION = "2.1.17";
1
+ export const SDK_VERSION = "2.1.18";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foru-ms/sdk",
3
- "version": "2.1.17",
3
+ "version": "2.1.18",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",