@halo-dev/api-client 2.15.0 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -11
- package/dist/entry/api-client.d.ts +348 -0
- package/dist/entry/index.d.ts +2 -0
- package/dist/halo-api-client.es.js +20971 -0
- package/dist/halo-api-client.es.js.map +1 -0
- package/dist/halo-api-client.iife.js +2 -0
- package/dist/halo-api-client.iife.js.map +1 -0
- package/dist/src/api/annotation-setting-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/api-notification-halo-run-v1alpha1-subscription-api.d.ts +80 -0
- package/dist/src/api/attachment-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/attachment-v1alpha1-console-api.d.ts +187 -0
- package/dist/src/api/attachment-v1alpha1-uc-api.d.ts +97 -0
- package/dist/src/api/auth-provider-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/auth-provider-v1alpha1-console-api.d.ts +140 -0
- package/dist/src/api/backup-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/category-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/category-v1alpha1-public-api.d.ts +229 -0
- package/dist/src/api/comment-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/comment-v1alpha1-console-api.d.ts +221 -0
- package/dist/src/api/comment-v1alpha1-public-api.d.ts +329 -0
- package/dist/src/api/config-map-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/counter-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/device-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/device-v1alpha1-uc-api.d.ts +98 -0
- package/dist/src/api/extension-definition-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/extension-point-definition-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/group-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/index-v1alpha1-public-api.d.ts +143 -0
- package/dist/src/api/indices-v1alpha1-console-api.d.ts +84 -0
- package/dist/src/api/login-api.d.ts +56 -0
- package/dist/src/api/menu-item-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/menu-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/menu-v1alpha1-public-api.d.ts +98 -0
- package/dist/src/api/metrics-v1alpha1-public-api.d.ts +157 -0
- package/dist/src/api/migration-v1alpha1-console-api.d.ts +138 -0
- package/dist/src/api/notification-template-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/notification-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/notification-v1alpha1-uc-api.d.ts +363 -0
- package/dist/src/api/notifier-descriptor-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/notifier-v1alpha1-console-api.d.ts +165 -0
- package/dist/src/api/notifier-v1alpha1-uc-api.d.ts +122 -0
- package/dist/src/api/personal-access-token-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/personal-access-token-v1alpha1-uc-api.d.ts +266 -0
- package/dist/src/api/plugin-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/plugin-v1alpha1-console-api.d.ts +698 -0
- package/dist/src/api/plugin-v1alpha1-public-api.d.ts +72 -0
- package/dist/src/api/policy-template-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/policy-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/post-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/post-v1alpha1-console-api.d.ts +699 -0
- package/dist/src/api/post-v1alpha1-public-api.d.ts +189 -0
- package/dist/src/api/post-v1alpha1-uc-api.d.ts +457 -0
- package/dist/src/api/reason-type-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/reason-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/remember-me-token-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/reply-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/reply-v1alpha1-console-api.d.ts +113 -0
- package/dist/src/api/reverse-proxy-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/role-binding-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/role-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/search-engine-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/secret-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/setting-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/single-page-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/single-page-v1alpha1-console-api.d.ts +616 -0
- package/dist/src/api/single-page-v1alpha1-public-api.d.ts +147 -0
- package/dist/src/api/snapshot-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/snapshot-v1alpha1-uc-api.d.ts +89 -0
- package/dist/src/api/subscription-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/system-v1alpha1-console-api.d.ts +98 -0
- package/dist/src/api/system-v1alpha1-public-api.d.ts +56 -0
- package/dist/src/api/tag-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/tag-v1alpha1-console-api.d.ts +113 -0
- package/dist/src/api/tag-v1alpha1-public-api.d.ts +229 -0
- package/dist/src/api/theme-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/theme-v1alpha1-console-api.d.ts +599 -0
- package/dist/src/api/two-factor-auth-v1alpha1-uc-api.d.ts +249 -0
- package/dist/src/api/user-connection-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/user-v1alpha1-api.d.ts +331 -0
- package/dist/src/api/user-v1alpha1-console-api.d.ts +632 -0
- package/dist/src/api/user-v1alpha1-public-api.d.ts +207 -0
- package/dist/src/api.d.ts +85 -0
- package/dist/src/base.d.ts +56 -0
- package/dist/src/common.d.ts +55 -0
- package/dist/src/configuration.d.ts +91 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/models/add-operation.d.ts +40 -0
- package/dist/src/models/annotation-setting-list.d.ts +63 -0
- package/dist/src/models/annotation-setting-spec.d.ts +21 -0
- package/dist/src/models/annotation-setting.d.ts +34 -0
- package/dist/src/models/attachment-list.d.ts +63 -0
- package/dist/src/models/attachment-spec.d.ts +60 -0
- package/dist/src/models/attachment-status.d.ts +24 -0
- package/dist/src/models/attachment.d.ts +41 -0
- package/dist/src/models/auth-provider-list.d.ts +63 -0
- package/dist/src/models/auth-provider-spec.d.ts +76 -0
- package/dist/src/models/auth-provider.d.ts +34 -0
- package/dist/src/models/author.d.ts +30 -0
- package/dist/src/models/backup-list.d.ts +63 -0
- package/dist/src/models/backup-spec.d.ts +30 -0
- package/dist/src/models/backup-status.d.ts +67 -0
- package/dist/src/models/backup.d.ts +41 -0
- package/dist/src/models/category-list.d.ts +63 -0
- package/dist/src/models/category-spec.d.ts +78 -0
- package/dist/src/models/category-status.d.ts +36 -0
- package/dist/src/models/category-vo-list.d.ts +63 -0
- package/dist/src/models/category-vo.d.ts +35 -0
- package/dist/src/models/category.d.ts +41 -0
- package/dist/src/models/change-own-password-request.d.ts +30 -0
- package/dist/src/models/change-password-request.d.ts +24 -0
- package/dist/src/models/comment-email-owner.d.ts +42 -0
- package/dist/src/models/comment-list.d.ts +63 -0
- package/dist/src/models/comment-owner.d.ts +44 -0
- package/dist/src/models/comment-request.d.ts +40 -0
- package/dist/src/models/comment-spec.d.ts +94 -0
- package/dist/src/models/comment-stats-vo.d.ts +24 -0
- package/dist/src/models/comment-stats.d.ts +24 -0
- package/dist/src/models/comment-status.d.ts +54 -0
- package/dist/src/models/comment-vo-list.d.ts +63 -0
- package/dist/src/models/comment-vo.d.ts +43 -0
- package/dist/src/models/comment-with-reply-vo-list.d.ts +63 -0
- package/dist/src/models/comment-with-reply-vo.d.ts +50 -0
- package/dist/src/models/comment.d.ts +41 -0
- package/dist/src/models/condition.d.ts +54 -0
- package/dist/src/models/config-map-list.d.ts +63 -0
- package/dist/src/models/config-map-ref.d.ts +24 -0
- package/dist/src/models/config-map.d.ts +35 -0
- package/dist/src/models/content-update-param.d.ts +42 -0
- package/dist/src/models/content-vo.d.ts +30 -0
- package/dist/src/models/content-wrapper.d.ts +42 -0
- package/dist/src/models/content.d.ts +36 -0
- package/dist/src/models/contributor-vo.d.ts +45 -0
- package/dist/src/models/contributor.d.ts +36 -0
- package/dist/src/models/copy-operation.d.ts +40 -0
- package/dist/src/models/counter-list.d.ts +63 -0
- package/dist/src/models/counter-request.d.ts +60 -0
- package/dist/src/models/counter.d.ts +57 -0
- package/dist/src/models/create-user-request.d.ts +74 -0
- package/dist/src/models/custom-templates.d.ts +27 -0
- package/dist/src/models/dashboard-stats.d.ts +54 -0
- package/dist/src/models/detailed-user.d.ts +22 -0
- package/dist/src/models/device-list.d.ts +63 -0
- package/dist/src/models/device-spec.d.ts +60 -0
- package/dist/src/models/device-status.d.ts +30 -0
- package/dist/src/models/device.d.ts +41 -0
- package/dist/src/models/email-config-validation-request.d.ts +66 -0
- package/dist/src/models/email-verify-request.d.ts +24 -0
- package/dist/src/models/excerpt.d.ts +30 -0
- package/dist/src/models/extension-definition-list.d.ts +63 -0
- package/dist/src/models/extension-definition.d.ts +34 -0
- package/dist/src/models/extension-point-definition-list.d.ts +63 -0
- package/dist/src/models/extension-point-definition.d.ts +34 -0
- package/dist/src/models/extension-point-spec.d.ts +53 -0
- package/dist/src/models/extension-spec.d.ts +48 -0
- package/dist/src/models/extension.d.ts +27 -0
- package/dist/src/models/file-reverse-proxy-provider.d.ts +30 -0
- package/dist/src/models/grant-request.d.ts +24 -0
- package/dist/src/models/group-kind.d.ts +30 -0
- package/dist/src/models/group-list.d.ts +63 -0
- package/dist/src/models/group-spec.d.ts +24 -0
- package/dist/src/models/group-status.d.ts +30 -0
- package/dist/src/models/group.d.ts +41 -0
- package/dist/src/models/halo-document.d.ts +116 -0
- package/dist/src/models/index.d.ts +249 -0
- package/dist/src/models/install-from-uri-request.d.ts +24 -0
- package/dist/src/models/interest-reason-subject.d.ts +36 -0
- package/dist/src/models/interest-reason.d.ts +27 -0
- package/dist/src/models/json-patch-inner.d.ts +12 -0
- package/dist/src/models/license.d.ts +30 -0
- package/dist/src/models/list-result-reply-vo.d.ts +63 -0
- package/dist/src/models/listed-auth-provider.d.ts +96 -0
- package/dist/src/models/listed-comment-list.d.ts +63 -0
- package/dist/src/models/listed-comment.d.ts +36 -0
- package/dist/src/models/listed-post-list.d.ts +63 -0
- package/dist/src/models/listed-post-vo-list.d.ts +63 -0
- package/dist/src/models/listed-post-vo.d.ts +63 -0
- package/dist/src/models/listed-post.d.ts +49 -0
- package/dist/src/models/listed-reply-list.d.ts +63 -0
- package/dist/src/models/listed-reply.d.ts +29 -0
- package/dist/src/models/listed-single-page-list.d.ts +63 -0
- package/dist/src/models/listed-single-page-vo-list.d.ts +63 -0
- package/dist/src/models/listed-single-page-vo.d.ts +49 -0
- package/dist/src/models/listed-single-page.d.ts +35 -0
- package/dist/src/models/listed-snapshot-dto.d.ts +22 -0
- package/dist/src/models/listed-snapshot-spec.d.ts +30 -0
- package/dist/src/models/listed-user.d.ts +22 -0
- package/dist/src/models/login-history.d.ts +48 -0
- package/dist/src/models/mark-specified-request.d.ts +24 -0
- package/dist/src/models/menu-item-list.d.ts +63 -0
- package/dist/src/models/menu-item-spec.d.ts +52 -0
- package/dist/src/models/menu-item-status.d.ts +30 -0
- package/dist/src/models/menu-item-vo.d.ts +41 -0
- package/dist/src/models/menu-item.d.ts +41 -0
- package/dist/src/models/menu-list.d.ts +63 -0
- package/dist/src/models/menu-spec.d.ts +30 -0
- package/dist/src/models/menu-vo.d.ts +29 -0
- package/dist/src/models/menu.d.ts +34 -0
- package/dist/src/models/metadata.d.ts +70 -0
- package/dist/src/models/move-operation.d.ts +40 -0
- package/dist/src/models/navigation-post-vo.d.ts +27 -0
- package/dist/src/models/notification-list.d.ts +63 -0
- package/dist/src/models/notification-spec.d.ts +60 -0
- package/dist/src/models/notification-template-list.d.ts +63 -0
- package/dist/src/models/notification-template-spec.d.ts +22 -0
- package/dist/src/models/notification-template.d.ts +34 -0
- package/dist/src/models/notification.d.ts +34 -0
- package/dist/src/models/notifier-descriptor-list.d.ts +63 -0
- package/dist/src/models/notifier-descriptor-spec.d.ts +39 -0
- package/dist/src/models/notifier-descriptor.d.ts +34 -0
- package/dist/src/models/notifier-info.d.ts +36 -0
- package/dist/src/models/notifier-setting-ref.d.ts +30 -0
- package/dist/src/models/owner-info.d.ts +48 -0
- package/dist/src/models/password-request.d.ts +24 -0
- package/dist/src/models/password-reset-email-request.d.ts +30 -0
- package/dist/src/models/pat-spec.d.ts +78 -0
- package/dist/src/models/personal-access-token-list.d.ts +63 -0
- package/dist/src/models/personal-access-token.d.ts +34 -0
- package/dist/src/models/plugin-author.d.ts +30 -0
- package/dist/src/models/plugin-list.d.ts +63 -0
- package/dist/src/models/plugin-running-state-request.d.ts +30 -0
- package/dist/src/models/plugin-spec.d.ts +103 -0
- package/dist/src/models/plugin-status.d.ts +80 -0
- package/dist/src/models/plugin.d.ts +41 -0
- package/dist/src/models/policy-list.d.ts +63 -0
- package/dist/src/models/policy-rule.d.ts +48 -0
- package/dist/src/models/policy-spec.d.ts +36 -0
- package/dist/src/models/policy-template-list.d.ts +63 -0
- package/dist/src/models/policy-template-spec.d.ts +30 -0
- package/dist/src/models/policy-template.d.ts +34 -0
- package/dist/src/models/policy.d.ts +34 -0
- package/dist/src/models/post-list.d.ts +63 -0
- package/dist/src/models/post-request.d.ts +22 -0
- package/dist/src/models/post-spec.d.ts +131 -0
- package/dist/src/models/post-status.d.ts +69 -0
- package/dist/src/models/post-vo.d.ts +70 -0
- package/dist/src/models/post.d.ts +41 -0
- package/dist/src/models/public-key-response.d.ts +24 -0
- package/dist/src/models/reason-list.d.ts +63 -0
- package/dist/src/models/reason-property.d.ts +42 -0
- package/dist/src/models/reason-selector.d.ts +30 -0
- package/dist/src/models/reason-spec-attributes.d.ts +24 -0
- package/dist/src/models/reason-spec.d.ts +34 -0
- package/dist/src/models/reason-subject.d.ts +48 -0
- package/dist/src/models/reason-type-info.d.ts +42 -0
- package/dist/src/models/reason-type-list.d.ts +63 -0
- package/dist/src/models/reason-type-notifier-collection-request.d.ts +15 -0
- package/dist/src/models/reason-type-notifier-matrix.d.ts +28 -0
- package/dist/src/models/reason-type-notifier-request.d.ts +30 -0
- package/dist/src/models/reason-type-spec.d.ts +27 -0
- package/dist/src/models/reason-type.d.ts +34 -0
- package/dist/src/models/reason.d.ts +34 -0
- package/dist/src/models/ref.d.ts +42 -0
- package/dist/src/models/register-verify-email-request.d.ts +24 -0
- package/dist/src/models/remember-me-token-list.d.ts +63 -0
- package/dist/src/models/remember-me-token-spec.d.ts +42 -0
- package/dist/src/models/remember-me-token.d.ts +34 -0
- package/dist/src/models/remove-operation.d.ts +34 -0
- package/dist/src/models/replace-operation.d.ts +40 -0
- package/dist/src/models/reply-list.d.ts +63 -0
- package/dist/src/models/reply-request.d.ts +39 -0
- package/dist/src/models/reply-spec.d.ts +93 -0
- package/dist/src/models/reply-status.d.ts +24 -0
- package/dist/src/models/reply-vo-list.d.ts +63 -0
- package/dist/src/models/reply-vo.d.ts +36 -0
- package/dist/src/models/reply.d.ts +41 -0
- package/dist/src/models/reset-password-request.d.ts +30 -0
- package/dist/src/models/reverse-proxy-list.d.ts +63 -0
- package/dist/src/models/reverse-proxy-rule.d.ts +21 -0
- package/dist/src/models/reverse-proxy.d.ts +34 -0
- package/dist/src/models/revert-snapshot-for-post-param.d.ts +24 -0
- package/dist/src/models/revert-snapshot-for-single-param.d.ts +24 -0
- package/dist/src/models/role-binding-list.d.ts +63 -0
- package/dist/src/models/role-binding.d.ts +41 -0
- package/dist/src/models/role-list.d.ts +63 -0
- package/dist/src/models/role-ref.d.ts +36 -0
- package/dist/src/models/role.d.ts +34 -0
- package/dist/src/models/search-engine-list.d.ts +63 -0
- package/dist/src/models/search-engine-spec.d.ts +45 -0
- package/dist/src/models/search-engine.d.ts +34 -0
- package/dist/src/models/search-option.d.ts +92 -0
- package/dist/src/models/search-result.d.ts +39 -0
- package/dist/src/models/secret-list.d.ts +63 -0
- package/dist/src/models/secret.d.ts +49 -0
- package/dist/src/models/setting-form.d.ts +36 -0
- package/dist/src/models/setting-list.d.ts +63 -0
- package/dist/src/models/setting-ref.d.ts +30 -0
- package/dist/src/models/setting-spec.d.ts +15 -0
- package/dist/src/models/setting.d.ts +34 -0
- package/dist/src/models/sign-up-request.d.ts +27 -0
- package/dist/src/models/single-page-list.d.ts +63 -0
- package/dist/src/models/single-page-request.d.ts +22 -0
- package/dist/src/models/single-page-spec.d.ts +119 -0
- package/dist/src/models/single-page-status.d.ts +69 -0
- package/dist/src/models/single-page-vo.d.ts +56 -0
- package/dist/src/models/single-page.d.ts +41 -0
- package/dist/src/models/site-stats-vo.d.ts +48 -0
- package/dist/src/models/snap-shot-spec.d.ts +57 -0
- package/dist/src/models/snapshot-list.d.ts +63 -0
- package/dist/src/models/snapshot.d.ts +34 -0
- package/dist/src/models/stats-vo.d.ts +36 -0
- package/dist/src/models/stats.d.ts +42 -0
- package/dist/src/models/subject.d.ts +36 -0
- package/dist/src/models/subscription-list.d.ts +63 -0
- package/dist/src/models/subscription-spec.d.ts +34 -0
- package/dist/src/models/subscription-subscriber.d.ts +24 -0
- package/dist/src/models/subscription.d.ts +34 -0
- package/dist/src/models/system-initialization-request.d.ts +42 -0
- package/dist/src/models/tag-list.d.ts +63 -0
- package/dist/src/models/tag-spec.d.ts +42 -0
- package/dist/src/models/tag-status.d.ts +42 -0
- package/dist/src/models/tag-vo-list.d.ts +63 -0
- package/dist/src/models/tag-vo.d.ts +35 -0
- package/dist/src/models/tag.d.ts +41 -0
- package/dist/src/models/template-content.d.ts +36 -0
- package/dist/src/models/template-descriptor.d.ts +42 -0
- package/dist/src/models/test-operation.d.ts +40 -0
- package/dist/src/models/theme-list.d.ts +63 -0
- package/dist/src/models/theme-spec.d.ts +103 -0
- package/dist/src/models/theme-status.d.ts +33 -0
- package/dist/src/models/theme.d.ts +41 -0
- package/dist/src/models/totp-auth-link-response.d.ts +30 -0
- package/dist/src/models/totp-request.d.ts +36 -0
- package/dist/src/models/two-factor-auth-settings.d.ts +42 -0
- package/dist/src/models/upgrade-from-uri-request.d.ts +24 -0
- package/dist/src/models/user-connection-list.d.ts +63 -0
- package/dist/src/models/user-connection-spec.d.ts +78 -0
- package/dist/src/models/user-connection.d.ts +34 -0
- package/dist/src/models/user-device.d.ts +27 -0
- package/dist/src/models/user-endpoint-listed-user-list.d.ts +63 -0
- package/dist/src/models/user-list.d.ts +63 -0
- package/dist/src/models/user-permission.d.ts +27 -0
- package/dist/src/models/user-spec.d.ts +90 -0
- package/dist/src/models/user-status.d.ts +27 -0
- package/dist/src/models/user.d.ts +41 -0
- package/dist/src/models/verify-code-request.d.ts +30 -0
- package/dist/src/models/vote-request.d.ts +36 -0
- package/package.json +28 -30
- package/dist/index.cjs +0 -13742
- package/dist/index.d.ts +0 -30491
- package/dist/index.mjs +0 -13423
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { Configuration } from '../configuration';
|
|
2
|
+
import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
3
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
4
|
+
import { PasswordResetEmailRequest, RegisterVerifyEmailRequest, ResetPasswordRequest, SignUpRequest, User } from '../models';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* UserV1alpha1PublicApi - axios parameter creator
|
|
8
|
+
* @export
|
|
9
|
+
*/
|
|
10
|
+
export declare const UserV1alpha1PublicApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
11
|
+
/**
|
|
12
|
+
* Reset password by token
|
|
13
|
+
* @param {string} name The name of the user
|
|
14
|
+
* @param {ResetPasswordRequest} resetPasswordRequest
|
|
15
|
+
* @param {*} [options] Override http request option.
|
|
16
|
+
* @throws {RequiredError}
|
|
17
|
+
*/
|
|
18
|
+
resetPasswordByToken: (name: string, resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19
|
+
/**
|
|
20
|
+
* Send password reset email when forgot password
|
|
21
|
+
* @param {PasswordResetEmailRequest} passwordResetEmailRequest
|
|
22
|
+
* @param {*} [options] Override http request option.
|
|
23
|
+
* @throws {RequiredError}
|
|
24
|
+
*/
|
|
25
|
+
sendPasswordResetEmail: (passwordResetEmailRequest: PasswordResetEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26
|
+
/**
|
|
27
|
+
* Send registration verification email, which can be called when mustVerifyEmailOnRegistration in user settings is true
|
|
28
|
+
* @param {RegisterVerifyEmailRequest} registerVerifyEmailRequest
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
sendRegisterVerifyEmail: (registerVerifyEmailRequest: RegisterVerifyEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
34
|
+
* Sign up a new user
|
|
35
|
+
* @param {SignUpRequest} signUpRequest
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
signUp: (signUpRequest: SignUpRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* UserV1alpha1PublicApi - functional programming interface
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
45
|
+
export declare const UserV1alpha1PublicApiFp: (configuration?: Configuration) => {
|
|
46
|
+
/**
|
|
47
|
+
* Reset password by token
|
|
48
|
+
* @param {string} name The name of the user
|
|
49
|
+
* @param {ResetPasswordRequest} resetPasswordRequest
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
resetPasswordByToken(name: string, resetPasswordRequest: ResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
54
|
+
/**
|
|
55
|
+
* Send password reset email when forgot password
|
|
56
|
+
* @param {PasswordResetEmailRequest} passwordResetEmailRequest
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
sendPasswordResetEmail(passwordResetEmailRequest: PasswordResetEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
61
|
+
/**
|
|
62
|
+
* Send registration verification email, which can be called when mustVerifyEmailOnRegistration in user settings is true
|
|
63
|
+
* @param {RegisterVerifyEmailRequest} registerVerifyEmailRequest
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
sendRegisterVerifyEmail(registerVerifyEmailRequest: RegisterVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
68
|
+
/**
|
|
69
|
+
* Sign up a new user
|
|
70
|
+
* @param {SignUpRequest} signUpRequest
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
signUp(signUpRequest: SignUpRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* UserV1alpha1PublicApi - factory interface
|
|
78
|
+
* @export
|
|
79
|
+
*/
|
|
80
|
+
export declare const UserV1alpha1PublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
81
|
+
/**
|
|
82
|
+
* Reset password by token
|
|
83
|
+
* @param {UserV1alpha1PublicApiResetPasswordByTokenRequest} requestParameters Request parameters.
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
resetPasswordByToken(requestParameters: UserV1alpha1PublicApiResetPasswordByTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
88
|
+
/**
|
|
89
|
+
* Send password reset email when forgot password
|
|
90
|
+
* @param {UserV1alpha1PublicApiSendPasswordResetEmailRequest} requestParameters Request parameters.
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
sendPasswordResetEmail(requestParameters: UserV1alpha1PublicApiSendPasswordResetEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
95
|
+
/**
|
|
96
|
+
* Send registration verification email, which can be called when mustVerifyEmailOnRegistration in user settings is true
|
|
97
|
+
* @param {UserV1alpha1PublicApiSendRegisterVerifyEmailRequest} requestParameters Request parameters.
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
sendRegisterVerifyEmail(requestParameters: UserV1alpha1PublicApiSendRegisterVerifyEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
102
|
+
/**
|
|
103
|
+
* Sign up a new user
|
|
104
|
+
* @param {UserV1alpha1PublicApiSignUpRequest} requestParameters Request parameters.
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
signUp(requestParameters: UserV1alpha1PublicApiSignUpRequest, options?: RawAxiosRequestConfig): AxiosPromise<User>;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Request parameters for resetPasswordByToken operation in UserV1alpha1PublicApi.
|
|
112
|
+
* @export
|
|
113
|
+
* @interface UserV1alpha1PublicApiResetPasswordByTokenRequest
|
|
114
|
+
*/
|
|
115
|
+
export interface UserV1alpha1PublicApiResetPasswordByTokenRequest {
|
|
116
|
+
/**
|
|
117
|
+
* The name of the user
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof UserV1alpha1PublicApiResetPasswordByToken
|
|
120
|
+
*/
|
|
121
|
+
readonly name: string;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {ResetPasswordRequest}
|
|
125
|
+
* @memberof UserV1alpha1PublicApiResetPasswordByToken
|
|
126
|
+
*/
|
|
127
|
+
readonly resetPasswordRequest: ResetPasswordRequest;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Request parameters for sendPasswordResetEmail operation in UserV1alpha1PublicApi.
|
|
131
|
+
* @export
|
|
132
|
+
* @interface UserV1alpha1PublicApiSendPasswordResetEmailRequest
|
|
133
|
+
*/
|
|
134
|
+
export interface UserV1alpha1PublicApiSendPasswordResetEmailRequest {
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @type {PasswordResetEmailRequest}
|
|
138
|
+
* @memberof UserV1alpha1PublicApiSendPasswordResetEmail
|
|
139
|
+
*/
|
|
140
|
+
readonly passwordResetEmailRequest: PasswordResetEmailRequest;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Request parameters for sendRegisterVerifyEmail operation in UserV1alpha1PublicApi.
|
|
144
|
+
* @export
|
|
145
|
+
* @interface UserV1alpha1PublicApiSendRegisterVerifyEmailRequest
|
|
146
|
+
*/
|
|
147
|
+
export interface UserV1alpha1PublicApiSendRegisterVerifyEmailRequest {
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {RegisterVerifyEmailRequest}
|
|
151
|
+
* @memberof UserV1alpha1PublicApiSendRegisterVerifyEmail
|
|
152
|
+
*/
|
|
153
|
+
readonly registerVerifyEmailRequest: RegisterVerifyEmailRequest;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Request parameters for signUp operation in UserV1alpha1PublicApi.
|
|
157
|
+
* @export
|
|
158
|
+
* @interface UserV1alpha1PublicApiSignUpRequest
|
|
159
|
+
*/
|
|
160
|
+
export interface UserV1alpha1PublicApiSignUpRequest {
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @type {SignUpRequest}
|
|
164
|
+
* @memberof UserV1alpha1PublicApiSignUp
|
|
165
|
+
*/
|
|
166
|
+
readonly signUpRequest: SignUpRequest;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* UserV1alpha1PublicApi - object-oriented interface
|
|
170
|
+
* @export
|
|
171
|
+
* @class UserV1alpha1PublicApi
|
|
172
|
+
* @extends {BaseAPI}
|
|
173
|
+
*/
|
|
174
|
+
export declare class UserV1alpha1PublicApi extends BaseAPI {
|
|
175
|
+
/**
|
|
176
|
+
* Reset password by token
|
|
177
|
+
* @param {UserV1alpha1PublicApiResetPasswordByTokenRequest} requestParameters Request parameters.
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
* @memberof UserV1alpha1PublicApi
|
|
181
|
+
*/
|
|
182
|
+
resetPasswordByToken(requestParameters: UserV1alpha1PublicApiResetPasswordByTokenRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
|
|
183
|
+
/**
|
|
184
|
+
* Send password reset email when forgot password
|
|
185
|
+
* @param {UserV1alpha1PublicApiSendPasswordResetEmailRequest} requestParameters Request parameters.
|
|
186
|
+
* @param {*} [options] Override http request option.
|
|
187
|
+
* @throws {RequiredError}
|
|
188
|
+
* @memberof UserV1alpha1PublicApi
|
|
189
|
+
*/
|
|
190
|
+
sendPasswordResetEmail(requestParameters: UserV1alpha1PublicApiSendPasswordResetEmailRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
|
|
191
|
+
/**
|
|
192
|
+
* Send registration verification email, which can be called when mustVerifyEmailOnRegistration in user settings is true
|
|
193
|
+
* @param {UserV1alpha1PublicApiSendRegisterVerifyEmailRequest} requestParameters Request parameters.
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @throws {RequiredError}
|
|
196
|
+
* @memberof UserV1alpha1PublicApi
|
|
197
|
+
*/
|
|
198
|
+
sendRegisterVerifyEmail(requestParameters: UserV1alpha1PublicApiSendRegisterVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
|
|
199
|
+
/**
|
|
200
|
+
* Sign up a new user
|
|
201
|
+
* @param {UserV1alpha1PublicApiSignUpRequest} requestParameters Request parameters.
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
* @memberof UserV1alpha1PublicApi
|
|
205
|
+
*/
|
|
206
|
+
signUp(requestParameters: UserV1alpha1PublicApiSignUpRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<User, any>>;
|
|
207
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Halo
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export * from './api/annotation-setting-v1alpha1-api';
|
|
13
|
+
export * from './api/api-notification-halo-run-v1alpha1-subscription-api';
|
|
14
|
+
export * from './api/attachment-v1alpha1-api';
|
|
15
|
+
export * from './api/attachment-v1alpha1-console-api';
|
|
16
|
+
export * from './api/attachment-v1alpha1-uc-api';
|
|
17
|
+
export * from './api/auth-provider-v1alpha1-api';
|
|
18
|
+
export * from './api/auth-provider-v1alpha1-console-api';
|
|
19
|
+
export * from './api/backup-v1alpha1-api';
|
|
20
|
+
export * from './api/category-v1alpha1-api';
|
|
21
|
+
export * from './api/category-v1alpha1-public-api';
|
|
22
|
+
export * from './api/comment-v1alpha1-api';
|
|
23
|
+
export * from './api/comment-v1alpha1-console-api';
|
|
24
|
+
export * from './api/comment-v1alpha1-public-api';
|
|
25
|
+
export * from './api/config-map-v1alpha1-api';
|
|
26
|
+
export * from './api/counter-v1alpha1-api';
|
|
27
|
+
export * from './api/device-v1alpha1-api';
|
|
28
|
+
export * from './api/device-v1alpha1-uc-api';
|
|
29
|
+
export * from './api/extension-definition-v1alpha1-api';
|
|
30
|
+
export * from './api/extension-point-definition-v1alpha1-api';
|
|
31
|
+
export * from './api/group-v1alpha1-api';
|
|
32
|
+
export * from './api/index-v1alpha1-public-api';
|
|
33
|
+
export * from './api/indices-v1alpha1-console-api';
|
|
34
|
+
export * from './api/login-api';
|
|
35
|
+
export * from './api/menu-item-v1alpha1-api';
|
|
36
|
+
export * from './api/menu-v1alpha1-api';
|
|
37
|
+
export * from './api/menu-v1alpha1-public-api';
|
|
38
|
+
export * from './api/metrics-v1alpha1-public-api';
|
|
39
|
+
export * from './api/migration-v1alpha1-console-api';
|
|
40
|
+
export * from './api/notification-template-v1alpha1-api';
|
|
41
|
+
export * from './api/notification-v1alpha1-api';
|
|
42
|
+
export * from './api/notification-v1alpha1-uc-api';
|
|
43
|
+
export * from './api/notifier-descriptor-v1alpha1-api';
|
|
44
|
+
export * from './api/notifier-v1alpha1-console-api';
|
|
45
|
+
export * from './api/notifier-v1alpha1-uc-api';
|
|
46
|
+
export * from './api/personal-access-token-v1alpha1-api';
|
|
47
|
+
export * from './api/personal-access-token-v1alpha1-uc-api';
|
|
48
|
+
export * from './api/plugin-v1alpha1-api';
|
|
49
|
+
export * from './api/plugin-v1alpha1-console-api';
|
|
50
|
+
export * from './api/plugin-v1alpha1-public-api';
|
|
51
|
+
export * from './api/policy-template-v1alpha1-api';
|
|
52
|
+
export * from './api/policy-v1alpha1-api';
|
|
53
|
+
export * from './api/post-v1alpha1-api';
|
|
54
|
+
export * from './api/post-v1alpha1-console-api';
|
|
55
|
+
export * from './api/post-v1alpha1-public-api';
|
|
56
|
+
export * from './api/post-v1alpha1-uc-api';
|
|
57
|
+
export * from './api/reason-type-v1alpha1-api';
|
|
58
|
+
export * from './api/reason-v1alpha1-api';
|
|
59
|
+
export * from './api/remember-me-token-v1alpha1-api';
|
|
60
|
+
export * from './api/reply-v1alpha1-api';
|
|
61
|
+
export * from './api/reply-v1alpha1-console-api';
|
|
62
|
+
export * from './api/reverse-proxy-v1alpha1-api';
|
|
63
|
+
export * from './api/role-binding-v1alpha1-api';
|
|
64
|
+
export * from './api/role-v1alpha1-api';
|
|
65
|
+
export * from './api/search-engine-v1alpha1-api';
|
|
66
|
+
export * from './api/secret-v1alpha1-api';
|
|
67
|
+
export * from './api/setting-v1alpha1-api';
|
|
68
|
+
export * from './api/single-page-v1alpha1-api';
|
|
69
|
+
export * from './api/single-page-v1alpha1-console-api';
|
|
70
|
+
export * from './api/single-page-v1alpha1-public-api';
|
|
71
|
+
export * from './api/snapshot-v1alpha1-api';
|
|
72
|
+
export * from './api/snapshot-v1alpha1-uc-api';
|
|
73
|
+
export * from './api/subscription-v1alpha1-api';
|
|
74
|
+
export * from './api/system-v1alpha1-console-api';
|
|
75
|
+
export * from './api/system-v1alpha1-public-api';
|
|
76
|
+
export * from './api/tag-v1alpha1-api';
|
|
77
|
+
export * from './api/tag-v1alpha1-console-api';
|
|
78
|
+
export * from './api/tag-v1alpha1-public-api';
|
|
79
|
+
export * from './api/theme-v1alpha1-api';
|
|
80
|
+
export * from './api/theme-v1alpha1-console-api';
|
|
81
|
+
export * from './api/two-factor-auth-v1alpha1-uc-api';
|
|
82
|
+
export * from './api/user-connection-v1alpha1-api';
|
|
83
|
+
export * from './api/user-v1alpha1-api';
|
|
84
|
+
export * from './api/user-v1alpha1-console-api';
|
|
85
|
+
export * from './api/user-v1alpha1-public-api';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Configuration } from './configuration';
|
|
2
|
+
import { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
3
|
+
|
|
4
|
+
export declare const BASE_PATH: string;
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @export
|
|
8
|
+
*/
|
|
9
|
+
export declare const COLLECTION_FORMATS: {
|
|
10
|
+
csv: string;
|
|
11
|
+
ssv: string;
|
|
12
|
+
tsv: string;
|
|
13
|
+
pipes: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface RequestArgs
|
|
19
|
+
*/
|
|
20
|
+
export interface RequestArgs {
|
|
21
|
+
url: string;
|
|
22
|
+
options: RawAxiosRequestConfig;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @class BaseAPI
|
|
28
|
+
*/
|
|
29
|
+
export declare class BaseAPI {
|
|
30
|
+
protected basePath: string;
|
|
31
|
+
protected axios: AxiosInstance;
|
|
32
|
+
protected configuration: Configuration | undefined;
|
|
33
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @class RequiredError
|
|
39
|
+
* @extends {Error}
|
|
40
|
+
*/
|
|
41
|
+
export declare class RequiredError extends Error {
|
|
42
|
+
field: string;
|
|
43
|
+
constructor(field: string, msg?: string);
|
|
44
|
+
}
|
|
45
|
+
interface ServerMap {
|
|
46
|
+
[key: string]: {
|
|
47
|
+
url: string;
|
|
48
|
+
description: string;
|
|
49
|
+
}[];
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
55
|
+
export declare const operationServerMap: ServerMap;
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Configuration } from './configuration';
|
|
2
|
+
import { RequestArgs } from './base';
|
|
3
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @export
|
|
8
|
+
*/
|
|
9
|
+
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @throws {RequiredError}
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
45
|
+
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
50
|
+
export declare const toPathString: (url: URL) => string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
55
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Halo
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface ConfigurationParameters {
|
|
13
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
|
+
username?: string;
|
|
15
|
+
password?: string;
|
|
16
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
|
+
basePath?: string;
|
|
18
|
+
serverIndex?: number;
|
|
19
|
+
baseOptions?: any;
|
|
20
|
+
formDataCtor?: new () => any;
|
|
21
|
+
}
|
|
22
|
+
export declare class Configuration {
|
|
23
|
+
/**
|
|
24
|
+
* parameter for apiKey security
|
|
25
|
+
* @param name security name
|
|
26
|
+
* @memberof Configuration
|
|
27
|
+
*/
|
|
28
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
|
+
/**
|
|
30
|
+
* parameter for basic security
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Configuration
|
|
34
|
+
*/
|
|
35
|
+
username?: string;
|
|
36
|
+
/**
|
|
37
|
+
* parameter for basic security
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Configuration
|
|
41
|
+
*/
|
|
42
|
+
password?: string;
|
|
43
|
+
/**
|
|
44
|
+
* parameter for oauth2 security
|
|
45
|
+
* @param name security name
|
|
46
|
+
* @param scopes oauth2 scope
|
|
47
|
+
* @memberof Configuration
|
|
48
|
+
*/
|
|
49
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
|
+
/**
|
|
51
|
+
* override base path
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof Configuration
|
|
55
|
+
*/
|
|
56
|
+
basePath?: string;
|
|
57
|
+
/**
|
|
58
|
+
* override server index
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof Configuration
|
|
62
|
+
*/
|
|
63
|
+
serverIndex?: number;
|
|
64
|
+
/**
|
|
65
|
+
* base options for axios calls
|
|
66
|
+
*
|
|
67
|
+
* @type {any}
|
|
68
|
+
* @memberof Configuration
|
|
69
|
+
*/
|
|
70
|
+
baseOptions?: any;
|
|
71
|
+
/**
|
|
72
|
+
* The FormData constructor that will be used to create multipart form data
|
|
73
|
+
* requests. You can inject this here so that execution environments that
|
|
74
|
+
* do not support the FormData class can still run the generated client.
|
|
75
|
+
*
|
|
76
|
+
* @type {new () => FormData}
|
|
77
|
+
*/
|
|
78
|
+
formDataCtor?: new () => any;
|
|
79
|
+
constructor(param?: ConfigurationParameters);
|
|
80
|
+
/**
|
|
81
|
+
* Check if the given MIME is a JSON MIME.
|
|
82
|
+
* JSON MIME examples:
|
|
83
|
+
* application/json
|
|
84
|
+
* application/json; charset=UTF8
|
|
85
|
+
* APPLICATION/JSON
|
|
86
|
+
* application/vnd.company+json
|
|
87
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
88
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
89
|
+
*/
|
|
90
|
+
isJsonMime(mime: string): boolean;
|
|
91
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Halo
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export * from './api';
|
|
13
|
+
export * from './configuration';
|
|
14
|
+
export * from './models';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Halo
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.17.0-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AddOperation
|
|
16
|
+
*/
|
|
17
|
+
export interface AddOperation {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AddOperation
|
|
22
|
+
*/
|
|
23
|
+
'op': AddOperationOpEnum;
|
|
24
|
+
/**
|
|
25
|
+
* A JSON Pointer path pointing to the location to move/copy from.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AddOperation
|
|
28
|
+
*/
|
|
29
|
+
'path': string;
|
|
30
|
+
/**
|
|
31
|
+
* Value can be any JSON value
|
|
32
|
+
* @type {any}
|
|
33
|
+
* @memberof AddOperation
|
|
34
|
+
*/
|
|
35
|
+
'value': any;
|
|
36
|
+
}
|
|
37
|
+
export declare const AddOperationOpEnum: {
|
|
38
|
+
readonly Add: "add";
|
|
39
|
+
};
|
|
40
|
+
export type AddOperationOpEnum = typeof AddOperationOpEnum[keyof typeof AddOperationOpEnum];
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { AnnotationSetting } from './annotation-setting';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @interface AnnotationSettingList
|
|
7
|
+
*/
|
|
8
|
+
export interface AnnotationSettingList {
|
|
9
|
+
/**
|
|
10
|
+
* Indicates whether current page is the first page.
|
|
11
|
+
* @type {boolean}
|
|
12
|
+
* @memberof AnnotationSettingList
|
|
13
|
+
*/
|
|
14
|
+
'first': boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Indicates whether current page has previous page.
|
|
17
|
+
* @type {boolean}
|
|
18
|
+
* @memberof AnnotationSettingList
|
|
19
|
+
*/
|
|
20
|
+
'hasNext': boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Indicates whether current page has previous page.
|
|
23
|
+
* @type {boolean}
|
|
24
|
+
* @memberof AnnotationSettingList
|
|
25
|
+
*/
|
|
26
|
+
'hasPrevious': boolean;
|
|
27
|
+
/**
|
|
28
|
+
* A chunk of items.
|
|
29
|
+
* @type {Array<AnnotationSetting>}
|
|
30
|
+
* @memberof AnnotationSettingList
|
|
31
|
+
*/
|
|
32
|
+
'items': Array<AnnotationSetting>;
|
|
33
|
+
/**
|
|
34
|
+
* Indicates whether current page is the last page.
|
|
35
|
+
* @type {boolean}
|
|
36
|
+
* @memberof AnnotationSettingList
|
|
37
|
+
*/
|
|
38
|
+
'last': boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Page number, starts from 1. If not set or equal to 0, it means no pagination.
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof AnnotationSettingList
|
|
43
|
+
*/
|
|
44
|
+
'page': number;
|
|
45
|
+
/**
|
|
46
|
+
* Size of each page. If not set or equal to 0, it means no pagination.
|
|
47
|
+
* @type {number}
|
|
48
|
+
* @memberof AnnotationSettingList
|
|
49
|
+
*/
|
|
50
|
+
'size': number;
|
|
51
|
+
/**
|
|
52
|
+
* Total elements.
|
|
53
|
+
* @type {number}
|
|
54
|
+
* @memberof AnnotationSettingList
|
|
55
|
+
*/
|
|
56
|
+
'total': number;
|
|
57
|
+
/**
|
|
58
|
+
* Indicates total pages.
|
|
59
|
+
* @type {number}
|
|
60
|
+
* @memberof AnnotationSettingList
|
|
61
|
+
*/
|
|
62
|
+
'totalPages': number;
|
|
63
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { GroupKind } from './group-kind';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @interface AnnotationSettingSpec
|
|
7
|
+
*/
|
|
8
|
+
export interface AnnotationSettingSpec {
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @type {Array<object>}
|
|
12
|
+
* @memberof AnnotationSettingSpec
|
|
13
|
+
*/
|
|
14
|
+
'formSchema': Array<object>;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @type {GroupKind}
|
|
18
|
+
* @memberof AnnotationSettingSpec
|
|
19
|
+
*/
|
|
20
|
+
'targetRef': GroupKind;
|
|
21
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AnnotationSettingSpec } from './annotation-setting-spec';
|
|
2
|
+
import { Metadata } from './metadata';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @export
|
|
7
|
+
* @interface AnnotationSetting
|
|
8
|
+
*/
|
|
9
|
+
export interface AnnotationSetting {
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type {string}
|
|
13
|
+
* @memberof AnnotationSetting
|
|
14
|
+
*/
|
|
15
|
+
'apiVersion': string;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @type {string}
|
|
19
|
+
* @memberof AnnotationSetting
|
|
20
|
+
*/
|
|
21
|
+
'kind': string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Metadata}
|
|
25
|
+
* @memberof AnnotationSetting
|
|
26
|
+
*/
|
|
27
|
+
'metadata': Metadata;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {AnnotationSettingSpec}
|
|
31
|
+
* @memberof AnnotationSetting
|
|
32
|
+
*/
|
|
33
|
+
'spec': AnnotationSettingSpec;
|
|
34
|
+
}
|