@halo-dev/api-client 2.16.0 → 2.18.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-attributes.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.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 -13783
- package/dist/index.d.ts +0 -30557
- package/dist/index.mjs +0 -13464
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
import { Configuration } from '../configuration';
|
|
2
|
+
import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
3
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
4
|
+
import { Attachment, AttachmentList, JsonPatchInner } from '../models';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* AttachmentV1alpha1Api - axios parameter creator
|
|
8
|
+
* @export
|
|
9
|
+
*/
|
|
10
|
+
export declare const AttachmentV1alpha1ApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
11
|
+
/**
|
|
12
|
+
* Create Attachment
|
|
13
|
+
* @param {Attachment} [attachment] Fresh attachment
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
createAttachment: (attachment?: Attachment, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18
|
+
/**
|
|
19
|
+
* Delete Attachment
|
|
20
|
+
* @param {string} name Name of attachment
|
|
21
|
+
* @param {*} [options] Override http request option.
|
|
22
|
+
* @throws {RequiredError}
|
|
23
|
+
*/
|
|
24
|
+
deleteAttachment: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25
|
+
/**
|
|
26
|
+
* Get Attachment
|
|
27
|
+
* @param {string} name Name of attachment
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
getAttachment: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
* List Attachment
|
|
34
|
+
* @param {number} [page] Page number. Default is 0.
|
|
35
|
+
* @param {number} [size] Size number. Default is 0.
|
|
36
|
+
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
37
|
+
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
38
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
listAttachment: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
/**
|
|
44
|
+
* Patch Attachment
|
|
45
|
+
* @param {string} name Name of attachment
|
|
46
|
+
* @param {Array<JsonPatchInner>} [jsonPatchInner]
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
patchAttachment: (name: string, jsonPatchInner?: Array<JsonPatchInner>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
* Update Attachment
|
|
53
|
+
* @param {string} name Name of attachment
|
|
54
|
+
* @param {Attachment} [attachment] Updated attachment
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
updateAttachment: (name: string, attachment?: Attachment, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* AttachmentV1alpha1Api - functional programming interface
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const AttachmentV1alpha1ApiFp: (configuration?: Configuration) => {
|
|
65
|
+
/**
|
|
66
|
+
* Create Attachment
|
|
67
|
+
* @param {Attachment} [attachment] Fresh attachment
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
createAttachment(attachment?: Attachment, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
|
|
72
|
+
/**
|
|
73
|
+
* Delete Attachment
|
|
74
|
+
* @param {string} name Name of attachment
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
deleteAttachment(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
79
|
+
/**
|
|
80
|
+
* Get Attachment
|
|
81
|
+
* @param {string} name Name of attachment
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
getAttachment(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
|
|
86
|
+
/**
|
|
87
|
+
* List Attachment
|
|
88
|
+
* @param {number} [page] Page number. Default is 0.
|
|
89
|
+
* @param {number} [size] Size number. Default is 0.
|
|
90
|
+
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
91
|
+
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
92
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
93
|
+
* @param {*} [options] Override http request option.
|
|
94
|
+
* @throws {RequiredError}
|
|
95
|
+
*/
|
|
96
|
+
listAttachment(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AttachmentList>>;
|
|
97
|
+
/**
|
|
98
|
+
* Patch Attachment
|
|
99
|
+
* @param {string} name Name of attachment
|
|
100
|
+
* @param {Array<JsonPatchInner>} [jsonPatchInner]
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
patchAttachment(name: string, jsonPatchInner?: Array<JsonPatchInner>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
|
|
105
|
+
/**
|
|
106
|
+
* Update Attachment
|
|
107
|
+
* @param {string} name Name of attachment
|
|
108
|
+
* @param {Attachment} [attachment] Updated attachment
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
updateAttachment(name: string, attachment?: Attachment, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* AttachmentV1alpha1Api - factory interface
|
|
116
|
+
* @export
|
|
117
|
+
*/
|
|
118
|
+
export declare const AttachmentV1alpha1ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
119
|
+
/**
|
|
120
|
+
* Create Attachment
|
|
121
|
+
* @param {AttachmentV1alpha1ApiCreateAttachmentRequest} requestParameters Request parameters.
|
|
122
|
+
* @param {*} [options] Override http request option.
|
|
123
|
+
* @throws {RequiredError}
|
|
124
|
+
*/
|
|
125
|
+
createAttachment(requestParameters?: AttachmentV1alpha1ApiCreateAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
|
|
126
|
+
/**
|
|
127
|
+
* Delete Attachment
|
|
128
|
+
* @param {AttachmentV1alpha1ApiDeleteAttachmentRequest} requestParameters Request parameters.
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
*/
|
|
132
|
+
deleteAttachment(requestParameters: AttachmentV1alpha1ApiDeleteAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
133
|
+
/**
|
|
134
|
+
* Get Attachment
|
|
135
|
+
* @param {AttachmentV1alpha1ApiGetAttachmentRequest} requestParameters Request parameters.
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
getAttachment(requestParameters: AttachmentV1alpha1ApiGetAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
|
|
140
|
+
/**
|
|
141
|
+
* List Attachment
|
|
142
|
+
* @param {AttachmentV1alpha1ApiListAttachmentRequest} requestParameters Request parameters.
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
listAttachment(requestParameters?: AttachmentV1alpha1ApiListAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<AttachmentList>;
|
|
147
|
+
/**
|
|
148
|
+
* Patch Attachment
|
|
149
|
+
* @param {AttachmentV1alpha1ApiPatchAttachmentRequest} requestParameters Request parameters.
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
patchAttachment(requestParameters: AttachmentV1alpha1ApiPatchAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
|
|
154
|
+
/**
|
|
155
|
+
* Update Attachment
|
|
156
|
+
* @param {AttachmentV1alpha1ApiUpdateAttachmentRequest} requestParameters Request parameters.
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
updateAttachment(requestParameters: AttachmentV1alpha1ApiUpdateAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* Request parameters for createAttachment operation in AttachmentV1alpha1Api.
|
|
164
|
+
* @export
|
|
165
|
+
* @interface AttachmentV1alpha1ApiCreateAttachmentRequest
|
|
166
|
+
*/
|
|
167
|
+
export interface AttachmentV1alpha1ApiCreateAttachmentRequest {
|
|
168
|
+
/**
|
|
169
|
+
* Fresh attachment
|
|
170
|
+
* @type {Attachment}
|
|
171
|
+
* @memberof AttachmentV1alpha1ApiCreateAttachment
|
|
172
|
+
*/
|
|
173
|
+
readonly attachment?: Attachment;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Request parameters for deleteAttachment operation in AttachmentV1alpha1Api.
|
|
177
|
+
* @export
|
|
178
|
+
* @interface AttachmentV1alpha1ApiDeleteAttachmentRequest
|
|
179
|
+
*/
|
|
180
|
+
export interface AttachmentV1alpha1ApiDeleteAttachmentRequest {
|
|
181
|
+
/**
|
|
182
|
+
* Name of attachment
|
|
183
|
+
* @type {string}
|
|
184
|
+
* @memberof AttachmentV1alpha1ApiDeleteAttachment
|
|
185
|
+
*/
|
|
186
|
+
readonly name: string;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Request parameters for getAttachment operation in AttachmentV1alpha1Api.
|
|
190
|
+
* @export
|
|
191
|
+
* @interface AttachmentV1alpha1ApiGetAttachmentRequest
|
|
192
|
+
*/
|
|
193
|
+
export interface AttachmentV1alpha1ApiGetAttachmentRequest {
|
|
194
|
+
/**
|
|
195
|
+
* Name of attachment
|
|
196
|
+
* @type {string}
|
|
197
|
+
* @memberof AttachmentV1alpha1ApiGetAttachment
|
|
198
|
+
*/
|
|
199
|
+
readonly name: string;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Request parameters for listAttachment operation in AttachmentV1alpha1Api.
|
|
203
|
+
* @export
|
|
204
|
+
* @interface AttachmentV1alpha1ApiListAttachmentRequest
|
|
205
|
+
*/
|
|
206
|
+
export interface AttachmentV1alpha1ApiListAttachmentRequest {
|
|
207
|
+
/**
|
|
208
|
+
* Page number. Default is 0.
|
|
209
|
+
* @type {number}
|
|
210
|
+
* @memberof AttachmentV1alpha1ApiListAttachment
|
|
211
|
+
*/
|
|
212
|
+
readonly page?: number;
|
|
213
|
+
/**
|
|
214
|
+
* Size number. Default is 0.
|
|
215
|
+
* @type {number}
|
|
216
|
+
* @memberof AttachmentV1alpha1ApiListAttachment
|
|
217
|
+
*/
|
|
218
|
+
readonly size?: number;
|
|
219
|
+
/**
|
|
220
|
+
* Label selector. e.g.: hidden!=true
|
|
221
|
+
* @type {Array<string>}
|
|
222
|
+
* @memberof AttachmentV1alpha1ApiListAttachment
|
|
223
|
+
*/
|
|
224
|
+
readonly labelSelector?: Array<string>;
|
|
225
|
+
/**
|
|
226
|
+
* Field selector. e.g.: metadata.name==halo
|
|
227
|
+
* @type {Array<string>}
|
|
228
|
+
* @memberof AttachmentV1alpha1ApiListAttachment
|
|
229
|
+
*/
|
|
230
|
+
readonly fieldSelector?: Array<string>;
|
|
231
|
+
/**
|
|
232
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
233
|
+
* @type {Array<string>}
|
|
234
|
+
* @memberof AttachmentV1alpha1ApiListAttachment
|
|
235
|
+
*/
|
|
236
|
+
readonly sort?: Array<string>;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Request parameters for patchAttachment operation in AttachmentV1alpha1Api.
|
|
240
|
+
* @export
|
|
241
|
+
* @interface AttachmentV1alpha1ApiPatchAttachmentRequest
|
|
242
|
+
*/
|
|
243
|
+
export interface AttachmentV1alpha1ApiPatchAttachmentRequest {
|
|
244
|
+
/**
|
|
245
|
+
* Name of attachment
|
|
246
|
+
* @type {string}
|
|
247
|
+
* @memberof AttachmentV1alpha1ApiPatchAttachment
|
|
248
|
+
*/
|
|
249
|
+
readonly name: string;
|
|
250
|
+
/**
|
|
251
|
+
*
|
|
252
|
+
* @type {Array<JsonPatchInner>}
|
|
253
|
+
* @memberof AttachmentV1alpha1ApiPatchAttachment
|
|
254
|
+
*/
|
|
255
|
+
readonly jsonPatchInner?: Array<JsonPatchInner>;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Request parameters for updateAttachment operation in AttachmentV1alpha1Api.
|
|
259
|
+
* @export
|
|
260
|
+
* @interface AttachmentV1alpha1ApiUpdateAttachmentRequest
|
|
261
|
+
*/
|
|
262
|
+
export interface AttachmentV1alpha1ApiUpdateAttachmentRequest {
|
|
263
|
+
/**
|
|
264
|
+
* Name of attachment
|
|
265
|
+
* @type {string}
|
|
266
|
+
* @memberof AttachmentV1alpha1ApiUpdateAttachment
|
|
267
|
+
*/
|
|
268
|
+
readonly name: string;
|
|
269
|
+
/**
|
|
270
|
+
* Updated attachment
|
|
271
|
+
* @type {Attachment}
|
|
272
|
+
* @memberof AttachmentV1alpha1ApiUpdateAttachment
|
|
273
|
+
*/
|
|
274
|
+
readonly attachment?: Attachment;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* AttachmentV1alpha1Api - object-oriented interface
|
|
278
|
+
* @export
|
|
279
|
+
* @class AttachmentV1alpha1Api
|
|
280
|
+
* @extends {BaseAPI}
|
|
281
|
+
*/
|
|
282
|
+
export declare class AttachmentV1alpha1Api extends BaseAPI {
|
|
283
|
+
/**
|
|
284
|
+
* Create Attachment
|
|
285
|
+
* @param {AttachmentV1alpha1ApiCreateAttachmentRequest} requestParameters Request parameters.
|
|
286
|
+
* @param {*} [options] Override http request option.
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
* @memberof AttachmentV1alpha1Api
|
|
289
|
+
*/
|
|
290
|
+
createAttachment(requestParameters?: AttachmentV1alpha1ApiCreateAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
|
|
291
|
+
/**
|
|
292
|
+
* Delete Attachment
|
|
293
|
+
* @param {AttachmentV1alpha1ApiDeleteAttachmentRequest} requestParameters Request parameters.
|
|
294
|
+
* @param {*} [options] Override http request option.
|
|
295
|
+
* @throws {RequiredError}
|
|
296
|
+
* @memberof AttachmentV1alpha1Api
|
|
297
|
+
*/
|
|
298
|
+
deleteAttachment(requestParameters: AttachmentV1alpha1ApiDeleteAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
|
|
299
|
+
/**
|
|
300
|
+
* Get Attachment
|
|
301
|
+
* @param {AttachmentV1alpha1ApiGetAttachmentRequest} requestParameters Request parameters.
|
|
302
|
+
* @param {*} [options] Override http request option.
|
|
303
|
+
* @throws {RequiredError}
|
|
304
|
+
* @memberof AttachmentV1alpha1Api
|
|
305
|
+
*/
|
|
306
|
+
getAttachment(requestParameters: AttachmentV1alpha1ApiGetAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
|
|
307
|
+
/**
|
|
308
|
+
* List Attachment
|
|
309
|
+
* @param {AttachmentV1alpha1ApiListAttachmentRequest} requestParameters Request parameters.
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
* @memberof AttachmentV1alpha1Api
|
|
313
|
+
*/
|
|
314
|
+
listAttachment(requestParameters?: AttachmentV1alpha1ApiListAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<AttachmentList, any>>;
|
|
315
|
+
/**
|
|
316
|
+
* Patch Attachment
|
|
317
|
+
* @param {AttachmentV1alpha1ApiPatchAttachmentRequest} requestParameters Request parameters.
|
|
318
|
+
* @param {*} [options] Override http request option.
|
|
319
|
+
* @throws {RequiredError}
|
|
320
|
+
* @memberof AttachmentV1alpha1Api
|
|
321
|
+
*/
|
|
322
|
+
patchAttachment(requestParameters: AttachmentV1alpha1ApiPatchAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
|
|
323
|
+
/**
|
|
324
|
+
* Update Attachment
|
|
325
|
+
* @param {AttachmentV1alpha1ApiUpdateAttachmentRequest} requestParameters Request parameters.
|
|
326
|
+
* @param {*} [options] Override http request option.
|
|
327
|
+
* @throws {RequiredError}
|
|
328
|
+
* @memberof AttachmentV1alpha1Api
|
|
329
|
+
*/
|
|
330
|
+
updateAttachment(requestParameters: AttachmentV1alpha1ApiUpdateAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
|
|
331
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { Configuration } from '../configuration';
|
|
2
|
+
import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
3
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
4
|
+
import { Attachment, AttachmentList } from '../models';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* AttachmentV1alpha1ConsoleApi - axios parameter creator
|
|
8
|
+
* @export
|
|
9
|
+
*/
|
|
10
|
+
export declare const AttachmentV1alpha1ConsoleApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @param {number} [page] Page number. Default is 0.
|
|
14
|
+
* @param {number} [size] Size number. Default is 0.
|
|
15
|
+
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
16
|
+
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
17
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
18
|
+
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
19
|
+
* @param {string} [keyword] Keyword for searching.
|
|
20
|
+
* @param {Array<string>} [accepts] Acceptable media types.
|
|
21
|
+
* @param {*} [options] Override http request option.
|
|
22
|
+
* @throws {RequiredError}
|
|
23
|
+
*/
|
|
24
|
+
searchAttachments: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, ungrouped?: boolean, keyword?: string, accepts?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @param {File} file
|
|
28
|
+
* @param {string} policyName Storage policy name
|
|
29
|
+
* @param {string} [groupName] The name of the group to which the attachment belongs
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
uploadAttachment: (file: File, policyName: string, groupName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* AttachmentV1alpha1ConsoleApi - functional programming interface
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
export declare const AttachmentV1alpha1ConsoleApiFp: (configuration?: Configuration) => {
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @param {number} [page] Page number. Default is 0.
|
|
43
|
+
* @param {number} [size] Size number. Default is 0.
|
|
44
|
+
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
45
|
+
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
46
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
47
|
+
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
48
|
+
* @param {string} [keyword] Keyword for searching.
|
|
49
|
+
* @param {Array<string>} [accepts] Acceptable media types.
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
searchAttachments(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, ungrouped?: boolean, keyword?: string, accepts?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AttachmentList>>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @param {File} file
|
|
57
|
+
* @param {string} policyName Storage policy name
|
|
58
|
+
* @param {string} [groupName] The name of the group to which the attachment belongs
|
|
59
|
+
* @param {*} [options] Override http request option.
|
|
60
|
+
* @throws {RequiredError}
|
|
61
|
+
*/
|
|
62
|
+
uploadAttachment(file: File, policyName: string, groupName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* AttachmentV1alpha1ConsoleApi - factory interface
|
|
66
|
+
* @export
|
|
67
|
+
*/
|
|
68
|
+
export declare const AttachmentV1alpha1ConsoleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @param {AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest} requestParameters Request parameters.
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
searchAttachments(requestParameters?: AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AttachmentList>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @param {AttachmentV1alpha1ConsoleApiUploadAttachmentRequest} requestParameters Request parameters.
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
uploadAttachment(requestParameters: AttachmentV1alpha1ConsoleApiUploadAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Request parameters for searchAttachments operation in AttachmentV1alpha1ConsoleApi.
|
|
86
|
+
* @export
|
|
87
|
+
* @interface AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest
|
|
88
|
+
*/
|
|
89
|
+
export interface AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest {
|
|
90
|
+
/**
|
|
91
|
+
* Page number. Default is 0.
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
94
|
+
*/
|
|
95
|
+
readonly page?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Size number. Default is 0.
|
|
98
|
+
* @type {number}
|
|
99
|
+
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
100
|
+
*/
|
|
101
|
+
readonly size?: number;
|
|
102
|
+
/**
|
|
103
|
+
* Label selector. e.g.: hidden!=true
|
|
104
|
+
* @type {Array<string>}
|
|
105
|
+
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
106
|
+
*/
|
|
107
|
+
readonly labelSelector?: Array<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Field selector. e.g.: metadata.name==halo
|
|
110
|
+
* @type {Array<string>}
|
|
111
|
+
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
112
|
+
*/
|
|
113
|
+
readonly fieldSelector?: Array<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
116
|
+
* @type {Array<string>}
|
|
117
|
+
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
118
|
+
*/
|
|
119
|
+
readonly sort?: Array<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Filter attachments without group. This parameter will ignore group parameter.
|
|
122
|
+
* @type {boolean}
|
|
123
|
+
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
124
|
+
*/
|
|
125
|
+
readonly ungrouped?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Keyword for searching.
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
130
|
+
*/
|
|
131
|
+
readonly keyword?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Acceptable media types.
|
|
134
|
+
* @type {Array<string>}
|
|
135
|
+
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
136
|
+
*/
|
|
137
|
+
readonly accepts?: Array<string>;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Request parameters for uploadAttachment operation in AttachmentV1alpha1ConsoleApi.
|
|
141
|
+
* @export
|
|
142
|
+
* @interface AttachmentV1alpha1ConsoleApiUploadAttachmentRequest
|
|
143
|
+
*/
|
|
144
|
+
export interface AttachmentV1alpha1ConsoleApiUploadAttachmentRequest {
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {File}
|
|
148
|
+
* @memberof AttachmentV1alpha1ConsoleApiUploadAttachment
|
|
149
|
+
*/
|
|
150
|
+
readonly file: File;
|
|
151
|
+
/**
|
|
152
|
+
* Storage policy name
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof AttachmentV1alpha1ConsoleApiUploadAttachment
|
|
155
|
+
*/
|
|
156
|
+
readonly policyName: string;
|
|
157
|
+
/**
|
|
158
|
+
* The name of the group to which the attachment belongs
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof AttachmentV1alpha1ConsoleApiUploadAttachment
|
|
161
|
+
*/
|
|
162
|
+
readonly groupName?: string;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* AttachmentV1alpha1ConsoleApi - object-oriented interface
|
|
166
|
+
* @export
|
|
167
|
+
* @class AttachmentV1alpha1ConsoleApi
|
|
168
|
+
* @extends {BaseAPI}
|
|
169
|
+
*/
|
|
170
|
+
export declare class AttachmentV1alpha1ConsoleApi extends BaseAPI {
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @param {AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest} requestParameters Request parameters.
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
* @memberof AttachmentV1alpha1ConsoleApi
|
|
177
|
+
*/
|
|
178
|
+
searchAttachments(requestParameters?: AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<AttachmentList, any>>;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @param {AttachmentV1alpha1ConsoleApiUploadAttachmentRequest} requestParameters Request parameters.
|
|
182
|
+
* @param {*} [options] Override http request option.
|
|
183
|
+
* @throws {RequiredError}
|
|
184
|
+
* @memberof AttachmentV1alpha1ConsoleApi
|
|
185
|
+
*/
|
|
186
|
+
uploadAttachment(requestParameters: AttachmentV1alpha1ConsoleApiUploadAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
|
|
187
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Configuration } from '../configuration';
|
|
2
|
+
import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
3
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
4
|
+
import { Attachment } from '../models';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* AttachmentV1alpha1UcApi - axios parameter creator
|
|
8
|
+
* @export
|
|
9
|
+
*/
|
|
10
|
+
export declare const AttachmentV1alpha1UcApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
11
|
+
/**
|
|
12
|
+
* Create attachment for the given post.
|
|
13
|
+
* @param {File} file
|
|
14
|
+
* @param {boolean} [waitForPermalink] Wait for permalink.
|
|
15
|
+
* @param {string} [postName] Post name.
|
|
16
|
+
* @param {string} [singlePageName] Single page name.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
createAttachmentForPost: (file: File, waitForPermalink?: boolean, postName?: string, singlePageName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* AttachmentV1alpha1UcApi - functional programming interface
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const AttachmentV1alpha1UcApiFp: (configuration?: Configuration) => {
|
|
27
|
+
/**
|
|
28
|
+
* Create attachment for the given post.
|
|
29
|
+
* @param {File} file
|
|
30
|
+
* @param {boolean} [waitForPermalink] Wait for permalink.
|
|
31
|
+
* @param {string} [postName] Post name.
|
|
32
|
+
* @param {string} [singlePageName] Single page name.
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
createAttachmentForPost(file: File, waitForPermalink?: boolean, postName?: string, singlePageName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* AttachmentV1alpha1UcApi - factory interface
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
export declare const AttachmentV1alpha1UcApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
43
|
+
/**
|
|
44
|
+
* Create attachment for the given post.
|
|
45
|
+
* @param {AttachmentV1alpha1UcApiCreateAttachmentForPostRequest} requestParameters Request parameters.
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
createAttachmentForPost(requestParameters: AttachmentV1alpha1UcApiCreateAttachmentForPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Request parameters for createAttachmentForPost operation in AttachmentV1alpha1UcApi.
|
|
53
|
+
* @export
|
|
54
|
+
* @interface AttachmentV1alpha1UcApiCreateAttachmentForPostRequest
|
|
55
|
+
*/
|
|
56
|
+
export interface AttachmentV1alpha1UcApiCreateAttachmentForPostRequest {
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {File}
|
|
60
|
+
* @memberof AttachmentV1alpha1UcApiCreateAttachmentForPost
|
|
61
|
+
*/
|
|
62
|
+
readonly file: File;
|
|
63
|
+
/**
|
|
64
|
+
* Wait for permalink.
|
|
65
|
+
* @type {boolean}
|
|
66
|
+
* @memberof AttachmentV1alpha1UcApiCreateAttachmentForPost
|
|
67
|
+
*/
|
|
68
|
+
readonly waitForPermalink?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Post name.
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof AttachmentV1alpha1UcApiCreateAttachmentForPost
|
|
73
|
+
*/
|
|
74
|
+
readonly postName?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Single page name.
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof AttachmentV1alpha1UcApiCreateAttachmentForPost
|
|
79
|
+
*/
|
|
80
|
+
readonly singlePageName?: string;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* AttachmentV1alpha1UcApi - object-oriented interface
|
|
84
|
+
* @export
|
|
85
|
+
* @class AttachmentV1alpha1UcApi
|
|
86
|
+
* @extends {BaseAPI}
|
|
87
|
+
*/
|
|
88
|
+
export declare class AttachmentV1alpha1UcApi extends BaseAPI {
|
|
89
|
+
/**
|
|
90
|
+
* Create attachment for the given post.
|
|
91
|
+
* @param {AttachmentV1alpha1UcApiCreateAttachmentForPostRequest} requestParameters Request parameters.
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
* @memberof AttachmentV1alpha1UcApi
|
|
95
|
+
*/
|
|
96
|
+
createAttachmentForPost(requestParameters: AttachmentV1alpha1UcApiCreateAttachmentForPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
|
|
97
|
+
}
|