@halo-dev/api-client 2.21.0 → 2.22.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 +11 -11
- package/dist/index.d.ts +24654 -0
- package/dist/index.iife.js +4 -0
- package/dist/index.js +23142 -0
- package/package.json +17 -21
- package/dist/entry/api-client.d.ts +0 -357
- package/dist/entry/index.d.ts +0 -2
- package/dist/halo-api-client.es.js +0 -23283
- package/dist/halo-api-client.es.js.map +0 -1
- package/dist/halo-api-client.iife.js +0 -5
- package/dist/halo-api-client.iife.js.map +0 -1
- package/dist/src/api/annotation-setting-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/attachment-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/attachment-v1alpha1-console-api.d.ts +0 -228
- package/dist/src/api/attachment-v1alpha1-uc-api.d.ts +0 -294
- package/dist/src/api/auth-provider-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/auth-provider-v1alpha1-console-api.d.ts +0 -139
- package/dist/src/api/backup-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/category-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/category-v1alpha1-public-api.d.ts +0 -228
- package/dist/src/api/comment-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/comment-v1alpha1-console-api.d.ts +0 -220
- package/dist/src/api/comment-v1alpha1-public-api.d.ts +0 -328
- package/dist/src/api/config-map-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/counter-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/default-api.d.ts +0 -54
- package/dist/src/api/device-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/device-v1alpha1-uc-api.d.ts +0 -97
- package/dist/src/api/extension-definition-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/extension-point-definition-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/group-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/index-v1alpha1-public-api.d.ts +0 -72
- package/dist/src/api/indices-v1alpha1-console-api.d.ts +0 -54
- package/dist/src/api/local-thumbnail-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/menu-item-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/menu-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/menu-v1alpha1-public-api.d.ts +0 -97
- package/dist/src/api/metrics-v1alpha1-public-api.d.ts +0 -156
- package/dist/src/api/migration-v1alpha1-console-api.d.ts +0 -171
- package/dist/src/api/notification-template-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/notification-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/notification-v1alpha1-public-api.d.ts +0 -79
- package/dist/src/api/notification-v1alpha1-uc-api.d.ts +0 -354
- package/dist/src/api/notifier-descriptor-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/notifier-v1alpha1-console-api.d.ts +0 -164
- package/dist/src/api/notifier-v1alpha1-uc-api.d.ts +0 -121
- package/dist/src/api/personal-access-token-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/personal-access-token-v1alpha1-uc-api.d.ts +0 -265
- package/dist/src/api/plugin-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/plugin-v1alpha1-console-api.d.ts +0 -672
- package/dist/src/api/plugin-v1alpha1-public-api.d.ts +0 -71
- package/dist/src/api/policy-alpha1-console-api.d.ts +0 -137
- package/dist/src/api/policy-template-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/policy-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/post-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/post-v1alpha1-console-api.d.ts +0 -698
- package/dist/src/api/post-v1alpha1-public-api.d.ts +0 -188
- package/dist/src/api/post-v1alpha1-uc-api.d.ts +0 -498
- package/dist/src/api/reason-type-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/reason-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/remember-me-token-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/reply-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/reply-v1alpha1-console-api.d.ts +0 -112
- package/dist/src/api/reverse-proxy-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/role-binding-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/role-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/secret-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/setting-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/single-page-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/single-page-v1alpha1-console-api.d.ts +0 -615
- package/dist/src/api/single-page-v1alpha1-public-api.d.ts +0 -146
- package/dist/src/api/snapshot-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/snapshot-v1alpha1-uc-api.d.ts +0 -88
- package/dist/src/api/subscription-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/system-config-v1alpha1-console-api.d.ts +0 -121
- package/dist/src/api/system-v1alpha1-console-api.d.ts +0 -55
- package/dist/src/api/system-v1alpha1-public-api.d.ts +0 -80
- package/dist/src/api/tag-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/tag-v1alpha1-console-api.d.ts +0 -112
- package/dist/src/api/tag-v1alpha1-public-api.d.ts +0 -228
- package/dist/src/api/theme-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/theme-v1alpha1-console-api.d.ts +0 -598
- package/dist/src/api/thumbnail-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/thumbnail-v1alpha1-public-api.d.ts +0 -79
- package/dist/src/api/two-factor-auth-v1alpha1-uc-api.d.ts +0 -248
- package/dist/src/api/user-connection-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/user-connection-v1alpha1-uc-api.d.ts +0 -72
- package/dist/src/api/user-preference-v1alpha1-uc-api.d.ts +0 -121
- package/dist/src/api/user-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/user-v1alpha1-console-api.d.ts +0 -715
- package/dist/src/api.d.ts +0 -90
- package/dist/src/base.d.ts +0 -55
- package/dist/src/common.d.ts +0 -54
- package/dist/src/configuration.d.ts +0 -91
- package/dist/src/index.d.ts +0 -14
- package/dist/src/models/add-operation.d.ts +0 -40
- package/dist/src/models/annotation-setting-list.d.ts +0 -62
- package/dist/src/models/annotation-setting-spec.d.ts +0 -20
- package/dist/src/models/annotation-setting.d.ts +0 -33
- package/dist/src/models/attachment-list.d.ts +0 -62
- package/dist/src/models/attachment-spec.d.ts +0 -60
- package/dist/src/models/attachment-status.d.ts +0 -32
- package/dist/src/models/attachment.d.ts +0 -40
- package/dist/src/models/auth-provider-list.d.ts +0 -62
- package/dist/src/models/auth-provider-spec.d.ts +0 -92
- package/dist/src/models/auth-provider.d.ts +0 -33
- package/dist/src/models/author.d.ts +0 -30
- package/dist/src/models/backup-file.d.ts +0 -36
- package/dist/src/models/backup-list.d.ts +0 -62
- package/dist/src/models/backup-spec.d.ts +0 -30
- package/dist/src/models/backup-status.d.ts +0 -67
- package/dist/src/models/backup.d.ts +0 -40
- package/dist/src/models/category-list.d.ts +0 -62
- package/dist/src/models/category-spec.d.ts +0 -78
- package/dist/src/models/category-status.d.ts +0 -36
- package/dist/src/models/category-vo-list.d.ts +0 -62
- package/dist/src/models/category-vo.d.ts +0 -34
- package/dist/src/models/category.d.ts +0 -40
- package/dist/src/models/change-own-password-request.d.ts +0 -30
- package/dist/src/models/change-password-request.d.ts +0 -24
- package/dist/src/models/comment-email-owner.d.ts +0 -42
- package/dist/src/models/comment-list.d.ts +0 -62
- package/dist/src/models/comment-owner.d.ts +0 -44
- package/dist/src/models/comment-request.d.ts +0 -39
- package/dist/src/models/comment-spec.d.ts +0 -93
- package/dist/src/models/comment-stats-vo.d.ts +0 -24
- package/dist/src/models/comment-stats.d.ts +0 -24
- package/dist/src/models/comment-status.d.ts +0 -54
- package/dist/src/models/comment-vo-list.d.ts +0 -62
- package/dist/src/models/comment-vo.d.ts +0 -42
- package/dist/src/models/comment-with-reply-vo-list.d.ts +0 -62
- package/dist/src/models/comment-with-reply-vo.d.ts +0 -49
- package/dist/src/models/comment.d.ts +0 -40
- package/dist/src/models/condition.d.ts +0 -54
- package/dist/src/models/config-map-list.d.ts +0 -62
- package/dist/src/models/config-map-ref.d.ts +0 -24
- package/dist/src/models/config-map.d.ts +0 -34
- package/dist/src/models/content-update-param.d.ts +0 -42
- package/dist/src/models/content-vo.d.ts +0 -30
- package/dist/src/models/content-wrapper.d.ts +0 -42
- package/dist/src/models/content.d.ts +0 -36
- package/dist/src/models/contributor-vo.d.ts +0 -44
- package/dist/src/models/contributor.d.ts +0 -36
- package/dist/src/models/copy-operation.d.ts +0 -40
- package/dist/src/models/counter-list.d.ts +0 -62
- package/dist/src/models/counter-request.d.ts +0 -60
- package/dist/src/models/counter.d.ts +0 -56
- package/dist/src/models/create-user-request.d.ts +0 -74
- package/dist/src/models/custom-templates.d.ts +0 -26
- package/dist/src/models/dashboard-stats.d.ts +0 -54
- package/dist/src/models/detailed-user.d.ts +0 -21
- package/dist/src/models/device-list.d.ts +0 -62
- package/dist/src/models/device-spec.d.ts +0 -60
- package/dist/src/models/device-status.d.ts +0 -30
- package/dist/src/models/device.d.ts +0 -40
- package/dist/src/models/email-config-validation-request.d.ts +0 -66
- package/dist/src/models/email-verify-request.d.ts +0 -24
- package/dist/src/models/excerpt.d.ts +0 -30
- package/dist/src/models/extension-definition-list.d.ts +0 -62
- package/dist/src/models/extension-definition.d.ts +0 -33
- package/dist/src/models/extension-point-definition-list.d.ts +0 -62
- package/dist/src/models/extension-point-definition.d.ts +0 -33
- package/dist/src/models/extension-point-spec.d.ts +0 -53
- package/dist/src/models/extension-spec.d.ts +0 -48
- package/dist/src/models/extension.d.ts +0 -26
- package/dist/src/models/file-reverse-proxy-provider.d.ts +0 -30
- package/dist/src/models/grant-request.d.ts +0 -24
- package/dist/src/models/group-kind.d.ts +0 -30
- package/dist/src/models/group-list.d.ts +0 -62
- package/dist/src/models/group-spec.d.ts +0 -24
- package/dist/src/models/group-status.d.ts +0 -30
- package/dist/src/models/group.d.ts +0 -40
- package/dist/src/models/halo-document.d.ts +0 -116
- package/dist/src/models/index.d.ts +0 -250
- package/dist/src/models/install-from-uri-request.d.ts +0 -24
- package/dist/src/models/interest-reason-subject.d.ts +0 -36
- package/dist/src/models/interest-reason.d.ts +0 -26
- package/dist/src/models/json-patch-inner.d.ts +0 -11
- package/dist/src/models/license.d.ts +0 -30
- package/dist/src/models/list-result-reply-vo.d.ts +0 -62
- package/dist/src/models/listed-auth-provider.d.ts +0 -113
- package/dist/src/models/listed-comment-list.d.ts +0 -62
- package/dist/src/models/listed-comment.d.ts +0 -35
- package/dist/src/models/listed-post-list.d.ts +0 -62
- package/dist/src/models/listed-post-vo-list.d.ts +0 -62
- package/dist/src/models/listed-post-vo.d.ts +0 -62
- package/dist/src/models/listed-post.d.ts +0 -48
- package/dist/src/models/listed-reply-list.d.ts +0 -62
- package/dist/src/models/listed-reply.d.ts +0 -28
- package/dist/src/models/listed-single-page-list.d.ts +0 -62
- package/dist/src/models/listed-single-page-vo-list.d.ts +0 -62
- package/dist/src/models/listed-single-page-vo.d.ts +0 -48
- package/dist/src/models/listed-single-page.d.ts +0 -34
- package/dist/src/models/listed-snapshot-dto.d.ts +0 -21
- package/dist/src/models/listed-snapshot-spec.d.ts +0 -30
- package/dist/src/models/listed-user.d.ts +0 -21
- package/dist/src/models/local-thumbnail-list.d.ts +0 -62
- package/dist/src/models/local-thumbnail-spec.d.ts +0 -61
- package/dist/src/models/local-thumbnail-status.d.ts +0 -30
- package/dist/src/models/local-thumbnail.d.ts +0 -40
- package/dist/src/models/login-history.d.ts +0 -48
- package/dist/src/models/mark-specified-request.d.ts +0 -24
- package/dist/src/models/menu-item-list.d.ts +0 -62
- package/dist/src/models/menu-item-spec.d.ts +0 -51
- package/dist/src/models/menu-item-status.d.ts +0 -30
- package/dist/src/models/menu-item-vo.d.ts +0 -40
- package/dist/src/models/menu-item.d.ts +0 -40
- package/dist/src/models/menu-list.d.ts +0 -62
- package/dist/src/models/menu-spec.d.ts +0 -30
- package/dist/src/models/menu-vo.d.ts +0 -28
- package/dist/src/models/menu.d.ts +0 -33
- package/dist/src/models/metadata.d.ts +0 -70
- package/dist/src/models/move-operation.d.ts +0 -40
- package/dist/src/models/navigation-post-vo.d.ts +0 -26
- package/dist/src/models/notification-list.d.ts +0 -62
- package/dist/src/models/notification-spec.d.ts +0 -60
- package/dist/src/models/notification-template-list.d.ts +0 -62
- package/dist/src/models/notification-template-spec.d.ts +0 -21
- package/dist/src/models/notification-template.d.ts +0 -33
- package/dist/src/models/notification.d.ts +0 -33
- package/dist/src/models/notifier-descriptor-list.d.ts +0 -62
- package/dist/src/models/notifier-descriptor-spec.d.ts +0 -38
- package/dist/src/models/notifier-descriptor.d.ts +0 -33
- package/dist/src/models/notifier-info.d.ts +0 -36
- package/dist/src/models/notifier-setting-ref.d.ts +0 -30
- package/dist/src/models/owner-info.d.ts +0 -48
- package/dist/src/models/password-request.d.ts +0 -24
- package/dist/src/models/pat-spec.d.ts +0 -78
- package/dist/src/models/personal-access-token-list.d.ts +0 -62
- package/dist/src/models/personal-access-token.d.ts +0 -33
- package/dist/src/models/plugin-author.d.ts +0 -30
- package/dist/src/models/plugin-list.d.ts +0 -62
- package/dist/src/models/plugin-running-state-request.d.ts +0 -30
- package/dist/src/models/plugin-spec.d.ts +0 -95
- package/dist/src/models/plugin-status.d.ts +0 -79
- package/dist/src/models/plugin.d.ts +0 -40
- package/dist/src/models/policy-list.d.ts +0 -62
- package/dist/src/models/policy-rule.d.ts +0 -48
- package/dist/src/models/policy-spec.d.ts +0 -36
- package/dist/src/models/policy-template-list.d.ts +0 -62
- package/dist/src/models/policy-template-spec.d.ts +0 -30
- package/dist/src/models/policy-template.d.ts +0 -33
- package/dist/src/models/policy.d.ts +0 -33
- package/dist/src/models/post-list.d.ts +0 -62
- package/dist/src/models/post-request.d.ts +0 -21
- package/dist/src/models/post-spec.d.ts +0 -130
- package/dist/src/models/post-status.d.ts +0 -68
- package/dist/src/models/post-vo.d.ts +0 -69
- package/dist/src/models/post.d.ts +0 -40
- package/dist/src/models/reason-attributes.d.ts +0 -24
- package/dist/src/models/reason-list.d.ts +0 -62
- package/dist/src/models/reason-property.d.ts +0 -42
- package/dist/src/models/reason-selector.d.ts +0 -30
- package/dist/src/models/reason-spec.d.ts +0 -33
- package/dist/src/models/reason-subject.d.ts +0 -48
- package/dist/src/models/reason-type-info.d.ts +0 -42
- package/dist/src/models/reason-type-list.d.ts +0 -62
- package/dist/src/models/reason-type-notifier-collection-request.d.ts +0 -14
- package/dist/src/models/reason-type-notifier-matrix.d.ts +0 -27
- package/dist/src/models/reason-type-notifier-request.d.ts +0 -30
- package/dist/src/models/reason-type-spec.d.ts +0 -26
- package/dist/src/models/reason-type.d.ts +0 -33
- package/dist/src/models/reason.d.ts +0 -33
- package/dist/src/models/ref.d.ts +0 -42
- package/dist/src/models/remember-me-token-list.d.ts +0 -62
- package/dist/src/models/remember-me-token-spec.d.ts +0 -42
- package/dist/src/models/remember-me-token.d.ts +0 -33
- package/dist/src/models/remove-operation.d.ts +0 -34
- package/dist/src/models/replace-operation.d.ts +0 -40
- package/dist/src/models/reply-list.d.ts +0 -62
- package/dist/src/models/reply-request.d.ts +0 -38
- package/dist/src/models/reply-spec.d.ts +0 -92
- package/dist/src/models/reply-status.d.ts +0 -24
- package/dist/src/models/reply-vo-list.d.ts +0 -62
- package/dist/src/models/reply-vo.d.ts +0 -35
- package/dist/src/models/reply.d.ts +0 -40
- package/dist/src/models/reverse-proxy-list.d.ts +0 -62
- package/dist/src/models/reverse-proxy-rule.d.ts +0 -20
- package/dist/src/models/reverse-proxy.d.ts +0 -33
- package/dist/src/models/revert-snapshot-for-post-param.d.ts +0 -24
- package/dist/src/models/revert-snapshot-for-single-param.d.ts +0 -24
- package/dist/src/models/role-binding-list.d.ts +0 -62
- package/dist/src/models/role-binding.d.ts +0 -40
- package/dist/src/models/role-list.d.ts +0 -62
- package/dist/src/models/role-ref.d.ts +0 -36
- package/dist/src/models/role.d.ts +0 -33
- package/dist/src/models/search-option.d.ts +0 -92
- package/dist/src/models/search-result.d.ts +0 -38
- package/dist/src/models/secret-list.d.ts +0 -62
- package/dist/src/models/secret.d.ts +0 -48
- package/dist/src/models/setting-form.d.ts +0 -36
- package/dist/src/models/setting-list.d.ts +0 -62
- package/dist/src/models/setting-ref.d.ts +0 -30
- package/dist/src/models/setting-spec.d.ts +0 -14
- package/dist/src/models/setting.d.ts +0 -33
- package/dist/src/models/single-page-list.d.ts +0 -62
- package/dist/src/models/single-page-request.d.ts +0 -21
- package/dist/src/models/single-page-spec.d.ts +0 -118
- package/dist/src/models/single-page-status.d.ts +0 -68
- package/dist/src/models/single-page-vo.d.ts +0 -55
- package/dist/src/models/single-page.d.ts +0 -40
- package/dist/src/models/site-stats-vo.d.ts +0 -48
- package/dist/src/models/snap-shot-spec.d.ts +0 -56
- package/dist/src/models/snapshot-list.d.ts +0 -62
- package/dist/src/models/snapshot.d.ts +0 -33
- package/dist/src/models/stats-vo.d.ts +0 -36
- package/dist/src/models/stats.d.ts +0 -42
- package/dist/src/models/subject.d.ts +0 -36
- package/dist/src/models/subscription-list.d.ts +0 -62
- package/dist/src/models/subscription-spec.d.ts +0 -33
- package/dist/src/models/subscription-subscriber.d.ts +0 -24
- package/dist/src/models/subscription.d.ts +0 -33
- package/dist/src/models/tag-list.d.ts +0 -62
- package/dist/src/models/tag-spec.d.ts +0 -42
- package/dist/src/models/tag-status.d.ts +0 -42
- package/dist/src/models/tag-vo-list.d.ts +0 -62
- package/dist/src/models/tag-vo.d.ts +0 -34
- package/dist/src/models/tag.d.ts +0 -40
- package/dist/src/models/template-content.d.ts +0 -36
- package/dist/src/models/template-descriptor.d.ts +0 -42
- package/dist/src/models/test-operation.d.ts +0 -40
- package/dist/src/models/theme-list.d.ts +0 -62
- package/dist/src/models/theme-spec.d.ts +0 -88
- package/dist/src/models/theme-status.d.ts +0 -32
- package/dist/src/models/theme.d.ts +0 -40
- package/dist/src/models/thumbnail-list.d.ts +0 -62
- package/dist/src/models/thumbnail-spec.d.ts +0 -49
- package/dist/src/models/thumbnail.d.ts +0 -33
- package/dist/src/models/totp-auth-link-response.d.ts +0 -30
- package/dist/src/models/totp-request.d.ts +0 -36
- package/dist/src/models/two-factor-auth-settings.d.ts +0 -42
- package/dist/src/models/uc-upload-request-form-data.d.ts +0 -33
- package/dist/src/models/upgrade-from-uri-request.d.ts +0 -24
- package/dist/src/models/upload-from-url-request.d.ts +0 -30
- package/dist/src/models/user-connection-list.d.ts +0 -62
- package/dist/src/models/user-connection-spec.d.ts +0 -42
- package/dist/src/models/user-connection.d.ts +0 -33
- package/dist/src/models/user-device.d.ts +0 -26
- package/dist/src/models/user-endpoint-listed-user-list.d.ts +0 -62
- package/dist/src/models/user-list.d.ts +0 -62
- package/dist/src/models/user-permission.d.ts +0 -26
- package/dist/src/models/user-spec.d.ts +0 -90
- package/dist/src/models/user-status.d.ts +0 -26
- package/dist/src/models/user.d.ts +0 -40
- package/dist/src/models/verify-code-request.d.ts +0 -30
- package/dist/src/models/vote-request.d.ts +0 -36
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { Configuration } from '../configuration';
|
|
2
|
-
import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
3
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
4
|
-
import { ListedPostVoList, NavigationPostVo, PostVo } from '../models';
|
|
5
|
-
/**
|
|
6
|
-
* PostV1alpha1PublicApi - axios parameter creator
|
|
7
|
-
* @export
|
|
8
|
-
*/
|
|
9
|
-
export declare const PostV1alpha1PublicApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
10
|
-
/**
|
|
11
|
-
* Gets a post by name.
|
|
12
|
-
* @param {string} name Post name
|
|
13
|
-
* @param {*} [options] Override http request option.
|
|
14
|
-
* @throws {RequiredError}
|
|
15
|
-
*/
|
|
16
|
-
queryPostByName: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17
|
-
/**
|
|
18
|
-
* Gets a post navigation by name.
|
|
19
|
-
* @param {string} name Post name
|
|
20
|
-
* @param {*} [options] Override http request option.
|
|
21
|
-
* @throws {RequiredError}
|
|
22
|
-
*/
|
|
23
|
-
queryPostNavigationByName: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24
|
-
/**
|
|
25
|
-
* Lists posts.
|
|
26
|
-
* @param {number} [page] Page number. Default is 0.
|
|
27
|
-
* @param {number} [size] Size number. Default is 0.
|
|
28
|
-
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
29
|
-
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
30
|
-
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
31
|
-
* @param {*} [options] Override http request option.
|
|
32
|
-
* @throws {RequiredError}
|
|
33
|
-
*/
|
|
34
|
-
queryPosts: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* PostV1alpha1PublicApi - functional programming interface
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const PostV1alpha1PublicApiFp: (configuration?: Configuration) => {
|
|
41
|
-
/**
|
|
42
|
-
* Gets a post by name.
|
|
43
|
-
* @param {string} name Post name
|
|
44
|
-
* @param {*} [options] Override http request option.
|
|
45
|
-
* @throws {RequiredError}
|
|
46
|
-
*/
|
|
47
|
-
queryPostByName(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostVo>>;
|
|
48
|
-
/**
|
|
49
|
-
* Gets a post navigation by name.
|
|
50
|
-
* @param {string} name Post name
|
|
51
|
-
* @param {*} [options] Override http request option.
|
|
52
|
-
* @throws {RequiredError}
|
|
53
|
-
*/
|
|
54
|
-
queryPostNavigationByName(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NavigationPostVo>>;
|
|
55
|
-
/**
|
|
56
|
-
* Lists 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 {*} [options] Override http request option.
|
|
63
|
-
* @throws {RequiredError}
|
|
64
|
-
*/
|
|
65
|
-
queryPosts(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedPostVoList>>;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* PostV1alpha1PublicApi - factory interface
|
|
69
|
-
* @export
|
|
70
|
-
*/
|
|
71
|
-
export declare const PostV1alpha1PublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
72
|
-
/**
|
|
73
|
-
* Gets a post by name.
|
|
74
|
-
* @param {PostV1alpha1PublicApiQueryPostByNameRequest} requestParameters Request parameters.
|
|
75
|
-
* @param {*} [options] Override http request option.
|
|
76
|
-
* @throws {RequiredError}
|
|
77
|
-
*/
|
|
78
|
-
queryPostByName(requestParameters: PostV1alpha1PublicApiQueryPostByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostVo>;
|
|
79
|
-
/**
|
|
80
|
-
* Gets a post navigation by name.
|
|
81
|
-
* @param {PostV1alpha1PublicApiQueryPostNavigationByNameRequest} requestParameters Request parameters.
|
|
82
|
-
* @param {*} [options] Override http request option.
|
|
83
|
-
* @throws {RequiredError}
|
|
84
|
-
*/
|
|
85
|
-
queryPostNavigationByName(requestParameters: PostV1alpha1PublicApiQueryPostNavigationByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<NavigationPostVo>;
|
|
86
|
-
/**
|
|
87
|
-
* Lists posts.
|
|
88
|
-
* @param {PostV1alpha1PublicApiQueryPostsRequest} requestParameters Request parameters.
|
|
89
|
-
* @param {*} [options] Override http request option.
|
|
90
|
-
* @throws {RequiredError}
|
|
91
|
-
*/
|
|
92
|
-
queryPosts(requestParameters?: PostV1alpha1PublicApiQueryPostsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListedPostVoList>;
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* Request parameters for queryPostByName operation in PostV1alpha1PublicApi.
|
|
96
|
-
* @export
|
|
97
|
-
* @interface PostV1alpha1PublicApiQueryPostByNameRequest
|
|
98
|
-
*/
|
|
99
|
-
export interface PostV1alpha1PublicApiQueryPostByNameRequest {
|
|
100
|
-
/**
|
|
101
|
-
* Post name
|
|
102
|
-
* @type {string}
|
|
103
|
-
* @memberof PostV1alpha1PublicApiQueryPostByName
|
|
104
|
-
*/
|
|
105
|
-
readonly name: string;
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Request parameters for queryPostNavigationByName operation in PostV1alpha1PublicApi.
|
|
109
|
-
* @export
|
|
110
|
-
* @interface PostV1alpha1PublicApiQueryPostNavigationByNameRequest
|
|
111
|
-
*/
|
|
112
|
-
export interface PostV1alpha1PublicApiQueryPostNavigationByNameRequest {
|
|
113
|
-
/**
|
|
114
|
-
* Post name
|
|
115
|
-
* @type {string}
|
|
116
|
-
* @memberof PostV1alpha1PublicApiQueryPostNavigationByName
|
|
117
|
-
*/
|
|
118
|
-
readonly name: string;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Request parameters for queryPosts operation in PostV1alpha1PublicApi.
|
|
122
|
-
* @export
|
|
123
|
-
* @interface PostV1alpha1PublicApiQueryPostsRequest
|
|
124
|
-
*/
|
|
125
|
-
export interface PostV1alpha1PublicApiQueryPostsRequest {
|
|
126
|
-
/**
|
|
127
|
-
* Page number. Default is 0.
|
|
128
|
-
* @type {number}
|
|
129
|
-
* @memberof PostV1alpha1PublicApiQueryPosts
|
|
130
|
-
*/
|
|
131
|
-
readonly page?: number;
|
|
132
|
-
/**
|
|
133
|
-
* Size number. Default is 0.
|
|
134
|
-
* @type {number}
|
|
135
|
-
* @memberof PostV1alpha1PublicApiQueryPosts
|
|
136
|
-
*/
|
|
137
|
-
readonly size?: number;
|
|
138
|
-
/**
|
|
139
|
-
* Label selector. e.g.: hidden!=true
|
|
140
|
-
* @type {Array<string>}
|
|
141
|
-
* @memberof PostV1alpha1PublicApiQueryPosts
|
|
142
|
-
*/
|
|
143
|
-
readonly labelSelector?: Array<string>;
|
|
144
|
-
/**
|
|
145
|
-
* Field selector. e.g.: metadata.name==halo
|
|
146
|
-
* @type {Array<string>}
|
|
147
|
-
* @memberof PostV1alpha1PublicApiQueryPosts
|
|
148
|
-
*/
|
|
149
|
-
readonly fieldSelector?: Array<string>;
|
|
150
|
-
/**
|
|
151
|
-
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
152
|
-
* @type {Array<string>}
|
|
153
|
-
* @memberof PostV1alpha1PublicApiQueryPosts
|
|
154
|
-
*/
|
|
155
|
-
readonly sort?: Array<string>;
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* PostV1alpha1PublicApi - object-oriented interface
|
|
159
|
-
* @export
|
|
160
|
-
* @class PostV1alpha1PublicApi
|
|
161
|
-
* @extends {BaseAPI}
|
|
162
|
-
*/
|
|
163
|
-
export declare class PostV1alpha1PublicApi extends BaseAPI {
|
|
164
|
-
/**
|
|
165
|
-
* Gets a post by name.
|
|
166
|
-
* @param {PostV1alpha1PublicApiQueryPostByNameRequest} requestParameters Request parameters.
|
|
167
|
-
* @param {*} [options] Override http request option.
|
|
168
|
-
* @throws {RequiredError}
|
|
169
|
-
* @memberof PostV1alpha1PublicApi
|
|
170
|
-
*/
|
|
171
|
-
queryPostByName(requestParameters: PostV1alpha1PublicApiQueryPostByNameRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<PostVo, any>>;
|
|
172
|
-
/**
|
|
173
|
-
* Gets a post navigation by name.
|
|
174
|
-
* @param {PostV1alpha1PublicApiQueryPostNavigationByNameRequest} requestParameters Request parameters.
|
|
175
|
-
* @param {*} [options] Override http request option.
|
|
176
|
-
* @throws {RequiredError}
|
|
177
|
-
* @memberof PostV1alpha1PublicApi
|
|
178
|
-
*/
|
|
179
|
-
queryPostNavigationByName(requestParameters: PostV1alpha1PublicApiQueryPostNavigationByNameRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<NavigationPostVo, any>>;
|
|
180
|
-
/**
|
|
181
|
-
* Lists posts.
|
|
182
|
-
* @param {PostV1alpha1PublicApiQueryPostsRequest} requestParameters Request parameters.
|
|
183
|
-
* @param {*} [options] Override http request option.
|
|
184
|
-
* @throws {RequiredError}
|
|
185
|
-
* @memberof PostV1alpha1PublicApi
|
|
186
|
-
*/
|
|
187
|
-
queryPosts(requestParameters?: PostV1alpha1PublicApiQueryPostsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ListedPostVoList, any>>;
|
|
188
|
-
}
|
|
@@ -1,498 +0,0 @@
|
|
|
1
|
-
import { Configuration } from '../configuration';
|
|
2
|
-
import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
3
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
4
|
-
import { ListedPostList, Post, Snapshot } from '../models';
|
|
5
|
-
/**
|
|
6
|
-
* PostV1alpha1UcApi - axios parameter creator
|
|
7
|
-
* @export
|
|
8
|
-
*/
|
|
9
|
-
export declare const PostV1alpha1UcApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
10
|
-
/**
|
|
11
|
-
* Create my post. If you want to create a post with content, please set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
|
|
12
|
-
* @param {Post} [post]
|
|
13
|
-
* @param {*} [options] Override http request option.
|
|
14
|
-
* @throws {RequiredError}
|
|
15
|
-
*/
|
|
16
|
-
createMyPost: (post?: Post, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17
|
-
/**
|
|
18
|
-
* Get post that belongs to the current user.
|
|
19
|
-
* @param {string} name Post name
|
|
20
|
-
* @param {*} [options] Override http request option.
|
|
21
|
-
* @throws {RequiredError}
|
|
22
|
-
*/
|
|
23
|
-
getMyPost: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24
|
-
/**
|
|
25
|
-
* Get my post draft.
|
|
26
|
-
* @param {string} name Post name
|
|
27
|
-
* @param {boolean} [patched] Should include patched content and raw or not.
|
|
28
|
-
* @param {*} [options] Override http request option.
|
|
29
|
-
* @throws {RequiredError}
|
|
30
|
-
*/
|
|
31
|
-
getMyPostDraft: (name: string, patched?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
-
/**
|
|
33
|
-
* List posts owned by the current user.
|
|
34
|
-
* @param {number} [page] Page number. Default is 0.
|
|
35
|
-
* @param {number} [size] Size number. Default is 0.
|
|
36
|
-
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
37
|
-
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
38
|
-
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
39
|
-
* @param {ListMyPostsPublishPhaseEnum} [publishPhase] Posts filtered by publish phase.
|
|
40
|
-
* @param {string} [keyword] Posts filtered by keyword.
|
|
41
|
-
* @param {string} [categoryWithChildren] Posts filtered by category including sub-categories.
|
|
42
|
-
* @param {*} [options] Override http request option.
|
|
43
|
-
* @throws {RequiredError}
|
|
44
|
-
*/
|
|
45
|
-
listMyPosts: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, publishPhase?: ListMyPostsPublishPhaseEnum, keyword?: string, categoryWithChildren?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
-
/**
|
|
47
|
-
* Publish my post.
|
|
48
|
-
* @param {string} name Post name
|
|
49
|
-
* @param {*} [options] Override http request option.
|
|
50
|
-
* @throws {RequiredError}
|
|
51
|
-
*/
|
|
52
|
-
publishMyPost: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
-
/**
|
|
54
|
-
* Move my post to recycle bin.
|
|
55
|
-
* @param {string} name Post name
|
|
56
|
-
* @param {*} [options] Override http request option.
|
|
57
|
-
* @throws {RequiredError}
|
|
58
|
-
*/
|
|
59
|
-
recycleMyPost: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
|
-
/**
|
|
61
|
-
* Unpublish my post.
|
|
62
|
-
* @param {string} name Post name
|
|
63
|
-
* @param {*} [options] Override http request option.
|
|
64
|
-
* @throws {RequiredError}
|
|
65
|
-
*/
|
|
66
|
-
unpublishMyPost: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
|
-
/**
|
|
68
|
-
* Update my post.
|
|
69
|
-
* @param {string} name Post name
|
|
70
|
-
* @param {Post} [post]
|
|
71
|
-
* @param {*} [options] Override http request option.
|
|
72
|
-
* @throws {RequiredError}
|
|
73
|
-
*/
|
|
74
|
-
updateMyPost: (name: string, post?: Post, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
|
-
/**
|
|
76
|
-
* Update draft of my post. Please make sure set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
|
|
77
|
-
* @param {string} name Post name
|
|
78
|
-
* @param {Snapshot} [snapshot]
|
|
79
|
-
* @param {*} [options] Override http request option.
|
|
80
|
-
* @throws {RequiredError}
|
|
81
|
-
*/
|
|
82
|
-
updateMyPostDraft: (name: string, snapshot?: Snapshot, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* PostV1alpha1UcApi - functional programming interface
|
|
86
|
-
* @export
|
|
87
|
-
*/
|
|
88
|
-
export declare const PostV1alpha1UcApiFp: (configuration?: Configuration) => {
|
|
89
|
-
/**
|
|
90
|
-
* Create my post. If you want to create a post with content, please set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
|
|
91
|
-
* @param {Post} [post]
|
|
92
|
-
* @param {*} [options] Override http request option.
|
|
93
|
-
* @throws {RequiredError}
|
|
94
|
-
*/
|
|
95
|
-
createMyPost(post?: Post, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
96
|
-
/**
|
|
97
|
-
* Get post that belongs to the current user.
|
|
98
|
-
* @param {string} name Post name
|
|
99
|
-
* @param {*} [options] Override http request option.
|
|
100
|
-
* @throws {RequiredError}
|
|
101
|
-
*/
|
|
102
|
-
getMyPost(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
103
|
-
/**
|
|
104
|
-
* Get my post draft.
|
|
105
|
-
* @param {string} name Post name
|
|
106
|
-
* @param {boolean} [patched] Should include patched content and raw or not.
|
|
107
|
-
* @param {*} [options] Override http request option.
|
|
108
|
-
* @throws {RequiredError}
|
|
109
|
-
*/
|
|
110
|
-
getMyPostDraft(name: string, patched?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Snapshot>>;
|
|
111
|
-
/**
|
|
112
|
-
* List posts owned by the current user.
|
|
113
|
-
* @param {number} [page] Page number. Default is 0.
|
|
114
|
-
* @param {number} [size] Size number. Default is 0.
|
|
115
|
-
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
116
|
-
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
117
|
-
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
118
|
-
* @param {ListMyPostsPublishPhaseEnum} [publishPhase] Posts filtered by publish phase.
|
|
119
|
-
* @param {string} [keyword] Posts filtered by keyword.
|
|
120
|
-
* @param {string} [categoryWithChildren] Posts filtered by category including sub-categories.
|
|
121
|
-
* @param {*} [options] Override http request option.
|
|
122
|
-
* @throws {RequiredError}
|
|
123
|
-
*/
|
|
124
|
-
listMyPosts(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, publishPhase?: ListMyPostsPublishPhaseEnum, keyword?: string, categoryWithChildren?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedPostList>>;
|
|
125
|
-
/**
|
|
126
|
-
* Publish my post.
|
|
127
|
-
* @param {string} name Post name
|
|
128
|
-
* @param {*} [options] Override http request option.
|
|
129
|
-
* @throws {RequiredError}
|
|
130
|
-
*/
|
|
131
|
-
publishMyPost(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
132
|
-
/**
|
|
133
|
-
* Move my post to recycle bin.
|
|
134
|
-
* @param {string} name Post name
|
|
135
|
-
* @param {*} [options] Override http request option.
|
|
136
|
-
* @throws {RequiredError}
|
|
137
|
-
*/
|
|
138
|
-
recycleMyPost(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
139
|
-
/**
|
|
140
|
-
* Unpublish my post.
|
|
141
|
-
* @param {string} name Post name
|
|
142
|
-
* @param {*} [options] Override http request option.
|
|
143
|
-
* @throws {RequiredError}
|
|
144
|
-
*/
|
|
145
|
-
unpublishMyPost(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
146
|
-
/**
|
|
147
|
-
* Update my post.
|
|
148
|
-
* @param {string} name Post name
|
|
149
|
-
* @param {Post} [post]
|
|
150
|
-
* @param {*} [options] Override http request option.
|
|
151
|
-
* @throws {RequiredError}
|
|
152
|
-
*/
|
|
153
|
-
updateMyPost(name: string, post?: Post, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
154
|
-
/**
|
|
155
|
-
* Update draft of my post. Please make sure set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
|
|
156
|
-
* @param {string} name Post name
|
|
157
|
-
* @param {Snapshot} [snapshot]
|
|
158
|
-
* @param {*} [options] Override http request option.
|
|
159
|
-
* @throws {RequiredError}
|
|
160
|
-
*/
|
|
161
|
-
updateMyPostDraft(name: string, snapshot?: Snapshot, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Snapshot>>;
|
|
162
|
-
};
|
|
163
|
-
/**
|
|
164
|
-
* PostV1alpha1UcApi - factory interface
|
|
165
|
-
* @export
|
|
166
|
-
*/
|
|
167
|
-
export declare const PostV1alpha1UcApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
168
|
-
/**
|
|
169
|
-
* Create my post. If you want to create a post with content, please set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
|
|
170
|
-
* @param {PostV1alpha1UcApiCreateMyPostRequest} requestParameters Request parameters.
|
|
171
|
-
* @param {*} [options] Override http request option.
|
|
172
|
-
* @throws {RequiredError}
|
|
173
|
-
*/
|
|
174
|
-
createMyPost(requestParameters?: PostV1alpha1UcApiCreateMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
175
|
-
/**
|
|
176
|
-
* Get post that belongs to the current user.
|
|
177
|
-
* @param {PostV1alpha1UcApiGetMyPostRequest} requestParameters Request parameters.
|
|
178
|
-
* @param {*} [options] Override http request option.
|
|
179
|
-
* @throws {RequiredError}
|
|
180
|
-
*/
|
|
181
|
-
getMyPost(requestParameters: PostV1alpha1UcApiGetMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
182
|
-
/**
|
|
183
|
-
* Get my post draft.
|
|
184
|
-
* @param {PostV1alpha1UcApiGetMyPostDraftRequest} requestParameters Request parameters.
|
|
185
|
-
* @param {*} [options] Override http request option.
|
|
186
|
-
* @throws {RequiredError}
|
|
187
|
-
*/
|
|
188
|
-
getMyPostDraft(requestParameters: PostV1alpha1UcApiGetMyPostDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<Snapshot>;
|
|
189
|
-
/**
|
|
190
|
-
* List posts owned by the current user.
|
|
191
|
-
* @param {PostV1alpha1UcApiListMyPostsRequest} requestParameters Request parameters.
|
|
192
|
-
* @param {*} [options] Override http request option.
|
|
193
|
-
* @throws {RequiredError}
|
|
194
|
-
*/
|
|
195
|
-
listMyPosts(requestParameters?: PostV1alpha1UcApiListMyPostsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListedPostList>;
|
|
196
|
-
/**
|
|
197
|
-
* Publish my post.
|
|
198
|
-
* @param {PostV1alpha1UcApiPublishMyPostRequest} requestParameters Request parameters.
|
|
199
|
-
* @param {*} [options] Override http request option.
|
|
200
|
-
* @throws {RequiredError}
|
|
201
|
-
*/
|
|
202
|
-
publishMyPost(requestParameters: PostV1alpha1UcApiPublishMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
203
|
-
/**
|
|
204
|
-
* Move my post to recycle bin.
|
|
205
|
-
* @param {PostV1alpha1UcApiRecycleMyPostRequest} requestParameters Request parameters.
|
|
206
|
-
* @param {*} [options] Override http request option.
|
|
207
|
-
* @throws {RequiredError}
|
|
208
|
-
*/
|
|
209
|
-
recycleMyPost(requestParameters: PostV1alpha1UcApiRecycleMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
210
|
-
/**
|
|
211
|
-
* Unpublish my post.
|
|
212
|
-
* @param {PostV1alpha1UcApiUnpublishMyPostRequest} requestParameters Request parameters.
|
|
213
|
-
* @param {*} [options] Override http request option.
|
|
214
|
-
* @throws {RequiredError}
|
|
215
|
-
*/
|
|
216
|
-
unpublishMyPost(requestParameters: PostV1alpha1UcApiUnpublishMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
217
|
-
/**
|
|
218
|
-
* Update my post.
|
|
219
|
-
* @param {PostV1alpha1UcApiUpdateMyPostRequest} requestParameters Request parameters.
|
|
220
|
-
* @param {*} [options] Override http request option.
|
|
221
|
-
* @throws {RequiredError}
|
|
222
|
-
*/
|
|
223
|
-
updateMyPost(requestParameters: PostV1alpha1UcApiUpdateMyPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
224
|
-
/**
|
|
225
|
-
* Update draft of my post. Please make sure set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
|
|
226
|
-
* @param {PostV1alpha1UcApiUpdateMyPostDraftRequest} requestParameters Request parameters.
|
|
227
|
-
* @param {*} [options] Override http request option.
|
|
228
|
-
* @throws {RequiredError}
|
|
229
|
-
*/
|
|
230
|
-
updateMyPostDraft(requestParameters: PostV1alpha1UcApiUpdateMyPostDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<Snapshot>;
|
|
231
|
-
};
|
|
232
|
-
/**
|
|
233
|
-
* Request parameters for createMyPost operation in PostV1alpha1UcApi.
|
|
234
|
-
* @export
|
|
235
|
-
* @interface PostV1alpha1UcApiCreateMyPostRequest
|
|
236
|
-
*/
|
|
237
|
-
export interface PostV1alpha1UcApiCreateMyPostRequest {
|
|
238
|
-
/**
|
|
239
|
-
*
|
|
240
|
-
* @type {Post}
|
|
241
|
-
* @memberof PostV1alpha1UcApiCreateMyPost
|
|
242
|
-
*/
|
|
243
|
-
readonly post?: Post;
|
|
244
|
-
}
|
|
245
|
-
/**
|
|
246
|
-
* Request parameters for getMyPost operation in PostV1alpha1UcApi.
|
|
247
|
-
* @export
|
|
248
|
-
* @interface PostV1alpha1UcApiGetMyPostRequest
|
|
249
|
-
*/
|
|
250
|
-
export interface PostV1alpha1UcApiGetMyPostRequest {
|
|
251
|
-
/**
|
|
252
|
-
* Post name
|
|
253
|
-
* @type {string}
|
|
254
|
-
* @memberof PostV1alpha1UcApiGetMyPost
|
|
255
|
-
*/
|
|
256
|
-
readonly name: string;
|
|
257
|
-
}
|
|
258
|
-
/**
|
|
259
|
-
* Request parameters for getMyPostDraft operation in PostV1alpha1UcApi.
|
|
260
|
-
* @export
|
|
261
|
-
* @interface PostV1alpha1UcApiGetMyPostDraftRequest
|
|
262
|
-
*/
|
|
263
|
-
export interface PostV1alpha1UcApiGetMyPostDraftRequest {
|
|
264
|
-
/**
|
|
265
|
-
* Post name
|
|
266
|
-
* @type {string}
|
|
267
|
-
* @memberof PostV1alpha1UcApiGetMyPostDraft
|
|
268
|
-
*/
|
|
269
|
-
readonly name: string;
|
|
270
|
-
/**
|
|
271
|
-
* Should include patched content and raw or not.
|
|
272
|
-
* @type {boolean}
|
|
273
|
-
* @memberof PostV1alpha1UcApiGetMyPostDraft
|
|
274
|
-
*/
|
|
275
|
-
readonly patched?: boolean;
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* Request parameters for listMyPosts operation in PostV1alpha1UcApi.
|
|
279
|
-
* @export
|
|
280
|
-
* @interface PostV1alpha1UcApiListMyPostsRequest
|
|
281
|
-
*/
|
|
282
|
-
export interface PostV1alpha1UcApiListMyPostsRequest {
|
|
283
|
-
/**
|
|
284
|
-
* Page number. Default is 0.
|
|
285
|
-
* @type {number}
|
|
286
|
-
* @memberof PostV1alpha1UcApiListMyPosts
|
|
287
|
-
*/
|
|
288
|
-
readonly page?: number;
|
|
289
|
-
/**
|
|
290
|
-
* Size number. Default is 0.
|
|
291
|
-
* @type {number}
|
|
292
|
-
* @memberof PostV1alpha1UcApiListMyPosts
|
|
293
|
-
*/
|
|
294
|
-
readonly size?: number;
|
|
295
|
-
/**
|
|
296
|
-
* Label selector. e.g.: hidden!=true
|
|
297
|
-
* @type {Array<string>}
|
|
298
|
-
* @memberof PostV1alpha1UcApiListMyPosts
|
|
299
|
-
*/
|
|
300
|
-
readonly labelSelector?: Array<string>;
|
|
301
|
-
/**
|
|
302
|
-
* Field selector. e.g.: metadata.name==halo
|
|
303
|
-
* @type {Array<string>}
|
|
304
|
-
* @memberof PostV1alpha1UcApiListMyPosts
|
|
305
|
-
*/
|
|
306
|
-
readonly fieldSelector?: Array<string>;
|
|
307
|
-
/**
|
|
308
|
-
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
309
|
-
* @type {Array<string>}
|
|
310
|
-
* @memberof PostV1alpha1UcApiListMyPosts
|
|
311
|
-
*/
|
|
312
|
-
readonly sort?: Array<string>;
|
|
313
|
-
/**
|
|
314
|
-
* Posts filtered by publish phase.
|
|
315
|
-
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
316
|
-
* @memberof PostV1alpha1UcApiListMyPosts
|
|
317
|
-
*/
|
|
318
|
-
readonly publishPhase?: ListMyPostsPublishPhaseEnum;
|
|
319
|
-
/**
|
|
320
|
-
* Posts filtered by keyword.
|
|
321
|
-
* @type {string}
|
|
322
|
-
* @memberof PostV1alpha1UcApiListMyPosts
|
|
323
|
-
*/
|
|
324
|
-
readonly keyword?: string;
|
|
325
|
-
/**
|
|
326
|
-
* Posts filtered by category including sub-categories.
|
|
327
|
-
* @type {string}
|
|
328
|
-
* @memberof PostV1alpha1UcApiListMyPosts
|
|
329
|
-
*/
|
|
330
|
-
readonly categoryWithChildren?: string;
|
|
331
|
-
}
|
|
332
|
-
/**
|
|
333
|
-
* Request parameters for publishMyPost operation in PostV1alpha1UcApi.
|
|
334
|
-
* @export
|
|
335
|
-
* @interface PostV1alpha1UcApiPublishMyPostRequest
|
|
336
|
-
*/
|
|
337
|
-
export interface PostV1alpha1UcApiPublishMyPostRequest {
|
|
338
|
-
/**
|
|
339
|
-
* Post name
|
|
340
|
-
* @type {string}
|
|
341
|
-
* @memberof PostV1alpha1UcApiPublishMyPost
|
|
342
|
-
*/
|
|
343
|
-
readonly name: string;
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* Request parameters for recycleMyPost operation in PostV1alpha1UcApi.
|
|
347
|
-
* @export
|
|
348
|
-
* @interface PostV1alpha1UcApiRecycleMyPostRequest
|
|
349
|
-
*/
|
|
350
|
-
export interface PostV1alpha1UcApiRecycleMyPostRequest {
|
|
351
|
-
/**
|
|
352
|
-
* Post name
|
|
353
|
-
* @type {string}
|
|
354
|
-
* @memberof PostV1alpha1UcApiRecycleMyPost
|
|
355
|
-
*/
|
|
356
|
-
readonly name: string;
|
|
357
|
-
}
|
|
358
|
-
/**
|
|
359
|
-
* Request parameters for unpublishMyPost operation in PostV1alpha1UcApi.
|
|
360
|
-
* @export
|
|
361
|
-
* @interface PostV1alpha1UcApiUnpublishMyPostRequest
|
|
362
|
-
*/
|
|
363
|
-
export interface PostV1alpha1UcApiUnpublishMyPostRequest {
|
|
364
|
-
/**
|
|
365
|
-
* Post name
|
|
366
|
-
* @type {string}
|
|
367
|
-
* @memberof PostV1alpha1UcApiUnpublishMyPost
|
|
368
|
-
*/
|
|
369
|
-
readonly name: string;
|
|
370
|
-
}
|
|
371
|
-
/**
|
|
372
|
-
* Request parameters for updateMyPost operation in PostV1alpha1UcApi.
|
|
373
|
-
* @export
|
|
374
|
-
* @interface PostV1alpha1UcApiUpdateMyPostRequest
|
|
375
|
-
*/
|
|
376
|
-
export interface PostV1alpha1UcApiUpdateMyPostRequest {
|
|
377
|
-
/**
|
|
378
|
-
* Post name
|
|
379
|
-
* @type {string}
|
|
380
|
-
* @memberof PostV1alpha1UcApiUpdateMyPost
|
|
381
|
-
*/
|
|
382
|
-
readonly name: string;
|
|
383
|
-
/**
|
|
384
|
-
*
|
|
385
|
-
* @type {Post}
|
|
386
|
-
* @memberof PostV1alpha1UcApiUpdateMyPost
|
|
387
|
-
*/
|
|
388
|
-
readonly post?: Post;
|
|
389
|
-
}
|
|
390
|
-
/**
|
|
391
|
-
* Request parameters for updateMyPostDraft operation in PostV1alpha1UcApi.
|
|
392
|
-
* @export
|
|
393
|
-
* @interface PostV1alpha1UcApiUpdateMyPostDraftRequest
|
|
394
|
-
*/
|
|
395
|
-
export interface PostV1alpha1UcApiUpdateMyPostDraftRequest {
|
|
396
|
-
/**
|
|
397
|
-
* Post name
|
|
398
|
-
* @type {string}
|
|
399
|
-
* @memberof PostV1alpha1UcApiUpdateMyPostDraft
|
|
400
|
-
*/
|
|
401
|
-
readonly name: string;
|
|
402
|
-
/**
|
|
403
|
-
*
|
|
404
|
-
* @type {Snapshot}
|
|
405
|
-
* @memberof PostV1alpha1UcApiUpdateMyPostDraft
|
|
406
|
-
*/
|
|
407
|
-
readonly snapshot?: Snapshot;
|
|
408
|
-
}
|
|
409
|
-
/**
|
|
410
|
-
* PostV1alpha1UcApi - object-oriented interface
|
|
411
|
-
* @export
|
|
412
|
-
* @class PostV1alpha1UcApi
|
|
413
|
-
* @extends {BaseAPI}
|
|
414
|
-
*/
|
|
415
|
-
export declare class PostV1alpha1UcApi extends BaseAPI {
|
|
416
|
-
/**
|
|
417
|
-
* Create my post. If you want to create a post with content, please set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
|
|
418
|
-
* @param {PostV1alpha1UcApiCreateMyPostRequest} requestParameters Request parameters.
|
|
419
|
-
* @param {*} [options] Override http request option.
|
|
420
|
-
* @throws {RequiredError}
|
|
421
|
-
* @memberof PostV1alpha1UcApi
|
|
422
|
-
*/
|
|
423
|
-
createMyPost(requestParameters?: PostV1alpha1UcApiCreateMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
424
|
-
/**
|
|
425
|
-
* Get post that belongs to the current user.
|
|
426
|
-
* @param {PostV1alpha1UcApiGetMyPostRequest} requestParameters Request parameters.
|
|
427
|
-
* @param {*} [options] Override http request option.
|
|
428
|
-
* @throws {RequiredError}
|
|
429
|
-
* @memberof PostV1alpha1UcApi
|
|
430
|
-
*/
|
|
431
|
-
getMyPost(requestParameters: PostV1alpha1UcApiGetMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
432
|
-
/**
|
|
433
|
-
* Get my post draft.
|
|
434
|
-
* @param {PostV1alpha1UcApiGetMyPostDraftRequest} requestParameters Request parameters.
|
|
435
|
-
* @param {*} [options] Override http request option.
|
|
436
|
-
* @throws {RequiredError}
|
|
437
|
-
* @memberof PostV1alpha1UcApi
|
|
438
|
-
*/
|
|
439
|
-
getMyPostDraft(requestParameters: PostV1alpha1UcApiGetMyPostDraftRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Snapshot, any>>;
|
|
440
|
-
/**
|
|
441
|
-
* List posts owned by the current user.
|
|
442
|
-
* @param {PostV1alpha1UcApiListMyPostsRequest} requestParameters Request parameters.
|
|
443
|
-
* @param {*} [options] Override http request option.
|
|
444
|
-
* @throws {RequiredError}
|
|
445
|
-
* @memberof PostV1alpha1UcApi
|
|
446
|
-
*/
|
|
447
|
-
listMyPosts(requestParameters?: PostV1alpha1UcApiListMyPostsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ListedPostList, any>>;
|
|
448
|
-
/**
|
|
449
|
-
* Publish my post.
|
|
450
|
-
* @param {PostV1alpha1UcApiPublishMyPostRequest} requestParameters Request parameters.
|
|
451
|
-
* @param {*} [options] Override http request option.
|
|
452
|
-
* @throws {RequiredError}
|
|
453
|
-
* @memberof PostV1alpha1UcApi
|
|
454
|
-
*/
|
|
455
|
-
publishMyPost(requestParameters: PostV1alpha1UcApiPublishMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
456
|
-
/**
|
|
457
|
-
* Move my post to recycle bin.
|
|
458
|
-
* @param {PostV1alpha1UcApiRecycleMyPostRequest} requestParameters Request parameters.
|
|
459
|
-
* @param {*} [options] Override http request option.
|
|
460
|
-
* @throws {RequiredError}
|
|
461
|
-
* @memberof PostV1alpha1UcApi
|
|
462
|
-
*/
|
|
463
|
-
recycleMyPost(requestParameters: PostV1alpha1UcApiRecycleMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
464
|
-
/**
|
|
465
|
-
* Unpublish my post.
|
|
466
|
-
* @param {PostV1alpha1UcApiUnpublishMyPostRequest} requestParameters Request parameters.
|
|
467
|
-
* @param {*} [options] Override http request option.
|
|
468
|
-
* @throws {RequiredError}
|
|
469
|
-
* @memberof PostV1alpha1UcApi
|
|
470
|
-
*/
|
|
471
|
-
unpublishMyPost(requestParameters: PostV1alpha1UcApiUnpublishMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
472
|
-
/**
|
|
473
|
-
* Update my post.
|
|
474
|
-
* @param {PostV1alpha1UcApiUpdateMyPostRequest} requestParameters Request parameters.
|
|
475
|
-
* @param {*} [options] Override http request option.
|
|
476
|
-
* @throws {RequiredError}
|
|
477
|
-
* @memberof PostV1alpha1UcApi
|
|
478
|
-
*/
|
|
479
|
-
updateMyPost(requestParameters: PostV1alpha1UcApiUpdateMyPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
480
|
-
/**
|
|
481
|
-
* Update draft of my post. Please make sure set annotation: \"content.halo.run/content-json\" into annotations and refer to Content for corresponding data type.
|
|
482
|
-
* @param {PostV1alpha1UcApiUpdateMyPostDraftRequest} requestParameters Request parameters.
|
|
483
|
-
* @param {*} [options] Override http request option.
|
|
484
|
-
* @throws {RequiredError}
|
|
485
|
-
* @memberof PostV1alpha1UcApi
|
|
486
|
-
*/
|
|
487
|
-
updateMyPostDraft(requestParameters: PostV1alpha1UcApiUpdateMyPostDraftRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Snapshot, any>>;
|
|
488
|
-
}
|
|
489
|
-
/**
|
|
490
|
-
* @export
|
|
491
|
-
*/
|
|
492
|
-
export declare const ListMyPostsPublishPhaseEnum: {
|
|
493
|
-
readonly Draft: "DRAFT";
|
|
494
|
-
readonly PendingApproval: "PENDING_APPROVAL";
|
|
495
|
-
readonly Published: "PUBLISHED";
|
|
496
|
-
readonly Failed: "FAILED";
|
|
497
|
-
};
|
|
498
|
-
export type ListMyPostsPublishPhaseEnum = typeof ListMyPostsPublishPhaseEnum[keyof typeof ListMyPostsPublishPhaseEnum];
|