fastcomments-sdk 1.0.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/LICENSE +21 -0
- package/README.md +278 -0
- package/dist/__tests__/env.d.ts +12 -0
- package/dist/__tests__/env.d.ts.map +1 -0
- package/dist/__tests__/env.js +24 -0
- package/dist/__tests__/env.js.map +1 -0
- package/dist/__tests__/sso.integration.test.d.ts +2 -0
- package/dist/__tests__/sso.integration.test.d.ts.map +1 -0
- package/dist/__tests__/sso.integration.test.js +249 -0
- package/dist/__tests__/sso.integration.test.js.map +1 -0
- package/dist/__tests__/sso.test.d.ts +2 -0
- package/dist/__tests__/sso.test.d.ts.map +1 -0
- package/dist/__tests__/sso.test.js +223 -0
- package/dist/__tests__/sso.test.js.map +1 -0
- package/dist/generated/api/default-api.d.ts +2521 -0
- package/dist/generated/api/default-api.d.ts.map +1 -0
- package/dist/generated/api/default-api.js +2618 -0
- package/dist/generated/api/default-api.js.map +1 -0
- package/dist/generated/api/hidden-api.d.ts +98 -0
- package/dist/generated/api/hidden-api.d.ts.map +1 -0
- package/dist/generated/api/hidden-api.js +123 -0
- package/dist/generated/api/hidden-api.js.map +1 -0
- package/dist/generated/api/public-api.d.ts +3083 -0
- package/dist/generated/api/public-api.d.ts.map +1 -0
- package/dist/generated/api/public-api.js +3024 -0
- package/dist/generated/api/public-api.js.map +1 -0
- package/dist/generated/api.d.ts +15 -0
- package/dist/generated/api.d.ts.map +1 -0
- package/dist/generated/api.js +33 -0
- package/dist/generated/api.js.map +1 -0
- package/dist/generated/base.d.ts +67 -0
- package/dist/generated/base.d.ts.map +1 -0
- package/dist/generated/base.js +68 -0
- package/dist/generated/base.js.map +1 -0
- package/dist/generated/common.d.ts +66 -0
- package/dist/generated/common.d.ts.map +1 -0
- package/dist/generated/common.js +146 -0
- package/dist/generated/common.js.map +1 -0
- package/dist/generated/configuration.d.ts +92 -0
- package/dist/generated/configuration.d.ts.map +1 -0
- package/dist/generated/configuration.js +50 -0
- package/dist/generated/configuration.js.map +1 -0
- package/dist/generated/index.d.ts +15 -0
- package/dist/generated/index.d.ts.map +1 -0
- package/dist/generated/index.js +33 -0
- package/dist/generated/index.js.map +1 -0
- package/dist/generated/model/add-domain-config-params.d.ts +63 -0
- package/dist/generated/model/add-domain-config-params.d.ts.map +1 -0
- package/dist/generated/model/add-domain-config-params.js +16 -0
- package/dist/generated/model/add-domain-config-params.js.map +1 -0
- package/dist/generated/model/add-domain-config200-response-any-of.d.ts +31 -0
- package/dist/generated/model/add-domain-config200-response-any-of.d.ts.map +1 -0
- package/dist/generated/model/add-domain-config200-response-any-of.js +16 -0
- package/dist/generated/model/add-domain-config200-response-any-of.js.map +1 -0
- package/dist/generated/model/add-domain-config200-response.d.ts +43 -0
- package/dist/generated/model/add-domain-config200-response.d.ts.map +1 -0
- package/dist/generated/model/add-domain-config200-response.js +16 -0
- package/dist/generated/model/add-domain-config200-response.js.map +1 -0
- package/dist/generated/model/aggregate-question-results-response.d.ts +33 -0
- package/dist/generated/model/aggregate-question-results-response.d.ts.map +1 -0
- package/dist/generated/model/aggregate-question-results-response.js +16 -0
- package/dist/generated/model/aggregate-question-results-response.js.map +1 -0
- package/dist/generated/model/aggregate-question-results200-response.d.ts +76 -0
- package/dist/generated/model/aggregate-question-results200-response.d.ts.map +1 -0
- package/dist/generated/model/aggregate-question-results200-response.js +16 -0
- package/dist/generated/model/aggregate-question-results200-response.js.map +1 -0
- package/dist/generated/model/aggregate-time-bucket.d.ts +22 -0
- package/dist/generated/model/aggregate-time-bucket.d.ts.map +1 -0
- package/dist/generated/model/aggregate-time-bucket.js +28 -0
- package/dist/generated/model/aggregate-time-bucket.js.map +1 -0
- package/dist/generated/model/aggregation-item.d.ts +27 -0
- package/dist/generated/model/aggregation-item.d.ts.map +1 -0
- package/dist/generated/model/aggregation-item.js +16 -0
- package/dist/generated/model/aggregation-item.js.map +1 -0
- package/dist/generated/model/aggregation-op-type.d.ts +26 -0
- package/dist/generated/model/aggregation-op-type.d.ts.map +1 -0
- package/dist/generated/model/aggregation-op-type.js +32 -0
- package/dist/generated/model/aggregation-op-type.js.map +1 -0
- package/dist/generated/model/aggregation-operation.d.ts +44 -0
- package/dist/generated/model/aggregation-operation.d.ts.map +1 -0
- package/dist/generated/model/aggregation-operation.js +16 -0
- package/dist/generated/model/aggregation-operation.js.map +1 -0
- package/dist/generated/model/aggregation-request-sort.d.ts +39 -0
- package/dist/generated/model/aggregation-request-sort.d.ts.map +1 -0
- package/dist/generated/model/aggregation-request-sort.js +26 -0
- package/dist/generated/model/aggregation-request-sort.js.map +1 -0
- package/dist/generated/model/aggregation-request.d.ts +52 -0
- package/dist/generated/model/aggregation-request.d.ts.map +1 -0
- package/dist/generated/model/aggregation-request.js +16 -0
- package/dist/generated/model/aggregation-request.js.map +1 -0
- package/dist/generated/model/aggregation-response-stats.d.ts +31 -0
- package/dist/generated/model/aggregation-response-stats.d.ts.map +1 -0
- package/dist/generated/model/aggregation-response-stats.js +16 -0
- package/dist/generated/model/aggregation-response-stats.js.map +1 -0
- package/dist/generated/model/aggregation-response.d.ts +40 -0
- package/dist/generated/model/aggregation-response.d.ts.map +1 -0
- package/dist/generated/model/aggregation-response.js +16 -0
- package/dist/generated/model/aggregation-response.js.map +1 -0
- package/dist/generated/model/aggregation-value.d.ts +53 -0
- package/dist/generated/model/aggregation-value.d.ts.map +1 -0
- package/dist/generated/model/aggregation-value.js +16 -0
- package/dist/generated/model/aggregation-value.js.map +1 -0
- package/dist/generated/model/apicreate-user-badge-response.d.ts +33 -0
- package/dist/generated/model/apicreate-user-badge-response.d.ts.map +1 -0
- package/dist/generated/model/apicreate-user-badge-response.js +16 -0
- package/dist/generated/model/apicreate-user-badge-response.js.map +1 -0
- package/dist/generated/model/apiempty-response.d.ts +26 -0
- package/dist/generated/model/apiempty-response.d.ts.map +1 -0
- package/dist/generated/model/apiempty-response.js +16 -0
- package/dist/generated/model/apiempty-response.js.map +1 -0
- package/dist/generated/model/apiempty-success-response.d.ts +26 -0
- package/dist/generated/model/apiempty-success-response.d.ts.map +1 -0
- package/dist/generated/model/apiempty-success-response.js +16 -0
- package/dist/generated/model/apiempty-success-response.js.map +1 -0
- package/dist/generated/model/apierror.d.ts +69 -0
- package/dist/generated/model/apierror.d.ts.map +1 -0
- package/dist/generated/model/apierror.js +16 -0
- package/dist/generated/model/apierror.js.map +1 -0
- package/dist/generated/model/apiget-comment-response.d.ts +33 -0
- package/dist/generated/model/apiget-comment-response.d.ts.map +1 -0
- package/dist/generated/model/apiget-comment-response.js +16 -0
- package/dist/generated/model/apiget-comment-response.js.map +1 -0
- package/dist/generated/model/apiget-comments-response.d.ts +33 -0
- package/dist/generated/model/apiget-comments-response.d.ts.map +1 -0
- package/dist/generated/model/apiget-comments-response.js +16 -0
- package/dist/generated/model/apiget-comments-response.js.map +1 -0
- package/dist/generated/model/apiget-user-badge-progress-list-response.d.ts +33 -0
- package/dist/generated/model/apiget-user-badge-progress-list-response.d.ts.map +1 -0
- package/dist/generated/model/apiget-user-badge-progress-list-response.js +16 -0
- package/dist/generated/model/apiget-user-badge-progress-list-response.js.map +1 -0
- package/dist/generated/model/apiget-user-badge-progress-response.d.ts +33 -0
- package/dist/generated/model/apiget-user-badge-progress-response.d.ts.map +1 -0
- package/dist/generated/model/apiget-user-badge-progress-response.js +16 -0
- package/dist/generated/model/apiget-user-badge-progress-response.js.map +1 -0
- package/dist/generated/model/apiget-user-badge-response.d.ts +33 -0
- package/dist/generated/model/apiget-user-badge-response.d.ts.map +1 -0
- package/dist/generated/model/apiget-user-badge-response.js +16 -0
- package/dist/generated/model/apiget-user-badge-response.js.map +1 -0
- package/dist/generated/model/apiget-user-badges-response.d.ts +33 -0
- package/dist/generated/model/apiget-user-badges-response.d.ts.map +1 -0
- package/dist/generated/model/apiget-user-badges-response.js +16 -0
- package/dist/generated/model/apiget-user-badges-response.js.map +1 -0
- package/dist/generated/model/apistatus.d.ts +21 -0
- package/dist/generated/model/apistatus.d.ts.map +1 -0
- package/dist/generated/model/apistatus.js +27 -0
- package/dist/generated/model/apistatus.js.map +1 -0
- package/dist/generated/model/block-from-comment-params.d.ts +25 -0
- package/dist/generated/model/block-from-comment-params.d.ts.map +1 -0
- package/dist/generated/model/block-from-comment-params.js +16 -0
- package/dist/generated/model/block-from-comment-params.js.map +1 -0
- package/dist/generated/model/block-from-comment-public200-response.d.ts +77 -0
- package/dist/generated/model/block-from-comment-public200-response.d.ts.map +1 -0
- package/dist/generated/model/block-from-comment-public200-response.js +16 -0
- package/dist/generated/model/block-from-comment-public200-response.js.map +1 -0
- package/dist/generated/model/block-success.d.ts +34 -0
- package/dist/generated/model/block-success.d.ts.map +1 -0
- package/dist/generated/model/block-success.js +16 -0
- package/dist/generated/model/block-success.js.map +1 -0
- package/dist/generated/model/bulk-aggregate-question-item.d.ts +56 -0
- package/dist/generated/model/bulk-aggregate-question-item.d.ts.map +1 -0
- package/dist/generated/model/bulk-aggregate-question-item.js +16 -0
- package/dist/generated/model/bulk-aggregate-question-item.js.map +1 -0
- package/dist/generated/model/bulk-aggregate-question-results-request.d.ts +26 -0
- package/dist/generated/model/bulk-aggregate-question-results-request.d.ts.map +1 -0
- package/dist/generated/model/bulk-aggregate-question-results-request.js +16 -0
- package/dist/generated/model/bulk-aggregate-question-results-request.js.map +1 -0
- package/dist/generated/model/bulk-aggregate-question-results-response.d.ts +35 -0
- package/dist/generated/model/bulk-aggregate-question-results-response.d.ts.map +1 -0
- package/dist/generated/model/bulk-aggregate-question-results-response.js +16 -0
- package/dist/generated/model/bulk-aggregate-question-results-response.js.map +1 -0
- package/dist/generated/model/bulk-aggregate-question-results200-response.d.ts +78 -0
- package/dist/generated/model/bulk-aggregate-question-results200-response.d.ts.map +1 -0
- package/dist/generated/model/bulk-aggregate-question-results200-response.js +16 -0
- package/dist/generated/model/bulk-aggregate-question-results200-response.js.map +1 -0
- package/dist/generated/model/change-comment-pin-status-response.d.ts +35 -0
- package/dist/generated/model/change-comment-pin-status-response.d.ts.map +1 -0
- package/dist/generated/model/change-comment-pin-status-response.js +16 -0
- package/dist/generated/model/change-comment-pin-status-response.js.map +1 -0
- package/dist/generated/model/check-blocked-comments-response.d.ts +34 -0
- package/dist/generated/model/check-blocked-comments-response.d.ts.map +1 -0
- package/dist/generated/model/check-blocked-comments-response.js +16 -0
- package/dist/generated/model/check-blocked-comments-response.js.map +1 -0
- package/dist/generated/model/checked-comments-for-blocked200-response.d.ts +77 -0
- package/dist/generated/model/checked-comments-for-blocked200-response.d.ts.map +1 -0
- package/dist/generated/model/checked-comments-for-blocked200-response.js +16 -0
- package/dist/generated/model/checked-comments-for-blocked200-response.js.map +1 -0
- package/dist/generated/model/combine-comments-with-question-results200-response.d.ts +76 -0
- package/dist/generated/model/combine-comments-with-question-results200-response.d.ts.map +1 -0
- package/dist/generated/model/combine-comments-with-question-results200-response.js +16 -0
- package/dist/generated/model/combine-comments-with-question-results200-response.js.map +1 -0
- package/dist/generated/model/combine-question-results-with-comments-response.d.ts +33 -0
- package/dist/generated/model/combine-question-results-with-comments-response.d.ts.map +1 -0
- package/dist/generated/model/combine-question-results-with-comments-response.js +16 -0
- package/dist/generated/model/combine-question-results-with-comments-response.js.map +1 -0
- package/dist/generated/model/comment-data.d.ts +168 -0
- package/dist/generated/model/comment-data.d.ts.map +1 -0
- package/dist/generated/model/comment-data.js +16 -0
- package/dist/generated/model/comment-data.js.map +1 -0
- package/dist/generated/model/comment-htmlrendering-mode.d.ts +21 -0
- package/dist/generated/model/comment-htmlrendering-mode.d.ts.map +1 -0
- package/dist/generated/model/comment-htmlrendering-mode.js +27 -0
- package/dist/generated/model/comment-htmlrendering-mode.js.map +1 -0
- package/dist/generated/model/comment-question-results-rendering-type.d.ts +22 -0
- package/dist/generated/model/comment-question-results-rendering-type.d.ts.map +1 -0
- package/dist/generated/model/comment-question-results-rendering-type.js +28 -0
- package/dist/generated/model/comment-question-results-rendering-type.js.map +1 -0
- package/dist/generated/model/comment-questions-required.d.ts +21 -0
- package/dist/generated/model/comment-questions-required.d.ts.map +1 -0
- package/dist/generated/model/comment-questions-required.js +27 -0
- package/dist/generated/model/comment-questions-required.js.map +1 -0
- package/dist/generated/model/comment-text-update-request.d.ts +39 -0
- package/dist/generated/model/comment-text-update-request.d.ts.map +1 -0
- package/dist/generated/model/comment-text-update-request.js +16 -0
- package/dist/generated/model/comment-text-update-request.js.map +1 -0
- package/dist/generated/model/comment-thread-deletion-mode.d.ts +23 -0
- package/dist/generated/model/comment-thread-deletion-mode.d.ts.map +1 -0
- package/dist/generated/model/comment-thread-deletion-mode.js +29 -0
- package/dist/generated/model/comment-thread-deletion-mode.js.map +1 -0
- package/dist/generated/model/comment-user-badge-info.d.ts +73 -0
- package/dist/generated/model/comment-user-badge-info.d.ts.map +1 -0
- package/dist/generated/model/comment-user-badge-info.js +16 -0
- package/dist/generated/model/comment-user-badge-info.js.map +1 -0
- package/dist/generated/model/comment-user-hash-tag-info.d.ts +43 -0
- package/dist/generated/model/comment-user-hash-tag-info.d.ts.map +1 -0
- package/dist/generated/model/comment-user-hash-tag-info.js +16 -0
- package/dist/generated/model/comment-user-hash-tag-info.js.map +1 -0
- package/dist/generated/model/comment-user-mention-info.d.ts +57 -0
- package/dist/generated/model/comment-user-mention-info.d.ts.map +1 -0
- package/dist/generated/model/comment-user-mention-info.js +26 -0
- package/dist/generated/model/comment-user-mention-info.js.map +1 -0
- package/dist/generated/model/commenter-name-formats.d.ts +24 -0
- package/dist/generated/model/commenter-name-formats.d.ts.map +1 -0
- package/dist/generated/model/commenter-name-formats.js +30 -0
- package/dist/generated/model/commenter-name-formats.js.map +1 -0
- package/dist/generated/model/create-comment-params.d.ts +228 -0
- package/dist/generated/model/create-comment-params.d.ts.map +1 -0
- package/dist/generated/model/create-comment-params.js +16 -0
- package/dist/generated/model/create-comment-params.js.map +1 -0
- package/dist/generated/model/create-comment-public200-response.d.ts +97 -0
- package/dist/generated/model/create-comment-public200-response.d.ts.map +1 -0
- package/dist/generated/model/create-comment-public200-response.js +16 -0
- package/dist/generated/model/create-comment-public200-response.js.map +1 -0
- package/dist/generated/model/create-feed-post-params.d.ts +71 -0
- package/dist/generated/model/create-feed-post-params.d.ts.map +1 -0
- package/dist/generated/model/create-feed-post-params.js +16 -0
- package/dist/generated/model/create-feed-post-params.js.map +1 -0
- package/dist/generated/model/create-feed-post-public200-response.d.ts +76 -0
- package/dist/generated/model/create-feed-post-public200-response.d.ts.map +1 -0
- package/dist/generated/model/create-feed-post-public200-response.js +16 -0
- package/dist/generated/model/create-feed-post-public200-response.js.map +1 -0
- package/dist/generated/model/create-feed-post-response.d.ts +33 -0
- package/dist/generated/model/create-feed-post-response.d.ts.map +1 -0
- package/dist/generated/model/create-feed-post-response.js +16 -0
- package/dist/generated/model/create-feed-post-response.js.map +1 -0
- package/dist/generated/model/create-feed-post200-response.d.ts +76 -0
- package/dist/generated/model/create-feed-post200-response.d.ts.map +1 -0
- package/dist/generated/model/create-feed-post200-response.js +16 -0
- package/dist/generated/model/create-feed-post200-response.js.map +1 -0
- package/dist/generated/model/create-feed-posts-response.d.ts +33 -0
- package/dist/generated/model/create-feed-posts-response.d.ts.map +1 -0
- package/dist/generated/model/create-feed-posts-response.js +16 -0
- package/dist/generated/model/create-feed-posts-response.js.map +1 -0
- package/dist/generated/model/create-user-badge-params.d.ts +37 -0
- package/dist/generated/model/create-user-badge-params.d.ts.map +1 -0
- package/dist/generated/model/create-user-badge-params.js +16 -0
- package/dist/generated/model/create-user-badge-params.js.map +1 -0
- package/dist/generated/model/create-user-badge200-response.d.ts +76 -0
- package/dist/generated/model/create-user-badge200-response.d.ts.map +1 -0
- package/dist/generated/model/create-user-badge200-response.js +16 -0
- package/dist/generated/model/create-user-badge200-response.js.map +1 -0
- package/dist/generated/model/custom-config-parameters.d.ts +461 -0
- package/dist/generated/model/custom-config-parameters.d.ts.map +1 -0
- package/dist/generated/model/custom-config-parameters.js +16 -0
- package/dist/generated/model/custom-config-parameters.js.map +1 -0
- package/dist/generated/model/delete-comment-action.d.ts +22 -0
- package/dist/generated/model/delete-comment-action.d.ts.map +1 -0
- package/dist/generated/model/delete-comment-action.js +28 -0
- package/dist/generated/model/delete-comment-action.js.map +1 -0
- package/dist/generated/model/delete-comment-public200-response.d.ts +82 -0
- package/dist/generated/model/delete-comment-public200-response.d.ts.map +1 -0
- package/dist/generated/model/delete-comment-public200-response.js +16 -0
- package/dist/generated/model/delete-comment-public200-response.js.map +1 -0
- package/dist/generated/model/delete-comment-result.d.ts +33 -0
- package/dist/generated/model/delete-comment-result.d.ts.map +1 -0
- package/dist/generated/model/delete-comment-result.js +16 -0
- package/dist/generated/model/delete-comment-result.js.map +1 -0
- package/dist/generated/model/delete-comment-vote200-response.d.ts +75 -0
- package/dist/generated/model/delete-comment-vote200-response.d.ts.map +1 -0
- package/dist/generated/model/delete-comment-vote200-response.js +16 -0
- package/dist/generated/model/delete-comment-vote200-response.js.map +1 -0
- package/dist/generated/model/delete-comment200-response.d.ts +76 -0
- package/dist/generated/model/delete-comment200-response.d.ts.map +1 -0
- package/dist/generated/model/delete-comment200-response.js +16 -0
- package/dist/generated/model/delete-comment200-response.js.map +1 -0
- package/dist/generated/model/delete-domain-config200-response.d.ts +25 -0
- package/dist/generated/model/delete-domain-config200-response.d.ts.map +1 -0
- package/dist/generated/model/delete-domain-config200-response.js +16 -0
- package/dist/generated/model/delete-domain-config200-response.js.map +1 -0
- package/dist/generated/model/delete-feed-post-public200-response-any-of.d.ts +26 -0
- package/dist/generated/model/delete-feed-post-public200-response-any-of.d.ts.map +1 -0
- package/dist/generated/model/delete-feed-post-public200-response-any-of.js +16 -0
- package/dist/generated/model/delete-feed-post-public200-response-any-of.js.map +1 -0
- package/dist/generated/model/delete-feed-post-public200-response.d.ts +69 -0
- package/dist/generated/model/delete-feed-post-public200-response.d.ts.map +1 -0
- package/dist/generated/model/delete-feed-post-public200-response.js +16 -0
- package/dist/generated/model/delete-feed-post-public200-response.js.map +1 -0
- package/dist/generated/model/event-log-entry.d.ts +55 -0
- package/dist/generated/model/event-log-entry.d.ts.map +1 -0
- package/dist/generated/model/event-log-entry.js +16 -0
- package/dist/generated/model/event-log-entry.js.map +1 -0
- package/dist/generated/model/fcomment-meta.d.ts +32 -0
- package/dist/generated/model/fcomment-meta.d.ts.map +1 -0
- package/dist/generated/model/fcomment-meta.js +16 -0
- package/dist/generated/model/fcomment-meta.js.map +1 -0
- package/dist/generated/model/fcomment.d.ts +443 -0
- package/dist/generated/model/fcomment.d.ts.map +1 -0
- package/dist/generated/model/fcomment.js +16 -0
- package/dist/generated/model/fcomment.js.map +1 -0
- package/dist/generated/model/feed-post-link.d.ts +43 -0
- package/dist/generated/model/feed-post-link.d.ts.map +1 -0
- package/dist/generated/model/feed-post-link.js +16 -0
- package/dist/generated/model/feed-post-link.js.map +1 -0
- package/dist/generated/model/feed-post-media-item-asset.d.ts +37 -0
- package/dist/generated/model/feed-post-media-item-asset.d.ts.map +1 -0
- package/dist/generated/model/feed-post-media-item-asset.js +16 -0
- package/dist/generated/model/feed-post-media-item-asset.js.map +1 -0
- package/dist/generated/model/feed-post-media-item.d.ts +38 -0
- package/dist/generated/model/feed-post-media-item.d.ts.map +1 -0
- package/dist/generated/model/feed-post-media-item.js +16 -0
- package/dist/generated/model/feed-post-media-item.js.map +1 -0
- package/dist/generated/model/feed-post-stats.d.ts +33 -0
- package/dist/generated/model/feed-post-stats.d.ts.map +1 -0
- package/dist/generated/model/feed-post-stats.js +16 -0
- package/dist/generated/model/feed-post-stats.js.map +1 -0
- package/dist/generated/model/feed-post.d.ts +121 -0
- package/dist/generated/model/feed-post.d.ts.map +1 -0
- package/dist/generated/model/feed-post.js +16 -0
- package/dist/generated/model/feed-post.js.map +1 -0
- package/dist/generated/model/feed-posts-stats-response.d.ts +35 -0
- package/dist/generated/model/feed-posts-stats-response.d.ts.map +1 -0
- package/dist/generated/model/feed-posts-stats-response.js +16 -0
- package/dist/generated/model/feed-posts-stats-response.js.map +1 -0
- package/dist/generated/model/find-comments-by-range-item.d.ts +33 -0
- package/dist/generated/model/find-comments-by-range-item.d.ts.map +1 -0
- package/dist/generated/model/find-comments-by-range-item.js +16 -0
- package/dist/generated/model/find-comments-by-range-item.js.map +1 -0
- package/dist/generated/model/find-comments-by-range-response.d.ts +32 -0
- package/dist/generated/model/find-comments-by-range-response.d.ts.map +1 -0
- package/dist/generated/model/find-comments-by-range-response.js +16 -0
- package/dist/generated/model/find-comments-by-range-response.js.map +1 -0
- package/dist/generated/model/flag-comment-public200-response.d.ts +69 -0
- package/dist/generated/model/flag-comment-public200-response.d.ts.map +1 -0
- package/dist/generated/model/flag-comment-public200-response.js +16 -0
- package/dist/generated/model/flag-comment-public200-response.js.map +1 -0
- package/dist/generated/model/flag-comment-response.d.ts +50 -0
- package/dist/generated/model/flag-comment-response.d.ts.map +1 -0
- package/dist/generated/model/flag-comment-response.js +16 -0
- package/dist/generated/model/flag-comment-response.js.map +1 -0
- package/dist/generated/model/flag-comment200-response.d.ts +81 -0
- package/dist/generated/model/flag-comment200-response.d.ts.map +1 -0
- package/dist/generated/model/flag-comment200-response.js +16 -0
- package/dist/generated/model/flag-comment200-response.js.map +1 -0
- package/dist/generated/model/get-audit-logs-response.d.ts +33 -0
- package/dist/generated/model/get-audit-logs-response.d.ts.map +1 -0
- package/dist/generated/model/get-audit-logs-response.js +16 -0
- package/dist/generated/model/get-audit-logs-response.js.map +1 -0
- package/dist/generated/model/get-audit-logs200-response.d.ts +76 -0
- package/dist/generated/model/get-audit-logs200-response.d.ts.map +1 -0
- package/dist/generated/model/get-audit-logs200-response.js +16 -0
- package/dist/generated/model/get-audit-logs200-response.js.map +1 -0
- package/dist/generated/model/get-comment-text200-response.d.ts +81 -0
- package/dist/generated/model/get-comment-text200-response.d.ts.map +1 -0
- package/dist/generated/model/get-comment-text200-response.js +16 -0
- package/dist/generated/model/get-comment-text200-response.js.map +1 -0
- package/dist/generated/model/get-comment-vote-user-names-success-response.d.ts +38 -0
- package/dist/generated/model/get-comment-vote-user-names-success-response.d.ts.map +1 -0
- package/dist/generated/model/get-comment-vote-user-names-success-response.js +16 -0
- package/dist/generated/model/get-comment-vote-user-names-success-response.js.map +1 -0
- package/dist/generated/model/get-comment-vote-user-names200-response.d.ts +81 -0
- package/dist/generated/model/get-comment-vote-user-names200-response.d.ts.map +1 -0
- package/dist/generated/model/get-comment-vote-user-names200-response.js +16 -0
- package/dist/generated/model/get-comment-vote-user-names200-response.js.map +1 -0
- package/dist/generated/model/get-comment200-response.d.ts +76 -0
- package/dist/generated/model/get-comment200-response.d.ts.map +1 -0
- package/dist/generated/model/get-comment200-response.js +16 -0
- package/dist/generated/model/get-comment200-response.js.map +1 -0
- package/dist/generated/model/get-comments-public200-response.d.ts +205 -0
- package/dist/generated/model/get-comments-public200-response.d.ts.map +1 -0
- package/dist/generated/model/get-comments-public200-response.js +16 -0
- package/dist/generated/model/get-comments-public200-response.js.map +1 -0
- package/dist/generated/model/get-comments-response-public-comment.d.ts +162 -0
- package/dist/generated/model/get-comments-response-public-comment.d.ts.map +1 -0
- package/dist/generated/model/get-comments-response-public-comment.js +16 -0
- package/dist/generated/model/get-comments-response-public-comment.js.map +1 -0
- package/dist/generated/model/get-comments-response-with-presence-public-comment.d.ts +19 -0
- package/dist/generated/model/get-comments-response-with-presence-public-comment.d.ts.map +1 -0
- package/dist/generated/model/get-comments-response-with-presence-public-comment.js +16 -0
- package/dist/generated/model/get-comments-response-with-presence-public-comment.js.map +1 -0
- package/dist/generated/model/get-comments200-response.d.ts +76 -0
- package/dist/generated/model/get-comments200-response.d.ts.map +1 -0
- package/dist/generated/model/get-comments200-response.js +16 -0
- package/dist/generated/model/get-comments200-response.js.map +1 -0
- package/dist/generated/model/get-domain-config200-response.d.ts +43 -0
- package/dist/generated/model/get-domain-config200-response.d.ts.map +1 -0
- package/dist/generated/model/get-domain-config200-response.js +16 -0
- package/dist/generated/model/get-domain-config200-response.js.map +1 -0
- package/dist/generated/model/get-domain-configs200-response-any-of.d.ts +31 -0
- package/dist/generated/model/get-domain-configs200-response-any-of.d.ts.map +1 -0
- package/dist/generated/model/get-domain-configs200-response-any-of.js +16 -0
- package/dist/generated/model/get-domain-configs200-response-any-of.js.map +1 -0
- package/dist/generated/model/get-domain-configs200-response-any-of1.d.ts +37 -0
- package/dist/generated/model/get-domain-configs200-response-any-of1.d.ts.map +1 -0
- package/dist/generated/model/get-domain-configs200-response-any-of1.js +16 -0
- package/dist/generated/model/get-domain-configs200-response-any-of1.js.map +1 -0
- package/dist/generated/model/get-domain-configs200-response.d.ts +43 -0
- package/dist/generated/model/get-domain-configs200-response.d.ts.map +1 -0
- package/dist/generated/model/get-domain-configs200-response.js +16 -0
- package/dist/generated/model/get-domain-configs200-response.js.map +1 -0
- package/dist/generated/model/get-event-log-response.d.ts +33 -0
- package/dist/generated/model/get-event-log-response.d.ts.map +1 -0
- package/dist/generated/model/get-event-log-response.js +16 -0
- package/dist/generated/model/get-event-log-response.js.map +1 -0
- package/dist/generated/model/get-event-log200-response.d.ts +76 -0
- package/dist/generated/model/get-event-log200-response.d.ts.map +1 -0
- package/dist/generated/model/get-event-log200-response.js +16 -0
- package/dist/generated/model/get-event-log200-response.js.map +1 -0
- package/dist/generated/model/get-feed-posts-public200-response.d.ts +111 -0
- package/dist/generated/model/get-feed-posts-public200-response.d.ts.map +1 -0
- package/dist/generated/model/get-feed-posts-public200-response.js +16 -0
- package/dist/generated/model/get-feed-posts-public200-response.js.map +1 -0
- package/dist/generated/model/get-feed-posts-response.d.ts +33 -0
- package/dist/generated/model/get-feed-posts-response.d.ts.map +1 -0
- package/dist/generated/model/get-feed-posts-response.js +16 -0
- package/dist/generated/model/get-feed-posts-response.js.map +1 -0
- package/dist/generated/model/get-feed-posts-stats200-response.d.ts +78 -0
- package/dist/generated/model/get-feed-posts-stats200-response.d.ts.map +1 -0
- package/dist/generated/model/get-feed-posts-stats200-response.js +16 -0
- package/dist/generated/model/get-feed-posts-stats200-response.js.map +1 -0
- package/dist/generated/model/get-feed-posts200-response.d.ts +76 -0
- package/dist/generated/model/get-feed-posts200-response.d.ts.map +1 -0
- package/dist/generated/model/get-feed-posts200-response.js +16 -0
- package/dist/generated/model/get-feed-posts200-response.js.map +1 -0
- package/dist/generated/model/get-my-notifications-response.d.ts +53 -0
- package/dist/generated/model/get-my-notifications-response.d.ts.map +1 -0
- package/dist/generated/model/get-my-notifications-response.js +16 -0
- package/dist/generated/model/get-my-notifications-response.js.map +1 -0
- package/dist/generated/model/get-public-feed-posts-response.d.ts +40 -0
- package/dist/generated/model/get-public-feed-posts-response.d.ts.map +1 -0
- package/dist/generated/model/get-public-feed-posts-response.js +16 -0
- package/dist/generated/model/get-public-feed-posts-response.js.map +1 -0
- package/dist/generated/model/get-user-badge-progress-by-id200-response.d.ts +76 -0
- package/dist/generated/model/get-user-badge-progress-by-id200-response.d.ts.map +1 -0
- package/dist/generated/model/get-user-badge-progress-by-id200-response.js +16 -0
- package/dist/generated/model/get-user-badge-progress-by-id200-response.js.map +1 -0
- package/dist/generated/model/get-user-badge-progress-list200-response.d.ts +76 -0
- package/dist/generated/model/get-user-badge-progress-list200-response.d.ts.map +1 -0
- package/dist/generated/model/get-user-badge-progress-list200-response.js +16 -0
- package/dist/generated/model/get-user-badge-progress-list200-response.js.map +1 -0
- package/dist/generated/model/get-user-badge200-response.d.ts +76 -0
- package/dist/generated/model/get-user-badge200-response.d.ts.map +1 -0
- package/dist/generated/model/get-user-badge200-response.js +16 -0
- package/dist/generated/model/get-user-badge200-response.js.map +1 -0
- package/dist/generated/model/get-user-badges200-response.d.ts +76 -0
- package/dist/generated/model/get-user-badges200-response.d.ts.map +1 -0
- package/dist/generated/model/get-user-badges200-response.js +16 -0
- package/dist/generated/model/get-user-badges200-response.js.map +1 -0
- package/dist/generated/model/get-user-notification-count-response.d.ts +32 -0
- package/dist/generated/model/get-user-notification-count-response.d.ts.map +1 -0
- package/dist/generated/model/get-user-notification-count-response.js +16 -0
- package/dist/generated/model/get-user-notification-count-response.js.map +1 -0
- package/dist/generated/model/get-user-notification-count200-response.d.ts +75 -0
- package/dist/generated/model/get-user-notification-count200-response.d.ts.map +1 -0
- package/dist/generated/model/get-user-notification-count200-response.js +16 -0
- package/dist/generated/model/get-user-notification-count200-response.js.map +1 -0
- package/dist/generated/model/get-user-notifications200-response.d.ts +96 -0
- package/dist/generated/model/get-user-notifications200-response.d.ts.map +1 -0
- package/dist/generated/model/get-user-notifications200-response.js +16 -0
- package/dist/generated/model/get-user-notifications200-response.js.map +1 -0
- package/dist/generated/model/get-user-presence-statuses-response.d.ts +34 -0
- package/dist/generated/model/get-user-presence-statuses-response.d.ts.map +1 -0
- package/dist/generated/model/get-user-presence-statuses-response.js +16 -0
- package/dist/generated/model/get-user-presence-statuses-response.js.map +1 -0
- package/dist/generated/model/get-user-presence-statuses200-response.d.ts +77 -0
- package/dist/generated/model/get-user-presence-statuses200-response.d.ts.map +1 -0
- package/dist/generated/model/get-user-presence-statuses200-response.js +16 -0
- package/dist/generated/model/get-user-presence-statuses200-response.js.map +1 -0
- package/dist/generated/model/get-user-reacts-public200-response.d.ts +79 -0
- package/dist/generated/model/get-user-reacts-public200-response.d.ts.map +1 -0
- package/dist/generated/model/get-user-reacts-public200-response.js +16 -0
- package/dist/generated/model/get-user-reacts-public200-response.js.map +1 -0
- package/dist/generated/model/gif-rating.d.ts +23 -0
- package/dist/generated/model/gif-rating.d.ts.map +1 -0
- package/dist/generated/model/gif-rating.js +29 -0
- package/dist/generated/model/gif-rating.js.map +1 -0
- package/dist/generated/model/header-state.d.ts +51 -0
- package/dist/generated/model/header-state.d.ts.map +1 -0
- package/dist/generated/model/header-state.js +16 -0
- package/dist/generated/model/header-state.js.map +1 -0
- package/dist/generated/model/ignored-response.d.ts +40 -0
- package/dist/generated/model/ignored-response.d.ts.map +1 -0
- package/dist/generated/model/ignored-response.js +26 -0
- package/dist/generated/model/ignored-response.js.map +1 -0
- package/dist/generated/model/image-content-profanity-level.d.ts +23 -0
- package/dist/generated/model/image-content-profanity-level.d.ts.map +1 -0
- package/dist/generated/model/image-content-profanity-level.js +29 -0
- package/dist/generated/model/image-content-profanity-level.js.map +1 -0
- package/dist/generated/model/imported-apistatus-failed.d.ts +20 -0
- package/dist/generated/model/imported-apistatus-failed.d.ts.map +1 -0
- package/dist/generated/model/imported-apistatus-failed.js +26 -0
- package/dist/generated/model/imported-apistatus-failed.js.map +1 -0
- package/dist/generated/model/imported-apistatus-success.d.ts +20 -0
- package/dist/generated/model/imported-apistatus-success.d.ts.map +1 -0
- package/dist/generated/model/imported-apistatus-success.js +26 -0
- package/dist/generated/model/imported-apistatus-success.js.map +1 -0
- package/dist/generated/model/index.d.ts +198 -0
- package/dist/generated/model/index.d.ts.map +1 -0
- package/dist/generated/model/index.js +214 -0
- package/dist/generated/model/index.js.map +1 -0
- package/dist/generated/model/live-event-extra-info.d.ts +28 -0
- package/dist/generated/model/live-event-extra-info.d.ts.map +1 -0
- package/dist/generated/model/live-event-extra-info.js +16 -0
- package/dist/generated/model/live-event-extra-info.js.map +1 -0
- package/dist/generated/model/live-event-type.d.ts +36 -0
- package/dist/generated/model/live-event-type.d.ts.map +1 -0
- package/dist/generated/model/live-event-type.js +42 -0
- package/dist/generated/model/live-event-type.js.map +1 -0
- package/dist/generated/model/live-event.d.ts +124 -0
- package/dist/generated/model/live-event.d.ts.map +1 -0
- package/dist/generated/model/live-event.js +16 -0
- package/dist/generated/model/live-event.js.map +1 -0
- package/dist/generated/model/lock-comment200-response.d.ts +69 -0
- package/dist/generated/model/lock-comment200-response.d.ts.map +1 -0
- package/dist/generated/model/lock-comment200-response.js +16 -0
- package/dist/generated/model/lock-comment200-response.js.map +1 -0
- package/dist/generated/model/media-asset.d.ts +37 -0
- package/dist/generated/model/media-asset.d.ts.map +1 -0
- package/dist/generated/model/media-asset.js +16 -0
- package/dist/generated/model/media-asset.js.map +1 -0
- package/dist/generated/model/meta-item.d.ts +31 -0
- package/dist/generated/model/meta-item.d.ts.map +1 -0
- package/dist/generated/model/meta-item.js +16 -0
- package/dist/generated/model/meta-item.js.map +1 -0
- package/dist/generated/model/notification-and-count.d.ts +32 -0
- package/dist/generated/model/notification-and-count.d.ts.map +1 -0
- package/dist/generated/model/notification-and-count.js +16 -0
- package/dist/generated/model/notification-and-count.js.map +1 -0
- package/dist/generated/model/notification-object-type.d.ts +22 -0
- package/dist/generated/model/notification-object-type.d.ts.map +1 -0
- package/dist/generated/model/notification-object-type.js +28 -0
- package/dist/generated/model/notification-object-type.js.map +1 -0
- package/dist/generated/model/notification-type.d.ts +32 -0
- package/dist/generated/model/notification-type.d.ts.map +1 -0
- package/dist/generated/model/notification-type.js +38 -0
- package/dist/generated/model/notification-type.js.map +1 -0
- package/dist/generated/model/patch-domain-config-params.d.ts +63 -0
- package/dist/generated/model/patch-domain-config-params.d.ts.map +1 -0
- package/dist/generated/model/patch-domain-config-params.js +16 -0
- package/dist/generated/model/patch-domain-config-params.js.map +1 -0
- package/dist/generated/model/pick-apicomment-updatable-comment-fields.d.ts +254 -0
- package/dist/generated/model/pick-apicomment-updatable-comment-fields.d.ts.map +1 -0
- package/dist/generated/model/pick-apicomment-updatable-comment-fields.js +16 -0
- package/dist/generated/model/pick-apicomment-updatable-comment-fields.js.map +1 -0
- package/dist/generated/model/pick-fcomment-apicomment-fields-keys-meta.d.ts +32 -0
- package/dist/generated/model/pick-fcomment-apicomment-fields-keys-meta.d.ts.map +1 -0
- package/dist/generated/model/pick-fcomment-apicomment-fields-keys-meta.js +16 -0
- package/dist/generated/model/pick-fcomment-apicomment-fields-keys-meta.js.map +1 -0
- package/dist/generated/model/pick-fcomment-apicomment-fields-keys.d.ts +341 -0
- package/dist/generated/model/pick-fcomment-apicomment-fields-keys.d.ts.map +1 -0
- package/dist/generated/model/pick-fcomment-apicomment-fields-keys.js +16 -0
- package/dist/generated/model/pick-fcomment-apicomment-fields-keys.js.map +1 -0
- package/dist/generated/model/pick-fcomment-approved-or-comment-html.d.ts +31 -0
- package/dist/generated/model/pick-fcomment-approved-or-comment-html.d.ts.map +1 -0
- package/dist/generated/model/pick-fcomment-approved-or-comment-html.js +16 -0
- package/dist/generated/model/pick-fcomment-approved-or-comment-html.js.map +1 -0
- package/dist/generated/model/pick-fcomment-is-deleted-or-comment-htmlor-commenter-name-or-user-id.d.ts +43 -0
- package/dist/generated/model/pick-fcomment-is-deleted-or-comment-htmlor-commenter-name-or-user-id.d.ts.map +1 -0
- package/dist/generated/model/pick-fcomment-is-deleted-or-comment-htmlor-commenter-name-or-user-id.js +16 -0
- package/dist/generated/model/pick-fcomment-is-deleted-or-comment-htmlor-commenter-name-or-user-id.js.map +1 -0
- package/dist/generated/model/pick-fcomment-public-comment-fields-keys.d.ts +188 -0
- package/dist/generated/model/pick-fcomment-public-comment-fields-keys.d.ts.map +1 -0
- package/dist/generated/model/pick-fcomment-public-comment-fields-keys.js +16 -0
- package/dist/generated/model/pick-fcomment-public-comment-fields-keys.js.map +1 -0
- package/dist/generated/model/pick-omit-fcomment-date-public-comment-pub-sub-fields-keys.d.ts +266 -0
- package/dist/generated/model/pick-omit-fcomment-date-public-comment-pub-sub-fields-keys.d.ts.map +1 -0
- package/dist/generated/model/pick-omit-fcomment-date-public-comment-pub-sub-fields-keys.js +16 -0
- package/dist/generated/model/pick-omit-fcomment-date-public-comment-pub-sub-fields-keys.js.map +1 -0
- package/dist/generated/model/pick-tenant-audit-log-tenant-audit-log-keys.d.ts +113 -0
- package/dist/generated/model/pick-tenant-audit-log-tenant-audit-log-keys.d.ts.map +1 -0
- package/dist/generated/model/pick-tenant-audit-log-tenant-audit-log-keys.js +39 -0
- package/dist/generated/model/pick-tenant-audit-log-tenant-audit-log-keys.js.map +1 -0
- package/dist/generated/model/pin-comment200-response.d.ts +78 -0
- package/dist/generated/model/pin-comment200-response.d.ts.map +1 -0
- package/dist/generated/model/pin-comment200-response.js +16 -0
- package/dist/generated/model/pin-comment200-response.js.map +1 -0
- package/dist/generated/model/pub-sub-comment.d.ts +18 -0
- package/dist/generated/model/pub-sub-comment.d.ts.map +1 -0
- package/dist/generated/model/pub-sub-comment.js +16 -0
- package/dist/generated/model/pub-sub-comment.js.map +1 -0
- package/dist/generated/model/pub-sub-vote.d.ts +73 -0
- package/dist/generated/model/pub-sub-vote.d.ts.map +1 -0
- package/dist/generated/model/pub-sub-vote.js +16 -0
- package/dist/generated/model/pub-sub-vote.js.map +1 -0
- package/dist/generated/model/public-apidelete-comment-response.d.ts +39 -0
- package/dist/generated/model/public-apidelete-comment-response.d.ts.map +1 -0
- package/dist/generated/model/public-apidelete-comment-response.js +16 -0
- package/dist/generated/model/public-apidelete-comment-response.js.map +1 -0
- package/dist/generated/model/public-apiget-comment-text-response.d.ts +38 -0
- package/dist/generated/model/public-apiget-comment-text-response.d.ts.map +1 -0
- package/dist/generated/model/public-apiget-comment-text-response.js +16 -0
- package/dist/generated/model/public-apiget-comment-text-response.js.map +1 -0
- package/dist/generated/model/public-apiset-comment-text-response.d.ts +33 -0
- package/dist/generated/model/public-apiset-comment-text-response.d.ts.map +1 -0
- package/dist/generated/model/public-apiset-comment-text-response.js +16 -0
- package/dist/generated/model/public-apiset-comment-text-response.js.map +1 -0
- package/dist/generated/model/public-block-from-comment-params.d.ts +25 -0
- package/dist/generated/model/public-block-from-comment-params.d.ts.map +1 -0
- package/dist/generated/model/public-block-from-comment-params.js +16 -0
- package/dist/generated/model/public-block-from-comment-params.js.map +1 -0
- package/dist/generated/model/public-comment.d.ts +18 -0
- package/dist/generated/model/public-comment.d.ts.map +1 -0
- package/dist/generated/model/public-comment.js +16 -0
- package/dist/generated/model/public-comment.js.map +1 -0
- package/dist/generated/model/public-feed-posts-response.d.ts +19 -0
- package/dist/generated/model/public-feed-posts-response.d.ts.map +1 -0
- package/dist/generated/model/public-feed-posts-response.js +16 -0
- package/dist/generated/model/public-feed-posts-response.js.map +1 -0
- package/dist/generated/model/query-predicate-value.d.ts +19 -0
- package/dist/generated/model/query-predicate-value.d.ts.map +1 -0
- package/dist/generated/model/query-predicate-value.js +16 -0
- package/dist/generated/model/query-predicate-value.js.map +1 -0
- package/dist/generated/model/query-predicate.d.ts +48 -0
- package/dist/generated/model/query-predicate.d.ts.map +1 -0
- package/dist/generated/model/query-predicate.js +28 -0
- package/dist/generated/model/query-predicate.js.map +1 -0
- package/dist/generated/model/question-datum.d.ts +33 -0
- package/dist/generated/model/question-datum.d.ts.map +1 -0
- package/dist/generated/model/question-datum.js +16 -0
- package/dist/generated/model/question-datum.js.map +1 -0
- package/dist/generated/model/question-rendering-type.d.ts +21 -0
- package/dist/generated/model/question-rendering-type.d.ts.map +1 -0
- package/dist/generated/model/question-rendering-type.js +27 -0
- package/dist/generated/model/question-rendering-type.js.map +1 -0
- package/dist/generated/model/question-result-aggregation-overall.d.ts +62 -0
- package/dist/generated/model/question-result-aggregation-overall.d.ts.map +1 -0
- package/dist/generated/model/question-result-aggregation-overall.js +16 -0
- package/dist/generated/model/question-result-aggregation-overall.js.map +1 -0
- package/dist/generated/model/question-result.d.ts +86 -0
- package/dist/generated/model/question-result.d.ts.map +1 -0
- package/dist/generated/model/question-result.js +16 -0
- package/dist/generated/model/question-result.js.map +1 -0
- package/dist/generated/model/question-sub-question-visibility.d.ts +21 -0
- package/dist/generated/model/question-sub-question-visibility.d.ts.map +1 -0
- package/dist/generated/model/question-sub-question-visibility.js +27 -0
- package/dist/generated/model/question-sub-question-visibility.js.map +1 -0
- package/dist/generated/model/question-when-save.d.ts +21 -0
- package/dist/generated/model/question-when-save.d.ts.map +1 -0
- package/dist/generated/model/question-when-save.js +27 -0
- package/dist/generated/model/question-when-save.js.map +1 -0
- package/dist/generated/model/react-body-params.d.ts +25 -0
- package/dist/generated/model/react-body-params.d.ts.map +1 -0
- package/dist/generated/model/react-body-params.js +16 -0
- package/dist/generated/model/react-body-params.js.map +1 -0
- package/dist/generated/model/react-feed-post-public200-response.d.ts +81 -0
- package/dist/generated/model/react-feed-post-public200-response.d.ts.map +1 -0
- package/dist/generated/model/react-feed-post-public200-response.js +16 -0
- package/dist/generated/model/react-feed-post-public200-response.js.map +1 -0
- package/dist/generated/model/react-feed-post-response.d.ts +38 -0
- package/dist/generated/model/react-feed-post-response.d.ts.map +1 -0
- package/dist/generated/model/react-feed-post-response.js +16 -0
- package/dist/generated/model/react-feed-post-response.js.map +1 -0
- package/dist/generated/model/record-string-before-string-or-null-after-string-or-null-value.d.ts +31 -0
- package/dist/generated/model/record-string-before-string-or-null-after-string-or-null-value.d.ts.map +1 -0
- package/dist/generated/model/record-string-before-string-or-null-after-string-or-null-value.js +16 -0
- package/dist/generated/model/record-string-before-string-or-null-after-string-or-null-value.js.map +1 -0
- package/dist/generated/model/record-string-string-or-number-value.d.ts +19 -0
- package/dist/generated/model/record-string-string-or-number-value.d.ts.map +1 -0
- package/dist/generated/model/record-string-string-or-number-value.js +16 -0
- package/dist/generated/model/record-string-string-or-number-value.js.map +1 -0
- package/dist/generated/model/renderable-user-notification.d.ts +147 -0
- package/dist/generated/model/renderable-user-notification.d.ts.map +1 -0
- package/dist/generated/model/renderable-user-notification.js +16 -0
- package/dist/generated/model/renderable-user-notification.js.map +1 -0
- package/dist/generated/model/reset-user-notifications-response.d.ts +39 -0
- package/dist/generated/model/reset-user-notifications-response.d.ts.map +1 -0
- package/dist/generated/model/reset-user-notifications-response.js +25 -0
- package/dist/generated/model/reset-user-notifications-response.js.map +1 -0
- package/dist/generated/model/reset-user-notifications200-response.d.ts +69 -0
- package/dist/generated/model/reset-user-notifications200-response.d.ts.map +1 -0
- package/dist/generated/model/reset-user-notifications200-response.js +16 -0
- package/dist/generated/model/reset-user-notifications200-response.js.map +1 -0
- package/dist/generated/model/save-comment-response-optimized.d.ts +48 -0
- package/dist/generated/model/save-comment-response-optimized.d.ts.map +1 -0
- package/dist/generated/model/save-comment-response-optimized.js +16 -0
- package/dist/generated/model/save-comment-response-optimized.js.map +1 -0
- package/dist/generated/model/save-comment-response.d.ts +48 -0
- package/dist/generated/model/save-comment-response.d.ts.map +1 -0
- package/dist/generated/model/save-comment-response.js +16 -0
- package/dist/generated/model/save-comment-response.js.map +1 -0
- package/dist/generated/model/save-comment200-response.d.ts +91 -0
- package/dist/generated/model/save-comment200-response.d.ts.map +1 -0
- package/dist/generated/model/save-comment200-response.js +16 -0
- package/dist/generated/model/save-comment200-response.js.map +1 -0
- package/dist/generated/model/save-comments-response-with-presence.d.ts +18 -0
- package/dist/generated/model/save-comments-response-with-presence.d.ts.map +1 -0
- package/dist/generated/model/save-comments-response-with-presence.js +16 -0
- package/dist/generated/model/save-comments-response-with-presence.js.map +1 -0
- package/dist/generated/model/search-users-response.d.ts +33 -0
- package/dist/generated/model/search-users-response.d.ts.map +1 -0
- package/dist/generated/model/search-users-response.js +16 -0
- package/dist/generated/model/search-users-response.js.map +1 -0
- package/dist/generated/model/search-users200-response.d.ts +76 -0
- package/dist/generated/model/search-users200-response.d.ts.map +1 -0
- package/dist/generated/model/search-users200-response.js +16 -0
- package/dist/generated/model/search-users200-response.js.map +1 -0
- package/dist/generated/model/set-comment-text200-response.d.ts +76 -0
- package/dist/generated/model/set-comment-text200-response.d.ts.map +1 -0
- package/dist/generated/model/set-comment-text200-response.js +16 -0
- package/dist/generated/model/set-comment-text200-response.js.map +1 -0
- package/dist/generated/model/size-preset.d.ts +21 -0
- package/dist/generated/model/size-preset.d.ts.map +1 -0
- package/dist/generated/model/size-preset.js +27 -0
- package/dist/generated/model/size-preset.js.map +1 -0
- package/dist/generated/model/sort-directions.d.ts +22 -0
- package/dist/generated/model/sort-directions.d.ts.map +1 -0
- package/dist/generated/model/sort-directions.js +28 -0
- package/dist/generated/model/sort-directions.js.map +1 -0
- package/dist/generated/model/sortdir.d.ts +21 -0
- package/dist/generated/model/sortdir.d.ts.map +1 -0
- package/dist/generated/model/sortdir.js +27 -0
- package/dist/generated/model/sortdir.js.map +1 -0
- package/dist/generated/model/spam-rule.d.ts +40 -0
- package/dist/generated/model/spam-rule.d.ts.map +1 -0
- package/dist/generated/model/spam-rule.js +27 -0
- package/dist/generated/model/spam-rule.js.map +1 -0
- package/dist/generated/model/ssosecurity-level.d.ts +21 -0
- package/dist/generated/model/ssosecurity-level.d.ts.map +1 -0
- package/dist/generated/model/ssosecurity-level.js +27 -0
- package/dist/generated/model/ssosecurity-level.js.map +1 -0
- package/dist/generated/model/un-block-comment-public200-response.d.ts +77 -0
- package/dist/generated/model/un-block-comment-public200-response.d.ts.map +1 -0
- package/dist/generated/model/un-block-comment-public200-response.js +16 -0
- package/dist/generated/model/un-block-comment-public200-response.js.map +1 -0
- package/dist/generated/model/un-block-from-comment-params.d.ts +25 -0
- package/dist/generated/model/un-block-from-comment-params.d.ts.map +1 -0
- package/dist/generated/model/un-block-from-comment-params.js +16 -0
- package/dist/generated/model/un-block-from-comment-params.js.map +1 -0
- package/dist/generated/model/unblock-success.d.ts +34 -0
- package/dist/generated/model/unblock-success.d.ts.map +1 -0
- package/dist/generated/model/unblock-success.js +16 -0
- package/dist/generated/model/unblock-success.js.map +1 -0
- package/dist/generated/model/update-domain-config-params.d.ts +63 -0
- package/dist/generated/model/update-domain-config-params.d.ts.map +1 -0
- package/dist/generated/model/update-domain-config-params.js +16 -0
- package/dist/generated/model/update-domain-config-params.js.map +1 -0
- package/dist/generated/model/update-feed-post-params.d.ts +59 -0
- package/dist/generated/model/update-feed-post-params.d.ts.map +1 -0
- package/dist/generated/model/update-feed-post-params.js +16 -0
- package/dist/generated/model/update-feed-post-params.js.map +1 -0
- package/dist/generated/model/update-user-badge-params.d.ts +25 -0
- package/dist/generated/model/update-user-badge-params.d.ts.map +1 -0
- package/dist/generated/model/update-user-badge-params.js +16 -0
- package/dist/generated/model/update-user-badge-params.js.map +1 -0
- package/dist/generated/model/update-user-badge200-response.d.ts +69 -0
- package/dist/generated/model/update-user-badge200-response.d.ts.map +1 -0
- package/dist/generated/model/update-user-badge200-response.js +16 -0
- package/dist/generated/model/update-user-badge200-response.js.map +1 -0
- package/dist/generated/model/update-user-notification-status200-response.d.ts +95 -0
- package/dist/generated/model/update-user-notification-status200-response.d.ts.map +1 -0
- package/dist/generated/model/update-user-notification-status200-response.js +26 -0
- package/dist/generated/model/update-user-notification-status200-response.js.map +1 -0
- package/dist/generated/model/upload-image-response.d.ts +51 -0
- package/dist/generated/model/upload-image-response.d.ts.map +1 -0
- package/dist/generated/model/upload-image-response.js +16 -0
- package/dist/generated/model/upload-image-response.js.map +1 -0
- package/dist/generated/model/user-badge-progress.d.ts +69 -0
- package/dist/generated/model/user-badge-progress.d.ts.map +1 -0
- package/dist/generated/model/user-badge-progress.js +16 -0
- package/dist/generated/model/user-badge-progress.js.map +1 -0
- package/dist/generated/model/user-badge.d.ts +127 -0
- package/dist/generated/model/user-badge.d.ts.map +1 -0
- package/dist/generated/model/user-badge.js +16 -0
- package/dist/generated/model/user-badge.js.map +1 -0
- package/dist/generated/model/user-notification-write-response.d.ts +38 -0
- package/dist/generated/model/user-notification-write-response.d.ts.map +1 -0
- package/dist/generated/model/user-notification-write-response.js +16 -0
- package/dist/generated/model/user-notification-write-response.js.map +1 -0
- package/dist/generated/model/user-notification.d.ts +165 -0
- package/dist/generated/model/user-notification.d.ts.map +1 -0
- package/dist/generated/model/user-notification.js +16 -0
- package/dist/generated/model/user-notification.js.map +1 -0
- package/dist/generated/model/user-presence-data.d.ts +37 -0
- package/dist/generated/model/user-presence-data.d.ts.map +1 -0
- package/dist/generated/model/user-presence-data.js +16 -0
- package/dist/generated/model/user-presence-data.js.map +1 -0
- package/dist/generated/model/user-reacts-response.d.ts +36 -0
- package/dist/generated/model/user-reacts-response.d.ts.map +1 -0
- package/dist/generated/model/user-reacts-response.js +16 -0
- package/dist/generated/model/user-reacts-response.js.map +1 -0
- package/dist/generated/model/user-search-result.d.ts +57 -0
- package/dist/generated/model/user-search-result.d.ts.map +1 -0
- package/dist/generated/model/user-search-result.js +26 -0
- package/dist/generated/model/user-search-result.js.map +1 -0
- package/dist/generated/model/user-session-info.d.ts +91 -0
- package/dist/generated/model/user-session-info.d.ts.map +1 -0
- package/dist/generated/model/user-session-info.js +16 -0
- package/dist/generated/model/user-session-info.js.map +1 -0
- package/dist/generated/model/vote-body-params.d.ts +51 -0
- package/dist/generated/model/vote-body-params.d.ts.map +1 -0
- package/dist/generated/model/vote-body-params.js +26 -0
- package/dist/generated/model/vote-body-params.js.map +1 -0
- package/dist/generated/model/vote-comment200-response.d.ts +94 -0
- package/dist/generated/model/vote-comment200-response.d.ts.map +1 -0
- package/dist/generated/model/vote-comment200-response.js +16 -0
- package/dist/generated/model/vote-comment200-response.js.map +1 -0
- package/dist/generated/model/vote-delete-response-status.d.ts +19 -0
- package/dist/generated/model/vote-delete-response-status.d.ts.map +1 -0
- package/dist/generated/model/vote-delete-response-status.js +16 -0
- package/dist/generated/model/vote-delete-response-status.js.map +1 -0
- package/dist/generated/model/vote-delete-response.d.ts +32 -0
- package/dist/generated/model/vote-delete-response.d.ts.map +1 -0
- package/dist/generated/model/vote-delete-response.js +16 -0
- package/dist/generated/model/vote-delete-response.js.map +1 -0
- package/dist/generated/model/vote-response-status.d.ts +19 -0
- package/dist/generated/model/vote-response-status.d.ts.map +1 -0
- package/dist/generated/model/vote-response-status.js +16 -0
- package/dist/generated/model/vote-response-status.js.map +1 -0
- package/dist/generated/model/vote-response-user.d.ts +25 -0
- package/dist/generated/model/vote-response-user.d.ts.map +1 -0
- package/dist/generated/model/vote-response-user.js +16 -0
- package/dist/generated/model/vote-response-user.js.map +1 -0
- package/dist/generated/model/vote-response.d.ts +51 -0
- package/dist/generated/model/vote-response.d.ts.map +1 -0
- package/dist/generated/model/vote-response.js +16 -0
- package/dist/generated/model/vote-response.js.map +1 -0
- package/dist/generated/model/vote-style.d.ts +21 -0
- package/dist/generated/model/vote-style.d.ts.map +1 -0
- package/dist/generated/model/vote-style.js +27 -0
- package/dist/generated/model/vote-style.js.map +1 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +63 -0
- package/dist/index.js.map +1 -0
- package/dist/live/index.d.ts +7 -0
- package/dist/live/index.d.ts.map +1 -0
- package/dist/live/index.js +16 -0
- package/dist/live/index.js.map +1 -0
- package/dist/live/subscribe-to-changes.d.ts +12 -0
- package/dist/live/subscribe-to-changes.d.ts.map +1 -0
- package/dist/live/subscribe-to-changes.js +110 -0
- package/dist/live/subscribe-to-changes.js.map +1 -0
- package/dist/live/user-feed.d.ts +22 -0
- package/dist/live/user-feed.d.ts.map +1 -0
- package/dist/live/user-feed.js +29 -0
- package/dist/live/user-feed.js.map +1 -0
- package/dist/live/utils.d.ts +8 -0
- package/dist/live/utils.d.ts.map +1 -0
- package/dist/live/utils.js +63 -0
- package/dist/live/utils.js.map +1 -0
- package/dist/sso/FastCommentsSSO.d.ts +63 -0
- package/dist/sso/FastCommentsSSO.d.ts.map +1 -0
- package/dist/sso/FastCommentsSSO.js +118 -0
- package/dist/sso/FastCommentsSSO.js.map +1 -0
- package/dist/sso/SecureSSOPayload.d.ts +23 -0
- package/dist/sso/SecureSSOPayload.d.ts.map +1 -0
- package/dist/sso/SecureSSOPayload.js +46 -0
- package/dist/sso/SecureSSOPayload.js.map +1 -0
- package/dist/sso/index.d.ts +6 -0
- package/dist/sso/index.d.ts.map +1 -0
- package/dist/sso/index.js +27 -0
- package/dist/sso/index.js.map +1 -0
- package/dist/sso/types.d.ts +76 -0
- package/dist/sso/types.d.ts.map +1 -0
- package/dist/sso/types.js +3 -0
- package/dist/sso/types.js.map +1 -0
- package/package.json +60 -0
|
@@ -0,0 +1,3024 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* fastcomments
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.UpdateUserNotificationStatusNewStatusEnum = exports.UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum = exports.UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum = exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = void 0;
|
|
20
|
+
const axios_1 = __importDefault(require("axios"));
|
|
21
|
+
// Some imports not used depending on template conditions
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
const common_1 = require("../common");
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
const base_1 = require("../base");
|
|
26
|
+
/**
|
|
27
|
+
* PublicApi - axios parameter creator
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
const PublicApiAxiosParamCreator = function (configuration) {
|
|
31
|
+
return {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @param {string} tenantId
|
|
35
|
+
* @param {string} commentId
|
|
36
|
+
* @param {PublicBlockFromCommentParams} publicBlockFromCommentParams
|
|
37
|
+
* @param {string} [sso]
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
blockFromCommentPublic: async (tenantId, commentId, publicBlockFromCommentParams, sso, options = {}) => {
|
|
42
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
43
|
+
(0, common_1.assertParamExists)('blockFromCommentPublic', 'tenantId', tenantId);
|
|
44
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
45
|
+
(0, common_1.assertParamExists)('blockFromCommentPublic', 'commentId', commentId);
|
|
46
|
+
// verify required parameter 'publicBlockFromCommentParams' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('blockFromCommentPublic', 'publicBlockFromCommentParams', publicBlockFromCommentParams);
|
|
48
|
+
const localVarPath = `/block-from-comment/{commentId}`
|
|
49
|
+
.replace(`{${"commentId"}}`, encodeURIComponent(String(commentId)));
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
52
|
+
let baseOptions;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
}
|
|
56
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
57
|
+
const localVarHeaderParameter = {};
|
|
58
|
+
const localVarQueryParameter = {};
|
|
59
|
+
if (tenantId !== undefined) {
|
|
60
|
+
localVarQueryParameter['tenantId'] = tenantId;
|
|
61
|
+
}
|
|
62
|
+
if (sso !== undefined) {
|
|
63
|
+
localVarQueryParameter['sso'] = sso;
|
|
64
|
+
}
|
|
65
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
66
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
67
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
69
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(publicBlockFromCommentParams, localVarRequestOptions, configuration);
|
|
70
|
+
return {
|
|
71
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
72
|
+
options: localVarRequestOptions,
|
|
73
|
+
};
|
|
74
|
+
},
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @param {string} tenantId
|
|
78
|
+
* @param {string} commentIds A comma separated list of comment ids.
|
|
79
|
+
* @param {string} [sso]
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
checkedCommentsForBlocked: async (tenantId, commentIds, sso, options = {}) => {
|
|
84
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
85
|
+
(0, common_1.assertParamExists)('checkedCommentsForBlocked', 'tenantId', tenantId);
|
|
86
|
+
// verify required parameter 'commentIds' is not null or undefined
|
|
87
|
+
(0, common_1.assertParamExists)('checkedCommentsForBlocked', 'commentIds', commentIds);
|
|
88
|
+
const localVarPath = `/check-blocked-comments`;
|
|
89
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
90
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
91
|
+
let baseOptions;
|
|
92
|
+
if (configuration) {
|
|
93
|
+
baseOptions = configuration.baseOptions;
|
|
94
|
+
}
|
|
95
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
96
|
+
const localVarHeaderParameter = {};
|
|
97
|
+
const localVarQueryParameter = {};
|
|
98
|
+
if (tenantId !== undefined) {
|
|
99
|
+
localVarQueryParameter['tenantId'] = tenantId;
|
|
100
|
+
}
|
|
101
|
+
if (commentIds !== undefined) {
|
|
102
|
+
localVarQueryParameter['commentIds'] = commentIds;
|
|
103
|
+
}
|
|
104
|
+
if (sso !== undefined) {
|
|
105
|
+
localVarQueryParameter['sso'] = sso;
|
|
106
|
+
}
|
|
107
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
108
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
109
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
110
|
+
return {
|
|
111
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
112
|
+
options: localVarRequestOptions,
|
|
113
|
+
};
|
|
114
|
+
},
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @param {string} tenantId
|
|
118
|
+
* @param {string} urlId
|
|
119
|
+
* @param {string} broadcastId
|
|
120
|
+
* @param {CommentData} commentData
|
|
121
|
+
* @param {string} [sessionId]
|
|
122
|
+
* @param {string} [sso]
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
createCommentPublic: async (tenantId, urlId, broadcastId, commentData, sessionId, sso, options = {}) => {
|
|
127
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
128
|
+
(0, common_1.assertParamExists)('createCommentPublic', 'tenantId', tenantId);
|
|
129
|
+
// verify required parameter 'urlId' is not null or undefined
|
|
130
|
+
(0, common_1.assertParamExists)('createCommentPublic', 'urlId', urlId);
|
|
131
|
+
// verify required parameter 'broadcastId' is not null or undefined
|
|
132
|
+
(0, common_1.assertParamExists)('createCommentPublic', 'broadcastId', broadcastId);
|
|
133
|
+
// verify required parameter 'commentData' is not null or undefined
|
|
134
|
+
(0, common_1.assertParamExists)('createCommentPublic', 'commentData', commentData);
|
|
135
|
+
const localVarPath = `/comments/{tenantId}`
|
|
136
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
|
|
137
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
138
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
139
|
+
let baseOptions;
|
|
140
|
+
if (configuration) {
|
|
141
|
+
baseOptions = configuration.baseOptions;
|
|
142
|
+
}
|
|
143
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
144
|
+
const localVarHeaderParameter = {};
|
|
145
|
+
const localVarQueryParameter = {};
|
|
146
|
+
if (urlId !== undefined) {
|
|
147
|
+
localVarQueryParameter['urlId'] = urlId;
|
|
148
|
+
}
|
|
149
|
+
if (broadcastId !== undefined) {
|
|
150
|
+
localVarQueryParameter['broadcastId'] = broadcastId;
|
|
151
|
+
}
|
|
152
|
+
if (sessionId !== undefined) {
|
|
153
|
+
localVarQueryParameter['sessionId'] = sessionId;
|
|
154
|
+
}
|
|
155
|
+
if (sso !== undefined) {
|
|
156
|
+
localVarQueryParameter['sso'] = sso;
|
|
157
|
+
}
|
|
158
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
159
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
160
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
161
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
162
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(commentData, localVarRequestOptions, configuration);
|
|
163
|
+
return {
|
|
164
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
165
|
+
options: localVarRequestOptions,
|
|
166
|
+
};
|
|
167
|
+
},
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @param {string} tenantId
|
|
171
|
+
* @param {CreateFeedPostParams} createFeedPostParams
|
|
172
|
+
* @param {string} [broadcastId]
|
|
173
|
+
* @param {string} [sso]
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
createFeedPostPublic: async (tenantId, createFeedPostParams, broadcastId, sso, options = {}) => {
|
|
178
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
179
|
+
(0, common_1.assertParamExists)('createFeedPostPublic', 'tenantId', tenantId);
|
|
180
|
+
// verify required parameter 'createFeedPostParams' is not null or undefined
|
|
181
|
+
(0, common_1.assertParamExists)('createFeedPostPublic', 'createFeedPostParams', createFeedPostParams);
|
|
182
|
+
const localVarPath = `/feed-posts/{tenantId}`
|
|
183
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
|
|
184
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
185
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
186
|
+
let baseOptions;
|
|
187
|
+
if (configuration) {
|
|
188
|
+
baseOptions = configuration.baseOptions;
|
|
189
|
+
}
|
|
190
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
191
|
+
const localVarHeaderParameter = {};
|
|
192
|
+
const localVarQueryParameter = {};
|
|
193
|
+
if (broadcastId !== undefined) {
|
|
194
|
+
localVarQueryParameter['broadcastId'] = broadcastId;
|
|
195
|
+
}
|
|
196
|
+
if (sso !== undefined) {
|
|
197
|
+
localVarQueryParameter['sso'] = sso;
|
|
198
|
+
}
|
|
199
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
200
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
202
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
203
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createFeedPostParams, localVarRequestOptions, configuration);
|
|
204
|
+
return {
|
|
205
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
206
|
+
options: localVarRequestOptions,
|
|
207
|
+
};
|
|
208
|
+
},
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @param {string} tenantId
|
|
212
|
+
* @param {string} commentId
|
|
213
|
+
* @param {string} broadcastId
|
|
214
|
+
* @param {string} [editKey]
|
|
215
|
+
* @param {string} [sso]
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @throws {RequiredError}
|
|
218
|
+
*/
|
|
219
|
+
deleteCommentPublic: async (tenantId, commentId, broadcastId, editKey, sso, options = {}) => {
|
|
220
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
221
|
+
(0, common_1.assertParamExists)('deleteCommentPublic', 'tenantId', tenantId);
|
|
222
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
223
|
+
(0, common_1.assertParamExists)('deleteCommentPublic', 'commentId', commentId);
|
|
224
|
+
// verify required parameter 'broadcastId' is not null or undefined
|
|
225
|
+
(0, common_1.assertParamExists)('deleteCommentPublic', 'broadcastId', broadcastId);
|
|
226
|
+
const localVarPath = `/comments/{tenantId}/{commentId}`
|
|
227
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
|
|
228
|
+
.replace(`{${"commentId"}}`, encodeURIComponent(String(commentId)));
|
|
229
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
230
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
231
|
+
let baseOptions;
|
|
232
|
+
if (configuration) {
|
|
233
|
+
baseOptions = configuration.baseOptions;
|
|
234
|
+
}
|
|
235
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
236
|
+
const localVarHeaderParameter = {};
|
|
237
|
+
const localVarQueryParameter = {};
|
|
238
|
+
if (broadcastId !== undefined) {
|
|
239
|
+
localVarQueryParameter['broadcastId'] = broadcastId;
|
|
240
|
+
}
|
|
241
|
+
if (editKey !== undefined) {
|
|
242
|
+
localVarQueryParameter['editKey'] = editKey;
|
|
243
|
+
}
|
|
244
|
+
if (sso !== undefined) {
|
|
245
|
+
localVarQueryParameter['sso'] = sso;
|
|
246
|
+
}
|
|
247
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
248
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
249
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
250
|
+
return {
|
|
251
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
252
|
+
options: localVarRequestOptions,
|
|
253
|
+
};
|
|
254
|
+
},
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @param {string} tenantId
|
|
258
|
+
* @param {string} commentId
|
|
259
|
+
* @param {string} voteId
|
|
260
|
+
* @param {string} urlId
|
|
261
|
+
* @param {string} broadcastId
|
|
262
|
+
* @param {string} [editKey]
|
|
263
|
+
* @param {string} [sso]
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
deleteCommentVote: async (tenantId, commentId, voteId, urlId, broadcastId, editKey, sso, options = {}) => {
|
|
268
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
269
|
+
(0, common_1.assertParamExists)('deleteCommentVote', 'tenantId', tenantId);
|
|
270
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
271
|
+
(0, common_1.assertParamExists)('deleteCommentVote', 'commentId', commentId);
|
|
272
|
+
// verify required parameter 'voteId' is not null or undefined
|
|
273
|
+
(0, common_1.assertParamExists)('deleteCommentVote', 'voteId', voteId);
|
|
274
|
+
// verify required parameter 'urlId' is not null or undefined
|
|
275
|
+
(0, common_1.assertParamExists)('deleteCommentVote', 'urlId', urlId);
|
|
276
|
+
// verify required parameter 'broadcastId' is not null or undefined
|
|
277
|
+
(0, common_1.assertParamExists)('deleteCommentVote', 'broadcastId', broadcastId);
|
|
278
|
+
const localVarPath = `/comments/{tenantId}/{commentId}/vote/{voteId}`
|
|
279
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
|
|
280
|
+
.replace(`{${"commentId"}}`, encodeURIComponent(String(commentId)))
|
|
281
|
+
.replace(`{${"voteId"}}`, encodeURIComponent(String(voteId)));
|
|
282
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
283
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
284
|
+
let baseOptions;
|
|
285
|
+
if (configuration) {
|
|
286
|
+
baseOptions = configuration.baseOptions;
|
|
287
|
+
}
|
|
288
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
289
|
+
const localVarHeaderParameter = {};
|
|
290
|
+
const localVarQueryParameter = {};
|
|
291
|
+
if (urlId !== undefined) {
|
|
292
|
+
localVarQueryParameter['urlId'] = urlId;
|
|
293
|
+
}
|
|
294
|
+
if (broadcastId !== undefined) {
|
|
295
|
+
localVarQueryParameter['broadcastId'] = broadcastId;
|
|
296
|
+
}
|
|
297
|
+
if (editKey !== undefined) {
|
|
298
|
+
localVarQueryParameter['editKey'] = editKey;
|
|
299
|
+
}
|
|
300
|
+
if (sso !== undefined) {
|
|
301
|
+
localVarQueryParameter['sso'] = sso;
|
|
302
|
+
}
|
|
303
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
304
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
306
|
+
return {
|
|
307
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
308
|
+
options: localVarRequestOptions,
|
|
309
|
+
};
|
|
310
|
+
},
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @param {string} tenantId
|
|
314
|
+
* @param {string} postId
|
|
315
|
+
* @param {string} [broadcastId]
|
|
316
|
+
* @param {string} [sso]
|
|
317
|
+
* @param {*} [options] Override http request option.
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
*/
|
|
320
|
+
deleteFeedPostPublic: async (tenantId, postId, broadcastId, sso, options = {}) => {
|
|
321
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
322
|
+
(0, common_1.assertParamExists)('deleteFeedPostPublic', 'tenantId', tenantId);
|
|
323
|
+
// verify required parameter 'postId' is not null or undefined
|
|
324
|
+
(0, common_1.assertParamExists)('deleteFeedPostPublic', 'postId', postId);
|
|
325
|
+
const localVarPath = `/feed-posts/{tenantId}/{postId}`
|
|
326
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
|
|
327
|
+
.replace(`{${"postId"}}`, encodeURIComponent(String(postId)));
|
|
328
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
329
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
330
|
+
let baseOptions;
|
|
331
|
+
if (configuration) {
|
|
332
|
+
baseOptions = configuration.baseOptions;
|
|
333
|
+
}
|
|
334
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
335
|
+
const localVarHeaderParameter = {};
|
|
336
|
+
const localVarQueryParameter = {};
|
|
337
|
+
if (broadcastId !== undefined) {
|
|
338
|
+
localVarQueryParameter['broadcastId'] = broadcastId;
|
|
339
|
+
}
|
|
340
|
+
if (sso !== undefined) {
|
|
341
|
+
localVarQueryParameter['sso'] = sso;
|
|
342
|
+
}
|
|
343
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
344
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
345
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
346
|
+
return {
|
|
347
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
348
|
+
options: localVarRequestOptions,
|
|
349
|
+
};
|
|
350
|
+
},
|
|
351
|
+
/**
|
|
352
|
+
*
|
|
353
|
+
* @param {string} tenantId
|
|
354
|
+
* @param {string} commentId
|
|
355
|
+
* @param {boolean} isFlagged
|
|
356
|
+
* @param {string} [sso]
|
|
357
|
+
* @param {*} [options] Override http request option.
|
|
358
|
+
* @throws {RequiredError}
|
|
359
|
+
*/
|
|
360
|
+
flagCommentPublic: async (tenantId, commentId, isFlagged, sso, options = {}) => {
|
|
361
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
362
|
+
(0, common_1.assertParamExists)('flagCommentPublic', 'tenantId', tenantId);
|
|
363
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
364
|
+
(0, common_1.assertParamExists)('flagCommentPublic', 'commentId', commentId);
|
|
365
|
+
// verify required parameter 'isFlagged' is not null or undefined
|
|
366
|
+
(0, common_1.assertParamExists)('flagCommentPublic', 'isFlagged', isFlagged);
|
|
367
|
+
const localVarPath = `/flag-comment/{commentId}`
|
|
368
|
+
.replace(`{${"commentId"}}`, encodeURIComponent(String(commentId)));
|
|
369
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
370
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
371
|
+
let baseOptions;
|
|
372
|
+
if (configuration) {
|
|
373
|
+
baseOptions = configuration.baseOptions;
|
|
374
|
+
}
|
|
375
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
376
|
+
const localVarHeaderParameter = {};
|
|
377
|
+
const localVarQueryParameter = {};
|
|
378
|
+
if (tenantId !== undefined) {
|
|
379
|
+
localVarQueryParameter['tenantId'] = tenantId;
|
|
380
|
+
}
|
|
381
|
+
if (isFlagged !== undefined) {
|
|
382
|
+
localVarQueryParameter['isFlagged'] = isFlagged;
|
|
383
|
+
}
|
|
384
|
+
if (sso !== undefined) {
|
|
385
|
+
localVarQueryParameter['sso'] = sso;
|
|
386
|
+
}
|
|
387
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
388
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
389
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
390
|
+
return {
|
|
391
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
392
|
+
options: localVarRequestOptions,
|
|
393
|
+
};
|
|
394
|
+
},
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @param {string} tenantId
|
|
398
|
+
* @param {string} commentId
|
|
399
|
+
* @param {string} [editKey]
|
|
400
|
+
* @param {string} [sso]
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
*/
|
|
404
|
+
getCommentText: async (tenantId, commentId, editKey, sso, options = {}) => {
|
|
405
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
406
|
+
(0, common_1.assertParamExists)('getCommentText', 'tenantId', tenantId);
|
|
407
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
408
|
+
(0, common_1.assertParamExists)('getCommentText', 'commentId', commentId);
|
|
409
|
+
const localVarPath = `/comments/{tenantId}/{commentId}/text`
|
|
410
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
|
|
411
|
+
.replace(`{${"commentId"}}`, encodeURIComponent(String(commentId)));
|
|
412
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
413
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
414
|
+
let baseOptions;
|
|
415
|
+
if (configuration) {
|
|
416
|
+
baseOptions = configuration.baseOptions;
|
|
417
|
+
}
|
|
418
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
419
|
+
const localVarHeaderParameter = {};
|
|
420
|
+
const localVarQueryParameter = {};
|
|
421
|
+
if (editKey !== undefined) {
|
|
422
|
+
localVarQueryParameter['editKey'] = editKey;
|
|
423
|
+
}
|
|
424
|
+
if (sso !== undefined) {
|
|
425
|
+
localVarQueryParameter['sso'] = sso;
|
|
426
|
+
}
|
|
427
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
428
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
429
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
430
|
+
return {
|
|
431
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
432
|
+
options: localVarRequestOptions,
|
|
433
|
+
};
|
|
434
|
+
},
|
|
435
|
+
/**
|
|
436
|
+
*
|
|
437
|
+
* @param {string} tenantId
|
|
438
|
+
* @param {string} commentId
|
|
439
|
+
* @param {number} dir
|
|
440
|
+
* @param {string} [sso]
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
*/
|
|
444
|
+
getCommentVoteUserNames: async (tenantId, commentId, dir, sso, options = {}) => {
|
|
445
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
446
|
+
(0, common_1.assertParamExists)('getCommentVoteUserNames', 'tenantId', tenantId);
|
|
447
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
448
|
+
(0, common_1.assertParamExists)('getCommentVoteUserNames', 'commentId', commentId);
|
|
449
|
+
// verify required parameter 'dir' is not null or undefined
|
|
450
|
+
(0, common_1.assertParamExists)('getCommentVoteUserNames', 'dir', dir);
|
|
451
|
+
const localVarPath = `/comments/{tenantId}/{commentId}/votes`
|
|
452
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
|
|
453
|
+
.replace(`{${"commentId"}}`, encodeURIComponent(String(commentId)));
|
|
454
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
455
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
456
|
+
let baseOptions;
|
|
457
|
+
if (configuration) {
|
|
458
|
+
baseOptions = configuration.baseOptions;
|
|
459
|
+
}
|
|
460
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
461
|
+
const localVarHeaderParameter = {};
|
|
462
|
+
const localVarQueryParameter = {};
|
|
463
|
+
if (dir !== undefined) {
|
|
464
|
+
localVarQueryParameter['dir'] = dir;
|
|
465
|
+
}
|
|
466
|
+
if (sso !== undefined) {
|
|
467
|
+
localVarQueryParameter['sso'] = sso;
|
|
468
|
+
}
|
|
469
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
470
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
471
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
472
|
+
return {
|
|
473
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
474
|
+
options: localVarRequestOptions,
|
|
475
|
+
};
|
|
476
|
+
},
|
|
477
|
+
/**
|
|
478
|
+
* req tenantId urlId
|
|
479
|
+
* @param {string} tenantId
|
|
480
|
+
* @param {string} urlId
|
|
481
|
+
* @param {number} [page]
|
|
482
|
+
* @param {SortDirections} [direction]
|
|
483
|
+
* @param {string} [sso]
|
|
484
|
+
* @param {number} [skip]
|
|
485
|
+
* @param {number} [skipChildren]
|
|
486
|
+
* @param {number} [limit]
|
|
487
|
+
* @param {number} [limitChildren]
|
|
488
|
+
* @param {boolean} [countChildren]
|
|
489
|
+
* @param {string} [fetchPageForCommentId]
|
|
490
|
+
* @param {boolean} [includeConfig]
|
|
491
|
+
* @param {boolean} [countAll]
|
|
492
|
+
* @param {boolean} [includei10n]
|
|
493
|
+
* @param {string} [locale]
|
|
494
|
+
* @param {string} [modules]
|
|
495
|
+
* @param {boolean} [isCrawler]
|
|
496
|
+
* @param {boolean} [includeNotificationCount]
|
|
497
|
+
* @param {boolean} [asTree]
|
|
498
|
+
* @param {number} [maxTreeDepth]
|
|
499
|
+
* @param {boolean} [useFullTranslationIds]
|
|
500
|
+
* @param {string} [parentId]
|
|
501
|
+
* @param {string} [searchText]
|
|
502
|
+
* @param {Array<string>} [hashTags]
|
|
503
|
+
* @param {string} [userId]
|
|
504
|
+
* @param {string} [customConfigStr]
|
|
505
|
+
* @param {string} [afterCommentId]
|
|
506
|
+
* @param {string} [beforeCommentId]
|
|
507
|
+
* @param {*} [options] Override http request option.
|
|
508
|
+
* @throws {RequiredError}
|
|
509
|
+
*/
|
|
510
|
+
getCommentsPublic: async (tenantId, urlId, page, direction, sso, skip, skipChildren, limit, limitChildren, countChildren, fetchPageForCommentId, includeConfig, countAll, includei10n, locale, modules, isCrawler, includeNotificationCount, asTree, maxTreeDepth, useFullTranslationIds, parentId, searchText, hashTags, userId, customConfigStr, afterCommentId, beforeCommentId, options = {}) => {
|
|
511
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
512
|
+
(0, common_1.assertParamExists)('getCommentsPublic', 'tenantId', tenantId);
|
|
513
|
+
// verify required parameter 'urlId' is not null or undefined
|
|
514
|
+
(0, common_1.assertParamExists)('getCommentsPublic', 'urlId', urlId);
|
|
515
|
+
const localVarPath = `/comments/{tenantId}`
|
|
516
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
|
|
517
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
518
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
519
|
+
let baseOptions;
|
|
520
|
+
if (configuration) {
|
|
521
|
+
baseOptions = configuration.baseOptions;
|
|
522
|
+
}
|
|
523
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
524
|
+
const localVarHeaderParameter = {};
|
|
525
|
+
const localVarQueryParameter = {};
|
|
526
|
+
if (urlId !== undefined) {
|
|
527
|
+
localVarQueryParameter['urlId'] = urlId;
|
|
528
|
+
}
|
|
529
|
+
if (page !== undefined) {
|
|
530
|
+
localVarQueryParameter['page'] = page;
|
|
531
|
+
}
|
|
532
|
+
if (direction !== undefined) {
|
|
533
|
+
localVarQueryParameter['direction'] = direction;
|
|
534
|
+
}
|
|
535
|
+
if (sso !== undefined) {
|
|
536
|
+
localVarQueryParameter['sso'] = sso;
|
|
537
|
+
}
|
|
538
|
+
if (skip !== undefined) {
|
|
539
|
+
localVarQueryParameter['skip'] = skip;
|
|
540
|
+
}
|
|
541
|
+
if (skipChildren !== undefined) {
|
|
542
|
+
localVarQueryParameter['skipChildren'] = skipChildren;
|
|
543
|
+
}
|
|
544
|
+
if (limit !== undefined) {
|
|
545
|
+
localVarQueryParameter['limit'] = limit;
|
|
546
|
+
}
|
|
547
|
+
if (limitChildren !== undefined) {
|
|
548
|
+
localVarQueryParameter['limitChildren'] = limitChildren;
|
|
549
|
+
}
|
|
550
|
+
if (countChildren !== undefined) {
|
|
551
|
+
localVarQueryParameter['countChildren'] = countChildren;
|
|
552
|
+
}
|
|
553
|
+
if (fetchPageForCommentId !== undefined) {
|
|
554
|
+
localVarQueryParameter['fetchPageForCommentId'] = fetchPageForCommentId;
|
|
555
|
+
}
|
|
556
|
+
if (includeConfig !== undefined) {
|
|
557
|
+
localVarQueryParameter['includeConfig'] = includeConfig;
|
|
558
|
+
}
|
|
559
|
+
if (countAll !== undefined) {
|
|
560
|
+
localVarQueryParameter['countAll'] = countAll;
|
|
561
|
+
}
|
|
562
|
+
if (includei10n !== undefined) {
|
|
563
|
+
localVarQueryParameter['includei10n'] = includei10n;
|
|
564
|
+
}
|
|
565
|
+
if (locale !== undefined) {
|
|
566
|
+
localVarQueryParameter['locale'] = locale;
|
|
567
|
+
}
|
|
568
|
+
if (modules !== undefined) {
|
|
569
|
+
localVarQueryParameter['modules'] = modules;
|
|
570
|
+
}
|
|
571
|
+
if (isCrawler !== undefined) {
|
|
572
|
+
localVarQueryParameter['isCrawler'] = isCrawler;
|
|
573
|
+
}
|
|
574
|
+
if (includeNotificationCount !== undefined) {
|
|
575
|
+
localVarQueryParameter['includeNotificationCount'] = includeNotificationCount;
|
|
576
|
+
}
|
|
577
|
+
if (asTree !== undefined) {
|
|
578
|
+
localVarQueryParameter['asTree'] = asTree;
|
|
579
|
+
}
|
|
580
|
+
if (maxTreeDepth !== undefined) {
|
|
581
|
+
localVarQueryParameter['maxTreeDepth'] = maxTreeDepth;
|
|
582
|
+
}
|
|
583
|
+
if (useFullTranslationIds !== undefined) {
|
|
584
|
+
localVarQueryParameter['useFullTranslationIds'] = useFullTranslationIds;
|
|
585
|
+
}
|
|
586
|
+
if (parentId !== undefined) {
|
|
587
|
+
localVarQueryParameter['parentId'] = parentId;
|
|
588
|
+
}
|
|
589
|
+
if (searchText !== undefined) {
|
|
590
|
+
localVarQueryParameter['searchText'] = searchText;
|
|
591
|
+
}
|
|
592
|
+
if (hashTags) {
|
|
593
|
+
localVarQueryParameter['hashTags'] = hashTags;
|
|
594
|
+
}
|
|
595
|
+
if (userId !== undefined) {
|
|
596
|
+
localVarQueryParameter['userId'] = userId;
|
|
597
|
+
}
|
|
598
|
+
if (customConfigStr !== undefined) {
|
|
599
|
+
localVarQueryParameter['customConfigStr'] = customConfigStr;
|
|
600
|
+
}
|
|
601
|
+
if (afterCommentId !== undefined) {
|
|
602
|
+
localVarQueryParameter['afterCommentId'] = afterCommentId;
|
|
603
|
+
}
|
|
604
|
+
if (beforeCommentId !== undefined) {
|
|
605
|
+
localVarQueryParameter['beforeCommentId'] = beforeCommentId;
|
|
606
|
+
}
|
|
607
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
608
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
609
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
610
|
+
return {
|
|
611
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
612
|
+
options: localVarRequestOptions,
|
|
613
|
+
};
|
|
614
|
+
},
|
|
615
|
+
/**
|
|
616
|
+
* req tenantId urlId userIdWS
|
|
617
|
+
* @param {string} tenantId
|
|
618
|
+
* @param {string} urlId
|
|
619
|
+
* @param {string} userIdWS
|
|
620
|
+
* @param {number} startTime
|
|
621
|
+
* @param {number} endTime
|
|
622
|
+
* @param {*} [options] Override http request option.
|
|
623
|
+
* @throws {RequiredError}
|
|
624
|
+
*/
|
|
625
|
+
getEventLog: async (tenantId, urlId, userIdWS, startTime, endTime, options = {}) => {
|
|
626
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
627
|
+
(0, common_1.assertParamExists)('getEventLog', 'tenantId', tenantId);
|
|
628
|
+
// verify required parameter 'urlId' is not null or undefined
|
|
629
|
+
(0, common_1.assertParamExists)('getEventLog', 'urlId', urlId);
|
|
630
|
+
// verify required parameter 'userIdWS' is not null or undefined
|
|
631
|
+
(0, common_1.assertParamExists)('getEventLog', 'userIdWS', userIdWS);
|
|
632
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
633
|
+
(0, common_1.assertParamExists)('getEventLog', 'startTime', startTime);
|
|
634
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
635
|
+
(0, common_1.assertParamExists)('getEventLog', 'endTime', endTime);
|
|
636
|
+
const localVarPath = `/event-log/{tenantId}`
|
|
637
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
|
|
638
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
639
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
640
|
+
let baseOptions;
|
|
641
|
+
if (configuration) {
|
|
642
|
+
baseOptions = configuration.baseOptions;
|
|
643
|
+
}
|
|
644
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
645
|
+
const localVarHeaderParameter = {};
|
|
646
|
+
const localVarQueryParameter = {};
|
|
647
|
+
if (urlId !== undefined) {
|
|
648
|
+
localVarQueryParameter['urlId'] = urlId;
|
|
649
|
+
}
|
|
650
|
+
if (userIdWS !== undefined) {
|
|
651
|
+
localVarQueryParameter['userIdWS'] = userIdWS;
|
|
652
|
+
}
|
|
653
|
+
if (startTime !== undefined) {
|
|
654
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
655
|
+
}
|
|
656
|
+
if (endTime !== undefined) {
|
|
657
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
658
|
+
}
|
|
659
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
660
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
661
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
662
|
+
return {
|
|
663
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
664
|
+
options: localVarRequestOptions,
|
|
665
|
+
};
|
|
666
|
+
},
|
|
667
|
+
/**
|
|
668
|
+
* req tenantId afterId
|
|
669
|
+
* @param {string} tenantId
|
|
670
|
+
* @param {string} [afterId]
|
|
671
|
+
* @param {number} [limit]
|
|
672
|
+
* @param {Array<string>} [tags]
|
|
673
|
+
* @param {string} [sso]
|
|
674
|
+
* @param {boolean} [isCrawler]
|
|
675
|
+
* @param {boolean} [includeUserInfo]
|
|
676
|
+
* @param {*} [options] Override http request option.
|
|
677
|
+
* @throws {RequiredError}
|
|
678
|
+
*/
|
|
679
|
+
getFeedPostsPublic: async (tenantId, afterId, limit, tags, sso, isCrawler, includeUserInfo, options = {}) => {
|
|
680
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
681
|
+
(0, common_1.assertParamExists)('getFeedPostsPublic', 'tenantId', tenantId);
|
|
682
|
+
const localVarPath = `/feed-posts/{tenantId}`
|
|
683
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
|
|
684
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
685
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
686
|
+
let baseOptions;
|
|
687
|
+
if (configuration) {
|
|
688
|
+
baseOptions = configuration.baseOptions;
|
|
689
|
+
}
|
|
690
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
691
|
+
const localVarHeaderParameter = {};
|
|
692
|
+
const localVarQueryParameter = {};
|
|
693
|
+
if (afterId !== undefined) {
|
|
694
|
+
localVarQueryParameter['afterId'] = afterId;
|
|
695
|
+
}
|
|
696
|
+
if (limit !== undefined) {
|
|
697
|
+
localVarQueryParameter['limit'] = limit;
|
|
698
|
+
}
|
|
699
|
+
if (tags) {
|
|
700
|
+
localVarQueryParameter['tags'] = tags;
|
|
701
|
+
}
|
|
702
|
+
if (sso !== undefined) {
|
|
703
|
+
localVarQueryParameter['sso'] = sso;
|
|
704
|
+
}
|
|
705
|
+
if (isCrawler !== undefined) {
|
|
706
|
+
localVarQueryParameter['isCrawler'] = isCrawler;
|
|
707
|
+
}
|
|
708
|
+
if (includeUserInfo !== undefined) {
|
|
709
|
+
localVarQueryParameter['includeUserInfo'] = includeUserInfo;
|
|
710
|
+
}
|
|
711
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
712
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
713
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
714
|
+
return {
|
|
715
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
716
|
+
options: localVarRequestOptions,
|
|
717
|
+
};
|
|
718
|
+
},
|
|
719
|
+
/**
|
|
720
|
+
*
|
|
721
|
+
* @param {string} tenantId
|
|
722
|
+
* @param {Array<string>} postIds
|
|
723
|
+
* @param {string} [sso]
|
|
724
|
+
* @param {*} [options] Override http request option.
|
|
725
|
+
* @throws {RequiredError}
|
|
726
|
+
*/
|
|
727
|
+
getFeedPostsStats: async (tenantId, postIds, sso, options = {}) => {
|
|
728
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
729
|
+
(0, common_1.assertParamExists)('getFeedPostsStats', 'tenantId', tenantId);
|
|
730
|
+
// verify required parameter 'postIds' is not null or undefined
|
|
731
|
+
(0, common_1.assertParamExists)('getFeedPostsStats', 'postIds', postIds);
|
|
732
|
+
const localVarPath = `/feed-posts/{tenantId}/stats`
|
|
733
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
|
|
734
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
735
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
736
|
+
let baseOptions;
|
|
737
|
+
if (configuration) {
|
|
738
|
+
baseOptions = configuration.baseOptions;
|
|
739
|
+
}
|
|
740
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
741
|
+
const localVarHeaderParameter = {};
|
|
742
|
+
const localVarQueryParameter = {};
|
|
743
|
+
if (postIds) {
|
|
744
|
+
localVarQueryParameter['postIds'] = postIds;
|
|
745
|
+
}
|
|
746
|
+
if (sso !== undefined) {
|
|
747
|
+
localVarQueryParameter['sso'] = sso;
|
|
748
|
+
}
|
|
749
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
750
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
751
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
752
|
+
return {
|
|
753
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
754
|
+
options: localVarRequestOptions,
|
|
755
|
+
};
|
|
756
|
+
},
|
|
757
|
+
/**
|
|
758
|
+
* req tenantId urlId userIdWS
|
|
759
|
+
* @param {string} tenantId
|
|
760
|
+
* @param {string} urlId
|
|
761
|
+
* @param {string} userIdWS
|
|
762
|
+
* @param {number} startTime
|
|
763
|
+
* @param {number} endTime
|
|
764
|
+
* @param {*} [options] Override http request option.
|
|
765
|
+
* @throws {RequiredError}
|
|
766
|
+
*/
|
|
767
|
+
getGlobalEventLog: async (tenantId, urlId, userIdWS, startTime, endTime, options = {}) => {
|
|
768
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
769
|
+
(0, common_1.assertParamExists)('getGlobalEventLog', 'tenantId', tenantId);
|
|
770
|
+
// verify required parameter 'urlId' is not null or undefined
|
|
771
|
+
(0, common_1.assertParamExists)('getGlobalEventLog', 'urlId', urlId);
|
|
772
|
+
// verify required parameter 'userIdWS' is not null or undefined
|
|
773
|
+
(0, common_1.assertParamExists)('getGlobalEventLog', 'userIdWS', userIdWS);
|
|
774
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
775
|
+
(0, common_1.assertParamExists)('getGlobalEventLog', 'startTime', startTime);
|
|
776
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
777
|
+
(0, common_1.assertParamExists)('getGlobalEventLog', 'endTime', endTime);
|
|
778
|
+
const localVarPath = `/event-log/global/{tenantId}`
|
|
779
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
|
|
780
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
781
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
782
|
+
let baseOptions;
|
|
783
|
+
if (configuration) {
|
|
784
|
+
baseOptions = configuration.baseOptions;
|
|
785
|
+
}
|
|
786
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
787
|
+
const localVarHeaderParameter = {};
|
|
788
|
+
const localVarQueryParameter = {};
|
|
789
|
+
if (urlId !== undefined) {
|
|
790
|
+
localVarQueryParameter['urlId'] = urlId;
|
|
791
|
+
}
|
|
792
|
+
if (userIdWS !== undefined) {
|
|
793
|
+
localVarQueryParameter['userIdWS'] = userIdWS;
|
|
794
|
+
}
|
|
795
|
+
if (startTime !== undefined) {
|
|
796
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
797
|
+
}
|
|
798
|
+
if (endTime !== undefined) {
|
|
799
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
800
|
+
}
|
|
801
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
802
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
803
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
804
|
+
return {
|
|
805
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
806
|
+
options: localVarRequestOptions,
|
|
807
|
+
};
|
|
808
|
+
},
|
|
809
|
+
/**
|
|
810
|
+
*
|
|
811
|
+
* @param {string} tenantId
|
|
812
|
+
* @param {string} [sso]
|
|
813
|
+
* @param {*} [options] Override http request option.
|
|
814
|
+
* @throws {RequiredError}
|
|
815
|
+
*/
|
|
816
|
+
getUserNotificationCount: async (tenantId, sso, options = {}) => {
|
|
817
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
818
|
+
(0, common_1.assertParamExists)('getUserNotificationCount', 'tenantId', tenantId);
|
|
819
|
+
const localVarPath = `/user-notifications/get-count`;
|
|
820
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
821
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
822
|
+
let baseOptions;
|
|
823
|
+
if (configuration) {
|
|
824
|
+
baseOptions = configuration.baseOptions;
|
|
825
|
+
}
|
|
826
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
827
|
+
const localVarHeaderParameter = {};
|
|
828
|
+
const localVarQueryParameter = {};
|
|
829
|
+
if (tenantId !== undefined) {
|
|
830
|
+
localVarQueryParameter['tenantId'] = tenantId;
|
|
831
|
+
}
|
|
832
|
+
if (sso !== undefined) {
|
|
833
|
+
localVarQueryParameter['sso'] = sso;
|
|
834
|
+
}
|
|
835
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
836
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
837
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
838
|
+
return {
|
|
839
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
840
|
+
options: localVarRequestOptions,
|
|
841
|
+
};
|
|
842
|
+
},
|
|
843
|
+
/**
|
|
844
|
+
*
|
|
845
|
+
* @param {string} tenantId
|
|
846
|
+
* @param {number} [pageSize] Defaults to 20.
|
|
847
|
+
* @param {string} [afterId]
|
|
848
|
+
* @param {boolean} [includeContext]
|
|
849
|
+
* @param {number} [afterCreatedAt]
|
|
850
|
+
* @param {boolean} [unreadOnly]
|
|
851
|
+
* @param {boolean} [dmOnly]
|
|
852
|
+
* @param {boolean} [noDm]
|
|
853
|
+
* @param {boolean} [includeTranslations]
|
|
854
|
+
* @param {string} [sso]
|
|
855
|
+
* @param {*} [options] Override http request option.
|
|
856
|
+
* @throws {RequiredError}
|
|
857
|
+
*/
|
|
858
|
+
getUserNotifications: async (tenantId, pageSize, afterId, includeContext, afterCreatedAt, unreadOnly, dmOnly, noDm, includeTranslations, sso, options = {}) => {
|
|
859
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
860
|
+
(0, common_1.assertParamExists)('getUserNotifications', 'tenantId', tenantId);
|
|
861
|
+
const localVarPath = `/user-notifications`;
|
|
862
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
863
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
864
|
+
let baseOptions;
|
|
865
|
+
if (configuration) {
|
|
866
|
+
baseOptions = configuration.baseOptions;
|
|
867
|
+
}
|
|
868
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
869
|
+
const localVarHeaderParameter = {};
|
|
870
|
+
const localVarQueryParameter = {};
|
|
871
|
+
if (tenantId !== undefined) {
|
|
872
|
+
localVarQueryParameter['tenantId'] = tenantId;
|
|
873
|
+
}
|
|
874
|
+
if (pageSize !== undefined) {
|
|
875
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
876
|
+
}
|
|
877
|
+
if (afterId !== undefined) {
|
|
878
|
+
localVarQueryParameter['afterId'] = afterId;
|
|
879
|
+
}
|
|
880
|
+
if (includeContext !== undefined) {
|
|
881
|
+
localVarQueryParameter['includeContext'] = includeContext;
|
|
882
|
+
}
|
|
883
|
+
if (afterCreatedAt !== undefined) {
|
|
884
|
+
localVarQueryParameter['afterCreatedAt'] = afterCreatedAt;
|
|
885
|
+
}
|
|
886
|
+
if (unreadOnly !== undefined) {
|
|
887
|
+
localVarQueryParameter['unreadOnly'] = unreadOnly;
|
|
888
|
+
}
|
|
889
|
+
if (dmOnly !== undefined) {
|
|
890
|
+
localVarQueryParameter['dmOnly'] = dmOnly;
|
|
891
|
+
}
|
|
892
|
+
if (noDm !== undefined) {
|
|
893
|
+
localVarQueryParameter['noDm'] = noDm;
|
|
894
|
+
}
|
|
895
|
+
if (includeTranslations !== undefined) {
|
|
896
|
+
localVarQueryParameter['includeTranslations'] = includeTranslations;
|
|
897
|
+
}
|
|
898
|
+
if (sso !== undefined) {
|
|
899
|
+
localVarQueryParameter['sso'] = sso;
|
|
900
|
+
}
|
|
901
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
902
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
903
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
904
|
+
return {
|
|
905
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
906
|
+
options: localVarRequestOptions,
|
|
907
|
+
};
|
|
908
|
+
},
|
|
909
|
+
/**
|
|
910
|
+
*
|
|
911
|
+
* @param {string} tenantId
|
|
912
|
+
* @param {string} urlIdWS
|
|
913
|
+
* @param {string} userIds
|
|
914
|
+
* @param {*} [options] Override http request option.
|
|
915
|
+
* @throws {RequiredError}
|
|
916
|
+
*/
|
|
917
|
+
getUserPresenceStatuses: async (tenantId, urlIdWS, userIds, options = {}) => {
|
|
918
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
919
|
+
(0, common_1.assertParamExists)('getUserPresenceStatuses', 'tenantId', tenantId);
|
|
920
|
+
// verify required parameter 'urlIdWS' is not null or undefined
|
|
921
|
+
(0, common_1.assertParamExists)('getUserPresenceStatuses', 'urlIdWS', urlIdWS);
|
|
922
|
+
// verify required parameter 'userIds' is not null or undefined
|
|
923
|
+
(0, common_1.assertParamExists)('getUserPresenceStatuses', 'userIds', userIds);
|
|
924
|
+
const localVarPath = `/user-presence-status`;
|
|
925
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
926
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
927
|
+
let baseOptions;
|
|
928
|
+
if (configuration) {
|
|
929
|
+
baseOptions = configuration.baseOptions;
|
|
930
|
+
}
|
|
931
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
932
|
+
const localVarHeaderParameter = {};
|
|
933
|
+
const localVarQueryParameter = {};
|
|
934
|
+
if (tenantId !== undefined) {
|
|
935
|
+
localVarQueryParameter['tenantId'] = tenantId;
|
|
936
|
+
}
|
|
937
|
+
if (urlIdWS !== undefined) {
|
|
938
|
+
localVarQueryParameter['urlIdWS'] = urlIdWS;
|
|
939
|
+
}
|
|
940
|
+
if (userIds !== undefined) {
|
|
941
|
+
localVarQueryParameter['userIds'] = userIds;
|
|
942
|
+
}
|
|
943
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
944
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
945
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
946
|
+
return {
|
|
947
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
948
|
+
options: localVarRequestOptions,
|
|
949
|
+
};
|
|
950
|
+
},
|
|
951
|
+
/**
|
|
952
|
+
*
|
|
953
|
+
* @param {string} tenantId
|
|
954
|
+
* @param {Array<string>} [postIds]
|
|
955
|
+
* @param {string} [sso]
|
|
956
|
+
* @param {*} [options] Override http request option.
|
|
957
|
+
* @throws {RequiredError}
|
|
958
|
+
*/
|
|
959
|
+
getUserReactsPublic: async (tenantId, postIds, sso, options = {}) => {
|
|
960
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
961
|
+
(0, common_1.assertParamExists)('getUserReactsPublic', 'tenantId', tenantId);
|
|
962
|
+
const localVarPath = `/feed-posts/{tenantId}/user-reacts`
|
|
963
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
|
|
964
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
965
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
966
|
+
let baseOptions;
|
|
967
|
+
if (configuration) {
|
|
968
|
+
baseOptions = configuration.baseOptions;
|
|
969
|
+
}
|
|
970
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
971
|
+
const localVarHeaderParameter = {};
|
|
972
|
+
const localVarQueryParameter = {};
|
|
973
|
+
if (postIds) {
|
|
974
|
+
localVarQueryParameter['postIds'] = postIds;
|
|
975
|
+
}
|
|
976
|
+
if (sso !== undefined) {
|
|
977
|
+
localVarQueryParameter['sso'] = sso;
|
|
978
|
+
}
|
|
979
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
980
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
981
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
982
|
+
return {
|
|
983
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
984
|
+
options: localVarRequestOptions,
|
|
985
|
+
};
|
|
986
|
+
},
|
|
987
|
+
/**
|
|
988
|
+
*
|
|
989
|
+
* @param {string} tenantId
|
|
990
|
+
* @param {string} commentId
|
|
991
|
+
* @param {string} broadcastId
|
|
992
|
+
* @param {string} [sso]
|
|
993
|
+
* @param {*} [options] Override http request option.
|
|
994
|
+
* @throws {RequiredError}
|
|
995
|
+
*/
|
|
996
|
+
lockComment: async (tenantId, commentId, broadcastId, sso, options = {}) => {
|
|
997
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
998
|
+
(0, common_1.assertParamExists)('lockComment', 'tenantId', tenantId);
|
|
999
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
1000
|
+
(0, common_1.assertParamExists)('lockComment', 'commentId', commentId);
|
|
1001
|
+
// verify required parameter 'broadcastId' is not null or undefined
|
|
1002
|
+
(0, common_1.assertParamExists)('lockComment', 'broadcastId', broadcastId);
|
|
1003
|
+
const localVarPath = `/comments/{tenantId}/{commentId}/lock`
|
|
1004
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
|
|
1005
|
+
.replace(`{${"commentId"}}`, encodeURIComponent(String(commentId)));
|
|
1006
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1007
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1008
|
+
let baseOptions;
|
|
1009
|
+
if (configuration) {
|
|
1010
|
+
baseOptions = configuration.baseOptions;
|
|
1011
|
+
}
|
|
1012
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1013
|
+
const localVarHeaderParameter = {};
|
|
1014
|
+
const localVarQueryParameter = {};
|
|
1015
|
+
if (broadcastId !== undefined) {
|
|
1016
|
+
localVarQueryParameter['broadcastId'] = broadcastId;
|
|
1017
|
+
}
|
|
1018
|
+
if (sso !== undefined) {
|
|
1019
|
+
localVarQueryParameter['sso'] = sso;
|
|
1020
|
+
}
|
|
1021
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1022
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1023
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1024
|
+
return {
|
|
1025
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1026
|
+
options: localVarRequestOptions,
|
|
1027
|
+
};
|
|
1028
|
+
},
|
|
1029
|
+
/**
|
|
1030
|
+
*
|
|
1031
|
+
* @param {string} tenantId
|
|
1032
|
+
* @param {string} commentId
|
|
1033
|
+
* @param {string} broadcastId
|
|
1034
|
+
* @param {string} [sso]
|
|
1035
|
+
* @param {*} [options] Override http request option.
|
|
1036
|
+
* @throws {RequiredError}
|
|
1037
|
+
*/
|
|
1038
|
+
pinComment: async (tenantId, commentId, broadcastId, sso, options = {}) => {
|
|
1039
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1040
|
+
(0, common_1.assertParamExists)('pinComment', 'tenantId', tenantId);
|
|
1041
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
1042
|
+
(0, common_1.assertParamExists)('pinComment', 'commentId', commentId);
|
|
1043
|
+
// verify required parameter 'broadcastId' is not null or undefined
|
|
1044
|
+
(0, common_1.assertParamExists)('pinComment', 'broadcastId', broadcastId);
|
|
1045
|
+
const localVarPath = `/comments/{tenantId}/{commentId}/pin`
|
|
1046
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
|
|
1047
|
+
.replace(`{${"commentId"}}`, encodeURIComponent(String(commentId)));
|
|
1048
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1049
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1050
|
+
let baseOptions;
|
|
1051
|
+
if (configuration) {
|
|
1052
|
+
baseOptions = configuration.baseOptions;
|
|
1053
|
+
}
|
|
1054
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1055
|
+
const localVarHeaderParameter = {};
|
|
1056
|
+
const localVarQueryParameter = {};
|
|
1057
|
+
if (broadcastId !== undefined) {
|
|
1058
|
+
localVarQueryParameter['broadcastId'] = broadcastId;
|
|
1059
|
+
}
|
|
1060
|
+
if (sso !== undefined) {
|
|
1061
|
+
localVarQueryParameter['sso'] = sso;
|
|
1062
|
+
}
|
|
1063
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1064
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1065
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1066
|
+
return {
|
|
1067
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1068
|
+
options: localVarRequestOptions,
|
|
1069
|
+
};
|
|
1070
|
+
},
|
|
1071
|
+
/**
|
|
1072
|
+
*
|
|
1073
|
+
* @param {string} tenantId
|
|
1074
|
+
* @param {string} postId
|
|
1075
|
+
* @param {ReactBodyParams} reactBodyParams
|
|
1076
|
+
* @param {boolean} [isUndo]
|
|
1077
|
+
* @param {string} [broadcastId]
|
|
1078
|
+
* @param {string} [sso]
|
|
1079
|
+
* @param {*} [options] Override http request option.
|
|
1080
|
+
* @throws {RequiredError}
|
|
1081
|
+
*/
|
|
1082
|
+
reactFeedPostPublic: async (tenantId, postId, reactBodyParams, isUndo, broadcastId, sso, options = {}) => {
|
|
1083
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1084
|
+
(0, common_1.assertParamExists)('reactFeedPostPublic', 'tenantId', tenantId);
|
|
1085
|
+
// verify required parameter 'postId' is not null or undefined
|
|
1086
|
+
(0, common_1.assertParamExists)('reactFeedPostPublic', 'postId', postId);
|
|
1087
|
+
// verify required parameter 'reactBodyParams' is not null or undefined
|
|
1088
|
+
(0, common_1.assertParamExists)('reactFeedPostPublic', 'reactBodyParams', reactBodyParams);
|
|
1089
|
+
const localVarPath = `/feed-posts/{tenantId}/react/{postId}`
|
|
1090
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
|
|
1091
|
+
.replace(`{${"postId"}}`, encodeURIComponent(String(postId)));
|
|
1092
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1093
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1094
|
+
let baseOptions;
|
|
1095
|
+
if (configuration) {
|
|
1096
|
+
baseOptions = configuration.baseOptions;
|
|
1097
|
+
}
|
|
1098
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1099
|
+
const localVarHeaderParameter = {};
|
|
1100
|
+
const localVarQueryParameter = {};
|
|
1101
|
+
if (isUndo !== undefined) {
|
|
1102
|
+
localVarQueryParameter['isUndo'] = isUndo;
|
|
1103
|
+
}
|
|
1104
|
+
if (broadcastId !== undefined) {
|
|
1105
|
+
localVarQueryParameter['broadcastId'] = broadcastId;
|
|
1106
|
+
}
|
|
1107
|
+
if (sso !== undefined) {
|
|
1108
|
+
localVarQueryParameter['sso'] = sso;
|
|
1109
|
+
}
|
|
1110
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1111
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1112
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1113
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1114
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reactBodyParams, localVarRequestOptions, configuration);
|
|
1115
|
+
return {
|
|
1116
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1117
|
+
options: localVarRequestOptions,
|
|
1118
|
+
};
|
|
1119
|
+
},
|
|
1120
|
+
/**
|
|
1121
|
+
*
|
|
1122
|
+
* @param {string} tenantId
|
|
1123
|
+
* @param {string} [sso]
|
|
1124
|
+
* @param {*} [options] Override http request option.
|
|
1125
|
+
* @throws {RequiredError}
|
|
1126
|
+
*/
|
|
1127
|
+
resetUserNotificationCount: async (tenantId, sso, options = {}) => {
|
|
1128
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1129
|
+
(0, common_1.assertParamExists)('resetUserNotificationCount', 'tenantId', tenantId);
|
|
1130
|
+
const localVarPath = `/user-notifications/reset-count`;
|
|
1131
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1132
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1133
|
+
let baseOptions;
|
|
1134
|
+
if (configuration) {
|
|
1135
|
+
baseOptions = configuration.baseOptions;
|
|
1136
|
+
}
|
|
1137
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1138
|
+
const localVarHeaderParameter = {};
|
|
1139
|
+
const localVarQueryParameter = {};
|
|
1140
|
+
if (tenantId !== undefined) {
|
|
1141
|
+
localVarQueryParameter['tenantId'] = tenantId;
|
|
1142
|
+
}
|
|
1143
|
+
if (sso !== undefined) {
|
|
1144
|
+
localVarQueryParameter['sso'] = sso;
|
|
1145
|
+
}
|
|
1146
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1147
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1148
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1149
|
+
return {
|
|
1150
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1151
|
+
options: localVarRequestOptions,
|
|
1152
|
+
};
|
|
1153
|
+
},
|
|
1154
|
+
/**
|
|
1155
|
+
*
|
|
1156
|
+
* @param {string} tenantId
|
|
1157
|
+
* @param {string} [afterId]
|
|
1158
|
+
* @param {number} [afterCreatedAt]
|
|
1159
|
+
* @param {boolean} [unreadOnly]
|
|
1160
|
+
* @param {boolean} [dmOnly]
|
|
1161
|
+
* @param {boolean} [noDm]
|
|
1162
|
+
* @param {string} [sso]
|
|
1163
|
+
* @param {*} [options] Override http request option.
|
|
1164
|
+
* @throws {RequiredError}
|
|
1165
|
+
*/
|
|
1166
|
+
resetUserNotifications: async (tenantId, afterId, afterCreatedAt, unreadOnly, dmOnly, noDm, sso, options = {}) => {
|
|
1167
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1168
|
+
(0, common_1.assertParamExists)('resetUserNotifications', 'tenantId', tenantId);
|
|
1169
|
+
const localVarPath = `/user-notifications/reset`;
|
|
1170
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1171
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1172
|
+
let baseOptions;
|
|
1173
|
+
if (configuration) {
|
|
1174
|
+
baseOptions = configuration.baseOptions;
|
|
1175
|
+
}
|
|
1176
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1177
|
+
const localVarHeaderParameter = {};
|
|
1178
|
+
const localVarQueryParameter = {};
|
|
1179
|
+
if (tenantId !== undefined) {
|
|
1180
|
+
localVarQueryParameter['tenantId'] = tenantId;
|
|
1181
|
+
}
|
|
1182
|
+
if (afterId !== undefined) {
|
|
1183
|
+
localVarQueryParameter['afterId'] = afterId;
|
|
1184
|
+
}
|
|
1185
|
+
if (afterCreatedAt !== undefined) {
|
|
1186
|
+
localVarQueryParameter['afterCreatedAt'] = afterCreatedAt;
|
|
1187
|
+
}
|
|
1188
|
+
if (unreadOnly !== undefined) {
|
|
1189
|
+
localVarQueryParameter['unreadOnly'] = unreadOnly;
|
|
1190
|
+
}
|
|
1191
|
+
if (dmOnly !== undefined) {
|
|
1192
|
+
localVarQueryParameter['dmOnly'] = dmOnly;
|
|
1193
|
+
}
|
|
1194
|
+
if (noDm !== undefined) {
|
|
1195
|
+
localVarQueryParameter['noDm'] = noDm;
|
|
1196
|
+
}
|
|
1197
|
+
if (sso !== undefined) {
|
|
1198
|
+
localVarQueryParameter['sso'] = sso;
|
|
1199
|
+
}
|
|
1200
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1202
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1203
|
+
return {
|
|
1204
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1205
|
+
options: localVarRequestOptions,
|
|
1206
|
+
};
|
|
1207
|
+
},
|
|
1208
|
+
/**
|
|
1209
|
+
*
|
|
1210
|
+
* @param {string} tenantId
|
|
1211
|
+
* @param {string} urlId
|
|
1212
|
+
* @param {string} usernameStartsWith
|
|
1213
|
+
* @param {Array<string>} [mentionGroupIds]
|
|
1214
|
+
* @param {string} [sso]
|
|
1215
|
+
* @param {*} [options] Override http request option.
|
|
1216
|
+
* @throws {RequiredError}
|
|
1217
|
+
*/
|
|
1218
|
+
searchUsers: async (tenantId, urlId, usernameStartsWith, mentionGroupIds, sso, options = {}) => {
|
|
1219
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1220
|
+
(0, common_1.assertParamExists)('searchUsers', 'tenantId', tenantId);
|
|
1221
|
+
// verify required parameter 'urlId' is not null or undefined
|
|
1222
|
+
(0, common_1.assertParamExists)('searchUsers', 'urlId', urlId);
|
|
1223
|
+
// verify required parameter 'usernameStartsWith' is not null or undefined
|
|
1224
|
+
(0, common_1.assertParamExists)('searchUsers', 'usernameStartsWith', usernameStartsWith);
|
|
1225
|
+
const localVarPath = `/user-search/{tenantId}`
|
|
1226
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
|
|
1227
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1228
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1229
|
+
let baseOptions;
|
|
1230
|
+
if (configuration) {
|
|
1231
|
+
baseOptions = configuration.baseOptions;
|
|
1232
|
+
}
|
|
1233
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1234
|
+
const localVarHeaderParameter = {};
|
|
1235
|
+
const localVarQueryParameter = {};
|
|
1236
|
+
if (urlId !== undefined) {
|
|
1237
|
+
localVarQueryParameter['urlId'] = urlId;
|
|
1238
|
+
}
|
|
1239
|
+
if (usernameStartsWith !== undefined) {
|
|
1240
|
+
localVarQueryParameter['usernameStartsWith'] = usernameStartsWith;
|
|
1241
|
+
}
|
|
1242
|
+
if (mentionGroupIds) {
|
|
1243
|
+
localVarQueryParameter['mentionGroupIds'] = mentionGroupIds;
|
|
1244
|
+
}
|
|
1245
|
+
if (sso !== undefined) {
|
|
1246
|
+
localVarQueryParameter['sso'] = sso;
|
|
1247
|
+
}
|
|
1248
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1249
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1250
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1251
|
+
return {
|
|
1252
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1253
|
+
options: localVarRequestOptions,
|
|
1254
|
+
};
|
|
1255
|
+
},
|
|
1256
|
+
/**
|
|
1257
|
+
*
|
|
1258
|
+
* @param {string} tenantId
|
|
1259
|
+
* @param {string} commentId
|
|
1260
|
+
* @param {string} broadcastId
|
|
1261
|
+
* @param {CommentTextUpdateRequest} commentTextUpdateRequest
|
|
1262
|
+
* @param {string} [editKey]
|
|
1263
|
+
* @param {string} [sso]
|
|
1264
|
+
* @param {*} [options] Override http request option.
|
|
1265
|
+
* @throws {RequiredError}
|
|
1266
|
+
*/
|
|
1267
|
+
setCommentText: async (tenantId, commentId, broadcastId, commentTextUpdateRequest, editKey, sso, options = {}) => {
|
|
1268
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1269
|
+
(0, common_1.assertParamExists)('setCommentText', 'tenantId', tenantId);
|
|
1270
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
1271
|
+
(0, common_1.assertParamExists)('setCommentText', 'commentId', commentId);
|
|
1272
|
+
// verify required parameter 'broadcastId' is not null or undefined
|
|
1273
|
+
(0, common_1.assertParamExists)('setCommentText', 'broadcastId', broadcastId);
|
|
1274
|
+
// verify required parameter 'commentTextUpdateRequest' is not null or undefined
|
|
1275
|
+
(0, common_1.assertParamExists)('setCommentText', 'commentTextUpdateRequest', commentTextUpdateRequest);
|
|
1276
|
+
const localVarPath = `/comments/{tenantId}/{commentId}/update-text`
|
|
1277
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
|
|
1278
|
+
.replace(`{${"commentId"}}`, encodeURIComponent(String(commentId)));
|
|
1279
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1280
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1281
|
+
let baseOptions;
|
|
1282
|
+
if (configuration) {
|
|
1283
|
+
baseOptions = configuration.baseOptions;
|
|
1284
|
+
}
|
|
1285
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1286
|
+
const localVarHeaderParameter = {};
|
|
1287
|
+
const localVarQueryParameter = {};
|
|
1288
|
+
if (broadcastId !== undefined) {
|
|
1289
|
+
localVarQueryParameter['broadcastId'] = broadcastId;
|
|
1290
|
+
}
|
|
1291
|
+
if (editKey !== undefined) {
|
|
1292
|
+
localVarQueryParameter['editKey'] = editKey;
|
|
1293
|
+
}
|
|
1294
|
+
if (sso !== undefined) {
|
|
1295
|
+
localVarQueryParameter['sso'] = sso;
|
|
1296
|
+
}
|
|
1297
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1298
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1299
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1300
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1301
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(commentTextUpdateRequest, localVarRequestOptions, configuration);
|
|
1302
|
+
return {
|
|
1303
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1304
|
+
options: localVarRequestOptions,
|
|
1305
|
+
};
|
|
1306
|
+
},
|
|
1307
|
+
/**
|
|
1308
|
+
*
|
|
1309
|
+
* @param {string} tenantId
|
|
1310
|
+
* @param {string} commentId
|
|
1311
|
+
* @param {PublicBlockFromCommentParams} publicBlockFromCommentParams
|
|
1312
|
+
* @param {string} [sso]
|
|
1313
|
+
* @param {*} [options] Override http request option.
|
|
1314
|
+
* @throws {RequiredError}
|
|
1315
|
+
*/
|
|
1316
|
+
unBlockCommentPublic: async (tenantId, commentId, publicBlockFromCommentParams, sso, options = {}) => {
|
|
1317
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1318
|
+
(0, common_1.assertParamExists)('unBlockCommentPublic', 'tenantId', tenantId);
|
|
1319
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
1320
|
+
(0, common_1.assertParamExists)('unBlockCommentPublic', 'commentId', commentId);
|
|
1321
|
+
// verify required parameter 'publicBlockFromCommentParams' is not null or undefined
|
|
1322
|
+
(0, common_1.assertParamExists)('unBlockCommentPublic', 'publicBlockFromCommentParams', publicBlockFromCommentParams);
|
|
1323
|
+
const localVarPath = `/block-from-comment/{commentId}`
|
|
1324
|
+
.replace(`{${"commentId"}}`, encodeURIComponent(String(commentId)));
|
|
1325
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1326
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1327
|
+
let baseOptions;
|
|
1328
|
+
if (configuration) {
|
|
1329
|
+
baseOptions = configuration.baseOptions;
|
|
1330
|
+
}
|
|
1331
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
1332
|
+
const localVarHeaderParameter = {};
|
|
1333
|
+
const localVarQueryParameter = {};
|
|
1334
|
+
if (tenantId !== undefined) {
|
|
1335
|
+
localVarQueryParameter['tenantId'] = tenantId;
|
|
1336
|
+
}
|
|
1337
|
+
if (sso !== undefined) {
|
|
1338
|
+
localVarQueryParameter['sso'] = sso;
|
|
1339
|
+
}
|
|
1340
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1341
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1342
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1343
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1344
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(publicBlockFromCommentParams, localVarRequestOptions, configuration);
|
|
1345
|
+
return {
|
|
1346
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1347
|
+
options: localVarRequestOptions,
|
|
1348
|
+
};
|
|
1349
|
+
},
|
|
1350
|
+
/**
|
|
1351
|
+
*
|
|
1352
|
+
* @param {string} tenantId
|
|
1353
|
+
* @param {string} commentId
|
|
1354
|
+
* @param {string} broadcastId
|
|
1355
|
+
* @param {string} [sso]
|
|
1356
|
+
* @param {*} [options] Override http request option.
|
|
1357
|
+
* @throws {RequiredError}
|
|
1358
|
+
*/
|
|
1359
|
+
unLockComment: async (tenantId, commentId, broadcastId, sso, options = {}) => {
|
|
1360
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1361
|
+
(0, common_1.assertParamExists)('unLockComment', 'tenantId', tenantId);
|
|
1362
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
1363
|
+
(0, common_1.assertParamExists)('unLockComment', 'commentId', commentId);
|
|
1364
|
+
// verify required parameter 'broadcastId' is not null or undefined
|
|
1365
|
+
(0, common_1.assertParamExists)('unLockComment', 'broadcastId', broadcastId);
|
|
1366
|
+
const localVarPath = `/comments/{tenantId}/{commentId}/unlock`
|
|
1367
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
|
|
1368
|
+
.replace(`{${"commentId"}}`, encodeURIComponent(String(commentId)));
|
|
1369
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1370
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1371
|
+
let baseOptions;
|
|
1372
|
+
if (configuration) {
|
|
1373
|
+
baseOptions = configuration.baseOptions;
|
|
1374
|
+
}
|
|
1375
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1376
|
+
const localVarHeaderParameter = {};
|
|
1377
|
+
const localVarQueryParameter = {};
|
|
1378
|
+
if (broadcastId !== undefined) {
|
|
1379
|
+
localVarQueryParameter['broadcastId'] = broadcastId;
|
|
1380
|
+
}
|
|
1381
|
+
if (sso !== undefined) {
|
|
1382
|
+
localVarQueryParameter['sso'] = sso;
|
|
1383
|
+
}
|
|
1384
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1385
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1386
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1387
|
+
return {
|
|
1388
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1389
|
+
options: localVarRequestOptions,
|
|
1390
|
+
};
|
|
1391
|
+
},
|
|
1392
|
+
/**
|
|
1393
|
+
*
|
|
1394
|
+
* @param {string} tenantId
|
|
1395
|
+
* @param {string} commentId
|
|
1396
|
+
* @param {string} broadcastId
|
|
1397
|
+
* @param {string} [sso]
|
|
1398
|
+
* @param {*} [options] Override http request option.
|
|
1399
|
+
* @throws {RequiredError}
|
|
1400
|
+
*/
|
|
1401
|
+
unPinComment: async (tenantId, commentId, broadcastId, sso, options = {}) => {
|
|
1402
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1403
|
+
(0, common_1.assertParamExists)('unPinComment', 'tenantId', tenantId);
|
|
1404
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
1405
|
+
(0, common_1.assertParamExists)('unPinComment', 'commentId', commentId);
|
|
1406
|
+
// verify required parameter 'broadcastId' is not null or undefined
|
|
1407
|
+
(0, common_1.assertParamExists)('unPinComment', 'broadcastId', broadcastId);
|
|
1408
|
+
const localVarPath = `/comments/{tenantId}/{commentId}/unpin`
|
|
1409
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
|
|
1410
|
+
.replace(`{${"commentId"}}`, encodeURIComponent(String(commentId)));
|
|
1411
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1412
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1413
|
+
let baseOptions;
|
|
1414
|
+
if (configuration) {
|
|
1415
|
+
baseOptions = configuration.baseOptions;
|
|
1416
|
+
}
|
|
1417
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1418
|
+
const localVarHeaderParameter = {};
|
|
1419
|
+
const localVarQueryParameter = {};
|
|
1420
|
+
if (broadcastId !== undefined) {
|
|
1421
|
+
localVarQueryParameter['broadcastId'] = broadcastId;
|
|
1422
|
+
}
|
|
1423
|
+
if (sso !== undefined) {
|
|
1424
|
+
localVarQueryParameter['sso'] = sso;
|
|
1425
|
+
}
|
|
1426
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1427
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1428
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1429
|
+
return {
|
|
1430
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1431
|
+
options: localVarRequestOptions,
|
|
1432
|
+
};
|
|
1433
|
+
},
|
|
1434
|
+
/**
|
|
1435
|
+
*
|
|
1436
|
+
* @param {string} tenantId
|
|
1437
|
+
* @param {string} postId
|
|
1438
|
+
* @param {UpdateFeedPostParams} updateFeedPostParams
|
|
1439
|
+
* @param {string} [broadcastId]
|
|
1440
|
+
* @param {string} [sso]
|
|
1441
|
+
* @param {*} [options] Override http request option.
|
|
1442
|
+
* @throws {RequiredError}
|
|
1443
|
+
*/
|
|
1444
|
+
updateFeedPostPublic: async (tenantId, postId, updateFeedPostParams, broadcastId, sso, options = {}) => {
|
|
1445
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1446
|
+
(0, common_1.assertParamExists)('updateFeedPostPublic', 'tenantId', tenantId);
|
|
1447
|
+
// verify required parameter 'postId' is not null or undefined
|
|
1448
|
+
(0, common_1.assertParamExists)('updateFeedPostPublic', 'postId', postId);
|
|
1449
|
+
// verify required parameter 'updateFeedPostParams' is not null or undefined
|
|
1450
|
+
(0, common_1.assertParamExists)('updateFeedPostPublic', 'updateFeedPostParams', updateFeedPostParams);
|
|
1451
|
+
const localVarPath = `/feed-posts/{tenantId}/{postId}`
|
|
1452
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
|
|
1453
|
+
.replace(`{${"postId"}}`, encodeURIComponent(String(postId)));
|
|
1454
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1455
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1456
|
+
let baseOptions;
|
|
1457
|
+
if (configuration) {
|
|
1458
|
+
baseOptions = configuration.baseOptions;
|
|
1459
|
+
}
|
|
1460
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
1461
|
+
const localVarHeaderParameter = {};
|
|
1462
|
+
const localVarQueryParameter = {};
|
|
1463
|
+
if (broadcastId !== undefined) {
|
|
1464
|
+
localVarQueryParameter['broadcastId'] = broadcastId;
|
|
1465
|
+
}
|
|
1466
|
+
if (sso !== undefined) {
|
|
1467
|
+
localVarQueryParameter['sso'] = sso;
|
|
1468
|
+
}
|
|
1469
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1470
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1471
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1472
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1473
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateFeedPostParams, localVarRequestOptions, configuration);
|
|
1474
|
+
return {
|
|
1475
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1476
|
+
options: localVarRequestOptions,
|
|
1477
|
+
};
|
|
1478
|
+
},
|
|
1479
|
+
/**
|
|
1480
|
+
* Enable or disable notifications for a specific comment.
|
|
1481
|
+
* @param {string} tenantId
|
|
1482
|
+
* @param {string} notificationId
|
|
1483
|
+
* @param {UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum} optedInOrOut
|
|
1484
|
+
* @param {string} commentId
|
|
1485
|
+
* @param {string} [sso]
|
|
1486
|
+
* @param {*} [options] Override http request option.
|
|
1487
|
+
* @throws {RequiredError}
|
|
1488
|
+
*/
|
|
1489
|
+
updateUserNotificationCommentSubscriptionStatus: async (tenantId, notificationId, optedInOrOut, commentId, sso, options = {}) => {
|
|
1490
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1491
|
+
(0, common_1.assertParamExists)('updateUserNotificationCommentSubscriptionStatus', 'tenantId', tenantId);
|
|
1492
|
+
// verify required parameter 'notificationId' is not null or undefined
|
|
1493
|
+
(0, common_1.assertParamExists)('updateUserNotificationCommentSubscriptionStatus', 'notificationId', notificationId);
|
|
1494
|
+
// verify required parameter 'optedInOrOut' is not null or undefined
|
|
1495
|
+
(0, common_1.assertParamExists)('updateUserNotificationCommentSubscriptionStatus', 'optedInOrOut', optedInOrOut);
|
|
1496
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
1497
|
+
(0, common_1.assertParamExists)('updateUserNotificationCommentSubscriptionStatus', 'commentId', commentId);
|
|
1498
|
+
const localVarPath = `/user-notifications/{notificationId}/mark-opted/{optedInOrOut}`
|
|
1499
|
+
.replace(`{${"notificationId"}}`, encodeURIComponent(String(notificationId)))
|
|
1500
|
+
.replace(`{${"optedInOrOut"}}`, encodeURIComponent(String(optedInOrOut)));
|
|
1501
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1502
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1503
|
+
let baseOptions;
|
|
1504
|
+
if (configuration) {
|
|
1505
|
+
baseOptions = configuration.baseOptions;
|
|
1506
|
+
}
|
|
1507
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1508
|
+
const localVarHeaderParameter = {};
|
|
1509
|
+
const localVarQueryParameter = {};
|
|
1510
|
+
if (tenantId !== undefined) {
|
|
1511
|
+
localVarQueryParameter['tenantId'] = tenantId;
|
|
1512
|
+
}
|
|
1513
|
+
if (commentId !== undefined) {
|
|
1514
|
+
localVarQueryParameter['commentId'] = commentId;
|
|
1515
|
+
}
|
|
1516
|
+
if (sso !== undefined) {
|
|
1517
|
+
localVarQueryParameter['sso'] = sso;
|
|
1518
|
+
}
|
|
1519
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1520
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1521
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1522
|
+
return {
|
|
1523
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1524
|
+
options: localVarRequestOptions,
|
|
1525
|
+
};
|
|
1526
|
+
},
|
|
1527
|
+
/**
|
|
1528
|
+
* Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also
|
|
1529
|
+
* @param {string} tenantId
|
|
1530
|
+
* @param {string} urlId
|
|
1531
|
+
* @param {string} url
|
|
1532
|
+
* @param {string} pageTitle
|
|
1533
|
+
* @param {UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum} subscribedOrUnsubscribed
|
|
1534
|
+
* @param {string} [sso]
|
|
1535
|
+
* @param {*} [options] Override http request option.
|
|
1536
|
+
* @throws {RequiredError}
|
|
1537
|
+
*/
|
|
1538
|
+
updateUserNotificationPageSubscriptionStatus: async (tenantId, urlId, url, pageTitle, subscribedOrUnsubscribed, sso, options = {}) => {
|
|
1539
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1540
|
+
(0, common_1.assertParamExists)('updateUserNotificationPageSubscriptionStatus', 'tenantId', tenantId);
|
|
1541
|
+
// verify required parameter 'urlId' is not null or undefined
|
|
1542
|
+
(0, common_1.assertParamExists)('updateUserNotificationPageSubscriptionStatus', 'urlId', urlId);
|
|
1543
|
+
// verify required parameter 'url' is not null or undefined
|
|
1544
|
+
(0, common_1.assertParamExists)('updateUserNotificationPageSubscriptionStatus', 'url', url);
|
|
1545
|
+
// verify required parameter 'pageTitle' is not null or undefined
|
|
1546
|
+
(0, common_1.assertParamExists)('updateUserNotificationPageSubscriptionStatus', 'pageTitle', pageTitle);
|
|
1547
|
+
// verify required parameter 'subscribedOrUnsubscribed' is not null or undefined
|
|
1548
|
+
(0, common_1.assertParamExists)('updateUserNotificationPageSubscriptionStatus', 'subscribedOrUnsubscribed', subscribedOrUnsubscribed);
|
|
1549
|
+
const localVarPath = `/user-notifications/set-subscription-state/{subscribedOrUnsubscribed}`
|
|
1550
|
+
.replace(`{${"subscribedOrUnsubscribed"}}`, encodeURIComponent(String(subscribedOrUnsubscribed)));
|
|
1551
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1552
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1553
|
+
let baseOptions;
|
|
1554
|
+
if (configuration) {
|
|
1555
|
+
baseOptions = configuration.baseOptions;
|
|
1556
|
+
}
|
|
1557
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1558
|
+
const localVarHeaderParameter = {};
|
|
1559
|
+
const localVarQueryParameter = {};
|
|
1560
|
+
if (tenantId !== undefined) {
|
|
1561
|
+
localVarQueryParameter['tenantId'] = tenantId;
|
|
1562
|
+
}
|
|
1563
|
+
if (urlId !== undefined) {
|
|
1564
|
+
localVarQueryParameter['urlId'] = urlId;
|
|
1565
|
+
}
|
|
1566
|
+
if (url !== undefined) {
|
|
1567
|
+
localVarQueryParameter['url'] = url;
|
|
1568
|
+
}
|
|
1569
|
+
if (pageTitle !== undefined) {
|
|
1570
|
+
localVarQueryParameter['pageTitle'] = pageTitle;
|
|
1571
|
+
}
|
|
1572
|
+
if (sso !== undefined) {
|
|
1573
|
+
localVarQueryParameter['sso'] = sso;
|
|
1574
|
+
}
|
|
1575
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1576
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1577
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1578
|
+
return {
|
|
1579
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1580
|
+
options: localVarRequestOptions,
|
|
1581
|
+
};
|
|
1582
|
+
},
|
|
1583
|
+
/**
|
|
1584
|
+
*
|
|
1585
|
+
* @param {string} tenantId
|
|
1586
|
+
* @param {string} notificationId
|
|
1587
|
+
* @param {UpdateUserNotificationStatusNewStatusEnum} newStatus
|
|
1588
|
+
* @param {string} [sso]
|
|
1589
|
+
* @param {*} [options] Override http request option.
|
|
1590
|
+
* @throws {RequiredError}
|
|
1591
|
+
*/
|
|
1592
|
+
updateUserNotificationStatus: async (tenantId, notificationId, newStatus, sso, options = {}) => {
|
|
1593
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1594
|
+
(0, common_1.assertParamExists)('updateUserNotificationStatus', 'tenantId', tenantId);
|
|
1595
|
+
// verify required parameter 'notificationId' is not null or undefined
|
|
1596
|
+
(0, common_1.assertParamExists)('updateUserNotificationStatus', 'notificationId', notificationId);
|
|
1597
|
+
// verify required parameter 'newStatus' is not null or undefined
|
|
1598
|
+
(0, common_1.assertParamExists)('updateUserNotificationStatus', 'newStatus', newStatus);
|
|
1599
|
+
const localVarPath = `/user-notifications/{notificationId}/mark/{newStatus}`
|
|
1600
|
+
.replace(`{${"notificationId"}}`, encodeURIComponent(String(notificationId)))
|
|
1601
|
+
.replace(`{${"newStatus"}}`, encodeURIComponent(String(newStatus)));
|
|
1602
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1603
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1604
|
+
let baseOptions;
|
|
1605
|
+
if (configuration) {
|
|
1606
|
+
baseOptions = configuration.baseOptions;
|
|
1607
|
+
}
|
|
1608
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1609
|
+
const localVarHeaderParameter = {};
|
|
1610
|
+
const localVarQueryParameter = {};
|
|
1611
|
+
if (tenantId !== undefined) {
|
|
1612
|
+
localVarQueryParameter['tenantId'] = tenantId;
|
|
1613
|
+
}
|
|
1614
|
+
if (sso !== undefined) {
|
|
1615
|
+
localVarQueryParameter['sso'] = sso;
|
|
1616
|
+
}
|
|
1617
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1618
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1619
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1620
|
+
return {
|
|
1621
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1622
|
+
options: localVarRequestOptions,
|
|
1623
|
+
};
|
|
1624
|
+
},
|
|
1625
|
+
/**
|
|
1626
|
+
* Upload and resize an image
|
|
1627
|
+
* @param {string} tenantId
|
|
1628
|
+
* @param {File} file
|
|
1629
|
+
* @param {SizePreset} [sizePreset] Size preset: \"Default\" (1000x1000px) or \"CrossPlatform\" (creates sizes for popular devices)
|
|
1630
|
+
* @param {string} [urlId] Page id that upload is happening from, to configure
|
|
1631
|
+
* @param {*} [options] Override http request option.
|
|
1632
|
+
* @throws {RequiredError}
|
|
1633
|
+
*/
|
|
1634
|
+
uploadImage: async (tenantId, file, sizePreset, urlId, options = {}) => {
|
|
1635
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1636
|
+
(0, common_1.assertParamExists)('uploadImage', 'tenantId', tenantId);
|
|
1637
|
+
// verify required parameter 'file' is not null or undefined
|
|
1638
|
+
(0, common_1.assertParamExists)('uploadImage', 'file', file);
|
|
1639
|
+
const localVarPath = `/upload-image/{tenantId}`
|
|
1640
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
|
|
1641
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1642
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1643
|
+
let baseOptions;
|
|
1644
|
+
if (configuration) {
|
|
1645
|
+
baseOptions = configuration.baseOptions;
|
|
1646
|
+
}
|
|
1647
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1648
|
+
const localVarHeaderParameter = {};
|
|
1649
|
+
const localVarQueryParameter = {};
|
|
1650
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
1651
|
+
if (sizePreset !== undefined) {
|
|
1652
|
+
localVarQueryParameter['sizePreset'] = sizePreset;
|
|
1653
|
+
}
|
|
1654
|
+
if (urlId !== undefined) {
|
|
1655
|
+
localVarQueryParameter['urlId'] = urlId;
|
|
1656
|
+
}
|
|
1657
|
+
if (file !== undefined) {
|
|
1658
|
+
localVarFormParams.append('file', file);
|
|
1659
|
+
}
|
|
1660
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1661
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1662
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1663
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1664
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
1665
|
+
return {
|
|
1666
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1667
|
+
options: localVarRequestOptions,
|
|
1668
|
+
};
|
|
1669
|
+
},
|
|
1670
|
+
/**
|
|
1671
|
+
*
|
|
1672
|
+
* @param {string} tenantId
|
|
1673
|
+
* @param {string} commentId
|
|
1674
|
+
* @param {string} urlId
|
|
1675
|
+
* @param {string} broadcastId
|
|
1676
|
+
* @param {VoteBodyParams} voteBodyParams
|
|
1677
|
+
* @param {string} [sessionId]
|
|
1678
|
+
* @param {string} [sso]
|
|
1679
|
+
* @param {*} [options] Override http request option.
|
|
1680
|
+
* @throws {RequiredError}
|
|
1681
|
+
*/
|
|
1682
|
+
voteComment: async (tenantId, commentId, urlId, broadcastId, voteBodyParams, sessionId, sso, options = {}) => {
|
|
1683
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1684
|
+
(0, common_1.assertParamExists)('voteComment', 'tenantId', tenantId);
|
|
1685
|
+
// verify required parameter 'commentId' is not null or undefined
|
|
1686
|
+
(0, common_1.assertParamExists)('voteComment', 'commentId', commentId);
|
|
1687
|
+
// verify required parameter 'urlId' is not null or undefined
|
|
1688
|
+
(0, common_1.assertParamExists)('voteComment', 'urlId', urlId);
|
|
1689
|
+
// verify required parameter 'broadcastId' is not null or undefined
|
|
1690
|
+
(0, common_1.assertParamExists)('voteComment', 'broadcastId', broadcastId);
|
|
1691
|
+
// verify required parameter 'voteBodyParams' is not null or undefined
|
|
1692
|
+
(0, common_1.assertParamExists)('voteComment', 'voteBodyParams', voteBodyParams);
|
|
1693
|
+
const localVarPath = `/comments/{tenantId}/{commentId}/vote`
|
|
1694
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
|
|
1695
|
+
.replace(`{${"commentId"}}`, encodeURIComponent(String(commentId)));
|
|
1696
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1697
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1698
|
+
let baseOptions;
|
|
1699
|
+
if (configuration) {
|
|
1700
|
+
baseOptions = configuration.baseOptions;
|
|
1701
|
+
}
|
|
1702
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1703
|
+
const localVarHeaderParameter = {};
|
|
1704
|
+
const localVarQueryParameter = {};
|
|
1705
|
+
if (urlId !== undefined) {
|
|
1706
|
+
localVarQueryParameter['urlId'] = urlId;
|
|
1707
|
+
}
|
|
1708
|
+
if (broadcastId !== undefined) {
|
|
1709
|
+
localVarQueryParameter['broadcastId'] = broadcastId;
|
|
1710
|
+
}
|
|
1711
|
+
if (sessionId !== undefined) {
|
|
1712
|
+
localVarQueryParameter['sessionId'] = sessionId;
|
|
1713
|
+
}
|
|
1714
|
+
if (sso !== undefined) {
|
|
1715
|
+
localVarQueryParameter['sso'] = sso;
|
|
1716
|
+
}
|
|
1717
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1718
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1719
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1720
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1721
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(voteBodyParams, localVarRequestOptions, configuration);
|
|
1722
|
+
return {
|
|
1723
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1724
|
+
options: localVarRequestOptions,
|
|
1725
|
+
};
|
|
1726
|
+
},
|
|
1727
|
+
};
|
|
1728
|
+
};
|
|
1729
|
+
exports.PublicApiAxiosParamCreator = PublicApiAxiosParamCreator;
|
|
1730
|
+
/**
|
|
1731
|
+
* PublicApi - functional programming interface
|
|
1732
|
+
* @export
|
|
1733
|
+
*/
|
|
1734
|
+
const PublicApiFp = function (configuration) {
|
|
1735
|
+
const localVarAxiosParamCreator = (0, exports.PublicApiAxiosParamCreator)(configuration);
|
|
1736
|
+
return {
|
|
1737
|
+
/**
|
|
1738
|
+
*
|
|
1739
|
+
* @param {string} tenantId
|
|
1740
|
+
* @param {string} commentId
|
|
1741
|
+
* @param {PublicBlockFromCommentParams} publicBlockFromCommentParams
|
|
1742
|
+
* @param {string} [sso]
|
|
1743
|
+
* @param {*} [options] Override http request option.
|
|
1744
|
+
* @throws {RequiredError}
|
|
1745
|
+
*/
|
|
1746
|
+
async blockFromCommentPublic(tenantId, commentId, publicBlockFromCommentParams, sso, options) {
|
|
1747
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.blockFromCommentPublic(tenantId, commentId, publicBlockFromCommentParams, sso, options);
|
|
1748
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1749
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.blockFromCommentPublic']?.[localVarOperationServerIndex]?.url;
|
|
1750
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1751
|
+
},
|
|
1752
|
+
/**
|
|
1753
|
+
*
|
|
1754
|
+
* @param {string} tenantId
|
|
1755
|
+
* @param {string} commentIds A comma separated list of comment ids.
|
|
1756
|
+
* @param {string} [sso]
|
|
1757
|
+
* @param {*} [options] Override http request option.
|
|
1758
|
+
* @throws {RequiredError}
|
|
1759
|
+
*/
|
|
1760
|
+
async checkedCommentsForBlocked(tenantId, commentIds, sso, options) {
|
|
1761
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkedCommentsForBlocked(tenantId, commentIds, sso, options);
|
|
1762
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1763
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.checkedCommentsForBlocked']?.[localVarOperationServerIndex]?.url;
|
|
1764
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1765
|
+
},
|
|
1766
|
+
/**
|
|
1767
|
+
*
|
|
1768
|
+
* @param {string} tenantId
|
|
1769
|
+
* @param {string} urlId
|
|
1770
|
+
* @param {string} broadcastId
|
|
1771
|
+
* @param {CommentData} commentData
|
|
1772
|
+
* @param {string} [sessionId]
|
|
1773
|
+
* @param {string} [sso]
|
|
1774
|
+
* @param {*} [options] Override http request option.
|
|
1775
|
+
* @throws {RequiredError}
|
|
1776
|
+
*/
|
|
1777
|
+
async createCommentPublic(tenantId, urlId, broadcastId, commentData, sessionId, sso, options) {
|
|
1778
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCommentPublic(tenantId, urlId, broadcastId, commentData, sessionId, sso, options);
|
|
1779
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1780
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.createCommentPublic']?.[localVarOperationServerIndex]?.url;
|
|
1781
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1782
|
+
},
|
|
1783
|
+
/**
|
|
1784
|
+
*
|
|
1785
|
+
* @param {string} tenantId
|
|
1786
|
+
* @param {CreateFeedPostParams} createFeedPostParams
|
|
1787
|
+
* @param {string} [broadcastId]
|
|
1788
|
+
* @param {string} [sso]
|
|
1789
|
+
* @param {*} [options] Override http request option.
|
|
1790
|
+
* @throws {RequiredError}
|
|
1791
|
+
*/
|
|
1792
|
+
async createFeedPostPublic(tenantId, createFeedPostParams, broadcastId, sso, options) {
|
|
1793
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createFeedPostPublic(tenantId, createFeedPostParams, broadcastId, sso, options);
|
|
1794
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1795
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.createFeedPostPublic']?.[localVarOperationServerIndex]?.url;
|
|
1796
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1797
|
+
},
|
|
1798
|
+
/**
|
|
1799
|
+
*
|
|
1800
|
+
* @param {string} tenantId
|
|
1801
|
+
* @param {string} commentId
|
|
1802
|
+
* @param {string} broadcastId
|
|
1803
|
+
* @param {string} [editKey]
|
|
1804
|
+
* @param {string} [sso]
|
|
1805
|
+
* @param {*} [options] Override http request option.
|
|
1806
|
+
* @throws {RequiredError}
|
|
1807
|
+
*/
|
|
1808
|
+
async deleteCommentPublic(tenantId, commentId, broadcastId, editKey, sso, options) {
|
|
1809
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCommentPublic(tenantId, commentId, broadcastId, editKey, sso, options);
|
|
1810
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1811
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.deleteCommentPublic']?.[localVarOperationServerIndex]?.url;
|
|
1812
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1813
|
+
},
|
|
1814
|
+
/**
|
|
1815
|
+
*
|
|
1816
|
+
* @param {string} tenantId
|
|
1817
|
+
* @param {string} commentId
|
|
1818
|
+
* @param {string} voteId
|
|
1819
|
+
* @param {string} urlId
|
|
1820
|
+
* @param {string} broadcastId
|
|
1821
|
+
* @param {string} [editKey]
|
|
1822
|
+
* @param {string} [sso]
|
|
1823
|
+
* @param {*} [options] Override http request option.
|
|
1824
|
+
* @throws {RequiredError}
|
|
1825
|
+
*/
|
|
1826
|
+
async deleteCommentVote(tenantId, commentId, voteId, urlId, broadcastId, editKey, sso, options) {
|
|
1827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCommentVote(tenantId, commentId, voteId, urlId, broadcastId, editKey, sso, options);
|
|
1828
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1829
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.deleteCommentVote']?.[localVarOperationServerIndex]?.url;
|
|
1830
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1831
|
+
},
|
|
1832
|
+
/**
|
|
1833
|
+
*
|
|
1834
|
+
* @param {string} tenantId
|
|
1835
|
+
* @param {string} postId
|
|
1836
|
+
* @param {string} [broadcastId]
|
|
1837
|
+
* @param {string} [sso]
|
|
1838
|
+
* @param {*} [options] Override http request option.
|
|
1839
|
+
* @throws {RequiredError}
|
|
1840
|
+
*/
|
|
1841
|
+
async deleteFeedPostPublic(tenantId, postId, broadcastId, sso, options) {
|
|
1842
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFeedPostPublic(tenantId, postId, broadcastId, sso, options);
|
|
1843
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1844
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.deleteFeedPostPublic']?.[localVarOperationServerIndex]?.url;
|
|
1845
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1846
|
+
},
|
|
1847
|
+
/**
|
|
1848
|
+
*
|
|
1849
|
+
* @param {string} tenantId
|
|
1850
|
+
* @param {string} commentId
|
|
1851
|
+
* @param {boolean} isFlagged
|
|
1852
|
+
* @param {string} [sso]
|
|
1853
|
+
* @param {*} [options] Override http request option.
|
|
1854
|
+
* @throws {RequiredError}
|
|
1855
|
+
*/
|
|
1856
|
+
async flagCommentPublic(tenantId, commentId, isFlagged, sso, options) {
|
|
1857
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.flagCommentPublic(tenantId, commentId, isFlagged, sso, options);
|
|
1858
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1859
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.flagCommentPublic']?.[localVarOperationServerIndex]?.url;
|
|
1860
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1861
|
+
},
|
|
1862
|
+
/**
|
|
1863
|
+
*
|
|
1864
|
+
* @param {string} tenantId
|
|
1865
|
+
* @param {string} commentId
|
|
1866
|
+
* @param {string} [editKey]
|
|
1867
|
+
* @param {string} [sso]
|
|
1868
|
+
* @param {*} [options] Override http request option.
|
|
1869
|
+
* @throws {RequiredError}
|
|
1870
|
+
*/
|
|
1871
|
+
async getCommentText(tenantId, commentId, editKey, sso, options) {
|
|
1872
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCommentText(tenantId, commentId, editKey, sso, options);
|
|
1873
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1874
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.getCommentText']?.[localVarOperationServerIndex]?.url;
|
|
1875
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1876
|
+
},
|
|
1877
|
+
/**
|
|
1878
|
+
*
|
|
1879
|
+
* @param {string} tenantId
|
|
1880
|
+
* @param {string} commentId
|
|
1881
|
+
* @param {number} dir
|
|
1882
|
+
* @param {string} [sso]
|
|
1883
|
+
* @param {*} [options] Override http request option.
|
|
1884
|
+
* @throws {RequiredError}
|
|
1885
|
+
*/
|
|
1886
|
+
async getCommentVoteUserNames(tenantId, commentId, dir, sso, options) {
|
|
1887
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCommentVoteUserNames(tenantId, commentId, dir, sso, options);
|
|
1888
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1889
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.getCommentVoteUserNames']?.[localVarOperationServerIndex]?.url;
|
|
1890
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1891
|
+
},
|
|
1892
|
+
/**
|
|
1893
|
+
* req tenantId urlId
|
|
1894
|
+
* @param {string} tenantId
|
|
1895
|
+
* @param {string} urlId
|
|
1896
|
+
* @param {number} [page]
|
|
1897
|
+
* @param {SortDirections} [direction]
|
|
1898
|
+
* @param {string} [sso]
|
|
1899
|
+
* @param {number} [skip]
|
|
1900
|
+
* @param {number} [skipChildren]
|
|
1901
|
+
* @param {number} [limit]
|
|
1902
|
+
* @param {number} [limitChildren]
|
|
1903
|
+
* @param {boolean} [countChildren]
|
|
1904
|
+
* @param {string} [fetchPageForCommentId]
|
|
1905
|
+
* @param {boolean} [includeConfig]
|
|
1906
|
+
* @param {boolean} [countAll]
|
|
1907
|
+
* @param {boolean} [includei10n]
|
|
1908
|
+
* @param {string} [locale]
|
|
1909
|
+
* @param {string} [modules]
|
|
1910
|
+
* @param {boolean} [isCrawler]
|
|
1911
|
+
* @param {boolean} [includeNotificationCount]
|
|
1912
|
+
* @param {boolean} [asTree]
|
|
1913
|
+
* @param {number} [maxTreeDepth]
|
|
1914
|
+
* @param {boolean} [useFullTranslationIds]
|
|
1915
|
+
* @param {string} [parentId]
|
|
1916
|
+
* @param {string} [searchText]
|
|
1917
|
+
* @param {Array<string>} [hashTags]
|
|
1918
|
+
* @param {string} [userId]
|
|
1919
|
+
* @param {string} [customConfigStr]
|
|
1920
|
+
* @param {string} [afterCommentId]
|
|
1921
|
+
* @param {string} [beforeCommentId]
|
|
1922
|
+
* @param {*} [options] Override http request option.
|
|
1923
|
+
* @throws {RequiredError}
|
|
1924
|
+
*/
|
|
1925
|
+
async getCommentsPublic(tenantId, urlId, page, direction, sso, skip, skipChildren, limit, limitChildren, countChildren, fetchPageForCommentId, includeConfig, countAll, includei10n, locale, modules, isCrawler, includeNotificationCount, asTree, maxTreeDepth, useFullTranslationIds, parentId, searchText, hashTags, userId, customConfigStr, afterCommentId, beforeCommentId, options) {
|
|
1926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCommentsPublic(tenantId, urlId, page, direction, sso, skip, skipChildren, limit, limitChildren, countChildren, fetchPageForCommentId, includeConfig, countAll, includei10n, locale, modules, isCrawler, includeNotificationCount, asTree, maxTreeDepth, useFullTranslationIds, parentId, searchText, hashTags, userId, customConfigStr, afterCommentId, beforeCommentId, options);
|
|
1927
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1928
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.getCommentsPublic']?.[localVarOperationServerIndex]?.url;
|
|
1929
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1930
|
+
},
|
|
1931
|
+
/**
|
|
1932
|
+
* req tenantId urlId userIdWS
|
|
1933
|
+
* @param {string} tenantId
|
|
1934
|
+
* @param {string} urlId
|
|
1935
|
+
* @param {string} userIdWS
|
|
1936
|
+
* @param {number} startTime
|
|
1937
|
+
* @param {number} endTime
|
|
1938
|
+
* @param {*} [options] Override http request option.
|
|
1939
|
+
* @throws {RequiredError}
|
|
1940
|
+
*/
|
|
1941
|
+
async getEventLog(tenantId, urlId, userIdWS, startTime, endTime, options) {
|
|
1942
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventLog(tenantId, urlId, userIdWS, startTime, endTime, options);
|
|
1943
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1944
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.getEventLog']?.[localVarOperationServerIndex]?.url;
|
|
1945
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1946
|
+
},
|
|
1947
|
+
/**
|
|
1948
|
+
* req tenantId afterId
|
|
1949
|
+
* @param {string} tenantId
|
|
1950
|
+
* @param {string} [afterId]
|
|
1951
|
+
* @param {number} [limit]
|
|
1952
|
+
* @param {Array<string>} [tags]
|
|
1953
|
+
* @param {string} [sso]
|
|
1954
|
+
* @param {boolean} [isCrawler]
|
|
1955
|
+
* @param {boolean} [includeUserInfo]
|
|
1956
|
+
* @param {*} [options] Override http request option.
|
|
1957
|
+
* @throws {RequiredError}
|
|
1958
|
+
*/
|
|
1959
|
+
async getFeedPostsPublic(tenantId, afterId, limit, tags, sso, isCrawler, includeUserInfo, options) {
|
|
1960
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFeedPostsPublic(tenantId, afterId, limit, tags, sso, isCrawler, includeUserInfo, options);
|
|
1961
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1962
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.getFeedPostsPublic']?.[localVarOperationServerIndex]?.url;
|
|
1963
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1964
|
+
},
|
|
1965
|
+
/**
|
|
1966
|
+
*
|
|
1967
|
+
* @param {string} tenantId
|
|
1968
|
+
* @param {Array<string>} postIds
|
|
1969
|
+
* @param {string} [sso]
|
|
1970
|
+
* @param {*} [options] Override http request option.
|
|
1971
|
+
* @throws {RequiredError}
|
|
1972
|
+
*/
|
|
1973
|
+
async getFeedPostsStats(tenantId, postIds, sso, options) {
|
|
1974
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFeedPostsStats(tenantId, postIds, sso, options);
|
|
1975
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1976
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.getFeedPostsStats']?.[localVarOperationServerIndex]?.url;
|
|
1977
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1978
|
+
},
|
|
1979
|
+
/**
|
|
1980
|
+
* req tenantId urlId userIdWS
|
|
1981
|
+
* @param {string} tenantId
|
|
1982
|
+
* @param {string} urlId
|
|
1983
|
+
* @param {string} userIdWS
|
|
1984
|
+
* @param {number} startTime
|
|
1985
|
+
* @param {number} endTime
|
|
1986
|
+
* @param {*} [options] Override http request option.
|
|
1987
|
+
* @throws {RequiredError}
|
|
1988
|
+
*/
|
|
1989
|
+
async getGlobalEventLog(tenantId, urlId, userIdWS, startTime, endTime, options) {
|
|
1990
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGlobalEventLog(tenantId, urlId, userIdWS, startTime, endTime, options);
|
|
1991
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1992
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.getGlobalEventLog']?.[localVarOperationServerIndex]?.url;
|
|
1993
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1994
|
+
},
|
|
1995
|
+
/**
|
|
1996
|
+
*
|
|
1997
|
+
* @param {string} tenantId
|
|
1998
|
+
* @param {string} [sso]
|
|
1999
|
+
* @param {*} [options] Override http request option.
|
|
2000
|
+
* @throws {RequiredError}
|
|
2001
|
+
*/
|
|
2002
|
+
async getUserNotificationCount(tenantId, sso, options) {
|
|
2003
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserNotificationCount(tenantId, sso, options);
|
|
2004
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2005
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.getUserNotificationCount']?.[localVarOperationServerIndex]?.url;
|
|
2006
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2007
|
+
},
|
|
2008
|
+
/**
|
|
2009
|
+
*
|
|
2010
|
+
* @param {string} tenantId
|
|
2011
|
+
* @param {number} [pageSize] Defaults to 20.
|
|
2012
|
+
* @param {string} [afterId]
|
|
2013
|
+
* @param {boolean} [includeContext]
|
|
2014
|
+
* @param {number} [afterCreatedAt]
|
|
2015
|
+
* @param {boolean} [unreadOnly]
|
|
2016
|
+
* @param {boolean} [dmOnly]
|
|
2017
|
+
* @param {boolean} [noDm]
|
|
2018
|
+
* @param {boolean} [includeTranslations]
|
|
2019
|
+
* @param {string} [sso]
|
|
2020
|
+
* @param {*} [options] Override http request option.
|
|
2021
|
+
* @throws {RequiredError}
|
|
2022
|
+
*/
|
|
2023
|
+
async getUserNotifications(tenantId, pageSize, afterId, includeContext, afterCreatedAt, unreadOnly, dmOnly, noDm, includeTranslations, sso, options) {
|
|
2024
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserNotifications(tenantId, pageSize, afterId, includeContext, afterCreatedAt, unreadOnly, dmOnly, noDm, includeTranslations, sso, options);
|
|
2025
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2026
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.getUserNotifications']?.[localVarOperationServerIndex]?.url;
|
|
2027
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2028
|
+
},
|
|
2029
|
+
/**
|
|
2030
|
+
*
|
|
2031
|
+
* @param {string} tenantId
|
|
2032
|
+
* @param {string} urlIdWS
|
|
2033
|
+
* @param {string} userIds
|
|
2034
|
+
* @param {*} [options] Override http request option.
|
|
2035
|
+
* @throws {RequiredError}
|
|
2036
|
+
*/
|
|
2037
|
+
async getUserPresenceStatuses(tenantId, urlIdWS, userIds, options) {
|
|
2038
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserPresenceStatuses(tenantId, urlIdWS, userIds, options);
|
|
2039
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2040
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.getUserPresenceStatuses']?.[localVarOperationServerIndex]?.url;
|
|
2041
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2042
|
+
},
|
|
2043
|
+
/**
|
|
2044
|
+
*
|
|
2045
|
+
* @param {string} tenantId
|
|
2046
|
+
* @param {Array<string>} [postIds]
|
|
2047
|
+
* @param {string} [sso]
|
|
2048
|
+
* @param {*} [options] Override http request option.
|
|
2049
|
+
* @throws {RequiredError}
|
|
2050
|
+
*/
|
|
2051
|
+
async getUserReactsPublic(tenantId, postIds, sso, options) {
|
|
2052
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserReactsPublic(tenantId, postIds, sso, options);
|
|
2053
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2054
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.getUserReactsPublic']?.[localVarOperationServerIndex]?.url;
|
|
2055
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2056
|
+
},
|
|
2057
|
+
/**
|
|
2058
|
+
*
|
|
2059
|
+
* @param {string} tenantId
|
|
2060
|
+
* @param {string} commentId
|
|
2061
|
+
* @param {string} broadcastId
|
|
2062
|
+
* @param {string} [sso]
|
|
2063
|
+
* @param {*} [options] Override http request option.
|
|
2064
|
+
* @throws {RequiredError}
|
|
2065
|
+
*/
|
|
2066
|
+
async lockComment(tenantId, commentId, broadcastId, sso, options) {
|
|
2067
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lockComment(tenantId, commentId, broadcastId, sso, options);
|
|
2068
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2069
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.lockComment']?.[localVarOperationServerIndex]?.url;
|
|
2070
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2071
|
+
},
|
|
2072
|
+
/**
|
|
2073
|
+
*
|
|
2074
|
+
* @param {string} tenantId
|
|
2075
|
+
* @param {string} commentId
|
|
2076
|
+
* @param {string} broadcastId
|
|
2077
|
+
* @param {string} [sso]
|
|
2078
|
+
* @param {*} [options] Override http request option.
|
|
2079
|
+
* @throws {RequiredError}
|
|
2080
|
+
*/
|
|
2081
|
+
async pinComment(tenantId, commentId, broadcastId, sso, options) {
|
|
2082
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.pinComment(tenantId, commentId, broadcastId, sso, options);
|
|
2083
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2084
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.pinComment']?.[localVarOperationServerIndex]?.url;
|
|
2085
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2086
|
+
},
|
|
2087
|
+
/**
|
|
2088
|
+
*
|
|
2089
|
+
* @param {string} tenantId
|
|
2090
|
+
* @param {string} postId
|
|
2091
|
+
* @param {ReactBodyParams} reactBodyParams
|
|
2092
|
+
* @param {boolean} [isUndo]
|
|
2093
|
+
* @param {string} [broadcastId]
|
|
2094
|
+
* @param {string} [sso]
|
|
2095
|
+
* @param {*} [options] Override http request option.
|
|
2096
|
+
* @throws {RequiredError}
|
|
2097
|
+
*/
|
|
2098
|
+
async reactFeedPostPublic(tenantId, postId, reactBodyParams, isUndo, broadcastId, sso, options) {
|
|
2099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reactFeedPostPublic(tenantId, postId, reactBodyParams, isUndo, broadcastId, sso, options);
|
|
2100
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2101
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.reactFeedPostPublic']?.[localVarOperationServerIndex]?.url;
|
|
2102
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2103
|
+
},
|
|
2104
|
+
/**
|
|
2105
|
+
*
|
|
2106
|
+
* @param {string} tenantId
|
|
2107
|
+
* @param {string} [sso]
|
|
2108
|
+
* @param {*} [options] Override http request option.
|
|
2109
|
+
* @throws {RequiredError}
|
|
2110
|
+
*/
|
|
2111
|
+
async resetUserNotificationCount(tenantId, sso, options) {
|
|
2112
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetUserNotificationCount(tenantId, sso, options);
|
|
2113
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2114
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.resetUserNotificationCount']?.[localVarOperationServerIndex]?.url;
|
|
2115
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2116
|
+
},
|
|
2117
|
+
/**
|
|
2118
|
+
*
|
|
2119
|
+
* @param {string} tenantId
|
|
2120
|
+
* @param {string} [afterId]
|
|
2121
|
+
* @param {number} [afterCreatedAt]
|
|
2122
|
+
* @param {boolean} [unreadOnly]
|
|
2123
|
+
* @param {boolean} [dmOnly]
|
|
2124
|
+
* @param {boolean} [noDm]
|
|
2125
|
+
* @param {string} [sso]
|
|
2126
|
+
* @param {*} [options] Override http request option.
|
|
2127
|
+
* @throws {RequiredError}
|
|
2128
|
+
*/
|
|
2129
|
+
async resetUserNotifications(tenantId, afterId, afterCreatedAt, unreadOnly, dmOnly, noDm, sso, options) {
|
|
2130
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetUserNotifications(tenantId, afterId, afterCreatedAt, unreadOnly, dmOnly, noDm, sso, options);
|
|
2131
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2132
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.resetUserNotifications']?.[localVarOperationServerIndex]?.url;
|
|
2133
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2134
|
+
},
|
|
2135
|
+
/**
|
|
2136
|
+
*
|
|
2137
|
+
* @param {string} tenantId
|
|
2138
|
+
* @param {string} urlId
|
|
2139
|
+
* @param {string} usernameStartsWith
|
|
2140
|
+
* @param {Array<string>} [mentionGroupIds]
|
|
2141
|
+
* @param {string} [sso]
|
|
2142
|
+
* @param {*} [options] Override http request option.
|
|
2143
|
+
* @throws {RequiredError}
|
|
2144
|
+
*/
|
|
2145
|
+
async searchUsers(tenantId, urlId, usernameStartsWith, mentionGroupIds, sso, options) {
|
|
2146
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchUsers(tenantId, urlId, usernameStartsWith, mentionGroupIds, sso, options);
|
|
2147
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2148
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.searchUsers']?.[localVarOperationServerIndex]?.url;
|
|
2149
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2150
|
+
},
|
|
2151
|
+
/**
|
|
2152
|
+
*
|
|
2153
|
+
* @param {string} tenantId
|
|
2154
|
+
* @param {string} commentId
|
|
2155
|
+
* @param {string} broadcastId
|
|
2156
|
+
* @param {CommentTextUpdateRequest} commentTextUpdateRequest
|
|
2157
|
+
* @param {string} [editKey]
|
|
2158
|
+
* @param {string} [sso]
|
|
2159
|
+
* @param {*} [options] Override http request option.
|
|
2160
|
+
* @throws {RequiredError}
|
|
2161
|
+
*/
|
|
2162
|
+
async setCommentText(tenantId, commentId, broadcastId, commentTextUpdateRequest, editKey, sso, options) {
|
|
2163
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setCommentText(tenantId, commentId, broadcastId, commentTextUpdateRequest, editKey, sso, options);
|
|
2164
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2165
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.setCommentText']?.[localVarOperationServerIndex]?.url;
|
|
2166
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2167
|
+
},
|
|
2168
|
+
/**
|
|
2169
|
+
*
|
|
2170
|
+
* @param {string} tenantId
|
|
2171
|
+
* @param {string} commentId
|
|
2172
|
+
* @param {PublicBlockFromCommentParams} publicBlockFromCommentParams
|
|
2173
|
+
* @param {string} [sso]
|
|
2174
|
+
* @param {*} [options] Override http request option.
|
|
2175
|
+
* @throws {RequiredError}
|
|
2176
|
+
*/
|
|
2177
|
+
async unBlockCommentPublic(tenantId, commentId, publicBlockFromCommentParams, sso, options) {
|
|
2178
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unBlockCommentPublic(tenantId, commentId, publicBlockFromCommentParams, sso, options);
|
|
2179
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2180
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.unBlockCommentPublic']?.[localVarOperationServerIndex]?.url;
|
|
2181
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2182
|
+
},
|
|
2183
|
+
/**
|
|
2184
|
+
*
|
|
2185
|
+
* @param {string} tenantId
|
|
2186
|
+
* @param {string} commentId
|
|
2187
|
+
* @param {string} broadcastId
|
|
2188
|
+
* @param {string} [sso]
|
|
2189
|
+
* @param {*} [options] Override http request option.
|
|
2190
|
+
* @throws {RequiredError}
|
|
2191
|
+
*/
|
|
2192
|
+
async unLockComment(tenantId, commentId, broadcastId, sso, options) {
|
|
2193
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unLockComment(tenantId, commentId, broadcastId, sso, options);
|
|
2194
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2195
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.unLockComment']?.[localVarOperationServerIndex]?.url;
|
|
2196
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2197
|
+
},
|
|
2198
|
+
/**
|
|
2199
|
+
*
|
|
2200
|
+
* @param {string} tenantId
|
|
2201
|
+
* @param {string} commentId
|
|
2202
|
+
* @param {string} broadcastId
|
|
2203
|
+
* @param {string} [sso]
|
|
2204
|
+
* @param {*} [options] Override http request option.
|
|
2205
|
+
* @throws {RequiredError}
|
|
2206
|
+
*/
|
|
2207
|
+
async unPinComment(tenantId, commentId, broadcastId, sso, options) {
|
|
2208
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unPinComment(tenantId, commentId, broadcastId, sso, options);
|
|
2209
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2210
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.unPinComment']?.[localVarOperationServerIndex]?.url;
|
|
2211
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2212
|
+
},
|
|
2213
|
+
/**
|
|
2214
|
+
*
|
|
2215
|
+
* @param {string} tenantId
|
|
2216
|
+
* @param {string} postId
|
|
2217
|
+
* @param {UpdateFeedPostParams} updateFeedPostParams
|
|
2218
|
+
* @param {string} [broadcastId]
|
|
2219
|
+
* @param {string} [sso]
|
|
2220
|
+
* @param {*} [options] Override http request option.
|
|
2221
|
+
* @throws {RequiredError}
|
|
2222
|
+
*/
|
|
2223
|
+
async updateFeedPostPublic(tenantId, postId, updateFeedPostParams, broadcastId, sso, options) {
|
|
2224
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateFeedPostPublic(tenantId, postId, updateFeedPostParams, broadcastId, sso, options);
|
|
2225
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2226
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.updateFeedPostPublic']?.[localVarOperationServerIndex]?.url;
|
|
2227
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2228
|
+
},
|
|
2229
|
+
/**
|
|
2230
|
+
* Enable or disable notifications for a specific comment.
|
|
2231
|
+
* @param {string} tenantId
|
|
2232
|
+
* @param {string} notificationId
|
|
2233
|
+
* @param {UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum} optedInOrOut
|
|
2234
|
+
* @param {string} commentId
|
|
2235
|
+
* @param {string} [sso]
|
|
2236
|
+
* @param {*} [options] Override http request option.
|
|
2237
|
+
* @throws {RequiredError}
|
|
2238
|
+
*/
|
|
2239
|
+
async updateUserNotificationCommentSubscriptionStatus(tenantId, notificationId, optedInOrOut, commentId, sso, options) {
|
|
2240
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserNotificationCommentSubscriptionStatus(tenantId, notificationId, optedInOrOut, commentId, sso, options);
|
|
2241
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2242
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.updateUserNotificationCommentSubscriptionStatus']?.[localVarOperationServerIndex]?.url;
|
|
2243
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2244
|
+
},
|
|
2245
|
+
/**
|
|
2246
|
+
* Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also
|
|
2247
|
+
* @param {string} tenantId
|
|
2248
|
+
* @param {string} urlId
|
|
2249
|
+
* @param {string} url
|
|
2250
|
+
* @param {string} pageTitle
|
|
2251
|
+
* @param {UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum} subscribedOrUnsubscribed
|
|
2252
|
+
* @param {string} [sso]
|
|
2253
|
+
* @param {*} [options] Override http request option.
|
|
2254
|
+
* @throws {RequiredError}
|
|
2255
|
+
*/
|
|
2256
|
+
async updateUserNotificationPageSubscriptionStatus(tenantId, urlId, url, pageTitle, subscribedOrUnsubscribed, sso, options) {
|
|
2257
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserNotificationPageSubscriptionStatus(tenantId, urlId, url, pageTitle, subscribedOrUnsubscribed, sso, options);
|
|
2258
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2259
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.updateUserNotificationPageSubscriptionStatus']?.[localVarOperationServerIndex]?.url;
|
|
2260
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2261
|
+
},
|
|
2262
|
+
/**
|
|
2263
|
+
*
|
|
2264
|
+
* @param {string} tenantId
|
|
2265
|
+
* @param {string} notificationId
|
|
2266
|
+
* @param {UpdateUserNotificationStatusNewStatusEnum} newStatus
|
|
2267
|
+
* @param {string} [sso]
|
|
2268
|
+
* @param {*} [options] Override http request option.
|
|
2269
|
+
* @throws {RequiredError}
|
|
2270
|
+
*/
|
|
2271
|
+
async updateUserNotificationStatus(tenantId, notificationId, newStatus, sso, options) {
|
|
2272
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserNotificationStatus(tenantId, notificationId, newStatus, sso, options);
|
|
2273
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2274
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.updateUserNotificationStatus']?.[localVarOperationServerIndex]?.url;
|
|
2275
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2276
|
+
},
|
|
2277
|
+
/**
|
|
2278
|
+
* Upload and resize an image
|
|
2279
|
+
* @param {string} tenantId
|
|
2280
|
+
* @param {File} file
|
|
2281
|
+
* @param {SizePreset} [sizePreset] Size preset: \"Default\" (1000x1000px) or \"CrossPlatform\" (creates sizes for popular devices)
|
|
2282
|
+
* @param {string} [urlId] Page id that upload is happening from, to configure
|
|
2283
|
+
* @param {*} [options] Override http request option.
|
|
2284
|
+
* @throws {RequiredError}
|
|
2285
|
+
*/
|
|
2286
|
+
async uploadImage(tenantId, file, sizePreset, urlId, options) {
|
|
2287
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadImage(tenantId, file, sizePreset, urlId, options);
|
|
2288
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2289
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.uploadImage']?.[localVarOperationServerIndex]?.url;
|
|
2290
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2291
|
+
},
|
|
2292
|
+
/**
|
|
2293
|
+
*
|
|
2294
|
+
* @param {string} tenantId
|
|
2295
|
+
* @param {string} commentId
|
|
2296
|
+
* @param {string} urlId
|
|
2297
|
+
* @param {string} broadcastId
|
|
2298
|
+
* @param {VoteBodyParams} voteBodyParams
|
|
2299
|
+
* @param {string} [sessionId]
|
|
2300
|
+
* @param {string} [sso]
|
|
2301
|
+
* @param {*} [options] Override http request option.
|
|
2302
|
+
* @throws {RequiredError}
|
|
2303
|
+
*/
|
|
2304
|
+
async voteComment(tenantId, commentId, urlId, broadcastId, voteBodyParams, sessionId, sso, options) {
|
|
2305
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.voteComment(tenantId, commentId, urlId, broadcastId, voteBodyParams, sessionId, sso, options);
|
|
2306
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2307
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PublicApi.voteComment']?.[localVarOperationServerIndex]?.url;
|
|
2308
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2309
|
+
},
|
|
2310
|
+
};
|
|
2311
|
+
};
|
|
2312
|
+
exports.PublicApiFp = PublicApiFp;
|
|
2313
|
+
/**
|
|
2314
|
+
* PublicApi - factory interface
|
|
2315
|
+
* @export
|
|
2316
|
+
*/
|
|
2317
|
+
const PublicApiFactory = function (configuration, basePath, axios) {
|
|
2318
|
+
const localVarFp = (0, exports.PublicApiFp)(configuration);
|
|
2319
|
+
return {
|
|
2320
|
+
/**
|
|
2321
|
+
*
|
|
2322
|
+
* @param {PublicApiBlockFromCommentPublicRequest} requestParameters Request parameters.
|
|
2323
|
+
* @param {*} [options] Override http request option.
|
|
2324
|
+
* @throws {RequiredError}
|
|
2325
|
+
*/
|
|
2326
|
+
blockFromCommentPublic(requestParameters, options) {
|
|
2327
|
+
return localVarFp.blockFromCommentPublic(requestParameters.tenantId, requestParameters.commentId, requestParameters.publicBlockFromCommentParams, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2328
|
+
},
|
|
2329
|
+
/**
|
|
2330
|
+
*
|
|
2331
|
+
* @param {PublicApiCheckedCommentsForBlockedRequest} requestParameters Request parameters.
|
|
2332
|
+
* @param {*} [options] Override http request option.
|
|
2333
|
+
* @throws {RequiredError}
|
|
2334
|
+
*/
|
|
2335
|
+
checkedCommentsForBlocked(requestParameters, options) {
|
|
2336
|
+
return localVarFp.checkedCommentsForBlocked(requestParameters.tenantId, requestParameters.commentIds, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2337
|
+
},
|
|
2338
|
+
/**
|
|
2339
|
+
*
|
|
2340
|
+
* @param {PublicApiCreateCommentPublicRequest} requestParameters Request parameters.
|
|
2341
|
+
* @param {*} [options] Override http request option.
|
|
2342
|
+
* @throws {RequiredError}
|
|
2343
|
+
*/
|
|
2344
|
+
createCommentPublic(requestParameters, options) {
|
|
2345
|
+
return localVarFp.createCommentPublic(requestParameters.tenantId, requestParameters.urlId, requestParameters.broadcastId, requestParameters.commentData, requestParameters.sessionId, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2346
|
+
},
|
|
2347
|
+
/**
|
|
2348
|
+
*
|
|
2349
|
+
* @param {PublicApiCreateFeedPostPublicRequest} requestParameters Request parameters.
|
|
2350
|
+
* @param {*} [options] Override http request option.
|
|
2351
|
+
* @throws {RequiredError}
|
|
2352
|
+
*/
|
|
2353
|
+
createFeedPostPublic(requestParameters, options) {
|
|
2354
|
+
return localVarFp.createFeedPostPublic(requestParameters.tenantId, requestParameters.createFeedPostParams, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2355
|
+
},
|
|
2356
|
+
/**
|
|
2357
|
+
*
|
|
2358
|
+
* @param {PublicApiDeleteCommentPublicRequest} requestParameters Request parameters.
|
|
2359
|
+
* @param {*} [options] Override http request option.
|
|
2360
|
+
* @throws {RequiredError}
|
|
2361
|
+
*/
|
|
2362
|
+
deleteCommentPublic(requestParameters, options) {
|
|
2363
|
+
return localVarFp.deleteCommentPublic(requestParameters.tenantId, requestParameters.commentId, requestParameters.broadcastId, requestParameters.editKey, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2364
|
+
},
|
|
2365
|
+
/**
|
|
2366
|
+
*
|
|
2367
|
+
* @param {PublicApiDeleteCommentVoteRequest} requestParameters Request parameters.
|
|
2368
|
+
* @param {*} [options] Override http request option.
|
|
2369
|
+
* @throws {RequiredError}
|
|
2370
|
+
*/
|
|
2371
|
+
deleteCommentVote(requestParameters, options) {
|
|
2372
|
+
return localVarFp.deleteCommentVote(requestParameters.tenantId, requestParameters.commentId, requestParameters.voteId, requestParameters.urlId, requestParameters.broadcastId, requestParameters.editKey, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2373
|
+
},
|
|
2374
|
+
/**
|
|
2375
|
+
*
|
|
2376
|
+
* @param {PublicApiDeleteFeedPostPublicRequest} requestParameters Request parameters.
|
|
2377
|
+
* @param {*} [options] Override http request option.
|
|
2378
|
+
* @throws {RequiredError}
|
|
2379
|
+
*/
|
|
2380
|
+
deleteFeedPostPublic(requestParameters, options) {
|
|
2381
|
+
return localVarFp.deleteFeedPostPublic(requestParameters.tenantId, requestParameters.postId, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2382
|
+
},
|
|
2383
|
+
/**
|
|
2384
|
+
*
|
|
2385
|
+
* @param {PublicApiFlagCommentPublicRequest} requestParameters Request parameters.
|
|
2386
|
+
* @param {*} [options] Override http request option.
|
|
2387
|
+
* @throws {RequiredError}
|
|
2388
|
+
*/
|
|
2389
|
+
flagCommentPublic(requestParameters, options) {
|
|
2390
|
+
return localVarFp.flagCommentPublic(requestParameters.tenantId, requestParameters.commentId, requestParameters.isFlagged, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2391
|
+
},
|
|
2392
|
+
/**
|
|
2393
|
+
*
|
|
2394
|
+
* @param {PublicApiGetCommentTextRequest} requestParameters Request parameters.
|
|
2395
|
+
* @param {*} [options] Override http request option.
|
|
2396
|
+
* @throws {RequiredError}
|
|
2397
|
+
*/
|
|
2398
|
+
getCommentText(requestParameters, options) {
|
|
2399
|
+
return localVarFp.getCommentText(requestParameters.tenantId, requestParameters.commentId, requestParameters.editKey, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2400
|
+
},
|
|
2401
|
+
/**
|
|
2402
|
+
*
|
|
2403
|
+
* @param {PublicApiGetCommentVoteUserNamesRequest} requestParameters Request parameters.
|
|
2404
|
+
* @param {*} [options] Override http request option.
|
|
2405
|
+
* @throws {RequiredError}
|
|
2406
|
+
*/
|
|
2407
|
+
getCommentVoteUserNames(requestParameters, options) {
|
|
2408
|
+
return localVarFp.getCommentVoteUserNames(requestParameters.tenantId, requestParameters.commentId, requestParameters.dir, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2409
|
+
},
|
|
2410
|
+
/**
|
|
2411
|
+
* req tenantId urlId
|
|
2412
|
+
* @param {PublicApiGetCommentsPublicRequest} requestParameters Request parameters.
|
|
2413
|
+
* @param {*} [options] Override http request option.
|
|
2414
|
+
* @throws {RequiredError}
|
|
2415
|
+
*/
|
|
2416
|
+
getCommentsPublic(requestParameters, options) {
|
|
2417
|
+
return localVarFp.getCommentsPublic(requestParameters.tenantId, requestParameters.urlId, requestParameters.page, requestParameters.direction, requestParameters.sso, requestParameters.skip, requestParameters.skipChildren, requestParameters.limit, requestParameters.limitChildren, requestParameters.countChildren, requestParameters.fetchPageForCommentId, requestParameters.includeConfig, requestParameters.countAll, requestParameters.includei10n, requestParameters.locale, requestParameters.modules, requestParameters.isCrawler, requestParameters.includeNotificationCount, requestParameters.asTree, requestParameters.maxTreeDepth, requestParameters.useFullTranslationIds, requestParameters.parentId, requestParameters.searchText, requestParameters.hashTags, requestParameters.userId, requestParameters.customConfigStr, requestParameters.afterCommentId, requestParameters.beforeCommentId, options).then((request) => request(axios, basePath));
|
|
2418
|
+
},
|
|
2419
|
+
/**
|
|
2420
|
+
* req tenantId urlId userIdWS
|
|
2421
|
+
* @param {PublicApiGetEventLogRequest} requestParameters Request parameters.
|
|
2422
|
+
* @param {*} [options] Override http request option.
|
|
2423
|
+
* @throws {RequiredError}
|
|
2424
|
+
*/
|
|
2425
|
+
getEventLog(requestParameters, options) {
|
|
2426
|
+
return localVarFp.getEventLog(requestParameters.tenantId, requestParameters.urlId, requestParameters.userIdWS, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
2427
|
+
},
|
|
2428
|
+
/**
|
|
2429
|
+
* req tenantId afterId
|
|
2430
|
+
* @param {PublicApiGetFeedPostsPublicRequest} requestParameters Request parameters.
|
|
2431
|
+
* @param {*} [options] Override http request option.
|
|
2432
|
+
* @throws {RequiredError}
|
|
2433
|
+
*/
|
|
2434
|
+
getFeedPostsPublic(requestParameters, options) {
|
|
2435
|
+
return localVarFp.getFeedPostsPublic(requestParameters.tenantId, requestParameters.afterId, requestParameters.limit, requestParameters.tags, requestParameters.sso, requestParameters.isCrawler, requestParameters.includeUserInfo, options).then((request) => request(axios, basePath));
|
|
2436
|
+
},
|
|
2437
|
+
/**
|
|
2438
|
+
*
|
|
2439
|
+
* @param {PublicApiGetFeedPostsStatsRequest} requestParameters Request parameters.
|
|
2440
|
+
* @param {*} [options] Override http request option.
|
|
2441
|
+
* @throws {RequiredError}
|
|
2442
|
+
*/
|
|
2443
|
+
getFeedPostsStats(requestParameters, options) {
|
|
2444
|
+
return localVarFp.getFeedPostsStats(requestParameters.tenantId, requestParameters.postIds, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2445
|
+
},
|
|
2446
|
+
/**
|
|
2447
|
+
* req tenantId urlId userIdWS
|
|
2448
|
+
* @param {PublicApiGetGlobalEventLogRequest} requestParameters Request parameters.
|
|
2449
|
+
* @param {*} [options] Override http request option.
|
|
2450
|
+
* @throws {RequiredError}
|
|
2451
|
+
*/
|
|
2452
|
+
getGlobalEventLog(requestParameters, options) {
|
|
2453
|
+
return localVarFp.getGlobalEventLog(requestParameters.tenantId, requestParameters.urlId, requestParameters.userIdWS, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
2454
|
+
},
|
|
2455
|
+
/**
|
|
2456
|
+
*
|
|
2457
|
+
* @param {PublicApiGetUserNotificationCountRequest} requestParameters Request parameters.
|
|
2458
|
+
* @param {*} [options] Override http request option.
|
|
2459
|
+
* @throws {RequiredError}
|
|
2460
|
+
*/
|
|
2461
|
+
getUserNotificationCount(requestParameters, options) {
|
|
2462
|
+
return localVarFp.getUserNotificationCount(requestParameters.tenantId, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2463
|
+
},
|
|
2464
|
+
/**
|
|
2465
|
+
*
|
|
2466
|
+
* @param {PublicApiGetUserNotificationsRequest} requestParameters Request parameters.
|
|
2467
|
+
* @param {*} [options] Override http request option.
|
|
2468
|
+
* @throws {RequiredError}
|
|
2469
|
+
*/
|
|
2470
|
+
getUserNotifications(requestParameters, options) {
|
|
2471
|
+
return localVarFp.getUserNotifications(requestParameters.tenantId, requestParameters.pageSize, requestParameters.afterId, requestParameters.includeContext, requestParameters.afterCreatedAt, requestParameters.unreadOnly, requestParameters.dmOnly, requestParameters.noDm, requestParameters.includeTranslations, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2472
|
+
},
|
|
2473
|
+
/**
|
|
2474
|
+
*
|
|
2475
|
+
* @param {PublicApiGetUserPresenceStatusesRequest} requestParameters Request parameters.
|
|
2476
|
+
* @param {*} [options] Override http request option.
|
|
2477
|
+
* @throws {RequiredError}
|
|
2478
|
+
*/
|
|
2479
|
+
getUserPresenceStatuses(requestParameters, options) {
|
|
2480
|
+
return localVarFp.getUserPresenceStatuses(requestParameters.tenantId, requestParameters.urlIdWS, requestParameters.userIds, options).then((request) => request(axios, basePath));
|
|
2481
|
+
},
|
|
2482
|
+
/**
|
|
2483
|
+
*
|
|
2484
|
+
* @param {PublicApiGetUserReactsPublicRequest} requestParameters Request parameters.
|
|
2485
|
+
* @param {*} [options] Override http request option.
|
|
2486
|
+
* @throws {RequiredError}
|
|
2487
|
+
*/
|
|
2488
|
+
getUserReactsPublic(requestParameters, options) {
|
|
2489
|
+
return localVarFp.getUserReactsPublic(requestParameters.tenantId, requestParameters.postIds, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2490
|
+
},
|
|
2491
|
+
/**
|
|
2492
|
+
*
|
|
2493
|
+
* @param {PublicApiLockCommentRequest} requestParameters Request parameters.
|
|
2494
|
+
* @param {*} [options] Override http request option.
|
|
2495
|
+
* @throws {RequiredError}
|
|
2496
|
+
*/
|
|
2497
|
+
lockComment(requestParameters, options) {
|
|
2498
|
+
return localVarFp.lockComment(requestParameters.tenantId, requestParameters.commentId, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2499
|
+
},
|
|
2500
|
+
/**
|
|
2501
|
+
*
|
|
2502
|
+
* @param {PublicApiPinCommentRequest} requestParameters Request parameters.
|
|
2503
|
+
* @param {*} [options] Override http request option.
|
|
2504
|
+
* @throws {RequiredError}
|
|
2505
|
+
*/
|
|
2506
|
+
pinComment(requestParameters, options) {
|
|
2507
|
+
return localVarFp.pinComment(requestParameters.tenantId, requestParameters.commentId, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2508
|
+
},
|
|
2509
|
+
/**
|
|
2510
|
+
*
|
|
2511
|
+
* @param {PublicApiReactFeedPostPublicRequest} requestParameters Request parameters.
|
|
2512
|
+
* @param {*} [options] Override http request option.
|
|
2513
|
+
* @throws {RequiredError}
|
|
2514
|
+
*/
|
|
2515
|
+
reactFeedPostPublic(requestParameters, options) {
|
|
2516
|
+
return localVarFp.reactFeedPostPublic(requestParameters.tenantId, requestParameters.postId, requestParameters.reactBodyParams, requestParameters.isUndo, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2517
|
+
},
|
|
2518
|
+
/**
|
|
2519
|
+
*
|
|
2520
|
+
* @param {PublicApiResetUserNotificationCountRequest} requestParameters Request parameters.
|
|
2521
|
+
* @param {*} [options] Override http request option.
|
|
2522
|
+
* @throws {RequiredError}
|
|
2523
|
+
*/
|
|
2524
|
+
resetUserNotificationCount(requestParameters, options) {
|
|
2525
|
+
return localVarFp.resetUserNotificationCount(requestParameters.tenantId, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2526
|
+
},
|
|
2527
|
+
/**
|
|
2528
|
+
*
|
|
2529
|
+
* @param {PublicApiResetUserNotificationsRequest} requestParameters Request parameters.
|
|
2530
|
+
* @param {*} [options] Override http request option.
|
|
2531
|
+
* @throws {RequiredError}
|
|
2532
|
+
*/
|
|
2533
|
+
resetUserNotifications(requestParameters, options) {
|
|
2534
|
+
return localVarFp.resetUserNotifications(requestParameters.tenantId, requestParameters.afterId, requestParameters.afterCreatedAt, requestParameters.unreadOnly, requestParameters.dmOnly, requestParameters.noDm, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2535
|
+
},
|
|
2536
|
+
/**
|
|
2537
|
+
*
|
|
2538
|
+
* @param {PublicApiSearchUsersRequest} requestParameters Request parameters.
|
|
2539
|
+
* @param {*} [options] Override http request option.
|
|
2540
|
+
* @throws {RequiredError}
|
|
2541
|
+
*/
|
|
2542
|
+
searchUsers(requestParameters, options) {
|
|
2543
|
+
return localVarFp.searchUsers(requestParameters.tenantId, requestParameters.urlId, requestParameters.usernameStartsWith, requestParameters.mentionGroupIds, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2544
|
+
},
|
|
2545
|
+
/**
|
|
2546
|
+
*
|
|
2547
|
+
* @param {PublicApiSetCommentTextRequest} requestParameters Request parameters.
|
|
2548
|
+
* @param {*} [options] Override http request option.
|
|
2549
|
+
* @throws {RequiredError}
|
|
2550
|
+
*/
|
|
2551
|
+
setCommentText(requestParameters, options) {
|
|
2552
|
+
return localVarFp.setCommentText(requestParameters.tenantId, requestParameters.commentId, requestParameters.broadcastId, requestParameters.commentTextUpdateRequest, requestParameters.editKey, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2553
|
+
},
|
|
2554
|
+
/**
|
|
2555
|
+
*
|
|
2556
|
+
* @param {PublicApiUnBlockCommentPublicRequest} requestParameters Request parameters.
|
|
2557
|
+
* @param {*} [options] Override http request option.
|
|
2558
|
+
* @throws {RequiredError}
|
|
2559
|
+
*/
|
|
2560
|
+
unBlockCommentPublic(requestParameters, options) {
|
|
2561
|
+
return localVarFp.unBlockCommentPublic(requestParameters.tenantId, requestParameters.commentId, requestParameters.publicBlockFromCommentParams, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2562
|
+
},
|
|
2563
|
+
/**
|
|
2564
|
+
*
|
|
2565
|
+
* @param {PublicApiUnLockCommentRequest} requestParameters Request parameters.
|
|
2566
|
+
* @param {*} [options] Override http request option.
|
|
2567
|
+
* @throws {RequiredError}
|
|
2568
|
+
*/
|
|
2569
|
+
unLockComment(requestParameters, options) {
|
|
2570
|
+
return localVarFp.unLockComment(requestParameters.tenantId, requestParameters.commentId, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2571
|
+
},
|
|
2572
|
+
/**
|
|
2573
|
+
*
|
|
2574
|
+
* @param {PublicApiUnPinCommentRequest} requestParameters Request parameters.
|
|
2575
|
+
* @param {*} [options] Override http request option.
|
|
2576
|
+
* @throws {RequiredError}
|
|
2577
|
+
*/
|
|
2578
|
+
unPinComment(requestParameters, options) {
|
|
2579
|
+
return localVarFp.unPinComment(requestParameters.tenantId, requestParameters.commentId, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2580
|
+
},
|
|
2581
|
+
/**
|
|
2582
|
+
*
|
|
2583
|
+
* @param {PublicApiUpdateFeedPostPublicRequest} requestParameters Request parameters.
|
|
2584
|
+
* @param {*} [options] Override http request option.
|
|
2585
|
+
* @throws {RequiredError}
|
|
2586
|
+
*/
|
|
2587
|
+
updateFeedPostPublic(requestParameters, options) {
|
|
2588
|
+
return localVarFp.updateFeedPostPublic(requestParameters.tenantId, requestParameters.postId, requestParameters.updateFeedPostParams, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2589
|
+
},
|
|
2590
|
+
/**
|
|
2591
|
+
* Enable or disable notifications for a specific comment.
|
|
2592
|
+
* @param {PublicApiUpdateUserNotificationCommentSubscriptionStatusRequest} requestParameters Request parameters.
|
|
2593
|
+
* @param {*} [options] Override http request option.
|
|
2594
|
+
* @throws {RequiredError}
|
|
2595
|
+
*/
|
|
2596
|
+
updateUserNotificationCommentSubscriptionStatus(requestParameters, options) {
|
|
2597
|
+
return localVarFp.updateUserNotificationCommentSubscriptionStatus(requestParameters.tenantId, requestParameters.notificationId, requestParameters.optedInOrOut, requestParameters.commentId, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2598
|
+
},
|
|
2599
|
+
/**
|
|
2600
|
+
* Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also
|
|
2601
|
+
* @param {PublicApiUpdateUserNotificationPageSubscriptionStatusRequest} requestParameters Request parameters.
|
|
2602
|
+
* @param {*} [options] Override http request option.
|
|
2603
|
+
* @throws {RequiredError}
|
|
2604
|
+
*/
|
|
2605
|
+
updateUserNotificationPageSubscriptionStatus(requestParameters, options) {
|
|
2606
|
+
return localVarFp.updateUserNotificationPageSubscriptionStatus(requestParameters.tenantId, requestParameters.urlId, requestParameters.url, requestParameters.pageTitle, requestParameters.subscribedOrUnsubscribed, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2607
|
+
},
|
|
2608
|
+
/**
|
|
2609
|
+
*
|
|
2610
|
+
* @param {PublicApiUpdateUserNotificationStatusRequest} requestParameters Request parameters.
|
|
2611
|
+
* @param {*} [options] Override http request option.
|
|
2612
|
+
* @throws {RequiredError}
|
|
2613
|
+
*/
|
|
2614
|
+
updateUserNotificationStatus(requestParameters, options) {
|
|
2615
|
+
return localVarFp.updateUserNotificationStatus(requestParameters.tenantId, requestParameters.notificationId, requestParameters.newStatus, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2616
|
+
},
|
|
2617
|
+
/**
|
|
2618
|
+
* Upload and resize an image
|
|
2619
|
+
* @param {PublicApiUploadImageRequest} requestParameters Request parameters.
|
|
2620
|
+
* @param {*} [options] Override http request option.
|
|
2621
|
+
* @throws {RequiredError}
|
|
2622
|
+
*/
|
|
2623
|
+
uploadImage(requestParameters, options) {
|
|
2624
|
+
return localVarFp.uploadImage(requestParameters.tenantId, requestParameters.file, requestParameters.sizePreset, requestParameters.urlId, options).then((request) => request(axios, basePath));
|
|
2625
|
+
},
|
|
2626
|
+
/**
|
|
2627
|
+
*
|
|
2628
|
+
* @param {PublicApiVoteCommentRequest} requestParameters Request parameters.
|
|
2629
|
+
* @param {*} [options] Override http request option.
|
|
2630
|
+
* @throws {RequiredError}
|
|
2631
|
+
*/
|
|
2632
|
+
voteComment(requestParameters, options) {
|
|
2633
|
+
return localVarFp.voteComment(requestParameters.tenantId, requestParameters.commentId, requestParameters.urlId, requestParameters.broadcastId, requestParameters.voteBodyParams, requestParameters.sessionId, requestParameters.sso, options).then((request) => request(axios, basePath));
|
|
2634
|
+
},
|
|
2635
|
+
};
|
|
2636
|
+
};
|
|
2637
|
+
exports.PublicApiFactory = PublicApiFactory;
|
|
2638
|
+
/**
|
|
2639
|
+
* PublicApi - object-oriented interface
|
|
2640
|
+
* @export
|
|
2641
|
+
* @class PublicApi
|
|
2642
|
+
* @extends {BaseAPI}
|
|
2643
|
+
*/
|
|
2644
|
+
class PublicApi extends base_1.BaseAPI {
|
|
2645
|
+
/**
|
|
2646
|
+
*
|
|
2647
|
+
* @param {PublicApiBlockFromCommentPublicRequest} requestParameters Request parameters.
|
|
2648
|
+
* @param {*} [options] Override http request option.
|
|
2649
|
+
* @throws {RequiredError}
|
|
2650
|
+
* @memberof PublicApi
|
|
2651
|
+
*/
|
|
2652
|
+
blockFromCommentPublic(requestParameters, options) {
|
|
2653
|
+
return (0, exports.PublicApiFp)(this.configuration).blockFromCommentPublic(requestParameters.tenantId, requestParameters.commentId, requestParameters.publicBlockFromCommentParams, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2654
|
+
}
|
|
2655
|
+
/**
|
|
2656
|
+
*
|
|
2657
|
+
* @param {PublicApiCheckedCommentsForBlockedRequest} requestParameters Request parameters.
|
|
2658
|
+
* @param {*} [options] Override http request option.
|
|
2659
|
+
* @throws {RequiredError}
|
|
2660
|
+
* @memberof PublicApi
|
|
2661
|
+
*/
|
|
2662
|
+
checkedCommentsForBlocked(requestParameters, options) {
|
|
2663
|
+
return (0, exports.PublicApiFp)(this.configuration).checkedCommentsForBlocked(requestParameters.tenantId, requestParameters.commentIds, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2664
|
+
}
|
|
2665
|
+
/**
|
|
2666
|
+
*
|
|
2667
|
+
* @param {PublicApiCreateCommentPublicRequest} requestParameters Request parameters.
|
|
2668
|
+
* @param {*} [options] Override http request option.
|
|
2669
|
+
* @throws {RequiredError}
|
|
2670
|
+
* @memberof PublicApi
|
|
2671
|
+
*/
|
|
2672
|
+
createCommentPublic(requestParameters, options) {
|
|
2673
|
+
return (0, exports.PublicApiFp)(this.configuration).createCommentPublic(requestParameters.tenantId, requestParameters.urlId, requestParameters.broadcastId, requestParameters.commentData, requestParameters.sessionId, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2674
|
+
}
|
|
2675
|
+
/**
|
|
2676
|
+
*
|
|
2677
|
+
* @param {PublicApiCreateFeedPostPublicRequest} requestParameters Request parameters.
|
|
2678
|
+
* @param {*} [options] Override http request option.
|
|
2679
|
+
* @throws {RequiredError}
|
|
2680
|
+
* @memberof PublicApi
|
|
2681
|
+
*/
|
|
2682
|
+
createFeedPostPublic(requestParameters, options) {
|
|
2683
|
+
return (0, exports.PublicApiFp)(this.configuration).createFeedPostPublic(requestParameters.tenantId, requestParameters.createFeedPostParams, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2684
|
+
}
|
|
2685
|
+
/**
|
|
2686
|
+
*
|
|
2687
|
+
* @param {PublicApiDeleteCommentPublicRequest} requestParameters Request parameters.
|
|
2688
|
+
* @param {*} [options] Override http request option.
|
|
2689
|
+
* @throws {RequiredError}
|
|
2690
|
+
* @memberof PublicApi
|
|
2691
|
+
*/
|
|
2692
|
+
deleteCommentPublic(requestParameters, options) {
|
|
2693
|
+
return (0, exports.PublicApiFp)(this.configuration).deleteCommentPublic(requestParameters.tenantId, requestParameters.commentId, requestParameters.broadcastId, requestParameters.editKey, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2694
|
+
}
|
|
2695
|
+
/**
|
|
2696
|
+
*
|
|
2697
|
+
* @param {PublicApiDeleteCommentVoteRequest} requestParameters Request parameters.
|
|
2698
|
+
* @param {*} [options] Override http request option.
|
|
2699
|
+
* @throws {RequiredError}
|
|
2700
|
+
* @memberof PublicApi
|
|
2701
|
+
*/
|
|
2702
|
+
deleteCommentVote(requestParameters, options) {
|
|
2703
|
+
return (0, exports.PublicApiFp)(this.configuration).deleteCommentVote(requestParameters.tenantId, requestParameters.commentId, requestParameters.voteId, requestParameters.urlId, requestParameters.broadcastId, requestParameters.editKey, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2704
|
+
}
|
|
2705
|
+
/**
|
|
2706
|
+
*
|
|
2707
|
+
* @param {PublicApiDeleteFeedPostPublicRequest} requestParameters Request parameters.
|
|
2708
|
+
* @param {*} [options] Override http request option.
|
|
2709
|
+
* @throws {RequiredError}
|
|
2710
|
+
* @memberof PublicApi
|
|
2711
|
+
*/
|
|
2712
|
+
deleteFeedPostPublic(requestParameters, options) {
|
|
2713
|
+
return (0, exports.PublicApiFp)(this.configuration).deleteFeedPostPublic(requestParameters.tenantId, requestParameters.postId, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2714
|
+
}
|
|
2715
|
+
/**
|
|
2716
|
+
*
|
|
2717
|
+
* @param {PublicApiFlagCommentPublicRequest} requestParameters Request parameters.
|
|
2718
|
+
* @param {*} [options] Override http request option.
|
|
2719
|
+
* @throws {RequiredError}
|
|
2720
|
+
* @memberof PublicApi
|
|
2721
|
+
*/
|
|
2722
|
+
flagCommentPublic(requestParameters, options) {
|
|
2723
|
+
return (0, exports.PublicApiFp)(this.configuration).flagCommentPublic(requestParameters.tenantId, requestParameters.commentId, requestParameters.isFlagged, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2724
|
+
}
|
|
2725
|
+
/**
|
|
2726
|
+
*
|
|
2727
|
+
* @param {PublicApiGetCommentTextRequest} requestParameters Request parameters.
|
|
2728
|
+
* @param {*} [options] Override http request option.
|
|
2729
|
+
* @throws {RequiredError}
|
|
2730
|
+
* @memberof PublicApi
|
|
2731
|
+
*/
|
|
2732
|
+
getCommentText(requestParameters, options) {
|
|
2733
|
+
return (0, exports.PublicApiFp)(this.configuration).getCommentText(requestParameters.tenantId, requestParameters.commentId, requestParameters.editKey, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2734
|
+
}
|
|
2735
|
+
/**
|
|
2736
|
+
*
|
|
2737
|
+
* @param {PublicApiGetCommentVoteUserNamesRequest} requestParameters Request parameters.
|
|
2738
|
+
* @param {*} [options] Override http request option.
|
|
2739
|
+
* @throws {RequiredError}
|
|
2740
|
+
* @memberof PublicApi
|
|
2741
|
+
*/
|
|
2742
|
+
getCommentVoteUserNames(requestParameters, options) {
|
|
2743
|
+
return (0, exports.PublicApiFp)(this.configuration).getCommentVoteUserNames(requestParameters.tenantId, requestParameters.commentId, requestParameters.dir, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2744
|
+
}
|
|
2745
|
+
/**
|
|
2746
|
+
* req tenantId urlId
|
|
2747
|
+
* @param {PublicApiGetCommentsPublicRequest} requestParameters Request parameters.
|
|
2748
|
+
* @param {*} [options] Override http request option.
|
|
2749
|
+
* @throws {RequiredError}
|
|
2750
|
+
* @memberof PublicApi
|
|
2751
|
+
*/
|
|
2752
|
+
getCommentsPublic(requestParameters, options) {
|
|
2753
|
+
return (0, exports.PublicApiFp)(this.configuration).getCommentsPublic(requestParameters.tenantId, requestParameters.urlId, requestParameters.page, requestParameters.direction, requestParameters.sso, requestParameters.skip, requestParameters.skipChildren, requestParameters.limit, requestParameters.limitChildren, requestParameters.countChildren, requestParameters.fetchPageForCommentId, requestParameters.includeConfig, requestParameters.countAll, requestParameters.includei10n, requestParameters.locale, requestParameters.modules, requestParameters.isCrawler, requestParameters.includeNotificationCount, requestParameters.asTree, requestParameters.maxTreeDepth, requestParameters.useFullTranslationIds, requestParameters.parentId, requestParameters.searchText, requestParameters.hashTags, requestParameters.userId, requestParameters.customConfigStr, requestParameters.afterCommentId, requestParameters.beforeCommentId, options).then((request) => request(this.axios, this.basePath));
|
|
2754
|
+
}
|
|
2755
|
+
/**
|
|
2756
|
+
* req tenantId urlId userIdWS
|
|
2757
|
+
* @param {PublicApiGetEventLogRequest} requestParameters Request parameters.
|
|
2758
|
+
* @param {*} [options] Override http request option.
|
|
2759
|
+
* @throws {RequiredError}
|
|
2760
|
+
* @memberof PublicApi
|
|
2761
|
+
*/
|
|
2762
|
+
getEventLog(requestParameters, options) {
|
|
2763
|
+
return (0, exports.PublicApiFp)(this.configuration).getEventLog(requestParameters.tenantId, requestParameters.urlId, requestParameters.userIdWS, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
2764
|
+
}
|
|
2765
|
+
/**
|
|
2766
|
+
* req tenantId afterId
|
|
2767
|
+
* @param {PublicApiGetFeedPostsPublicRequest} requestParameters Request parameters.
|
|
2768
|
+
* @param {*} [options] Override http request option.
|
|
2769
|
+
* @throws {RequiredError}
|
|
2770
|
+
* @memberof PublicApi
|
|
2771
|
+
*/
|
|
2772
|
+
getFeedPostsPublic(requestParameters, options) {
|
|
2773
|
+
return (0, exports.PublicApiFp)(this.configuration).getFeedPostsPublic(requestParameters.tenantId, requestParameters.afterId, requestParameters.limit, requestParameters.tags, requestParameters.sso, requestParameters.isCrawler, requestParameters.includeUserInfo, options).then((request) => request(this.axios, this.basePath));
|
|
2774
|
+
}
|
|
2775
|
+
/**
|
|
2776
|
+
*
|
|
2777
|
+
* @param {PublicApiGetFeedPostsStatsRequest} requestParameters Request parameters.
|
|
2778
|
+
* @param {*} [options] Override http request option.
|
|
2779
|
+
* @throws {RequiredError}
|
|
2780
|
+
* @memberof PublicApi
|
|
2781
|
+
*/
|
|
2782
|
+
getFeedPostsStats(requestParameters, options) {
|
|
2783
|
+
return (0, exports.PublicApiFp)(this.configuration).getFeedPostsStats(requestParameters.tenantId, requestParameters.postIds, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2784
|
+
}
|
|
2785
|
+
/**
|
|
2786
|
+
* req tenantId urlId userIdWS
|
|
2787
|
+
* @param {PublicApiGetGlobalEventLogRequest} requestParameters Request parameters.
|
|
2788
|
+
* @param {*} [options] Override http request option.
|
|
2789
|
+
* @throws {RequiredError}
|
|
2790
|
+
* @memberof PublicApi
|
|
2791
|
+
*/
|
|
2792
|
+
getGlobalEventLog(requestParameters, options) {
|
|
2793
|
+
return (0, exports.PublicApiFp)(this.configuration).getGlobalEventLog(requestParameters.tenantId, requestParameters.urlId, requestParameters.userIdWS, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
2794
|
+
}
|
|
2795
|
+
/**
|
|
2796
|
+
*
|
|
2797
|
+
* @param {PublicApiGetUserNotificationCountRequest} requestParameters Request parameters.
|
|
2798
|
+
* @param {*} [options] Override http request option.
|
|
2799
|
+
* @throws {RequiredError}
|
|
2800
|
+
* @memberof PublicApi
|
|
2801
|
+
*/
|
|
2802
|
+
getUserNotificationCount(requestParameters, options) {
|
|
2803
|
+
return (0, exports.PublicApiFp)(this.configuration).getUserNotificationCount(requestParameters.tenantId, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2804
|
+
}
|
|
2805
|
+
/**
|
|
2806
|
+
*
|
|
2807
|
+
* @param {PublicApiGetUserNotificationsRequest} requestParameters Request parameters.
|
|
2808
|
+
* @param {*} [options] Override http request option.
|
|
2809
|
+
* @throws {RequiredError}
|
|
2810
|
+
* @memberof PublicApi
|
|
2811
|
+
*/
|
|
2812
|
+
getUserNotifications(requestParameters, options) {
|
|
2813
|
+
return (0, exports.PublicApiFp)(this.configuration).getUserNotifications(requestParameters.tenantId, requestParameters.pageSize, requestParameters.afterId, requestParameters.includeContext, requestParameters.afterCreatedAt, requestParameters.unreadOnly, requestParameters.dmOnly, requestParameters.noDm, requestParameters.includeTranslations, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2814
|
+
}
|
|
2815
|
+
/**
|
|
2816
|
+
*
|
|
2817
|
+
* @param {PublicApiGetUserPresenceStatusesRequest} requestParameters Request parameters.
|
|
2818
|
+
* @param {*} [options] Override http request option.
|
|
2819
|
+
* @throws {RequiredError}
|
|
2820
|
+
* @memberof PublicApi
|
|
2821
|
+
*/
|
|
2822
|
+
getUserPresenceStatuses(requestParameters, options) {
|
|
2823
|
+
return (0, exports.PublicApiFp)(this.configuration).getUserPresenceStatuses(requestParameters.tenantId, requestParameters.urlIdWS, requestParameters.userIds, options).then((request) => request(this.axios, this.basePath));
|
|
2824
|
+
}
|
|
2825
|
+
/**
|
|
2826
|
+
*
|
|
2827
|
+
* @param {PublicApiGetUserReactsPublicRequest} requestParameters Request parameters.
|
|
2828
|
+
* @param {*} [options] Override http request option.
|
|
2829
|
+
* @throws {RequiredError}
|
|
2830
|
+
* @memberof PublicApi
|
|
2831
|
+
*/
|
|
2832
|
+
getUserReactsPublic(requestParameters, options) {
|
|
2833
|
+
return (0, exports.PublicApiFp)(this.configuration).getUserReactsPublic(requestParameters.tenantId, requestParameters.postIds, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2834
|
+
}
|
|
2835
|
+
/**
|
|
2836
|
+
*
|
|
2837
|
+
* @param {PublicApiLockCommentRequest} requestParameters Request parameters.
|
|
2838
|
+
* @param {*} [options] Override http request option.
|
|
2839
|
+
* @throws {RequiredError}
|
|
2840
|
+
* @memberof PublicApi
|
|
2841
|
+
*/
|
|
2842
|
+
lockComment(requestParameters, options) {
|
|
2843
|
+
return (0, exports.PublicApiFp)(this.configuration).lockComment(requestParameters.tenantId, requestParameters.commentId, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2844
|
+
}
|
|
2845
|
+
/**
|
|
2846
|
+
*
|
|
2847
|
+
* @param {PublicApiPinCommentRequest} requestParameters Request parameters.
|
|
2848
|
+
* @param {*} [options] Override http request option.
|
|
2849
|
+
* @throws {RequiredError}
|
|
2850
|
+
* @memberof PublicApi
|
|
2851
|
+
*/
|
|
2852
|
+
pinComment(requestParameters, options) {
|
|
2853
|
+
return (0, exports.PublicApiFp)(this.configuration).pinComment(requestParameters.tenantId, requestParameters.commentId, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2854
|
+
}
|
|
2855
|
+
/**
|
|
2856
|
+
*
|
|
2857
|
+
* @param {PublicApiReactFeedPostPublicRequest} requestParameters Request parameters.
|
|
2858
|
+
* @param {*} [options] Override http request option.
|
|
2859
|
+
* @throws {RequiredError}
|
|
2860
|
+
* @memberof PublicApi
|
|
2861
|
+
*/
|
|
2862
|
+
reactFeedPostPublic(requestParameters, options) {
|
|
2863
|
+
return (0, exports.PublicApiFp)(this.configuration).reactFeedPostPublic(requestParameters.tenantId, requestParameters.postId, requestParameters.reactBodyParams, requestParameters.isUndo, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2864
|
+
}
|
|
2865
|
+
/**
|
|
2866
|
+
*
|
|
2867
|
+
* @param {PublicApiResetUserNotificationCountRequest} requestParameters Request parameters.
|
|
2868
|
+
* @param {*} [options] Override http request option.
|
|
2869
|
+
* @throws {RequiredError}
|
|
2870
|
+
* @memberof PublicApi
|
|
2871
|
+
*/
|
|
2872
|
+
resetUserNotificationCount(requestParameters, options) {
|
|
2873
|
+
return (0, exports.PublicApiFp)(this.configuration).resetUserNotificationCount(requestParameters.tenantId, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2874
|
+
}
|
|
2875
|
+
/**
|
|
2876
|
+
*
|
|
2877
|
+
* @param {PublicApiResetUserNotificationsRequest} requestParameters Request parameters.
|
|
2878
|
+
* @param {*} [options] Override http request option.
|
|
2879
|
+
* @throws {RequiredError}
|
|
2880
|
+
* @memberof PublicApi
|
|
2881
|
+
*/
|
|
2882
|
+
resetUserNotifications(requestParameters, options) {
|
|
2883
|
+
return (0, exports.PublicApiFp)(this.configuration).resetUserNotifications(requestParameters.tenantId, requestParameters.afterId, requestParameters.afterCreatedAt, requestParameters.unreadOnly, requestParameters.dmOnly, requestParameters.noDm, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2884
|
+
}
|
|
2885
|
+
/**
|
|
2886
|
+
*
|
|
2887
|
+
* @param {PublicApiSearchUsersRequest} requestParameters Request parameters.
|
|
2888
|
+
* @param {*} [options] Override http request option.
|
|
2889
|
+
* @throws {RequiredError}
|
|
2890
|
+
* @memberof PublicApi
|
|
2891
|
+
*/
|
|
2892
|
+
searchUsers(requestParameters, options) {
|
|
2893
|
+
return (0, exports.PublicApiFp)(this.configuration).searchUsers(requestParameters.tenantId, requestParameters.urlId, requestParameters.usernameStartsWith, requestParameters.mentionGroupIds, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2894
|
+
}
|
|
2895
|
+
/**
|
|
2896
|
+
*
|
|
2897
|
+
* @param {PublicApiSetCommentTextRequest} requestParameters Request parameters.
|
|
2898
|
+
* @param {*} [options] Override http request option.
|
|
2899
|
+
* @throws {RequiredError}
|
|
2900
|
+
* @memberof PublicApi
|
|
2901
|
+
*/
|
|
2902
|
+
setCommentText(requestParameters, options) {
|
|
2903
|
+
return (0, exports.PublicApiFp)(this.configuration).setCommentText(requestParameters.tenantId, requestParameters.commentId, requestParameters.broadcastId, requestParameters.commentTextUpdateRequest, requestParameters.editKey, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2904
|
+
}
|
|
2905
|
+
/**
|
|
2906
|
+
*
|
|
2907
|
+
* @param {PublicApiUnBlockCommentPublicRequest} requestParameters Request parameters.
|
|
2908
|
+
* @param {*} [options] Override http request option.
|
|
2909
|
+
* @throws {RequiredError}
|
|
2910
|
+
* @memberof PublicApi
|
|
2911
|
+
*/
|
|
2912
|
+
unBlockCommentPublic(requestParameters, options) {
|
|
2913
|
+
return (0, exports.PublicApiFp)(this.configuration).unBlockCommentPublic(requestParameters.tenantId, requestParameters.commentId, requestParameters.publicBlockFromCommentParams, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2914
|
+
}
|
|
2915
|
+
/**
|
|
2916
|
+
*
|
|
2917
|
+
* @param {PublicApiUnLockCommentRequest} requestParameters Request parameters.
|
|
2918
|
+
* @param {*} [options] Override http request option.
|
|
2919
|
+
* @throws {RequiredError}
|
|
2920
|
+
* @memberof PublicApi
|
|
2921
|
+
*/
|
|
2922
|
+
unLockComment(requestParameters, options) {
|
|
2923
|
+
return (0, exports.PublicApiFp)(this.configuration).unLockComment(requestParameters.tenantId, requestParameters.commentId, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2924
|
+
}
|
|
2925
|
+
/**
|
|
2926
|
+
*
|
|
2927
|
+
* @param {PublicApiUnPinCommentRequest} requestParameters Request parameters.
|
|
2928
|
+
* @param {*} [options] Override http request option.
|
|
2929
|
+
* @throws {RequiredError}
|
|
2930
|
+
* @memberof PublicApi
|
|
2931
|
+
*/
|
|
2932
|
+
unPinComment(requestParameters, options) {
|
|
2933
|
+
return (0, exports.PublicApiFp)(this.configuration).unPinComment(requestParameters.tenantId, requestParameters.commentId, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2934
|
+
}
|
|
2935
|
+
/**
|
|
2936
|
+
*
|
|
2937
|
+
* @param {PublicApiUpdateFeedPostPublicRequest} requestParameters Request parameters.
|
|
2938
|
+
* @param {*} [options] Override http request option.
|
|
2939
|
+
* @throws {RequiredError}
|
|
2940
|
+
* @memberof PublicApi
|
|
2941
|
+
*/
|
|
2942
|
+
updateFeedPostPublic(requestParameters, options) {
|
|
2943
|
+
return (0, exports.PublicApiFp)(this.configuration).updateFeedPostPublic(requestParameters.tenantId, requestParameters.postId, requestParameters.updateFeedPostParams, requestParameters.broadcastId, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2944
|
+
}
|
|
2945
|
+
/**
|
|
2946
|
+
* Enable or disable notifications for a specific comment.
|
|
2947
|
+
* @param {PublicApiUpdateUserNotificationCommentSubscriptionStatusRequest} requestParameters Request parameters.
|
|
2948
|
+
* @param {*} [options] Override http request option.
|
|
2949
|
+
* @throws {RequiredError}
|
|
2950
|
+
* @memberof PublicApi
|
|
2951
|
+
*/
|
|
2952
|
+
updateUserNotificationCommentSubscriptionStatus(requestParameters, options) {
|
|
2953
|
+
return (0, exports.PublicApiFp)(this.configuration).updateUserNotificationCommentSubscriptionStatus(requestParameters.tenantId, requestParameters.notificationId, requestParameters.optedInOrOut, requestParameters.commentId, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2954
|
+
}
|
|
2955
|
+
/**
|
|
2956
|
+
* Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also
|
|
2957
|
+
* @param {PublicApiUpdateUserNotificationPageSubscriptionStatusRequest} requestParameters Request parameters.
|
|
2958
|
+
* @param {*} [options] Override http request option.
|
|
2959
|
+
* @throws {RequiredError}
|
|
2960
|
+
* @memberof PublicApi
|
|
2961
|
+
*/
|
|
2962
|
+
updateUserNotificationPageSubscriptionStatus(requestParameters, options) {
|
|
2963
|
+
return (0, exports.PublicApiFp)(this.configuration).updateUserNotificationPageSubscriptionStatus(requestParameters.tenantId, requestParameters.urlId, requestParameters.url, requestParameters.pageTitle, requestParameters.subscribedOrUnsubscribed, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2964
|
+
}
|
|
2965
|
+
/**
|
|
2966
|
+
*
|
|
2967
|
+
* @param {PublicApiUpdateUserNotificationStatusRequest} requestParameters Request parameters.
|
|
2968
|
+
* @param {*} [options] Override http request option.
|
|
2969
|
+
* @throws {RequiredError}
|
|
2970
|
+
* @memberof PublicApi
|
|
2971
|
+
*/
|
|
2972
|
+
updateUserNotificationStatus(requestParameters, options) {
|
|
2973
|
+
return (0, exports.PublicApiFp)(this.configuration).updateUserNotificationStatus(requestParameters.tenantId, requestParameters.notificationId, requestParameters.newStatus, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2974
|
+
}
|
|
2975
|
+
/**
|
|
2976
|
+
* Upload and resize an image
|
|
2977
|
+
* @param {PublicApiUploadImageRequest} requestParameters Request parameters.
|
|
2978
|
+
* @param {*} [options] Override http request option.
|
|
2979
|
+
* @throws {RequiredError}
|
|
2980
|
+
* @memberof PublicApi
|
|
2981
|
+
*/
|
|
2982
|
+
uploadImage(requestParameters, options) {
|
|
2983
|
+
return (0, exports.PublicApiFp)(this.configuration).uploadImage(requestParameters.tenantId, requestParameters.file, requestParameters.sizePreset, requestParameters.urlId, options).then((request) => request(this.axios, this.basePath));
|
|
2984
|
+
}
|
|
2985
|
+
/**
|
|
2986
|
+
*
|
|
2987
|
+
* @param {PublicApiVoteCommentRequest} requestParameters Request parameters.
|
|
2988
|
+
* @param {*} [options] Override http request option.
|
|
2989
|
+
* @throws {RequiredError}
|
|
2990
|
+
* @memberof PublicApi
|
|
2991
|
+
*/
|
|
2992
|
+
voteComment(requestParameters, options) {
|
|
2993
|
+
return (0, exports.PublicApiFp)(this.configuration).voteComment(requestParameters.tenantId, requestParameters.commentId, requestParameters.urlId, requestParameters.broadcastId, requestParameters.voteBodyParams, requestParameters.sessionId, requestParameters.sso, options).then((request) => request(this.axios, this.basePath));
|
|
2994
|
+
}
|
|
2995
|
+
}
|
|
2996
|
+
exports.PublicApi = PublicApi;
|
|
2997
|
+
/**
|
|
2998
|
+
* @export
|
|
2999
|
+
* @enum {string}
|
|
3000
|
+
*/
|
|
3001
|
+
var UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum;
|
|
3002
|
+
(function (UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum) {
|
|
3003
|
+
UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum["in"] = "in";
|
|
3004
|
+
UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum["out"] = "out";
|
|
3005
|
+
})(UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum || (exports.UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum = UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum = {}));
|
|
3006
|
+
/**
|
|
3007
|
+
* @export
|
|
3008
|
+
* @enum {string}
|
|
3009
|
+
*/
|
|
3010
|
+
var UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum;
|
|
3011
|
+
(function (UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum) {
|
|
3012
|
+
UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum["subscribe"] = "subscribe";
|
|
3013
|
+
UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum["unsubscribe"] = "unsubscribe";
|
|
3014
|
+
})(UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum || (exports.UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum = UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum = {}));
|
|
3015
|
+
/**
|
|
3016
|
+
* @export
|
|
3017
|
+
* @enum {string}
|
|
3018
|
+
*/
|
|
3019
|
+
var UpdateUserNotificationStatusNewStatusEnum;
|
|
3020
|
+
(function (UpdateUserNotificationStatusNewStatusEnum) {
|
|
3021
|
+
UpdateUserNotificationStatusNewStatusEnum["read"] = "read";
|
|
3022
|
+
UpdateUserNotificationStatusNewStatusEnum["unread"] = "unread";
|
|
3023
|
+
})(UpdateUserNotificationStatusNewStatusEnum || (exports.UpdateUserNotificationStatusNewStatusEnum = UpdateUserNotificationStatusNewStatusEnum = {}));
|
|
3024
|
+
//# sourceMappingURL=public-api.js.map
|