@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/README.md
CHANGED
|
@@ -90,32 +90,36 @@ const client = new SdkworkBackendClient({
|
|
|
90
90
|
- `client.userCoupon` - user_coupon API
|
|
91
91
|
- `client.userCard` - user_card API
|
|
92
92
|
- `client.userAddress` - user_address API
|
|
93
|
-
- `client.
|
|
93
|
+
- `client.usageRecord` - usage_record API
|
|
94
94
|
- `client.shoppingCart` - shopping_cart API
|
|
95
95
|
- `client.shoppingCartItem` - shopping_cart_item API
|
|
96
96
|
- `client.refund` - refund API
|
|
97
97
|
- `client.payment` - payment API
|
|
98
98
|
- `client.order` - order API
|
|
99
99
|
- `client.orderItem` - order_item API
|
|
100
|
-
- `client.
|
|
100
|
+
- `client.tool` - tool API
|
|
101
101
|
- `client.tenant` - tenant API
|
|
102
102
|
- `client.databaseTable` - database_table API
|
|
103
103
|
- `client.productSku` - product_sku API
|
|
104
|
+
- `client.skill` - skill API
|
|
105
|
+
- `client.skillPackage` - skill_package API
|
|
104
106
|
- `client.shortUrl` - short_url API
|
|
105
107
|
- `client.shop` - shop API
|
|
106
108
|
- `client.share` - share API
|
|
107
109
|
- `client.shareVisitRecord` - share_visit_record API
|
|
108
110
|
- `client.shardingKey` - sharding_key API
|
|
111
|
+
- `client.apiSecurityPolicy` - api_security_policy API
|
|
109
112
|
- `client.schema` - schema API
|
|
110
113
|
- `client.rbacRole` - rbac_role API
|
|
111
114
|
- `client.rolePermission` - role_permission API
|
|
112
115
|
- `client.invocationRecord` - invocation_record API
|
|
113
116
|
- `client.rbacUserRole` - rbac_user_role API
|
|
114
|
-
- `client.
|
|
117
|
+
- `client.prompt` - prompt API
|
|
115
118
|
- `client.project` - project API
|
|
116
119
|
- `client.product` - product API
|
|
117
120
|
- `client.pptTemplate` - ppt_template API
|
|
118
121
|
- `client.pptTemplateSlide` - ppt_template_slide API
|
|
122
|
+
- `client.rbacPermission` - rbac_permission API
|
|
119
123
|
- `client.partner` - partner API
|
|
120
124
|
- `client.chatParticipant` - chat_participant API
|
|
121
125
|
- `client.ossBucket` - oss_bucket API
|
|
@@ -126,11 +130,11 @@ const client = new SdkworkBackendClient({
|
|
|
126
130
|
- `client.notification` - notification API
|
|
127
131
|
- `client.notes` - notes API
|
|
128
132
|
- `client.news` - news API
|
|
129
|
-
- `client.
|
|
133
|
+
- `client.net` - net API
|
|
130
134
|
- `client.dnsRecord` - dns_record API
|
|
131
135
|
- `client.music` - music API
|
|
132
|
-
- `client.
|
|
133
|
-
- `client.
|
|
136
|
+
- `client.modelInformation` - model_information API
|
|
137
|
+
- `client.modelPrice` - model_price API
|
|
134
138
|
- `client.chatMessage` - chat_message API
|
|
135
139
|
- `client.memberLevel` - member_level API
|
|
136
140
|
- `client.memberCard` - member_card API
|
|
@@ -139,8 +143,8 @@ const client = new SdkworkBackendClient({
|
|
|
139
143
|
- `client.invitationCode` - invitation_code API
|
|
140
144
|
- `client.image` - image API
|
|
141
145
|
- `client.chatGroup` - chat_group API
|
|
142
|
-
- `client.
|
|
143
|
-
- `client.
|
|
146
|
+
- `client.generation` - generation API
|
|
147
|
+
- `client.generationContent` - generation_content API
|
|
144
148
|
- `client.file` - file API
|
|
145
149
|
- `client.filePart` - file_part API
|
|
146
150
|
- `client.fileContent` - file_content API
|
|
@@ -154,45 +158,46 @@ const client = new SdkworkBackendClient({
|
|
|
154
158
|
- `client.datasource` - datasource API
|
|
155
159
|
- `client.coupon` - coupon API
|
|
156
160
|
- `client.couponTemplate` - coupon_template API
|
|
157
|
-
- `client.
|
|
161
|
+
- `client.conversation` - conversation API
|
|
162
|
+
- `client.contentWriting` - content_writing API
|
|
158
163
|
- `client.comment` - comment API
|
|
159
164
|
- `client.column` - column API
|
|
160
165
|
- `client.collection` - collection API
|
|
161
166
|
- `client.collectionItem` - collection_item API
|
|
162
167
|
- `client.character` - character API
|
|
168
|
+
- `client.channel` - channel API
|
|
163
169
|
- `client.channelResource` - channel_resource API
|
|
170
|
+
- `client.channelProxy` - channel_proxy API
|
|
164
171
|
- `client.channelAccount` - channel_account API
|
|
165
|
-
- `client.
|
|
172
|
+
- `client.category` - category API
|
|
166
173
|
- `client.membershipCard` - membership_card API
|
|
167
174
|
- `client.cardTemplate` - card_template API
|
|
168
175
|
- `client.attribute` - attribute API
|
|
169
|
-
- `client.
|
|
170
|
-
- `client.
|
|
176
|
+
- `client.article` - article API
|
|
177
|
+
- `client.app` - app API
|
|
171
178
|
- `client.apiKey` - api_key API
|
|
172
|
-
- `client.
|
|
173
|
-
- `client.
|
|
179
|
+
- `client.agent` - agent API
|
|
180
|
+
- `client.agentToolRelationship` - agent_tool_relationship API
|
|
174
181
|
- `client.account` - account API
|
|
175
182
|
- `client.accountHistory` - account_history API
|
|
183
|
+
- `client.accountExchangeConfig` - account_exchange_config API
|
|
184
|
+
- `client.invoice` - invoice API
|
|
176
185
|
- `client.searchChat` - search_chat API
|
|
177
186
|
- `client.pptTemplateRendering` - ppt_template_rendering API
|
|
178
187
|
- `client.pptTemplateChat` - ppt_template_chat API
|
|
179
188
|
- `client.knowledgeBaseFile` - knowledge_base_file API
|
|
180
189
|
- `client.knowledgeBaseChat` - knowledge_base_chat API
|
|
181
190
|
- `client.imMessage` - im_message API
|
|
182
|
-
- `client.
|
|
183
|
-
- `client.
|
|
184
|
-
- `client.
|
|
185
|
-
- `client.
|
|
186
|
-
- `client.
|
|
187
|
-
- `client.
|
|
188
|
-
- `client.
|
|
189
|
-
- `client.
|
|
190
|
-
- `client.
|
|
191
|
-
- `client.
|
|
192
|
-
- `client.authorization` - authorization API
|
|
193
|
-
- `client.authentication` - authentication API
|
|
194
|
-
- `client.app` - app API
|
|
195
|
-
- `client.aiAgentChat` - ai_agent_chat API
|
|
191
|
+
- `client.voiceSpeakerGeneration` - voice_speaker_generation API
|
|
192
|
+
- `client.videoGeneration` - video_generation API
|
|
193
|
+
- `client.musicGeneration` - music_generation API
|
|
194
|
+
- `client.imageGeneration` - image_generation API
|
|
195
|
+
- `client.characterGeneration` - character_generation API
|
|
196
|
+
- `client.audioGeneration` - audio_generation API
|
|
197
|
+
- `client.audioEffectGeneration` - audio_effect_generation API
|
|
198
|
+
- `client.chat` - chat API
|
|
199
|
+
- `client.auth` - auth API
|
|
200
|
+
- `client.agentChat` - agent_chat API
|
|
196
201
|
|
|
197
202
|
## Usage Examples
|
|
198
203
|
|
|
@@ -354,12 +359,12 @@ const body = {} as any;
|
|
|
354
359
|
const result = await client.userAddress.listAllEntities(body);
|
|
355
360
|
```
|
|
356
361
|
|
|
357
|
-
###
|
|
362
|
+
### usage_record
|
|
358
363
|
|
|
359
364
|
```typescript
|
|
360
365
|
// Get all usage records
|
|
361
366
|
const body = {} as any;
|
|
362
|
-
const result = await client.
|
|
367
|
+
const result = await client.usageRecord.listAllEntities(body);
|
|
363
368
|
```
|
|
364
369
|
|
|
365
370
|
### shopping_cart
|
|
@@ -410,12 +415,12 @@ const body = {} as any;
|
|
|
410
415
|
const result = await client.orderItem.listAllEntities(body);
|
|
411
416
|
```
|
|
412
417
|
|
|
413
|
-
###
|
|
418
|
+
### tool
|
|
414
419
|
|
|
415
420
|
```typescript
|
|
416
421
|
// Get all AI tools
|
|
417
422
|
const body = {} as any;
|
|
418
|
-
const result = await client.
|
|
423
|
+
const result = await client.tool.listAllEntities(body);
|
|
419
424
|
```
|
|
420
425
|
|
|
421
426
|
### tenant
|
|
@@ -442,6 +447,22 @@ const body = {} as any;
|
|
|
442
447
|
const result = await client.productSku.listAllEntities(body);
|
|
443
448
|
```
|
|
444
449
|
|
|
450
|
+
### skill
|
|
451
|
+
|
|
452
|
+
```typescript
|
|
453
|
+
// Query all skills
|
|
454
|
+
const body = {} as any;
|
|
455
|
+
const result = await client.skill.listAll(body);
|
|
456
|
+
```
|
|
457
|
+
|
|
458
|
+
### skill_package
|
|
459
|
+
|
|
460
|
+
```typescript
|
|
461
|
+
// Query all skill packages
|
|
462
|
+
const body = {} as any;
|
|
463
|
+
const result = await client.skillPackage.listAll(body);
|
|
464
|
+
```
|
|
465
|
+
|
|
445
466
|
### short_url
|
|
446
467
|
|
|
447
468
|
```typescript
|
|
@@ -482,6 +503,14 @@ const body = {} as any;
|
|
|
482
503
|
const result = await client.shardingKey.listAllEntities(body);
|
|
483
504
|
```
|
|
484
505
|
|
|
506
|
+
### api_security_policy
|
|
507
|
+
|
|
508
|
+
```typescript
|
|
509
|
+
// List all policies
|
|
510
|
+
const body = {} as any;
|
|
511
|
+
const result = await client.apiSecurityPolicy.listAllEntities(body);
|
|
512
|
+
```
|
|
513
|
+
|
|
485
514
|
### schema
|
|
486
515
|
|
|
487
516
|
```typescript
|
|
@@ -522,12 +551,12 @@ const body = {} as any;
|
|
|
522
551
|
const result = await client.rbacUserRole.listAllEntities(body);
|
|
523
552
|
```
|
|
524
553
|
|
|
525
|
-
###
|
|
554
|
+
### prompt
|
|
526
555
|
|
|
527
556
|
```typescript
|
|
528
557
|
// Get all AI prompts
|
|
529
558
|
const body = {} as any;
|
|
530
|
-
const result = await client.
|
|
559
|
+
const result = await client.prompt.listAllEntities(body);
|
|
531
560
|
```
|
|
532
561
|
|
|
533
562
|
### project
|
|
@@ -562,6 +591,14 @@ const body = {} as any;
|
|
|
562
591
|
const result = await client.pptTemplateSlide.listAllEntities(body);
|
|
563
592
|
```
|
|
564
593
|
|
|
594
|
+
### rbac_permission
|
|
595
|
+
|
|
596
|
+
```typescript
|
|
597
|
+
// List all permissions
|
|
598
|
+
const body = {} as any;
|
|
599
|
+
const result = await client.rbacPermission.listAllEntities(body);
|
|
600
|
+
```
|
|
601
|
+
|
|
565
602
|
### partner
|
|
566
603
|
|
|
567
604
|
```typescript
|
|
@@ -641,12 +678,12 @@ const body = {} as any;
|
|
|
641
678
|
const result = await client.news.listAllEntities(body);
|
|
642
679
|
```
|
|
643
680
|
|
|
644
|
-
###
|
|
681
|
+
### net
|
|
645
682
|
|
|
646
683
|
```typescript
|
|
647
684
|
// 获取所有域名
|
|
648
685
|
const body = {} as any;
|
|
649
|
-
const result = await client.
|
|
686
|
+
const result = await client.net.listAllEntities(body);
|
|
650
687
|
```
|
|
651
688
|
|
|
652
689
|
### dns_record
|
|
@@ -665,20 +702,20 @@ const body = {} as any;
|
|
|
665
702
|
const result = await client.music.listAllEntities(body);
|
|
666
703
|
```
|
|
667
704
|
|
|
668
|
-
###
|
|
705
|
+
### model_information
|
|
669
706
|
|
|
670
707
|
```typescript
|
|
671
708
|
// Get all AI model information
|
|
672
709
|
const body = {} as any;
|
|
673
|
-
const result = await client.
|
|
710
|
+
const result = await client.modelInformation.listAllEntities(body);
|
|
674
711
|
```
|
|
675
712
|
|
|
676
|
-
###
|
|
713
|
+
### model_price
|
|
677
714
|
|
|
678
715
|
```typescript
|
|
679
716
|
// Get all AI model prices
|
|
680
717
|
const body = {} as any;
|
|
681
|
-
const result = await client.
|
|
718
|
+
const result = await client.modelPrice.listAllEntities(body);
|
|
682
719
|
```
|
|
683
720
|
|
|
684
721
|
### chat_message
|
|
@@ -745,26 +782,26 @@ const body = {} as any;
|
|
|
745
782
|
const result = await client.chatGroup.listAllEntities(body);
|
|
746
783
|
```
|
|
747
784
|
|
|
748
|
-
###
|
|
785
|
+
### generation
|
|
749
786
|
|
|
750
787
|
```typescript
|
|
751
788
|
// Get all AI generation records
|
|
752
789
|
const body = {} as any;
|
|
753
|
-
const result = await client.
|
|
790
|
+
const result = await client.generation.listAllEntities(body);
|
|
754
791
|
```
|
|
755
792
|
|
|
756
|
-
###
|
|
793
|
+
### generation_content
|
|
757
794
|
|
|
758
795
|
```typescript
|
|
759
796
|
// Get all AI generated content
|
|
760
797
|
const body = {} as any;
|
|
761
|
-
const result = await client.
|
|
798
|
+
const result = await client.generationContent.listAllEntities(body);
|
|
762
799
|
```
|
|
763
800
|
|
|
764
801
|
### file
|
|
765
802
|
|
|
766
803
|
```typescript
|
|
767
|
-
//
|
|
804
|
+
// List files
|
|
768
805
|
const params = {} as Record<string, any>;
|
|
769
806
|
const result = await client.file.listFiles(params);
|
|
770
807
|
```
|
|
@@ -865,12 +902,19 @@ const body = {} as any;
|
|
|
865
902
|
const result = await client.couponTemplate.listAllEntities(body);
|
|
866
903
|
```
|
|
867
904
|
|
|
868
|
-
###
|
|
905
|
+
### conversation
|
|
869
906
|
|
|
870
907
|
```typescript
|
|
871
908
|
// Get all open conversations
|
|
872
909
|
const body = {} as any;
|
|
873
|
-
const result = await client.
|
|
910
|
+
const result = await client.conversation.open(body);
|
|
911
|
+
```
|
|
912
|
+
|
|
913
|
+
### content_writing
|
|
914
|
+
|
|
915
|
+
```typescript
|
|
916
|
+
// Get all contents
|
|
917
|
+
const result = await client.contentWriting.getAllContents();
|
|
874
918
|
```
|
|
875
919
|
|
|
876
920
|
### comment
|
|
@@ -913,6 +957,14 @@ const body = {} as any;
|
|
|
913
957
|
const result = await client.character.listAllEntities(body);
|
|
914
958
|
```
|
|
915
959
|
|
|
960
|
+
### channel
|
|
961
|
+
|
|
962
|
+
```typescript
|
|
963
|
+
// List all channels
|
|
964
|
+
const body = {} as any;
|
|
965
|
+
const result = await client.channel.listAllEntities(body);
|
|
966
|
+
```
|
|
967
|
+
|
|
916
968
|
### channel_resource
|
|
917
969
|
|
|
918
970
|
```typescript
|
|
@@ -921,6 +973,14 @@ const body = {} as any;
|
|
|
921
973
|
const result = await client.channelResource.listAllEntities(body);
|
|
922
974
|
```
|
|
923
975
|
|
|
976
|
+
### channel_proxy
|
|
977
|
+
|
|
978
|
+
```typescript
|
|
979
|
+
// List all channel proxies
|
|
980
|
+
const body = {} as any;
|
|
981
|
+
const result = await client.channelProxy.listAllEntities(body);
|
|
982
|
+
```
|
|
983
|
+
|
|
924
984
|
### channel_account
|
|
925
985
|
|
|
926
986
|
```typescript
|
|
@@ -929,12 +989,12 @@ const body = {} as any;
|
|
|
929
989
|
const result = await client.channelAccount.listSms(body);
|
|
930
990
|
```
|
|
931
991
|
|
|
932
|
-
###
|
|
992
|
+
### category
|
|
933
993
|
|
|
934
994
|
```typescript
|
|
935
995
|
// Get all categories
|
|
936
996
|
const body = {} as any;
|
|
937
|
-
const result = await client.
|
|
997
|
+
const result = await client.category.listAllEntities(body);
|
|
938
998
|
```
|
|
939
999
|
|
|
940
1000
|
### membership_card
|
|
@@ -961,44 +1021,42 @@ const body = {} as any;
|
|
|
961
1021
|
const result = await client.attribute.listAllEntities(body);
|
|
962
1022
|
```
|
|
963
1023
|
|
|
964
|
-
###
|
|
1024
|
+
### article
|
|
965
1025
|
|
|
966
1026
|
```typescript
|
|
967
1027
|
// Get all AI articles
|
|
968
1028
|
const body = {} as any;
|
|
969
|
-
const result = await client.
|
|
1029
|
+
const result = await client.article.listAllEntities(body);
|
|
970
1030
|
```
|
|
971
1031
|
|
|
972
|
-
###
|
|
1032
|
+
### app
|
|
973
1033
|
|
|
974
1034
|
```typescript
|
|
975
|
-
// Get
|
|
976
|
-
const
|
|
977
|
-
const result = await client.application.listAllEntities(body);
|
|
1035
|
+
// Get app info
|
|
1036
|
+
const result = await client.app.getAppInfo();
|
|
978
1037
|
```
|
|
979
1038
|
|
|
980
1039
|
### api_key
|
|
981
1040
|
|
|
982
1041
|
```typescript
|
|
983
|
-
//
|
|
984
|
-
const
|
|
985
|
-
const result = await client.apiKey.listAllEntities(body);
|
|
1042
|
+
// List API keys for current user
|
|
1043
|
+
const result = await client.apiKey.listMyApiKeys();
|
|
986
1044
|
```
|
|
987
1045
|
|
|
988
|
-
###
|
|
1046
|
+
### agent
|
|
989
1047
|
|
|
990
1048
|
```typescript
|
|
991
1049
|
// Get all AI agents
|
|
992
1050
|
const body = {} as any;
|
|
993
|
-
const result = await client.
|
|
1051
|
+
const result = await client.agent.listAllEntities(body);
|
|
994
1052
|
```
|
|
995
1053
|
|
|
996
|
-
###
|
|
1054
|
+
### agent_tool_relationship
|
|
997
1055
|
|
|
998
1056
|
```typescript
|
|
999
1057
|
// Get all agent-tool relationships
|
|
1000
1058
|
const body = {} as any;
|
|
1001
|
-
const result = await client.
|
|
1059
|
+
const result = await client.agentToolRelationship.listAllEntities(body);
|
|
1002
1060
|
```
|
|
1003
1061
|
|
|
1004
1062
|
### account
|
|
@@ -1017,12 +1075,28 @@ const body = {} as any;
|
|
|
1017
1075
|
const result = await client.accountHistory.listAllEntities(body);
|
|
1018
1076
|
```
|
|
1019
1077
|
|
|
1078
|
+
### account_exchange_config
|
|
1079
|
+
|
|
1080
|
+
```typescript
|
|
1081
|
+
// Get points-to-cash rate
|
|
1082
|
+
const result = await client.accountExchangeConfig.getPointsToCashRate();
|
|
1083
|
+
```
|
|
1084
|
+
|
|
1085
|
+
### invoice
|
|
1086
|
+
|
|
1087
|
+
```typescript
|
|
1088
|
+
// Query invoice page
|
|
1089
|
+
const params = {} as Record<string, any>;
|
|
1090
|
+
const result = await client.invoice.listByPage(params);
|
|
1091
|
+
```
|
|
1092
|
+
|
|
1020
1093
|
### search_chat
|
|
1021
1094
|
|
|
1022
1095
|
```typescript
|
|
1023
1096
|
// POST /backend/v3/api/search/chat/stop
|
|
1097
|
+
const params = {} as Record<string, any>;
|
|
1024
1098
|
const headers = {} as Record<string, string>;
|
|
1025
|
-
const result = await client.searchChat.stop(headers);
|
|
1099
|
+
const result = await client.searchChat.stop(params, headers);
|
|
1026
1100
|
```
|
|
1027
1101
|
|
|
1028
1102
|
### ppt_template_rendering
|
|
@@ -1037,14 +1111,15 @@ const result = await client.pptTemplateRendering.render(body);
|
|
|
1037
1111
|
|
|
1038
1112
|
```typescript
|
|
1039
1113
|
// POST /backend/v3/api/ppt/template/chat/stop
|
|
1114
|
+
const params = {} as Record<string, any>;
|
|
1040
1115
|
const headers = {} as Record<string, string>;
|
|
1041
|
-
const result = await client.pptTemplateChat.stop(headers);
|
|
1116
|
+
const result = await client.pptTemplateChat.stop(params, headers);
|
|
1042
1117
|
```
|
|
1043
1118
|
|
|
1044
1119
|
### knowledge_base_file
|
|
1045
1120
|
|
|
1046
1121
|
```typescript
|
|
1047
|
-
//
|
|
1122
|
+
// List files
|
|
1048
1123
|
const params = {} as Record<string, any>;
|
|
1049
1124
|
const result = await client.knowledgeBaseFile.listFiles(params);
|
|
1050
1125
|
```
|
|
@@ -1053,126 +1128,98 @@ const result = await client.knowledgeBaseFile.listFiles(params);
|
|
|
1053
1128
|
|
|
1054
1129
|
```typescript
|
|
1055
1130
|
// POST /backend/v3/api/knowledge_base/chat/stop
|
|
1131
|
+
const params = {} as Record<string, any>;
|
|
1056
1132
|
const headers = {} as Record<string, string>;
|
|
1057
|
-
const result = await client.knowledgeBaseChat.stop(headers);
|
|
1133
|
+
const result = await client.knowledgeBaseChat.stop(params, headers);
|
|
1058
1134
|
```
|
|
1059
1135
|
|
|
1060
1136
|
### im_message
|
|
1061
1137
|
|
|
1062
1138
|
```typescript
|
|
1063
|
-
//
|
|
1139
|
+
// Mark conversation messages as read
|
|
1064
1140
|
const body = {} as any;
|
|
1065
|
-
const
|
|
1066
|
-
const result = await client.imMessage.listByPage(body, params);
|
|
1141
|
+
const result = await client.imMessage.markRead(body);
|
|
1067
1142
|
```
|
|
1068
1143
|
|
|
1069
|
-
###
|
|
1144
|
+
### voice_speaker_generation
|
|
1070
1145
|
|
|
1071
1146
|
```typescript
|
|
1072
1147
|
// Create voice speaker generation task
|
|
1073
1148
|
const body = {} as any;
|
|
1074
|
-
const result = await client.
|
|
1149
|
+
const result = await client.voiceSpeakerGeneration.create(body);
|
|
1075
1150
|
```
|
|
1076
1151
|
|
|
1077
|
-
###
|
|
1152
|
+
### video_generation
|
|
1078
1153
|
|
|
1079
1154
|
```typescript
|
|
1080
1155
|
// Create video generation task
|
|
1081
1156
|
const body = {} as any;
|
|
1082
|
-
const result = await client.
|
|
1157
|
+
const result = await client.videoGeneration.create(body);
|
|
1083
1158
|
```
|
|
1084
1159
|
|
|
1085
|
-
###
|
|
1160
|
+
### music_generation
|
|
1086
1161
|
|
|
1087
1162
|
```typescript
|
|
1088
1163
|
// Create music generation task
|
|
1089
1164
|
const body = {} as any;
|
|
1090
|
-
const result = await client.
|
|
1165
|
+
const result = await client.musicGeneration.create(body);
|
|
1091
1166
|
```
|
|
1092
1167
|
|
|
1093
|
-
###
|
|
1168
|
+
### image_generation
|
|
1094
1169
|
|
|
1095
1170
|
```typescript
|
|
1096
1171
|
// Create image generation task
|
|
1097
1172
|
const body = {} as any;
|
|
1098
|
-
const result = await client.
|
|
1173
|
+
const result = await client.imageGeneration.create(body);
|
|
1099
1174
|
```
|
|
1100
1175
|
|
|
1101
|
-
###
|
|
1176
|
+
### character_generation
|
|
1102
1177
|
|
|
1103
1178
|
```typescript
|
|
1104
1179
|
// Create character generation task
|
|
1105
1180
|
const body = {} as any;
|
|
1106
|
-
const result = await client.
|
|
1181
|
+
const result = await client.characterGeneration.create(body);
|
|
1107
1182
|
```
|
|
1108
1183
|
|
|
1109
|
-
###
|
|
1184
|
+
### audio_generation
|
|
1110
1185
|
|
|
1111
1186
|
```typescript
|
|
1112
1187
|
// Create audio generation task
|
|
1113
1188
|
const body = {} as any;
|
|
1114
|
-
const result = await client.
|
|
1189
|
+
const result = await client.audioGeneration.create(body);
|
|
1115
1190
|
```
|
|
1116
1191
|
|
|
1117
|
-
###
|
|
1192
|
+
### audio_effect_generation
|
|
1118
1193
|
|
|
1119
1194
|
```typescript
|
|
1120
1195
|
// Create audio effect generation task
|
|
1121
1196
|
const body = {} as any;
|
|
1122
|
-
const result = await client.
|
|
1197
|
+
const result = await client.audioEffectGeneration.create(body);
|
|
1123
1198
|
```
|
|
1124
1199
|
|
|
1125
|
-
###
|
|
1200
|
+
### chat
|
|
1126
1201
|
|
|
1127
1202
|
```typescript
|
|
1128
1203
|
// Stop a chat completion stream
|
|
1204
|
+
const params = {} as Record<string, any>;
|
|
1129
1205
|
const headers = {} as Record<string, string>;
|
|
1130
|
-
const result = await client.
|
|
1206
|
+
const result = await client.chat.stop(params, headers);
|
|
1131
1207
|
```
|
|
1132
1208
|
|
|
1133
|
-
###
|
|
1209
|
+
### auth
|
|
1134
1210
|
|
|
1135
1211
|
```typescript
|
|
1136
|
-
//
|
|
1137
|
-
const
|
|
1138
|
-
const result = await client.verification.verifyPhone(body);
|
|
1212
|
+
// Get roles
|
|
1213
|
+
const result = await client.auth.getRoles();
|
|
1139
1214
|
```
|
|
1140
1215
|
|
|
1141
|
-
###
|
|
1142
|
-
|
|
1143
|
-
```typescript
|
|
1144
|
-
// Get OAuth authorization URL
|
|
1145
|
-
const body = {} as any;
|
|
1146
|
-
const result = await client.oauthAuthentication.getAuthUrl(body);
|
|
1147
|
-
```
|
|
1148
|
-
|
|
1149
|
-
### authorization
|
|
1150
|
-
|
|
1151
|
-
```typescript
|
|
1152
|
-
// 获取用户角色列表
|
|
1153
|
-
const result = await client.authorization.getRoles();
|
|
1154
|
-
```
|
|
1155
|
-
|
|
1156
|
-
### authentication
|
|
1157
|
-
|
|
1158
|
-
```typescript
|
|
1159
|
-
// 获取当前用户信息
|
|
1160
|
-
const result = await client.authentication.getCurrentUser();
|
|
1161
|
-
```
|
|
1162
|
-
|
|
1163
|
-
### app
|
|
1164
|
-
|
|
1165
|
-
```typescript
|
|
1166
|
-
// Get app info
|
|
1167
|
-
const result = await client.app.getAppInfo();
|
|
1168
|
-
```
|
|
1169
|
-
|
|
1170
|
-
### ai_agent_chat
|
|
1216
|
+
### agent_chat
|
|
1171
1217
|
|
|
1172
1218
|
```typescript
|
|
1173
1219
|
// Stop a chat completion stream
|
|
1220
|
+
const params = {} as Record<string, any>;
|
|
1174
1221
|
const headers = {} as Record<string, string>;
|
|
1175
|
-
const result = await client.
|
|
1222
|
+
const result = await client.agentChat.stop(params, headers);
|
|
1176
1223
|
```
|
|
1177
1224
|
|
|
1178
1225
|
## Error Handling
|
|
@@ -1195,7 +1242,6 @@ try {
|
|
|
1195
1242
|
}
|
|
1196
1243
|
```
|
|
1197
1244
|
|
|
1198
|
-
|
|
1199
1245
|
## Publishing
|
|
1200
1246
|
|
|
1201
1247
|
This SDK includes cross-platform publish scripts in `bin/`:
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HttpClient } from '../http/client';
|
|
2
|
+
import { AccountExchangeRateUpdateForm, PlusApiResultAccountExchangeRateVO } from '../types';
|
|
3
|
+
export declare class AccountExchangeConfigApi {
|
|
4
|
+
private client;
|
|
5
|
+
constructor(client: HttpClient);
|
|
6
|
+
/** Get points-to-cash rate */
|
|
7
|
+
getPointsToCashRate(): Promise<PlusApiResultAccountExchangeRateVO>;
|
|
8
|
+
/** Update points-to-cash rate */
|
|
9
|
+
updatePointsToCashRate(body: AccountExchangeRateUpdateForm): Promise<PlusApiResultAccountExchangeRateVO>;
|
|
10
|
+
}
|
|
11
|
+
export declare function createAccountExchangeConfigApi(client: HttpClient): AccountExchangeConfigApi;
|
|
12
|
+
//# sourceMappingURL=account-exchange-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-exchange-config.d.ts","sourceRoot":"","sources":["../../src/api/account-exchange-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,KAAK,EAAE,6BAA6B,EAAE,kCAAkC,EAAE,MAAM,UAAU,CAAC;AAGlG,qBAAa,wBAAwB;IACnC,OAAO,CAAC,MAAM,CAAa;gBAEf,MAAM,EAAE,UAAU;IAIhC,8BAA8B;IACtB,mBAAmB,IAAI,OAAO,CAAC,kCAAkC,CAAC;IAI1E,iCAAiC;IACzB,sBAAsB,CAAC,IAAI,EAAE,6BAA6B,GAAG,OAAO,CAAC,kCAAkC,CAAC;CAG/G;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,UAAU,GAAG,wBAAwB,CAE3F"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpClient } from '../http/client';
|
|
2
|
+
import { QueryParams } from '../types/common';
|
|
3
|
+
import { ChatCompletionChunk, ChatCompletionCreateForm, PlusApiResult } from '../types';
|
|
4
|
+
export declare class AgentChatApi {
|
|
5
|
+
private client;
|
|
6
|
+
constructor(client: HttpClient);
|
|
7
|
+
/** Create a chat completion with agent */
|
|
8
|
+
withContext(body: ChatCompletionCreateForm, params?: QueryParams, headers?: Record<string, string>): Promise<ChatCompletionChunk>;
|
|
9
|
+
/** Stop a chat completion stream */
|
|
10
|
+
stop(params?: QueryParams, headers?: Record<string, string>): Promise<PlusApiResult>;
|
|
11
|
+
/** Create a chat completion with agent */
|
|
12
|
+
resumeStream(body: ChatCompletionCreateForm, params?: QueryParams, headers?: Record<string, string>): Promise<ChatCompletionChunk>;
|
|
13
|
+
/** Create a chat completion with agent */
|
|
14
|
+
create(body: ChatCompletionCreateForm, params?: QueryParams, headers?: Record<string, string>): Promise<ChatCompletionChunk>;
|
|
15
|
+
}
|
|
16
|
+
export declare function createAgentChatApi(client: HttpClient): AgentChatApi;
|
|
17
|
+
//# sourceMappingURL=agent-chat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-chat.d.ts","sourceRoot":"","sources":["../../src/api/agent-chat.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAG7F,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAa;gBAEf,MAAM,EAAE,UAAU;IAIhC,0CAA0C;IAClC,WAAW,CAAC,IAAI,EAAE,wBAAwB,EAAE,MAAM,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIzI,oCAAoC;IAC5B,IAAI,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC;IAI5F,0CAA0C;IAClC,YAAY,CAAC,IAAI,EAAE,wBAAwB,EAAE,MAAM,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI1I,0CAA0C;IAClC,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,MAAM,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAGnI;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,UAAU,GAAG,YAAY,CAEnE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '../http/client';
|
|
2
2
|
import { QueryParams } from '../types/common';
|
|
3
3
|
import { PlusAiAgentToolForm, PlusApiResultBoolean, PlusApiResultListPlusAiAgentToolVO, PlusApiResultPagePlusAiAgentToolVO, PlusApiResultPlusAiAgentToolVO, QueryListForm } from '../types';
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class AgentToolRelationshipApi {
|
|
5
5
|
private client;
|
|
6
6
|
constructor(client: HttpClient);
|
|
7
7
|
/** Update an existing agent-tool relationship */
|
|
@@ -17,5 +17,5 @@ export declare class AiAgentToolRelationshipApi {
|
|
|
17
17
|
/** Delete an agent-tool relationship */
|
|
18
18
|
delete(id: string | number): Promise<PlusApiResultBoolean>;
|
|
19
19
|
}
|
|
20
|
-
export declare function
|
|
21
|
-
//# sourceMappingURL=
|
|
20
|
+
export declare function createAgentToolRelationshipApi(client: HttpClient): AgentToolRelationshipApi;
|
|
21
|
+
//# sourceMappingURL=agent-tool-relationship.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-tool-relationship.d.ts","sourceRoot":"","sources":["../../src/api/agent-tool-relationship.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,kCAAkC,EAAE,kCAAkC,EAAE,8BAA8B,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGjM,qBAAa,wBAAwB;IACnC,OAAO,CAAC,MAAM,CAAa;gBAEf,MAAM,EAAE,UAAU;IAIhC,iDAAiD;IACzC,MAAM,CAAC,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC;IAIlF,2CAA2C;IACnC,MAAM,CAAC,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,8BAA8B,CAAC;IAIlF,2CAA2C;IACnC,UAAU,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,kCAAkC,CAAC;IAI3G,uCAAuC;IAC/B,eAAe,CAAC,IAAI,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,kCAAkC,CAAC;IAI1F,2CAA2C;IACnC,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,8BAA8B,CAAC;IAI7E,wCAAwC;IAChC,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAGjE;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,UAAU,GAAG,wBAAwB,CAE3F"}
|