@ai-grator/api 0.0.1
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/_common/error.contract.ts +21 -0
- package/_common/http-contract.helper.ts +25 -0
- package/_common/index.ts +4 -0
- package/_common/success.contract.ts +9 -0
- package/_common/types/cursor-pagination.type.ts +9 -0
- package/_common/types/icon.type.ts +8 -0
- package/_common/types/index.ts +2 -0
- package/admin/endpoints/admin.ts +13 -0
- package/admin/endpoints/commands/create-admin-partner-bonus-operation.command.ts +45 -0
- package/admin/endpoints/commands/index.ts +3 -0
- package/admin/endpoints/commands/update-admin-partner-referral-config.command.ts +48 -0
- package/admin/endpoints/commands/update-admin-referral-config.command.ts +39 -0
- package/admin/endpoints/index.ts +3 -0
- package/admin/endpoints/queries/get-admin-partner-bonus-operations.query.ts +39 -0
- package/admin/endpoints/queries/get-admin-partner-l2-bonuses.query.ts +37 -0
- package/admin/endpoints/queries/get-admin-partner-referral-config.query.ts +29 -0
- package/admin/endpoints/queries/get-admin-partner-referrals.query.ts +37 -0
- package/admin/endpoints/queries/get-admin-partner.query.ts +29 -0
- package/admin/endpoints/queries/get-admin-partners.query.ts +36 -0
- package/admin/endpoints/queries/get-admin-referral-config.query.ts +17 -0
- package/admin/endpoints/queries/index.ts +7 -0
- package/admin/enums/admin-bonus-history-operation-type.enum.ts +6 -0
- package/admin/enums/admin-bonus-operation-type.enum.ts +4 -0
- package/admin/enums/admin-partner-rates-type.enum.ts +4 -0
- package/admin/enums/index.ts +3 -0
- package/admin/index.ts +3 -0
- package/admin/models/admin-bonus-operation-response.schema.ts +16 -0
- package/admin/models/admin-partner-bonus-operation-response.schema.ts +13 -0
- package/admin/models/admin-partner-details-response.schema.ts +17 -0
- package/admin/models/admin-partner-l2-bonus-response.schema.ts +11 -0
- package/admin/models/admin-partner-referral-config-response.schema.ts +13 -0
- package/admin/models/admin-partner-referral-response.schema.ts +13 -0
- package/admin/models/admin-partner-response.schema.ts +18 -0
- package/admin/models/admin-referral-config-response.schema.ts +8 -0
- package/admin/models/index.ts +8 -0
- package/ai-model/endpoints/ai-model.ts +6 -0
- package/ai-model/endpoints/index.ts +2 -0
- package/ai-model/endpoints/queries/get-ai-model-by-uuid.query.ts +24 -0
- package/ai-model/endpoints/queries/get-ai-models.query.ts +23 -0
- package/ai-model/endpoints/queries/index.ts +2 -0
- package/ai-model/index.ts +2 -0
- package/ai-model/models/ai-model-response.schema.ts +34 -0
- package/ai-model/models/index.ts +1 -0
- package/article/endpoints/article.ts +17 -0
- package/article/endpoints/commands/create-article.command.ts +38 -0
- package/article/endpoints/commands/delete-article.command.ts +25 -0
- package/article/endpoints/commands/index.ts +4 -0
- package/article/endpoints/commands/publish-article.command.ts +26 -0
- package/article/endpoints/commands/update-article.command.ts +49 -0
- package/article/endpoints/index.ts +3 -0
- package/article/endpoints/queries/get-article-by-uuid.query.ts +26 -0
- package/article/endpoints/queries/get-articles.query.ts +27 -0
- package/article/endpoints/queries/get-published-by-slug.query.ts +24 -0
- package/article/endpoints/queries/index.ts +4 -0
- package/article/endpoints/queries/list-published.query.ts +28 -0
- package/article/enums/article-status.enum.ts +4 -0
- package/article/enums/index.ts +1 -0
- package/article/index.ts +3 -0
- package/article/models/article-content.schema.ts +13 -0
- package/article/models/article-response.schema.ts +21 -0
- package/article/models/index.ts +4 -0
- package/article/models/published-article-card.schema.ts +19 -0
- package/article/models/published-article-detail.schema.ts +22 -0
- package/auth/endpoints/auth.ts +14 -0
- package/auth/endpoints/commands/change-password.command.ts +28 -0
- package/auth/endpoints/commands/delete-account.command.ts +17 -0
- package/auth/endpoints/commands/index.ts +10 -0
- package/auth/endpoints/commands/login.command.ts +29 -0
- package/auth/endpoints/commands/logout.command.ts +16 -0
- package/auth/endpoints/commands/refresh.command.ts +19 -0
- package/auth/endpoints/commands/register.command.ts +35 -0
- package/auth/endpoints/commands/reset-password.command.ts +25 -0
- package/auth/endpoints/commands/restore-password.command.ts +26 -0
- package/auth/endpoints/commands/verify-email-retry.command.ts +28 -0
- package/auth/endpoints/commands/verify-email.command.ts +28 -0
- package/auth/endpoints/index.ts +2 -0
- package/auth/index.ts +1 -0
- package/build/_common/error.contract.d.ts +13 -0
- package/build/_common/error.contract.d.ts.map +1 -0
- package/build/_common/error.contract.js +17 -0
- package/build/_common/http-contract.helper.d.ts +21 -0
- package/build/_common/http-contract.helper.d.ts.map +1 -0
- package/build/_common/http-contract.helper.js +15 -0
- package/build/_common/index.d.ts +5 -0
- package/build/_common/index.d.ts.map +1 -0
- package/build/_common/index.js +20 -0
- package/build/_common/success.contract.d.ts +6 -0
- package/build/_common/success.contract.d.ts.map +1 -0
- package/build/_common/success.contract.js +7 -0
- package/build/_common/types/cursor-pagination.type.d.ts +7 -0
- package/build/_common/types/cursor-pagination.type.d.ts.map +1 -0
- package/build/_common/types/cursor-pagination.type.js +10 -0
- package/build/_common/types/icon.type.d.ts +7 -0
- package/build/_common/types/icon.type.d.ts.map +1 -0
- package/build/_common/types/icon.type.js +8 -0
- package/build/_common/types/index.d.ts +3 -0
- package/build/_common/types/index.d.ts.map +1 -0
- package/build/_common/types/index.js +18 -0
- package/build/admin/endpoints/admin.d.ts +13 -0
- package/build/admin/endpoints/admin.d.ts.map +1 -0
- package/build/admin/endpoints/admin.js +15 -0
- package/build/admin/endpoints/commands/create-admin-partner-bonus-operation.command.d.ts +59 -0
- package/build/admin/endpoints/commands/create-admin-partner-bonus-operation.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/create-admin-partner-bonus-operation.command.js +34 -0
- package/build/admin/endpoints/commands/index.d.ts +4 -0
- package/build/admin/endpoints/commands/index.d.ts.map +1 -0
- package/build/admin/endpoints/commands/index.js +19 -0
- package/build/admin/endpoints/commands/update-admin-partner-referral-config.command.d.ts +93 -0
- package/build/admin/endpoints/commands/update-admin-partner-referral-config.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/update-admin-partner-referral-config.command.js +37 -0
- package/build/admin/endpoints/commands/update-admin-referral-config.command.d.ts +58 -0
- package/build/admin/endpoints/commands/update-admin-referral-config.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/update-admin-referral-config.command.js +36 -0
- package/build/admin/endpoints/index.d.ts +4 -0
- package/build/admin/endpoints/index.d.ts.map +1 -0
- package/build/admin/endpoints/index.js +19 -0
- package/build/admin/endpoints/queries/get-admin-partner-bonus-operations.query.d.ts +57 -0
- package/build/admin/endpoints/queries/get-admin-partner-bonus-operations.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-partner-bonus-operations.query.js +32 -0
- package/build/admin/endpoints/queries/get-admin-partner-l2-bonuses.query.d.ts +55 -0
- package/build/admin/endpoints/queries/get-admin-partner-l2-bonuses.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-partner-l2-bonuses.query.js +32 -0
- package/build/admin/endpoints/queries/get-admin-partner-referral-config.query.d.ts +74 -0
- package/build/admin/endpoints/queries/get-admin-partner-referral-config.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-partner-referral-config.query.js +26 -0
- package/build/admin/endpoints/queries/get-admin-partner-referrals.query.d.ts +59 -0
- package/build/admin/endpoints/queries/get-admin-partner-referrals.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-partner-referrals.query.js +32 -0
- package/build/admin/endpoints/queries/get-admin-partner.query.d.ts +46 -0
- package/build/admin/endpoints/queries/get-admin-partner.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-partner.query.js +26 -0
- package/build/admin/endpoints/queries/get-admin-partners.query.d.ts +65 -0
- package/build/admin/endpoints/queries/get-admin-partners.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-partners.query.js +33 -0
- package/build/admin/endpoints/queries/get-admin-referral-config.query.d.ts +34 -0
- package/build/admin/endpoints/queries/get-admin-referral-config.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-referral-config.query.js +18 -0
- package/build/admin/endpoints/queries/index.d.ts +8 -0
- package/build/admin/endpoints/queries/index.d.ts.map +1 -0
- package/build/admin/endpoints/queries/index.js +23 -0
- package/build/admin/enums/admin-bonus-history-operation-type.enum.d.ts +7 -0
- package/build/admin/enums/admin-bonus-history-operation-type.enum.d.ts.map +1 -0
- package/build/admin/enums/admin-bonus-history-operation-type.enum.js +10 -0
- package/build/admin/enums/admin-bonus-operation-type.enum.d.ts +5 -0
- package/build/admin/enums/admin-bonus-operation-type.enum.d.ts.map +1 -0
- package/build/admin/enums/admin-bonus-operation-type.enum.js +8 -0
- package/build/admin/enums/admin-partner-rates-type.enum.d.ts +5 -0
- package/build/admin/enums/admin-partner-rates-type.enum.d.ts.map +1 -0
- package/build/admin/enums/admin-partner-rates-type.enum.js +8 -0
- package/build/admin/enums/index.d.ts +4 -0
- package/build/admin/enums/index.d.ts.map +1 -0
- package/build/admin/enums/index.js +19 -0
- package/build/admin/index.d.ts +4 -0
- package/build/admin/index.d.ts.map +1 -0
- package/build/admin/index.js +19 -0
- package/build/admin/models/admin-bonus-operation-response.schema.d.ts +15 -0
- package/build/admin/models/admin-bonus-operation-response.schema.d.ts.map +1 -0
- package/build/admin/models/admin-bonus-operation-response.schema.js +16 -0
- package/build/admin/models/admin-partner-bonus-operation-response.schema.d.ts +12 -0
- package/build/admin/models/admin-partner-bonus-operation-response.schema.d.ts.map +1 -0
- package/build/admin/models/admin-partner-bonus-operation-response.schema.js +13 -0
- package/build/admin/models/admin-partner-details-response.schema.d.ts +16 -0
- package/build/admin/models/admin-partner-details-response.schema.d.ts.map +1 -0
- package/build/admin/models/admin-partner-details-response.schema.js +17 -0
- package/build/admin/models/admin-partner-l2-bonus-response.schema.d.ts +10 -0
- package/build/admin/models/admin-partner-l2-bonus-response.schema.d.ts.map +1 -0
- package/build/admin/models/admin-partner-l2-bonus-response.schema.js +11 -0
- package/build/admin/models/admin-partner-referral-config-response.schema.d.ts +29 -0
- package/build/admin/models/admin-partner-referral-config-response.schema.d.ts.map +1 -0
- package/build/admin/models/admin-partner-referral-config-response.schema.js +13 -0
- package/build/admin/models/admin-partner-referral-response.schema.d.ts +12 -0
- package/build/admin/models/admin-partner-referral-response.schema.d.ts.map +1 -0
- package/build/admin/models/admin-partner-referral-response.schema.js +13 -0
- package/build/admin/models/admin-partner-response.schema.d.ts +17 -0
- package/build/admin/models/admin-partner-response.schema.d.ts.map +1 -0
- package/build/admin/models/admin-partner-response.schema.js +18 -0
- package/build/admin/models/admin-referral-config-response.schema.d.ts +14 -0
- package/build/admin/models/admin-referral-config-response.schema.d.ts.map +1 -0
- package/build/admin/models/admin-referral-config-response.schema.js +8 -0
- package/build/admin/models/index.d.ts +9 -0
- package/build/admin/models/index.d.ts.map +1 -0
- package/build/admin/models/index.js +24 -0
- package/build/ai-model/endpoints/ai-model.d.ts +6 -0
- package/build/ai-model/endpoints/ai-model.d.ts.map +1 -0
- package/build/ai-model/endpoints/ai-model.js +8 -0
- package/build/ai-model/endpoints/index.d.ts +3 -0
- package/build/ai-model/endpoints/index.d.ts.map +1 -0
- package/build/ai-model/endpoints/index.js +18 -0
- package/build/ai-model/endpoints/queries/get-ai-model-by-uuid.query.d.ts +68 -0
- package/build/ai-model/endpoints/queries/get-ai-model-by-uuid.query.d.ts.map +1 -0
- package/build/ai-model/endpoints/queries/get-ai-model-by-uuid.query.js +24 -0
- package/build/ai-model/endpoints/queries/get-ai-models.query.d.ts +69 -0
- package/build/ai-model/endpoints/queries/get-ai-models.query.d.ts.map +1 -0
- package/build/ai-model/endpoints/queries/get-ai-models.query.js +22 -0
- package/build/ai-model/endpoints/queries/index.d.ts +3 -0
- package/build/ai-model/endpoints/queries/index.d.ts.map +1 -0
- package/build/ai-model/endpoints/queries/index.js +18 -0
- package/build/ai-model/index.d.ts +3 -0
- package/build/ai-model/index.d.ts.map +1 -0
- package/build/ai-model/index.js +18 -0
- package/build/ai-model/models/ai-model-response.schema.d.ts +38 -0
- package/build/ai-model/models/ai-model-response.schema.d.ts.map +1 -0
- package/build/ai-model/models/ai-model-response.schema.js +32 -0
- package/build/ai-model/models/index.d.ts +2 -0
- package/build/ai-model/models/index.d.ts.map +1 -0
- package/build/ai-model/models/index.js +17 -0
- package/build/article/endpoints/article.d.ts +15 -0
- package/build/article/endpoints/article.d.ts.map +1 -0
- package/build/article/endpoints/article.js +17 -0
- package/build/article/endpoints/commands/create-article.command.d.ts +89 -0
- package/build/article/endpoints/commands/create-article.command.d.ts.map +1 -0
- package/build/article/endpoints/commands/create-article.command.js +38 -0
- package/build/article/endpoints/commands/delete-article.command.d.ts +24 -0
- package/build/article/endpoints/commands/delete-article.command.d.ts.map +1 -0
- package/build/article/endpoints/commands/delete-article.command.js +25 -0
- package/build/article/endpoints/commands/index.d.ts +5 -0
- package/build/article/endpoints/commands/index.d.ts.map +1 -0
- package/build/article/endpoints/commands/index.js +20 -0
- package/build/article/endpoints/commands/publish-article.command.d.ts +64 -0
- package/build/article/endpoints/commands/publish-article.command.d.ts.map +1 -0
- package/build/article/endpoints/commands/publish-article.command.js +26 -0
- package/build/article/endpoints/commands/update-article.command.d.ts +96 -0
- package/build/article/endpoints/commands/update-article.command.d.ts.map +1 -0
- package/build/article/endpoints/commands/update-article.command.js +48 -0
- package/build/article/endpoints/index.d.ts +4 -0
- package/build/article/endpoints/index.d.ts.map +1 -0
- package/build/article/endpoints/index.js +19 -0
- package/build/article/endpoints/queries/get-article-by-uuid.query.d.ts +64 -0
- package/build/article/endpoints/queries/get-article-by-uuid.query.d.ts.map +1 -0
- package/build/article/endpoints/queries/get-article-by-uuid.query.js +26 -0
- package/build/article/endpoints/queries/get-articles.query.d.ts +73 -0
- package/build/article/endpoints/queries/get-articles.query.d.ts.map +1 -0
- package/build/article/endpoints/queries/get-articles.query.js +27 -0
- package/build/article/endpoints/queries/get-published-by-slug.query.d.ts +68 -0
- package/build/article/endpoints/queries/get-published-by-slug.query.d.ts.map +1 -0
- package/build/article/endpoints/queries/get-published-by-slug.query.js +24 -0
- package/build/article/endpoints/queries/index.d.ts +5 -0
- package/build/article/endpoints/queries/index.d.ts.map +1 -0
- package/build/article/endpoints/queries/index.js +20 -0
- package/build/article/endpoints/queries/list-published.query.d.ts +59 -0
- package/build/article/endpoints/queries/list-published.query.d.ts.map +1 -0
- package/build/article/endpoints/queries/list-published.query.js +28 -0
- package/build/article/enums/article-status.enum.d.ts +5 -0
- package/build/article/enums/article-status.enum.d.ts.map +1 -0
- package/build/article/enums/article-status.enum.js +8 -0
- package/build/article/enums/index.d.ts +2 -0
- package/build/article/enums/index.d.ts.map +1 -0
- package/build/article/enums/index.js +17 -0
- package/build/article/index.d.ts +4 -0
- package/build/article/index.d.ts.map +1 -0
- package/build/article/index.js +19 -0
- package/build/article/models/article-content.schema.d.ts +15 -0
- package/build/article/models/article-content.schema.d.ts.map +1 -0
- package/build/article/models/article-content.schema.js +12 -0
- package/build/article/models/article-response.schema.d.ts +25 -0
- package/build/article/models/article-response.schema.d.ts.map +1 -0
- package/build/article/models/article-response.schema.js +21 -0
- package/build/article/models/index.d.ts +5 -0
- package/build/article/models/index.d.ts.map +1 -0
- package/build/article/models/index.js +20 -0
- package/build/article/models/published-article-card.schema.d.ts +21 -0
- package/build/article/models/published-article-card.schema.d.ts.map +1 -0
- package/build/article/models/published-article-card.schema.js +18 -0
- package/build/article/models/published-article-detail.schema.d.ts +31 -0
- package/build/article/models/published-article-detail.schema.d.ts.map +1 -0
- package/build/article/models/published-article-detail.schema.js +21 -0
- package/build/auth/endpoints/auth.d.ts +14 -0
- package/build/auth/endpoints/auth.d.ts.map +1 -0
- package/build/auth/endpoints/auth.js +16 -0
- package/build/auth/endpoints/commands/change-password.command.d.ts +28 -0
- package/build/auth/endpoints/commands/change-password.command.d.ts.map +1 -0
- package/build/auth/endpoints/commands/change-password.command.js +29 -0
- package/build/auth/endpoints/commands/delete-account.command.d.ts +15 -0
- package/build/auth/endpoints/commands/delete-account.command.d.ts.map +1 -0
- package/build/auth/endpoints/commands/delete-account.command.js +19 -0
- package/build/auth/endpoints/commands/index.d.ts +11 -0
- package/build/auth/endpoints/commands/index.d.ts.map +1 -0
- package/build/auth/endpoints/commands/index.js +26 -0
- package/build/auth/endpoints/commands/login.command.d.ts +31 -0
- package/build/auth/endpoints/commands/login.command.d.ts.map +1 -0
- package/build/auth/endpoints/commands/login.command.js +30 -0
- package/build/auth/endpoints/commands/logout.command.d.ts +14 -0
- package/build/auth/endpoints/commands/logout.command.d.ts.map +1 -0
- package/build/auth/endpoints/commands/logout.command.js +18 -0
- package/build/auth/endpoints/commands/refresh.command.d.ts +19 -0
- package/build/auth/endpoints/commands/refresh.command.d.ts.map +1 -0
- package/build/auth/endpoints/commands/refresh.command.js +21 -0
- package/build/auth/endpoints/commands/register.command.d.ts +40 -0
- package/build/auth/endpoints/commands/register.command.d.ts.map +1 -0
- package/build/auth/endpoints/commands/register.command.js +35 -0
- package/build/auth/endpoints/commands/reset-password.command.d.ts +24 -0
- package/build/auth/endpoints/commands/reset-password.command.d.ts.map +1 -0
- package/build/auth/endpoints/commands/reset-password.command.js +26 -0
- package/build/auth/endpoints/commands/restore-password.command.d.ts +26 -0
- package/build/auth/endpoints/commands/restore-password.command.d.ts.map +1 -0
- package/build/auth/endpoints/commands/restore-password.command.js +27 -0
- package/build/auth/endpoints/commands/verify-email-retry.command.d.ts +30 -0
- package/build/auth/endpoints/commands/verify-email-retry.command.d.ts.map +1 -0
- package/build/auth/endpoints/commands/verify-email-retry.command.js +29 -0
- package/build/auth/endpoints/commands/verify-email.command.d.ts +30 -0
- package/build/auth/endpoints/commands/verify-email.command.d.ts.map +1 -0
- package/build/auth/endpoints/commands/verify-email.command.js +29 -0
- package/build/auth/endpoints/index.d.ts +3 -0
- package/build/auth/endpoints/index.d.ts.map +1 -0
- package/build/auth/endpoints/index.js +18 -0
- package/build/auth/index.d.ts +2 -0
- package/build/auth/index.d.ts.map +1 -0
- package/build/auth/index.js +17 -0
- package/build/category/endpoints/category.d.ts +9 -0
- package/build/category/endpoints/category.d.ts.map +1 -0
- package/build/category/endpoints/category.js +11 -0
- package/build/category/endpoints/commands/create-category.command.d.ts +40 -0
- package/build/category/endpoints/commands/create-category.command.d.ts.map +1 -0
- package/build/category/endpoints/commands/create-category.command.js +29 -0
- package/build/category/endpoints/commands/delete-category.command.d.ts +24 -0
- package/build/category/endpoints/commands/delete-category.command.d.ts.map +1 -0
- package/build/category/endpoints/commands/delete-category.command.js +25 -0
- package/build/category/endpoints/commands/index.d.ts +4 -0
- package/build/category/endpoints/commands/index.d.ts.map +1 -0
- package/build/category/endpoints/commands/index.js +19 -0
- package/build/category/endpoints/commands/update-category.command.d.ts +46 -0
- package/build/category/endpoints/commands/update-category.command.d.ts.map +1 -0
- package/build/category/endpoints/commands/update-category.command.js +38 -0
- package/build/category/endpoints/index.d.ts +4 -0
- package/build/category/endpoints/index.d.ts.map +1 -0
- package/build/category/endpoints/index.js +19 -0
- package/build/category/endpoints/queries/get-categories.query.d.ts +31 -0
- package/build/category/endpoints/queries/get-categories.query.d.ts.map +1 -0
- package/build/category/endpoints/queries/get-categories.query.js +21 -0
- package/build/category/endpoints/queries/get-category-by-uuid.query.d.ts +36 -0
- package/build/category/endpoints/queries/get-category-by-uuid.query.d.ts.map +1 -0
- package/build/category/endpoints/queries/get-category-by-uuid.query.js +26 -0
- package/build/category/endpoints/queries/index.d.ts +3 -0
- package/build/category/endpoints/queries/index.d.ts.map +1 -0
- package/build/category/endpoints/queries/index.js +18 -0
- package/build/category/index.d.ts +3 -0
- package/build/category/index.d.ts.map +1 -0
- package/build/category/index.js +18 -0
- package/build/category/models/category-response.schema.d.ts +10 -0
- package/build/category/models/category-response.schema.d.ts.map +1 -0
- package/build/category/models/category-response.schema.js +11 -0
- package/build/category/models/index.d.ts +2 -0
- package/build/category/models/index.d.ts.map +1 -0
- package/build/category/models/index.js +17 -0
- package/build/chat/endpoints/chat.d.ts +9 -0
- package/build/chat/endpoints/chat.d.ts.map +1 -0
- package/build/chat/endpoints/chat.js +11 -0
- package/build/chat/endpoints/commands/create-chat.command.d.ts +50 -0
- package/build/chat/endpoints/commands/create-chat.command.d.ts.map +1 -0
- package/build/chat/endpoints/commands/create-chat.command.js +24 -0
- package/build/chat/endpoints/commands/delete-chat.command.d.ts +22 -0
- package/build/chat/endpoints/commands/delete-chat.command.d.ts.map +1 -0
- package/build/chat/endpoints/commands/delete-chat.command.js +23 -0
- package/build/chat/endpoints/commands/index.d.ts +4 -0
- package/build/chat/endpoints/commands/index.d.ts.map +1 -0
- package/build/chat/endpoints/commands/index.js +19 -0
- package/build/chat/endpoints/commands/update-chat.command.d.ts +57 -0
- package/build/chat/endpoints/commands/update-chat.command.d.ts.map +1 -0
- package/build/chat/endpoints/commands/update-chat.command.js +33 -0
- package/build/chat/endpoints/index.d.ts +4 -0
- package/build/chat/endpoints/index.d.ts.map +1 -0
- package/build/chat/endpoints/index.js +19 -0
- package/build/chat/endpoints/queries/get-chat-by-uuid.query.d.ts +50 -0
- package/build/chat/endpoints/queries/get-chat-by-uuid.query.d.ts.map +1 -0
- package/build/chat/endpoints/queries/get-chat-by-uuid.query.js +24 -0
- package/build/chat/endpoints/queries/get-chats.query.d.ts +59 -0
- package/build/chat/endpoints/queries/get-chats.query.d.ts.map +1 -0
- package/build/chat/endpoints/queries/get-chats.query.js +25 -0
- package/build/chat/endpoints/queries/index.d.ts +3 -0
- package/build/chat/endpoints/queries/index.d.ts.map +1 -0
- package/build/chat/endpoints/queries/index.js +18 -0
- package/build/chat/enums/chat-status.enum.d.ts +6 -0
- package/build/chat/enums/chat-status.enum.d.ts.map +1 -0
- package/build/chat/enums/chat-status.enum.js +9 -0
- package/build/chat/enums/index.d.ts +2 -0
- package/build/chat/enums/index.d.ts.map +1 -0
- package/build/chat/enums/index.js +17 -0
- package/build/chat/index.d.ts +4 -0
- package/build/chat/index.d.ts.map +1 -0
- package/build/chat/index.js +19 -0
- package/build/chat/models/chat-response.schema.d.ts +28 -0
- package/build/chat/models/chat-response.schema.d.ts.map +1 -0
- package/build/chat/models/chat-response.schema.js +21 -0
- package/build/chat/models/index.d.ts +2 -0
- package/build/chat/models/index.d.ts.map +1 -0
- package/build/chat/models/index.js +17 -0
- package/build/errors/errors.d.ts +680 -0
- package/build/errors/errors.d.ts.map +1 -0
- package/build/errors/errors.js +682 -0
- package/build/errors/index.d.ts +2 -0
- package/build/errors/index.d.ts.map +1 -0
- package/build/errors/index.js +17 -0
- package/build/feedback-survey/endpoints/commands/create-feedback-survey-submission.command.d.ts +60 -0
- package/build/feedback-survey/endpoints/commands/create-feedback-survey-submission.command.d.ts.map +1 -0
- package/build/feedback-survey/endpoints/commands/create-feedback-survey-submission.command.js +26 -0
- package/build/feedback-survey/endpoints/commands/index.d.ts +2 -0
- package/build/feedback-survey/endpoints/commands/index.d.ts.map +1 -0
- package/build/feedback-survey/endpoints/commands/index.js +17 -0
- package/build/feedback-survey/endpoints/feedback-survey.d.ts +11 -0
- package/build/feedback-survey/endpoints/feedback-survey.d.ts.map +1 -0
- package/build/feedback-survey/endpoints/feedback-survey.js +13 -0
- package/build/feedback-survey/endpoints/index.d.ts +4 -0
- package/build/feedback-survey/endpoints/index.d.ts.map +1 -0
- package/build/feedback-survey/endpoints/index.js +19 -0
- package/build/feedback-survey/endpoints/queries/get-feedback-survey-questionnaire.query.d.ts +52 -0
- package/build/feedback-survey/endpoints/queries/get-feedback-survey-questionnaire.query.d.ts.map +1 -0
- package/build/feedback-survey/endpoints/queries/get-feedback-survey-questionnaire.query.js +20 -0
- package/build/feedback-survey/endpoints/queries/get-feedback-survey-status.query.d.ts +17 -0
- package/build/feedback-survey/endpoints/queries/get-feedback-survey-status.query.d.ts.map +1 -0
- package/build/feedback-survey/endpoints/queries/get-feedback-survey-status.query.js +17 -0
- package/build/feedback-survey/endpoints/queries/get-feedback-survey-submissions.query.d.ts +59 -0
- package/build/feedback-survey/endpoints/queries/get-feedback-survey-submissions.query.d.ts.map +1 -0
- package/build/feedback-survey/endpoints/queries/get-feedback-survey-submissions.query.js +27 -0
- package/build/feedback-survey/endpoints/queries/index.d.ts +4 -0
- package/build/feedback-survey/endpoints/queries/index.d.ts.map +1 -0
- package/build/feedback-survey/endpoints/queries/index.js +19 -0
- package/build/feedback-survey/enums/index.d.ts +2 -0
- package/build/feedback-survey/enums/index.d.ts.map +1 -0
- package/build/feedback-survey/enums/index.js +17 -0
- package/build/feedback-survey/enums/question-type.enum.d.ts +7 -0
- package/build/feedback-survey/enums/question-type.enum.d.ts.map +1 -0
- package/build/feedback-survey/enums/question-type.enum.js +10 -0
- package/build/feedback-survey/index.d.ts +4 -0
- package/build/feedback-survey/index.d.ts.map +1 -0
- package/build/feedback-survey/index.js +19 -0
- package/build/feedback-survey/models/answer-input.schema.d.ts +9 -0
- package/build/feedback-survey/models/answer-input.schema.d.ts.map +1 -0
- package/build/feedback-survey/models/answer-input.schema.js +10 -0
- package/build/feedback-survey/models/answer-response.schema.d.ts +12 -0
- package/build/feedback-survey/models/answer-response.schema.d.ts.map +1 -0
- package/build/feedback-survey/models/answer-response.schema.js +13 -0
- package/build/feedback-survey/models/feedback-survey-submission-response.schema.d.ts +17 -0
- package/build/feedback-survey/models/feedback-survey-submission-response.schema.d.ts.map +1 -0
- package/build/feedback-survey/models/feedback-survey-submission-response.schema.js +11 -0
- package/build/feedback-survey/models/index.d.ts +7 -0
- package/build/feedback-survey/models/index.d.ts.map +1 -0
- package/build/feedback-survey/models/index.js +22 -0
- package/build/feedback-survey/models/question-option-response.schema.d.ts +10 -0
- package/build/feedback-survey/models/question-option-response.schema.d.ts.map +1 -0
- package/build/feedback-survey/models/question-option-response.schema.js +11 -0
- package/build/feedback-survey/models/question-response.schema.d.ts +22 -0
- package/build/feedback-survey/models/question-response.schema.d.ts.map +1 -0
- package/build/feedback-survey/models/question-response.schema.js +18 -0
- package/build/feedback-survey/models/status-response.schema.d.ts +6 -0
- package/build/feedback-survey/models/status-response.schema.d.ts.map +1 -0
- package/build/feedback-survey/models/status-response.schema.js +7 -0
- package/build/file/endpoints/commands/index.d.ts +2 -0
- package/build/file/endpoints/commands/index.d.ts.map +1 -0
- package/build/file/endpoints/commands/index.js +17 -0
- package/build/file/endpoints/commands/upload-file.command.d.ts +59 -0
- package/build/file/endpoints/commands/upload-file.command.d.ts.map +1 -0
- package/build/file/endpoints/commands/upload-file.command.js +30 -0
- package/build/file/endpoints/file.d.ts +5 -0
- package/build/file/endpoints/file.d.ts.map +1 -0
- package/build/file/endpoints/file.js +7 -0
- package/build/file/endpoints/index.d.ts +3 -0
- package/build/file/endpoints/index.d.ts.map +1 -0
- package/build/file/endpoints/index.js +18 -0
- package/build/file/endpoints/queries/index.d.ts +2 -0
- package/build/file/endpoints/queries/index.d.ts.map +1 -0
- package/build/file/endpoints/queries/index.js +2 -0
- package/build/file/enums/file.enum.d.ts +19 -0
- package/build/file/enums/file.enum.d.ts.map +1 -0
- package/build/file/enums/file.enum.js +88 -0
- package/build/file/enums/index.d.ts +2 -0
- package/build/file/enums/index.d.ts.map +1 -0
- package/build/file/enums/index.js +17 -0
- package/build/file/index.d.ts +4 -0
- package/build/file/index.d.ts.map +1 -0
- package/build/file/index.js +19 -0
- package/build/file/models/file-response.schema.d.ts +20 -0
- package/build/file/models/file-response.schema.d.ts.map +1 -0
- package/build/file/models/file-response.schema.js +21 -0
- package/build/file/models/index.d.ts +2 -0
- package/build/file/models/index.d.ts.map +1 -0
- package/build/file/models/index.js +17 -0
- package/build/generation-job/endpoints/commands/create-generation-job.command.d.ts +63 -0
- package/build/generation-job/endpoints/commands/create-generation-job.command.d.ts.map +1 -0
- package/build/generation-job/endpoints/commands/create-generation-job.command.js +30 -0
- package/build/generation-job/endpoints/commands/delete-generation-job.command.d.ts +22 -0
- package/build/generation-job/endpoints/commands/delete-generation-job.command.d.ts.map +1 -0
- package/build/generation-job/endpoints/commands/delete-generation-job.command.js +23 -0
- package/build/generation-job/endpoints/commands/index.d.ts +4 -0
- package/build/generation-job/endpoints/commands/index.d.ts.map +1 -0
- package/build/generation-job/endpoints/commands/index.js +19 -0
- package/build/generation-job/endpoints/commands/update-generation-job.command.d.ts +77 -0
- package/build/generation-job/endpoints/commands/update-generation-job.command.d.ts.map +1 -0
- package/build/generation-job/endpoints/commands/update-generation-job.command.js +38 -0
- package/build/generation-job/endpoints/generation-job.d.ts +10 -0
- package/build/generation-job/endpoints/generation-job.d.ts.map +1 -0
- package/build/generation-job/endpoints/generation-job.js +12 -0
- package/build/generation-job/endpoints/index.d.ts +4 -0
- package/build/generation-job/endpoints/index.d.ts.map +1 -0
- package/build/generation-job/endpoints/index.js +19 -0
- package/build/generation-job/endpoints/queries/get-generation-job-by-uuid.query.d.ts +54 -0
- package/build/generation-job/endpoints/queries/get-generation-job-by-uuid.query.d.ts.map +1 -0
- package/build/generation-job/endpoints/queries/get-generation-job-by-uuid.query.js +24 -0
- package/build/generation-job/endpoints/queries/get-generation-job-history.query.d.ts +94 -0
- package/build/generation-job/endpoints/queries/get-generation-job-history.query.d.ts.map +1 -0
- package/build/generation-job/endpoints/queries/get-generation-job-history.query.js +35 -0
- package/build/generation-job/endpoints/queries/get-generation-jobs.query.d.ts +57 -0
- package/build/generation-job/endpoints/queries/get-generation-jobs.query.d.ts.map +1 -0
- package/build/generation-job/endpoints/queries/get-generation-jobs.query.js +26 -0
- package/build/generation-job/endpoints/queries/index.d.ts +4 -0
- package/build/generation-job/endpoints/queries/index.d.ts.map +1 -0
- package/build/generation-job/endpoints/queries/index.js +19 -0
- package/build/generation-job/enums/generation-job-status.enum.d.ts +8 -0
- package/build/generation-job/enums/generation-job-status.enum.d.ts.map +1 -0
- package/build/generation-job/enums/generation-job-status.enum.js +11 -0
- package/build/generation-job/enums/index.d.ts +2 -0
- package/build/generation-job/enums/index.d.ts.map +1 -0
- package/build/generation-job/enums/index.js +17 -0
- package/build/generation-job/index.d.ts +4 -0
- package/build/generation-job/index.d.ts.map +1 -0
- package/build/generation-job/index.js +19 -0
- package/build/generation-job/models/generation-job-response.schema.d.ts +26 -0
- package/build/generation-job/models/generation-job-response.schema.d.ts.map +1 -0
- package/build/generation-job/models/generation-job-response.schema.js +26 -0
- package/build/generation-job/models/index.d.ts +2 -0
- package/build/generation-job/models/index.d.ts.map +1 -0
- package/build/generation-job/models/index.js +17 -0
- package/build/generation-job-chat/endpoints/commands/create-generation-job-chat.command.d.ts +42 -0
- package/build/generation-job-chat/endpoints/commands/create-generation-job-chat.command.d.ts.map +1 -0
- package/build/generation-job-chat/endpoints/commands/create-generation-job-chat.command.js +27 -0
- package/build/generation-job-chat/endpoints/commands/delete-generation-job-chat.command.d.ts +22 -0
- package/build/generation-job-chat/endpoints/commands/delete-generation-job-chat.command.d.ts.map +1 -0
- package/build/generation-job-chat/endpoints/commands/delete-generation-job-chat.command.js +23 -0
- package/build/generation-job-chat/endpoints/commands/index.d.ts +4 -0
- package/build/generation-job-chat/endpoints/commands/index.d.ts.map +1 -0
- package/build/generation-job-chat/endpoints/commands/index.js +19 -0
- package/build/generation-job-chat/endpoints/commands/update-generation-job-chat.command.d.ts +45 -0
- package/build/generation-job-chat/endpoints/commands/update-generation-job-chat.command.d.ts.map +1 -0
- package/build/generation-job-chat/endpoints/commands/update-generation-job-chat.command.js +33 -0
- package/build/generation-job-chat/endpoints/generation-job-chat.d.ts +9 -0
- package/build/generation-job-chat/endpoints/generation-job-chat.d.ts.map +1 -0
- package/build/generation-job-chat/endpoints/generation-job-chat.js +11 -0
- package/build/generation-job-chat/endpoints/index.d.ts +4 -0
- package/build/generation-job-chat/endpoints/index.d.ts.map +1 -0
- package/build/generation-job-chat/endpoints/index.js +19 -0
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chat-by-uuid.query.d.ts +38 -0
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chat-by-uuid.query.d.ts.map +1 -0
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chat-by-uuid.query.js +24 -0
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chats.query.d.ts +49 -0
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chats.query.d.ts.map +1 -0
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chats.query.js +28 -0
- package/build/generation-job-chat/endpoints/queries/index.d.ts +3 -0
- package/build/generation-job-chat/endpoints/queries/index.d.ts.map +1 -0
- package/build/generation-job-chat/endpoints/queries/index.js +18 -0
- package/build/generation-job-chat/index.d.ts +3 -0
- package/build/generation-job-chat/index.d.ts.map +1 -0
- package/build/generation-job-chat/index.js +18 -0
- package/build/generation-job-chat/models/generation-job-chat-response.schema.d.ts +12 -0
- package/build/generation-job-chat/models/generation-job-chat-response.schema.d.ts.map +1 -0
- package/build/generation-job-chat/models/generation-job-chat-response.schema.js +14 -0
- package/build/generation-job-chat/models/index.d.ts +2 -0
- package/build/generation-job-chat/models/index.d.ts.map +1 -0
- package/build/generation-job-chat/models/index.js +17 -0
- package/build/generation-model/endpoints/generation-model.d.ts +7 -0
- package/build/generation-model/endpoints/generation-model.d.ts.map +1 -0
- package/build/generation-model/endpoints/generation-model.js +9 -0
- package/build/generation-model/endpoints/index.d.ts +3 -0
- package/build/generation-model/endpoints/index.d.ts.map +1 -0
- package/build/generation-model/endpoints/index.js +18 -0
- package/build/generation-model/endpoints/queries/get-generation-models-by-type.query.d.ts +85 -0
- package/build/generation-model/endpoints/queries/get-generation-models-by-type.query.d.ts.map +1 -0
- package/build/generation-model/endpoints/queries/get-generation-models-by-type.query.js +25 -0
- package/build/generation-model/endpoints/queries/get-generation-models.query.d.ts +77 -0
- package/build/generation-model/endpoints/queries/get-generation-models.query.d.ts.map +1 -0
- package/build/generation-model/endpoints/queries/get-generation-models.query.js +19 -0
- package/build/generation-model/endpoints/queries/get-generation-price.query.d.ts +32 -0
- package/build/generation-model/endpoints/queries/get-generation-price.query.d.ts.map +1 -0
- package/build/generation-model/endpoints/queries/get-generation-price.query.js +29 -0
- package/build/generation-model/endpoints/queries/index.d.ts +4 -0
- package/build/generation-model/endpoints/queries/index.d.ts.map +1 -0
- package/build/generation-model/endpoints/queries/index.js +19 -0
- package/build/generation-model/enums/generation-type.enum.d.ts +5 -0
- package/build/generation-model/enums/generation-type.enum.d.ts.map +1 -0
- package/build/generation-model/enums/generation-type.enum.js +8 -0
- package/build/generation-model/enums/index.d.ts +2 -0
- package/build/generation-model/enums/index.d.ts.map +1 -0
- package/build/generation-model/enums/index.js +17 -0
- package/build/generation-model/index.d.ts +4 -0
- package/build/generation-model/index.d.ts.map +1 -0
- package/build/generation-model/index.js +19 -0
- package/build/generation-model/models/generation-model-response.schema.d.ts +36 -0
- package/build/generation-model/models/generation-model-response.schema.d.ts.map +1 -0
- package/build/generation-model/models/generation-model-response.schema.js +23 -0
- package/build/generation-model/models/index.d.ts +3 -0
- package/build/generation-model/models/index.d.ts.map +1 -0
- package/build/generation-model/models/index.js +18 -0
- package/build/generation-model/models/pricing-policy.schema.d.ts +52 -0
- package/build/generation-model/models/pricing-policy.schema.d.ts.map +1 -0
- package/build/generation-model/models/pricing-policy.schema.js +29 -0
- package/build/index.d.ts +17 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +32 -0
- package/build/message/endpoints/commands/create-message.command.d.ts +68 -0
- package/build/message/endpoints/commands/create-message.command.d.ts.map +1 -0
- package/build/message/endpoints/commands/create-message.command.js +48 -0
- package/build/message/endpoints/commands/delete-message.command.d.ts +22 -0
- package/build/message/endpoints/commands/delete-message.command.d.ts.map +1 -0
- package/build/message/endpoints/commands/delete-message.command.js +23 -0
- package/build/message/endpoints/commands/index.d.ts +3 -0
- package/build/message/endpoints/commands/index.d.ts.map +1 -0
- package/build/message/endpoints/commands/index.js +18 -0
- package/build/message/endpoints/index.d.ts +4 -0
- package/build/message/endpoints/index.d.ts.map +1 -0
- package/build/message/endpoints/index.js +19 -0
- package/build/message/endpoints/message.d.ts +9 -0
- package/build/message/endpoints/message.d.ts.map +1 -0
- package/build/message/endpoints/message.js +11 -0
- package/build/message/endpoints/queries/get-message-by-uuid.query.d.ts +74 -0
- package/build/message/endpoints/queries/get-message-by-uuid.query.d.ts.map +1 -0
- package/build/message/endpoints/queries/get-message-by-uuid.query.js +24 -0
- package/build/message/endpoints/queries/get-message-price-estimate.query.d.ts +41 -0
- package/build/message/endpoints/queries/get-message-price-estimate.query.d.ts.map +1 -0
- package/build/message/endpoints/queries/get-message-price-estimate.query.js +35 -0
- package/build/message/endpoints/queries/get-messages-by-chat.query.d.ts +90 -0
- package/build/message/endpoints/queries/get-messages-by-chat.query.d.ts.map +1 -0
- package/build/message/endpoints/queries/get-messages-by-chat.query.js +30 -0
- package/build/message/endpoints/queries/index.d.ts +4 -0
- package/build/message/endpoints/queries/index.d.ts.map +1 -0
- package/build/message/endpoints/queries/index.js +19 -0
- package/build/message/enums/index.d.ts +3 -0
- package/build/message/enums/index.d.ts.map +1 -0
- package/build/message/enums/index.js +18 -0
- package/build/message/enums/message-roles.enum.d.ts +5 -0
- package/build/message/enums/message-roles.enum.d.ts.map +1 -0
- package/build/message/enums/message-roles.enum.js +8 -0
- package/build/message/enums/message-status.enum.d.ts +10 -0
- package/build/message/enums/message-status.enum.d.ts.map +1 -0
- package/build/message/enums/message-status.enum.js +13 -0
- package/build/message/index.d.ts +4 -0
- package/build/message/index.d.ts.map +1 -0
- package/build/message/index.js +19 -0
- package/build/message/models/index.d.ts +2 -0
- package/build/message/models/index.d.ts.map +1 -0
- package/build/message/models/index.js +17 -0
- package/build/message/models/message-response.schema.d.ts +31 -0
- package/build/message/models/message-response.schema.d.ts.map +1 -0
- package/build/message/models/message-response.schema.js +17 -0
- package/build/payment/endpoints/commands/create-payment.command.d.ts +119 -0
- package/build/payment/endpoints/commands/create-payment.command.d.ts.map +1 -0
- package/build/payment/endpoints/commands/create-payment.command.js +40 -0
- package/build/payment/endpoints/commands/index.d.ts +2 -0
- package/build/payment/endpoints/commands/index.d.ts.map +1 -0
- package/build/payment/endpoints/commands/index.js +17 -0
- package/build/payment/endpoints/index.d.ts +3 -0
- package/build/payment/endpoints/index.d.ts.map +1 -0
- package/build/payment/endpoints/index.js +18 -0
- package/build/payment/endpoints/payment.d.ts +5 -0
- package/build/payment/endpoints/payment.d.ts.map +1 -0
- package/build/payment/endpoints/payment.js +7 -0
- package/build/payment/enums/index.d.ts +2 -0
- package/build/payment/enums/index.d.ts.map +1 -0
- package/build/payment/enums/index.js +17 -0
- package/build/payment/enums/payment-status.enum.d.ts +7 -0
- package/build/payment/enums/payment-status.enum.d.ts.map +1 -0
- package/build/payment/enums/payment-status.enum.js +10 -0
- package/build/payment/index.d.ts +4 -0
- package/build/payment/index.d.ts.map +1 -0
- package/build/payment/index.js +19 -0
- package/build/payment/models/index.d.ts +2 -0
- package/build/payment/models/index.d.ts.map +1 -0
- package/build/payment/models/index.js +17 -0
- package/build/payment/models/payment-response.schema.d.ts +50 -0
- package/build/payment/models/payment-response.schema.d.ts.map +1 -0
- package/build/payment/models/payment-response.schema.js +45 -0
- package/build/referral/endpoints/index.d.ts +2 -0
- package/build/referral/endpoints/index.d.ts.map +1 -0
- package/build/referral/endpoints/index.js +17 -0
- package/build/referral/endpoints/referral.d.ts +7 -0
- package/build/referral/endpoints/referral.d.ts.map +1 -0
- package/build/referral/endpoints/referral.js +9 -0
- package/build/referral/enums/bonus-history-filter.enum.d.ts +6 -0
- package/build/referral/enums/bonus-history-filter.enum.d.ts.map +1 -0
- package/build/referral/enums/bonus-history-filter.enum.js +9 -0
- package/build/referral/enums/index.d.ts +4 -0
- package/build/referral/enums/index.d.ts.map +1 -0
- package/build/referral/enums/index.js +19 -0
- package/build/referral/enums/referral-reward-status.enum.d.ts +6 -0
- package/build/referral/enums/referral-reward-status.enum.d.ts.map +1 -0
- package/build/referral/enums/referral-reward-status.enum.js +9 -0
- package/build/referral/enums/referral-status.enum.d.ts +6 -0
- package/build/referral/enums/referral-status.enum.d.ts.map +1 -0
- package/build/referral/enums/referral-status.enum.js +9 -0
- package/build/referral/index.d.ts +4 -0
- package/build/referral/index.d.ts.map +1 -0
- package/build/referral/index.js +19 -0
- package/build/referral/models/bonus-history-response.schema.d.ts +88 -0
- package/build/referral/models/bonus-history-response.schema.d.ts.map +1 -0
- package/build/referral/models/bonus-history-response.schema.js +27 -0
- package/build/referral/models/index.d.ts +5 -0
- package/build/referral/models/index.d.ts.map +1 -0
- package/build/referral/models/index.js +20 -0
- package/build/referral/models/partner-referral-rate-config.schema.d.ts +10 -0
- package/build/referral/models/partner-referral-rate-config.schema.d.ts.map +1 -0
- package/build/referral/models/partner-referral-rate-config.schema.js +11 -0
- package/build/referral/models/referral-config-response.schema.d.ts +24 -0
- package/build/referral/models/referral-config-response.schema.d.ts.map +1 -0
- package/build/referral/models/referral-config-response.schema.js +16 -0
- package/build/referral/models/referral-stats-response.schema.d.ts +21 -0
- package/build/referral/models/referral-stats-response.schema.d.ts.map +1 -0
- package/build/referral/models/referral-stats-response.schema.js +17 -0
- package/build/scripts/generate-openapi.d.ts +2 -0
- package/build/scripts/generate-openapi.d.ts.map +1 -0
- package/build/scripts/generate-openapi.js +536 -0
- package/build/tsconfig.tsbuildinfo +1 -0
- package/build/users/endpoints/index.d.ts +3 -0
- package/build/users/endpoints/index.d.ts.map +1 -0
- package/build/users/endpoints/index.js +18 -0
- package/build/users/endpoints/queries/get-profile.query.d.ts +13 -0
- package/build/users/endpoints/queries/get-profile.query.d.ts.map +1 -0
- package/build/users/endpoints/queries/get-profile.query.js +14 -0
- package/build/users/endpoints/queries/get-stat.query.d.ts +9 -0
- package/build/users/endpoints/queries/get-stat.query.d.ts.map +1 -0
- package/build/users/endpoints/queries/get-stat.query.js +10 -0
- package/build/users/endpoints/queries/index.d.ts +3 -0
- package/build/users/endpoints/queries/index.d.ts.map +1 -0
- package/build/users/endpoints/queries/index.js +18 -0
- package/build/users/endpoints/user.d.ts +6 -0
- package/build/users/endpoints/user.d.ts.map +1 -0
- package/build/users/endpoints/user.js +8 -0
- package/build/users/enums/index.d.ts +3 -0
- package/build/users/enums/index.d.ts.map +1 -0
- package/build/users/enums/index.js +18 -0
- package/build/users/enums/user-roles.enum.d.ts +5 -0
- package/build/users/enums/user-roles.enum.d.ts.map +1 -0
- package/build/users/enums/user-roles.enum.js +8 -0
- package/build/users/enums/user-status.enum.d.ts +6 -0
- package/build/users/enums/user-status.enum.d.ts.map +1 -0
- package/build/users/enums/user-status.enum.js +9 -0
- package/build/users/index.d.ts +3 -0
- package/build/users/index.d.ts.map +1 -0
- package/build/users/index.js +18 -0
- package/build/wallet/endpoints/index.d.ts +3 -0
- package/build/wallet/endpoints/index.d.ts.map +1 -0
- package/build/wallet/endpoints/index.js +18 -0
- package/build/wallet/endpoints/queries/get-wallet-balance.query.d.ts +20 -0
- package/build/wallet/endpoints/queries/get-wallet-balance.query.d.ts.map +1 -0
- package/build/wallet/endpoints/queries/get-wallet-balance.query.js +18 -0
- package/build/wallet/endpoints/queries/get-wallet-transactions.query.d.ts +53 -0
- package/build/wallet/endpoints/queries/get-wallet-transactions.query.d.ts.map +1 -0
- package/build/wallet/endpoints/queries/get-wallet-transactions.query.js +30 -0
- package/build/wallet/endpoints/queries/index.d.ts +3 -0
- package/build/wallet/endpoints/queries/index.d.ts.map +1 -0
- package/build/wallet/endpoints/queries/index.js +18 -0
- package/build/wallet/endpoints/wallet.d.ts +6 -0
- package/build/wallet/endpoints/wallet.d.ts.map +1 -0
- package/build/wallet/endpoints/wallet.js +8 -0
- package/build/wallet/enums/index.d.ts +4 -0
- package/build/wallet/enums/index.d.ts.map +1 -0
- package/build/wallet/enums/index.js +19 -0
- package/build/wallet/enums/wallet-transaction-source-type.enum.d.ts +10 -0
- package/build/wallet/enums/wallet-transaction-source-type.enum.d.ts.map +1 -0
- package/build/wallet/enums/wallet-transaction-source-type.enum.js +13 -0
- package/build/wallet/enums/wallet-transaction-status.enum.d.ts +7 -0
- package/build/wallet/enums/wallet-transaction-status.enum.d.ts.map +1 -0
- package/build/wallet/enums/wallet-transaction-status.enum.js +10 -0
- package/build/wallet/enums/wallet-transaction-type.enum.d.ts +7 -0
- package/build/wallet/enums/wallet-transaction-type.enum.d.ts.map +1 -0
- package/build/wallet/enums/wallet-transaction-type.enum.js +10 -0
- package/build/wallet/index.d.ts +4 -0
- package/build/wallet/index.d.ts.map +1 -0
- package/build/wallet/index.js +19 -0
- package/build/wallet/models/index.d.ts +3 -0
- package/build/wallet/models/index.d.ts.map +1 -0
- package/build/wallet/models/index.js +18 -0
- package/build/wallet/models/wallet-balance-response.schema.d.ts +7 -0
- package/build/wallet/models/wallet-balance-response.schema.d.ts.map +1 -0
- package/build/wallet/models/wallet-balance-response.schema.js +8 -0
- package/build/wallet/models/wallet-transaction-response.schema.d.ts +13 -0
- package/build/wallet/models/wallet-transaction-response.schema.d.ts.map +1 -0
- package/build/wallet/models/wallet-transaction-response.schema.js +14 -0
- package/category/endpoints/category.ts +9 -0
- package/category/endpoints/commands/create-category.command.ts +30 -0
- package/category/endpoints/commands/delete-category.command.ts +25 -0
- package/category/endpoints/commands/index.ts +3 -0
- package/category/endpoints/commands/update-category.command.ts +39 -0
- package/category/endpoints/index.ts +3 -0
- package/category/endpoints/queries/get-categories.query.ts +20 -0
- package/category/endpoints/queries/get-category-by-uuid.query.ts +26 -0
- package/category/endpoints/queries/index.ts +2 -0
- package/category/index.ts +2 -0
- package/category/models/category-response.schema.ts +11 -0
- package/category/models/index.ts +1 -0
- package/chat/endpoints/chat.ts +9 -0
- package/chat/endpoints/commands/create-chat.command.ts +24 -0
- package/chat/endpoints/commands/delete-chat.command.ts +23 -0
- package/chat/endpoints/commands/index.ts +3 -0
- package/chat/endpoints/commands/update-chat.command.ts +34 -0
- package/chat/endpoints/index.ts +3 -0
- package/chat/endpoints/queries/get-chat-by-uuid.query.ts +24 -0
- package/chat/endpoints/queries/get-chats.query.ts +25 -0
- package/chat/endpoints/queries/index.ts +2 -0
- package/chat/enums/chat-status.enum.ts +5 -0
- package/chat/enums/index.ts +1 -0
- package/chat/index.ts +3 -0
- package/chat/models/chat-response.schema.ts +24 -0
- package/chat/models/index.ts +1 -0
- package/errors/errors.ts +680 -0
- package/errors/index.ts +1 -0
- package/feedback-survey/endpoints/commands/create-feedback-survey-submission.command.ts +26 -0
- package/feedback-survey/endpoints/commands/index.ts +1 -0
- package/feedback-survey/endpoints/feedback-survey.ts +13 -0
- package/feedback-survey/endpoints/index.ts +3 -0
- package/feedback-survey/endpoints/queries/get-feedback-survey-questionnaire.query.ts +19 -0
- package/feedback-survey/endpoints/queries/get-feedback-survey-status.query.ts +16 -0
- package/feedback-survey/endpoints/queries/get-feedback-survey-submissions.query.ts +27 -0
- package/feedback-survey/endpoints/queries/index.ts +3 -0
- package/feedback-survey/enums/index.ts +1 -0
- package/feedback-survey/enums/question-type.enum.ts +6 -0
- package/feedback-survey/index.ts +3 -0
- package/feedback-survey/models/answer-input.schema.ts +10 -0
- package/feedback-survey/models/answer-response.schema.ts +13 -0
- package/feedback-survey/models/feedback-survey-submission-response.schema.ts +11 -0
- package/feedback-survey/models/index.ts +6 -0
- package/feedback-survey/models/question-option-response.schema.ts +11 -0
- package/feedback-survey/models/question-response.schema.ts +18 -0
- package/feedback-survey/models/status-response.schema.ts +7 -0
- package/file/endpoints/commands/index.ts +1 -0
- package/file/endpoints/commands/upload-file.command.ts +30 -0
- package/file/endpoints/file.ts +5 -0
- package/file/endpoints/index.ts +2 -0
- package/file/endpoints/queries/index.ts +0 -0
- package/file/enums/file.enum.ts +101 -0
- package/file/enums/index.ts +1 -0
- package/file/index.ts +3 -0
- package/file/models/file-response.schema.ts +21 -0
- package/file/models/index.ts +1 -0
- package/generation-job/endpoints/commands/create-generation-job.command.ts +30 -0
- package/generation-job/endpoints/commands/delete-generation-job.command.ts +23 -0
- package/generation-job/endpoints/commands/index.ts +3 -0
- package/generation-job/endpoints/commands/update-generation-job.command.ts +39 -0
- package/generation-job/endpoints/generation-job.ts +10 -0
- package/generation-job/endpoints/index.ts +3 -0
- package/generation-job/endpoints/queries/get-generation-job-by-uuid.query.ts +24 -0
- package/generation-job/endpoints/queries/get-generation-job-history.query.ts +38 -0
- package/generation-job/endpoints/queries/get-generation-jobs.query.ts +26 -0
- package/generation-job/endpoints/queries/index.ts +3 -0
- package/generation-job/enums/generation-job-status.enum.ts +7 -0
- package/generation-job/enums/index.ts +1 -0
- package/generation-job/index.ts +3 -0
- package/generation-job/models/generation-job-response.schema.ts +29 -0
- package/generation-job/models/index.ts +1 -0
- package/generation-job-chat/endpoints/commands/create-generation-job-chat.command.ts +27 -0
- package/generation-job-chat/endpoints/commands/delete-generation-job-chat.command.ts +23 -0
- package/generation-job-chat/endpoints/commands/index.ts +3 -0
- package/generation-job-chat/endpoints/commands/update-generation-job-chat.command.ts +34 -0
- package/generation-job-chat/endpoints/generation-job-chat.ts +9 -0
- package/generation-job-chat/endpoints/index.ts +3 -0
- package/generation-job-chat/endpoints/queries/get-generation-job-chat-by-uuid.query.ts +24 -0
- package/generation-job-chat/endpoints/queries/get-generation-job-chats.query.ts +28 -0
- package/generation-job-chat/endpoints/queries/index.ts +2 -0
- package/generation-job-chat/index.ts +2 -0
- package/generation-job-chat/models/generation-job-chat-response.schema.ts +14 -0
- package/generation-job-chat/models/index.ts +1 -0
- package/generation-model/endpoints/generation-model.ts +7 -0
- package/generation-model/endpoints/index.ts +2 -0
- package/generation-model/endpoints/queries/get-generation-models-by-type.query.ts +25 -0
- package/generation-model/endpoints/queries/get-generation-models.query.ts +18 -0
- package/generation-model/endpoints/queries/get-generation-price.query.ts +30 -0
- package/generation-model/endpoints/queries/index.ts +3 -0
- package/generation-model/enums/generation-type.enum.ts +4 -0
- package/generation-model/enums/index.ts +1 -0
- package/generation-model/index.ts +3 -0
- package/generation-model/models/generation-model-response.schema.ts +25 -0
- package/generation-model/models/index.ts +2 -0
- package/generation-model/models/pricing-policy.schema.ts +35 -0
- package/index.ts +16 -0
- package/message/endpoints/commands/create-message.command.ts +50 -0
- package/message/endpoints/commands/delete-message.command.ts +23 -0
- package/message/endpoints/commands/index.ts +2 -0
- package/message/endpoints/index.ts +3 -0
- package/message/endpoints/message.ts +9 -0
- package/message/endpoints/queries/get-message-by-uuid.query.ts +24 -0
- package/message/endpoints/queries/get-message-price-estimate.query.ts +35 -0
- package/message/endpoints/queries/get-messages-by-chat.query.ts +31 -0
- package/message/endpoints/queries/index.ts +3 -0
- package/message/enums/index.ts +2 -0
- package/message/enums/message-roles.enum.ts +4 -0
- package/message/enums/message-status.enum.ts +9 -0
- package/message/index.ts +3 -0
- package/message/models/index.ts +1 -0
- package/message/models/message-response.schema.ts +17 -0
- package/package.json +15 -0
- package/payment/endpoints/commands/create-payment.command.ts +41 -0
- package/payment/endpoints/commands/index.ts +1 -0
- package/payment/endpoints/index.ts +2 -0
- package/payment/endpoints/payment.ts +5 -0
- package/payment/enums/index.ts +1 -0
- package/payment/enums/payment-status.enum.ts +6 -0
- package/payment/index.ts +3 -0
- package/payment/models/index.ts +1 -0
- package/payment/models/payment-response.schema.ts +53 -0
- package/referral/endpoints/index.ts +1 -0
- package/referral/endpoints/referral.ts +7 -0
- package/referral/enums/bonus-history-filter.enum.ts +5 -0
- package/referral/enums/index.ts +3 -0
- package/referral/enums/referral-reward-status.enum.ts +5 -0
- package/referral/enums/referral-status.enum.ts +5 -0
- package/referral/index.ts +3 -0
- package/referral/models/bonus-history-response.schema.ts +36 -0
- package/referral/models/index.ts +4 -0
- package/referral/models/partner-referral-rate-config.schema.ts +11 -0
- package/referral/models/referral-config-response.schema.ts +19 -0
- package/referral/models/referral-stats-response.schema.ts +20 -0
- package/scripts/generate-openapi.ts +700 -0
- package/tsconfig.json +20 -0
- package/users/endpoints/index.ts +2 -0
- package/users/endpoints/queries/get-profile.query.ts +14 -0
- package/users/endpoints/queries/get-stat.query.ts +10 -0
- package/users/endpoints/queries/index.ts +2 -0
- package/users/endpoints/user.ts +6 -0
- package/users/enums/index.ts +2 -0
- package/users/enums/user-roles.enum.ts +4 -0
- package/users/enums/user-status.enum.ts +5 -0
- package/users/index.ts +2 -0
- package/wallet/endpoints/index.ts +2 -0
- package/wallet/endpoints/queries/get-wallet-balance.query.ts +17 -0
- package/wallet/endpoints/queries/get-wallet-transactions.query.ts +30 -0
- package/wallet/endpoints/queries/index.ts +2 -0
- package/wallet/endpoints/wallet.ts +6 -0
- package/wallet/enums/index.ts +3 -0
- package/wallet/enums/wallet-transaction-source-type.enum.ts +9 -0
- package/wallet/enums/wallet-transaction-status.enum.ts +6 -0
- package/wallet/enums/wallet-transaction-type.enum.ts +6 -0
- package/wallet/index.ts +3 -0
- package/wallet/models/index.ts +2 -0
- package/wallet/models/wallet-balance-response.schema.ts +8 -0
- package/wallet/models/wallet-transaction-response.schema.ts +14 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./question-option-response.schema"), exports);
|
|
18
|
+
__exportStar(require("./question-response.schema"), exports);
|
|
19
|
+
__exportStar(require("./answer-input.schema"), exports);
|
|
20
|
+
__exportStar(require("./answer-response.schema"), exports);
|
|
21
|
+
__exportStar(require("./feedback-survey-submission-response.schema"), exports);
|
|
22
|
+
__exportStar(require("./status-response.schema"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const FeedbackSurveyQuestionOptionResponseSchema: z.ZodObject<{
|
|
3
|
+
uuid: z.ZodUUID;
|
|
4
|
+
code: z.ZodString;
|
|
5
|
+
label: z.ZodString;
|
|
6
|
+
order: z.ZodInt;
|
|
7
|
+
allowsFreeText: z.ZodBoolean;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
export type FeedbackSurveyQuestionOptionResponseSchemaType = z.infer<typeof FeedbackSurveyQuestionOptionResponseSchema>;
|
|
10
|
+
//# sourceMappingURL=question-option-response.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question-option-response.schema.d.ts","sourceRoot":"","sources":["../../../feedback-survey/models/question-option-response.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0CAA0C;;;;;;iBAMrD,CAAC;AAEH,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0CAA0C,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeedbackSurveyQuestionOptionResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.FeedbackSurveyQuestionOptionResponseSchema = zod_1.z.object({
|
|
6
|
+
uuid: zod_1.z.uuid(),
|
|
7
|
+
code: zod_1.z.string(),
|
|
8
|
+
label: zod_1.z.string(),
|
|
9
|
+
order: zod_1.z.int(),
|
|
10
|
+
allowsFreeText: zod_1.z.boolean(),
|
|
11
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { FEEDBACK_SURVEY_QUESTION_TYPE } from '../enums';
|
|
3
|
+
export declare const FeedbackSurveyQuestionResponseSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodUUID;
|
|
5
|
+
code: z.ZodString;
|
|
6
|
+
type: z.ZodEnum<typeof FEEDBACK_SURVEY_QUESTION_TYPE>;
|
|
7
|
+
text: z.ZodString;
|
|
8
|
+
order: z.ZodInt;
|
|
9
|
+
required: z.ZodBoolean;
|
|
10
|
+
minScale: z.ZodNullable<z.ZodInt>;
|
|
11
|
+
maxScale: z.ZodNullable<z.ZodInt>;
|
|
12
|
+
maxLength: z.ZodNullable<z.ZodInt>;
|
|
13
|
+
options: z.ZodArray<z.ZodObject<{
|
|
14
|
+
uuid: z.ZodUUID;
|
|
15
|
+
code: z.ZodString;
|
|
16
|
+
label: z.ZodString;
|
|
17
|
+
order: z.ZodInt;
|
|
18
|
+
allowsFreeText: z.ZodBoolean;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export type FeedbackSurveyQuestionResponseSchemaType = z.infer<typeof FeedbackSurveyQuestionResponseSchema>;
|
|
22
|
+
//# sourceMappingURL=question-response.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question-response.schema.d.ts","sourceRoot":"","sources":["../../../feedback-survey/models/question-response.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAGzD,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;iBAW/C,CAAC;AAEH,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeedbackSurveyQuestionResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const enums_1 = require("../enums");
|
|
6
|
+
const question_option_response_schema_1 = require("./question-option-response.schema");
|
|
7
|
+
exports.FeedbackSurveyQuestionResponseSchema = zod_1.z.object({
|
|
8
|
+
uuid: zod_1.z.uuid(),
|
|
9
|
+
code: zod_1.z.string(),
|
|
10
|
+
type: zod_1.z.enum(enums_1.FEEDBACK_SURVEY_QUESTION_TYPE),
|
|
11
|
+
text: zod_1.z.string(),
|
|
12
|
+
order: zod_1.z.int(),
|
|
13
|
+
required: zod_1.z.boolean(),
|
|
14
|
+
minScale: zod_1.z.int().nullable(),
|
|
15
|
+
maxScale: zod_1.z.int().nullable(),
|
|
16
|
+
maxLength: zod_1.z.int().nullable(),
|
|
17
|
+
options: zod_1.z.array(question_option_response_schema_1.FeedbackSurveyQuestionOptionResponseSchema),
|
|
18
|
+
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const FeedbackSurveyStatusResponseSchema: z.ZodObject<{
|
|
3
|
+
submitted: z.ZodBoolean;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export type FeedbackSurveyStatusResponseSchemaType = z.infer<typeof FeedbackSurveyStatusResponseSchema>;
|
|
6
|
+
//# sourceMappingURL=status-response.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-response.schema.d.ts","sourceRoot":"","sources":["../../../feedback-survey/models/status-response.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,kCAAkC;;iBAE7C,CAAC;AAEH,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../file/endpoints/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./upload-file.command"), exports);
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HTTP_METHODS } from '../../../_common';
|
|
3
|
+
export declare const UploadFileCommandBody: z.ZodObject<{
|
|
4
|
+
file: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const UploadFileCommandResponse: z.ZodObject<{
|
|
7
|
+
data: z.ZodObject<{
|
|
8
|
+
uuid: z.ZodUUID;
|
|
9
|
+
fileName: z.ZodString;
|
|
10
|
+
fileUrl: z.ZodString;
|
|
11
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
12
|
+
mimeType: z.ZodString;
|
|
13
|
+
fileType: z.ZodString;
|
|
14
|
+
extention: z.ZodNullable<z.ZodString>;
|
|
15
|
+
size: z.ZodNumber;
|
|
16
|
+
userId: z.ZodUUID;
|
|
17
|
+
messageId: z.ZodNullable<z.ZodUUID>;
|
|
18
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
content: z.ZodNullable<z.ZodString>;
|
|
20
|
+
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
createdAt: z.ZodDate;
|
|
22
|
+
updatedAt: z.ZodDate;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
export declare const UploadFileCommand: {
|
|
26
|
+
method: HTTP_METHODS.POST;
|
|
27
|
+
path: "upload";
|
|
28
|
+
summary: string;
|
|
29
|
+
request: {
|
|
30
|
+
body: z.ZodObject<{
|
|
31
|
+
file: z.ZodString;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
};
|
|
34
|
+
responses: {
|
|
35
|
+
201: z.ZodObject<{
|
|
36
|
+
data: z.ZodObject<{
|
|
37
|
+
uuid: z.ZodUUID;
|
|
38
|
+
fileName: z.ZodString;
|
|
39
|
+
fileUrl: z.ZodString;
|
|
40
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
41
|
+
mimeType: z.ZodString;
|
|
42
|
+
fileType: z.ZodString;
|
|
43
|
+
extention: z.ZodNullable<z.ZodString>;
|
|
44
|
+
size: z.ZodNumber;
|
|
45
|
+
userId: z.ZodUUID;
|
|
46
|
+
messageId: z.ZodNullable<z.ZodUUID>;
|
|
47
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
48
|
+
content: z.ZodNullable<z.ZodString>;
|
|
49
|
+
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
50
|
+
createdAt: z.ZodDate;
|
|
51
|
+
updatedAt: z.ZodDate;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
400: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
55
|
+
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
56
|
+
500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=upload-file.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload-file.command.d.ts","sourceRoot":"","sources":["../../../../file/endpoints/commands/upload-file.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,qBAAqB;;iBAKhC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;iBAEpC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa5B,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UploadFileCommand = exports.UploadFileCommandResponse = exports.UploadFileCommandBody = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const _common_1 = require("../../../_common");
|
|
6
|
+
const models_1 = require("../../models");
|
|
7
|
+
const file_1 = require("../file");
|
|
8
|
+
exports.UploadFileCommandBody = zod_1.z.object({
|
|
9
|
+
file: zod_1.z.string().meta({
|
|
10
|
+
description: 'File binary payload',
|
|
11
|
+
format: 'binary',
|
|
12
|
+
}),
|
|
13
|
+
});
|
|
14
|
+
exports.UploadFileCommandResponse = zod_1.z.object({
|
|
15
|
+
data: models_1.FileResponseSchema,
|
|
16
|
+
});
|
|
17
|
+
exports.UploadFileCommand = (0, _common_1.defineContract)({
|
|
18
|
+
method: _common_1.HTTP_METHODS.POST,
|
|
19
|
+
path: file_1.FILE_ROUTES.UPLOAD,
|
|
20
|
+
summary: 'Upload file',
|
|
21
|
+
request: {
|
|
22
|
+
body: exports.UploadFileCommandBody,
|
|
23
|
+
},
|
|
24
|
+
responses: {
|
|
25
|
+
201: exports.UploadFileCommandResponse,
|
|
26
|
+
400: _common_1.HttpErrorResponseSchema,
|
|
27
|
+
401: _common_1.HttpErrorResponseSchema,
|
|
28
|
+
500: _common_1.HttpErrorResponseSchema,
|
|
29
|
+
},
|
|
30
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../file/endpoints/file.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAG,OAAgB,CAAC;AAEhD,eAAO,MAAM,WAAW;;CAEd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../file/endpoints/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./file"), exports);
|
|
18
|
+
__exportStar(require("./commands"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../file/endpoints/queries/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum FILE_TYPE {
|
|
2
|
+
IMAGE = "image",
|
|
3
|
+
TEXT = "text",
|
|
4
|
+
DOCUMENT = "document",
|
|
5
|
+
AUDIO = "audio",
|
|
6
|
+
VIDEO = "video",
|
|
7
|
+
OTHER = "other"
|
|
8
|
+
}
|
|
9
|
+
export declare const MAX_IMAGE_UPLOAD_SIZE: number;
|
|
10
|
+
export declare const MAX_TEXT_UPLOAD_SIZE: number;
|
|
11
|
+
export declare const MAX_DOCUMENT_UPLOAD_SIZE: number;
|
|
12
|
+
export declare const MAX_AUDIO_UPLOAD_SIZE: number;
|
|
13
|
+
export declare const MAX_VIDEO_UPLOAD_SIZE: number;
|
|
14
|
+
export declare const SUPPORTED_FILES: Map<string, {
|
|
15
|
+
type: FILE_TYPE;
|
|
16
|
+
size: number;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const DELETE_UNUSED_FILES_AFTER_HOURS = 12;
|
|
19
|
+
//# sourceMappingURL=file.enum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.enum.d.ts","sourceRoot":"","sources":["../../../file/enums/file.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACjB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;CAClB;AAED,eAAO,MAAM,qBAAqB,QAAkB,CAAC;AACrD,eAAO,MAAM,oBAAoB,QAAmB,CAAC;AACrD,eAAO,MAAM,wBAAwB,QAAmB,CAAC;AACzD,eAAO,MAAM,qBAAqB,QAAmB,CAAC;AACtD,eAAO,MAAM,qBAAqB,QAAoB,CAAC;AAEvD,eAAO,MAAM,eAAe;UAGd,SAAS;UACT,MAAM;EA+ElB,CAAC;AAEH,eAAO,MAAM,+BAA+B,KAAK,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DELETE_UNUSED_FILES_AFTER_HOURS = exports.SUPPORTED_FILES = exports.MAX_VIDEO_UPLOAD_SIZE = exports.MAX_AUDIO_UPLOAD_SIZE = exports.MAX_DOCUMENT_UPLOAD_SIZE = exports.MAX_TEXT_UPLOAD_SIZE = exports.MAX_IMAGE_UPLOAD_SIZE = exports.FILE_TYPE = void 0;
|
|
4
|
+
var FILE_TYPE;
|
|
5
|
+
(function (FILE_TYPE) {
|
|
6
|
+
FILE_TYPE["IMAGE"] = "image";
|
|
7
|
+
FILE_TYPE["TEXT"] = "text";
|
|
8
|
+
FILE_TYPE["DOCUMENT"] = "document";
|
|
9
|
+
FILE_TYPE["AUDIO"] = "audio";
|
|
10
|
+
FILE_TYPE["VIDEO"] = "video";
|
|
11
|
+
FILE_TYPE["OTHER"] = "other";
|
|
12
|
+
})(FILE_TYPE || (exports.FILE_TYPE = FILE_TYPE = {}));
|
|
13
|
+
exports.MAX_IMAGE_UPLOAD_SIZE = 5 * 1024 * 1024; // 5 MB
|
|
14
|
+
exports.MAX_TEXT_UPLOAD_SIZE = 10 * 1024 * 1024; // 10 MB
|
|
15
|
+
exports.MAX_DOCUMENT_UPLOAD_SIZE = 20 * 1024 * 1024; // 20 MB
|
|
16
|
+
exports.MAX_AUDIO_UPLOAD_SIZE = 50 * 1024 * 1024; // 50 MB
|
|
17
|
+
exports.MAX_VIDEO_UPLOAD_SIZE = 100 * 1024 * 1024; // 100 MB
|
|
18
|
+
exports.SUPPORTED_FILES = new Map([
|
|
19
|
+
['application/json', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
20
|
+
['application/x-ndjson', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
21
|
+
['application/x-yaml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
22
|
+
['application/toml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
23
|
+
['application/xml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
24
|
+
['application/graphql', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
25
|
+
['text/csv', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
26
|
+
['text/tab-separated-values', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
27
|
+
['text/markdown', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
28
|
+
['text/x-markdown', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
29
|
+
['text/yaml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
30
|
+
['text/x-yaml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
31
|
+
['text/xml', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
32
|
+
['text/plain', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
33
|
+
['text/html', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
34
|
+
['text/css', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
35
|
+
['text/x-scss', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
36
|
+
['text/javascript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
37
|
+
['application/javascript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
38
|
+
['text/typescript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
39
|
+
['application/typescript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
40
|
+
['text/x-python', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
41
|
+
['text/x-go', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
42
|
+
['text/x-ruby', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
43
|
+
['text/x-php', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
44
|
+
['text/x-c', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
45
|
+
['text/x-c++', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
46
|
+
['text/x-java-source', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
47
|
+
['text/x-sql', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
48
|
+
['application/x-sh', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
49
|
+
['text/x-shellscript', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
50
|
+
['text/x-ini', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
51
|
+
['text/x-properties', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
52
|
+
['text/x-config', { type: FILE_TYPE.TEXT, size: exports.MAX_TEXT_UPLOAD_SIZE }],
|
|
53
|
+
['image/png', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE }],
|
|
54
|
+
['image/jpeg', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE }],
|
|
55
|
+
['image/webp', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE }],
|
|
56
|
+
['image/avif', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE }],
|
|
57
|
+
['image/gif', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE }],
|
|
58
|
+
['image/svg+xml', { type: FILE_TYPE.IMAGE, size: exports.MAX_IMAGE_UPLOAD_SIZE }],
|
|
59
|
+
['application/pdf', { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE }],
|
|
60
|
+
[
|
|
61
|
+
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
62
|
+
{ type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE },
|
|
63
|
+
],
|
|
64
|
+
['application/vnd.ms-excel', { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE }],
|
|
65
|
+
[
|
|
66
|
+
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
67
|
+
{ type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE },
|
|
68
|
+
],
|
|
69
|
+
[
|
|
70
|
+
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
71
|
+
{ type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE },
|
|
72
|
+
],
|
|
73
|
+
['application/rtf', { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE }],
|
|
74
|
+
['text/rtf', { type: FILE_TYPE.DOCUMENT, size: exports.MAX_DOCUMENT_UPLOAD_SIZE }],
|
|
75
|
+
['audio/mpeg', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
|
|
76
|
+
['audio/mp4', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
|
|
77
|
+
['audio/wav', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
|
|
78
|
+
['audio/x-wav', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
|
|
79
|
+
['audio/webm', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
|
|
80
|
+
['audio/ogg', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
|
|
81
|
+
['audio/aac', { type: FILE_TYPE.AUDIO, size: exports.MAX_AUDIO_UPLOAD_SIZE }],
|
|
82
|
+
['video/mp4', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE }],
|
|
83
|
+
['video/mpeg', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE }],
|
|
84
|
+
['video/webm', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE }],
|
|
85
|
+
['video/quicktime', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE }],
|
|
86
|
+
['video/ogg', { type: FILE_TYPE.VIDEO, size: exports.MAX_VIDEO_UPLOAD_SIZE }],
|
|
87
|
+
]);
|
|
88
|
+
exports.DELETE_UNUSED_FILES_AFTER_HOURS = 12;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../file/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./file.enum"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../file/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./models"), exports);
|
|
18
|
+
__exportStar(require("./endpoints"), exports);
|
|
19
|
+
__exportStar(require("./enums"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const FileResponseSchema: z.ZodObject<{
|
|
3
|
+
uuid: z.ZodUUID;
|
|
4
|
+
fileName: z.ZodString;
|
|
5
|
+
fileUrl: z.ZodString;
|
|
6
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
7
|
+
mimeType: z.ZodString;
|
|
8
|
+
fileType: z.ZodString;
|
|
9
|
+
extention: z.ZodNullable<z.ZodString>;
|
|
10
|
+
size: z.ZodNumber;
|
|
11
|
+
userId: z.ZodUUID;
|
|
12
|
+
messageId: z.ZodNullable<z.ZodUUID>;
|
|
13
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
content: z.ZodNullable<z.ZodString>;
|
|
15
|
+
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
createdAt: z.ZodDate;
|
|
17
|
+
updatedAt: z.ZodDate;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export type FileResponseSchemaType = z.infer<typeof FileResponseSchema>;
|
|
20
|
+
//# sourceMappingURL=file-response.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-response.schema.d.ts","sourceRoot":"","sources":["../../../file/models/file-response.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;iBAgB7B,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FileResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.FileResponseSchema = zod_1.z.object({
|
|
6
|
+
uuid: zod_1.z.uuid(),
|
|
7
|
+
fileName: zod_1.z.string(),
|
|
8
|
+
fileUrl: zod_1.z.string(),
|
|
9
|
+
thumbnailUrl: zod_1.z.string().nullable(),
|
|
10
|
+
mimeType: zod_1.z.string(),
|
|
11
|
+
fileType: zod_1.z.string(),
|
|
12
|
+
extention: zod_1.z.string().nullable(),
|
|
13
|
+
size: zod_1.z.number().int().nonnegative(),
|
|
14
|
+
userId: zod_1.z.uuid(),
|
|
15
|
+
messageId: zod_1.z.uuid().nullable(),
|
|
16
|
+
durationMs: zod_1.z.number().int().nonnegative().nullable(),
|
|
17
|
+
content: zod_1.z.string().nullable(),
|
|
18
|
+
contentLength: zod_1.z.number().int().nonnegative().nullable(),
|
|
19
|
+
createdAt: zod_1.z.date(),
|
|
20
|
+
updatedAt: zod_1.z.date(),
|
|
21
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../file/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./file-response.schema"), exports);
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HTTP_METHODS } from '../../../_common';
|
|
3
|
+
export declare const CreateGenerationJobCommandBody: z.ZodObject<{
|
|
4
|
+
jobChatId: z.ZodOptional<z.ZodUUID>;
|
|
5
|
+
modelId: z.ZodUUID;
|
|
6
|
+
generationType: z.ZodEnum<typeof import("../../../generation-model").GENERATION_TYPE>;
|
|
7
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
+
attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUUID>>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
export declare const CreateGenerationJobCommandResponse: z.ZodObject<{
|
|
11
|
+
uuid: z.ZodUUID;
|
|
12
|
+
jobChatId: z.ZodUUID;
|
|
13
|
+
modelId: z.ZodUUID;
|
|
14
|
+
generationType: z.ZodEnum<typeof import("../../../generation-model").GENERATION_TYPE>;
|
|
15
|
+
status: z.ZodEnum<typeof import("../..").GENERATION_JOB_STATUS>;
|
|
16
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
17
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
18
|
+
uuid: z.ZodUUID;
|
|
19
|
+
url: z.ZodURL;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
22
|
+
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
23
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
24
|
+
createdAt: z.ZodISODateTime;
|
|
25
|
+
updatedAt: z.ZodISODateTime;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
export declare const CreateGenerationJobCommand: {
|
|
28
|
+
method: HTTP_METHODS.POST;
|
|
29
|
+
path: "";
|
|
30
|
+
summary: string;
|
|
31
|
+
request: {
|
|
32
|
+
body: z.ZodObject<{
|
|
33
|
+
jobChatId: z.ZodOptional<z.ZodUUID>;
|
|
34
|
+
modelId: z.ZodUUID;
|
|
35
|
+
generationType: z.ZodEnum<typeof import("../../../generation-model").GENERATION_TYPE>;
|
|
36
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
37
|
+
attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUUID>>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
};
|
|
40
|
+
responses: {
|
|
41
|
+
201: z.ZodObject<{
|
|
42
|
+
uuid: z.ZodUUID;
|
|
43
|
+
jobChatId: z.ZodUUID;
|
|
44
|
+
modelId: z.ZodUUID;
|
|
45
|
+
generationType: z.ZodEnum<typeof import("../../../generation-model").GENERATION_TYPE>;
|
|
46
|
+
status: z.ZodEnum<typeof import("../..").GENERATION_JOB_STATUS>;
|
|
47
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
48
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
49
|
+
uuid: z.ZodUUID;
|
|
50
|
+
url: z.ZodURL;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
53
|
+
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
54
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
55
|
+
createdAt: z.ZodISODateTime;
|
|
56
|
+
updatedAt: z.ZodISODateTime;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
400: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
59
|
+
404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
60
|
+
500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=create-generation-job.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-generation-job.command.d.ts","sourceRoot":"","sources":["../../../../generation-job/endpoints/commands/create-generation-job.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAKzF,eAAO,MAAM,8BAA8B;;;;;;iBAMzC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;iBAA8B,CAAC;AAE9E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAarC,CAAC"}
|