@halo-dev/api-client 2.21.0 → 2.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -11
- package/dist/index.d.ts +24654 -0
- package/dist/index.iife.js +4 -0
- package/dist/index.js +23142 -0
- package/package.json +17 -21
- package/dist/entry/api-client.d.ts +0 -357
- package/dist/entry/index.d.ts +0 -2
- package/dist/halo-api-client.es.js +0 -23283
- package/dist/halo-api-client.es.js.map +0 -1
- package/dist/halo-api-client.iife.js +0 -5
- package/dist/halo-api-client.iife.js.map +0 -1
- package/dist/src/api/annotation-setting-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/attachment-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/attachment-v1alpha1-console-api.d.ts +0 -228
- package/dist/src/api/attachment-v1alpha1-uc-api.d.ts +0 -294
- package/dist/src/api/auth-provider-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/auth-provider-v1alpha1-console-api.d.ts +0 -139
- package/dist/src/api/backup-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/category-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/category-v1alpha1-public-api.d.ts +0 -228
- package/dist/src/api/comment-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/comment-v1alpha1-console-api.d.ts +0 -220
- package/dist/src/api/comment-v1alpha1-public-api.d.ts +0 -328
- package/dist/src/api/config-map-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/counter-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/default-api.d.ts +0 -54
- package/dist/src/api/device-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/device-v1alpha1-uc-api.d.ts +0 -97
- package/dist/src/api/extension-definition-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/extension-point-definition-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/group-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/index-v1alpha1-public-api.d.ts +0 -72
- package/dist/src/api/indices-v1alpha1-console-api.d.ts +0 -54
- package/dist/src/api/local-thumbnail-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/menu-item-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/menu-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/menu-v1alpha1-public-api.d.ts +0 -97
- package/dist/src/api/metrics-v1alpha1-public-api.d.ts +0 -156
- package/dist/src/api/migration-v1alpha1-console-api.d.ts +0 -171
- package/dist/src/api/notification-template-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/notification-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/notification-v1alpha1-public-api.d.ts +0 -79
- package/dist/src/api/notification-v1alpha1-uc-api.d.ts +0 -354
- package/dist/src/api/notifier-descriptor-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/notifier-v1alpha1-console-api.d.ts +0 -164
- package/dist/src/api/notifier-v1alpha1-uc-api.d.ts +0 -121
- package/dist/src/api/personal-access-token-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/personal-access-token-v1alpha1-uc-api.d.ts +0 -265
- package/dist/src/api/plugin-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/plugin-v1alpha1-console-api.d.ts +0 -672
- package/dist/src/api/plugin-v1alpha1-public-api.d.ts +0 -71
- package/dist/src/api/policy-alpha1-console-api.d.ts +0 -137
- package/dist/src/api/policy-template-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/policy-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/post-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/post-v1alpha1-console-api.d.ts +0 -698
- package/dist/src/api/post-v1alpha1-public-api.d.ts +0 -188
- package/dist/src/api/post-v1alpha1-uc-api.d.ts +0 -498
- package/dist/src/api/reason-type-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/reason-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/remember-me-token-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/reply-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/reply-v1alpha1-console-api.d.ts +0 -112
- package/dist/src/api/reverse-proxy-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/role-binding-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/role-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/secret-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/setting-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/single-page-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/single-page-v1alpha1-console-api.d.ts +0 -615
- package/dist/src/api/single-page-v1alpha1-public-api.d.ts +0 -146
- package/dist/src/api/snapshot-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/snapshot-v1alpha1-uc-api.d.ts +0 -88
- package/dist/src/api/subscription-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/system-config-v1alpha1-console-api.d.ts +0 -121
- package/dist/src/api/system-v1alpha1-console-api.d.ts +0 -55
- package/dist/src/api/system-v1alpha1-public-api.d.ts +0 -80
- package/dist/src/api/tag-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/tag-v1alpha1-console-api.d.ts +0 -112
- package/dist/src/api/tag-v1alpha1-public-api.d.ts +0 -228
- package/dist/src/api/theme-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/theme-v1alpha1-console-api.d.ts +0 -598
- package/dist/src/api/thumbnail-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/thumbnail-v1alpha1-public-api.d.ts +0 -79
- package/dist/src/api/two-factor-auth-v1alpha1-uc-api.d.ts +0 -248
- package/dist/src/api/user-connection-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/user-connection-v1alpha1-uc-api.d.ts +0 -72
- package/dist/src/api/user-preference-v1alpha1-uc-api.d.ts +0 -121
- package/dist/src/api/user-v1alpha1-api.d.ts +0 -330
- package/dist/src/api/user-v1alpha1-console-api.d.ts +0 -715
- package/dist/src/api.d.ts +0 -90
- package/dist/src/base.d.ts +0 -55
- package/dist/src/common.d.ts +0 -54
- package/dist/src/configuration.d.ts +0 -91
- package/dist/src/index.d.ts +0 -14
- package/dist/src/models/add-operation.d.ts +0 -40
- package/dist/src/models/annotation-setting-list.d.ts +0 -62
- package/dist/src/models/annotation-setting-spec.d.ts +0 -20
- package/dist/src/models/annotation-setting.d.ts +0 -33
- package/dist/src/models/attachment-list.d.ts +0 -62
- package/dist/src/models/attachment-spec.d.ts +0 -60
- package/dist/src/models/attachment-status.d.ts +0 -32
- package/dist/src/models/attachment.d.ts +0 -40
- package/dist/src/models/auth-provider-list.d.ts +0 -62
- package/dist/src/models/auth-provider-spec.d.ts +0 -92
- package/dist/src/models/auth-provider.d.ts +0 -33
- package/dist/src/models/author.d.ts +0 -30
- package/dist/src/models/backup-file.d.ts +0 -36
- package/dist/src/models/backup-list.d.ts +0 -62
- package/dist/src/models/backup-spec.d.ts +0 -30
- package/dist/src/models/backup-status.d.ts +0 -67
- package/dist/src/models/backup.d.ts +0 -40
- package/dist/src/models/category-list.d.ts +0 -62
- package/dist/src/models/category-spec.d.ts +0 -78
- package/dist/src/models/category-status.d.ts +0 -36
- package/dist/src/models/category-vo-list.d.ts +0 -62
- package/dist/src/models/category-vo.d.ts +0 -34
- package/dist/src/models/category.d.ts +0 -40
- package/dist/src/models/change-own-password-request.d.ts +0 -30
- package/dist/src/models/change-password-request.d.ts +0 -24
- package/dist/src/models/comment-email-owner.d.ts +0 -42
- package/dist/src/models/comment-list.d.ts +0 -62
- package/dist/src/models/comment-owner.d.ts +0 -44
- package/dist/src/models/comment-request.d.ts +0 -39
- package/dist/src/models/comment-spec.d.ts +0 -93
- package/dist/src/models/comment-stats-vo.d.ts +0 -24
- package/dist/src/models/comment-stats.d.ts +0 -24
- package/dist/src/models/comment-status.d.ts +0 -54
- package/dist/src/models/comment-vo-list.d.ts +0 -62
- package/dist/src/models/comment-vo.d.ts +0 -42
- package/dist/src/models/comment-with-reply-vo-list.d.ts +0 -62
- package/dist/src/models/comment-with-reply-vo.d.ts +0 -49
- package/dist/src/models/comment.d.ts +0 -40
- package/dist/src/models/condition.d.ts +0 -54
- package/dist/src/models/config-map-list.d.ts +0 -62
- package/dist/src/models/config-map-ref.d.ts +0 -24
- package/dist/src/models/config-map.d.ts +0 -34
- package/dist/src/models/content-update-param.d.ts +0 -42
- package/dist/src/models/content-vo.d.ts +0 -30
- package/dist/src/models/content-wrapper.d.ts +0 -42
- package/dist/src/models/content.d.ts +0 -36
- package/dist/src/models/contributor-vo.d.ts +0 -44
- package/dist/src/models/contributor.d.ts +0 -36
- package/dist/src/models/copy-operation.d.ts +0 -40
- package/dist/src/models/counter-list.d.ts +0 -62
- package/dist/src/models/counter-request.d.ts +0 -60
- package/dist/src/models/counter.d.ts +0 -56
- package/dist/src/models/create-user-request.d.ts +0 -74
- package/dist/src/models/custom-templates.d.ts +0 -26
- package/dist/src/models/dashboard-stats.d.ts +0 -54
- package/dist/src/models/detailed-user.d.ts +0 -21
- package/dist/src/models/device-list.d.ts +0 -62
- package/dist/src/models/device-spec.d.ts +0 -60
- package/dist/src/models/device-status.d.ts +0 -30
- package/dist/src/models/device.d.ts +0 -40
- package/dist/src/models/email-config-validation-request.d.ts +0 -66
- package/dist/src/models/email-verify-request.d.ts +0 -24
- package/dist/src/models/excerpt.d.ts +0 -30
- package/dist/src/models/extension-definition-list.d.ts +0 -62
- package/dist/src/models/extension-definition.d.ts +0 -33
- package/dist/src/models/extension-point-definition-list.d.ts +0 -62
- package/dist/src/models/extension-point-definition.d.ts +0 -33
- package/dist/src/models/extension-point-spec.d.ts +0 -53
- package/dist/src/models/extension-spec.d.ts +0 -48
- package/dist/src/models/extension.d.ts +0 -26
- package/dist/src/models/file-reverse-proxy-provider.d.ts +0 -30
- package/dist/src/models/grant-request.d.ts +0 -24
- package/dist/src/models/group-kind.d.ts +0 -30
- package/dist/src/models/group-list.d.ts +0 -62
- package/dist/src/models/group-spec.d.ts +0 -24
- package/dist/src/models/group-status.d.ts +0 -30
- package/dist/src/models/group.d.ts +0 -40
- package/dist/src/models/halo-document.d.ts +0 -116
- package/dist/src/models/index.d.ts +0 -250
- package/dist/src/models/install-from-uri-request.d.ts +0 -24
- package/dist/src/models/interest-reason-subject.d.ts +0 -36
- package/dist/src/models/interest-reason.d.ts +0 -26
- package/dist/src/models/json-patch-inner.d.ts +0 -11
- package/dist/src/models/license.d.ts +0 -30
- package/dist/src/models/list-result-reply-vo.d.ts +0 -62
- package/dist/src/models/listed-auth-provider.d.ts +0 -113
- package/dist/src/models/listed-comment-list.d.ts +0 -62
- package/dist/src/models/listed-comment.d.ts +0 -35
- package/dist/src/models/listed-post-list.d.ts +0 -62
- package/dist/src/models/listed-post-vo-list.d.ts +0 -62
- package/dist/src/models/listed-post-vo.d.ts +0 -62
- package/dist/src/models/listed-post.d.ts +0 -48
- package/dist/src/models/listed-reply-list.d.ts +0 -62
- package/dist/src/models/listed-reply.d.ts +0 -28
- package/dist/src/models/listed-single-page-list.d.ts +0 -62
- package/dist/src/models/listed-single-page-vo-list.d.ts +0 -62
- package/dist/src/models/listed-single-page-vo.d.ts +0 -48
- package/dist/src/models/listed-single-page.d.ts +0 -34
- package/dist/src/models/listed-snapshot-dto.d.ts +0 -21
- package/dist/src/models/listed-snapshot-spec.d.ts +0 -30
- package/dist/src/models/listed-user.d.ts +0 -21
- package/dist/src/models/local-thumbnail-list.d.ts +0 -62
- package/dist/src/models/local-thumbnail-spec.d.ts +0 -61
- package/dist/src/models/local-thumbnail-status.d.ts +0 -30
- package/dist/src/models/local-thumbnail.d.ts +0 -40
- package/dist/src/models/login-history.d.ts +0 -48
- package/dist/src/models/mark-specified-request.d.ts +0 -24
- package/dist/src/models/menu-item-list.d.ts +0 -62
- package/dist/src/models/menu-item-spec.d.ts +0 -51
- package/dist/src/models/menu-item-status.d.ts +0 -30
- package/dist/src/models/menu-item-vo.d.ts +0 -40
- package/dist/src/models/menu-item.d.ts +0 -40
- package/dist/src/models/menu-list.d.ts +0 -62
- package/dist/src/models/menu-spec.d.ts +0 -30
- package/dist/src/models/menu-vo.d.ts +0 -28
- package/dist/src/models/menu.d.ts +0 -33
- package/dist/src/models/metadata.d.ts +0 -70
- package/dist/src/models/move-operation.d.ts +0 -40
- package/dist/src/models/navigation-post-vo.d.ts +0 -26
- package/dist/src/models/notification-list.d.ts +0 -62
- package/dist/src/models/notification-spec.d.ts +0 -60
- package/dist/src/models/notification-template-list.d.ts +0 -62
- package/dist/src/models/notification-template-spec.d.ts +0 -21
- package/dist/src/models/notification-template.d.ts +0 -33
- package/dist/src/models/notification.d.ts +0 -33
- package/dist/src/models/notifier-descriptor-list.d.ts +0 -62
- package/dist/src/models/notifier-descriptor-spec.d.ts +0 -38
- package/dist/src/models/notifier-descriptor.d.ts +0 -33
- package/dist/src/models/notifier-info.d.ts +0 -36
- package/dist/src/models/notifier-setting-ref.d.ts +0 -30
- package/dist/src/models/owner-info.d.ts +0 -48
- package/dist/src/models/password-request.d.ts +0 -24
- package/dist/src/models/pat-spec.d.ts +0 -78
- package/dist/src/models/personal-access-token-list.d.ts +0 -62
- package/dist/src/models/personal-access-token.d.ts +0 -33
- package/dist/src/models/plugin-author.d.ts +0 -30
- package/dist/src/models/plugin-list.d.ts +0 -62
- package/dist/src/models/plugin-running-state-request.d.ts +0 -30
- package/dist/src/models/plugin-spec.d.ts +0 -95
- package/dist/src/models/plugin-status.d.ts +0 -79
- package/dist/src/models/plugin.d.ts +0 -40
- package/dist/src/models/policy-list.d.ts +0 -62
- package/dist/src/models/policy-rule.d.ts +0 -48
- package/dist/src/models/policy-spec.d.ts +0 -36
- package/dist/src/models/policy-template-list.d.ts +0 -62
- package/dist/src/models/policy-template-spec.d.ts +0 -30
- package/dist/src/models/policy-template.d.ts +0 -33
- package/dist/src/models/policy.d.ts +0 -33
- package/dist/src/models/post-list.d.ts +0 -62
- package/dist/src/models/post-request.d.ts +0 -21
- package/dist/src/models/post-spec.d.ts +0 -130
- package/dist/src/models/post-status.d.ts +0 -68
- package/dist/src/models/post-vo.d.ts +0 -69
- package/dist/src/models/post.d.ts +0 -40
- package/dist/src/models/reason-attributes.d.ts +0 -24
- package/dist/src/models/reason-list.d.ts +0 -62
- package/dist/src/models/reason-property.d.ts +0 -42
- package/dist/src/models/reason-selector.d.ts +0 -30
- package/dist/src/models/reason-spec.d.ts +0 -33
- package/dist/src/models/reason-subject.d.ts +0 -48
- package/dist/src/models/reason-type-info.d.ts +0 -42
- package/dist/src/models/reason-type-list.d.ts +0 -62
- package/dist/src/models/reason-type-notifier-collection-request.d.ts +0 -14
- package/dist/src/models/reason-type-notifier-matrix.d.ts +0 -27
- package/dist/src/models/reason-type-notifier-request.d.ts +0 -30
- package/dist/src/models/reason-type-spec.d.ts +0 -26
- package/dist/src/models/reason-type.d.ts +0 -33
- package/dist/src/models/reason.d.ts +0 -33
- package/dist/src/models/ref.d.ts +0 -42
- package/dist/src/models/remember-me-token-list.d.ts +0 -62
- package/dist/src/models/remember-me-token-spec.d.ts +0 -42
- package/dist/src/models/remember-me-token.d.ts +0 -33
- package/dist/src/models/remove-operation.d.ts +0 -34
- package/dist/src/models/replace-operation.d.ts +0 -40
- package/dist/src/models/reply-list.d.ts +0 -62
- package/dist/src/models/reply-request.d.ts +0 -38
- package/dist/src/models/reply-spec.d.ts +0 -92
- package/dist/src/models/reply-status.d.ts +0 -24
- package/dist/src/models/reply-vo-list.d.ts +0 -62
- package/dist/src/models/reply-vo.d.ts +0 -35
- package/dist/src/models/reply.d.ts +0 -40
- package/dist/src/models/reverse-proxy-list.d.ts +0 -62
- package/dist/src/models/reverse-proxy-rule.d.ts +0 -20
- package/dist/src/models/reverse-proxy.d.ts +0 -33
- package/dist/src/models/revert-snapshot-for-post-param.d.ts +0 -24
- package/dist/src/models/revert-snapshot-for-single-param.d.ts +0 -24
- package/dist/src/models/role-binding-list.d.ts +0 -62
- package/dist/src/models/role-binding.d.ts +0 -40
- package/dist/src/models/role-list.d.ts +0 -62
- package/dist/src/models/role-ref.d.ts +0 -36
- package/dist/src/models/role.d.ts +0 -33
- package/dist/src/models/search-option.d.ts +0 -92
- package/dist/src/models/search-result.d.ts +0 -38
- package/dist/src/models/secret-list.d.ts +0 -62
- package/dist/src/models/secret.d.ts +0 -48
- package/dist/src/models/setting-form.d.ts +0 -36
- package/dist/src/models/setting-list.d.ts +0 -62
- package/dist/src/models/setting-ref.d.ts +0 -30
- package/dist/src/models/setting-spec.d.ts +0 -14
- package/dist/src/models/setting.d.ts +0 -33
- package/dist/src/models/single-page-list.d.ts +0 -62
- package/dist/src/models/single-page-request.d.ts +0 -21
- package/dist/src/models/single-page-spec.d.ts +0 -118
- package/dist/src/models/single-page-status.d.ts +0 -68
- package/dist/src/models/single-page-vo.d.ts +0 -55
- package/dist/src/models/single-page.d.ts +0 -40
- package/dist/src/models/site-stats-vo.d.ts +0 -48
- package/dist/src/models/snap-shot-spec.d.ts +0 -56
- package/dist/src/models/snapshot-list.d.ts +0 -62
- package/dist/src/models/snapshot.d.ts +0 -33
- package/dist/src/models/stats-vo.d.ts +0 -36
- package/dist/src/models/stats.d.ts +0 -42
- package/dist/src/models/subject.d.ts +0 -36
- package/dist/src/models/subscription-list.d.ts +0 -62
- package/dist/src/models/subscription-spec.d.ts +0 -33
- package/dist/src/models/subscription-subscriber.d.ts +0 -24
- package/dist/src/models/subscription.d.ts +0 -33
- package/dist/src/models/tag-list.d.ts +0 -62
- package/dist/src/models/tag-spec.d.ts +0 -42
- package/dist/src/models/tag-status.d.ts +0 -42
- package/dist/src/models/tag-vo-list.d.ts +0 -62
- package/dist/src/models/tag-vo.d.ts +0 -34
- package/dist/src/models/tag.d.ts +0 -40
- package/dist/src/models/template-content.d.ts +0 -36
- package/dist/src/models/template-descriptor.d.ts +0 -42
- package/dist/src/models/test-operation.d.ts +0 -40
- package/dist/src/models/theme-list.d.ts +0 -62
- package/dist/src/models/theme-spec.d.ts +0 -88
- package/dist/src/models/theme-status.d.ts +0 -32
- package/dist/src/models/theme.d.ts +0 -40
- package/dist/src/models/thumbnail-list.d.ts +0 -62
- package/dist/src/models/thumbnail-spec.d.ts +0 -49
- package/dist/src/models/thumbnail.d.ts +0 -33
- package/dist/src/models/totp-auth-link-response.d.ts +0 -30
- package/dist/src/models/totp-request.d.ts +0 -36
- package/dist/src/models/two-factor-auth-settings.d.ts +0 -42
- package/dist/src/models/uc-upload-request-form-data.d.ts +0 -33
- package/dist/src/models/upgrade-from-uri-request.d.ts +0 -24
- package/dist/src/models/upload-from-url-request.d.ts +0 -30
- package/dist/src/models/user-connection-list.d.ts +0 -62
- package/dist/src/models/user-connection-spec.d.ts +0 -42
- package/dist/src/models/user-connection.d.ts +0 -33
- package/dist/src/models/user-device.d.ts +0 -26
- package/dist/src/models/user-endpoint-listed-user-list.d.ts +0 -62
- package/dist/src/models/user-list.d.ts +0 -62
- package/dist/src/models/user-permission.d.ts +0 -26
- package/dist/src/models/user-spec.d.ts +0 -90
- package/dist/src/models/user-status.d.ts +0 -26
- package/dist/src/models/user.d.ts +0 -40
- package/dist/src/models/verify-code-request.d.ts +0 -30
- package/dist/src/models/vote-request.d.ts +0 -36
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
import { Configuration } from '../configuration';
|
|
2
|
-
import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
3
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
4
|
-
import { Attachment, AttachmentList, UploadFromUrlRequest } from '../models';
|
|
5
|
-
/**
|
|
6
|
-
* AttachmentV1alpha1ConsoleApi - axios parameter creator
|
|
7
|
-
* @export
|
|
8
|
-
*/
|
|
9
|
-
export declare const AttachmentV1alpha1ConsoleApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* @param {UploadFromUrlRequest} uploadFromUrlRequest
|
|
13
|
-
* @param {*} [options] Override http request option.
|
|
14
|
-
* @throws {RequiredError}
|
|
15
|
-
*/
|
|
16
|
-
externalTransferAttachment: (uploadFromUrlRequest: UploadFromUrlRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @param {number} [page] Page number. Default is 0.
|
|
20
|
-
* @param {number} [size] Size number. Default is 0.
|
|
21
|
-
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
22
|
-
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
23
|
-
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
24
|
-
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
25
|
-
* @param {string} [keyword] Keyword for searching.
|
|
26
|
-
* @param {Array<string>} [accepts] Acceptable media types.
|
|
27
|
-
* @param {*} [options] Override http request option.
|
|
28
|
-
* @throws {RequiredError}
|
|
29
|
-
*/
|
|
30
|
-
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>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @param {File} file
|
|
34
|
-
* @param {string} policyName Storage policy name
|
|
35
|
-
* @param {string} [groupName] The name of the group to which the attachment belongs
|
|
36
|
-
* @param {*} [options] Override http request option.
|
|
37
|
-
* @throws {RequiredError}
|
|
38
|
-
*/
|
|
39
|
-
uploadAttachment: (file: File, policyName: string, groupName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* AttachmentV1alpha1ConsoleApi - functional programming interface
|
|
43
|
-
* @export
|
|
44
|
-
*/
|
|
45
|
-
export declare const AttachmentV1alpha1ConsoleApiFp: (configuration?: Configuration) => {
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @param {UploadFromUrlRequest} uploadFromUrlRequest
|
|
49
|
-
* @param {*} [options] Override http request option.
|
|
50
|
-
* @throws {RequiredError}
|
|
51
|
-
*/
|
|
52
|
-
externalTransferAttachment(uploadFromUrlRequest: UploadFromUrlRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @param {number} [page] Page number. Default is 0.
|
|
56
|
-
* @param {number} [size] Size number. Default is 0.
|
|
57
|
-
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
58
|
-
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
59
|
-
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
60
|
-
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
61
|
-
* @param {string} [keyword] Keyword for searching.
|
|
62
|
-
* @param {Array<string>} [accepts] Acceptable media types.
|
|
63
|
-
* @param {*} [options] Override http request option.
|
|
64
|
-
* @throws {RequiredError}
|
|
65
|
-
*/
|
|
66
|
-
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>>;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @param {File} file
|
|
70
|
-
* @param {string} policyName Storage policy name
|
|
71
|
-
* @param {string} [groupName] The name of the group to which the attachment belongs
|
|
72
|
-
* @param {*} [options] Override http request option.
|
|
73
|
-
* @throws {RequiredError}
|
|
74
|
-
*/
|
|
75
|
-
uploadAttachment(file: File, policyName: string, groupName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* AttachmentV1alpha1ConsoleApi - factory interface
|
|
79
|
-
* @export
|
|
80
|
-
*/
|
|
81
|
-
export declare const AttachmentV1alpha1ConsoleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @param {AttachmentV1alpha1ConsoleApiExternalTransferAttachmentRequest} requestParameters Request parameters.
|
|
85
|
-
* @param {*} [options] Override http request option.
|
|
86
|
-
* @throws {RequiredError}
|
|
87
|
-
*/
|
|
88
|
-
externalTransferAttachment(requestParameters: AttachmentV1alpha1ConsoleApiExternalTransferAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @param {AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest} requestParameters Request parameters.
|
|
92
|
-
* @param {*} [options] Override http request option.
|
|
93
|
-
* @throws {RequiredError}
|
|
94
|
-
*/
|
|
95
|
-
searchAttachments(requestParameters?: AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AttachmentList>;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @param {AttachmentV1alpha1ConsoleApiUploadAttachmentRequest} requestParameters Request parameters.
|
|
99
|
-
* @param {*} [options] Override http request option.
|
|
100
|
-
* @throws {RequiredError}
|
|
101
|
-
*/
|
|
102
|
-
uploadAttachment(requestParameters: AttachmentV1alpha1ConsoleApiUploadAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* Request parameters for externalTransferAttachment operation in AttachmentV1alpha1ConsoleApi.
|
|
106
|
-
* @export
|
|
107
|
-
* @interface AttachmentV1alpha1ConsoleApiExternalTransferAttachmentRequest
|
|
108
|
-
*/
|
|
109
|
-
export interface AttachmentV1alpha1ConsoleApiExternalTransferAttachmentRequest {
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* @type {UploadFromUrlRequest}
|
|
113
|
-
* @memberof AttachmentV1alpha1ConsoleApiExternalTransferAttachment
|
|
114
|
-
*/
|
|
115
|
-
readonly uploadFromUrlRequest: UploadFromUrlRequest;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Request parameters for searchAttachments operation in AttachmentV1alpha1ConsoleApi.
|
|
119
|
-
* @export
|
|
120
|
-
* @interface AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest
|
|
121
|
-
*/
|
|
122
|
-
export interface AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest {
|
|
123
|
-
/**
|
|
124
|
-
* Page number. Default is 0.
|
|
125
|
-
* @type {number}
|
|
126
|
-
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
127
|
-
*/
|
|
128
|
-
readonly page?: number;
|
|
129
|
-
/**
|
|
130
|
-
* Size number. Default is 0.
|
|
131
|
-
* @type {number}
|
|
132
|
-
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
133
|
-
*/
|
|
134
|
-
readonly size?: number;
|
|
135
|
-
/**
|
|
136
|
-
* Label selector. e.g.: hidden!=true
|
|
137
|
-
* @type {Array<string>}
|
|
138
|
-
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
139
|
-
*/
|
|
140
|
-
readonly labelSelector?: Array<string>;
|
|
141
|
-
/**
|
|
142
|
-
* Field selector. e.g.: metadata.name==halo
|
|
143
|
-
* @type {Array<string>}
|
|
144
|
-
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
145
|
-
*/
|
|
146
|
-
readonly fieldSelector?: Array<string>;
|
|
147
|
-
/**
|
|
148
|
-
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
149
|
-
* @type {Array<string>}
|
|
150
|
-
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
151
|
-
*/
|
|
152
|
-
readonly sort?: Array<string>;
|
|
153
|
-
/**
|
|
154
|
-
* Filter attachments without group. This parameter will ignore group parameter.
|
|
155
|
-
* @type {boolean}
|
|
156
|
-
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
157
|
-
*/
|
|
158
|
-
readonly ungrouped?: boolean;
|
|
159
|
-
/**
|
|
160
|
-
* Keyword for searching.
|
|
161
|
-
* @type {string}
|
|
162
|
-
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
163
|
-
*/
|
|
164
|
-
readonly keyword?: string;
|
|
165
|
-
/**
|
|
166
|
-
* Acceptable media types.
|
|
167
|
-
* @type {Array<string>}
|
|
168
|
-
* @memberof AttachmentV1alpha1ConsoleApiSearchAttachments
|
|
169
|
-
*/
|
|
170
|
-
readonly accepts?: Array<string>;
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* Request parameters for uploadAttachment operation in AttachmentV1alpha1ConsoleApi.
|
|
174
|
-
* @export
|
|
175
|
-
* @interface AttachmentV1alpha1ConsoleApiUploadAttachmentRequest
|
|
176
|
-
*/
|
|
177
|
-
export interface AttachmentV1alpha1ConsoleApiUploadAttachmentRequest {
|
|
178
|
-
/**
|
|
179
|
-
*
|
|
180
|
-
* @type {File}
|
|
181
|
-
* @memberof AttachmentV1alpha1ConsoleApiUploadAttachment
|
|
182
|
-
*/
|
|
183
|
-
readonly file: File;
|
|
184
|
-
/**
|
|
185
|
-
* Storage policy name
|
|
186
|
-
* @type {string}
|
|
187
|
-
* @memberof AttachmentV1alpha1ConsoleApiUploadAttachment
|
|
188
|
-
*/
|
|
189
|
-
readonly policyName: string;
|
|
190
|
-
/**
|
|
191
|
-
* The name of the group to which the attachment belongs
|
|
192
|
-
* @type {string}
|
|
193
|
-
* @memberof AttachmentV1alpha1ConsoleApiUploadAttachment
|
|
194
|
-
*/
|
|
195
|
-
readonly groupName?: string;
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* AttachmentV1alpha1ConsoleApi - object-oriented interface
|
|
199
|
-
* @export
|
|
200
|
-
* @class AttachmentV1alpha1ConsoleApi
|
|
201
|
-
* @extends {BaseAPI}
|
|
202
|
-
*/
|
|
203
|
-
export declare class AttachmentV1alpha1ConsoleApi extends BaseAPI {
|
|
204
|
-
/**
|
|
205
|
-
*
|
|
206
|
-
* @param {AttachmentV1alpha1ConsoleApiExternalTransferAttachmentRequest} requestParameters Request parameters.
|
|
207
|
-
* @param {*} [options] Override http request option.
|
|
208
|
-
* @throws {RequiredError}
|
|
209
|
-
* @memberof AttachmentV1alpha1ConsoleApi
|
|
210
|
-
*/
|
|
211
|
-
externalTransferAttachment(requestParameters: AttachmentV1alpha1ConsoleApiExternalTransferAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
|
|
212
|
-
/**
|
|
213
|
-
*
|
|
214
|
-
* @param {AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest} requestParameters Request parameters.
|
|
215
|
-
* @param {*} [options] Override http request option.
|
|
216
|
-
* @throws {RequiredError}
|
|
217
|
-
* @memberof AttachmentV1alpha1ConsoleApi
|
|
218
|
-
*/
|
|
219
|
-
searchAttachments(requestParameters?: AttachmentV1alpha1ConsoleApiSearchAttachmentsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<AttachmentList, any>>;
|
|
220
|
-
/**
|
|
221
|
-
*
|
|
222
|
-
* @param {AttachmentV1alpha1ConsoleApiUploadAttachmentRequest} requestParameters Request parameters.
|
|
223
|
-
* @param {*} [options] Override http request option.
|
|
224
|
-
* @throws {RequiredError}
|
|
225
|
-
* @memberof AttachmentV1alpha1ConsoleApi
|
|
226
|
-
*/
|
|
227
|
-
uploadAttachment(requestParameters: AttachmentV1alpha1ConsoleApiUploadAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
|
|
228
|
-
}
|
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
import { Configuration } from '../configuration';
|
|
2
|
-
import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
3
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
4
|
-
import { Attachment, AttachmentList, UcUploadRequestFormData, UploadFromUrlRequest } from '../models';
|
|
5
|
-
/**
|
|
6
|
-
* AttachmentV1alpha1UcApi - axios parameter creator
|
|
7
|
-
* @export
|
|
8
|
-
*/
|
|
9
|
-
export declare const AttachmentV1alpha1UcApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
10
|
-
/**
|
|
11
|
-
* Create attachment for the given post.
|
|
12
|
-
* @param {File} file
|
|
13
|
-
* @param {boolean} [waitForPermalink] Wait for permalink.
|
|
14
|
-
* @param {string} [postName] Post name.
|
|
15
|
-
* @param {string} [singlePageName] Single page name.
|
|
16
|
-
* @param {*} [options] Override http request option.
|
|
17
|
-
* @throws {RequiredError}
|
|
18
|
-
*/
|
|
19
|
-
createAttachmentForPost: (file: File, waitForPermalink?: boolean, postName?: string, singlePageName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20
|
-
/**
|
|
21
|
-
* Upload attachment from the given URL.
|
|
22
|
-
* @param {UploadFromUrlRequest} uploadFromUrlRequest
|
|
23
|
-
* @param {boolean} [waitForPermalink] Wait for permalink.
|
|
24
|
-
* @param {*} [options] Override http request option.
|
|
25
|
-
* @throws {RequiredError}
|
|
26
|
-
*/
|
|
27
|
-
externalTransferAttachment1: (uploadFromUrlRequest: UploadFromUrlRequest, waitForPermalink?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
|
-
/**
|
|
29
|
-
* List attachments of the current user uploaded.
|
|
30
|
-
* @param {number} [page] Page number. Default is 0.
|
|
31
|
-
* @param {number} [size] Size number. Default is 0.
|
|
32
|
-
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
33
|
-
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
34
|
-
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
35
|
-
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
36
|
-
* @param {string} [keyword] Keyword for searching.
|
|
37
|
-
* @param {Array<string>} [accepts] Acceptable media types.
|
|
38
|
-
* @param {*} [options] Override http request option.
|
|
39
|
-
* @throws {RequiredError}
|
|
40
|
-
*/
|
|
41
|
-
listMyAttachments: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, sort?: Array<string>, ungrouped?: boolean, keyword?: string, accepts?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
-
/**
|
|
43
|
-
* Upload attachment to user center storage.
|
|
44
|
-
* @param {File} file
|
|
45
|
-
* @param {UcUploadRequestFormData} [formData]
|
|
46
|
-
* @param {*} [options] Override http request option.
|
|
47
|
-
* @throws {RequiredError}
|
|
48
|
-
*/
|
|
49
|
-
uploadUcAttachment: (file: File, formData?: UcUploadRequestFormData, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* AttachmentV1alpha1UcApi - functional programming interface
|
|
53
|
-
* @export
|
|
54
|
-
*/
|
|
55
|
-
export declare const AttachmentV1alpha1UcApiFp: (configuration?: Configuration) => {
|
|
56
|
-
/**
|
|
57
|
-
* Create attachment for the given post.
|
|
58
|
-
* @param {File} file
|
|
59
|
-
* @param {boolean} [waitForPermalink] Wait for permalink.
|
|
60
|
-
* @param {string} [postName] Post name.
|
|
61
|
-
* @param {string} [singlePageName] Single page name.
|
|
62
|
-
* @param {*} [options] Override http request option.
|
|
63
|
-
* @throws {RequiredError}
|
|
64
|
-
*/
|
|
65
|
-
createAttachmentForPost(file: File, waitForPermalink?: boolean, postName?: string, singlePageName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
|
|
66
|
-
/**
|
|
67
|
-
* Upload attachment from the given URL.
|
|
68
|
-
* @param {UploadFromUrlRequest} uploadFromUrlRequest
|
|
69
|
-
* @param {boolean} [waitForPermalink] Wait for permalink.
|
|
70
|
-
* @param {*} [options] Override http request option.
|
|
71
|
-
* @throws {RequiredError}
|
|
72
|
-
*/
|
|
73
|
-
externalTransferAttachment1(uploadFromUrlRequest: UploadFromUrlRequest, waitForPermalink?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
|
|
74
|
-
/**
|
|
75
|
-
* List attachments of the current user uploaded.
|
|
76
|
-
* @param {number} [page] Page number. Default is 0.
|
|
77
|
-
* @param {number} [size] Size number. Default is 0.
|
|
78
|
-
* @param {Array<string>} [labelSelector] Label selector. e.g.: hidden!=true
|
|
79
|
-
* @param {Array<string>} [fieldSelector] Field selector. e.g.: metadata.name==halo
|
|
80
|
-
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
81
|
-
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
82
|
-
* @param {string} [keyword] Keyword for searching.
|
|
83
|
-
* @param {Array<string>} [accepts] Acceptable media types.
|
|
84
|
-
* @param {*} [options] Override http request option.
|
|
85
|
-
* @throws {RequiredError}
|
|
86
|
-
*/
|
|
87
|
-
listMyAttachments(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>>;
|
|
88
|
-
/**
|
|
89
|
-
* Upload attachment to user center storage.
|
|
90
|
-
* @param {File} file
|
|
91
|
-
* @param {UcUploadRequestFormData} [formData]
|
|
92
|
-
* @param {*} [options] Override http request option.
|
|
93
|
-
* @throws {RequiredError}
|
|
94
|
-
*/
|
|
95
|
-
uploadUcAttachment(file: File, formData?: UcUploadRequestFormData, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Attachment>>;
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* AttachmentV1alpha1UcApi - factory interface
|
|
99
|
-
* @export
|
|
100
|
-
*/
|
|
101
|
-
export declare const AttachmentV1alpha1UcApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
102
|
-
/**
|
|
103
|
-
* Create attachment for the given post.
|
|
104
|
-
* @param {AttachmentV1alpha1UcApiCreateAttachmentForPostRequest} requestParameters Request parameters.
|
|
105
|
-
* @param {*} [options] Override http request option.
|
|
106
|
-
* @throws {RequiredError}
|
|
107
|
-
*/
|
|
108
|
-
createAttachmentForPost(requestParameters: AttachmentV1alpha1UcApiCreateAttachmentForPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
|
|
109
|
-
/**
|
|
110
|
-
* Upload attachment from the given URL.
|
|
111
|
-
* @param {AttachmentV1alpha1UcApiExternalTransferAttachment1Request} requestParameters Request parameters.
|
|
112
|
-
* @param {*} [options] Override http request option.
|
|
113
|
-
* @throws {RequiredError}
|
|
114
|
-
*/
|
|
115
|
-
externalTransferAttachment1(requestParameters: AttachmentV1alpha1UcApiExternalTransferAttachment1Request, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
|
|
116
|
-
/**
|
|
117
|
-
* List attachments of the current user uploaded.
|
|
118
|
-
* @param {AttachmentV1alpha1UcApiListMyAttachmentsRequest} requestParameters Request parameters.
|
|
119
|
-
* @param {*} [options] Override http request option.
|
|
120
|
-
* @throws {RequiredError}
|
|
121
|
-
*/
|
|
122
|
-
listMyAttachments(requestParameters?: AttachmentV1alpha1UcApiListMyAttachmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AttachmentList>;
|
|
123
|
-
/**
|
|
124
|
-
* Upload attachment to user center storage.
|
|
125
|
-
* @param {AttachmentV1alpha1UcApiUploadUcAttachmentRequest} requestParameters Request parameters.
|
|
126
|
-
* @param {*} [options] Override http request option.
|
|
127
|
-
* @throws {RequiredError}
|
|
128
|
-
*/
|
|
129
|
-
uploadUcAttachment(requestParameters: AttachmentV1alpha1UcApiUploadUcAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Attachment>;
|
|
130
|
-
};
|
|
131
|
-
/**
|
|
132
|
-
* Request parameters for createAttachmentForPost operation in AttachmentV1alpha1UcApi.
|
|
133
|
-
* @export
|
|
134
|
-
* @interface AttachmentV1alpha1UcApiCreateAttachmentForPostRequest
|
|
135
|
-
*/
|
|
136
|
-
export interface AttachmentV1alpha1UcApiCreateAttachmentForPostRequest {
|
|
137
|
-
/**
|
|
138
|
-
*
|
|
139
|
-
* @type {File}
|
|
140
|
-
* @memberof AttachmentV1alpha1UcApiCreateAttachmentForPost
|
|
141
|
-
*/
|
|
142
|
-
readonly file: File;
|
|
143
|
-
/**
|
|
144
|
-
* Wait for permalink.
|
|
145
|
-
* @type {boolean}
|
|
146
|
-
* @memberof AttachmentV1alpha1UcApiCreateAttachmentForPost
|
|
147
|
-
*/
|
|
148
|
-
readonly waitForPermalink?: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* Post name.
|
|
151
|
-
* @type {string}
|
|
152
|
-
* @memberof AttachmentV1alpha1UcApiCreateAttachmentForPost
|
|
153
|
-
*/
|
|
154
|
-
readonly postName?: string;
|
|
155
|
-
/**
|
|
156
|
-
* Single page name.
|
|
157
|
-
* @type {string}
|
|
158
|
-
* @memberof AttachmentV1alpha1UcApiCreateAttachmentForPost
|
|
159
|
-
*/
|
|
160
|
-
readonly singlePageName?: string;
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* Request parameters for externalTransferAttachment1 operation in AttachmentV1alpha1UcApi.
|
|
164
|
-
* @export
|
|
165
|
-
* @interface AttachmentV1alpha1UcApiExternalTransferAttachment1Request
|
|
166
|
-
*/
|
|
167
|
-
export interface AttachmentV1alpha1UcApiExternalTransferAttachment1Request {
|
|
168
|
-
/**
|
|
169
|
-
*
|
|
170
|
-
* @type {UploadFromUrlRequest}
|
|
171
|
-
* @memberof AttachmentV1alpha1UcApiExternalTransferAttachment1
|
|
172
|
-
*/
|
|
173
|
-
readonly uploadFromUrlRequest: UploadFromUrlRequest;
|
|
174
|
-
/**
|
|
175
|
-
* Wait for permalink.
|
|
176
|
-
* @type {boolean}
|
|
177
|
-
* @memberof AttachmentV1alpha1UcApiExternalTransferAttachment1
|
|
178
|
-
*/
|
|
179
|
-
readonly waitForPermalink?: boolean;
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Request parameters for listMyAttachments operation in AttachmentV1alpha1UcApi.
|
|
183
|
-
* @export
|
|
184
|
-
* @interface AttachmentV1alpha1UcApiListMyAttachmentsRequest
|
|
185
|
-
*/
|
|
186
|
-
export interface AttachmentV1alpha1UcApiListMyAttachmentsRequest {
|
|
187
|
-
/**
|
|
188
|
-
* Page number. Default is 0.
|
|
189
|
-
* @type {number}
|
|
190
|
-
* @memberof AttachmentV1alpha1UcApiListMyAttachments
|
|
191
|
-
*/
|
|
192
|
-
readonly page?: number;
|
|
193
|
-
/**
|
|
194
|
-
* Size number. Default is 0.
|
|
195
|
-
* @type {number}
|
|
196
|
-
* @memberof AttachmentV1alpha1UcApiListMyAttachments
|
|
197
|
-
*/
|
|
198
|
-
readonly size?: number;
|
|
199
|
-
/**
|
|
200
|
-
* Label selector. e.g.: hidden!=true
|
|
201
|
-
* @type {Array<string>}
|
|
202
|
-
* @memberof AttachmentV1alpha1UcApiListMyAttachments
|
|
203
|
-
*/
|
|
204
|
-
readonly labelSelector?: Array<string>;
|
|
205
|
-
/**
|
|
206
|
-
* Field selector. e.g.: metadata.name==halo
|
|
207
|
-
* @type {Array<string>}
|
|
208
|
-
* @memberof AttachmentV1alpha1UcApiListMyAttachments
|
|
209
|
-
*/
|
|
210
|
-
readonly fieldSelector?: Array<string>;
|
|
211
|
-
/**
|
|
212
|
-
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
213
|
-
* @type {Array<string>}
|
|
214
|
-
* @memberof AttachmentV1alpha1UcApiListMyAttachments
|
|
215
|
-
*/
|
|
216
|
-
readonly sort?: Array<string>;
|
|
217
|
-
/**
|
|
218
|
-
* Filter attachments without group. This parameter will ignore group parameter.
|
|
219
|
-
* @type {boolean}
|
|
220
|
-
* @memberof AttachmentV1alpha1UcApiListMyAttachments
|
|
221
|
-
*/
|
|
222
|
-
readonly ungrouped?: boolean;
|
|
223
|
-
/**
|
|
224
|
-
* Keyword for searching.
|
|
225
|
-
* @type {string}
|
|
226
|
-
* @memberof AttachmentV1alpha1UcApiListMyAttachments
|
|
227
|
-
*/
|
|
228
|
-
readonly keyword?: string;
|
|
229
|
-
/**
|
|
230
|
-
* Acceptable media types.
|
|
231
|
-
* @type {Array<string>}
|
|
232
|
-
* @memberof AttachmentV1alpha1UcApiListMyAttachments
|
|
233
|
-
*/
|
|
234
|
-
readonly accepts?: Array<string>;
|
|
235
|
-
}
|
|
236
|
-
/**
|
|
237
|
-
* Request parameters for uploadUcAttachment operation in AttachmentV1alpha1UcApi.
|
|
238
|
-
* @export
|
|
239
|
-
* @interface AttachmentV1alpha1UcApiUploadUcAttachmentRequest
|
|
240
|
-
*/
|
|
241
|
-
export interface AttachmentV1alpha1UcApiUploadUcAttachmentRequest {
|
|
242
|
-
/**
|
|
243
|
-
*
|
|
244
|
-
* @type {File}
|
|
245
|
-
* @memberof AttachmentV1alpha1UcApiUploadUcAttachment
|
|
246
|
-
*/
|
|
247
|
-
readonly file: File;
|
|
248
|
-
/**
|
|
249
|
-
*
|
|
250
|
-
* @type {UcUploadRequestFormData}
|
|
251
|
-
* @memberof AttachmentV1alpha1UcApiUploadUcAttachment
|
|
252
|
-
*/
|
|
253
|
-
readonly formData?: UcUploadRequestFormData;
|
|
254
|
-
}
|
|
255
|
-
/**
|
|
256
|
-
* AttachmentV1alpha1UcApi - object-oriented interface
|
|
257
|
-
* @export
|
|
258
|
-
* @class AttachmentV1alpha1UcApi
|
|
259
|
-
* @extends {BaseAPI}
|
|
260
|
-
*/
|
|
261
|
-
export declare class AttachmentV1alpha1UcApi extends BaseAPI {
|
|
262
|
-
/**
|
|
263
|
-
* Create attachment for the given post.
|
|
264
|
-
* @param {AttachmentV1alpha1UcApiCreateAttachmentForPostRequest} requestParameters Request parameters.
|
|
265
|
-
* @param {*} [options] Override http request option.
|
|
266
|
-
* @throws {RequiredError}
|
|
267
|
-
* @memberof AttachmentV1alpha1UcApi
|
|
268
|
-
*/
|
|
269
|
-
createAttachmentForPost(requestParameters: AttachmentV1alpha1UcApiCreateAttachmentForPostRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
|
|
270
|
-
/**
|
|
271
|
-
* Upload attachment from the given URL.
|
|
272
|
-
* @param {AttachmentV1alpha1UcApiExternalTransferAttachment1Request} requestParameters Request parameters.
|
|
273
|
-
* @param {*} [options] Override http request option.
|
|
274
|
-
* @throws {RequiredError}
|
|
275
|
-
* @memberof AttachmentV1alpha1UcApi
|
|
276
|
-
*/
|
|
277
|
-
externalTransferAttachment1(requestParameters: AttachmentV1alpha1UcApiExternalTransferAttachment1Request, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
|
|
278
|
-
/**
|
|
279
|
-
* List attachments of the current user uploaded.
|
|
280
|
-
* @param {AttachmentV1alpha1UcApiListMyAttachmentsRequest} requestParameters Request parameters.
|
|
281
|
-
* @param {*} [options] Override http request option.
|
|
282
|
-
* @throws {RequiredError}
|
|
283
|
-
* @memberof AttachmentV1alpha1UcApi
|
|
284
|
-
*/
|
|
285
|
-
listMyAttachments(requestParameters?: AttachmentV1alpha1UcApiListMyAttachmentsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<AttachmentList, any>>;
|
|
286
|
-
/**
|
|
287
|
-
* Upload attachment to user center storage.
|
|
288
|
-
* @param {AttachmentV1alpha1UcApiUploadUcAttachmentRequest} requestParameters Request parameters.
|
|
289
|
-
* @param {*} [options] Override http request option.
|
|
290
|
-
* @throws {RequiredError}
|
|
291
|
-
* @memberof AttachmentV1alpha1UcApi
|
|
292
|
-
*/
|
|
293
|
-
uploadUcAttachment(requestParameters: AttachmentV1alpha1UcApiUploadUcAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Attachment, any>>;
|
|
294
|
-
}
|