@sdkwork/backend-sdk 1.0.0 → 1.0.2
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 +167 -121
- package/dist/api/account-exchange-config.d.ts +12 -0
- package/dist/api/account-exchange-config.d.ts.map +1 -0
- package/dist/api/agent-chat.d.ts +17 -0
- package/dist/api/agent-chat.d.ts.map +1 -0
- package/dist/api/{ai-agent-tool-relationship.d.ts → agent-tool-relationship.d.ts} +3 -3
- package/dist/api/agent-tool-relationship.d.ts.map +1 -0
- package/dist/api/{ai-agent.d.ts → agent.d.ts} +3 -3
- package/dist/api/agent.d.ts.map +1 -0
- package/dist/api/api-key.d.ts +17 -1
- package/dist/api/api-key.d.ts.map +1 -1
- package/dist/api/api-security-policy.d.ts +17 -0
- package/dist/api/api-security-policy.d.ts.map +1 -0
- package/dist/api/app.d.ts +14 -1
- package/dist/api/app.d.ts.map +1 -1
- package/dist/api/{ai-article.d.ts → article.d.ts} +3 -3
- package/dist/api/article.d.ts.map +1 -0
- package/dist/api/{ai-audio-effect-generation.d.ts → audio-effect-generation.d.ts} +3 -3
- package/dist/api/audio-effect-generation.d.ts.map +1 -0
- package/dist/api/{ai-audio-generation.d.ts → audio-generation.d.ts} +3 -3
- package/dist/api/audio-generation.d.ts.map +1 -0
- package/dist/api/auth.d.ts +52 -0
- package/dist/api/auth.d.ts.map +1 -0
- package/dist/api/{ai-category.d.ts → category.d.ts} +3 -3
- package/dist/api/category.d.ts.map +1 -0
- package/dist/api/channel-proxy.d.ts +21 -0
- package/dist/api/channel-proxy.d.ts.map +1 -0
- package/dist/api/channel.d.ts +21 -0
- package/dist/api/channel.d.ts.map +1 -0
- package/dist/api/{ai-character-generation.d.ts → character-generation.d.ts} +3 -3
- package/dist/api/character-generation.d.ts.map +1 -0
- package/dist/api/chat.d.ts +13 -0
- package/dist/api/chat.d.ts.map +1 -0
- package/dist/api/content-writing.d.ts +40 -0
- package/dist/api/content-writing.d.ts.map +1 -0
- package/dist/api/{ai-conversation.d.ts → conversation.d.ts} +4 -4
- package/dist/api/conversation.d.ts.map +1 -0
- package/dist/api/coupon.d.ts +7 -1
- package/dist/api/coupon.d.ts.map +1 -1
- package/dist/api/datasource.d.ts +2 -2
- package/dist/api/datasource.d.ts.map +1 -1
- package/dist/api/department.d.ts +11 -1
- package/dist/api/department.d.ts.map +1 -1
- package/dist/api/file.d.ts +5 -5
- package/dist/api/file.d.ts.map +1 -1
- package/dist/api/{ai-generation-content.d.ts → generation-content.d.ts} +3 -3
- package/dist/api/generation-content.d.ts.map +1 -0
- package/dist/api/{ai-generation.d.ts → generation.d.ts} +3 -3
- package/dist/api/generation.d.ts.map +1 -0
- package/dist/api/im-message.d.ts +4 -2
- package/dist/api/im-message.d.ts.map +1 -1
- package/dist/api/{ai-image-generation.d.ts → image-generation.d.ts} +3 -3
- package/dist/api/image-generation.d.ts.map +1 -0
- package/dist/api/index.d.ts +33 -28
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/invoice.d.ts +13 -0
- package/dist/api/invoice.d.ts.map +1 -0
- package/dist/api/knowledge-base-chat.d.ts +3 -2
- package/dist/api/knowledge-base-chat.d.ts.map +1 -1
- package/dist/api/knowledge-base-file.d.ts +10 -10
- package/dist/api/knowledge-base-file.d.ts.map +1 -1
- package/dist/api/{ai-model-information.d.ts → model-information.d.ts} +6 -6
- package/dist/api/model-information.d.ts.map +1 -0
- package/dist/api/{ai-model-price.d.ts → model-price.d.ts} +3 -3
- package/dist/api/model-price.d.ts.map +1 -0
- package/dist/api/{ai-music-generation.d.ts → music-generation.d.ts} +3 -3
- package/dist/api/music-generation.d.ts.map +1 -0
- package/dist/api/{host.d.ts → net.d.ts} +3 -3
- package/dist/api/net.d.ts.map +1 -0
- package/dist/api/notes.d.ts +11 -1
- package/dist/api/notes.d.ts.map +1 -1
- package/dist/api/order.d.ts +4 -2
- package/dist/api/order.d.ts.map +1 -1
- package/dist/api/organization-member.d.ts +21 -1
- package/dist/api/organization-member.d.ts.map +1 -1
- package/dist/api/organization.d.ts +2 -0
- package/dist/api/organization.d.ts.map +1 -1
- package/dist/api/ppt-template-chat.d.ts +3 -2
- package/dist/api/ppt-template-chat.d.ts.map +1 -1
- package/dist/api/{ai-prompt.d.ts → prompt.d.ts} +3 -3
- package/dist/api/prompt.d.ts.map +1 -0
- package/dist/api/rbac-permission.d.ts +17 -0
- package/dist/api/rbac-permission.d.ts.map +1 -0
- package/dist/api/search-chat.d.ts +3 -2
- package/dist/api/search-chat.d.ts.map +1 -1
- package/dist/api/skill-package.d.ts +25 -0
- package/dist/api/skill-package.d.ts.map +1 -0
- package/dist/api/skill.d.ts +41 -0
- package/dist/api/skill.d.ts.map +1 -0
- package/dist/api/tenant.d.ts +3 -1
- package/dist/api/tenant.d.ts.map +1 -1
- package/dist/api/{ai-tool.d.ts → tool.d.ts} +3 -3
- package/dist/api/tool.d.ts.map +1 -0
- package/dist/api/{ai-usage-record.d.ts → usage-record.d.ts} +3 -3
- package/dist/api/usage-record.d.ts.map +1 -0
- package/dist/api/{ai-video-generation.d.ts → video-generation.d.ts} +3 -3
- package/dist/api/video-generation.d.ts.map +1 -0
- package/dist/api/{ai-voice-speaker-generation.d.ts → voice-speaker-generation.d.ts} +3 -3
- package/dist/api/voice-speaker-generation.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1420 -950
- package/dist/index.js.map +1 -1
- package/dist/sdk.d.ts +66 -56
- package/dist/sdk.d.ts.map +1 -1
- package/dist/types/account-exchange-rate-update-form.d.ts +8 -0
- package/dist/types/account-exchange-rate-update-form.d.ts.map +1 -0
- package/dist/types/account-exchange-rate-vo.d.ts +14 -0
- package/dist/types/account-exchange-rate-vo.d.ts.map +1 -0
- package/dist/types/agent-execution-context.d.ts +4 -4
- package/dist/types/agent-execution-context.d.ts.map +1 -1
- package/dist/types/app-config.d.ts +2 -0
- package/dist/types/app-config.d.ts.map +1 -1
- package/dist/types/app-info-vo.d.ts +8 -0
- package/dist/types/app-info-vo.d.ts.map +1 -1
- package/dist/types/app-install-config.d.ts +17 -0
- package/dist/types/app-install-config.d.ts.map +1 -0
- package/dist/types/app-install-package.d.ts +34 -0
- package/dist/types/app-install-package.d.ts.map +1 -0
- package/dist/types/app-install-skill.d.ts +8 -0
- package/dist/types/app-install-skill.d.ts.map +1 -0
- package/dist/types/app-publish-config.d.ts +7 -0
- package/dist/types/app-publish-config.d.ts.map +1 -0
- package/dist/types/app-store-listing-config.d.ts +36 -0
- package/dist/types/app-store-listing-config.d.ts.map +1 -0
- package/dist/types/booking-order-vo.d.ts +16 -0
- package/dist/types/booking-order-vo.d.ts.map +1 -0
- package/dist/types/change-password-form.d.ts +2 -2
- package/dist/types/change-password-form.d.ts.map +1 -1
- package/dist/types/chat-completion-create-form.d.ts +19 -19
- package/dist/types/chat-completion-create-form.d.ts.map +1 -1
- package/dist/types/chat-options.d.ts +3 -3
- package/dist/types/chat-options.d.ts.map +1 -1
- package/dist/types/content-stats-vo.d.ts +10 -0
- package/dist/types/content-stats-vo.d.ts.map +1 -0
- package/dist/types/content-work-vo.d.ts +24 -0
- package/dist/types/content-work-vo.d.ts.map +1 -0
- package/dist/types/coupon-points-exchange-form.d.ts +6 -0
- package/dist/types/coupon-points-exchange-form.d.ts.map +1 -0
- package/dist/types/coupon-redeem-form.d.ts +8 -0
- package/dist/types/coupon-redeem-form.d.ts.map +1 -0
- package/dist/types/coupon-rollback-form.d.ts +6 -0
- package/dist/types/coupon-rollback-form.d.ts.map +1 -0
- package/dist/types/create-booking-order-form.d.ts +9 -0
- package/dist/types/create-booking-order-form.d.ts.map +1 -0
- package/dist/types/create-chapter-form.d.ts +14 -0
- package/dist/types/create-chapter-form.d.ts.map +1 -0
- package/dist/types/create-content-form.d.ts +12 -0
- package/dist/types/create-content-form.d.ts.map +1 -0
- package/dist/types/create-goods-order-form.d.ts +7 -1
- package/dist/types/create-goods-order-form.d.ts.map +1 -1
- package/dist/types/create-im-group-order-form.d.ts +7 -1
- package/dist/types/create-im-group-order-form.d.ts.map +1 -1
- package/dist/types/create-points-order-form.d.ts +9 -1
- package/dist/types/create-points-order-form.d.ts.map +1 -1
- package/dist/types/create-vip-order-form.d.ts +7 -1
- package/dist/types/create-vip-order-form.d.ts.map +1 -1
- package/dist/types/create-virtual-order-form.d.ts +7 -1
- package/dist/types/create-virtual-order-form.d.ts.map +1 -1
- package/dist/types/current-access-token-vo.d.ts +23 -0
- package/dist/types/current-access-token-vo.d.ts.map +1 -0
- package/dist/types/email-verification-form.d.ts +2 -2
- package/dist/types/email-verification-form.d.ts.map +1 -1
- package/dist/types/file-item-vo.d.ts +13 -13
- package/dist/types/file-item-vo.d.ts.map +1 -1
- package/dist/types/file-list-vo.d.ts +3 -3
- package/dist/types/file-list-vo.d.ts.map +1 -1
- package/dist/types/file-tree-node-vo.d.ts +36 -0
- package/dist/types/file-tree-node-vo.d.ts.map +1 -0
- package/dist/types/flow.d.ts +1 -1
- package/dist/types/flow.d.ts.map +1 -1
- package/dist/types/get-all-articles-response.d.ts +3 -0
- package/dist/types/get-all-articles-response.d.ts.map +1 -0
- package/dist/types/get-all-contents-response.d.ts +3 -0
- package/dist/types/get-all-contents-response.d.ts.map +1 -0
- package/dist/types/get-all-novels-response.d.ts +3 -0
- package/dist/types/get-all-novels-response.d.ts.map +1 -0
- package/dist/types/get-all-prose-response.d.ts +3 -0
- package/dist/types/get-all-prose-response.d.ts.map +1 -0
- package/dist/types/get-all-scripts-response.d.ts +3 -0
- package/dist/types/get-all-scripts-response.d.ts.map +1 -0
- package/dist/types/get-current-access-token-form.d.ts +8 -0
- package/dist/types/get-current-access-token-form.d.ts.map +1 -0
- package/dist/types/index.d.ts +105 -7
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/mime-type.d.ts +2 -2
- package/dist/types/mime-type.d.ts.map +1 -1
- package/dist/types/oauth-login-response-vo.d.ts +18 -0
- package/dist/types/oauth-login-response-vo.d.ts.map +1 -0
- package/dist/types/order-content-item.d.ts +20 -0
- package/dist/types/order-content-item.d.ts.map +1 -0
- package/dist/types/page-content-vote-vo.d.ts +2 -2
- package/dist/types/page-content-vote-vo.d.ts.map +1 -1
- package/dist/types/page-invitation-code-vo.d.ts +2 -2
- package/dist/types/page-invitation-code-vo.d.ts.map +1 -1
- package/dist/types/page-invitation-relation-vo.d.ts +2 -2
- package/dist/types/page-invitation-relation-vo.d.ts.map +1 -1
- package/dist/types/page-plus-account-history-vo.d.ts +2 -2
- package/dist/types/page-plus-account-history-vo.d.ts.map +1 -1
- package/dist/types/page-plus-account-vo.d.ts +2 -2
- package/dist/types/page-plus-account-vo.d.ts.map +1 -1
- package/dist/types/page-plus-agent-skill-package-vo.d.ts +17 -0
- package/dist/types/page-plus-agent-skill-package-vo.d.ts.map +1 -0
- package/dist/types/page-plus-agent-skill-vo.d.ts +17 -0
- package/dist/types/page-plus-agent-skill-vo.d.ts.map +1 -0
- package/dist/types/page-plus-ai-agent-tool-vo.d.ts +2 -2
- package/dist/types/page-plus-ai-agent-tool-vo.d.ts.map +1 -1
- package/dist/types/page-plus-ai-agent-vo.d.ts +2 -2
- package/dist/types/page-plus-ai-agent-vo.d.ts.map +1 -1
- package/dist/types/page-plus-ai-generation-content-vo.d.ts +2 -2
- package/dist/types/page-plus-ai-generation-content-vo.d.ts.map +1 -1
- package/dist/types/page-plus-ai-generation-vo.d.ts +2 -2
- package/dist/types/page-plus-ai-generation-vo.d.ts.map +1 -1
- package/dist/types/page-plus-ai-model-info-vo.d.ts +2 -2
- package/dist/types/page-plus-ai-model-info-vo.d.ts.map +1 -1
- package/dist/types/page-plus-ai-model-price-vo.d.ts +2 -2
- package/dist/types/page-plus-ai-model-price-vo.d.ts.map +1 -1
- package/dist/types/page-plus-ai-prompt-vo.d.ts +2 -2
- package/dist/types/page-plus-ai-prompt-vo.d.ts.map +1 -1
- package/dist/types/page-plus-ai-tool-vo.d.ts +2 -2
- package/dist/types/page-plus-ai-tool-vo.d.ts.map +1 -1
- package/dist/types/page-plus-api-key-vo.d.ts +2 -2
- package/dist/types/page-plus-api-key-vo.d.ts.map +1 -1
- package/dist/types/page-plus-api-security-policy-vo.d.ts +17 -0
- package/dist/types/page-plus-api-security-policy-vo.d.ts.map +1 -0
- package/dist/types/page-plus-app-vo.d.ts +2 -2
- package/dist/types/page-plus-app-vo.d.ts.map +1 -1
- package/dist/types/page-plus-article-vo.d.ts +2 -2
- package/dist/types/page-plus-article-vo.d.ts.map +1 -1
- package/dist/types/page-plus-attribute-vo.d.ts +2 -2
- package/dist/types/page-plus-attribute-vo.d.ts.map +1 -1
- package/dist/types/page-plus-card-template-vo.d.ts +2 -2
- package/dist/types/page-plus-card-template-vo.d.ts.map +1 -1
- package/dist/types/page-plus-card-vo.d.ts +2 -2
- package/dist/types/page-plus-card-vo.d.ts.map +1 -1
- package/dist/types/page-plus-category-vo.d.ts +2 -2
- package/dist/types/page-plus-category-vo.d.ts.map +1 -1
- package/dist/types/page-plus-channel-account-vo.d.ts +2 -2
- package/dist/types/page-plus-channel-account-vo.d.ts.map +1 -1
- package/dist/types/page-plus-channel-proxy-vo.d.ts +17 -0
- package/dist/types/page-plus-channel-proxy-vo.d.ts.map +1 -0
- package/dist/types/page-plus-channel-resource-vo.d.ts +2 -2
- package/dist/types/page-plus-channel-resource-vo.d.ts.map +1 -1
- package/dist/types/page-plus-channel-vo.d.ts +17 -0
- package/dist/types/page-plus-channel-vo.d.ts.map +1 -0
- package/dist/types/page-plus-character-vo.d.ts +2 -2
- package/dist/types/page-plus-character-vo.d.ts.map +1 -1
- package/dist/types/page-plus-chat-message-content-vo.d.ts +2 -2
- package/dist/types/page-plus-chat-message-content-vo.d.ts.map +1 -1
- package/dist/types/page-plus-chat-message-vo.d.ts +2 -2
- package/dist/types/page-plus-chat-message-vo.d.ts.map +1 -1
- package/dist/types/page-plus-collection-item-vo.d.ts +2 -2
- package/dist/types/page-plus-collection-item-vo.d.ts.map +1 -1
- package/dist/types/page-plus-collection-vo.d.ts +2 -2
- package/dist/types/page-plus-collection-vo.d.ts.map +1 -1
- package/dist/types/page-plus-column-vo.d.ts +2 -2
- package/dist/types/page-plus-column-vo.d.ts.map +1 -1
- package/dist/types/page-plus-comments-vo.d.ts +2 -2
- package/dist/types/page-plus-comments-vo.d.ts.map +1 -1
- package/dist/types/page-plus-conversation-vo.d.ts +2 -2
- package/dist/types/page-plus-conversation-vo.d.ts.map +1 -1
- package/dist/types/page-plus-coupon-template-vo.d.ts +2 -2
- package/dist/types/page-plus-coupon-template-vo.d.ts.map +1 -1
- package/dist/types/page-plus-coupon-vo.d.ts +2 -2
- package/dist/types/page-plus-coupon-vo.d.ts.map +1 -1
- package/dist/types/page-plus-datasource-vo.d.ts +2 -2
- package/dist/types/page-plus-datasource-vo.d.ts.map +1 -1
- package/dist/types/page-plus-department-vo.d.ts +2 -2
- package/dist/types/page-plus-department-vo.d.ts.map +1 -1
- package/dist/types/page-plus-detail-vo.d.ts +2 -2
- package/dist/types/page-plus-detail-vo.d.ts.map +1 -1
- package/dist/types/page-plus-disk-member-vo.d.ts +2 -2
- package/dist/types/page-plus-disk-member-vo.d.ts.map +1 -1
- package/dist/types/page-plus-disk-vo.d.ts +2 -2
- package/dist/types/page-plus-disk-vo.d.ts.map +1 -1
- package/dist/types/page-plus-dns-record-vo.d.ts +2 -2
- package/dist/types/page-plus-dns-record-vo.d.ts.map +1 -1
- package/dist/types/page-plus-favorite-vo.d.ts +2 -2
- package/dist/types/page-plus-favorite-vo.d.ts.map +1 -1
- package/dist/types/page-plus-feedback-vo.d.ts +2 -2
- package/dist/types/page-plus-feedback-vo.d.ts.map +1 -1
- package/dist/types/page-plus-feeds-vo.d.ts +2 -2
- package/dist/types/page-plus-feeds-vo.d.ts.map +1 -1
- package/dist/types/page-plus-file-content-vo.d.ts +2 -2
- package/dist/types/page-plus-file-content-vo.d.ts.map +1 -1
- package/dist/types/page-plus-file-part-vo.d.ts +2 -2
- package/dist/types/page-plus-file-part-vo.d.ts.map +1 -1
- package/dist/types/page-plus-file-vo.d.ts +2 -2
- package/dist/types/page-plus-file-vo.d.ts.map +1 -1
- package/dist/types/page-plus-host-domain-vo.d.ts +2 -2
- package/dist/types/page-plus-host-domain-vo.d.ts.map +1 -1
- package/dist/types/page-plus-im-group-vo.d.ts +2 -2
- package/dist/types/page-plus-im-group-vo.d.ts.map +1 -1
- package/dist/types/page-plus-image-vo.d.ts +2 -2
- package/dist/types/page-plus-image-vo.d.ts.map +1 -1
- package/dist/types/page-plus-invoke-record-vo.d.ts +2 -2
- package/dist/types/page-plus-invoke-record-vo.d.ts.map +1 -1
- package/dist/types/page-plus-knowledge-base-vo.d.ts +2 -2
- package/dist/types/page-plus-knowledge-base-vo.d.ts.map +1 -1
- package/dist/types/page-plus-media-publish-record-dto.d.ts +17 -0
- package/dist/types/page-plus-media-publish-record-dto.d.ts.map +1 -0
- package/dist/types/page-plus-member-card-vo.d.ts +2 -2
- package/dist/types/page-plus-member-card-vo.d.ts.map +1 -1
- package/dist/types/page-plus-member-level-vo.d.ts +2 -2
- package/dist/types/page-plus-member-level-vo.d.ts.map +1 -1
- package/dist/types/page-plus-member-relations-vo.d.ts +2 -2
- package/dist/types/page-plus-member-relations-vo.d.ts.map +1 -1
- package/dist/types/page-plus-message.d.ts +2 -2
- package/dist/types/page-plus-message.d.ts.map +1 -1
- package/dist/types/page-plus-music-vo.d.ts +2 -2
- package/dist/types/page-plus-music-vo.d.ts.map +1 -1
- package/dist/types/page-plus-news-vo.d.ts +2 -2
- package/dist/types/page-plus-news-vo.d.ts.map +1 -1
- package/dist/types/page-plus-notes-vo.d.ts +2 -2
- package/dist/types/page-plus-notes-vo.d.ts.map +1 -1
- package/dist/types/page-plus-notification-vo.d.ts +2 -2
- package/dist/types/page-plus-notification-vo.d.ts.map +1 -1
- package/dist/types/page-plus-order-item-vo.d.ts +2 -2
- package/dist/types/page-plus-order-item-vo.d.ts.map +1 -1
- package/dist/types/page-plus-order-vo.d.ts +2 -2
- package/dist/types/page-plus-order-vo.d.ts.map +1 -1
- package/dist/types/page-plus-organization-member-vo.d.ts +2 -2
- package/dist/types/page-plus-organization-member-vo.d.ts.map +1 -1
- package/dist/types/page-plus-organization-vo.d.ts +2 -2
- package/dist/types/page-plus-organization-vo.d.ts.map +1 -1
- package/dist/types/page-plus-oss-bucket-vo.d.ts +2 -2
- package/dist/types/page-plus-oss-bucket-vo.d.ts.map +1 -1
- package/dist/types/page-plus-participant-vo.d.ts +2 -2
- package/dist/types/page-plus-participant-vo.d.ts.map +1 -1
- package/dist/types/page-plus-partner-vo.d.ts +2 -2
- package/dist/types/page-plus-partner-vo.d.ts.map +1 -1
- package/dist/types/page-plus-payment-vo.d.ts +2 -2
- package/dist/types/page-plus-payment-vo.d.ts.map +1 -1
- package/dist/types/page-plus-permission-vo.d.ts +17 -0
- package/dist/types/page-plus-permission-vo.d.ts.map +1 -0
- package/dist/types/page-plus-position-vo.d.ts +2 -2
- package/dist/types/page-plus-position-vo.d.ts.map +1 -1
- package/dist/types/page-plus-ppt-template-slide-vo.d.ts +2 -2
- package/dist/types/page-plus-ppt-template-slide-vo.d.ts.map +1 -1
- package/dist/types/page-plus-ppt-template-vo.d.ts +2 -2
- package/dist/types/page-plus-ppt-template-vo.d.ts.map +1 -1
- package/dist/types/page-plus-product-vo.d.ts +2 -2
- package/dist/types/page-plus-product-vo.d.ts.map +1 -1
- package/dist/types/page-plus-project-vo.d.ts +2 -2
- package/dist/types/page-plus-project-vo.d.ts.map +1 -1
- package/dist/types/page-plus-refund-vo.d.ts +2 -2
- package/dist/types/page-plus-refund-vo.d.ts.map +1 -1
- package/dist/types/page-plus-role-permission-vo.d.ts +2 -2
- package/dist/types/page-plus-role-permission-vo.d.ts.map +1 -1
- package/dist/types/page-plus-role-vo.d.ts +2 -2
- package/dist/types/page-plus-role-vo.d.ts.map +1 -1
- package/dist/types/page-plus-schema-vo.d.ts +2 -2
- package/dist/types/page-plus-schema-vo.d.ts.map +1 -1
- package/dist/types/page-plus-sharding-key-vo.d.ts +2 -2
- package/dist/types/page-plus-sharding-key-vo.d.ts.map +1 -1
- package/dist/types/page-plus-share-visit-record-vo.d.ts +2 -2
- package/dist/types/page-plus-share-visit-record-vo.d.ts.map +1 -1
- package/dist/types/page-plus-share-vo.d.ts +2 -2
- package/dist/types/page-plus-share-vo.d.ts.map +1 -1
- package/dist/types/page-plus-shop-vo.d.ts +2 -2
- package/dist/types/page-plus-shop-vo.d.ts.map +1 -1
- package/dist/types/page-plus-shopping-cart-item-vo.d.ts +2 -2
- package/dist/types/page-plus-shopping-cart-item-vo.d.ts.map +1 -1
- package/dist/types/page-plus-shopping-cart-vo.d.ts +2 -2
- package/dist/types/page-plus-shopping-cart-vo.d.ts.map +1 -1
- package/dist/types/page-plus-sku-vo.d.ts +2 -2
- package/dist/types/page-plus-sku-vo.d.ts.map +1 -1
- package/dist/types/page-plus-system-invoice-vo.d.ts +17 -0
- package/dist/types/page-plus-system-invoice-vo.d.ts.map +1 -0
- package/dist/types/page-plus-table-vo.d.ts +2 -2
- package/dist/types/page-plus-table-vo.d.ts.map +1 -1
- package/dist/types/page-plus-tenant-audit-log-vo.d.ts +17 -0
- package/dist/types/page-plus-tenant-audit-log-vo.d.ts.map +1 -0
- package/dist/types/page-plus-tenant-vo.d.ts +2 -2
- package/dist/types/page-plus-tenant-vo.d.ts.map +1 -1
- package/dist/types/page-plus-user-address-vo.d.ts +2 -2
- package/dist/types/page-plus-user-address-vo.d.ts.map +1 -1
- package/dist/types/page-plus-user-card-vo.d.ts +2 -2
- package/dist/types/page-plus-user-card-vo.d.ts.map +1 -1
- package/dist/types/page-plus-user-coupon-vo.d.ts +2 -2
- package/dist/types/page-plus-user-coupon-vo.d.ts.map +1 -1
- package/dist/types/page-plus-user-oauth-account-vo.d.ts +2 -2
- package/dist/types/page-plus-user-oauth-account-vo.d.ts.map +1 -1
- package/dist/types/page-plus-user-role-vo.d.ts +2 -2
- package/dist/types/page-plus-user-role-vo.d.ts.map +1 -1
- package/dist/types/page-plus-user-vo.d.ts +2 -2
- package/dist/types/page-plus-user-vo.d.ts.map +1 -1
- package/dist/types/page-plus-video-vo.d.ts +2 -2
- package/dist/types/page-plus-video-vo.d.ts.map +1 -1
- package/dist/types/page-plus-vip-benefit-usage-vo.d.ts +2 -2
- package/dist/types/page-plus-vip-benefit-usage-vo.d.ts.map +1 -1
- package/dist/types/page-plus-vip-benefit-vo.d.ts +2 -2
- package/dist/types/page-plus-vip-benefit-vo.d.ts.map +1 -1
- package/dist/types/page-plus-vip-level-benefit-vo.d.ts +2 -2
- package/dist/types/page-plus-vip-level-benefit-vo.d.ts.map +1 -1
- package/dist/types/page-plus-vip-level-vo.d.ts +2 -2
- package/dist/types/page-plus-vip-level-vo.d.ts.map +1 -1
- package/dist/types/page-plus-vip-pack-group-vo.d.ts +2 -2
- package/dist/types/page-plus-vip-pack-group-vo.d.ts.map +1 -1
- package/dist/types/page-plus-vip-pack-vo.d.ts +2 -2
- package/dist/types/page-plus-vip-pack-vo.d.ts.map +1 -1
- package/dist/types/page-plus-vip-point-change-vo.d.ts +2 -2
- package/dist/types/page-plus-vip-point-change-vo.d.ts.map +1 -1
- package/dist/types/page-plus-vip-recharge-pack-vo.d.ts +2 -2
- package/dist/types/page-plus-vip-recharge-pack-vo.d.ts.map +1 -1
- package/dist/types/page-plus-vip-recharge-vo.d.ts +2 -2
- package/dist/types/page-plus-vip-recharge-vo.d.ts.map +1 -1
- package/dist/types/page-plus-vip-user-vo.d.ts +2 -2
- package/dist/types/page-plus-vip-user-vo.d.ts.map +1 -1
- package/dist/types/page-plus-visit-history-vo.d.ts +2 -2
- package/dist/types/page-plus-visit-history-vo.d.ts.map +1 -1
- package/dist/types/page-plus-voice-speaker-vo.d.ts +2 -2
- package/dist/types/page-plus-voice-speaker-vo.d.ts.map +1 -1
- package/dist/types/page-plus-workspace-vo.d.ts +2 -2
- package/dist/types/page-plus-workspace-vo.d.ts.map +1 -1
- package/dist/types/page-short-url-vo.d.ts +2 -2
- package/dist/types/page-short-url-vo.d.ts.map +1 -1
- package/dist/types/page-usage-record-vo.d.ts +2 -2
- package/dist/types/page-usage-record-vo.d.ts.map +1 -1
- package/dist/types/pageable-object.d.ts +1 -1
- package/dist/types/pageable-object.d.ts.map +1 -1
- package/dist/types/phone-verification-form.d.ts +2 -2
- package/dist/types/phone-verification-form.d.ts.map +1 -1
- package/dist/types/plus-agent-skill-batch-review-form.d.ts +8 -0
- package/dist/types/plus-agent-skill-batch-review-form.d.ts.map +1 -0
- package/dist/types/plus-agent-skill-feature-form.d.ts +8 -0
- package/dist/types/plus-agent-skill-feature-form.d.ts.map +1 -0
- package/dist/types/plus-agent-skill-form.d.ts +58 -0
- package/dist/types/plus-agent-skill-form.d.ts.map +1 -0
- package/dist/types/plus-agent-skill-package-form.d.ts +28 -0
- package/dist/types/plus-agent-skill-package-form.d.ts.map +1 -0
- package/dist/types/plus-agent-skill-package-query-list-form.d.ts +17 -0
- package/dist/types/plus-agent-skill-package-query-list-form.d.ts.map +1 -0
- package/dist/types/plus-agent-skill-package-vo.d.ts +46 -0
- package/dist/types/plus-agent-skill-package-vo.d.ts.map +1 -0
- package/dist/types/plus-agent-skill-query-list-form.d.ts +29 -0
- package/dist/types/plus-agent-skill-query-list-form.d.ts.map +1 -0
- package/dist/types/plus-agent-skill-review-form.d.ts +6 -0
- package/dist/types/plus-agent-skill-review-form.d.ts.map +1 -0
- package/dist/types/plus-agent-skill-vo.d.ts +98 -0
- package/dist/types/plus-agent-skill-vo.d.ts.map +1 -0
- package/dist/types/plus-agent.d.ts +12 -12
- package/dist/types/plus-agent.d.ts.map +1 -1
- package/dist/types/plus-ai-model-info-query-list-form.d.ts +19 -0
- package/dist/types/plus-ai-model-info-query-list-form.d.ts.map +1 -0
- package/dist/types/plus-api-key-self-create-form.d.ts +12 -0
- package/dist/types/plus-api-key-self-create-form.d.ts.map +1 -0
- package/dist/types/plus-api-key-self-update-form.d.ts +12 -0
- package/dist/types/plus-api-key-self-update-form.d.ts.map +1 -0
- package/dist/types/plus-api-key-vo.d.ts +2 -0
- package/dist/types/plus-api-key-vo.d.ts.map +1 -1
- package/dist/types/plus-api-result-account-exchange-rate-vo.d.ts +19 -0
- package/dist/types/plus-api-result-account-exchange-rate-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-booking-order-vo.d.ts +19 -0
- package/dist/types/plus-api-result-booking-order-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-current-access-token-vo.d.ts +19 -0
- package/dist/types/plus-api-result-current-access-token-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-long.d.ts +18 -0
- package/dist/types/plus-api-result-list-long.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-plus-agent-skill-package-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-plus-agent-skill-package-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-plus-agent-skill-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-plus-agent-skill-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-plus-api-security-policy-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-plus-api-security-policy-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-plus-channel-proxy-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-plus-channel-proxy-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-plus-channel-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-plus-channel-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-plus-permission-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-plus-permission-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-oauth-login-response-vo.d.ts +19 -0
- package/dist/types/plus-api-result-oauth-login-response-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-page-plus-agent-skill-package-vo.d.ts +19 -0
- package/dist/types/plus-api-result-page-plus-agent-skill-package-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-page-plus-agent-skill-vo.d.ts +19 -0
- package/dist/types/plus-api-result-page-plus-agent-skill-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-page-plus-api-security-policy-vo.d.ts +19 -0
- package/dist/types/plus-api-result-page-plus-api-security-policy-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-page-plus-channel-proxy-vo.d.ts +19 -0
- package/dist/types/plus-api-result-page-plus-channel-proxy-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-page-plus-channel-vo.d.ts +19 -0
- package/dist/types/plus-api-result-page-plus-channel-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-page-plus-media-publish-record-dto.d.ts +19 -0
- package/dist/types/plus-api-result-page-plus-media-publish-record-dto.d.ts.map +1 -0
- package/dist/types/plus-api-result-page-plus-permission-vo.d.ts +19 -0
- package/dist/types/plus-api-result-page-plus-permission-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-page-plus-system-invoice-vo.d.ts +19 -0
- package/dist/types/plus-api-result-page-plus-system-invoice-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-page-plus-tenant-audit-log-vo.d.ts +19 -0
- package/dist/types/plus-api-result-page-plus-tenant-audit-log-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-plus-agent-skill-package-vo.d.ts +19 -0
- package/dist/types/plus-api-result-plus-agent-skill-package-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-plus-agent-skill-vo.d.ts +19 -0
- package/dist/types/plus-api-result-plus-agent-skill-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-plus-api-security-policy-vo.d.ts +19 -0
- package/dist/types/plus-api-result-plus-api-security-policy-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-plus-channel-proxy-vo.d.ts +19 -0
- package/dist/types/plus-api-result-plus-channel-proxy-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-plus-channel-vo.d.ts +19 -0
- package/dist/types/plus-api-result-plus-channel-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-plus-media-publish-result-dto.d.ts +19 -0
- package/dist/types/plus-api-result-plus-media-publish-result-dto.d.ts.map +1 -0
- package/dist/types/plus-api-result-plus-permission-vo.d.ts +19 -0
- package/dist/types/plus-api-result-plus-permission-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-plus-system-invoice-vo.d.ts +19 -0
- package/dist/types/plus-api-result-plus-system-invoice-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-qr-code-status-vo.d.ts +19 -0
- package/dist/types/plus-api-result-qr-code-status-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-qr-code-vo.d.ts +19 -0
- package/dist/types/plus-api-result-qr-code-vo.d.ts.map +1 -0
- package/dist/types/plus-api-security-policy-form.d.ts +28 -0
- package/dist/types/plus-api-security-policy-form.d.ts.map +1 -0
- package/dist/types/plus-api-security-policy-vo.d.ts +20 -0
- package/dist/types/plus-api-security-policy-vo.d.ts.map +1 -0
- package/dist/types/plus-app-form.d.ts +8 -0
- package/dist/types/plus-app-form.d.ts.map +1 -1
- package/dist/types/plus-app-vo.d.ts +8 -0
- package/dist/types/plus-app-vo.d.ts.map +1 -1
- package/dist/types/plus-channel-form.d.ts +16 -0
- package/dist/types/plus-channel-form.d.ts.map +1 -0
- package/dist/types/plus-channel-proxy-form.d.ts +16 -0
- package/dist/types/plus-channel-proxy-form.d.ts.map +1 -0
- package/dist/types/plus-channel-proxy-vo.d.ts +26 -0
- package/dist/types/plus-channel-proxy-vo.d.ts.map +1 -0
- package/dist/types/plus-channel-vo.d.ts +26 -0
- package/dist/types/plus-channel-vo.d.ts.map +1 -0
- package/dist/types/plus-coupon-form.d.ts +9 -1
- package/dist/types/plus-coupon-form.d.ts.map +1 -1
- package/dist/types/plus-coupon-template-form.d.ts +2 -2
- package/dist/types/plus-coupon-template-form.d.ts.map +1 -1
- package/dist/types/plus-coupon-template-vo.d.ts +2 -2
- package/dist/types/plus-coupon-template-vo.d.ts.map +1 -1
- package/dist/types/plus-coupon-vo.d.ts +9 -1
- package/dist/types/plus-coupon-vo.d.ts.map +1 -1
- package/dist/types/plus-dns-record-vo.d.ts +1 -1
- package/dist/types/plus-dns-record-vo.d.ts.map +1 -1
- package/dist/types/plus-im-message-mark-read-form.d.ts +6 -0
- package/dist/types/plus-im-message-mark-read-form.d.ts.map +1 -0
- package/dist/types/plus-im-message-query-form.d.ts +17 -0
- package/dist/types/plus-im-message-query-form.d.ts.map +1 -0
- package/dist/types/plus-media-publish-item-result-dto.d.ts +14 -0
- package/dist/types/plus-media-publish-item-result-dto.d.ts.map +1 -0
- package/dist/types/plus-media-publish-record-dto.d.ts +26 -0
- package/dist/types/plus-media-publish-record-dto.d.ts.map +1 -0
- package/dist/types/plus-media-publish-result-dto.d.ts +15 -0
- package/dist/types/plus-media-publish-result-dto.d.ts.map +1 -0
- package/dist/types/plus-notes-form.d.ts +2 -0
- package/dist/types/plus-notes-form.d.ts.map +1 -1
- package/dist/types/plus-notes-media-draft-form.d.ts +13 -0
- package/dist/types/plus-notes-media-draft-form.d.ts.map +1 -0
- package/dist/types/plus-notes-media-preview-form.d.ts +12 -0
- package/dist/types/plus-notes-media-preview-form.d.ts.map +1 -0
- package/dist/types/plus-notes-media-publish-draft-form.d.ts +12 -0
- package/dist/types/plus-notes-media-publish-draft-form.d.ts.map +1 -0
- package/dist/types/plus-notes-publish-article-form.d.ts +26 -0
- package/dist/types/plus-notes-publish-article-form.d.ts.map +1 -0
- package/dist/types/plus-order-form.d.ts +1 -1
- package/dist/types/plus-order-form.d.ts.map +1 -1
- package/dist/types/plus-order-vo.d.ts +1 -1
- package/dist/types/plus-order-vo.d.ts.map +1 -1
- package/dist/types/plus-permission-form.d.ts +18 -0
- package/dist/types/plus-permission-form.d.ts.map +1 -0
- package/dist/types/plus-permission-vo.d.ts +26 -0
- package/dist/types/plus-permission-vo.d.ts.map +1 -0
- package/dist/types/plus-project-object.d.ts +6 -6
- package/dist/types/plus-project-object.d.ts.map +1 -1
- package/dist/types/plus-system-invoice-apply-form.d.ts +18 -0
- package/dist/types/plus-system-invoice-apply-form.d.ts.map +1 -0
- package/dist/types/plus-system-invoice-vo.d.ts +30 -0
- package/dist/types/plus-system-invoice-vo.d.ts.map +1 -0
- package/dist/types/plus-temp-session-vo.d.ts +21 -1
- package/dist/types/plus-temp-session-vo.d.ts.map +1 -1
- package/dist/types/plus-tenant-audit-log-vo.d.ts +26 -0
- package/dist/types/plus-tenant-audit-log-vo.d.ts.map +1 -0
- package/dist/types/plus-tree-node-plus-category-vo.d.ts +1 -1
- package/dist/types/plus-tree-node-plus-category-vo.d.ts.map +1 -1
- package/dist/types/plus-tree-node-plus-file-vo.d.ts +1 -1
- package/dist/types/plus-tree-node-plus-file-vo.d.ts.map +1 -1
- package/dist/types/plus-upload-form.d.ts +13 -1
- package/dist/types/plus-upload-form.d.ts.map +1 -1
- package/dist/types/plus-user-coupon-form.d.ts +10 -0
- package/dist/types/plus-user-coupon-form.d.ts.map +1 -1
- package/dist/types/plus-user-coupon-vo.d.ts +10 -0
- package/dist/types/plus-user-coupon-vo.d.ts.map +1 -1
- package/dist/types/plus-vip-point-change-form.d.ts +1 -1
- package/dist/types/plus-vip-point-change-form.d.ts.map +1 -1
- package/dist/types/plus-vip-point-change-vo.d.ts +1 -1
- package/dist/types/plus-vip-point-change-vo.d.ts.map +1 -1
- package/dist/types/plus-workspace-form.d.ts +1 -1
- package/dist/types/plus-workspace-form.d.ts.map +1 -1
- package/dist/types/plus-workspace-vo.d.ts +1 -1
- package/dist/types/plus-workspace-vo.d.ts.map +1 -1
- package/dist/types/prompt.d.ts +2 -2
- package/dist/types/prompt.d.ts.map +1 -1
- package/dist/types/qr-code-confirm-form.d.ts +8 -0
- package/dist/types/qr-code-confirm-form.d.ts.map +1 -0
- package/dist/types/qr-code-status-vo.d.ts +16 -0
- package/dist/types/qr-code-status-vo.d.ts.map +1 -0
- package/dist/types/qr-code-vo.d.ts +16 -0
- package/dist/types/qr-code-vo.d.ts.map +1 -0
- package/dist/types/send-verification-code-form.d.ts +3 -3
- package/dist/types/send-verification-code-form.d.ts.map +1 -1
- package/dist/types/upload-file-request.d.ts +1 -1
- package/dist/types/upload-file-request.d.ts.map +1 -1
- package/dist/types/voice-speaker-generation-input.d.ts +1 -1
- package/dist/types/voice-speaker-generation-input.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/api/ai-agent-chat.d.ts +0 -16
- package/dist/api/ai-agent-chat.d.ts.map +0 -1
- package/dist/api/ai-agent-tool-relationship.d.ts.map +0 -1
- package/dist/api/ai-agent.d.ts.map +0 -1
- package/dist/api/ai-article.d.ts.map +0 -1
- package/dist/api/ai-audio-effect-generation.d.ts.map +0 -1
- package/dist/api/ai-audio-generation.d.ts.map +0 -1
- package/dist/api/ai-category.d.ts.map +0 -1
- package/dist/api/ai-character-generation.d.ts.map +0 -1
- package/dist/api/ai-chat.d.ts +0 -12
- package/dist/api/ai-chat.d.ts.map +0 -1
- package/dist/api/ai-conversation.d.ts.map +0 -1
- package/dist/api/ai-generation-content.d.ts.map +0 -1
- package/dist/api/ai-generation.d.ts.map +0 -1
- package/dist/api/ai-image-generation.d.ts.map +0 -1
- package/dist/api/ai-model-information.d.ts.map +0 -1
- package/dist/api/ai-model-price.d.ts.map +0 -1
- package/dist/api/ai-music-generation.d.ts.map +0 -1
- package/dist/api/ai-prompt.d.ts.map +0 -1
- package/dist/api/ai-tool.d.ts.map +0 -1
- package/dist/api/ai-usage-record.d.ts.map +0 -1
- package/dist/api/ai-video-generation.d.ts.map +0 -1
- package/dist/api/ai-voice-speaker-generation.d.ts.map +0 -1
- package/dist/api/application.d.ts +0 -21
- package/dist/api/application.d.ts.map +0 -1
- package/dist/api/authentication.d.ts +0 -24
- package/dist/api/authentication.d.ts.map +0 -1
- package/dist/api/authorization.d.ts +0 -16
- package/dist/api/authorization.d.ts.map +0 -1
- package/dist/api/host.d.ts.map +0 -1
- package/dist/api/oauth-authentication.d.ts +0 -14
- package/dist/api/oauth-authentication.d.ts.map +0 -1
- package/dist/api/verification.d.ts +0 -14
- package/dist/api/verification.d.ts.map +0 -1
- package/dist/types/oauth-login-response.d.ts +0 -7
- package/dist/types/oauth-login-response.d.ts.map +0 -1
- package/dist/types/token-dto.d.ts +0 -9
- package/dist/types/token-dto.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseHttpClient as o, withRetry as u } from "@sdkwork/sdk-common";
|
|
2
|
-
import { DEFAULT_TIMEOUT as
|
|
2
|
+
import { DEFAULT_TIMEOUT as rs, DefaultAuthTokenManager as cs, SUCCESS_CODES as ls, createTokenManager as as } from "@sdkwork/sdk-common";
|
|
3
3
|
const r = class r extends o {
|
|
4
4
|
constructor(t) {
|
|
5
5
|
super(t);
|
|
@@ -13,71 +13,71 @@ const r = class r extends o {
|
|
|
13
13
|
return t.config = t.config || {}, t.config.headers = t.config.headers || {}, t.config.headers;
|
|
14
14
|
}
|
|
15
15
|
setApiKey(t) {
|
|
16
|
-
const
|
|
17
|
-
if (
|
|
18
|
-
|
|
16
|
+
const i = this.getInternalAuthConfig(), s = this.getInternalHeaders();
|
|
17
|
+
if (i.apiKey = t, i.tokenManager?.clearTokens?.(), r.API_KEY_HEADER === "Authorization" && r.API_KEY_USE_BEARER) {
|
|
18
|
+
i.authMode = "apikey", delete s["Access-Token"];
|
|
19
19
|
return;
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
i.authMode = "dual-token", s[r.API_KEY_HEADER] = r.API_KEY_USE_BEARER ? `Bearer ${t}` : t, r.API_KEY_HEADER.toLowerCase() !== "authorization" && delete s.Authorization, r.API_KEY_HEADER.toLowerCase() !== "access-token" && delete s["Access-Token"];
|
|
22
22
|
}
|
|
23
23
|
setAuthToken(t) {
|
|
24
|
-
const
|
|
25
|
-
r.API_KEY_HEADER.toLowerCase() !== "authorization" && delete
|
|
24
|
+
const i = this.getInternalHeaders();
|
|
25
|
+
r.API_KEY_HEADER.toLowerCase() !== "authorization" && delete i[r.API_KEY_HEADER], super.setAuthToken(t);
|
|
26
26
|
}
|
|
27
27
|
setAccessToken(t) {
|
|
28
|
-
const
|
|
29
|
-
r.API_KEY_HEADER.toLowerCase() !== "access-token" && delete
|
|
28
|
+
const i = this.getInternalHeaders();
|
|
29
|
+
r.API_KEY_HEADER.toLowerCase() !== "access-token" && delete i[r.API_KEY_HEADER], super.setAccessToken(t);
|
|
30
30
|
}
|
|
31
31
|
setTokenManager(t) {
|
|
32
|
-
const
|
|
33
|
-
if (typeof
|
|
34
|
-
|
|
32
|
+
const i = Object.getPrototypeOf(r.prototype);
|
|
33
|
+
if (typeof i.setTokenManager == "function") {
|
|
34
|
+
i.setTokenManager.call(this, t);
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
37
|
this.getInternalAuthConfig().tokenManager = t;
|
|
38
38
|
}
|
|
39
|
-
async request(t,
|
|
39
|
+
async request(t, i = {}) {
|
|
40
40
|
const s = this.execute;
|
|
41
41
|
if (typeof s != "function")
|
|
42
42
|
throw new Error("BaseHttpClient execute method is not available");
|
|
43
43
|
return u(
|
|
44
44
|
() => s.call(this, {
|
|
45
45
|
url: t,
|
|
46
|
-
method:
|
|
47
|
-
...
|
|
46
|
+
method: i.method ?? "GET",
|
|
47
|
+
...i
|
|
48
48
|
}),
|
|
49
49
|
{ maxRetries: 3 }
|
|
50
50
|
);
|
|
51
51
|
}
|
|
52
|
-
async get(t,
|
|
53
|
-
return this.request(t, { method: "GET", params:
|
|
52
|
+
async get(t, i, s) {
|
|
53
|
+
return this.request(t, { method: "GET", params: i, headers: s });
|
|
54
54
|
}
|
|
55
|
-
async post(t,
|
|
56
|
-
return this.request(t, { method: "POST", body:
|
|
55
|
+
async post(t, i, s, c) {
|
|
56
|
+
return this.request(t, { method: "POST", body: i, params: s, headers: c });
|
|
57
57
|
}
|
|
58
|
-
async put(t,
|
|
59
|
-
return this.request(t, { method: "PUT", body:
|
|
58
|
+
async put(t, i, s, c) {
|
|
59
|
+
return this.request(t, { method: "PUT", body: i, params: s, headers: c });
|
|
60
60
|
}
|
|
61
|
-
async delete(t,
|
|
62
|
-
return this.request(t, { method: "DELETE", params:
|
|
61
|
+
async delete(t, i, s) {
|
|
62
|
+
return this.request(t, { method: "DELETE", params: i, headers: s });
|
|
63
63
|
}
|
|
64
|
-
async patch(t,
|
|
65
|
-
return this.request(t, { method: "PATCH", body:
|
|
64
|
+
async patch(t, i, s, c) {
|
|
65
|
+
return this.request(t, { method: "PATCH", body: i, params: s, headers: c });
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
r.API_KEY_HEADER = "Authorization", r.API_KEY_USE_BEARER = !0;
|
|
69
69
|
let l = r;
|
|
70
|
-
function h(
|
|
71
|
-
return new l(
|
|
70
|
+
function h(n) {
|
|
71
|
+
return new l(n);
|
|
72
72
|
}
|
|
73
73
|
const a = "/backend/v3/api";
|
|
74
|
-
function e(
|
|
75
|
-
if (!
|
|
74
|
+
function e(n) {
|
|
75
|
+
if (!n)
|
|
76
76
|
return a;
|
|
77
|
-
if (/^https?:\/\//i.test(
|
|
78
|
-
return
|
|
79
|
-
const t = a.trim(),
|
|
80
|
-
return !
|
|
77
|
+
if (/^https?:\/\//i.test(n))
|
|
78
|
+
return n;
|
|
79
|
+
const t = a.trim(), i = t ? `/${t.replace(/^\/+|\/+$/g, "")}` : "", s = n.startsWith("/") ? n : `/${n}`;
|
|
80
|
+
return !i || i === "/" || s === i || s.startsWith(`${i}/`) ? s : `${i}${s}`;
|
|
81
81
|
}
|
|
82
82
|
class p {
|
|
83
83
|
constructor(t) {
|
|
@@ -92,8 +92,8 @@ class p {
|
|
|
92
92
|
return this.client.post(e("/workspace"), t);
|
|
93
93
|
}
|
|
94
94
|
/** Get workspaces by page */
|
|
95
|
-
async listByPage(t,
|
|
96
|
-
return this.client.post(e("/workspace/list"), t,
|
|
95
|
+
async listByPage(t, i) {
|
|
96
|
+
return this.client.post(e("/workspace/list"), t, i);
|
|
97
97
|
}
|
|
98
98
|
/** Get all workspaces */
|
|
99
99
|
async listAllEntities(t) {
|
|
@@ -108,8 +108,8 @@ class p {
|
|
|
108
108
|
return this.client.delete(e(`/workspace/${t}`));
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
function y(
|
|
112
|
-
return new p(
|
|
111
|
+
function y(n) {
|
|
112
|
+
return new p(n);
|
|
113
113
|
}
|
|
114
114
|
class d {
|
|
115
115
|
constructor(t) {
|
|
@@ -124,8 +124,8 @@ class d {
|
|
|
124
124
|
return this.client.post(e("/vote"), t);
|
|
125
125
|
}
|
|
126
126
|
/** Get content votes by page */
|
|
127
|
-
async listByPage(t,
|
|
128
|
-
return this.client.post(e("/vote/list"), t,
|
|
127
|
+
async listByPage(t, i) {
|
|
128
|
+
return this.client.post(e("/vote/list"), t, i);
|
|
129
129
|
}
|
|
130
130
|
/** Get all content votes */
|
|
131
131
|
async listAllEntities(t) {
|
|
@@ -140,8 +140,8 @@ class d {
|
|
|
140
140
|
return this.client.delete(e(`/vote/${t}`));
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
function g(
|
|
144
|
-
return new d(
|
|
143
|
+
function g(n) {
|
|
144
|
+
return new d(n);
|
|
145
145
|
}
|
|
146
146
|
class A {
|
|
147
147
|
constructor(t) {
|
|
@@ -156,12 +156,12 @@ class A {
|
|
|
156
156
|
return this.client.post(e("/voice/speaker"), t);
|
|
157
157
|
}
|
|
158
158
|
/** Get voice speakers by page */
|
|
159
|
-
async listPublic(t,
|
|
160
|
-
return this.client.post(e("/voice/speaker/list_public"), t,
|
|
159
|
+
async listPublic(t, i) {
|
|
160
|
+
return this.client.post(e("/voice/speaker/list_public"), t, i);
|
|
161
161
|
}
|
|
162
162
|
/** Get voice speakers by page */
|
|
163
|
-
async listByPage(t,
|
|
164
|
-
return this.client.post(e("/voice/speaker/list"), t,
|
|
163
|
+
async listByPage(t, i) {
|
|
164
|
+
return this.client.post(e("/voice/speaker/list"), t, i);
|
|
165
165
|
}
|
|
166
166
|
/** Get all voice speakers */
|
|
167
167
|
async listAllEntities(t) {
|
|
@@ -176,8 +176,8 @@ class A {
|
|
|
176
176
|
return this.client.delete(e(`/voice/speaker/${t}`));
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
function m(
|
|
180
|
-
return new A(
|
|
179
|
+
function m(n) {
|
|
180
|
+
return new A(n);
|
|
181
181
|
}
|
|
182
182
|
class f {
|
|
183
183
|
constructor(t) {
|
|
@@ -192,8 +192,8 @@ class f {
|
|
|
192
192
|
return this.client.post(e("/visit_history"), t);
|
|
193
193
|
}
|
|
194
194
|
/** List Visit Histories by Page */
|
|
195
|
-
async listByPage(t,
|
|
196
|
-
return this.client.post(e("/visit_history/list"), t,
|
|
195
|
+
async listByPage(t, i) {
|
|
196
|
+
return this.client.post(e("/visit_history/list"), t, i);
|
|
197
197
|
}
|
|
198
198
|
/** List All Visit Histories */
|
|
199
199
|
async listAllEntities(t) {
|
|
@@ -208,10 +208,10 @@ class f {
|
|
|
208
208
|
return this.client.delete(e(`/visit_history/${t}`));
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
function $(
|
|
212
|
-
return new f(
|
|
211
|
+
function $(n) {
|
|
212
|
+
return new f(n);
|
|
213
213
|
}
|
|
214
|
-
class
|
|
214
|
+
class C {
|
|
215
215
|
constructor(t) {
|
|
216
216
|
this.client = t;
|
|
217
217
|
}
|
|
@@ -224,8 +224,8 @@ class B {
|
|
|
224
224
|
return this.client.post(e("/vip/user"), t);
|
|
225
225
|
}
|
|
226
226
|
/** Get VIP users by page */
|
|
227
|
-
async listByPage(t,
|
|
228
|
-
return this.client.post(e("/vip/user/list"), t,
|
|
227
|
+
async listByPage(t, i) {
|
|
228
|
+
return this.client.post(e("/vip/user/list"), t, i);
|
|
229
229
|
}
|
|
230
230
|
/** Get all VIP users */
|
|
231
231
|
async listAllEntities(t) {
|
|
@@ -244,8 +244,8 @@ class B {
|
|
|
244
244
|
return this.client.delete(e(`/vip/user/${t}`));
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
function
|
|
248
|
-
return new
|
|
247
|
+
function B(n) {
|
|
248
|
+
return new C(n);
|
|
249
249
|
}
|
|
250
250
|
class v {
|
|
251
251
|
constructor(t) {
|
|
@@ -260,8 +260,8 @@ class v {
|
|
|
260
260
|
return this.client.post(e("/vip/recharge"), t);
|
|
261
261
|
}
|
|
262
262
|
/** Get VIP recharge records by page */
|
|
263
|
-
async listByPage(t,
|
|
264
|
-
return this.client.post(e("/vip/recharge/list"), t,
|
|
263
|
+
async listByPage(t, i) {
|
|
264
|
+
return this.client.post(e("/vip/recharge/list"), t, i);
|
|
265
265
|
}
|
|
266
266
|
/** Get all VIP recharge records */
|
|
267
267
|
async listAllEntities(t) {
|
|
@@ -276,10 +276,10 @@ class v {
|
|
|
276
276
|
return this.client.delete(e(`/vip/recharge/${t}`));
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
function
|
|
280
|
-
return new v(
|
|
279
|
+
function k(n) {
|
|
280
|
+
return new v(n);
|
|
281
281
|
}
|
|
282
|
-
class
|
|
282
|
+
class P {
|
|
283
283
|
constructor(t) {
|
|
284
284
|
this.client = t;
|
|
285
285
|
}
|
|
@@ -292,8 +292,8 @@ class k {
|
|
|
292
292
|
return this.client.post(e("/vip/recharge/pack"), t);
|
|
293
293
|
}
|
|
294
294
|
/** Get VIP recharge packages by page */
|
|
295
|
-
async listByPage(t,
|
|
296
|
-
return this.client.post(e("/vip/recharge/pack/list"), t,
|
|
295
|
+
async listByPage(t, i) {
|
|
296
|
+
return this.client.post(e("/vip/recharge/pack/list"), t, i);
|
|
297
297
|
}
|
|
298
298
|
/** Get all VIP recharge packages */
|
|
299
299
|
async listAllEntities(t) {
|
|
@@ -308,10 +308,10 @@ class k {
|
|
|
308
308
|
return this.client.delete(e(`/vip/recharge/pack/${t}`));
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
function w(
|
|
312
|
-
return new
|
|
311
|
+
function w(n) {
|
|
312
|
+
return new P(n);
|
|
313
313
|
}
|
|
314
|
-
class
|
|
314
|
+
class b {
|
|
315
315
|
constructor(t) {
|
|
316
316
|
this.client = t;
|
|
317
317
|
}
|
|
@@ -324,8 +324,8 @@ class E {
|
|
|
324
324
|
return this.client.post(e("/vip/point/change"), t);
|
|
325
325
|
}
|
|
326
326
|
/** Get VIP point change records by page */
|
|
327
|
-
async listByPage(t,
|
|
328
|
-
return this.client.post(e("/vip/point/change/list"), t,
|
|
327
|
+
async listByPage(t, i) {
|
|
328
|
+
return this.client.post(e("/vip/point/change/list"), t, i);
|
|
329
329
|
}
|
|
330
330
|
/** Get all VIP point change records */
|
|
331
331
|
async listAllEntities(t) {
|
|
@@ -340,10 +340,10 @@ class E {
|
|
|
340
340
|
return this.client.delete(e(`/vip/point/change/${t}`));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
return new
|
|
343
|
+
function E(n) {
|
|
344
|
+
return new b(n);
|
|
345
345
|
}
|
|
346
|
-
class
|
|
346
|
+
class I {
|
|
347
347
|
constructor(t) {
|
|
348
348
|
this.client = t;
|
|
349
349
|
}
|
|
@@ -356,12 +356,12 @@ class b {
|
|
|
356
356
|
return this.client.post(e("/vip/pack_group"), t);
|
|
357
357
|
}
|
|
358
358
|
/** List public */
|
|
359
|
-
async listPublic(t,
|
|
360
|
-
return this.client.post(e("/vip/pack_group/list_public"), t,
|
|
359
|
+
async listPublic(t, i) {
|
|
360
|
+
return this.client.post(e("/vip/pack_group/list_public"), t, i);
|
|
361
361
|
}
|
|
362
362
|
/** Get VIP package groups by page */
|
|
363
|
-
async listByPage(t,
|
|
364
|
-
return this.client.post(e("/vip/pack_group/list"), t,
|
|
363
|
+
async listByPage(t, i) {
|
|
364
|
+
return this.client.post(e("/vip/pack_group/list"), t, i);
|
|
365
365
|
}
|
|
366
366
|
/** Get all VIP package groups */
|
|
367
367
|
async listAllEntities(t) {
|
|
@@ -376,8 +376,8 @@ class b {
|
|
|
376
376
|
return this.client.delete(e(`/vip/pack_group/${t}`));
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
|
-
function _(
|
|
380
|
-
return new
|
|
379
|
+
function _(n) {
|
|
380
|
+
return new I(n);
|
|
381
381
|
}
|
|
382
382
|
class R {
|
|
383
383
|
constructor(t) {
|
|
@@ -392,8 +392,8 @@ class R {
|
|
|
392
392
|
return this.client.post(e("/vip/pack"), t);
|
|
393
393
|
}
|
|
394
394
|
/** Get VIP Packages by Page */
|
|
395
|
-
async listByPage(t,
|
|
396
|
-
return this.client.post(e("/vip/pack/list"), t,
|
|
395
|
+
async listByPage(t, i) {
|
|
396
|
+
return this.client.post(e("/vip/pack/list"), t, i);
|
|
397
397
|
}
|
|
398
398
|
/** Get All VIP Packages */
|
|
399
399
|
async listAllEntities(t) {
|
|
@@ -408,10 +408,10 @@ class R {
|
|
|
408
408
|
return this.client.delete(e(`/vip/pack/${t}`));
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
function T(
|
|
412
|
-
return new R(
|
|
411
|
+
function T(n) {
|
|
412
|
+
return new R(n);
|
|
413
413
|
}
|
|
414
|
-
class
|
|
414
|
+
class M {
|
|
415
415
|
constructor(t) {
|
|
416
416
|
this.client = t;
|
|
417
417
|
}
|
|
@@ -424,8 +424,8 @@ class z {
|
|
|
424
424
|
return this.client.post(e("/vip/level"), t);
|
|
425
425
|
}
|
|
426
426
|
/** Get VIP levels by page */
|
|
427
|
-
async listByPage(t,
|
|
428
|
-
return this.client.post(e("/vip/level/list"), t,
|
|
427
|
+
async listByPage(t, i) {
|
|
428
|
+
return this.client.post(e("/vip/level/list"), t, i);
|
|
429
429
|
}
|
|
430
430
|
/** Get all VIP levels */
|
|
431
431
|
async listAllEntities(t) {
|
|
@@ -440,8 +440,8 @@ class z {
|
|
|
440
440
|
return this.client.delete(e(`/vip/level/${t}`));
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
function
|
|
444
|
-
return new
|
|
443
|
+
function z(n) {
|
|
444
|
+
return new M(n);
|
|
445
445
|
}
|
|
446
446
|
class S {
|
|
447
447
|
constructor(t) {
|
|
@@ -456,8 +456,8 @@ class S {
|
|
|
456
456
|
return this.client.post(e("/vip/level/benefit"), t);
|
|
457
457
|
}
|
|
458
458
|
/** Get VIP level benefits by page */
|
|
459
|
-
async listByPage(t,
|
|
460
|
-
return this.client.post(e("/vip/level/benefit/list"), t,
|
|
459
|
+
async listByPage(t, i) {
|
|
460
|
+
return this.client.post(e("/vip/level/benefit/list"), t, i);
|
|
461
461
|
}
|
|
462
462
|
/** Get all VIP level benefits */
|
|
463
463
|
async listAllEntities(t) {
|
|
@@ -472,8 +472,8 @@ class S {
|
|
|
472
472
|
return this.client.delete(e(`/vip/level/benefit/${t}`));
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
function
|
|
476
|
-
return new S(
|
|
475
|
+
function D(n) {
|
|
476
|
+
return new S(n);
|
|
477
477
|
}
|
|
478
478
|
class U {
|
|
479
479
|
constructor(t) {
|
|
@@ -488,8 +488,8 @@ class U {
|
|
|
488
488
|
return this.client.post(e("/vip/benefit"), t);
|
|
489
489
|
}
|
|
490
490
|
/** Get VIP benefits by page */
|
|
491
|
-
async listByPage(t,
|
|
492
|
-
return this.client.post(e("/vip/benefit/list"), t,
|
|
491
|
+
async listByPage(t, i) {
|
|
492
|
+
return this.client.post(e("/vip/benefit/list"), t, i);
|
|
493
493
|
}
|
|
494
494
|
/** Get all VIP benefits */
|
|
495
495
|
async listAllEntities(t) {
|
|
@@ -504,10 +504,10 @@ class U {
|
|
|
504
504
|
return this.client.delete(e(`/vip/benefit/${t}`));
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
function
|
|
508
|
-
return new U(
|
|
507
|
+
function F(n) {
|
|
508
|
+
return new U(n);
|
|
509
509
|
}
|
|
510
|
-
class
|
|
510
|
+
class V {
|
|
511
511
|
constructor(t) {
|
|
512
512
|
this.client = t;
|
|
513
513
|
}
|
|
@@ -520,8 +520,8 @@ class F {
|
|
|
520
520
|
return this.client.post(e("/vip/benefit/usage"), t);
|
|
521
521
|
}
|
|
522
522
|
/** Get VIP benefit usage records by page */
|
|
523
|
-
async listByPage(t,
|
|
524
|
-
return this.client.post(e("/vip/benefit/usage/list"), t,
|
|
523
|
+
async listByPage(t, i) {
|
|
524
|
+
return this.client.post(e("/vip/benefit/usage/list"), t, i);
|
|
525
525
|
}
|
|
526
526
|
/** Get all VIP benefit usage records */
|
|
527
527
|
async listAllEntities(t) {
|
|
@@ -536,10 +536,10 @@ class F {
|
|
|
536
536
|
return this.client.delete(e(`/vip/benefit/usage/${t}`));
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
function
|
|
540
|
-
return new
|
|
539
|
+
function G(n) {
|
|
540
|
+
return new V(n);
|
|
541
541
|
}
|
|
542
|
-
class
|
|
542
|
+
class x {
|
|
543
543
|
constructor(t) {
|
|
544
544
|
this.client = t;
|
|
545
545
|
}
|
|
@@ -552,8 +552,8 @@ class K {
|
|
|
552
552
|
return this.client.post(e("/video"), t);
|
|
553
553
|
}
|
|
554
554
|
/** Get videos by page */
|
|
555
|
-
async listByPage(t,
|
|
556
|
-
return this.client.post(e("/video/list"), t,
|
|
555
|
+
async listByPage(t, i) {
|
|
556
|
+
return this.client.post(e("/video/list"), t, i);
|
|
557
557
|
}
|
|
558
558
|
/** Get all videos */
|
|
559
559
|
async listAllEntities(t) {
|
|
@@ -568,10 +568,10 @@ class K {
|
|
|
568
568
|
return this.client.delete(e(`/video/${t}`));
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
function
|
|
572
|
-
return new
|
|
571
|
+
function K(n) {
|
|
572
|
+
return new x(n);
|
|
573
573
|
}
|
|
574
|
-
class
|
|
574
|
+
class H {
|
|
575
575
|
constructor(t) {
|
|
576
576
|
this.client = t;
|
|
577
577
|
}
|
|
@@ -584,8 +584,8 @@ class O {
|
|
|
584
584
|
return this.client.post(e("/user"), t);
|
|
585
585
|
}
|
|
586
586
|
/** Get users by page */
|
|
587
|
-
async listByPage(t,
|
|
588
|
-
return this.client.post(e("/user/list"), t,
|
|
587
|
+
async listByPage(t, i) {
|
|
588
|
+
return this.client.post(e("/user/list"), t, i);
|
|
589
589
|
}
|
|
590
590
|
/** Get all users */
|
|
591
591
|
async listAllEntities(t) {
|
|
@@ -604,10 +604,10 @@ class O {
|
|
|
604
604
|
return this.client.get(e("/user/profile"));
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
|
-
function L(
|
|
608
|
-
return new
|
|
607
|
+
function L(n) {
|
|
608
|
+
return new H(n);
|
|
609
609
|
}
|
|
610
|
-
class
|
|
610
|
+
class O {
|
|
611
611
|
constructor(t) {
|
|
612
612
|
this.client = t;
|
|
613
613
|
}
|
|
@@ -620,8 +620,8 @@ class Y {
|
|
|
620
620
|
return this.client.post(e("/user/oauth/account"), t);
|
|
621
621
|
}
|
|
622
622
|
/** Get user OAuth accounts by page */
|
|
623
|
-
async listByPage(t,
|
|
624
|
-
return this.client.post(e("/user/oauth/account/list"), t,
|
|
623
|
+
async listByPage(t, i) {
|
|
624
|
+
return this.client.post(e("/user/oauth/account/list"), t, i);
|
|
625
625
|
}
|
|
626
626
|
/** Get all user OAuth accounts */
|
|
627
627
|
async listAllEntities(t) {
|
|
@@ -636,10 +636,10 @@ class Y {
|
|
|
636
636
|
return this.client.delete(e(`/user/oauth/account/${t}`));
|
|
637
637
|
}
|
|
638
638
|
}
|
|
639
|
-
function
|
|
640
|
-
return new
|
|
639
|
+
function j(n) {
|
|
640
|
+
return new O(n);
|
|
641
641
|
}
|
|
642
|
-
class
|
|
642
|
+
class Y {
|
|
643
643
|
constructor(t) {
|
|
644
644
|
this.client = t;
|
|
645
645
|
}
|
|
@@ -652,8 +652,8 @@ class j {
|
|
|
652
652
|
return this.client.post(e("/user/coupon"), t);
|
|
653
653
|
}
|
|
654
654
|
/** Get user coupons by page */
|
|
655
|
-
async listByPage(t,
|
|
656
|
-
return this.client.post(e("/user/coupon/list"), t,
|
|
655
|
+
async listByPage(t, i) {
|
|
656
|
+
return this.client.post(e("/user/coupon/list"), t, i);
|
|
657
657
|
}
|
|
658
658
|
/** Get all user coupons */
|
|
659
659
|
async listAllEntities(t) {
|
|
@@ -668,8 +668,8 @@ class j {
|
|
|
668
668
|
return this.client.delete(e(`/user/coupon/${t}`));
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
|
-
function q(
|
|
672
|
-
return new
|
|
671
|
+
function q(n) {
|
|
672
|
+
return new Y(n);
|
|
673
673
|
}
|
|
674
674
|
class N {
|
|
675
675
|
constructor(t) {
|
|
@@ -684,8 +684,8 @@ class N {
|
|
|
684
684
|
return this.client.post(e("/user/card"), t);
|
|
685
685
|
}
|
|
686
686
|
/** Get user-card bindings by page */
|
|
687
|
-
async listByPage(t,
|
|
688
|
-
return this.client.post(e("/user/card/list"), t,
|
|
687
|
+
async listByPage(t, i) {
|
|
688
|
+
return this.client.post(e("/user/card/list"), t, i);
|
|
689
689
|
}
|
|
690
690
|
/** Get all user-card bindings */
|
|
691
691
|
async listAllEntities(t) {
|
|
@@ -700,10 +700,10 @@ class N {
|
|
|
700
700
|
return this.client.delete(e(`/user/card/${t}`));
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
|
-
function W(
|
|
704
|
-
return new N(
|
|
703
|
+
function W(n) {
|
|
704
|
+
return new N(n);
|
|
705
705
|
}
|
|
706
|
-
class
|
|
706
|
+
class Q {
|
|
707
707
|
constructor(t) {
|
|
708
708
|
this.client = t;
|
|
709
709
|
}
|
|
@@ -716,8 +716,8 @@ class X {
|
|
|
716
716
|
return this.client.post(e("/user/address"), t);
|
|
717
717
|
}
|
|
718
718
|
/** Get addresses by page */
|
|
719
|
-
async listByPage(t,
|
|
720
|
-
return this.client.post(e("/user/address/list"), t,
|
|
719
|
+
async listByPage(t, i) {
|
|
720
|
+
return this.client.post(e("/user/address/list"), t, i);
|
|
721
721
|
}
|
|
722
722
|
/** Get all user addresses */
|
|
723
723
|
async listAllEntities(t) {
|
|
@@ -732,10 +732,10 @@ class X {
|
|
|
732
732
|
return this.client.delete(e(`/user/address/${t}`));
|
|
733
733
|
}
|
|
734
734
|
}
|
|
735
|
-
function
|
|
736
|
-
return new
|
|
735
|
+
function X(n) {
|
|
736
|
+
return new Q(n);
|
|
737
737
|
}
|
|
738
|
-
class
|
|
738
|
+
class J {
|
|
739
739
|
constructor(t) {
|
|
740
740
|
this.client = t;
|
|
741
741
|
}
|
|
@@ -748,8 +748,8 @@ class Q {
|
|
|
748
748
|
return this.client.post(e("/usage/record"), t);
|
|
749
749
|
}
|
|
750
750
|
/** Get usage records by page */
|
|
751
|
-
async listByPage(t,
|
|
752
|
-
return this.client.post(e("/usage/record/list"), t,
|
|
751
|
+
async listByPage(t, i) {
|
|
752
|
+
return this.client.post(e("/usage/record/list"), t, i);
|
|
753
753
|
}
|
|
754
754
|
/** Get all usage records */
|
|
755
755
|
async listAllEntities(t) {
|
|
@@ -764,8 +764,8 @@ class Q {
|
|
|
764
764
|
return this.client.delete(e(`/usage/record/${t}`));
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
|
-
function Z(
|
|
768
|
-
return new
|
|
767
|
+
function Z(n) {
|
|
768
|
+
return new J(n);
|
|
769
769
|
}
|
|
770
770
|
class tt {
|
|
771
771
|
constructor(t) {
|
|
@@ -780,8 +780,8 @@ class tt {
|
|
|
780
780
|
return this.client.post(e("/trade/shopping/cart"), t);
|
|
781
781
|
}
|
|
782
782
|
/** Get shopping carts by page */
|
|
783
|
-
async listByPage(t,
|
|
784
|
-
return this.client.post(e("/trade/shopping/cart/list"), t,
|
|
783
|
+
async listByPage(t, i) {
|
|
784
|
+
return this.client.post(e("/trade/shopping/cart/list"), t, i);
|
|
785
785
|
}
|
|
786
786
|
/** Get all shopping carts */
|
|
787
787
|
async listAllEntities(t) {
|
|
@@ -796,10 +796,10 @@ class tt {
|
|
|
796
796
|
return this.client.delete(e(`/trade/shopping/cart/${t}`));
|
|
797
797
|
}
|
|
798
798
|
}
|
|
799
|
-
function et(
|
|
800
|
-
return new tt(
|
|
799
|
+
function et(n) {
|
|
800
|
+
return new tt(n);
|
|
801
801
|
}
|
|
802
|
-
class
|
|
802
|
+
class nt {
|
|
803
803
|
constructor(t) {
|
|
804
804
|
this.client = t;
|
|
805
805
|
}
|
|
@@ -812,8 +812,8 @@ class it {
|
|
|
812
812
|
return this.client.post(e("/trade/shopping/cart/item"), t);
|
|
813
813
|
}
|
|
814
814
|
/** Get shopping cart items by page */
|
|
815
|
-
async listByPage(t,
|
|
816
|
-
return this.client.post(e("/trade/shopping/cart/item/list"), t,
|
|
815
|
+
async listByPage(t, i) {
|
|
816
|
+
return this.client.post(e("/trade/shopping/cart/item/list"), t, i);
|
|
817
817
|
}
|
|
818
818
|
/** Get all shopping cart items */
|
|
819
819
|
async listAllEntities(t) {
|
|
@@ -828,8 +828,8 @@ class it {
|
|
|
828
828
|
return this.client.delete(e(`/trade/shopping/cart/item/${t}`));
|
|
829
829
|
}
|
|
830
830
|
}
|
|
831
|
-
function
|
|
832
|
-
return new
|
|
831
|
+
function it(n) {
|
|
832
|
+
return new nt(n);
|
|
833
833
|
}
|
|
834
834
|
class st {
|
|
835
835
|
constructor(t) {
|
|
@@ -844,8 +844,8 @@ class st {
|
|
|
844
844
|
return this.client.post(e("/trade/refund"), t);
|
|
845
845
|
}
|
|
846
846
|
/** Get refund records by page */
|
|
847
|
-
async listByPage(t,
|
|
848
|
-
return this.client.post(e("/trade/refund/list"), t,
|
|
847
|
+
async listByPage(t, i) {
|
|
848
|
+
return this.client.post(e("/trade/refund/list"), t, i);
|
|
849
849
|
}
|
|
850
850
|
/** Get all refund records */
|
|
851
851
|
async listAllEntities(t) {
|
|
@@ -860,8 +860,8 @@ class st {
|
|
|
860
860
|
return this.client.delete(e(`/trade/refund/${t}`));
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
|
-
function rt(
|
|
864
|
-
return new st(
|
|
863
|
+
function rt(n) {
|
|
864
|
+
return new st(n);
|
|
865
865
|
}
|
|
866
866
|
class ct {
|
|
867
867
|
constructor(t) {
|
|
@@ -884,8 +884,8 @@ class ct {
|
|
|
884
884
|
return this.client.post(e("/trade/payment/refund"), t);
|
|
885
885
|
}
|
|
886
886
|
/** Get payment records by page */
|
|
887
|
-
async listByPage(t,
|
|
888
|
-
return this.client.post(e("/trade/payment/list"), t,
|
|
887
|
+
async listByPage(t, i) {
|
|
888
|
+
return this.client.post(e("/trade/payment/list"), t, i);
|
|
889
889
|
}
|
|
890
890
|
/** Get all payment records */
|
|
891
891
|
async listAllEntities(t) {
|
|
@@ -904,8 +904,8 @@ class ct {
|
|
|
904
904
|
return this.client.delete(e(`/trade/payment/${t}`));
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
|
-
function lt(
|
|
908
|
-
return new ct(
|
|
907
|
+
function lt(n) {
|
|
908
|
+
return new ct(n);
|
|
909
909
|
}
|
|
910
910
|
class at {
|
|
911
911
|
constructor(t) {
|
|
@@ -920,8 +920,8 @@ class at {
|
|
|
920
920
|
return this.client.post(e("/trade/order"), t);
|
|
921
921
|
}
|
|
922
922
|
/** Ship an order */
|
|
923
|
-
async ship(t,
|
|
924
|
-
return this.client.post(e(`/trade/order/${t}/ship`),
|
|
923
|
+
async ship(t, i) {
|
|
924
|
+
return this.client.post(e(`/trade/order/${t}/ship`), i);
|
|
925
925
|
}
|
|
926
926
|
/** Confirm an order */
|
|
927
927
|
async confirm(t) {
|
|
@@ -952,8 +952,8 @@ class at {
|
|
|
952
952
|
return this.client.post(e("/trade/order/points"), t);
|
|
953
953
|
}
|
|
954
954
|
/** Get orders by page */
|
|
955
|
-
async listByPage(t,
|
|
956
|
-
return this.client.post(e("/trade/order/list"), t,
|
|
955
|
+
async listByPage(t, i) {
|
|
956
|
+
return this.client.post(e("/trade/order/list"), t, i);
|
|
957
957
|
}
|
|
958
958
|
/** Get all orders */
|
|
959
959
|
async listAllEntities(t) {
|
|
@@ -967,6 +967,10 @@ class at {
|
|
|
967
967
|
async createGoods(t) {
|
|
968
968
|
return this.client.post(e("/trade/order/goods"), t);
|
|
969
969
|
}
|
|
970
|
+
/** Create booking order */
|
|
971
|
+
async createBooking(t) {
|
|
972
|
+
return this.client.post(e("/trade/order/booking"), t);
|
|
973
|
+
}
|
|
970
974
|
/** Get an order by ID */
|
|
971
975
|
async getById(t) {
|
|
972
976
|
return this.client.get(e(`/trade/order/${t}`));
|
|
@@ -976,8 +980,8 @@ class at {
|
|
|
976
980
|
return this.client.delete(e(`/trade/order/${t}`));
|
|
977
981
|
}
|
|
978
982
|
}
|
|
979
|
-
function ot(
|
|
980
|
-
return new at(
|
|
983
|
+
function ot(n) {
|
|
984
|
+
return new at(n);
|
|
981
985
|
}
|
|
982
986
|
class ut {
|
|
983
987
|
constructor(t) {
|
|
@@ -992,8 +996,8 @@ class ut {
|
|
|
992
996
|
return this.client.post(e("/trade/order/item"), t);
|
|
993
997
|
}
|
|
994
998
|
/** Get order items by page */
|
|
995
|
-
async listByPage(t,
|
|
996
|
-
return this.client.post(e("/trade/order/item/list"), t,
|
|
999
|
+
async listByPage(t, i) {
|
|
1000
|
+
return this.client.post(e("/trade/order/item/list"), t, i);
|
|
997
1001
|
}
|
|
998
1002
|
/** Get all order items */
|
|
999
1003
|
async listAllEntities(t) {
|
|
@@ -1008,8 +1012,8 @@ class ut {
|
|
|
1008
1012
|
return this.client.delete(e(`/trade/order/item/${t}`));
|
|
1009
1013
|
}
|
|
1010
1014
|
}
|
|
1011
|
-
function ht(
|
|
1012
|
-
return new ut(
|
|
1015
|
+
function ht(n) {
|
|
1016
|
+
return new ut(n);
|
|
1013
1017
|
}
|
|
1014
1018
|
class pt {
|
|
1015
1019
|
constructor(t) {
|
|
@@ -1024,8 +1028,8 @@ class pt {
|
|
|
1024
1028
|
return this.client.post(e("/tool"), t);
|
|
1025
1029
|
}
|
|
1026
1030
|
/** Get AI tools by page */
|
|
1027
|
-
async listByPage(t,
|
|
1028
|
-
return this.client.post(e("/tool/list"), t,
|
|
1031
|
+
async listByPage(t, i) {
|
|
1032
|
+
return this.client.post(e("/tool/list"), t, i);
|
|
1029
1033
|
}
|
|
1030
1034
|
/** Get all AI tools */
|
|
1031
1035
|
async listAllEntities(t) {
|
|
@@ -1040,8 +1044,8 @@ class pt {
|
|
|
1040
1044
|
return this.client.delete(e(`/tool/${t}`));
|
|
1041
1045
|
}
|
|
1042
1046
|
}
|
|
1043
|
-
function yt(
|
|
1044
|
-
return new pt(
|
|
1047
|
+
function yt(n) {
|
|
1048
|
+
return new pt(n);
|
|
1045
1049
|
}
|
|
1046
1050
|
class dt {
|
|
1047
1051
|
constructor(t) {
|
|
@@ -1056,16 +1060,20 @@ class dt {
|
|
|
1056
1060
|
return this.client.post(e("/tenant"), t);
|
|
1057
1061
|
}
|
|
1058
1062
|
/** Uninstall app from tenant */
|
|
1059
|
-
async uninstall(t,
|
|
1060
|
-
return this.client.post(e(`/tenant/${t}/uninstall`),
|
|
1063
|
+
async uninstall(t, i) {
|
|
1064
|
+
return this.client.post(e(`/tenant/${t}/uninstall`), i);
|
|
1061
1065
|
}
|
|
1062
1066
|
/** Install app for tenant */
|
|
1063
|
-
async install(t,
|
|
1064
|
-
return this.client.post(e(`/tenant/${t}/install`),
|
|
1067
|
+
async install(t, i) {
|
|
1068
|
+
return this.client.post(e(`/tenant/${t}/install`), i);
|
|
1069
|
+
}
|
|
1070
|
+
/** Get tenant audit logs by page */
|
|
1071
|
+
async listAuditLogs(t, i) {
|
|
1072
|
+
return this.client.post(e(`/tenant/${t}/audit_logs/list`), void 0, i);
|
|
1065
1073
|
}
|
|
1066
1074
|
/** Get tenants by page */
|
|
1067
|
-
async listByPage(t,
|
|
1068
|
-
return this.client.post(e("/tenant/list"), t,
|
|
1075
|
+
async listByPage(t, i) {
|
|
1076
|
+
return this.client.post(e("/tenant/list"), t, i);
|
|
1069
1077
|
}
|
|
1070
1078
|
/** Get all tenants */
|
|
1071
1079
|
async listAllEntities(t) {
|
|
@@ -1084,8 +1092,8 @@ class dt {
|
|
|
1084
1092
|
return this.client.delete(e(`/tenant/${t}`));
|
|
1085
1093
|
}
|
|
1086
1094
|
}
|
|
1087
|
-
function gt(
|
|
1088
|
-
return new dt(
|
|
1095
|
+
function gt(n) {
|
|
1096
|
+
return new dt(n);
|
|
1089
1097
|
}
|
|
1090
1098
|
class At {
|
|
1091
1099
|
constructor(t) {
|
|
@@ -1100,8 +1108,8 @@ class At {
|
|
|
1100
1108
|
return this.client.post(e("/table"), t);
|
|
1101
1109
|
}
|
|
1102
1110
|
/** Get database tables by page */
|
|
1103
|
-
async listByPage(t,
|
|
1104
|
-
return this.client.post(e("/table/list"), t,
|
|
1111
|
+
async listByPage(t, i) {
|
|
1112
|
+
return this.client.post(e("/table/list"), t, i);
|
|
1105
1113
|
}
|
|
1106
1114
|
/** Get all database tables */
|
|
1107
1115
|
async listAllEntities(t) {
|
|
@@ -1116,8 +1124,8 @@ class At {
|
|
|
1116
1124
|
return this.client.delete(e(`/table/${t}`));
|
|
1117
1125
|
}
|
|
1118
1126
|
}
|
|
1119
|
-
function mt(
|
|
1120
|
-
return new At(
|
|
1127
|
+
function mt(n) {
|
|
1128
|
+
return new At(n);
|
|
1121
1129
|
}
|
|
1122
1130
|
class ft {
|
|
1123
1131
|
constructor(t) {
|
|
@@ -1132,8 +1140,8 @@ class ft {
|
|
|
1132
1140
|
return this.client.post(e("/sku"), t);
|
|
1133
1141
|
}
|
|
1134
1142
|
/** Get SKUs by page */
|
|
1135
|
-
async listByPage(t,
|
|
1136
|
-
return this.client.post(e("/sku/list"), t,
|
|
1143
|
+
async listByPage(t, i) {
|
|
1144
|
+
return this.client.post(e("/sku/list"), t, i);
|
|
1137
1145
|
}
|
|
1138
1146
|
/** Get all SKUs */
|
|
1139
1147
|
async listAllEntities(t) {
|
|
@@ -1148,10 +1156,122 @@ class ft {
|
|
|
1148
1156
|
return this.client.delete(e(`/sku/${t}`));
|
|
1149
1157
|
}
|
|
1150
1158
|
}
|
|
1151
|
-
function $t(
|
|
1152
|
-
return new ft(
|
|
1159
|
+
function $t(n) {
|
|
1160
|
+
return new ft(n);
|
|
1153
1161
|
}
|
|
1154
|
-
class
|
|
1162
|
+
class Ct {
|
|
1163
|
+
constructor(t) {
|
|
1164
|
+
this.client = t;
|
|
1165
|
+
}
|
|
1166
|
+
/** Get one skill detail */
|
|
1167
|
+
async getById(t) {
|
|
1168
|
+
return this.client.get(e(`/skill/${t}`));
|
|
1169
|
+
}
|
|
1170
|
+
/** Update skill */
|
|
1171
|
+
async update(t, i) {
|
|
1172
|
+
return this.client.put(e(`/skill/${t}`), i);
|
|
1173
|
+
}
|
|
1174
|
+
/** Create skill */
|
|
1175
|
+
async create(t) {
|
|
1176
|
+
return this.client.post(e("/skill"), t);
|
|
1177
|
+
}
|
|
1178
|
+
/** Submit skill for review */
|
|
1179
|
+
async submitForReview(t) {
|
|
1180
|
+
return this.client.post(e(`/skill/${t}/review/submit`));
|
|
1181
|
+
}
|
|
1182
|
+
/** Reject skill review */
|
|
1183
|
+
async rejectReview(t, i) {
|
|
1184
|
+
return this.client.post(e(`/skill/${t}/review/reject`), i);
|
|
1185
|
+
}
|
|
1186
|
+
/** Approve skill review */
|
|
1187
|
+
async approveReview(t, i) {
|
|
1188
|
+
return this.client.post(e(`/skill/${t}/review/approve`), i);
|
|
1189
|
+
}
|
|
1190
|
+
/** Publish skill */
|
|
1191
|
+
async publish(t) {
|
|
1192
|
+
return this.client.post(e(`/skill/${t}/publish`));
|
|
1193
|
+
}
|
|
1194
|
+
/** Offline skill */
|
|
1195
|
+
async offline(t) {
|
|
1196
|
+
return this.client.post(e(`/skill/${t}/offline`));
|
|
1197
|
+
}
|
|
1198
|
+
/** Update skill featured status */
|
|
1199
|
+
async updateFeature(t, i) {
|
|
1200
|
+
return this.client.post(e(`/skill/${t}/feature`), i);
|
|
1201
|
+
}
|
|
1202
|
+
/** Enable skill */
|
|
1203
|
+
async enable(t) {
|
|
1204
|
+
return this.client.post(e(`/skill/${t}/enable`));
|
|
1205
|
+
}
|
|
1206
|
+
/** Disable skill */
|
|
1207
|
+
async disable(t) {
|
|
1208
|
+
return this.client.post(e(`/skill/${t}/disable`));
|
|
1209
|
+
}
|
|
1210
|
+
/** List pending review skills by page */
|
|
1211
|
+
async listPendingReviewByPage(t, i) {
|
|
1212
|
+
return this.client.post(e("/skill/review/pending/list"), t, i);
|
|
1213
|
+
}
|
|
1214
|
+
/** Batch reject skill review */
|
|
1215
|
+
async batchRejectReview(t) {
|
|
1216
|
+
return this.client.post(e("/skill/review/batch/reject"), t);
|
|
1217
|
+
}
|
|
1218
|
+
/** Batch approve skill review */
|
|
1219
|
+
async batchApproveReview(t) {
|
|
1220
|
+
return this.client.post(e("/skill/review/batch/approve"), t);
|
|
1221
|
+
}
|
|
1222
|
+
/** Query skill list by page */
|
|
1223
|
+
async listByPage(t, i) {
|
|
1224
|
+
return this.client.post(e("/skill/list"), t, i);
|
|
1225
|
+
}
|
|
1226
|
+
/** Query all skills */
|
|
1227
|
+
async listAll(t) {
|
|
1228
|
+
return this.client.post(e("/skill/list/all"), t);
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
function Bt(n) {
|
|
1232
|
+
return new Ct(n);
|
|
1233
|
+
}
|
|
1234
|
+
class vt {
|
|
1235
|
+
constructor(t) {
|
|
1236
|
+
this.client = t;
|
|
1237
|
+
}
|
|
1238
|
+
/** Get skill package detail */
|
|
1239
|
+
async getById(t) {
|
|
1240
|
+
return this.client.get(e(`/skill/package/${t}`));
|
|
1241
|
+
}
|
|
1242
|
+
/** Update skill package */
|
|
1243
|
+
async update(t, i) {
|
|
1244
|
+
return this.client.put(e(`/skill/package/${t}`), i);
|
|
1245
|
+
}
|
|
1246
|
+
/** Delete skill package */
|
|
1247
|
+
async delete(t) {
|
|
1248
|
+
return this.client.delete(e(`/skill/package/${t}`));
|
|
1249
|
+
}
|
|
1250
|
+
/** Create skill package */
|
|
1251
|
+
async create(t) {
|
|
1252
|
+
return this.client.post(e("/skill/package"), t);
|
|
1253
|
+
}
|
|
1254
|
+
/** Enable skill package */
|
|
1255
|
+
async enable(t) {
|
|
1256
|
+
return this.client.post(e(`/skill/package/${t}/enable`));
|
|
1257
|
+
}
|
|
1258
|
+
/** Disable skill package */
|
|
1259
|
+
async disable(t) {
|
|
1260
|
+
return this.client.post(e(`/skill/package/${t}/disable`));
|
|
1261
|
+
}
|
|
1262
|
+
/** Query skill package list by page */
|
|
1263
|
+
async listByPage(t, i) {
|
|
1264
|
+
return this.client.post(e("/skill/package/list"), t, i);
|
|
1265
|
+
}
|
|
1266
|
+
/** Query all skill packages */
|
|
1267
|
+
async listAll(t) {
|
|
1268
|
+
return this.client.post(e("/skill/package/list/all"), t);
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
function kt(n) {
|
|
1272
|
+
return new vt(n);
|
|
1273
|
+
}
|
|
1274
|
+
class Pt {
|
|
1155
1275
|
constructor(t) {
|
|
1156
1276
|
this.client = t;
|
|
1157
1277
|
}
|
|
@@ -1164,8 +1284,8 @@ class Bt {
|
|
|
1164
1284
|
return this.client.post(e("/short_url"), t);
|
|
1165
1285
|
}
|
|
1166
1286
|
/** Get short URLs by page */
|
|
1167
|
-
async listByPage(t,
|
|
1168
|
-
return this.client.post(e("/short_url/list"), t,
|
|
1287
|
+
async listByPage(t, i) {
|
|
1288
|
+
return this.client.post(e("/short_url/list"), t, i);
|
|
1169
1289
|
}
|
|
1170
1290
|
/** Get all short URLs */
|
|
1171
1291
|
async listAllEntities(t) {
|
|
@@ -1180,10 +1300,10 @@ class Bt {
|
|
|
1180
1300
|
return this.client.delete(e(`/short_url/${t}`));
|
|
1181
1301
|
}
|
|
1182
1302
|
}
|
|
1183
|
-
function
|
|
1184
|
-
return new
|
|
1303
|
+
function wt(n) {
|
|
1304
|
+
return new Pt(n);
|
|
1185
1305
|
}
|
|
1186
|
-
class
|
|
1306
|
+
class bt {
|
|
1187
1307
|
constructor(t) {
|
|
1188
1308
|
this.client = t;
|
|
1189
1309
|
}
|
|
@@ -1196,8 +1316,8 @@ class vt {
|
|
|
1196
1316
|
return this.client.post(e("/shop"), t);
|
|
1197
1317
|
}
|
|
1198
1318
|
/** Get shops by page */
|
|
1199
|
-
async listByPage(t,
|
|
1200
|
-
return this.client.post(e("/shop/list"), t,
|
|
1319
|
+
async listByPage(t, i) {
|
|
1320
|
+
return this.client.post(e("/shop/list"), t, i);
|
|
1201
1321
|
}
|
|
1202
1322
|
/** Get all shops */
|
|
1203
1323
|
async listAllEntities(t) {
|
|
@@ -1212,10 +1332,10 @@ class vt {
|
|
|
1212
1332
|
return this.client.delete(e(`/shop/${t}`));
|
|
1213
1333
|
}
|
|
1214
1334
|
}
|
|
1215
|
-
function
|
|
1216
|
-
return new
|
|
1335
|
+
function Et(n) {
|
|
1336
|
+
return new bt(n);
|
|
1217
1337
|
}
|
|
1218
|
-
class
|
|
1338
|
+
class It {
|
|
1219
1339
|
constructor(t) {
|
|
1220
1340
|
this.client = t;
|
|
1221
1341
|
}
|
|
@@ -1228,8 +1348,8 @@ class kt {
|
|
|
1228
1348
|
return this.client.post(e("/share"), t);
|
|
1229
1349
|
}
|
|
1230
1350
|
/** 分页获取分享 */
|
|
1231
|
-
async listByPage(t,
|
|
1232
|
-
return this.client.post(e("/share/list"), t,
|
|
1351
|
+
async listByPage(t, i) {
|
|
1352
|
+
return this.client.post(e("/share/list"), t, i);
|
|
1233
1353
|
}
|
|
1234
1354
|
/** 获取所有分享 */
|
|
1235
1355
|
async listAllEntities(t) {
|
|
@@ -1244,10 +1364,10 @@ class kt {
|
|
|
1244
1364
|
return this.client.delete(e(`/share/${t}`));
|
|
1245
1365
|
}
|
|
1246
1366
|
}
|
|
1247
|
-
function
|
|
1248
|
-
return new
|
|
1367
|
+
function _t(n) {
|
|
1368
|
+
return new It(n);
|
|
1249
1369
|
}
|
|
1250
|
-
class
|
|
1370
|
+
class Rt {
|
|
1251
1371
|
constructor(t) {
|
|
1252
1372
|
this.client = t;
|
|
1253
1373
|
}
|
|
@@ -1260,8 +1380,8 @@ class Et {
|
|
|
1260
1380
|
return this.client.post(e("/share/visit_record"), t);
|
|
1261
1381
|
}
|
|
1262
1382
|
/** Get visit records by page */
|
|
1263
|
-
async listByPage(t,
|
|
1264
|
-
return this.client.post(e("/share/visit_record/list"), t,
|
|
1383
|
+
async listByPage(t, i) {
|
|
1384
|
+
return this.client.post(e("/share/visit_record/list"), t, i);
|
|
1265
1385
|
}
|
|
1266
1386
|
/** Get all visit records */
|
|
1267
1387
|
async listAllEntities(t) {
|
|
@@ -1276,10 +1396,10 @@ class Et {
|
|
|
1276
1396
|
return this.client.delete(e(`/share/visit_record/${t}`));
|
|
1277
1397
|
}
|
|
1278
1398
|
}
|
|
1279
|
-
function
|
|
1280
|
-
return new
|
|
1399
|
+
function Tt(n) {
|
|
1400
|
+
return new Rt(n);
|
|
1281
1401
|
}
|
|
1282
|
-
class
|
|
1402
|
+
class Mt {
|
|
1283
1403
|
constructor(t) {
|
|
1284
1404
|
this.client = t;
|
|
1285
1405
|
}
|
|
@@ -1292,8 +1412,8 @@ class bt {
|
|
|
1292
1412
|
return this.client.post(e("/sharding/key"), t);
|
|
1293
1413
|
}
|
|
1294
1414
|
/** List Sharding Keys by Page */
|
|
1295
|
-
async listByPage(t,
|
|
1296
|
-
return this.client.post(e("/sharding/key/list"), t,
|
|
1415
|
+
async listByPage(t, i) {
|
|
1416
|
+
return this.client.post(e("/sharding/key/list"), t, i);
|
|
1297
1417
|
}
|
|
1298
1418
|
/** List All Sharding Keys */
|
|
1299
1419
|
async listAllEntities(t) {
|
|
@@ -1308,10 +1428,38 @@ class bt {
|
|
|
1308
1428
|
return this.client.delete(e(`/sharding/key/${t}`));
|
|
1309
1429
|
}
|
|
1310
1430
|
}
|
|
1311
|
-
function
|
|
1312
|
-
return new
|
|
1431
|
+
function zt(n) {
|
|
1432
|
+
return new Mt(n);
|
|
1313
1433
|
}
|
|
1314
|
-
class
|
|
1434
|
+
class St {
|
|
1435
|
+
constructor(t) {
|
|
1436
|
+
this.client = t;
|
|
1437
|
+
}
|
|
1438
|
+
async update(t) {
|
|
1439
|
+
return this.client.put(e("/security/policy"), t);
|
|
1440
|
+
}
|
|
1441
|
+
async create(t) {
|
|
1442
|
+
return this.client.post(e("/security/policy"), t);
|
|
1443
|
+
}
|
|
1444
|
+
/** List policies by page */
|
|
1445
|
+
async listByPage(t, i) {
|
|
1446
|
+
return this.client.post(e("/security/policy/list"), t, i);
|
|
1447
|
+
}
|
|
1448
|
+
/** List all policies */
|
|
1449
|
+
async listAllEntities(t) {
|
|
1450
|
+
return this.client.post(e("/security/policy/list/all"), t);
|
|
1451
|
+
}
|
|
1452
|
+
async getById(t) {
|
|
1453
|
+
return this.client.get(e(`/security/policy/${t}`));
|
|
1454
|
+
}
|
|
1455
|
+
async delete(t) {
|
|
1456
|
+
return this.client.delete(e(`/security/policy/${t}`));
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
function Dt(n) {
|
|
1460
|
+
return new St(n);
|
|
1461
|
+
}
|
|
1462
|
+
class Ut {
|
|
1315
1463
|
constructor(t) {
|
|
1316
1464
|
this.client = t;
|
|
1317
1465
|
}
|
|
@@ -1324,8 +1472,8 @@ class Rt {
|
|
|
1324
1472
|
return this.client.post(e("/schema"), t);
|
|
1325
1473
|
}
|
|
1326
1474
|
/** Get database schemas by page */
|
|
1327
|
-
async listByPage(t,
|
|
1328
|
-
return this.client.post(e("/schema/list"), t,
|
|
1475
|
+
async listByPage(t, i) {
|
|
1476
|
+
return this.client.post(e("/schema/list"), t, i);
|
|
1329
1477
|
}
|
|
1330
1478
|
/** Get all database schemas */
|
|
1331
1479
|
async listAllEntities(t) {
|
|
@@ -1340,10 +1488,10 @@ class Rt {
|
|
|
1340
1488
|
return this.client.delete(e(`/schema/${t}`));
|
|
1341
1489
|
}
|
|
1342
1490
|
}
|
|
1343
|
-
function
|
|
1344
|
-
return new
|
|
1491
|
+
function Ft(n) {
|
|
1492
|
+
return new Ut(n);
|
|
1345
1493
|
}
|
|
1346
|
-
class
|
|
1494
|
+
class Vt {
|
|
1347
1495
|
constructor(t) {
|
|
1348
1496
|
this.client = t;
|
|
1349
1497
|
}
|
|
@@ -1356,8 +1504,8 @@ class zt {
|
|
|
1356
1504
|
return this.client.post(e("/role"), t);
|
|
1357
1505
|
}
|
|
1358
1506
|
/** Get system roles by page */
|
|
1359
|
-
async listByPage(t,
|
|
1360
|
-
return this.client.post(e("/role/list"), t,
|
|
1507
|
+
async listByPage(t, i) {
|
|
1508
|
+
return this.client.post(e("/role/list"), t, i);
|
|
1361
1509
|
}
|
|
1362
1510
|
/** Get all system roles */
|
|
1363
1511
|
async listAllEntities(t) {
|
|
@@ -1372,10 +1520,10 @@ class zt {
|
|
|
1372
1520
|
return this.client.delete(e(`/role/${t}`));
|
|
1373
1521
|
}
|
|
1374
1522
|
}
|
|
1375
|
-
function
|
|
1376
|
-
return new
|
|
1523
|
+
function Gt(n) {
|
|
1524
|
+
return new Vt(n);
|
|
1377
1525
|
}
|
|
1378
|
-
class
|
|
1526
|
+
class xt {
|
|
1379
1527
|
constructor(t) {
|
|
1380
1528
|
this.client = t;
|
|
1381
1529
|
}
|
|
@@ -1388,8 +1536,8 @@ class St {
|
|
|
1388
1536
|
return this.client.post(e("/role/permission"), t);
|
|
1389
1537
|
}
|
|
1390
1538
|
/** Get role-permission associations by page */
|
|
1391
|
-
async listByPage(t,
|
|
1392
|
-
return this.client.post(e("/role/permission/list"), t,
|
|
1539
|
+
async listByPage(t, i) {
|
|
1540
|
+
return this.client.post(e("/role/permission/list"), t, i);
|
|
1393
1541
|
}
|
|
1394
1542
|
/** Get all role-permission associations */
|
|
1395
1543
|
async listAllEntities(t) {
|
|
@@ -1404,10 +1552,10 @@ class St {
|
|
|
1404
1552
|
return this.client.delete(e(`/role/permission/${t}`));
|
|
1405
1553
|
}
|
|
1406
1554
|
}
|
|
1407
|
-
function
|
|
1408
|
-
return new
|
|
1555
|
+
function Kt(n) {
|
|
1556
|
+
return new xt(n);
|
|
1409
1557
|
}
|
|
1410
|
-
class
|
|
1558
|
+
class Ht {
|
|
1411
1559
|
constructor(t) {
|
|
1412
1560
|
this.client = t;
|
|
1413
1561
|
}
|
|
@@ -1420,8 +1568,8 @@ class Ut {
|
|
|
1420
1568
|
return this.client.post(e("/record"), t);
|
|
1421
1569
|
}
|
|
1422
1570
|
/** Get invocation records by page */
|
|
1423
|
-
async listByPage(t,
|
|
1424
|
-
return this.client.post(e("/record/list"), t,
|
|
1571
|
+
async listByPage(t, i) {
|
|
1572
|
+
return this.client.post(e("/record/list"), t, i);
|
|
1425
1573
|
}
|
|
1426
1574
|
/** Get all invocation records */
|
|
1427
1575
|
async listAllEntities(t) {
|
|
@@ -1436,10 +1584,10 @@ class Ut {
|
|
|
1436
1584
|
return this.client.delete(e(`/record/${t}`));
|
|
1437
1585
|
}
|
|
1438
1586
|
}
|
|
1439
|
-
function
|
|
1440
|
-
return new
|
|
1587
|
+
function Lt(n) {
|
|
1588
|
+
return new Ht(n);
|
|
1441
1589
|
}
|
|
1442
|
-
class
|
|
1590
|
+
class Ot {
|
|
1443
1591
|
constructor(t) {
|
|
1444
1592
|
this.client = t;
|
|
1445
1593
|
}
|
|
@@ -1452,8 +1600,8 @@ class Ft {
|
|
|
1452
1600
|
return this.client.post(e("/rbac/user/role"), t);
|
|
1453
1601
|
}
|
|
1454
1602
|
/** Get user-role relationships by page */
|
|
1455
|
-
async listByPage(t,
|
|
1456
|
-
return this.client.post(e("/rbac/user/role/list"), t,
|
|
1603
|
+
async listByPage(t, i) {
|
|
1604
|
+
return this.client.post(e("/rbac/user/role/list"), t, i);
|
|
1457
1605
|
}
|
|
1458
1606
|
/** Get all user-role relationships */
|
|
1459
1607
|
async listAllEntities(t) {
|
|
@@ -1468,10 +1616,10 @@ class Ft {
|
|
|
1468
1616
|
return this.client.delete(e(`/rbac/user/role/${t}`));
|
|
1469
1617
|
}
|
|
1470
1618
|
}
|
|
1471
|
-
function
|
|
1472
|
-
return new
|
|
1619
|
+
function jt(n) {
|
|
1620
|
+
return new Ot(n);
|
|
1473
1621
|
}
|
|
1474
|
-
class
|
|
1622
|
+
class Yt {
|
|
1475
1623
|
constructor(t) {
|
|
1476
1624
|
this.client = t;
|
|
1477
1625
|
}
|
|
@@ -1484,8 +1632,8 @@ class Kt {
|
|
|
1484
1632
|
return this.client.post(e("/prompt"), t);
|
|
1485
1633
|
}
|
|
1486
1634
|
/** Get AI prompts by page */
|
|
1487
|
-
async listByPage(t,
|
|
1488
|
-
return this.client.post(e("/prompt/list"), t,
|
|
1635
|
+
async listByPage(t, i) {
|
|
1636
|
+
return this.client.post(e("/prompt/list"), t, i);
|
|
1489
1637
|
}
|
|
1490
1638
|
/** Get all AI prompts */
|
|
1491
1639
|
async listAllEntities(t) {
|
|
@@ -1500,10 +1648,10 @@ class Kt {
|
|
|
1500
1648
|
return this.client.delete(e(`/prompt/${t}`));
|
|
1501
1649
|
}
|
|
1502
1650
|
}
|
|
1503
|
-
function
|
|
1504
|
-
return new
|
|
1651
|
+
function qt(n) {
|
|
1652
|
+
return new Yt(n);
|
|
1505
1653
|
}
|
|
1506
|
-
class
|
|
1654
|
+
class Nt {
|
|
1507
1655
|
constructor(t) {
|
|
1508
1656
|
this.client = t;
|
|
1509
1657
|
}
|
|
@@ -1516,8 +1664,8 @@ class Ot {
|
|
|
1516
1664
|
return this.client.post(e("/project"), t);
|
|
1517
1665
|
}
|
|
1518
1666
|
/** Get projects by page */
|
|
1519
|
-
async listByPage(t,
|
|
1520
|
-
return this.client.post(e("/project/list"), t,
|
|
1667
|
+
async listByPage(t, i) {
|
|
1668
|
+
return this.client.post(e("/project/list"), t, i);
|
|
1521
1669
|
}
|
|
1522
1670
|
/** Get all projects */
|
|
1523
1671
|
async listAllEntities(t) {
|
|
@@ -1532,10 +1680,10 @@ class Ot {
|
|
|
1532
1680
|
return this.client.delete(e(`/project/${t}`));
|
|
1533
1681
|
}
|
|
1534
1682
|
}
|
|
1535
|
-
function
|
|
1536
|
-
return new
|
|
1683
|
+
function Wt(n) {
|
|
1684
|
+
return new Nt(n);
|
|
1537
1685
|
}
|
|
1538
|
-
class
|
|
1686
|
+
class Qt {
|
|
1539
1687
|
constructor(t) {
|
|
1540
1688
|
this.client = t;
|
|
1541
1689
|
}
|
|
@@ -1552,8 +1700,8 @@ class Yt {
|
|
|
1552
1700
|
return this.client.post(e("/product/mall_home"), t);
|
|
1553
1701
|
}
|
|
1554
1702
|
/** Get products by page */
|
|
1555
|
-
async listByPage(t,
|
|
1556
|
-
return this.client.post(e("/product/list"), t,
|
|
1703
|
+
async listByPage(t, i) {
|
|
1704
|
+
return this.client.post(e("/product/list"), t, i);
|
|
1557
1705
|
}
|
|
1558
1706
|
/** Get all products */
|
|
1559
1707
|
async listAllEntities(t) {
|
|
@@ -1572,10 +1720,10 @@ class Yt {
|
|
|
1572
1720
|
return this.client.get(e("/product/detail"), t);
|
|
1573
1721
|
}
|
|
1574
1722
|
}
|
|
1575
|
-
function
|
|
1576
|
-
return new
|
|
1723
|
+
function Xt(n) {
|
|
1724
|
+
return new Qt(n);
|
|
1577
1725
|
}
|
|
1578
|
-
class
|
|
1726
|
+
class Jt {
|
|
1579
1727
|
constructor(t) {
|
|
1580
1728
|
this.client = t;
|
|
1581
1729
|
}
|
|
@@ -1588,8 +1736,8 @@ class jt {
|
|
|
1588
1736
|
return this.client.post(e("/ppt/template"), t);
|
|
1589
1737
|
}
|
|
1590
1738
|
/** Get PPT templates by page */
|
|
1591
|
-
async listByPage(t,
|
|
1592
|
-
return this.client.post(e("/ppt/template/list"), t,
|
|
1739
|
+
async listByPage(t, i) {
|
|
1740
|
+
return this.client.post(e("/ppt/template/list"), t, i);
|
|
1593
1741
|
}
|
|
1594
1742
|
/** Get all PPT templates */
|
|
1595
1743
|
async listAllEntities(t) {
|
|
@@ -1604,10 +1752,10 @@ class jt {
|
|
|
1604
1752
|
return this.client.delete(e(`/ppt/template/${t}`));
|
|
1605
1753
|
}
|
|
1606
1754
|
}
|
|
1607
|
-
function
|
|
1608
|
-
return new
|
|
1755
|
+
function Zt(n) {
|
|
1756
|
+
return new Jt(n);
|
|
1609
1757
|
}
|
|
1610
|
-
class
|
|
1758
|
+
class te {
|
|
1611
1759
|
constructor(t) {
|
|
1612
1760
|
this.client = t;
|
|
1613
1761
|
}
|
|
@@ -1620,8 +1768,8 @@ class Nt {
|
|
|
1620
1768
|
return this.client.post(e("/ppt/template/slide"), t);
|
|
1621
1769
|
}
|
|
1622
1770
|
/** Get PPT template slides by page */
|
|
1623
|
-
async listByPage(t,
|
|
1624
|
-
return this.client.post(e("/ppt/template/slide/list"), t,
|
|
1771
|
+
async listByPage(t, i) {
|
|
1772
|
+
return this.client.post(e("/ppt/template/slide/list"), t, i);
|
|
1625
1773
|
}
|
|
1626
1774
|
/** Get all PPT template slides */
|
|
1627
1775
|
async listAllEntities(t) {
|
|
@@ -1636,10 +1784,38 @@ class Nt {
|
|
|
1636
1784
|
return this.client.delete(e(`/ppt/template/slide/${t}`));
|
|
1637
1785
|
}
|
|
1638
1786
|
}
|
|
1639
|
-
function
|
|
1640
|
-
return new
|
|
1787
|
+
function ee(n) {
|
|
1788
|
+
return new te(n);
|
|
1789
|
+
}
|
|
1790
|
+
class ne {
|
|
1791
|
+
constructor(t) {
|
|
1792
|
+
this.client = t;
|
|
1793
|
+
}
|
|
1794
|
+
async update(t) {
|
|
1795
|
+
return this.client.put(e("/permission"), t);
|
|
1796
|
+
}
|
|
1797
|
+
async create(t) {
|
|
1798
|
+
return this.client.post(e("/permission"), t);
|
|
1799
|
+
}
|
|
1800
|
+
/** List permissions by page */
|
|
1801
|
+
async listByPage(t, i) {
|
|
1802
|
+
return this.client.post(e("/permission/list"), t, i);
|
|
1803
|
+
}
|
|
1804
|
+
/** List all permissions */
|
|
1805
|
+
async listAllEntities(t) {
|
|
1806
|
+
return this.client.post(e("/permission/list/all"), t);
|
|
1807
|
+
}
|
|
1808
|
+
async getById(t) {
|
|
1809
|
+
return this.client.get(e(`/permission/${t}`));
|
|
1810
|
+
}
|
|
1811
|
+
async delete(t) {
|
|
1812
|
+
return this.client.delete(e(`/permission/${t}`));
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
function ie(n) {
|
|
1816
|
+
return new ne(n);
|
|
1641
1817
|
}
|
|
1642
|
-
class
|
|
1818
|
+
class se {
|
|
1643
1819
|
constructor(t) {
|
|
1644
1820
|
this.client = t;
|
|
1645
1821
|
}
|
|
@@ -1652,8 +1828,8 @@ class Xt {
|
|
|
1652
1828
|
return this.client.post(e("/partner"), t);
|
|
1653
1829
|
}
|
|
1654
1830
|
/** Get partners by page */
|
|
1655
|
-
async listByPage(t,
|
|
1656
|
-
return this.client.post(e("/partner/list"), t,
|
|
1831
|
+
async listByPage(t, i) {
|
|
1832
|
+
return this.client.post(e("/partner/list"), t, i);
|
|
1657
1833
|
}
|
|
1658
1834
|
/** Get all partners */
|
|
1659
1835
|
async listAllEntities(t) {
|
|
@@ -1668,10 +1844,10 @@ class Xt {
|
|
|
1668
1844
|
return this.client.delete(e(`/partner/${t}`));
|
|
1669
1845
|
}
|
|
1670
1846
|
}
|
|
1671
|
-
function
|
|
1672
|
-
return new
|
|
1847
|
+
function re(n) {
|
|
1848
|
+
return new se(n);
|
|
1673
1849
|
}
|
|
1674
|
-
class
|
|
1850
|
+
class ce {
|
|
1675
1851
|
constructor(t) {
|
|
1676
1852
|
this.client = t;
|
|
1677
1853
|
}
|
|
@@ -1684,8 +1860,8 @@ class Qt {
|
|
|
1684
1860
|
return this.client.post(e("/participant"), t);
|
|
1685
1861
|
}
|
|
1686
1862
|
/** Get chat participants by page */
|
|
1687
|
-
async listByPage(t,
|
|
1688
|
-
return this.client.post(e("/participant/list"), t,
|
|
1863
|
+
async listByPage(t, i) {
|
|
1864
|
+
return this.client.post(e("/participant/list"), t, i);
|
|
1689
1865
|
}
|
|
1690
1866
|
/** Get all chat participants */
|
|
1691
1867
|
async listAllEntities(t) {
|
|
@@ -1700,10 +1876,10 @@ class Qt {
|
|
|
1700
1876
|
return this.client.delete(e(`/participant/${t}`));
|
|
1701
1877
|
}
|
|
1702
1878
|
}
|
|
1703
|
-
function
|
|
1704
|
-
return new
|
|
1879
|
+
function le(n) {
|
|
1880
|
+
return new ce(n);
|
|
1705
1881
|
}
|
|
1706
|
-
class
|
|
1882
|
+
class ae {
|
|
1707
1883
|
constructor(t) {
|
|
1708
1884
|
this.client = t;
|
|
1709
1885
|
}
|
|
@@ -1716,8 +1892,8 @@ class te {
|
|
|
1716
1892
|
return this.client.post(e("/oss/bucket"), t);
|
|
1717
1893
|
}
|
|
1718
1894
|
/** Get OSS buckets by page */
|
|
1719
|
-
async listByPage(t,
|
|
1720
|
-
return this.client.post(e("/oss/bucket/list"), t,
|
|
1895
|
+
async listByPage(t, i) {
|
|
1896
|
+
return this.client.post(e("/oss/bucket/list"), t, i);
|
|
1721
1897
|
}
|
|
1722
1898
|
/** Get all OSS buckets */
|
|
1723
1899
|
async listAllEntities(t) {
|
|
@@ -1732,10 +1908,10 @@ class te {
|
|
|
1732
1908
|
return this.client.delete(e(`/oss/bucket/${t}`));
|
|
1733
1909
|
}
|
|
1734
1910
|
}
|
|
1735
|
-
function
|
|
1736
|
-
return new
|
|
1911
|
+
function oe(n) {
|
|
1912
|
+
return new ae(n);
|
|
1737
1913
|
}
|
|
1738
|
-
class
|
|
1914
|
+
class ue {
|
|
1739
1915
|
constructor(t) {
|
|
1740
1916
|
this.client = t;
|
|
1741
1917
|
}
|
|
@@ -1748,16 +1924,16 @@ class ie {
|
|
|
1748
1924
|
return this.client.post(e("/organization"), t);
|
|
1749
1925
|
}
|
|
1750
1926
|
/** Uninstall app from organization */
|
|
1751
|
-
async uninstall(t,
|
|
1752
|
-
return this.client.post(e(`/organization/${t}/uninstall`),
|
|
1927
|
+
async uninstall(t, i) {
|
|
1928
|
+
return this.client.post(e(`/organization/${t}/uninstall`), i);
|
|
1753
1929
|
}
|
|
1754
1930
|
/** Install app for organization */
|
|
1755
|
-
async install(t,
|
|
1756
|
-
return this.client.post(e(`/organization/${t}/install`),
|
|
1931
|
+
async install(t, i) {
|
|
1932
|
+
return this.client.post(e(`/organization/${t}/install`), i);
|
|
1757
1933
|
}
|
|
1758
1934
|
/** Get organizations by page */
|
|
1759
|
-
async listByPage(t,
|
|
1760
|
-
return this.client.post(e("/organization/list"), t,
|
|
1935
|
+
async listByPage(t, i) {
|
|
1936
|
+
return this.client.post(e("/organization/list"), t, i);
|
|
1761
1937
|
}
|
|
1762
1938
|
/** Get all organizations */
|
|
1763
1939
|
async listAllEntities(t) {
|
|
@@ -1775,11 +1951,15 @@ class ie {
|
|
|
1775
1951
|
async delete(t) {
|
|
1776
1952
|
return this.client.delete(e(`/organization/${t}`));
|
|
1777
1953
|
}
|
|
1954
|
+
/** Get child organizations */
|
|
1955
|
+
async getChildren(t) {
|
|
1956
|
+
return this.client.get(e(`/organization/${t}/children`));
|
|
1957
|
+
}
|
|
1778
1958
|
}
|
|
1779
|
-
function
|
|
1780
|
-
return new
|
|
1959
|
+
function he(n) {
|
|
1960
|
+
return new ue(n);
|
|
1781
1961
|
}
|
|
1782
|
-
class
|
|
1962
|
+
class pe {
|
|
1783
1963
|
constructor(t) {
|
|
1784
1964
|
this.client = t;
|
|
1785
1965
|
}
|
|
@@ -1792,8 +1972,8 @@ class se {
|
|
|
1792
1972
|
return this.client.post(e("/organization/position"), t);
|
|
1793
1973
|
}
|
|
1794
1974
|
/** Get positions by page */
|
|
1795
|
-
async listByPage(t,
|
|
1796
|
-
return this.client.post(e("/organization/position/list"), t,
|
|
1975
|
+
async listByPage(t, i) {
|
|
1976
|
+
return this.client.post(e("/organization/position/list"), t, i);
|
|
1797
1977
|
}
|
|
1798
1978
|
/** Get all positions */
|
|
1799
1979
|
async listAllEntities(t) {
|
|
@@ -1808,10 +1988,10 @@ class se {
|
|
|
1808
1988
|
return this.client.delete(e(`/organization/position/${t}`));
|
|
1809
1989
|
}
|
|
1810
1990
|
}
|
|
1811
|
-
function
|
|
1812
|
-
return new
|
|
1991
|
+
function ye(n) {
|
|
1992
|
+
return new pe(n);
|
|
1813
1993
|
}
|
|
1814
|
-
class
|
|
1994
|
+
class de {
|
|
1815
1995
|
constructor(t) {
|
|
1816
1996
|
this.client = t;
|
|
1817
1997
|
}
|
|
@@ -1824,8 +2004,8 @@ class ce {
|
|
|
1824
2004
|
return this.client.post(e("/organization/member-relations"), t);
|
|
1825
2005
|
}
|
|
1826
2006
|
/** Get member relations by page */
|
|
1827
|
-
async listByPage(t,
|
|
1828
|
-
return this.client.post(e("/organization/member-relations/list"), t,
|
|
2007
|
+
async listByPage(t, i) {
|
|
2008
|
+
return this.client.post(e("/organization/member-relations/list"), t, i);
|
|
1829
2009
|
}
|
|
1830
2010
|
/** Get all member relations */
|
|
1831
2011
|
async listAllEntities(t) {
|
|
@@ -1840,10 +2020,10 @@ class ce {
|
|
|
1840
2020
|
return this.client.delete(e(`/organization/member-relations/${t}`));
|
|
1841
2021
|
}
|
|
1842
2022
|
}
|
|
1843
|
-
function
|
|
1844
|
-
return new
|
|
2023
|
+
function ge(n) {
|
|
2024
|
+
return new de(n);
|
|
1845
2025
|
}
|
|
1846
|
-
class
|
|
2026
|
+
class Ae {
|
|
1847
2027
|
constructor(t) {
|
|
1848
2028
|
this.client = t;
|
|
1849
2029
|
}
|
|
@@ -1855,9 +2035,37 @@ class ae {
|
|
|
1855
2035
|
async create(t) {
|
|
1856
2036
|
return this.client.post(e("/organization-member"), t);
|
|
1857
2037
|
}
|
|
2038
|
+
/** Transfer member position */
|
|
2039
|
+
async transferPosition(t, i) {
|
|
2040
|
+
return this.client.put(e(`/organization-member/${t}/positions/transfer`), void 0, i);
|
|
2041
|
+
}
|
|
2042
|
+
/** Set member primary department */
|
|
2043
|
+
async setPrimaryDepartment(t, i) {
|
|
2044
|
+
return this.client.put(e(`/organization-member/${t}/departments/${i}/primary`));
|
|
2045
|
+
}
|
|
2046
|
+
/** Transfer member department */
|
|
2047
|
+
async transferDepartment(t, i) {
|
|
2048
|
+
return this.client.put(e(`/organization-member/${t}/departments/transfer`), void 0, i);
|
|
2049
|
+
}
|
|
2050
|
+
/** Deactivate member */
|
|
2051
|
+
async deactivateMember(t) {
|
|
2052
|
+
return this.client.put(e(`/organization-member/${t}/deactivate`));
|
|
2053
|
+
}
|
|
2054
|
+
/** Activate member */
|
|
2055
|
+
async activateMember(t) {
|
|
2056
|
+
return this.client.put(e(`/organization-member/${t}/activate`));
|
|
2057
|
+
}
|
|
2058
|
+
/** Bind member to department */
|
|
2059
|
+
async addToDepartment(t, i, s) {
|
|
2060
|
+
return this.client.post(e(`/organization-member/${t}/departments/${i}`), void 0, s);
|
|
2061
|
+
}
|
|
2062
|
+
/** Unbind member from department */
|
|
2063
|
+
async removeFromDepartment(t, i) {
|
|
2064
|
+
return this.client.delete(e(`/organization-member/${t}/departments/${i}`));
|
|
2065
|
+
}
|
|
1858
2066
|
/** Get organization members by page */
|
|
1859
|
-
async listByPage(t,
|
|
1860
|
-
return this.client.post(e("/organization-member/list"), t,
|
|
2067
|
+
async listByPage(t, i) {
|
|
2068
|
+
return this.client.post(e("/organization-member/list"), t, i);
|
|
1861
2069
|
}
|
|
1862
2070
|
/** Get all organization members */
|
|
1863
2071
|
async listAllEntities(t) {
|
|
@@ -1871,11 +2079,23 @@ class ae {
|
|
|
1871
2079
|
async delete(t) {
|
|
1872
2080
|
return this.client.delete(e(`/organization-member/${t}`));
|
|
1873
2081
|
}
|
|
2082
|
+
/** Get member role ids */
|
|
2083
|
+
async getMemberRoleIds(t) {
|
|
2084
|
+
return this.client.get(e(`/organization-member/${t}/roles`));
|
|
2085
|
+
}
|
|
2086
|
+
/** Get member positions */
|
|
2087
|
+
async getMemberPositions(t) {
|
|
2088
|
+
return this.client.get(e(`/organization-member/${t}/positions`));
|
|
2089
|
+
}
|
|
2090
|
+
/** Get member departments */
|
|
2091
|
+
async getMemberDepartments(t) {
|
|
2092
|
+
return this.client.get(e(`/organization-member/${t}/departments`));
|
|
2093
|
+
}
|
|
1874
2094
|
}
|
|
1875
|
-
function
|
|
1876
|
-
return new
|
|
2095
|
+
function me(n) {
|
|
2096
|
+
return new Ae(n);
|
|
1877
2097
|
}
|
|
1878
|
-
class
|
|
2098
|
+
class fe {
|
|
1879
2099
|
constructor(t) {
|
|
1880
2100
|
this.client = t;
|
|
1881
2101
|
}
|
|
@@ -1888,8 +2108,8 @@ class ue {
|
|
|
1888
2108
|
return this.client.post(e("/notification"), t);
|
|
1889
2109
|
}
|
|
1890
2110
|
/** Get notifications by page */
|
|
1891
|
-
async listByPage(t,
|
|
1892
|
-
return this.client.post(e("/notification/list"), t,
|
|
2111
|
+
async listByPage(t, i) {
|
|
2112
|
+
return this.client.post(e("/notification/list"), t, i);
|
|
1893
2113
|
}
|
|
1894
2114
|
/** Get all notifications */
|
|
1895
2115
|
async listAllEntities(t) {
|
|
@@ -1904,10 +2124,10 @@ class ue {
|
|
|
1904
2124
|
return this.client.delete(e(`/notification/${t}`));
|
|
1905
2125
|
}
|
|
1906
2126
|
}
|
|
1907
|
-
function
|
|
1908
|
-
return new
|
|
2127
|
+
function $e(n) {
|
|
2128
|
+
return new fe(n);
|
|
1909
2129
|
}
|
|
1910
|
-
class
|
|
2130
|
+
class Ce {
|
|
1911
2131
|
constructor(t) {
|
|
1912
2132
|
this.client = t;
|
|
1913
2133
|
}
|
|
@@ -1919,6 +2139,22 @@ class pe {
|
|
|
1919
2139
|
async create(t) {
|
|
1920
2140
|
return this.client.post(e("/notes"), t);
|
|
1921
2141
|
}
|
|
2142
|
+
/** Publish notes directly */
|
|
2143
|
+
async publishNotesToMedia(t) {
|
|
2144
|
+
return this.client.post(e("/notes/media/publish"), t);
|
|
2145
|
+
}
|
|
2146
|
+
/** Create media draft */
|
|
2147
|
+
async createMediaDraft(t) {
|
|
2148
|
+
return this.client.post(e("/notes/media/drafts"), t);
|
|
2149
|
+
}
|
|
2150
|
+
/** Publish media draft */
|
|
2151
|
+
async publishMediaDraft(t) {
|
|
2152
|
+
return this.client.post(e("/notes/media/drafts/publish"), t);
|
|
2153
|
+
}
|
|
2154
|
+
/** Preview media draft */
|
|
2155
|
+
async previewMediaDraft(t) {
|
|
2156
|
+
return this.client.post(e("/notes/media/drafts/preview"), t);
|
|
2157
|
+
}
|
|
1922
2158
|
/** Get note by UUID */
|
|
1923
2159
|
async getByUuid(t) {
|
|
1924
2160
|
return this.client.get(e(`/notes/${t}`));
|
|
@@ -1928,21 +2164,25 @@ class pe {
|
|
|
1928
2164
|
return this.client.get(e("/notes/search"), t);
|
|
1929
2165
|
}
|
|
1930
2166
|
/** Get paginated notes by user */
|
|
1931
|
-
async pageByUser(t,
|
|
1932
|
-
return this.client.get(e(`/notes/page_by_user/${t}`),
|
|
2167
|
+
async pageByUser(t, i) {
|
|
2168
|
+
return this.client.get(e(`/notes/page_by_user/${t}`), i);
|
|
1933
2169
|
}
|
|
1934
2170
|
/** Get paginated notes by tag */
|
|
1935
2171
|
async pageByTag(t) {
|
|
1936
2172
|
return this.client.get(e("/notes/page_by_tag"), t);
|
|
1937
2173
|
}
|
|
1938
2174
|
/** Get paginated notes by category */
|
|
1939
|
-
async pageByCategory(t,
|
|
1940
|
-
return this.client.get(e(`/notes/page_by_category/${t}`),
|
|
2175
|
+
async pageByCategory(t, i) {
|
|
2176
|
+
return this.client.get(e(`/notes/page_by_category/${t}`), i);
|
|
1941
2177
|
}
|
|
1942
2178
|
/** Get paginated notes */
|
|
1943
2179
|
async listByPage(t) {
|
|
1944
2180
|
return this.client.get(e("/notes/page"), t);
|
|
1945
2181
|
}
|
|
2182
|
+
/** List media publish records */
|
|
2183
|
+
async listMediaPublishRecords(t, i) {
|
|
2184
|
+
return this.client.get(e(`/notes/media/records/${t}`), i);
|
|
2185
|
+
}
|
|
1946
2186
|
/** List notes by user */
|
|
1947
2187
|
async listByUserId(t) {
|
|
1948
2188
|
return this.client.get(e(`/notes/list_by_user/${t}`));
|
|
@@ -1968,10 +2208,10 @@ class pe {
|
|
|
1968
2208
|
return this.client.delete(e(`/notes/${t}`));
|
|
1969
2209
|
}
|
|
1970
2210
|
}
|
|
1971
|
-
function
|
|
1972
|
-
return new
|
|
2211
|
+
function Be(n) {
|
|
2212
|
+
return new Ce(n);
|
|
1973
2213
|
}
|
|
1974
|
-
class
|
|
2214
|
+
class ve {
|
|
1975
2215
|
constructor(t) {
|
|
1976
2216
|
this.client = t;
|
|
1977
2217
|
}
|
|
@@ -1984,8 +2224,8 @@ class de {
|
|
|
1984
2224
|
return this.client.post(e("/news"), t);
|
|
1985
2225
|
}
|
|
1986
2226
|
/** Get news by page */
|
|
1987
|
-
async listByPage(t,
|
|
1988
|
-
return this.client.post(e("/news/list"), t,
|
|
2227
|
+
async listByPage(t, i) {
|
|
2228
|
+
return this.client.post(e("/news/list"), t, i);
|
|
1989
2229
|
}
|
|
1990
2230
|
/** Get all news */
|
|
1991
2231
|
async listAllEntities(t) {
|
|
@@ -2000,10 +2240,10 @@ class de {
|
|
|
2000
2240
|
return this.client.delete(e(`/news/${t}`));
|
|
2001
2241
|
}
|
|
2002
2242
|
}
|
|
2003
|
-
function
|
|
2004
|
-
return new
|
|
2243
|
+
function ke(n) {
|
|
2244
|
+
return new ve(n);
|
|
2005
2245
|
}
|
|
2006
|
-
class
|
|
2246
|
+
class Pe {
|
|
2007
2247
|
constructor(t) {
|
|
2008
2248
|
this.client = t;
|
|
2009
2249
|
}
|
|
@@ -2016,8 +2256,8 @@ class Ae {
|
|
|
2016
2256
|
return this.client.post(e("/net/host/domain"), t);
|
|
2017
2257
|
}
|
|
2018
2258
|
/** 分页获取域名 */
|
|
2019
|
-
async listByPage(t,
|
|
2020
|
-
return this.client.post(e("/net/host/domain/list"), t,
|
|
2259
|
+
async listByPage(t, i) {
|
|
2260
|
+
return this.client.post(e("/net/host/domain/list"), t, i);
|
|
2021
2261
|
}
|
|
2022
2262
|
/** 获取所有域名 */
|
|
2023
2263
|
async listAllEntities(t) {
|
|
@@ -2032,10 +2272,10 @@ class Ae {
|
|
|
2032
2272
|
return this.client.delete(e(`/net/host/domain/${t}`));
|
|
2033
2273
|
}
|
|
2034
2274
|
}
|
|
2035
|
-
function
|
|
2036
|
-
return new
|
|
2275
|
+
function we(n) {
|
|
2276
|
+
return new Pe(n);
|
|
2037
2277
|
}
|
|
2038
|
-
class
|
|
2278
|
+
class be {
|
|
2039
2279
|
constructor(t) {
|
|
2040
2280
|
this.client = t;
|
|
2041
2281
|
}
|
|
@@ -2048,8 +2288,8 @@ class fe {
|
|
|
2048
2288
|
return this.client.post(e("/net/dns/record"), t);
|
|
2049
2289
|
}
|
|
2050
2290
|
/** Get DNS records by page */
|
|
2051
|
-
async listByPage(t,
|
|
2052
|
-
return this.client.post(e("/net/dns/record/list"), t,
|
|
2291
|
+
async listByPage(t, i) {
|
|
2292
|
+
return this.client.post(e("/net/dns/record/list"), t, i);
|
|
2053
2293
|
}
|
|
2054
2294
|
/** Get all DNS records */
|
|
2055
2295
|
async listAllEntities(t) {
|
|
@@ -2064,10 +2304,10 @@ class fe {
|
|
|
2064
2304
|
return this.client.delete(e(`/net/dns/record/${t}`));
|
|
2065
2305
|
}
|
|
2066
2306
|
}
|
|
2067
|
-
function
|
|
2068
|
-
return new
|
|
2307
|
+
function Ee(n) {
|
|
2308
|
+
return new be(n);
|
|
2069
2309
|
}
|
|
2070
|
-
class
|
|
2310
|
+
class Ie {
|
|
2071
2311
|
constructor(t) {
|
|
2072
2312
|
this.client = t;
|
|
2073
2313
|
}
|
|
@@ -2080,8 +2320,8 @@ class Be {
|
|
|
2080
2320
|
return this.client.post(e("/music"), t);
|
|
2081
2321
|
}
|
|
2082
2322
|
/** Get music records by page */
|
|
2083
|
-
async listByPage(t,
|
|
2084
|
-
return this.client.post(e("/music/list"), t,
|
|
2323
|
+
async listByPage(t, i) {
|
|
2324
|
+
return this.client.post(e("/music/list"), t, i);
|
|
2085
2325
|
}
|
|
2086
2326
|
/** Get all music records */
|
|
2087
2327
|
async listAllEntities(t) {
|
|
@@ -2096,10 +2336,10 @@ class Be {
|
|
|
2096
2336
|
return this.client.delete(e(`/music/${t}`));
|
|
2097
2337
|
}
|
|
2098
2338
|
}
|
|
2099
|
-
function
|
|
2100
|
-
return new
|
|
2339
|
+
function _e(n) {
|
|
2340
|
+
return new Ie(n);
|
|
2101
2341
|
}
|
|
2102
|
-
class
|
|
2342
|
+
class Re {
|
|
2103
2343
|
constructor(t) {
|
|
2104
2344
|
this.client = t;
|
|
2105
2345
|
}
|
|
@@ -2112,8 +2352,8 @@ class ve {
|
|
|
2112
2352
|
return this.client.post(e("/model"), t);
|
|
2113
2353
|
}
|
|
2114
2354
|
/** Get AI model information by page */
|
|
2115
|
-
async listByPage(t,
|
|
2116
|
-
return this.client.post(e("/model/list"), t,
|
|
2355
|
+
async listByPage(t, i) {
|
|
2356
|
+
return this.client.post(e("/model/list"), t, i);
|
|
2117
2357
|
}
|
|
2118
2358
|
/** Get all AI model information */
|
|
2119
2359
|
async listAllEntities(t) {
|
|
@@ -2128,10 +2368,10 @@ class ve {
|
|
|
2128
2368
|
return this.client.delete(e(`/model/${t}`));
|
|
2129
2369
|
}
|
|
2130
2370
|
}
|
|
2131
|
-
function
|
|
2132
|
-
return new
|
|
2371
|
+
function Te(n) {
|
|
2372
|
+
return new Re(n);
|
|
2133
2373
|
}
|
|
2134
|
-
class
|
|
2374
|
+
class Me {
|
|
2135
2375
|
constructor(t) {
|
|
2136
2376
|
this.client = t;
|
|
2137
2377
|
}
|
|
@@ -2144,8 +2384,8 @@ class ke {
|
|
|
2144
2384
|
return this.client.post(e("/model/price"), t);
|
|
2145
2385
|
}
|
|
2146
2386
|
/** Get AI model prices by page */
|
|
2147
|
-
async listByPage(t,
|
|
2148
|
-
return this.client.post(e("/model/price/list"), t,
|
|
2387
|
+
async listByPage(t, i) {
|
|
2388
|
+
return this.client.post(e("/model/price/list"), t, i);
|
|
2149
2389
|
}
|
|
2150
2390
|
/** Get all AI model prices */
|
|
2151
2391
|
async listAllEntities(t) {
|
|
@@ -2160,10 +2400,10 @@ class ke {
|
|
|
2160
2400
|
return this.client.delete(e(`/model/price/${t}`));
|
|
2161
2401
|
}
|
|
2162
2402
|
}
|
|
2163
|
-
function
|
|
2164
|
-
return new
|
|
2403
|
+
function ze(n) {
|
|
2404
|
+
return new Me(n);
|
|
2165
2405
|
}
|
|
2166
|
-
class
|
|
2406
|
+
class Se {
|
|
2167
2407
|
constructor(t) {
|
|
2168
2408
|
this.client = t;
|
|
2169
2409
|
}
|
|
@@ -2184,20 +2424,20 @@ class Ee {
|
|
|
2184
2424
|
return this.client.post(e("/chat/message"), t);
|
|
2185
2425
|
}
|
|
2186
2426
|
/** Get chat messages by page */
|
|
2187
|
-
async listByPage(t,
|
|
2188
|
-
return this.client.post(e("/message/list"), t,
|
|
2427
|
+
async listByPage(t, i) {
|
|
2428
|
+
return this.client.post(e("/message/list"), t, i);
|
|
2189
2429
|
}
|
|
2190
2430
|
/** Get all chat messages */
|
|
2191
2431
|
async listAllEntities(t) {
|
|
2192
2432
|
return this.client.post(e("/message/list/all"), t);
|
|
2193
2433
|
}
|
|
2194
2434
|
/** Get chat messages by page */
|
|
2195
|
-
async loadMore(t,
|
|
2196
|
-
return this.client.post(e("/chat/message/load_more"), t,
|
|
2435
|
+
async loadMore(t, i) {
|
|
2436
|
+
return this.client.post(e("/chat/message/load_more"), t, i);
|
|
2197
2437
|
}
|
|
2198
2438
|
/** Get chat messages by page */
|
|
2199
|
-
async createListByPage(t,
|
|
2200
|
-
return this.client.post(e("/chat/message/list"), t,
|
|
2439
|
+
async createListByPage(t, i) {
|
|
2440
|
+
return this.client.post(e("/chat/message/list"), t, i);
|
|
2201
2441
|
}
|
|
2202
2442
|
/** Get all chat messages */
|
|
2203
2443
|
async createListAllEntities(t) {
|
|
@@ -2220,10 +2460,10 @@ class Ee {
|
|
|
2220
2460
|
return this.client.delete(e(`/chat/message/${t}`));
|
|
2221
2461
|
}
|
|
2222
2462
|
}
|
|
2223
|
-
function
|
|
2224
|
-
return new
|
|
2463
|
+
function De(n) {
|
|
2464
|
+
return new Se(n);
|
|
2225
2465
|
}
|
|
2226
|
-
class
|
|
2466
|
+
class Ue {
|
|
2227
2467
|
constructor(t) {
|
|
2228
2468
|
this.client = t;
|
|
2229
2469
|
}
|
|
@@ -2236,8 +2476,8 @@ class be {
|
|
|
2236
2476
|
return this.client.post(e("/member/level"), t);
|
|
2237
2477
|
}
|
|
2238
2478
|
/** Get member levels by page */
|
|
2239
|
-
async listByPage(t,
|
|
2240
|
-
return this.client.post(e("/member/level/list"), t,
|
|
2479
|
+
async listByPage(t, i) {
|
|
2480
|
+
return this.client.post(e("/member/level/list"), t, i);
|
|
2241
2481
|
}
|
|
2242
2482
|
/** Get all member levels */
|
|
2243
2483
|
async listAllEntities(t) {
|
|
@@ -2252,10 +2492,10 @@ class be {
|
|
|
2252
2492
|
return this.client.delete(e(`/member/level/${t}`));
|
|
2253
2493
|
}
|
|
2254
2494
|
}
|
|
2255
|
-
function
|
|
2256
|
-
return new
|
|
2495
|
+
function Fe(n) {
|
|
2496
|
+
return new Ue(n);
|
|
2257
2497
|
}
|
|
2258
|
-
class
|
|
2498
|
+
class Ve {
|
|
2259
2499
|
constructor(t) {
|
|
2260
2500
|
this.client = t;
|
|
2261
2501
|
}
|
|
@@ -2268,8 +2508,8 @@ class Re {
|
|
|
2268
2508
|
return this.client.post(e("/member/card"), t);
|
|
2269
2509
|
}
|
|
2270
2510
|
/** Get member cards by page */
|
|
2271
|
-
async listByPage(t,
|
|
2272
|
-
return this.client.post(e("/member/card/list"), t,
|
|
2511
|
+
async listByPage(t, i) {
|
|
2512
|
+
return this.client.post(e("/member/card/list"), t, i);
|
|
2273
2513
|
}
|
|
2274
2514
|
/** Get all member cards */
|
|
2275
2515
|
async listAllEntities(t) {
|
|
@@ -2284,10 +2524,10 @@ class Re {
|
|
|
2284
2524
|
return this.client.delete(e(`/member/card/${t}`));
|
|
2285
2525
|
}
|
|
2286
2526
|
}
|
|
2287
|
-
function
|
|
2288
|
-
return new
|
|
2527
|
+
function Ge(n) {
|
|
2528
|
+
return new Ve(n);
|
|
2289
2529
|
}
|
|
2290
|
-
class
|
|
2530
|
+
class xe {
|
|
2291
2531
|
constructor(t) {
|
|
2292
2532
|
this.client = t;
|
|
2293
2533
|
}
|
|
@@ -2300,8 +2540,8 @@ class ze {
|
|
|
2300
2540
|
return this.client.post(e("/knowledge_base"), t);
|
|
2301
2541
|
}
|
|
2302
2542
|
/** Get knowledge bases by page */
|
|
2303
|
-
async listByPage(t,
|
|
2304
|
-
return this.client.post(e("/knowledge_base/list"), t,
|
|
2543
|
+
async listByPage(t, i) {
|
|
2544
|
+
return this.client.post(e("/knowledge_base/list"), t, i);
|
|
2305
2545
|
}
|
|
2306
2546
|
/** Get all knowledge bases */
|
|
2307
2547
|
async listAllEntities(t) {
|
|
@@ -2320,10 +2560,10 @@ class ze {
|
|
|
2320
2560
|
return this.client.delete(e(`/knowledge_base/${t}`));
|
|
2321
2561
|
}
|
|
2322
2562
|
}
|
|
2323
|
-
function
|
|
2324
|
-
return new
|
|
2563
|
+
function Ke(n) {
|
|
2564
|
+
return new xe(n);
|
|
2325
2565
|
}
|
|
2326
|
-
class
|
|
2566
|
+
class He {
|
|
2327
2567
|
constructor(t) {
|
|
2328
2568
|
this.client = t;
|
|
2329
2569
|
}
|
|
@@ -2336,8 +2576,8 @@ class Se {
|
|
|
2336
2576
|
return this.client.post(e("/invitation/relation"), t);
|
|
2337
2577
|
}
|
|
2338
2578
|
/** Get invitation relations by page */
|
|
2339
|
-
async listByPage(t,
|
|
2340
|
-
return this.client.post(e("/invitation/relation/list"), t,
|
|
2579
|
+
async listByPage(t, i) {
|
|
2580
|
+
return this.client.post(e("/invitation/relation/list"), t, i);
|
|
2341
2581
|
}
|
|
2342
2582
|
/** Get all invitation relations */
|
|
2343
2583
|
async listAllEntities(t) {
|
|
@@ -2352,10 +2592,10 @@ class Se {
|
|
|
2352
2592
|
return this.client.delete(e(`/invitation/relation/${t}`));
|
|
2353
2593
|
}
|
|
2354
2594
|
}
|
|
2355
|
-
function
|
|
2356
|
-
return new
|
|
2595
|
+
function Le(n) {
|
|
2596
|
+
return new He(n);
|
|
2357
2597
|
}
|
|
2358
|
-
class
|
|
2598
|
+
class Oe {
|
|
2359
2599
|
constructor(t) {
|
|
2360
2600
|
this.client = t;
|
|
2361
2601
|
}
|
|
@@ -2368,8 +2608,8 @@ class Ue {
|
|
|
2368
2608
|
return this.client.post(e("/invitation/code"), t);
|
|
2369
2609
|
}
|
|
2370
2610
|
/** Get invitation codes by page */
|
|
2371
|
-
async listByPage(t,
|
|
2372
|
-
return this.client.post(e("/invitation/code/list"), t,
|
|
2611
|
+
async listByPage(t, i) {
|
|
2612
|
+
return this.client.post(e("/invitation/code/list"), t, i);
|
|
2373
2613
|
}
|
|
2374
2614
|
/** Get all invitation codes */
|
|
2375
2615
|
async listAllEntities(t) {
|
|
@@ -2384,10 +2624,10 @@ class Ue {
|
|
|
2384
2624
|
return this.client.delete(e(`/invitation/code/${t}`));
|
|
2385
2625
|
}
|
|
2386
2626
|
}
|
|
2387
|
-
function
|
|
2388
|
-
return new
|
|
2627
|
+
function je(n) {
|
|
2628
|
+
return new Oe(n);
|
|
2389
2629
|
}
|
|
2390
|
-
class
|
|
2630
|
+
class Ye {
|
|
2391
2631
|
constructor(t) {
|
|
2392
2632
|
this.client = t;
|
|
2393
2633
|
}
|
|
@@ -2400,8 +2640,8 @@ class Fe {
|
|
|
2400
2640
|
return this.client.post(e("/image"), t);
|
|
2401
2641
|
}
|
|
2402
2642
|
/** Get images by page */
|
|
2403
|
-
async listByPage(t,
|
|
2404
|
-
return this.client.post(e("/image/list"), t,
|
|
2643
|
+
async listByPage(t, i) {
|
|
2644
|
+
return this.client.post(e("/image/list"), t, i);
|
|
2405
2645
|
}
|
|
2406
2646
|
/** Get all images */
|
|
2407
2647
|
async listAllEntities(t) {
|
|
@@ -2416,10 +2656,10 @@ class Fe {
|
|
|
2416
2656
|
return this.client.delete(e(`/image/${t}`));
|
|
2417
2657
|
}
|
|
2418
2658
|
}
|
|
2419
|
-
function
|
|
2420
|
-
return new
|
|
2659
|
+
function qe(n) {
|
|
2660
|
+
return new Ye(n);
|
|
2421
2661
|
}
|
|
2422
|
-
class
|
|
2662
|
+
class Ne {
|
|
2423
2663
|
constructor(t) {
|
|
2424
2664
|
this.client = t;
|
|
2425
2665
|
}
|
|
@@ -2432,8 +2672,8 @@ class Ke {
|
|
|
2432
2672
|
return this.client.post(e("/im/group"), t);
|
|
2433
2673
|
}
|
|
2434
2674
|
/** Get chat groups by page */
|
|
2435
|
-
async listByPage(t,
|
|
2436
|
-
return this.client.post(e("/im/group/list"), t,
|
|
2675
|
+
async listByPage(t, i) {
|
|
2676
|
+
return this.client.post(e("/im/group/list"), t, i);
|
|
2437
2677
|
}
|
|
2438
2678
|
/** Get all chat groups */
|
|
2439
2679
|
async listAllEntities(t) {
|
|
@@ -2448,10 +2688,10 @@ class Ke {
|
|
|
2448
2688
|
return this.client.delete(e(`/im/group/${t}`));
|
|
2449
2689
|
}
|
|
2450
2690
|
}
|
|
2451
|
-
function
|
|
2452
|
-
return new
|
|
2691
|
+
function We(n) {
|
|
2692
|
+
return new Ne(n);
|
|
2453
2693
|
}
|
|
2454
|
-
class
|
|
2694
|
+
class Qe {
|
|
2455
2695
|
constructor(t) {
|
|
2456
2696
|
this.client = t;
|
|
2457
2697
|
}
|
|
@@ -2464,8 +2704,8 @@ class Oe {
|
|
|
2464
2704
|
return this.client.post(e("/generation"), t);
|
|
2465
2705
|
}
|
|
2466
2706
|
/** Get AI generation records by page */
|
|
2467
|
-
async listByPage(t,
|
|
2468
|
-
return this.client.post(e("/generation/list"), t,
|
|
2707
|
+
async listByPage(t, i) {
|
|
2708
|
+
return this.client.post(e("/generation/list"), t, i);
|
|
2469
2709
|
}
|
|
2470
2710
|
/** Get all AI generation records */
|
|
2471
2711
|
async listAllEntities(t) {
|
|
@@ -2480,10 +2720,10 @@ class Oe {
|
|
|
2480
2720
|
return this.client.delete(e(`/generation/${t}`));
|
|
2481
2721
|
}
|
|
2482
2722
|
}
|
|
2483
|
-
function
|
|
2484
|
-
return new
|
|
2723
|
+
function Xe(n) {
|
|
2724
|
+
return new Qe(n);
|
|
2485
2725
|
}
|
|
2486
|
-
class
|
|
2726
|
+
class Je {
|
|
2487
2727
|
constructor(t) {
|
|
2488
2728
|
this.client = t;
|
|
2489
2729
|
}
|
|
@@ -2496,8 +2736,8 @@ class Ye {
|
|
|
2496
2736
|
return this.client.post(e("/generation/content"), t);
|
|
2497
2737
|
}
|
|
2498
2738
|
/** Get AI generated content by page */
|
|
2499
|
-
async listByPage(t,
|
|
2500
|
-
return this.client.post(e("/generation/content/list"), t,
|
|
2739
|
+
async listByPage(t, i) {
|
|
2740
|
+
return this.client.post(e("/generation/content/list"), t, i);
|
|
2501
2741
|
}
|
|
2502
2742
|
/** Get all AI generated content */
|
|
2503
2743
|
async listAllEntities(t) {
|
|
@@ -2512,10 +2752,10 @@ class Ye {
|
|
|
2512
2752
|
return this.client.delete(e(`/generation/content/${t}`));
|
|
2513
2753
|
}
|
|
2514
2754
|
}
|
|
2515
|
-
function
|
|
2516
|
-
return new
|
|
2755
|
+
function Ze(n) {
|
|
2756
|
+
return new Je(n);
|
|
2517
2757
|
}
|
|
2518
|
-
class
|
|
2758
|
+
class tn {
|
|
2519
2759
|
constructor(t) {
|
|
2520
2760
|
this.client = t;
|
|
2521
2761
|
}
|
|
@@ -2527,13 +2767,13 @@ class je {
|
|
|
2527
2767
|
async create(t) {
|
|
2528
2768
|
return this.client.post(e("/file"), t);
|
|
2529
2769
|
}
|
|
2530
|
-
/**
|
|
2770
|
+
/** List files */
|
|
2531
2771
|
async listFiles(t) {
|
|
2532
2772
|
return this.client.get(e("/oss/files"), t);
|
|
2533
2773
|
}
|
|
2534
|
-
/**
|
|
2535
|
-
async upload(t,
|
|
2536
|
-
return this.client.post(e("/oss/files"), t,
|
|
2774
|
+
/** Upload file */
|
|
2775
|
+
async upload(t, i) {
|
|
2776
|
+
return this.client.post(e("/oss/files"), t, i);
|
|
2537
2777
|
}
|
|
2538
2778
|
/** Get upload temporary session */
|
|
2539
2779
|
async getTempSession(t) {
|
|
@@ -2548,26 +2788,26 @@ class je {
|
|
|
2548
2788
|
return this.client.post(e("/oss/files/create"), t);
|
|
2549
2789
|
}
|
|
2550
2790
|
/** Get file metadata by page */
|
|
2551
|
-
async listByPage(t,
|
|
2552
|
-
return this.client.post(e("/file/list"), t,
|
|
2791
|
+
async listByPage(t, i) {
|
|
2792
|
+
return this.client.post(e("/file/list"), t, i);
|
|
2553
2793
|
}
|
|
2554
2794
|
/** Get all file metadata */
|
|
2555
2795
|
async listAllEntities(t) {
|
|
2556
2796
|
return this.client.post(e("/file/list/all"), t);
|
|
2557
2797
|
}
|
|
2558
2798
|
/** Get Tree */
|
|
2559
|
-
async getTree(t,
|
|
2560
|
-
return this.client.post(e("/file/get_tree"), t,
|
|
2799
|
+
async getTree(t, i) {
|
|
2800
|
+
return this.client.post(e("/file/get_tree"), t, i);
|
|
2561
2801
|
}
|
|
2562
|
-
/**
|
|
2802
|
+
/** Get file */
|
|
2563
2803
|
async getFile(t) {
|
|
2564
2804
|
return this.client.get(e(`/oss/files/${t}`));
|
|
2565
2805
|
}
|
|
2566
|
-
/**
|
|
2806
|
+
/** Delete file */
|
|
2567
2807
|
async deleteFile(t) {
|
|
2568
2808
|
return this.client.delete(e(`/oss/files/${t}`));
|
|
2569
2809
|
}
|
|
2570
|
-
/**
|
|
2810
|
+
/** Get file content */
|
|
2571
2811
|
async getFileContent(t) {
|
|
2572
2812
|
return this.client.get(e(`/oss/files/${t}/content`));
|
|
2573
2813
|
}
|
|
@@ -2580,10 +2820,10 @@ class je {
|
|
|
2580
2820
|
return this.client.delete(e(`/file/${t}`));
|
|
2581
2821
|
}
|
|
2582
2822
|
}
|
|
2583
|
-
function
|
|
2584
|
-
return new
|
|
2823
|
+
function en(n) {
|
|
2824
|
+
return new tn(n);
|
|
2585
2825
|
}
|
|
2586
|
-
class
|
|
2826
|
+
class nn {
|
|
2587
2827
|
constructor(t) {
|
|
2588
2828
|
this.client = t;
|
|
2589
2829
|
}
|
|
@@ -2596,8 +2836,8 @@ class Ne {
|
|
|
2596
2836
|
return this.client.post(e("/file/part"), t);
|
|
2597
2837
|
}
|
|
2598
2838
|
/** Get file parts by page */
|
|
2599
|
-
async listByPage(t,
|
|
2600
|
-
return this.client.post(e("/file/part/list"), t,
|
|
2839
|
+
async listByPage(t, i) {
|
|
2840
|
+
return this.client.post(e("/file/part/list"), t, i);
|
|
2601
2841
|
}
|
|
2602
2842
|
/** Get all file parts */
|
|
2603
2843
|
async listAllEntities(t) {
|
|
@@ -2612,10 +2852,10 @@ class Ne {
|
|
|
2612
2852
|
return this.client.delete(e(`/file/part/${t}`));
|
|
2613
2853
|
}
|
|
2614
2854
|
}
|
|
2615
|
-
function
|
|
2616
|
-
return new
|
|
2855
|
+
function sn(n) {
|
|
2856
|
+
return new nn(n);
|
|
2617
2857
|
}
|
|
2618
|
-
class
|
|
2858
|
+
class rn {
|
|
2619
2859
|
constructor(t) {
|
|
2620
2860
|
this.client = t;
|
|
2621
2861
|
}
|
|
@@ -2628,8 +2868,8 @@ class Xe {
|
|
|
2628
2868
|
return this.client.post(e("/file/content"), t);
|
|
2629
2869
|
}
|
|
2630
2870
|
/** Get file contents by page */
|
|
2631
|
-
async listByPage(t,
|
|
2632
|
-
return this.client.post(e("/file/content/list"), t,
|
|
2871
|
+
async listByPage(t, i) {
|
|
2872
|
+
return this.client.post(e("/file/content/list"), t, i);
|
|
2633
2873
|
}
|
|
2634
2874
|
/** Get all file contents */
|
|
2635
2875
|
async listAllEntities(t) {
|
|
@@ -2644,10 +2884,10 @@ class Xe {
|
|
|
2644
2884
|
return this.client.delete(e(`/file/content/${t}`));
|
|
2645
2885
|
}
|
|
2646
2886
|
}
|
|
2647
|
-
function
|
|
2648
|
-
return new
|
|
2887
|
+
function cn(n) {
|
|
2888
|
+
return new rn(n);
|
|
2649
2889
|
}
|
|
2650
|
-
class
|
|
2890
|
+
class ln {
|
|
2651
2891
|
constructor(t) {
|
|
2652
2892
|
this.client = t;
|
|
2653
2893
|
}
|
|
@@ -2660,8 +2900,8 @@ class Qe {
|
|
|
2660
2900
|
return this.client.post(e("/feeds"), t);
|
|
2661
2901
|
}
|
|
2662
2902
|
/** Get feeds entries by page */
|
|
2663
|
-
async listByPage(t,
|
|
2664
|
-
return this.client.post(e("/feeds/list"), t,
|
|
2903
|
+
async listByPage(t, i) {
|
|
2904
|
+
return this.client.post(e("/feeds/list"), t, i);
|
|
2665
2905
|
}
|
|
2666
2906
|
/** Get all feeds entries */
|
|
2667
2907
|
async listAllEntities(t) {
|
|
@@ -2676,10 +2916,10 @@ class Qe {
|
|
|
2676
2916
|
return this.client.delete(e(`/feeds/${t}`));
|
|
2677
2917
|
}
|
|
2678
2918
|
}
|
|
2679
|
-
function
|
|
2680
|
-
return new
|
|
2919
|
+
function an(n) {
|
|
2920
|
+
return new ln(n);
|
|
2681
2921
|
}
|
|
2682
|
-
class
|
|
2922
|
+
class on {
|
|
2683
2923
|
constructor(t) {
|
|
2684
2924
|
this.client = t;
|
|
2685
2925
|
}
|
|
@@ -2692,8 +2932,8 @@ class ti {
|
|
|
2692
2932
|
return this.client.post(e("/feedback"), t);
|
|
2693
2933
|
}
|
|
2694
2934
|
/** Get feedback by page */
|
|
2695
|
-
async listByPage(t,
|
|
2696
|
-
return this.client.post(e("/feedback/list"), t,
|
|
2935
|
+
async listByPage(t, i) {
|
|
2936
|
+
return this.client.post(e("/feedback/list"), t, i);
|
|
2697
2937
|
}
|
|
2698
2938
|
/** Get all feedback records */
|
|
2699
2939
|
async listAllEntities(t) {
|
|
@@ -2708,10 +2948,10 @@ class ti {
|
|
|
2708
2948
|
return this.client.delete(e(`/feedback/${t}`));
|
|
2709
2949
|
}
|
|
2710
2950
|
}
|
|
2711
|
-
function
|
|
2712
|
-
return new
|
|
2951
|
+
function un(n) {
|
|
2952
|
+
return new on(n);
|
|
2713
2953
|
}
|
|
2714
|
-
class
|
|
2954
|
+
class hn {
|
|
2715
2955
|
constructor(t) {
|
|
2716
2956
|
this.client = t;
|
|
2717
2957
|
}
|
|
@@ -2724,8 +2964,8 @@ class ii {
|
|
|
2724
2964
|
return this.client.post(e("/favorite"), t);
|
|
2725
2965
|
}
|
|
2726
2966
|
/** Get favorites by page */
|
|
2727
|
-
async listByPage(t,
|
|
2728
|
-
return this.client.post(e("/favorite/list"), t,
|
|
2967
|
+
async listByPage(t, i) {
|
|
2968
|
+
return this.client.post(e("/favorite/list"), t, i);
|
|
2729
2969
|
}
|
|
2730
2970
|
/** Get all favorites */
|
|
2731
2971
|
async listAllEntities(t) {
|
|
@@ -2740,10 +2980,10 @@ class ii {
|
|
|
2740
2980
|
return this.client.delete(e(`/favorite/${t}`));
|
|
2741
2981
|
}
|
|
2742
2982
|
}
|
|
2743
|
-
function
|
|
2744
|
-
return new
|
|
2983
|
+
function pn(n) {
|
|
2984
|
+
return new hn(n);
|
|
2745
2985
|
}
|
|
2746
|
-
class
|
|
2986
|
+
class yn {
|
|
2747
2987
|
constructor(t) {
|
|
2748
2988
|
this.client = t;
|
|
2749
2989
|
}
|
|
@@ -2756,8 +2996,8 @@ class si {
|
|
|
2756
2996
|
return this.client.post(e("/disk"), t);
|
|
2757
2997
|
}
|
|
2758
2998
|
/** Get file disks by page */
|
|
2759
|
-
async listByPage(t,
|
|
2760
|
-
return this.client.post(e("/disk/list"), t,
|
|
2999
|
+
async listByPage(t, i) {
|
|
3000
|
+
return this.client.post(e("/disk/list"), t, i);
|
|
2761
3001
|
}
|
|
2762
3002
|
/** Get all file disks */
|
|
2763
3003
|
async listAllEntities(t) {
|
|
@@ -2772,10 +3012,10 @@ class si {
|
|
|
2772
3012
|
return this.client.delete(e(`/disk/${t}`));
|
|
2773
3013
|
}
|
|
2774
3014
|
}
|
|
2775
|
-
function
|
|
2776
|
-
return new
|
|
3015
|
+
function dn(n) {
|
|
3016
|
+
return new yn(n);
|
|
2777
3017
|
}
|
|
2778
|
-
class
|
|
3018
|
+
class gn {
|
|
2779
3019
|
constructor(t) {
|
|
2780
3020
|
this.client = t;
|
|
2781
3021
|
}
|
|
@@ -2788,8 +3028,8 @@ class ci {
|
|
|
2788
3028
|
return this.client.post(e("/disk/member"), t);
|
|
2789
3029
|
}
|
|
2790
3030
|
/** Get disk members by page */
|
|
2791
|
-
async listByPage(t,
|
|
2792
|
-
return this.client.post(e("/disk/member/list"), t,
|
|
3031
|
+
async listByPage(t, i) {
|
|
3032
|
+
return this.client.post(e("/disk/member/list"), t, i);
|
|
2793
3033
|
}
|
|
2794
3034
|
/** Get all disk members */
|
|
2795
3035
|
async listAllEntities(t) {
|
|
@@ -2804,10 +3044,10 @@ class ci {
|
|
|
2804
3044
|
return this.client.delete(e(`/disk/member/${t}`));
|
|
2805
3045
|
}
|
|
2806
3046
|
}
|
|
2807
|
-
function
|
|
2808
|
-
return new
|
|
3047
|
+
function An(n) {
|
|
3048
|
+
return new gn(n);
|
|
2809
3049
|
}
|
|
2810
|
-
class
|
|
3050
|
+
class mn {
|
|
2811
3051
|
constructor(t) {
|
|
2812
3052
|
this.client = t;
|
|
2813
3053
|
}
|
|
@@ -2820,8 +3060,8 @@ class ai {
|
|
|
2820
3060
|
return this.client.post(e("/detail"), t);
|
|
2821
3061
|
}
|
|
2822
3062
|
/** Get detail contents by page */
|
|
2823
|
-
async listByPage(t,
|
|
2824
|
-
return this.client.post(e("/detail/list"), t,
|
|
3063
|
+
async listByPage(t, i) {
|
|
3064
|
+
return this.client.post(e("/detail/list"), t, i);
|
|
2825
3065
|
}
|
|
2826
3066
|
/** Get all detail contents */
|
|
2827
3067
|
async listAllEntities(t) {
|
|
@@ -2836,10 +3076,10 @@ class ai {
|
|
|
2836
3076
|
return this.client.delete(e(`/detail/${t}`));
|
|
2837
3077
|
}
|
|
2838
3078
|
}
|
|
2839
|
-
function
|
|
2840
|
-
return new
|
|
3079
|
+
function fn(n) {
|
|
3080
|
+
return new mn(n);
|
|
2841
3081
|
}
|
|
2842
|
-
class
|
|
3082
|
+
class $n {
|
|
2843
3083
|
constructor(t) {
|
|
2844
3084
|
this.client = t;
|
|
2845
3085
|
}
|
|
@@ -2851,9 +3091,25 @@ class ui {
|
|
|
2851
3091
|
async create(t) {
|
|
2852
3092
|
return this.client.post(e("/department"), t);
|
|
2853
3093
|
}
|
|
3094
|
+
/** Move department */
|
|
3095
|
+
async move(t, i) {
|
|
3096
|
+
return this.client.put(e(`/department/${t}/move`), void 0, i);
|
|
3097
|
+
}
|
|
3098
|
+
/** Set primary department */
|
|
3099
|
+
async setPrimary(t, i) {
|
|
3100
|
+
return this.client.put(e(`/department/${t}/members/${i}/primary`));
|
|
3101
|
+
}
|
|
3102
|
+
/** Add member to department */
|
|
3103
|
+
async addMemberTo(t, i, s) {
|
|
3104
|
+
return this.client.post(e(`/department/${t}/members/${i}`), void 0, s);
|
|
3105
|
+
}
|
|
3106
|
+
/** Remove member from department */
|
|
3107
|
+
async removeMemberFrom(t, i) {
|
|
3108
|
+
return this.client.delete(e(`/department/${t}/members/${i}`));
|
|
3109
|
+
}
|
|
2854
3110
|
/** Get departments by page */
|
|
2855
|
-
async listByPage(t,
|
|
2856
|
-
return this.client.post(e("/department/list"), t,
|
|
3111
|
+
async listByPage(t, i) {
|
|
3112
|
+
return this.client.post(e("/department/list"), t, i);
|
|
2857
3113
|
}
|
|
2858
3114
|
/** Get all departments */
|
|
2859
3115
|
async listAllEntities(t) {
|
|
@@ -2867,11 +3123,15 @@ class ui {
|
|
|
2867
3123
|
async delete(t) {
|
|
2868
3124
|
return this.client.delete(e(`/department/${t}`));
|
|
2869
3125
|
}
|
|
3126
|
+
/** Get department members */
|
|
3127
|
+
async getDepartmentMembers(t, i) {
|
|
3128
|
+
return this.client.get(e(`/department/${t}/members`), i);
|
|
3129
|
+
}
|
|
2870
3130
|
}
|
|
2871
|
-
function
|
|
2872
|
-
return new
|
|
3131
|
+
function Cn(n) {
|
|
3132
|
+
return new $n(n);
|
|
2873
3133
|
}
|
|
2874
|
-
class
|
|
3134
|
+
class Bn {
|
|
2875
3135
|
constructor(t) {
|
|
2876
3136
|
this.client = t;
|
|
2877
3137
|
}
|
|
@@ -2883,20 +3143,20 @@ class pi {
|
|
|
2883
3143
|
async create(t) {
|
|
2884
3144
|
return this.client.post(e("/datasource"), t);
|
|
2885
3145
|
}
|
|
2886
|
-
async stop(t) {
|
|
2887
|
-
return this.client.post(e("/datasource/stop"), void 0,
|
|
3146
|
+
async stop(t, i) {
|
|
3147
|
+
return this.client.post(e("/datasource/stop"), void 0, t, i);
|
|
2888
3148
|
}
|
|
2889
3149
|
/** Get data sources by page */
|
|
2890
|
-
async listByPage(t,
|
|
2891
|
-
return this.client.post(e("/datasource/list"), t,
|
|
3150
|
+
async listByPage(t, i) {
|
|
3151
|
+
return this.client.post(e("/datasource/list"), t, i);
|
|
2892
3152
|
}
|
|
2893
3153
|
/** Get all data sources */
|
|
2894
3154
|
async listAllEntities(t) {
|
|
2895
3155
|
return this.client.post(e("/datasource/list/all"), t);
|
|
2896
3156
|
}
|
|
2897
3157
|
/** Create a chat completion with Datasource */
|
|
2898
|
-
async createCompletions(t,
|
|
2899
|
-
return this.client.post(e("/datasource/chat/completions"), t,
|
|
3158
|
+
async createCompletions(t, i, s) {
|
|
3159
|
+
return this.client.post(e("/datasource/chat/completions"), t, i, s);
|
|
2900
3160
|
}
|
|
2901
3161
|
/** Get a data source by ID */
|
|
2902
3162
|
async getById(t) {
|
|
@@ -2907,10 +3167,10 @@ class pi {
|
|
|
2907
3167
|
return this.client.delete(e(`/datasource/${t}`));
|
|
2908
3168
|
}
|
|
2909
3169
|
}
|
|
2910
|
-
function
|
|
2911
|
-
return new
|
|
3170
|
+
function vn(n) {
|
|
3171
|
+
return new Bn(n);
|
|
2912
3172
|
}
|
|
2913
|
-
class
|
|
3173
|
+
class kn {
|
|
2914
3174
|
constructor(t) {
|
|
2915
3175
|
this.client = t;
|
|
2916
3176
|
}
|
|
@@ -2922,9 +3182,21 @@ class di {
|
|
|
2922
3182
|
async create(t) {
|
|
2923
3183
|
return this.client.post(e("/coupon"), t);
|
|
2924
3184
|
}
|
|
3185
|
+
/** Exchange coupon by points */
|
|
3186
|
+
async exchangeByPoints(t, i) {
|
|
3187
|
+
return this.client.post(e(`/coupon/${t}/exchange/points`), i);
|
|
3188
|
+
}
|
|
3189
|
+
/** Redeem coupon */
|
|
3190
|
+
async redeem(t) {
|
|
3191
|
+
return this.client.post(e("/coupon/redeem"), t);
|
|
3192
|
+
}
|
|
3193
|
+
/** Rollback points exchange coupon */
|
|
3194
|
+
async rollbackPointsExchange(t, i) {
|
|
3195
|
+
return this.client.post(e(`/coupon/my/${t}/rollback`), i);
|
|
3196
|
+
}
|
|
2925
3197
|
/** Get coupon templates by page */
|
|
2926
|
-
async listByPage(t,
|
|
2927
|
-
return this.client.post(e("/coupon/list"), t,
|
|
3198
|
+
async listByPage(t, i) {
|
|
3199
|
+
return this.client.post(e("/coupon/list"), t, i);
|
|
2928
3200
|
}
|
|
2929
3201
|
/** Get all coupon templates */
|
|
2930
3202
|
async listAllEntities(t) {
|
|
@@ -2939,10 +3211,10 @@ class di {
|
|
|
2939
3211
|
return this.client.delete(e(`/coupon/${t}`));
|
|
2940
3212
|
}
|
|
2941
3213
|
}
|
|
2942
|
-
function
|
|
2943
|
-
return new
|
|
3214
|
+
function Pn(n) {
|
|
3215
|
+
return new kn(n);
|
|
2944
3216
|
}
|
|
2945
|
-
class
|
|
3217
|
+
class wn {
|
|
2946
3218
|
constructor(t) {
|
|
2947
3219
|
this.client = t;
|
|
2948
3220
|
}
|
|
@@ -2955,8 +3227,8 @@ class Ai {
|
|
|
2955
3227
|
return this.client.post(e("/coupon/template"), t);
|
|
2956
3228
|
}
|
|
2957
3229
|
/** Get coupon templates by page */
|
|
2958
|
-
async listByPage(t,
|
|
2959
|
-
return this.client.post(e("/coupon/template/list"), t,
|
|
3230
|
+
async listByPage(t, i) {
|
|
3231
|
+
return this.client.post(e("/coupon/template/list"), t, i);
|
|
2960
3232
|
}
|
|
2961
3233
|
/** Get all coupon templates */
|
|
2962
3234
|
async listAllEntities(t) {
|
|
@@ -2971,10 +3243,10 @@ class Ai {
|
|
|
2971
3243
|
return this.client.delete(e(`/coupon/template/${t}`));
|
|
2972
3244
|
}
|
|
2973
3245
|
}
|
|
2974
|
-
function
|
|
2975
|
-
return new
|
|
3246
|
+
function bn(n) {
|
|
3247
|
+
return new wn(n);
|
|
2976
3248
|
}
|
|
2977
|
-
class
|
|
3249
|
+
class En {
|
|
2978
3250
|
constructor(t) {
|
|
2979
3251
|
this.client = t;
|
|
2980
3252
|
}
|
|
@@ -2987,8 +3259,8 @@ class fi {
|
|
|
2987
3259
|
return this.client.post(e("/conversation"), t);
|
|
2988
3260
|
}
|
|
2989
3261
|
/** Pin/Unpin a conversation */
|
|
2990
|
-
async
|
|
2991
|
-
return this.client.post(e(`/conversation/${t}/pin`), void 0,
|
|
3262
|
+
async pin(t, i) {
|
|
3263
|
+
return this.client.post(e(`/conversation/${t}/pin`), void 0, i);
|
|
2992
3264
|
}
|
|
2993
3265
|
/** Get all open conversations */
|
|
2994
3266
|
async open(t) {
|
|
@@ -2999,8 +3271,8 @@ class fi {
|
|
|
2999
3271
|
return this.client.post(e("/conversation/message_feedback"), t);
|
|
3000
3272
|
}
|
|
3001
3273
|
/** Get conversations by page */
|
|
3002
|
-
async listByPage(t,
|
|
3003
|
-
return this.client.post(e("/conversation/list"), t,
|
|
3274
|
+
async listByPage(t, i) {
|
|
3275
|
+
return this.client.post(e("/conversation/list"), t, i);
|
|
3004
3276
|
}
|
|
3005
3277
|
/** Get all conversations */
|
|
3006
3278
|
async listAllEntities(t) {
|
|
@@ -3015,10 +3287,82 @@ class fi {
|
|
|
3015
3287
|
return this.client.delete(e(`/conversation/${t}`));
|
|
3016
3288
|
}
|
|
3017
3289
|
}
|
|
3018
|
-
function
|
|
3019
|
-
return new
|
|
3290
|
+
function In(n) {
|
|
3291
|
+
return new En(n);
|
|
3020
3292
|
}
|
|
3021
|
-
class
|
|
3293
|
+
class _n {
|
|
3294
|
+
constructor(t) {
|
|
3295
|
+
this.client = t;
|
|
3296
|
+
}
|
|
3297
|
+
/** Rename chapter */
|
|
3298
|
+
async renameChapter(t, i) {
|
|
3299
|
+
return this.client.put(e(`/content-writing/chapters/${t}/rename`), i);
|
|
3300
|
+
}
|
|
3301
|
+
/** Move chapter */
|
|
3302
|
+
async moveChapter(t, i) {
|
|
3303
|
+
return this.client.put(e(`/content-writing/chapters/${t}/move`), i);
|
|
3304
|
+
}
|
|
3305
|
+
/** Get chapter content */
|
|
3306
|
+
async getChapterContent(t) {
|
|
3307
|
+
return this.client.get(e(`/content-writing/chapters/${t}`));
|
|
3308
|
+
}
|
|
3309
|
+
/** Update chapter */
|
|
3310
|
+
async updateChapter(t, i) {
|
|
3311
|
+
return this.client.put(e(`/content-writing/chapters/${t}`), i);
|
|
3312
|
+
}
|
|
3313
|
+
/** Delete chapter */
|
|
3314
|
+
async deleteChapter(t) {
|
|
3315
|
+
return this.client.delete(e(`/content-writing/chapters/${t}`));
|
|
3316
|
+
}
|
|
3317
|
+
/** Create chapter */
|
|
3318
|
+
async createChapter(t) {
|
|
3319
|
+
return this.client.post(e("/content-writing/chapters"), t);
|
|
3320
|
+
}
|
|
3321
|
+
/** Get all contents */
|
|
3322
|
+
async getAllContents() {
|
|
3323
|
+
return this.client.get(e("/content-writing"));
|
|
3324
|
+
}
|
|
3325
|
+
/** Create content */
|
|
3326
|
+
async createContent(t) {
|
|
3327
|
+
return this.client.post(e("/content-writing"), t);
|
|
3328
|
+
}
|
|
3329
|
+
/** Get content */
|
|
3330
|
+
async getContent(t) {
|
|
3331
|
+
return this.client.get(e(`/content-writing/${t}`));
|
|
3332
|
+
}
|
|
3333
|
+
/** Delete content */
|
|
3334
|
+
async deleteContent(t) {
|
|
3335
|
+
return this.client.delete(e(`/content-writing/${t}`));
|
|
3336
|
+
}
|
|
3337
|
+
/** Get directory tree */
|
|
3338
|
+
async getDirectoryTree(t) {
|
|
3339
|
+
return this.client.get(e(`/content-writing/${t}/tree`));
|
|
3340
|
+
}
|
|
3341
|
+
/** Get content stats */
|
|
3342
|
+
async getContentStats(t) {
|
|
3343
|
+
return this.client.get(e(`/content-writing/${t}/stats`));
|
|
3344
|
+
}
|
|
3345
|
+
/** Get all scripts */
|
|
3346
|
+
async getAllScripts() {
|
|
3347
|
+
return this.client.get(e("/content-writing/scripts"));
|
|
3348
|
+
}
|
|
3349
|
+
/** Get all prose */
|
|
3350
|
+
async getAllProse() {
|
|
3351
|
+
return this.client.get(e("/content-writing/prose"));
|
|
3352
|
+
}
|
|
3353
|
+
/** Get all novels */
|
|
3354
|
+
async getAllNovels() {
|
|
3355
|
+
return this.client.get(e("/content-writing/novels"));
|
|
3356
|
+
}
|
|
3357
|
+
/** Get all articles */
|
|
3358
|
+
async getAllArticles() {
|
|
3359
|
+
return this.client.get(e("/content-writing/articles"));
|
|
3360
|
+
}
|
|
3361
|
+
}
|
|
3362
|
+
function Rn(n) {
|
|
3363
|
+
return new _n(n);
|
|
3364
|
+
}
|
|
3365
|
+
class Tn {
|
|
3022
3366
|
constructor(t) {
|
|
3023
3367
|
this.client = t;
|
|
3024
3368
|
}
|
|
@@ -3035,16 +3379,16 @@ class Bi {
|
|
|
3035
3379
|
return this.client.post(e(`/comments/${t}/unlike`));
|
|
3036
3380
|
}
|
|
3037
3381
|
/** Reply to a comment */
|
|
3038
|
-
async reply(t,
|
|
3039
|
-
return this.client.post(e(`/comments/${t}/reply`),
|
|
3382
|
+
async reply(t, i) {
|
|
3383
|
+
return this.client.post(e(`/comments/${t}/reply`), i);
|
|
3040
3384
|
}
|
|
3041
3385
|
/** Like a comment */
|
|
3042
3386
|
async like(t) {
|
|
3043
3387
|
return this.client.post(e(`/comments/${t}/like`));
|
|
3044
3388
|
}
|
|
3045
3389
|
/** Get comments by page */
|
|
3046
|
-
async listByPage(t,
|
|
3047
|
-
return this.client.post(e("/comments/list"), t,
|
|
3390
|
+
async listByPage(t, i) {
|
|
3391
|
+
return this.client.post(e("/comments/list"), t, i);
|
|
3048
3392
|
}
|
|
3049
3393
|
/** Get all comments */
|
|
3050
3394
|
async listAllEntities(t) {
|
|
@@ -3059,10 +3403,10 @@ class Bi {
|
|
|
3059
3403
|
return this.client.delete(e(`/comments/${t}`));
|
|
3060
3404
|
}
|
|
3061
3405
|
}
|
|
3062
|
-
function
|
|
3063
|
-
return new
|
|
3406
|
+
function Mn(n) {
|
|
3407
|
+
return new Tn(n);
|
|
3064
3408
|
}
|
|
3065
|
-
class
|
|
3409
|
+
class zn {
|
|
3066
3410
|
constructor(t) {
|
|
3067
3411
|
this.client = t;
|
|
3068
3412
|
}
|
|
@@ -3075,8 +3419,8 @@ class vi {
|
|
|
3075
3419
|
return this.client.post(e("/column"), t);
|
|
3076
3420
|
}
|
|
3077
3421
|
/** Get columns by page */
|
|
3078
|
-
async listByPage(t,
|
|
3079
|
-
return this.client.post(e("/column/list"), t,
|
|
3422
|
+
async listByPage(t, i) {
|
|
3423
|
+
return this.client.post(e("/column/list"), t, i);
|
|
3080
3424
|
}
|
|
3081
3425
|
/** Get all columns */
|
|
3082
3426
|
async listAllEntities(t) {
|
|
@@ -3091,10 +3435,10 @@ class vi {
|
|
|
3091
3435
|
return this.client.delete(e(`/column/${t}`));
|
|
3092
3436
|
}
|
|
3093
3437
|
}
|
|
3094
|
-
function
|
|
3095
|
-
return new
|
|
3438
|
+
function Sn(n) {
|
|
3439
|
+
return new zn(n);
|
|
3096
3440
|
}
|
|
3097
|
-
class
|
|
3441
|
+
class Dn {
|
|
3098
3442
|
constructor(t) {
|
|
3099
3443
|
this.client = t;
|
|
3100
3444
|
}
|
|
@@ -3107,8 +3451,8 @@ class ki {
|
|
|
3107
3451
|
return this.client.post(e("/collection"), t);
|
|
3108
3452
|
}
|
|
3109
3453
|
/** Get collections by page */
|
|
3110
|
-
async listByPage(t,
|
|
3111
|
-
return this.client.post(e("/collection/list"), t,
|
|
3454
|
+
async listByPage(t, i) {
|
|
3455
|
+
return this.client.post(e("/collection/list"), t, i);
|
|
3112
3456
|
}
|
|
3113
3457
|
/** Get all collections */
|
|
3114
3458
|
async listAllEntities(t) {
|
|
@@ -3123,10 +3467,10 @@ class ki {
|
|
|
3123
3467
|
return this.client.delete(e(`/collection/${t}`));
|
|
3124
3468
|
}
|
|
3125
3469
|
}
|
|
3126
|
-
function
|
|
3127
|
-
return new
|
|
3470
|
+
function Un(n) {
|
|
3471
|
+
return new Dn(n);
|
|
3128
3472
|
}
|
|
3129
|
-
class
|
|
3473
|
+
class Fn {
|
|
3130
3474
|
constructor(t) {
|
|
3131
3475
|
this.client = t;
|
|
3132
3476
|
}
|
|
@@ -3139,8 +3483,8 @@ class Ei {
|
|
|
3139
3483
|
return this.client.post(e("/collection-item"), t);
|
|
3140
3484
|
}
|
|
3141
3485
|
/** Get collection items by page */
|
|
3142
|
-
async listByPage(t,
|
|
3143
|
-
return this.client.post(e("/collection-item/list"), t,
|
|
3486
|
+
async listByPage(t, i) {
|
|
3487
|
+
return this.client.post(e("/collection-item/list"), t, i);
|
|
3144
3488
|
}
|
|
3145
3489
|
/** Get all collection items */
|
|
3146
3490
|
async listAllEntities(t) {
|
|
@@ -3155,10 +3499,10 @@ class Ei {
|
|
|
3155
3499
|
return this.client.delete(e(`/collection-item/${t}`));
|
|
3156
3500
|
}
|
|
3157
3501
|
}
|
|
3158
|
-
function
|
|
3159
|
-
return new
|
|
3502
|
+
function Vn(n) {
|
|
3503
|
+
return new Fn(n);
|
|
3160
3504
|
}
|
|
3161
|
-
class
|
|
3505
|
+
class Gn {
|
|
3162
3506
|
constructor(t) {
|
|
3163
3507
|
this.client = t;
|
|
3164
3508
|
}
|
|
@@ -3171,8 +3515,8 @@ class bi {
|
|
|
3171
3515
|
return this.client.post(e("/character"), t);
|
|
3172
3516
|
}
|
|
3173
3517
|
/** Get characters by page */
|
|
3174
|
-
async listByPage(t,
|
|
3175
|
-
return this.client.post(e("/character/list"), t,
|
|
3518
|
+
async listByPage(t, i) {
|
|
3519
|
+
return this.client.post(e("/character/list"), t, i);
|
|
3176
3520
|
}
|
|
3177
3521
|
/** Get all characters */
|
|
3178
3522
|
async listAllEntities(t) {
|
|
@@ -3187,10 +3531,42 @@ class bi {
|
|
|
3187
3531
|
return this.client.delete(e(`/character/${t}`));
|
|
3188
3532
|
}
|
|
3189
3533
|
}
|
|
3190
|
-
function
|
|
3191
|
-
return new
|
|
3534
|
+
function xn(n) {
|
|
3535
|
+
return new Gn(n);
|
|
3192
3536
|
}
|
|
3193
|
-
class
|
|
3537
|
+
class Kn {
|
|
3538
|
+
constructor(t) {
|
|
3539
|
+
this.client = t;
|
|
3540
|
+
}
|
|
3541
|
+
/** Update channel */
|
|
3542
|
+
async update(t) {
|
|
3543
|
+
return this.client.put(e("/channel"), t);
|
|
3544
|
+
}
|
|
3545
|
+
/** Create channel */
|
|
3546
|
+
async create(t) {
|
|
3547
|
+
return this.client.post(e("/channel"), t);
|
|
3548
|
+
}
|
|
3549
|
+
/** List channels by page */
|
|
3550
|
+
async listByPage(t, i) {
|
|
3551
|
+
return this.client.post(e("/channel/list"), t, i);
|
|
3552
|
+
}
|
|
3553
|
+
/** List all channels */
|
|
3554
|
+
async listAllEntities(t) {
|
|
3555
|
+
return this.client.post(e("/channel/list/all"), t);
|
|
3556
|
+
}
|
|
3557
|
+
/** Get channel by ID */
|
|
3558
|
+
async getById(t) {
|
|
3559
|
+
return this.client.get(e(`/channel/${t}`));
|
|
3560
|
+
}
|
|
3561
|
+
/** Delete channel */
|
|
3562
|
+
async delete(t) {
|
|
3563
|
+
return this.client.delete(e(`/channel/${t}`));
|
|
3564
|
+
}
|
|
3565
|
+
}
|
|
3566
|
+
function Hn(n) {
|
|
3567
|
+
return new Kn(n);
|
|
3568
|
+
}
|
|
3569
|
+
class Ln {
|
|
3194
3570
|
constructor(t) {
|
|
3195
3571
|
this.client = t;
|
|
3196
3572
|
}
|
|
@@ -3203,8 +3579,8 @@ class Ri {
|
|
|
3203
3579
|
return this.client.post(e("/channel/resource"), t);
|
|
3204
3580
|
}
|
|
3205
3581
|
/** Get channel resources by page */
|
|
3206
|
-
async listByPage(t,
|
|
3207
|
-
return this.client.post(e("/channel/resource/list"), t,
|
|
3582
|
+
async listByPage(t, i) {
|
|
3583
|
+
return this.client.post(e("/channel/resource/list"), t, i);
|
|
3208
3584
|
}
|
|
3209
3585
|
/** Get all channel resources */
|
|
3210
3586
|
async listAllEntities(t) {
|
|
@@ -3219,10 +3595,42 @@ class Ri {
|
|
|
3219
3595
|
return this.client.delete(e(`/channel/resource/${t}`));
|
|
3220
3596
|
}
|
|
3221
3597
|
}
|
|
3222
|
-
function
|
|
3223
|
-
return new
|
|
3598
|
+
function On(n) {
|
|
3599
|
+
return new Ln(n);
|
|
3224
3600
|
}
|
|
3225
|
-
class
|
|
3601
|
+
class jn {
|
|
3602
|
+
constructor(t) {
|
|
3603
|
+
this.client = t;
|
|
3604
|
+
}
|
|
3605
|
+
/** Update channel proxy */
|
|
3606
|
+
async update(t) {
|
|
3607
|
+
return this.client.put(e("/channel/proxy"), t);
|
|
3608
|
+
}
|
|
3609
|
+
/** Create channel proxy */
|
|
3610
|
+
async create(t) {
|
|
3611
|
+
return this.client.post(e("/channel/proxy"), t);
|
|
3612
|
+
}
|
|
3613
|
+
/** List channel proxies by page */
|
|
3614
|
+
async listByPage(t, i) {
|
|
3615
|
+
return this.client.post(e("/channel/proxy/list"), t, i);
|
|
3616
|
+
}
|
|
3617
|
+
/** List all channel proxies */
|
|
3618
|
+
async listAllEntities(t) {
|
|
3619
|
+
return this.client.post(e("/channel/proxy/list/all"), t);
|
|
3620
|
+
}
|
|
3621
|
+
/** Get channel proxy by ID */
|
|
3622
|
+
async getById(t) {
|
|
3623
|
+
return this.client.get(e(`/channel/proxy/${t}`));
|
|
3624
|
+
}
|
|
3625
|
+
/** Delete channel proxy */
|
|
3626
|
+
async delete(t) {
|
|
3627
|
+
return this.client.delete(e(`/channel/proxy/${t}`));
|
|
3628
|
+
}
|
|
3629
|
+
}
|
|
3630
|
+
function Yn(n) {
|
|
3631
|
+
return new jn(n);
|
|
3632
|
+
}
|
|
3633
|
+
class qn {
|
|
3226
3634
|
constructor(t) {
|
|
3227
3635
|
this.client = t;
|
|
3228
3636
|
}
|
|
@@ -3255,8 +3663,8 @@ class zi {
|
|
|
3255
3663
|
return this.client.post(e("/channel/account/list_mini_program"), t);
|
|
3256
3664
|
}
|
|
3257
3665
|
/** Get channel accounts by page */
|
|
3258
|
-
async listByPage(t,
|
|
3259
|
-
return this.client.post(e("/channel/account/list"), t,
|
|
3666
|
+
async listByPage(t, i) {
|
|
3667
|
+
return this.client.post(e("/channel/account/list"), t, i);
|
|
3260
3668
|
}
|
|
3261
3669
|
/** Get all channel accounts */
|
|
3262
3670
|
async listAllEntities(t) {
|
|
@@ -3271,10 +3679,10 @@ class zi {
|
|
|
3271
3679
|
return this.client.delete(e(`/channel/account/${t}`));
|
|
3272
3680
|
}
|
|
3273
3681
|
}
|
|
3274
|
-
function
|
|
3275
|
-
return new
|
|
3682
|
+
function Nn(n) {
|
|
3683
|
+
return new qn(n);
|
|
3276
3684
|
}
|
|
3277
|
-
class
|
|
3685
|
+
class Wn {
|
|
3278
3686
|
constructor(t) {
|
|
3279
3687
|
this.client = t;
|
|
3280
3688
|
}
|
|
@@ -3287,16 +3695,16 @@ class Si {
|
|
|
3287
3695
|
return this.client.post(e("/category"), t);
|
|
3288
3696
|
}
|
|
3289
3697
|
/** Get categories by page */
|
|
3290
|
-
async listByPage(t,
|
|
3291
|
-
return this.client.post(e("/category/list"), t,
|
|
3698
|
+
async listByPage(t, i) {
|
|
3699
|
+
return this.client.post(e("/category/list"), t, i);
|
|
3292
3700
|
}
|
|
3293
3701
|
/** Get all categories */
|
|
3294
3702
|
async listAllEntities(t) {
|
|
3295
3703
|
return this.client.post(e("/category/list/all"), t);
|
|
3296
3704
|
}
|
|
3297
3705
|
/** Get Tree */
|
|
3298
|
-
async getTree(t,
|
|
3299
|
-
return this.client.post(e("/category/get_tree"), t,
|
|
3706
|
+
async getTree(t, i) {
|
|
3707
|
+
return this.client.post(e("/category/get_tree"), t, i);
|
|
3300
3708
|
}
|
|
3301
3709
|
/** Get a category by ID */
|
|
3302
3710
|
async getById(t) {
|
|
@@ -3307,10 +3715,10 @@ class Si {
|
|
|
3307
3715
|
return this.client.delete(e(`/category/${t}`));
|
|
3308
3716
|
}
|
|
3309
3717
|
}
|
|
3310
|
-
function
|
|
3311
|
-
return new
|
|
3718
|
+
function Qn(n) {
|
|
3719
|
+
return new Wn(n);
|
|
3312
3720
|
}
|
|
3313
|
-
class
|
|
3721
|
+
class Xn {
|
|
3314
3722
|
constructor(t) {
|
|
3315
3723
|
this.client = t;
|
|
3316
3724
|
}
|
|
@@ -3323,8 +3731,8 @@ class Ui {
|
|
|
3323
3731
|
return this.client.post(e("/card"), t);
|
|
3324
3732
|
}
|
|
3325
3733
|
/** Get membership cards by page */
|
|
3326
|
-
async listByPage(t,
|
|
3327
|
-
return this.client.post(e("/card/list"), t,
|
|
3734
|
+
async listByPage(t, i) {
|
|
3735
|
+
return this.client.post(e("/card/list"), t, i);
|
|
3328
3736
|
}
|
|
3329
3737
|
/** Get all membership cards */
|
|
3330
3738
|
async listAllEntities(t) {
|
|
@@ -3339,10 +3747,10 @@ class Ui {
|
|
|
3339
3747
|
return this.client.delete(e(`/card/${t}`));
|
|
3340
3748
|
}
|
|
3341
3749
|
}
|
|
3342
|
-
function
|
|
3343
|
-
return new
|
|
3750
|
+
function Jn(n) {
|
|
3751
|
+
return new Xn(n);
|
|
3344
3752
|
}
|
|
3345
|
-
class
|
|
3753
|
+
class Zn {
|
|
3346
3754
|
constructor(t) {
|
|
3347
3755
|
this.client = t;
|
|
3348
3756
|
}
|
|
@@ -3355,8 +3763,8 @@ class Fi {
|
|
|
3355
3763
|
return this.client.post(e("/card/template"), t);
|
|
3356
3764
|
}
|
|
3357
3765
|
/** Get card templates by page */
|
|
3358
|
-
async listByPage(t,
|
|
3359
|
-
return this.client.post(e("/card/template/list"), t,
|
|
3766
|
+
async listByPage(t, i) {
|
|
3767
|
+
return this.client.post(e("/card/template/list"), t, i);
|
|
3360
3768
|
}
|
|
3361
3769
|
/** Get all card templates */
|
|
3362
3770
|
async listAllEntities(t) {
|
|
@@ -3371,10 +3779,10 @@ class Fi {
|
|
|
3371
3779
|
return this.client.delete(e(`/card/template/${t}`));
|
|
3372
3780
|
}
|
|
3373
3781
|
}
|
|
3374
|
-
function
|
|
3375
|
-
return new
|
|
3782
|
+
function ti(n) {
|
|
3783
|
+
return new Zn(n);
|
|
3376
3784
|
}
|
|
3377
|
-
class
|
|
3785
|
+
class ei {
|
|
3378
3786
|
constructor(t) {
|
|
3379
3787
|
this.client = t;
|
|
3380
3788
|
}
|
|
@@ -3387,8 +3795,8 @@ class Ki {
|
|
|
3387
3795
|
return this.client.post(e("/attribute"), t);
|
|
3388
3796
|
}
|
|
3389
3797
|
/** Get attributes by page */
|
|
3390
|
-
async listByPage(t,
|
|
3391
|
-
return this.client.post(e("/attribute/list"), t,
|
|
3798
|
+
async listByPage(t, i) {
|
|
3799
|
+
return this.client.post(e("/attribute/list"), t, i);
|
|
3392
3800
|
}
|
|
3393
3801
|
/** Get all attributes */
|
|
3394
3802
|
async listAllEntities(t) {
|
|
@@ -3403,10 +3811,10 @@ class Ki {
|
|
|
3403
3811
|
return this.client.delete(e(`/attribute/${t}`));
|
|
3404
3812
|
}
|
|
3405
3813
|
}
|
|
3406
|
-
function
|
|
3407
|
-
return new
|
|
3814
|
+
function ni(n) {
|
|
3815
|
+
return new ei(n);
|
|
3408
3816
|
}
|
|
3409
|
-
class
|
|
3817
|
+
class ii {
|
|
3410
3818
|
constructor(t) {
|
|
3411
3819
|
this.client = t;
|
|
3412
3820
|
}
|
|
@@ -3419,8 +3827,8 @@ class Oi {
|
|
|
3419
3827
|
return this.client.post(e("/article"), t);
|
|
3420
3828
|
}
|
|
3421
3829
|
/** Get AI articles by page */
|
|
3422
|
-
async listByPage(t,
|
|
3423
|
-
return this.client.post(e("/article/list"), t,
|
|
3830
|
+
async listByPage(t, i) {
|
|
3831
|
+
return this.client.post(e("/article/list"), t, i);
|
|
3424
3832
|
}
|
|
3425
3833
|
/** Get all AI articles */
|
|
3426
3834
|
async listAllEntities(t) {
|
|
@@ -3435,10 +3843,10 @@ class Oi {
|
|
|
3435
3843
|
return this.client.delete(e(`/article/${t}`));
|
|
3436
3844
|
}
|
|
3437
3845
|
}
|
|
3438
|
-
function
|
|
3439
|
-
return new
|
|
3846
|
+
function si(n) {
|
|
3847
|
+
return new ii(n);
|
|
3440
3848
|
}
|
|
3441
|
-
class
|
|
3849
|
+
class ri {
|
|
3442
3850
|
constructor(t) {
|
|
3443
3851
|
this.client = t;
|
|
3444
3852
|
}
|
|
@@ -3451,13 +3859,17 @@ class Yi {
|
|
|
3451
3859
|
return this.client.post(e("/app"), t);
|
|
3452
3860
|
}
|
|
3453
3861
|
/** Get applications by page */
|
|
3454
|
-
async listByPage(t,
|
|
3455
|
-
return this.client.post(e("/app/list"), t,
|
|
3862
|
+
async listByPage(t, i) {
|
|
3863
|
+
return this.client.post(e("/app/list"), t, i);
|
|
3456
3864
|
}
|
|
3457
3865
|
/** Get all applications */
|
|
3458
3866
|
async listAllEntities(t) {
|
|
3459
3867
|
return this.client.post(e("/app/list/all"), t);
|
|
3460
3868
|
}
|
|
3869
|
+
/** Get app SDK config */
|
|
3870
|
+
async getSdkConfig(t) {
|
|
3871
|
+
return this.client.post(e("/app/get_sdk_config"), t);
|
|
3872
|
+
}
|
|
3461
3873
|
/** Get application by ID */
|
|
3462
3874
|
async getById(t) {
|
|
3463
3875
|
return this.client.get(e(`/app/${t}`));
|
|
@@ -3466,11 +3878,15 @@ class Yi {
|
|
|
3466
3878
|
async delete(t) {
|
|
3467
3879
|
return this.client.delete(e(`/app/${t}`));
|
|
3468
3880
|
}
|
|
3881
|
+
/** Get app info */
|
|
3882
|
+
async getAppInfo() {
|
|
3883
|
+
return this.client.get(e("/app/info"));
|
|
3884
|
+
}
|
|
3469
3885
|
}
|
|
3470
|
-
function
|
|
3471
|
-
return new
|
|
3886
|
+
function ci(n) {
|
|
3887
|
+
return new ri(n);
|
|
3472
3888
|
}
|
|
3473
|
-
class
|
|
3889
|
+
class li {
|
|
3474
3890
|
constructor(t) {
|
|
3475
3891
|
this.client = t;
|
|
3476
3892
|
}
|
|
@@ -3482,9 +3898,37 @@ class ji {
|
|
|
3482
3898
|
async create(t) {
|
|
3483
3899
|
return this.client.post(e("/apikey"), t);
|
|
3484
3900
|
}
|
|
3901
|
+
/** Get API key detail for current user */
|
|
3902
|
+
async getMy(t) {
|
|
3903
|
+
return this.client.get(e(`/apikey/my/${t}`));
|
|
3904
|
+
}
|
|
3905
|
+
/** Update API key for current user */
|
|
3906
|
+
async updateMy(t, i) {
|
|
3907
|
+
return this.client.put(e(`/apikey/my/${t}`), i);
|
|
3908
|
+
}
|
|
3909
|
+
/** Delete API key for current user */
|
|
3910
|
+
async deleteMy(t) {
|
|
3911
|
+
return this.client.delete(e(`/apikey/my/${t}`));
|
|
3912
|
+
}
|
|
3913
|
+
/** Create API key for current user */
|
|
3914
|
+
async createMy(t) {
|
|
3915
|
+
return this.client.post(e("/apikey/my"), t);
|
|
3916
|
+
}
|
|
3917
|
+
/** Rotate API key for current user */
|
|
3918
|
+
async rotateMy(t) {
|
|
3919
|
+
return this.client.post(e(`/apikey/my/${t}/rotate`));
|
|
3920
|
+
}
|
|
3921
|
+
/** Enable API key for current user */
|
|
3922
|
+
async enableMy(t) {
|
|
3923
|
+
return this.client.post(e(`/apikey/my/${t}/enable`));
|
|
3924
|
+
}
|
|
3925
|
+
/** Disable API key for current user */
|
|
3926
|
+
async disableMy(t) {
|
|
3927
|
+
return this.client.post(e(`/apikey/my/${t}/disable`));
|
|
3928
|
+
}
|
|
3485
3929
|
/** Get API keys by page */
|
|
3486
|
-
async listByPage(t,
|
|
3487
|
-
return this.client.post(e("/apikey/list"), t,
|
|
3930
|
+
async listByPage(t, i) {
|
|
3931
|
+
return this.client.post(e("/apikey/list"), t, i);
|
|
3488
3932
|
}
|
|
3489
3933
|
/** Get all API keys */
|
|
3490
3934
|
async listAllEntities(t) {
|
|
@@ -3498,11 +3942,15 @@ class ji {
|
|
|
3498
3942
|
async delete(t) {
|
|
3499
3943
|
return this.client.delete(e(`/apikey/${t}`));
|
|
3500
3944
|
}
|
|
3945
|
+
/** List API keys for current user */
|
|
3946
|
+
async listMyApiKeys() {
|
|
3947
|
+
return this.client.get(e("/apikey/my/list"));
|
|
3948
|
+
}
|
|
3501
3949
|
}
|
|
3502
|
-
function
|
|
3503
|
-
return new
|
|
3950
|
+
function ai(n) {
|
|
3951
|
+
return new li(n);
|
|
3504
3952
|
}
|
|
3505
|
-
class
|
|
3953
|
+
class oi {
|
|
3506
3954
|
constructor(t) {
|
|
3507
3955
|
this.client = t;
|
|
3508
3956
|
}
|
|
@@ -3515,12 +3963,12 @@ class Ni {
|
|
|
3515
3963
|
return this.client.post(e("/agent"), t);
|
|
3516
3964
|
}
|
|
3517
3965
|
/** Get public AI agents by page */
|
|
3518
|
-
async listPublic(t,
|
|
3519
|
-
return this.client.post(e("/agent/list_public"), t,
|
|
3966
|
+
async listPublic(t, i) {
|
|
3967
|
+
return this.client.post(e("/agent/list_public"), t, i);
|
|
3520
3968
|
}
|
|
3521
3969
|
/** Get AI agents by page */
|
|
3522
|
-
async listByPage(t,
|
|
3523
|
-
return this.client.post(e("/agent/list"), t,
|
|
3970
|
+
async listByPage(t, i) {
|
|
3971
|
+
return this.client.post(e("/agent/list"), t, i);
|
|
3524
3972
|
}
|
|
3525
3973
|
/** Get all AI agents */
|
|
3526
3974
|
async listAllEntities(t) {
|
|
@@ -3535,10 +3983,10 @@ class Ni {
|
|
|
3535
3983
|
return this.client.delete(e(`/agent/${t}`));
|
|
3536
3984
|
}
|
|
3537
3985
|
}
|
|
3538
|
-
function
|
|
3539
|
-
return new
|
|
3986
|
+
function ui(n) {
|
|
3987
|
+
return new oi(n);
|
|
3540
3988
|
}
|
|
3541
|
-
class
|
|
3989
|
+
class hi {
|
|
3542
3990
|
constructor(t) {
|
|
3543
3991
|
this.client = t;
|
|
3544
3992
|
}
|
|
@@ -3551,8 +3999,8 @@ class Xi {
|
|
|
3551
3999
|
return this.client.post(e("/agent/tool"), t);
|
|
3552
4000
|
}
|
|
3553
4001
|
/** Get agent-tool relationships by page */
|
|
3554
|
-
async listByPage(t,
|
|
3555
|
-
return this.client.post(e("/agent/tool/list"), t,
|
|
4002
|
+
async listByPage(t, i) {
|
|
4003
|
+
return this.client.post(e("/agent/tool/list"), t, i);
|
|
3556
4004
|
}
|
|
3557
4005
|
/** Get all agent-tool relationships */
|
|
3558
4006
|
async listAllEntities(t) {
|
|
@@ -3567,10 +4015,10 @@ class Xi {
|
|
|
3567
4015
|
return this.client.delete(e(`/agent/tool/${t}`));
|
|
3568
4016
|
}
|
|
3569
4017
|
}
|
|
3570
|
-
function
|
|
3571
|
-
return new
|
|
4018
|
+
function pi(n) {
|
|
4019
|
+
return new hi(n);
|
|
3572
4020
|
}
|
|
3573
|
-
class
|
|
4021
|
+
class yi {
|
|
3574
4022
|
constructor(t) {
|
|
3575
4023
|
this.client = t;
|
|
3576
4024
|
}
|
|
@@ -3583,8 +4031,8 @@ class Qi {
|
|
|
3583
4031
|
return this.client.post(e("/account"), t);
|
|
3584
4032
|
}
|
|
3585
4033
|
/** Get accounts by page */
|
|
3586
|
-
async listByPage(t,
|
|
3587
|
-
return this.client.post(e("/account/list"), t,
|
|
4034
|
+
async listByPage(t, i) {
|
|
4035
|
+
return this.client.post(e("/account/list"), t, i);
|
|
3588
4036
|
}
|
|
3589
4037
|
/** Get all accounts */
|
|
3590
4038
|
async listAllEntities(t) {
|
|
@@ -3607,10 +4055,10 @@ class Qi {
|
|
|
3607
4055
|
return this.client.delete(e(`/account/${t}`));
|
|
3608
4056
|
}
|
|
3609
4057
|
}
|
|
3610
|
-
function
|
|
3611
|
-
return new
|
|
4058
|
+
function di(n) {
|
|
4059
|
+
return new yi(n);
|
|
3612
4060
|
}
|
|
3613
|
-
class
|
|
4061
|
+
class gi {
|
|
3614
4062
|
constructor(t) {
|
|
3615
4063
|
this.client = t;
|
|
3616
4064
|
}
|
|
@@ -3623,8 +4071,8 @@ class tn {
|
|
|
3623
4071
|
return this.client.post(e("/account/history"), t);
|
|
3624
4072
|
}
|
|
3625
4073
|
/** Get account history records by page */
|
|
3626
|
-
async listByPage(t,
|
|
3627
|
-
return this.client.post(e("/account/history/list"), t,
|
|
4074
|
+
async listByPage(t, i) {
|
|
4075
|
+
return this.client.post(e("/account/history/list"), t, i);
|
|
3628
4076
|
}
|
|
3629
4077
|
/** Get all account history records */
|
|
3630
4078
|
async listAllEntities(t) {
|
|
@@ -3639,25 +4087,57 @@ class tn {
|
|
|
3639
4087
|
return this.client.delete(e(`/account/history/${t}`));
|
|
3640
4088
|
}
|
|
3641
4089
|
}
|
|
3642
|
-
function
|
|
3643
|
-
return new
|
|
4090
|
+
function Ai(n) {
|
|
4091
|
+
return new gi(n);
|
|
3644
4092
|
}
|
|
3645
|
-
class
|
|
4093
|
+
class mi {
|
|
3646
4094
|
constructor(t) {
|
|
3647
4095
|
this.client = t;
|
|
3648
4096
|
}
|
|
3649
|
-
|
|
3650
|
-
|
|
4097
|
+
/** Get points-to-cash rate */
|
|
4098
|
+
async getPointsToCashRate() {
|
|
4099
|
+
return this.client.get(e("/account/exchange-config/points-cash-rate"));
|
|
4100
|
+
}
|
|
4101
|
+
/** Update points-to-cash rate */
|
|
4102
|
+
async updatePointsToCashRate(t) {
|
|
4103
|
+
return this.client.put(e("/account/exchange-config/points-cash-rate"), t);
|
|
4104
|
+
}
|
|
4105
|
+
}
|
|
4106
|
+
function fi(n) {
|
|
4107
|
+
return new mi(n);
|
|
4108
|
+
}
|
|
4109
|
+
class $i {
|
|
4110
|
+
constructor(t) {
|
|
4111
|
+
this.client = t;
|
|
4112
|
+
}
|
|
4113
|
+
/** Apply invoice */
|
|
4114
|
+
async apply(t) {
|
|
4115
|
+
return this.client.post(e("/system/invoice/apply"), t);
|
|
4116
|
+
}
|
|
4117
|
+
/** Query invoice page */
|
|
4118
|
+
async listByPage(t) {
|
|
4119
|
+
return this.client.get(e("/system/invoice/page"), t);
|
|
4120
|
+
}
|
|
4121
|
+
}
|
|
4122
|
+
function Ci(n) {
|
|
4123
|
+
return new $i(n);
|
|
4124
|
+
}
|
|
4125
|
+
class Bi {
|
|
4126
|
+
constructor(t) {
|
|
4127
|
+
this.client = t;
|
|
4128
|
+
}
|
|
4129
|
+
async stop(t, i) {
|
|
4130
|
+
return this.client.post(e("/search/chat/stop"), void 0, t, i);
|
|
3651
4131
|
}
|
|
3652
4132
|
/** Create a chat completion with Search */
|
|
3653
|
-
async create(t,
|
|
3654
|
-
return this.client.post(e("/search/chat/completions"), t,
|
|
4133
|
+
async create(t, i, s) {
|
|
4134
|
+
return this.client.post(e("/search/chat/completions"), t, i, s);
|
|
3655
4135
|
}
|
|
3656
4136
|
}
|
|
3657
|
-
function
|
|
3658
|
-
return new
|
|
4137
|
+
function vi(n) {
|
|
4138
|
+
return new Bi(n);
|
|
3659
4139
|
}
|
|
3660
|
-
class
|
|
4140
|
+
class ki {
|
|
3661
4141
|
constructor(t) {
|
|
3662
4142
|
this.client = t;
|
|
3663
4143
|
}
|
|
@@ -3666,100 +4146,104 @@ class rn {
|
|
|
3666
4146
|
return this.client.post(e("/ppt/template/render"), t);
|
|
3667
4147
|
}
|
|
3668
4148
|
}
|
|
3669
|
-
function
|
|
3670
|
-
return new
|
|
4149
|
+
function Pi(n) {
|
|
4150
|
+
return new ki(n);
|
|
3671
4151
|
}
|
|
3672
|
-
class
|
|
4152
|
+
class wi {
|
|
3673
4153
|
constructor(t) {
|
|
3674
4154
|
this.client = t;
|
|
3675
4155
|
}
|
|
3676
|
-
async stop(t) {
|
|
3677
|
-
return this.client.post(e("/ppt/template/chat/stop"), void 0,
|
|
4156
|
+
async stop(t, i) {
|
|
4157
|
+
return this.client.post(e("/ppt/template/chat/stop"), void 0, t, i);
|
|
3678
4158
|
}
|
|
3679
4159
|
/** Create a chat completion with PPT template */
|
|
3680
|
-
async create(t,
|
|
3681
|
-
return this.client.post(e("/ppt/template/chat/completions"), t,
|
|
4160
|
+
async create(t, i, s) {
|
|
4161
|
+
return this.client.post(e("/ppt/template/chat/completions"), t, i, s);
|
|
3682
4162
|
}
|
|
3683
4163
|
}
|
|
3684
|
-
function
|
|
3685
|
-
return new
|
|
4164
|
+
function bi(n) {
|
|
4165
|
+
return new wi(n);
|
|
3686
4166
|
}
|
|
3687
|
-
class
|
|
4167
|
+
class Ei {
|
|
3688
4168
|
constructor(t) {
|
|
3689
4169
|
this.client = t;
|
|
3690
4170
|
}
|
|
3691
|
-
/**
|
|
4171
|
+
/** List files */
|
|
3692
4172
|
async listFiles(t) {
|
|
3693
4173
|
return this.client.get(e("/knowledge_base/files"), t);
|
|
3694
4174
|
}
|
|
3695
|
-
/**
|
|
3696
|
-
async uploadFile(t,
|
|
3697
|
-
return this.client.post(e("/knowledge_base/files"), t,
|
|
4175
|
+
/** Upload file */
|
|
4176
|
+
async uploadFile(t, i) {
|
|
4177
|
+
return this.client.post(e("/knowledge_base/files"), t, i);
|
|
3698
4178
|
}
|
|
3699
|
-
/**
|
|
4179
|
+
/** List files */
|
|
3700
4180
|
async getListFiles(t) {
|
|
3701
4181
|
return this.client.get(e("/disk/files"), t);
|
|
3702
4182
|
}
|
|
3703
|
-
/**
|
|
3704
|
-
async createUploadFile(t,
|
|
3705
|
-
return this.client.post(e("/disk/files"), t,
|
|
4183
|
+
/** Upload file */
|
|
4184
|
+
async createUploadFile(t, i) {
|
|
4185
|
+
return this.client.post(e("/disk/files"), t, i);
|
|
3706
4186
|
}
|
|
3707
|
-
/**
|
|
4187
|
+
/** Get file */
|
|
3708
4188
|
async getFile(t) {
|
|
3709
4189
|
return this.client.get(e(`/knowledge_base/files/${t}`));
|
|
3710
4190
|
}
|
|
3711
|
-
/**
|
|
4191
|
+
/** Delete file */
|
|
3712
4192
|
async deleteFile(t) {
|
|
3713
4193
|
return this.client.delete(e(`/knowledge_base/files/${t}`));
|
|
3714
4194
|
}
|
|
3715
|
-
/**
|
|
4195
|
+
/** Get file content */
|
|
3716
4196
|
async getFileContent(t) {
|
|
3717
4197
|
return this.client.get(e(`/knowledge_base/files/${t}/content`));
|
|
3718
4198
|
}
|
|
3719
|
-
/**
|
|
4199
|
+
/** Get file */
|
|
3720
4200
|
async getFileDisk(t) {
|
|
3721
4201
|
return this.client.get(e(`/disk/files/${t}`));
|
|
3722
4202
|
}
|
|
3723
|
-
/**
|
|
4203
|
+
/** Delete file */
|
|
3724
4204
|
async deleteFileDisk(t) {
|
|
3725
4205
|
return this.client.delete(e(`/disk/files/${t}`));
|
|
3726
4206
|
}
|
|
3727
|
-
/**
|
|
4207
|
+
/** Get file content */
|
|
3728
4208
|
async getFileContentDisk(t) {
|
|
3729
4209
|
return this.client.get(e(`/disk/files/${t}/content`));
|
|
3730
4210
|
}
|
|
3731
4211
|
}
|
|
3732
|
-
function
|
|
3733
|
-
return new
|
|
4212
|
+
function Ii(n) {
|
|
4213
|
+
return new Ei(n);
|
|
3734
4214
|
}
|
|
3735
|
-
class
|
|
4215
|
+
class _i {
|
|
3736
4216
|
constructor(t) {
|
|
3737
4217
|
this.client = t;
|
|
3738
4218
|
}
|
|
3739
|
-
async stop(t) {
|
|
3740
|
-
return this.client.post(e("/knowledge_base/chat/stop"), void 0,
|
|
4219
|
+
async stop(t, i) {
|
|
4220
|
+
return this.client.post(e("/knowledge_base/chat/stop"), void 0, t, i);
|
|
3741
4221
|
}
|
|
3742
4222
|
/** Create a chat completion with Knowledge base */
|
|
3743
|
-
async create(t,
|
|
3744
|
-
return this.client.post(e("/knowledge_base/chat/completions"), t,
|
|
4223
|
+
async create(t, i, s) {
|
|
4224
|
+
return this.client.post(e("/knowledge_base/chat/completions"), t, i, s);
|
|
3745
4225
|
}
|
|
3746
4226
|
}
|
|
3747
|
-
function
|
|
3748
|
-
return new
|
|
4227
|
+
function Ri(n) {
|
|
4228
|
+
return new _i(n);
|
|
3749
4229
|
}
|
|
3750
|
-
class
|
|
4230
|
+
class Ti {
|
|
3751
4231
|
constructor(t) {
|
|
3752
4232
|
this.client = t;
|
|
3753
4233
|
}
|
|
4234
|
+
/** Mark conversation messages as read */
|
|
4235
|
+
async markRead(t) {
|
|
4236
|
+
return this.client.post(e("/im/message/mark_read"), t);
|
|
4237
|
+
}
|
|
3754
4238
|
/** Get messages by page */
|
|
3755
|
-
async listByPage(t,
|
|
3756
|
-
return this.client.post(e("/im/message/list"), t,
|
|
4239
|
+
async listByPage(t, i) {
|
|
4240
|
+
return this.client.post(e("/im/message/list"), t, i);
|
|
3757
4241
|
}
|
|
3758
4242
|
}
|
|
3759
|
-
function
|
|
3760
|
-
return new
|
|
4243
|
+
function Mi(n) {
|
|
4244
|
+
return new Ti(n);
|
|
3761
4245
|
}
|
|
3762
|
-
class
|
|
4246
|
+
class zi {
|
|
3763
4247
|
constructor(t) {
|
|
3764
4248
|
this.client = t;
|
|
3765
4249
|
}
|
|
@@ -3772,10 +4256,10 @@ class gn {
|
|
|
3772
4256
|
return this.client.get(e(`/generation/voice-speaker/result/${t}`));
|
|
3773
4257
|
}
|
|
3774
4258
|
}
|
|
3775
|
-
function
|
|
3776
|
-
return new
|
|
4259
|
+
function Si(n) {
|
|
4260
|
+
return new zi(n);
|
|
3777
4261
|
}
|
|
3778
|
-
class
|
|
4262
|
+
class Di {
|
|
3779
4263
|
constructor(t) {
|
|
3780
4264
|
this.client = t;
|
|
3781
4265
|
}
|
|
@@ -3788,10 +4272,10 @@ class mn {
|
|
|
3788
4272
|
return this.client.get(e(`/generation/video/result/${t}`));
|
|
3789
4273
|
}
|
|
3790
4274
|
}
|
|
3791
|
-
function
|
|
3792
|
-
return new
|
|
4275
|
+
function Ui(n) {
|
|
4276
|
+
return new Di(n);
|
|
3793
4277
|
}
|
|
3794
|
-
class
|
|
4278
|
+
class Fi {
|
|
3795
4279
|
constructor(t) {
|
|
3796
4280
|
this.client = t;
|
|
3797
4281
|
}
|
|
@@ -3804,10 +4288,10 @@ class $n {
|
|
|
3804
4288
|
return this.client.get(e(`/generation/music/result/${t}`));
|
|
3805
4289
|
}
|
|
3806
4290
|
}
|
|
3807
|
-
function
|
|
3808
|
-
return new
|
|
4291
|
+
function Vi(n) {
|
|
4292
|
+
return new Fi(n);
|
|
3809
4293
|
}
|
|
3810
|
-
class
|
|
4294
|
+
class Gi {
|
|
3811
4295
|
constructor(t) {
|
|
3812
4296
|
this.client = t;
|
|
3813
4297
|
}
|
|
@@ -3820,10 +4304,10 @@ class Cn {
|
|
|
3820
4304
|
return this.client.get(e(`/generation/image/result/${t}`));
|
|
3821
4305
|
}
|
|
3822
4306
|
}
|
|
3823
|
-
function
|
|
3824
|
-
return new
|
|
4307
|
+
function xi(n) {
|
|
4308
|
+
return new Gi(n);
|
|
3825
4309
|
}
|
|
3826
|
-
class
|
|
4310
|
+
class Ki {
|
|
3827
4311
|
constructor(t) {
|
|
3828
4312
|
this.client = t;
|
|
3829
4313
|
}
|
|
@@ -3836,10 +4320,10 @@ class Pn {
|
|
|
3836
4320
|
return this.client.get(e(`/generation/character/result/${t}`));
|
|
3837
4321
|
}
|
|
3838
4322
|
}
|
|
3839
|
-
function
|
|
3840
|
-
return new
|
|
4323
|
+
function Hi(n) {
|
|
4324
|
+
return new Ki(n);
|
|
3841
4325
|
}
|
|
3842
|
-
class
|
|
4326
|
+
class Li {
|
|
3843
4327
|
constructor(t) {
|
|
3844
4328
|
this.client = t;
|
|
3845
4329
|
}
|
|
@@ -3852,10 +4336,10 @@ class wn {
|
|
|
3852
4336
|
return this.client.get(e(`/generation/audio/result/${t}`));
|
|
3853
4337
|
}
|
|
3854
4338
|
}
|
|
3855
|
-
function
|
|
3856
|
-
return new
|
|
4339
|
+
function Oi(n) {
|
|
4340
|
+
return new Li(n);
|
|
3857
4341
|
}
|
|
3858
|
-
class
|
|
4342
|
+
class ji {
|
|
3859
4343
|
constructor(t) {
|
|
3860
4344
|
this.client = t;
|
|
3861
4345
|
}
|
|
@@ -3868,26 +4352,26 @@ class In {
|
|
|
3868
4352
|
return this.client.get(e(`/generation/audio-effect/result/${t}`));
|
|
3869
4353
|
}
|
|
3870
4354
|
}
|
|
3871
|
-
function
|
|
3872
|
-
return new
|
|
4355
|
+
function Yi(n) {
|
|
4356
|
+
return new ji(n);
|
|
3873
4357
|
}
|
|
3874
|
-
class
|
|
4358
|
+
class qi {
|
|
3875
4359
|
constructor(t) {
|
|
3876
4360
|
this.client = t;
|
|
3877
4361
|
}
|
|
3878
4362
|
/** Stop a chat completion stream */
|
|
3879
|
-
async stop(t) {
|
|
3880
|
-
return this.client.post(e("/chat/stop"), void 0,
|
|
4363
|
+
async stop(t, i) {
|
|
4364
|
+
return this.client.post(e("/chat/stop"), void 0, t, i);
|
|
3881
4365
|
}
|
|
3882
4366
|
/** Create a chat completion */
|
|
3883
|
-
async create(t,
|
|
3884
|
-
return this.client.post(e("/chat/completions"), t,
|
|
4367
|
+
async create(t, i, s) {
|
|
4368
|
+
return this.client.post(e("/chat/completions"), t, i, s);
|
|
3885
4369
|
}
|
|
3886
4370
|
}
|
|
3887
|
-
function
|
|
3888
|
-
return new
|
|
4371
|
+
function Ni(n) {
|
|
4372
|
+
return new qi(n);
|
|
3889
4373
|
}
|
|
3890
|
-
class
|
|
4374
|
+
class Wi {
|
|
3891
4375
|
constructor(t) {
|
|
3892
4376
|
this.client = t;
|
|
3893
4377
|
}
|
|
@@ -3903,13 +4387,13 @@ class Tn {
|
|
|
3903
4387
|
async sendVerificationCode(t) {
|
|
3904
4388
|
return this.client.post(e("/auth/verification/send_code"), t);
|
|
3905
4389
|
}
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
}
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
this.client
|
|
4390
|
+
/** Generate login QR code */
|
|
4391
|
+
async generateQrCode() {
|
|
4392
|
+
return this.client.post(e("/auth/qrcode/generate"));
|
|
4393
|
+
}
|
|
4394
|
+
/** Confirm QR login */
|
|
4395
|
+
async confirmQrCodeLogin(t) {
|
|
4396
|
+
return this.client.post(e("/auth/qrcode/confirm"), t);
|
|
3913
4397
|
}
|
|
3914
4398
|
/** Get OAuth authorization URL */
|
|
3915
4399
|
async getAuthUrl(t) {
|
|
@@ -3923,117 +4407,93 @@ class Mn {
|
|
|
3923
4407
|
async handleCallback(t) {
|
|
3924
4408
|
return this.client.post(e("/auth/oauth/callback"), t);
|
|
3925
4409
|
}
|
|
3926
|
-
|
|
3927
|
-
function Sn(i) {
|
|
3928
|
-
return new Mn(i);
|
|
3929
|
-
}
|
|
3930
|
-
class Vn {
|
|
3931
|
-
constructor(t) {
|
|
3932
|
-
this.client = t;
|
|
3933
|
-
}
|
|
3934
|
-
/** 检查用户角色 */
|
|
4410
|
+
/** Check role */
|
|
3935
4411
|
async hasRole(t) {
|
|
3936
4412
|
return this.client.post(e("/auth/authorization/has_role"), t);
|
|
3937
4413
|
}
|
|
3938
|
-
/**
|
|
4414
|
+
/** Check permission */
|
|
3939
4415
|
async hasPermission(t) {
|
|
3940
4416
|
return this.client.post(e("/auth/authorization/has_permission"), t);
|
|
3941
4417
|
}
|
|
3942
|
-
/**
|
|
3943
|
-
async getRoles() {
|
|
3944
|
-
return this.client.get(e("/auth/authorization/roles"));
|
|
3945
|
-
}
|
|
3946
|
-
/** 获取用户权限列表 */
|
|
3947
|
-
async getPermissions() {
|
|
3948
|
-
return this.client.get(e("/auth/authorization/permissions"));
|
|
3949
|
-
}
|
|
3950
|
-
}
|
|
3951
|
-
function Un(i) {
|
|
3952
|
-
return new Vn(i);
|
|
3953
|
-
}
|
|
3954
|
-
class Gn {
|
|
3955
|
-
constructor(t) {
|
|
3956
|
-
this.client = t;
|
|
3957
|
-
}
|
|
3958
|
-
/** 重置密码 */
|
|
4418
|
+
/** Reset password */
|
|
3959
4419
|
async resetPassword(t) {
|
|
3960
4420
|
return this.client.post(e("/auth/authentication/reset_password"), t);
|
|
3961
4421
|
}
|
|
3962
|
-
/**
|
|
4422
|
+
/** Request password reset */
|
|
3963
4423
|
async requestPasswordReset(t) {
|
|
3964
4424
|
return this.client.post(e("/auth/authentication/request_password_reset"), t);
|
|
3965
4425
|
}
|
|
3966
|
-
/**
|
|
4426
|
+
/** Register */
|
|
3967
4427
|
async register(t) {
|
|
3968
4428
|
return this.client.post(e("/auth/authentication/register"), t);
|
|
3969
4429
|
}
|
|
3970
|
-
/**
|
|
4430
|
+
/** Refresh token */
|
|
3971
4431
|
async refreshToken(t) {
|
|
3972
4432
|
return this.client.post(e("/auth/authentication/refresh_token"), t);
|
|
3973
4433
|
}
|
|
3974
|
-
/**
|
|
4434
|
+
/** Logout */
|
|
3975
4435
|
async logout() {
|
|
3976
4436
|
return this.client.post(e("/auth/authentication/logout"));
|
|
3977
4437
|
}
|
|
3978
|
-
/**
|
|
4438
|
+
/** Login */
|
|
3979
4439
|
async login(t) {
|
|
3980
4440
|
return this.client.post(e("/auth/authentication/login"), t);
|
|
3981
4441
|
}
|
|
3982
|
-
/**
|
|
4442
|
+
/** Change password */
|
|
3983
4443
|
async changePassword(t) {
|
|
3984
4444
|
return this.client.post(e("/auth/authentication/change_password"), t);
|
|
3985
4445
|
}
|
|
3986
|
-
/**
|
|
3987
|
-
async
|
|
3988
|
-
return this.client.
|
|
4446
|
+
/** Get current tenant/organization access token */
|
|
4447
|
+
async getCurrentAccessToken(t) {
|
|
4448
|
+
return this.client.post(e("/auth/access_token/current"), t);
|
|
3989
4449
|
}
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
}
|
|
3994
|
-
class Dn {
|
|
3995
|
-
constructor(t) {
|
|
3996
|
-
this.client = t;
|
|
4450
|
+
/** Check QR code status */
|
|
4451
|
+
async checkQrCodeStatus(t) {
|
|
4452
|
+
return this.client.get(e(`/auth/qrcode/status/${t}`));
|
|
3997
4453
|
}
|
|
3998
|
-
/** Get
|
|
3999
|
-
async
|
|
4000
|
-
return this.client.
|
|
4454
|
+
/** Get roles */
|
|
4455
|
+
async getRoles() {
|
|
4456
|
+
return this.client.get(e("/auth/authorization/roles"));
|
|
4001
4457
|
}
|
|
4002
|
-
/** Get
|
|
4003
|
-
async
|
|
4004
|
-
return this.client.get(e("/
|
|
4458
|
+
/** Get permissions */
|
|
4459
|
+
async getPermissions() {
|
|
4460
|
+
return this.client.get(e("/auth/authorization/permissions"));
|
|
4461
|
+
}
|
|
4462
|
+
/** Get current user */
|
|
4463
|
+
async getCurrentUser() {
|
|
4464
|
+
return this.client.get(e("/auth/authentication/get_current_user"));
|
|
4005
4465
|
}
|
|
4006
4466
|
}
|
|
4007
|
-
function
|
|
4008
|
-
return new
|
|
4467
|
+
function Qi(n) {
|
|
4468
|
+
return new Wi(n);
|
|
4009
4469
|
}
|
|
4010
|
-
class
|
|
4470
|
+
class Xi {
|
|
4011
4471
|
constructor(t) {
|
|
4012
4472
|
this.client = t;
|
|
4013
4473
|
}
|
|
4014
4474
|
/** Create a chat completion with agent */
|
|
4015
|
-
async withContext(t,
|
|
4016
|
-
return this.client.post(e("/agent/chat/with_context"), t,
|
|
4475
|
+
async withContext(t, i, s) {
|
|
4476
|
+
return this.client.post(e("/agent/chat/with_context"), t, i, s);
|
|
4017
4477
|
}
|
|
4018
4478
|
/** Stop a chat completion stream */
|
|
4019
|
-
async stop(t) {
|
|
4020
|
-
return this.client.post(e("/agent/chat/stop"), void 0,
|
|
4479
|
+
async stop(t, i) {
|
|
4480
|
+
return this.client.post(e("/agent/chat/stop"), void 0, t, i);
|
|
4021
4481
|
}
|
|
4022
4482
|
/** Create a chat completion with agent */
|
|
4023
|
-
async resumeStream(t,
|
|
4024
|
-
return this.client.post(e("/agent/chat/resume_stream"), t,
|
|
4483
|
+
async resumeStream(t, i, s) {
|
|
4484
|
+
return this.client.post(e("/agent/chat/resume_stream"), t, i, s);
|
|
4025
4485
|
}
|
|
4026
4486
|
/** Create a chat completion with agent */
|
|
4027
|
-
async create(t,
|
|
4028
|
-
return this.client.post(e("/agent/chat/completions"), t,
|
|
4487
|
+
async create(t, i, s) {
|
|
4488
|
+
return this.client.post(e("/agent/chat/completions"), t, i, s);
|
|
4029
4489
|
}
|
|
4030
4490
|
}
|
|
4031
|
-
function
|
|
4032
|
-
return new
|
|
4491
|
+
function Ji(n) {
|
|
4492
|
+
return new Xi(n);
|
|
4033
4493
|
}
|
|
4034
|
-
class
|
|
4494
|
+
class Zi {
|
|
4035
4495
|
constructor(t) {
|
|
4036
|
-
this.httpClient = h(t), this.workspace = y(this.httpClient), this.contentVote = g(this.httpClient), this.voiceSpeaker = m(this.httpClient), this.visitHistory = $(this.httpClient), this.vipUser =
|
|
4496
|
+
this.httpClient = h(t), this.workspace = y(this.httpClient), this.contentVote = g(this.httpClient), this.voiceSpeaker = m(this.httpClient), this.visitHistory = $(this.httpClient), this.vipUser = B(this.httpClient), this.vipRecharge = k(this.httpClient), this.vipRechargePackage = w(this.httpClient), this.vipPointChange = E(this.httpClient), this.vipPackageGroup = _(this.httpClient), this.vipPackage = T(this.httpClient), this.vipLevel = z(this.httpClient), this.vipLevelBenefit = D(this.httpClient), this.vipBenefit = F(this.httpClient), this.vipBenefitUsage = G(this.httpClient), this.video = K(this.httpClient), this.user = L(this.httpClient), this.userOauthAccount = j(this.httpClient), this.userCoupon = q(this.httpClient), this.userCard = W(this.httpClient), this.userAddress = X(this.httpClient), this.usageRecord = Z(this.httpClient), this.shoppingCart = et(this.httpClient), this.shoppingCartItem = it(this.httpClient), this.refund = rt(this.httpClient), this.payment = lt(this.httpClient), this.order = ot(this.httpClient), this.orderItem = ht(this.httpClient), this.tool = yt(this.httpClient), this.tenant = gt(this.httpClient), this.databaseTable = mt(this.httpClient), this.productSku = $t(this.httpClient), this.skill = Bt(this.httpClient), this.skillPackage = kt(this.httpClient), this.shortUrl = wt(this.httpClient), this.shop = Et(this.httpClient), this.share = _t(this.httpClient), this.shareVisitRecord = Tt(this.httpClient), this.shardingKey = zt(this.httpClient), this.apiSecurityPolicy = Dt(this.httpClient), this.schema = Ft(this.httpClient), this.rbacRole = Gt(this.httpClient), this.rolePermission = Kt(this.httpClient), this.invocationRecord = Lt(this.httpClient), this.rbacUserRole = jt(this.httpClient), this.prompt = qt(this.httpClient), this.project = Wt(this.httpClient), this.product = Xt(this.httpClient), this.pptTemplate = Zt(this.httpClient), this.pptTemplateSlide = ee(this.httpClient), this.rbacPermission = ie(this.httpClient), this.partner = re(this.httpClient), this.chatParticipant = le(this.httpClient), this.ossBucket = oe(this.httpClient), this.organization = he(this.httpClient), this.position = ye(this.httpClient), this.memberRelations = ge(this.httpClient), this.organizationMember = me(this.httpClient), this.notification = $e(this.httpClient), this.notes = Be(this.httpClient), this.news = ke(this.httpClient), this.net = we(this.httpClient), this.dnsRecord = Ee(this.httpClient), this.music = _e(this.httpClient), this.modelInformation = Te(this.httpClient), this.modelPrice = ze(this.httpClient), this.chatMessage = De(this.httpClient), this.memberLevel = Fe(this.httpClient), this.memberCard = Ge(this.httpClient), this.knowledgeBase = Ke(this.httpClient), this.invitationRelation = Le(this.httpClient), this.invitationCode = je(this.httpClient), this.image = qe(this.httpClient), this.chatGroup = We(this.httpClient), this.generation = Xe(this.httpClient), this.generationContent = Ze(this.httpClient), this.file = en(this.httpClient), this.filePart = sn(this.httpClient), this.fileContent = cn(this.httpClient), this.feeds = an(this.httpClient), this.feedback = un(this.httpClient), this.favorite = pn(this.httpClient), this.fileDisk = dn(this.httpClient), this.diskMember = An(this.httpClient), this.detail = fn(this.httpClient), this.department = Cn(this.httpClient), this.datasource = vn(this.httpClient), this.coupon = Pn(this.httpClient), this.couponTemplate = bn(this.httpClient), this.conversation = In(this.httpClient), this.contentWriting = Rn(this.httpClient), this.comment = Mn(this.httpClient), this.column = Sn(this.httpClient), this.collection = Un(this.httpClient), this.collectionItem = Vn(this.httpClient), this.character = xn(this.httpClient), this.channel = Hn(this.httpClient), this.channelResource = On(this.httpClient), this.channelProxy = Yn(this.httpClient), this.channelAccount = Nn(this.httpClient), this.category = Qn(this.httpClient), this.membershipCard = Jn(this.httpClient), this.cardTemplate = ti(this.httpClient), this.attribute = ni(this.httpClient), this.article = si(this.httpClient), this.app = ci(this.httpClient), this.apiKey = ai(this.httpClient), this.agent = ui(this.httpClient), this.agentToolRelationship = pi(this.httpClient), this.account = di(this.httpClient), this.accountHistory = Ai(this.httpClient), this.accountExchangeConfig = fi(this.httpClient), this.invoice = Ci(this.httpClient), this.searchChat = vi(this.httpClient), this.pptTemplateRendering = Pi(this.httpClient), this.pptTemplateChat = bi(this.httpClient), this.knowledgeBaseFile = Ii(this.httpClient), this.knowledgeBaseChat = Ri(this.httpClient), this.imMessage = Mi(this.httpClient), this.voiceSpeakerGeneration = Si(this.httpClient), this.videoGeneration = Ui(this.httpClient), this.musicGeneration = Vi(this.httpClient), this.imageGeneration = xi(this.httpClient), this.characterGeneration = Hi(this.httpClient), this.audioGeneration = Oi(this.httpClient), this.audioEffectGeneration = Yi(this.httpClient), this.chat = Ni(this.httpClient), this.auth = Qi(this.httpClient), this.agentChat = Ji(this.httpClient);
|
|
4037
4497
|
}
|
|
4038
4498
|
setApiKey(t) {
|
|
4039
4499
|
return this.httpClient.setApiKey(t), this;
|
|
@@ -4051,285 +4511,295 @@ class Ln {
|
|
|
4051
4511
|
return this.httpClient;
|
|
4052
4512
|
}
|
|
4053
4513
|
}
|
|
4054
|
-
function
|
|
4055
|
-
return new
|
|
4514
|
+
function es(n) {
|
|
4515
|
+
return new Zi(n);
|
|
4056
4516
|
}
|
|
4057
|
-
class
|
|
4058
|
-
constructor(t,
|
|
4059
|
-
this.http = t, this.basePath =
|
|
4517
|
+
class ns {
|
|
4518
|
+
constructor(t, i) {
|
|
4519
|
+
this.http = t, this.basePath = i;
|
|
4060
4520
|
}
|
|
4061
|
-
async get(t,
|
|
4062
|
-
return this.http.get(`${this.basePath}${t}`,
|
|
4521
|
+
async get(t, i, s) {
|
|
4522
|
+
return this.http.get(`${this.basePath}${t}`, i, s);
|
|
4063
4523
|
}
|
|
4064
|
-
async post(t,
|
|
4065
|
-
return this.http.post(`${this.basePath}${t}`,
|
|
4524
|
+
async post(t, i, s, c) {
|
|
4525
|
+
return this.http.post(`${this.basePath}${t}`, i, s, c);
|
|
4066
4526
|
}
|
|
4067
|
-
async put(t,
|
|
4068
|
-
return this.http.put(`${this.basePath}${t}`,
|
|
4527
|
+
async put(t, i, s, c) {
|
|
4528
|
+
return this.http.put(`${this.basePath}${t}`, i, s, c);
|
|
4069
4529
|
}
|
|
4070
|
-
async delete(t,
|
|
4071
|
-
return this.http.delete(`${this.basePath}${t}`,
|
|
4530
|
+
async delete(t, i, s) {
|
|
4531
|
+
return this.http.delete(`${this.basePath}${t}`, i, s);
|
|
4072
4532
|
}
|
|
4073
|
-
async patch(t,
|
|
4074
|
-
return this.http.patch(`${this.basePath}${t}`,
|
|
4533
|
+
async patch(t, i, s, c) {
|
|
4534
|
+
return this.http.patch(`${this.basePath}${t}`, i, s, c);
|
|
4075
4535
|
}
|
|
4076
4536
|
}
|
|
4077
4537
|
export {
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
Xi as
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
zi as ChannelAccountApi,
|
|
4110
|
-
Ri as ChannelResourceApi,
|
|
4111
|
-
bi as CharacterApi,
|
|
4112
|
-
Ke as ChatGroupApi,
|
|
4113
|
-
Ee as ChatMessageApi,
|
|
4114
|
-
Qt as ChatParticipantApi,
|
|
4115
|
-
ki as CollectionApi,
|
|
4116
|
-
Ei as CollectionItemApi,
|
|
4117
|
-
vi as ColumnApi,
|
|
4118
|
-
Bi as CommentApi,
|
|
4538
|
+
yi as AccountApi,
|
|
4539
|
+
mi as AccountExchangeConfigApi,
|
|
4540
|
+
gi as AccountHistoryApi,
|
|
4541
|
+
oi as AgentApi,
|
|
4542
|
+
Xi as AgentChatApi,
|
|
4543
|
+
hi as AgentToolRelationshipApi,
|
|
4544
|
+
li as ApiKeyApi,
|
|
4545
|
+
St as ApiSecurityPolicyApi,
|
|
4546
|
+
ri as AppApi,
|
|
4547
|
+
ii as ArticleApi,
|
|
4548
|
+
ei as AttributeApi,
|
|
4549
|
+
ji as AudioEffectGenerationApi,
|
|
4550
|
+
Li as AudioGenerationApi,
|
|
4551
|
+
Wi as AuthApi,
|
|
4552
|
+
ns as BaseApi,
|
|
4553
|
+
Zn as CardTemplateApi,
|
|
4554
|
+
Wn as CategoryApi,
|
|
4555
|
+
qn as ChannelAccountApi,
|
|
4556
|
+
Kn as ChannelApi,
|
|
4557
|
+
jn as ChannelProxyApi,
|
|
4558
|
+
Ln as ChannelResourceApi,
|
|
4559
|
+
Gn as CharacterApi,
|
|
4560
|
+
Ki as CharacterGenerationApi,
|
|
4561
|
+
qi as ChatApi,
|
|
4562
|
+
Ne as ChatGroupApi,
|
|
4563
|
+
Se as ChatMessageApi,
|
|
4564
|
+
ce as ChatParticipantApi,
|
|
4565
|
+
Dn as CollectionApi,
|
|
4566
|
+
Fn as CollectionItemApi,
|
|
4567
|
+
zn as ColumnApi,
|
|
4568
|
+
Tn as CommentApi,
|
|
4119
4569
|
d as ContentVoteApi,
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4570
|
+
_n as ContentWritingApi,
|
|
4571
|
+
En as ConversationApi,
|
|
4572
|
+
kn as CouponApi,
|
|
4573
|
+
wn as CouponTemplateApi,
|
|
4574
|
+
rs as DEFAULT_TIMEOUT,
|
|
4123
4575
|
At as DatabaseTableApi,
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4576
|
+
Bn as DatasourceApi,
|
|
4577
|
+
cs as DefaultAuthTokenManager,
|
|
4578
|
+
$n as DepartmentApi,
|
|
4579
|
+
mn as DetailApi,
|
|
4580
|
+
gn as DiskMemberApi,
|
|
4581
|
+
be as DnsRecordApi,
|
|
4582
|
+
hn as FavoriteApi,
|
|
4583
|
+
on as FeedbackApi,
|
|
4584
|
+
ln as FeedsApi,
|
|
4585
|
+
tn as FileApi,
|
|
4586
|
+
rn as FileContentApi,
|
|
4587
|
+
yn as FileDiskApi,
|
|
4588
|
+
nn as FilePartApi,
|
|
4589
|
+
Qe as GenerationApi,
|
|
4590
|
+
Je as GenerationContentApi,
|
|
4138
4591
|
l as HttpClient,
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4592
|
+
Ti as ImMessageApi,
|
|
4593
|
+
Ye as ImageApi,
|
|
4594
|
+
Gi as ImageGenerationApi,
|
|
4595
|
+
Oe as InvitationCodeApi,
|
|
4596
|
+
He as InvitationRelationApi,
|
|
4597
|
+
Ht as InvocationRecordApi,
|
|
4598
|
+
$i as InvoiceApi,
|
|
4599
|
+
xe as KnowledgeBaseApi,
|
|
4600
|
+
_i as KnowledgeBaseChatApi,
|
|
4601
|
+
Ei as KnowledgeBaseFileApi,
|
|
4602
|
+
Ve as MemberCardApi,
|
|
4603
|
+
Ue as MemberLevelApi,
|
|
4604
|
+
de as MemberRelationsApi,
|
|
4605
|
+
Xn as MembershipCardApi,
|
|
4606
|
+
Re as ModelInformationApi,
|
|
4607
|
+
Me as ModelPriceApi,
|
|
4608
|
+
Ie as MusicApi,
|
|
4609
|
+
Fi as MusicGenerationApi,
|
|
4610
|
+
Pe as NetApi,
|
|
4611
|
+
ve as NewsApi,
|
|
4612
|
+
Ce as NotesApi,
|
|
4613
|
+
fe as NotificationApi,
|
|
4156
4614
|
at as OrderApi,
|
|
4157
4615
|
ut as OrderItemApi,
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4616
|
+
ue as OrganizationApi,
|
|
4617
|
+
Ae as OrganizationMemberApi,
|
|
4618
|
+
ae as OssBucketApi,
|
|
4619
|
+
se as PartnerApi,
|
|
4162
4620
|
ct as PaymentApi,
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4621
|
+
pe as PositionApi,
|
|
4622
|
+
Jt as PptTemplateApi,
|
|
4623
|
+
wi as PptTemplateChatApi,
|
|
4624
|
+
ki as PptTemplateRenderingApi,
|
|
4625
|
+
te as PptTemplateSlideApi,
|
|
4626
|
+
Qt as ProductApi,
|
|
4169
4627
|
ft as ProductSkuApi,
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4628
|
+
Nt as ProjectApi,
|
|
4629
|
+
Yt as PromptApi,
|
|
4630
|
+
ne as RbacPermissionApi,
|
|
4631
|
+
Vt as RbacRoleApi,
|
|
4632
|
+
Ot as RbacUserRoleApi,
|
|
4173
4633
|
st as RefundApi,
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4634
|
+
xt as RolePermissionApi,
|
|
4635
|
+
ls as SUCCESS_CODES,
|
|
4636
|
+
Ut as SchemaApi,
|
|
4637
|
+
Zi as SdkworkBackendClient,
|
|
4638
|
+
Bi as SearchChatApi,
|
|
4639
|
+
Mt as ShardingKeyApi,
|
|
4640
|
+
It as ShareApi,
|
|
4641
|
+
Rt as ShareVisitRecordApi,
|
|
4642
|
+
bt as ShopApi,
|
|
4183
4643
|
tt as ShoppingCartApi,
|
|
4184
|
-
|
|
4185
|
-
|
|
4644
|
+
nt as ShoppingCartItemApi,
|
|
4645
|
+
Pt as ShortUrlApi,
|
|
4646
|
+
Ct as SkillApi,
|
|
4647
|
+
vt as SkillPackageApi,
|
|
4186
4648
|
dt as TenantApi,
|
|
4187
|
-
|
|
4188
|
-
|
|
4649
|
+
pt as ToolApi,
|
|
4650
|
+
J as UsageRecordApi,
|
|
4651
|
+
Q as UserAddressApi,
|
|
4652
|
+
H as UserApi,
|
|
4189
4653
|
N as UserCardApi,
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4654
|
+
Y as UserCouponApi,
|
|
4655
|
+
O as UserOauthAccountApi,
|
|
4656
|
+
x as VideoApi,
|
|
4657
|
+
Di as VideoGenerationApi,
|
|
4194
4658
|
U as VipBenefitApi,
|
|
4195
|
-
|
|
4196
|
-
|
|
4659
|
+
V as VipBenefitUsageApi,
|
|
4660
|
+
M as VipLevelApi,
|
|
4197
4661
|
S as VipLevelBenefitApi,
|
|
4198
4662
|
R as VipPackageApi,
|
|
4199
|
-
|
|
4200
|
-
|
|
4663
|
+
I as VipPackageGroupApi,
|
|
4664
|
+
b as VipPointChangeApi,
|
|
4201
4665
|
v as VipRechargeApi,
|
|
4202
|
-
|
|
4203
|
-
|
|
4666
|
+
P as VipRechargePackageApi,
|
|
4667
|
+
C as VipUserApi,
|
|
4204
4668
|
f as VisitHistoryApi,
|
|
4205
4669
|
A as VoiceSpeakerApi,
|
|
4670
|
+
zi as VoiceSpeakerGenerationApi,
|
|
4206
4671
|
p as WorkspaceApi,
|
|
4207
4672
|
e as backendApiPath,
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
Ji as
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
Ti as createChannelResourceApi,
|
|
4240
|
-
_i as createCharacterApi,
|
|
4241
|
-
He as createChatGroupApi,
|
|
4242
|
-
Ie as createChatMessageApi,
|
|
4243
|
-
Zt as createChatParticipantApi,
|
|
4244
|
-
xn as createClient,
|
|
4245
|
-
wi as createCollectionApi,
|
|
4246
|
-
Ii as createCollectionItemApi,
|
|
4247
|
-
Pi as createColumnApi,
|
|
4248
|
-
Ci as createCommentApi,
|
|
4673
|
+
di as createAccountApi,
|
|
4674
|
+
fi as createAccountExchangeConfigApi,
|
|
4675
|
+
Ai as createAccountHistoryApi,
|
|
4676
|
+
ui as createAgentApi,
|
|
4677
|
+
Ji as createAgentChatApi,
|
|
4678
|
+
pi as createAgentToolRelationshipApi,
|
|
4679
|
+
ai as createApiKeyApi,
|
|
4680
|
+
Dt as createApiSecurityPolicyApi,
|
|
4681
|
+
ci as createAppApi,
|
|
4682
|
+
si as createArticleApi,
|
|
4683
|
+
ni as createAttributeApi,
|
|
4684
|
+
Yi as createAudioEffectGenerationApi,
|
|
4685
|
+
Oi as createAudioGenerationApi,
|
|
4686
|
+
Qi as createAuthApi,
|
|
4687
|
+
ti as createCardTemplateApi,
|
|
4688
|
+
Qn as createCategoryApi,
|
|
4689
|
+
Nn as createChannelAccountApi,
|
|
4690
|
+
Hn as createChannelApi,
|
|
4691
|
+
Yn as createChannelProxyApi,
|
|
4692
|
+
On as createChannelResourceApi,
|
|
4693
|
+
xn as createCharacterApi,
|
|
4694
|
+
Hi as createCharacterGenerationApi,
|
|
4695
|
+
Ni as createChatApi,
|
|
4696
|
+
We as createChatGroupApi,
|
|
4697
|
+
De as createChatMessageApi,
|
|
4698
|
+
le as createChatParticipantApi,
|
|
4699
|
+
es as createClient,
|
|
4700
|
+
Un as createCollectionApi,
|
|
4701
|
+
Vn as createCollectionItemApi,
|
|
4702
|
+
Sn as createColumnApi,
|
|
4703
|
+
Mn as createCommentApi,
|
|
4249
4704
|
g as createContentVoteApi,
|
|
4250
|
-
|
|
4251
|
-
|
|
4705
|
+
Rn as createContentWritingApi,
|
|
4706
|
+
In as createConversationApi,
|
|
4707
|
+
Pn as createCouponApi,
|
|
4708
|
+
bn as createCouponTemplateApi,
|
|
4252
4709
|
mt as createDatabaseTableApi,
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4710
|
+
vn as createDatasourceApi,
|
|
4711
|
+
Cn as createDepartmentApi,
|
|
4712
|
+
fn as createDetailApi,
|
|
4713
|
+
An as createDiskMemberApi,
|
|
4714
|
+
Ee as createDnsRecordApi,
|
|
4715
|
+
pn as createFavoriteApi,
|
|
4716
|
+
un as createFeedbackApi,
|
|
4717
|
+
an as createFeedsApi,
|
|
4718
|
+
en as createFileApi,
|
|
4719
|
+
cn as createFileContentApi,
|
|
4720
|
+
dn as createFileDiskApi,
|
|
4721
|
+
sn as createFilePartApi,
|
|
4722
|
+
Xe as createGenerationApi,
|
|
4723
|
+
Ze as createGenerationContentApi,
|
|
4266
4724
|
h as createHttpClient,
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4725
|
+
Mi as createImMessageApi,
|
|
4726
|
+
qe as createImageApi,
|
|
4727
|
+
xi as createImageGenerationApi,
|
|
4728
|
+
je as createInvitationCodeApi,
|
|
4729
|
+
Le as createInvitationRelationApi,
|
|
4730
|
+
Lt as createInvocationRecordApi,
|
|
4731
|
+
Ci as createInvoiceApi,
|
|
4732
|
+
Ke as createKnowledgeBaseApi,
|
|
4733
|
+
Ri as createKnowledgeBaseChatApi,
|
|
4734
|
+
Ii as createKnowledgeBaseFileApi,
|
|
4735
|
+
Ge as createMemberCardApi,
|
|
4736
|
+
Fe as createMemberLevelApi,
|
|
4737
|
+
ge as createMemberRelationsApi,
|
|
4738
|
+
Jn as createMembershipCardApi,
|
|
4739
|
+
Te as createModelInformationApi,
|
|
4740
|
+
ze as createModelPriceApi,
|
|
4741
|
+
_e as createMusicApi,
|
|
4742
|
+
Vi as createMusicGenerationApi,
|
|
4743
|
+
we as createNetApi,
|
|
4744
|
+
ke as createNewsApi,
|
|
4745
|
+
Be as createNotesApi,
|
|
4746
|
+
$e as createNotificationApi,
|
|
4284
4747
|
ot as createOrderApi,
|
|
4285
4748
|
ht as createOrderItemApi,
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4749
|
+
he as createOrganizationApi,
|
|
4750
|
+
me as createOrganizationMemberApi,
|
|
4751
|
+
oe as createOssBucketApi,
|
|
4752
|
+
re as createPartnerApi,
|
|
4290
4753
|
lt as createPaymentApi,
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4754
|
+
ye as createPositionApi,
|
|
4755
|
+
Zt as createPptTemplateApi,
|
|
4756
|
+
bi as createPptTemplateChatApi,
|
|
4757
|
+
Pi as createPptTemplateRenderingApi,
|
|
4758
|
+
ee as createPptTemplateSlideApi,
|
|
4759
|
+
Xt as createProductApi,
|
|
4297
4760
|
$t as createProductSkuApi,
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4761
|
+
Wt as createProjectApi,
|
|
4762
|
+
qt as createPromptApi,
|
|
4763
|
+
ie as createRbacPermissionApi,
|
|
4764
|
+
Gt as createRbacRoleApi,
|
|
4765
|
+
jt as createRbacUserRoleApi,
|
|
4301
4766
|
rt as createRefundApi,
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4767
|
+
Kt as createRolePermissionApi,
|
|
4768
|
+
Ft as createSchemaApi,
|
|
4769
|
+
vi as createSearchChatApi,
|
|
4770
|
+
zt as createShardingKeyApi,
|
|
4771
|
+
_t as createShareApi,
|
|
4772
|
+
Tt as createShareVisitRecordApi,
|
|
4773
|
+
Et as createShopApi,
|
|
4309
4774
|
et as createShoppingCartApi,
|
|
4310
|
-
|
|
4311
|
-
|
|
4775
|
+
it as createShoppingCartItemApi,
|
|
4776
|
+
wt as createShortUrlApi,
|
|
4777
|
+
Bt as createSkillApi,
|
|
4778
|
+
kt as createSkillPackageApi,
|
|
4312
4779
|
gt as createTenantApi,
|
|
4313
|
-
|
|
4314
|
-
|
|
4780
|
+
as as createTokenManager,
|
|
4781
|
+
yt as createToolApi,
|
|
4782
|
+
Z as createUsageRecordApi,
|
|
4783
|
+
X as createUserAddressApi,
|
|
4315
4784
|
L as createUserApi,
|
|
4316
4785
|
W as createUserCardApi,
|
|
4317
4786
|
q as createUserCouponApi,
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4787
|
+
j as createUserOauthAccountApi,
|
|
4788
|
+
K as createVideoApi,
|
|
4789
|
+
Ui as createVideoGenerationApi,
|
|
4790
|
+
F as createVipBenefitApi,
|
|
4791
|
+
G as createVipBenefitUsageApi,
|
|
4792
|
+
z as createVipLevelApi,
|
|
4793
|
+
D as createVipLevelBenefitApi,
|
|
4325
4794
|
T as createVipPackageApi,
|
|
4326
4795
|
_ as createVipPackageGroupApi,
|
|
4327
|
-
|
|
4328
|
-
|
|
4796
|
+
E as createVipPointChangeApi,
|
|
4797
|
+
k as createVipRechargeApi,
|
|
4329
4798
|
w as createVipRechargePackageApi,
|
|
4330
|
-
|
|
4799
|
+
B as createVipUserApi,
|
|
4331
4800
|
$ as createVisitHistoryApi,
|
|
4332
4801
|
m as createVoiceSpeakerApi,
|
|
4802
|
+
Si as createVoiceSpeakerGenerationApi,
|
|
4333
4803
|
y as createWorkspaceApi
|
|
4334
4804
|
};
|
|
4335
4805
|
//# sourceMappingURL=index.js.map
|