@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
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@foru-ms/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "2.0.
|
|
47
|
-
"User-Agent": "@foru-ms/sdk/2.0.
|
|
46
|
+
"X-Fern-SDK-Version": "2.0.3",
|
|
47
|
+
"User-Agent": "@foru-ms/sdk/2.0.3",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
export interface GetIntegrationsIdResponse {
|
|
2
|
-
data
|
|
2
|
+
data?: GetIntegrationsIdResponse.Data;
|
|
3
3
|
}
|
|
4
4
|
export declare namespace GetIntegrationsIdResponse {
|
|
5
|
-
|
|
5
|
+
interface Data {
|
|
6
|
+
id: string;
|
|
7
|
+
/** Integration type */
|
|
8
|
+
type: Data.Type;
|
|
9
|
+
/** Integration name */
|
|
10
|
+
name: string;
|
|
11
|
+
/** Whether integration is active */
|
|
12
|
+
active: boolean;
|
|
13
|
+
/** Integration creation timestamp */
|
|
14
|
+
createdAt: string;
|
|
15
|
+
/** Integration last update timestamp */
|
|
16
|
+
updatedAt: string;
|
|
17
|
+
}
|
|
18
|
+
namespace Data {
|
|
19
|
+
/** Integration type */
|
|
20
|
+
const Type: {
|
|
21
|
+
readonly Slack: "SLACK";
|
|
22
|
+
readonly Discord: "DISCORD";
|
|
23
|
+
readonly Salesforce: "SALESFORCE";
|
|
24
|
+
readonly Hubspot: "HUBSPOT";
|
|
25
|
+
readonly Okta: "OKTA";
|
|
26
|
+
readonly Auth0: "AUTH0";
|
|
27
|
+
};
|
|
28
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
29
|
+
}
|
|
6
30
|
}
|
|
@@ -1,3 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GetIntegrationsIdResponse = void 0;
|
|
5
|
+
var GetIntegrationsIdResponse;
|
|
6
|
+
(function (GetIntegrationsIdResponse) {
|
|
7
|
+
let Data;
|
|
8
|
+
(function (Data) {
|
|
9
|
+
/** Integration type */
|
|
10
|
+
Data.Type = {
|
|
11
|
+
Slack: "SLACK",
|
|
12
|
+
Discord: "DISCORD",
|
|
13
|
+
Salesforce: "SALESFORCE",
|
|
14
|
+
Hubspot: "HUBSPOT",
|
|
15
|
+
Okta: "OKTA",
|
|
16
|
+
Auth0: "AUTH0",
|
|
17
|
+
};
|
|
18
|
+
})(Data = GetIntegrationsIdResponse.Data || (GetIntegrationsIdResponse.Data = {}));
|
|
19
|
+
})(GetIntegrationsIdResponse || (exports.GetIntegrationsIdResponse = GetIntegrationsIdResponse = {}));
|
|
@@ -5,7 +5,31 @@ export interface GetIntegrationsResponse {
|
|
|
5
5
|
export declare namespace GetIntegrationsResponse {
|
|
6
6
|
type Data = Data.Item[];
|
|
7
7
|
namespace Data {
|
|
8
|
-
|
|
8
|
+
interface Item {
|
|
9
|
+
id: string;
|
|
10
|
+
/** Integration type */
|
|
11
|
+
type: Item.Type;
|
|
12
|
+
/** Integration name */
|
|
13
|
+
name: string;
|
|
14
|
+
/** Whether integration is active */
|
|
15
|
+
active: boolean;
|
|
16
|
+
/** Integration creation timestamp */
|
|
17
|
+
createdAt: string;
|
|
18
|
+
/** Integration last update timestamp */
|
|
19
|
+
updatedAt: string;
|
|
20
|
+
}
|
|
21
|
+
namespace Item {
|
|
22
|
+
/** Integration type */
|
|
23
|
+
const Type: {
|
|
24
|
+
readonly Slack: "SLACK";
|
|
25
|
+
readonly Discord: "DISCORD";
|
|
26
|
+
readonly Salesforce: "SALESFORCE";
|
|
27
|
+
readonly Hubspot: "HUBSPOT";
|
|
28
|
+
readonly Okta: "OKTA";
|
|
29
|
+
readonly Auth0: "AUTH0";
|
|
30
|
+
};
|
|
31
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
32
|
+
}
|
|
9
33
|
}
|
|
10
34
|
interface Meta {
|
|
11
35
|
total: number;
|
|
@@ -1,3 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GetIntegrationsResponse = void 0;
|
|
5
|
+
var GetIntegrationsResponse;
|
|
6
|
+
(function (GetIntegrationsResponse) {
|
|
7
|
+
let Data;
|
|
8
|
+
(function (Data) {
|
|
9
|
+
let Item;
|
|
10
|
+
(function (Item) {
|
|
11
|
+
/** Integration type */
|
|
12
|
+
Item.Type = {
|
|
13
|
+
Slack: "SLACK",
|
|
14
|
+
Discord: "DISCORD",
|
|
15
|
+
Salesforce: "SALESFORCE",
|
|
16
|
+
Hubspot: "HUBSPOT",
|
|
17
|
+
Okta: "OKTA",
|
|
18
|
+
Auth0: "AUTH0",
|
|
19
|
+
};
|
|
20
|
+
})(Item = Data.Item || (Data.Item = {}));
|
|
21
|
+
})(Data = GetIntegrationsResponse.Data || (GetIntegrationsResponse.Data = {}));
|
|
22
|
+
})(GetIntegrationsResponse || (exports.GetIntegrationsResponse = GetIntegrationsResponse = {}));
|
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
export interface PatchIntegrationsIdResponse {
|
|
2
|
-
data
|
|
2
|
+
data?: PatchIntegrationsIdResponse.Data;
|
|
3
3
|
}
|
|
4
4
|
export declare namespace PatchIntegrationsIdResponse {
|
|
5
|
-
|
|
5
|
+
interface Data {
|
|
6
|
+
id: string;
|
|
7
|
+
/** Integration type */
|
|
8
|
+
type: Data.Type;
|
|
9
|
+
/** Integration name */
|
|
10
|
+
name: string;
|
|
11
|
+
/** Whether integration is active */
|
|
12
|
+
active: boolean;
|
|
13
|
+
/** Integration creation timestamp */
|
|
14
|
+
createdAt: string;
|
|
15
|
+
/** Integration last update timestamp */
|
|
16
|
+
updatedAt: string;
|
|
17
|
+
}
|
|
18
|
+
namespace Data {
|
|
19
|
+
/** Integration type */
|
|
20
|
+
const Type: {
|
|
21
|
+
readonly Slack: "SLACK";
|
|
22
|
+
readonly Discord: "DISCORD";
|
|
23
|
+
readonly Salesforce: "SALESFORCE";
|
|
24
|
+
readonly Hubspot: "HUBSPOT";
|
|
25
|
+
readonly Okta: "OKTA";
|
|
26
|
+
readonly Auth0: "AUTH0";
|
|
27
|
+
};
|
|
28
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
29
|
+
}
|
|
6
30
|
}
|
|
@@ -1,3 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PatchIntegrationsIdResponse = void 0;
|
|
5
|
+
var PatchIntegrationsIdResponse;
|
|
6
|
+
(function (PatchIntegrationsIdResponse) {
|
|
7
|
+
let Data;
|
|
8
|
+
(function (Data) {
|
|
9
|
+
/** Integration type */
|
|
10
|
+
Data.Type = {
|
|
11
|
+
Slack: "SLACK",
|
|
12
|
+
Discord: "DISCORD",
|
|
13
|
+
Salesforce: "SALESFORCE",
|
|
14
|
+
Hubspot: "HUBSPOT",
|
|
15
|
+
Okta: "OKTA",
|
|
16
|
+
Auth0: "AUTH0",
|
|
17
|
+
};
|
|
18
|
+
})(Data = PatchIntegrationsIdResponse.Data || (PatchIntegrationsIdResponse.Data = {}));
|
|
19
|
+
})(PatchIntegrationsIdResponse || (exports.PatchIntegrationsIdResponse = PatchIntegrationsIdResponse = {}));
|
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
export interface PostIntegrationsResponse {
|
|
2
|
-
data
|
|
2
|
+
data?: PostIntegrationsResponse.Data;
|
|
3
3
|
}
|
|
4
4
|
export declare namespace PostIntegrationsResponse {
|
|
5
|
-
|
|
5
|
+
interface Data {
|
|
6
|
+
id: string;
|
|
7
|
+
/** Integration type */
|
|
8
|
+
type: Data.Type;
|
|
9
|
+
/** Integration name */
|
|
10
|
+
name: string;
|
|
11
|
+
/** Whether integration is active */
|
|
12
|
+
active: boolean;
|
|
13
|
+
/** Integration creation timestamp */
|
|
14
|
+
createdAt: string;
|
|
15
|
+
/** Integration last update timestamp */
|
|
16
|
+
updatedAt: string;
|
|
17
|
+
}
|
|
18
|
+
namespace Data {
|
|
19
|
+
/** Integration type */
|
|
20
|
+
const Type: {
|
|
21
|
+
readonly Slack: "SLACK";
|
|
22
|
+
readonly Discord: "DISCORD";
|
|
23
|
+
readonly Salesforce: "SALESFORCE";
|
|
24
|
+
readonly Hubspot: "HUBSPOT";
|
|
25
|
+
readonly Okta: "OKTA";
|
|
26
|
+
readonly Auth0: "AUTH0";
|
|
27
|
+
};
|
|
28
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
29
|
+
}
|
|
6
30
|
}
|
|
@@ -1,3 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PostIntegrationsResponse = void 0;
|
|
5
|
+
var PostIntegrationsResponse;
|
|
6
|
+
(function (PostIntegrationsResponse) {
|
|
7
|
+
let Data;
|
|
8
|
+
(function (Data) {
|
|
9
|
+
/** Integration type */
|
|
10
|
+
Data.Type = {
|
|
11
|
+
Slack: "SLACK",
|
|
12
|
+
Discord: "DISCORD",
|
|
13
|
+
Salesforce: "SALESFORCE",
|
|
14
|
+
Hubspot: "HUBSPOT",
|
|
15
|
+
Okta: "OKTA",
|
|
16
|
+
Auth0: "AUTH0",
|
|
17
|
+
};
|
|
18
|
+
})(Data = PostIntegrationsResponse.Data || (PostIntegrationsResponse.Data = {}));
|
|
19
|
+
})(PostIntegrationsResponse || (exports.PostIntegrationsResponse = PostIntegrationsResponse = {}));
|
|
@@ -6,16 +6,32 @@
|
|
|
6
6
|
* }
|
|
7
7
|
*/
|
|
8
8
|
export interface PostNotificationsRequest {
|
|
9
|
-
/** Target user ID to receive notification */
|
|
9
|
+
/** Target user ID to receive notification (maps to userId) */
|
|
10
10
|
userId: string;
|
|
11
|
+
/** User ID who triggered the notification (optional, defaults to authenticated user) */
|
|
12
|
+
notifierId?: string;
|
|
11
13
|
/** Notification type (e.g. mention, reply, follow) */
|
|
12
14
|
type: string;
|
|
13
|
-
/** Notification
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
|
|
15
|
+
/** Notification text content */
|
|
16
|
+
description?: string;
|
|
17
|
+
/** Related thread ID */
|
|
18
|
+
threadId?: string;
|
|
19
|
+
/** Related post ID */
|
|
20
|
+
postId?: string;
|
|
21
|
+
/** Related private message ID */
|
|
22
|
+
privateMessageId?: string;
|
|
23
|
+
/** Initial notification status */
|
|
24
|
+
status?: PostNotificationsRequest.Status;
|
|
19
25
|
/** Additional notification data */
|
|
20
26
|
extendedData?: Record<string, unknown>;
|
|
21
27
|
}
|
|
28
|
+
export declare namespace PostNotificationsRequest {
|
|
29
|
+
/** Initial notification status */
|
|
30
|
+
const Status: {
|
|
31
|
+
readonly Read: "read";
|
|
32
|
+
readonly Unread: "unread";
|
|
33
|
+
readonly Dismissed: "dismissed";
|
|
34
|
+
readonly Archived: "archived";
|
|
35
|
+
};
|
|
36
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
37
|
+
}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PostNotificationsRequest = void 0;
|
|
5
|
+
var PostNotificationsRequest;
|
|
6
|
+
(function (PostNotificationsRequest) {
|
|
7
|
+
/** Initial notification status */
|
|
8
|
+
PostNotificationsRequest.Status = {
|
|
9
|
+
Read: "read",
|
|
10
|
+
Unread: "unread",
|
|
11
|
+
Dismissed: "dismissed",
|
|
12
|
+
Archived: "archived",
|
|
13
|
+
};
|
|
14
|
+
})(PostNotificationsRequest || (exports.PostNotificationsRequest = PostNotificationsRequest = {}));
|
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
export interface GetNotificationsIdResponse {
|
|
2
|
-
data
|
|
2
|
+
data?: GetNotificationsIdResponse.Data;
|
|
3
3
|
}
|
|
4
4
|
export declare namespace GetNotificationsIdResponse {
|
|
5
|
-
|
|
5
|
+
interface Data {
|
|
6
|
+
id: string;
|
|
7
|
+
/** Recipient user ID */
|
|
8
|
+
userId: string;
|
|
9
|
+
/** User ID who triggered the notification */
|
|
10
|
+
notifierId: string;
|
|
11
|
+
/** Notification type */
|
|
12
|
+
type: string | null;
|
|
13
|
+
/** Notification text content */
|
|
14
|
+
description: string | null;
|
|
15
|
+
/** Notification status (read, unread, dismissed, archived) */
|
|
16
|
+
status: string | null;
|
|
17
|
+
/** Related thread ID */
|
|
18
|
+
threadId: string | null;
|
|
19
|
+
/** Related post ID */
|
|
20
|
+
postId: string | null;
|
|
21
|
+
/** Related private message ID */
|
|
22
|
+
privateMessageId: string | null;
|
|
23
|
+
/** Additional notification data */
|
|
24
|
+
extendedData: Record<string, unknown> | null;
|
|
25
|
+
/** Notification creation timestamp */
|
|
26
|
+
createdAt: string;
|
|
27
|
+
/** Notification last update timestamp */
|
|
28
|
+
updatedAt: string;
|
|
29
|
+
}
|
|
6
30
|
}
|
|
@@ -5,7 +5,31 @@ export interface GetNotificationsResponse {
|
|
|
5
5
|
export declare namespace GetNotificationsResponse {
|
|
6
6
|
type Data = Data.Item[];
|
|
7
7
|
namespace Data {
|
|
8
|
-
|
|
8
|
+
interface Item {
|
|
9
|
+
id: string;
|
|
10
|
+
/** Recipient user ID */
|
|
11
|
+
userId: string;
|
|
12
|
+
/** User ID who triggered the notification */
|
|
13
|
+
notifierId: string;
|
|
14
|
+
/** Notification type */
|
|
15
|
+
type: string | null;
|
|
16
|
+
/** Notification text content */
|
|
17
|
+
description: string | null;
|
|
18
|
+
/** Notification status (read, unread, dismissed, archived) */
|
|
19
|
+
status: string | null;
|
|
20
|
+
/** Related thread ID */
|
|
21
|
+
threadId: string | null;
|
|
22
|
+
/** Related post ID */
|
|
23
|
+
postId: string | null;
|
|
24
|
+
/** Related private message ID */
|
|
25
|
+
privateMessageId: string | null;
|
|
26
|
+
/** Additional notification data */
|
|
27
|
+
extendedData: Record<string, unknown> | null;
|
|
28
|
+
/** Notification creation timestamp */
|
|
29
|
+
createdAt: string;
|
|
30
|
+
/** Notification last update timestamp */
|
|
31
|
+
updatedAt: string;
|
|
32
|
+
}
|
|
9
33
|
}
|
|
10
34
|
interface Meta {
|
|
11
35
|
total: number;
|
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
export interface PatchNotificationsIdResponse {
|
|
2
|
-
data
|
|
2
|
+
data?: PatchNotificationsIdResponse.Data;
|
|
3
3
|
}
|
|
4
4
|
export declare namespace PatchNotificationsIdResponse {
|
|
5
|
-
|
|
5
|
+
interface Data {
|
|
6
|
+
id: string;
|
|
7
|
+
/** Recipient user ID */
|
|
8
|
+
userId: string;
|
|
9
|
+
/** User ID who triggered the notification */
|
|
10
|
+
notifierId: string;
|
|
11
|
+
/** Notification type */
|
|
12
|
+
type: string | null;
|
|
13
|
+
/** Notification text content */
|
|
14
|
+
description: string | null;
|
|
15
|
+
/** Notification status (read, unread, dismissed, archived) */
|
|
16
|
+
status: string | null;
|
|
17
|
+
/** Related thread ID */
|
|
18
|
+
threadId: string | null;
|
|
19
|
+
/** Related post ID */
|
|
20
|
+
postId: string | null;
|
|
21
|
+
/** Related private message ID */
|
|
22
|
+
privateMessageId: string | null;
|
|
23
|
+
/** Additional notification data */
|
|
24
|
+
extendedData: Record<string, unknown> | null;
|
|
25
|
+
/** Notification creation timestamp */
|
|
26
|
+
createdAt: string;
|
|
27
|
+
/** Notification last update timestamp */
|
|
28
|
+
updatedAt: string;
|
|
29
|
+
}
|
|
6
30
|
}
|
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
export interface PostNotificationsResponse {
|
|
2
|
-
data
|
|
2
|
+
data?: PostNotificationsResponse.Data;
|
|
3
3
|
}
|
|
4
4
|
export declare namespace PostNotificationsResponse {
|
|
5
|
-
|
|
5
|
+
interface Data {
|
|
6
|
+
id: string;
|
|
7
|
+
/** Recipient user ID */
|
|
8
|
+
userId: string;
|
|
9
|
+
/** User ID who triggered the notification */
|
|
10
|
+
notifierId: string;
|
|
11
|
+
/** Notification type */
|
|
12
|
+
type: string | null;
|
|
13
|
+
/** Notification text content */
|
|
14
|
+
description: string | null;
|
|
15
|
+
/** Notification status (read, unread, dismissed, archived) */
|
|
16
|
+
status: string | null;
|
|
17
|
+
/** Related thread ID */
|
|
18
|
+
threadId: string | null;
|
|
19
|
+
/** Related post ID */
|
|
20
|
+
postId: string | null;
|
|
21
|
+
/** Related private message ID */
|
|
22
|
+
privateMessageId: string | null;
|
|
23
|
+
/** Additional notification data */
|
|
24
|
+
extendedData: Record<string, unknown> | null;
|
|
25
|
+
/** Notification creation timestamp */
|
|
26
|
+
createdAt: string;
|
|
27
|
+
/** Notification last update timestamp */
|
|
28
|
+
updatedAt: string;
|
|
29
|
+
}
|
|
6
30
|
}
|
|
@@ -94,4 +94,140 @@ export declare class PostsClient {
|
|
|
94
94
|
*/
|
|
95
95
|
updateAPost(request: Forum.PatchPostsIdRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<Forum.PatchPostsIdResponse>;
|
|
96
96
|
private __updateAPost;
|
|
97
|
+
/**
|
|
98
|
+
* @param {Forum.GetPostsIdReactionsRequest} request
|
|
99
|
+
* @param {PostsClient.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.posts.listPostReactions({
|
|
108
|
+
* id: "id"
|
|
109
|
+
* })
|
|
110
|
+
*/
|
|
111
|
+
listPostReactions(request: Forum.GetPostsIdReactionsRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<Forum.GetPostsIdReactionsResponse>;
|
|
112
|
+
private __listPostReactions;
|
|
113
|
+
/**
|
|
114
|
+
* @param {Forum.PostPostsIdReactionsRequest} request
|
|
115
|
+
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link Forum.BadRequestError}
|
|
118
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
119
|
+
* @throws {@link Forum.NotFoundError}
|
|
120
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
121
|
+
* @throws {@link Forum.InternalServerError}
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* await client.posts.createAReactionInPost({
|
|
125
|
+
* id: "id",
|
|
126
|
+
* type: "LIKE"
|
|
127
|
+
* })
|
|
128
|
+
*/
|
|
129
|
+
createAReactionInPost(request: Forum.PostPostsIdReactionsRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<Forum.PostPostsIdReactionsResponse>;
|
|
130
|
+
private __createAReactionInPost;
|
|
131
|
+
/**
|
|
132
|
+
* Removes the authenticated user's reaction. No subId needed.
|
|
133
|
+
*
|
|
134
|
+
* @param {Forum.DeletePostsIdReactionsRequest} request
|
|
135
|
+
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
138
|
+
* @throws {@link Forum.NotFoundError}
|
|
139
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
140
|
+
* @throws {@link Forum.InternalServerError}
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* await client.posts.removeYourReactionFromPost({
|
|
144
|
+
* id: "id"
|
|
145
|
+
* })
|
|
146
|
+
*/
|
|
147
|
+
removeYourReactionFromPost(request: Forum.DeletePostsIdReactionsRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<Forum.DeletePostsIdReactionsResponse>;
|
|
148
|
+
private __removeYourReactionFromPost;
|
|
149
|
+
/**
|
|
150
|
+
* @param {Forum.GetPostsIdReactionsSubIdRequest} request
|
|
151
|
+
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
154
|
+
* @throws {@link Forum.NotFoundError}
|
|
155
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
156
|
+
* @throws {@link Forum.InternalServerError}
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* await client.posts.getAReactionFromPost({
|
|
160
|
+
* id: "id",
|
|
161
|
+
* subId: "subId"
|
|
162
|
+
* })
|
|
163
|
+
*/
|
|
164
|
+
getAReactionFromPost(request: Forum.GetPostsIdReactionsSubIdRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<Forum.GetPostsIdReactionsSubIdResponse>;
|
|
165
|
+
private __getAReactionFromPost;
|
|
166
|
+
/**
|
|
167
|
+
* @param {Forum.DeletePostsIdReactionsSubIdRequest} request
|
|
168
|
+
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
169
|
+
*
|
|
170
|
+
* @throws {@link Forum.UnauthorizedError}
|
|
171
|
+
* @throws {@link Forum.NotFoundError}
|
|
172
|
+
* @throws {@link Forum.TooManyRequestsError}
|
|
173
|
+
* @throws {@link Forum.InternalServerError}
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
* await client.posts.deleteAReactionFromPost({
|
|
177
|
+
* id: "id",
|
|
178
|
+
* subId: "subId"
|
|
179
|
+
* })
|
|
180
|
+
*/
|
|
181
|
+
deleteAReactionFromPost(request: Forum.DeletePostsIdReactionsSubIdRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<Forum.DeletePostsIdReactionsSubIdResponse>;
|
|
182
|
+
private __deleteAReactionFromPost;
|
|
183
|
+
/**
|
|
184
|
+
* @param {Forum.GetPostsIdPostsRequest} request
|
|
185
|
+
* @param {PostsClient.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.posts.listPostPosts({
|
|
194
|
+
* id: "id"
|
|
195
|
+
* })
|
|
196
|
+
*/
|
|
197
|
+
listPostPosts(request: Forum.GetPostsIdPostsRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<Forum.GetPostsIdPostsResponse>;
|
|
198
|
+
private __listPostPosts;
|
|
199
|
+
/**
|
|
200
|
+
* @param {Forum.GetPostsIdPostsSubIdRequest} request
|
|
201
|
+
* @param {PostsClient.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.posts.getAPostFromPost({
|
|
210
|
+
* id: "id",
|
|
211
|
+
* subId: "subId"
|
|
212
|
+
* })
|
|
213
|
+
*/
|
|
214
|
+
getAPostFromPost(request: Forum.GetPostsIdPostsSubIdRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<Forum.GetPostsIdPostsSubIdResponse>;
|
|
215
|
+
private __getAPostFromPost;
|
|
216
|
+
/**
|
|
217
|
+
* @param {Forum.DeletePostsIdPostsSubIdRequest} request
|
|
218
|
+
* @param {PostsClient.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.posts.deleteAPostFromPost({
|
|
227
|
+
* id: "id",
|
|
228
|
+
* subId: "subId"
|
|
229
|
+
* })
|
|
230
|
+
*/
|
|
231
|
+
deleteAPostFromPost(request: Forum.DeletePostsIdPostsSubIdRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<Forum.DeletePostsIdPostsSubIdResponse>;
|
|
232
|
+
private __deleteAPostFromPost;
|
|
97
233
|
}
|