@foru-ms/sdk 2.0.7 → 2.1.0
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/README.md +1 -1
- package/dist/cjs/BaseClient.d.ts +1 -0
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/auth/client/Client.d.ts +16 -13
- package/dist/cjs/api/resources/auth/client/Client.js +45 -42
- package/dist/cjs/api/resources/auth/client/requests/ForgotPasswordAuthRequest.d.ts +10 -0
- package/dist/cjs/api/resources/auth/client/requests/LoginAuthRequest.d.ts +13 -0
- package/dist/cjs/api/resources/auth/client/requests/RegisterAuthRequest.d.ts +24 -0
- package/dist/cjs/api/resources/auth/client/requests/ResetPasswordAuthRequest.d.ts +16 -0
- package/dist/cjs/api/resources/auth/client/requests/index.d.ts +4 -4
- package/dist/cjs/api/resources/auth/index.d.ts +0 -1
- package/dist/cjs/api/resources/auth/index.js +0 -1
- package/dist/cjs/api/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/index.js +0 -2
- package/dist/cjs/api/resources/integrations/client/Client.d.ts +43 -20
- package/dist/cjs/api/resources/integrations/client/Client.js +81 -61
- package/dist/cjs/api/resources/integrations/client/requests/CreateIntegrationsRequest.d.ts +16 -0
- package/dist/cjs/api/resources/integrations/client/requests/DeleteIntegrationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/integrations/client/requests/ListIntegrationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/integrations/client/requests/RetrieveIntegrationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/integrations/client/requests/UpdateIntegrationsRequest.d.ts +16 -0
- package/dist/cjs/api/resources/integrations/client/requests/index.d.ts +5 -5
- package/dist/cjs/api/resources/integrations/types/UpdateIntegrationsResponse.d.ts +30 -0
- package/dist/cjs/api/resources/integrations/types/UpdateIntegrationsResponse.js +19 -0
- package/dist/cjs/api/resources/integrations/types/index.d.ts +1 -5
- package/dist/cjs/api/resources/integrations/types/index.js +1 -5
- package/dist/cjs/api/resources/notifications/client/Client.d.ts +33 -20
- package/dist/cjs/api/resources/notifications/client/Client.js +77 -61
- package/dist/cjs/api/resources/notifications/client/requests/CreateNotificationsRequest.d.ts +37 -0
- package/dist/cjs/api/resources/notifications/client/requests/CreateNotificationsRequest.js +14 -0
- package/dist/cjs/api/resources/notifications/client/requests/DeleteNotificationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/client/requests/ListNotificationsRequest.d.ts +15 -0
- package/dist/cjs/api/resources/notifications/client/requests/RetrieveNotificationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/notifications/client/requests/UpdateNotificationsRequest.d.ts +24 -0
- package/dist/cjs/api/resources/notifications/client/requests/UpdateNotificationsRequest.js +14 -0
- package/dist/cjs/api/resources/notifications/client/requests/index.d.ts +5 -5
- package/dist/cjs/api/resources/notifications/types/ListNotificationsRequestStatus.d.ts +7 -0
- package/dist/cjs/api/resources/notifications/types/ListNotificationsRequestStatus.js +10 -0
- package/dist/cjs/api/resources/notifications/types/UpdateNotificationsResponse.d.ts +30 -0
- package/dist/cjs/api/resources/notifications/types/index.d.ts +2 -5
- package/dist/cjs/api/resources/notifications/types/index.js +2 -5
- package/dist/cjs/api/resources/posts/client/Client.d.ts +67 -66
- package/dist/cjs/api/resources/posts/client/Client.js +190 -216
- package/dist/cjs/api/resources/posts/client/requests/CreatePostsRequest.d.ts +18 -0
- package/dist/cjs/api/resources/posts/client/requests/CreateReactionPostsRequest.d.ts +27 -0
- package/dist/cjs/api/resources/posts/client/requests/CreateReactionPostsRequest.js +14 -0
- package/dist/cjs/api/resources/posts/client/requests/DeletePostPostsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/DeleteReactionPostsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/posts/client/requests/ListPostsPostsRequest.d.ts +23 -0
- package/dist/cjs/api/resources/posts/client/requests/ListPostsRequest.d.ts +19 -0
- package/dist/cjs/api/resources/posts/client/requests/ListReactionsPostsRequest.d.ts +17 -0
- package/dist/cjs/api/resources/posts/client/requests/RetrievePostPostsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/posts/client/requests/RetrievePostsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/posts/client/requests/RetrieveReactionPostsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/posts/client/requests/UpdatePostsRequest.d.ts +18 -0
- package/dist/cjs/api/resources/posts/client/requests/index.d.ts +12 -13
- package/dist/cjs/api/resources/posts/types/DeleteReactionPostsResponse.d.ts +8 -0
- package/dist/cjs/api/resources/posts/types/ListPostsPostsRequestSort.d.ts +5 -0
- package/dist/cjs/api/resources/posts/types/ListPostsPostsRequestSort.js +8 -0
- package/dist/cjs/api/resources/posts/types/ListPostsPostsRequestType.d.ts +8 -0
- package/dist/cjs/api/resources/posts/types/ListPostsPostsRequestType.js +11 -0
- package/dist/cjs/api/resources/posts/types/ListPostsRequestSort.d.ts +5 -0
- package/dist/cjs/api/resources/posts/types/ListPostsRequestSort.js +8 -0
- package/dist/cjs/api/resources/posts/types/ListPostsRequestType.d.ts +8 -0
- package/dist/cjs/api/resources/posts/types/ListPostsRequestType.js +11 -0
- package/dist/cjs/api/resources/posts/types/ListReactionsPostsRequestType.d.ts +7 -0
- package/dist/cjs/api/resources/posts/types/ListReactionsPostsRequestType.js +10 -0
- package/dist/cjs/api/resources/posts/types/RetrievePostPostsResponse.d.ts +27 -0
- package/dist/cjs/api/resources/posts/types/RetrieveReactionPostsResponse.d.ts +19 -0
- package/dist/cjs/api/resources/posts/types/UpdatePostsResponse.d.ts +23 -0
- package/dist/cjs/api/resources/posts/types/index.d.ts +9 -13
- package/dist/cjs/api/resources/posts/types/index.js +9 -13
- package/dist/cjs/api/resources/privateMessages/client/Client.d.ts +47 -32
- package/dist/cjs/api/resources/privateMessages/client/Client.js +112 -106
- package/dist/cjs/api/resources/privateMessages/client/requests/CreatePrivateMessagesRequest.d.ts +21 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/CreateReplyPrivateMessagesRequest.d.ts +24 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/DeletePrivateMessagesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/DeleteReplyPrivateMessagesRequest.d.ts +13 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/ListPrivateMessagesRequest.d.ts +12 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/ListRepliesPrivateMessagesRequest.d.ts +14 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/RetrievePrivateMessagesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/RetrieveReplyPrivateMessagesRequest.d.ts +13 -0
- package/dist/cjs/api/resources/privateMessages/client/requests/index.d.ts +8 -8
- package/dist/cjs/api/resources/privateMessages/types/RetrieveReplyPrivateMessagesResponse.d.ts +14 -0
- package/dist/cjs/api/resources/privateMessages/types/index.d.ts +1 -8
- package/dist/cjs/api/resources/privateMessages/types/index.js +1 -8
- package/dist/cjs/api/resources/reports/client/Client.d.ts +27 -16
- package/dist/cjs/api/resources/reports/client/Client.js +67 -50
- package/dist/cjs/api/resources/reports/client/requests/CreateReportsRequest.d.ts +22 -0
- package/dist/cjs/api/resources/reports/client/requests/DeleteReportsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/reports/client/requests/ListReportsRequest.d.ts +16 -0
- package/dist/cjs/api/resources/reports/client/requests/RetrieveReportsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/reports/client/requests/index.d.ts +4 -4
- package/dist/cjs/api/resources/reports/index.d.ts +0 -1
- package/dist/cjs/api/resources/reports/index.js +0 -1
- package/dist/cjs/api/resources/roles/client/Client.d.ts +33 -20
- package/dist/cjs/api/resources/roles/client/Client.js +71 -61
- package/dist/cjs/api/resources/roles/client/requests/CreateRolesRequest.d.ts +18 -0
- package/dist/cjs/api/resources/roles/client/requests/DeleteRolesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/roles/client/requests/ListRolesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/roles/client/requests/RetrieveRolesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/roles/client/requests/UpdateRolesRequest.d.ts +20 -0
- package/dist/cjs/api/resources/roles/client/requests/index.d.ts +5 -5
- package/dist/cjs/api/resources/roles/types/UpdateRolesResponse.d.ts +22 -0
- package/dist/cjs/api/resources/roles/types/index.d.ts +1 -5
- package/dist/cjs/api/resources/roles/types/index.js +1 -5
- package/dist/cjs/api/resources/ssOs/client/Client.d.ts +43 -20
- package/dist/cjs/api/resources/ssOs/client/Client.js +81 -61
- package/dist/cjs/api/resources/ssOs/client/requests/CreateSsOsRequest.d.ts +22 -0
- package/dist/cjs/api/resources/ssOs/client/requests/DeleteSsOsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/ssOs/client/requests/ListSsOsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/ssOs/client/requests/RetrieveSsOsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/ssOs/client/requests/UpdateSsOsRequest.d.ts +22 -0
- package/dist/cjs/api/resources/ssOs/client/requests/index.d.ts +5 -5
- package/dist/cjs/api/resources/ssOs/types/UpdateSsOsResponse.d.ts +27 -0
- package/dist/cjs/api/resources/ssOs/types/UpdateSsOsResponse.js +16 -0
- package/dist/cjs/api/resources/ssOs/types/index.d.ts +1 -5
- package/dist/cjs/api/resources/ssOs/types/index.js +1 -5
- package/dist/cjs/api/resources/tags/client/Client.d.ts +47 -32
- package/dist/cjs/api/resources/tags/client/Client.js +113 -104
- package/dist/cjs/api/resources/tags/client/requests/CreateTagsRequest.d.ts +18 -0
- package/dist/cjs/api/resources/tags/client/requests/DeleteSubscriberTagsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/tags/client/requests/DeleteTagsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/tags/client/requests/ListSubscribersTagsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/tags/client/requests/ListTagsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/tags/client/requests/RetrieveSubscriberTagsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/tags/client/requests/RetrieveTagsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/tags/client/requests/UpdateTagsRequest.d.ts +20 -0
- package/dist/cjs/api/resources/tags/client/requests/index.d.ts +8 -8
- package/dist/cjs/api/resources/tags/types/RetrieveSubscriberTagsResponse.d.ts +19 -0
- package/dist/cjs/api/resources/tags/types/UpdateTagsResponse.d.ts +22 -0
- package/dist/cjs/api/resources/tags/types/index.d.ts +2 -8
- package/dist/cjs/api/resources/tags/types/index.js +2 -8
- package/dist/cjs/api/resources/threads/client/Client.d.ts +93 -90
- package/dist/cjs/api/resources/threads/client/Client.js +264 -294
- package/dist/cjs/api/resources/threads/client/requests/CreatePollThreadsRequest.d.ts +35 -0
- package/dist/cjs/api/resources/threads/client/requests/CreateReactionThreadsRequest.d.ts +27 -0
- package/dist/cjs/api/resources/threads/client/requests/CreateReactionThreadsRequest.js +14 -0
- package/dist/cjs/api/resources/threads/client/requests/CreateThreadsRequest.d.ts +40 -0
- package/dist/cjs/api/resources/threads/client/requests/DeletePostThreadsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/threads/client/requests/DeleteReactionThreadsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/threads/client/requests/DeleteSubscriberThreadsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/threads/client/requests/ListPostsThreadsRequest.d.ts +23 -0
- package/dist/cjs/api/resources/threads/client/requests/ListReactionsThreadsRequest.d.ts +17 -0
- package/dist/cjs/api/resources/threads/client/requests/ListSubscribersThreadsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/threads/client/requests/ListThreadsRequest.d.ts +19 -0
- package/dist/cjs/api/resources/threads/client/requests/RetrievePollThreadsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/threads/client/requests/RetrievePostThreadsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/threads/client/requests/RetrieveReactionThreadsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/threads/client/requests/RetrieveSubscriberThreadsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/threads/client/requests/RetrieveThreadsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/threads/client/requests/UpdatePollThreadsRequest.d.ts +18 -0
- package/dist/cjs/api/resources/threads/client/requests/UpdateThreadsRequest.d.ts +22 -0
- package/dist/cjs/api/resources/threads/client/requests/index.d.ts +18 -19
- package/dist/cjs/api/resources/threads/types/DeleteReactionThreadsResponse.d.ts +8 -0
- package/dist/cjs/api/resources/threads/types/ListPostsThreadsRequestSort.d.ts +5 -0
- package/dist/cjs/api/resources/threads/types/ListPostsThreadsRequestSort.js +8 -0
- package/dist/cjs/api/resources/threads/types/ListPostsThreadsRequestType.d.ts +8 -0
- package/dist/cjs/api/resources/threads/types/ListPostsThreadsRequestType.js +11 -0
- package/dist/cjs/api/resources/threads/types/ListReactionsThreadsRequestType.d.ts +7 -0
- package/dist/cjs/api/resources/threads/types/ListReactionsThreadsRequestType.js +10 -0
- package/dist/cjs/api/resources/threads/types/ListThreadsRequestSort.d.ts +6 -0
- package/dist/cjs/api/resources/threads/types/ListThreadsRequestSort.js +9 -0
- package/dist/cjs/api/resources/threads/types/RetrievePostThreadsResponse.d.ts +26 -0
- package/dist/cjs/api/resources/threads/types/RetrieveReactionThreadsResponse.d.ts +19 -0
- package/dist/cjs/api/resources/threads/types/RetrieveSubscriberThreadsResponse.d.ts +19 -0
- package/dist/cjs/api/resources/threads/types/UpdateThreadsResponse.d.ts +55 -0
- package/dist/cjs/api/resources/threads/types/index.d.ts +9 -19
- package/dist/cjs/api/resources/threads/types/index.js +9 -19
- package/dist/cjs/api/resources/users/client/Client.d.ts +55 -40
- package/dist/cjs/api/resources/users/client/Client.js +144 -138
- package/dist/cjs/api/resources/users/client/requests/DeleteFollowerUsersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/users/client/requests/DeleteFollowingUsersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/users/client/requests/DeleteUsersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/users/client/requests/ListFollowersUsersRequest.d.ts +14 -0
- package/dist/cjs/api/resources/users/client/requests/ListFollowingUsersRequest.d.ts +14 -0
- package/dist/cjs/api/resources/users/client/requests/ListUsersRequest.d.ts +15 -0
- package/dist/cjs/api/resources/users/client/requests/RetrieveFollowerUsersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/users/client/requests/RetrieveFollowingUsersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/users/client/requests/RetrieveUsersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/users/client/requests/UpdateUsersRequest.d.ts +28 -0
- package/dist/cjs/api/resources/users/client/requests/index.d.ts +10 -10
- package/dist/cjs/api/resources/users/types/ListUsersRequestSort.d.ts +5 -0
- package/dist/cjs/api/resources/users/types/ListUsersRequestSort.js +8 -0
- package/dist/cjs/api/resources/users/types/RetrieveFollowerUsersResponse.d.ts +19 -0
- package/dist/cjs/api/resources/users/types/RetrieveFollowingUsersResponse.d.ts +19 -0
- package/dist/cjs/api/resources/users/types/UpdateUsersResponse.d.ts +43 -0
- package/dist/cjs/api/resources/users/types/index.d.ts +4 -10
- package/dist/cjs/api/resources/users/types/index.js +4 -10
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +51 -28
- package/dist/cjs/api/resources/webhooks/client/Client.js +105 -91
- package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhooksRequest.d.ts +18 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeleteDeliveryWebhooksRequest.d.ts +13 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ListDeliveriesWebhooksRequest.d.ts +14 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/webhooks/client/requests/RetrieveDeliveryWebhooksRequest.d.ts +13 -0
- package/dist/cjs/api/resources/webhooks/client/requests/RetrieveWebhooksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +7 -7
- package/dist/cjs/api/resources/webhooks/types/RetrieveDeliveryWebhooksResponse.d.ts +16 -0
- package/dist/cjs/api/resources/webhooks/types/index.d.ts +1 -7
- package/dist/cjs/api/resources/webhooks/types/index.js +1 -7
- package/dist/cjs/api/types/Auth.d.ts +1 -0
- package/dist/cjs/api/types/AuthListResponse.d.ts +18 -0
- package/dist/cjs/api/types/AuthResponse.d.ts +6 -1
- package/dist/cjs/api/types/ForgotPasswordResponse.d.ts +9 -0
- package/dist/cjs/api/types/Integration.d.ts +25 -0
- package/dist/cjs/api/types/Integration.js +16 -0
- package/dist/cjs/api/types/IntegrationListResponse.d.ts +42 -0
- package/dist/cjs/api/types/IntegrationListResponse.js +25 -0
- package/dist/cjs/api/types/IntegrationResponse.d.ts +26 -21
- package/dist/cjs/api/types/IntegrationResponse.js +12 -9
- package/dist/cjs/api/types/LoginResponse.d.ts +22 -0
- package/dist/cjs/api/types/MeResponse.d.ts +9 -0
- package/dist/cjs/api/types/Notification.d.ts +25 -0
- package/dist/cjs/api/types/NotificationListResponse.d.ts +42 -0
- package/dist/cjs/api/types/NotificationResponse.d.ts +28 -23
- package/dist/cjs/api/types/Post.d.ts +18 -0
- package/dist/cjs/api/types/PostListResponse.d.ts +35 -0
- package/dist/cjs/api/types/PostPost.d.ts +22 -0
- package/dist/cjs/api/types/PostPostListResponse.d.ts +37 -0
- package/dist/cjs/api/types/PostPostResponse.d.ts +27 -0
- package/dist/cjs/api/types/PostReaction.d.ts +14 -0
- package/dist/cjs/api/types/PostReactionCreate.d.ts +18 -0
- package/dist/cjs/api/types/PostReactionCreate.js +14 -0
- package/dist/cjs/api/types/PostReactionListResponse.d.ts +29 -0
- package/dist/cjs/api/types/PostReactionResponse.d.ts +19 -0
- package/dist/cjs/api/types/PostResponse.d.ts +21 -16
- package/dist/cjs/api/types/PrivateMessage.d.ts +21 -0
- package/dist/cjs/api/types/PrivateMessageListResponse.d.ts +38 -0
- package/dist/cjs/api/types/PrivateMessageReply.d.ts +9 -0
- package/dist/cjs/api/types/PrivateMessageReplyCreate.d.ts +14 -0
- package/dist/cjs/api/types/PrivateMessageReplyListResponse.d.ts +24 -0
- package/dist/cjs/api/types/PrivateMessageReplyResponse.d.ts +14 -0
- package/dist/cjs/api/types/PrivateMessageResponse.d.ts +24 -19
- package/dist/cjs/api/types/RegisterResponse.d.ts +22 -0
- package/dist/cjs/api/types/Report.d.ts +23 -0
- package/dist/cjs/api/types/ReportListResponse.d.ts +40 -0
- package/dist/cjs/api/types/ReportResponse.d.ts +26 -21
- package/dist/cjs/api/types/ResetPasswordResponse.d.ts +8 -0
- package/dist/cjs/api/types/Role.d.ts +17 -0
- package/dist/cjs/api/types/RoleListResponse.d.ts +34 -0
- package/dist/cjs/api/types/RoleResponse.d.ts +20 -15
- package/dist/cjs/api/types/Sso.d.ts +22 -0
- package/dist/cjs/api/types/Sso.js +13 -0
- package/dist/cjs/api/types/SsoListResponse.d.ts +39 -0
- package/dist/cjs/api/types/SsoListResponse.js +22 -0
- package/dist/cjs/api/types/SsoResponse.d.ts +23 -18
- package/dist/cjs/api/types/SsoResponse.js +9 -6
- package/dist/cjs/api/types/SuccessResponse.d.ts +8 -0
- package/dist/cjs/api/types/Tag.d.ts +17 -0
- package/dist/cjs/api/types/TagListResponse.d.ts +34 -0
- package/dist/cjs/api/types/TagResponse.d.ts +20 -15
- package/dist/cjs/api/types/TagSubscriber.d.ts +14 -0
- package/dist/cjs/api/types/TagSubscriberListResponse.d.ts +29 -0
- package/dist/cjs/api/types/TagSubscriberResponse.d.ts +19 -0
- package/dist/cjs/api/types/Thread.d.ts +30 -0
- package/dist/cjs/api/types/ThreadListResponse.d.ts +67 -0
- package/dist/cjs/api/types/ThreadPoll.d.ts +22 -0
- package/dist/cjs/api/types/ThreadPollCreate.d.ts +23 -0
- package/dist/cjs/api/types/ThreadPollListResponse.d.ts +37 -0
- package/dist/cjs/api/types/ThreadPollResponse.d.ts +27 -0
- package/dist/cjs/api/types/ThreadPost.d.ts +21 -0
- package/dist/cjs/api/types/ThreadPostListResponse.d.ts +36 -0
- package/dist/cjs/api/types/ThreadPostResponse.d.ts +26 -0
- package/dist/cjs/api/types/ThreadReaction.d.ts +14 -0
- package/dist/cjs/api/types/ThreadReactionCreate.d.ts +18 -0
- package/dist/cjs/api/types/ThreadReactionCreate.js +14 -0
- package/dist/cjs/api/types/ThreadReactionListResponse.d.ts +29 -0
- package/dist/cjs/api/types/ThreadReactionResponse.d.ts +19 -0
- package/dist/cjs/api/types/ThreadResponse.d.ts +46 -41
- package/dist/cjs/api/types/ThreadSubscriber.d.ts +14 -0
- package/dist/cjs/api/types/ThreadSubscriberListResponse.d.ts +29 -0
- package/dist/cjs/api/types/ThreadSubscriberResponse.d.ts +19 -0
- package/dist/cjs/api/types/User.d.ts +38 -0
- package/dist/cjs/api/types/UserFollower.d.ts +14 -0
- package/dist/cjs/api/types/UserFollowerListResponse.d.ts +29 -0
- package/dist/cjs/api/types/UserFollowerResponse.d.ts +19 -0
- package/dist/cjs/api/types/UserFollowing.d.ts +14 -0
- package/dist/cjs/api/types/UserFollowingListResponse.d.ts +29 -0
- package/dist/cjs/api/types/UserFollowingResponse.d.ts +19 -0
- package/dist/cjs/api/types/UserListResponse.d.ts +55 -0
- package/dist/cjs/api/types/UserResponse.d.ts +37 -32
- package/dist/cjs/api/types/Webhook.d.ts +19 -0
- package/dist/cjs/api/types/WebhookDelivery.d.ts +11 -0
- package/dist/cjs/api/types/WebhookDeliveryListResponse.d.ts +26 -0
- package/dist/cjs/api/types/WebhookDeliveryResponse.d.ts +16 -0
- package/dist/cjs/api/types/WebhookListResponse.d.ts +36 -0
- package/dist/cjs/api/types/WebhookResponse.d.ts +22 -17
- package/dist/cjs/api/types/index.d.ts +67 -0
- package/dist/cjs/api/types/index.js +67 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +1 -0
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/auth/client/Client.d.mts +16 -13
- package/dist/esm/api/resources/auth/client/Client.mjs +45 -42
- package/dist/esm/api/resources/auth/client/requests/ForgotPasswordAuthRequest.d.mts +10 -0
- package/dist/esm/api/resources/auth/client/requests/LoginAuthRequest.d.mts +13 -0
- package/dist/esm/api/resources/auth/client/requests/RegisterAuthRequest.d.mts +24 -0
- package/dist/esm/api/resources/auth/client/requests/ResetPasswordAuthRequest.d.mts +16 -0
- package/dist/esm/api/resources/auth/client/requests/index.d.mts +4 -4
- package/dist/esm/api/resources/auth/index.d.mts +0 -1
- package/dist/esm/api/resources/auth/index.mjs +0 -1
- package/dist/esm/api/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/index.mjs +0 -2
- package/dist/esm/api/resources/integrations/client/Client.d.mts +43 -20
- package/dist/esm/api/resources/integrations/client/Client.mjs +81 -61
- package/dist/esm/api/resources/integrations/client/requests/CreateIntegrationsRequest.d.mts +16 -0
- package/dist/esm/api/resources/integrations/client/requests/DeleteIntegrationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/integrations/client/requests/ListIntegrationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/integrations/client/requests/RetrieveIntegrationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/integrations/client/requests/UpdateIntegrationsRequest.d.mts +16 -0
- package/dist/esm/api/resources/integrations/client/requests/index.d.mts +5 -5
- package/dist/esm/api/resources/integrations/types/UpdateIntegrationsResponse.d.mts +30 -0
- package/dist/esm/api/resources/integrations/types/UpdateIntegrationsResponse.mjs +16 -0
- package/dist/esm/api/resources/integrations/types/index.d.mts +1 -5
- package/dist/esm/api/resources/integrations/types/index.mjs +1 -5
- package/dist/esm/api/resources/notifications/client/Client.d.mts +33 -20
- package/dist/esm/api/resources/notifications/client/Client.mjs +77 -61
- package/dist/esm/api/resources/notifications/client/requests/CreateNotificationsRequest.d.mts +37 -0
- package/dist/esm/api/resources/notifications/client/requests/CreateNotificationsRequest.mjs +11 -0
- package/dist/esm/api/resources/notifications/client/requests/DeleteNotificationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/notifications/client/requests/ListNotificationsRequest.d.mts +15 -0
- package/dist/esm/api/resources/notifications/client/requests/RetrieveNotificationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/notifications/client/requests/UpdateNotificationsRequest.d.mts +24 -0
- package/dist/esm/api/resources/notifications/client/requests/UpdateNotificationsRequest.mjs +11 -0
- package/dist/esm/api/resources/notifications/client/requests/index.d.mts +5 -5
- package/dist/esm/api/resources/notifications/types/ListNotificationsRequestStatus.d.mts +7 -0
- package/dist/esm/api/resources/notifications/types/ListNotificationsRequestStatus.mjs +7 -0
- package/dist/esm/api/resources/notifications/types/UpdateNotificationsResponse.d.mts +30 -0
- package/dist/esm/api/resources/notifications/types/index.d.mts +2 -5
- package/dist/esm/api/resources/notifications/types/index.mjs +2 -5
- package/dist/esm/api/resources/posts/client/Client.d.mts +67 -66
- package/dist/esm/api/resources/posts/client/Client.mjs +190 -216
- package/dist/esm/api/resources/posts/client/requests/CreatePostsRequest.d.mts +18 -0
- package/dist/esm/api/resources/posts/client/requests/CreateReactionPostsRequest.d.mts +27 -0
- package/dist/esm/api/resources/posts/client/requests/CreateReactionPostsRequest.mjs +11 -0
- package/dist/esm/api/resources/posts/client/requests/DeletePostPostsRequest.d.mts +13 -0
- package/dist/esm/api/resources/posts/client/requests/DeletePostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/DeleteReactionPostsRequest.d.mts +13 -0
- package/dist/esm/api/resources/posts/client/requests/ListPostsPostsRequest.d.mts +23 -0
- package/dist/esm/api/resources/posts/client/requests/ListPostsRequest.d.mts +19 -0
- package/dist/esm/api/resources/posts/client/requests/ListReactionsPostsRequest.d.mts +17 -0
- package/dist/esm/api/resources/posts/client/requests/RetrievePostPostsRequest.d.mts +13 -0
- package/dist/esm/api/resources/posts/client/requests/RetrievePostsRequest.d.mts +10 -0
- package/dist/esm/api/resources/posts/client/requests/RetrieveReactionPostsRequest.d.mts +13 -0
- package/dist/esm/api/resources/posts/client/requests/UpdatePostsRequest.d.mts +18 -0
- package/dist/esm/api/resources/posts/client/requests/index.d.mts +12 -13
- package/dist/esm/api/resources/posts/types/DeleteReactionPostsResponse.d.mts +8 -0
- package/dist/esm/api/resources/posts/types/ListPostsPostsRequestSort.d.mts +5 -0
- package/dist/esm/api/resources/posts/types/ListPostsPostsRequestSort.mjs +5 -0
- package/dist/esm/api/resources/posts/types/ListPostsPostsRequestType.d.mts +8 -0
- package/dist/esm/api/resources/posts/types/ListPostsPostsRequestType.mjs +8 -0
- package/dist/esm/api/resources/posts/types/ListPostsRequestSort.d.mts +5 -0
- package/dist/esm/api/resources/posts/types/ListPostsRequestSort.mjs +5 -0
- package/dist/esm/api/resources/posts/types/ListPostsRequestType.d.mts +8 -0
- package/dist/esm/api/resources/posts/types/ListPostsRequestType.mjs +8 -0
- package/dist/esm/api/resources/posts/types/ListReactionsPostsRequestType.d.mts +7 -0
- package/dist/esm/api/resources/posts/types/ListReactionsPostsRequestType.mjs +7 -0
- package/dist/esm/api/resources/posts/types/RetrievePostPostsResponse.d.mts +27 -0
- package/dist/esm/api/resources/posts/types/RetrieveReactionPostsResponse.d.mts +19 -0
- package/dist/esm/api/resources/posts/types/UpdatePostsResponse.d.mts +23 -0
- package/dist/esm/api/resources/posts/types/index.d.mts +9 -13
- package/dist/esm/api/resources/posts/types/index.mjs +9 -13
- package/dist/esm/api/resources/privateMessages/client/Client.d.mts +47 -32
- package/dist/esm/api/resources/privateMessages/client/Client.mjs +112 -106
- package/dist/esm/api/resources/privateMessages/client/requests/CreatePrivateMessagesRequest.d.mts +21 -0
- package/dist/esm/api/resources/privateMessages/client/requests/CreateReplyPrivateMessagesRequest.d.mts +24 -0
- package/dist/esm/api/resources/privateMessages/client/requests/DeletePrivateMessagesRequest.d.mts +10 -0
- package/dist/esm/api/resources/privateMessages/client/requests/DeleteReplyPrivateMessagesRequest.d.mts +13 -0
- package/dist/esm/api/resources/privateMessages/client/requests/ListPrivateMessagesRequest.d.mts +12 -0
- package/dist/esm/api/resources/privateMessages/client/requests/ListRepliesPrivateMessagesRequest.d.mts +14 -0
- package/dist/esm/api/resources/privateMessages/client/requests/RetrievePrivateMessagesRequest.d.mts +10 -0
- package/dist/esm/api/resources/privateMessages/client/requests/RetrieveReplyPrivateMessagesRequest.d.mts +13 -0
- package/dist/esm/api/resources/privateMessages/client/requests/index.d.mts +8 -8
- package/dist/esm/api/resources/privateMessages/types/RetrieveReplyPrivateMessagesResponse.d.mts +14 -0
- package/dist/esm/api/resources/privateMessages/types/index.d.mts +1 -8
- package/dist/esm/api/resources/privateMessages/types/index.mjs +1 -8
- package/dist/esm/api/resources/reports/client/Client.d.mts +27 -16
- package/dist/esm/api/resources/reports/client/Client.mjs +67 -50
- package/dist/esm/api/resources/reports/client/requests/CreateReportsRequest.d.mts +22 -0
- package/dist/esm/api/resources/reports/client/requests/DeleteReportsRequest.d.mts +10 -0
- package/dist/esm/api/resources/reports/client/requests/ListReportsRequest.d.mts +16 -0
- package/dist/esm/api/resources/reports/client/requests/RetrieveReportsRequest.d.mts +10 -0
- package/dist/esm/api/resources/reports/client/requests/index.d.mts +4 -4
- package/dist/esm/api/resources/reports/index.d.mts +0 -1
- package/dist/esm/api/resources/reports/index.mjs +0 -1
- package/dist/esm/api/resources/roles/client/Client.d.mts +33 -20
- package/dist/esm/api/resources/roles/client/Client.mjs +71 -61
- package/dist/esm/api/resources/roles/client/requests/CreateRolesRequest.d.mts +18 -0
- package/dist/esm/api/resources/roles/client/requests/DeleteRolesRequest.d.mts +10 -0
- package/dist/esm/api/resources/roles/client/requests/ListRolesRequest.d.mts +10 -0
- package/dist/esm/api/resources/roles/client/requests/RetrieveRolesRequest.d.mts +10 -0
- package/dist/esm/api/resources/roles/client/requests/UpdateRolesRequest.d.mts +20 -0
- package/dist/esm/api/resources/roles/client/requests/index.d.mts +5 -5
- package/dist/esm/api/resources/roles/types/UpdateRolesResponse.d.mts +22 -0
- package/dist/esm/api/resources/roles/types/index.d.mts +1 -5
- package/dist/esm/api/resources/roles/types/index.mjs +1 -5
- package/dist/esm/api/resources/ssOs/client/Client.d.mts +43 -20
- package/dist/esm/api/resources/ssOs/client/Client.mjs +81 -61
- package/dist/esm/api/resources/ssOs/client/requests/CreateSsOsRequest.d.mts +22 -0
- package/dist/esm/api/resources/ssOs/client/requests/DeleteSsOsRequest.d.mts +10 -0
- package/dist/esm/api/resources/ssOs/client/requests/ListSsOsRequest.d.mts +10 -0
- package/dist/esm/api/resources/ssOs/client/requests/RetrieveSsOsRequest.d.mts +10 -0
- package/dist/esm/api/resources/ssOs/client/requests/UpdateSsOsRequest.d.mts +22 -0
- package/dist/esm/api/resources/ssOs/client/requests/index.d.mts +5 -5
- package/dist/esm/api/resources/ssOs/types/UpdateSsOsResponse.d.mts +27 -0
- package/dist/esm/api/resources/ssOs/types/UpdateSsOsResponse.mjs +13 -0
- package/dist/esm/api/resources/ssOs/types/index.d.mts +1 -5
- package/dist/esm/api/resources/ssOs/types/index.mjs +1 -5
- package/dist/esm/api/resources/tags/client/Client.d.mts +47 -32
- package/dist/esm/api/resources/tags/client/Client.mjs +113 -104
- package/dist/esm/api/resources/tags/client/requests/CreateTagsRequest.d.mts +18 -0
- package/dist/esm/api/resources/tags/client/requests/DeleteSubscriberTagsRequest.d.mts +13 -0
- package/dist/esm/api/resources/tags/client/requests/DeleteTagsRequest.d.mts +10 -0
- package/dist/esm/api/resources/tags/client/requests/ListSubscribersTagsRequest.d.mts +14 -0
- package/dist/esm/api/resources/tags/client/requests/ListTagsRequest.d.mts +12 -0
- package/dist/esm/api/resources/tags/client/requests/RetrieveSubscriberTagsRequest.d.mts +13 -0
- package/dist/esm/api/resources/tags/client/requests/RetrieveTagsRequest.d.mts +10 -0
- package/dist/esm/api/resources/tags/client/requests/UpdateTagsRequest.d.mts +20 -0
- package/dist/esm/api/resources/tags/client/requests/index.d.mts +8 -8
- package/dist/esm/api/resources/tags/types/RetrieveSubscriberTagsResponse.d.mts +19 -0
- package/dist/esm/api/resources/tags/types/UpdateTagsResponse.d.mts +22 -0
- package/dist/esm/api/resources/tags/types/index.d.mts +2 -8
- package/dist/esm/api/resources/tags/types/index.mjs +2 -8
- package/dist/esm/api/resources/threads/client/Client.d.mts +93 -90
- package/dist/esm/api/resources/threads/client/Client.mjs +264 -294
- package/dist/esm/api/resources/threads/client/requests/CreatePollThreadsRequest.d.mts +35 -0
- package/dist/esm/api/resources/threads/client/requests/CreateReactionThreadsRequest.d.mts +27 -0
- package/dist/esm/api/resources/threads/client/requests/CreateReactionThreadsRequest.mjs +11 -0
- package/dist/esm/api/resources/threads/client/requests/CreateThreadsRequest.d.mts +40 -0
- package/dist/esm/api/resources/threads/client/requests/DeletePostThreadsRequest.d.mts +13 -0
- package/dist/esm/api/resources/threads/client/requests/DeleteReactionThreadsRequest.d.mts +13 -0
- package/dist/esm/api/resources/threads/client/requests/DeleteSubscriberThreadsRequest.d.mts +13 -0
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsRequest.d.mts +10 -0
- package/dist/esm/api/resources/threads/client/requests/ListPostsThreadsRequest.d.mts +23 -0
- package/dist/esm/api/resources/threads/client/requests/ListReactionsThreadsRequest.d.mts +17 -0
- package/dist/esm/api/resources/threads/client/requests/ListSubscribersThreadsRequest.d.mts +14 -0
- package/dist/esm/api/resources/threads/client/requests/ListThreadsRequest.d.mts +19 -0
- package/dist/esm/api/resources/threads/client/requests/RetrievePollThreadsRequest.d.mts +10 -0
- package/dist/esm/api/resources/threads/client/requests/RetrievePostThreadsRequest.d.mts +13 -0
- package/dist/esm/api/resources/threads/client/requests/RetrieveReactionThreadsRequest.d.mts +13 -0
- package/dist/esm/api/resources/threads/client/requests/RetrieveSubscriberThreadsRequest.d.mts +13 -0
- package/dist/esm/api/resources/threads/client/requests/RetrieveThreadsRequest.d.mts +10 -0
- package/dist/esm/api/resources/threads/client/requests/UpdatePollThreadsRequest.d.mts +18 -0
- package/dist/esm/api/resources/threads/client/requests/UpdateThreadsRequest.d.mts +22 -0
- package/dist/esm/api/resources/threads/client/requests/index.d.mts +18 -19
- package/dist/esm/api/resources/threads/types/DeleteReactionThreadsResponse.d.mts +8 -0
- package/dist/esm/api/resources/threads/types/ListPostsThreadsRequestSort.d.mts +5 -0
- package/dist/esm/api/resources/threads/types/ListPostsThreadsRequestSort.mjs +5 -0
- package/dist/esm/api/resources/threads/types/ListPostsThreadsRequestType.d.mts +8 -0
- package/dist/esm/api/resources/threads/types/ListPostsThreadsRequestType.mjs +8 -0
- package/dist/esm/api/resources/threads/types/ListReactionsThreadsRequestType.d.mts +7 -0
- package/dist/esm/api/resources/threads/types/ListReactionsThreadsRequestType.mjs +7 -0
- package/dist/esm/api/resources/threads/types/ListThreadsRequestSort.d.mts +6 -0
- package/dist/esm/api/resources/threads/types/ListThreadsRequestSort.mjs +6 -0
- package/dist/esm/api/resources/threads/types/RetrievePostThreadsResponse.d.mts +26 -0
- package/dist/esm/api/resources/threads/types/RetrieveReactionThreadsResponse.d.mts +19 -0
- package/dist/esm/api/resources/threads/types/RetrieveSubscriberThreadsResponse.d.mts +19 -0
- package/dist/esm/api/resources/threads/types/UpdateThreadsResponse.d.mts +55 -0
- package/dist/esm/api/resources/threads/types/index.d.mts +9 -19
- package/dist/esm/api/resources/threads/types/index.mjs +9 -19
- package/dist/esm/api/resources/users/client/Client.d.mts +55 -40
- package/dist/esm/api/resources/users/client/Client.mjs +144 -138
- package/dist/esm/api/resources/users/client/requests/DeleteFollowerUsersRequest.d.mts +13 -0
- package/dist/esm/api/resources/users/client/requests/DeleteFollowingUsersRequest.d.mts +13 -0
- package/dist/esm/api/resources/users/client/requests/DeleteUsersRequest.d.mts +10 -0
- package/dist/esm/api/resources/users/client/requests/ListFollowersUsersRequest.d.mts +14 -0
- package/dist/esm/api/resources/users/client/requests/ListFollowingUsersRequest.d.mts +14 -0
- package/dist/esm/api/resources/users/client/requests/ListUsersRequest.d.mts +15 -0
- package/dist/esm/api/resources/users/client/requests/RetrieveFollowerUsersRequest.d.mts +13 -0
- package/dist/esm/api/resources/users/client/requests/RetrieveFollowingUsersRequest.d.mts +13 -0
- package/dist/esm/api/resources/users/client/requests/RetrieveUsersRequest.d.mts +10 -0
- package/dist/esm/api/resources/users/client/requests/UpdateUsersRequest.d.mts +28 -0
- package/dist/esm/api/resources/users/client/requests/index.d.mts +10 -10
- package/dist/esm/api/resources/users/types/ListUsersRequestSort.d.mts +5 -0
- package/dist/esm/api/resources/users/types/ListUsersRequestSort.mjs +5 -0
- package/dist/esm/api/resources/users/types/RetrieveFollowerUsersResponse.d.mts +19 -0
- package/dist/esm/api/resources/users/types/RetrieveFollowingUsersResponse.d.mts +19 -0
- package/dist/esm/api/resources/users/types/UpdateUsersResponse.d.mts +43 -0
- package/dist/esm/api/resources/users/types/index.d.mts +4 -10
- package/dist/esm/api/resources/users/types/index.mjs +4 -10
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +51 -28
- package/dist/esm/api/resources/webhooks/client/Client.mjs +105 -91
- package/dist/esm/api/resources/webhooks/client/requests/CreateWebhooksRequest.d.mts +18 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeleteDeliveryWebhooksRequest.d.mts +13 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksRequest.d.mts +10 -0
- package/dist/esm/api/resources/webhooks/client/requests/ListDeliveriesWebhooksRequest.d.mts +14 -0
- package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksRequest.d.mts +10 -0
- package/dist/esm/api/resources/webhooks/client/requests/RetrieveDeliveryWebhooksRequest.d.mts +13 -0
- package/dist/esm/api/resources/webhooks/client/requests/RetrieveWebhooksRequest.d.mts +10 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +7 -7
- package/dist/esm/api/resources/webhooks/types/RetrieveDeliveryWebhooksResponse.d.mts +16 -0
- package/dist/esm/api/resources/webhooks/types/index.d.mts +1 -7
- package/dist/esm/api/resources/webhooks/types/index.mjs +1 -7
- package/dist/esm/api/types/Auth.d.mts +1 -0
- package/dist/esm/api/types/AuthListResponse.d.mts +18 -0
- package/dist/esm/api/types/AuthResponse.d.mts +6 -1
- package/dist/esm/api/types/ForgotPasswordResponse.d.mts +9 -0
- package/dist/esm/api/types/Integration.d.mts +25 -0
- package/dist/esm/api/types/Integration.mjs +13 -0
- package/dist/esm/api/types/IntegrationListResponse.d.mts +42 -0
- package/dist/esm/api/types/IntegrationListResponse.mjs +22 -0
- package/dist/esm/api/types/IntegrationResponse.d.mts +26 -21
- package/dist/esm/api/types/IntegrationResponse.mjs +12 -9
- package/dist/esm/api/types/LoginResponse.d.mts +22 -0
- package/dist/esm/api/types/MeResponse.d.mts +9 -0
- package/dist/esm/api/types/Notification.d.mts +25 -0
- package/dist/esm/api/types/NotificationListResponse.d.mts +42 -0
- package/dist/esm/api/types/NotificationResponse.d.mts +28 -23
- package/dist/esm/api/types/Post.d.mts +18 -0
- package/dist/esm/api/types/PostListResponse.d.mts +35 -0
- package/dist/esm/api/types/PostPost.d.mts +22 -0
- package/dist/esm/api/types/PostPostListResponse.d.mts +37 -0
- package/dist/esm/api/types/PostPostResponse.d.mts +27 -0
- package/dist/esm/api/types/PostReaction.d.mts +14 -0
- package/dist/esm/api/types/PostReactionCreate.d.mts +18 -0
- package/dist/esm/api/types/PostReactionCreate.mjs +11 -0
- package/dist/esm/api/types/PostReactionListResponse.d.mts +29 -0
- package/dist/esm/api/types/PostReactionResponse.d.mts +19 -0
- package/dist/esm/api/types/PostResponse.d.mts +21 -16
- package/dist/esm/api/types/PrivateMessage.d.mts +21 -0
- package/dist/esm/api/types/PrivateMessageListResponse.d.mts +38 -0
- package/dist/esm/api/types/PrivateMessageReply.d.mts +9 -0
- package/dist/esm/api/types/PrivateMessageReplyCreate.d.mts +14 -0
- package/dist/esm/api/types/PrivateMessageReplyListResponse.d.mts +24 -0
- package/dist/esm/api/types/PrivateMessageReplyResponse.d.mts +14 -0
- package/dist/esm/api/types/PrivateMessageResponse.d.mts +24 -19
- package/dist/esm/api/types/RegisterResponse.d.mts +22 -0
- package/dist/esm/api/types/Report.d.mts +23 -0
- package/dist/esm/api/types/ReportListResponse.d.mts +40 -0
- package/dist/esm/api/types/ReportResponse.d.mts +26 -21
- package/dist/esm/api/types/ResetPasswordResponse.d.mts +8 -0
- package/dist/esm/api/types/Role.d.mts +17 -0
- package/dist/esm/api/types/RoleListResponse.d.mts +34 -0
- package/dist/esm/api/types/RoleResponse.d.mts +20 -15
- package/dist/esm/api/types/Sso.d.mts +22 -0
- package/dist/esm/api/types/Sso.mjs +10 -0
- package/dist/esm/api/types/SsoListResponse.d.mts +39 -0
- package/dist/esm/api/types/SsoListResponse.mjs +19 -0
- package/dist/esm/api/types/SsoResponse.d.mts +23 -18
- package/dist/esm/api/types/SsoResponse.mjs +9 -6
- package/dist/esm/api/types/SuccessResponse.d.mts +8 -0
- package/dist/esm/api/types/Tag.d.mts +17 -0
- package/dist/esm/api/types/TagListResponse.d.mts +34 -0
- package/dist/esm/api/types/TagResponse.d.mts +20 -15
- package/dist/esm/api/types/TagSubscriber.d.mts +14 -0
- package/dist/esm/api/types/TagSubscriberListResponse.d.mts +29 -0
- package/dist/esm/api/types/TagSubscriberResponse.d.mts +19 -0
- package/dist/esm/api/types/Thread.d.mts +30 -0
- package/dist/esm/api/types/ThreadListResponse.d.mts +67 -0
- package/dist/esm/api/types/ThreadPoll.d.mts +22 -0
- package/dist/esm/api/types/ThreadPollCreate.d.mts +23 -0
- package/dist/esm/api/types/ThreadPollListResponse.d.mts +37 -0
- package/dist/esm/api/types/ThreadPollResponse.d.mts +27 -0
- package/dist/esm/api/types/ThreadPost.d.mts +21 -0
- package/dist/esm/api/types/ThreadPostListResponse.d.mts +36 -0
- package/dist/esm/api/types/ThreadPostResponse.d.mts +26 -0
- package/dist/esm/api/types/ThreadReaction.d.mts +14 -0
- package/dist/esm/api/types/ThreadReactionCreate.d.mts +18 -0
- package/dist/esm/api/types/ThreadReactionCreate.mjs +11 -0
- package/dist/esm/api/types/ThreadReactionListResponse.d.mts +29 -0
- package/dist/esm/api/types/ThreadReactionResponse.d.mts +19 -0
- package/dist/esm/api/types/ThreadResponse.d.mts +46 -41
- package/dist/esm/api/types/ThreadSubscriber.d.mts +14 -0
- package/dist/esm/api/types/ThreadSubscriberListResponse.d.mts +29 -0
- package/dist/esm/api/types/ThreadSubscriberResponse.d.mts +19 -0
- package/dist/esm/api/types/User.d.mts +38 -0
- package/dist/esm/api/types/UserFollower.d.mts +14 -0
- package/dist/esm/api/types/UserFollowerListResponse.d.mts +29 -0
- package/dist/esm/api/types/UserFollowerResponse.d.mts +19 -0
- package/dist/esm/api/types/UserFollowing.d.mts +14 -0
- package/dist/esm/api/types/UserFollowingListResponse.d.mts +29 -0
- package/dist/esm/api/types/UserFollowingResponse.d.mts +19 -0
- package/dist/esm/api/types/UserListResponse.d.mts +55 -0
- package/dist/esm/api/types/UserResponse.d.mts +37 -32
- package/dist/esm/api/types/Webhook.d.mts +19 -0
- package/dist/esm/api/types/WebhookDelivery.d.mts +11 -0
- package/dist/esm/api/types/WebhookDeliveryListResponse.d.mts +26 -0
- package/dist/esm/api/types/WebhookDeliveryResponse.d.mts +16 -0
- package/dist/esm/api/types/WebhookListResponse.d.mts +36 -0
- package/dist/esm/api/types/WebhookResponse.d.mts +22 -17
- package/dist/esm/api/types/index.d.mts +67 -0
- package/dist/esm/api/types/index.mjs +67 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1164 -368
- package/dist/cjs/api/resources/auth/client/requests/PostAuthForgotPasswordRequest.d.ts +0 -10
- package/dist/cjs/api/resources/auth/client/requests/PostAuthLoginRequest.d.ts +0 -13
- package/dist/cjs/api/resources/auth/client/requests/PostAuthRegisterRequest.d.ts +0 -24
- package/dist/cjs/api/resources/auth/client/requests/PostAuthResetPasswordRequest.d.ts +0 -16
- package/dist/cjs/api/resources/auth/types/GetAuthMeResponse.d.ts +0 -9
- package/dist/cjs/api/resources/auth/types/PostAuthForgotPasswordResponse.d.ts +0 -9
- package/dist/cjs/api/resources/auth/types/PostAuthLoginResponse.d.ts +0 -22
- package/dist/cjs/api/resources/auth/types/PostAuthRegisterResponse.d.ts +0 -22
- package/dist/cjs/api/resources/auth/types/PostAuthResetPasswordResponse.d.ts +0 -8
- package/dist/cjs/api/resources/auth/types/index.d.ts +0 -5
- package/dist/cjs/api/resources/auth/types/index.js +0 -21
- package/dist/cjs/api/resources/integrations/client/requests/DeleteIntegrationsIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/integrations/client/requests/GetIntegrationsIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/integrations/client/requests/GetIntegrationsRequest.d.ts +0 -9
- package/dist/cjs/api/resources/integrations/client/requests/PatchIntegrationsIdRequest.d.ts +0 -15
- package/dist/cjs/api/resources/integrations/client/requests/PostIntegrationsRequest.d.ts +0 -16
- package/dist/cjs/api/resources/integrations/types/DeleteIntegrationsIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/integrations/types/GetIntegrationsIdResponse.d.ts +0 -30
- package/dist/cjs/api/resources/integrations/types/GetIntegrationsIdResponse.js +0 -19
- package/dist/cjs/api/resources/integrations/types/GetIntegrationsResponse.d.ts +0 -42
- package/dist/cjs/api/resources/integrations/types/GetIntegrationsResponse.js +0 -25
- package/dist/cjs/api/resources/integrations/types/PatchIntegrationsIdResponse.d.ts +0 -30
- package/dist/cjs/api/resources/integrations/types/PatchIntegrationsIdResponse.js +0 -19
- package/dist/cjs/api/resources/integrations/types/PostIntegrationsResponse.d.ts +0 -30
- package/dist/cjs/api/resources/integrations/types/PostIntegrationsResponse.js +0 -19
- package/dist/cjs/api/resources/notifications/client/requests/DeleteNotificationsIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/notifications/client/requests/GetNotificationsIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/notifications/client/requests/GetNotificationsRequest.d.ts +0 -9
- package/dist/cjs/api/resources/notifications/client/requests/PatchNotificationsIdRequest.d.ts +0 -23
- package/dist/cjs/api/resources/notifications/client/requests/PatchNotificationsIdRequest.js +0 -14
- package/dist/cjs/api/resources/notifications/client/requests/PostNotificationsRequest.d.ts +0 -37
- package/dist/cjs/api/resources/notifications/client/requests/PostNotificationsRequest.js +0 -14
- package/dist/cjs/api/resources/notifications/types/DeleteNotificationsIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/notifications/types/GetNotificationsIdResponse.d.ts +0 -30
- package/dist/cjs/api/resources/notifications/types/GetNotificationsResponse.d.ts +0 -42
- package/dist/cjs/api/resources/notifications/types/PatchNotificationsIdResponse.d.ts +0 -30
- package/dist/cjs/api/resources/notifications/types/PostNotificationsResponse.d.ts +0 -30
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdPostsSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdReactionsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdReactionsSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/posts/client/requests/GetPostsIdPostsRequest.d.ts +0 -14
- package/dist/cjs/api/resources/posts/client/requests/GetPostsIdPostsSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/posts/client/requests/GetPostsIdReactionsRequest.d.ts +0 -14
- package/dist/cjs/api/resources/posts/client/requests/GetPostsIdReactionsSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/posts/client/requests/GetPostsIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/posts/client/requests/GetPostsRequest.d.ts +0 -9
- package/dist/cjs/api/resources/posts/client/requests/PatchPostsIdRequest.d.ts +0 -17
- package/dist/cjs/api/resources/posts/client/requests/PostPostsIdReactionsRequest.d.ts +0 -27
- package/dist/cjs/api/resources/posts/client/requests/PostPostsIdReactionsRequest.js +0 -14
- package/dist/cjs/api/resources/posts/client/requests/PostPostsRequest.d.ts +0 -18
- package/dist/cjs/api/resources/posts/types/DeletePostsIdPostsSubIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/posts/types/DeletePostsIdReactionsResponse.d.ts +0 -3
- package/dist/cjs/api/resources/posts/types/DeletePostsIdReactionsSubIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/posts/types/DeletePostsIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/posts/types/GetPostsIdPostsResponse.d.ts +0 -16
- package/dist/cjs/api/resources/posts/types/GetPostsIdPostsSubIdResponse.d.ts +0 -6
- package/dist/cjs/api/resources/posts/types/GetPostsIdReactionsResponse.d.ts +0 -16
- package/dist/cjs/api/resources/posts/types/GetPostsIdReactionsSubIdResponse.d.ts +0 -6
- package/dist/cjs/api/resources/posts/types/GetPostsIdResponse.d.ts +0 -23
- package/dist/cjs/api/resources/posts/types/GetPostsResponse.d.ts +0 -35
- package/dist/cjs/api/resources/posts/types/PatchPostsIdResponse.d.ts +0 -23
- package/dist/cjs/api/resources/posts/types/PostPostsIdReactionsResponse.d.ts +0 -6
- package/dist/cjs/api/resources/posts/types/PostPostsResponse.d.ts +0 -23
- package/dist/cjs/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesRequest.d.ts +0 -14
- package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesRequest.d.ts +0 -9
- package/dist/cjs/api/resources/privateMessages/client/requests/PostPrivateMessagesIdRepliesRequest.d.ts +0 -24
- package/dist/cjs/api/resources/privateMessages/client/requests/PostPrivateMessagesRequest.d.ts +0 -21
- package/dist/cjs/api/resources/privateMessages/types/DeletePrivateMessagesIdRepliesSubIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/privateMessages/types/DeletePrivateMessagesIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesResponse.d.ts +0 -16
- package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesSubIdResponse.d.ts +0 -6
- package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdResponse.d.ts +0 -26
- package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesResponse.d.ts +0 -38
- package/dist/cjs/api/resources/privateMessages/types/PostPrivateMessagesIdRepliesResponse.d.ts +0 -6
- package/dist/cjs/api/resources/privateMessages/types/PostPrivateMessagesResponse.d.ts +0 -26
- package/dist/cjs/api/resources/reports/client/requests/DeleteReportsIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/reports/client/requests/GetReportsIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/reports/client/requests/GetReportsRequest.d.ts +0 -9
- package/dist/cjs/api/resources/reports/client/requests/PostReportsRequest.d.ts +0 -22
- package/dist/cjs/api/resources/reports/types/DeleteReportsIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/reports/types/GetReportsIdResponse.d.ts +0 -28
- package/dist/cjs/api/resources/reports/types/GetReportsResponse.d.ts +0 -40
- package/dist/cjs/api/resources/reports/types/PostReportsResponse.d.ts +0 -28
- package/dist/cjs/api/resources/reports/types/index.d.ts +0 -4
- package/dist/cjs/api/resources/reports/types/index.js +0 -20
- package/dist/cjs/api/resources/roles/client/requests/DeleteRolesIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/roles/client/requests/GetRolesIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/roles/client/requests/GetRolesRequest.d.ts +0 -9
- package/dist/cjs/api/resources/roles/client/requests/PatchRolesIdRequest.d.ts +0 -19
- package/dist/cjs/api/resources/roles/client/requests/PostRolesRequest.d.ts +0 -18
- package/dist/cjs/api/resources/roles/types/DeleteRolesIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/roles/types/GetRolesIdResponse.d.ts +0 -22
- package/dist/cjs/api/resources/roles/types/GetRolesResponse.d.ts +0 -34
- package/dist/cjs/api/resources/roles/types/PatchRolesIdResponse.d.ts +0 -22
- package/dist/cjs/api/resources/roles/types/PostRolesResponse.d.ts +0 -22
- package/dist/cjs/api/resources/ssOs/client/requests/DeleteSsoIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/ssOs/client/requests/GetSsoIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/ssOs/client/requests/GetSsoRequest.d.ts +0 -9
- package/dist/cjs/api/resources/ssOs/client/requests/PatchSsoIdRequest.d.ts +0 -21
- package/dist/cjs/api/resources/ssOs/client/requests/PostSsoRequest.d.ts +0 -22
- package/dist/cjs/api/resources/ssOs/types/DeleteSsoIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/ssOs/types/GetSsoIdResponse.d.ts +0 -27
- package/dist/cjs/api/resources/ssOs/types/GetSsoIdResponse.js +0 -16
- package/dist/cjs/api/resources/ssOs/types/GetSsoResponse.d.ts +0 -39
- package/dist/cjs/api/resources/ssOs/types/GetSsoResponse.js +0 -22
- package/dist/cjs/api/resources/ssOs/types/PatchSsoIdResponse.d.ts +0 -27
- package/dist/cjs/api/resources/ssOs/types/PatchSsoIdResponse.js +0 -16
- package/dist/cjs/api/resources/ssOs/types/PostSsoResponse.d.ts +0 -27
- package/dist/cjs/api/resources/ssOs/types/PostSsoResponse.js +0 -16
- package/dist/cjs/api/resources/tags/client/requests/DeleteTagsIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/tags/client/requests/DeleteTagsIdSubscribersSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/tags/client/requests/GetTagsIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/tags/client/requests/GetTagsIdSubscribersRequest.d.ts +0 -14
- package/dist/cjs/api/resources/tags/client/requests/GetTagsIdSubscribersSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/tags/client/requests/GetTagsRequest.d.ts +0 -9
- package/dist/cjs/api/resources/tags/client/requests/PatchTagsIdRequest.d.ts +0 -19
- package/dist/cjs/api/resources/tags/client/requests/PostTagsRequest.d.ts +0 -18
- package/dist/cjs/api/resources/tags/types/DeleteTagsIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/tags/types/DeleteTagsIdSubscribersSubIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/tags/types/GetTagsIdResponse.d.ts +0 -22
- package/dist/cjs/api/resources/tags/types/GetTagsIdSubscribersResponse.d.ts +0 -16
- package/dist/cjs/api/resources/tags/types/GetTagsIdSubscribersSubIdResponse.d.ts +0 -6
- package/dist/cjs/api/resources/tags/types/GetTagsResponse.d.ts +0 -34
- package/dist/cjs/api/resources/tags/types/PatchTagsIdResponse.d.ts +0 -22
- package/dist/cjs/api/resources/tags/types/PostTagsResponse.d.ts +0 -22
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdPostsSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdReactionsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdReactionsSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdSubscribersSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPollRequest.d.ts +0 -10
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPostsRequest.d.ts +0 -14
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPostsSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdReactionsRequest.d.ts +0 -14
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdReactionsSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdSubscribersRequest.d.ts +0 -14
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdSubscribersSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/threads/client/requests/GetThreadsRequest.d.ts +0 -9
- package/dist/cjs/api/resources/threads/client/requests/PatchThreadsIdPollRequest.d.ts +0 -18
- package/dist/cjs/api/resources/threads/client/requests/PatchThreadsIdRequest.d.ts +0 -21
- package/dist/cjs/api/resources/threads/client/requests/PostThreadsIdPollRequest.d.ts +0 -35
- package/dist/cjs/api/resources/threads/client/requests/PostThreadsIdReactionsRequest.d.ts +0 -27
- package/dist/cjs/api/resources/threads/client/requests/PostThreadsIdReactionsRequest.js +0 -14
- package/dist/cjs/api/resources/threads/client/requests/PostThreadsRequest.d.ts +0 -40
- package/dist/cjs/api/resources/threads/types/DeleteThreadsIdPostsSubIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/threads/types/DeleteThreadsIdReactionsResponse.d.ts +0 -3
- package/dist/cjs/api/resources/threads/types/DeleteThreadsIdReactionsSubIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/threads/types/DeleteThreadsIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/threads/types/DeleteThreadsIdSubscribersSubIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/threads/types/GetThreadsIdPollResponse.d.ts +0 -6
- package/dist/cjs/api/resources/threads/types/GetThreadsIdPostsResponse.d.ts +0 -16
- package/dist/cjs/api/resources/threads/types/GetThreadsIdPostsSubIdResponse.d.ts +0 -6
- package/dist/cjs/api/resources/threads/types/GetThreadsIdReactionsResponse.d.ts +0 -16
- package/dist/cjs/api/resources/threads/types/GetThreadsIdReactionsSubIdResponse.d.ts +0 -6
- package/dist/cjs/api/resources/threads/types/GetThreadsIdResponse.d.ts +0 -55
- package/dist/cjs/api/resources/threads/types/GetThreadsIdSubscribersResponse.d.ts +0 -16
- package/dist/cjs/api/resources/threads/types/GetThreadsIdSubscribersSubIdResponse.d.ts +0 -6
- package/dist/cjs/api/resources/threads/types/GetThreadsResponse.d.ts +0 -67
- package/dist/cjs/api/resources/threads/types/PatchThreadsIdPollResponse.d.ts +0 -6
- package/dist/cjs/api/resources/threads/types/PatchThreadsIdResponse.d.ts +0 -55
- package/dist/cjs/api/resources/threads/types/PostThreadsIdPollResponse.d.ts +0 -6
- package/dist/cjs/api/resources/threads/types/PostThreadsIdReactionsResponse.d.ts +0 -6
- package/dist/cjs/api/resources/threads/types/PostThreadsResponse.d.ts +0 -55
- package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdFollowersSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdFollowingSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowersRequest.d.ts +0 -14
- package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowersSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowingRequest.d.ts +0 -14
- package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowingSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/users/client/requests/GetUsersIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/users/client/requests/GetUsersRequest.d.ts +0 -9
- package/dist/cjs/api/resources/users/client/requests/PatchUsersIdRequest.d.ts +0 -27
- package/dist/cjs/api/resources/users/types/DeleteUsersIdFollowersSubIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/users/types/DeleteUsersIdFollowingSubIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/users/types/DeleteUsersIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/users/types/GetUsersIdFollowersResponse.d.ts +0 -16
- package/dist/cjs/api/resources/users/types/GetUsersIdFollowersSubIdResponse.d.ts +0 -6
- package/dist/cjs/api/resources/users/types/GetUsersIdFollowingResponse.d.ts +0 -16
- package/dist/cjs/api/resources/users/types/GetUsersIdFollowingSubIdResponse.d.ts +0 -6
- package/dist/cjs/api/resources/users/types/GetUsersIdResponse.d.ts +0 -43
- package/dist/cjs/api/resources/users/types/GetUsersResponse.d.ts +0 -55
- package/dist/cjs/api/resources/users/types/PatchUsersIdResponse.d.ts +0 -43
- package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesRequest.d.ts +0 -14
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.d.ts +0 -13
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdRequest.d.ts +0 -9
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksRequest.d.ts +0 -9
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksRequest.js +0 -3
- package/dist/cjs/api/resources/webhooks/client/requests/PostWebhooksRequest.d.ts +0 -18
- package/dist/cjs/api/resources/webhooks/client/requests/PostWebhooksRequest.js +0 -3
- package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksIdDeliveriesSubIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksIdDeliveriesSubIdResponse.js +0 -3
- package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksIdResponse.d.ts +0 -3
- package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksIdResponse.js +0 -3
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdDeliveriesResponse.d.ts +0 -16
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdDeliveriesResponse.js +0 -3
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdDeliveriesSubIdResponse.d.ts +0 -6
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdDeliveriesSubIdResponse.js +0 -3
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdResponse.d.ts +0 -24
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdResponse.js +0 -3
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponse.d.ts +0 -36
- package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponse.js +0 -3
- package/dist/cjs/api/resources/webhooks/types/PostWebhooksResponse.d.ts +0 -24
- package/dist/cjs/api/resources/webhooks/types/PostWebhooksResponse.js +0 -3
- package/dist/esm/api/resources/auth/client/requests/PostAuthForgotPasswordRequest.d.mts +0 -10
- package/dist/esm/api/resources/auth/client/requests/PostAuthLoginRequest.d.mts +0 -13
- package/dist/esm/api/resources/auth/client/requests/PostAuthRegisterRequest.d.mts +0 -24
- package/dist/esm/api/resources/auth/client/requests/PostAuthResetPasswordRequest.d.mts +0 -16
- package/dist/esm/api/resources/auth/types/GetAuthMeResponse.d.mts +0 -9
- package/dist/esm/api/resources/auth/types/PostAuthForgotPasswordResponse.d.mts +0 -9
- package/dist/esm/api/resources/auth/types/PostAuthLoginResponse.d.mts +0 -22
- package/dist/esm/api/resources/auth/types/PostAuthRegisterResponse.d.mts +0 -22
- package/dist/esm/api/resources/auth/types/PostAuthResetPasswordResponse.d.mts +0 -8
- package/dist/esm/api/resources/auth/types/index.d.mts +0 -5
- package/dist/esm/api/resources/auth/types/index.mjs +0 -5
- package/dist/esm/api/resources/integrations/client/requests/DeleteIntegrationsIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/integrations/client/requests/GetIntegrationsIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/integrations/client/requests/GetIntegrationsRequest.d.mts +0 -9
- package/dist/esm/api/resources/integrations/client/requests/PatchIntegrationsIdRequest.d.mts +0 -15
- package/dist/esm/api/resources/integrations/client/requests/PostIntegrationsRequest.d.mts +0 -16
- package/dist/esm/api/resources/integrations/types/DeleteIntegrationsIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/integrations/types/GetIntegrationsIdResponse.d.mts +0 -30
- package/dist/esm/api/resources/integrations/types/GetIntegrationsIdResponse.mjs +0 -16
- package/dist/esm/api/resources/integrations/types/GetIntegrationsResponse.d.mts +0 -42
- package/dist/esm/api/resources/integrations/types/GetIntegrationsResponse.mjs +0 -22
- package/dist/esm/api/resources/integrations/types/PatchIntegrationsIdResponse.d.mts +0 -30
- package/dist/esm/api/resources/integrations/types/PatchIntegrationsIdResponse.mjs +0 -16
- package/dist/esm/api/resources/integrations/types/PostIntegrationsResponse.d.mts +0 -30
- package/dist/esm/api/resources/integrations/types/PostIntegrationsResponse.mjs +0 -16
- package/dist/esm/api/resources/notifications/client/requests/DeleteNotificationsIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/notifications/client/requests/GetNotificationsIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/notifications/client/requests/GetNotificationsRequest.d.mts +0 -9
- package/dist/esm/api/resources/notifications/client/requests/PatchNotificationsIdRequest.d.mts +0 -23
- package/dist/esm/api/resources/notifications/client/requests/PatchNotificationsIdRequest.mjs +0 -11
- package/dist/esm/api/resources/notifications/client/requests/PostNotificationsRequest.d.mts +0 -37
- package/dist/esm/api/resources/notifications/client/requests/PostNotificationsRequest.mjs +0 -11
- package/dist/esm/api/resources/notifications/types/DeleteNotificationsIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/notifications/types/GetNotificationsIdResponse.d.mts +0 -30
- package/dist/esm/api/resources/notifications/types/GetNotificationsResponse.d.mts +0 -42
- package/dist/esm/api/resources/notifications/types/PatchNotificationsIdResponse.d.mts +0 -30
- package/dist/esm/api/resources/notifications/types/PostNotificationsResponse.d.mts +0 -30
- package/dist/esm/api/resources/posts/client/requests/DeletePostsIdPostsSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/posts/client/requests/DeletePostsIdReactionsRequest.d.mts +0 -10
- package/dist/esm/api/resources/posts/client/requests/DeletePostsIdReactionsSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/posts/client/requests/DeletePostsIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/posts/client/requests/GetPostsIdPostsRequest.d.mts +0 -14
- package/dist/esm/api/resources/posts/client/requests/GetPostsIdPostsSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/posts/client/requests/GetPostsIdReactionsRequest.d.mts +0 -14
- package/dist/esm/api/resources/posts/client/requests/GetPostsIdReactionsSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/posts/client/requests/GetPostsIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/posts/client/requests/GetPostsRequest.d.mts +0 -9
- package/dist/esm/api/resources/posts/client/requests/PatchPostsIdRequest.d.mts +0 -17
- package/dist/esm/api/resources/posts/client/requests/PostPostsIdReactionsRequest.d.mts +0 -27
- package/dist/esm/api/resources/posts/client/requests/PostPostsIdReactionsRequest.mjs +0 -11
- package/dist/esm/api/resources/posts/client/requests/PostPostsRequest.d.mts +0 -18
- package/dist/esm/api/resources/posts/types/DeletePostsIdPostsSubIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/posts/types/DeletePostsIdReactionsResponse.d.mts +0 -3
- package/dist/esm/api/resources/posts/types/DeletePostsIdReactionsSubIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/posts/types/DeletePostsIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/posts/types/GetPostsIdPostsResponse.d.mts +0 -16
- package/dist/esm/api/resources/posts/types/GetPostsIdPostsSubIdResponse.d.mts +0 -6
- package/dist/esm/api/resources/posts/types/GetPostsIdReactionsResponse.d.mts +0 -16
- package/dist/esm/api/resources/posts/types/GetPostsIdReactionsSubIdResponse.d.mts +0 -6
- package/dist/esm/api/resources/posts/types/GetPostsIdResponse.d.mts +0 -23
- package/dist/esm/api/resources/posts/types/GetPostsResponse.d.mts +0 -35
- package/dist/esm/api/resources/posts/types/PatchPostsIdResponse.d.mts +0 -23
- package/dist/esm/api/resources/posts/types/PostPostsIdReactionsResponse.d.mts +0 -6
- package/dist/esm/api/resources/posts/types/PostPostsResponse.d.mts +0 -23
- package/dist/esm/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesRequest.d.mts +0 -14
- package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesRequest.d.mts +0 -9
- package/dist/esm/api/resources/privateMessages/client/requests/PostPrivateMessagesIdRepliesRequest.d.mts +0 -24
- package/dist/esm/api/resources/privateMessages/client/requests/PostPrivateMessagesRequest.d.mts +0 -21
- package/dist/esm/api/resources/privateMessages/types/DeletePrivateMessagesIdRepliesSubIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/privateMessages/types/DeletePrivateMessagesIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesResponse.d.mts +0 -16
- package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesSubIdResponse.d.mts +0 -6
- package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdResponse.d.mts +0 -26
- package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesResponse.d.mts +0 -38
- package/dist/esm/api/resources/privateMessages/types/PostPrivateMessagesIdRepliesResponse.d.mts +0 -6
- package/dist/esm/api/resources/privateMessages/types/PostPrivateMessagesResponse.d.mts +0 -26
- package/dist/esm/api/resources/reports/client/requests/DeleteReportsIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/reports/client/requests/GetReportsIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/reports/client/requests/GetReportsRequest.d.mts +0 -9
- package/dist/esm/api/resources/reports/client/requests/PostReportsRequest.d.mts +0 -22
- package/dist/esm/api/resources/reports/types/DeleteReportsIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/reports/types/GetReportsIdResponse.d.mts +0 -28
- package/dist/esm/api/resources/reports/types/GetReportsResponse.d.mts +0 -40
- package/dist/esm/api/resources/reports/types/PostReportsResponse.d.mts +0 -28
- package/dist/esm/api/resources/reports/types/index.d.mts +0 -4
- package/dist/esm/api/resources/reports/types/index.mjs +0 -4
- package/dist/esm/api/resources/roles/client/requests/DeleteRolesIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/roles/client/requests/GetRolesIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/roles/client/requests/GetRolesRequest.d.mts +0 -9
- package/dist/esm/api/resources/roles/client/requests/PatchRolesIdRequest.d.mts +0 -19
- package/dist/esm/api/resources/roles/client/requests/PostRolesRequest.d.mts +0 -18
- package/dist/esm/api/resources/roles/types/DeleteRolesIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/roles/types/GetRolesIdResponse.d.mts +0 -22
- package/dist/esm/api/resources/roles/types/GetRolesResponse.d.mts +0 -34
- package/dist/esm/api/resources/roles/types/PatchRolesIdResponse.d.mts +0 -22
- package/dist/esm/api/resources/roles/types/PostRolesResponse.d.mts +0 -22
- package/dist/esm/api/resources/ssOs/client/requests/DeleteSsoIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/ssOs/client/requests/GetSsoIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/ssOs/client/requests/GetSsoRequest.d.mts +0 -9
- package/dist/esm/api/resources/ssOs/client/requests/PatchSsoIdRequest.d.mts +0 -21
- package/dist/esm/api/resources/ssOs/client/requests/PostSsoRequest.d.mts +0 -22
- package/dist/esm/api/resources/ssOs/types/DeleteSsoIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/ssOs/types/GetSsoIdResponse.d.mts +0 -27
- package/dist/esm/api/resources/ssOs/types/GetSsoIdResponse.mjs +0 -13
- package/dist/esm/api/resources/ssOs/types/GetSsoResponse.d.mts +0 -39
- package/dist/esm/api/resources/ssOs/types/GetSsoResponse.mjs +0 -19
- package/dist/esm/api/resources/ssOs/types/PatchSsoIdResponse.d.mts +0 -27
- package/dist/esm/api/resources/ssOs/types/PatchSsoIdResponse.mjs +0 -13
- package/dist/esm/api/resources/ssOs/types/PostSsoResponse.d.mts +0 -27
- package/dist/esm/api/resources/ssOs/types/PostSsoResponse.mjs +0 -13
- package/dist/esm/api/resources/tags/client/requests/DeleteTagsIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/tags/client/requests/DeleteTagsIdSubscribersSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/tags/client/requests/GetTagsIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/tags/client/requests/GetTagsIdSubscribersRequest.d.mts +0 -14
- package/dist/esm/api/resources/tags/client/requests/GetTagsIdSubscribersSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/tags/client/requests/GetTagsRequest.d.mts +0 -9
- package/dist/esm/api/resources/tags/client/requests/PatchTagsIdRequest.d.mts +0 -19
- package/dist/esm/api/resources/tags/client/requests/PostTagsRequest.d.mts +0 -18
- package/dist/esm/api/resources/tags/types/DeleteTagsIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/tags/types/DeleteTagsIdSubscribersSubIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/tags/types/GetTagsIdResponse.d.mts +0 -22
- package/dist/esm/api/resources/tags/types/GetTagsIdSubscribersResponse.d.mts +0 -16
- package/dist/esm/api/resources/tags/types/GetTagsIdSubscribersSubIdResponse.d.mts +0 -6
- package/dist/esm/api/resources/tags/types/GetTagsResponse.d.mts +0 -34
- package/dist/esm/api/resources/tags/types/PatchTagsIdResponse.d.mts +0 -22
- package/dist/esm/api/resources/tags/types/PostTagsResponse.d.mts +0 -22
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdPostsSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdReactionsRequest.d.mts +0 -10
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdReactionsSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdSubscribersSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPollRequest.d.mts +0 -10
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPostsRequest.d.mts +0 -14
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPostsSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdReactionsRequest.d.mts +0 -14
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdReactionsSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdSubscribersRequest.d.mts +0 -14
- package/dist/esm/api/resources/threads/client/requests/GetThreadsIdSubscribersSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/threads/client/requests/GetThreadsRequest.d.mts +0 -9
- package/dist/esm/api/resources/threads/client/requests/PatchThreadsIdPollRequest.d.mts +0 -18
- package/dist/esm/api/resources/threads/client/requests/PatchThreadsIdRequest.d.mts +0 -21
- package/dist/esm/api/resources/threads/client/requests/PostThreadsIdPollRequest.d.mts +0 -35
- package/dist/esm/api/resources/threads/client/requests/PostThreadsIdReactionsRequest.d.mts +0 -27
- package/dist/esm/api/resources/threads/client/requests/PostThreadsIdReactionsRequest.mjs +0 -11
- package/dist/esm/api/resources/threads/client/requests/PostThreadsRequest.d.mts +0 -40
- package/dist/esm/api/resources/threads/types/DeleteThreadsIdPostsSubIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/threads/types/DeleteThreadsIdReactionsResponse.d.mts +0 -3
- package/dist/esm/api/resources/threads/types/DeleteThreadsIdReactionsSubIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/threads/types/DeleteThreadsIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/threads/types/DeleteThreadsIdSubscribersSubIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/threads/types/GetThreadsIdPollResponse.d.mts +0 -6
- package/dist/esm/api/resources/threads/types/GetThreadsIdPostsResponse.d.mts +0 -16
- package/dist/esm/api/resources/threads/types/GetThreadsIdPostsSubIdResponse.d.mts +0 -6
- package/dist/esm/api/resources/threads/types/GetThreadsIdReactionsResponse.d.mts +0 -16
- package/dist/esm/api/resources/threads/types/GetThreadsIdReactionsSubIdResponse.d.mts +0 -6
- package/dist/esm/api/resources/threads/types/GetThreadsIdResponse.d.mts +0 -55
- package/dist/esm/api/resources/threads/types/GetThreadsIdSubscribersResponse.d.mts +0 -16
- package/dist/esm/api/resources/threads/types/GetThreadsIdSubscribersSubIdResponse.d.mts +0 -6
- package/dist/esm/api/resources/threads/types/GetThreadsResponse.d.mts +0 -67
- package/dist/esm/api/resources/threads/types/PatchThreadsIdPollResponse.d.mts +0 -6
- package/dist/esm/api/resources/threads/types/PatchThreadsIdResponse.d.mts +0 -55
- package/dist/esm/api/resources/threads/types/PostThreadsIdPollResponse.d.mts +0 -6
- package/dist/esm/api/resources/threads/types/PostThreadsIdReactionsResponse.d.mts +0 -6
- package/dist/esm/api/resources/threads/types/PostThreadsResponse.d.mts +0 -55
- package/dist/esm/api/resources/users/client/requests/DeleteUsersIdFollowersSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/users/client/requests/DeleteUsersIdFollowingSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/users/client/requests/DeleteUsersIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowersRequest.d.mts +0 -14
- package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowersSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowingRequest.d.mts +0 -14
- package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowingSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/users/client/requests/GetUsersIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/users/client/requests/GetUsersRequest.d.mts +0 -9
- package/dist/esm/api/resources/users/client/requests/PatchUsersIdRequest.d.mts +0 -27
- package/dist/esm/api/resources/users/types/DeleteUsersIdFollowersSubIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/users/types/DeleteUsersIdFollowingSubIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/users/types/DeleteUsersIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/users/types/GetUsersIdFollowersResponse.d.mts +0 -16
- package/dist/esm/api/resources/users/types/GetUsersIdFollowersSubIdResponse.d.mts +0 -6
- package/dist/esm/api/resources/users/types/GetUsersIdFollowingResponse.d.mts +0 -16
- package/dist/esm/api/resources/users/types/GetUsersIdFollowingSubIdResponse.d.mts +0 -6
- package/dist/esm/api/resources/users/types/GetUsersIdResponse.d.mts +0 -43
- package/dist/esm/api/resources/users/types/GetUsersResponse.d.mts +0 -55
- package/dist/esm/api/resources/users/types/PatchUsersIdResponse.d.mts +0 -43
- package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesRequest.d.mts +0 -14
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.d.mts +0 -13
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdRequest.d.mts +0 -9
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksRequest.d.mts +0 -9
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksRequest.mjs +0 -2
- package/dist/esm/api/resources/webhooks/client/requests/PostWebhooksRequest.d.mts +0 -18
- package/dist/esm/api/resources/webhooks/client/requests/PostWebhooksRequest.mjs +0 -2
- package/dist/esm/api/resources/webhooks/types/DeleteWebhooksIdDeliveriesSubIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/webhooks/types/DeleteWebhooksIdDeliveriesSubIdResponse.mjs +0 -2
- package/dist/esm/api/resources/webhooks/types/DeleteWebhooksIdResponse.d.mts +0 -3
- package/dist/esm/api/resources/webhooks/types/DeleteWebhooksIdResponse.mjs +0 -2
- package/dist/esm/api/resources/webhooks/types/GetWebhooksIdDeliveriesResponse.d.mts +0 -16
- package/dist/esm/api/resources/webhooks/types/GetWebhooksIdDeliveriesResponse.mjs +0 -2
- package/dist/esm/api/resources/webhooks/types/GetWebhooksIdDeliveriesSubIdResponse.d.mts +0 -6
- package/dist/esm/api/resources/webhooks/types/GetWebhooksIdDeliveriesSubIdResponse.mjs +0 -2
- package/dist/esm/api/resources/webhooks/types/GetWebhooksIdResponse.d.mts +0 -24
- package/dist/esm/api/resources/webhooks/types/GetWebhooksIdResponse.mjs +0 -2
- package/dist/esm/api/resources/webhooks/types/GetWebhooksResponse.d.mts +0 -36
- package/dist/esm/api/resources/webhooks/types/GetWebhooksResponse.mjs +0 -2
- package/dist/esm/api/resources/webhooks/types/PostWebhooksResponse.d.mts +0 -24
- package/dist/esm/api/resources/webhooks/types/PostWebhooksResponse.mjs +0 -2
- /package/dist/cjs/api/resources/auth/client/requests/{PostAuthForgotPasswordRequest.js → ForgotPasswordAuthRequest.js} +0 -0
- /package/dist/cjs/api/resources/auth/client/requests/{PostAuthLoginRequest.js → LoginAuthRequest.js} +0 -0
- /package/dist/cjs/api/resources/auth/client/requests/{PostAuthRegisterRequest.js → RegisterAuthRequest.js} +0 -0
- /package/dist/cjs/api/resources/auth/client/requests/{PostAuthResetPasswordRequest.js → ResetPasswordAuthRequest.js} +0 -0
- /package/dist/cjs/api/resources/{auth/types/GetAuthMeResponse.js → integrations/client/requests/CreateIntegrationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{auth/types/PostAuthForgotPasswordResponse.js → integrations/client/requests/DeleteIntegrationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{auth/types/PostAuthLoginResponse.js → integrations/client/requests/ListIntegrationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{auth/types/PostAuthRegisterResponse.js → integrations/client/requests/RetrieveIntegrationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{auth/types/PostAuthResetPasswordResponse.js → integrations/client/requests/UpdateIntegrationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{integrations/client/requests/DeleteIntegrationsIdRequest.js → notifications/client/requests/DeleteNotificationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{integrations/client/requests/GetIntegrationsIdRequest.js → notifications/client/requests/ListNotificationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{integrations/client/requests/GetIntegrationsRequest.js → notifications/client/requests/RetrieveNotificationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{integrations/client/requests/PatchIntegrationsIdRequest.js → notifications/types/UpdateNotificationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{integrations/client/requests/PostIntegrationsRequest.js → posts/client/requests/CreatePostsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{integrations/types/DeleteIntegrationsIdResponse.js → posts/client/requests/DeletePostPostsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{notifications/client/requests/DeleteNotificationsIdRequest.js → posts/client/requests/DeletePostsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{notifications/client/requests/GetNotificationsIdRequest.js → posts/client/requests/DeleteReactionPostsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{notifications/client/requests/GetNotificationsRequest.js → posts/client/requests/ListPostsPostsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{notifications/types/DeleteNotificationsIdResponse.js → posts/client/requests/ListPostsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{notifications/types/GetNotificationsIdResponse.js → posts/client/requests/ListReactionsPostsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{notifications/types/GetNotificationsResponse.js → posts/client/requests/RetrievePostPostsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{notifications/types/PatchNotificationsIdResponse.js → posts/client/requests/RetrievePostsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{notifications/types/PostNotificationsResponse.js → posts/client/requests/RetrieveReactionPostsRequest.js} +0 -0
- /package/dist/cjs/api/resources/posts/client/requests/{DeletePostsIdPostsSubIdRequest.js → UpdatePostsRequest.js} +0 -0
- /package/dist/cjs/api/resources/posts/{client/requests/DeletePostsIdReactionsRequest.js → types/DeleteReactionPostsResponse.js} +0 -0
- /package/dist/cjs/api/resources/posts/{client/requests/DeletePostsIdReactionsSubIdRequest.js → types/RetrievePostPostsResponse.js} +0 -0
- /package/dist/cjs/api/resources/posts/{client/requests/DeletePostsIdRequest.js → types/RetrieveReactionPostsResponse.js} +0 -0
- /package/dist/cjs/api/resources/posts/{client/requests/GetPostsIdPostsRequest.js → types/UpdatePostsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{posts/client/requests/GetPostsIdPostsSubIdRequest.js → privateMessages/client/requests/CreatePrivateMessagesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/client/requests/GetPostsIdReactionsRequest.js → privateMessages/client/requests/CreateReplyPrivateMessagesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/client/requests/GetPostsIdReactionsSubIdRequest.js → privateMessages/client/requests/DeletePrivateMessagesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/client/requests/GetPostsIdRequest.js → privateMessages/client/requests/DeleteReplyPrivateMessagesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/client/requests/GetPostsRequest.js → privateMessages/client/requests/ListPrivateMessagesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/client/requests/PatchPostsIdRequest.js → privateMessages/client/requests/ListRepliesPrivateMessagesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/client/requests/PostPostsRequest.js → privateMessages/client/requests/RetrievePrivateMessagesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/types/DeletePostsIdPostsSubIdResponse.js → privateMessages/client/requests/RetrieveReplyPrivateMessagesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/types/DeletePostsIdReactionsResponse.js → privateMessages/types/RetrieveReplyPrivateMessagesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{posts/types/DeletePostsIdReactionsSubIdResponse.js → reports/client/requests/CreateReportsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/types/DeletePostsIdResponse.js → reports/client/requests/DeleteReportsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/types/GetPostsIdPostsResponse.js → reports/client/requests/ListReportsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/types/GetPostsIdPostsSubIdResponse.js → reports/client/requests/RetrieveReportsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/types/GetPostsIdReactionsResponse.js → roles/client/requests/CreateRolesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/types/GetPostsIdReactionsSubIdResponse.js → roles/client/requests/DeleteRolesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/types/GetPostsIdResponse.js → roles/client/requests/ListRolesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/types/GetPostsResponse.js → roles/client/requests/RetrieveRolesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/types/PatchPostsIdResponse.js → roles/client/requests/UpdateRolesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{posts/types/PostPostsIdReactionsResponse.js → roles/types/UpdateRolesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{posts/types/PostPostsResponse.js → ssOs/client/requests/CreateSsOsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.js → ssOs/client/requests/DeleteSsOsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/client/requests/DeletePrivateMessagesIdRequest.js → ssOs/client/requests/ListSsOsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/client/requests/GetPrivateMessagesIdRepliesRequest.js → ssOs/client/requests/RetrieveSsOsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.js → ssOs/client/requests/UpdateSsOsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/client/requests/GetPrivateMessagesIdRequest.js → tags/client/requests/CreateTagsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/client/requests/GetPrivateMessagesRequest.js → tags/client/requests/DeleteSubscriberTagsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/client/requests/PostPrivateMessagesIdRepliesRequest.js → tags/client/requests/DeleteTagsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/client/requests/PostPrivateMessagesRequest.js → tags/client/requests/ListSubscribersTagsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/types/DeletePrivateMessagesIdRepliesSubIdResponse.js → tags/client/requests/ListTagsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/types/DeletePrivateMessagesIdResponse.js → tags/client/requests/RetrieveSubscriberTagsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/types/GetPrivateMessagesIdRepliesResponse.js → tags/client/requests/RetrieveTagsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/types/GetPrivateMessagesIdRepliesSubIdResponse.js → tags/client/requests/UpdateTagsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/types/GetPrivateMessagesIdResponse.js → tags/types/RetrieveSubscriberTagsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/types/GetPrivateMessagesResponse.js → tags/types/UpdateTagsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/types/PostPrivateMessagesIdRepliesResponse.js → threads/client/requests/CreatePollThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{privateMessages/types/PostPrivateMessagesResponse.js → threads/client/requests/CreateThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{reports/client/requests/DeleteReportsIdRequest.js → threads/client/requests/DeletePostThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{reports/client/requests/GetReportsIdRequest.js → threads/client/requests/DeleteReactionThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{reports/client/requests/GetReportsRequest.js → threads/client/requests/DeleteSubscriberThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{reports/client/requests/PostReportsRequest.js → threads/client/requests/DeleteThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{reports/types/DeleteReportsIdResponse.js → threads/client/requests/ListPostsThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{reports/types/GetReportsIdResponse.js → threads/client/requests/ListReactionsThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{reports/types/GetReportsResponse.js → threads/client/requests/ListSubscribersThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{reports/types/PostReportsResponse.js → threads/client/requests/ListThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{roles/client/requests/DeleteRolesIdRequest.js → threads/client/requests/RetrievePollThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{roles/client/requests/GetRolesIdRequest.js → threads/client/requests/RetrievePostThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{roles/client/requests/GetRolesRequest.js → threads/client/requests/RetrieveReactionThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{roles/client/requests/PatchRolesIdRequest.js → threads/client/requests/RetrieveSubscriberThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{roles/client/requests/PostRolesRequest.js → threads/client/requests/RetrieveThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{roles/types/DeleteRolesIdResponse.js → threads/client/requests/UpdatePollThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{roles/types/GetRolesIdResponse.js → threads/client/requests/UpdateThreadsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{roles/types/GetRolesResponse.js → threads/types/DeleteReactionThreadsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{roles/types/PatchRolesIdResponse.js → threads/types/RetrievePostThreadsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{roles/types/PostRolesResponse.js → threads/types/RetrieveReactionThreadsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{ssOs/client/requests/DeleteSsoIdRequest.js → threads/types/RetrieveSubscriberThreadsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{ssOs/client/requests/GetSsoIdRequest.js → threads/types/UpdateThreadsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{ssOs/client/requests/GetSsoRequest.js → users/client/requests/DeleteFollowerUsersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{ssOs/client/requests/PatchSsoIdRequest.js → users/client/requests/DeleteFollowingUsersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{ssOs/client/requests/PostSsoRequest.js → users/client/requests/DeleteUsersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{ssOs/types/DeleteSsoIdResponse.js → users/client/requests/ListFollowersUsersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tags/client/requests/DeleteTagsIdRequest.js → users/client/requests/ListFollowingUsersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tags/client/requests/DeleteTagsIdSubscribersSubIdRequest.js → users/client/requests/ListUsersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tags/client/requests/GetTagsIdRequest.js → users/client/requests/RetrieveFollowerUsersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tags/client/requests/GetTagsIdSubscribersRequest.js → users/client/requests/RetrieveFollowingUsersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tags/client/requests/GetTagsIdSubscribersSubIdRequest.js → users/client/requests/RetrieveUsersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tags/client/requests/GetTagsRequest.js → users/client/requests/UpdateUsersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tags/client/requests/PatchTagsIdRequest.js → users/types/RetrieveFollowerUsersResponse.js} +0 -0
- /package/dist/cjs/api/resources/{tags/client/requests/PostTagsRequest.js → users/types/RetrieveFollowingUsersResponse.js} +0 -0
- /package/dist/cjs/api/resources/{tags/types/DeleteTagsIdResponse.js → users/types/UpdateUsersResponse.js} +0 -0
- /package/dist/cjs/api/resources/{tags/types/DeleteTagsIdSubscribersSubIdResponse.js → webhooks/client/requests/CreateWebhooksRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tags/types/GetTagsIdResponse.js → webhooks/client/requests/DeleteDeliveryWebhooksRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tags/types/GetTagsIdSubscribersResponse.js → webhooks/client/requests/DeleteWebhooksRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tags/types/GetTagsIdSubscribersSubIdResponse.js → webhooks/client/requests/ListDeliveriesWebhooksRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tags/types/GetTagsResponse.js → webhooks/client/requests/ListWebhooksRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tags/types/PatchTagsIdResponse.js → webhooks/client/requests/RetrieveDeliveryWebhooksRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tags/types/PostTagsResponse.js → webhooks/client/requests/RetrieveWebhooksRequest.js} +0 -0
- /package/dist/cjs/api/resources/{threads/client/requests/DeleteThreadsIdPostsSubIdRequest.js → webhooks/types/RetrieveDeliveryWebhooksResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/DeleteThreadsIdReactionsRequest.js → types/Auth.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/DeleteThreadsIdReactionsSubIdRequest.js → types/AuthListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/DeleteThreadsIdRequest.js → types/ForgotPasswordResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/DeleteThreadsIdSubscribersSubIdRequest.js → types/LoginResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/GetThreadsIdPollRequest.js → types/MeResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/GetThreadsIdPostsRequest.js → types/Notification.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/GetThreadsIdPostsSubIdRequest.js → types/NotificationListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/GetThreadsIdReactionsRequest.js → types/Post.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/GetThreadsIdReactionsSubIdRequest.js → types/PostListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/GetThreadsIdRequest.js → types/PostPost.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/GetThreadsIdSubscribersRequest.js → types/PostPostListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/GetThreadsIdSubscribersSubIdRequest.js → types/PostPostResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/GetThreadsRequest.js → types/PostReaction.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/PatchThreadsIdPollRequest.js → types/PostReactionListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/PatchThreadsIdRequest.js → types/PostReactionResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/PostThreadsIdPollRequest.js → types/PrivateMessage.js} +0 -0
- /package/dist/cjs/api/{resources/threads/client/requests/PostThreadsRequest.js → types/PrivateMessageListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/DeleteThreadsIdPostsSubIdResponse.js → types/PrivateMessageReply.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/DeleteThreadsIdReactionsResponse.js → types/PrivateMessageReplyCreate.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/DeleteThreadsIdReactionsSubIdResponse.js → types/PrivateMessageReplyListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/DeleteThreadsIdResponse.js → types/PrivateMessageReplyResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/DeleteThreadsIdSubscribersSubIdResponse.js → types/RegisterResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/GetThreadsIdPollResponse.js → types/Report.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/GetThreadsIdPostsResponse.js → types/ReportListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/GetThreadsIdPostsSubIdResponse.js → types/ResetPasswordResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/GetThreadsIdReactionsResponse.js → types/Role.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/GetThreadsIdReactionsSubIdResponse.js → types/RoleListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/GetThreadsIdResponse.js → types/SuccessResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/GetThreadsIdSubscribersResponse.js → types/Tag.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/GetThreadsIdSubscribersSubIdResponse.js → types/TagListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/GetThreadsResponse.js → types/TagSubscriber.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/PatchThreadsIdPollResponse.js → types/TagSubscriberListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/PatchThreadsIdResponse.js → types/TagSubscriberResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/PostThreadsIdPollResponse.js → types/Thread.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/PostThreadsIdReactionsResponse.js → types/ThreadListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/threads/types/PostThreadsResponse.js → types/ThreadPoll.js} +0 -0
- /package/dist/cjs/api/{resources/users/client/requests/DeleteUsersIdFollowersSubIdRequest.js → types/ThreadPollCreate.js} +0 -0
- /package/dist/cjs/api/{resources/users/client/requests/DeleteUsersIdFollowingSubIdRequest.js → types/ThreadPollListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/users/client/requests/DeleteUsersIdRequest.js → types/ThreadPollResponse.js} +0 -0
- /package/dist/cjs/api/{resources/users/client/requests/GetUsersIdFollowersRequest.js → types/ThreadPost.js} +0 -0
- /package/dist/cjs/api/{resources/users/client/requests/GetUsersIdFollowersSubIdRequest.js → types/ThreadPostListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/users/client/requests/GetUsersIdFollowingRequest.js → types/ThreadPostResponse.js} +0 -0
- /package/dist/cjs/api/{resources/users/client/requests/GetUsersIdFollowingSubIdRequest.js → types/ThreadReaction.js} +0 -0
- /package/dist/cjs/api/{resources/users/client/requests/GetUsersIdRequest.js → types/ThreadReactionListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/users/client/requests/GetUsersRequest.js → types/ThreadReactionResponse.js} +0 -0
- /package/dist/cjs/api/{resources/users/client/requests/PatchUsersIdRequest.js → types/ThreadSubscriber.js} +0 -0
- /package/dist/cjs/api/{resources/users/types/DeleteUsersIdFollowersSubIdResponse.js → types/ThreadSubscriberListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/users/types/DeleteUsersIdFollowingSubIdResponse.js → types/ThreadSubscriberResponse.js} +0 -0
- /package/dist/cjs/api/{resources/users/types/DeleteUsersIdResponse.js → types/User.js} +0 -0
- /package/dist/cjs/api/{resources/users/types/GetUsersIdFollowersResponse.js → types/UserFollower.js} +0 -0
- /package/dist/cjs/api/{resources/users/types/GetUsersIdFollowersSubIdResponse.js → types/UserFollowerListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/users/types/GetUsersIdFollowingResponse.js → types/UserFollowerResponse.js} +0 -0
- /package/dist/cjs/api/{resources/users/types/GetUsersIdFollowingSubIdResponse.js → types/UserFollowing.js} +0 -0
- /package/dist/cjs/api/{resources/users/types/GetUsersIdResponse.js → types/UserFollowingListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/users/types/GetUsersResponse.js → types/UserFollowingResponse.js} +0 -0
- /package/dist/cjs/api/{resources/users/types/PatchUsersIdResponse.js → types/UserListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.js → types/Webhook.js} +0 -0
- /package/dist/cjs/api/{resources/webhooks/client/requests/DeleteWebhooksIdRequest.js → types/WebhookDelivery.js} +0 -0
- /package/dist/cjs/api/{resources/webhooks/client/requests/GetWebhooksIdDeliveriesRequest.js → types/WebhookDeliveryListResponse.js} +0 -0
- /package/dist/cjs/api/{resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.js → types/WebhookDeliveryResponse.js} +0 -0
- /package/dist/cjs/api/{resources/webhooks/client/requests/GetWebhooksIdRequest.js → types/WebhookListResponse.js} +0 -0
- /package/dist/esm/api/resources/auth/client/requests/{PostAuthForgotPasswordRequest.mjs → ForgotPasswordAuthRequest.mjs} +0 -0
- /package/dist/esm/api/resources/auth/client/requests/{PostAuthLoginRequest.mjs → LoginAuthRequest.mjs} +0 -0
- /package/dist/esm/api/resources/auth/client/requests/{PostAuthRegisterRequest.mjs → RegisterAuthRequest.mjs} +0 -0
- /package/dist/esm/api/resources/auth/client/requests/{PostAuthResetPasswordRequest.mjs → ResetPasswordAuthRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{auth/types/GetAuthMeResponse.mjs → integrations/client/requests/CreateIntegrationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{auth/types/PostAuthForgotPasswordResponse.mjs → integrations/client/requests/DeleteIntegrationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{auth/types/PostAuthLoginResponse.mjs → integrations/client/requests/ListIntegrationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{auth/types/PostAuthRegisterResponse.mjs → integrations/client/requests/RetrieveIntegrationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{auth/types/PostAuthResetPasswordResponse.mjs → integrations/client/requests/UpdateIntegrationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{integrations/client/requests/DeleteIntegrationsIdRequest.mjs → notifications/client/requests/DeleteNotificationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{integrations/client/requests/GetIntegrationsIdRequest.mjs → notifications/client/requests/ListNotificationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{integrations/client/requests/GetIntegrationsRequest.mjs → notifications/client/requests/RetrieveNotificationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{integrations/client/requests/PatchIntegrationsIdRequest.mjs → notifications/types/UpdateNotificationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{integrations/client/requests/PostIntegrationsRequest.mjs → posts/client/requests/CreatePostsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{integrations/types/DeleteIntegrationsIdResponse.mjs → posts/client/requests/DeletePostPostsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{notifications/client/requests/DeleteNotificationsIdRequest.mjs → posts/client/requests/DeletePostsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{notifications/client/requests/GetNotificationsIdRequest.mjs → posts/client/requests/DeleteReactionPostsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{notifications/client/requests/GetNotificationsRequest.mjs → posts/client/requests/ListPostsPostsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{notifications/types/DeleteNotificationsIdResponse.mjs → posts/client/requests/ListPostsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{notifications/types/GetNotificationsIdResponse.mjs → posts/client/requests/ListReactionsPostsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{notifications/types/GetNotificationsResponse.mjs → posts/client/requests/RetrievePostPostsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{notifications/types/PatchNotificationsIdResponse.mjs → posts/client/requests/RetrievePostsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{notifications/types/PostNotificationsResponse.mjs → posts/client/requests/RetrieveReactionPostsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/posts/client/requests/{DeletePostsIdPostsSubIdRequest.mjs → UpdatePostsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/posts/{client/requests/DeletePostsIdReactionsRequest.mjs → types/DeleteReactionPostsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/posts/{client/requests/DeletePostsIdReactionsSubIdRequest.mjs → types/RetrievePostPostsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/posts/{client/requests/DeletePostsIdRequest.mjs → types/RetrieveReactionPostsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/posts/{client/requests/GetPostsIdPostsRequest.mjs → types/UpdatePostsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/client/requests/GetPostsIdPostsSubIdRequest.mjs → privateMessages/client/requests/CreatePrivateMessagesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/client/requests/GetPostsIdReactionsRequest.mjs → privateMessages/client/requests/CreateReplyPrivateMessagesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/client/requests/GetPostsIdReactionsSubIdRequest.mjs → privateMessages/client/requests/DeletePrivateMessagesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/client/requests/GetPostsIdRequest.mjs → privateMessages/client/requests/DeleteReplyPrivateMessagesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/client/requests/GetPostsRequest.mjs → privateMessages/client/requests/ListPrivateMessagesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/client/requests/PatchPostsIdRequest.mjs → privateMessages/client/requests/ListRepliesPrivateMessagesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/client/requests/PostPostsRequest.mjs → privateMessages/client/requests/RetrievePrivateMessagesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/types/DeletePostsIdPostsSubIdResponse.mjs → privateMessages/client/requests/RetrieveReplyPrivateMessagesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/types/DeletePostsIdReactionsResponse.mjs → privateMessages/types/RetrieveReplyPrivateMessagesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/types/DeletePostsIdReactionsSubIdResponse.mjs → reports/client/requests/CreateReportsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/types/DeletePostsIdResponse.mjs → reports/client/requests/DeleteReportsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/types/GetPostsIdPostsResponse.mjs → reports/client/requests/ListReportsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/types/GetPostsIdPostsSubIdResponse.mjs → reports/client/requests/RetrieveReportsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/types/GetPostsIdReactionsResponse.mjs → roles/client/requests/CreateRolesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/types/GetPostsIdReactionsSubIdResponse.mjs → roles/client/requests/DeleteRolesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/types/GetPostsIdResponse.mjs → roles/client/requests/ListRolesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/types/GetPostsResponse.mjs → roles/client/requests/RetrieveRolesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/types/PatchPostsIdResponse.mjs → roles/client/requests/UpdateRolesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/types/PostPostsIdReactionsResponse.mjs → roles/types/UpdateRolesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{posts/types/PostPostsResponse.mjs → ssOs/client/requests/CreateSsOsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.mjs → ssOs/client/requests/DeleteSsOsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/client/requests/DeletePrivateMessagesIdRequest.mjs → ssOs/client/requests/ListSsOsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/client/requests/GetPrivateMessagesIdRepliesRequest.mjs → ssOs/client/requests/RetrieveSsOsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.mjs → ssOs/client/requests/UpdateSsOsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/client/requests/GetPrivateMessagesIdRequest.mjs → tags/client/requests/CreateTagsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/client/requests/GetPrivateMessagesRequest.mjs → tags/client/requests/DeleteSubscriberTagsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/client/requests/PostPrivateMessagesIdRepliesRequest.mjs → tags/client/requests/DeleteTagsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/client/requests/PostPrivateMessagesRequest.mjs → tags/client/requests/ListSubscribersTagsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/types/DeletePrivateMessagesIdRepliesSubIdResponse.mjs → tags/client/requests/ListTagsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/types/DeletePrivateMessagesIdResponse.mjs → tags/client/requests/RetrieveSubscriberTagsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/types/GetPrivateMessagesIdRepliesResponse.mjs → tags/client/requests/RetrieveTagsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/types/GetPrivateMessagesIdRepliesSubIdResponse.mjs → tags/client/requests/UpdateTagsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/types/GetPrivateMessagesIdResponse.mjs → tags/types/RetrieveSubscriberTagsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/types/GetPrivateMessagesResponse.mjs → tags/types/UpdateTagsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/types/PostPrivateMessagesIdRepliesResponse.mjs → threads/client/requests/CreatePollThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{privateMessages/types/PostPrivateMessagesResponse.mjs → threads/client/requests/CreateThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{reports/client/requests/DeleteReportsIdRequest.mjs → threads/client/requests/DeletePostThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{reports/client/requests/GetReportsIdRequest.mjs → threads/client/requests/DeleteReactionThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{reports/client/requests/GetReportsRequest.mjs → threads/client/requests/DeleteSubscriberThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{reports/client/requests/PostReportsRequest.mjs → threads/client/requests/DeleteThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{reports/types/DeleteReportsIdResponse.mjs → threads/client/requests/ListPostsThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{reports/types/GetReportsIdResponse.mjs → threads/client/requests/ListReactionsThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{reports/types/GetReportsResponse.mjs → threads/client/requests/ListSubscribersThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{reports/types/PostReportsResponse.mjs → threads/client/requests/ListThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{roles/client/requests/DeleteRolesIdRequest.mjs → threads/client/requests/RetrievePollThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{roles/client/requests/GetRolesIdRequest.mjs → threads/client/requests/RetrievePostThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{roles/client/requests/GetRolesRequest.mjs → threads/client/requests/RetrieveReactionThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{roles/client/requests/PatchRolesIdRequest.mjs → threads/client/requests/RetrieveSubscriberThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{roles/client/requests/PostRolesRequest.mjs → threads/client/requests/RetrieveThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{roles/types/DeleteRolesIdResponse.mjs → threads/client/requests/UpdatePollThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{roles/types/GetRolesIdResponse.mjs → threads/client/requests/UpdateThreadsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{roles/types/GetRolesResponse.mjs → threads/types/DeleteReactionThreadsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{roles/types/PatchRolesIdResponse.mjs → threads/types/RetrievePostThreadsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{roles/types/PostRolesResponse.mjs → threads/types/RetrieveReactionThreadsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{ssOs/client/requests/DeleteSsoIdRequest.mjs → threads/types/RetrieveSubscriberThreadsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{ssOs/client/requests/GetSsoIdRequest.mjs → threads/types/UpdateThreadsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{ssOs/client/requests/GetSsoRequest.mjs → users/client/requests/DeleteFollowerUsersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{ssOs/client/requests/PatchSsoIdRequest.mjs → users/client/requests/DeleteFollowingUsersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{ssOs/client/requests/PostSsoRequest.mjs → users/client/requests/DeleteUsersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{ssOs/types/DeleteSsoIdResponse.mjs → users/client/requests/ListFollowersUsersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/client/requests/DeleteTagsIdRequest.mjs → users/client/requests/ListFollowingUsersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/client/requests/DeleteTagsIdSubscribersSubIdRequest.mjs → users/client/requests/ListUsersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/client/requests/GetTagsIdRequest.mjs → users/client/requests/RetrieveFollowerUsersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/client/requests/GetTagsIdSubscribersRequest.mjs → users/client/requests/RetrieveFollowingUsersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/client/requests/GetTagsIdSubscribersSubIdRequest.mjs → users/client/requests/RetrieveUsersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/client/requests/GetTagsRequest.mjs → users/client/requests/UpdateUsersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/client/requests/PatchTagsIdRequest.mjs → users/types/RetrieveFollowerUsersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/client/requests/PostTagsRequest.mjs → users/types/RetrieveFollowingUsersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/types/DeleteTagsIdResponse.mjs → users/types/UpdateUsersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/types/DeleteTagsIdSubscribersSubIdResponse.mjs → webhooks/client/requests/CreateWebhooksRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/types/GetTagsIdResponse.mjs → webhooks/client/requests/DeleteDeliveryWebhooksRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/types/GetTagsIdSubscribersResponse.mjs → webhooks/client/requests/DeleteWebhooksRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/types/GetTagsIdSubscribersSubIdResponse.mjs → webhooks/client/requests/ListDeliveriesWebhooksRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/types/GetTagsResponse.mjs → webhooks/client/requests/ListWebhooksRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/types/PatchTagsIdResponse.mjs → webhooks/client/requests/RetrieveDeliveryWebhooksRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tags/types/PostTagsResponse.mjs → webhooks/client/requests/RetrieveWebhooksRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{threads/client/requests/DeleteThreadsIdPostsSubIdRequest.mjs → webhooks/types/RetrieveDeliveryWebhooksResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/DeleteThreadsIdReactionsRequest.mjs → types/Auth.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/DeleteThreadsIdReactionsSubIdRequest.mjs → types/AuthListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/DeleteThreadsIdRequest.mjs → types/ForgotPasswordResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/DeleteThreadsIdSubscribersSubIdRequest.mjs → types/LoginResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/GetThreadsIdPollRequest.mjs → types/MeResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/GetThreadsIdPostsRequest.mjs → types/Notification.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/GetThreadsIdPostsSubIdRequest.mjs → types/NotificationListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/GetThreadsIdReactionsRequest.mjs → types/Post.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/GetThreadsIdReactionsSubIdRequest.mjs → types/PostListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/GetThreadsIdRequest.mjs → types/PostPost.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/GetThreadsIdSubscribersRequest.mjs → types/PostPostListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/GetThreadsIdSubscribersSubIdRequest.mjs → types/PostPostResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/GetThreadsRequest.mjs → types/PostReaction.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/PatchThreadsIdPollRequest.mjs → types/PostReactionListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/PatchThreadsIdRequest.mjs → types/PostReactionResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/PostThreadsIdPollRequest.mjs → types/PrivateMessage.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/client/requests/PostThreadsRequest.mjs → types/PrivateMessageListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/DeleteThreadsIdPostsSubIdResponse.mjs → types/PrivateMessageReply.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/DeleteThreadsIdReactionsResponse.mjs → types/PrivateMessageReplyCreate.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/DeleteThreadsIdReactionsSubIdResponse.mjs → types/PrivateMessageReplyListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/DeleteThreadsIdResponse.mjs → types/PrivateMessageReplyResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/DeleteThreadsIdSubscribersSubIdResponse.mjs → types/RegisterResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/GetThreadsIdPollResponse.mjs → types/Report.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/GetThreadsIdPostsResponse.mjs → types/ReportListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/GetThreadsIdPostsSubIdResponse.mjs → types/ResetPasswordResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/GetThreadsIdReactionsResponse.mjs → types/Role.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/GetThreadsIdReactionsSubIdResponse.mjs → types/RoleListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/GetThreadsIdResponse.mjs → types/SuccessResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/GetThreadsIdSubscribersResponse.mjs → types/Tag.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/GetThreadsIdSubscribersSubIdResponse.mjs → types/TagListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/GetThreadsResponse.mjs → types/TagSubscriber.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/PatchThreadsIdPollResponse.mjs → types/TagSubscriberListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/PatchThreadsIdResponse.mjs → types/TagSubscriberResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/PostThreadsIdPollResponse.mjs → types/Thread.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/PostThreadsIdReactionsResponse.mjs → types/ThreadListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/threads/types/PostThreadsResponse.mjs → types/ThreadPoll.mjs} +0 -0
- /package/dist/esm/api/{resources/users/client/requests/DeleteUsersIdFollowersSubIdRequest.mjs → types/ThreadPollCreate.mjs} +0 -0
- /package/dist/esm/api/{resources/users/client/requests/DeleteUsersIdFollowingSubIdRequest.mjs → types/ThreadPollListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/users/client/requests/DeleteUsersIdRequest.mjs → types/ThreadPollResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/users/client/requests/GetUsersIdFollowersRequest.mjs → types/ThreadPost.mjs} +0 -0
- /package/dist/esm/api/{resources/users/client/requests/GetUsersIdFollowersSubIdRequest.mjs → types/ThreadPostListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/users/client/requests/GetUsersIdFollowingRequest.mjs → types/ThreadPostResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/users/client/requests/GetUsersIdFollowingSubIdRequest.mjs → types/ThreadReaction.mjs} +0 -0
- /package/dist/esm/api/{resources/users/client/requests/GetUsersIdRequest.mjs → types/ThreadReactionListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/users/client/requests/GetUsersRequest.mjs → types/ThreadReactionResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/users/client/requests/PatchUsersIdRequest.mjs → types/ThreadSubscriber.mjs} +0 -0
- /package/dist/esm/api/{resources/users/types/DeleteUsersIdFollowersSubIdResponse.mjs → types/ThreadSubscriberListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/users/types/DeleteUsersIdFollowingSubIdResponse.mjs → types/ThreadSubscriberResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/users/types/DeleteUsersIdResponse.mjs → types/User.mjs} +0 -0
- /package/dist/esm/api/{resources/users/types/GetUsersIdFollowersResponse.mjs → types/UserFollower.mjs} +0 -0
- /package/dist/esm/api/{resources/users/types/GetUsersIdFollowersSubIdResponse.mjs → types/UserFollowerListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/users/types/GetUsersIdFollowingResponse.mjs → types/UserFollowerResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/users/types/GetUsersIdFollowingSubIdResponse.mjs → types/UserFollowing.mjs} +0 -0
- /package/dist/esm/api/{resources/users/types/GetUsersIdResponse.mjs → types/UserFollowingListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/users/types/GetUsersResponse.mjs → types/UserFollowingResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/users/types/PatchUsersIdResponse.mjs → types/UserListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.mjs → types/Webhook.mjs} +0 -0
- /package/dist/esm/api/{resources/webhooks/client/requests/DeleteWebhooksIdRequest.mjs → types/WebhookDelivery.mjs} +0 -0
- /package/dist/esm/api/{resources/webhooks/client/requests/GetWebhooksIdDeliveriesRequest.mjs → types/WebhookDeliveryListResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.mjs → types/WebhookDeliveryResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/webhooks/client/requests/GetWebhooksIdRequest.mjs → types/WebhookListResponse.mjs} +0 -0
|
@@ -26,12 +26,17 @@ import * as environments from "../../../../environments.mjs";
|
|
|
26
26
|
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
|
|
27
27
|
import * as errors from "../../../../errors/index.mjs";
|
|
28
28
|
import * as Forum from "../../../index.mjs";
|
|
29
|
+
/**
|
|
30
|
+
* Operations for threads
|
|
31
|
+
*/
|
|
29
32
|
export class ThreadsClient {
|
|
30
33
|
constructor(options) {
|
|
31
34
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
32
35
|
}
|
|
33
36
|
/**
|
|
34
|
-
*
|
|
37
|
+
* Retrieve a paginated list of threads. Use cursor for pagination.
|
|
38
|
+
*
|
|
39
|
+
* @param {Forum.ListThreadsRequest} request
|
|
35
40
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
36
41
|
*
|
|
37
42
|
* @throws {@link Forum.UnauthorizedError}
|
|
@@ -40,36 +45,45 @@ export class ThreadsClient {
|
|
|
40
45
|
* @throws {@link Forum.InternalServerError}
|
|
41
46
|
*
|
|
42
47
|
* @example
|
|
43
|
-
* await client.threads.
|
|
48
|
+
* await client.threads.list()
|
|
44
49
|
*/
|
|
45
|
-
|
|
46
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
50
|
+
list(request = {}, requestOptions) {
|
|
51
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
47
52
|
}
|
|
48
|
-
|
|
53
|
+
__list() {
|
|
49
54
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
50
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
51
|
-
const {
|
|
55
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
56
|
+
const { limit, cursor, search, tagId, userId, sort } = request;
|
|
52
57
|
const _queryParams = {};
|
|
53
|
-
if (page != null) {
|
|
54
|
-
_queryParams.page = page.toString();
|
|
55
|
-
}
|
|
56
58
|
if (limit != null) {
|
|
57
59
|
_queryParams.limit = limit.toString();
|
|
58
60
|
}
|
|
61
|
+
if (cursor != null) {
|
|
62
|
+
_queryParams.cursor = cursor;
|
|
63
|
+
}
|
|
59
64
|
if (search != null) {
|
|
60
65
|
_queryParams.search = search;
|
|
61
66
|
}
|
|
67
|
+
if (tagId != null) {
|
|
68
|
+
_queryParams.tagId = tagId;
|
|
69
|
+
}
|
|
70
|
+
if (userId != null) {
|
|
71
|
+
_queryParams.userId = userId;
|
|
72
|
+
}
|
|
73
|
+
if (sort != null) {
|
|
74
|
+
_queryParams.sort = sort;
|
|
75
|
+
}
|
|
62
76
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
63
77
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
64
|
-
const _response = yield core.fetcher({
|
|
65
|
-
url: core.url.join((
|
|
78
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
79
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, "threads"),
|
|
66
80
|
method: "GET",
|
|
67
81
|
headers: _headers,
|
|
68
82
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
69
|
-
timeoutMs: ((
|
|
70
|
-
maxRetries: (
|
|
83
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
84
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
71
85
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
72
|
-
fetchFn: (
|
|
86
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
73
87
|
logging: this._options.logging,
|
|
74
88
|
});
|
|
75
89
|
if (_response.ok) {
|
|
@@ -97,7 +111,9 @@ export class ThreadsClient {
|
|
|
97
111
|
});
|
|
98
112
|
}
|
|
99
113
|
/**
|
|
100
|
-
*
|
|
114
|
+
* Create a new thread.
|
|
115
|
+
*
|
|
116
|
+
* @param {Forum.CreateThreadsRequest} request
|
|
101
117
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
102
118
|
*
|
|
103
119
|
* @throws {@link Forum.BadRequestError}
|
|
@@ -107,31 +123,31 @@ export class ThreadsClient {
|
|
|
107
123
|
* @throws {@link Forum.InternalServerError}
|
|
108
124
|
*
|
|
109
125
|
* @example
|
|
110
|
-
* await client.threads.
|
|
126
|
+
* await client.threads.create({
|
|
111
127
|
* title: "title",
|
|
112
128
|
* body: "body"
|
|
113
129
|
* })
|
|
114
130
|
*/
|
|
115
|
-
|
|
116
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
131
|
+
create(request, requestOptions) {
|
|
132
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
117
133
|
}
|
|
118
|
-
|
|
134
|
+
__create(request, requestOptions) {
|
|
119
135
|
return __awaiter(this, void 0, void 0, function* () {
|
|
120
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
136
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
121
137
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
122
138
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
123
|
-
const _response = yield core.fetcher({
|
|
124
|
-
url: core.url.join((
|
|
139
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
140
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, "threads"),
|
|
125
141
|
method: "POST",
|
|
126
142
|
headers: _headers,
|
|
127
143
|
contentType: "application/json",
|
|
128
144
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
129
145
|
requestType: "json",
|
|
130
146
|
body: request,
|
|
131
|
-
timeoutMs: ((
|
|
132
|
-
maxRetries: (
|
|
147
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
148
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
133
149
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
134
|
-
fetchFn: (
|
|
150
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
135
151
|
logging: this._options.logging,
|
|
136
152
|
});
|
|
137
153
|
if (_response.ok) {
|
|
@@ -161,7 +177,9 @@ export class ThreadsClient {
|
|
|
161
177
|
});
|
|
162
178
|
}
|
|
163
179
|
/**
|
|
164
|
-
*
|
|
180
|
+
* Retrieve a thread by ID or slug (if supported).
|
|
181
|
+
*
|
|
182
|
+
* @param {Forum.RetrieveThreadsRequest} request
|
|
165
183
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
166
184
|
*
|
|
167
185
|
* @throws {@link Forum.UnauthorizedError}
|
|
@@ -171,28 +189,28 @@ export class ThreadsClient {
|
|
|
171
189
|
* @throws {@link Forum.InternalServerError}
|
|
172
190
|
*
|
|
173
191
|
* @example
|
|
174
|
-
* await client.threads.
|
|
192
|
+
* await client.threads.retrieve({
|
|
175
193
|
* id: "id"
|
|
176
194
|
* })
|
|
177
195
|
*/
|
|
178
|
-
|
|
179
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
196
|
+
retrieve(request, requestOptions) {
|
|
197
|
+
return core.HttpResponsePromise.fromPromise(this.__retrieve(request, requestOptions));
|
|
180
198
|
}
|
|
181
|
-
|
|
199
|
+
__retrieve(request, requestOptions) {
|
|
182
200
|
return __awaiter(this, void 0, void 0, function* () {
|
|
183
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
201
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
184
202
|
const { id } = request;
|
|
185
203
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
186
204
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
187
|
-
const _response = yield core.fetcher({
|
|
188
|
-
url: core.url.join((
|
|
205
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
206
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}`),
|
|
189
207
|
method: "GET",
|
|
190
208
|
headers: _headers,
|
|
191
209
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
192
|
-
timeoutMs: ((
|
|
193
|
-
maxRetries: (
|
|
210
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
211
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
194
212
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
195
|
-
fetchFn: (
|
|
213
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
196
214
|
logging: this._options.logging,
|
|
197
215
|
});
|
|
198
216
|
if (_response.ok) {
|
|
@@ -222,7 +240,9 @@ export class ThreadsClient {
|
|
|
222
240
|
});
|
|
223
241
|
}
|
|
224
242
|
/**
|
|
225
|
-
*
|
|
243
|
+
* Permanently delete a thread.
|
|
244
|
+
*
|
|
245
|
+
* @param {Forum.DeleteThreadsRequest} request
|
|
226
246
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
227
247
|
*
|
|
228
248
|
* @throws {@link Forum.UnauthorizedError}
|
|
@@ -232,28 +252,28 @@ export class ThreadsClient {
|
|
|
232
252
|
* @throws {@link Forum.InternalServerError}
|
|
233
253
|
*
|
|
234
254
|
* @example
|
|
235
|
-
* await client.threads.
|
|
255
|
+
* await client.threads.delete({
|
|
236
256
|
* id: "id"
|
|
237
257
|
* })
|
|
238
258
|
*/
|
|
239
|
-
|
|
240
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
259
|
+
delete(request, requestOptions) {
|
|
260
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(request, requestOptions));
|
|
241
261
|
}
|
|
242
|
-
|
|
262
|
+
__delete(request, requestOptions) {
|
|
243
263
|
return __awaiter(this, void 0, void 0, function* () {
|
|
244
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
264
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
245
265
|
const { id } = request;
|
|
246
266
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
247
267
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
248
|
-
const _response = yield core.fetcher({
|
|
249
|
-
url: core.url.join((
|
|
268
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
269
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}`),
|
|
250
270
|
method: "DELETE",
|
|
251
271
|
headers: _headers,
|
|
252
272
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
253
|
-
timeoutMs: ((
|
|
254
|
-
maxRetries: (
|
|
273
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
274
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
255
275
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
256
|
-
fetchFn: (
|
|
276
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
257
277
|
logging: this._options.logging,
|
|
258
278
|
});
|
|
259
279
|
if (_response.ok) {
|
|
@@ -283,7 +303,9 @@ export class ThreadsClient {
|
|
|
283
303
|
});
|
|
284
304
|
}
|
|
285
305
|
/**
|
|
286
|
-
*
|
|
306
|
+
* Update an existing thread. Only provided fields will be modified.
|
|
307
|
+
*
|
|
308
|
+
* @param {Forum.UpdateThreadsRequest} request
|
|
287
309
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
288
310
|
*
|
|
289
311
|
* @throws {@link Forum.BadRequestError}
|
|
@@ -294,31 +316,31 @@ export class ThreadsClient {
|
|
|
294
316
|
* @throws {@link Forum.InternalServerError}
|
|
295
317
|
*
|
|
296
318
|
* @example
|
|
297
|
-
* await client.threads.
|
|
319
|
+
* await client.threads.update({
|
|
298
320
|
* id: "id"
|
|
299
321
|
* })
|
|
300
322
|
*/
|
|
301
|
-
|
|
302
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
323
|
+
update(request, requestOptions) {
|
|
324
|
+
return core.HttpResponsePromise.fromPromise(this.__update(request, requestOptions));
|
|
303
325
|
}
|
|
304
|
-
|
|
326
|
+
__update(request, requestOptions) {
|
|
305
327
|
return __awaiter(this, void 0, void 0, function* () {
|
|
306
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
328
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
307
329
|
const { id } = request, _body = __rest(request, ["id"]);
|
|
308
330
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
309
331
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
310
|
-
const _response = yield core.fetcher({
|
|
311
|
-
url: core.url.join((
|
|
332
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
333
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}`),
|
|
312
334
|
method: "PATCH",
|
|
313
335
|
headers: _headers,
|
|
314
336
|
contentType: "application/json",
|
|
315
337
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
316
338
|
requestType: "json",
|
|
317
339
|
body: _body,
|
|
318
|
-
timeoutMs: ((
|
|
319
|
-
maxRetries: (
|
|
340
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
341
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
320
342
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
321
|
-
fetchFn: (
|
|
343
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
322
344
|
logging: this._options.logging,
|
|
323
345
|
});
|
|
324
346
|
if (_response.ok) {
|
|
@@ -350,7 +372,9 @@ export class ThreadsClient {
|
|
|
350
372
|
});
|
|
351
373
|
}
|
|
352
374
|
/**
|
|
353
|
-
*
|
|
375
|
+
* Retrieve a paginated list of posts for Thread.
|
|
376
|
+
*
|
|
377
|
+
* @param {Forum.ListPostsThreadsRequest} request
|
|
354
378
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
355
379
|
*
|
|
356
380
|
* @throws {@link Forum.UnauthorizedError}
|
|
@@ -359,35 +383,47 @@ export class ThreadsClient {
|
|
|
359
383
|
* @throws {@link Forum.InternalServerError}
|
|
360
384
|
*
|
|
361
385
|
* @example
|
|
362
|
-
* await client.threads.
|
|
386
|
+
* await client.threads.listPosts({
|
|
363
387
|
* id: "id"
|
|
364
388
|
* })
|
|
365
389
|
*/
|
|
366
|
-
|
|
367
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
390
|
+
listPosts(request, requestOptions) {
|
|
391
|
+
return core.HttpResponsePromise.fromPromise(this.__listPosts(request, requestOptions));
|
|
368
392
|
}
|
|
369
|
-
|
|
393
|
+
__listPosts(request, requestOptions) {
|
|
370
394
|
return __awaiter(this, void 0, void 0, function* () {
|
|
371
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
372
|
-
const { id, cursor,
|
|
395
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
396
|
+
const { id, limit, cursor, userId, sort, search, type: type_ } = request;
|
|
373
397
|
const _queryParams = {};
|
|
398
|
+
if (limit != null) {
|
|
399
|
+
_queryParams.limit = limit.toString();
|
|
400
|
+
}
|
|
374
401
|
if (cursor != null) {
|
|
375
402
|
_queryParams.cursor = cursor;
|
|
376
403
|
}
|
|
377
|
-
if (
|
|
378
|
-
_queryParams.
|
|
404
|
+
if (userId != null) {
|
|
405
|
+
_queryParams.userId = userId;
|
|
406
|
+
}
|
|
407
|
+
if (sort != null) {
|
|
408
|
+
_queryParams.sort = sort;
|
|
409
|
+
}
|
|
410
|
+
if (search != null) {
|
|
411
|
+
_queryParams.search = search;
|
|
412
|
+
}
|
|
413
|
+
if (type_ != null) {
|
|
414
|
+
_queryParams.type = type_;
|
|
379
415
|
}
|
|
380
416
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
381
417
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
382
|
-
const _response = yield core.fetcher({
|
|
383
|
-
url: core.url.join((
|
|
418
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
419
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/posts`),
|
|
384
420
|
method: "GET",
|
|
385
421
|
headers: _headers,
|
|
386
422
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
387
|
-
timeoutMs: ((
|
|
388
|
-
maxRetries: (
|
|
423
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
424
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
389
425
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
390
|
-
fetchFn: (
|
|
426
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
391
427
|
logging: this._options.logging,
|
|
392
428
|
});
|
|
393
429
|
if (_response.ok) {
|
|
@@ -415,7 +451,7 @@ export class ThreadsClient {
|
|
|
415
451
|
});
|
|
416
452
|
}
|
|
417
453
|
/**
|
|
418
|
-
* @param {Forum.
|
|
454
|
+
* @param {Forum.RetrievePostThreadsRequest} request
|
|
419
455
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
420
456
|
*
|
|
421
457
|
* @throws {@link Forum.UnauthorizedError}
|
|
@@ -424,29 +460,29 @@ export class ThreadsClient {
|
|
|
424
460
|
* @throws {@link Forum.InternalServerError}
|
|
425
461
|
*
|
|
426
462
|
* @example
|
|
427
|
-
* await client.threads.
|
|
463
|
+
* await client.threads.retrievePost({
|
|
428
464
|
* id: "id",
|
|
429
465
|
* subId: "subId"
|
|
430
466
|
* })
|
|
431
467
|
*/
|
|
432
|
-
|
|
433
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
468
|
+
retrievePost(request, requestOptions) {
|
|
469
|
+
return core.HttpResponsePromise.fromPromise(this.__retrievePost(request, requestOptions));
|
|
434
470
|
}
|
|
435
|
-
|
|
471
|
+
__retrievePost(request, requestOptions) {
|
|
436
472
|
return __awaiter(this, void 0, void 0, function* () {
|
|
437
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
473
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
438
474
|
const { id, subId } = request;
|
|
439
475
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
440
476
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
441
|
-
const _response = yield core.fetcher({
|
|
442
|
-
url: core.url.join((
|
|
477
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
478
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/posts/${core.url.encodePathParam(subId)}`),
|
|
443
479
|
method: "GET",
|
|
444
480
|
headers: _headers,
|
|
445
481
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
446
|
-
timeoutMs: ((
|
|
447
|
-
maxRetries: (
|
|
482
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
483
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
448
484
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
449
|
-
fetchFn: (
|
|
485
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
450
486
|
logging: this._options.logging,
|
|
451
487
|
});
|
|
452
488
|
if (_response.ok) {
|
|
@@ -474,7 +510,7 @@ export class ThreadsClient {
|
|
|
474
510
|
});
|
|
475
511
|
}
|
|
476
512
|
/**
|
|
477
|
-
* @param {Forum.
|
|
513
|
+
* @param {Forum.DeletePostThreadsRequest} request
|
|
478
514
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
479
515
|
*
|
|
480
516
|
* @throws {@link Forum.UnauthorizedError}
|
|
@@ -483,36 +519,33 @@ export class ThreadsClient {
|
|
|
483
519
|
* @throws {@link Forum.InternalServerError}
|
|
484
520
|
*
|
|
485
521
|
* @example
|
|
486
|
-
* await client.threads.
|
|
522
|
+
* await client.threads.deletePost({
|
|
487
523
|
* id: "id",
|
|
488
524
|
* subId: "subId"
|
|
489
525
|
* })
|
|
490
526
|
*/
|
|
491
|
-
|
|
492
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
527
|
+
deletePost(request, requestOptions) {
|
|
528
|
+
return core.HttpResponsePromise.fromPromise(this.__deletePost(request, requestOptions));
|
|
493
529
|
}
|
|
494
|
-
|
|
530
|
+
__deletePost(request, requestOptions) {
|
|
495
531
|
return __awaiter(this, void 0, void 0, function* () {
|
|
496
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
532
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
497
533
|
const { id, subId } = request;
|
|
498
534
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
499
535
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
500
|
-
const _response = yield core.fetcher({
|
|
501
|
-
url: core.url.join((
|
|
536
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
537
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/posts/${core.url.encodePathParam(subId)}`),
|
|
502
538
|
method: "DELETE",
|
|
503
539
|
headers: _headers,
|
|
504
540
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
505
|
-
timeoutMs: ((
|
|
506
|
-
maxRetries: (
|
|
541
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
542
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
507
543
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
508
|
-
fetchFn: (
|
|
544
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
509
545
|
logging: this._options.logging,
|
|
510
546
|
});
|
|
511
547
|
if (_response.ok) {
|
|
512
|
-
return {
|
|
513
|
-
data: _response.body,
|
|
514
|
-
rawResponse: _response.rawResponse,
|
|
515
|
-
};
|
|
548
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
516
549
|
}
|
|
517
550
|
if (_response.error.reason === "status-code") {
|
|
518
551
|
switch (_response.error.statusCode) {
|
|
@@ -536,7 +569,9 @@ export class ThreadsClient {
|
|
|
536
569
|
});
|
|
537
570
|
}
|
|
538
571
|
/**
|
|
539
|
-
*
|
|
572
|
+
* Retrieve a paginated list of reactions for Thread.
|
|
573
|
+
*
|
|
574
|
+
* @param {Forum.ListReactionsThreadsRequest} request
|
|
540
575
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
541
576
|
*
|
|
542
577
|
* @throws {@link Forum.UnauthorizedError}
|
|
@@ -545,35 +580,38 @@ export class ThreadsClient {
|
|
|
545
580
|
* @throws {@link Forum.InternalServerError}
|
|
546
581
|
*
|
|
547
582
|
* @example
|
|
548
|
-
* await client.threads.
|
|
583
|
+
* await client.threads.listReactions({
|
|
549
584
|
* id: "id"
|
|
550
585
|
* })
|
|
551
586
|
*/
|
|
552
|
-
|
|
553
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
587
|
+
listReactions(request, requestOptions) {
|
|
588
|
+
return core.HttpResponsePromise.fromPromise(this.__listReactions(request, requestOptions));
|
|
554
589
|
}
|
|
555
|
-
|
|
590
|
+
__listReactions(request, requestOptions) {
|
|
556
591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
557
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
558
|
-
const { id, cursor,
|
|
592
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
593
|
+
const { id, limit, cursor, type: type_ } = request;
|
|
559
594
|
const _queryParams = {};
|
|
595
|
+
if (limit != null) {
|
|
596
|
+
_queryParams.limit = limit.toString();
|
|
597
|
+
}
|
|
560
598
|
if (cursor != null) {
|
|
561
599
|
_queryParams.cursor = cursor;
|
|
562
600
|
}
|
|
563
|
-
if (
|
|
564
|
-
_queryParams.
|
|
601
|
+
if (type_ != null) {
|
|
602
|
+
_queryParams.type = type_;
|
|
565
603
|
}
|
|
566
604
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
567
605
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
568
|
-
const _response = yield core.fetcher({
|
|
569
|
-
url: core.url.join((
|
|
606
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
607
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/reactions`),
|
|
570
608
|
method: "GET",
|
|
571
609
|
headers: _headers,
|
|
572
610
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
573
|
-
timeoutMs: ((
|
|
574
|
-
maxRetries: (
|
|
611
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
612
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
575
613
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
576
|
-
fetchFn: (
|
|
614
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
577
615
|
logging: this._options.logging,
|
|
578
616
|
});
|
|
579
617
|
if (_response.ok) {
|
|
@@ -601,7 +639,9 @@ export class ThreadsClient {
|
|
|
601
639
|
});
|
|
602
640
|
}
|
|
603
641
|
/**
|
|
604
|
-
*
|
|
642
|
+
* Create a Reaction in Thread.
|
|
643
|
+
*
|
|
644
|
+
* @param {Forum.CreateReactionThreadsRequest} request
|
|
605
645
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
606
646
|
*
|
|
607
647
|
* @throws {@link Forum.BadRequestError}
|
|
@@ -611,32 +651,32 @@ export class ThreadsClient {
|
|
|
611
651
|
* @throws {@link Forum.InternalServerError}
|
|
612
652
|
*
|
|
613
653
|
* @example
|
|
614
|
-
* await client.threads.
|
|
654
|
+
* await client.threads.createReaction({
|
|
615
655
|
* id: "id",
|
|
616
656
|
* type: "LIKE"
|
|
617
657
|
* })
|
|
618
658
|
*/
|
|
619
|
-
|
|
620
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
659
|
+
createReaction(request, requestOptions) {
|
|
660
|
+
return core.HttpResponsePromise.fromPromise(this.__createReaction(request, requestOptions));
|
|
621
661
|
}
|
|
622
|
-
|
|
662
|
+
__createReaction(request, requestOptions) {
|
|
623
663
|
return __awaiter(this, void 0, void 0, function* () {
|
|
624
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
664
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
625
665
|
const { id } = request, _body = __rest(request, ["id"]);
|
|
626
666
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
627
667
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
628
|
-
const _response = yield core.fetcher({
|
|
629
|
-
url: core.url.join((
|
|
668
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
669
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/reactions`),
|
|
630
670
|
method: "POST",
|
|
631
671
|
headers: _headers,
|
|
632
672
|
contentType: "application/json",
|
|
633
673
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
634
674
|
requestType: "json",
|
|
635
675
|
body: _body,
|
|
636
|
-
timeoutMs: ((
|
|
637
|
-
maxRetries: (
|
|
676
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
677
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
638
678
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
639
|
-
fetchFn: (
|
|
679
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
640
680
|
logging: this._options.logging,
|
|
641
681
|
});
|
|
642
682
|
if (_response.ok) {
|
|
@@ -666,9 +706,7 @@ export class ThreadsClient {
|
|
|
666
706
|
});
|
|
667
707
|
}
|
|
668
708
|
/**
|
|
669
|
-
*
|
|
670
|
-
*
|
|
671
|
-
* @param {Forum.DeleteThreadsIdReactionsRequest} request
|
|
709
|
+
* @param {Forum.DeleteReactionThreadsRequest} request
|
|
672
710
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
673
711
|
*
|
|
674
712
|
* @throws {@link Forum.UnauthorizedError}
|
|
@@ -677,35 +715,33 @@ export class ThreadsClient {
|
|
|
677
715
|
* @throws {@link Forum.InternalServerError}
|
|
678
716
|
*
|
|
679
717
|
* @example
|
|
680
|
-
* await client.threads.
|
|
681
|
-
* id: "id"
|
|
718
|
+
* await client.threads.deleteReaction({
|
|
719
|
+
* id: "id",
|
|
720
|
+
* subId: "subId"
|
|
682
721
|
* })
|
|
683
722
|
*/
|
|
684
|
-
|
|
685
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
723
|
+
deleteReaction(request, requestOptions) {
|
|
724
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteReaction(request, requestOptions));
|
|
686
725
|
}
|
|
687
|
-
|
|
726
|
+
__deleteReaction(request, requestOptions) {
|
|
688
727
|
return __awaiter(this, void 0, void 0, function* () {
|
|
689
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
690
|
-
const { id } = request;
|
|
728
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
729
|
+
const { id, subId } = request;
|
|
691
730
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
692
731
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
693
|
-
const _response = yield core.fetcher({
|
|
694
|
-
url: core.url.join((
|
|
732
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
733
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/reactions/${core.url.encodePathParam(subId)}`),
|
|
695
734
|
method: "DELETE",
|
|
696
735
|
headers: _headers,
|
|
697
736
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
698
|
-
timeoutMs: ((
|
|
699
|
-
maxRetries: (
|
|
737
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
738
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
700
739
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
701
|
-
fetchFn: (
|
|
740
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
702
741
|
logging: this._options.logging,
|
|
703
742
|
});
|
|
704
743
|
if (_response.ok) {
|
|
705
|
-
return {
|
|
706
|
-
data: _response.body,
|
|
707
|
-
rawResponse: _response.rawResponse,
|
|
708
|
-
};
|
|
744
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
709
745
|
}
|
|
710
746
|
if (_response.error.reason === "status-code") {
|
|
711
747
|
switch (_response.error.statusCode) {
|
|
@@ -725,11 +761,11 @@ export class ThreadsClient {
|
|
|
725
761
|
});
|
|
726
762
|
}
|
|
727
763
|
}
|
|
728
|
-
return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/threads/{id}/reactions");
|
|
764
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/threads/{id}/reactions/{subId}");
|
|
729
765
|
});
|
|
730
766
|
}
|
|
731
767
|
/**
|
|
732
|
-
* @param {Forum.
|
|
768
|
+
* @param {Forum.RetrieveReactionThreadsRequest} request
|
|
733
769
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
734
770
|
*
|
|
735
771
|
* @throws {@link Forum.UnauthorizedError}
|
|
@@ -738,29 +774,29 @@ export class ThreadsClient {
|
|
|
738
774
|
* @throws {@link Forum.InternalServerError}
|
|
739
775
|
*
|
|
740
776
|
* @example
|
|
741
|
-
* await client.threads.
|
|
777
|
+
* await client.threads.retrieveReaction({
|
|
742
778
|
* id: "id",
|
|
743
779
|
* subId: "subId"
|
|
744
780
|
* })
|
|
745
781
|
*/
|
|
746
|
-
|
|
747
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
782
|
+
retrieveReaction(request, requestOptions) {
|
|
783
|
+
return core.HttpResponsePromise.fromPromise(this.__retrieveReaction(request, requestOptions));
|
|
748
784
|
}
|
|
749
|
-
|
|
785
|
+
__retrieveReaction(request, requestOptions) {
|
|
750
786
|
return __awaiter(this, void 0, void 0, function* () {
|
|
751
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
787
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
752
788
|
const { id, subId } = request;
|
|
753
789
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
754
790
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
755
|
-
const _response = yield core.fetcher({
|
|
756
|
-
url: core.url.join((
|
|
791
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
792
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/reactions/${core.url.encodePathParam(subId)}`),
|
|
757
793
|
method: "GET",
|
|
758
794
|
headers: _headers,
|
|
759
795
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
760
|
-
timeoutMs: ((
|
|
761
|
-
maxRetries: (
|
|
796
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
797
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
762
798
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
763
|
-
fetchFn: (
|
|
799
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
764
800
|
logging: this._options.logging,
|
|
765
801
|
});
|
|
766
802
|
if (_response.ok) {
|
|
@@ -791,69 +827,9 @@ export class ThreadsClient {
|
|
|
791
827
|
});
|
|
792
828
|
}
|
|
793
829
|
/**
|
|
794
|
-
*
|
|
795
|
-
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
796
|
-
*
|
|
797
|
-
* @throws {@link Forum.UnauthorizedError}
|
|
798
|
-
* @throws {@link Forum.NotFoundError}
|
|
799
|
-
* @throws {@link Forum.TooManyRequestsError}
|
|
800
|
-
* @throws {@link Forum.InternalServerError}
|
|
830
|
+
* Retrieve a paginated list of subscribers for Thread.
|
|
801
831
|
*
|
|
802
|
-
* @
|
|
803
|
-
* await client.threads.deleteAReactionFromThread({
|
|
804
|
-
* id: "id",
|
|
805
|
-
* subId: "subId"
|
|
806
|
-
* })
|
|
807
|
-
*/
|
|
808
|
-
deleteAReactionFromThread(request, requestOptions) {
|
|
809
|
-
return core.HttpResponsePromise.fromPromise(this.__deleteAReactionFromThread(request, requestOptions));
|
|
810
|
-
}
|
|
811
|
-
__deleteAReactionFromThread(request, requestOptions) {
|
|
812
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
813
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
814
|
-
const { id, subId } = request;
|
|
815
|
-
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
816
|
-
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
817
|
-
const _response = yield core.fetcher({
|
|
818
|
-
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, `threads/${core.url.encodePathParam(id)}/reactions/${core.url.encodePathParam(subId)}`),
|
|
819
|
-
method: "DELETE",
|
|
820
|
-
headers: _headers,
|
|
821
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
822
|
-
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,
|
|
823
|
-
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,
|
|
824
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
825
|
-
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
826
|
-
logging: this._options.logging,
|
|
827
|
-
});
|
|
828
|
-
if (_response.ok) {
|
|
829
|
-
return {
|
|
830
|
-
data: _response.body,
|
|
831
|
-
rawResponse: _response.rawResponse,
|
|
832
|
-
};
|
|
833
|
-
}
|
|
834
|
-
if (_response.error.reason === "status-code") {
|
|
835
|
-
switch (_response.error.statusCode) {
|
|
836
|
-
case 401:
|
|
837
|
-
throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
838
|
-
case 404:
|
|
839
|
-
throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
|
|
840
|
-
case 429:
|
|
841
|
-
throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
842
|
-
case 500:
|
|
843
|
-
throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
|
|
844
|
-
default:
|
|
845
|
-
throw new errors.ForumError({
|
|
846
|
-
statusCode: _response.error.statusCode,
|
|
847
|
-
body: _response.error.body,
|
|
848
|
-
rawResponse: _response.rawResponse,
|
|
849
|
-
});
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/threads/{id}/reactions/{subId}");
|
|
853
|
-
});
|
|
854
|
-
}
|
|
855
|
-
/**
|
|
856
|
-
* @param {Forum.GetThreadsIdSubscribersRequest} request
|
|
832
|
+
* @param {Forum.ListSubscribersThreadsRequest} request
|
|
857
833
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
858
834
|
*
|
|
859
835
|
* @throws {@link Forum.UnauthorizedError}
|
|
@@ -862,42 +838,39 @@ export class ThreadsClient {
|
|
|
862
838
|
* @throws {@link Forum.InternalServerError}
|
|
863
839
|
*
|
|
864
840
|
* @example
|
|
865
|
-
* await client.threads.
|
|
841
|
+
* await client.threads.listSubscribers({
|
|
866
842
|
* id: "id"
|
|
867
843
|
* })
|
|
868
844
|
*/
|
|
869
|
-
|
|
870
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
845
|
+
listSubscribers(request, requestOptions) {
|
|
846
|
+
return core.HttpResponsePromise.fromPromise(this.__listSubscribers(request, requestOptions));
|
|
871
847
|
}
|
|
872
|
-
|
|
848
|
+
__listSubscribers(request, requestOptions) {
|
|
873
849
|
return __awaiter(this, void 0, void 0, function* () {
|
|
874
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
875
|
-
const { id,
|
|
850
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
851
|
+
const { id, limit, cursor } = request;
|
|
876
852
|
const _queryParams = {};
|
|
877
|
-
if (cursor != null) {
|
|
878
|
-
_queryParams.cursor = cursor;
|
|
879
|
-
}
|
|
880
853
|
if (limit != null) {
|
|
881
854
|
_queryParams.limit = limit.toString();
|
|
882
855
|
}
|
|
856
|
+
if (cursor != null) {
|
|
857
|
+
_queryParams.cursor = cursor;
|
|
858
|
+
}
|
|
883
859
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
884
860
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
885
|
-
const _response = yield core.fetcher({
|
|
886
|
-
url: core.url.join((
|
|
861
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
862
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/subscribers`),
|
|
887
863
|
method: "GET",
|
|
888
864
|
headers: _headers,
|
|
889
865
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
890
|
-
timeoutMs: ((
|
|
891
|
-
maxRetries: (
|
|
866
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
867
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
892
868
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
893
|
-
fetchFn: (
|
|
869
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
894
870
|
logging: this._options.logging,
|
|
895
871
|
});
|
|
896
872
|
if (_response.ok) {
|
|
897
|
-
return {
|
|
898
|
-
data: _response.body,
|
|
899
|
-
rawResponse: _response.rawResponse,
|
|
900
|
-
};
|
|
873
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
901
874
|
}
|
|
902
875
|
if (_response.error.reason === "status-code") {
|
|
903
876
|
switch (_response.error.statusCode) {
|
|
@@ -921,7 +894,7 @@ export class ThreadsClient {
|
|
|
921
894
|
});
|
|
922
895
|
}
|
|
923
896
|
/**
|
|
924
|
-
* @param {Forum.
|
|
897
|
+
* @param {Forum.RetrieveSubscriberThreadsRequest} request
|
|
925
898
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
926
899
|
*
|
|
927
900
|
* @throws {@link Forum.UnauthorizedError}
|
|
@@ -930,29 +903,29 @@ export class ThreadsClient {
|
|
|
930
903
|
* @throws {@link Forum.InternalServerError}
|
|
931
904
|
*
|
|
932
905
|
* @example
|
|
933
|
-
* await client.threads.
|
|
906
|
+
* await client.threads.retrieveSubscriber({
|
|
934
907
|
* id: "id",
|
|
935
908
|
* subId: "subId"
|
|
936
909
|
* })
|
|
937
910
|
*/
|
|
938
|
-
|
|
939
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
911
|
+
retrieveSubscriber(request, requestOptions) {
|
|
912
|
+
return core.HttpResponsePromise.fromPromise(this.__retrieveSubscriber(request, requestOptions));
|
|
940
913
|
}
|
|
941
|
-
|
|
914
|
+
__retrieveSubscriber(request, requestOptions) {
|
|
942
915
|
return __awaiter(this, void 0, void 0, function* () {
|
|
943
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
916
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
944
917
|
const { id, subId } = request;
|
|
945
918
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
946
919
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
947
|
-
const _response = yield core.fetcher({
|
|
948
|
-
url: core.url.join((
|
|
920
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
921
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/subscribers/${core.url.encodePathParam(subId)}`),
|
|
949
922
|
method: "GET",
|
|
950
923
|
headers: _headers,
|
|
951
924
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
952
|
-
timeoutMs: ((
|
|
953
|
-
maxRetries: (
|
|
925
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
926
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
954
927
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
955
|
-
fetchFn: (
|
|
928
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
956
929
|
logging: this._options.logging,
|
|
957
930
|
});
|
|
958
931
|
if (_response.ok) {
|
|
@@ -983,7 +956,7 @@ export class ThreadsClient {
|
|
|
983
956
|
});
|
|
984
957
|
}
|
|
985
958
|
/**
|
|
986
|
-
* @param {Forum.
|
|
959
|
+
* @param {Forum.DeleteSubscriberThreadsRequest} request
|
|
987
960
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
988
961
|
*
|
|
989
962
|
* @throws {@link Forum.UnauthorizedError}
|
|
@@ -992,36 +965,33 @@ export class ThreadsClient {
|
|
|
992
965
|
* @throws {@link Forum.InternalServerError}
|
|
993
966
|
*
|
|
994
967
|
* @example
|
|
995
|
-
* await client.threads.
|
|
968
|
+
* await client.threads.deleteSubscriber({
|
|
996
969
|
* id: "id",
|
|
997
970
|
* subId: "subId"
|
|
998
971
|
* })
|
|
999
972
|
*/
|
|
1000
|
-
|
|
1001
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
973
|
+
deleteSubscriber(request, requestOptions) {
|
|
974
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteSubscriber(request, requestOptions));
|
|
1002
975
|
}
|
|
1003
|
-
|
|
976
|
+
__deleteSubscriber(request, requestOptions) {
|
|
1004
977
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1005
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
978
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1006
979
|
const { id, subId } = request;
|
|
1007
980
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1008
981
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1009
|
-
const _response = yield core.fetcher({
|
|
1010
|
-
url: core.url.join((
|
|
982
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
983
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/subscribers/${core.url.encodePathParam(subId)}`),
|
|
1011
984
|
method: "DELETE",
|
|
1012
985
|
headers: _headers,
|
|
1013
986
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1014
|
-
timeoutMs: ((
|
|
1015
|
-
maxRetries: (
|
|
987
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
988
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1016
989
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1017
|
-
fetchFn: (
|
|
990
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1018
991
|
logging: this._options.logging,
|
|
1019
992
|
});
|
|
1020
993
|
if (_response.ok) {
|
|
1021
|
-
return {
|
|
1022
|
-
data: _response.body,
|
|
1023
|
-
rawResponse: _response.rawResponse,
|
|
1024
|
-
};
|
|
994
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1025
995
|
}
|
|
1026
996
|
if (_response.error.reason === "status-code") {
|
|
1027
997
|
switch (_response.error.statusCode) {
|
|
@@ -1045,7 +1015,7 @@ export class ThreadsClient {
|
|
|
1045
1015
|
});
|
|
1046
1016
|
}
|
|
1047
1017
|
/**
|
|
1048
|
-
* @param {Forum.
|
|
1018
|
+
* @param {Forum.RetrievePollThreadsRequest} request
|
|
1049
1019
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1050
1020
|
*
|
|
1051
1021
|
* @throws {@link Forum.UnauthorizedError}
|
|
@@ -1054,28 +1024,28 @@ export class ThreadsClient {
|
|
|
1054
1024
|
* @throws {@link Forum.InternalServerError}
|
|
1055
1025
|
*
|
|
1056
1026
|
* @example
|
|
1057
|
-
* await client.threads.
|
|
1027
|
+
* await client.threads.retrievePoll({
|
|
1058
1028
|
* id: "id"
|
|
1059
1029
|
* })
|
|
1060
1030
|
*/
|
|
1061
|
-
|
|
1062
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
1031
|
+
retrievePoll(request, requestOptions) {
|
|
1032
|
+
return core.HttpResponsePromise.fromPromise(this.__retrievePoll(request, requestOptions));
|
|
1063
1033
|
}
|
|
1064
|
-
|
|
1034
|
+
__retrievePoll(request, requestOptions) {
|
|
1065
1035
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1066
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1036
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1067
1037
|
const { id } = request;
|
|
1068
1038
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1069
1039
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1070
|
-
const _response = yield core.fetcher({
|
|
1071
|
-
url: core.url.join((
|
|
1040
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1041
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/poll`),
|
|
1072
1042
|
method: "GET",
|
|
1073
1043
|
headers: _headers,
|
|
1074
1044
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1075
|
-
timeoutMs: ((
|
|
1076
|
-
maxRetries: (
|
|
1045
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1046
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1077
1047
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1078
|
-
fetchFn: (
|
|
1048
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1079
1049
|
logging: this._options.logging,
|
|
1080
1050
|
});
|
|
1081
1051
|
if (_response.ok) {
|
|
@@ -1103,7 +1073,7 @@ export class ThreadsClient {
|
|
|
1103
1073
|
});
|
|
1104
1074
|
}
|
|
1105
1075
|
/**
|
|
1106
|
-
* @param {Forum.
|
|
1076
|
+
* @param {Forum.CreatePollThreadsRequest} request
|
|
1107
1077
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1108
1078
|
*
|
|
1109
1079
|
* @throws {@link Forum.BadRequestError}
|
|
@@ -1113,7 +1083,7 @@ export class ThreadsClient {
|
|
|
1113
1083
|
* @throws {@link Forum.InternalServerError}
|
|
1114
1084
|
*
|
|
1115
1085
|
* @example
|
|
1116
|
-
* await client.threads.
|
|
1086
|
+
* await client.threads.createPoll({
|
|
1117
1087
|
* id: "id",
|
|
1118
1088
|
* title: "title",
|
|
1119
1089
|
* options: [{
|
|
@@ -1121,27 +1091,27 @@ export class ThreadsClient {
|
|
|
1121
1091
|
* }]
|
|
1122
1092
|
* })
|
|
1123
1093
|
*/
|
|
1124
|
-
|
|
1125
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
1094
|
+
createPoll(request, requestOptions) {
|
|
1095
|
+
return core.HttpResponsePromise.fromPromise(this.__createPoll(request, requestOptions));
|
|
1126
1096
|
}
|
|
1127
|
-
|
|
1097
|
+
__createPoll(request, requestOptions) {
|
|
1128
1098
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1129
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1099
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1130
1100
|
const { id } = request, _body = __rest(request, ["id"]);
|
|
1131
1101
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1132
1102
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1133
|
-
const _response = yield core.fetcher({
|
|
1134
|
-
url: core.url.join((
|
|
1103
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1104
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/poll`),
|
|
1135
1105
|
method: "POST",
|
|
1136
1106
|
headers: _headers,
|
|
1137
1107
|
contentType: "application/json",
|
|
1138
1108
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1139
1109
|
requestType: "json",
|
|
1140
1110
|
body: _body,
|
|
1141
|
-
timeoutMs: ((
|
|
1142
|
-
maxRetries: (
|
|
1111
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1112
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1143
1113
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1144
|
-
fetchFn: (
|
|
1114
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1145
1115
|
logging: this._options.logging,
|
|
1146
1116
|
});
|
|
1147
1117
|
if (_response.ok) {
|
|
@@ -1171,7 +1141,7 @@ export class ThreadsClient {
|
|
|
1171
1141
|
});
|
|
1172
1142
|
}
|
|
1173
1143
|
/**
|
|
1174
|
-
* @param {Forum.
|
|
1144
|
+
* @param {Forum.UpdatePollThreadsRequest} request
|
|
1175
1145
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1176
1146
|
*
|
|
1177
1147
|
* @throws {@link Forum.BadRequestError}
|
|
@@ -1181,31 +1151,31 @@ export class ThreadsClient {
|
|
|
1181
1151
|
* @throws {@link Forum.InternalServerError}
|
|
1182
1152
|
*
|
|
1183
1153
|
* @example
|
|
1184
|
-
* await client.threads.
|
|
1154
|
+
* await client.threads.updatePoll({
|
|
1185
1155
|
* id: "id"
|
|
1186
1156
|
* })
|
|
1187
1157
|
*/
|
|
1188
|
-
|
|
1189
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
1158
|
+
updatePoll(request, requestOptions) {
|
|
1159
|
+
return core.HttpResponsePromise.fromPromise(this.__updatePoll(request, requestOptions));
|
|
1190
1160
|
}
|
|
1191
|
-
|
|
1161
|
+
__updatePoll(request, requestOptions) {
|
|
1192
1162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1193
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1163
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1194
1164
|
const { id } = request, _body = __rest(request, ["id"]);
|
|
1195
1165
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1196
1166
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1197
|
-
const _response = yield core.fetcher({
|
|
1198
|
-
url: core.url.join((
|
|
1167
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1168
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ForumEnvironment.Production, `threads/${core.url.encodePathParam(id)}/poll`),
|
|
1199
1169
|
method: "PATCH",
|
|
1200
1170
|
headers: _headers,
|
|
1201
1171
|
contentType: "application/json",
|
|
1202
1172
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1203
1173
|
requestType: "json",
|
|
1204
1174
|
body: _body,
|
|
1205
|
-
timeoutMs: ((
|
|
1206
|
-
maxRetries: (
|
|
1175
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1176
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1207
1177
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1208
|
-
fetchFn: (
|
|
1178
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1209
1179
|
logging: this._options.logging,
|
|
1210
1180
|
});
|
|
1211
1181
|
if (_response.ok) {
|