@sdkwork/app-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 +114 -298
- package/dist/api/account.d.ts +3 -1
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/agent-memory.d.ts +41 -0
- package/dist/api/agent-memory.d.ts.map +1 -0
- package/dist/api/agent.d.ts +35 -0
- package/dist/api/agent.d.ts.map +1 -0
- package/dist/api/app.d.ts +3 -31
- package/dist/api/app.d.ts.map +1 -1
- package/dist/api/auth.d.ts +29 -1
- package/dist/api/auth.d.ts.map +1 -1
- package/dist/api/coupons.d.ts +7 -1
- package/dist/api/coupons.d.ts.map +1 -1
- package/dist/api/{app-documents.d.ts → documents.d.ts} +15 -3
- package/dist/api/documents.d.ts.map +1 -0
- package/dist/api/drive.d.ts +8 -0
- package/dist/api/drive.d.ts.map +1 -1
- package/dist/api/feed.d.ts +20 -16
- package/dist/api/feed.d.ts.map +1 -1
- package/dist/api/history.d.ts +1 -5
- package/dist/api/history.d.ts.map +1 -1
- package/dist/api/index.d.ts +17 -35
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/knowledge-documents.d.ts +73 -0
- package/dist/api/knowledge-documents.d.ts.map +1 -0
- package/dist/api/{models.d.ts → model.d.ts} +21 -19
- package/dist/api/model.d.ts.map +1 -0
- package/dist/api/notes.d.ts +53 -0
- package/dist/api/notes.d.ts.map +1 -0
- package/dist/api/notification.d.ts +32 -22
- package/dist/api/notification.d.ts.map +1 -1
- package/dist/api/orders.d.ts +3 -1
- package/dist/api/orders.d.ts.map +1 -1
- package/dist/api/organization.d.ts +38 -1
- package/dist/api/organization.d.ts.map +1 -1
- package/dist/api/payments.d.ts +3 -1
- package/dist/api/payments.d.ts.map +1 -1
- package/dist/api/products.d.ts +23 -1
- package/dist/api/products.d.ts.map +1 -1
- package/dist/api/rtc.d.ts +19 -0
- package/dist/api/rtc.d.ts.map +1 -0
- package/dist/api/settings.d.ts +1 -5
- package/dist/api/settings.d.ts.map +1 -1
- package/dist/api/skill.d.ts +35 -0
- package/dist/api/skill.d.ts.map +1 -0
- package/dist/api/social.d.ts +25 -1
- package/dist/api/social.d.ts.map +1 -1
- package/dist/api/tool.d.ts +25 -0
- package/dist/api/tool.d.ts.map +1 -0
- package/dist/api/user.d.ts +45 -0
- package/dist/api/user.d.ts.map +1 -0
- package/dist/api/voice-speaker.d.ts +26 -4
- package/dist/api/voice-speaker.d.ts.map +1 -1
- package/dist/api/wallet.d.ts +27 -0
- package/dist/api/wallet.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1396 -968
- package/dist/index.js.map +1 -1
- package/dist/sdk.d.ts +34 -70
- package/dist/sdk.d.ts.map +1 -1
- package/dist/types/account-config-metadata.d.ts +2 -0
- package/dist/types/account-config-metadata.d.ts.map +1 -0
- package/dist/types/app-config.d.ts +7 -0
- package/dist/types/app-config.d.ts.map +1 -0
- package/dist/types/app-create-form.d.ts +3 -0
- package/dist/types/app-create-form.d.ts.map +1 -1
- package/dist/types/app-detail-vo.d.ts +11 -0
- package/dist/types/app-detail-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-publish-readiness-vo.d.ts +11 -0
- package/dist/types/app-publish-readiness-vo.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/app-store-publish-readiness-vo.d.ts +10 -0
- package/dist/types/app-store-publish-readiness-vo.d.ts.map +1 -0
- package/dist/types/app-update-form.d.ts +26 -0
- package/dist/types/app-update-form.d.ts.map +1 -1
- package/dist/types/app-vo.d.ts +3 -0
- package/dist/types/app-vo.d.ts.map +1 -1
- package/dist/types/batch-delete-documents-request.d.ts +2 -0
- package/dist/types/batch-delete-documents-request.d.ts.map +1 -0
- package/dist/types/batch-delete-knowledge-documents-request.d.ts +2 -0
- package/dist/types/batch-delete-knowledge-documents-request.d.ts.map +1 -0
- package/dist/types/batch-delete-notes-request.d.ts +0 -1
- package/dist/types/batch-delete-notes-request.d.ts.map +1 -1
- package/dist/types/contact-friend-vo.d.ts +30 -0
- package/dist/types/contact-friend-vo.d.ts.map +1 -0
- package/dist/types/contact-group-create-form.d.ts +8 -0
- package/dist/types/contact-group-create-form.d.ts.map +1 -0
- package/dist/types/contact-group-update-form.d.ts +8 -0
- package/dist/types/contact-group-update-form.d.ts.map +1 -0
- package/dist/types/contact-group-vo.d.ts +14 -0
- package/dist/types/contact-group-vo.d.ts.map +1 -0
- package/dist/types/contact-query-form.d.ts +10 -0
- package/dist/types/contact-query-form.d.ts.map +1 -0
- package/dist/types/contact-stats-vo.d.ts +14 -0
- package/dist/types/contact-stats-vo.d.ts.map +1 -0
- package/dist/types/coupon-list-form.d.ts +2 -2
- package/dist/types/coupon-list-form.d.ts.map +1 -1
- 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/coupon-vo.d.ts +7 -3
- package/dist/types/coupon-vo.d.ts.map +1 -1
- package/dist/types/create-knowledge-request.d.ts +2 -0
- package/dist/types/create-knowledge-request.d.ts.map +1 -0
- package/dist/types/create-post-request.d.ts +2 -0
- package/dist/types/create-post-request.d.ts.map +1 -0
- package/dist/types/create-request.d.ts +2 -0
- package/dist/types/create-request.d.ts.map +1 -0
- package/dist/types/create-room-request.d.ts +2 -0
- package/dist/types/create-room-request.d.ts.map +1 -0
- package/dist/types/create-session-request.d.ts +2 -0
- package/dist/types/create-session-request.d.ts.map +1 -0
- package/dist/types/delete-batch-documents-request.d.ts +2 -0
- package/dist/types/delete-batch-documents-request.d.ts.map +1 -0
- package/dist/types/delete-batch-knowledge-documents-delete-request.d.ts +2 -0
- package/dist/types/delete-batch-knowledge-documents-delete-request.d.ts.map +1 -0
- package/dist/types/delete-batch-knowledge-documents-delete-request2.d.ts +2 -0
- package/dist/types/delete-batch-knowledge-documents-delete-request2.d.ts.map +1 -0
- package/dist/types/delete-batch-knowledge-documents-request.d.ts +2 -0
- package/dist/types/delete-batch-knowledge-documents-request.d.ts.map +1 -0
- package/dist/types/delete-batch-notes-request.d.ts +2 -0
- package/dist/types/delete-batch-notes-request.d.ts.map +1 -0
- package/dist/types/device-control-form.d.ts +8 -0
- package/dist/types/device-control-form.d.ts.map +1 -0
- package/dist/types/device-message-send-form.d.ts +10 -0
- package/dist/types/device-message-send-form.d.ts.map +1 -0
- package/dist/types/device-message-vo.d.ts +26 -0
- package/dist/types/device-message-vo.d.ts.map +1 -0
- package/dist/types/device-status-update-form.d.ts +6 -0
- package/dist/types/device-status-update-form.d.ts.map +1 -0
- package/dist/types/device-vo.d.ts +16 -0
- package/dist/types/device-vo.d.ts.map +1 -1
- package/dist/types/document-detail-vo.d.ts +2 -0
- package/dist/types/document-detail-vo.d.ts.map +1 -1
- package/dist/types/document-list-query-request.d.ts +8 -0
- package/dist/types/document-list-query-request.d.ts.map +1 -1
- package/dist/types/document-vo.d.ts +2 -0
- package/dist/types/document-vo.d.ts.map +1 -1
- package/dist/types/drive-item-detail-vo.d.ts +2 -0
- package/dist/types/drive-item-detail-vo.d.ts.map +1 -1
- package/dist/types/drive-item-list-form.d.ts +6 -0
- package/dist/types/drive-item-list-form.d.ts.map +1 -1
- package/dist/types/drive-item-vo.d.ts +2 -0
- package/dist/types/drive-item-vo.d.ts.map +1 -1
- package/dist/types/feed-create-form.d.ts +16 -0
- package/dist/types/feed-create-form.d.ts.map +1 -0
- package/dist/types/friend-remark-update-form.d.ts +6 -0
- package/dist/types/friend-remark-update-form.d.ts.map +1 -0
- package/dist/types/friend-request-create-form.d.ts +8 -0
- package/dist/types/friend-request-create-form.d.ts.map +1 -0
- package/dist/types/friend-request-process-form.d.ts +6 -0
- package/dist/types/friend-request-process-form.d.ts.map +1 -0
- package/dist/types/friend-request-vo.d.ts +22 -0
- package/dist/types/friend-request-vo.d.ts.map +1 -0
- package/dist/types/index.d.ts +137 -34
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/install-request.d.ts +2 -0
- package/dist/types/install-request.d.ts.map +1 -0
- package/dist/types/login-vo.d.ts +1 -1
- package/dist/types/login-vo.d.ts.map +1 -1
- package/dist/types/model-info-detail-vo.d.ts +37 -28
- package/dist/types/model-info-detail-vo.d.ts.map +1 -1
- package/dist/types/model-info-vo.d.ts +17 -13
- package/dist/types/model-info-vo.d.ts.map +1 -1
- package/dist/types/model-price-vo.d.ts +45 -11
- package/dist/types/model-price-vo.d.ts.map +1 -1
- package/dist/types/note-batch-operation-request.d.ts +18 -0
- package/dist/types/note-batch-operation-request.d.ts.map +1 -0
- package/dist/types/note-batch-update-request.d.ts +9 -0
- package/dist/types/note-batch-update-request.d.ts.map +1 -0
- package/dist/types/note-batch-update-result-vo.d.ts +22 -0
- package/dist/types/note-batch-update-result-vo.d.ts.map +1 -0
- package/dist/types/note-content-update-request.d.ts +16 -0
- package/dist/types/note-content-update-request.d.ts.map +1 -0
- package/dist/types/note-content-vo.d.ts +30 -0
- package/dist/types/note-content-vo.d.ts.map +1 -0
- package/dist/types/note-create-request.d.ts +2 -0
- package/dist/types/note-create-request.d.ts.map +1 -1
- package/dist/types/note-folder-create-request.d.ts +2 -0
- package/dist/types/note-folder-create-request.d.ts.map +1 -1
- package/dist/types/note-list-query-request.d.ts +8 -0
- package/dist/types/note-list-query-request.d.ts.map +1 -1
- package/dist/types/official-account-config.d.ts +45 -0
- package/dist/types/official-account-config.d.ts.map +1 -0
- package/dist/types/order-create-form.d.ts +5 -4
- package/dist/types/order-create-form.d.ts.map +1 -1
- package/dist/types/order-item-form.d.ts +6 -0
- package/dist/types/order-item-form.d.ts.map +1 -1
- package/dist/types/order-payment-success-vo.d.ts +8 -0
- package/dist/types/order-payment-success-vo.d.ts.map +1 -0
- package/dist/types/page-activity-record-vo.d.ts +2 -2
- package/dist/types/page-activity-record-vo.d.ts.map +1 -1
- package/dist/types/page-activity-vo.d.ts +2 -2
- package/dist/types/page-activity-vo.d.ts.map +1 -1
- package/dist/types/page-announcement-vo.d.ts +2 -2
- package/dist/types/page-announcement-vo.d.ts.map +1 -1
- package/dist/types/page-app-vo.d.ts +2 -2
- package/dist/types/page-app-vo.d.ts.map +1 -1
- package/dist/types/page-asset-search-result.d.ts +2 -2
- package/dist/types/page-asset-search-result.d.ts.map +1 -1
- package/dist/types/page-asset-vo.d.ts +2 -2
- package/dist/types/page-asset-vo.d.ts.map +1 -1
- package/dist/types/page-audit-appeal-vo.d.ts +2 -2
- package/dist/types/page-audit-appeal-vo.d.ts.map +1 -1
- package/dist/types/page-audit-record-vo.d.ts +2 -2
- package/dist/types/page-audit-record-vo.d.ts.map +1 -1
- package/dist/types/page-blocked-user-vo.d.ts +2 -2
- package/dist/types/page-blocked-user-vo.d.ts.map +1 -1
- package/dist/types/page-browse-history-vo.d.ts +2 -2
- package/dist/types/page-browse-history-vo.d.ts.map +1 -1
- package/dist/types/page-character-list-vo.d.ts +2 -2
- package/dist/types/page-character-list-vo.d.ts.map +1 -1
- package/dist/types/page-character-vo.d.ts +2 -2
- package/dist/types/page-character-vo.d.ts.map +1 -1
- package/dist/types/page-chat-message-vo.d.ts +2 -2
- package/dist/types/page-chat-message-vo.d.ts.map +1 -1
- package/dist/types/page-chat-session-vo.d.ts +2 -2
- package/dist/types/page-chat-session-vo.d.ts.map +1 -1
- package/dist/types/page-collection-vo.d.ts +2 -2
- package/dist/types/page-collection-vo.d.ts.map +1 -1
- package/dist/types/page-comment-vo.d.ts +2 -2
- package/dist/types/page-comment-vo.d.ts.map +1 -1
- package/dist/types/page-conversation-vo.d.ts +2 -2
- package/dist/types/page-conversation-vo.d.ts.map +1 -1
- package/dist/types/page-coupon-vo.d.ts +2 -2
- package/dist/types/page-coupon-vo.d.ts.map +1 -1
- package/dist/types/page-currency-vo.d.ts +2 -2
- package/dist/types/page-currency-vo.d.ts.map +1 -1
- package/dist/types/page-document-vo.d.ts +2 -2
- package/dist/types/page-document-vo.d.ts.map +1 -1
- package/dist/types/page-drive-item-vo.d.ts +2 -2
- package/dist/types/page-drive-item-vo.d.ts.map +1 -1
- package/dist/types/page-faq-vo.d.ts +2 -2
- package/dist/types/page-faq-vo.d.ts.map +1 -1
- package/dist/types/page-favorite-item-vo.d.ts +2 -2
- package/dist/types/page-favorite-item-vo.d.ts.map +1 -1
- package/dist/types/page-feedback-vo.d.ts +2 -2
- package/dist/types/page-feedback-vo.d.ts.map +1 -1
- package/dist/types/page-file-system-node-vo.d.ts +2 -2
- package/dist/types/page-file-system-node-vo.d.ts.map +1 -1
- package/dist/types/page-file-vo.d.ts +2 -2
- package/dist/types/page-file-vo.d.ts.map +1 -1
- package/dist/types/page-follow-user-vo.d.ts +2 -2
- package/dist/types/page-follow-user-vo.d.ts.map +1 -1
- package/dist/types/page-generation-history-vo.d.ts +2 -2
- package/dist/types/page-generation-history-vo.d.ts.map +1 -1
- package/dist/types/page-generation-style-vo.d.ts +2 -2
- package/dist/types/page-generation-style-vo.d.ts.map +1 -1
- package/dist/types/page-generation-task-vo.d.ts +2 -2
- package/dist/types/page-generation-task-vo.d.ts.map +1 -1
- package/dist/types/page-history-vo.d.ts +2 -2
- package/dist/types/page-history-vo.d.ts.map +1 -1
- package/dist/types/page-image-vo.d.ts +2 -2
- package/dist/types/page-image-vo.d.ts.map +1 -1
- package/dist/types/page-invite-record-vo.d.ts +2 -2
- package/dist/types/page-invite-record-vo.d.ts.map +1 -1
- package/dist/types/page-invoice-vo.d.ts +2 -2
- package/dist/types/page-invoice-vo.d.ts.map +1 -1
- package/dist/types/page-login-history-vo.d.ts +2 -2
- package/dist/types/page-login-history-vo.d.ts.map +1 -1
- package/dist/types/page-lottery-prize-vo.d.ts +2 -2
- package/dist/types/page-lottery-prize-vo.d.ts.map +1 -1
- package/dist/types/page-map-string-object.d.ts +2 -2
- package/dist/types/page-map-string-object.d.ts.map +1 -1
- package/dist/types/page-member-vo.d.ts +2 -2
- package/dist/types/page-member-vo.d.ts.map +1 -1
- package/dist/types/page-model-info-vo.d.ts +2 -2
- package/dist/types/page-model-info-vo.d.ts.map +1 -1
- package/dist/types/page-music-vo.d.ts +2 -2
- package/dist/types/page-music-vo.d.ts.map +1 -1
- package/dist/types/page-news-vo.d.ts +2 -2
- package/dist/types/page-news-vo.d.ts.map +1 -1
- package/dist/types/page-note-search-result.d.ts +2 -2
- package/dist/types/page-note-search-result.d.ts.map +1 -1
- package/dist/types/page-note-vo.d.ts +2 -2
- package/dist/types/page-note-vo.d.ts.map +1 -1
- package/dist/types/page-notification-vo.d.ts +2 -2
- package/dist/types/page-notification-vo.d.ts.map +1 -1
- package/dist/types/page-operation-history-vo.d.ts +2 -2
- package/dist/types/page-operation-history-vo.d.ts.map +1 -1
- package/dist/types/page-order-vo.d.ts +2 -2
- package/dist/types/page-order-vo.d.ts.map +1 -1
- package/dist/types/page-organization-vo.d.ts +2 -2
- package/dist/types/page-organization-vo.d.ts.map +1 -1
- package/dist/types/page-partner-vo.d.ts +2 -2
- package/dist/types/page-partner-vo.d.ts.map +1 -1
- package/dist/types/page-payment-status-vo.d.ts +2 -2
- package/dist/types/page-payment-status-vo.d.ts.map +1 -1
- package/dist/types/page-points-exchange-record-vo.d.ts +2 -2
- package/dist/types/page-points-exchange-record-vo.d.ts.map +1 -1
- package/dist/types/page-points-goods-vo.d.ts +2 -2
- package/dist/types/page-points-goods-vo.d.ts.map +1 -1
- package/dist/types/page-private-message-vo.d.ts +2 -2
- package/dist/types/page-private-message-vo.d.ts.map +1 -1
- package/dist/types/page-product-vo.d.ts +2 -2
- package/dist/types/page-product-vo.d.ts.map +1 -1
- package/dist/types/page-project-search-result.d.ts +2 -2
- package/dist/types/page-project-search-result.d.ts.map +1 -1
- package/dist/types/page-project-vo.d.ts +2 -2
- package/dist/types/page-project-vo.d.ts.map +1 -1
- package/dist/types/page-prompt-history-vo.d.ts +2 -2
- package/dist/types/page-prompt-history-vo.d.ts.map +1 -1
- package/dist/types/page-prompt-vo.d.ts +2 -2
- package/dist/types/page-prompt-vo.d.ts.map +1 -1
- package/dist/types/page-report-vo.d.ts +2 -2
- package/dist/types/page-report-vo.d.ts.map +1 -1
- package/dist/types/page-search-result.d.ts +2 -2
- package/dist/types/page-search-result.d.ts.map +1 -1
- package/dist/types/page-share-record-vo.d.ts +2 -2
- package/dist/types/page-share-record-vo.d.ts.map +1 -1
- package/dist/types/page-share-visitor-vo.d.ts +2 -2
- package/dist/types/page-share-visitor-vo.d.ts.map +1 -1
- package/dist/types/page-shop-vo.d.ts +2 -2
- package/dist/types/page-shop-vo.d.ts.map +1 -1
- package/dist/types/page-skill-vo.d.ts +17 -0
- package/dist/types/page-skill-vo.d.ts.map +1 -0
- package/dist/types/page-sku-vo.d.ts +2 -2
- package/dist/types/page-sku-vo.d.ts.map +1 -1
- package/dist/types/page-support-message-vo.d.ts +2 -2
- package/dist/types/page-support-message-vo.d.ts.map +1 -1
- package/dist/types/page-tenant-vo.d.ts +2 -2
- package/dist/types/page-tenant-vo.d.ts.map +1 -1
- package/dist/types/page-tutorial-vo.d.ts +2 -2
- package/dist/types/page-tutorial-vo.d.ts.map +1 -1
- package/dist/types/page-user-coupon-vo.d.ts +2 -2
- package/dist/types/page-user-coupon-vo.d.ts.map +1 -1
- package/dist/types/page-user-search-result.d.ts +2 -2
- package/dist/types/page-user-search-result.d.ts.map +1 -1
- package/dist/types/page-video-vo.d.ts +2 -2
- package/dist/types/page-video-vo.d.ts.map +1 -1
- package/dist/types/page-voice-speaker-list-vo.d.ts +2 -2
- package/dist/types/page-voice-speaker-list-vo.d.ts.map +1 -1
- package/dist/types/page-voice-speaker-vo.d.ts +2 -2
- package/dist/types/page-voice-speaker-vo.d.ts.map +1 -1
- package/dist/types/page-vote-detail-vo.d.ts +2 -2
- package/dist/types/page-vote-detail-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/password-reset-request-form.d.ts +6 -1
- package/dist/types/password-reset-request-form.d.ts.map +1 -1
- package/dist/types/payment-params-vo.d.ts +3 -0
- package/dist/types/payment-params-vo.d.ts.map +1 -1
- package/dist/types/payment-reconcile-form.d.ts +10 -0
- package/dist/types/payment-reconcile-form.d.ts.map +1 -0
- package/dist/types/payment-statistics-vo.d.ts +1 -0
- package/dist/types/payment-statistics-vo.d.ts.map +1 -1
- package/dist/types/plus-api-result-app-publish-readiness-vo.d.ts +19 -0
- package/dist/types/plus-api-result-app-publish-readiness-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-big-decimal.d.ts +18 -0
- package/dist/types/plus-api-result-big-decimal.d.ts.map +1 -0
- package/dist/types/plus-api-result-contact-friend-vo.d.ts +19 -0
- package/dist/types/plus-api-result-contact-friend-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-contact-group-vo.d.ts +19 -0
- package/dist/types/plus-api-result-contact-group-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-contact-stats-vo.d.ts +19 -0
- package/dist/types/plus-api-result-contact-stats-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-device-message-vo.d.ts +19 -0
- package/dist/types/plus-api-result-device-message-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-device-vo.d.ts +19 -0
- package/dist/types/plus-api-result-device-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-friend-request-vo.d.ts +19 -0
- package/dist/types/plus-api-result-friend-request-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-history-vo.d.ts +19 -0
- package/dist/types/plus-api-result-history-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-contact-friend-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-contact-friend-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-contact-group-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-contact-group-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-device-message-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-device-message-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-friend-request-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-friend-request-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-map-string-object.d.ts +18 -0
- package/dist/types/plus-api-result-list-map-string-object.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-product-attribute-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-product-attribute-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-product-category-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-product-category-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-skill-category-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-skill-category-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-skill-package-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-skill-package-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-user-skill-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-user-skill-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-list-wallet-asset-account-vo.d.ts +19 -0
- package/dist/types/plus-api-result-list-wallet-asset-account-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-note-batch-update-result-vo.d.ts +19 -0
- package/dist/types/plus-api-result-note-batch-update-result-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-note-content-vo.d.ts +19 -0
- package/dist/types/plus-api-result-note-content-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-order-payment-success-vo.d.ts +19 -0
- package/dist/types/plus-api-result-order-payment-success-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-page-skill-vo.d.ts +19 -0
- package/dist/types/plus-api-result-page-skill-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-product-attribute-vo.d.ts +19 -0
- package/dist/types/plus-api-result-product-attribute-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-product-category-vo.d.ts +19 -0
- package/dist/types/plus-api-result-product-category-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-prompt-enhance-response.d.ts +14 -4
- package/dist/types/plus-api-result-prompt-enhance-response.d.ts.map +1 -1
- package/dist/types/plus-api-result-skill-vo.d.ts +19 -0
- package/dist/types/plus-api-result-skill-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-user-skill-vo.d.ts +19 -0
- package/dist/types/plus-api-result-user-skill-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-wallet-operation-result-vo.d.ts +19 -0
- package/dist/types/plus-api-result-wallet-operation-result-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-wallet-operation-status-vo.d.ts +19 -0
- package/dist/types/plus-api-result-wallet-operation-status-vo.d.ts.map +1 -0
- package/dist/types/plus-api-result-wallet-overview-vo.d.ts +19 -0
- package/dist/types/plus-api-result-wallet-overview-vo.d.ts.map +1 -0
- package/dist/types/product-attribute-create-request.d.ts +14 -0
- package/dist/types/product-attribute-create-request.d.ts.map +1 -0
- package/dist/types/product-attribute-update-request.d.ts +14 -0
- package/dist/types/product-attribute-update-request.d.ts.map +1 -0
- package/dist/types/product-category-create-request.d.ts +15 -0
- package/dist/types/product-category-create-request.d.ts.map +1 -0
- package/dist/types/product-category-update-request.d.ts +15 -0
- package/dist/types/product-category-update-request.d.ts.map +1 -0
- package/dist/types/product-category-vo.d.ts +24 -0
- package/dist/types/product-category-vo.d.ts.map +1 -0
- package/dist/types/prompt-enhance-request.d.ts +6 -0
- package/dist/types/prompt-enhance-request.d.ts.map +1 -1
- package/dist/types/prompt-enhance-response.d.ts +4 -1
- package/dist/types/prompt-enhance-response.d.ts.map +1 -1
- package/dist/types/register-form.d.ts +4 -0
- package/dist/types/register-form.d.ts.map +1 -1
- package/dist/types/send-session-message-request.d.ts +2 -0
- package/dist/types/send-session-message-request.d.ts.map +1 -0
- package/dist/types/skill-category-vo.d.ts +12 -0
- package/dist/types/skill-category-vo.d.ts.map +1 -0
- package/dist/types/skill-config-update-form.d.ts +6 -0
- package/dist/types/skill-config-update-form.d.ts.map +1 -0
- package/dist/types/skill-market-query-form.d.ts +22 -0
- package/dist/types/skill-market-query-form.d.ts.map +1 -0
- package/dist/types/skill-package-vo.d.ts +34 -0
- package/dist/types/skill-package-vo.d.ts.map +1 -0
- package/dist/types/skill-save-form.d.ts +56 -0
- package/dist/types/skill-save-form.d.ts.map +1 -0
- package/dist/types/skill-vo.d.ts +96 -0
- package/dist/types/skill-vo.d.ts.map +1 -0
- package/dist/types/tree-node-path.d.ts +2 -2
- package/dist/types/tree-node-path.d.ts.map +1 -1
- package/dist/types/update-credentials-request.d.ts +2 -0
- package/dist/types/update-credentials-request.d.ts.map +1 -0
- package/dist/types/update-request.d.ts +2 -0
- package/dist/types/update-request.d.ts.map +1 -0
- package/dist/types/user-coupon-vo.d.ts +10 -0
- package/dist/types/user-coupon-vo.d.ts.map +1 -1
- package/dist/types/user-skill-vo.d.ts +27 -0
- package/dist/types/user-skill-vo.d.ts.map +1 -0
- package/dist/types/vip-points-history-vo.d.ts +2 -2
- package/dist/types/vip-points-history-vo.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/dist/types/wallet-asset-account-vo.d.ts +30 -0
- package/dist/types/wallet-asset-account-vo.d.ts.map +1 -0
- package/dist/types/wallet-exchange-form.d.ts +12 -0
- package/dist/types/wallet-exchange-form.d.ts.map +1 -0
- package/dist/types/wallet-history-query-form.d.ts +22 -0
- package/dist/types/wallet-history-query-form.d.ts.map +1 -0
- package/dist/types/wallet-operation-result-vo.d.ts +48 -0
- package/dist/types/wallet-operation-result-vo.d.ts.map +1 -0
- package/dist/types/wallet-operation-status-vo.d.ts +33 -0
- package/dist/types/wallet-operation-status-vo.d.ts.map +1 -0
- package/dist/types/wallet-overview-vo.d.ts +27 -0
- package/dist/types/wallet-overview-vo.d.ts.map +1 -0
- package/dist/types/wallet-topup-form.d.ts +12 -0
- package/dist/types/wallet-topup-form.d.ts.map +1 -0
- package/dist/types/wallet-transfer-form.d.ts +16 -0
- package/dist/types/wallet-transfer-form.d.ts.map +1 -0
- package/dist/types/wallet-withdrawal-form.d.ts +18 -0
- package/dist/types/wallet-withdrawal-form.d.ts.map +1 -0
- package/package.json +5 -9
- package/dist/api/activate.d.ts +0 -10
- package/dist/api/activate.d.ts.map +0 -1
- package/dist/api/address.d.ts +0 -22
- package/dist/api/address.d.ts.map +0 -1
- package/dist/api/app-documents.d.ts.map +0 -1
- package/dist/api/avatar.d.ts +0 -10
- package/dist/api/avatar.d.ts.map +0 -1
- package/dist/api/bind.d.ts +0 -12
- package/dist/api/bind.d.ts.map +0 -1
- package/dist/api/children.d.ts +0 -10
- package/dist/api/children.d.ts.map +0 -1
- package/dist/api/code.d.ts +0 -10
- package/dist/api/code.d.ts.map +0 -1
- package/dist/api/deactivate.d.ts +0 -10
- package/dist/api/deactivate.d.ts.map +0 -1
- package/dist/api/department.d.ts +0 -14
- package/dist/api/department.d.ts.map +0 -1
- package/dist/api/departments.d.ts +0 -12
- package/dist/api/departments.d.ts.map +0 -1
- package/dist/api/disable.d.ts +0 -10
- package/dist/api/disable.d.ts.map +0 -1
- package/dist/api/list.d.ts +0 -11
- package/dist/api/list.d.ts.map +0 -1
- package/dist/api/login.d.ts +0 -10
- package/dist/api/login.d.ts.map +0 -1
- package/dist/api/logout.d.ts +0 -10
- package/dist/api/logout.d.ts.map +0 -1
- package/dist/api/member.d.ts +0 -10
- package/dist/api/member.d.ts.map +0 -1
- package/dist/api/members.d.ts +0 -11
- package/dist/api/members.d.ts.map +0 -1
- package/dist/api/models.d.ts.map +0 -1
- package/dist/api/oauth.d.ts +0 -12
- package/dist/api/oauth.d.ts.map +0 -1
- package/dist/api/password.d.ts +0 -12
- package/dist/api/password.d.ts.map +0 -1
- package/dist/api/phone.d.ts +0 -10
- package/dist/api/phone.d.ts.map +0 -1
- package/dist/api/position.d.ts +0 -14
- package/dist/api/position.d.ts.map +0 -1
- package/dist/api/positions.d.ts +0 -12
- package/dist/api/positions.d.ts.map +0 -1
- package/dist/api/profile.d.ts +0 -12
- package/dist/api/profile.d.ts.map +0 -1
- package/dist/api/qr.d.ts +0 -14
- package/dist/api/qr.d.ts.map +0 -1
- package/dist/api/refresh.d.ts +0 -10
- package/dist/api/refresh.d.ts.map +0 -1
- package/dist/api/register.d.ts +0 -10
- package/dist/api/register.d.ts.map +0 -1
- package/dist/api/sms.d.ts +0 -12
- package/dist/api/sms.d.ts.map +0 -1
- package/dist/api/statistics.d.ts +0 -10
- package/dist/api/statistics.d.ts.map +0 -1
- package/dist/api/voice-speakers.d.ts +0 -31
- package/dist/api/voice-speakers.d.ts.map +0 -1
- package/dist/types/plus-api-error-result.d.ts +0 -8
- package/dist/types/plus-api-error-result.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseHttpClient as l, withRetry as u } from "@sdkwork/sdk-common";
|
|
2
|
-
import { DEFAULT_TIMEOUT as
|
|
2
|
+
import { DEFAULT_TIMEOUT as Ne, DefaultAuthTokenManager as Oe, SUCCESS_CODES as Ve, createTokenManager as Le } from "@sdkwork/sdk-common";
|
|
3
3
|
const r = class r extends l {
|
|
4
4
|
constructor(t) {
|
|
5
5
|
super(t);
|
|
@@ -79,7 +79,7 @@ function e(n) {
|
|
|
79
79
|
const t = o.trim(), s = t ? `/${t.replace(/^\/+|\/+$/g, "")}` : "", i = n.startsWith("/") ? n : `/${n}`;
|
|
80
80
|
return !s || s === "/" || i === s || i.startsWith(`${s}/`) ? i : `${s}${i}`;
|
|
81
81
|
}
|
|
82
|
-
class
|
|
82
|
+
class y {
|
|
83
83
|
constructor(t) {
|
|
84
84
|
this.client = t;
|
|
85
85
|
}
|
|
@@ -160,10 +160,10 @@ class p {
|
|
|
160
160
|
return this.client.delete(e(`/workspaces/${t}/members/${s}`));
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
function
|
|
164
|
-
return new
|
|
163
|
+
function g(n) {
|
|
164
|
+
return new y(n);
|
|
165
165
|
}
|
|
166
|
-
class
|
|
166
|
+
class p {
|
|
167
167
|
constructor(t) {
|
|
168
168
|
this.client = t;
|
|
169
169
|
}
|
|
@@ -195,6 +195,14 @@ class g {
|
|
|
195
195
|
async setAsDefault(t) {
|
|
196
196
|
return this.client.post(e(`/voice-speakers/${t}/set-default`));
|
|
197
197
|
}
|
|
198
|
+
/** 创建语音生成任务 */
|
|
199
|
+
async createGeneration(t) {
|
|
200
|
+
return this.client.post(e("/generation/voice-speaker"), t);
|
|
201
|
+
}
|
|
202
|
+
/** 克隆说话人 */
|
|
203
|
+
async cloneSpeaker(t) {
|
|
204
|
+
return this.client.post(e("/generation/voice-speaker/clone"), t);
|
|
205
|
+
}
|
|
198
206
|
/** 获取发音人统计 */
|
|
199
207
|
async getStatistics() {
|
|
200
208
|
return this.client.get(e("/voice-speakers/statistics"));
|
|
@@ -211,9 +219,33 @@ class g {
|
|
|
211
219
|
async listSpeakersByChannel(t) {
|
|
212
220
|
return this.client.get(e(`/voice-speakers/channel/${t}`));
|
|
213
221
|
}
|
|
222
|
+
/** 获取说话人详情 */
|
|
223
|
+
async getSpeakerDetailVoice(t) {
|
|
224
|
+
return this.client.get(e(`/generation/voice-speaker/${t}`));
|
|
225
|
+
}
|
|
226
|
+
/** 删除说话人 */
|
|
227
|
+
async deleteSpeakerVoice(t) {
|
|
228
|
+
return this.client.delete(e(`/generation/voice-speaker/${t}`));
|
|
229
|
+
}
|
|
230
|
+
/** 获取任务列表 */
|
|
231
|
+
async listTasks(t) {
|
|
232
|
+
return this.client.get(e("/generation/voice-speaker/tasks"), t);
|
|
233
|
+
}
|
|
234
|
+
/** 获取任务状态 */
|
|
235
|
+
async getTaskStatus(t) {
|
|
236
|
+
return this.client.get(e(`/generation/voice-speaker/tasks/${t}`));
|
|
237
|
+
}
|
|
238
|
+
/** 取消任务 */
|
|
239
|
+
async cancelTask(t) {
|
|
240
|
+
return this.client.delete(e(`/generation/voice-speaker/tasks/${t}`));
|
|
241
|
+
}
|
|
242
|
+
/** 获取说话人列表 */
|
|
243
|
+
async getListSpeakers(t) {
|
|
244
|
+
return this.client.get(e("/generation/voice-speaker/list"), t);
|
|
245
|
+
}
|
|
214
246
|
}
|
|
215
247
|
function d(n) {
|
|
216
|
-
return new
|
|
248
|
+
return new p(n);
|
|
217
249
|
}
|
|
218
250
|
class m {
|
|
219
251
|
constructor(t) {
|
|
@@ -316,149 +348,33 @@ class m {
|
|
|
316
348
|
return this.client.delete(e(`/generation/video/tasks/${t}`));
|
|
317
349
|
}
|
|
318
350
|
}
|
|
319
|
-
function
|
|
351
|
+
function $(n) {
|
|
320
352
|
return new m(n);
|
|
321
353
|
}
|
|
322
|
-
class
|
|
354
|
+
class v {
|
|
323
355
|
constructor(t) {
|
|
324
356
|
this.client = t;
|
|
325
357
|
}
|
|
326
358
|
/** 获取用户设置 */
|
|
327
|
-
async
|
|
359
|
+
async getUserSettings() {
|
|
328
360
|
return this.client.get(e("/user/settings"));
|
|
329
361
|
}
|
|
330
362
|
/** 更新用户设置 */
|
|
331
|
-
async
|
|
363
|
+
async updateUserSettings(t) {
|
|
332
364
|
return this.client.put(e("/user/settings"), t);
|
|
333
365
|
}
|
|
334
|
-
/** 获取模块设置 */
|
|
335
|
-
async getModule(t) {
|
|
336
|
-
return this.client.get(e(`/settings/${t}`));
|
|
337
|
-
}
|
|
338
|
-
/** 更新模块设置 */
|
|
339
|
-
async updateModule(t, s) {
|
|
340
|
-
return this.client.put(e(`/settings/${t}`), s);
|
|
341
|
-
}
|
|
342
|
-
/** 重置模块设置 */
|
|
343
|
-
async resetModule(t) {
|
|
344
|
-
return this.client.delete(e(`/settings/${t}`));
|
|
345
|
-
}
|
|
346
|
-
/** 获取界面设置 */
|
|
347
|
-
async getUi() {
|
|
348
|
-
return this.client.get(e("/settings/ui"));
|
|
349
|
-
}
|
|
350
|
-
/** 更新界面设置 */
|
|
351
|
-
async updateUi(t) {
|
|
352
|
-
return this.client.put(e("/settings/ui"), t);
|
|
353
|
-
}
|
|
354
|
-
/** 切换主题 */
|
|
355
|
-
async switchTheme(t) {
|
|
356
|
-
return this.client.put(e("/settings/ui/theme"), t);
|
|
357
|
-
}
|
|
358
|
-
/** 切换语言 */
|
|
359
|
-
async switchLanguage(t) {
|
|
360
|
-
return this.client.put(e("/settings/ui/language"), t);
|
|
361
|
-
}
|
|
362
|
-
/** 获取安全设置 */
|
|
363
|
-
async getSecurity() {
|
|
364
|
-
return this.client.get(e("/settings/security"));
|
|
365
|
-
}
|
|
366
|
-
/** 更新安全设置 */
|
|
367
|
-
async updateSecurity(t) {
|
|
368
|
-
return this.client.put(e("/settings/security"), t);
|
|
369
|
-
}
|
|
370
|
-
/** 修改密码 */
|
|
371
|
-
async changePassword(t) {
|
|
372
|
-
return this.client.put(e("/settings/security/password"), t);
|
|
373
|
-
}
|
|
374
|
-
/** 两步验证设置 */
|
|
375
|
-
async toggleTwoFactor(t) {
|
|
376
|
-
return this.client.put(e("/settings/security/2fa"), t);
|
|
377
|
-
}
|
|
378
|
-
/** 获取隐私设置 */
|
|
379
|
-
async getPrivacy() {
|
|
380
|
-
return this.client.get(e("/settings/privacy"));
|
|
381
|
-
}
|
|
382
|
-
/** 更新隐私设置 */
|
|
383
|
-
async updatePrivacy(t) {
|
|
384
|
-
return this.client.put(e("/settings/privacy"), t);
|
|
385
|
-
}
|
|
386
|
-
/** 导出用户数据 */
|
|
387
|
-
async exportUserData(t) {
|
|
388
|
-
return this.client.post(e("/settings/data/export"), t);
|
|
389
|
-
}
|
|
390
|
-
/** 获取所有设置 */
|
|
391
|
-
async getAll() {
|
|
392
|
-
return this.client.get(e("/settings"));
|
|
393
|
-
}
|
|
394
|
-
/** 重置所有设置 */
|
|
395
|
-
async resetAll() {
|
|
396
|
-
return this.client.delete(e("/settings"));
|
|
397
|
-
}
|
|
398
|
-
/** 获取版本信息 */
|
|
399
|
-
async getAppVersion(t) {
|
|
400
|
-
return this.client.get(e("/settings/app/version"), t);
|
|
401
|
-
}
|
|
402
|
-
/** 获取功能开关 */
|
|
403
|
-
async getFeatureFlags() {
|
|
404
|
-
return this.client.get(e("/settings/app/features"));
|
|
405
|
-
}
|
|
406
|
-
/** 获取应用配置 */
|
|
407
|
-
async getAppConfig() {
|
|
408
|
-
return this.client.get(e("/settings/app/config"));
|
|
409
|
-
}
|
|
410
|
-
/** 清除本地数据 */
|
|
411
|
-
async clearLocalData() {
|
|
412
|
-
return this.client.delete(e("/settings/data/local"));
|
|
413
|
-
}
|
|
414
|
-
/** 清除缓存 */
|
|
415
|
-
async clearCache() {
|
|
416
|
-
return this.client.delete(e("/settings/cache"));
|
|
417
|
-
}
|
|
418
|
-
/** 删除账户 */
|
|
419
|
-
async deleteAccount() {
|
|
420
|
-
return this.client.delete(e("/settings/account"));
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
function f(n) {
|
|
424
|
-
return new $(n);
|
|
425
|
-
}
|
|
426
|
-
class k {
|
|
427
|
-
constructor(t) {
|
|
428
|
-
this.client = t;
|
|
429
|
-
}
|
|
430
366
|
/** 获取用户信息 */
|
|
431
|
-
async
|
|
367
|
+
async getUserProfile() {
|
|
432
368
|
return this.client.get(e("/user/profile"));
|
|
433
369
|
}
|
|
434
370
|
/** 更新用户信息 */
|
|
435
|
-
async
|
|
371
|
+
async updateUserProfile(t) {
|
|
436
372
|
return this.client.put(e("/user/profile"), t);
|
|
437
373
|
}
|
|
438
|
-
}
|
|
439
|
-
function A(n) {
|
|
440
|
-
return new k(n);
|
|
441
|
-
}
|
|
442
|
-
class C {
|
|
443
|
-
constructor(t) {
|
|
444
|
-
this.client = t;
|
|
445
|
-
}
|
|
446
374
|
/** 修改密码 */
|
|
447
|
-
async
|
|
375
|
+
async changePassword(t) {
|
|
448
376
|
return this.client.put(e("/user/password"), t);
|
|
449
377
|
}
|
|
450
|
-
/** 重置密码 */
|
|
451
|
-
async reset(t) {
|
|
452
|
-
return this.client.post(e("/auth/password/reset"), t);
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
function b(n) {
|
|
456
|
-
return new C(n);
|
|
457
|
-
}
|
|
458
|
-
class w {
|
|
459
|
-
constructor(t) {
|
|
460
|
-
this.client = t;
|
|
461
|
-
}
|
|
462
378
|
/** 获取地址详情 */
|
|
463
379
|
async getAddressDetail(t) {
|
|
464
380
|
return this.client.get(e(`/user/address/${t}`));
|
|
@@ -472,9 +388,25 @@ class w {
|
|
|
472
388
|
return this.client.delete(e(`/user/address/${t}`));
|
|
473
389
|
}
|
|
474
390
|
/** 设置默认地址 */
|
|
475
|
-
async
|
|
391
|
+
async setDefaultAddress(t) {
|
|
476
392
|
return this.client.put(e(`/user/address/${t}/default`));
|
|
477
393
|
}
|
|
394
|
+
/** 注销账号 */
|
|
395
|
+
async deactivateAccount(t) {
|
|
396
|
+
return this.client.post(e("/user/deactivate"), t);
|
|
397
|
+
}
|
|
398
|
+
/** 绑定第三方账号 */
|
|
399
|
+
async bindThirdPartyAccount(t, s) {
|
|
400
|
+
return this.client.post(e(`/user/bind/${t}`), s);
|
|
401
|
+
}
|
|
402
|
+
/** 解绑第三方账号 */
|
|
403
|
+
async unbindThirdPartyAccount(t) {
|
|
404
|
+
return this.client.delete(e(`/user/bind/${t}`));
|
|
405
|
+
}
|
|
406
|
+
/** 上传头像 */
|
|
407
|
+
async uploadAvatar(t) {
|
|
408
|
+
return this.client.post(e("/user/avatar"), t);
|
|
409
|
+
}
|
|
478
410
|
/** 获取地址列表 */
|
|
479
411
|
async listAddresses() {
|
|
480
412
|
return this.client.get(e("/user/address"));
|
|
@@ -483,15 +415,63 @@ class w {
|
|
|
483
415
|
async createAddress(t) {
|
|
484
416
|
return this.client.post(e("/user/address"), t);
|
|
485
417
|
}
|
|
418
|
+
/** 获取登录历史 */
|
|
419
|
+
async getLoginHistory(t) {
|
|
420
|
+
return this.client.get(e("/user/history/login"), t);
|
|
421
|
+
}
|
|
422
|
+
/** 获取生成历史 */
|
|
423
|
+
async getGenerationHistory(t) {
|
|
424
|
+
return this.client.get(e("/user/history/generations"), t);
|
|
425
|
+
}
|
|
486
426
|
/** 获取默认地址 */
|
|
487
|
-
async
|
|
427
|
+
async getDefaultAddress() {
|
|
488
428
|
return this.client.get(e("/user/address/default"));
|
|
489
429
|
}
|
|
490
430
|
}
|
|
491
|
-
function
|
|
492
|
-
return new
|
|
431
|
+
function k(n) {
|
|
432
|
+
return new v(n);
|
|
493
433
|
}
|
|
494
|
-
class
|
|
434
|
+
class f {
|
|
435
|
+
constructor(t) {
|
|
436
|
+
this.client = t;
|
|
437
|
+
}
|
|
438
|
+
/** Update tool credentials */
|
|
439
|
+
async updateCredentials(t, s) {
|
|
440
|
+
return this.client.put(e(`/tools/my/${t}/credentials`), s);
|
|
441
|
+
}
|
|
442
|
+
/** List my tools */
|
|
443
|
+
async listMine() {
|
|
444
|
+
return this.client.get(e("/tools/my"));
|
|
445
|
+
}
|
|
446
|
+
/** Install tool */
|
|
447
|
+
async install(t) {
|
|
448
|
+
return this.client.post(e("/tools/my"), t);
|
|
449
|
+
}
|
|
450
|
+
/** Test tool */
|
|
451
|
+
async test(t) {
|
|
452
|
+
return this.client.post(e(`/tools/market/${t}/test`));
|
|
453
|
+
}
|
|
454
|
+
/** List tool market */
|
|
455
|
+
async listMarket(t) {
|
|
456
|
+
return this.client.get(e("/tools/market"), t);
|
|
457
|
+
}
|
|
458
|
+
/** Get tool market item */
|
|
459
|
+
async getMarketItem(t) {
|
|
460
|
+
return this.client.get(e(`/tools/market/${t}`));
|
|
461
|
+
}
|
|
462
|
+
/** List tool categories */
|
|
463
|
+
async listCategories() {
|
|
464
|
+
return this.client.get(e("/tools/categories"));
|
|
465
|
+
}
|
|
466
|
+
/** Uninstall tool */
|
|
467
|
+
async uninstall(t) {
|
|
468
|
+
return this.client.delete(e(`/tools/my/${t}`));
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
function A(n) {
|
|
472
|
+
return new f(n);
|
|
473
|
+
}
|
|
474
|
+
class w {
|
|
495
475
|
constructor(t) {
|
|
496
476
|
this.client = t;
|
|
497
477
|
}
|
|
@@ -544,10 +524,10 @@ class P {
|
|
|
544
524
|
return this.client.get(e("/tenant/cloud"));
|
|
545
525
|
}
|
|
546
526
|
}
|
|
547
|
-
function
|
|
548
|
-
return new
|
|
527
|
+
function b(n) {
|
|
528
|
+
return new w(n);
|
|
549
529
|
}
|
|
550
|
-
class
|
|
530
|
+
class C {
|
|
551
531
|
constructor(t) {
|
|
552
532
|
this.client = t;
|
|
553
533
|
}
|
|
@@ -555,10 +535,30 @@ class T {
|
|
|
555
535
|
async markMessagesAsRead(t) {
|
|
556
536
|
return this.client.put(e("/social/messages/read"), void 0, t);
|
|
557
537
|
}
|
|
538
|
+
/** 处理好友申请 */
|
|
539
|
+
async processFriendRequest(t, s) {
|
|
540
|
+
return this.client.put(e(`/social/friend-requests/${t}/process`), s);
|
|
541
|
+
}
|
|
542
|
+
/** 更新联系人分组 */
|
|
543
|
+
async updateContactGroup(t, s) {
|
|
544
|
+
return this.client.put(e(`/social/contact-groups/${t}`), s);
|
|
545
|
+
}
|
|
546
|
+
/** 删除联系人分组 */
|
|
547
|
+
async deleteContactGroup(t) {
|
|
548
|
+
return this.client.delete(e(`/social/contact-groups/${t}`));
|
|
549
|
+
}
|
|
558
550
|
/** 发送私信 */
|
|
559
551
|
async sendMessage(t) {
|
|
560
552
|
return this.client.post(e("/social/messages"), t);
|
|
561
553
|
}
|
|
554
|
+
/** 获取好友申请列表 */
|
|
555
|
+
async listFriendRequests() {
|
|
556
|
+
return this.client.get(e("/social/friend-requests"));
|
|
557
|
+
}
|
|
558
|
+
/** 发送好友申请 */
|
|
559
|
+
async sendFriendRequest(t) {
|
|
560
|
+
return this.client.post(e("/social/friend-requests"), t);
|
|
561
|
+
}
|
|
562
562
|
/** 关注用户 */
|
|
563
563
|
async followUser(t) {
|
|
564
564
|
return this.client.post(e(`/social/follow/${t}`));
|
|
@@ -571,6 +571,14 @@ class T {
|
|
|
571
571
|
async batchCheckFollowStatus(t) {
|
|
572
572
|
return this.client.post(e("/social/follow/check/batch"), t);
|
|
573
573
|
}
|
|
574
|
+
/** 获取联系人分组 */
|
|
575
|
+
async listContactGroups() {
|
|
576
|
+
return this.client.get(e("/social/contact-groups"));
|
|
577
|
+
}
|
|
578
|
+
/** 创建联系人分组 */
|
|
579
|
+
async createContactGroup(t) {
|
|
580
|
+
return this.client.post(e("/social/contact-groups"), t);
|
|
581
|
+
}
|
|
574
582
|
/** 拉黑用户 */
|
|
575
583
|
async blockUser(t) {
|
|
576
584
|
return this.client.post(e(`/social/block/${t}`));
|
|
@@ -579,6 +587,10 @@ class T {
|
|
|
579
587
|
async unblockUser(t) {
|
|
580
588
|
return this.client.delete(e(`/social/block/${t}`));
|
|
581
589
|
}
|
|
590
|
+
/** 更新好友备注 */
|
|
591
|
+
async updateFriendRemark(t, s) {
|
|
592
|
+
return this.client.patch(e(`/social/contacts/${t}/remark`), s);
|
|
593
|
+
}
|
|
582
594
|
/** 获取关注统计 */
|
|
583
595
|
async getFollowStats() {
|
|
584
596
|
return this.client.get(e("/social/stats"));
|
|
@@ -607,6 +619,22 @@ class T {
|
|
|
607
619
|
async getConversationMessages(t, s) {
|
|
608
620
|
return this.client.get(e(`/social/conversations/${t}/messages`), s);
|
|
609
621
|
}
|
|
622
|
+
/** 获取联系人列表 */
|
|
623
|
+
async listContacts(t) {
|
|
624
|
+
return this.client.get(e("/social/contacts"), t);
|
|
625
|
+
}
|
|
626
|
+
/** 获取联系人详情 */
|
|
627
|
+
async getContactDetail(t) {
|
|
628
|
+
return this.client.get(e(`/social/contacts/${t}`));
|
|
629
|
+
}
|
|
630
|
+
/** 删除联系人 */
|
|
631
|
+
async deleteContact(t) {
|
|
632
|
+
return this.client.delete(e(`/social/contacts/${t}`));
|
|
633
|
+
}
|
|
634
|
+
/** 获取联系人统计 */
|
|
635
|
+
async getContactStats() {
|
|
636
|
+
return this.client.get(e("/social/contacts/stats"));
|
|
637
|
+
}
|
|
610
638
|
/** 获取黑名单 */
|
|
611
639
|
async getBlockedUsers(t) {
|
|
612
640
|
return this.client.get(e("/social/blocks"), t);
|
|
@@ -620,10 +648,70 @@ class T {
|
|
|
620
648
|
return this.client.delete(e(`/social/conversations/${t}`));
|
|
621
649
|
}
|
|
622
650
|
}
|
|
623
|
-
function
|
|
624
|
-
return new
|
|
651
|
+
function S(n) {
|
|
652
|
+
return new C(n);
|
|
653
|
+
}
|
|
654
|
+
class P {
|
|
655
|
+
constructor(t) {
|
|
656
|
+
this.client = t;
|
|
657
|
+
}
|
|
658
|
+
/** Get skill detail */
|
|
659
|
+
async detail(t) {
|
|
660
|
+
return this.client.get(e(`/skills/${t}`));
|
|
661
|
+
}
|
|
662
|
+
/** Update skill */
|
|
663
|
+
async update(t, s) {
|
|
664
|
+
return this.client.put(e(`/skills/${t}`), s);
|
|
665
|
+
}
|
|
666
|
+
/** Update user skill config */
|
|
667
|
+
async updateConfig(t, s) {
|
|
668
|
+
return this.client.put(e(`/skills/${t}/config`), s);
|
|
669
|
+
}
|
|
670
|
+
/** List market skills */
|
|
671
|
+
async list(t) {
|
|
672
|
+
return this.client.get(e("/skills"), t);
|
|
673
|
+
}
|
|
674
|
+
/** Create skill */
|
|
675
|
+
async create(t) {
|
|
676
|
+
return this.client.post(e("/skills"), t);
|
|
677
|
+
}
|
|
678
|
+
/** Submit skill for review */
|
|
679
|
+
async submitReview(t) {
|
|
680
|
+
return this.client.post(e(`/skills/${t}/submit-review`));
|
|
681
|
+
}
|
|
682
|
+
/** Publish skill to market */
|
|
683
|
+
async publish(t) {
|
|
684
|
+
return this.client.post(e(`/skills/${t}/publish`));
|
|
685
|
+
}
|
|
686
|
+
/** Offline skill from market */
|
|
687
|
+
async offline(t) {
|
|
688
|
+
return this.client.post(e(`/skills/${t}/offline`));
|
|
689
|
+
}
|
|
690
|
+
/** Enable skill for current user */
|
|
691
|
+
async enable(t) {
|
|
692
|
+
return this.client.post(e(`/skills/${t}/enable`));
|
|
693
|
+
}
|
|
694
|
+
/** Disable skill for current user */
|
|
695
|
+
async disable(t) {
|
|
696
|
+
return this.client.post(e(`/skills/${t}/disable`));
|
|
697
|
+
}
|
|
698
|
+
/** List skill packages */
|
|
699
|
+
async listPackages() {
|
|
700
|
+
return this.client.get(e("/skills/packages"));
|
|
701
|
+
}
|
|
702
|
+
/** List my installed skills */
|
|
703
|
+
async listMine() {
|
|
704
|
+
return this.client.get(e("/skills/my"));
|
|
705
|
+
}
|
|
706
|
+
/** List skill categories */
|
|
707
|
+
async listCategories() {
|
|
708
|
+
return this.client.get(e("/skills/categories"));
|
|
709
|
+
}
|
|
625
710
|
}
|
|
626
|
-
|
|
711
|
+
function D(n) {
|
|
712
|
+
return new P(n);
|
|
713
|
+
}
|
|
714
|
+
class T {
|
|
627
715
|
constructor(t) {
|
|
628
716
|
this.client = t;
|
|
629
717
|
}
|
|
@@ -668,10 +756,10 @@ class F {
|
|
|
668
756
|
return this.client.get(e("/shops/all"));
|
|
669
757
|
}
|
|
670
758
|
}
|
|
671
|
-
function
|
|
672
|
-
return new
|
|
759
|
+
function I(n) {
|
|
760
|
+
return new T(n);
|
|
673
761
|
}
|
|
674
|
-
class
|
|
762
|
+
class M {
|
|
675
763
|
constructor(t) {
|
|
676
764
|
this.client = t;
|
|
677
765
|
}
|
|
@@ -744,28 +832,124 @@ class R {
|
|
|
744
832
|
return this.client.delete(e("/share/batch"));
|
|
745
833
|
}
|
|
746
834
|
}
|
|
747
|
-
function
|
|
748
|
-
return new
|
|
835
|
+
function F(n) {
|
|
836
|
+
return new M(n);
|
|
749
837
|
}
|
|
750
|
-
class
|
|
838
|
+
class R {
|
|
751
839
|
constructor(t) {
|
|
752
840
|
this.client = t;
|
|
753
841
|
}
|
|
754
|
-
/**
|
|
755
|
-
async
|
|
756
|
-
return this.client.get(e(`/
|
|
842
|
+
/** 获取模块设置 */
|
|
843
|
+
async getModule(t) {
|
|
844
|
+
return this.client.get(e(`/settings/${t}`));
|
|
757
845
|
}
|
|
758
|
-
/**
|
|
759
|
-
async
|
|
760
|
-
return this.client.put(e(`/
|
|
846
|
+
/** 更新模块设置 */
|
|
847
|
+
async updateModule(t, s) {
|
|
848
|
+
return this.client.put(e(`/settings/${t}`), s);
|
|
761
849
|
}
|
|
762
|
-
/**
|
|
763
|
-
async
|
|
764
|
-
return this.client.delete(e(`/
|
|
850
|
+
/** 重置模块设置 */
|
|
851
|
+
async resetModule(t) {
|
|
852
|
+
return this.client.delete(e(`/settings/${t}`));
|
|
765
853
|
}
|
|
766
|
-
/**
|
|
767
|
-
async
|
|
768
|
-
return this.client.
|
|
854
|
+
/** 获取界面设置 */
|
|
855
|
+
async getUi() {
|
|
856
|
+
return this.client.get(e("/settings/ui"));
|
|
857
|
+
}
|
|
858
|
+
/** 更新界面设置 */
|
|
859
|
+
async updateUi(t) {
|
|
860
|
+
return this.client.put(e("/settings/ui"), t);
|
|
861
|
+
}
|
|
862
|
+
/** 切换主题 */
|
|
863
|
+
async switchTheme(t) {
|
|
864
|
+
return this.client.put(e("/settings/ui/theme"), t);
|
|
865
|
+
}
|
|
866
|
+
/** 切换语言 */
|
|
867
|
+
async switchLanguage(t) {
|
|
868
|
+
return this.client.put(e("/settings/ui/language"), t);
|
|
869
|
+
}
|
|
870
|
+
/** 获取安全设置 */
|
|
871
|
+
async getSecurity() {
|
|
872
|
+
return this.client.get(e("/settings/security"));
|
|
873
|
+
}
|
|
874
|
+
/** 更新安全设置 */
|
|
875
|
+
async updateSecurity(t) {
|
|
876
|
+
return this.client.put(e("/settings/security"), t);
|
|
877
|
+
}
|
|
878
|
+
/** 修改密码 */
|
|
879
|
+
async changePassword(t) {
|
|
880
|
+
return this.client.put(e("/settings/security/password"), t);
|
|
881
|
+
}
|
|
882
|
+
/** 两步验证设置 */
|
|
883
|
+
async toggleTwoFactor(t) {
|
|
884
|
+
return this.client.put(e("/settings/security/2fa"), t);
|
|
885
|
+
}
|
|
886
|
+
/** 获取隐私设置 */
|
|
887
|
+
async getPrivacy() {
|
|
888
|
+
return this.client.get(e("/settings/privacy"));
|
|
889
|
+
}
|
|
890
|
+
/** 更新隐私设置 */
|
|
891
|
+
async updatePrivacy(t) {
|
|
892
|
+
return this.client.put(e("/settings/privacy"), t);
|
|
893
|
+
}
|
|
894
|
+
/** 导出用户数据 */
|
|
895
|
+
async exportUserData(t) {
|
|
896
|
+
return this.client.post(e("/settings/data/export"), t);
|
|
897
|
+
}
|
|
898
|
+
/** 获取所有设置 */
|
|
899
|
+
async getAll() {
|
|
900
|
+
return this.client.get(e("/settings"));
|
|
901
|
+
}
|
|
902
|
+
/** 重置所有设置 */
|
|
903
|
+
async resetAll() {
|
|
904
|
+
return this.client.delete(e("/settings"));
|
|
905
|
+
}
|
|
906
|
+
/** 获取版本信息 */
|
|
907
|
+
async getAppVersion(t) {
|
|
908
|
+
return this.client.get(e("/settings/app/version"), t);
|
|
909
|
+
}
|
|
910
|
+
/** 获取功能开关 */
|
|
911
|
+
async getFeatureFlags() {
|
|
912
|
+
return this.client.get(e("/settings/app/features"));
|
|
913
|
+
}
|
|
914
|
+
/** 获取应用配置 */
|
|
915
|
+
async getAppConfig() {
|
|
916
|
+
return this.client.get(e("/settings/app/config"));
|
|
917
|
+
}
|
|
918
|
+
/** 清除本地数据 */
|
|
919
|
+
async clearLocalData() {
|
|
920
|
+
return this.client.delete(e("/settings/data/local"));
|
|
921
|
+
}
|
|
922
|
+
/** 清除缓存 */
|
|
923
|
+
async clearCache() {
|
|
924
|
+
return this.client.delete(e("/settings/cache"));
|
|
925
|
+
}
|
|
926
|
+
/** 删除账户 */
|
|
927
|
+
async deleteAccount() {
|
|
928
|
+
return this.client.delete(e("/settings/account"));
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
function E(n) {
|
|
932
|
+
return new R(n);
|
|
933
|
+
}
|
|
934
|
+
class U {
|
|
935
|
+
constructor(t) {
|
|
936
|
+
this.client = t;
|
|
937
|
+
}
|
|
938
|
+
/** 获取提示语详情 */
|
|
939
|
+
async getPromptDetail(t) {
|
|
940
|
+
return this.client.get(e(`/prompt/${t}`));
|
|
941
|
+
}
|
|
942
|
+
/** 更新提示语 */
|
|
943
|
+
async updatePrompt(t, s) {
|
|
944
|
+
return this.client.put(e(`/prompt/${t}`), s);
|
|
945
|
+
}
|
|
946
|
+
/** 删除提示语 */
|
|
947
|
+
async deletePrompt(t) {
|
|
948
|
+
return this.client.delete(e(`/prompt/${t}`));
|
|
949
|
+
}
|
|
950
|
+
/** 创建提示语 */
|
|
951
|
+
async createPrompt(t) {
|
|
952
|
+
return this.client.post(e("/prompt"), t);
|
|
769
953
|
}
|
|
770
954
|
/** 使用提示语 */
|
|
771
955
|
async usePrompt(t) {
|
|
@@ -804,10 +988,10 @@ class x {
|
|
|
804
988
|
return this.client.get(e("/prompt/history/list"), t);
|
|
805
989
|
}
|
|
806
990
|
}
|
|
807
|
-
function
|
|
808
|
-
return new
|
|
991
|
+
function B(n) {
|
|
992
|
+
return new U(n);
|
|
809
993
|
}
|
|
810
|
-
class
|
|
994
|
+
class x {
|
|
811
995
|
constructor(t) {
|
|
812
996
|
this.client = t;
|
|
813
997
|
}
|
|
@@ -860,10 +1044,106 @@ class U {
|
|
|
860
1044
|
return this.client.get(e("/projects/recent"), t);
|
|
861
1045
|
}
|
|
862
1046
|
}
|
|
863
|
-
function
|
|
864
|
-
return new
|
|
1047
|
+
function K(n) {
|
|
1048
|
+
return new x(n);
|
|
865
1049
|
}
|
|
866
|
-
class
|
|
1050
|
+
class j {
|
|
1051
|
+
constructor(t) {
|
|
1052
|
+
this.client = t;
|
|
1053
|
+
}
|
|
1054
|
+
/** 更新商品属性 */
|
|
1055
|
+
async updateProductAttribute(t, s, i) {
|
|
1056
|
+
return this.client.put(e(`/products/${t}/attributes/${s}`), i);
|
|
1057
|
+
}
|
|
1058
|
+
/** 删除商品属性 */
|
|
1059
|
+
async deleteProductAttribute(t, s) {
|
|
1060
|
+
return this.client.delete(e(`/products/${t}/attributes/${s}`));
|
|
1061
|
+
}
|
|
1062
|
+
/** 更新商品分类 */
|
|
1063
|
+
async updateProductCategory(t, s) {
|
|
1064
|
+
return this.client.put(e(`/products/categories/${t}`), s);
|
|
1065
|
+
}
|
|
1066
|
+
/** 删除商品分类 */
|
|
1067
|
+
async deleteProductCategory(t) {
|
|
1068
|
+
return this.client.delete(e(`/products/categories/${t}`));
|
|
1069
|
+
}
|
|
1070
|
+
/** 获取商品属性 */
|
|
1071
|
+
async listProductAttributes(t) {
|
|
1072
|
+
return this.client.get(e(`/products/${t}/attributes`));
|
|
1073
|
+
}
|
|
1074
|
+
/** 创建商品属性 */
|
|
1075
|
+
async createProductAttribute(t, s) {
|
|
1076
|
+
return this.client.post(e(`/products/${t}/attributes`), s);
|
|
1077
|
+
}
|
|
1078
|
+
/** 获取商品分类列表 */
|
|
1079
|
+
async listProductCategories(t) {
|
|
1080
|
+
return this.client.get(e("/products/categories"), t);
|
|
1081
|
+
}
|
|
1082
|
+
/** 创建商品分类 */
|
|
1083
|
+
async createProductCategory(t) {
|
|
1084
|
+
return this.client.post(e("/products/categories"), t);
|
|
1085
|
+
}
|
|
1086
|
+
/** 获取商品列表 */
|
|
1087
|
+
async getProducts(t) {
|
|
1088
|
+
return this.client.get(e("/products"), t);
|
|
1089
|
+
}
|
|
1090
|
+
/** 获取商品详情 */
|
|
1091
|
+
async getProductDetail(t) {
|
|
1092
|
+
return this.client.get(e(`/products/${t}`));
|
|
1093
|
+
}
|
|
1094
|
+
/** 获取商品库存 */
|
|
1095
|
+
async getProductStock(t) {
|
|
1096
|
+
return this.client.get(e(`/products/${t}/stock`));
|
|
1097
|
+
}
|
|
1098
|
+
/** 获取商品统计 */
|
|
1099
|
+
async getProductStatistics(t) {
|
|
1100
|
+
return this.client.get(e(`/products/${t}/statistics`));
|
|
1101
|
+
}
|
|
1102
|
+
/** 获取SPU详情 */
|
|
1103
|
+
async getSpuDetail(t) {
|
|
1104
|
+
return this.client.get(e(`/products/${t}/spu`));
|
|
1105
|
+
}
|
|
1106
|
+
/** 获取商品SKU列表 */
|
|
1107
|
+
async getProductSkus(t, s) {
|
|
1108
|
+
return this.client.get(e(`/products/${t}/skus`), s);
|
|
1109
|
+
}
|
|
1110
|
+
/** 检查商品库存 */
|
|
1111
|
+
async checkProductStock(t, s) {
|
|
1112
|
+
return this.client.get(e(`/products/${t}/check-stock`), s);
|
|
1113
|
+
}
|
|
1114
|
+
/** 搜索商品 */
|
|
1115
|
+
async search(t) {
|
|
1116
|
+
return this.client.get(e("/products/search"), t);
|
|
1117
|
+
}
|
|
1118
|
+
/** 获取最新商品 */
|
|
1119
|
+
async getLatest(t) {
|
|
1120
|
+
return this.client.get(e("/products/latest"), t);
|
|
1121
|
+
}
|
|
1122
|
+
/** 获取热门商品 */
|
|
1123
|
+
async getHot(t) {
|
|
1124
|
+
return this.client.get(e("/products/hot"), t);
|
|
1125
|
+
}
|
|
1126
|
+
/** 按编码获取商品 */
|
|
1127
|
+
async getProductByCode(t) {
|
|
1128
|
+
return this.client.get(e(`/products/code/${t}`));
|
|
1129
|
+
}
|
|
1130
|
+
/** 按分类获取商品 */
|
|
1131
|
+
async getProductsByCategory(t, s) {
|
|
1132
|
+
return this.client.get(e(`/products/category/${t}`), s);
|
|
1133
|
+
}
|
|
1134
|
+
/** 获取分类属性 */
|
|
1135
|
+
async listCategoryAttributes(t) {
|
|
1136
|
+
return this.client.get(e(`/products/categories/${t}/attributes`));
|
|
1137
|
+
}
|
|
1138
|
+
/** 获取商品分类树 */
|
|
1139
|
+
async getProductCategoryTree() {
|
|
1140
|
+
return this.client.get(e("/products/categories/tree"));
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
function z(n) {
|
|
1144
|
+
return new j(n);
|
|
1145
|
+
}
|
|
1146
|
+
class N {
|
|
867
1147
|
constructor(t) {
|
|
868
1148
|
this.client = t;
|
|
869
1149
|
}
|
|
@@ -921,89 +1201,109 @@ class z {
|
|
|
921
1201
|
}
|
|
922
1202
|
}
|
|
923
1203
|
function O(n) {
|
|
924
|
-
return new
|
|
1204
|
+
return new N(n);
|
|
925
1205
|
}
|
|
926
1206
|
class V {
|
|
927
1207
|
constructor(t) {
|
|
928
1208
|
this.client = t;
|
|
929
1209
|
}
|
|
930
|
-
/**
|
|
1210
|
+
/** Mark notification as unread */
|
|
1211
|
+
async markAsUnread(t) {
|
|
1212
|
+
return this.client.put(e(`/notification/${t}/unread`));
|
|
1213
|
+
}
|
|
1214
|
+
/** Mark notification as read */
|
|
931
1215
|
async markAsRead(t) {
|
|
932
1216
|
return this.client.put(e(`/notification/${t}/read`));
|
|
933
1217
|
}
|
|
934
|
-
/**
|
|
1218
|
+
/** Get notification settings */
|
|
935
1219
|
async getNotificationSettings() {
|
|
936
1220
|
return this.client.get(e("/notification/settings"));
|
|
937
1221
|
}
|
|
938
|
-
/**
|
|
1222
|
+
/** Update notification settings */
|
|
939
1223
|
async updateNotificationSettings(t) {
|
|
940
1224
|
return this.client.put(e("/notification/settings"), t);
|
|
941
1225
|
}
|
|
942
|
-
/**
|
|
1226
|
+
/** Update type settings */
|
|
943
1227
|
async updateTypeSettings(t, s) {
|
|
944
1228
|
return this.client.put(e(`/notification/settings/${t}`), s);
|
|
945
1229
|
}
|
|
946
|
-
/**
|
|
1230
|
+
/** Mark all notifications as read */
|
|
947
1231
|
async markAllAsRead(t) {
|
|
948
1232
|
return this.client.put(e("/notification/read/all"), void 0, t);
|
|
949
1233
|
}
|
|
950
|
-
/**
|
|
1234
|
+
/** Update device status */
|
|
1235
|
+
async updateDeviceStatus(t, s) {
|
|
1236
|
+
return this.client.put(e(`/notification/devices/${t}/status`), s);
|
|
1237
|
+
}
|
|
1238
|
+
/** Batch mark notifications as read */
|
|
951
1239
|
async batchMarkAsRead(t) {
|
|
952
1240
|
return this.client.put(e("/notification/batch/read"), t);
|
|
953
1241
|
}
|
|
954
|
-
/**
|
|
1242
|
+
/** Send test notification */
|
|
955
1243
|
async sendTest(t) {
|
|
956
1244
|
return this.client.post(e("/notification/test"), t);
|
|
957
1245
|
}
|
|
958
|
-
/**
|
|
1246
|
+
/** List subscriptions */
|
|
959
1247
|
async listSubscriptions() {
|
|
960
1248
|
return this.client.get(e("/notification/subscriptions"));
|
|
961
1249
|
}
|
|
962
|
-
/**
|
|
1250
|
+
/** Subscribe topic */
|
|
963
1251
|
async subscribeTopic(t) {
|
|
964
1252
|
return this.client.post(e("/notification/subscriptions"), t);
|
|
965
1253
|
}
|
|
966
|
-
/**
|
|
1254
|
+
/** List devices */
|
|
967
1255
|
async listDevices() {
|
|
968
1256
|
return this.client.get(e("/notification/devices"));
|
|
969
1257
|
}
|
|
970
|
-
/**
|
|
1258
|
+
/** Register device */
|
|
971
1259
|
async registerDevice(t) {
|
|
972
1260
|
return this.client.post(e("/notification/devices"), t);
|
|
973
1261
|
}
|
|
974
|
-
/**
|
|
1262
|
+
/** List device messages */
|
|
1263
|
+
async listDeviceMessages(t, s) {
|
|
1264
|
+
return this.client.get(e(`/notification/devices/${t}/messages`), s);
|
|
1265
|
+
}
|
|
1266
|
+
/** Send device message */
|
|
1267
|
+
async sendDeviceMessage(t, s) {
|
|
1268
|
+
return this.client.post(e(`/notification/devices/${t}/messages`), s);
|
|
1269
|
+
}
|
|
1270
|
+
/** Control device */
|
|
1271
|
+
async controlDevice(t, s) {
|
|
1272
|
+
return this.client.post(e(`/notification/devices/${t}/control`), s);
|
|
1273
|
+
}
|
|
1274
|
+
/** List notifications */
|
|
975
1275
|
async listNotifications(t) {
|
|
976
1276
|
return this.client.get(e("/notification"), t);
|
|
977
1277
|
}
|
|
978
|
-
/**
|
|
1278
|
+
/** Get notification detail */
|
|
979
1279
|
async getNotificationDetail(t) {
|
|
980
1280
|
return this.client.get(e(`/notification/${t}`));
|
|
981
1281
|
}
|
|
982
|
-
/**
|
|
1282
|
+
/** Delete notification */
|
|
983
1283
|
async deleteNotification(t) {
|
|
984
1284
|
return this.client.delete(e(`/notification/${t}`));
|
|
985
1285
|
}
|
|
986
|
-
/**
|
|
1286
|
+
/** Get unread notification count */
|
|
987
1287
|
async getUnreadCount() {
|
|
988
1288
|
return this.client.get(e("/notification/unread/count"));
|
|
989
1289
|
}
|
|
990
|
-
/**
|
|
1290
|
+
/** List notification types */
|
|
991
1291
|
async listNotificationTypes() {
|
|
992
1292
|
return this.client.get(e("/notification/types"));
|
|
993
1293
|
}
|
|
994
|
-
/**
|
|
1294
|
+
/** Unsubscribe topic */
|
|
995
1295
|
async unsubscribeTopic(t) {
|
|
996
1296
|
return this.client.delete(e(`/notification/subscriptions/${t}`));
|
|
997
1297
|
}
|
|
998
|
-
/**
|
|
1298
|
+
/** Unregister device */
|
|
999
1299
|
async unregisterDevice(t) {
|
|
1000
1300
|
return this.client.delete(e(`/notification/devices/${t}`));
|
|
1001
1301
|
}
|
|
1002
|
-
/**
|
|
1302
|
+
/** Clear notifications */
|
|
1003
1303
|
async clearAllNotifications(t) {
|
|
1004
1304
|
return this.client.delete(e("/notification/clear"), t);
|
|
1005
1305
|
}
|
|
1006
|
-
/**
|
|
1306
|
+
/** Batch delete notifications */
|
|
1007
1307
|
async batchDeleteNotifications() {
|
|
1008
1308
|
return this.client.delete(e("/notification/batch"));
|
|
1009
1309
|
}
|
|
@@ -1011,7 +1311,7 @@ class V {
|
|
|
1011
1311
|
function L(n) {
|
|
1012
1312
|
return new V(n);
|
|
1013
1313
|
}
|
|
1014
|
-
class
|
|
1314
|
+
class H {
|
|
1015
1315
|
constructor(t) {
|
|
1016
1316
|
this.client = t;
|
|
1017
1317
|
}
|
|
@@ -1027,11 +1327,27 @@ class N {
|
|
|
1027
1327
|
async deleteNote(t) {
|
|
1028
1328
|
return this.client.delete(e(`/notes/${t}`));
|
|
1029
1329
|
}
|
|
1330
|
+
/** 恢复笔记 */
|
|
1331
|
+
async restoreNote(t) {
|
|
1332
|
+
return this.client.put(e(`/notes/${t}/restore`));
|
|
1333
|
+
}
|
|
1030
1334
|
/** 移动笔记 */
|
|
1031
1335
|
async moveNote(t, s) {
|
|
1032
1336
|
return this.client.put(e(`/notes/${t}/move`), s);
|
|
1033
1337
|
}
|
|
1034
|
-
/**
|
|
1338
|
+
/** 获取笔记正文 */
|
|
1339
|
+
async getNoteContent(t) {
|
|
1340
|
+
return this.client.get(e(`/notes/${t}/content`));
|
|
1341
|
+
}
|
|
1342
|
+
/** 更新笔记正文 */
|
|
1343
|
+
async updateNoteContent(t, s) {
|
|
1344
|
+
return this.client.put(e(`/notes/${t}/content`), s);
|
|
1345
|
+
}
|
|
1346
|
+
/** 归档笔记 */
|
|
1347
|
+
async archiveNote(t) {
|
|
1348
|
+
return this.client.put(e(`/notes/${t}/archive`));
|
|
1349
|
+
}
|
|
1350
|
+
/** 重命名文件夹 */
|
|
1035
1351
|
async updateFolder(t, s) {
|
|
1036
1352
|
return this.client.put(e(`/notes/folders/${t}`), s);
|
|
1037
1353
|
}
|
|
@@ -1039,18 +1355,6 @@ class N {
|
|
|
1039
1355
|
async deleteFolder(t) {
|
|
1040
1356
|
return this.client.delete(e(`/notes/folders/${t}`));
|
|
1041
1357
|
}
|
|
1042
|
-
/** 获取应用详情 */
|
|
1043
|
-
async getApp(t) {
|
|
1044
|
-
return this.client.get(e(`/app/manage/${t}`));
|
|
1045
|
-
}
|
|
1046
|
-
/** 更新应用 */
|
|
1047
|
-
async updateApp(t, s) {
|
|
1048
|
-
return this.client.put(e(`/app/manage/${t}`), s);
|
|
1049
|
-
}
|
|
1050
|
-
/** 删除应用 */
|
|
1051
|
-
async deleteApp(t) {
|
|
1052
|
-
return this.client.delete(e(`/app/manage/${t}`));
|
|
1053
|
-
}
|
|
1054
1358
|
/** 获取笔记列表 */
|
|
1055
1359
|
async listNotes(t) {
|
|
1056
1360
|
return this.client.get(e("/notes"), t);
|
|
@@ -1063,7 +1367,7 @@ class N {
|
|
|
1063
1367
|
async favoriteNote(t) {
|
|
1064
1368
|
return this.client.post(e(`/notes/${t}/favorite`));
|
|
1065
1369
|
}
|
|
1066
|
-
/**
|
|
1370
|
+
/** 取消收藏 */
|
|
1067
1371
|
async unfavoriteNote(t) {
|
|
1068
1372
|
return this.client.delete(e(`/notes/${t}/favorite`));
|
|
1069
1373
|
}
|
|
@@ -1071,7 +1375,15 @@ class N {
|
|
|
1071
1375
|
async copyNote(t, s) {
|
|
1072
1376
|
return this.client.post(e(`/notes/${t}/copy`), s);
|
|
1073
1377
|
}
|
|
1074
|
-
/**
|
|
1378
|
+
/** 批量更新笔记正文 */
|
|
1379
|
+
async batchUpdateNote(t, s) {
|
|
1380
|
+
return this.client.post(e(`/notes/${t}/batch-update`), s);
|
|
1381
|
+
}
|
|
1382
|
+
/** 批量更新笔记正文 */
|
|
1383
|
+
async createBatchUpdateNote(t, s) {
|
|
1384
|
+
return this.client.post(e(`/notes/${t}:batchUpdate`), s);
|
|
1385
|
+
}
|
|
1386
|
+
/** 获取文件夹树 */
|
|
1075
1387
|
async listFolders() {
|
|
1076
1388
|
return this.client.get(e("/notes/folders"));
|
|
1077
1389
|
}
|
|
@@ -1079,49 +1391,21 @@ class N {
|
|
|
1079
1391
|
async createFolder(t) {
|
|
1080
1392
|
return this.client.post(e("/notes/folders"), t);
|
|
1081
1393
|
}
|
|
1082
|
-
/** 创建应用 */
|
|
1083
|
-
async createApp(t) {
|
|
1084
|
-
return this.client.post(e("/app/manage"), t);
|
|
1085
|
-
}
|
|
1086
|
-
/** 停用应用 */
|
|
1087
|
-
async deactivate(t) {
|
|
1088
|
-
return this.client.post(e(`/app/manage/${t}/deactivate`));
|
|
1089
|
-
}
|
|
1090
|
-
/** 激活应用 */
|
|
1091
|
-
async activate(t) {
|
|
1092
|
-
return this.client.post(e(`/app/manage/${t}/activate`));
|
|
1093
|
-
}
|
|
1094
1394
|
/** 获取笔记统计 */
|
|
1095
1395
|
async getNoteStatistics() {
|
|
1096
1396
|
return this.client.get(e("/notes/statistics"));
|
|
1097
1397
|
}
|
|
1098
|
-
/** 获取应用统计 */
|
|
1099
|
-
async getAppStatistics() {
|
|
1100
|
-
return this.client.get(e("/app/manage/statistics"));
|
|
1101
|
-
}
|
|
1102
|
-
/** 搜索应用 */
|
|
1103
|
-
async searchApps(t) {
|
|
1104
|
-
return this.client.get(e("/app/manage/search"), t);
|
|
1105
|
-
}
|
|
1106
|
-
/** 获取项目应用 */
|
|
1107
|
-
async getProjectApps(t, s) {
|
|
1108
|
-
return this.client.get(e(`/app/manage/project/${t}`), s);
|
|
1109
|
-
}
|
|
1110
|
-
/** 获取我的应用 */
|
|
1111
|
-
async getMyApps(t) {
|
|
1112
|
-
return this.client.get(e("/app/manage/my"), t);
|
|
1113
|
-
}
|
|
1114
|
-
/** 获取账户余额汇总 */
|
|
1115
|
-
async getAccountSummary() {
|
|
1116
|
-
return this.client.get(e("/account/summary"));
|
|
1117
|
-
}
|
|
1118
1398
|
/** 批量删除笔记 */
|
|
1119
|
-
async
|
|
1399
|
+
async batchDelete() {
|
|
1120
1400
|
return this.client.delete(e("/notes/batch"));
|
|
1121
1401
|
}
|
|
1402
|
+
/** 批量删除笔记 */
|
|
1403
|
+
async deleteBatch() {
|
|
1404
|
+
return this.client.delete(e("/notes/batch-delete"));
|
|
1405
|
+
}
|
|
1122
1406
|
}
|
|
1123
|
-
function
|
|
1124
|
-
return new
|
|
1407
|
+
function _(n) {
|
|
1408
|
+
return new H(n);
|
|
1125
1409
|
}
|
|
1126
1410
|
class G {
|
|
1127
1411
|
constructor(t) {
|
|
@@ -1163,7 +1447,7 @@ class G {
|
|
|
1163
1447
|
function q(n) {
|
|
1164
1448
|
return new G(n);
|
|
1165
1449
|
}
|
|
1166
|
-
class
|
|
1450
|
+
class W {
|
|
1167
1451
|
constructor(t) {
|
|
1168
1452
|
this.client = t;
|
|
1169
1453
|
}
|
|
@@ -1239,39 +1523,175 @@ class _ {
|
|
|
1239
1523
|
async getPublic(t) {
|
|
1240
1524
|
return this.client.get(e("/music/public"), t);
|
|
1241
1525
|
}
|
|
1242
|
-
/** 获取热门音乐 */
|
|
1243
|
-
async getPopular(t) {
|
|
1244
|
-
return this.client.get(e("/music/popular"), t);
|
|
1526
|
+
/** 获取热门音乐 */
|
|
1527
|
+
async getPopular(t) {
|
|
1528
|
+
return this.client.get(e("/music/popular"), t);
|
|
1529
|
+
}
|
|
1530
|
+
/** 获取最受喜爱音乐 */
|
|
1531
|
+
async getMostLiked(t) {
|
|
1532
|
+
return this.client.get(e("/music/liked"), t);
|
|
1533
|
+
}
|
|
1534
|
+
/** 获取收藏音乐 */
|
|
1535
|
+
async getFavorite(t) {
|
|
1536
|
+
return this.client.get(e("/music/favorites"), t);
|
|
1537
|
+
}
|
|
1538
|
+
/** 获取任务列表 */
|
|
1539
|
+
async listTasks(t) {
|
|
1540
|
+
return this.client.get(e("/generation/music/tasks"), t);
|
|
1541
|
+
}
|
|
1542
|
+
/** 获取任务状态 */
|
|
1543
|
+
async getTaskStatus(t) {
|
|
1544
|
+
return this.client.get(e(`/generation/music/tasks/${t}`));
|
|
1545
|
+
}
|
|
1546
|
+
/** 取消任务 */
|
|
1547
|
+
async cancelTask(t) {
|
|
1548
|
+
return this.client.delete(e(`/generation/music/tasks/${t}`));
|
|
1549
|
+
}
|
|
1550
|
+
/** 获取音乐风格列表 */
|
|
1551
|
+
async getMusicStyles(t) {
|
|
1552
|
+
return this.client.get(e("/generation/music/styles"), t);
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
function Y(n) {
|
|
1556
|
+
return new W(n);
|
|
1557
|
+
}
|
|
1558
|
+
class Q {
|
|
1559
|
+
constructor(t) {
|
|
1560
|
+
this.client = t;
|
|
1561
|
+
}
|
|
1562
|
+
/** Restore knowledge document */
|
|
1563
|
+
async restoreKnowledgeDocument(t, s) {
|
|
1564
|
+
return this.client.put(e(`/knowledge_base/${t}/documents/${s}/restore`));
|
|
1565
|
+
}
|
|
1566
|
+
/** Restore knowledge document */
|
|
1567
|
+
async updateRestoreKnowledgeDocument(t, s) {
|
|
1568
|
+
return this.client.put(e(`/knowledge-bases/${t}/documents/${s}/restore`));
|
|
1569
|
+
}
|
|
1570
|
+
/** Get knowledge document content */
|
|
1571
|
+
async getKnowledgeDocumentContent(t, s) {
|
|
1572
|
+
return this.client.get(e(`/knowledge-bases/${t}/documents/${s}/content`));
|
|
1573
|
+
}
|
|
1574
|
+
/** Update knowledge document content */
|
|
1575
|
+
async updateKnowledgeDocumentContent(t, s, i) {
|
|
1576
|
+
return this.client.put(e(`/knowledge-bases/${t}/documents/${s}/content`), i);
|
|
1577
|
+
}
|
|
1578
|
+
/** Get knowledge document content */
|
|
1579
|
+
async getKnowledgeDocumentContentKnowledgeBase(t, s) {
|
|
1580
|
+
return this.client.get(e(`/knowledge_base/${t}/documents/${s}/content`));
|
|
1581
|
+
}
|
|
1582
|
+
/** Update knowledge document content */
|
|
1583
|
+
async updateKnowledgeDocumentContentKnowledgeBase(t, s, i) {
|
|
1584
|
+
return this.client.put(e(`/knowledge_base/${t}/documents/${s}/content`), i);
|
|
1585
|
+
}
|
|
1586
|
+
/** Archive knowledge document */
|
|
1587
|
+
async archiveKnowledgeDocument(t, s) {
|
|
1588
|
+
return this.client.put(e(`/knowledge_base/${t}/documents/${s}/archive`));
|
|
1589
|
+
}
|
|
1590
|
+
/** Archive knowledge document */
|
|
1591
|
+
async updateArchiveKnowledgeDocument(t, s) {
|
|
1592
|
+
return this.client.put(e(`/knowledge-bases/${t}/documents/${s}/archive`));
|
|
1593
|
+
}
|
|
1594
|
+
/** Get knowledge document detail */
|
|
1595
|
+
async getKnowledgeDocumentDetail(t, s) {
|
|
1596
|
+
return this.client.get(e(`/knowledge-bases/${t}/documents/${s}`));
|
|
1597
|
+
}
|
|
1598
|
+
/** Update knowledge document metadata */
|
|
1599
|
+
async updateKnowledgeDocument(t, s, i) {
|
|
1600
|
+
return this.client.put(e(`/knowledge-bases/${t}/documents/${s}`), i);
|
|
1601
|
+
}
|
|
1602
|
+
/** Delete knowledge document */
|
|
1603
|
+
async deleteKnowledgeDocument(t, s) {
|
|
1604
|
+
return this.client.delete(e(`/knowledge-bases/${t}/documents/${s}`));
|
|
1605
|
+
}
|
|
1606
|
+
/** Get knowledge document detail */
|
|
1607
|
+
async getKnowledgeDocumentDetailKnowledgeBase(t, s) {
|
|
1608
|
+
return this.client.get(e(`/knowledge_base/${t}/documents/${s}`));
|
|
1609
|
+
}
|
|
1610
|
+
/** Update knowledge document metadata */
|
|
1611
|
+
async updateKnowledgeDocumentKnowledgeBase(t, s, i) {
|
|
1612
|
+
return this.client.put(e(`/knowledge_base/${t}/documents/${s}`), i);
|
|
1613
|
+
}
|
|
1614
|
+
/** Delete knowledge document */
|
|
1615
|
+
async deleteKnowledgeDocumentKnowledgeBase(t, s) {
|
|
1616
|
+
return this.client.delete(e(`/knowledge_base/${t}/documents/${s}`));
|
|
1617
|
+
}
|
|
1618
|
+
/** Favorite knowledge document */
|
|
1619
|
+
async favoriteKnowledgeDocument(t, s) {
|
|
1620
|
+
return this.client.post(e(`/knowledge-bases/${t}/documents/${s}/favorite`));
|
|
1621
|
+
}
|
|
1622
|
+
/** Unfavorite knowledge document */
|
|
1623
|
+
async unfavoriteKnowledgeDocument(t, s) {
|
|
1624
|
+
return this.client.delete(e(`/knowledge-bases/${t}/documents/${s}/favorite`));
|
|
1625
|
+
}
|
|
1626
|
+
/** Favorite knowledge document */
|
|
1627
|
+
async createFavoriteKnowledgeDocument(t, s) {
|
|
1628
|
+
return this.client.post(e(`/knowledge_base/${t}/documents/${s}/favorite`));
|
|
1629
|
+
}
|
|
1630
|
+
/** Unfavorite knowledge document */
|
|
1631
|
+
async deleteUnfavoriteKnowledgeDocument(t, s) {
|
|
1632
|
+
return this.client.delete(e(`/knowledge_base/${t}/documents/${s}/favorite`));
|
|
1633
|
+
}
|
|
1634
|
+
/** Copy knowledge document */
|
|
1635
|
+
async copyKnowledgeDocument(t, s, i) {
|
|
1636
|
+
return this.client.post(e(`/knowledge_base/${t}/documents/${s}/copy`), i);
|
|
1637
|
+
}
|
|
1638
|
+
/** Copy knowledge document */
|
|
1639
|
+
async createCopyKnowledgeDocument(t, s, i) {
|
|
1640
|
+
return this.client.post(e(`/knowledge-bases/${t}/documents/${s}/copy`), i);
|
|
1641
|
+
}
|
|
1642
|
+
/** Batch update knowledge document */
|
|
1643
|
+
async batchUpdateKnowledgeDocument(t, s, i) {
|
|
1644
|
+
return this.client.post(e(`/knowledge-bases/${t}/documents/${s}/batch-update`), i);
|
|
1645
|
+
}
|
|
1646
|
+
/** Batch update knowledge document */
|
|
1647
|
+
async createBatchUpdateKnowledgeDocument(t, s, i) {
|
|
1648
|
+
return this.client.post(e(`/knowledge_base/${t}/documents/${s}:batchUpdate`), i);
|
|
1649
|
+
}
|
|
1650
|
+
/** Batch update knowledge document */
|
|
1651
|
+
async createBatchUpdateKnowledgeDocumentDocumentIdBatchUpdate(t, s, i) {
|
|
1652
|
+
return this.client.post(e(`/knowledge-bases/${t}/documents/${s}:batchUpdate`), i);
|
|
1653
|
+
}
|
|
1654
|
+
/** Batch update knowledge document */
|
|
1655
|
+
async createBatchUpdateKnowledgeDocumentBatchUpdate(t, s, i) {
|
|
1656
|
+
return this.client.post(e(`/knowledge_base/${t}/documents/${s}/batch-update`), i);
|
|
1657
|
+
}
|
|
1658
|
+
/** List knowledge documents */
|
|
1659
|
+
async listKnowledgeDocuments(t, s) {
|
|
1660
|
+
return this.client.get(e(`/knowledge-bases/${t}/documents`), s);
|
|
1661
|
+
}
|
|
1662
|
+
/** Create knowledge document */
|
|
1663
|
+
async createKnowledgeDocument(t, s) {
|
|
1664
|
+
return this.client.post(e(`/knowledge-bases/${t}/documents`), s);
|
|
1245
1665
|
}
|
|
1246
|
-
/**
|
|
1247
|
-
async
|
|
1248
|
-
return this.client.get(e(
|
|
1666
|
+
/** List knowledge documents */
|
|
1667
|
+
async getList(t, s) {
|
|
1668
|
+
return this.client.get(e(`/knowledge_base/${t}/documents`), s);
|
|
1249
1669
|
}
|
|
1250
|
-
/**
|
|
1251
|
-
async
|
|
1252
|
-
return this.client.
|
|
1670
|
+
/** Create knowledge document */
|
|
1671
|
+
async createKnowledgeDocumentKnowledgeBase(t, s) {
|
|
1672
|
+
return this.client.post(e(`/knowledge_base/${t}/documents`), s);
|
|
1253
1673
|
}
|
|
1254
|
-
/**
|
|
1255
|
-
async
|
|
1256
|
-
return this.client.
|
|
1674
|
+
/** Batch delete knowledge documents */
|
|
1675
|
+
async batchDelete(t) {
|
|
1676
|
+
return this.client.delete(e(`/knowledge-bases/${t}/documents/batch-delete`));
|
|
1257
1677
|
}
|
|
1258
|
-
/**
|
|
1259
|
-
async
|
|
1260
|
-
return this.client.
|
|
1678
|
+
/** Batch delete knowledge documents */
|
|
1679
|
+
async deleteBatch(t) {
|
|
1680
|
+
return this.client.delete(e(`/knowledge_base/${t}/documents/batch`));
|
|
1261
1681
|
}
|
|
1262
|
-
/**
|
|
1263
|
-
async
|
|
1264
|
-
return this.client.delete(e(`/
|
|
1682
|
+
/** Batch delete knowledge documents */
|
|
1683
|
+
async deleteBatchBatchDelete(t) {
|
|
1684
|
+
return this.client.delete(e(`/knowledge_base/${t}/documents/batch-delete`));
|
|
1265
1685
|
}
|
|
1266
|
-
/**
|
|
1267
|
-
async
|
|
1268
|
-
return this.client.
|
|
1686
|
+
/** Batch delete knowledge documents */
|
|
1687
|
+
async deleteBatchDocuments(t) {
|
|
1688
|
+
return this.client.delete(e(`/knowledge-bases/${t}/documents/batch`));
|
|
1269
1689
|
}
|
|
1270
1690
|
}
|
|
1271
|
-
function
|
|
1272
|
-
return new
|
|
1691
|
+
function X(n) {
|
|
1692
|
+
return new Q(n);
|
|
1273
1693
|
}
|
|
1274
|
-
class
|
|
1694
|
+
class J {
|
|
1275
1695
|
constructor(t) {
|
|
1276
1696
|
this.client = t;
|
|
1277
1697
|
}
|
|
@@ -1312,10 +1732,10 @@ class W {
|
|
|
1312
1732
|
return this.client.get(e("/invoice/my"), t);
|
|
1313
1733
|
}
|
|
1314
1734
|
}
|
|
1315
|
-
function
|
|
1316
|
-
return new
|
|
1735
|
+
function Z(n) {
|
|
1736
|
+
return new J(n);
|
|
1317
1737
|
}
|
|
1318
|
-
class
|
|
1738
|
+
class tt {
|
|
1319
1739
|
constructor(t) {
|
|
1320
1740
|
this.client = t;
|
|
1321
1741
|
}
|
|
@@ -1408,10 +1828,10 @@ class Q {
|
|
|
1408
1828
|
return this.client.delete(e(`/generation/image/tasks/${t}`));
|
|
1409
1829
|
}
|
|
1410
1830
|
}
|
|
1411
|
-
function
|
|
1412
|
-
return new
|
|
1831
|
+
function et(n) {
|
|
1832
|
+
return new tt(n);
|
|
1413
1833
|
}
|
|
1414
|
-
class
|
|
1834
|
+
class st {
|
|
1415
1835
|
constructor(t) {
|
|
1416
1836
|
this.client = t;
|
|
1417
1837
|
}
|
|
@@ -1472,10 +1892,10 @@ class J {
|
|
|
1472
1892
|
return this.client.get(e("/generation/style/my"), t);
|
|
1473
1893
|
}
|
|
1474
1894
|
}
|
|
1475
|
-
function
|
|
1476
|
-
return new
|
|
1895
|
+
function nt(n) {
|
|
1896
|
+
return new st(n);
|
|
1477
1897
|
}
|
|
1478
|
-
class
|
|
1898
|
+
class it {
|
|
1479
1899
|
constructor(t) {
|
|
1480
1900
|
this.client = t;
|
|
1481
1901
|
}
|
|
@@ -1528,10 +1948,10 @@ class tt {
|
|
|
1528
1948
|
return this.client.get(e("/filesystem/disks/default"));
|
|
1529
1949
|
}
|
|
1530
1950
|
}
|
|
1531
|
-
function
|
|
1532
|
-
return new
|
|
1951
|
+
function rt(n) {
|
|
1952
|
+
return new it(n);
|
|
1533
1953
|
}
|
|
1534
|
-
class
|
|
1954
|
+
class ct {
|
|
1535
1955
|
constructor(t) {
|
|
1536
1956
|
this.client = t;
|
|
1537
1957
|
}
|
|
@@ -1620,10 +2040,10 @@ class st {
|
|
|
1620
2040
|
return this.client.get(e("/feedback/faq/categories"));
|
|
1621
2041
|
}
|
|
1622
2042
|
}
|
|
1623
|
-
function
|
|
1624
|
-
return new
|
|
2043
|
+
function at(n) {
|
|
2044
|
+
return new ct(n);
|
|
1625
2045
|
}
|
|
1626
|
-
class
|
|
2046
|
+
class ot {
|
|
1627
2047
|
constructor(t) {
|
|
1628
2048
|
this.client = t;
|
|
1629
2049
|
}
|
|
@@ -1696,13 +2116,17 @@ class it {
|
|
|
1696
2116
|
return this.client.delete(e("/favorite/batch"));
|
|
1697
2117
|
}
|
|
1698
2118
|
}
|
|
1699
|
-
function
|
|
1700
|
-
return new
|
|
2119
|
+
function lt(n) {
|
|
2120
|
+
return new ot(n);
|
|
1701
2121
|
}
|
|
1702
|
-
class
|
|
2122
|
+
class ut {
|
|
1703
2123
|
constructor(t) {
|
|
1704
2124
|
this.client = t;
|
|
1705
2125
|
}
|
|
2126
|
+
/** Restore drive item */
|
|
2127
|
+
async restoreItem(t) {
|
|
2128
|
+
return this.client.put(e(`/drive/items/${t}/restore`));
|
|
2129
|
+
}
|
|
1706
2130
|
/** Rename drive item */
|
|
1707
2131
|
async renameItem(t, s) {
|
|
1708
2132
|
return this.client.put(e(`/drive/items/${t}/rename`), s);
|
|
@@ -1719,6 +2143,18 @@ class ct {
|
|
|
1719
2143
|
async updateItemContent(t, s) {
|
|
1720
2144
|
return this.client.put(e(`/drive/items/${t}/content`), s);
|
|
1721
2145
|
}
|
|
2146
|
+
/** Archive drive item */
|
|
2147
|
+
async archiveItem(t) {
|
|
2148
|
+
return this.client.put(e(`/drive/items/${t}/archive`));
|
|
2149
|
+
}
|
|
2150
|
+
/** Favorite drive item */
|
|
2151
|
+
async favoriteItem(t) {
|
|
2152
|
+
return this.client.post(e(`/drive/items/${t}/favorite`));
|
|
2153
|
+
}
|
|
2154
|
+
/** Unfavorite drive item */
|
|
2155
|
+
async unfavoriteItem(t) {
|
|
2156
|
+
return this.client.delete(e(`/drive/items/${t}/favorite`));
|
|
2157
|
+
}
|
|
1722
2158
|
/** Copy drive item */
|
|
1723
2159
|
async copyItem(t, s) {
|
|
1724
2160
|
return this.client.post(e(`/drive/items/${t}/copy`), s);
|
|
@@ -1744,10 +2180,10 @@ class ct {
|
|
|
1744
2180
|
return this.client.delete(e(`/drive/items/${t}`));
|
|
1745
2181
|
}
|
|
1746
2182
|
}
|
|
1747
|
-
function
|
|
1748
|
-
return new
|
|
2183
|
+
function ht(n) {
|
|
2184
|
+
return new ut(n);
|
|
1749
2185
|
}
|
|
1750
|
-
class
|
|
2186
|
+
class yt {
|
|
1751
2187
|
constructor(t) {
|
|
1752
2188
|
this.client = t;
|
|
1753
2189
|
}
|
|
@@ -1763,6 +2199,10 @@ class ot {
|
|
|
1763
2199
|
async deleteDocument(t) {
|
|
1764
2200
|
return this.client.delete(e(`/documents/${t}`));
|
|
1765
2201
|
}
|
|
2202
|
+
/** Restore document */
|
|
2203
|
+
async restoreDocument(t) {
|
|
2204
|
+
return this.client.put(e(`/documents/${t}/restore`));
|
|
2205
|
+
}
|
|
1766
2206
|
/** Get document content */
|
|
1767
2207
|
async getDocumentContent(t) {
|
|
1768
2208
|
return this.client.get(e(`/documents/${t}/content`));
|
|
@@ -1771,6 +2211,10 @@ class ot {
|
|
|
1771
2211
|
async updateDocumentContent(t, s) {
|
|
1772
2212
|
return this.client.put(e(`/documents/${t}/content`), s);
|
|
1773
2213
|
}
|
|
2214
|
+
/** Archive document */
|
|
2215
|
+
async archiveDocument(t) {
|
|
2216
|
+
return this.client.put(e(`/documents/${t}/archive`));
|
|
2217
|
+
}
|
|
1774
2218
|
/** List documents */
|
|
1775
2219
|
async listDocuments(t) {
|
|
1776
2220
|
return this.client.get(e("/documents"), t);
|
|
@@ -1779,6 +2223,14 @@ class ot {
|
|
|
1779
2223
|
async createDocument(t) {
|
|
1780
2224
|
return this.client.post(e("/documents"), t);
|
|
1781
2225
|
}
|
|
2226
|
+
/** Favorite document */
|
|
2227
|
+
async favoriteDocument(t) {
|
|
2228
|
+
return this.client.post(e(`/documents/${t}/favorite`));
|
|
2229
|
+
}
|
|
2230
|
+
/** Unfavorite document */
|
|
2231
|
+
async unfavoriteDocument(t) {
|
|
2232
|
+
return this.client.delete(e(`/documents/${t}/favorite`));
|
|
2233
|
+
}
|
|
1782
2234
|
/** Copy document */
|
|
1783
2235
|
async copyDocument(t, s) {
|
|
1784
2236
|
return this.client.post(e(`/documents/${t}/copy`), s);
|
|
@@ -1791,11 +2243,19 @@ class ot {
|
|
|
1791
2243
|
async createBatchUpdateDocument(t, s) {
|
|
1792
2244
|
return this.client.post(e(`/documents/${t}:batchUpdate`), s);
|
|
1793
2245
|
}
|
|
2246
|
+
/** Batch delete documents */
|
|
2247
|
+
async batchDelete() {
|
|
2248
|
+
return this.client.delete(e("/documents/batch-delete"));
|
|
2249
|
+
}
|
|
2250
|
+
/** Batch delete documents */
|
|
2251
|
+
async deleteBatch() {
|
|
2252
|
+
return this.client.delete(e("/documents/batch"));
|
|
2253
|
+
}
|
|
1794
2254
|
}
|
|
1795
|
-
function
|
|
1796
|
-
return new
|
|
2255
|
+
function gt(n) {
|
|
2256
|
+
return new yt(n);
|
|
1797
2257
|
}
|
|
1798
|
-
class
|
|
2258
|
+
class pt {
|
|
1799
2259
|
constructor(t) {
|
|
1800
2260
|
this.client = t;
|
|
1801
2261
|
}
|
|
@@ -1872,10 +2332,10 @@ class ut {
|
|
|
1872
2332
|
return this.client.get(e("/dashboard/achievements"));
|
|
1873
2333
|
}
|
|
1874
2334
|
}
|
|
1875
|
-
function
|
|
1876
|
-
return new
|
|
2335
|
+
function dt(n) {
|
|
2336
|
+
return new pt(n);
|
|
1877
2337
|
}
|
|
1878
|
-
class
|
|
2338
|
+
class mt {
|
|
1879
2339
|
constructor(t) {
|
|
1880
2340
|
this.client = t;
|
|
1881
2341
|
}
|
|
@@ -1936,10 +2396,10 @@ class pt {
|
|
|
1936
2396
|
return this.client.delete(e(`/collection/${t}/items/${s}`));
|
|
1937
2397
|
}
|
|
1938
2398
|
}
|
|
1939
|
-
function
|
|
1940
|
-
return new
|
|
2399
|
+
function $t(n) {
|
|
2400
|
+
return new mt(n);
|
|
1941
2401
|
}
|
|
1942
|
-
class
|
|
2402
|
+
class vt {
|
|
1943
2403
|
constructor(t) {
|
|
1944
2404
|
this.client = t;
|
|
1945
2405
|
}
|
|
@@ -2000,10 +2460,10 @@ class gt {
|
|
|
2000
2460
|
return this.client.post(e(`/chat/sessions/${t}/copy`));
|
|
2001
2461
|
}
|
|
2002
2462
|
}
|
|
2003
|
-
function
|
|
2004
|
-
return new
|
|
2463
|
+
function kt(n) {
|
|
2464
|
+
return new vt(n);
|
|
2005
2465
|
}
|
|
2006
|
-
class
|
|
2466
|
+
class ft {
|
|
2007
2467
|
constructor(t) {
|
|
2008
2468
|
this.client = t;
|
|
2009
2469
|
}
|
|
@@ -2084,10 +2544,10 @@ class mt {
|
|
|
2084
2544
|
return this.client.get(e(`/character/agent/${t}`));
|
|
2085
2545
|
}
|
|
2086
2546
|
}
|
|
2087
|
-
function
|
|
2088
|
-
return new
|
|
2547
|
+
function At(n) {
|
|
2548
|
+
return new ft(n);
|
|
2089
2549
|
}
|
|
2090
|
-
class
|
|
2550
|
+
class wt {
|
|
2091
2551
|
constructor(t) {
|
|
2092
2552
|
this.client = t;
|
|
2093
2553
|
}
|
|
@@ -2152,10 +2612,10 @@ class $t {
|
|
|
2152
2612
|
return this.client.delete(e(`/category/tags/${t}`));
|
|
2153
2613
|
}
|
|
2154
2614
|
}
|
|
2155
|
-
function
|
|
2156
|
-
return new
|
|
2615
|
+
function bt(n) {
|
|
2616
|
+
return new wt(n);
|
|
2157
2617
|
}
|
|
2158
|
-
class
|
|
2618
|
+
class Ct {
|
|
2159
2619
|
constructor(t) {
|
|
2160
2620
|
this.client = t;
|
|
2161
2621
|
}
|
|
@@ -2208,10 +2668,10 @@ class kt {
|
|
|
2208
2668
|
return this.client.get(e("/cart/check"), t);
|
|
2209
2669
|
}
|
|
2210
2670
|
}
|
|
2211
|
-
function
|
|
2212
|
-
return new
|
|
2671
|
+
function St(n) {
|
|
2672
|
+
return new Ct(n);
|
|
2213
2673
|
}
|
|
2214
|
-
class
|
|
2674
|
+
class Pt {
|
|
2215
2675
|
constructor(t) {
|
|
2216
2676
|
this.client = t;
|
|
2217
2677
|
}
|
|
@@ -2268,10 +2728,66 @@ class Ct {
|
|
|
2268
2728
|
return this.client.delete(e("/assets/batch"));
|
|
2269
2729
|
}
|
|
2270
2730
|
}
|
|
2271
|
-
function
|
|
2272
|
-
return new
|
|
2731
|
+
function Dt(n) {
|
|
2732
|
+
return new Pt(n);
|
|
2273
2733
|
}
|
|
2274
|
-
class
|
|
2734
|
+
class Tt {
|
|
2735
|
+
constructor(t) {
|
|
2736
|
+
this.client = t;
|
|
2737
|
+
}
|
|
2738
|
+
/** 获取应用详情 */
|
|
2739
|
+
async getApp(t) {
|
|
2740
|
+
return this.client.get(e(`/app/manage/${t}`));
|
|
2741
|
+
}
|
|
2742
|
+
/** 更新应用 */
|
|
2743
|
+
async updateApp(t, s) {
|
|
2744
|
+
return this.client.put(e(`/app/manage/${t}`), s);
|
|
2745
|
+
}
|
|
2746
|
+
/** 删除应用 */
|
|
2747
|
+
async deleteApp(t) {
|
|
2748
|
+
return this.client.delete(e(`/app/manage/${t}`));
|
|
2749
|
+
}
|
|
2750
|
+
/** 创建应用 */
|
|
2751
|
+
async createApp(t) {
|
|
2752
|
+
return this.client.post(e("/app/manage"), t);
|
|
2753
|
+
}
|
|
2754
|
+
/** 停用应用 */
|
|
2755
|
+
async deactivate(t) {
|
|
2756
|
+
return this.client.post(e(`/app/manage/${t}/deactivate`));
|
|
2757
|
+
}
|
|
2758
|
+
/** 激活应用 */
|
|
2759
|
+
async activate(t) {
|
|
2760
|
+
return this.client.post(e(`/app/manage/${t}/activate`));
|
|
2761
|
+
}
|
|
2762
|
+
/** 检查发布就绪状态 */
|
|
2763
|
+
async checkPublishReadiness(t) {
|
|
2764
|
+
return this.client.get(e(`/app/manage/${t}/publish/readiness`));
|
|
2765
|
+
}
|
|
2766
|
+
/** 获取应用统计 */
|
|
2767
|
+
async getAppStatistics() {
|
|
2768
|
+
return this.client.get(e("/app/manage/statistics"));
|
|
2769
|
+
}
|
|
2770
|
+
/** 搜索应用 */
|
|
2771
|
+
async searchApps(t) {
|
|
2772
|
+
return this.client.get(e("/app/manage/search"), t);
|
|
2773
|
+
}
|
|
2774
|
+
/** 获取项目应用 */
|
|
2775
|
+
async getProjectApps(t, s) {
|
|
2776
|
+
return this.client.get(e(`/app/manage/project/${t}`), s);
|
|
2777
|
+
}
|
|
2778
|
+
/** 获取我的应用 */
|
|
2779
|
+
async getMyApps(t) {
|
|
2780
|
+
return this.client.get(e("/app/manage/my"), t);
|
|
2781
|
+
}
|
|
2782
|
+
/** 获取账户余额汇总 */
|
|
2783
|
+
async getAccountSummary() {
|
|
2784
|
+
return this.client.get(e("/account/summary"));
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2787
|
+
function It(n) {
|
|
2788
|
+
return new Tt(n);
|
|
2789
|
+
}
|
|
2790
|
+
class Mt {
|
|
2275
2791
|
constructor(t) {
|
|
2276
2792
|
this.client = t;
|
|
2277
2793
|
}
|
|
@@ -2344,10 +2860,70 @@ class wt {
|
|
|
2344
2860
|
return this.client.get(e("/announcement/latest"), t);
|
|
2345
2861
|
}
|
|
2346
2862
|
}
|
|
2347
|
-
function
|
|
2348
|
-
return new
|
|
2863
|
+
function Ft(n) {
|
|
2864
|
+
return new Mt(n);
|
|
2349
2865
|
}
|
|
2350
|
-
class
|
|
2866
|
+
class Rt {
|
|
2867
|
+
constructor(t) {
|
|
2868
|
+
this.client = t;
|
|
2869
|
+
}
|
|
2870
|
+
/** Get agent */
|
|
2871
|
+
async get(t) {
|
|
2872
|
+
return this.client.get(e(`/agents/${t}`));
|
|
2873
|
+
}
|
|
2874
|
+
/** Update agent */
|
|
2875
|
+
async update(t, s) {
|
|
2876
|
+
return this.client.put(e(`/agents/${t}`), s);
|
|
2877
|
+
}
|
|
2878
|
+
/** Delete agent */
|
|
2879
|
+
async delete(t) {
|
|
2880
|
+
return this.client.delete(e(`/agents/${t}`));
|
|
2881
|
+
}
|
|
2882
|
+
/** List agents */
|
|
2883
|
+
async list(t) {
|
|
2884
|
+
return this.client.get(e("/agents"), t);
|
|
2885
|
+
}
|
|
2886
|
+
/** Create agent */
|
|
2887
|
+
async create(t) {
|
|
2888
|
+
return this.client.post(e("/agents"), t);
|
|
2889
|
+
}
|
|
2890
|
+
/** List sessions */
|
|
2891
|
+
async listSessions(t) {
|
|
2892
|
+
return this.client.get(e(`/agents/${t}/sessions`));
|
|
2893
|
+
}
|
|
2894
|
+
/** Create session */
|
|
2895
|
+
async createSession(t, s) {
|
|
2896
|
+
return this.client.post(e(`/agents/${t}/sessions`), s);
|
|
2897
|
+
}
|
|
2898
|
+
/** Reset agent */
|
|
2899
|
+
async reset(t) {
|
|
2900
|
+
return this.client.post(e(`/agents/${t}/reset`));
|
|
2901
|
+
}
|
|
2902
|
+
/** List session messages */
|
|
2903
|
+
async listSessionMessages(t) {
|
|
2904
|
+
return this.client.get(e(`/agents/sessions/${t}/messages`));
|
|
2905
|
+
}
|
|
2906
|
+
/** Send session message */
|
|
2907
|
+
async sendSessionMessage(t, s) {
|
|
2908
|
+
return this.client.post(e(`/agents/sessions/${t}/messages`), s);
|
|
2909
|
+
}
|
|
2910
|
+
/** Clear session */
|
|
2911
|
+
async clearSession(t) {
|
|
2912
|
+
return this.client.post(e(`/agents/sessions/${t}/clear`));
|
|
2913
|
+
}
|
|
2914
|
+
/** Agent stats */
|
|
2915
|
+
async stats(t) {
|
|
2916
|
+
return this.client.get(e(`/agents/${t}/stats`));
|
|
2917
|
+
}
|
|
2918
|
+
/** Delete session */
|
|
2919
|
+
async deleteSession(t) {
|
|
2920
|
+
return this.client.delete(e(`/agents/sessions/${t}`));
|
|
2921
|
+
}
|
|
2922
|
+
}
|
|
2923
|
+
function Et(n) {
|
|
2924
|
+
return new Rt(n);
|
|
2925
|
+
}
|
|
2926
|
+
class Ut {
|
|
2351
2927
|
constructor(t) {
|
|
2352
2928
|
this.client = t;
|
|
2353
2929
|
}
|
|
@@ -2432,10 +3008,54 @@ class Pt {
|
|
|
2432
3008
|
return this.client.get(e("/advert/banner"), t);
|
|
2433
3009
|
}
|
|
2434
3010
|
}
|
|
2435
|
-
function
|
|
2436
|
-
return new
|
|
3011
|
+
function Bt(n) {
|
|
3012
|
+
return new Ut(n);
|
|
2437
3013
|
}
|
|
2438
|
-
class
|
|
3014
|
+
class xt {
|
|
3015
|
+
constructor(t) {
|
|
3016
|
+
this.client = t;
|
|
3017
|
+
}
|
|
3018
|
+
/** 钱包提现 */
|
|
3019
|
+
async withdraw(t) {
|
|
3020
|
+
return this.client.post(e("/wallet/withdrawals"), t);
|
|
3021
|
+
}
|
|
3022
|
+
/** 钱包转账 */
|
|
3023
|
+
async transfer(t) {
|
|
3024
|
+
return this.client.post(e("/wallet/transfers"), t);
|
|
3025
|
+
}
|
|
3026
|
+
/** 钱包充值 */
|
|
3027
|
+
async topup(t) {
|
|
3028
|
+
return this.client.post(e("/wallet/topups"), t);
|
|
3029
|
+
}
|
|
3030
|
+
/** 钱包兑换 */
|
|
3031
|
+
async exchange(t) {
|
|
3032
|
+
return this.client.post(e("/wallet/exchanges"), t);
|
|
3033
|
+
}
|
|
3034
|
+
/** 钱包总览 */
|
|
3035
|
+
async getOverview() {
|
|
3036
|
+
return this.client.get(e("/wallet"));
|
|
3037
|
+
}
|
|
3038
|
+
/** 钱包流水分页 */
|
|
3039
|
+
async listTransactions(t) {
|
|
3040
|
+
return this.client.get(e("/wallet/transactions"), t);
|
|
3041
|
+
}
|
|
3042
|
+
/** 交易详情 */
|
|
3043
|
+
async getTransaction(t) {
|
|
3044
|
+
return this.client.get(e(`/wallet/transactions/${t}`));
|
|
3045
|
+
}
|
|
3046
|
+
/** 按请求号查询操作状态 */
|
|
3047
|
+
async getOperationStatus(t, s) {
|
|
3048
|
+
return this.client.get(e(`/wallet/operations/${t}`), s);
|
|
3049
|
+
}
|
|
3050
|
+
/** 资产账户列表 */
|
|
3051
|
+
async listAccounts() {
|
|
3052
|
+
return this.client.get(e("/wallet/accounts"));
|
|
3053
|
+
}
|
|
3054
|
+
}
|
|
3055
|
+
function Kt(n) {
|
|
3056
|
+
return new xt(n);
|
|
3057
|
+
}
|
|
3058
|
+
class jt {
|
|
2439
3059
|
constructor(t) {
|
|
2440
3060
|
this.client = t;
|
|
2441
3061
|
}
|
|
@@ -2480,10 +3100,10 @@ class Tt {
|
|
|
2480
3100
|
return this.client.get(e("/vote/my-votes"), t);
|
|
2481
3101
|
}
|
|
2482
3102
|
}
|
|
2483
|
-
function
|
|
2484
|
-
return new
|
|
3103
|
+
function zt(n) {
|
|
3104
|
+
return new jt(n);
|
|
2485
3105
|
}
|
|
2486
|
-
class
|
|
3106
|
+
class Nt {
|
|
2487
3107
|
constructor(t) {
|
|
2488
3108
|
this.client = t;
|
|
2489
3109
|
}
|
|
@@ -2572,74 +3192,34 @@ class Ft {
|
|
|
2572
3192
|
return this.client.get(e("/vip/invite/records"), t);
|
|
2573
3193
|
}
|
|
2574
3194
|
/** 获取邀请信息 */
|
|
2575
|
-
async getInviteInfo() {
|
|
2576
|
-
return this.client.get(e("/vip/invite/info"));
|
|
2577
|
-
}
|
|
2578
|
-
/** 获取VIP信息 */
|
|
2579
|
-
async getVipInfo() {
|
|
2580
|
-
return this.client.get(e("/vip/info"));
|
|
2581
|
-
}
|
|
2582
|
-
/** 获取VIP优惠券 */
|
|
2583
|
-
async listVipCoupons() {
|
|
2584
|
-
return this.client.get(e("/vip/coupons"));
|
|
2585
|
-
}
|
|
2586
|
-
/** 获取我的优惠券 */
|
|
2587
|
-
async listMyCoupons(t) {
|
|
2588
|
-
return this.client.get(e("/vip/coupons/my"), t);
|
|
2589
|
-
}
|
|
2590
|
-
/** 检查VIP状态 */
|
|
2591
|
-
async checkVipStatus() {
|
|
2592
|
-
return this.client.get(e("/vip/check"));
|
|
2593
|
-
}
|
|
2594
|
-
/** 获取VIP权益 */
|
|
2595
|
-
async listVipBenefits(t) {
|
|
2596
|
-
return this.client.get(e("/vip/benefits"), t);
|
|
2597
|
-
}
|
|
2598
|
-
}
|
|
2599
|
-
function Mt(n) {
|
|
2600
|
-
return new Ft(n);
|
|
2601
|
-
}
|
|
2602
|
-
class Rt {
|
|
2603
|
-
constructor(t) {
|
|
2604
|
-
this.client = t;
|
|
2605
|
-
}
|
|
2606
|
-
/** 注销账号 */
|
|
2607
|
-
async account(t) {
|
|
2608
|
-
return this.client.post(e("/user/deactivate"), t);
|
|
2609
|
-
}
|
|
2610
|
-
}
|
|
2611
|
-
function Et(n) {
|
|
2612
|
-
return new Rt(n);
|
|
2613
|
-
}
|
|
2614
|
-
class xt {
|
|
2615
|
-
constructor(t) {
|
|
2616
|
-
this.client = t;
|
|
3195
|
+
async getInviteInfo() {
|
|
3196
|
+
return this.client.get(e("/vip/invite/info"));
|
|
2617
3197
|
}
|
|
2618
|
-
/**
|
|
2619
|
-
async
|
|
2620
|
-
return this.client.
|
|
3198
|
+
/** 获取VIP信息 */
|
|
3199
|
+
async getVipInfo() {
|
|
3200
|
+
return this.client.get(e("/vip/info"));
|
|
2621
3201
|
}
|
|
2622
|
-
/**
|
|
2623
|
-
async
|
|
2624
|
-
return this.client.
|
|
3202
|
+
/** 获取VIP优惠券 */
|
|
3203
|
+
async listVipCoupons() {
|
|
3204
|
+
return this.client.get(e("/vip/coupons"));
|
|
2625
3205
|
}
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
}
|
|
2630
|
-
class Ut {
|
|
2631
|
-
constructor(t) {
|
|
2632
|
-
this.client = t;
|
|
3206
|
+
/** 获取我的优惠券 */
|
|
3207
|
+
async listMyCoupons(t) {
|
|
3208
|
+
return this.client.get(e("/vip/coupons/my"), t);
|
|
2633
3209
|
}
|
|
2634
|
-
/**
|
|
2635
|
-
async
|
|
2636
|
-
return this.client.
|
|
3210
|
+
/** 检查VIP状态 */
|
|
3211
|
+
async checkVipStatus() {
|
|
3212
|
+
return this.client.get(e("/vip/check"));
|
|
3213
|
+
}
|
|
3214
|
+
/** 获取VIP权益 */
|
|
3215
|
+
async listVipBenefits(t) {
|
|
3216
|
+
return this.client.get(e("/vip/benefits"), t);
|
|
2637
3217
|
}
|
|
2638
3218
|
}
|
|
2639
|
-
function
|
|
2640
|
-
return new
|
|
3219
|
+
function Ot(n) {
|
|
3220
|
+
return new Nt(n);
|
|
2641
3221
|
}
|
|
2642
|
-
class
|
|
3222
|
+
class Vt {
|
|
2643
3223
|
constructor(t) {
|
|
2644
3224
|
this.client = t;
|
|
2645
3225
|
}
|
|
@@ -2720,10 +3300,10 @@ class zt {
|
|
|
2720
3300
|
return this.client.delete(e(`/upload/task/${t}`));
|
|
2721
3301
|
}
|
|
2722
3302
|
}
|
|
2723
|
-
function
|
|
2724
|
-
return new
|
|
3303
|
+
function Lt(n) {
|
|
3304
|
+
return new Vt(n);
|
|
2725
3305
|
}
|
|
2726
|
-
class
|
|
3306
|
+
class Ht {
|
|
2727
3307
|
constructor(t) {
|
|
2728
3308
|
this.client = t;
|
|
2729
3309
|
}
|
|
@@ -2784,10 +3364,38 @@ class Vt {
|
|
|
2784
3364
|
return this.client.delete(e(`/search/history/${t}`));
|
|
2785
3365
|
}
|
|
2786
3366
|
}
|
|
2787
|
-
function
|
|
2788
|
-
return new
|
|
3367
|
+
function _t(n) {
|
|
3368
|
+
return new Ht(n);
|
|
2789
3369
|
}
|
|
2790
|
-
class
|
|
3370
|
+
class Gt {
|
|
3371
|
+
constructor(t) {
|
|
3372
|
+
this.client = t;
|
|
3373
|
+
}
|
|
3374
|
+
/** Create RTC room */
|
|
3375
|
+
async createRoom(t) {
|
|
3376
|
+
return this.client.post(e("/rtc/rooms"), t);
|
|
3377
|
+
}
|
|
3378
|
+
/** Create RTC room token */
|
|
3379
|
+
async createRoomToken(t) {
|
|
3380
|
+
return this.client.post(e(`/rtc/rooms/${t}/token`));
|
|
3381
|
+
}
|
|
3382
|
+
/** End RTC room */
|
|
3383
|
+
async endRoom(t) {
|
|
3384
|
+
return this.client.post(e(`/rtc/rooms/${t}/end`));
|
|
3385
|
+
}
|
|
3386
|
+
/** Get RTC room */
|
|
3387
|
+
async getRoom(t) {
|
|
3388
|
+
return this.client.get(e(`/rtc/rooms/${t}`));
|
|
3389
|
+
}
|
|
3390
|
+
/** List RTC records */
|
|
3391
|
+
async listRecords(t) {
|
|
3392
|
+
return this.client.get(e("/rtc/records"), t);
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3395
|
+
function qt(n) {
|
|
3396
|
+
return new Gt(n);
|
|
3397
|
+
}
|
|
3398
|
+
class Wt {
|
|
2791
3399
|
constructor(t) {
|
|
2792
3400
|
this.client = t;
|
|
2793
3401
|
}
|
|
@@ -2799,6 +3407,10 @@ class Nt {
|
|
|
2799
3407
|
async closePayment(t) {
|
|
2800
3408
|
return this.client.post(e(`/payments/${t}/close`));
|
|
2801
3409
|
}
|
|
3410
|
+
/** 补单/对账 */
|
|
3411
|
+
async reconcilePayment(t) {
|
|
3412
|
+
return this.client.post(e("/payments/reconcile"), t);
|
|
3413
|
+
}
|
|
2802
3414
|
/** 通用支付回调 */
|
|
2803
3415
|
async paymentCallback(t, s) {
|
|
2804
3416
|
return this.client.post(e(`/payments/callback/${t}`), s);
|
|
@@ -2840,10 +3452,10 @@ class Nt {
|
|
|
2840
3452
|
return this.client.get(e("/payments/methods"), t);
|
|
2841
3453
|
}
|
|
2842
3454
|
}
|
|
2843
|
-
function
|
|
2844
|
-
return new
|
|
3455
|
+
function Yt(n) {
|
|
3456
|
+
return new Wt(n);
|
|
2845
3457
|
}
|
|
2846
|
-
class
|
|
3458
|
+
class Qt {
|
|
2847
3459
|
constructor(t) {
|
|
2848
3460
|
this.client = t;
|
|
2849
3461
|
}
|
|
@@ -2851,46 +3463,54 @@ class Gt {
|
|
|
2851
3463
|
async createOrganization(t) {
|
|
2852
3464
|
return this.client.post(e("/organization"), t);
|
|
2853
3465
|
}
|
|
2854
|
-
/** 获取组织详情 */
|
|
2855
|
-
async getOrganization(t) {
|
|
2856
|
-
return this.client.get(e(`/organization/${t}`));
|
|
2857
|
-
}
|
|
2858
|
-
}
|
|
2859
|
-
function qt(n) {
|
|
2860
|
-
return new Gt(n);
|
|
2861
|
-
}
|
|
2862
|
-
class _t {
|
|
2863
|
-
constructor(t) {
|
|
2864
|
-
this.client = t;
|
|
2865
|
-
}
|
|
2866
3466
|
/** 禁用组织 */
|
|
2867
|
-
async
|
|
3467
|
+
async disable(t) {
|
|
2868
3468
|
return this.client.post(e(`/organization/${t}/disable`));
|
|
2869
3469
|
}
|
|
2870
|
-
}
|
|
2871
|
-
function Kt(n) {
|
|
2872
|
-
return new _t(n);
|
|
2873
|
-
}
|
|
2874
|
-
class Wt {
|
|
2875
|
-
constructor(t) {
|
|
2876
|
-
this.client = t;
|
|
2877
|
-
}
|
|
2878
3470
|
/** 激活组织 */
|
|
2879
|
-
async
|
|
3471
|
+
async activate(t) {
|
|
2880
3472
|
return this.client.post(e(`/organization/${t}/activate`));
|
|
2881
3473
|
}
|
|
2882
|
-
}
|
|
2883
|
-
function Yt(n) {
|
|
2884
|
-
return new Wt(n);
|
|
2885
|
-
}
|
|
2886
|
-
class Qt {
|
|
2887
|
-
constructor(t) {
|
|
2888
|
-
this.client = t;
|
|
2889
|
-
}
|
|
2890
3474
|
/** 创建岗位 */
|
|
2891
3475
|
async createPosition(t) {
|
|
2892
3476
|
return this.client.post(e("/organization/position"), t);
|
|
2893
3477
|
}
|
|
3478
|
+
/** 创建部门 */
|
|
3479
|
+
async createDepartment(t) {
|
|
3480
|
+
return this.client.post(e("/organization/department"), t);
|
|
3481
|
+
}
|
|
3482
|
+
/** 获取组织详情 */
|
|
3483
|
+
async getOrganization(t) {
|
|
3484
|
+
return this.client.get(e(`/organization/${t}`));
|
|
3485
|
+
}
|
|
3486
|
+
/** 获取组织的岗位列表 */
|
|
3487
|
+
async getPositionsByOrg(t) {
|
|
3488
|
+
return this.client.get(e(`/organization/${t}/positions`));
|
|
3489
|
+
}
|
|
3490
|
+
/** 获取岗位树 */
|
|
3491
|
+
async getPositionTree(t) {
|
|
3492
|
+
return this.client.get(e(`/organization/${t}/positions/tree`));
|
|
3493
|
+
}
|
|
3494
|
+
/** 获取组织成员 */
|
|
3495
|
+
async getMembersByOrg(t, s) {
|
|
3496
|
+
return this.client.get(e(`/organization/${t}/members`), s);
|
|
3497
|
+
}
|
|
3498
|
+
/** 获取组织的部门列表 */
|
|
3499
|
+
async getDepartmentsByOrg(t) {
|
|
3500
|
+
return this.client.get(e(`/organization/${t}/departments`));
|
|
3501
|
+
}
|
|
3502
|
+
/** 获取部门树 */
|
|
3503
|
+
async getDepartmentTree(t) {
|
|
3504
|
+
return this.client.get(e(`/organization/${t}/departments/tree`));
|
|
3505
|
+
}
|
|
3506
|
+
/** 获取子组织 */
|
|
3507
|
+
async getChildOrganizations(t) {
|
|
3508
|
+
return this.client.get(e(`/organization/${t}/children`));
|
|
3509
|
+
}
|
|
3510
|
+
/** 获取组织统计 */
|
|
3511
|
+
async getOrganizationStatistics() {
|
|
3512
|
+
return this.client.get(e("/organization/statistics"));
|
|
3513
|
+
}
|
|
2894
3514
|
/** 获取岗位详情 */
|
|
2895
3515
|
async getPosition(t) {
|
|
2896
3516
|
return this.client.get(e(`/organization/position/${t}`));
|
|
@@ -2899,17 +3519,13 @@ class Qt {
|
|
|
2899
3519
|
async getChildPositions(t) {
|
|
2900
3520
|
return this.client.get(e(`/organization/position/${t}/children`));
|
|
2901
3521
|
}
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
}
|
|
2906
|
-
class Jt {
|
|
2907
|
-
constructor(t) {
|
|
2908
|
-
this.client = t;
|
|
3522
|
+
/** 获取成员详情 */
|
|
3523
|
+
async getMember(t) {
|
|
3524
|
+
return this.client.get(e(`/organization/member/${t}`));
|
|
2909
3525
|
}
|
|
2910
|
-
/**
|
|
2911
|
-
async
|
|
2912
|
-
return this.client.
|
|
3526
|
+
/** 获取组织列表 */
|
|
3527
|
+
async getOrganizationList(t) {
|
|
3528
|
+
return this.client.get(e("/organization/list"), t);
|
|
2913
3529
|
}
|
|
2914
3530
|
/** 获取部门详情 */
|
|
2915
3531
|
async getDepartment(t) {
|
|
@@ -2919,11 +3535,15 @@ class Jt {
|
|
|
2919
3535
|
async getChildDepartments(t) {
|
|
2920
3536
|
return this.client.get(e(`/organization/department/${t}/children`));
|
|
2921
3537
|
}
|
|
3538
|
+
/** 根据编码获取组织 */
|
|
3539
|
+
async getOrganizationByCode(t) {
|
|
3540
|
+
return this.client.get(e(`/organization/code/${t}`));
|
|
3541
|
+
}
|
|
2922
3542
|
}
|
|
2923
|
-
function
|
|
2924
|
-
return new
|
|
3543
|
+
function Xt(n) {
|
|
3544
|
+
return new Qt(n);
|
|
2925
3545
|
}
|
|
2926
|
-
class
|
|
3546
|
+
class Jt {
|
|
2927
3547
|
constructor(t) {
|
|
2928
3548
|
this.client = t;
|
|
2929
3549
|
}
|
|
@@ -2963,75 +3583,83 @@ class te {
|
|
|
2963
3583
|
async getOrderStatus(t) {
|
|
2964
3584
|
return this.client.get(e(`/orders/${t}/status`));
|
|
2965
3585
|
}
|
|
3586
|
+
/** 查询订单是否支付成功 */
|
|
3587
|
+
async getOrderPaymentSuccess(t) {
|
|
3588
|
+
return this.client.get(e(`/orders/${t}/payment-success`));
|
|
3589
|
+
}
|
|
2966
3590
|
/** 获取订单统计 */
|
|
2967
3591
|
async getOrderStatistics() {
|
|
2968
3592
|
return this.client.get(e("/orders/statistics"));
|
|
2969
3593
|
}
|
|
2970
3594
|
}
|
|
2971
|
-
function
|
|
2972
|
-
return new
|
|
3595
|
+
function Zt(n) {
|
|
3596
|
+
return new Jt(n);
|
|
2973
3597
|
}
|
|
2974
|
-
class
|
|
3598
|
+
class te {
|
|
2975
3599
|
constructor(t) {
|
|
2976
3600
|
this.client = t;
|
|
2977
3601
|
}
|
|
2978
|
-
/**
|
|
3602
|
+
/** Batch get model prices */
|
|
2979
3603
|
async getModelPrices(t) {
|
|
2980
3604
|
return this.client.post(e("/models/prices/batch"), t);
|
|
2981
3605
|
}
|
|
2982
|
-
/**
|
|
3606
|
+
/** Get model detail */
|
|
2983
3607
|
async getModelById(t) {
|
|
2984
3608
|
return this.client.get(e(`/models/${t}`));
|
|
2985
3609
|
}
|
|
2986
|
-
/**
|
|
3610
|
+
/** Get model types */
|
|
2987
3611
|
async getModelTypes() {
|
|
2988
3612
|
return this.client.get(e("/models/types"));
|
|
2989
3613
|
}
|
|
2990
|
-
/**
|
|
3614
|
+
/** Get models by type */
|
|
2991
3615
|
async getModelsByType(t, s) {
|
|
2992
3616
|
return this.client.get(e(`/models/type/${t}`), s);
|
|
2993
3617
|
}
|
|
2994
|
-
/**
|
|
3618
|
+
/** Get model statistics */
|
|
2995
3619
|
async getModelStatistics() {
|
|
2996
3620
|
return this.client.get(e("/models/statistics"));
|
|
2997
3621
|
}
|
|
2998
|
-
/**
|
|
2999
|
-
async
|
|
3622
|
+
/** Search models */
|
|
3623
|
+
async searchModels(t) {
|
|
3000
3624
|
return this.client.get(e("/models/search"), t);
|
|
3001
3625
|
}
|
|
3002
|
-
/**
|
|
3626
|
+
/** Get model default price */
|
|
3003
3627
|
async getModelPrice(t) {
|
|
3004
3628
|
return this.client.get(e(`/models/price/${t}`));
|
|
3005
3629
|
}
|
|
3006
|
-
/**
|
|
3007
|
-
async
|
|
3630
|
+
/** Get model pricing rules */
|
|
3631
|
+
async getModelPriceRules(t, s) {
|
|
3632
|
+
return this.client.get(e(`/models/price-rules/${t}`), s);
|
|
3633
|
+
}
|
|
3634
|
+
/** Get popular models */
|
|
3635
|
+
async getPopularModels(t) {
|
|
3008
3636
|
return this.client.get(e("/models/popular"), t);
|
|
3009
3637
|
}
|
|
3010
|
-
/**
|
|
3638
|
+
/** Get models by family */
|
|
3011
3639
|
async getModelsByFamily(t, s) {
|
|
3012
3640
|
return this.client.get(e(`/models/family/${t}`), s);
|
|
3013
3641
|
}
|
|
3014
|
-
/**
|
|
3642
|
+
/** Get all families */
|
|
3015
3643
|
async getAllFamilies() {
|
|
3016
3644
|
return this.client.get(e("/models/families"));
|
|
3017
3645
|
}
|
|
3018
|
-
/**
|
|
3646
|
+
/** Get models by channel */
|
|
3019
3647
|
async getModelsByChannel(t, s) {
|
|
3020
3648
|
return this.client.get(e(`/models/channel/${t}`), s);
|
|
3021
3649
|
}
|
|
3022
|
-
/**
|
|
3650
|
+
/** Get model detail by alias */
|
|
3023
3651
|
async getModelBy(t) {
|
|
3024
3652
|
return this.client.get(e(`/models/by-model/${t}`));
|
|
3025
3653
|
}
|
|
3026
|
-
/**
|
|
3027
|
-
async
|
|
3654
|
+
/** Get active models */
|
|
3655
|
+
async getActiveModels(t) {
|
|
3028
3656
|
return this.client.get(e("/models/active"), t);
|
|
3029
3657
|
}
|
|
3030
3658
|
}
|
|
3031
|
-
function
|
|
3032
|
-
return new
|
|
3659
|
+
function ee(n) {
|
|
3660
|
+
return new te(n);
|
|
3033
3661
|
}
|
|
3034
|
-
class
|
|
3662
|
+
class se {
|
|
3035
3663
|
constructor(t) {
|
|
3036
3664
|
this.client = t;
|
|
3037
3665
|
}
|
|
@@ -3047,14 +3675,6 @@ class ie {
|
|
|
3047
3675
|
async clearBrowse(t) {
|
|
3048
3676
|
return this.client.delete(e("/history/browse"), t);
|
|
3049
3677
|
}
|
|
3050
|
-
/** 获取登录历史 */
|
|
3051
|
-
async getLogin(t) {
|
|
3052
|
-
return this.client.get(e("/user/history/login"), t);
|
|
3053
|
-
}
|
|
3054
|
-
/** 获取生成历史 */
|
|
3055
|
-
async getGeneration(t) {
|
|
3056
|
-
return this.client.get(e("/user/history/generations"), t);
|
|
3057
|
-
}
|
|
3058
3678
|
/** 历史统计 */
|
|
3059
3679
|
async getHistoryStatistics() {
|
|
3060
3680
|
return this.client.get(e("/history/statistics"));
|
|
@@ -3116,50 +3736,10 @@ class ie {
|
|
|
3116
3736
|
return this.client.delete(e("/history/browse/batch"));
|
|
3117
3737
|
}
|
|
3118
3738
|
}
|
|
3119
|
-
function
|
|
3120
|
-
return new
|
|
3121
|
-
}
|
|
3122
|
-
class ce {
|
|
3123
|
-
constructor(t) {
|
|
3124
|
-
this.client = t;
|
|
3125
|
-
}
|
|
3126
|
-
/** 创建语音生成任务 */
|
|
3127
|
-
async createGeneration(t) {
|
|
3128
|
-
return this.client.post(e("/generation/voice-speaker"), t);
|
|
3129
|
-
}
|
|
3130
|
-
/** 克隆说话人 */
|
|
3131
|
-
async cloneSpeaker(t) {
|
|
3132
|
-
return this.client.post(e("/generation/voice-speaker/clone"), t);
|
|
3133
|
-
}
|
|
3134
|
-
/** 获取说话人详情 */
|
|
3135
|
-
async getSpeakerDetail(t) {
|
|
3136
|
-
return this.client.get(e(`/generation/voice-speaker/${t}`));
|
|
3137
|
-
}
|
|
3138
|
-
/** 删除说话人 */
|
|
3139
|
-
async deleteSpeaker(t) {
|
|
3140
|
-
return this.client.delete(e(`/generation/voice-speaker/${t}`));
|
|
3141
|
-
}
|
|
3142
|
-
/** 获取任务列表 */
|
|
3143
|
-
async listTasks(t) {
|
|
3144
|
-
return this.client.get(e("/generation/voice-speaker/tasks"), t);
|
|
3145
|
-
}
|
|
3146
|
-
/** 获取任务状态 */
|
|
3147
|
-
async getTaskStatus(t) {
|
|
3148
|
-
return this.client.get(e(`/generation/voice-speaker/tasks/${t}`));
|
|
3149
|
-
}
|
|
3150
|
-
/** 取消任务 */
|
|
3151
|
-
async cancelTask(t) {
|
|
3152
|
-
return this.client.delete(e(`/generation/voice-speaker/tasks/${t}`));
|
|
3153
|
-
}
|
|
3154
|
-
/** 获取说话人列表 */
|
|
3155
|
-
async listSpeakers(t) {
|
|
3156
|
-
return this.client.get(e("/generation/voice-speaker/list"), t);
|
|
3157
|
-
}
|
|
3158
|
-
}
|
|
3159
|
-
function ae(n) {
|
|
3160
|
-
return new ce(n);
|
|
3739
|
+
function ne(n) {
|
|
3740
|
+
return new se(n);
|
|
3161
3741
|
}
|
|
3162
|
-
class
|
|
3742
|
+
class ie {
|
|
3163
3743
|
constructor(t) {
|
|
3164
3744
|
this.client = t;
|
|
3165
3745
|
}
|
|
@@ -3188,10 +3768,22 @@ class oe {
|
|
|
3188
3768
|
return this.client.get(e("/generation/sound-effect/categories"), t);
|
|
3189
3769
|
}
|
|
3190
3770
|
}
|
|
3191
|
-
function
|
|
3192
|
-
return new
|
|
3771
|
+
function re(n) {
|
|
3772
|
+
return new ie(n);
|
|
3193
3773
|
}
|
|
3194
|
-
class
|
|
3774
|
+
class ce {
|
|
3775
|
+
constructor(t) {
|
|
3776
|
+
this.client = t;
|
|
3777
|
+
}
|
|
3778
|
+
/** Enhance generation prompt */
|
|
3779
|
+
async enhanceGenerationPrompt(t) {
|
|
3780
|
+
return this.client.post(e("/generation/prompt/enhance"), t);
|
|
3781
|
+
}
|
|
3782
|
+
}
|
|
3783
|
+
function ae(n) {
|
|
3784
|
+
return new ce(n);
|
|
3785
|
+
}
|
|
3786
|
+
class oe {
|
|
3195
3787
|
constructor(t) {
|
|
3196
3788
|
this.client = t;
|
|
3197
3789
|
}
|
|
@@ -3232,78 +3824,86 @@ class ue {
|
|
|
3232
3824
|
return this.client.delete(e(`/generation/audio/tasks/${t}`));
|
|
3233
3825
|
}
|
|
3234
3826
|
}
|
|
3235
|
-
function
|
|
3236
|
-
return new
|
|
3827
|
+
function le(n) {
|
|
3828
|
+
return new oe(n);
|
|
3237
3829
|
}
|
|
3238
|
-
class
|
|
3830
|
+
class ue {
|
|
3239
3831
|
constructor(t) {
|
|
3240
3832
|
this.client = t;
|
|
3241
3833
|
}
|
|
3242
|
-
/**
|
|
3834
|
+
/** Create feed */
|
|
3835
|
+
async create(t) {
|
|
3836
|
+
return this.client.post(e("/feeds"), t);
|
|
3837
|
+
}
|
|
3838
|
+
/** Unlike feed */
|
|
3243
3839
|
async unlike(t) {
|
|
3244
3840
|
return this.client.post(e(`/feeds/unlike/${t}`));
|
|
3245
3841
|
}
|
|
3246
|
-
/**
|
|
3842
|
+
/** Uncollect feed */
|
|
3247
3843
|
async uncollect(t) {
|
|
3248
3844
|
return this.client.post(e(`/feeds/uncollect/${t}`));
|
|
3249
3845
|
}
|
|
3250
|
-
/**
|
|
3846
|
+
/** Share feed */
|
|
3251
3847
|
async share(t) {
|
|
3252
3848
|
return this.client.post(e(`/feeds/share/${t}`));
|
|
3253
3849
|
}
|
|
3254
|
-
/**
|
|
3850
|
+
/** Like feed */
|
|
3255
3851
|
async like(t) {
|
|
3256
3852
|
return this.client.post(e(`/feeds/like/${t}`));
|
|
3257
3853
|
}
|
|
3258
|
-
/**
|
|
3854
|
+
/** Collect feed */
|
|
3259
3855
|
async collect(t, s) {
|
|
3260
3856
|
return this.client.post(e(`/feeds/collect/${t}`), void 0, s);
|
|
3261
3857
|
}
|
|
3262
|
-
/**
|
|
3858
|
+
/** Get top feeds */
|
|
3263
3859
|
async getTopFeeds(t) {
|
|
3264
3860
|
return this.client.get(e("/feeds/top"), t);
|
|
3265
3861
|
}
|
|
3266
|
-
/**
|
|
3862
|
+
/** Search feeds */
|
|
3267
3863
|
async searchFeeds(t) {
|
|
3268
3864
|
return this.client.get(e("/feeds/search"), t);
|
|
3269
3865
|
}
|
|
3270
|
-
/**
|
|
3866
|
+
/** Get recommended feeds */
|
|
3271
3867
|
async getRecommendedFeeds(t) {
|
|
3272
3868
|
return this.client.get(e("/feeds/recommend"), t);
|
|
3273
3869
|
}
|
|
3274
|
-
/**
|
|
3870
|
+
/** Get most viewed feeds */
|
|
3275
3871
|
async getMostViewedFeeds(t) {
|
|
3276
3872
|
return this.client.get(e("/feeds/most-viewed"), t);
|
|
3277
3873
|
}
|
|
3278
|
-
/**
|
|
3874
|
+
/** Get most liked feeds */
|
|
3279
3875
|
async getMostLikedFeeds(t) {
|
|
3280
3876
|
return this.client.get(e("/feeds/most-liked"), t);
|
|
3281
3877
|
}
|
|
3282
|
-
/**
|
|
3878
|
+
/** Get feed list */
|
|
3283
3879
|
async getFeedList(t) {
|
|
3284
3880
|
return this.client.get(e("/feeds/list"), t);
|
|
3285
3881
|
}
|
|
3286
|
-
/**
|
|
3882
|
+
/** Get hot feeds */
|
|
3287
3883
|
async getHotFeeds(t) {
|
|
3288
3884
|
return this.client.get(e("/feeds/hot"), t);
|
|
3289
3885
|
}
|
|
3290
|
-
/**
|
|
3886
|
+
/** Get feed detail */
|
|
3291
3887
|
async getFeedDetail(t) {
|
|
3292
3888
|
return this.client.get(e(`/feeds/detail/${t}`));
|
|
3293
3889
|
}
|
|
3294
|
-
/**
|
|
3890
|
+
/** Check collected status */
|
|
3295
3891
|
async checkCollected(t) {
|
|
3296
3892
|
return this.client.get(e(`/feeds/check-collected/${t}`));
|
|
3297
3893
|
}
|
|
3298
|
-
/**
|
|
3894
|
+
/** Get feeds by category */
|
|
3299
3895
|
async getFeedsByCategory(t, s) {
|
|
3300
3896
|
return this.client.get(e(`/feeds/category/${t}`), s);
|
|
3301
3897
|
}
|
|
3898
|
+
/** Delete feed */
|
|
3899
|
+
async delete(t) {
|
|
3900
|
+
return this.client.delete(e(`/feeds/${t}`));
|
|
3901
|
+
}
|
|
3302
3902
|
}
|
|
3303
|
-
function
|
|
3304
|
-
return new
|
|
3903
|
+
function he(n) {
|
|
3904
|
+
return new ue(n);
|
|
3305
3905
|
}
|
|
3306
|
-
class
|
|
3906
|
+
class ye {
|
|
3307
3907
|
constructor(t) {
|
|
3308
3908
|
this.client = t;
|
|
3309
3909
|
}
|
|
@@ -3356,10 +3956,10 @@ class ge {
|
|
|
3356
3956
|
return this.client.get(e("/currency/active"));
|
|
3357
3957
|
}
|
|
3358
3958
|
}
|
|
3359
|
-
function
|
|
3360
|
-
return new
|
|
3959
|
+
function ge(n) {
|
|
3960
|
+
return new ye(n);
|
|
3361
3961
|
}
|
|
3362
|
-
class
|
|
3962
|
+
class pe {
|
|
3363
3963
|
constructor(t) {
|
|
3364
3964
|
this.client = t;
|
|
3365
3965
|
}
|
|
@@ -3367,10 +3967,22 @@ class me {
|
|
|
3367
3967
|
async receiveCoupon(t) {
|
|
3368
3968
|
return this.client.post(e(`/coupons/${t}/receive`));
|
|
3369
3969
|
}
|
|
3970
|
+
/** 积分兑换优惠券 */
|
|
3971
|
+
async exchangeCouponByPoints(t, s) {
|
|
3972
|
+
return this.client.post(e(`/coupons/${t}/exchange/points`), s);
|
|
3973
|
+
}
|
|
3974
|
+
/** 兑换优惠券 */
|
|
3975
|
+
async redeemCoupon(t) {
|
|
3976
|
+
return this.client.post(e("/coupons/redeem"), t);
|
|
3977
|
+
}
|
|
3370
3978
|
/** 使用优惠券 */
|
|
3371
3979
|
async useCoupon(t, s) {
|
|
3372
3980
|
return this.client.post(e(`/coupons/my/${t}/use`), void 0, s);
|
|
3373
3981
|
}
|
|
3982
|
+
/** 回滚积分兑换优惠券 */
|
|
3983
|
+
async rollbackPointsExchangeCoupon(t, s) {
|
|
3984
|
+
return this.client.post(e(`/coupons/my/${t}/rollback`), s);
|
|
3985
|
+
}
|
|
3374
3986
|
/** 取消使用优惠券 */
|
|
3375
3987
|
async cancelUseCoupon(t) {
|
|
3376
3988
|
return this.client.post(e(`/coupons/my/${t}/cancel`));
|
|
@@ -3400,10 +4012,10 @@ class me {
|
|
|
3400
4012
|
return this.client.get(e("/coupons/my/available"), t);
|
|
3401
4013
|
}
|
|
3402
4014
|
}
|
|
3403
|
-
function
|
|
3404
|
-
return new
|
|
4015
|
+
function de(n) {
|
|
4016
|
+
return new pe(n);
|
|
3405
4017
|
}
|
|
3406
|
-
class
|
|
4018
|
+
class me {
|
|
3407
4019
|
constructor(t) {
|
|
3408
4020
|
this.client = t;
|
|
3409
4021
|
}
|
|
@@ -3456,10 +4068,10 @@ class $e {
|
|
|
3456
4068
|
return this.client.get(e("/comments/list"), t);
|
|
3457
4069
|
}
|
|
3458
4070
|
}
|
|
3459
|
-
function
|
|
3460
|
-
return new
|
|
4071
|
+
function $e(n) {
|
|
4072
|
+
return new me(n);
|
|
3461
4073
|
}
|
|
3462
|
-
class
|
|
4074
|
+
class ve {
|
|
3463
4075
|
constructor(t) {
|
|
3464
4076
|
this.client = t;
|
|
3465
4077
|
}
|
|
@@ -3471,38 +4083,14 @@ class ke {
|
|
|
3471
4083
|
async sendSmsCode(t) {
|
|
3472
4084
|
return this.client.post(e("/auth/sms/send"), t);
|
|
3473
4085
|
}
|
|
3474
|
-
}
|
|
3475
|
-
function Ae(n) {
|
|
3476
|
-
return new ke(n);
|
|
3477
|
-
}
|
|
3478
|
-
class Ce {
|
|
3479
|
-
constructor(t) {
|
|
3480
|
-
this.client = t;
|
|
3481
|
-
}
|
|
3482
4086
|
/** 用户注册 */
|
|
3483
4087
|
async register(t) {
|
|
3484
4088
|
return this.client.post(e("/auth/register"), t);
|
|
3485
4089
|
}
|
|
3486
|
-
}
|
|
3487
|
-
function be(n) {
|
|
3488
|
-
return new Ce(n);
|
|
3489
|
-
}
|
|
3490
|
-
class we {
|
|
3491
|
-
constructor(t) {
|
|
3492
|
-
this.client = t;
|
|
3493
|
-
}
|
|
3494
4090
|
/** 刷新令牌 */
|
|
3495
|
-
async
|
|
4091
|
+
async refreshToken(t) {
|
|
3496
4092
|
return this.client.post(e("/auth/refresh"), t);
|
|
3497
4093
|
}
|
|
3498
|
-
}
|
|
3499
|
-
function Se(n) {
|
|
3500
|
-
return new we(n);
|
|
3501
|
-
}
|
|
3502
|
-
class Pe {
|
|
3503
|
-
constructor(t) {
|
|
3504
|
-
this.client = t;
|
|
3505
|
-
}
|
|
3506
4094
|
/** 生成登录二维码 */
|
|
3507
4095
|
async generateQrCode() {
|
|
3508
4096
|
return this.client.post(e("/auth/qr/generate"));
|
|
@@ -3511,67 +4099,47 @@ class Pe {
|
|
|
3511
4099
|
async confirmQrCodeLogin(t) {
|
|
3512
4100
|
return this.client.post(e("/auth/qr/confirm"), t);
|
|
3513
4101
|
}
|
|
3514
|
-
/** 检查二维码状态 */
|
|
3515
|
-
async checkQrCodeStatus(t) {
|
|
3516
|
-
return this.client.get(e(`/auth/qr/status/${t}`));
|
|
3517
|
-
}
|
|
3518
|
-
}
|
|
3519
|
-
function De(n) {
|
|
3520
|
-
return new Pe(n);
|
|
3521
|
-
}
|
|
3522
|
-
class Te {
|
|
3523
|
-
constructor(t) {
|
|
3524
|
-
this.client = t;
|
|
3525
|
-
}
|
|
3526
4102
|
/** 手机号验证码登录 */
|
|
3527
|
-
async
|
|
4103
|
+
async phoneLogin(t) {
|
|
3528
4104
|
return this.client.post(e("/auth/phone/login"), t);
|
|
3529
4105
|
}
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
}
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
this.client
|
|
4106
|
+
/** 重置密码 */
|
|
4107
|
+
async resetPassword(t) {
|
|
4108
|
+
return this.client.post(e("/auth/password/reset"), t);
|
|
4109
|
+
}
|
|
4110
|
+
/** Request password reset challenge */
|
|
4111
|
+
async requestPasswordResetChallenge(t) {
|
|
4112
|
+
return this.client.post(e("/auth/password/reset/request"), t);
|
|
3537
4113
|
}
|
|
3538
4114
|
/** OAuth授权URL */
|
|
3539
4115
|
async getOauthUrl(t) {
|
|
3540
4116
|
return this.client.post(e("/auth/oauth/url"), t);
|
|
3541
4117
|
}
|
|
3542
4118
|
/** OAuth登录 */
|
|
3543
|
-
async
|
|
4119
|
+
async oauthLogin(t) {
|
|
3544
4120
|
return this.client.post(e("/auth/oauth/login"), t);
|
|
3545
4121
|
}
|
|
3546
|
-
}
|
|
3547
|
-
function Me(n) {
|
|
3548
|
-
return new Fe(n);
|
|
3549
|
-
}
|
|
3550
|
-
class Re {
|
|
3551
|
-
constructor(t) {
|
|
3552
|
-
this.client = t;
|
|
3553
|
-
}
|
|
3554
4122
|
/** 用户登出 */
|
|
3555
4123
|
async logout() {
|
|
3556
4124
|
return this.client.post(e("/auth/logout"));
|
|
3557
4125
|
}
|
|
3558
|
-
}
|
|
3559
|
-
function Ee(n) {
|
|
3560
|
-
return new Re(n);
|
|
3561
|
-
}
|
|
3562
|
-
class xe {
|
|
3563
|
-
constructor(t) {
|
|
3564
|
-
this.client = t;
|
|
3565
|
-
}
|
|
3566
4126
|
/** 用户登录 */
|
|
3567
4127
|
async login(t) {
|
|
3568
4128
|
return this.client.post(e("/auth/login"), t);
|
|
3569
4129
|
}
|
|
4130
|
+
/** 检查二维码状态 */
|
|
4131
|
+
async checkQrCodeStatus(t) {
|
|
4132
|
+
return this.client.get(e(`/auth/qr/status/${t}`));
|
|
4133
|
+
}
|
|
4134
|
+
/** 二维码统一入口 */
|
|
4135
|
+
async qrCodeEntry(t) {
|
|
4136
|
+
return this.client.get(e(`/auth/qr/entry/${t}`));
|
|
4137
|
+
}
|
|
3570
4138
|
}
|
|
3571
|
-
function
|
|
3572
|
-
return new
|
|
4139
|
+
function ke(n) {
|
|
4140
|
+
return new ve(n);
|
|
3573
4141
|
}
|
|
3574
|
-
class
|
|
4142
|
+
class fe {
|
|
3575
4143
|
constructor(t) {
|
|
3576
4144
|
this.client = t;
|
|
3577
4145
|
}
|
|
@@ -3668,10 +4236,10 @@ class Ue {
|
|
|
3668
4236
|
return this.client.get(e(`/audit/appeals/${t}`));
|
|
3669
4237
|
}
|
|
3670
4238
|
}
|
|
3671
|
-
function
|
|
3672
|
-
return new
|
|
4239
|
+
function Ae(n) {
|
|
4240
|
+
return new fe(n);
|
|
3673
4241
|
}
|
|
3674
|
-
class
|
|
4242
|
+
class we {
|
|
3675
4243
|
constructor(t) {
|
|
3676
4244
|
this.client = t;
|
|
3677
4245
|
}
|
|
@@ -3756,10 +4324,82 @@ class ze {
|
|
|
3756
4324
|
return this.client.get(e("/analytics/activity"), t);
|
|
3757
4325
|
}
|
|
3758
4326
|
}
|
|
3759
|
-
function
|
|
3760
|
-
return new
|
|
4327
|
+
function be(n) {
|
|
4328
|
+
return new we(n);
|
|
4329
|
+
}
|
|
4330
|
+
class Ce {
|
|
4331
|
+
constructor(t) {
|
|
4332
|
+
this.client = t;
|
|
4333
|
+
}
|
|
4334
|
+
/** List memories */
|
|
4335
|
+
async list(t, s) {
|
|
4336
|
+
return this.client.get(e(`/agents/${t}/memory`), s);
|
|
4337
|
+
}
|
|
4338
|
+
/** Create memory */
|
|
4339
|
+
async create(t, s) {
|
|
4340
|
+
return this.client.post(e(`/agents/${t}/memory`), s);
|
|
4341
|
+
}
|
|
4342
|
+
/** Summarize session */
|
|
4343
|
+
async summarizeSession(t, s) {
|
|
4344
|
+
return this.client.post(e(`/agents/${t}/memory/sessions/${s}/summarize`));
|
|
4345
|
+
}
|
|
4346
|
+
/** List knowledge */
|
|
4347
|
+
async listKnowledge(t) {
|
|
4348
|
+
return this.client.get(e(`/agents/${t}/memory/knowledge`));
|
|
4349
|
+
}
|
|
4350
|
+
/** Create knowledge */
|
|
4351
|
+
async createKnowledge(t, s) {
|
|
4352
|
+
return this.client.post(e(`/agents/${t}/memory/knowledge`), s);
|
|
4353
|
+
}
|
|
4354
|
+
/** Consolidate memories */
|
|
4355
|
+
async consolidate(t) {
|
|
4356
|
+
return this.client.post(e(`/agents/${t}/memory/consolidate`));
|
|
4357
|
+
}
|
|
4358
|
+
/** Memory stats */
|
|
4359
|
+
async stats(t) {
|
|
4360
|
+
return this.client.get(e(`/agents/${t}/memory/stats`));
|
|
4361
|
+
}
|
|
4362
|
+
/** List session history */
|
|
4363
|
+
async listSessionHistory(t, s, i) {
|
|
4364
|
+
return this.client.get(e(`/agents/${t}/memory/sessions/${s}/history`), i);
|
|
4365
|
+
}
|
|
4366
|
+
/** Search memories */
|
|
4367
|
+
async search(t, s) {
|
|
4368
|
+
return this.client.get(e(`/agents/${t}/memory/search`), s);
|
|
4369
|
+
}
|
|
4370
|
+
/** Get knowledge */
|
|
4371
|
+
async getKnowledge(t, s) {
|
|
4372
|
+
return this.client.get(e(`/agents/${t}/memory/knowledge/${s}`));
|
|
4373
|
+
}
|
|
4374
|
+
/** Delete knowledge */
|
|
4375
|
+
async deleteKnowledge(t, s) {
|
|
4376
|
+
return this.client.delete(e(`/agents/${t}/memory/knowledge/${s}`));
|
|
4377
|
+
}
|
|
4378
|
+
/** List knowledge chunks */
|
|
4379
|
+
async listKnowledgeChunks(t, s) {
|
|
4380
|
+
return this.client.get(e(`/agents/${t}/memory/knowledge/${s}/chunks`));
|
|
4381
|
+
}
|
|
4382
|
+
/** Knowledge stats */
|
|
4383
|
+
async knowledgeStats(t) {
|
|
4384
|
+
return this.client.get(e(`/agents/${t}/memory/knowledge/stats`));
|
|
4385
|
+
}
|
|
4386
|
+
/** Search knowledge */
|
|
4387
|
+
async searchKnowledge(t, s) {
|
|
4388
|
+
return this.client.get(e(`/agents/${t}/memory/knowledge/search`), s);
|
|
4389
|
+
}
|
|
4390
|
+
/** Delete memory */
|
|
4391
|
+
async delete(t, s) {
|
|
4392
|
+
return this.client.delete(e(`/agents/${t}/memory/${s}`));
|
|
4393
|
+
}
|
|
4394
|
+
/** Clear session memories */
|
|
4395
|
+
async clearSession(t, s) {
|
|
4396
|
+
return this.client.delete(e(`/agents/${t}/memory/sessions/${s}`));
|
|
4397
|
+
}
|
|
4398
|
+
}
|
|
4399
|
+
function Se(n) {
|
|
4400
|
+
return new Ce(n);
|
|
3761
4401
|
}
|
|
3762
|
-
class
|
|
4402
|
+
class Pe {
|
|
3763
4403
|
constructor(t) {
|
|
3764
4404
|
this.client = t;
|
|
3765
4405
|
}
|
|
@@ -3848,10 +4488,10 @@ class Ve {
|
|
|
3848
4488
|
return this.client.get(e("/activity/check-in/records"), t);
|
|
3849
4489
|
}
|
|
3850
4490
|
}
|
|
3851
|
-
function
|
|
3852
|
-
return new
|
|
4491
|
+
function De(n) {
|
|
4492
|
+
return new Pe(n);
|
|
3853
4493
|
}
|
|
3854
|
-
class
|
|
4494
|
+
class Te {
|
|
3855
4495
|
constructor(t) {
|
|
3856
4496
|
this.client = t;
|
|
3857
4497
|
}
|
|
@@ -3891,6 +4531,10 @@ class Ne {
|
|
|
3891
4531
|
async getHistory(t) {
|
|
3892
4532
|
return this.client.get(e("/account/points/history"), t);
|
|
3893
4533
|
}
|
|
4534
|
+
/** 获取积分兑换现金比例 */
|
|
4535
|
+
async getPointsToCashRate() {
|
|
4536
|
+
return this.client.get(e("/account/points/exchange-rate"));
|
|
4537
|
+
}
|
|
3894
4538
|
/** 获取现金账户信息 */
|
|
3895
4539
|
async getCash() {
|
|
3896
4540
|
return this.client.get(e("/account/cash"));
|
|
@@ -3900,10 +4544,10 @@ class Ne {
|
|
|
3900
4544
|
return this.client.get(e("/account/cash/history"), t);
|
|
3901
4545
|
}
|
|
3902
4546
|
}
|
|
3903
|
-
function
|
|
3904
|
-
return new
|
|
4547
|
+
function Ie(n) {
|
|
4548
|
+
return new Te(n);
|
|
3905
4549
|
}
|
|
3906
|
-
class
|
|
4550
|
+
class Me {
|
|
3907
4551
|
constructor(t) {
|
|
3908
4552
|
this.client = t;
|
|
3909
4553
|
}
|
|
@@ -3984,10 +4628,10 @@ class Ge {
|
|
|
3984
4628
|
return this.client.get(e("/abtest/algorithm-config"));
|
|
3985
4629
|
}
|
|
3986
4630
|
}
|
|
3987
|
-
function
|
|
3988
|
-
return new
|
|
4631
|
+
function Fe(n) {
|
|
4632
|
+
return new Me(n);
|
|
3989
4633
|
}
|
|
3990
|
-
class
|
|
4634
|
+
class Re {
|
|
3991
4635
|
constructor(t) {
|
|
3992
4636
|
this.client = t;
|
|
3993
4637
|
}
|
|
@@ -4024,192 +4668,12 @@ class _e {
|
|
|
4024
4668
|
return this.client.get(e("/skus/batch"), t);
|
|
4025
4669
|
}
|
|
4026
4670
|
}
|
|
4027
|
-
function
|
|
4028
|
-
return new
|
|
4029
|
-
}
|
|
4030
|
-
class We {
|
|
4031
|
-
constructor(t) {
|
|
4032
|
-
this.client = t;
|
|
4033
|
-
}
|
|
4034
|
-
/** 获取商品列表 */
|
|
4035
|
-
async getProducts(t) {
|
|
4036
|
-
return this.client.get(e("/products"), t);
|
|
4037
|
-
}
|
|
4038
|
-
/** 获取商品详情 */
|
|
4039
|
-
async getProductDetail(t) {
|
|
4040
|
-
return this.client.get(e(`/products/${t}`));
|
|
4041
|
-
}
|
|
4042
|
-
/** 获取商品库存 */
|
|
4043
|
-
async getProductStock(t) {
|
|
4044
|
-
return this.client.get(e(`/products/${t}/stock`));
|
|
4045
|
-
}
|
|
4046
|
-
/** 获取商品统计 */
|
|
4047
|
-
async getProductStatistics(t) {
|
|
4048
|
-
return this.client.get(e(`/products/${t}/statistics`));
|
|
4049
|
-
}
|
|
4050
|
-
/** 获取商品SKU列表 */
|
|
4051
|
-
async getProductSkus(t, s) {
|
|
4052
|
-
return this.client.get(e(`/products/${t}/skus`), s);
|
|
4053
|
-
}
|
|
4054
|
-
/** 检查商品库存 */
|
|
4055
|
-
async checkProductStock(t, s) {
|
|
4056
|
-
return this.client.get(e(`/products/${t}/check-stock`), s);
|
|
4057
|
-
}
|
|
4058
|
-
/** 搜索商品 */
|
|
4059
|
-
async search(t) {
|
|
4060
|
-
return this.client.get(e("/products/search"), t);
|
|
4061
|
-
}
|
|
4062
|
-
/** 获取最新商品 */
|
|
4063
|
-
async getLatest(t) {
|
|
4064
|
-
return this.client.get(e("/products/latest"), t);
|
|
4065
|
-
}
|
|
4066
|
-
/** 获取热门商品 */
|
|
4067
|
-
async getHot(t) {
|
|
4068
|
-
return this.client.get(e("/products/hot"), t);
|
|
4069
|
-
}
|
|
4070
|
-
/** 按编码获取商品 */
|
|
4071
|
-
async getProductByCode(t) {
|
|
4072
|
-
return this.client.get(e(`/products/code/${t}`));
|
|
4073
|
-
}
|
|
4074
|
-
/** 按分类获取商品 */
|
|
4075
|
-
async getProductsByCategory(t, s) {
|
|
4076
|
-
return this.client.get(e(`/products/category/${t}`), s);
|
|
4077
|
-
}
|
|
4078
|
-
}
|
|
4079
|
-
function Ye(n) {
|
|
4080
|
-
return new We(n);
|
|
4081
|
-
}
|
|
4082
|
-
class Qe {
|
|
4083
|
-
constructor(t) {
|
|
4084
|
-
this.client = t;
|
|
4085
|
-
}
|
|
4086
|
-
/** 获取组织的岗位列表 */
|
|
4087
|
-
async getPositionsByOrg(t) {
|
|
4088
|
-
return this.client.get(e(`/organization/${t}/positions`));
|
|
4089
|
-
}
|
|
4090
|
-
/** 获取岗位树 */
|
|
4091
|
-
async getPositionTree(t) {
|
|
4092
|
-
return this.client.get(e(`/organization/${t}/positions/tree`));
|
|
4093
|
-
}
|
|
4094
|
-
}
|
|
4095
|
-
function Xe(n) {
|
|
4096
|
-
return new Qe(n);
|
|
4097
|
-
}
|
|
4098
|
-
class Je {
|
|
4099
|
-
constructor(t) {
|
|
4100
|
-
this.client = t;
|
|
4101
|
-
}
|
|
4102
|
-
/** 获取组织成员 */
|
|
4103
|
-
async getMembersByOrg(t, s) {
|
|
4104
|
-
return this.client.get(e(`/organization/${t}/members`), s);
|
|
4105
|
-
}
|
|
4106
|
-
}
|
|
4107
|
-
function Ze(n) {
|
|
4108
|
-
return new Je(n);
|
|
4109
|
-
}
|
|
4110
|
-
class ts {
|
|
4111
|
-
constructor(t) {
|
|
4112
|
-
this.client = t;
|
|
4113
|
-
}
|
|
4114
|
-
/** 获取组织的部门列表 */
|
|
4115
|
-
async getDepartmentsByOrg(t) {
|
|
4116
|
-
return this.client.get(e(`/organization/${t}/departments`));
|
|
4117
|
-
}
|
|
4118
|
-
/** 获取部门树 */
|
|
4119
|
-
async getDepartmentTree(t) {
|
|
4120
|
-
return this.client.get(e(`/organization/${t}/departments/tree`));
|
|
4121
|
-
}
|
|
4122
|
-
}
|
|
4123
|
-
function es(n) {
|
|
4124
|
-
return new ts(n);
|
|
4125
|
-
}
|
|
4126
|
-
class ss {
|
|
4127
|
-
constructor(t) {
|
|
4128
|
-
this.client = t;
|
|
4129
|
-
}
|
|
4130
|
-
/** 获取子组织 */
|
|
4131
|
-
async getChildOrganizations(t) {
|
|
4132
|
-
return this.client.get(e(`/organization/${t}/children`));
|
|
4133
|
-
}
|
|
4134
|
-
}
|
|
4135
|
-
function ns(n) {
|
|
4136
|
-
return new ss(n);
|
|
4137
|
-
}
|
|
4138
|
-
class is {
|
|
4139
|
-
constructor(t) {
|
|
4140
|
-
this.client = t;
|
|
4141
|
-
}
|
|
4142
|
-
/** 获取组织统计 */
|
|
4143
|
-
async getOrganization() {
|
|
4144
|
-
return this.client.get(e("/organization/statistics"));
|
|
4145
|
-
}
|
|
4146
|
-
}
|
|
4147
|
-
function rs(n) {
|
|
4148
|
-
return new is(n);
|
|
4149
|
-
}
|
|
4150
|
-
class cs {
|
|
4151
|
-
constructor(t) {
|
|
4152
|
-
this.client = t;
|
|
4153
|
-
}
|
|
4154
|
-
/** 获取成员详情 */
|
|
4155
|
-
async getMember(t) {
|
|
4156
|
-
return this.client.get(e(`/organization/member/${t}`));
|
|
4157
|
-
}
|
|
4158
|
-
}
|
|
4159
|
-
function as(n) {
|
|
4160
|
-
return new cs(n);
|
|
4161
|
-
}
|
|
4162
|
-
class os {
|
|
4163
|
-
constructor(t) {
|
|
4164
|
-
this.client = t;
|
|
4165
|
-
}
|
|
4166
|
-
/** 获取组织列表 */
|
|
4167
|
-
async getOrganization(t) {
|
|
4168
|
-
return this.client.get(e("/organization/list"), t);
|
|
4169
|
-
}
|
|
4170
|
-
}
|
|
4171
|
-
function ls(n) {
|
|
4172
|
-
return new os(n);
|
|
4173
|
-
}
|
|
4174
|
-
class us {
|
|
4175
|
-
constructor(t) {
|
|
4176
|
-
this.client = t;
|
|
4177
|
-
}
|
|
4178
|
-
/** 根据编码获取组织 */
|
|
4179
|
-
async getOrganizationBy(t) {
|
|
4180
|
-
return this.client.get(e(`/organization/code/${t}`));
|
|
4181
|
-
}
|
|
4182
|
-
}
|
|
4183
|
-
function hs(n) {
|
|
4184
|
-
return new us(n);
|
|
4185
|
-
}
|
|
4186
|
-
class ps {
|
|
4187
|
-
constructor(t) {
|
|
4188
|
-
this.client = t;
|
|
4189
|
-
}
|
|
4190
|
-
/** Request password reset challenge */
|
|
4191
|
-
async requestPasswordResetChallenge(t) {
|
|
4192
|
-
return this.client.post(e("/auth/password/reset/request"), t);
|
|
4193
|
-
}
|
|
4194
|
-
}
|
|
4195
|
-
function ys(n) {
|
|
4196
|
-
return new ps(n);
|
|
4197
|
-
}
|
|
4198
|
-
class gs {
|
|
4199
|
-
constructor(t) {
|
|
4200
|
-
this.client = t;
|
|
4201
|
-
}
|
|
4202
|
-
/** Enhance generation prompt */
|
|
4203
|
-
async enhanceGenerationPrompt(t) {
|
|
4204
|
-
return this.client.post(e("/generation/prompt/enhance"), t);
|
|
4205
|
-
}
|
|
4206
|
-
}
|
|
4207
|
-
function ds(n) {
|
|
4208
|
-
return new gs(n);
|
|
4671
|
+
function Ee(n) {
|
|
4672
|
+
return new Re(n);
|
|
4209
4673
|
}
|
|
4210
|
-
class
|
|
4674
|
+
class Ue {
|
|
4211
4675
|
constructor(t) {
|
|
4212
|
-
this.httpClient = h(t), this.workspaces =
|
|
4676
|
+
this.httpClient = h(t), this.workspaces = g(this.httpClient), this.voiceSpeaker = d(this.httpClient), this.video = $(this.httpClient), this.user = k(this.httpClient), this.tool = A(this.httpClient), this.tenant = b(this.httpClient), this.social = S(this.httpClient), this.skill = D(this.httpClient), this.shops = I(this.httpClient), this.share = F(this.httpClient), this.settings = E(this.httpClient), this.ai = B(this.httpClient), this.projects = K(this.httpClient), this.products = z(this.httpClient), this.partner = O(this.httpClient), this.notification = L(this.httpClient), this.notes = _(this.httpClient), this.news = q(this.httpClient), this.music = Y(this.httpClient), this.knowledgeDocuments = X(this.httpClient), this.invoice = Z(this.httpClient), this.image = et(this.httpClient), this.style = nt(this.httpClient), this.fileSystem = rt(this.httpClient), this.feedback = at(this.httpClient), this.favorite = lt(this.httpClient), this.drive = ht(this.httpClient), this.documents = gt(this.httpClient), this.dashboard = dt(this.httpClient), this.collection = $t(this.httpClient), this.chat = kt(this.httpClient), this.character = At(this.httpClient), this.category = bt(this.httpClient), this.cart = St(this.httpClient), this.assets = Dt(this.httpClient), this.app = It(this.httpClient), this.announcement = Ft(this.httpClient), this.agent = Et(this.httpClient), this.advert = Bt(this.httpClient), this.wallet = Kt(this.httpClient), this.vote = zt(this.httpClient), this.vip = Ot(this.httpClient), this.upload = Lt(this.httpClient), this.search = _t(this.httpClient), this.rtc = qt(this.httpClient), this.payments = Yt(this.httpClient), this.organization = Xt(this.httpClient), this.orders = Zt(this.httpClient), this.model = ee(this.httpClient), this.history = ne(this.httpClient), this.soundEffect = re(this.httpClient), this.generation = ae(this.httpClient), this.audio = le(this.httpClient), this.feed = he(this.httpClient), this.currency = ge(this.httpClient), this.coupons = de(this.httpClient), this.comments = $e(this.httpClient), this.auth = ke(this.httpClient), this.audit = Ae(this.httpClient), this.analytics = be(this.httpClient), this.agentMemory = Se(this.httpClient), this.activity = De(this.httpClient), this.account = Ie(this.httpClient), this.ab = Fe(this.httpClient), this.sku = Ee(this.httpClient);
|
|
4213
4677
|
}
|
|
4214
4678
|
setApiKey(t) {
|
|
4215
4679
|
return this.httpClient.setApiKey(t), this;
|
|
@@ -4227,10 +4691,10 @@ class ms {
|
|
|
4227
4691
|
return this.httpClient;
|
|
4228
4692
|
}
|
|
4229
4693
|
}
|
|
4230
|
-
function
|
|
4231
|
-
return new
|
|
4694
|
+
function xe(n) {
|
|
4695
|
+
return new Ue(n);
|
|
4232
4696
|
}
|
|
4233
|
-
class
|
|
4697
|
+
class Ke {
|
|
4234
4698
|
constructor(t, s) {
|
|
4235
4699
|
this.http = t, this.basePath = s;
|
|
4236
4700
|
}
|
|
@@ -4251,181 +4715,145 @@ class fs {
|
|
|
4251
4715
|
}
|
|
4252
4716
|
}
|
|
4253
4717
|
export {
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
pt as
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
_t as DisableApi,
|
|
4289
|
-
ct as DriveApi,
|
|
4290
|
-
it as FavoriteApi,
|
|
4291
|
-
pe as FeedApi,
|
|
4292
|
-
st as FeedbackApi,
|
|
4293
|
-
tt as FileSystemApi,
|
|
4294
|
-
gs as GenerationApi,
|
|
4295
|
-
ie as HistoryApi,
|
|
4718
|
+
Me as AbApi,
|
|
4719
|
+
Te as AccountApi,
|
|
4720
|
+
Pe as ActivityApi,
|
|
4721
|
+
Ut as AdvertApi,
|
|
4722
|
+
Rt as AgentApi,
|
|
4723
|
+
Ce as AgentMemoryApi,
|
|
4724
|
+
U as AiApi,
|
|
4725
|
+
we as AnalyticsApi,
|
|
4726
|
+
Mt as AnnouncementApi,
|
|
4727
|
+
Tt as AppApi,
|
|
4728
|
+
Pt as AssetsApi,
|
|
4729
|
+
oe as AudioApi,
|
|
4730
|
+
fe as AuditApi,
|
|
4731
|
+
ve as AuthApi,
|
|
4732
|
+
Ke as BaseApi,
|
|
4733
|
+
Ct as CartApi,
|
|
4734
|
+
wt as CategoryApi,
|
|
4735
|
+
ft as CharacterApi,
|
|
4736
|
+
vt as ChatApi,
|
|
4737
|
+
mt as CollectionApi,
|
|
4738
|
+
me as CommentsApi,
|
|
4739
|
+
pe as CouponsApi,
|
|
4740
|
+
ye as CurrencyApi,
|
|
4741
|
+
Ne as DEFAULT_TIMEOUT,
|
|
4742
|
+
pt as DashboardApi,
|
|
4743
|
+
Oe as DefaultAuthTokenManager,
|
|
4744
|
+
yt as DocumentsApi,
|
|
4745
|
+
ut as DriveApi,
|
|
4746
|
+
ot as FavoriteApi,
|
|
4747
|
+
ue as FeedApi,
|
|
4748
|
+
ct as FeedbackApi,
|
|
4749
|
+
it as FileSystemApi,
|
|
4750
|
+
ce as GenerationApi,
|
|
4751
|
+
se as HistoryApi,
|
|
4296
4752
|
a as HttpClient,
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
cs as MemberApi,
|
|
4303
|
-
Je as MembersApi,
|
|
4304
|
-
se as ModelsApi,
|
|
4305
|
-
_ as MusicApi,
|
|
4753
|
+
tt as ImageApi,
|
|
4754
|
+
J as InvoiceApi,
|
|
4755
|
+
Q as KnowledgeDocumentsApi,
|
|
4756
|
+
te as ModelApi,
|
|
4757
|
+
W as MusicApi,
|
|
4306
4758
|
G as NewsApi,
|
|
4759
|
+
H as NotesApi,
|
|
4307
4760
|
V as NotificationApi,
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
ke as SmsApi,
|
|
4331
|
-
T as SocialApi,
|
|
4332
|
-
oe as SoundEffectApi,
|
|
4333
|
-
is as StatisticsApi,
|
|
4334
|
-
J as StyleApi,
|
|
4335
|
-
P as TenantApi,
|
|
4336
|
-
zt as UploadApi,
|
|
4761
|
+
Jt as OrdersApi,
|
|
4762
|
+
Qt as OrganizationApi,
|
|
4763
|
+
N as PartnerApi,
|
|
4764
|
+
Wt as PaymentsApi,
|
|
4765
|
+
j as ProductsApi,
|
|
4766
|
+
x as ProjectsApi,
|
|
4767
|
+
Gt as RtcApi,
|
|
4768
|
+
Ve as SUCCESS_CODES,
|
|
4769
|
+
Ue as SdkworkAppClient,
|
|
4770
|
+
Ht as SearchApi,
|
|
4771
|
+
R as SettingsApi,
|
|
4772
|
+
M as ShareApi,
|
|
4773
|
+
T as ShopsApi,
|
|
4774
|
+
P as SkillApi,
|
|
4775
|
+
Re as SkuApi,
|
|
4776
|
+
C as SocialApi,
|
|
4777
|
+
ie as SoundEffectApi,
|
|
4778
|
+
st as StyleApi,
|
|
4779
|
+
w as TenantApi,
|
|
4780
|
+
f as ToolApi,
|
|
4781
|
+
Vt as UploadApi,
|
|
4782
|
+
v as UserApi,
|
|
4337
4783
|
m as VideoApi,
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4784
|
+
Nt as VipApi,
|
|
4785
|
+
p as VoiceSpeakerApi,
|
|
4786
|
+
jt as VoteApi,
|
|
4787
|
+
xt as WalletApi,
|
|
4788
|
+
y as WorkspacesApi,
|
|
4343
4789
|
e as appApiPath,
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
Kt as createDisableApi,
|
|
4377
|
-
at as createDriveApi,
|
|
4378
|
-
rt as createFavoriteApi,
|
|
4379
|
-
ye as createFeedApi,
|
|
4380
|
-
nt as createFeedbackApi,
|
|
4381
|
-
et as createFileSystemApi,
|
|
4382
|
-
ds as createGenerationApi,
|
|
4383
|
-
re as createHistoryApi,
|
|
4790
|
+
Fe as createAbApi,
|
|
4791
|
+
Ie as createAccountApi,
|
|
4792
|
+
De as createActivityApi,
|
|
4793
|
+
Bt as createAdvertApi,
|
|
4794
|
+
Et as createAgentApi,
|
|
4795
|
+
Se as createAgentMemoryApi,
|
|
4796
|
+
B as createAiApi,
|
|
4797
|
+
be as createAnalyticsApi,
|
|
4798
|
+
Ft as createAnnouncementApi,
|
|
4799
|
+
It as createAppApi,
|
|
4800
|
+
Dt as createAssetsApi,
|
|
4801
|
+
le as createAudioApi,
|
|
4802
|
+
Ae as createAuditApi,
|
|
4803
|
+
ke as createAuthApi,
|
|
4804
|
+
St as createCartApi,
|
|
4805
|
+
bt as createCategoryApi,
|
|
4806
|
+
At as createCharacterApi,
|
|
4807
|
+
kt as createChatApi,
|
|
4808
|
+
xe as createClient,
|
|
4809
|
+
$t as createCollectionApi,
|
|
4810
|
+
$e as createCommentsApi,
|
|
4811
|
+
de as createCouponsApi,
|
|
4812
|
+
ge as createCurrencyApi,
|
|
4813
|
+
dt as createDashboardApi,
|
|
4814
|
+
gt as createDocumentsApi,
|
|
4815
|
+
ht as createDriveApi,
|
|
4816
|
+
lt as createFavoriteApi,
|
|
4817
|
+
he as createFeedApi,
|
|
4818
|
+
at as createFeedbackApi,
|
|
4819
|
+
rt as createFileSystemApi,
|
|
4820
|
+
ae as createGenerationApi,
|
|
4821
|
+
ne as createHistoryApi,
|
|
4384
4822
|
h as createHttpClient,
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
as as createMemberApi,
|
|
4391
|
-
Ze as createMembersApi,
|
|
4392
|
-
ne as createModelsApi,
|
|
4393
|
-
K as createMusicApi,
|
|
4823
|
+
et as createImageApi,
|
|
4824
|
+
Z as createInvoiceApi,
|
|
4825
|
+
X as createKnowledgeDocumentsApi,
|
|
4826
|
+
ee as createModelApi,
|
|
4827
|
+
Y as createMusicApi,
|
|
4394
4828
|
q as createNewsApi,
|
|
4829
|
+
_ as createNotesApi,
|
|
4395
4830
|
L as createNotificationApi,
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
qt as createOrganizationApi,
|
|
4831
|
+
Zt as createOrdersApi,
|
|
4832
|
+
Xt as createOrganizationApi,
|
|
4399
4833
|
O as createPartnerApi,
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
v as createVideoApi,
|
|
4425
|
-
Mt as createVipApi,
|
|
4426
|
-
ae as createVoiceSpeakerApi,
|
|
4427
|
-
d as createVoiceSpeakersApi,
|
|
4428
|
-
It as createVoteApi,
|
|
4429
|
-
y as createWorkspacesApi
|
|
4834
|
+
Yt as createPaymentsApi,
|
|
4835
|
+
z as createProductsApi,
|
|
4836
|
+
K as createProjectsApi,
|
|
4837
|
+
qt as createRtcApi,
|
|
4838
|
+
_t as createSearchApi,
|
|
4839
|
+
E as createSettingsApi,
|
|
4840
|
+
F as createShareApi,
|
|
4841
|
+
I as createShopsApi,
|
|
4842
|
+
D as createSkillApi,
|
|
4843
|
+
Ee as createSkuApi,
|
|
4844
|
+
S as createSocialApi,
|
|
4845
|
+
re as createSoundEffectApi,
|
|
4846
|
+
nt as createStyleApi,
|
|
4847
|
+
b as createTenantApi,
|
|
4848
|
+
Le as createTokenManager,
|
|
4849
|
+
A as createToolApi,
|
|
4850
|
+
Lt as createUploadApi,
|
|
4851
|
+
k as createUserApi,
|
|
4852
|
+
$ as createVideoApi,
|
|
4853
|
+
Ot as createVipApi,
|
|
4854
|
+
d as createVoiceSpeakerApi,
|
|
4855
|
+
zt as createVoteApi,
|
|
4856
|
+
Kt as createWalletApi,
|
|
4857
|
+
g as createWorkspacesApi
|
|
4430
4858
|
};
|
|
4431
4859
|
//# sourceMappingURL=index.js.map
|