@halo-dev/api-client 2.20.21 → 2.21.1
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.mts +34164 -0
- package/dist/index.iife.js +4 -0
- package/dist/index.mjs +4 -0
- package/package.json +11 -17
- package/dist/entry/api-client.d.ts +0 -351
- package/dist/entry/index.d.ts +0 -2
- package/dist/halo-api-client.es.js +0 -23681
- 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 -142
- package/dist/src/api/indices-v1alpha1-console-api.d.ts +0 -83
- 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 -768
- package/dist/src/api/plugin-v1alpha1-public-api.d.ts +0 -71
- 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/search-engine-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 -698
- 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-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 -89
- 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 -253
- 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 -102
- 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-engine-list.d.ts +0 -62
- package/dist/src/models/search-engine-spec.d.ts +0 -44
- package/dist/src/models/search-engine.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 -102
- 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,615 +0,0 @@
|
|
|
1
|
-
import { Configuration } from '../configuration';
|
|
2
|
-
import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
3
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
4
|
-
import { Content, ContentWrapper, ListedSinglePageList, ListedSnapshotDto, Post, RevertSnapshotForSingleParam, SinglePage, SinglePageRequest } from '../models';
|
|
5
|
-
/**
|
|
6
|
-
* SinglePageV1alpha1ConsoleApi - axios parameter creator
|
|
7
|
-
* @export
|
|
8
|
-
*/
|
|
9
|
-
export declare const SinglePageV1alpha1ConsoleApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
10
|
-
/**
|
|
11
|
-
* Delete a content for post.
|
|
12
|
-
* @param {string} name
|
|
13
|
-
* @param {string} snapshotName
|
|
14
|
-
* @param {*} [options] Override http request option.
|
|
15
|
-
* @throws {RequiredError}
|
|
16
|
-
*/
|
|
17
|
-
deleteSinglePageContent: (name: string, snapshotName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18
|
-
/**
|
|
19
|
-
* Draft a single page.
|
|
20
|
-
* @param {SinglePageRequest} singlePageRequest
|
|
21
|
-
* @param {*} [options] Override http request option.
|
|
22
|
-
* @throws {RequiredError}
|
|
23
|
-
*/
|
|
24
|
-
draftSinglePage: (singlePageRequest: SinglePageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25
|
-
/**
|
|
26
|
-
* Fetch content of single page.
|
|
27
|
-
* @param {string} name
|
|
28
|
-
* @param {string} snapshotName
|
|
29
|
-
* @param {*} [options] Override http request option.
|
|
30
|
-
* @throws {RequiredError}
|
|
31
|
-
*/
|
|
32
|
-
fetchSinglePageContent: (name: string, snapshotName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
-
/**
|
|
34
|
-
* Fetch head content of single page.
|
|
35
|
-
* @param {string} name
|
|
36
|
-
* @param {*} [options] Override http request option.
|
|
37
|
-
* @throws {RequiredError}
|
|
38
|
-
*/
|
|
39
|
-
fetchSinglePageHeadContent: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
|
-
/**
|
|
41
|
-
* Fetch release content of single page.
|
|
42
|
-
* @param {string} name
|
|
43
|
-
* @param {*} [options] Override http request option.
|
|
44
|
-
* @throws {RequiredError}
|
|
45
|
-
*/
|
|
46
|
-
fetchSinglePageReleaseContent: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
|
-
/**
|
|
48
|
-
* List all snapshots for single page content.
|
|
49
|
-
* @param {string} name
|
|
50
|
-
* @param {*} [options] Override http request option.
|
|
51
|
-
* @throws {RequiredError}
|
|
52
|
-
*/
|
|
53
|
-
listSinglePageSnapshots: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
-
/**
|
|
55
|
-
* List single pages.
|
|
56
|
-
* @param {number} [page] Page number. Default is 0.
|
|
57
|
-
* @param {number} [size] Size number. Default is 0.
|
|
58
|
-
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
59
|
-
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
60
|
-
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
61
|
-
* @param {Array<string>} [contributor] SinglePages filtered by contributor.
|
|
62
|
-
* @param {ListSinglePagesPublishPhaseEnum} [publishPhase] SinglePages filtered by publish phase.
|
|
63
|
-
* @param {ListSinglePagesVisibleEnum} [visible] SinglePages filtered by visibility.
|
|
64
|
-
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
65
|
-
* @param {*} [options] Override http request option.
|
|
66
|
-
* @throws {RequiredError}
|
|
67
|
-
*/
|
|
68
|
-
listSinglePages: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, contributor?: Array<string>, publishPhase?: ListSinglePagesPublishPhaseEnum, visible?: ListSinglePagesVisibleEnum, keyword?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
-
/**
|
|
70
|
-
* Publish a single page.
|
|
71
|
-
* @param {string} name
|
|
72
|
-
* @param {*} [options] Override http request option.
|
|
73
|
-
* @throws {RequiredError}
|
|
74
|
-
*/
|
|
75
|
-
publishSinglePage: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
|
-
/**
|
|
77
|
-
* Revert to specified snapshot for single page content.
|
|
78
|
-
* @param {string} name
|
|
79
|
-
* @param {RevertSnapshotForSingleParam} revertSnapshotForSingleParam
|
|
80
|
-
* @param {*} [options] Override http request option.
|
|
81
|
-
* @throws {RequiredError}
|
|
82
|
-
*/
|
|
83
|
-
revertToSpecifiedSnapshotForSinglePage: (name: string, revertSnapshotForSingleParam: RevertSnapshotForSingleParam, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
|
-
/**
|
|
85
|
-
* Update a single page.
|
|
86
|
-
* @param {string} name
|
|
87
|
-
* @param {SinglePageRequest} singlePageRequest
|
|
88
|
-
* @param {*} [options] Override http request option.
|
|
89
|
-
* @throws {RequiredError}
|
|
90
|
-
*/
|
|
91
|
-
updateDraftSinglePage: (name: string, singlePageRequest: SinglePageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
92
|
-
/**
|
|
93
|
-
* Update a single page\'s content.
|
|
94
|
-
* @param {string} name
|
|
95
|
-
* @param {Content} content
|
|
96
|
-
* @param {*} [options] Override http request option.
|
|
97
|
-
* @throws {RequiredError}
|
|
98
|
-
*/
|
|
99
|
-
updateSinglePageContent: (name: string, content: Content, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* SinglePageV1alpha1ConsoleApi - functional programming interface
|
|
103
|
-
* @export
|
|
104
|
-
*/
|
|
105
|
-
export declare const SinglePageV1alpha1ConsoleApiFp: (configuration?: Configuration) => {
|
|
106
|
-
/**
|
|
107
|
-
* Delete a content for post.
|
|
108
|
-
* @param {string} name
|
|
109
|
-
* @param {string} snapshotName
|
|
110
|
-
* @param {*} [options] Override http request option.
|
|
111
|
-
* @throws {RequiredError}
|
|
112
|
-
*/
|
|
113
|
-
deleteSinglePageContent(name: string, snapshotName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContentWrapper>>;
|
|
114
|
-
/**
|
|
115
|
-
* Draft a single page.
|
|
116
|
-
* @param {SinglePageRequest} singlePageRequest
|
|
117
|
-
* @param {*} [options] Override http request option.
|
|
118
|
-
* @throws {RequiredError}
|
|
119
|
-
*/
|
|
120
|
-
draftSinglePage(singlePageRequest: SinglePageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SinglePage>>;
|
|
121
|
-
/**
|
|
122
|
-
* Fetch content of single page.
|
|
123
|
-
* @param {string} name
|
|
124
|
-
* @param {string} snapshotName
|
|
125
|
-
* @param {*} [options] Override http request option.
|
|
126
|
-
* @throws {RequiredError}
|
|
127
|
-
*/
|
|
128
|
-
fetchSinglePageContent(name: string, snapshotName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContentWrapper>>;
|
|
129
|
-
/**
|
|
130
|
-
* Fetch head content of single page.
|
|
131
|
-
* @param {string} name
|
|
132
|
-
* @param {*} [options] Override http request option.
|
|
133
|
-
* @throws {RequiredError}
|
|
134
|
-
*/
|
|
135
|
-
fetchSinglePageHeadContent(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContentWrapper>>;
|
|
136
|
-
/**
|
|
137
|
-
* Fetch release content of single page.
|
|
138
|
-
* @param {string} name
|
|
139
|
-
* @param {*} [options] Override http request option.
|
|
140
|
-
* @throws {RequiredError}
|
|
141
|
-
*/
|
|
142
|
-
fetchSinglePageReleaseContent(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContentWrapper>>;
|
|
143
|
-
/**
|
|
144
|
-
* List all snapshots for single page content.
|
|
145
|
-
* @param {string} name
|
|
146
|
-
* @param {*} [options] Override http request option.
|
|
147
|
-
* @throws {RequiredError}
|
|
148
|
-
*/
|
|
149
|
-
listSinglePageSnapshots(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListedSnapshotDto>>>;
|
|
150
|
-
/**
|
|
151
|
-
* List single pages.
|
|
152
|
-
* @param {number} [page] Page number. Default is 0.
|
|
153
|
-
* @param {number} [size] Size number. Default is 0.
|
|
154
|
-
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
155
|
-
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
156
|
-
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
157
|
-
* @param {Array<string>} [contributor] SinglePages filtered by contributor.
|
|
158
|
-
* @param {ListSinglePagesPublishPhaseEnum} [publishPhase] SinglePages filtered by publish phase.
|
|
159
|
-
* @param {ListSinglePagesVisibleEnum} [visible] SinglePages filtered by visibility.
|
|
160
|
-
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
161
|
-
* @param {*} [options] Override http request option.
|
|
162
|
-
* @throws {RequiredError}
|
|
163
|
-
*/
|
|
164
|
-
listSinglePages(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, contributor?: Array<string>, publishPhase?: ListSinglePagesPublishPhaseEnum, visible?: ListSinglePagesVisibleEnum, keyword?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedSinglePageList>>;
|
|
165
|
-
/**
|
|
166
|
-
* Publish a single page.
|
|
167
|
-
* @param {string} name
|
|
168
|
-
* @param {*} [options] Override http request option.
|
|
169
|
-
* @throws {RequiredError}
|
|
170
|
-
*/
|
|
171
|
-
publishSinglePage(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SinglePage>>;
|
|
172
|
-
/**
|
|
173
|
-
* Revert to specified snapshot for single page content.
|
|
174
|
-
* @param {string} name
|
|
175
|
-
* @param {RevertSnapshotForSingleParam} revertSnapshotForSingleParam
|
|
176
|
-
* @param {*} [options] Override http request option.
|
|
177
|
-
* @throws {RequiredError}
|
|
178
|
-
*/
|
|
179
|
-
revertToSpecifiedSnapshotForSinglePage(name: string, revertSnapshotForSingleParam: RevertSnapshotForSingleParam, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
180
|
-
/**
|
|
181
|
-
* Update a single page.
|
|
182
|
-
* @param {string} name
|
|
183
|
-
* @param {SinglePageRequest} singlePageRequest
|
|
184
|
-
* @param {*} [options] Override http request option.
|
|
185
|
-
* @throws {RequiredError}
|
|
186
|
-
*/
|
|
187
|
-
updateDraftSinglePage(name: string, singlePageRequest: SinglePageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SinglePage>>;
|
|
188
|
-
/**
|
|
189
|
-
* Update a single page\'s content.
|
|
190
|
-
* @param {string} name
|
|
191
|
-
* @param {Content} content
|
|
192
|
-
* @param {*} [options] Override http request option.
|
|
193
|
-
* @throws {RequiredError}
|
|
194
|
-
*/
|
|
195
|
-
updateSinglePageContent(name: string, content: Content, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
196
|
-
};
|
|
197
|
-
/**
|
|
198
|
-
* SinglePageV1alpha1ConsoleApi - factory interface
|
|
199
|
-
* @export
|
|
200
|
-
*/
|
|
201
|
-
export declare const SinglePageV1alpha1ConsoleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
202
|
-
/**
|
|
203
|
-
* Delete a content for post.
|
|
204
|
-
* @param {SinglePageV1alpha1ConsoleApiDeleteSinglePageContentRequest} requestParameters Request parameters.
|
|
205
|
-
* @param {*} [options] Override http request option.
|
|
206
|
-
* @throws {RequiredError}
|
|
207
|
-
*/
|
|
208
|
-
deleteSinglePageContent(requestParameters: SinglePageV1alpha1ConsoleApiDeleteSinglePageContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContentWrapper>;
|
|
209
|
-
/**
|
|
210
|
-
* Draft a single page.
|
|
211
|
-
* @param {SinglePageV1alpha1ConsoleApiDraftSinglePageRequest} requestParameters Request parameters.
|
|
212
|
-
* @param {*} [options] Override http request option.
|
|
213
|
-
* @throws {RequiredError}
|
|
214
|
-
*/
|
|
215
|
-
draftSinglePage(requestParameters: SinglePageV1alpha1ConsoleApiDraftSinglePageRequest, options?: RawAxiosRequestConfig): AxiosPromise<SinglePage>;
|
|
216
|
-
/**
|
|
217
|
-
* Fetch content of single page.
|
|
218
|
-
* @param {SinglePageV1alpha1ConsoleApiFetchSinglePageContentRequest} requestParameters Request parameters.
|
|
219
|
-
* @param {*} [options] Override http request option.
|
|
220
|
-
* @throws {RequiredError}
|
|
221
|
-
*/
|
|
222
|
-
fetchSinglePageContent(requestParameters: SinglePageV1alpha1ConsoleApiFetchSinglePageContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContentWrapper>;
|
|
223
|
-
/**
|
|
224
|
-
* Fetch head content of single page.
|
|
225
|
-
* @param {SinglePageV1alpha1ConsoleApiFetchSinglePageHeadContentRequest} requestParameters Request parameters.
|
|
226
|
-
* @param {*} [options] Override http request option.
|
|
227
|
-
* @throws {RequiredError}
|
|
228
|
-
*/
|
|
229
|
-
fetchSinglePageHeadContent(requestParameters: SinglePageV1alpha1ConsoleApiFetchSinglePageHeadContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContentWrapper>;
|
|
230
|
-
/**
|
|
231
|
-
* Fetch release content of single page.
|
|
232
|
-
* @param {SinglePageV1alpha1ConsoleApiFetchSinglePageReleaseContentRequest} requestParameters Request parameters.
|
|
233
|
-
* @param {*} [options] Override http request option.
|
|
234
|
-
* @throws {RequiredError}
|
|
235
|
-
*/
|
|
236
|
-
fetchSinglePageReleaseContent(requestParameters: SinglePageV1alpha1ConsoleApiFetchSinglePageReleaseContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContentWrapper>;
|
|
237
|
-
/**
|
|
238
|
-
* List all snapshots for single page content.
|
|
239
|
-
* @param {SinglePageV1alpha1ConsoleApiListSinglePageSnapshotsRequest} requestParameters Request parameters.
|
|
240
|
-
* @param {*} [options] Override http request option.
|
|
241
|
-
* @throws {RequiredError}
|
|
242
|
-
*/
|
|
243
|
-
listSinglePageSnapshots(requestParameters: SinglePageV1alpha1ConsoleApiListSinglePageSnapshotsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ListedSnapshotDto>>;
|
|
244
|
-
/**
|
|
245
|
-
* List single pages.
|
|
246
|
-
* @param {SinglePageV1alpha1ConsoleApiListSinglePagesRequest} requestParameters Request parameters.
|
|
247
|
-
* @param {*} [options] Override http request option.
|
|
248
|
-
* @throws {RequiredError}
|
|
249
|
-
*/
|
|
250
|
-
listSinglePages(requestParameters?: SinglePageV1alpha1ConsoleApiListSinglePagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListedSinglePageList>;
|
|
251
|
-
/**
|
|
252
|
-
* Publish a single page.
|
|
253
|
-
* @param {SinglePageV1alpha1ConsoleApiPublishSinglePageRequest} requestParameters Request parameters.
|
|
254
|
-
* @param {*} [options] Override http request option.
|
|
255
|
-
* @throws {RequiredError}
|
|
256
|
-
*/
|
|
257
|
-
publishSinglePage(requestParameters: SinglePageV1alpha1ConsoleApiPublishSinglePageRequest, options?: RawAxiosRequestConfig): AxiosPromise<SinglePage>;
|
|
258
|
-
/**
|
|
259
|
-
* Revert to specified snapshot for single page content.
|
|
260
|
-
* @param {SinglePageV1alpha1ConsoleApiRevertToSpecifiedSnapshotForSinglePageRequest} requestParameters Request parameters.
|
|
261
|
-
* @param {*} [options] Override http request option.
|
|
262
|
-
* @throws {RequiredError}
|
|
263
|
-
*/
|
|
264
|
-
revertToSpecifiedSnapshotForSinglePage(requestParameters: SinglePageV1alpha1ConsoleApiRevertToSpecifiedSnapshotForSinglePageRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
265
|
-
/**
|
|
266
|
-
* Update a single page.
|
|
267
|
-
* @param {SinglePageV1alpha1ConsoleApiUpdateDraftSinglePageRequest} requestParameters Request parameters.
|
|
268
|
-
* @param {*} [options] Override http request option.
|
|
269
|
-
* @throws {RequiredError}
|
|
270
|
-
*/
|
|
271
|
-
updateDraftSinglePage(requestParameters: SinglePageV1alpha1ConsoleApiUpdateDraftSinglePageRequest, options?: RawAxiosRequestConfig): AxiosPromise<SinglePage>;
|
|
272
|
-
/**
|
|
273
|
-
* Update a single page\'s content.
|
|
274
|
-
* @param {SinglePageV1alpha1ConsoleApiUpdateSinglePageContentRequest} requestParameters Request parameters.
|
|
275
|
-
* @param {*} [options] Override http request option.
|
|
276
|
-
* @throws {RequiredError}
|
|
277
|
-
*/
|
|
278
|
-
updateSinglePageContent(requestParameters: SinglePageV1alpha1ConsoleApiUpdateSinglePageContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Post>;
|
|
279
|
-
};
|
|
280
|
-
/**
|
|
281
|
-
* Request parameters for deleteSinglePageContent operation in SinglePageV1alpha1ConsoleApi.
|
|
282
|
-
* @export
|
|
283
|
-
* @interface SinglePageV1alpha1ConsoleApiDeleteSinglePageContentRequest
|
|
284
|
-
*/
|
|
285
|
-
export interface SinglePageV1alpha1ConsoleApiDeleteSinglePageContentRequest {
|
|
286
|
-
/**
|
|
287
|
-
*
|
|
288
|
-
* @type {string}
|
|
289
|
-
* @memberof SinglePageV1alpha1ConsoleApiDeleteSinglePageContent
|
|
290
|
-
*/
|
|
291
|
-
readonly name: string;
|
|
292
|
-
/**
|
|
293
|
-
*
|
|
294
|
-
* @type {string}
|
|
295
|
-
* @memberof SinglePageV1alpha1ConsoleApiDeleteSinglePageContent
|
|
296
|
-
*/
|
|
297
|
-
readonly snapshotName: string;
|
|
298
|
-
}
|
|
299
|
-
/**
|
|
300
|
-
* Request parameters for draftSinglePage operation in SinglePageV1alpha1ConsoleApi.
|
|
301
|
-
* @export
|
|
302
|
-
* @interface SinglePageV1alpha1ConsoleApiDraftSinglePageRequest
|
|
303
|
-
*/
|
|
304
|
-
export interface SinglePageV1alpha1ConsoleApiDraftSinglePageRequest {
|
|
305
|
-
/**
|
|
306
|
-
*
|
|
307
|
-
* @type {SinglePageRequest}
|
|
308
|
-
* @memberof SinglePageV1alpha1ConsoleApiDraftSinglePage
|
|
309
|
-
*/
|
|
310
|
-
readonly singlePageRequest: SinglePageRequest;
|
|
311
|
-
}
|
|
312
|
-
/**
|
|
313
|
-
* Request parameters for fetchSinglePageContent operation in SinglePageV1alpha1ConsoleApi.
|
|
314
|
-
* @export
|
|
315
|
-
* @interface SinglePageV1alpha1ConsoleApiFetchSinglePageContentRequest
|
|
316
|
-
*/
|
|
317
|
-
export interface SinglePageV1alpha1ConsoleApiFetchSinglePageContentRequest {
|
|
318
|
-
/**
|
|
319
|
-
*
|
|
320
|
-
* @type {string}
|
|
321
|
-
* @memberof SinglePageV1alpha1ConsoleApiFetchSinglePageContent
|
|
322
|
-
*/
|
|
323
|
-
readonly name: string;
|
|
324
|
-
/**
|
|
325
|
-
*
|
|
326
|
-
* @type {string}
|
|
327
|
-
* @memberof SinglePageV1alpha1ConsoleApiFetchSinglePageContent
|
|
328
|
-
*/
|
|
329
|
-
readonly snapshotName: string;
|
|
330
|
-
}
|
|
331
|
-
/**
|
|
332
|
-
* Request parameters for fetchSinglePageHeadContent operation in SinglePageV1alpha1ConsoleApi.
|
|
333
|
-
* @export
|
|
334
|
-
* @interface SinglePageV1alpha1ConsoleApiFetchSinglePageHeadContentRequest
|
|
335
|
-
*/
|
|
336
|
-
export interface SinglePageV1alpha1ConsoleApiFetchSinglePageHeadContentRequest {
|
|
337
|
-
/**
|
|
338
|
-
*
|
|
339
|
-
* @type {string}
|
|
340
|
-
* @memberof SinglePageV1alpha1ConsoleApiFetchSinglePageHeadContent
|
|
341
|
-
*/
|
|
342
|
-
readonly name: string;
|
|
343
|
-
}
|
|
344
|
-
/**
|
|
345
|
-
* Request parameters for fetchSinglePageReleaseContent operation in SinglePageV1alpha1ConsoleApi.
|
|
346
|
-
* @export
|
|
347
|
-
* @interface SinglePageV1alpha1ConsoleApiFetchSinglePageReleaseContentRequest
|
|
348
|
-
*/
|
|
349
|
-
export interface SinglePageV1alpha1ConsoleApiFetchSinglePageReleaseContentRequest {
|
|
350
|
-
/**
|
|
351
|
-
*
|
|
352
|
-
* @type {string}
|
|
353
|
-
* @memberof SinglePageV1alpha1ConsoleApiFetchSinglePageReleaseContent
|
|
354
|
-
*/
|
|
355
|
-
readonly name: string;
|
|
356
|
-
}
|
|
357
|
-
/**
|
|
358
|
-
* Request parameters for listSinglePageSnapshots operation in SinglePageV1alpha1ConsoleApi.
|
|
359
|
-
* @export
|
|
360
|
-
* @interface SinglePageV1alpha1ConsoleApiListSinglePageSnapshotsRequest
|
|
361
|
-
*/
|
|
362
|
-
export interface SinglePageV1alpha1ConsoleApiListSinglePageSnapshotsRequest {
|
|
363
|
-
/**
|
|
364
|
-
*
|
|
365
|
-
* @type {string}
|
|
366
|
-
* @memberof SinglePageV1alpha1ConsoleApiListSinglePageSnapshots
|
|
367
|
-
*/
|
|
368
|
-
readonly name: string;
|
|
369
|
-
}
|
|
370
|
-
/**
|
|
371
|
-
* Request parameters for listSinglePages operation in SinglePageV1alpha1ConsoleApi.
|
|
372
|
-
* @export
|
|
373
|
-
* @interface SinglePageV1alpha1ConsoleApiListSinglePagesRequest
|
|
374
|
-
*/
|
|
375
|
-
export interface SinglePageV1alpha1ConsoleApiListSinglePagesRequest {
|
|
376
|
-
/**
|
|
377
|
-
* Page number. Default is 0.
|
|
378
|
-
* @type {number}
|
|
379
|
-
* @memberof SinglePageV1alpha1ConsoleApiListSinglePages
|
|
380
|
-
*/
|
|
381
|
-
readonly page?: number;
|
|
382
|
-
/**
|
|
383
|
-
* Size number. Default is 0.
|
|
384
|
-
* @type {number}
|
|
385
|
-
* @memberof SinglePageV1alpha1ConsoleApiListSinglePages
|
|
386
|
-
*/
|
|
387
|
-
readonly size?: number;
|
|
388
|
-
/**
|
|
389
|
-
* Label selector. e.g.: hidden!=true
|
|
390
|
-
* @type {Array<string>}
|
|
391
|
-
* @memberof SinglePageV1alpha1ConsoleApiListSinglePages
|
|
392
|
-
*/
|
|
393
|
-
readonly labelSelector?: Array<string>;
|
|
394
|
-
/**
|
|
395
|
-
* Field selector. e.g.: metadata.name==halo
|
|
396
|
-
* @type {Array<string>}
|
|
397
|
-
* @memberof SinglePageV1alpha1ConsoleApiListSinglePages
|
|
398
|
-
*/
|
|
399
|
-
readonly fieldSelector?: Array<string>;
|
|
400
|
-
/**
|
|
401
|
-
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
402
|
-
* @type {Array<string>}
|
|
403
|
-
* @memberof SinglePageV1alpha1ConsoleApiListSinglePages
|
|
404
|
-
*/
|
|
405
|
-
readonly sort?: Array<string>;
|
|
406
|
-
/**
|
|
407
|
-
* SinglePages filtered by contributor.
|
|
408
|
-
* @type {Array<string>}
|
|
409
|
-
* @memberof SinglePageV1alpha1ConsoleApiListSinglePages
|
|
410
|
-
*/
|
|
411
|
-
readonly contributor?: Array<string>;
|
|
412
|
-
/**
|
|
413
|
-
* SinglePages filtered by publish phase.
|
|
414
|
-
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
415
|
-
* @memberof SinglePageV1alpha1ConsoleApiListSinglePages
|
|
416
|
-
*/
|
|
417
|
-
readonly publishPhase?: ListSinglePagesPublishPhaseEnum;
|
|
418
|
-
/**
|
|
419
|
-
* SinglePages filtered by visibility.
|
|
420
|
-
* @type {'PUBLIC' | 'INTERNAL' | 'PRIVATE'}
|
|
421
|
-
* @memberof SinglePageV1alpha1ConsoleApiListSinglePages
|
|
422
|
-
*/
|
|
423
|
-
readonly visible?: ListSinglePagesVisibleEnum;
|
|
424
|
-
/**
|
|
425
|
-
* SinglePages filtered by keyword.
|
|
426
|
-
* @type {string}
|
|
427
|
-
* @memberof SinglePageV1alpha1ConsoleApiListSinglePages
|
|
428
|
-
*/
|
|
429
|
-
readonly keyword?: string;
|
|
430
|
-
}
|
|
431
|
-
/**
|
|
432
|
-
* Request parameters for publishSinglePage operation in SinglePageV1alpha1ConsoleApi.
|
|
433
|
-
* @export
|
|
434
|
-
* @interface SinglePageV1alpha1ConsoleApiPublishSinglePageRequest
|
|
435
|
-
*/
|
|
436
|
-
export interface SinglePageV1alpha1ConsoleApiPublishSinglePageRequest {
|
|
437
|
-
/**
|
|
438
|
-
*
|
|
439
|
-
* @type {string}
|
|
440
|
-
* @memberof SinglePageV1alpha1ConsoleApiPublishSinglePage
|
|
441
|
-
*/
|
|
442
|
-
readonly name: string;
|
|
443
|
-
}
|
|
444
|
-
/**
|
|
445
|
-
* Request parameters for revertToSpecifiedSnapshotForSinglePage operation in SinglePageV1alpha1ConsoleApi.
|
|
446
|
-
* @export
|
|
447
|
-
* @interface SinglePageV1alpha1ConsoleApiRevertToSpecifiedSnapshotForSinglePageRequest
|
|
448
|
-
*/
|
|
449
|
-
export interface SinglePageV1alpha1ConsoleApiRevertToSpecifiedSnapshotForSinglePageRequest {
|
|
450
|
-
/**
|
|
451
|
-
*
|
|
452
|
-
* @type {string}
|
|
453
|
-
* @memberof SinglePageV1alpha1ConsoleApiRevertToSpecifiedSnapshotForSinglePage
|
|
454
|
-
*/
|
|
455
|
-
readonly name: string;
|
|
456
|
-
/**
|
|
457
|
-
*
|
|
458
|
-
* @type {RevertSnapshotForSingleParam}
|
|
459
|
-
* @memberof SinglePageV1alpha1ConsoleApiRevertToSpecifiedSnapshotForSinglePage
|
|
460
|
-
*/
|
|
461
|
-
readonly revertSnapshotForSingleParam: RevertSnapshotForSingleParam;
|
|
462
|
-
}
|
|
463
|
-
/**
|
|
464
|
-
* Request parameters for updateDraftSinglePage operation in SinglePageV1alpha1ConsoleApi.
|
|
465
|
-
* @export
|
|
466
|
-
* @interface SinglePageV1alpha1ConsoleApiUpdateDraftSinglePageRequest
|
|
467
|
-
*/
|
|
468
|
-
export interface SinglePageV1alpha1ConsoleApiUpdateDraftSinglePageRequest {
|
|
469
|
-
/**
|
|
470
|
-
*
|
|
471
|
-
* @type {string}
|
|
472
|
-
* @memberof SinglePageV1alpha1ConsoleApiUpdateDraftSinglePage
|
|
473
|
-
*/
|
|
474
|
-
readonly name: string;
|
|
475
|
-
/**
|
|
476
|
-
*
|
|
477
|
-
* @type {SinglePageRequest}
|
|
478
|
-
* @memberof SinglePageV1alpha1ConsoleApiUpdateDraftSinglePage
|
|
479
|
-
*/
|
|
480
|
-
readonly singlePageRequest: SinglePageRequest;
|
|
481
|
-
}
|
|
482
|
-
/**
|
|
483
|
-
* Request parameters for updateSinglePageContent operation in SinglePageV1alpha1ConsoleApi.
|
|
484
|
-
* @export
|
|
485
|
-
* @interface SinglePageV1alpha1ConsoleApiUpdateSinglePageContentRequest
|
|
486
|
-
*/
|
|
487
|
-
export interface SinglePageV1alpha1ConsoleApiUpdateSinglePageContentRequest {
|
|
488
|
-
/**
|
|
489
|
-
*
|
|
490
|
-
* @type {string}
|
|
491
|
-
* @memberof SinglePageV1alpha1ConsoleApiUpdateSinglePageContent
|
|
492
|
-
*/
|
|
493
|
-
readonly name: string;
|
|
494
|
-
/**
|
|
495
|
-
*
|
|
496
|
-
* @type {Content}
|
|
497
|
-
* @memberof SinglePageV1alpha1ConsoleApiUpdateSinglePageContent
|
|
498
|
-
*/
|
|
499
|
-
readonly content: Content;
|
|
500
|
-
}
|
|
501
|
-
/**
|
|
502
|
-
* SinglePageV1alpha1ConsoleApi - object-oriented interface
|
|
503
|
-
* @export
|
|
504
|
-
* @class SinglePageV1alpha1ConsoleApi
|
|
505
|
-
* @extends {BaseAPI}
|
|
506
|
-
*/
|
|
507
|
-
export declare class SinglePageV1alpha1ConsoleApi extends BaseAPI {
|
|
508
|
-
/**
|
|
509
|
-
* Delete a content for post.
|
|
510
|
-
* @param {SinglePageV1alpha1ConsoleApiDeleteSinglePageContentRequest} requestParameters Request parameters.
|
|
511
|
-
* @param {*} [options] Override http request option.
|
|
512
|
-
* @throws {RequiredError}
|
|
513
|
-
* @memberof SinglePageV1alpha1ConsoleApi
|
|
514
|
-
*/
|
|
515
|
-
deleteSinglePageContent(requestParameters: SinglePageV1alpha1ConsoleApiDeleteSinglePageContentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ContentWrapper, any>>;
|
|
516
|
-
/**
|
|
517
|
-
* Draft a single page.
|
|
518
|
-
* @param {SinglePageV1alpha1ConsoleApiDraftSinglePageRequest} requestParameters Request parameters.
|
|
519
|
-
* @param {*} [options] Override http request option.
|
|
520
|
-
* @throws {RequiredError}
|
|
521
|
-
* @memberof SinglePageV1alpha1ConsoleApi
|
|
522
|
-
*/
|
|
523
|
-
draftSinglePage(requestParameters: SinglePageV1alpha1ConsoleApiDraftSinglePageRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SinglePage, any>>;
|
|
524
|
-
/**
|
|
525
|
-
* Fetch content of single page.
|
|
526
|
-
* @param {SinglePageV1alpha1ConsoleApiFetchSinglePageContentRequest} requestParameters Request parameters.
|
|
527
|
-
* @param {*} [options] Override http request option.
|
|
528
|
-
* @throws {RequiredError}
|
|
529
|
-
* @memberof SinglePageV1alpha1ConsoleApi
|
|
530
|
-
*/
|
|
531
|
-
fetchSinglePageContent(requestParameters: SinglePageV1alpha1ConsoleApiFetchSinglePageContentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ContentWrapper, any>>;
|
|
532
|
-
/**
|
|
533
|
-
* Fetch head content of single page.
|
|
534
|
-
* @param {SinglePageV1alpha1ConsoleApiFetchSinglePageHeadContentRequest} requestParameters Request parameters.
|
|
535
|
-
* @param {*} [options] Override http request option.
|
|
536
|
-
* @throws {RequiredError}
|
|
537
|
-
* @memberof SinglePageV1alpha1ConsoleApi
|
|
538
|
-
*/
|
|
539
|
-
fetchSinglePageHeadContent(requestParameters: SinglePageV1alpha1ConsoleApiFetchSinglePageHeadContentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ContentWrapper, any>>;
|
|
540
|
-
/**
|
|
541
|
-
* Fetch release content of single page.
|
|
542
|
-
* @param {SinglePageV1alpha1ConsoleApiFetchSinglePageReleaseContentRequest} requestParameters Request parameters.
|
|
543
|
-
* @param {*} [options] Override http request option.
|
|
544
|
-
* @throws {RequiredError}
|
|
545
|
-
* @memberof SinglePageV1alpha1ConsoleApi
|
|
546
|
-
*/
|
|
547
|
-
fetchSinglePageReleaseContent(requestParameters: SinglePageV1alpha1ConsoleApiFetchSinglePageReleaseContentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ContentWrapper, any>>;
|
|
548
|
-
/**
|
|
549
|
-
* List all snapshots for single page content.
|
|
550
|
-
* @param {SinglePageV1alpha1ConsoleApiListSinglePageSnapshotsRequest} requestParameters Request parameters.
|
|
551
|
-
* @param {*} [options] Override http request option.
|
|
552
|
-
* @throws {RequiredError}
|
|
553
|
-
* @memberof SinglePageV1alpha1ConsoleApi
|
|
554
|
-
*/
|
|
555
|
-
listSinglePageSnapshots(requestParameters: SinglePageV1alpha1ConsoleApiListSinglePageSnapshotsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ListedSnapshotDto[], any>>;
|
|
556
|
-
/**
|
|
557
|
-
* List single pages.
|
|
558
|
-
* @param {SinglePageV1alpha1ConsoleApiListSinglePagesRequest} requestParameters Request parameters.
|
|
559
|
-
* @param {*} [options] Override http request option.
|
|
560
|
-
* @throws {RequiredError}
|
|
561
|
-
* @memberof SinglePageV1alpha1ConsoleApi
|
|
562
|
-
*/
|
|
563
|
-
listSinglePages(requestParameters?: SinglePageV1alpha1ConsoleApiListSinglePagesRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ListedSinglePageList, any>>;
|
|
564
|
-
/**
|
|
565
|
-
* Publish a single page.
|
|
566
|
-
* @param {SinglePageV1alpha1ConsoleApiPublishSinglePageRequest} requestParameters Request parameters.
|
|
567
|
-
* @param {*} [options] Override http request option.
|
|
568
|
-
* @throws {RequiredError}
|
|
569
|
-
* @memberof SinglePageV1alpha1ConsoleApi
|
|
570
|
-
*/
|
|
571
|
-
publishSinglePage(requestParameters: SinglePageV1alpha1ConsoleApiPublishSinglePageRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SinglePage, any>>;
|
|
572
|
-
/**
|
|
573
|
-
* Revert to specified snapshot for single page content.
|
|
574
|
-
* @param {SinglePageV1alpha1ConsoleApiRevertToSpecifiedSnapshotForSinglePageRequest} requestParameters Request parameters.
|
|
575
|
-
* @param {*} [options] Override http request option.
|
|
576
|
-
* @throws {RequiredError}
|
|
577
|
-
* @memberof SinglePageV1alpha1ConsoleApi
|
|
578
|
-
*/
|
|
579
|
-
revertToSpecifiedSnapshotForSinglePage(requestParameters: SinglePageV1alpha1ConsoleApiRevertToSpecifiedSnapshotForSinglePageRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
580
|
-
/**
|
|
581
|
-
* Update a single page.
|
|
582
|
-
* @param {SinglePageV1alpha1ConsoleApiUpdateDraftSinglePageRequest} requestParameters Request parameters.
|
|
583
|
-
* @param {*} [options] Override http request option.
|
|
584
|
-
* @throws {RequiredError}
|
|
585
|
-
* @memberof SinglePageV1alpha1ConsoleApi
|
|
586
|
-
*/
|
|
587
|
-
updateDraftSinglePage(requestParameters: SinglePageV1alpha1ConsoleApiUpdateDraftSinglePageRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SinglePage, any>>;
|
|
588
|
-
/**
|
|
589
|
-
* Update a single page\'s content.
|
|
590
|
-
* @param {SinglePageV1alpha1ConsoleApiUpdateSinglePageContentRequest} requestParameters Request parameters.
|
|
591
|
-
* @param {*} [options] Override http request option.
|
|
592
|
-
* @throws {RequiredError}
|
|
593
|
-
* @memberof SinglePageV1alpha1ConsoleApi
|
|
594
|
-
*/
|
|
595
|
-
updateSinglePageContent(requestParameters: SinglePageV1alpha1ConsoleApiUpdateSinglePageContentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Post, any>>;
|
|
596
|
-
}
|
|
597
|
-
/**
|
|
598
|
-
* @export
|
|
599
|
-
*/
|
|
600
|
-
export declare const ListSinglePagesPublishPhaseEnum: {
|
|
601
|
-
readonly Draft: "DRAFT";
|
|
602
|
-
readonly PendingApproval: "PENDING_APPROVAL";
|
|
603
|
-
readonly Published: "PUBLISHED";
|
|
604
|
-
readonly Failed: "FAILED";
|
|
605
|
-
};
|
|
606
|
-
export type ListSinglePagesPublishPhaseEnum = typeof ListSinglePagesPublishPhaseEnum[keyof typeof ListSinglePagesPublishPhaseEnum];
|
|
607
|
-
/**
|
|
608
|
-
* @export
|
|
609
|
-
*/
|
|
610
|
-
export declare const ListSinglePagesVisibleEnum: {
|
|
611
|
-
readonly Public: "PUBLIC";
|
|
612
|
-
readonly Internal: "INTERNAL";
|
|
613
|
-
readonly Private: "PRIVATE";
|
|
614
|
-
};
|
|
615
|
-
export type ListSinglePagesVisibleEnum = typeof ListSinglePagesVisibleEnum[keyof typeof ListSinglePagesVisibleEnum];
|