@foru-ms/sdk 2.0.2 → 2.0.3
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/integrations/types/GetIntegrationsIdResponse.d.ts +26 -2
- package/dist/cjs/api/resources/integrations/types/GetIntegrationsIdResponse.js +16 -0
- package/dist/cjs/api/resources/integrations/types/GetIntegrationsResponse.d.ts +25 -1
- package/dist/cjs/api/resources/integrations/types/GetIntegrationsResponse.js +19 -0
- package/dist/cjs/api/resources/integrations/types/PatchIntegrationsIdResponse.d.ts +26 -2
- package/dist/cjs/api/resources/integrations/types/PatchIntegrationsIdResponse.js +16 -0
- package/dist/cjs/api/resources/integrations/types/PostIntegrationsResponse.d.ts +26 -2
- package/dist/cjs/api/resources/integrations/types/PostIntegrationsResponse.js +16 -0
- package/dist/cjs/api/resources/notifications/client/requests/PostNotificationsRequest.d.ts +23 -7
- package/dist/cjs/api/resources/notifications/client/requests/PostNotificationsRequest.js +11 -0
- package/dist/cjs/api/resources/notifications/types/GetNotificationsIdResponse.d.ts +26 -2
- package/dist/cjs/api/resources/notifications/types/GetNotificationsResponse.d.ts +25 -1
- package/dist/cjs/api/resources/notifications/types/PatchNotificationsIdResponse.d.ts +26 -2
- package/dist/cjs/api/resources/notifications/types/PostNotificationsResponse.d.ts +26 -2
- package/dist/cjs/api/resources/posts/client/Client.d.ts +136 -0
- package/dist/cjs/api/resources/posts/client/Client.js +500 -0
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdPostsSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdPostsSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdReactionsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdReactionsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdReactionsSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdReactionsSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/GetPostsIdPostsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/posts/client/requests/GetPostsIdPostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/GetPostsIdPostsSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/posts/client/requests/GetPostsIdPostsSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/GetPostsIdReactionsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/posts/client/requests/GetPostsIdReactionsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/GetPostsIdReactionsSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/posts/client/requests/GetPostsIdReactionsSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/PostPostsIdReactionsRequest.d.ts +27 -0
- package/dist/cjs/api/resources/posts/client/requests/PostPostsIdReactionsRequest.js +14 -0
- package/dist/cjs/api/resources/posts/client/requests/index.d.ts +8 -0
- package/dist/cjs/api/resources/posts/types/DeletePostsIdPostsSubIdResponse.d.ts +3 -0
- package/dist/cjs/api/resources/posts/types/DeletePostsIdPostsSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/DeletePostsIdReactionsResponse.d.ts +3 -0
- package/dist/cjs/api/resources/posts/types/DeletePostsIdReactionsResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/DeletePostsIdReactionsSubIdResponse.d.ts +3 -0
- package/dist/cjs/api/resources/posts/types/DeletePostsIdReactionsSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/GetPostsIdPostsResponse.d.ts +16 -0
- package/dist/cjs/api/resources/posts/types/GetPostsIdPostsResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/GetPostsIdPostsSubIdResponse.d.ts +6 -0
- package/dist/cjs/api/resources/posts/types/GetPostsIdPostsSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/GetPostsIdReactionsResponse.d.ts +16 -0
- package/dist/cjs/api/resources/posts/types/GetPostsIdReactionsResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/GetPostsIdReactionsSubIdResponse.d.ts +6 -0
- package/dist/cjs/api/resources/posts/types/GetPostsIdReactionsSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/GetPostsIdResponse.d.ts +6 -0
- package/dist/cjs/api/resources/posts/types/GetPostsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/posts/types/PatchPostsIdResponse.d.ts +6 -0
- package/dist/cjs/api/resources/posts/types/PostPostsIdReactionsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/posts/types/PostPostsIdReactionsResponse.js +3 -0
- package/dist/cjs/api/resources/posts/types/PostPostsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/posts/types/index.d.ts +8 -0
- package/dist/cjs/api/resources/posts/types/index.js +8 -0
- package/dist/cjs/api/resources/privateMessages/client/Client.d.ts +69 -0
- package/dist/cjs/api/resources/privateMessages/client/Client.js +272 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesRequest.d.ts +14 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesRequest.js +3 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/PostPrivateMessagesIdRepliesRequest.d.ts +24 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/PostPrivateMessagesIdRepliesRequest.js +3 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/privateMessages/types/DeletePrivateMessagesIdRepliesSubIdResponse.d.ts +3 -0
- package/dist/cjs/api/resources/privateMessages/types/DeletePrivateMessagesIdRepliesSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesResponse.d.ts +16 -0
- package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesResponse.js +3 -0
- package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesSubIdResponse.d.ts +6 -0
- package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdResponse.d.ts +22 -2
- package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesResponse.d.ts +21 -1
- package/dist/cjs/api/resources/privateMessages/types/PostPrivateMessagesIdRepliesResponse.d.ts +6 -0
- package/dist/cjs/api/resources/privateMessages/types/PostPrivateMessagesIdRepliesResponse.js +3 -0
- package/dist/cjs/api/resources/privateMessages/types/PostPrivateMessagesResponse.d.ts +22 -2
- package/dist/cjs/api/resources/privateMessages/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/privateMessages/types/index.js +4 -0
- package/dist/cjs/api/resources/reports/types/GetReportsIdResponse.d.ts +6 -0
- package/dist/cjs/api/resources/reports/types/GetReportsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/reports/types/PostReportsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/roles/types/GetRolesIdResponse.d.ts +4 -0
- package/dist/cjs/api/resources/roles/types/GetRolesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/roles/types/PatchRolesIdResponse.d.ts +4 -0
- package/dist/cjs/api/resources/roles/types/PostRolesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ssOs/types/GetSsoIdResponse.d.ts +23 -2
- package/dist/cjs/api/resources/ssOs/types/GetSsoIdResponse.js +13 -0
- package/dist/cjs/api/resources/ssOs/types/GetSsoResponse.d.ts +22 -1
- package/dist/cjs/api/resources/ssOs/types/GetSsoResponse.js +16 -0
- package/dist/cjs/api/resources/ssOs/types/PatchSsoIdResponse.d.ts +23 -2
- package/dist/cjs/api/resources/ssOs/types/PatchSsoIdResponse.js +13 -0
- package/dist/cjs/api/resources/ssOs/types/PostSsoResponse.d.ts +23 -2
- package/dist/cjs/api/resources/ssOs/types/PostSsoResponse.js +13 -0
- package/dist/cjs/api/resources/tags/client/Client.d.ts +50 -0
- package/dist/cjs/api/resources/tags/client/Client.js +189 -0
- package/dist/cjs/api/resources/tags/client/requests/DeleteTagsIdSubscribersSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/tags/client/requests/DeleteTagsIdSubscribersSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/tags/client/requests/GetTagsIdSubscribersRequest.d.ts +14 -0
- package/dist/cjs/api/resources/tags/client/requests/GetTagsIdSubscribersRequest.js +3 -0
- package/dist/cjs/api/resources/tags/client/requests/GetTagsIdSubscribersSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/tags/client/requests/GetTagsIdSubscribersSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/tags/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/tags/types/DeleteTagsIdSubscribersSubIdResponse.d.ts +3 -0
- package/dist/cjs/api/resources/tags/types/DeleteTagsIdSubscribersSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/tags/types/GetTagsIdResponse.d.ts +4 -0
- package/dist/cjs/api/resources/tags/types/GetTagsIdSubscribersResponse.d.ts +16 -0
- package/dist/cjs/api/resources/tags/types/GetTagsIdSubscribersResponse.js +3 -0
- package/dist/cjs/api/resources/tags/types/GetTagsIdSubscribersSubIdResponse.d.ts +6 -0
- package/dist/cjs/api/resources/tags/types/GetTagsIdSubscribersSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/tags/types/GetTagsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/tags/types/PatchTagsIdResponse.d.ts +4 -0
- package/dist/cjs/api/resources/tags/types/PostTagsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/tags/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/tags/types/index.js +3 -0
- package/dist/cjs/api/resources/threads/client/Client.d.ts +240 -0
- package/dist/cjs/api/resources/threads/client/Client.js +885 -0
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdPostsSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdPostsSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdReactionsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdReactionsRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdReactionsSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdReactionsSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdSubscribersSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdSubscribersSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPollRequest.d.ts +10 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPollRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPostsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPostsRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPostsSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPostsSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdReactionsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdReactionsRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdReactionsSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdReactionsSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdSubscribersRequest.d.ts +14 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdSubscribersRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdSubscribersSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdSubscribersSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/PatchThreadsIdPollRequest.d.ts +18 -0
- package/dist/cjs/api/resources/threads/client/requests/PatchThreadsIdPollRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/PostThreadsIdPollRequest.d.ts +35 -0
- package/dist/cjs/api/resources/threads/client/requests/PostThreadsIdPollRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/PostThreadsIdReactionsRequest.d.ts +27 -0
- package/dist/cjs/api/resources/threads/client/requests/PostThreadsIdReactionsRequest.js +14 -0
- package/dist/cjs/api/resources/threads/client/requests/index.d.ts +14 -0
- package/dist/cjs/api/resources/threads/types/DeleteThreadsIdPostsSubIdResponse.d.ts +3 -0
- package/dist/cjs/api/resources/threads/types/DeleteThreadsIdPostsSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/DeleteThreadsIdReactionsResponse.d.ts +3 -0
- package/dist/cjs/api/resources/threads/types/DeleteThreadsIdReactionsResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/DeleteThreadsIdReactionsSubIdResponse.d.ts +3 -0
- package/dist/cjs/api/resources/threads/types/DeleteThreadsIdReactionsSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/DeleteThreadsIdSubscribersSubIdResponse.d.ts +3 -0
- package/dist/cjs/api/resources/threads/types/DeleteThreadsIdSubscribersSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdPollResponse.d.ts +6 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdPollResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdPostsResponse.d.ts +16 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdPostsResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdPostsSubIdResponse.d.ts +6 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdPostsSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdReactionsResponse.d.ts +16 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdReactionsResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdReactionsSubIdResponse.d.ts +6 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdReactionsSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdResponse.d.ts +14 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdSubscribersResponse.d.ts +16 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdSubscribersResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdSubscribersSubIdResponse.d.ts +6 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsIdSubscribersSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/GetThreadsResponse.d.ts +14 -0
- package/dist/cjs/api/resources/threads/types/PatchThreadsIdPollResponse.d.ts +6 -0
- package/dist/cjs/api/resources/threads/types/PatchThreadsIdPollResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/PatchThreadsIdResponse.d.ts +14 -0
- package/dist/cjs/api/resources/threads/types/PostThreadsIdPollResponse.d.ts +6 -0
- package/dist/cjs/api/resources/threads/types/PostThreadsIdPollResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/PostThreadsIdReactionsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/threads/types/PostThreadsIdReactionsResponse.js +3 -0
- package/dist/cjs/api/resources/threads/types/PostThreadsResponse.d.ts +14 -0
- package/dist/cjs/api/resources/threads/types/index.d.ts +14 -0
- package/dist/cjs/api/resources/threads/types/index.js +14 -0
- package/dist/cjs/api/resources/users/client/Client.d.ts +100 -0
- package/dist/cjs/api/resources/users/client/Client.js +378 -0
- package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdFollowersSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdFollowersSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdFollowingSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdFollowingSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowersRequest.d.ts +14 -0
- package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowersRequest.js +3 -0
- package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowersSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowersSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowingRequest.d.ts +14 -0
- package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowingRequest.js +3 -0
- package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowingSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowingSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/users/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/users/types/DeleteUsersIdFollowersSubIdResponse.d.ts +3 -0
- package/dist/cjs/api/resources/users/types/DeleteUsersIdFollowersSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/users/types/DeleteUsersIdFollowingSubIdResponse.d.ts +3 -0
- package/dist/cjs/api/resources/users/types/DeleteUsersIdFollowingSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/users/types/GetUsersIdFollowersResponse.d.ts +16 -0
- package/dist/cjs/api/resources/users/types/GetUsersIdFollowersResponse.js +3 -0
- package/dist/cjs/api/resources/users/types/GetUsersIdFollowersSubIdResponse.d.ts +6 -0
- package/dist/cjs/api/resources/users/types/GetUsersIdFollowersSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/users/types/GetUsersIdFollowingResponse.d.ts +16 -0
- package/dist/cjs/api/resources/users/types/GetUsersIdFollowingResponse.js +3 -0
- package/dist/cjs/api/resources/users/types/GetUsersIdFollowingSubIdResponse.d.ts +6 -0
- package/dist/cjs/api/resources/users/types/GetUsersIdFollowingSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/users/types/GetUsersIdResponse.d.ts +34 -14
- package/dist/cjs/api/resources/users/types/GetUsersIdResponse.js +0 -12
- package/dist/cjs/api/resources/users/types/GetUsersResponse.d.ts +34 -14
- package/dist/cjs/api/resources/users/types/GetUsersResponse.js +0 -15
- package/dist/cjs/api/resources/users/types/PatchUsersIdResponse.d.ts +34 -14
- package/dist/cjs/api/resources/users/types/PatchUsersIdResponse.js +0 -12
- package/dist/cjs/api/resources/users/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/users/types/index.js +6 -0
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +50 -0
- package/dist/cjs/api/resources/webhooks/client/Client.js +192 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesRequest.d.ts +14 -0
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.d.ts +13 -0
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksIdDeliveriesSubIdResponse.d.ts +3 -0
- package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksIdDeliveriesSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdDeliveriesResponse.d.ts +16 -0
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdDeliveriesResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdDeliveriesSubIdResponse.d.ts +6 -0
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdDeliveriesSubIdResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdResponse.d.ts +20 -2
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponse.d.ts +19 -1
- package/dist/cjs/api/resources/webhooks/types/PostWebhooksResponse.d.ts +20 -2
- package/dist/cjs/api/resources/webhooks/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/webhooks/types/index.js +3 -0
- package/dist/cjs/api/types/IntegrationResponse.d.ts +25 -0
- package/dist/cjs/api/types/IntegrationResponse.js +16 -0
- package/dist/cjs/api/types/NotificationCreate.d.ts +23 -7
- package/dist/cjs/api/types/NotificationCreate.js +11 -0
- package/dist/cjs/api/types/NotificationList.d.ts +10 -8
- package/dist/cjs/api/types/NotificationList.js +6 -4
- package/dist/cjs/api/types/NotificationResponse.d.ts +25 -0
- package/dist/cjs/api/types/NotificationResponse.js +3 -0
- package/dist/cjs/api/types/PostResponse.d.ts +6 -0
- package/dist/cjs/api/types/PrivateMessageResponse.d.ts +21 -0
- package/dist/cjs/api/types/PrivateMessageResponse.js +3 -0
- package/dist/cjs/api/types/ReportResponse.d.ts +6 -0
- package/dist/cjs/api/types/RoleResponse.d.ts +4 -0
- package/dist/cjs/api/types/SsoResponse.d.ts +22 -0
- package/dist/cjs/api/types/SsoResponse.js +13 -0
- package/dist/cjs/api/types/TagResponse.d.ts +4 -0
- package/dist/cjs/api/types/ThreadResponse.d.ts +14 -0
- package/dist/cjs/api/types/UserResponse.d.ts +34 -14
- package/dist/cjs/api/types/UserResponse.js +0 -9
- package/dist/cjs/api/types/WebhookResponse.d.ts +19 -0
- package/dist/cjs/api/types/WebhookResponse.js +3 -0
- package/dist/cjs/api/types/index.d.ts +5 -0
- package/dist/cjs/api/types/index.js +5 -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/integrations/types/GetIntegrationsIdResponse.d.mts +26 -2
- package/dist/esm/api/resources/integrations/types/GetIntegrationsIdResponse.mjs +15 -1
- package/dist/esm/api/resources/integrations/types/GetIntegrationsResponse.d.mts +25 -1
- package/dist/esm/api/resources/integrations/types/GetIntegrationsResponse.mjs +18 -1
- package/dist/esm/api/resources/integrations/types/PatchIntegrationsIdResponse.d.mts +26 -2
- package/dist/esm/api/resources/integrations/types/PatchIntegrationsIdResponse.mjs +15 -1
- package/dist/esm/api/resources/integrations/types/PostIntegrationsResponse.d.mts +26 -2
- package/dist/esm/api/resources/integrations/types/PostIntegrationsResponse.mjs +15 -1
- package/dist/esm/api/resources/notifications/client/requests/PostNotificationsRequest.d.mts +23 -7
- package/dist/esm/api/resources/notifications/client/requests/PostNotificationsRequest.mjs +10 -1
- package/dist/esm/api/resources/notifications/types/GetNotificationsIdResponse.d.mts +26 -2
- package/dist/esm/api/resources/notifications/types/GetNotificationsResponse.d.mts +25 -1
- package/dist/esm/api/resources/notifications/types/PatchNotificationsIdResponse.d.mts +26 -2
- package/dist/esm/api/resources/notifications/types/PostNotificationsResponse.d.mts +26 -2
- package/dist/esm/api/resources/posts/client/Client.d.mts +136 -0
- package/dist/esm/api/resources/posts/client/Client.mjs +500 -0
- package/dist/esm/api/resources/posts/client/requests/DeletePostsIdPostsSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/posts/client/requests/DeletePostsIdPostsSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/DeletePostsIdReactionsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/DeletePostsIdReactionsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/DeletePostsIdReactionsSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/posts/client/requests/DeletePostsIdReactionsSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/GetPostsIdPostsRequest.d.mts +14 -0
- package/dist/esm/api/resources/posts/client/requests/GetPostsIdPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/GetPostsIdPostsSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/posts/client/requests/GetPostsIdPostsSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/GetPostsIdReactionsRequest.d.mts +14 -0
- package/dist/esm/api/resources/posts/client/requests/GetPostsIdReactionsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/GetPostsIdReactionsSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/posts/client/requests/GetPostsIdReactionsSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/PostPostsIdReactionsRequest.d.mts +27 -0
- package/dist/esm/api/resources/posts/client/requests/PostPostsIdReactionsRequest.mjs +11 -0
- package/dist/esm/api/resources/posts/client/requests/index.d.mts +8 -0
- package/dist/esm/api/resources/posts/types/DeletePostsIdPostsSubIdResponse.d.mts +3 -0
- package/dist/esm/api/resources/posts/types/DeletePostsIdPostsSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/DeletePostsIdReactionsResponse.d.mts +3 -0
- package/dist/esm/api/resources/posts/types/DeletePostsIdReactionsResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/DeletePostsIdReactionsSubIdResponse.d.mts +3 -0
- package/dist/esm/api/resources/posts/types/DeletePostsIdReactionsSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/GetPostsIdPostsResponse.d.mts +16 -0
- package/dist/esm/api/resources/posts/types/GetPostsIdPostsResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/GetPostsIdPostsSubIdResponse.d.mts +6 -0
- package/dist/esm/api/resources/posts/types/GetPostsIdPostsSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/GetPostsIdReactionsResponse.d.mts +16 -0
- package/dist/esm/api/resources/posts/types/GetPostsIdReactionsResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/GetPostsIdReactionsSubIdResponse.d.mts +6 -0
- package/dist/esm/api/resources/posts/types/GetPostsIdReactionsSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/GetPostsIdResponse.d.mts +6 -0
- package/dist/esm/api/resources/posts/types/GetPostsResponse.d.mts +6 -0
- package/dist/esm/api/resources/posts/types/PatchPostsIdResponse.d.mts +6 -0
- package/dist/esm/api/resources/posts/types/PostPostsIdReactionsResponse.d.mts +6 -0
- package/dist/esm/api/resources/posts/types/PostPostsIdReactionsResponse.mjs +2 -0
- package/dist/esm/api/resources/posts/types/PostPostsResponse.d.mts +6 -0
- package/dist/esm/api/resources/posts/types/index.d.mts +8 -0
- package/dist/esm/api/resources/posts/types/index.mjs +8 -0
- package/dist/esm/api/resources/privateMessages/client/Client.d.mts +69 -0
- package/dist/esm/api/resources/privateMessages/client/Client.mjs +272 -0
- package/dist/esm/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesRequest.d.mts +14 -0
- package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesRequest.mjs +2 -0
- package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/privateMessages/client/requests/PostPrivateMessagesIdRepliesRequest.d.mts +24 -0
- package/dist/esm/api/resources/privateMessages/client/requests/PostPrivateMessagesIdRepliesRequest.mjs +2 -0
- package/dist/esm/api/resources/privateMessages/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/privateMessages/types/DeletePrivateMessagesIdRepliesSubIdResponse.d.mts +3 -0
- package/dist/esm/api/resources/privateMessages/types/DeletePrivateMessagesIdRepliesSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesResponse.d.mts +16 -0
- package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesResponse.mjs +2 -0
- package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesSubIdResponse.d.mts +6 -0
- package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdResponse.d.mts +22 -2
- package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesResponse.d.mts +21 -1
- package/dist/esm/api/resources/privateMessages/types/PostPrivateMessagesIdRepliesResponse.d.mts +6 -0
- package/dist/esm/api/resources/privateMessages/types/PostPrivateMessagesIdRepliesResponse.mjs +2 -0
- package/dist/esm/api/resources/privateMessages/types/PostPrivateMessagesResponse.d.mts +22 -2
- package/dist/esm/api/resources/privateMessages/types/index.d.mts +4 -0
- package/dist/esm/api/resources/privateMessages/types/index.mjs +4 -0
- package/dist/esm/api/resources/reports/types/GetReportsIdResponse.d.mts +6 -0
- package/dist/esm/api/resources/reports/types/GetReportsResponse.d.mts +6 -0
- package/dist/esm/api/resources/reports/types/PostReportsResponse.d.mts +6 -0
- package/dist/esm/api/resources/roles/types/GetRolesIdResponse.d.mts +4 -0
- package/dist/esm/api/resources/roles/types/GetRolesResponse.d.mts +4 -0
- package/dist/esm/api/resources/roles/types/PatchRolesIdResponse.d.mts +4 -0
- package/dist/esm/api/resources/roles/types/PostRolesResponse.d.mts +4 -0
- package/dist/esm/api/resources/ssOs/types/GetSsoIdResponse.d.mts +23 -2
- package/dist/esm/api/resources/ssOs/types/GetSsoIdResponse.mjs +12 -1
- package/dist/esm/api/resources/ssOs/types/GetSsoResponse.d.mts +22 -1
- package/dist/esm/api/resources/ssOs/types/GetSsoResponse.mjs +15 -1
- package/dist/esm/api/resources/ssOs/types/PatchSsoIdResponse.d.mts +23 -2
- package/dist/esm/api/resources/ssOs/types/PatchSsoIdResponse.mjs +12 -1
- package/dist/esm/api/resources/ssOs/types/PostSsoResponse.d.mts +23 -2
- package/dist/esm/api/resources/ssOs/types/PostSsoResponse.mjs +12 -1
- package/dist/esm/api/resources/tags/client/Client.d.mts +50 -0
- package/dist/esm/api/resources/tags/client/Client.mjs +189 -0
- package/dist/esm/api/resources/tags/client/requests/DeleteTagsIdSubscribersSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/tags/client/requests/DeleteTagsIdSubscribersSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/tags/client/requests/GetTagsIdSubscribersRequest.d.mts +14 -0
- package/dist/esm/api/resources/tags/client/requests/GetTagsIdSubscribersRequest.mjs +2 -0
- package/dist/esm/api/resources/tags/client/requests/GetTagsIdSubscribersSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/tags/client/requests/GetTagsIdSubscribersSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/tags/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/tags/types/DeleteTagsIdSubscribersSubIdResponse.d.mts +3 -0
- package/dist/esm/api/resources/tags/types/DeleteTagsIdSubscribersSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/tags/types/GetTagsIdResponse.d.mts +4 -0
- package/dist/esm/api/resources/tags/types/GetTagsIdSubscribersResponse.d.mts +16 -0
- package/dist/esm/api/resources/tags/types/GetTagsIdSubscribersResponse.mjs +2 -0
- package/dist/esm/api/resources/tags/types/GetTagsIdSubscribersSubIdResponse.d.mts +6 -0
- package/dist/esm/api/resources/tags/types/GetTagsIdSubscribersSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/tags/types/GetTagsResponse.d.mts +4 -0
- package/dist/esm/api/resources/tags/types/PatchTagsIdResponse.d.mts +4 -0
- package/dist/esm/api/resources/tags/types/PostTagsResponse.d.mts +4 -0
- package/dist/esm/api/resources/tags/types/index.d.mts +3 -0
- package/dist/esm/api/resources/tags/types/index.mjs +3 -0
- package/dist/esm/api/resources/threads/client/Client.d.mts +240 -0
- package/dist/esm/api/resources/threads/client/Client.mjs +885 -0
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdPostsSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdPostsSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdReactionsRequest.d.mts +10 -0
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdReactionsRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdReactionsSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdReactionsSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdSubscribersSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdSubscribersSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPollRequest.d.mts +10 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPollRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPostsRequest.d.mts +14 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPostsSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPostsSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdReactionsRequest.d.mts +14 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdReactionsRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdReactionsSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdReactionsSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdSubscribersRequest.d.mts +14 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdSubscribersRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdSubscribersSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdSubscribersSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/PatchThreadsIdPollRequest.d.mts +18 -0
- package/dist/esm/api/resources/threads/client/requests/PatchThreadsIdPollRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/PostThreadsIdPollRequest.d.mts +35 -0
- package/dist/esm/api/resources/threads/client/requests/PostThreadsIdPollRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/PostThreadsIdReactionsRequest.d.mts +27 -0
- package/dist/esm/api/resources/threads/client/requests/PostThreadsIdReactionsRequest.mjs +11 -0
- package/dist/esm/api/resources/threads/client/requests/index.d.mts +14 -0
- package/dist/esm/api/resources/threads/types/DeleteThreadsIdPostsSubIdResponse.d.mts +3 -0
- package/dist/esm/api/resources/threads/types/DeleteThreadsIdPostsSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/DeleteThreadsIdReactionsResponse.d.mts +3 -0
- package/dist/esm/api/resources/threads/types/DeleteThreadsIdReactionsResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/DeleteThreadsIdReactionsSubIdResponse.d.mts +3 -0
- package/dist/esm/api/resources/threads/types/DeleteThreadsIdReactionsSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/DeleteThreadsIdSubscribersSubIdResponse.d.mts +3 -0
- package/dist/esm/api/resources/threads/types/DeleteThreadsIdSubscribersSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdPollResponse.d.mts +6 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdPollResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdPostsResponse.d.mts +16 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdPostsResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdPostsSubIdResponse.d.mts +6 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdPostsSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdReactionsResponse.d.mts +16 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdReactionsResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdReactionsSubIdResponse.d.mts +6 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdReactionsSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdResponse.d.mts +14 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdSubscribersResponse.d.mts +16 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdSubscribersResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdSubscribersSubIdResponse.d.mts +6 -0
- package/dist/esm/api/resources/threads/types/GetThreadsIdSubscribersSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/GetThreadsResponse.d.mts +14 -0
- package/dist/esm/api/resources/threads/types/PatchThreadsIdPollResponse.d.mts +6 -0
- package/dist/esm/api/resources/threads/types/PatchThreadsIdPollResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/PatchThreadsIdResponse.d.mts +14 -0
- package/dist/esm/api/resources/threads/types/PostThreadsIdPollResponse.d.mts +6 -0
- package/dist/esm/api/resources/threads/types/PostThreadsIdPollResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/PostThreadsIdReactionsResponse.d.mts +6 -0
- package/dist/esm/api/resources/threads/types/PostThreadsIdReactionsResponse.mjs +2 -0
- package/dist/esm/api/resources/threads/types/PostThreadsResponse.d.mts +14 -0
- package/dist/esm/api/resources/threads/types/index.d.mts +14 -0
- package/dist/esm/api/resources/threads/types/index.mjs +14 -0
- package/dist/esm/api/resources/users/client/Client.d.mts +100 -0
- package/dist/esm/api/resources/users/client/Client.mjs +378 -0
- package/dist/esm/api/resources/users/client/requests/DeleteUsersIdFollowersSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/users/client/requests/DeleteUsersIdFollowersSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/users/client/requests/DeleteUsersIdFollowingSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/users/client/requests/DeleteUsersIdFollowingSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowersRequest.d.mts +14 -0
- package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowersRequest.mjs +2 -0
- package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowersSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowersSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowingRequest.d.mts +14 -0
- package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowingRequest.mjs +2 -0
- package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowingSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowingSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/users/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/users/types/DeleteUsersIdFollowersSubIdResponse.d.mts +3 -0
- package/dist/esm/api/resources/users/types/DeleteUsersIdFollowersSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/users/types/DeleteUsersIdFollowingSubIdResponse.d.mts +3 -0
- package/dist/esm/api/resources/users/types/DeleteUsersIdFollowingSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/users/types/GetUsersIdFollowersResponse.d.mts +16 -0
- package/dist/esm/api/resources/users/types/GetUsersIdFollowersResponse.mjs +2 -0
- package/dist/esm/api/resources/users/types/GetUsersIdFollowersSubIdResponse.d.mts +6 -0
- package/dist/esm/api/resources/users/types/GetUsersIdFollowersSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/users/types/GetUsersIdFollowingResponse.d.mts +16 -0
- package/dist/esm/api/resources/users/types/GetUsersIdFollowingResponse.mjs +2 -0
- package/dist/esm/api/resources/users/types/GetUsersIdFollowingSubIdResponse.d.mts +6 -0
- package/dist/esm/api/resources/users/types/GetUsersIdFollowingSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/users/types/GetUsersIdResponse.d.mts +34 -14
- package/dist/esm/api/resources/users/types/GetUsersIdResponse.mjs +1 -11
- package/dist/esm/api/resources/users/types/GetUsersResponse.d.mts +34 -14
- package/dist/esm/api/resources/users/types/GetUsersResponse.mjs +1 -14
- package/dist/esm/api/resources/users/types/PatchUsersIdResponse.d.mts +34 -14
- package/dist/esm/api/resources/users/types/PatchUsersIdResponse.mjs +1 -11
- package/dist/esm/api/resources/users/types/index.d.mts +6 -0
- package/dist/esm/api/resources/users/types/index.mjs +6 -0
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +50 -0
- package/dist/esm/api/resources/webhooks/client/Client.mjs +192 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesRequest.d.mts +14 -0
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.d.mts +13 -0
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/webhooks/types/DeleteWebhooksIdDeliveriesSubIdResponse.d.mts +3 -0
- package/dist/esm/api/resources/webhooks/types/DeleteWebhooksIdDeliveriesSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/GetWebhooksIdDeliveriesResponse.d.mts +16 -0
- package/dist/esm/api/resources/webhooks/types/GetWebhooksIdDeliveriesResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/GetWebhooksIdDeliveriesSubIdResponse.d.mts +6 -0
- package/dist/esm/api/resources/webhooks/types/GetWebhooksIdDeliveriesSubIdResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/GetWebhooksIdResponse.d.mts +20 -2
- package/dist/esm/api/resources/webhooks/types/GetWebhooksResponse.d.mts +19 -1
- package/dist/esm/api/resources/webhooks/types/PostWebhooksResponse.d.mts +20 -2
- package/dist/esm/api/resources/webhooks/types/index.d.mts +3 -0
- package/dist/esm/api/resources/webhooks/types/index.mjs +3 -0
- package/dist/esm/api/types/IntegrationResponse.d.mts +25 -0
- package/dist/esm/api/types/IntegrationResponse.mjs +13 -0
- package/dist/esm/api/types/NotificationCreate.d.mts +23 -7
- package/dist/esm/api/types/NotificationCreate.mjs +10 -1
- package/dist/esm/api/types/NotificationList.d.mts +10 -8
- package/dist/esm/api/types/NotificationList.mjs +6 -4
- package/dist/esm/api/types/NotificationResponse.d.mts +25 -0
- package/dist/esm/api/types/NotificationResponse.mjs +2 -0
- package/dist/esm/api/types/PostResponse.d.mts +6 -0
- package/dist/esm/api/types/PrivateMessageResponse.d.mts +21 -0
- package/dist/esm/api/types/PrivateMessageResponse.mjs +2 -0
- package/dist/esm/api/types/ReportResponse.d.mts +6 -0
- package/dist/esm/api/types/RoleResponse.d.mts +4 -0
- package/dist/esm/api/types/SsoResponse.d.mts +22 -0
- package/dist/esm/api/types/SsoResponse.mjs +10 -0
- package/dist/esm/api/types/TagResponse.d.mts +4 -0
- package/dist/esm/api/types/ThreadResponse.d.mts +14 -0
- package/dist/esm/api/types/UserResponse.d.mts +34 -14
- package/dist/esm/api/types/UserResponse.mjs +1 -8
- package/dist/esm/api/types/WebhookResponse.d.mts +19 -0
- package/dist/esm/api/types/WebhookResponse.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +5 -0
- package/dist/esm/api/types/index.mjs +5 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +2068 -74
|
@@ -384,5 +384,194 @@ class TagsClient {
|
|
|
384
384
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/tags/{id}");
|
|
385
385
|
});
|
|
386
386
|
}
|
|
387
|
+
/**
|
|
388
|
+
* @param {Forum.GetTagsIdSubscribersRequest} request
|
|
389
|
+
* @param {TagsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
390
|
+
*
|
|
391
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
392
|
+
* @throws {@link Forum.NotFoundError}
|
|
393
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
394
|
+
* @throws {@link Forum.InternalServerError}
|
|
395
|
+
*
|
|
396
|
+
* @example
|
|
397
|
+
* await client.tags.listTagSubscribers({
|
|
398
|
+
* id: "id"
|
|
399
|
+
* })
|
|
400
|
+
*/
|
|
401
|
+
listTagSubscribers(request, requestOptions) {
|
|
402
|
+
return core.HttpResponsePromise.fromPromise(this.__listTagSubscribers(request, requestOptions));
|
|
403
|
+
}
|
|
404
|
+
__listTagSubscribers(request, requestOptions) {
|
|
405
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
406
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
407
|
+
const { id, cursor, limit } = request;
|
|
408
|
+
const _queryParams = {};
|
|
409
|
+
if (cursor != null) {
|
|
410
|
+
_queryParams.cursor = cursor;
|
|
411
|
+
}
|
|
412
|
+
if (limit != null) {
|
|
413
|
+
_queryParams.limit = limit.toString();
|
|
414
|
+
}
|
|
415
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
416
|
+
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);
|
|
417
|
+
const _response = yield core.fetcher({
|
|
418
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ForumEnvironment.Production, `tags/${core.url.encodePathParam(id)}/subscribers`),
|
|
419
|
+
method: "GET",
|
|
420
|
+
headers: _headers,
|
|
421
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
422
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
423
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
424
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
425
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
426
|
+
logging: this._options.logging,
|
|
427
|
+
});
|
|
428
|
+
if (_response.ok) {
|
|
429
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
430
|
+
}
|
|
431
|
+
if (_response.error.reason === "status-code") {
|
|
432
|
+
switch (_response.error.statusCode) {
|
|
433
|
+
case 401:
|
|
434
|
+
throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
435
|
+
case 404:
|
|
436
|
+
throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
|
|
437
|
+
case 429:
|
|
438
|
+
throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
439
|
+
case 500:
|
|
440
|
+
throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
|
|
441
|
+
default:
|
|
442
|
+
throw new errors.ForumError({
|
|
443
|
+
statusCode: _response.error.statusCode,
|
|
444
|
+
body: _response.error.body,
|
|
445
|
+
rawResponse: _response.rawResponse,
|
|
446
|
+
});
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/tags/{id}/subscribers");
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* @param {Forum.GetTagsIdSubscribersSubIdRequest} request
|
|
454
|
+
* @param {TagsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
455
|
+
*
|
|
456
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
457
|
+
* @throws {@link Forum.NotFoundError}
|
|
458
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
459
|
+
* @throws {@link Forum.InternalServerError}
|
|
460
|
+
*
|
|
461
|
+
* @example
|
|
462
|
+
* await client.tags.getASubscriberFromTag({
|
|
463
|
+
* id: "id",
|
|
464
|
+
* subId: "subId"
|
|
465
|
+
* })
|
|
466
|
+
*/
|
|
467
|
+
getASubscriberFromTag(request, requestOptions) {
|
|
468
|
+
return core.HttpResponsePromise.fromPromise(this.__getASubscriberFromTag(request, requestOptions));
|
|
469
|
+
}
|
|
470
|
+
__getASubscriberFromTag(request, requestOptions) {
|
|
471
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
472
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
473
|
+
const { id, subId } = request;
|
|
474
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
475
|
+
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);
|
|
476
|
+
const _response = yield core.fetcher({
|
|
477
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ForumEnvironment.Production, `tags/${core.url.encodePathParam(id)}/subscribers/${core.url.encodePathParam(subId)}`),
|
|
478
|
+
method: "GET",
|
|
479
|
+
headers: _headers,
|
|
480
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
481
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
482
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
483
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
484
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
485
|
+
logging: this._options.logging,
|
|
486
|
+
});
|
|
487
|
+
if (_response.ok) {
|
|
488
|
+
return {
|
|
489
|
+
data: _response.body,
|
|
490
|
+
rawResponse: _response.rawResponse,
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
if (_response.error.reason === "status-code") {
|
|
494
|
+
switch (_response.error.statusCode) {
|
|
495
|
+
case 401:
|
|
496
|
+
throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
497
|
+
case 404:
|
|
498
|
+
throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
|
|
499
|
+
case 429:
|
|
500
|
+
throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
501
|
+
case 500:
|
|
502
|
+
throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
|
|
503
|
+
default:
|
|
504
|
+
throw new errors.ForumError({
|
|
505
|
+
statusCode: _response.error.statusCode,
|
|
506
|
+
body: _response.error.body,
|
|
507
|
+
rawResponse: _response.rawResponse,
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/tags/{id}/subscribers/{subId}");
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* @param {Forum.DeleteTagsIdSubscribersSubIdRequest} request
|
|
516
|
+
* @param {TagsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
517
|
+
*
|
|
518
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
519
|
+
* @throws {@link Forum.NotFoundError}
|
|
520
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
521
|
+
* @throws {@link Forum.InternalServerError}
|
|
522
|
+
*
|
|
523
|
+
* @example
|
|
524
|
+
* await client.tags.deleteASubscriberFromTag({
|
|
525
|
+
* id: "id",
|
|
526
|
+
* subId: "subId"
|
|
527
|
+
* })
|
|
528
|
+
*/
|
|
529
|
+
deleteASubscriberFromTag(request, requestOptions) {
|
|
530
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteASubscriberFromTag(request, requestOptions));
|
|
531
|
+
}
|
|
532
|
+
__deleteASubscriberFromTag(request, requestOptions) {
|
|
533
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
534
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
535
|
+
const { id, subId } = request;
|
|
536
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
537
|
+
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);
|
|
538
|
+
const _response = yield core.fetcher({
|
|
539
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ForumEnvironment.Production, `tags/${core.url.encodePathParam(id)}/subscribers/${core.url.encodePathParam(subId)}`),
|
|
540
|
+
method: "DELETE",
|
|
541
|
+
headers: _headers,
|
|
542
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
543
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
544
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
545
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
546
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
547
|
+
logging: this._options.logging,
|
|
548
|
+
});
|
|
549
|
+
if (_response.ok) {
|
|
550
|
+
return {
|
|
551
|
+
data: _response.body,
|
|
552
|
+
rawResponse: _response.rawResponse,
|
|
553
|
+
};
|
|
554
|
+
}
|
|
555
|
+
if (_response.error.reason === "status-code") {
|
|
556
|
+
switch (_response.error.statusCode) {
|
|
557
|
+
case 401:
|
|
558
|
+
throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
559
|
+
case 404:
|
|
560
|
+
throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
|
|
561
|
+
case 429:
|
|
562
|
+
throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
563
|
+
case 500:
|
|
564
|
+
throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
|
|
565
|
+
default:
|
|
566
|
+
throw new errors.ForumError({
|
|
567
|
+
statusCode: _response.error.statusCode,
|
|
568
|
+
body: _response.error.body,
|
|
569
|
+
rawResponse: _response.rawResponse,
|
|
570
|
+
});
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/tags/{id}/subscribers/{subId}");
|
|
574
|
+
});
|
|
575
|
+
}
|
|
387
576
|
}
|
|
388
577
|
exports.TagsClient = TagsClient;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export type { DeleteTagsIdRequest } from "./DeleteTagsIdRequest.js";
|
|
2
|
+
export type { DeleteTagsIdSubscribersSubIdRequest } from "./DeleteTagsIdSubscribersSubIdRequest.js";
|
|
2
3
|
export type { GetTagsIdRequest } from "./GetTagsIdRequest.js";
|
|
4
|
+
export type { GetTagsIdSubscribersRequest } from "./GetTagsIdSubscribersRequest.js";
|
|
5
|
+
export type { GetTagsIdSubscribersSubIdRequest } from "./GetTagsIdSubscribersSubIdRequest.js";
|
|
3
6
|
export type { GetTagsRequest } from "./GetTagsRequest.js";
|
|
4
7
|
export type { PatchTagsIdRequest } from "./PatchTagsIdRequest.js";
|
|
5
8
|
export type { PostTagsRequest } from "./PostTagsRequest.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface GetTagsIdSubscribersResponse {
|
|
2
|
+
data: GetTagsIdSubscribersResponse.Data;
|
|
3
|
+
}
|
|
4
|
+
export declare namespace GetTagsIdSubscribersResponse {
|
|
5
|
+
interface Data {
|
|
6
|
+
items: Data.Items.Item[];
|
|
7
|
+
nextCursor?: string;
|
|
8
|
+
count: number;
|
|
9
|
+
}
|
|
10
|
+
namespace Data {
|
|
11
|
+
type Items = Items.Item[];
|
|
12
|
+
namespace Items {
|
|
13
|
+
type Item = {};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -17,6 +17,10 @@ export declare namespace GetTagsResponse {
|
|
|
17
17
|
/** Extended data */
|
|
18
18
|
extendedData?: Record<string, unknown>;
|
|
19
19
|
id: string;
|
|
20
|
+
/** Tag creation timestamp */
|
|
21
|
+
createdAt: string;
|
|
22
|
+
/** Tag last update timestamp */
|
|
23
|
+
updatedAt: string;
|
|
20
24
|
}
|
|
21
25
|
}
|
|
22
26
|
interface Meta {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export * from "./DeleteTagsIdResponse.js";
|
|
2
|
+
export * from "./DeleteTagsIdSubscribersSubIdResponse.js";
|
|
2
3
|
export * from "./GetTagsIdResponse.js";
|
|
4
|
+
export * from "./GetTagsIdSubscribersResponse.js";
|
|
5
|
+
export * from "./GetTagsIdSubscribersSubIdResponse.js";
|
|
3
6
|
export * from "./GetTagsResponse.js";
|
|
4
7
|
export * from "./PatchTagsIdResponse.js";
|
|
5
8
|
export * from "./PostTagsResponse.js";
|
|
@@ -15,7 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./DeleteTagsIdResponse.js"), exports);
|
|
18
|
+
__exportStar(require("./DeleteTagsIdSubscribersSubIdResponse.js"), exports);
|
|
18
19
|
__exportStar(require("./GetTagsIdResponse.js"), exports);
|
|
20
|
+
__exportStar(require("./GetTagsIdSubscribersResponse.js"), exports);
|
|
21
|
+
__exportStar(require("./GetTagsIdSubscribersSubIdResponse.js"), exports);
|
|
19
22
|
__exportStar(require("./GetTagsResponse.js"), exports);
|
|
20
23
|
__exportStar(require("./PatchTagsIdResponse.js"), exports);
|
|
21
24
|
__exportStar(require("./PostTagsResponse.js"), exports);
|
|
@@ -94,4 +94,244 @@ export declare class ThreadsClient {
|
|
|
94
94
|
*/
|
|
95
95
|
updateAThread(request: Forum.PatchThreadsIdRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.PatchThreadsIdResponse>;
|
|
96
96
|
private __updateAThread;
|
|
97
|
+
/**
|
|
98
|
+
* @param {Forum.GetThreadsIdPostsRequest} request
|
|
99
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
102
|
+
* @throws {@link Forum.NotFoundError}
|
|
103
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
104
|
+
* @throws {@link Forum.InternalServerError}
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* await client.threads.listThreadPosts({
|
|
108
|
+
* id: "id"
|
|
109
|
+
* })
|
|
110
|
+
*/
|
|
111
|
+
listThreadPosts(request: Forum.GetThreadsIdPostsRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.GetThreadsIdPostsResponse>;
|
|
112
|
+
private __listThreadPosts;
|
|
113
|
+
/**
|
|
114
|
+
* @param {Forum.GetThreadsIdPostsSubIdRequest} request
|
|
115
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
118
|
+
* @throws {@link Forum.NotFoundError}
|
|
119
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
120
|
+
* @throws {@link Forum.InternalServerError}
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* await client.threads.getAPostFromThread({
|
|
124
|
+
* id: "id",
|
|
125
|
+
* subId: "subId"
|
|
126
|
+
* })
|
|
127
|
+
*/
|
|
128
|
+
getAPostFromThread(request: Forum.GetThreadsIdPostsSubIdRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.GetThreadsIdPostsSubIdResponse>;
|
|
129
|
+
private __getAPostFromThread;
|
|
130
|
+
/**
|
|
131
|
+
* @param {Forum.DeleteThreadsIdPostsSubIdRequest} request
|
|
132
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
135
|
+
* @throws {@link Forum.NotFoundError}
|
|
136
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
137
|
+
* @throws {@link Forum.InternalServerError}
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* await client.threads.deleteAPostFromThread({
|
|
141
|
+
* id: "id",
|
|
142
|
+
* subId: "subId"
|
|
143
|
+
* })
|
|
144
|
+
*/
|
|
145
|
+
deleteAPostFromThread(request: Forum.DeleteThreadsIdPostsSubIdRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.DeleteThreadsIdPostsSubIdResponse>;
|
|
146
|
+
private __deleteAPostFromThread;
|
|
147
|
+
/**
|
|
148
|
+
* @param {Forum.GetThreadsIdReactionsRequest} request
|
|
149
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
150
|
+
*
|
|
151
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
152
|
+
* @throws {@link Forum.NotFoundError}
|
|
153
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
154
|
+
* @throws {@link Forum.InternalServerError}
|
|
155
|
+
*
|
|
156
|
+
* @example
|
|
157
|
+
* await client.threads.listThreadReactions({
|
|
158
|
+
* id: "id"
|
|
159
|
+
* })
|
|
160
|
+
*/
|
|
161
|
+
listThreadReactions(request: Forum.GetThreadsIdReactionsRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.GetThreadsIdReactionsResponse>;
|
|
162
|
+
private __listThreadReactions;
|
|
163
|
+
/**
|
|
164
|
+
* @param {Forum.PostThreadsIdReactionsRequest} request
|
|
165
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
166
|
+
*
|
|
167
|
+
* @throws {@link Forum.BadRequestError}
|
|
168
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
169
|
+
* @throws {@link Forum.NotFoundError}
|
|
170
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
171
|
+
* @throws {@link Forum.InternalServerError}
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* await client.threads.createAReactionInThread({
|
|
175
|
+
* id: "id",
|
|
176
|
+
* type: "LIKE"
|
|
177
|
+
* })
|
|
178
|
+
*/
|
|
179
|
+
createAReactionInThread(request: Forum.PostThreadsIdReactionsRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.PostThreadsIdReactionsResponse>;
|
|
180
|
+
private __createAReactionInThread;
|
|
181
|
+
/**
|
|
182
|
+
* Removes the authenticated user's reaction. No subId needed.
|
|
183
|
+
*
|
|
184
|
+
* @param {Forum.DeleteThreadsIdReactionsRequest} request
|
|
185
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
188
|
+
* @throws {@link Forum.NotFoundError}
|
|
189
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
190
|
+
* @throws {@link Forum.InternalServerError}
|
|
191
|
+
*
|
|
192
|
+
* @example
|
|
193
|
+
* await client.threads.removeYourReactionFromThread({
|
|
194
|
+
* id: "id"
|
|
195
|
+
* })
|
|
196
|
+
*/
|
|
197
|
+
removeYourReactionFromThread(request: Forum.DeleteThreadsIdReactionsRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.DeleteThreadsIdReactionsResponse>;
|
|
198
|
+
private __removeYourReactionFromThread;
|
|
199
|
+
/**
|
|
200
|
+
* @param {Forum.GetThreadsIdReactionsSubIdRequest} request
|
|
201
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
202
|
+
*
|
|
203
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
204
|
+
* @throws {@link Forum.NotFoundError}
|
|
205
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
206
|
+
* @throws {@link Forum.InternalServerError}
|
|
207
|
+
*
|
|
208
|
+
* @example
|
|
209
|
+
* await client.threads.getAReactionFromThread({
|
|
210
|
+
* id: "id",
|
|
211
|
+
* subId: "subId"
|
|
212
|
+
* })
|
|
213
|
+
*/
|
|
214
|
+
getAReactionFromThread(request: Forum.GetThreadsIdReactionsSubIdRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.GetThreadsIdReactionsSubIdResponse>;
|
|
215
|
+
private __getAReactionFromThread;
|
|
216
|
+
/**
|
|
217
|
+
* @param {Forum.DeleteThreadsIdReactionsSubIdRequest} request
|
|
218
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
219
|
+
*
|
|
220
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
221
|
+
* @throws {@link Forum.NotFoundError}
|
|
222
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
223
|
+
* @throws {@link Forum.InternalServerError}
|
|
224
|
+
*
|
|
225
|
+
* @example
|
|
226
|
+
* await client.threads.deleteAReactionFromThread({
|
|
227
|
+
* id: "id",
|
|
228
|
+
* subId: "subId"
|
|
229
|
+
* })
|
|
230
|
+
*/
|
|
231
|
+
deleteAReactionFromThread(request: Forum.DeleteThreadsIdReactionsSubIdRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.DeleteThreadsIdReactionsSubIdResponse>;
|
|
232
|
+
private __deleteAReactionFromThread;
|
|
233
|
+
/**
|
|
234
|
+
* @param {Forum.GetThreadsIdSubscribersRequest} request
|
|
235
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
236
|
+
*
|
|
237
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
238
|
+
* @throws {@link Forum.NotFoundError}
|
|
239
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
240
|
+
* @throws {@link Forum.InternalServerError}
|
|
241
|
+
*
|
|
242
|
+
* @example
|
|
243
|
+
* await client.threads.listThreadSubscribers({
|
|
244
|
+
* id: "id"
|
|
245
|
+
* })
|
|
246
|
+
*/
|
|
247
|
+
listThreadSubscribers(request: Forum.GetThreadsIdSubscribersRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.GetThreadsIdSubscribersResponse>;
|
|
248
|
+
private __listThreadSubscribers;
|
|
249
|
+
/**
|
|
250
|
+
* @param {Forum.GetThreadsIdSubscribersSubIdRequest} request
|
|
251
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
252
|
+
*
|
|
253
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
254
|
+
* @throws {@link Forum.NotFoundError}
|
|
255
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
256
|
+
* @throws {@link Forum.InternalServerError}
|
|
257
|
+
*
|
|
258
|
+
* @example
|
|
259
|
+
* await client.threads.getASubscriberFromThread({
|
|
260
|
+
* id: "id",
|
|
261
|
+
* subId: "subId"
|
|
262
|
+
* })
|
|
263
|
+
*/
|
|
264
|
+
getASubscriberFromThread(request: Forum.GetThreadsIdSubscribersSubIdRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.GetThreadsIdSubscribersSubIdResponse>;
|
|
265
|
+
private __getASubscriberFromThread;
|
|
266
|
+
/**
|
|
267
|
+
* @param {Forum.DeleteThreadsIdSubscribersSubIdRequest} request
|
|
268
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
269
|
+
*
|
|
270
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
271
|
+
* @throws {@link Forum.NotFoundError}
|
|
272
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
273
|
+
* @throws {@link Forum.InternalServerError}
|
|
274
|
+
*
|
|
275
|
+
* @example
|
|
276
|
+
* await client.threads.deleteASubscriberFromThread({
|
|
277
|
+
* id: "id",
|
|
278
|
+
* subId: "subId"
|
|
279
|
+
* })
|
|
280
|
+
*/
|
|
281
|
+
deleteASubscriberFromThread(request: Forum.DeleteThreadsIdSubscribersSubIdRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.DeleteThreadsIdSubscribersSubIdResponse>;
|
|
282
|
+
private __deleteASubscriberFromThread;
|
|
283
|
+
/**
|
|
284
|
+
* @param {Forum.GetThreadsIdPollRequest} request
|
|
285
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
286
|
+
*
|
|
287
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
288
|
+
* @throws {@link Forum.NotFoundError}
|
|
289
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
290
|
+
* @throws {@link Forum.InternalServerError}
|
|
291
|
+
*
|
|
292
|
+
* @example
|
|
293
|
+
* await client.threads.getThreadPoll({
|
|
294
|
+
* id: "id"
|
|
295
|
+
* })
|
|
296
|
+
*/
|
|
297
|
+
getThreadPoll(request: Forum.GetThreadsIdPollRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.GetThreadsIdPollResponse>;
|
|
298
|
+
private __getThreadPoll;
|
|
299
|
+
/**
|
|
300
|
+
* @param {Forum.PostThreadsIdPollRequest} request
|
|
301
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
302
|
+
*
|
|
303
|
+
* @throws {@link Forum.BadRequestError}
|
|
304
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
305
|
+
* @throws {@link Forum.NotFoundError}
|
|
306
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
307
|
+
* @throws {@link Forum.InternalServerError}
|
|
308
|
+
*
|
|
309
|
+
* @example
|
|
310
|
+
* await client.threads.createThreadPoll({
|
|
311
|
+
* id: "id",
|
|
312
|
+
* title: "title",
|
|
313
|
+
* options: [{
|
|
314
|
+
* title: "title"
|
|
315
|
+
* }]
|
|
316
|
+
* })
|
|
317
|
+
*/
|
|
318
|
+
createThreadPoll(request: Forum.PostThreadsIdPollRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.PostThreadsIdPollResponse>;
|
|
319
|
+
private __createThreadPoll;
|
|
320
|
+
/**
|
|
321
|
+
* @param {Forum.PatchThreadsIdPollRequest} request
|
|
322
|
+
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
323
|
+
*
|
|
324
|
+
* @throws {@link Forum.BadRequestError}
|
|
325
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
326
|
+
* @throws {@link Forum.NotFoundError}
|
|
327
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
328
|
+
* @throws {@link Forum.InternalServerError}
|
|
329
|
+
*
|
|
330
|
+
* @example
|
|
331
|
+
* await client.threads.updateThreadPoll({
|
|
332
|
+
* id: "id"
|
|
333
|
+
* })
|
|
334
|
+
*/
|
|
335
|
+
updateThreadPoll(request: Forum.PatchThreadsIdPollRequest, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<Forum.PatchThreadsIdPollResponse>;
|
|
336
|
+
private __updateThreadPoll;
|
|
97
337
|
}
|