@sdkwork/backend-sdk 1.0.1 → 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 -138
- 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 +5 -9
- 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
|
@@ -12,23 +12,6 @@ yarn add @sdkwork/backend-sdk
|
|
|
12
12
|
pnpm add @sdkwork/backend-sdk
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
## sdk-common Dependency Source
|
|
16
|
-
|
|
17
|
-
`@sdkwork/sdk-common` uses npm by default. You can switch between npm and git source:
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
# switch to npm package (default)
|
|
21
|
-
npm run deps:common:npm
|
|
22
|
-
npm install
|
|
23
|
-
|
|
24
|
-
# switch to git repository
|
|
25
|
-
npm run deps:common:git
|
|
26
|
-
npm install
|
|
27
|
-
|
|
28
|
-
# check current source
|
|
29
|
-
npm run deps:common:show
|
|
30
|
-
```
|
|
31
|
-
|
|
32
15
|
## Quick Start
|
|
33
16
|
|
|
34
17
|
```typescript
|
|
@@ -107,32 +90,36 @@ const client = new SdkworkBackendClient({
|
|
|
107
90
|
- `client.userCoupon` - user_coupon API
|
|
108
91
|
- `client.userCard` - user_card API
|
|
109
92
|
- `client.userAddress` - user_address API
|
|
110
|
-
- `client.
|
|
93
|
+
- `client.usageRecord` - usage_record API
|
|
111
94
|
- `client.shoppingCart` - shopping_cart API
|
|
112
95
|
- `client.shoppingCartItem` - shopping_cart_item API
|
|
113
96
|
- `client.refund` - refund API
|
|
114
97
|
- `client.payment` - payment API
|
|
115
98
|
- `client.order` - order API
|
|
116
99
|
- `client.orderItem` - order_item API
|
|
117
|
-
- `client.
|
|
100
|
+
- `client.tool` - tool API
|
|
118
101
|
- `client.tenant` - tenant API
|
|
119
102
|
- `client.databaseTable` - database_table API
|
|
120
103
|
- `client.productSku` - product_sku API
|
|
104
|
+
- `client.skill` - skill API
|
|
105
|
+
- `client.skillPackage` - skill_package API
|
|
121
106
|
- `client.shortUrl` - short_url API
|
|
122
107
|
- `client.shop` - shop API
|
|
123
108
|
- `client.share` - share API
|
|
124
109
|
- `client.shareVisitRecord` - share_visit_record API
|
|
125
110
|
- `client.shardingKey` - sharding_key API
|
|
111
|
+
- `client.apiSecurityPolicy` - api_security_policy API
|
|
126
112
|
- `client.schema` - schema API
|
|
127
113
|
- `client.rbacRole` - rbac_role API
|
|
128
114
|
- `client.rolePermission` - role_permission API
|
|
129
115
|
- `client.invocationRecord` - invocation_record API
|
|
130
116
|
- `client.rbacUserRole` - rbac_user_role API
|
|
131
|
-
- `client.
|
|
117
|
+
- `client.prompt` - prompt API
|
|
132
118
|
- `client.project` - project API
|
|
133
119
|
- `client.product` - product API
|
|
134
120
|
- `client.pptTemplate` - ppt_template API
|
|
135
121
|
- `client.pptTemplateSlide` - ppt_template_slide API
|
|
122
|
+
- `client.rbacPermission` - rbac_permission API
|
|
136
123
|
- `client.partner` - partner API
|
|
137
124
|
- `client.chatParticipant` - chat_participant API
|
|
138
125
|
- `client.ossBucket` - oss_bucket API
|
|
@@ -143,11 +130,11 @@ const client = new SdkworkBackendClient({
|
|
|
143
130
|
- `client.notification` - notification API
|
|
144
131
|
- `client.notes` - notes API
|
|
145
132
|
- `client.news` - news API
|
|
146
|
-
- `client.
|
|
133
|
+
- `client.net` - net API
|
|
147
134
|
- `client.dnsRecord` - dns_record API
|
|
148
135
|
- `client.music` - music API
|
|
149
|
-
- `client.
|
|
150
|
-
- `client.
|
|
136
|
+
- `client.modelInformation` - model_information API
|
|
137
|
+
- `client.modelPrice` - model_price API
|
|
151
138
|
- `client.chatMessage` - chat_message API
|
|
152
139
|
- `client.memberLevel` - member_level API
|
|
153
140
|
- `client.memberCard` - member_card API
|
|
@@ -156,8 +143,8 @@ const client = new SdkworkBackendClient({
|
|
|
156
143
|
- `client.invitationCode` - invitation_code API
|
|
157
144
|
- `client.image` - image API
|
|
158
145
|
- `client.chatGroup` - chat_group API
|
|
159
|
-
- `client.
|
|
160
|
-
- `client.
|
|
146
|
+
- `client.generation` - generation API
|
|
147
|
+
- `client.generationContent` - generation_content API
|
|
161
148
|
- `client.file` - file API
|
|
162
149
|
- `client.filePart` - file_part API
|
|
163
150
|
- `client.fileContent` - file_content API
|
|
@@ -171,45 +158,46 @@ const client = new SdkworkBackendClient({
|
|
|
171
158
|
- `client.datasource` - datasource API
|
|
172
159
|
- `client.coupon` - coupon API
|
|
173
160
|
- `client.couponTemplate` - coupon_template API
|
|
174
|
-
- `client.
|
|
161
|
+
- `client.conversation` - conversation API
|
|
162
|
+
- `client.contentWriting` - content_writing API
|
|
175
163
|
- `client.comment` - comment API
|
|
176
164
|
- `client.column` - column API
|
|
177
165
|
- `client.collection` - collection API
|
|
178
166
|
- `client.collectionItem` - collection_item API
|
|
179
167
|
- `client.character` - character API
|
|
168
|
+
- `client.channel` - channel API
|
|
180
169
|
- `client.channelResource` - channel_resource API
|
|
170
|
+
- `client.channelProxy` - channel_proxy API
|
|
181
171
|
- `client.channelAccount` - channel_account API
|
|
182
|
-
- `client.
|
|
172
|
+
- `client.category` - category API
|
|
183
173
|
- `client.membershipCard` - membership_card API
|
|
184
174
|
- `client.cardTemplate` - card_template API
|
|
185
175
|
- `client.attribute` - attribute API
|
|
186
|
-
- `client.
|
|
187
|
-
- `client.
|
|
176
|
+
- `client.article` - article API
|
|
177
|
+
- `client.app` - app API
|
|
188
178
|
- `client.apiKey` - api_key API
|
|
189
|
-
- `client.
|
|
190
|
-
- `client.
|
|
179
|
+
- `client.agent` - agent API
|
|
180
|
+
- `client.agentToolRelationship` - agent_tool_relationship API
|
|
191
181
|
- `client.account` - account API
|
|
192
182
|
- `client.accountHistory` - account_history API
|
|
183
|
+
- `client.accountExchangeConfig` - account_exchange_config API
|
|
184
|
+
- `client.invoice` - invoice API
|
|
193
185
|
- `client.searchChat` - search_chat API
|
|
194
186
|
- `client.pptTemplateRendering` - ppt_template_rendering API
|
|
195
187
|
- `client.pptTemplateChat` - ppt_template_chat API
|
|
196
188
|
- `client.knowledgeBaseFile` - knowledge_base_file API
|
|
197
189
|
- `client.knowledgeBaseChat` - knowledge_base_chat API
|
|
198
190
|
- `client.imMessage` - im_message API
|
|
199
|
-
- `client.
|
|
200
|
-
- `client.
|
|
201
|
-
- `client.
|
|
202
|
-
- `client.
|
|
203
|
-
- `client.
|
|
204
|
-
- `client.
|
|
205
|
-
- `client.
|
|
206
|
-
- `client.
|
|
207
|
-
- `client.
|
|
208
|
-
- `client.
|
|
209
|
-
- `client.authorization` - authorization API
|
|
210
|
-
- `client.authentication` - authentication API
|
|
211
|
-
- `client.app` - app API
|
|
212
|
-
- `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
|
|
213
201
|
|
|
214
202
|
## Usage Examples
|
|
215
203
|
|
|
@@ -371,12 +359,12 @@ const body = {} as any;
|
|
|
371
359
|
const result = await client.userAddress.listAllEntities(body);
|
|
372
360
|
```
|
|
373
361
|
|
|
374
|
-
###
|
|
362
|
+
### usage_record
|
|
375
363
|
|
|
376
364
|
```typescript
|
|
377
365
|
// Get all usage records
|
|
378
366
|
const body = {} as any;
|
|
379
|
-
const result = await client.
|
|
367
|
+
const result = await client.usageRecord.listAllEntities(body);
|
|
380
368
|
```
|
|
381
369
|
|
|
382
370
|
### shopping_cart
|
|
@@ -427,12 +415,12 @@ const body = {} as any;
|
|
|
427
415
|
const result = await client.orderItem.listAllEntities(body);
|
|
428
416
|
```
|
|
429
417
|
|
|
430
|
-
###
|
|
418
|
+
### tool
|
|
431
419
|
|
|
432
420
|
```typescript
|
|
433
421
|
// Get all AI tools
|
|
434
422
|
const body = {} as any;
|
|
435
|
-
const result = await client.
|
|
423
|
+
const result = await client.tool.listAllEntities(body);
|
|
436
424
|
```
|
|
437
425
|
|
|
438
426
|
### tenant
|
|
@@ -459,6 +447,22 @@ const body = {} as any;
|
|
|
459
447
|
const result = await client.productSku.listAllEntities(body);
|
|
460
448
|
```
|
|
461
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
|
+
|
|
462
466
|
### short_url
|
|
463
467
|
|
|
464
468
|
```typescript
|
|
@@ -499,6 +503,14 @@ const body = {} as any;
|
|
|
499
503
|
const result = await client.shardingKey.listAllEntities(body);
|
|
500
504
|
```
|
|
501
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
|
+
|
|
502
514
|
### schema
|
|
503
515
|
|
|
504
516
|
```typescript
|
|
@@ -539,12 +551,12 @@ const body = {} as any;
|
|
|
539
551
|
const result = await client.rbacUserRole.listAllEntities(body);
|
|
540
552
|
```
|
|
541
553
|
|
|
542
|
-
###
|
|
554
|
+
### prompt
|
|
543
555
|
|
|
544
556
|
```typescript
|
|
545
557
|
// Get all AI prompts
|
|
546
558
|
const body = {} as any;
|
|
547
|
-
const result = await client.
|
|
559
|
+
const result = await client.prompt.listAllEntities(body);
|
|
548
560
|
```
|
|
549
561
|
|
|
550
562
|
### project
|
|
@@ -579,6 +591,14 @@ const body = {} as any;
|
|
|
579
591
|
const result = await client.pptTemplateSlide.listAllEntities(body);
|
|
580
592
|
```
|
|
581
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
|
+
|
|
582
602
|
### partner
|
|
583
603
|
|
|
584
604
|
```typescript
|
|
@@ -658,12 +678,12 @@ const body = {} as any;
|
|
|
658
678
|
const result = await client.news.listAllEntities(body);
|
|
659
679
|
```
|
|
660
680
|
|
|
661
|
-
###
|
|
681
|
+
### net
|
|
662
682
|
|
|
663
683
|
```typescript
|
|
664
684
|
// 获取所有域名
|
|
665
685
|
const body = {} as any;
|
|
666
|
-
const result = await client.
|
|
686
|
+
const result = await client.net.listAllEntities(body);
|
|
667
687
|
```
|
|
668
688
|
|
|
669
689
|
### dns_record
|
|
@@ -682,20 +702,20 @@ const body = {} as any;
|
|
|
682
702
|
const result = await client.music.listAllEntities(body);
|
|
683
703
|
```
|
|
684
704
|
|
|
685
|
-
###
|
|
705
|
+
### model_information
|
|
686
706
|
|
|
687
707
|
```typescript
|
|
688
708
|
// Get all AI model information
|
|
689
709
|
const body = {} as any;
|
|
690
|
-
const result = await client.
|
|
710
|
+
const result = await client.modelInformation.listAllEntities(body);
|
|
691
711
|
```
|
|
692
712
|
|
|
693
|
-
###
|
|
713
|
+
### model_price
|
|
694
714
|
|
|
695
715
|
```typescript
|
|
696
716
|
// Get all AI model prices
|
|
697
717
|
const body = {} as any;
|
|
698
|
-
const result = await client.
|
|
718
|
+
const result = await client.modelPrice.listAllEntities(body);
|
|
699
719
|
```
|
|
700
720
|
|
|
701
721
|
### chat_message
|
|
@@ -762,26 +782,26 @@ const body = {} as any;
|
|
|
762
782
|
const result = await client.chatGroup.listAllEntities(body);
|
|
763
783
|
```
|
|
764
784
|
|
|
765
|
-
###
|
|
785
|
+
### generation
|
|
766
786
|
|
|
767
787
|
```typescript
|
|
768
788
|
// Get all AI generation records
|
|
769
789
|
const body = {} as any;
|
|
770
|
-
const result = await client.
|
|
790
|
+
const result = await client.generation.listAllEntities(body);
|
|
771
791
|
```
|
|
772
792
|
|
|
773
|
-
###
|
|
793
|
+
### generation_content
|
|
774
794
|
|
|
775
795
|
```typescript
|
|
776
796
|
// Get all AI generated content
|
|
777
797
|
const body = {} as any;
|
|
778
|
-
const result = await client.
|
|
798
|
+
const result = await client.generationContent.listAllEntities(body);
|
|
779
799
|
```
|
|
780
800
|
|
|
781
801
|
### file
|
|
782
802
|
|
|
783
803
|
```typescript
|
|
784
|
-
//
|
|
804
|
+
// List files
|
|
785
805
|
const params = {} as Record<string, any>;
|
|
786
806
|
const result = await client.file.listFiles(params);
|
|
787
807
|
```
|
|
@@ -882,12 +902,19 @@ const body = {} as any;
|
|
|
882
902
|
const result = await client.couponTemplate.listAllEntities(body);
|
|
883
903
|
```
|
|
884
904
|
|
|
885
|
-
###
|
|
905
|
+
### conversation
|
|
886
906
|
|
|
887
907
|
```typescript
|
|
888
908
|
// Get all open conversations
|
|
889
909
|
const body = {} as any;
|
|
890
|
-
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();
|
|
891
918
|
```
|
|
892
919
|
|
|
893
920
|
### comment
|
|
@@ -930,6 +957,14 @@ const body = {} as any;
|
|
|
930
957
|
const result = await client.character.listAllEntities(body);
|
|
931
958
|
```
|
|
932
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
|
+
|
|
933
968
|
### channel_resource
|
|
934
969
|
|
|
935
970
|
```typescript
|
|
@@ -938,6 +973,14 @@ const body = {} as any;
|
|
|
938
973
|
const result = await client.channelResource.listAllEntities(body);
|
|
939
974
|
```
|
|
940
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
|
+
|
|
941
984
|
### channel_account
|
|
942
985
|
|
|
943
986
|
```typescript
|
|
@@ -946,12 +989,12 @@ const body = {} as any;
|
|
|
946
989
|
const result = await client.channelAccount.listSms(body);
|
|
947
990
|
```
|
|
948
991
|
|
|
949
|
-
###
|
|
992
|
+
### category
|
|
950
993
|
|
|
951
994
|
```typescript
|
|
952
995
|
// Get all categories
|
|
953
996
|
const body = {} as any;
|
|
954
|
-
const result = await client.
|
|
997
|
+
const result = await client.category.listAllEntities(body);
|
|
955
998
|
```
|
|
956
999
|
|
|
957
1000
|
### membership_card
|
|
@@ -978,44 +1021,42 @@ const body = {} as any;
|
|
|
978
1021
|
const result = await client.attribute.listAllEntities(body);
|
|
979
1022
|
```
|
|
980
1023
|
|
|
981
|
-
###
|
|
1024
|
+
### article
|
|
982
1025
|
|
|
983
1026
|
```typescript
|
|
984
1027
|
// Get all AI articles
|
|
985
1028
|
const body = {} as any;
|
|
986
|
-
const result = await client.
|
|
1029
|
+
const result = await client.article.listAllEntities(body);
|
|
987
1030
|
```
|
|
988
1031
|
|
|
989
|
-
###
|
|
1032
|
+
### app
|
|
990
1033
|
|
|
991
1034
|
```typescript
|
|
992
|
-
// Get
|
|
993
|
-
const
|
|
994
|
-
const result = await client.application.listAllEntities(body);
|
|
1035
|
+
// Get app info
|
|
1036
|
+
const result = await client.app.getAppInfo();
|
|
995
1037
|
```
|
|
996
1038
|
|
|
997
1039
|
### api_key
|
|
998
1040
|
|
|
999
1041
|
```typescript
|
|
1000
|
-
//
|
|
1001
|
-
const
|
|
1002
|
-
const result = await client.apiKey.listAllEntities(body);
|
|
1042
|
+
// List API keys for current user
|
|
1043
|
+
const result = await client.apiKey.listMyApiKeys();
|
|
1003
1044
|
```
|
|
1004
1045
|
|
|
1005
|
-
###
|
|
1046
|
+
### agent
|
|
1006
1047
|
|
|
1007
1048
|
```typescript
|
|
1008
1049
|
// Get all AI agents
|
|
1009
1050
|
const body = {} as any;
|
|
1010
|
-
const result = await client.
|
|
1051
|
+
const result = await client.agent.listAllEntities(body);
|
|
1011
1052
|
```
|
|
1012
1053
|
|
|
1013
|
-
###
|
|
1054
|
+
### agent_tool_relationship
|
|
1014
1055
|
|
|
1015
1056
|
```typescript
|
|
1016
1057
|
// Get all agent-tool relationships
|
|
1017
1058
|
const body = {} as any;
|
|
1018
|
-
const result = await client.
|
|
1059
|
+
const result = await client.agentToolRelationship.listAllEntities(body);
|
|
1019
1060
|
```
|
|
1020
1061
|
|
|
1021
1062
|
### account
|
|
@@ -1034,12 +1075,28 @@ const body = {} as any;
|
|
|
1034
1075
|
const result = await client.accountHistory.listAllEntities(body);
|
|
1035
1076
|
```
|
|
1036
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
|
+
|
|
1037
1093
|
### search_chat
|
|
1038
1094
|
|
|
1039
1095
|
```typescript
|
|
1040
1096
|
// POST /backend/v3/api/search/chat/stop
|
|
1097
|
+
const params = {} as Record<string, any>;
|
|
1041
1098
|
const headers = {} as Record<string, string>;
|
|
1042
|
-
const result = await client.searchChat.stop(headers);
|
|
1099
|
+
const result = await client.searchChat.stop(params, headers);
|
|
1043
1100
|
```
|
|
1044
1101
|
|
|
1045
1102
|
### ppt_template_rendering
|
|
@@ -1054,14 +1111,15 @@ const result = await client.pptTemplateRendering.render(body);
|
|
|
1054
1111
|
|
|
1055
1112
|
```typescript
|
|
1056
1113
|
// POST /backend/v3/api/ppt/template/chat/stop
|
|
1114
|
+
const params = {} as Record<string, any>;
|
|
1057
1115
|
const headers = {} as Record<string, string>;
|
|
1058
|
-
const result = await client.pptTemplateChat.stop(headers);
|
|
1116
|
+
const result = await client.pptTemplateChat.stop(params, headers);
|
|
1059
1117
|
```
|
|
1060
1118
|
|
|
1061
1119
|
### knowledge_base_file
|
|
1062
1120
|
|
|
1063
1121
|
```typescript
|
|
1064
|
-
//
|
|
1122
|
+
// List files
|
|
1065
1123
|
const params = {} as Record<string, any>;
|
|
1066
1124
|
const result = await client.knowledgeBaseFile.listFiles(params);
|
|
1067
1125
|
```
|
|
@@ -1070,126 +1128,98 @@ const result = await client.knowledgeBaseFile.listFiles(params);
|
|
|
1070
1128
|
|
|
1071
1129
|
```typescript
|
|
1072
1130
|
// POST /backend/v3/api/knowledge_base/chat/stop
|
|
1131
|
+
const params = {} as Record<string, any>;
|
|
1073
1132
|
const headers = {} as Record<string, string>;
|
|
1074
|
-
const result = await client.knowledgeBaseChat.stop(headers);
|
|
1133
|
+
const result = await client.knowledgeBaseChat.stop(params, headers);
|
|
1075
1134
|
```
|
|
1076
1135
|
|
|
1077
1136
|
### im_message
|
|
1078
1137
|
|
|
1079
1138
|
```typescript
|
|
1080
|
-
//
|
|
1139
|
+
// Mark conversation messages as read
|
|
1081
1140
|
const body = {} as any;
|
|
1082
|
-
const
|
|
1083
|
-
const result = await client.imMessage.listByPage(body, params);
|
|
1141
|
+
const result = await client.imMessage.markRead(body);
|
|
1084
1142
|
```
|
|
1085
1143
|
|
|
1086
|
-
###
|
|
1144
|
+
### voice_speaker_generation
|
|
1087
1145
|
|
|
1088
1146
|
```typescript
|
|
1089
1147
|
// Create voice speaker generation task
|
|
1090
1148
|
const body = {} as any;
|
|
1091
|
-
const result = await client.
|
|
1149
|
+
const result = await client.voiceSpeakerGeneration.create(body);
|
|
1092
1150
|
```
|
|
1093
1151
|
|
|
1094
|
-
###
|
|
1152
|
+
### video_generation
|
|
1095
1153
|
|
|
1096
1154
|
```typescript
|
|
1097
1155
|
// Create video generation task
|
|
1098
1156
|
const body = {} as any;
|
|
1099
|
-
const result = await client.
|
|
1157
|
+
const result = await client.videoGeneration.create(body);
|
|
1100
1158
|
```
|
|
1101
1159
|
|
|
1102
|
-
###
|
|
1160
|
+
### music_generation
|
|
1103
1161
|
|
|
1104
1162
|
```typescript
|
|
1105
1163
|
// Create music generation task
|
|
1106
1164
|
const body = {} as any;
|
|
1107
|
-
const result = await client.
|
|
1165
|
+
const result = await client.musicGeneration.create(body);
|
|
1108
1166
|
```
|
|
1109
1167
|
|
|
1110
|
-
###
|
|
1168
|
+
### image_generation
|
|
1111
1169
|
|
|
1112
1170
|
```typescript
|
|
1113
1171
|
// Create image generation task
|
|
1114
1172
|
const body = {} as any;
|
|
1115
|
-
const result = await client.
|
|
1173
|
+
const result = await client.imageGeneration.create(body);
|
|
1116
1174
|
```
|
|
1117
1175
|
|
|
1118
|
-
###
|
|
1176
|
+
### character_generation
|
|
1119
1177
|
|
|
1120
1178
|
```typescript
|
|
1121
1179
|
// Create character generation task
|
|
1122
1180
|
const body = {} as any;
|
|
1123
|
-
const result = await client.
|
|
1181
|
+
const result = await client.characterGeneration.create(body);
|
|
1124
1182
|
```
|
|
1125
1183
|
|
|
1126
|
-
###
|
|
1184
|
+
### audio_generation
|
|
1127
1185
|
|
|
1128
1186
|
```typescript
|
|
1129
1187
|
// Create audio generation task
|
|
1130
1188
|
const body = {} as any;
|
|
1131
|
-
const result = await client.
|
|
1189
|
+
const result = await client.audioGeneration.create(body);
|
|
1132
1190
|
```
|
|
1133
1191
|
|
|
1134
|
-
###
|
|
1192
|
+
### audio_effect_generation
|
|
1135
1193
|
|
|
1136
1194
|
```typescript
|
|
1137
1195
|
// Create audio effect generation task
|
|
1138
1196
|
const body = {} as any;
|
|
1139
|
-
const result = await client.
|
|
1197
|
+
const result = await client.audioEffectGeneration.create(body);
|
|
1140
1198
|
```
|
|
1141
1199
|
|
|
1142
|
-
###
|
|
1200
|
+
### chat
|
|
1143
1201
|
|
|
1144
1202
|
```typescript
|
|
1145
1203
|
// Stop a chat completion stream
|
|
1204
|
+
const params = {} as Record<string, any>;
|
|
1146
1205
|
const headers = {} as Record<string, string>;
|
|
1147
|
-
const result = await client.
|
|
1148
|
-
```
|
|
1149
|
-
|
|
1150
|
-
### verification
|
|
1151
|
-
|
|
1152
|
-
```typescript
|
|
1153
|
-
// Verify phone
|
|
1154
|
-
const body = {} as any;
|
|
1155
|
-
const result = await client.verification.verifyPhone(body);
|
|
1206
|
+
const result = await client.chat.stop(params, headers);
|
|
1156
1207
|
```
|
|
1157
1208
|
|
|
1158
|
-
###
|
|
1209
|
+
### auth
|
|
1159
1210
|
|
|
1160
1211
|
```typescript
|
|
1161
|
-
// Get
|
|
1162
|
-
const
|
|
1163
|
-
const result = await client.oauthAuthentication.getAuthUrl(body);
|
|
1212
|
+
// Get roles
|
|
1213
|
+
const result = await client.auth.getRoles();
|
|
1164
1214
|
```
|
|
1165
1215
|
|
|
1166
|
-
###
|
|
1167
|
-
|
|
1168
|
-
```typescript
|
|
1169
|
-
// 获取用户角色列表
|
|
1170
|
-
const result = await client.authorization.getRoles();
|
|
1171
|
-
```
|
|
1172
|
-
|
|
1173
|
-
### authentication
|
|
1174
|
-
|
|
1175
|
-
```typescript
|
|
1176
|
-
// 获取当前用户信息
|
|
1177
|
-
const result = await client.authentication.getCurrentUser();
|
|
1178
|
-
```
|
|
1179
|
-
|
|
1180
|
-
### app
|
|
1181
|
-
|
|
1182
|
-
```typescript
|
|
1183
|
-
// Get app info
|
|
1184
|
-
const result = await client.app.getAppInfo();
|
|
1185
|
-
```
|
|
1186
|
-
|
|
1187
|
-
### ai_agent_chat
|
|
1216
|
+
### agent_chat
|
|
1188
1217
|
|
|
1189
1218
|
```typescript
|
|
1190
1219
|
// Stop a chat completion stream
|
|
1220
|
+
const params = {} as Record<string, any>;
|
|
1191
1221
|
const headers = {} as Record<string, string>;
|
|
1192
|
-
const result = await client.
|
|
1222
|
+
const result = await client.agentChat.stop(params, headers);
|
|
1193
1223
|
```
|
|
1194
1224
|
|
|
1195
1225
|
## Error Handling
|
|
@@ -1212,7 +1242,6 @@ try {
|
|
|
1212
1242
|
}
|
|
1213
1243
|
```
|
|
1214
1244
|
|
|
1215
|
-
|
|
1216
1245
|
## Publishing
|
|
1217
1246
|
|
|
1218
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"}
|