@halo-dev/api-client 2.15.0 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -11
- package/dist/entry/api-client.d.ts +348 -0
- package/dist/entry/index.d.ts +2 -0
- package/dist/halo-api-client.es.js +20971 -0
- package/dist/halo-api-client.es.js.map +1 -0
- package/dist/halo-api-client.iife.js +2 -0
- package/dist/halo-api-client.iife.js.map +1 -0
- package/dist/src/api/annotation-setting-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/api-notification-halo-run-v1alpha1-subscription-api.d.ts +80 -0
- package/dist/src/api/attachment-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/attachment-v1alpha1-console-api.d.ts +187 -0
- package/dist/src/api/attachment-v1alpha1-uc-api.d.ts +97 -0
- package/dist/src/api/auth-provider-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/auth-provider-v1alpha1-console-api.d.ts +140 -0
- package/dist/src/api/backup-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/category-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/category-v1alpha1-public-api.d.ts +229 -0
- package/dist/src/api/comment-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/comment-v1alpha1-console-api.d.ts +221 -0
- package/dist/src/api/comment-v1alpha1-public-api.d.ts +329 -0
- package/dist/src/api/config-map-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/counter-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/device-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/device-v1alpha1-uc-api.d.ts +98 -0
- package/dist/src/api/extension-definition-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/extension-point-definition-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/group-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/index-v1alpha1-public-api.d.ts +143 -0
- package/dist/src/api/indices-v1alpha1-console-api.d.ts +84 -0
- package/dist/src/api/login-api.d.ts +56 -0
- package/dist/src/api/menu-item-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/menu-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/menu-v1alpha1-public-api.d.ts +98 -0
- package/dist/src/api/metrics-v1alpha1-public-api.d.ts +157 -0
- package/dist/src/api/migration-v1alpha1-console-api.d.ts +138 -0
- package/dist/src/api/notification-template-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/notification-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/notification-v1alpha1-uc-api.d.ts +363 -0
- package/dist/src/api/notifier-descriptor-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/notifier-v1alpha1-console-api.d.ts +165 -0
- package/dist/src/api/notifier-v1alpha1-uc-api.d.ts +122 -0
- package/dist/src/api/personal-access-token-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/personal-access-token-v1alpha1-uc-api.d.ts +266 -0
- package/dist/src/api/plugin-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/plugin-v1alpha1-console-api.d.ts +698 -0
- package/dist/src/api/plugin-v1alpha1-public-api.d.ts +72 -0
- package/dist/src/api/policy-template-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/policy-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/post-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/post-v1alpha1-console-api.d.ts +699 -0
- package/dist/src/api/post-v1alpha1-public-api.d.ts +189 -0
- package/dist/src/api/post-v1alpha1-uc-api.d.ts +457 -0
- package/dist/src/api/reason-type-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/reason-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/remember-me-token-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/reply-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/reply-v1alpha1-console-api.d.ts +113 -0
- package/dist/src/api/reverse-proxy-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/role-binding-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/role-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/search-engine-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/secret-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/setting-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/single-page-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/single-page-v1alpha1-console-api.d.ts +616 -0
- package/dist/src/api/single-page-v1alpha1-public-api.d.ts +147 -0
- package/dist/src/api/snapshot-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/snapshot-v1alpha1-uc-api.d.ts +89 -0
- package/dist/src/api/subscription-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/system-v1alpha1-console-api.d.ts +98 -0
- package/dist/src/api/system-v1alpha1-public-api.d.ts +56 -0
- package/dist/src/api/tag-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/tag-v1alpha1-console-api.d.ts +113 -0
- package/dist/src/api/tag-v1alpha1-public-api.d.ts +229 -0
- package/dist/src/api/theme-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/theme-v1alpha1-console-api.d.ts +599 -0
- package/dist/src/api/two-factor-auth-v1alpha1-uc-api.d.ts +249 -0
- package/dist/src/api/user-connection-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/user-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/user-v1alpha1-console-api.d.ts +632 -0
- package/dist/src/api/user-v1alpha1-public-api.d.ts +207 -0
- package/dist/src/api.d.ts +85 -0
- package/dist/src/base.d.ts +56 -0
- package/dist/src/common.d.ts +55 -0
- package/dist/src/configuration.d.ts +91 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/models/add-operation.d.ts +40 -0
- package/dist/src/models/annotation-setting-list.d.ts +63 -0
- package/dist/src/models/annotation-setting-spec.d.ts +21 -0
- package/dist/src/models/annotation-setting.d.ts +34 -0
- package/dist/src/models/attachment-list.d.ts +63 -0
- package/dist/src/models/attachment-spec.d.ts +60 -0
- package/dist/src/models/attachment-status.d.ts +24 -0
- package/dist/src/models/attachment.d.ts +41 -0
- package/dist/src/models/auth-provider-list.d.ts +63 -0
- package/dist/src/models/auth-provider-spec.d.ts +76 -0
- package/dist/src/models/auth-provider.d.ts +34 -0
- package/dist/src/models/author.d.ts +30 -0
- package/dist/src/models/backup-list.d.ts +63 -0
- package/dist/src/models/backup-spec.d.ts +30 -0
- package/dist/src/models/backup-status.d.ts +67 -0
- package/dist/src/models/backup.d.ts +41 -0
- package/dist/src/models/category-list.d.ts +63 -0
- package/dist/src/models/category-spec.d.ts +78 -0
- package/dist/src/models/category-status.d.ts +36 -0
- package/dist/src/models/category-vo-list.d.ts +63 -0
- package/dist/src/models/category-vo.d.ts +35 -0
- package/dist/src/models/category.d.ts +41 -0
- package/dist/src/models/change-own-password-request.d.ts +30 -0
- package/dist/src/models/change-password-request.d.ts +24 -0
- package/dist/src/models/comment-email-owner.d.ts +42 -0
- package/dist/src/models/comment-list.d.ts +63 -0
- package/dist/src/models/comment-owner.d.ts +44 -0
- package/dist/src/models/comment-request.d.ts +40 -0
- package/dist/src/models/comment-spec.d.ts +94 -0
- package/dist/src/models/comment-stats-vo.d.ts +24 -0
- package/dist/src/models/comment-stats.d.ts +24 -0
- package/dist/src/models/comment-status.d.ts +54 -0
- package/dist/src/models/comment-vo-list.d.ts +63 -0
- package/dist/src/models/comment-vo.d.ts +43 -0
- package/dist/src/models/comment-with-reply-vo-list.d.ts +63 -0
- package/dist/src/models/comment-with-reply-vo.d.ts +50 -0
- package/dist/src/models/comment.d.ts +41 -0
- package/dist/src/models/condition.d.ts +54 -0
- package/dist/src/models/config-map-list.d.ts +63 -0
- package/dist/src/models/config-map-ref.d.ts +24 -0
- package/dist/src/models/config-map.d.ts +35 -0
- package/dist/src/models/content-update-param.d.ts +42 -0
- package/dist/src/models/content-vo.d.ts +30 -0
- package/dist/src/models/content-wrapper.d.ts +42 -0
- package/dist/src/models/content.d.ts +36 -0
- package/dist/src/models/contributor-vo.d.ts +45 -0
- package/dist/src/models/contributor.d.ts +36 -0
- package/dist/src/models/copy-operation.d.ts +40 -0
- package/dist/src/models/counter-list.d.ts +63 -0
- package/dist/src/models/counter-request.d.ts +60 -0
- package/dist/src/models/counter.d.ts +57 -0
- package/dist/src/models/create-user-request.d.ts +74 -0
- package/dist/src/models/custom-templates.d.ts +27 -0
- package/dist/src/models/dashboard-stats.d.ts +54 -0
- package/dist/src/models/detailed-user.d.ts +22 -0
- package/dist/src/models/device-list.d.ts +63 -0
- package/dist/src/models/device-spec.d.ts +60 -0
- package/dist/src/models/device-status.d.ts +30 -0
- package/dist/src/models/device.d.ts +41 -0
- package/dist/src/models/email-config-validation-request.d.ts +66 -0
- package/dist/src/models/email-verify-request.d.ts +24 -0
- package/dist/src/models/excerpt.d.ts +30 -0
- package/dist/src/models/extension-definition-list.d.ts +63 -0
- package/dist/src/models/extension-definition.d.ts +34 -0
- package/dist/src/models/extension-point-definition-list.d.ts +63 -0
- package/dist/src/models/extension-point-definition.d.ts +34 -0
- package/dist/src/models/extension-point-spec.d.ts +53 -0
- package/dist/src/models/extension-spec.d.ts +48 -0
- package/dist/src/models/extension.d.ts +27 -0
- package/dist/src/models/file-reverse-proxy-provider.d.ts +30 -0
- package/dist/src/models/grant-request.d.ts +24 -0
- package/dist/src/models/group-kind.d.ts +30 -0
- package/dist/src/models/group-list.d.ts +63 -0
- package/dist/src/models/group-spec.d.ts +24 -0
- package/dist/src/models/group-status.d.ts +30 -0
- package/dist/src/models/group.d.ts +41 -0
- package/dist/src/models/halo-document.d.ts +116 -0
- package/dist/src/models/index.d.ts +249 -0
- package/dist/src/models/install-from-uri-request.d.ts +24 -0
- package/dist/src/models/interest-reason-subject.d.ts +36 -0
- package/dist/src/models/interest-reason.d.ts +27 -0
- package/dist/src/models/json-patch-inner.d.ts +12 -0
- package/dist/src/models/license.d.ts +30 -0
- package/dist/src/models/list-result-reply-vo.d.ts +63 -0
- package/dist/src/models/listed-auth-provider.d.ts +96 -0
- package/dist/src/models/listed-comment-list.d.ts +63 -0
- package/dist/src/models/listed-comment.d.ts +36 -0
- package/dist/src/models/listed-post-list.d.ts +63 -0
- package/dist/src/models/listed-post-vo-list.d.ts +63 -0
- package/dist/src/models/listed-post-vo.d.ts +63 -0
- package/dist/src/models/listed-post.d.ts +49 -0
- package/dist/src/models/listed-reply-list.d.ts +63 -0
- package/dist/src/models/listed-reply.d.ts +29 -0
- package/dist/src/models/listed-single-page-list.d.ts +63 -0
- package/dist/src/models/listed-single-page-vo-list.d.ts +63 -0
- package/dist/src/models/listed-single-page-vo.d.ts +49 -0
- package/dist/src/models/listed-single-page.d.ts +35 -0
- package/dist/src/models/listed-snapshot-dto.d.ts +22 -0
- package/dist/src/models/listed-snapshot-spec.d.ts +30 -0
- package/dist/src/models/listed-user.d.ts +22 -0
- package/dist/src/models/login-history.d.ts +48 -0
- package/dist/src/models/mark-specified-request.d.ts +24 -0
- package/dist/src/models/menu-item-list.d.ts +63 -0
- package/dist/src/models/menu-item-spec.d.ts +52 -0
- package/dist/src/models/menu-item-status.d.ts +30 -0
- package/dist/src/models/menu-item-vo.d.ts +41 -0
- package/dist/src/models/menu-item.d.ts +41 -0
- package/dist/src/models/menu-list.d.ts +63 -0
- package/dist/src/models/menu-spec.d.ts +30 -0
- package/dist/src/models/menu-vo.d.ts +29 -0
- package/dist/src/models/menu.d.ts +34 -0
- package/dist/src/models/metadata.d.ts +70 -0
- package/dist/src/models/move-operation.d.ts +40 -0
- package/dist/src/models/navigation-post-vo.d.ts +27 -0
- package/dist/src/models/notification-list.d.ts +63 -0
- package/dist/src/models/notification-spec.d.ts +60 -0
- package/dist/src/models/notification-template-list.d.ts +63 -0
- package/dist/src/models/notification-template-spec.d.ts +22 -0
- package/dist/src/models/notification-template.d.ts +34 -0
- package/dist/src/models/notification.d.ts +34 -0
- package/dist/src/models/notifier-descriptor-list.d.ts +63 -0
- package/dist/src/models/notifier-descriptor-spec.d.ts +39 -0
- package/dist/src/models/notifier-descriptor.d.ts +34 -0
- package/dist/src/models/notifier-info.d.ts +36 -0
- package/dist/src/models/notifier-setting-ref.d.ts +30 -0
- package/dist/src/models/owner-info.d.ts +48 -0
- package/dist/src/models/password-request.d.ts +24 -0
- package/dist/src/models/password-reset-email-request.d.ts +30 -0
- package/dist/src/models/pat-spec.d.ts +78 -0
- package/dist/src/models/personal-access-token-list.d.ts +63 -0
- package/dist/src/models/personal-access-token.d.ts +34 -0
- package/dist/src/models/plugin-author.d.ts +30 -0
- package/dist/src/models/plugin-list.d.ts +63 -0
- package/dist/src/models/plugin-running-state-request.d.ts +30 -0
- package/dist/src/models/plugin-spec.d.ts +103 -0
- package/dist/src/models/plugin-status.d.ts +80 -0
- package/dist/src/models/plugin.d.ts +41 -0
- package/dist/src/models/policy-list.d.ts +63 -0
- package/dist/src/models/policy-rule.d.ts +48 -0
- package/dist/src/models/policy-spec.d.ts +36 -0
- package/dist/src/models/policy-template-list.d.ts +63 -0
- package/dist/src/models/policy-template-spec.d.ts +30 -0
- package/dist/src/models/policy-template.d.ts +34 -0
- package/dist/src/models/policy.d.ts +34 -0
- package/dist/src/models/post-list.d.ts +63 -0
- package/dist/src/models/post-request.d.ts +22 -0
- package/dist/src/models/post-spec.d.ts +131 -0
- package/dist/src/models/post-status.d.ts +69 -0
- package/dist/src/models/post-vo.d.ts +70 -0
- package/dist/src/models/post.d.ts +41 -0
- package/dist/src/models/public-key-response.d.ts +24 -0
- package/dist/src/models/reason-list.d.ts +63 -0
- package/dist/src/models/reason-property.d.ts +42 -0
- package/dist/src/models/reason-selector.d.ts +30 -0
- package/dist/src/models/reason-spec-attributes.d.ts +24 -0
- package/dist/src/models/reason-spec.d.ts +34 -0
- package/dist/src/models/reason-subject.d.ts +48 -0
- package/dist/src/models/reason-type-info.d.ts +42 -0
- package/dist/src/models/reason-type-list.d.ts +63 -0
- package/dist/src/models/reason-type-notifier-collection-request.d.ts +15 -0
- package/dist/src/models/reason-type-notifier-matrix.d.ts +28 -0
- package/dist/src/models/reason-type-notifier-request.d.ts +30 -0
- package/dist/src/models/reason-type-spec.d.ts +27 -0
- package/dist/src/models/reason-type.d.ts +34 -0
- package/dist/src/models/reason.d.ts +34 -0
- package/dist/src/models/ref.d.ts +42 -0
- package/dist/src/models/register-verify-email-request.d.ts +24 -0
- package/dist/src/models/remember-me-token-list.d.ts +63 -0
- package/dist/src/models/remember-me-token-spec.d.ts +42 -0
- package/dist/src/models/remember-me-token.d.ts +34 -0
- package/dist/src/models/remove-operation.d.ts +34 -0
- package/dist/src/models/replace-operation.d.ts +40 -0
- package/dist/src/models/reply-list.d.ts +63 -0
- package/dist/src/models/reply-request.d.ts +39 -0
- package/dist/src/models/reply-spec.d.ts +93 -0
- package/dist/src/models/reply-status.d.ts +24 -0
- package/dist/src/models/reply-vo-list.d.ts +63 -0
- package/dist/src/models/reply-vo.d.ts +36 -0
- package/dist/src/models/reply.d.ts +41 -0
- package/dist/src/models/reset-password-request.d.ts +30 -0
- package/dist/src/models/reverse-proxy-list.d.ts +63 -0
- package/dist/src/models/reverse-proxy-rule.d.ts +21 -0
- package/dist/src/models/reverse-proxy.d.ts +34 -0
- package/dist/src/models/revert-snapshot-for-post-param.d.ts +24 -0
- package/dist/src/models/revert-snapshot-for-single-param.d.ts +24 -0
- package/dist/src/models/role-binding-list.d.ts +63 -0
- package/dist/src/models/role-binding.d.ts +41 -0
- package/dist/src/models/role-list.d.ts +63 -0
- package/dist/src/models/role-ref.d.ts +36 -0
- package/dist/src/models/role.d.ts +34 -0
- package/dist/src/models/search-engine-list.d.ts +63 -0
- package/dist/src/models/search-engine-spec.d.ts +45 -0
- package/dist/src/models/search-engine.d.ts +34 -0
- package/dist/src/models/search-option.d.ts +92 -0
- package/dist/src/models/search-result.d.ts +39 -0
- package/dist/src/models/secret-list.d.ts +63 -0
- package/dist/src/models/secret.d.ts +49 -0
- package/dist/src/models/setting-form.d.ts +36 -0
- package/dist/src/models/setting-list.d.ts +63 -0
- package/dist/src/models/setting-ref.d.ts +30 -0
- package/dist/src/models/setting-spec.d.ts +15 -0
- package/dist/src/models/setting.d.ts +34 -0
- package/dist/src/models/sign-up-request.d.ts +27 -0
- package/dist/src/models/single-page-list.d.ts +63 -0
- package/dist/src/models/single-page-request.d.ts +22 -0
- package/dist/src/models/single-page-spec.d.ts +119 -0
- package/dist/src/models/single-page-status.d.ts +69 -0
- package/dist/src/models/single-page-vo.d.ts +56 -0
- package/dist/src/models/single-page.d.ts +41 -0
- package/dist/src/models/site-stats-vo.d.ts +48 -0
- package/dist/src/models/snap-shot-spec.d.ts +57 -0
- package/dist/src/models/snapshot-list.d.ts +63 -0
- package/dist/src/models/snapshot.d.ts +34 -0
- package/dist/src/models/stats-vo.d.ts +36 -0
- package/dist/src/models/stats.d.ts +42 -0
- package/dist/src/models/subject.d.ts +36 -0
- package/dist/src/models/subscription-list.d.ts +63 -0
- package/dist/src/models/subscription-spec.d.ts +34 -0
- package/dist/src/models/subscription-subscriber.d.ts +24 -0
- package/dist/src/models/subscription.d.ts +34 -0
- package/dist/src/models/system-initialization-request.d.ts +42 -0
- package/dist/src/models/tag-list.d.ts +63 -0
- package/dist/src/models/tag-spec.d.ts +42 -0
- package/dist/src/models/tag-status.d.ts +42 -0
- package/dist/src/models/tag-vo-list.d.ts +63 -0
- package/dist/src/models/tag-vo.d.ts +35 -0
- package/dist/src/models/tag.d.ts +41 -0
- package/dist/src/models/template-content.d.ts +36 -0
- package/dist/src/models/template-descriptor.d.ts +42 -0
- package/dist/src/models/test-operation.d.ts +40 -0
- package/dist/src/models/theme-list.d.ts +63 -0
- package/dist/src/models/theme-spec.d.ts +103 -0
- package/dist/src/models/theme-status.d.ts +33 -0
- package/dist/src/models/theme.d.ts +41 -0
- package/dist/src/models/totp-auth-link-response.d.ts +30 -0
- package/dist/src/models/totp-request.d.ts +36 -0
- package/dist/src/models/two-factor-auth-settings.d.ts +42 -0
- package/dist/src/models/upgrade-from-uri-request.d.ts +24 -0
- package/dist/src/models/user-connection-list.d.ts +63 -0
- package/dist/src/models/user-connection-spec.d.ts +78 -0
- package/dist/src/models/user-connection.d.ts +34 -0
- package/dist/src/models/user-device.d.ts +27 -0
- package/dist/src/models/user-endpoint-listed-user-list.d.ts +63 -0
- package/dist/src/models/user-list.d.ts +63 -0
- package/dist/src/models/user-permission.d.ts +27 -0
- package/dist/src/models/user-spec.d.ts +90 -0
- package/dist/src/models/user-status.d.ts +27 -0
- package/dist/src/models/user.d.ts +41 -0
- package/dist/src/models/verify-code-request.d.ts +30 -0
- package/dist/src/models/vote-request.d.ts +36 -0
- package/package.json +28 -30
- package/dist/index.cjs +0 -13742
- package/dist/index.d.ts +0 -30491
- package/dist/index.mjs +0 -13423
|
@@ -0,0 +1,699 @@
|
|
|
1
|
+
import { Configuration } from '../configuration';
|
|
2
|
+
import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
3
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
4
|
+
import { Content, ContentWrapper, ListedPostList, ListedSnapshotDto, Post, PostRequest, RevertSnapshotForPostParam } from '../models';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* PostV1alpha1ConsoleApi - axios parameter creator
|
|
8
|
+
* @export
|
|
9
|
+
*/
|
|
10
|
+
export declare const PostV1alpha1ConsoleApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
11
|
+
/**
|
|
12
|
+
* Delete a content for post.
|
|
13
|
+
* @param {string} name
|
|
14
|
+
* @param {string} snapshotName
|
|
15
|
+
* @param {*} [options] Override http request option.
|
|
16
|
+
* @throws {RequiredError}
|
|
17
|
+
*/
|
|
18
|
+
deletePostContent: (name: string, snapshotName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19
|
+
/**
|
|
20
|
+
* Draft a post.
|
|
21
|
+
* @param {PostRequest} postRequest
|
|
22
|
+
* @param {*} [options] Override http request option.
|
|
23
|
+
* @throws {RequiredError}
|
|
24
|
+
*/
|
|
25
|
+
draftPost: (postRequest: PostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26
|
+
/**
|
|
27
|
+
* Fetch content of post.
|
|
28
|
+
* @param {string} name
|
|
29
|
+
* @param {string} snapshotName
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
fetchPostContent: (name: string, snapshotName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
/**
|
|
35
|
+
* Fetch head content of post.
|
|
36
|
+
* @param {string} name
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
fetchPostHeadContent: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
+
/**
|
|
42
|
+
* Fetch release content of post.
|
|
43
|
+
* @param {string} name
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
fetchPostReleaseContent: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
|
+
/**
|
|
49
|
+
* List all snapshots for post content.
|
|
50
|
+
* @param {string} name
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
listPostSnapshots: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
|
+
/**
|
|
56
|
+
* List posts.
|
|
57
|
+
* @param {number} [page] Page number. Default is 0.
|
|
58
|
+
* @param {number} [size] Size number. Default is 0.
|
|
59
|
+
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
60
|
+
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
61
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
62
|
+
* @param {ListPostsPublishPhaseEnum} [publishPhase] Posts filtered by publish phase.
|
|
63
|
+
* @param {string} [keyword] Posts filtered by keyword.
|
|
64
|
+
* @param {string} [categoryWithChildren] Posts filtered by category including sub-categories.
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
listPosts: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, publishPhase?: ListPostsPublishPhaseEnum, keyword?: string, categoryWithChildren?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
/**
|
|
70
|
+
* Publish a post.
|
|
71
|
+
* @param {string} name
|
|
72
|
+
* @param {string} [headSnapshot] Head snapshot name of content.
|
|
73
|
+
* @param {boolean} [async]
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
publishPost: (name: string, headSnapshot?: string, async?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
|
+
/**
|
|
79
|
+
* Recycle a post.
|
|
80
|
+
* @param {string} name
|
|
81
|
+
* @param {*} [options] Override http request option.
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
*/
|
|
84
|
+
recyclePost: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
|
+
/**
|
|
86
|
+
* Revert to specified snapshot for post content.
|
|
87
|
+
* @param {string} name
|
|
88
|
+
* @param {RevertSnapshotForPostParam} revertSnapshotForPostParam
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
revertToSpecifiedSnapshotForPost: (name: string, revertSnapshotForPostParam: RevertSnapshotForPostParam, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
93
|
+
/**
|
|
94
|
+
* Publish a post.
|
|
95
|
+
* @param {string} name
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
unpublishPost: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
|
+
/**
|
|
101
|
+
* Update a post.
|
|
102
|
+
* @param {string} name
|
|
103
|
+
* @param {PostRequest} postRequest
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
updateDraftPost: (name: string, postRequest: PostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
108
|
+
/**
|
|
109
|
+
* Update a post\'s content.
|
|
110
|
+
* @param {string} name
|
|
111
|
+
* @param {Content} content
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
updatePostContent: (name: string, content: Content, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* PostV1alpha1ConsoleApi - functional programming interface
|
|
119
|
+
* @export
|
|
120
|
+
*/
|
|
121
|
+
export declare const PostV1alpha1ConsoleApiFp: (configuration?: Configuration) => {
|
|
122
|
+
/**
|
|
123
|
+
* Delete a content for post.
|
|
124
|
+
* @param {string} name
|
|
125
|
+
* @param {string} snapshotName
|
|
126
|
+
* @param {*} [options] Override http request option.
|
|
127
|
+
* @throws {RequiredError}
|
|
128
|
+
*/
|
|
129
|
+
deletePostContent(name: string, snapshotName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContentWrapper>>;
|
|
130
|
+
/**
|
|
131
|
+
* Draft a post.
|
|
132
|
+
* @param {PostRequest} postRequest
|
|
133
|
+
* @param {*} [options] Override http request option.
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
*/
|
|
136
|
+
draftPost(postRequest: PostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
137
|
+
/**
|
|
138
|
+
* Fetch content of post.
|
|
139
|
+
* @param {string} name
|
|
140
|
+
* @param {string} snapshotName
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
fetchPostContent(name: string, snapshotName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContentWrapper>>;
|
|
145
|
+
/**
|
|
146
|
+
* Fetch head content of post.
|
|
147
|
+
* @param {string} name
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
*/
|
|
151
|
+
fetchPostHeadContent(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContentWrapper>>;
|
|
152
|
+
/**
|
|
153
|
+
* Fetch release content of post.
|
|
154
|
+
* @param {string} name
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
fetchPostReleaseContent(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContentWrapper>>;
|
|
159
|
+
/**
|
|
160
|
+
* List all snapshots for post content.
|
|
161
|
+
* @param {string} name
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
listPostSnapshots(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListedSnapshotDto>>>;
|
|
166
|
+
/**
|
|
167
|
+
* List posts.
|
|
168
|
+
* @param {number} [page] Page number. Default is 0.
|
|
169
|
+
* @param {number} [size] Size number. Default is 0.
|
|
170
|
+
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
171
|
+
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
172
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
173
|
+
* @param {ListPostsPublishPhaseEnum} [publishPhase] Posts filtered by publish phase.
|
|
174
|
+
* @param {string} [keyword] Posts filtered by keyword.
|
|
175
|
+
* @param {string} [categoryWithChildren] Posts filtered by category including sub-categories.
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
listPosts(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, publishPhase?: ListPostsPublishPhaseEnum, keyword?: string, categoryWithChildren?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedPostList>>;
|
|
180
|
+
/**
|
|
181
|
+
* Publish a post.
|
|
182
|
+
* @param {string} name
|
|
183
|
+
* @param {string} [headSnapshot] Head snapshot name of content.
|
|
184
|
+
* @param {boolean} [async]
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
publishPost(name: string, headSnapshot?: string, async?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
189
|
+
/**
|
|
190
|
+
* Recycle a post.
|
|
191
|
+
* @param {string} name
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
*/
|
|
195
|
+
recyclePost(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
196
|
+
/**
|
|
197
|
+
* Revert to specified snapshot for post content.
|
|
198
|
+
* @param {string} name
|
|
199
|
+
* @param {RevertSnapshotForPostParam} revertSnapshotForPostParam
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
revertToSpecifiedSnapshotForPost(name: string, revertSnapshotForPostParam: RevertSnapshotForPostParam, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
204
|
+
/**
|
|
205
|
+
* Publish a post.
|
|
206
|
+
* @param {string} name
|
|
207
|
+
* @param {*} [options] Override http request option.
|
|
208
|
+
* @throws {RequiredError}
|
|
209
|
+
*/
|
|
210
|
+
unpublishPost(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
211
|
+
/**
|
|
212
|
+
* Update a post.
|
|
213
|
+
* @param {string} name
|
|
214
|
+
* @param {PostRequest} postRequest
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
updateDraftPost(name: string, postRequest: PostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
219
|
+
/**
|
|
220
|
+
* Update a post\'s content.
|
|
221
|
+
* @param {string} name
|
|
222
|
+
* @param {Content} content
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
updatePostContent(name: string, content: Content, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* PostV1alpha1ConsoleApi - factory interface
|
|
230
|
+
* @export
|
|
231
|
+
*/
|
|
232
|
+
export declare const PostV1alpha1ConsoleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
233
|
+
/**
|
|
234
|
+
* Delete a content for post.
|
|
235
|
+
* @param {PostV1alpha1ConsoleApiDeletePostContentRequest} requestParameters Request parameters.
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
*/
|
|
239
|
+
deletePostContent(requestParameters: PostV1alpha1ConsoleApiDeletePostContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContentWrapper>;
|
|
240
|
+
/**
|
|
241
|
+
* Draft a post.
|
|
242
|
+
* @param {PostV1alpha1ConsoleApiDraftPostRequest} requestParameters Request parameters.
|
|
243
|
+
* @param {*} [options] Override http request option.
|
|
244
|
+
* @throws {RequiredError}
|
|
245
|
+
*/
|
|
246
|
+
draftPost(requestParameters: PostV1alpha1ConsoleApiDraftPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
247
|
+
/**
|
|
248
|
+
* Fetch content of post.
|
|
249
|
+
* @param {PostV1alpha1ConsoleApiFetchPostContentRequest} requestParameters Request parameters.
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
fetchPostContent(requestParameters: PostV1alpha1ConsoleApiFetchPostContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContentWrapper>;
|
|
254
|
+
/**
|
|
255
|
+
* Fetch head content of post.
|
|
256
|
+
* @param {PostV1alpha1ConsoleApiFetchPostHeadContentRequest} requestParameters Request parameters.
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
*/
|
|
260
|
+
fetchPostHeadContent(requestParameters: PostV1alpha1ConsoleApiFetchPostHeadContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContentWrapper>;
|
|
261
|
+
/**
|
|
262
|
+
* Fetch release content of post.
|
|
263
|
+
* @param {PostV1alpha1ConsoleApiFetchPostReleaseContentRequest} requestParameters Request parameters.
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
fetchPostReleaseContent(requestParameters: PostV1alpha1ConsoleApiFetchPostReleaseContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContentWrapper>;
|
|
268
|
+
/**
|
|
269
|
+
* List all snapshots for post content.
|
|
270
|
+
* @param {PostV1alpha1ConsoleApiListPostSnapshotsRequest} requestParameters Request parameters.
|
|
271
|
+
* @param {*} [options] Override http request option.
|
|
272
|
+
* @throws {RequiredError}
|
|
273
|
+
*/
|
|
274
|
+
listPostSnapshots(requestParameters: PostV1alpha1ConsoleApiListPostSnapshotsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ListedSnapshotDto>>;
|
|
275
|
+
/**
|
|
276
|
+
* List posts.
|
|
277
|
+
* @param {PostV1alpha1ConsoleApiListPostsRequest} requestParameters Request parameters.
|
|
278
|
+
* @param {*} [options] Override http request option.
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
*/
|
|
281
|
+
listPosts(requestParameters?: PostV1alpha1ConsoleApiListPostsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListedPostList>;
|
|
282
|
+
/**
|
|
283
|
+
* Publish a post.
|
|
284
|
+
* @param {PostV1alpha1ConsoleApiPublishPostRequest} requestParameters Request parameters.
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
*/
|
|
288
|
+
publishPost(requestParameters: PostV1alpha1ConsoleApiPublishPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
289
|
+
/**
|
|
290
|
+
* Recycle a post.
|
|
291
|
+
* @param {PostV1alpha1ConsoleApiRecyclePostRequest} requestParameters Request parameters.
|
|
292
|
+
* @param {*} [options] Override http request option.
|
|
293
|
+
* @throws {RequiredError}
|
|
294
|
+
*/
|
|
295
|
+
recyclePost(requestParameters: PostV1alpha1ConsoleApiRecyclePostRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
296
|
+
/**
|
|
297
|
+
* Revert to specified snapshot for post content.
|
|
298
|
+
* @param {PostV1alpha1ConsoleApiRevertToSpecifiedSnapshotForPostRequest} requestParameters Request parameters.
|
|
299
|
+
* @param {*} [options] Override http request option.
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
*/
|
|
302
|
+
revertToSpecifiedSnapshotForPost(requestParameters: PostV1alpha1ConsoleApiRevertToSpecifiedSnapshotForPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
303
|
+
/**
|
|
304
|
+
* Publish a post.
|
|
305
|
+
* @param {PostV1alpha1ConsoleApiUnpublishPostRequest} requestParameters Request parameters.
|
|
306
|
+
* @param {*} [options] Override http request option.
|
|
307
|
+
* @throws {RequiredError}
|
|
308
|
+
*/
|
|
309
|
+
unpublishPost(requestParameters: PostV1alpha1ConsoleApiUnpublishPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
310
|
+
/**
|
|
311
|
+
* Update a post.
|
|
312
|
+
* @param {PostV1alpha1ConsoleApiUpdateDraftPostRequest} requestParameters Request parameters.
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
*/
|
|
316
|
+
updateDraftPost(requestParameters: PostV1alpha1ConsoleApiUpdateDraftPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
317
|
+
/**
|
|
318
|
+
* Update a post\'s content.
|
|
319
|
+
* @param {PostV1alpha1ConsoleApiUpdatePostContentRequest} requestParameters Request parameters.
|
|
320
|
+
* @param {*} [options] Override http request option.
|
|
321
|
+
* @throws {RequiredError}
|
|
322
|
+
*/
|
|
323
|
+
updatePostContent(requestParameters: PostV1alpha1ConsoleApiUpdatePostContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
324
|
+
};
|
|
325
|
+
/**
|
|
326
|
+
* Request parameters for deletePostContent operation in PostV1alpha1ConsoleApi.
|
|
327
|
+
* @export
|
|
328
|
+
* @interface PostV1alpha1ConsoleApiDeletePostContentRequest
|
|
329
|
+
*/
|
|
330
|
+
export interface PostV1alpha1ConsoleApiDeletePostContentRequest {
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @type {string}
|
|
334
|
+
* @memberof PostV1alpha1ConsoleApiDeletePostContent
|
|
335
|
+
*/
|
|
336
|
+
readonly name: string;
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @type {string}
|
|
340
|
+
* @memberof PostV1alpha1ConsoleApiDeletePostContent
|
|
341
|
+
*/
|
|
342
|
+
readonly snapshotName: string;
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Request parameters for draftPost operation in PostV1alpha1ConsoleApi.
|
|
346
|
+
* @export
|
|
347
|
+
* @interface PostV1alpha1ConsoleApiDraftPostRequest
|
|
348
|
+
*/
|
|
349
|
+
export interface PostV1alpha1ConsoleApiDraftPostRequest {
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @type {PostRequest}
|
|
353
|
+
* @memberof PostV1alpha1ConsoleApiDraftPost
|
|
354
|
+
*/
|
|
355
|
+
readonly postRequest: PostRequest;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* Request parameters for fetchPostContent operation in PostV1alpha1ConsoleApi.
|
|
359
|
+
* @export
|
|
360
|
+
* @interface PostV1alpha1ConsoleApiFetchPostContentRequest
|
|
361
|
+
*/
|
|
362
|
+
export interface PostV1alpha1ConsoleApiFetchPostContentRequest {
|
|
363
|
+
/**
|
|
364
|
+
*
|
|
365
|
+
* @type {string}
|
|
366
|
+
* @memberof PostV1alpha1ConsoleApiFetchPostContent
|
|
367
|
+
*/
|
|
368
|
+
readonly name: string;
|
|
369
|
+
/**
|
|
370
|
+
*
|
|
371
|
+
* @type {string}
|
|
372
|
+
* @memberof PostV1alpha1ConsoleApiFetchPostContent
|
|
373
|
+
*/
|
|
374
|
+
readonly snapshotName: string;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* Request parameters for fetchPostHeadContent operation in PostV1alpha1ConsoleApi.
|
|
378
|
+
* @export
|
|
379
|
+
* @interface PostV1alpha1ConsoleApiFetchPostHeadContentRequest
|
|
380
|
+
*/
|
|
381
|
+
export interface PostV1alpha1ConsoleApiFetchPostHeadContentRequest {
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @type {string}
|
|
385
|
+
* @memberof PostV1alpha1ConsoleApiFetchPostHeadContent
|
|
386
|
+
*/
|
|
387
|
+
readonly name: string;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Request parameters for fetchPostReleaseContent operation in PostV1alpha1ConsoleApi.
|
|
391
|
+
* @export
|
|
392
|
+
* @interface PostV1alpha1ConsoleApiFetchPostReleaseContentRequest
|
|
393
|
+
*/
|
|
394
|
+
export interface PostV1alpha1ConsoleApiFetchPostReleaseContentRequest {
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @type {string}
|
|
398
|
+
* @memberof PostV1alpha1ConsoleApiFetchPostReleaseContent
|
|
399
|
+
*/
|
|
400
|
+
readonly name: string;
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* Request parameters for listPostSnapshots operation in PostV1alpha1ConsoleApi.
|
|
404
|
+
* @export
|
|
405
|
+
* @interface PostV1alpha1ConsoleApiListPostSnapshotsRequest
|
|
406
|
+
*/
|
|
407
|
+
export interface PostV1alpha1ConsoleApiListPostSnapshotsRequest {
|
|
408
|
+
/**
|
|
409
|
+
*
|
|
410
|
+
* @type {string}
|
|
411
|
+
* @memberof PostV1alpha1ConsoleApiListPostSnapshots
|
|
412
|
+
*/
|
|
413
|
+
readonly name: string;
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* Request parameters for listPosts operation in PostV1alpha1ConsoleApi.
|
|
417
|
+
* @export
|
|
418
|
+
* @interface PostV1alpha1ConsoleApiListPostsRequest
|
|
419
|
+
*/
|
|
420
|
+
export interface PostV1alpha1ConsoleApiListPostsRequest {
|
|
421
|
+
/**
|
|
422
|
+
* Page number. Default is 0.
|
|
423
|
+
* @type {number}
|
|
424
|
+
* @memberof PostV1alpha1ConsoleApiListPosts
|
|
425
|
+
*/
|
|
426
|
+
readonly page?: number;
|
|
427
|
+
/**
|
|
428
|
+
* Size number. Default is 0.
|
|
429
|
+
* @type {number}
|
|
430
|
+
* @memberof PostV1alpha1ConsoleApiListPosts
|
|
431
|
+
*/
|
|
432
|
+
readonly size?: number;
|
|
433
|
+
/**
|
|
434
|
+
* Label selector. e.g.: hidden!=true
|
|
435
|
+
* @type {Array<string>}
|
|
436
|
+
* @memberof PostV1alpha1ConsoleApiListPosts
|
|
437
|
+
*/
|
|
438
|
+
readonly labelSelector?: Array<string>;
|
|
439
|
+
/**
|
|
440
|
+
* Field selector. e.g.: metadata.name==halo
|
|
441
|
+
* @type {Array<string>}
|
|
442
|
+
* @memberof PostV1alpha1ConsoleApiListPosts
|
|
443
|
+
*/
|
|
444
|
+
readonly fieldSelector?: Array<string>;
|
|
445
|
+
/**
|
|
446
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
447
|
+
* @type {Array<string>}
|
|
448
|
+
* @memberof PostV1alpha1ConsoleApiListPosts
|
|
449
|
+
*/
|
|
450
|
+
readonly sort?: Array<string>;
|
|
451
|
+
/**
|
|
452
|
+
* Posts filtered by publish phase.
|
|
453
|
+
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
454
|
+
* @memberof PostV1alpha1ConsoleApiListPosts
|
|
455
|
+
*/
|
|
456
|
+
readonly publishPhase?: ListPostsPublishPhaseEnum;
|
|
457
|
+
/**
|
|
458
|
+
* Posts filtered by keyword.
|
|
459
|
+
* @type {string}
|
|
460
|
+
* @memberof PostV1alpha1ConsoleApiListPosts
|
|
461
|
+
*/
|
|
462
|
+
readonly keyword?: string;
|
|
463
|
+
/**
|
|
464
|
+
* Posts filtered by category including sub-categories.
|
|
465
|
+
* @type {string}
|
|
466
|
+
* @memberof PostV1alpha1ConsoleApiListPosts
|
|
467
|
+
*/
|
|
468
|
+
readonly categoryWithChildren?: string;
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* Request parameters for publishPost operation in PostV1alpha1ConsoleApi.
|
|
472
|
+
* @export
|
|
473
|
+
* @interface PostV1alpha1ConsoleApiPublishPostRequest
|
|
474
|
+
*/
|
|
475
|
+
export interface PostV1alpha1ConsoleApiPublishPostRequest {
|
|
476
|
+
/**
|
|
477
|
+
*
|
|
478
|
+
* @type {string}
|
|
479
|
+
* @memberof PostV1alpha1ConsoleApiPublishPost
|
|
480
|
+
*/
|
|
481
|
+
readonly name: string;
|
|
482
|
+
/**
|
|
483
|
+
* Head snapshot name of content.
|
|
484
|
+
* @type {string}
|
|
485
|
+
* @memberof PostV1alpha1ConsoleApiPublishPost
|
|
486
|
+
*/
|
|
487
|
+
readonly headSnapshot?: string;
|
|
488
|
+
/**
|
|
489
|
+
*
|
|
490
|
+
* @type {boolean}
|
|
491
|
+
* @memberof PostV1alpha1ConsoleApiPublishPost
|
|
492
|
+
*/
|
|
493
|
+
readonly async?: boolean;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* Request parameters for recyclePost operation in PostV1alpha1ConsoleApi.
|
|
497
|
+
* @export
|
|
498
|
+
* @interface PostV1alpha1ConsoleApiRecyclePostRequest
|
|
499
|
+
*/
|
|
500
|
+
export interface PostV1alpha1ConsoleApiRecyclePostRequest {
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
* @type {string}
|
|
504
|
+
* @memberof PostV1alpha1ConsoleApiRecyclePost
|
|
505
|
+
*/
|
|
506
|
+
readonly name: string;
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* Request parameters for revertToSpecifiedSnapshotForPost operation in PostV1alpha1ConsoleApi.
|
|
510
|
+
* @export
|
|
511
|
+
* @interface PostV1alpha1ConsoleApiRevertToSpecifiedSnapshotForPostRequest
|
|
512
|
+
*/
|
|
513
|
+
export interface PostV1alpha1ConsoleApiRevertToSpecifiedSnapshotForPostRequest {
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @type {string}
|
|
517
|
+
* @memberof PostV1alpha1ConsoleApiRevertToSpecifiedSnapshotForPost
|
|
518
|
+
*/
|
|
519
|
+
readonly name: string;
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* @type {RevertSnapshotForPostParam}
|
|
523
|
+
* @memberof PostV1alpha1ConsoleApiRevertToSpecifiedSnapshotForPost
|
|
524
|
+
*/
|
|
525
|
+
readonly revertSnapshotForPostParam: RevertSnapshotForPostParam;
|
|
526
|
+
}
|
|
527
|
+
/**
|
|
528
|
+
* Request parameters for unpublishPost operation in PostV1alpha1ConsoleApi.
|
|
529
|
+
* @export
|
|
530
|
+
* @interface PostV1alpha1ConsoleApiUnpublishPostRequest
|
|
531
|
+
*/
|
|
532
|
+
export interface PostV1alpha1ConsoleApiUnpublishPostRequest {
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @type {string}
|
|
536
|
+
* @memberof PostV1alpha1ConsoleApiUnpublishPost
|
|
537
|
+
*/
|
|
538
|
+
readonly name: string;
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* Request parameters for updateDraftPost operation in PostV1alpha1ConsoleApi.
|
|
542
|
+
* @export
|
|
543
|
+
* @interface PostV1alpha1ConsoleApiUpdateDraftPostRequest
|
|
544
|
+
*/
|
|
545
|
+
export interface PostV1alpha1ConsoleApiUpdateDraftPostRequest {
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
* @type {string}
|
|
549
|
+
* @memberof PostV1alpha1ConsoleApiUpdateDraftPost
|
|
550
|
+
*/
|
|
551
|
+
readonly name: string;
|
|
552
|
+
/**
|
|
553
|
+
*
|
|
554
|
+
* @type {PostRequest}
|
|
555
|
+
* @memberof PostV1alpha1ConsoleApiUpdateDraftPost
|
|
556
|
+
*/
|
|
557
|
+
readonly postRequest: PostRequest;
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Request parameters for updatePostContent operation in PostV1alpha1ConsoleApi.
|
|
561
|
+
* @export
|
|
562
|
+
* @interface PostV1alpha1ConsoleApiUpdatePostContentRequest
|
|
563
|
+
*/
|
|
564
|
+
export interface PostV1alpha1ConsoleApiUpdatePostContentRequest {
|
|
565
|
+
/**
|
|
566
|
+
*
|
|
567
|
+
* @type {string}
|
|
568
|
+
* @memberof PostV1alpha1ConsoleApiUpdatePostContent
|
|
569
|
+
*/
|
|
570
|
+
readonly name: string;
|
|
571
|
+
/**
|
|
572
|
+
*
|
|
573
|
+
* @type {Content}
|
|
574
|
+
* @memberof PostV1alpha1ConsoleApiUpdatePostContent
|
|
575
|
+
*/
|
|
576
|
+
readonly content: Content;
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* PostV1alpha1ConsoleApi - object-oriented interface
|
|
580
|
+
* @export
|
|
581
|
+
* @class PostV1alpha1ConsoleApi
|
|
582
|
+
* @extends {BaseAPI}
|
|
583
|
+
*/
|
|
584
|
+
export declare class PostV1alpha1ConsoleApi extends BaseAPI {
|
|
585
|
+
/**
|
|
586
|
+
* Delete a content for post.
|
|
587
|
+
* @param {PostV1alpha1ConsoleApiDeletePostContentRequest} requestParameters Request parameters.
|
|
588
|
+
* @param {*} [options] Override http request option.
|
|
589
|
+
* @throws {RequiredError}
|
|
590
|
+
* @memberof PostV1alpha1ConsoleApi
|
|
591
|
+
*/
|
|
592
|
+
deletePostContent(requestParameters: PostV1alpha1ConsoleApiDeletePostContentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ContentWrapper, any>>;
|
|
593
|
+
/**
|
|
594
|
+
* Draft a post.
|
|
595
|
+
* @param {PostV1alpha1ConsoleApiDraftPostRequest} requestParameters Request parameters.
|
|
596
|
+
* @param {*} [options] Override http request option.
|
|
597
|
+
* @throws {RequiredError}
|
|
598
|
+
* @memberof PostV1alpha1ConsoleApi
|
|
599
|
+
*/
|
|
600
|
+
draftPost(requestParameters: PostV1alpha1ConsoleApiDraftPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
601
|
+
/**
|
|
602
|
+
* Fetch content of post.
|
|
603
|
+
* @param {PostV1alpha1ConsoleApiFetchPostContentRequest} requestParameters Request parameters.
|
|
604
|
+
* @param {*} [options] Override http request option.
|
|
605
|
+
* @throws {RequiredError}
|
|
606
|
+
* @memberof PostV1alpha1ConsoleApi
|
|
607
|
+
*/
|
|
608
|
+
fetchPostContent(requestParameters: PostV1alpha1ConsoleApiFetchPostContentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ContentWrapper, any>>;
|
|
609
|
+
/**
|
|
610
|
+
* Fetch head content of post.
|
|
611
|
+
* @param {PostV1alpha1ConsoleApiFetchPostHeadContentRequest} requestParameters Request parameters.
|
|
612
|
+
* @param {*} [options] Override http request option.
|
|
613
|
+
* @throws {RequiredError}
|
|
614
|
+
* @memberof PostV1alpha1ConsoleApi
|
|
615
|
+
*/
|
|
616
|
+
fetchPostHeadContent(requestParameters: PostV1alpha1ConsoleApiFetchPostHeadContentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ContentWrapper, any>>;
|
|
617
|
+
/**
|
|
618
|
+
* Fetch release content of post.
|
|
619
|
+
* @param {PostV1alpha1ConsoleApiFetchPostReleaseContentRequest} requestParameters Request parameters.
|
|
620
|
+
* @param {*} [options] Override http request option.
|
|
621
|
+
* @throws {RequiredError}
|
|
622
|
+
* @memberof PostV1alpha1ConsoleApi
|
|
623
|
+
*/
|
|
624
|
+
fetchPostReleaseContent(requestParameters: PostV1alpha1ConsoleApiFetchPostReleaseContentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ContentWrapper, any>>;
|
|
625
|
+
/**
|
|
626
|
+
* List all snapshots for post content.
|
|
627
|
+
* @param {PostV1alpha1ConsoleApiListPostSnapshotsRequest} requestParameters Request parameters.
|
|
628
|
+
* @param {*} [options] Override http request option.
|
|
629
|
+
* @throws {RequiredError}
|
|
630
|
+
* @memberof PostV1alpha1ConsoleApi
|
|
631
|
+
*/
|
|
632
|
+
listPostSnapshots(requestParameters: PostV1alpha1ConsoleApiListPostSnapshotsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ListedSnapshotDto[], any>>;
|
|
633
|
+
/**
|
|
634
|
+
* List posts.
|
|
635
|
+
* @param {PostV1alpha1ConsoleApiListPostsRequest} requestParameters Request parameters.
|
|
636
|
+
* @param {*} [options] Override http request option.
|
|
637
|
+
* @throws {RequiredError}
|
|
638
|
+
* @memberof PostV1alpha1ConsoleApi
|
|
639
|
+
*/
|
|
640
|
+
listPosts(requestParameters?: PostV1alpha1ConsoleApiListPostsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ListedPostList, any>>;
|
|
641
|
+
/**
|
|
642
|
+
* Publish a post.
|
|
643
|
+
* @param {PostV1alpha1ConsoleApiPublishPostRequest} requestParameters Request parameters.
|
|
644
|
+
* @param {*} [options] Override http request option.
|
|
645
|
+
* @throws {RequiredError}
|
|
646
|
+
* @memberof PostV1alpha1ConsoleApi
|
|
647
|
+
*/
|
|
648
|
+
publishPost(requestParameters: PostV1alpha1ConsoleApiPublishPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
649
|
+
/**
|
|
650
|
+
* Recycle a post.
|
|
651
|
+
* @param {PostV1alpha1ConsoleApiRecyclePostRequest} requestParameters Request parameters.
|
|
652
|
+
* @param {*} [options] Override http request option.
|
|
653
|
+
* @throws {RequiredError}
|
|
654
|
+
* @memberof PostV1alpha1ConsoleApi
|
|
655
|
+
*/
|
|
656
|
+
recyclePost(requestParameters: PostV1alpha1ConsoleApiRecyclePostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
|
|
657
|
+
/**
|
|
658
|
+
* Revert to specified snapshot for post content.
|
|
659
|
+
* @param {PostV1alpha1ConsoleApiRevertToSpecifiedSnapshotForPostRequest} requestParameters Request parameters.
|
|
660
|
+
* @param {*} [options] Override http request option.
|
|
661
|
+
* @throws {RequiredError}
|
|
662
|
+
* @memberof PostV1alpha1ConsoleApi
|
|
663
|
+
*/
|
|
664
|
+
revertToSpecifiedSnapshotForPost(requestParameters: PostV1alpha1ConsoleApiRevertToSpecifiedSnapshotForPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
665
|
+
/**
|
|
666
|
+
* Publish a post.
|
|
667
|
+
* @param {PostV1alpha1ConsoleApiUnpublishPostRequest} requestParameters Request parameters.
|
|
668
|
+
* @param {*} [options] Override http request option.
|
|
669
|
+
* @throws {RequiredError}
|
|
670
|
+
* @memberof PostV1alpha1ConsoleApi
|
|
671
|
+
*/
|
|
672
|
+
unpublishPost(requestParameters: PostV1alpha1ConsoleApiUnpublishPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
673
|
+
/**
|
|
674
|
+
* Update a post.
|
|
675
|
+
* @param {PostV1alpha1ConsoleApiUpdateDraftPostRequest} requestParameters Request parameters.
|
|
676
|
+
* @param {*} [options] Override http request option.
|
|
677
|
+
* @throws {RequiredError}
|
|
678
|
+
* @memberof PostV1alpha1ConsoleApi
|
|
679
|
+
*/
|
|
680
|
+
updateDraftPost(requestParameters: PostV1alpha1ConsoleApiUpdateDraftPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
681
|
+
/**
|
|
682
|
+
* Update a post\'s content.
|
|
683
|
+
* @param {PostV1alpha1ConsoleApiUpdatePostContentRequest} requestParameters Request parameters.
|
|
684
|
+
* @param {*} [options] Override http request option.
|
|
685
|
+
* @throws {RequiredError}
|
|
686
|
+
* @memberof PostV1alpha1ConsoleApi
|
|
687
|
+
*/
|
|
688
|
+
updatePostContent(requestParameters: PostV1alpha1ConsoleApiUpdatePostContentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* @export
|
|
692
|
+
*/
|
|
693
|
+
export declare const ListPostsPublishPhaseEnum: {
|
|
694
|
+
readonly Draft: "DRAFT";
|
|
695
|
+
readonly PendingApproval: "PENDING_APPROVAL";
|
|
696
|
+
readonly Published: "PUBLISHED";
|
|
697
|
+
readonly Failed: "FAILED";
|
|
698
|
+
};
|
|
699
|
+
export type ListPostsPublishPhaseEnum = typeof ListPostsPublishPhaseEnum[keyof typeof ListPostsPublishPhaseEnum];
|