@foru-ms/sdk 2.1.13 → 2.1.15
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 +3 -0
- package/dist/cjs/Client.js +27 -22
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/resources/pollVotes/client/Client.d.ts +68 -0
- package/dist/cjs/api/resources/pollVotes/client/Client.js +256 -0
- package/dist/cjs/api/resources/pollVotes/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/pollVotes/client/index.js +17 -0
- package/dist/cjs/api/resources/pollVotes/client/requests/CreatevotePollVotesRequest.d.ts +15 -0
- package/dist/cjs/api/resources/pollVotes/client/requests/CreatevotePollVotesRequest.js +3 -0
- package/dist/cjs/api/resources/pollVotes/client/requests/DeleteOwnvotePollVotesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/pollVotes/client/requests/DeleteOwnvotePollVotesRequest.js +3 -0
- package/dist/cjs/api/resources/pollVotes/client/requests/DeletevotePollVotesRequest.d.ts +13 -0
- package/dist/cjs/api/resources/pollVotes/client/requests/DeletevotePollVotesRequest.js +3 -0
- package/dist/cjs/api/resources/pollVotes/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/pollVotes/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/pollVotes/index.d.ts +2 -0
- package/dist/cjs/api/resources/pollVotes/index.js +18 -0
- package/dist/cjs/api/resources/pollVotes/types/DeleteOwnvotePollVotesResponse.d.ts +8 -0
- package/dist/cjs/api/resources/pollVotes/types/DeleteOwnvotePollVotesResponse.js +3 -0
- package/dist/cjs/api/resources/pollVotes/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/pollVotes/types/index.js +17 -0
- package/dist/cjs/api/resources/posts/client/Client.js +4 -2
- package/dist/cjs/api/resources/posts/client/requests/ListPostsPostsRequest.d.ts +2 -0
- package/dist/cjs/api/resources/posts/client/requests/ListPostsRequest.d.ts +2 -0
- package/dist/cjs/api/resources/tags/client/Client.d.ts +37 -0
- package/dist/cjs/api/resources/tags/client/Client.js +126 -0
- package/dist/cjs/api/resources/tags/client/requests/CreateSubscriberTagsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/tags/client/requests/CreateSubscriberTagsRequest.js +3 -0
- package/dist/cjs/api/resources/tags/client/requests/UnsubscribeTagsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/tags/client/requests/UnsubscribeTagsRequest.js +3 -0
- package/dist/cjs/api/resources/tags/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/tags/types/UnsubscribeTagsResponse.d.ts +8 -0
- package/dist/cjs/api/resources/tags/types/UnsubscribeTagsResponse.js +3 -0
- package/dist/cjs/api/resources/tags/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/tags/types/index.js +1 -0
- package/dist/cjs/api/resources/threads/client/Client.d.ts +18 -0
- package/dist/cjs/api/resources/threads/client/Client.js +60 -0
- package/dist/cjs/api/resources/threads/client/requests/UnsubscribeThreadsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/threads/client/requests/UnsubscribeThreadsRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/threads/types/UnsubscribeThreadsResponse.d.ts +8 -0
- package/dist/cjs/api/resources/threads/types/UnsubscribeThreadsResponse.js +3 -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 +12 -0
- package/dist/cjs/api/types/PollVotesResponse.js +3 -0
- package/dist/cjs/api/types/PostList.d.ts +2 -0
- package/dist/cjs/api/types/TagSubscriberCreate.d.ts +4 -0
- package/dist/cjs/api/types/TagSubscriberCreate.js +3 -0
- package/dist/cjs/api/types/index.d.ts +2 -0
- package/dist/cjs/api/types/index.js +2 -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/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/resources/pollVotes/client/Client.d.mts +68 -0
- package/dist/esm/api/resources/pollVotes/client/Client.mjs +219 -0
- package/dist/esm/api/resources/pollVotes/client/index.d.mts +1 -0
- package/dist/esm/api/resources/pollVotes/client/index.mjs +1 -0
- package/dist/esm/api/resources/pollVotes/client/requests/CreatevotePollVotesRequest.d.mts +15 -0
- package/dist/esm/api/resources/pollVotes/client/requests/CreatevotePollVotesRequest.mjs +2 -0
- package/dist/esm/api/resources/pollVotes/client/requests/DeleteOwnvotePollVotesRequest.d.mts +10 -0
- package/dist/esm/api/resources/pollVotes/client/requests/DeleteOwnvotePollVotesRequest.mjs +2 -0
- package/dist/esm/api/resources/pollVotes/client/requests/DeletevotePollVotesRequest.d.mts +13 -0
- package/dist/esm/api/resources/pollVotes/client/requests/DeletevotePollVotesRequest.mjs +2 -0
- package/dist/esm/api/resources/pollVotes/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/pollVotes/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/pollVotes/index.d.mts +2 -0
- package/dist/esm/api/resources/pollVotes/index.mjs +2 -0
- package/dist/esm/api/resources/pollVotes/types/DeleteOwnvotePollVotesResponse.d.mts +8 -0
- package/dist/esm/api/resources/pollVotes/types/DeleteOwnvotePollVotesResponse.mjs +2 -0
- package/dist/esm/api/resources/pollVotes/types/index.d.mts +1 -0
- package/dist/esm/api/resources/pollVotes/types/index.mjs +1 -0
- package/dist/esm/api/resources/posts/client/Client.mjs +4 -2
- package/dist/esm/api/resources/posts/client/requests/ListPostsPostsRequest.d.mts +2 -0
- package/dist/esm/api/resources/posts/client/requests/ListPostsRequest.d.mts +2 -0
- package/dist/esm/api/resources/tags/client/Client.d.mts +37 -0
- package/dist/esm/api/resources/tags/client/Client.mjs +126 -0
- package/dist/esm/api/resources/tags/client/requests/CreateSubscriberTagsRequest.d.mts +12 -0
- package/dist/esm/api/resources/tags/client/requests/CreateSubscriberTagsRequest.mjs +2 -0
- package/dist/esm/api/resources/tags/client/requests/UnsubscribeTagsRequest.d.mts +10 -0
- package/dist/esm/api/resources/tags/client/requests/UnsubscribeTagsRequest.mjs +2 -0
- package/dist/esm/api/resources/tags/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/tags/types/UnsubscribeTagsResponse.d.mts +8 -0
- package/dist/esm/api/resources/tags/types/UnsubscribeTagsResponse.mjs +2 -0
- package/dist/esm/api/resources/tags/types/index.d.mts +1 -0
- package/dist/esm/api/resources/tags/types/index.mjs +1 -0
- package/dist/esm/api/resources/threads/client/Client.d.mts +18 -0
- package/dist/esm/api/resources/threads/client/Client.mjs +60 -0
- package/dist/esm/api/resources/threads/client/requests/UnsubscribeThreadsRequest.d.mts +10 -0
- package/dist/esm/api/resources/threads/client/requests/UnsubscribeThreadsRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/threads/types/UnsubscribeThreadsResponse.d.mts +8 -0
- package/dist/esm/api/resources/threads/types/UnsubscribeThreadsResponse.mjs +2 -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 +12 -0
- package/dist/esm/api/types/PollVotesResponse.mjs +2 -0
- package/dist/esm/api/types/PostList.d.mts +2 -0
- package/dist/esm/api/types/TagSubscriberCreate.d.mts +4 -0
- package/dist/esm/api/types/TagSubscriberCreate.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +2 -0
- package/dist/esm/api/types/index.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +379 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type { CreateSubscriberTagsRequest } from "./CreateSubscriberTagsRequest.mjs";
|
|
1
2
|
export type { CreateTagsRequest } from "./CreateTagsRequest.mjs";
|
|
2
3
|
export type { DeleteSubscriberTagsRequest } from "./DeleteSubscriberTagsRequest.mjs";
|
|
3
4
|
export type { DeleteTagsRequest } from "./DeleteTagsRequest.mjs";
|
|
@@ -5,4 +6,5 @@ export type { ListSubscribersTagsRequest } from "./ListSubscribersTagsRequest.mj
|
|
|
5
6
|
export type { ListTagsRequest } from "./ListTagsRequest.mjs";
|
|
6
7
|
export type { RetrieveSubscriberTagsRequest } from "./RetrieveSubscriberTagsRequest.mjs";
|
|
7
8
|
export type { RetrieveTagsRequest } from "./RetrieveTagsRequest.mjs";
|
|
9
|
+
export type { UnsubscribeTagsRequest } from "./UnsubscribeTagsRequest.mjs";
|
|
8
10
|
export type { UpdateTagsRequest } from "./UpdateTagsRequest.mjs";
|
|
@@ -249,6 +249,24 @@ export declare class ThreadsClient {
|
|
|
249
249
|
*/
|
|
250
250
|
listSubscribers(request: Forum.ListSubscribersThreadsRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.ThreadSubscriberListResponse>;
|
|
251
251
|
private __listSubscribers;
|
|
252
|
+
/**
|
|
253
|
+
* Unsubscribe from this thread. Removes the authenticated user's subscription. No subId needed.
|
|
254
|
+
*
|
|
255
|
+
* @param {Forum.UnsubscribeThreadsRequest} request
|
|
256
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
257
|
+
*
|
|
258
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
259
|
+
* @throws {@link Forum.NotFoundError}
|
|
260
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
261
|
+
* @throws {@link Forum.InternalServerError}
|
|
262
|
+
*
|
|
263
|
+
* @example
|
|
264
|
+
* await client.threads.unsubscribe({
|
|
265
|
+
* id: "id"
|
|
266
|
+
* })
|
|
267
|
+
*/
|
|
268
|
+
unsubscribe(request: Forum.UnsubscribeThreadsRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.UnsubscribeThreadsResponse>;
|
|
269
|
+
private __unsubscribe;
|
|
252
270
|
/**
|
|
253
271
|
* @param {Forum.RetrieveSubscriberThreadsRequest} request
|
|
254
272
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -863,6 +863,66 @@ export class ThreadsClient {
|
|
|
863
863
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/threads/{id}/subscribers");
|
|
864
864
|
});
|
|
865
865
|
}
|
|
866
|
+
/**
|
|
867
|
+
* Unsubscribe from this thread. Removes the authenticated user's subscription. No subId needed.
|
|
868
|
+
*
|
|
869
|
+
* @param {Forum.UnsubscribeThreadsRequest} request
|
|
870
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
871
|
+
*
|
|
872
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
873
|
+
* @throws {@link Forum.NotFoundError}
|
|
874
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
875
|
+
* @throws {@link Forum.InternalServerError}
|
|
876
|
+
*
|
|
877
|
+
* @example
|
|
878
|
+
* await client.threads.unsubscribe({
|
|
879
|
+
* id: "id"
|
|
880
|
+
* })
|
|
881
|
+
*/
|
|
882
|
+
unsubscribe(request, requestOptions) {
|
|
883
|
+
return core.HttpResponsePromise.fromPromise(this.__unsubscribe(request, requestOptions));
|
|
884
|
+
}
|
|
885
|
+
__unsubscribe(request, requestOptions) {
|
|
886
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
887
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
888
|
+
const { id } = request;
|
|
889
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
890
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
891
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
892
|
+
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)}/subscribers`),
|
|
893
|
+
method: "DELETE",
|
|
894
|
+
headers: _headers,
|
|
895
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
896
|
+
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,
|
|
897
|
+
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,
|
|
898
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
899
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
900
|
+
logging: this._options.logging,
|
|
901
|
+
});
|
|
902
|
+
if (_response.ok) {
|
|
903
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
904
|
+
}
|
|
905
|
+
if (_response.error.reason === "status-code") {
|
|
906
|
+
switch (_response.error.statusCode) {
|
|
907
|
+
case 401:
|
|
908
|
+
throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
909
|
+
case 404:
|
|
910
|
+
throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
|
|
911
|
+
case 429:
|
|
912
|
+
throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
913
|
+
case 500:
|
|
914
|
+
throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
|
|
915
|
+
default:
|
|
916
|
+
throw new errors.ForumError({
|
|
917
|
+
statusCode: _response.error.statusCode,
|
|
918
|
+
body: _response.error.body,
|
|
919
|
+
rawResponse: _response.rawResponse,
|
|
920
|
+
});
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/threads/{id}/subscribers");
|
|
924
|
+
});
|
|
925
|
+
}
|
|
866
926
|
/**
|
|
867
927
|
* @param {Forum.RetrieveSubscriberThreadsRequest} request
|
|
868
928
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -14,5 +14,6 @@ export type { RetrievePostThreadsRequest } from "./RetrievePostThreadsRequest.mj
|
|
|
14
14
|
export type { RetrieveReactionThreadsRequest } from "./RetrieveReactionThreadsRequest.mjs";
|
|
15
15
|
export type { RetrieveSubscriberThreadsRequest } from "./RetrieveSubscriberThreadsRequest.mjs";
|
|
16
16
|
export type { RetrieveThreadsRequest } from "./RetrieveThreadsRequest.mjs";
|
|
17
|
+
export type { UnsubscribeThreadsRequest } from "./UnsubscribeThreadsRequest.mjs";
|
|
17
18
|
export type { UpdatePollThreadsRequest } from "./UpdatePollThreadsRequest.mjs";
|
|
18
19
|
export type { UpdateThreadsRequest } from "./UpdateThreadsRequest.mjs";
|
|
@@ -6,4 +6,5 @@ export * from "./ListThreadsRequestSort.mjs";
|
|
|
6
6
|
export * from "./RetrievePostThreadsResponse.mjs";
|
|
7
7
|
export * from "./RetrieveReactionThreadsResponse.mjs";
|
|
8
8
|
export * from "./RetrieveSubscriberThreadsResponse.mjs";
|
|
9
|
+
export * from "./UnsubscribeThreadsResponse.mjs";
|
|
9
10
|
export * from "./UpdateThreadsResponse.mjs";
|
|
@@ -6,4 +6,5 @@ export * from "./ListThreadsRequestSort.mjs";
|
|
|
6
6
|
export * from "./RetrievePostThreadsResponse.mjs";
|
|
7
7
|
export * from "./RetrieveReactionThreadsResponse.mjs";
|
|
8
8
|
export * from "./RetrieveSubscriberThreadsResponse.mjs";
|
|
9
|
+
export * from "./UnsubscribeThreadsResponse.mjs";
|
|
9
10
|
export * from "./UpdateThreadsResponse.mjs";
|
|
@@ -24,6 +24,7 @@ export * from "./NotificationListResponse.mjs";
|
|
|
24
24
|
export * from "./NotificationResponse.mjs";
|
|
25
25
|
export * from "./NotificationUpdate.mjs";
|
|
26
26
|
export * from "./OwnershipInfo.mjs";
|
|
27
|
+
export * from "./PollVotesResponse.mjs";
|
|
27
28
|
export * from "./Post.mjs";
|
|
28
29
|
export * from "./PostCreate.mjs";
|
|
29
30
|
export * from "./PostList.mjs";
|
|
@@ -78,6 +79,7 @@ export * from "./TagList.mjs";
|
|
|
78
79
|
export * from "./TagListResponse.mjs";
|
|
79
80
|
export * from "./TagResponse.mjs";
|
|
80
81
|
export * from "./TagSubscriber.mjs";
|
|
82
|
+
export * from "./TagSubscriberCreate.mjs";
|
|
81
83
|
export * from "./TagSubscriberListResponse.mjs";
|
|
82
84
|
export * from "./TagSubscriberResponse.mjs";
|
|
83
85
|
export * from "./TagUpdate.mjs";
|
|
@@ -24,6 +24,7 @@ export * from "./NotificationListResponse.mjs";
|
|
|
24
24
|
export * from "./NotificationResponse.mjs";
|
|
25
25
|
export * from "./NotificationUpdate.mjs";
|
|
26
26
|
export * from "./OwnershipInfo.mjs";
|
|
27
|
+
export * from "./PollVotesResponse.mjs";
|
|
27
28
|
export * from "./Post.mjs";
|
|
28
29
|
export * from "./PostCreate.mjs";
|
|
29
30
|
export * from "./PostList.mjs";
|
|
@@ -78,6 +79,7 @@ export * from "./TagList.mjs";
|
|
|
78
79
|
export * from "./TagListResponse.mjs";
|
|
79
80
|
export * from "./TagResponse.mjs";
|
|
80
81
|
export * from "./TagSubscriber.mjs";
|
|
82
|
+
export * from "./TagSubscriberCreate.mjs";
|
|
81
83
|
export * from "./TagSubscriberListResponse.mjs";
|
|
82
84
|
export * from "./TagSubscriberResponse.mjs";
|
|
83
85
|
export * from "./TagUpdate.mjs";
|
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.15";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "2.1.
|
|
1
|
+
export const SDK_VERSION = "2.1.15";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -731,6 +731,136 @@ await client.tags.listSubscribers({
|
|
|
731
731
|
</dl>
|
|
732
732
|
|
|
733
733
|
|
|
734
|
+
</dd>
|
|
735
|
+
</dl>
|
|
736
|
+
</details>
|
|
737
|
+
|
|
738
|
+
<details><summary><code>client.tags.<a href="/src/api/resources/tags/client/Client.ts">createSubscriber</a>({ ...params }) -> Forum.TagSubscriberResponse</code></summary>
|
|
739
|
+
<dl>
|
|
740
|
+
<dd>
|
|
741
|
+
|
|
742
|
+
#### 📝 Description
|
|
743
|
+
|
|
744
|
+
<dl>
|
|
745
|
+
<dd>
|
|
746
|
+
|
|
747
|
+
<dl>
|
|
748
|
+
<dd>
|
|
749
|
+
|
|
750
|
+
Create a Subscriber in Tag.
|
|
751
|
+
</dd>
|
|
752
|
+
</dl>
|
|
753
|
+
</dd>
|
|
754
|
+
</dl>
|
|
755
|
+
|
|
756
|
+
#### 🔌 Usage
|
|
757
|
+
|
|
758
|
+
<dl>
|
|
759
|
+
<dd>
|
|
760
|
+
|
|
761
|
+
<dl>
|
|
762
|
+
<dd>
|
|
763
|
+
|
|
764
|
+
```typescript
|
|
765
|
+
await client.tags.createSubscriber({
|
|
766
|
+
id: "id"
|
|
767
|
+
});
|
|
768
|
+
|
|
769
|
+
```
|
|
770
|
+
</dd>
|
|
771
|
+
</dl>
|
|
772
|
+
</dd>
|
|
773
|
+
</dl>
|
|
774
|
+
|
|
775
|
+
#### ⚙️ Parameters
|
|
776
|
+
|
|
777
|
+
<dl>
|
|
778
|
+
<dd>
|
|
779
|
+
|
|
780
|
+
<dl>
|
|
781
|
+
<dd>
|
|
782
|
+
|
|
783
|
+
**request:** `Forum.CreateSubscriberTagsRequest`
|
|
784
|
+
|
|
785
|
+
</dd>
|
|
786
|
+
</dl>
|
|
787
|
+
|
|
788
|
+
<dl>
|
|
789
|
+
<dd>
|
|
790
|
+
|
|
791
|
+
**requestOptions:** `TagsClient.RequestOptions`
|
|
792
|
+
|
|
793
|
+
</dd>
|
|
794
|
+
</dl>
|
|
795
|
+
</dd>
|
|
796
|
+
</dl>
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
</dd>
|
|
800
|
+
</dl>
|
|
801
|
+
</details>
|
|
802
|
+
|
|
803
|
+
<details><summary><code>client.tags.<a href="/src/api/resources/tags/client/Client.ts">unsubscribe</a>({ ...params }) -> Forum.UnsubscribeTagsResponse</code></summary>
|
|
804
|
+
<dl>
|
|
805
|
+
<dd>
|
|
806
|
+
|
|
807
|
+
#### 📝 Description
|
|
808
|
+
|
|
809
|
+
<dl>
|
|
810
|
+
<dd>
|
|
811
|
+
|
|
812
|
+
<dl>
|
|
813
|
+
<dd>
|
|
814
|
+
|
|
815
|
+
Unsubscribe from this tag. Removes the authenticated user's subscription. No subId needed.
|
|
816
|
+
</dd>
|
|
817
|
+
</dl>
|
|
818
|
+
</dd>
|
|
819
|
+
</dl>
|
|
820
|
+
|
|
821
|
+
#### 🔌 Usage
|
|
822
|
+
|
|
823
|
+
<dl>
|
|
824
|
+
<dd>
|
|
825
|
+
|
|
826
|
+
<dl>
|
|
827
|
+
<dd>
|
|
828
|
+
|
|
829
|
+
```typescript
|
|
830
|
+
await client.tags.unsubscribe({
|
|
831
|
+
id: "id"
|
|
832
|
+
});
|
|
833
|
+
|
|
834
|
+
```
|
|
835
|
+
</dd>
|
|
836
|
+
</dl>
|
|
837
|
+
</dd>
|
|
838
|
+
</dl>
|
|
839
|
+
|
|
840
|
+
#### ⚙️ Parameters
|
|
841
|
+
|
|
842
|
+
<dl>
|
|
843
|
+
<dd>
|
|
844
|
+
|
|
845
|
+
<dl>
|
|
846
|
+
<dd>
|
|
847
|
+
|
|
848
|
+
**request:** `Forum.UnsubscribeTagsRequest`
|
|
849
|
+
|
|
850
|
+
</dd>
|
|
851
|
+
</dl>
|
|
852
|
+
|
|
853
|
+
<dl>
|
|
854
|
+
<dd>
|
|
855
|
+
|
|
856
|
+
**requestOptions:** `TagsClient.RequestOptions`
|
|
857
|
+
|
|
858
|
+
</dd>
|
|
859
|
+
</dl>
|
|
860
|
+
</dd>
|
|
861
|
+
</dl>
|
|
862
|
+
|
|
863
|
+
|
|
734
864
|
</dd>
|
|
735
865
|
</dl>
|
|
736
866
|
</details>
|
|
@@ -1629,6 +1759,71 @@ await client.threads.listSubscribers({
|
|
|
1629
1759
|
</dl>
|
|
1630
1760
|
|
|
1631
1761
|
|
|
1762
|
+
</dd>
|
|
1763
|
+
</dl>
|
|
1764
|
+
</details>
|
|
1765
|
+
|
|
1766
|
+
<details><summary><code>client.threads.<a href="/src/api/resources/threads/client/Client.ts">unsubscribe</a>({ ...params }) -> Forum.UnsubscribeThreadsResponse</code></summary>
|
|
1767
|
+
<dl>
|
|
1768
|
+
<dd>
|
|
1769
|
+
|
|
1770
|
+
#### 📝 Description
|
|
1771
|
+
|
|
1772
|
+
<dl>
|
|
1773
|
+
<dd>
|
|
1774
|
+
|
|
1775
|
+
<dl>
|
|
1776
|
+
<dd>
|
|
1777
|
+
|
|
1778
|
+
Unsubscribe from this thread. Removes the authenticated user's subscription. No subId needed.
|
|
1779
|
+
</dd>
|
|
1780
|
+
</dl>
|
|
1781
|
+
</dd>
|
|
1782
|
+
</dl>
|
|
1783
|
+
|
|
1784
|
+
#### 🔌 Usage
|
|
1785
|
+
|
|
1786
|
+
<dl>
|
|
1787
|
+
<dd>
|
|
1788
|
+
|
|
1789
|
+
<dl>
|
|
1790
|
+
<dd>
|
|
1791
|
+
|
|
1792
|
+
```typescript
|
|
1793
|
+
await client.threads.unsubscribe({
|
|
1794
|
+
id: "id"
|
|
1795
|
+
});
|
|
1796
|
+
|
|
1797
|
+
```
|
|
1798
|
+
</dd>
|
|
1799
|
+
</dl>
|
|
1800
|
+
</dd>
|
|
1801
|
+
</dl>
|
|
1802
|
+
|
|
1803
|
+
#### ⚙️ Parameters
|
|
1804
|
+
|
|
1805
|
+
<dl>
|
|
1806
|
+
<dd>
|
|
1807
|
+
|
|
1808
|
+
<dl>
|
|
1809
|
+
<dd>
|
|
1810
|
+
|
|
1811
|
+
**request:** `Forum.UnsubscribeThreadsRequest`
|
|
1812
|
+
|
|
1813
|
+
</dd>
|
|
1814
|
+
</dl>
|
|
1815
|
+
|
|
1816
|
+
<dl>
|
|
1817
|
+
<dd>
|
|
1818
|
+
|
|
1819
|
+
**requestOptions:** `ThreadsClient.RequestOptions`
|
|
1820
|
+
|
|
1821
|
+
</dd>
|
|
1822
|
+
</dl>
|
|
1823
|
+
</dd>
|
|
1824
|
+
</dl>
|
|
1825
|
+
|
|
1826
|
+
|
|
1632
1827
|
</dd>
|
|
1633
1828
|
</dl>
|
|
1634
1829
|
</details>
|
|
@@ -1890,6 +2085,190 @@ await client.threads.updatePoll({
|
|
|
1890
2085
|
</dl>
|
|
1891
2086
|
|
|
1892
2087
|
|
|
2088
|
+
</dd>
|
|
2089
|
+
</dl>
|
|
2090
|
+
</details>
|
|
2091
|
+
|
|
2092
|
+
## PollVotes
|
|
2093
|
+
<details><summary><code>client.pollVotes.<a href="/src/api/resources/pollVotes/client/Client.ts">createvote</a>({ ...params }) -> Forum.PollVotesResponse</code></summary>
|
|
2094
|
+
<dl>
|
|
2095
|
+
<dd>
|
|
2096
|
+
|
|
2097
|
+
#### 📝 Description
|
|
2098
|
+
|
|
2099
|
+
<dl>
|
|
2100
|
+
<dd>
|
|
2101
|
+
|
|
2102
|
+
<dl>
|
|
2103
|
+
<dd>
|
|
2104
|
+
|
|
2105
|
+
Create a vote in the Thread's Poll.
|
|
2106
|
+
</dd>
|
|
2107
|
+
</dl>
|
|
2108
|
+
</dd>
|
|
2109
|
+
</dl>
|
|
2110
|
+
|
|
2111
|
+
#### 🔌 Usage
|
|
2112
|
+
|
|
2113
|
+
<dl>
|
|
2114
|
+
<dd>
|
|
2115
|
+
|
|
2116
|
+
<dl>
|
|
2117
|
+
<dd>
|
|
2118
|
+
|
|
2119
|
+
```typescript
|
|
2120
|
+
await client.pollVotes.createvote({
|
|
2121
|
+
id: "id",
|
|
2122
|
+
optionId: "optionId"
|
|
2123
|
+
});
|
|
2124
|
+
|
|
2125
|
+
```
|
|
2126
|
+
</dd>
|
|
2127
|
+
</dl>
|
|
2128
|
+
</dd>
|
|
2129
|
+
</dl>
|
|
2130
|
+
|
|
2131
|
+
#### ⚙️ Parameters
|
|
2132
|
+
|
|
2133
|
+
<dl>
|
|
2134
|
+
<dd>
|
|
2135
|
+
|
|
2136
|
+
<dl>
|
|
2137
|
+
<dd>
|
|
2138
|
+
|
|
2139
|
+
**request:** `Forum.CreatevotePollVotesRequest`
|
|
2140
|
+
|
|
2141
|
+
</dd>
|
|
2142
|
+
</dl>
|
|
2143
|
+
|
|
2144
|
+
<dl>
|
|
2145
|
+
<dd>
|
|
2146
|
+
|
|
2147
|
+
**requestOptions:** `PollVotesClient.RequestOptions`
|
|
2148
|
+
|
|
2149
|
+
</dd>
|
|
2150
|
+
</dl>
|
|
2151
|
+
</dd>
|
|
2152
|
+
</dl>
|
|
2153
|
+
|
|
2154
|
+
|
|
2155
|
+
</dd>
|
|
2156
|
+
</dl>
|
|
2157
|
+
</details>
|
|
2158
|
+
|
|
2159
|
+
<details><summary><code>client.pollVotes.<a href="/src/api/resources/pollVotes/client/Client.ts">deleteOwnvote</a>({ ...params }) -> Forum.DeleteOwnvotePollVotesResponse</code></summary>
|
|
2160
|
+
<dl>
|
|
2161
|
+
<dd>
|
|
2162
|
+
|
|
2163
|
+
#### 📝 Description
|
|
2164
|
+
|
|
2165
|
+
<dl>
|
|
2166
|
+
<dd>
|
|
2167
|
+
|
|
2168
|
+
<dl>
|
|
2169
|
+
<dd>
|
|
2170
|
+
|
|
2171
|
+
Removes the authenticated user's vote. No ID needed.
|
|
2172
|
+
</dd>
|
|
2173
|
+
</dl>
|
|
2174
|
+
</dd>
|
|
2175
|
+
</dl>
|
|
2176
|
+
|
|
2177
|
+
#### 🔌 Usage
|
|
2178
|
+
|
|
2179
|
+
<dl>
|
|
2180
|
+
<dd>
|
|
2181
|
+
|
|
2182
|
+
<dl>
|
|
2183
|
+
<dd>
|
|
2184
|
+
|
|
2185
|
+
```typescript
|
|
2186
|
+
await client.pollVotes.deleteOwnvote({
|
|
2187
|
+
id: "id"
|
|
2188
|
+
});
|
|
2189
|
+
|
|
2190
|
+
```
|
|
2191
|
+
</dd>
|
|
2192
|
+
</dl>
|
|
2193
|
+
</dd>
|
|
2194
|
+
</dl>
|
|
2195
|
+
|
|
2196
|
+
#### ⚙️ Parameters
|
|
2197
|
+
|
|
2198
|
+
<dl>
|
|
2199
|
+
<dd>
|
|
2200
|
+
|
|
2201
|
+
<dl>
|
|
2202
|
+
<dd>
|
|
2203
|
+
|
|
2204
|
+
**request:** `Forum.DeleteOwnvotePollVotesRequest`
|
|
2205
|
+
|
|
2206
|
+
</dd>
|
|
2207
|
+
</dl>
|
|
2208
|
+
|
|
2209
|
+
<dl>
|
|
2210
|
+
<dd>
|
|
2211
|
+
|
|
2212
|
+
**requestOptions:** `PollVotesClient.RequestOptions`
|
|
2213
|
+
|
|
2214
|
+
</dd>
|
|
2215
|
+
</dl>
|
|
2216
|
+
</dd>
|
|
2217
|
+
</dl>
|
|
2218
|
+
|
|
2219
|
+
|
|
2220
|
+
</dd>
|
|
2221
|
+
</dl>
|
|
2222
|
+
</details>
|
|
2223
|
+
|
|
2224
|
+
<details><summary><code>client.pollVotes.<a href="/src/api/resources/pollVotes/client/Client.ts">deletevote</a>({ ...params }) -> Forum.SuccessResponse</code></summary>
|
|
2225
|
+
<dl>
|
|
2226
|
+
<dd>
|
|
2227
|
+
|
|
2228
|
+
#### 🔌 Usage
|
|
2229
|
+
|
|
2230
|
+
<dl>
|
|
2231
|
+
<dd>
|
|
2232
|
+
|
|
2233
|
+
<dl>
|
|
2234
|
+
<dd>
|
|
2235
|
+
|
|
2236
|
+
```typescript
|
|
2237
|
+
await client.pollVotes.deletevote({
|
|
2238
|
+
id: "id",
|
|
2239
|
+
nestedId: "nestedId"
|
|
2240
|
+
});
|
|
2241
|
+
|
|
2242
|
+
```
|
|
2243
|
+
</dd>
|
|
2244
|
+
</dl>
|
|
2245
|
+
</dd>
|
|
2246
|
+
</dl>
|
|
2247
|
+
|
|
2248
|
+
#### ⚙️ Parameters
|
|
2249
|
+
|
|
2250
|
+
<dl>
|
|
2251
|
+
<dd>
|
|
2252
|
+
|
|
2253
|
+
<dl>
|
|
2254
|
+
<dd>
|
|
2255
|
+
|
|
2256
|
+
**request:** `Forum.DeletevotePollVotesRequest`
|
|
2257
|
+
|
|
2258
|
+
</dd>
|
|
2259
|
+
</dl>
|
|
2260
|
+
|
|
2261
|
+
<dl>
|
|
2262
|
+
<dd>
|
|
2263
|
+
|
|
2264
|
+
**requestOptions:** `PollVotesClient.RequestOptions`
|
|
2265
|
+
|
|
2266
|
+
</dd>
|
|
2267
|
+
</dl>
|
|
2268
|
+
</dd>
|
|
2269
|
+
</dl>
|
|
2270
|
+
|
|
2271
|
+
|
|
1893
2272
|
</dd>
|
|
1894
2273
|
</dl>
|
|
1895
2274
|
</details>
|