@foru-ms/sdk 2.1.15 → 2.1.16
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/Client.d.ts +0 -3
- package/dist/cjs/Client.js +22 -27
- package/dist/cjs/api/resources/index.d.ts +0 -3
- package/dist/cjs/api/resources/index.js +1 -4
- package/dist/cjs/api/resources/threads/client/Client.d.ts +55 -0
- package/dist/cjs/api/resources/threads/client/Client.js +189 -0
- package/dist/cjs/api/resources/{pollVotes/client/requests/CreatevotePollVotesRequest.d.ts → threads/client/requests/CreatePollVoteThreadsRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/{pollVotes/client/requests/DeleteOwnvotePollVotesRequest.d.ts → threads/client/requests/DeleteOwnPollVoteThreadsRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/{pollVotes/client/requests/DeletevotePollVotesRequest.d.ts → threads/client/requests/DeletePollVoteThreadsRequest.d.ts} +2 -2
- package/dist/cjs/api/resources/threads/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/threads/types/DeleteOwnPollVoteThreadsResponse.d.ts +8 -0
- package/dist/cjs/api/resources/threads/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/threads/types/index.js +1 -0
- package/dist/cjs/api/types/{PollVotesResponse.d.ts → PollVoteResponse.d.ts} +3 -3
- package/dist/cjs/api/types/index.d.ts +1 -1
- package/dist/cjs/api/types/index.js +1 -1
- 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/Client.d.mts +0 -3
- package/dist/esm/Client.mjs +0 -5
- package/dist/esm/api/resources/index.d.mts +0 -3
- package/dist/esm/api/resources/index.mjs +0 -3
- package/dist/esm/api/resources/threads/client/Client.d.mts +55 -0
- package/dist/esm/api/resources/threads/client/Client.mjs +189 -0
- package/dist/esm/api/resources/{pollVotes/client/requests/CreatevotePollVotesRequest.d.mts → threads/client/requests/CreatePollVoteThreadsRequest.d.mts} +1 -1
- package/dist/esm/api/resources/{pollVotes/client/requests/DeleteOwnvotePollVotesRequest.d.mts → threads/client/requests/DeleteOwnPollVoteThreadsRequest.d.mts} +1 -1
- package/dist/esm/api/resources/{pollVotes/client/requests/DeletevotePollVotesRequest.d.mts → threads/client/requests/DeletePollVoteThreadsRequest.d.mts} +2 -2
- package/dist/esm/api/resources/threads/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/threads/types/DeleteOwnPollVoteThreadsResponse.d.mts +8 -0
- package/dist/esm/api/resources/threads/types/index.d.mts +1 -0
- package/dist/esm/api/resources/threads/types/index.mjs +1 -0
- package/dist/esm/api/types/{PollVotesResponse.d.mts → PollVoteResponse.d.mts} +3 -3
- package/dist/esm/api/types/index.d.mts +1 -1
- package/dist/esm/api/types/index.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +14 -15
- package/dist/cjs/api/resources/pollVotes/client/Client.d.ts +0 -68
- package/dist/cjs/api/resources/pollVotes/client/Client.js +0 -256
- package/dist/cjs/api/resources/pollVotes/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/pollVotes/client/index.js +0 -17
- package/dist/cjs/api/resources/pollVotes/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/pollVotes/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/pollVotes/index.d.ts +0 -2
- package/dist/cjs/api/resources/pollVotes/index.js +0 -18
- package/dist/cjs/api/resources/pollVotes/types/DeleteOwnvotePollVotesResponse.d.ts +0 -8
- package/dist/cjs/api/resources/pollVotes/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/pollVotes/types/index.js +0 -17
- package/dist/esm/api/resources/pollVotes/client/Client.d.mts +0 -68
- package/dist/esm/api/resources/pollVotes/client/Client.mjs +0 -219
- package/dist/esm/api/resources/pollVotes/client/index.d.mts +0 -1
- package/dist/esm/api/resources/pollVotes/client/index.mjs +0 -1
- package/dist/esm/api/resources/pollVotes/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/pollVotes/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/pollVotes/index.d.mts +0 -2
- package/dist/esm/api/resources/pollVotes/index.mjs +0 -2
- package/dist/esm/api/resources/pollVotes/types/DeleteOwnvotePollVotesResponse.d.mts +0 -8
- package/dist/esm/api/resources/pollVotes/types/index.d.mts +0 -1
- package/dist/esm/api/resources/pollVotes/types/index.mjs +0 -1
- /package/dist/cjs/api/resources/{pollVotes/client/requests/CreatevotePollVotesRequest.js → threads/client/requests/CreatePollVoteThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{pollVotes/client/requests/DeleteOwnvotePollVotesRequest.js → threads/client/requests/DeleteOwnPollVoteThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{pollVotes/client/requests/DeletevotePollVotesRequest.js → threads/client/requests/DeletePollVoteThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{pollVotes/types/DeleteOwnvotePollVotesResponse.js → threads/types/DeleteOwnPollVoteThreadsResponse.js} +0 -0
- /package/dist/cjs/api/types/{PollVotesResponse.js → PollVoteResponse.js} +0 -0
- /package/dist/esm/api/resources/{pollVotes/client/requests/CreatevotePollVotesRequest.mjs → threads/client/requests/CreatePollVoteThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{pollVotes/client/requests/DeleteOwnvotePollVotesRequest.mjs → threads/client/requests/DeleteOwnPollVoteThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{pollVotes/client/requests/DeletevotePollVotesRequest.mjs → threads/client/requests/DeletePollVoteThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{pollVotes/types/DeleteOwnvotePollVotesResponse.mjs → threads/types/DeleteOwnPollVoteThreadsResponse.mjs} +0 -0
- /package/dist/esm/api/types/{PollVotesResponse.mjs → PollVoteResponse.mjs} +0 -0
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.16",
|
|
47
|
+
"User-Agent": "@foru-ms/sdk/2.1.16",
|
|
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);
|
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AuthClient } from "./api/resources/auth/client/Client.js";
|
|
2
2
|
import { IntegrationsClient } from "./api/resources/integrations/client/Client.js";
|
|
3
3
|
import { NotificationsClient } from "./api/resources/notifications/client/Client.js";
|
|
4
|
-
import { PollVotesClient } from "./api/resources/pollVotes/client/Client.js";
|
|
5
4
|
import { PostsClient } from "./api/resources/posts/client/Client.js";
|
|
6
5
|
import { PrivateMessagesClient } from "./api/resources/privateMessages/client/Client.js";
|
|
7
6
|
import { ProvisioningClient } from "./api/resources/provisioning/client/Client.js";
|
|
@@ -26,7 +25,6 @@ export declare class ForumClient {
|
|
|
26
25
|
protected _search: SearchClient | undefined;
|
|
27
26
|
protected _tags: TagsClient | undefined;
|
|
28
27
|
protected _threads: ThreadsClient | undefined;
|
|
29
|
-
protected _pollVotes: PollVotesClient | undefined;
|
|
30
28
|
protected _posts: PostsClient | undefined;
|
|
31
29
|
protected _privateMessages: PrivateMessagesClient | undefined;
|
|
32
30
|
protected _users: UsersClient | undefined;
|
|
@@ -42,7 +40,6 @@ export declare class ForumClient {
|
|
|
42
40
|
get search(): SearchClient;
|
|
43
41
|
get tags(): TagsClient;
|
|
44
42
|
get threads(): ThreadsClient;
|
|
45
|
-
get pollVotes(): PollVotesClient;
|
|
46
43
|
get posts(): PostsClient;
|
|
47
44
|
get privateMessages(): PrivateMessagesClient;
|
|
48
45
|
get users(): UsersClient;
|
package/dist/cjs/Client.js
CHANGED
|
@@ -5,18 +5,17 @@ exports.ForumClient = void 0;
|
|
|
5
5
|
const Client_js_1 = require("./api/resources/auth/client/Client.js");
|
|
6
6
|
const Client_js_2 = require("./api/resources/integrations/client/Client.js");
|
|
7
7
|
const Client_js_3 = require("./api/resources/notifications/client/Client.js");
|
|
8
|
-
const Client_js_4 = require("./api/resources/
|
|
9
|
-
const Client_js_5 = require("./api/resources/
|
|
10
|
-
const Client_js_6 = require("./api/resources/
|
|
11
|
-
const Client_js_7 = require("./api/resources/
|
|
12
|
-
const Client_js_8 = require("./api/resources/
|
|
13
|
-
const Client_js_9 = require("./api/resources/
|
|
14
|
-
const Client_js_10 = require("./api/resources/
|
|
15
|
-
const Client_js_11 = require("./api/resources/
|
|
16
|
-
const Client_js_12 = require("./api/resources/
|
|
17
|
-
const Client_js_13 = require("./api/resources/
|
|
18
|
-
const Client_js_14 = require("./api/resources/
|
|
19
|
-
const Client_js_15 = require("./api/resources/webhooks/client/Client.js");
|
|
8
|
+
const Client_js_4 = require("./api/resources/posts/client/Client.js");
|
|
9
|
+
const Client_js_5 = require("./api/resources/privateMessages/client/Client.js");
|
|
10
|
+
const Client_js_6 = require("./api/resources/provisioning/client/Client.js");
|
|
11
|
+
const Client_js_7 = require("./api/resources/reports/client/Client.js");
|
|
12
|
+
const Client_js_8 = require("./api/resources/roles/client/Client.js");
|
|
13
|
+
const Client_js_9 = require("./api/resources/search/client/Client.js");
|
|
14
|
+
const Client_js_10 = require("./api/resources/ssOs/client/Client.js");
|
|
15
|
+
const Client_js_11 = require("./api/resources/tags/client/Client.js");
|
|
16
|
+
const Client_js_12 = require("./api/resources/threads/client/Client.js");
|
|
17
|
+
const Client_js_13 = require("./api/resources/users/client/Client.js");
|
|
18
|
+
const Client_js_14 = require("./api/resources/webhooks/client/Client.js");
|
|
20
19
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
21
20
|
class ForumClient {
|
|
22
21
|
constructor(options = {}) {
|
|
@@ -28,39 +27,35 @@ class ForumClient {
|
|
|
28
27
|
}
|
|
29
28
|
get search() {
|
|
30
29
|
var _a;
|
|
31
|
-
return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new
|
|
30
|
+
return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new Client_js_9.SearchClient(this._options)));
|
|
32
31
|
}
|
|
33
32
|
get tags() {
|
|
34
33
|
var _a;
|
|
35
|
-
return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new
|
|
34
|
+
return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new Client_js_11.TagsClient(this._options)));
|
|
36
35
|
}
|
|
37
36
|
get threads() {
|
|
38
37
|
var _a;
|
|
39
|
-
return ((_a = this._threads) !== null && _a !== void 0 ? _a : (this._threads = new
|
|
40
|
-
}
|
|
41
|
-
get pollVotes() {
|
|
42
|
-
var _a;
|
|
43
|
-
return ((_a = this._pollVotes) !== null && _a !== void 0 ? _a : (this._pollVotes = new Client_js_4.PollVotesClient(this._options)));
|
|
38
|
+
return ((_a = this._threads) !== null && _a !== void 0 ? _a : (this._threads = new Client_js_12.ThreadsClient(this._options)));
|
|
44
39
|
}
|
|
45
40
|
get posts() {
|
|
46
41
|
var _a;
|
|
47
|
-
return ((_a = this._posts) !== null && _a !== void 0 ? _a : (this._posts = new
|
|
42
|
+
return ((_a = this._posts) !== null && _a !== void 0 ? _a : (this._posts = new Client_js_4.PostsClient(this._options)));
|
|
48
43
|
}
|
|
49
44
|
get privateMessages() {
|
|
50
45
|
var _a;
|
|
51
|
-
return ((_a = this._privateMessages) !== null && _a !== void 0 ? _a : (this._privateMessages = new
|
|
46
|
+
return ((_a = this._privateMessages) !== null && _a !== void 0 ? _a : (this._privateMessages = new Client_js_5.PrivateMessagesClient(this._options)));
|
|
52
47
|
}
|
|
53
48
|
get users() {
|
|
54
49
|
var _a;
|
|
55
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
50
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_13.UsersClient(this._options)));
|
|
56
51
|
}
|
|
57
52
|
get roles() {
|
|
58
53
|
var _a;
|
|
59
|
-
return ((_a = this._roles) !== null && _a !== void 0 ? _a : (this._roles = new
|
|
54
|
+
return ((_a = this._roles) !== null && _a !== void 0 ? _a : (this._roles = new Client_js_8.RolesClient(this._options)));
|
|
60
55
|
}
|
|
61
56
|
get reports() {
|
|
62
57
|
var _a;
|
|
63
|
-
return ((_a = this._reports) !== null && _a !== void 0 ? _a : (this._reports = new
|
|
58
|
+
return ((_a = this._reports) !== null && _a !== void 0 ? _a : (this._reports = new Client_js_7.ReportsClient(this._options)));
|
|
64
59
|
}
|
|
65
60
|
get notifications() {
|
|
66
61
|
var _a;
|
|
@@ -68,7 +63,7 @@ class ForumClient {
|
|
|
68
63
|
}
|
|
69
64
|
get webhooks() {
|
|
70
65
|
var _a;
|
|
71
|
-
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new
|
|
66
|
+
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_js_14.WebhooksClient(this._options)));
|
|
72
67
|
}
|
|
73
68
|
get integrations() {
|
|
74
69
|
var _a;
|
|
@@ -76,11 +71,11 @@ class ForumClient {
|
|
|
76
71
|
}
|
|
77
72
|
get ssOs() {
|
|
78
73
|
var _a;
|
|
79
|
-
return ((_a = this._ssOs) !== null && _a !== void 0 ? _a : (this._ssOs = new
|
|
74
|
+
return ((_a = this._ssOs) !== null && _a !== void 0 ? _a : (this._ssOs = new Client_js_10.SsOsClient(this._options)));
|
|
80
75
|
}
|
|
81
76
|
get provisioning() {
|
|
82
77
|
var _a;
|
|
83
|
-
return ((_a = this._provisioning) !== null && _a !== void 0 ? _a : (this._provisioning = new
|
|
78
|
+
return ((_a = this._provisioning) !== null && _a !== void 0 ? _a : (this._provisioning = new Client_js_6.ProvisioningClient(this._options)));
|
|
84
79
|
}
|
|
85
80
|
}
|
|
86
81
|
exports.ForumClient = ForumClient;
|
|
@@ -6,9 +6,6 @@ export * from "./integrations/types/index.js";
|
|
|
6
6
|
export * from "./notifications/client/requests/index.js";
|
|
7
7
|
export * as notifications from "./notifications/index.js";
|
|
8
8
|
export * from "./notifications/types/index.js";
|
|
9
|
-
export * from "./pollVotes/client/requests/index.js";
|
|
10
|
-
export * as pollVotes from "./pollVotes/index.js";
|
|
11
|
-
export * from "./pollVotes/types/index.js";
|
|
12
9
|
export * from "./posts/client/requests/index.js";
|
|
13
10
|
export * as posts from "./posts/index.js";
|
|
14
11
|
export * from "./posts/types/index.js";
|
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.webhooks = exports.users = exports.threads = exports.tags = exports.ssOs = exports.search = exports.roles = exports.reports = exports.provisioning = exports.privateMessages = exports.posts = exports.
|
|
39
|
+
exports.webhooks = exports.users = exports.threads = exports.tags = exports.ssOs = exports.search = exports.roles = exports.reports = exports.provisioning = exports.privateMessages = exports.posts = exports.notifications = exports.integrations = exports.auth = void 0;
|
|
40
40
|
__exportStar(require("./auth/client/requests/index.js"), exports);
|
|
41
41
|
exports.auth = __importStar(require("./auth/index.js"));
|
|
42
42
|
__exportStar(require("./integrations/client/requests/index.js"), exports);
|
|
@@ -45,9 +45,6 @@ __exportStar(require("./integrations/types/index.js"), exports);
|
|
|
45
45
|
__exportStar(require("./notifications/client/requests/index.js"), exports);
|
|
46
46
|
exports.notifications = __importStar(require("./notifications/index.js"));
|
|
47
47
|
__exportStar(require("./notifications/types/index.js"), exports);
|
|
48
|
-
__exportStar(require("./pollVotes/client/requests/index.js"), exports);
|
|
49
|
-
exports.pollVotes = __importStar(require("./pollVotes/index.js"));
|
|
50
|
-
__exportStar(require("./pollVotes/types/index.js"), exports);
|
|
51
48
|
__exportStar(require("./posts/client/requests/index.js"), exports);
|
|
52
49
|
exports.posts = __importStar(require("./posts/index.js"));
|
|
53
50
|
__exportStar(require("./posts/types/index.js"), exports);
|
|
@@ -355,4 +355,59 @@ export declare class ThreadsClient {
|
|
|
355
355
|
*/
|
|
356
356
|
updatePoll(request: Forum.UpdatePollThreadsRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.ThreadPollResponse>;
|
|
357
357
|
private __updatePoll;
|
|
358
|
+
/**
|
|
359
|
+
* Create a Vote in the Thread's Poll.
|
|
360
|
+
*
|
|
361
|
+
* @param {Forum.CreatePollVoteThreadsRequest} request
|
|
362
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
363
|
+
*
|
|
364
|
+
* @throws {@link Forum.BadRequestError}
|
|
365
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
366
|
+
* @throws {@link Forum.NotFoundError}
|
|
367
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
368
|
+
* @throws {@link Forum.InternalServerError}
|
|
369
|
+
*
|
|
370
|
+
* @example
|
|
371
|
+
* await client.threads.createPollVote({
|
|
372
|
+
* id: "id",
|
|
373
|
+
* optionId: "optionId"
|
|
374
|
+
* })
|
|
375
|
+
*/
|
|
376
|
+
createPollVote(request: Forum.CreatePollVoteThreadsRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.PollVoteResponse>;
|
|
377
|
+
private __createPollVote;
|
|
378
|
+
/**
|
|
379
|
+
* Removes the authenticated user's Vote. No ID needed.
|
|
380
|
+
*
|
|
381
|
+
* @param {Forum.DeleteOwnPollVoteThreadsRequest} request
|
|
382
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
383
|
+
*
|
|
384
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
385
|
+
* @throws {@link Forum.NotFoundError}
|
|
386
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
387
|
+
* @throws {@link Forum.InternalServerError}
|
|
388
|
+
*
|
|
389
|
+
* @example
|
|
390
|
+
* await client.threads.deleteOwnPollVote({
|
|
391
|
+
* id: "id"
|
|
392
|
+
* })
|
|
393
|
+
*/
|
|
394
|
+
deleteOwnPollVote(request: Forum.DeleteOwnPollVoteThreadsRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.DeleteOwnPollVoteThreadsResponse>;
|
|
395
|
+
private __deleteOwnPollVote;
|
|
396
|
+
/**
|
|
397
|
+
* @param {Forum.DeletePollVoteThreadsRequest} request
|
|
398
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
399
|
+
*
|
|
400
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
401
|
+
* @throws {@link Forum.NotFoundError}
|
|
402
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
403
|
+
* @throws {@link Forum.InternalServerError}
|
|
404
|
+
*
|
|
405
|
+
* @example
|
|
406
|
+
* await client.threads.deletePollVote({
|
|
407
|
+
* id: "id",
|
|
408
|
+
* nestedId: "nestedId"
|
|
409
|
+
* })
|
|
410
|
+
*/
|
|
411
|
+
deletePollVote(request: Forum.DeletePollVoteThreadsRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.SuccessResponse>;
|
|
412
|
+
private __deletePollVote;
|
|
358
413
|
}
|
|
@@ -1270,5 +1270,194 @@ class ThreadsClient {
|
|
|
1270
1270
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/threads/{id}/poll");
|
|
1271
1271
|
});
|
|
1272
1272
|
}
|
|
1273
|
+
/**
|
|
1274
|
+
* Create a Vote in the Thread's Poll.
|
|
1275
|
+
*
|
|
1276
|
+
* @param {Forum.CreatePollVoteThreadsRequest} request
|
|
1277
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1278
|
+
*
|
|
1279
|
+
* @throws {@link Forum.BadRequestError}
|
|
1280
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
1281
|
+
* @throws {@link Forum.NotFoundError}
|
|
1282
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
1283
|
+
* @throws {@link Forum.InternalServerError}
|
|
1284
|
+
*
|
|
1285
|
+
* @example
|
|
1286
|
+
* await client.threads.createPollVote({
|
|
1287
|
+
* id: "id",
|
|
1288
|
+
* optionId: "optionId"
|
|
1289
|
+
* })
|
|
1290
|
+
*/
|
|
1291
|
+
createPollVote(request, requestOptions) {
|
|
1292
|
+
return core.HttpResponsePromise.fromPromise(this.__createPollVote(request, requestOptions));
|
|
1293
|
+
}
|
|
1294
|
+
__createPollVote(request, requestOptions) {
|
|
1295
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1296
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1297
|
+
const { id } = request, _body = __rest(request, ["id"]);
|
|
1298
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1299
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1300
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1301
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/poll/votes`),
|
|
1302
|
+
method: "POST",
|
|
1303
|
+
headers: _headers,
|
|
1304
|
+
contentType: "application/json",
|
|
1305
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1306
|
+
requestType: "json",
|
|
1307
|
+
body: _body,
|
|
1308
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1309
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1310
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1311
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1312
|
+
logging: this._options.logging,
|
|
1313
|
+
});
|
|
1314
|
+
if (_response.ok) {
|
|
1315
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1316
|
+
}
|
|
1317
|
+
if (_response.error.reason === "status-code") {
|
|
1318
|
+
switch (_response.error.statusCode) {
|
|
1319
|
+
case 400:
|
|
1320
|
+
throw new Forum.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1321
|
+
case 401:
|
|
1322
|
+
throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1323
|
+
case 404:
|
|
1324
|
+
throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1325
|
+
case 429:
|
|
1326
|
+
throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1327
|
+
case 500:
|
|
1328
|
+
throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1329
|
+
default:
|
|
1330
|
+
throw new errors.ForumError({
|
|
1331
|
+
statusCode: _response.error.statusCode,
|
|
1332
|
+
body: _response.error.body,
|
|
1333
|
+
rawResponse: _response.rawResponse,
|
|
1334
|
+
});
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/threads/{id}/poll/votes");
|
|
1338
|
+
});
|
|
1339
|
+
}
|
|
1340
|
+
/**
|
|
1341
|
+
* Removes the authenticated user's Vote. No ID needed.
|
|
1342
|
+
*
|
|
1343
|
+
* @param {Forum.DeleteOwnPollVoteThreadsRequest} request
|
|
1344
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1345
|
+
*
|
|
1346
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
1347
|
+
* @throws {@link Forum.NotFoundError}
|
|
1348
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
1349
|
+
* @throws {@link Forum.InternalServerError}
|
|
1350
|
+
*
|
|
1351
|
+
* @example
|
|
1352
|
+
* await client.threads.deleteOwnPollVote({
|
|
1353
|
+
* id: "id"
|
|
1354
|
+
* })
|
|
1355
|
+
*/
|
|
1356
|
+
deleteOwnPollVote(request, requestOptions) {
|
|
1357
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteOwnPollVote(request, requestOptions));
|
|
1358
|
+
}
|
|
1359
|
+
__deleteOwnPollVote(request, requestOptions) {
|
|
1360
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1361
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1362
|
+
const { id } = request;
|
|
1363
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1364
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1365
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1366
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/poll/votes`),
|
|
1367
|
+
method: "DELETE",
|
|
1368
|
+
headers: _headers,
|
|
1369
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1370
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1371
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1372
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1373
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1374
|
+
logging: this._options.logging,
|
|
1375
|
+
});
|
|
1376
|
+
if (_response.ok) {
|
|
1377
|
+
return {
|
|
1378
|
+
data: _response.body,
|
|
1379
|
+
rawResponse: _response.rawResponse,
|
|
1380
|
+
};
|
|
1381
|
+
}
|
|
1382
|
+
if (_response.error.reason === "status-code") {
|
|
1383
|
+
switch (_response.error.statusCode) {
|
|
1384
|
+
case 401:
|
|
1385
|
+
throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1386
|
+
case 404:
|
|
1387
|
+
throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1388
|
+
case 429:
|
|
1389
|
+
throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1390
|
+
case 500:
|
|
1391
|
+
throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1392
|
+
default:
|
|
1393
|
+
throw new errors.ForumError({
|
|
1394
|
+
statusCode: _response.error.statusCode,
|
|
1395
|
+
body: _response.error.body,
|
|
1396
|
+
rawResponse: _response.rawResponse,
|
|
1397
|
+
});
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/threads/{id}/poll/votes");
|
|
1401
|
+
});
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* @param {Forum.DeletePollVoteThreadsRequest} request
|
|
1405
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1406
|
+
*
|
|
1407
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
1408
|
+
* @throws {@link Forum.NotFoundError}
|
|
1409
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
1410
|
+
* @throws {@link Forum.InternalServerError}
|
|
1411
|
+
*
|
|
1412
|
+
* @example
|
|
1413
|
+
* await client.threads.deletePollVote({
|
|
1414
|
+
* id: "id",
|
|
1415
|
+
* nestedId: "nestedId"
|
|
1416
|
+
* })
|
|
1417
|
+
*/
|
|
1418
|
+
deletePollVote(request, requestOptions) {
|
|
1419
|
+
return core.HttpResponsePromise.fromPromise(this.__deletePollVote(request, requestOptions));
|
|
1420
|
+
}
|
|
1421
|
+
__deletePollVote(request, requestOptions) {
|
|
1422
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1423
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1424
|
+
const { id, nestedId } = request;
|
|
1425
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1426
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1427
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1428
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/poll/votes/${core.url.encodePathParam(nestedId)}`),
|
|
1429
|
+
method: "DELETE",
|
|
1430
|
+
headers: _headers,
|
|
1431
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1432
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1433
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1434
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1435
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1436
|
+
logging: this._options.logging,
|
|
1437
|
+
});
|
|
1438
|
+
if (_response.ok) {
|
|
1439
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1440
|
+
}
|
|
1441
|
+
if (_response.error.reason === "status-code") {
|
|
1442
|
+
switch (_response.error.statusCode) {
|
|
1443
|
+
case 401:
|
|
1444
|
+
throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1445
|
+
case 404:
|
|
1446
|
+
throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1447
|
+
case 429:
|
|
1448
|
+
throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1449
|
+
case 500:
|
|
1450
|
+
throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1451
|
+
default:
|
|
1452
|
+
throw new errors.ForumError({
|
|
1453
|
+
statusCode: _response.error.statusCode,
|
|
1454
|
+
body: _response.error.body,
|
|
1455
|
+
rawResponse: _response.rawResponse,
|
|
1456
|
+
});
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/threads/{id}/poll/votes/{nestedId}");
|
|
1460
|
+
});
|
|
1461
|
+
}
|
|
1273
1462
|
}
|
|
1274
1463
|
exports.ThreadsClient = ThreadsClient;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export type { CreatePollThreadsRequest } from "./CreatePollThreadsRequest.js";
|
|
2
|
+
export type { CreatePollVoteThreadsRequest } from "./CreatePollVoteThreadsRequest.js";
|
|
2
3
|
export { CreateReactionThreadsRequest } from "./CreateReactionThreadsRequest.js";
|
|
3
4
|
export type { CreateThreadsRequest } from "./CreateThreadsRequest.js";
|
|
5
|
+
export type { DeleteOwnPollVoteThreadsRequest } from "./DeleteOwnPollVoteThreadsRequest.js";
|
|
6
|
+
export type { DeletePollVoteThreadsRequest } from "./DeletePollVoteThreadsRequest.js";
|
|
4
7
|
export type { DeletePostThreadsRequest } from "./DeletePostThreadsRequest.js";
|
|
5
8
|
export type { DeleteReactionThreadsRequest } from "./DeleteReactionThreadsRequest.js";
|
|
6
9
|
export type { DeleteSubscriberThreadsRequest } from "./DeleteSubscriberThreadsRequest.js";
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./DeleteOwnPollVoteThreadsResponse.js"), exports);
|
|
17
18
|
__exportStar(require("./DeleteReactionThreadsResponse.js"), exports);
|
|
18
19
|
__exportStar(require("./ListPostsThreadsRequestSort.js"), exports);
|
|
19
20
|
__exportStar(require("./ListPostsThreadsRequestType.js"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface
|
|
2
|
-
data:
|
|
1
|
+
export interface PollVoteResponse {
|
|
2
|
+
data: PollVoteResponse.Data;
|
|
3
3
|
}
|
|
4
|
-
export declare namespace
|
|
4
|
+
export declare namespace PollVoteResponse {
|
|
5
5
|
interface Data {
|
|
6
6
|
id: string;
|
|
7
7
|
pollId: string;
|
|
@@ -24,7 +24,7 @@ export * from "./NotificationListResponse.js";
|
|
|
24
24
|
export * from "./NotificationResponse.js";
|
|
25
25
|
export * from "./NotificationUpdate.js";
|
|
26
26
|
export * from "./OwnershipInfo.js";
|
|
27
|
-
export * from "./
|
|
27
|
+
export * from "./PollVoteResponse.js";
|
|
28
28
|
export * from "./Post.js";
|
|
29
29
|
export * from "./PostCreate.js";
|
|
30
30
|
export * from "./PostList.js";
|
|
@@ -40,7 +40,7 @@ __exportStar(require("./NotificationListResponse.js"), exports);
|
|
|
40
40
|
__exportStar(require("./NotificationResponse.js"), exports);
|
|
41
41
|
__exportStar(require("./NotificationUpdate.js"), exports);
|
|
42
42
|
__exportStar(require("./OwnershipInfo.js"), exports);
|
|
43
|
-
__exportStar(require("./
|
|
43
|
+
__exportStar(require("./PollVoteResponse.js"), exports);
|
|
44
44
|
__exportStar(require("./Post.js"), exports);
|
|
45
45
|
__exportStar(require("./PostCreate.js"), exports);
|
|
46
46
|
__exportStar(require("./PostList.js"), exports);
|
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.16";
|
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.16",
|
|
10
|
+
"User-Agent": "@foru-ms/sdk/2.1.16",
|
|
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);
|
package/dist/esm/Client.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AuthClient } from "./api/resources/auth/client/Client.mjs";
|
|
2
2
|
import { IntegrationsClient } from "./api/resources/integrations/client/Client.mjs";
|
|
3
3
|
import { NotificationsClient } from "./api/resources/notifications/client/Client.mjs";
|
|
4
|
-
import { PollVotesClient } from "./api/resources/pollVotes/client/Client.mjs";
|
|
5
4
|
import { PostsClient } from "./api/resources/posts/client/Client.mjs";
|
|
6
5
|
import { PrivateMessagesClient } from "./api/resources/privateMessages/client/Client.mjs";
|
|
7
6
|
import { ProvisioningClient } from "./api/resources/provisioning/client/Client.mjs";
|
|
@@ -26,7 +25,6 @@ export declare class ForumClient {
|
|
|
26
25
|
protected _search: SearchClient | undefined;
|
|
27
26
|
protected _tags: TagsClient | undefined;
|
|
28
27
|
protected _threads: ThreadsClient | undefined;
|
|
29
|
-
protected _pollVotes: PollVotesClient | undefined;
|
|
30
28
|
protected _posts: PostsClient | undefined;
|
|
31
29
|
protected _privateMessages: PrivateMessagesClient | undefined;
|
|
32
30
|
protected _users: UsersClient | undefined;
|
|
@@ -42,7 +40,6 @@ export declare class ForumClient {
|
|
|
42
40
|
get search(): SearchClient;
|
|
43
41
|
get tags(): TagsClient;
|
|
44
42
|
get threads(): ThreadsClient;
|
|
45
|
-
get pollVotes(): PollVotesClient;
|
|
46
43
|
get posts(): PostsClient;
|
|
47
44
|
get privateMessages(): PrivateMessagesClient;
|
|
48
45
|
get users(): UsersClient;
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { AuthClient } from "./api/resources/auth/client/Client.mjs";
|
|
3
3
|
import { IntegrationsClient } from "./api/resources/integrations/client/Client.mjs";
|
|
4
4
|
import { NotificationsClient } from "./api/resources/notifications/client/Client.mjs";
|
|
5
|
-
import { PollVotesClient } from "./api/resources/pollVotes/client/Client.mjs";
|
|
6
5
|
import { PostsClient } from "./api/resources/posts/client/Client.mjs";
|
|
7
6
|
import { PrivateMessagesClient } from "./api/resources/privateMessages/client/Client.mjs";
|
|
8
7
|
import { ProvisioningClient } from "./api/resources/provisioning/client/Client.mjs";
|
|
@@ -35,10 +34,6 @@ export class ForumClient {
|
|
|
35
34
|
var _a;
|
|
36
35
|
return ((_a = this._threads) !== null && _a !== void 0 ? _a : (this._threads = new ThreadsClient(this._options)));
|
|
37
36
|
}
|
|
38
|
-
get pollVotes() {
|
|
39
|
-
var _a;
|
|
40
|
-
return ((_a = this._pollVotes) !== null && _a !== void 0 ? _a : (this._pollVotes = new PollVotesClient(this._options)));
|
|
41
|
-
}
|
|
42
37
|
get posts() {
|
|
43
38
|
var _a;
|
|
44
39
|
return ((_a = this._posts) !== null && _a !== void 0 ? _a : (this._posts = new PostsClient(this._options)));
|
|
@@ -6,9 +6,6 @@ export * from "./integrations/types/index.mjs";
|
|
|
6
6
|
export * from "./notifications/client/requests/index.mjs";
|
|
7
7
|
export * as notifications from "./notifications/index.mjs";
|
|
8
8
|
export * from "./notifications/types/index.mjs";
|
|
9
|
-
export * from "./pollVotes/client/requests/index.mjs";
|
|
10
|
-
export * as pollVotes from "./pollVotes/index.mjs";
|
|
11
|
-
export * from "./pollVotes/types/index.mjs";
|
|
12
9
|
export * from "./posts/client/requests/index.mjs";
|
|
13
10
|
export * as posts from "./posts/index.mjs";
|
|
14
11
|
export * from "./posts/types/index.mjs";
|
|
@@ -6,9 +6,6 @@ export * from "./integrations/types/index.mjs";
|
|
|
6
6
|
export * from "./notifications/client/requests/index.mjs";
|
|
7
7
|
export * as notifications from "./notifications/index.mjs";
|
|
8
8
|
export * from "./notifications/types/index.mjs";
|
|
9
|
-
export * from "./pollVotes/client/requests/index.mjs";
|
|
10
|
-
export * as pollVotes from "./pollVotes/index.mjs";
|
|
11
|
-
export * from "./pollVotes/types/index.mjs";
|
|
12
9
|
export * from "./posts/client/requests/index.mjs";
|
|
13
10
|
export * as posts from "./posts/index.mjs";
|
|
14
11
|
export * from "./posts/types/index.mjs";
|