@ai-grator/api 0.2.66 → 0.3.67
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/admin/endpoints/admin.ts +16 -0
- package/admin/endpoints/commands/create-admin-trend-category.command.ts +29 -0
- package/admin/endpoints/commands/create-admin-trend.command.ts +30 -0
- package/admin/endpoints/commands/delete-admin-trend-category.command.ts +28 -0
- package/admin/endpoints/commands/delete-admin-trend.command.ts +28 -0
- package/admin/endpoints/commands/index.ts +9 -0
- package/admin/endpoints/commands/probe-admin-trend-reference-video.command.ts +37 -0
- package/admin/endpoints/commands/reorder-admin-trends.command.ts +31 -0
- package/admin/endpoints/commands/update-admin-trend-category.command.ts +36 -0
- package/admin/endpoints/commands/update-admin-trend-status.command.ts +37 -0
- package/admin/endpoints/commands/update-admin-trend.command.ts +36 -0
- package/admin/endpoints/queries/get-admin-trend-categories.query.ts +22 -0
- package/admin/endpoints/queries/get-admin-trend.query.ts +29 -0
- package/admin/endpoints/queries/get-admin-trends.query.ts +36 -0
- package/admin/endpoints/queries/index.ts +3 -0
- package/admin/models/admin-trend-category-response.schema.ts +11 -0
- package/admin/models/admin-trend-response.schema.ts +61 -0
- package/admin/models/index.ts +2 -0
- package/build/admin/endpoints/admin.d.ts +12 -0
- package/build/admin/endpoints/admin.d.ts.map +1 -1
- package/build/admin/endpoints/admin.js +14 -0
- package/build/admin/endpoints/commands/create-admin-trend-category.command.d.ts +41 -0
- package/build/admin/endpoints/commands/create-admin-trend-category.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/create-admin-trend-category.command.js +25 -0
- package/build/admin/endpoints/commands/create-admin-trend.command.d.ts +144 -0
- package/build/admin/endpoints/commands/create-admin-trend.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/create-admin-trend.command.js +26 -0
- package/build/admin/endpoints/commands/delete-admin-trend-category.command.d.ts +26 -0
- package/build/admin/endpoints/commands/delete-admin-trend-category.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/delete-admin-trend-category.command.js +25 -0
- package/build/admin/endpoints/commands/delete-admin-trend.command.d.ts +26 -0
- package/build/admin/endpoints/commands/delete-admin-trend.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/delete-admin-trend.command.js +25 -0
- package/build/admin/endpoints/commands/index.d.ts +9 -0
- package/build/admin/endpoints/commands/index.d.ts.map +1 -1
- package/build/admin/endpoints/commands/index.js +9 -0
- package/build/admin/endpoints/commands/probe-admin-trend-reference-video.command.d.ts +37 -0
- package/build/admin/endpoints/commands/probe-admin-trend-reference-video.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/probe-admin-trend-reference-video.command.js +32 -0
- package/build/admin/endpoints/commands/reorder-admin-trends.command.d.ts +26 -0
- package/build/admin/endpoints/commands/reorder-admin-trends.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/reorder-admin-trends.command.js +28 -0
- package/build/admin/endpoints/commands/update-admin-trend-category.command.d.ts +49 -0
- package/build/admin/endpoints/commands/update-admin-trend-category.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/update-admin-trend-category.command.js +31 -0
- package/build/admin/endpoints/commands/update-admin-trend-status.command.d.ts +118 -0
- package/build/admin/endpoints/commands/update-admin-trend-status.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/update-admin-trend-status.command.js +32 -0
- package/build/admin/endpoints/commands/update-admin-trend.command.d.ts +151 -0
- package/build/admin/endpoints/commands/update-admin-trend.command.d.ts.map +1 -0
- package/build/admin/endpoints/commands/update-admin-trend.command.js +31 -0
- package/build/admin/endpoints/queries/get-admin-trend-categories.query.d.ts +32 -0
- package/build/admin/endpoints/queries/get-admin-trend-categories.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-trend-categories.query.js +21 -0
- package/build/admin/endpoints/queries/get-admin-trend.query.d.ts +110 -0
- package/build/admin/endpoints/queries/get-admin-trend.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-trend.query.js +26 -0
- package/build/admin/endpoints/queries/get-admin-trends.query.d.ts +63 -0
- package/build/admin/endpoints/queries/get-admin-trends.query.d.ts.map +1 -0
- package/build/admin/endpoints/queries/get-admin-trends.query.js +33 -0
- package/build/admin/endpoints/queries/index.d.ts +3 -0
- package/build/admin/endpoints/queries/index.d.ts.map +1 -1
- package/build/admin/endpoints/queries/index.js +3 -0
- package/build/admin/models/admin-trend-category-response.schema.d.ts +10 -0
- package/build/admin/models/admin-trend-category-response.schema.d.ts.map +1 -0
- package/build/admin/models/admin-trend-category-response.schema.js +11 -0
- package/build/admin/models/admin-trend-response.schema.d.ts +79 -0
- package/build/admin/models/admin-trend-response.schema.d.ts.map +1 -0
- package/build/admin/models/admin-trend-response.schema.js +53 -0
- package/build/admin/models/index.d.ts +2 -0
- package/build/admin/models/index.d.ts.map +1 -1
- package/build/admin/models/index.js +2 -0
- package/build/errors/errors.d.ts +216 -0
- package/build/errors/errors.d.ts.map +1 -1
- package/build/errors/errors.js +216 -0
- package/build/generation-job/endpoints/commands/create-generation-job.command.d.ts +2 -2
- package/build/generation-job/endpoints/commands/update-generation-job.command.d.ts +2 -2
- package/build/generation-job/endpoints/queries/get-generation-job-by-uuid.query.d.ts +2 -2
- package/build/generation-job/endpoints/queries/get-generation-job-history.query.d.ts +3 -3
- package/build/generation-job/endpoints/queries/get-generation-jobs.query.d.ts +2 -2
- package/build/generation-job/models/generation-job-response.schema.d.ts +1 -1
- package/build/generation-job/models/generation-job-response.schema.js +1 -1
- package/build/generation-job-chat/endpoints/commands/create-generation-job-chat.command.d.ts +2 -0
- package/build/generation-job-chat/endpoints/commands/create-generation-job-chat.command.d.ts.map +1 -1
- package/build/generation-job-chat/endpoints/commands/update-generation-job-chat.command.d.ts +2 -0
- package/build/generation-job-chat/endpoints/commands/update-generation-job-chat.command.d.ts.map +1 -1
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chat-by-uuid.query.d.ts +2 -0
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chat-by-uuid.query.d.ts.map +1 -1
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chats.query.d.ts +2 -0
- package/build/generation-job-chat/endpoints/queries/get-generation-job-chats.query.d.ts.map +1 -1
- package/build/generation-job-chat/models/generation-job-chat-response.schema.d.ts +1 -0
- package/build/generation-job-chat/models/generation-job-chat-response.schema.d.ts.map +1 -1
- package/build/generation-job-chat/models/generation-job-chat-response.schema.js +1 -0
- package/build/generation-model/endpoints/queries/get-generation-models-by-type.query.d.ts +2 -0
- package/build/generation-model/endpoints/queries/get-generation-models-by-type.query.d.ts.map +1 -1
- package/build/generation-model/endpoints/queries/get-generation-models.query.d.ts +2 -0
- package/build/generation-model/endpoints/queries/get-generation-models.query.d.ts.map +1 -1
- package/build/generation-model/models/generation-model-response.schema.d.ts +3 -0
- package/build/generation-model/models/generation-model-response.schema.d.ts.map +1 -1
- package/build/generation-model/models/generation-model-response.schema.js +1 -0
- package/build/index.d.ts +2 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +2 -0
- package/build/referral/endpoints/referral.d.ts +3 -0
- package/build/referral/endpoints/referral.d.ts.map +1 -1
- package/build/referral/endpoints/referral.js +3 -0
- package/build/referral/models/index.d.ts +1 -0
- package/build/referral/models/index.d.ts.map +1 -1
- package/build/referral/models/index.js +1 -0
- package/build/referral/models/referral-advertising-stats.schema.d.ts +101 -0
- package/build/referral/models/referral-advertising-stats.schema.d.ts.map +1 -0
- package/build/referral/models/referral-advertising-stats.schema.js +62 -0
- package/build/trend/endpoints/commands/generate-trend.command.d.ts +142 -0
- package/build/trend/endpoints/commands/generate-trend.command.d.ts.map +1 -0
- package/build/trend/endpoints/commands/generate-trend.command.js +54 -0
- package/build/trend/endpoints/commands/index.d.ts +2 -0
- package/build/trend/endpoints/commands/index.d.ts.map +1 -0
- package/build/trend/endpoints/commands/index.js +17 -0
- package/build/trend/endpoints/index.d.ts +4 -0
- package/build/trend/endpoints/index.d.ts.map +1 -0
- package/build/trend/endpoints/index.js +19 -0
- package/build/trend/endpoints/queries/get-public-trend-by-slug.query.d.ts +92 -0
- package/build/trend/endpoints/queries/get-public-trend-by-slug.query.d.ts.map +1 -0
- package/build/trend/endpoints/queries/get-public-trend-by-slug.query.js +24 -0
- package/build/trend/endpoints/queries/index.d.ts +4 -0
- package/build/trend/endpoints/queries/index.d.ts.map +1 -0
- package/build/trend/endpoints/queries/index.js +19 -0
- package/build/trend/endpoints/queries/list-public-trend-categories.query.d.ts +26 -0
- package/build/trend/endpoints/queries/list-public-trend-categories.query.d.ts.map +1 -0
- package/build/trend/endpoints/queries/list-public-trend-categories.query.js +19 -0
- package/build/trend/endpoints/queries/list-public-trends.query.d.ts +69 -0
- package/build/trend/endpoints/queries/list-public-trends.query.d.ts.map +1 -0
- package/build/trend/endpoints/queries/list-public-trends.query.js +28 -0
- package/build/trend/endpoints/trend.d.ts +11 -0
- package/build/trend/endpoints/trend.d.ts.map +1 -0
- package/build/trend/endpoints/trend.js +13 -0
- package/build/trend/enums/index.d.ts +6 -0
- package/build/trend/enums/index.d.ts.map +1 -0
- package/build/trend/enums/index.js +21 -0
- package/build/trend/enums/trend-aspect-ratio.enum.d.ts +9 -0
- package/build/trend/enums/trend-aspect-ratio.enum.d.ts.map +1 -0
- package/build/trend/enums/trend-aspect-ratio.enum.js +12 -0
- package/build/trend/enums/trend-field-type.enum.d.ts +5 -0
- package/build/trend/enums/trend-field-type.enum.d.ts.map +1 -0
- package/build/trend/enums/trend-field-type.enum.js +8 -0
- package/build/trend/enums/trend-limits.d.ts +11 -0
- package/build/trend/enums/trend-limits.d.ts.map +1 -0
- package/build/trend/enums/trend-limits.js +13 -0
- package/build/trend/enums/trend-quality.enum.d.ts +7 -0
- package/build/trend/enums/trend-quality.enum.d.ts.map +1 -0
- package/build/trend/enums/trend-quality.enum.js +10 -0
- package/build/trend/enums/trend-status.enum.d.ts +5 -0
- package/build/trend/enums/trend-status.enum.d.ts.map +1 -0
- package/build/trend/enums/trend-status.enum.js +8 -0
- package/build/trend/helpers/index.d.ts +2 -0
- package/build/trend/helpers/index.d.ts.map +1 -0
- package/build/trend/helpers/index.js +17 -0
- package/build/trend/helpers/trend-field-reference.helper.d.ts +4 -0
- package/build/trend/helpers/trend-field-reference.helper.d.ts.map +1 -0
- package/build/trend/helpers/trend-field-reference.helper.js +12 -0
- package/build/trend/index.d.ts +5 -0
- package/build/trend/index.d.ts.map +1 -0
- package/build/trend/index.js +20 -0
- package/build/trend/models/index.d.ts +5 -0
- package/build/trend/models/index.d.ts.map +1 -0
- package/build/trend/models/index.js +20 -0
- package/build/trend/models/public-trend.schema.d.ts +88 -0
- package/build/trend/models/public-trend.schema.d.ts.map +1 -0
- package/build/trend/models/public-trend.schema.js +44 -0
- package/build/trend/models/trend-category-input.schema.d.ts +7 -0
- package/build/trend/models/trend-category-input.schema.d.ts.map +1 -0
- package/build/trend/models/trend-category-input.schema.js +10 -0
- package/build/trend/models/trend-common.schema.d.ts +10 -0
- package/build/trend/models/trend-common.schema.d.ts.map +1 -0
- package/build/trend/models/trend-common.schema.js +17 -0
- package/build/trend/models/trend-input.schema.d.ts +33 -0
- package/build/trend/models/trend-input.schema.d.ts.map +1 -0
- package/build/trend/models/trend-input.schema.js +54 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/video-generation-chain/endpoints/commands/cancel-video-generation-chain.command.d.ts +112 -0
- package/build/video-generation-chain/endpoints/commands/cancel-video-generation-chain.command.d.ts.map +1 -0
- package/build/video-generation-chain/endpoints/commands/cancel-video-generation-chain.command.js +26 -0
- package/build/video-generation-chain/endpoints/commands/create-video-generation-chain.command.d.ts +120 -0
- package/build/video-generation-chain/endpoints/commands/create-video-generation-chain.command.d.ts.map +1 -0
- package/build/video-generation-chain/endpoints/commands/create-video-generation-chain.command.js +52 -0
- package/build/video-generation-chain/endpoints/commands/index.d.ts +6 -0
- package/build/video-generation-chain/endpoints/commands/index.d.ts.map +1 -0
- package/build/video-generation-chain/endpoints/commands/index.js +21 -0
- package/build/video-generation-chain/endpoints/commands/regenerate-video-generation-chain-scene.command.d.ts +114 -0
- package/build/video-generation-chain/endpoints/commands/regenerate-video-generation-chain-scene.command.d.ts.map +1 -0
- package/build/video-generation-chain/endpoints/commands/regenerate-video-generation-chain-scene.command.js +25 -0
- package/build/video-generation-chain/endpoints/commands/resume-video-generation-chain.command.d.ts +113 -0
- package/build/video-generation-chain/endpoints/commands/resume-video-generation-chain.command.d.ts.map +1 -0
- package/build/video-generation-chain/endpoints/commands/resume-video-generation-chain.command.js +27 -0
- package/build/video-generation-chain/endpoints/commands/update-video-generation-chain-scene.command.d.ts +127 -0
- package/build/video-generation-chain/endpoints/commands/update-video-generation-chain-scene.command.d.ts.map +1 -0
- package/build/video-generation-chain/endpoints/commands/update-video-generation-chain-scene.command.js +43 -0
- package/build/video-generation-chain/endpoints/index.d.ts +4 -0
- package/build/video-generation-chain/endpoints/index.d.ts.map +1 -0
- package/build/video-generation-chain/endpoints/index.js +19 -0
- package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.d.ts +111 -0
- package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.d.ts.map +1 -0
- package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.js +25 -0
- package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-config.query.d.ts +109 -0
- package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-config.query.d.ts.map +1 -0
- package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-config.query.js +22 -0
- package/build/video-generation-chain/endpoints/queries/get-video-generation-chains.query.d.ts +54 -0
- package/build/video-generation-chain/endpoints/queries/get-video-generation-chains.query.d.ts.map +1 -0
- package/build/video-generation-chain/endpoints/queries/get-video-generation-chains.query.js +26 -0
- package/build/video-generation-chain/endpoints/queries/index.d.ts +4 -0
- package/build/video-generation-chain/endpoints/queries/index.d.ts.map +1 -0
- package/build/video-generation-chain/endpoints/queries/index.js +19 -0
- package/build/video-generation-chain/endpoints/video-generation-chain.d.ts +12 -0
- package/build/video-generation-chain/endpoints/video-generation-chain.d.ts.map +1 -0
- package/build/video-generation-chain/endpoints/video-generation-chain.js +14 -0
- package/build/video-generation-chain/enums/index.d.ts +5 -0
- package/build/video-generation-chain/enums/index.d.ts.map +1 -0
- package/build/video-generation-chain/enums/index.js +20 -0
- package/build/video-generation-chain/enums/video-generation-chain-frame-slot.enum.d.ts +6 -0
- package/build/video-generation-chain/enums/video-generation-chain-frame-slot.enum.d.ts.map +1 -0
- package/build/video-generation-chain/enums/video-generation-chain-frame-slot.enum.js +13 -0
- package/build/video-generation-chain/enums/video-generation-chain-limits.d.ts +3 -0
- package/build/video-generation-chain/enums/video-generation-chain-limits.d.ts.map +1 -0
- package/build/video-generation-chain/enums/video-generation-chain-limits.js +5 -0
- package/build/video-generation-chain/enums/video-generation-chain-scene-status.enum.d.ts +7 -0
- package/build/video-generation-chain/enums/video-generation-chain-scene-status.enum.d.ts.map +1 -0
- package/build/video-generation-chain/enums/video-generation-chain-scene-status.enum.js +10 -0
- package/build/video-generation-chain/enums/video-generation-chain-status.enum.d.ts +9 -0
- package/build/video-generation-chain/enums/video-generation-chain-status.enum.d.ts.map +1 -0
- package/build/video-generation-chain/enums/video-generation-chain-status.enum.js +12 -0
- package/build/video-generation-chain/index.d.ts +4 -0
- package/build/video-generation-chain/index.d.ts.map +1 -0
- package/build/video-generation-chain/index.js +19 -0
- package/build/video-generation-chain/models/index.d.ts +4 -0
- package/build/video-generation-chain/models/index.d.ts.map +1 -0
- package/build/video-generation-chain/models/index.js +19 -0
- package/build/video-generation-chain/models/video-generation-chain-response.schema.d.ts +73 -0
- package/build/video-generation-chain/models/video-generation-chain-response.schema.d.ts.map +1 -0
- package/build/video-generation-chain/models/video-generation-chain-response.schema.js +24 -0
- package/build/video-generation-chain/models/video-generation-chain-scene-input.schema.d.ts +9 -0
- package/build/video-generation-chain/models/video-generation-chain-scene-input.schema.d.ts.map +1 -0
- package/build/video-generation-chain/models/video-generation-chain-scene-input.schema.js +15 -0
- package/build/video-generation-chain/models/video-generation-chain-scene-response.schema.d.ts +44 -0
- package/build/video-generation-chain/models/video-generation-chain-scene-response.schema.d.ts.map +1 -0
- package/build/video-generation-chain/models/video-generation-chain-scene-response.schema.js +24 -0
- package/errors/errors.ts +216 -0
- package/generation-job/models/generation-job-response.schema.ts +1 -1
- package/generation-job-chat/models/generation-job-chat-response.schema.ts +1 -0
- package/generation-model/models/generation-model-response.schema.ts +1 -0
- package/index.ts +2 -0
- package/package.json +1 -1
- package/referral/endpoints/referral.ts +3 -0
- package/referral/models/index.ts +1 -0
- package/referral/models/referral-advertising-stats.schema.ts +79 -0
- package/trend/endpoints/commands/generate-trend.command.ts +63 -0
- package/trend/endpoints/commands/index.ts +1 -0
- package/trend/endpoints/index.ts +3 -0
- package/trend/endpoints/queries/get-public-trend-by-slug.query.ts +27 -0
- package/trend/endpoints/queries/index.ts +3 -0
- package/trend/endpoints/queries/list-public-trend-categories.query.ts +20 -0
- package/trend/endpoints/queries/list-public-trends.query.ts +31 -0
- package/trend/endpoints/trend.ts +13 -0
- package/trend/enums/index.ts +5 -0
- package/trend/enums/trend-aspect-ratio.enum.ts +8 -0
- package/trend/enums/trend-field-type.enum.ts +4 -0
- package/trend/enums/trend-limits.ts +10 -0
- package/trend/enums/trend-quality.enum.ts +7 -0
- package/trend/enums/trend-status.enum.ts +4 -0
- package/trend/helpers/index.ts +1 -0
- package/trend/helpers/trend-field-reference.helper.ts +9 -0
- package/trend/index.ts +4 -0
- package/trend/models/index.ts +4 -0
- package/trend/models/public-trend.schema.ts +58 -0
- package/trend/models/trend-category-input.schema.ts +10 -0
- package/trend/models/trend-common.schema.ts +26 -0
- package/trend/models/trend-input.schema.ts +69 -0
- package/video-generation-chain/endpoints/commands/cancel-video-generation-chain.command.ts +26 -0
- package/video-generation-chain/endpoints/commands/create-video-generation-chain.command.ts +59 -0
- package/video-generation-chain/endpoints/commands/index.ts +5 -0
- package/video-generation-chain/endpoints/commands/regenerate-video-generation-chain-scene.command.ts +25 -0
- package/video-generation-chain/endpoints/commands/resume-video-generation-chain.command.ts +27 -0
- package/video-generation-chain/endpoints/commands/update-video-generation-chain-scene.command.ts +49 -0
- package/video-generation-chain/endpoints/index.ts +3 -0
- package/video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.ts +25 -0
- package/video-generation-chain/endpoints/queries/get-video-generation-chain-config.query.ts +23 -0
- package/video-generation-chain/endpoints/queries/get-video-generation-chains.query.ts +26 -0
- package/video-generation-chain/endpoints/queries/index.ts +3 -0
- package/video-generation-chain/endpoints/video-generation-chain.ts +12 -0
- package/video-generation-chain/enums/index.ts +4 -0
- package/video-generation-chain/enums/video-generation-chain-frame-slot.enum.ts +10 -0
- package/video-generation-chain/enums/video-generation-chain-limits.ts +2 -0
- package/video-generation-chain/enums/video-generation-chain-scene-status.enum.ts +6 -0
- package/video-generation-chain/enums/video-generation-chain-status.enum.ts +8 -0
- package/video-generation-chain/index.ts +3 -0
- package/video-generation-chain/models/index.ts +3 -0
- package/video-generation-chain/models/video-generation-chain-response.schema.ts +28 -0
- package/video-generation-chain/models/video-generation-chain-scene-input.schema.ts +17 -0
- package/video-generation-chain/models/video-generation-chain-scene-response.schema.ts +26 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HTTP_METHODS } from '../../../_common';
|
|
3
|
+
export declare const UpdateAdminTrendStatusCommandParams: z.ZodObject<{
|
|
4
|
+
trendId: z.ZodUUID;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const UpdateAdminTrendStatusCommandBody: z.ZodObject<{
|
|
7
|
+
status: z.ZodEnum<typeof import("../../../trend").TREND_STATUS>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
export declare const UpdateAdminTrendStatusCommandResponse: z.ZodObject<{
|
|
10
|
+
uuid: z.ZodUUID;
|
|
11
|
+
slug: z.ZodString;
|
|
12
|
+
title: z.ZodString;
|
|
13
|
+
prompt: z.ZodString;
|
|
14
|
+
status: z.ZodEnum<typeof import("../../../trend").TREND_STATUS>;
|
|
15
|
+
order: z.ZodInt;
|
|
16
|
+
referenceVideo: z.ZodObject<{
|
|
17
|
+
uuid: z.ZodUUID;
|
|
18
|
+
url: z.ZodURL;
|
|
19
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
preview: z.ZodObject<{
|
|
22
|
+
uuid: z.ZodUUID;
|
|
23
|
+
url: z.ZodURL;
|
|
24
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
aspectRatio: z.ZodEnum<typeof import("../../../trend").TREND_ASPECT_RATIO>;
|
|
27
|
+
durationSec: z.ZodInt;
|
|
28
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
29
|
+
uuid: z.ZodUUID;
|
|
30
|
+
slug: z.ZodString;
|
|
31
|
+
name: z.ZodString;
|
|
32
|
+
createdAt: z.ZodISODateTime;
|
|
33
|
+
updatedAt: z.ZodISODateTime;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
36
|
+
uuid: z.ZodUUID;
|
|
37
|
+
type: z.ZodEnum<typeof import("../../../trend").TREND_FIELD_TYPE>;
|
|
38
|
+
name: z.ZodString;
|
|
39
|
+
order: z.ZodInt;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
models: z.ZodArray<z.ZodObject<{
|
|
42
|
+
modelId: z.ZodUUID;
|
|
43
|
+
titleModel: z.ZodString;
|
|
44
|
+
order: z.ZodInt;
|
|
45
|
+
isDefault: z.ZodBoolean;
|
|
46
|
+
isAvailable: z.ZodBoolean;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
generationsCount: z.ZodInt;
|
|
49
|
+
createdAt: z.ZodISODateTime;
|
|
50
|
+
updatedAt: z.ZodISODateTime;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
export declare const UpdateAdminTrendStatusCommand: {
|
|
53
|
+
method: HTTP_METHODS.PATCH;
|
|
54
|
+
path: string;
|
|
55
|
+
summary: string;
|
|
56
|
+
request: {
|
|
57
|
+
params: z.ZodObject<{
|
|
58
|
+
trendId: z.ZodUUID;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
body: z.ZodObject<{
|
|
61
|
+
status: z.ZodEnum<typeof import("../../../trend").TREND_STATUS>;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
};
|
|
64
|
+
responses: {
|
|
65
|
+
200: z.ZodObject<{
|
|
66
|
+
uuid: z.ZodUUID;
|
|
67
|
+
slug: z.ZodString;
|
|
68
|
+
title: z.ZodString;
|
|
69
|
+
prompt: z.ZodString;
|
|
70
|
+
status: z.ZodEnum<typeof import("../../../trend").TREND_STATUS>;
|
|
71
|
+
order: z.ZodInt;
|
|
72
|
+
referenceVideo: z.ZodObject<{
|
|
73
|
+
uuid: z.ZodUUID;
|
|
74
|
+
url: z.ZodURL;
|
|
75
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
preview: z.ZodObject<{
|
|
78
|
+
uuid: z.ZodUUID;
|
|
79
|
+
url: z.ZodURL;
|
|
80
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
aspectRatio: z.ZodEnum<typeof import("../../../trend").TREND_ASPECT_RATIO>;
|
|
83
|
+
durationSec: z.ZodInt;
|
|
84
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
85
|
+
uuid: z.ZodUUID;
|
|
86
|
+
slug: z.ZodString;
|
|
87
|
+
name: z.ZodString;
|
|
88
|
+
createdAt: z.ZodISODateTime;
|
|
89
|
+
updatedAt: z.ZodISODateTime;
|
|
90
|
+
}, z.core.$strip>>;
|
|
91
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
92
|
+
uuid: z.ZodUUID;
|
|
93
|
+
type: z.ZodEnum<typeof import("../../../trend").TREND_FIELD_TYPE>;
|
|
94
|
+
name: z.ZodString;
|
|
95
|
+
order: z.ZodInt;
|
|
96
|
+
}, z.core.$strip>>;
|
|
97
|
+
models: z.ZodArray<z.ZodObject<{
|
|
98
|
+
modelId: z.ZodUUID;
|
|
99
|
+
titleModel: z.ZodString;
|
|
100
|
+
order: z.ZodInt;
|
|
101
|
+
isDefault: z.ZodBoolean;
|
|
102
|
+
isAvailable: z.ZodBoolean;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
generationsCount: z.ZodInt;
|
|
105
|
+
createdAt: z.ZodISODateTime;
|
|
106
|
+
updatedAt: z.ZodISODateTime;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
400: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
109
|
+
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
110
|
+
403: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
111
|
+
404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
112
|
+
500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
export type UpdateAdminTrendStatusCommandParamsType = z.infer<typeof UpdateAdminTrendStatusCommandParams>;
|
|
116
|
+
export type UpdateAdminTrendStatusCommandBodyType = z.infer<typeof UpdateAdminTrendStatusCommandBody>;
|
|
117
|
+
export type UpdateAdminTrendStatusCommandResponseType = z.infer<typeof UpdateAdminTrendStatusCommandResponse>;
|
|
118
|
+
//# sourceMappingURL=update-admin-trend-status.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-admin-trend-status.command.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/commands/update-admin-trend-status.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAKzF,eAAO,MAAM,mCAAmC;;iBAE9C,CAAC;AAEH,eAAO,MAAM,iCAAiC;;iBAE5C,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA2B,CAAC;AAE9E,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBxC,CAAC;AAEH,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAC1G,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AACtG,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateAdminTrendStatusCommand = exports.UpdateAdminTrendStatusCommandResponse = exports.UpdateAdminTrendStatusCommandBody = exports.UpdateAdminTrendStatusCommandParams = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const _common_1 = require("../../../_common");
|
|
6
|
+
const trend_1 = require("../../../trend");
|
|
7
|
+
const models_1 = require("../../models");
|
|
8
|
+
const admin_1 = require("../admin");
|
|
9
|
+
exports.UpdateAdminTrendStatusCommandParams = zod_1.z.object({
|
|
10
|
+
trendId: zod_1.z.uuid(),
|
|
11
|
+
});
|
|
12
|
+
exports.UpdateAdminTrendStatusCommandBody = zod_1.z.object({
|
|
13
|
+
status: trend_1.TrendStatusSchema,
|
|
14
|
+
});
|
|
15
|
+
exports.UpdateAdminTrendStatusCommandResponse = models_1.AdminTrendResponseSchema;
|
|
16
|
+
exports.UpdateAdminTrendStatusCommand = (0, _common_1.defineContract)({
|
|
17
|
+
method: _common_1.HTTP_METHODS.PATCH,
|
|
18
|
+
path: admin_1.ADMIN_ROUTES.UPDATE_TREND_STATUS(':trendId'),
|
|
19
|
+
summary: 'Publish or unpublish trend',
|
|
20
|
+
request: {
|
|
21
|
+
params: exports.UpdateAdminTrendStatusCommandParams,
|
|
22
|
+
body: exports.UpdateAdminTrendStatusCommandBody,
|
|
23
|
+
},
|
|
24
|
+
responses: {
|
|
25
|
+
200: exports.UpdateAdminTrendStatusCommandResponse,
|
|
26
|
+
400: _common_1.HttpErrorResponseSchema,
|
|
27
|
+
401: _common_1.HttpErrorResponseSchema,
|
|
28
|
+
403: _common_1.HttpErrorResponseSchema,
|
|
29
|
+
404: _common_1.HttpErrorResponseSchema,
|
|
30
|
+
500: _common_1.HttpErrorResponseSchema,
|
|
31
|
+
},
|
|
32
|
+
});
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HTTP_METHODS } from '../../../_common';
|
|
3
|
+
export declare const UpdateAdminTrendCommandParams: z.ZodObject<{
|
|
4
|
+
trendId: z.ZodUUID;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const UpdateAdminTrendCommandBody: z.ZodObject<{
|
|
7
|
+
slug: z.ZodString;
|
|
8
|
+
title: z.ZodString;
|
|
9
|
+
prompt: z.ZodString;
|
|
10
|
+
referenceVideoFileId: z.ZodUUID;
|
|
11
|
+
previewFileId: z.ZodUUID;
|
|
12
|
+
aspectRatio: z.ZodEnum<typeof import("../../../trend").TREND_ASPECT_RATIO>;
|
|
13
|
+
durationSec: z.ZodInt;
|
|
14
|
+
categoryIds: z.ZodDefault<z.ZodArray<z.ZodUUID>>;
|
|
15
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
16
|
+
uuid: z.ZodOptional<z.ZodUUID>;
|
|
17
|
+
type: z.ZodEnum<typeof import("../../../trend").TREND_FIELD_TYPE>;
|
|
18
|
+
name: z.ZodString;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
models: z.ZodArray<z.ZodObject<{
|
|
21
|
+
modelId: z.ZodUUID;
|
|
22
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
export declare const UpdateAdminTrendCommandResponse: z.ZodObject<{
|
|
26
|
+
uuid: z.ZodUUID;
|
|
27
|
+
slug: z.ZodString;
|
|
28
|
+
title: z.ZodString;
|
|
29
|
+
prompt: z.ZodString;
|
|
30
|
+
status: z.ZodEnum<typeof import("../../../trend").TREND_STATUS>;
|
|
31
|
+
order: z.ZodInt;
|
|
32
|
+
referenceVideo: z.ZodObject<{
|
|
33
|
+
uuid: z.ZodUUID;
|
|
34
|
+
url: z.ZodURL;
|
|
35
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
preview: z.ZodObject<{
|
|
38
|
+
uuid: z.ZodUUID;
|
|
39
|
+
url: z.ZodURL;
|
|
40
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
aspectRatio: z.ZodEnum<typeof import("../../../trend").TREND_ASPECT_RATIO>;
|
|
43
|
+
durationSec: z.ZodInt;
|
|
44
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
45
|
+
uuid: z.ZodUUID;
|
|
46
|
+
slug: z.ZodString;
|
|
47
|
+
name: z.ZodString;
|
|
48
|
+
createdAt: z.ZodISODateTime;
|
|
49
|
+
updatedAt: z.ZodISODateTime;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
52
|
+
uuid: z.ZodUUID;
|
|
53
|
+
type: z.ZodEnum<typeof import("../../../trend").TREND_FIELD_TYPE>;
|
|
54
|
+
name: z.ZodString;
|
|
55
|
+
order: z.ZodInt;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
models: z.ZodArray<z.ZodObject<{
|
|
58
|
+
modelId: z.ZodUUID;
|
|
59
|
+
titleModel: z.ZodString;
|
|
60
|
+
order: z.ZodInt;
|
|
61
|
+
isDefault: z.ZodBoolean;
|
|
62
|
+
isAvailable: z.ZodBoolean;
|
|
63
|
+
}, z.core.$strip>>;
|
|
64
|
+
generationsCount: z.ZodInt;
|
|
65
|
+
createdAt: z.ZodISODateTime;
|
|
66
|
+
updatedAt: z.ZodISODateTime;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
export declare const UpdateAdminTrendCommand: {
|
|
69
|
+
method: HTTP_METHODS.PUT;
|
|
70
|
+
path: string;
|
|
71
|
+
summary: string;
|
|
72
|
+
request: {
|
|
73
|
+
params: z.ZodObject<{
|
|
74
|
+
trendId: z.ZodUUID;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
body: z.ZodObject<{
|
|
77
|
+
slug: z.ZodString;
|
|
78
|
+
title: z.ZodString;
|
|
79
|
+
prompt: z.ZodString;
|
|
80
|
+
referenceVideoFileId: z.ZodUUID;
|
|
81
|
+
previewFileId: z.ZodUUID;
|
|
82
|
+
aspectRatio: z.ZodEnum<typeof import("../../../trend").TREND_ASPECT_RATIO>;
|
|
83
|
+
durationSec: z.ZodInt;
|
|
84
|
+
categoryIds: z.ZodDefault<z.ZodArray<z.ZodUUID>>;
|
|
85
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
86
|
+
uuid: z.ZodOptional<z.ZodUUID>;
|
|
87
|
+
type: z.ZodEnum<typeof import("../../../trend").TREND_FIELD_TYPE>;
|
|
88
|
+
name: z.ZodString;
|
|
89
|
+
}, z.core.$strip>>;
|
|
90
|
+
models: z.ZodArray<z.ZodObject<{
|
|
91
|
+
modelId: z.ZodUUID;
|
|
92
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
93
|
+
}, z.core.$strip>>;
|
|
94
|
+
}, z.core.$strip>;
|
|
95
|
+
};
|
|
96
|
+
responses: {
|
|
97
|
+
200: z.ZodObject<{
|
|
98
|
+
uuid: z.ZodUUID;
|
|
99
|
+
slug: z.ZodString;
|
|
100
|
+
title: z.ZodString;
|
|
101
|
+
prompt: z.ZodString;
|
|
102
|
+
status: z.ZodEnum<typeof import("../../../trend").TREND_STATUS>;
|
|
103
|
+
order: z.ZodInt;
|
|
104
|
+
referenceVideo: z.ZodObject<{
|
|
105
|
+
uuid: z.ZodUUID;
|
|
106
|
+
url: z.ZodURL;
|
|
107
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
preview: z.ZodObject<{
|
|
110
|
+
uuid: z.ZodUUID;
|
|
111
|
+
url: z.ZodURL;
|
|
112
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
aspectRatio: z.ZodEnum<typeof import("../../../trend").TREND_ASPECT_RATIO>;
|
|
115
|
+
durationSec: z.ZodInt;
|
|
116
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
117
|
+
uuid: z.ZodUUID;
|
|
118
|
+
slug: z.ZodString;
|
|
119
|
+
name: z.ZodString;
|
|
120
|
+
createdAt: z.ZodISODateTime;
|
|
121
|
+
updatedAt: z.ZodISODateTime;
|
|
122
|
+
}, z.core.$strip>>;
|
|
123
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
124
|
+
uuid: z.ZodUUID;
|
|
125
|
+
type: z.ZodEnum<typeof import("../../../trend").TREND_FIELD_TYPE>;
|
|
126
|
+
name: z.ZodString;
|
|
127
|
+
order: z.ZodInt;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
models: z.ZodArray<z.ZodObject<{
|
|
130
|
+
modelId: z.ZodUUID;
|
|
131
|
+
titleModel: z.ZodString;
|
|
132
|
+
order: z.ZodInt;
|
|
133
|
+
isDefault: z.ZodBoolean;
|
|
134
|
+
isAvailable: z.ZodBoolean;
|
|
135
|
+
}, z.core.$strip>>;
|
|
136
|
+
generationsCount: z.ZodInt;
|
|
137
|
+
createdAt: z.ZodISODateTime;
|
|
138
|
+
updatedAt: z.ZodISODateTime;
|
|
139
|
+
}, z.core.$strip>;
|
|
140
|
+
400: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
141
|
+
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
142
|
+
403: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
143
|
+
404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
144
|
+
409: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
145
|
+
500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
export type UpdateAdminTrendCommandParamsType = z.infer<typeof UpdateAdminTrendCommandParams>;
|
|
149
|
+
export type UpdateAdminTrendCommandBodyType = z.infer<typeof UpdateAdminTrendCommandBody>;
|
|
150
|
+
export type UpdateAdminTrendCommandResponseType = z.infer<typeof UpdateAdminTrendCommandResponse>;
|
|
151
|
+
//# sourceMappingURL=update-admin-trend.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-admin-trend.command.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/commands/update-admin-trend.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAKzF,eAAO,MAAM,6BAA6B;;iBAExC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;iBAAmB,CAAC;AAE5D,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA2B,CAAC;AAExE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBlC,CAAC;AAEH,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAC9F,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAC1F,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateAdminTrendCommand = exports.UpdateAdminTrendCommandResponse = exports.UpdateAdminTrendCommandBody = exports.UpdateAdminTrendCommandParams = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const _common_1 = require("../../../_common");
|
|
6
|
+
const trend_1 = require("../../../trend");
|
|
7
|
+
const models_1 = require("../../models");
|
|
8
|
+
const admin_1 = require("../admin");
|
|
9
|
+
exports.UpdateAdminTrendCommandParams = zod_1.z.object({
|
|
10
|
+
trendId: zod_1.z.uuid(),
|
|
11
|
+
});
|
|
12
|
+
exports.UpdateAdminTrendCommandBody = trend_1.TrendInputSchema;
|
|
13
|
+
exports.UpdateAdminTrendCommandResponse = models_1.AdminTrendResponseSchema;
|
|
14
|
+
exports.UpdateAdminTrendCommand = (0, _common_1.defineContract)({
|
|
15
|
+
method: _common_1.HTTP_METHODS.PUT,
|
|
16
|
+
path: admin_1.ADMIN_ROUTES.UPDATE_TREND(':trendId'),
|
|
17
|
+
summary: 'Replace trend settings; renamed fields are rewritten in prompts',
|
|
18
|
+
request: {
|
|
19
|
+
params: exports.UpdateAdminTrendCommandParams,
|
|
20
|
+
body: exports.UpdateAdminTrendCommandBody,
|
|
21
|
+
},
|
|
22
|
+
responses: {
|
|
23
|
+
200: exports.UpdateAdminTrendCommandResponse,
|
|
24
|
+
400: _common_1.HttpErrorResponseSchema,
|
|
25
|
+
401: _common_1.HttpErrorResponseSchema,
|
|
26
|
+
403: _common_1.HttpErrorResponseSchema,
|
|
27
|
+
404: _common_1.HttpErrorResponseSchema,
|
|
28
|
+
409: _common_1.HttpErrorResponseSchema,
|
|
29
|
+
500: _common_1.HttpErrorResponseSchema,
|
|
30
|
+
},
|
|
31
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HTTP_METHODS } from '../../../_common';
|
|
3
|
+
export declare const GetAdminTrendCategoriesQueryResponse: z.ZodObject<{
|
|
4
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
5
|
+
uuid: z.ZodUUID;
|
|
6
|
+
slug: z.ZodString;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
createdAt: z.ZodISODateTime;
|
|
9
|
+
updatedAt: z.ZodISODateTime;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export declare const GetAdminTrendCategoriesQuery: {
|
|
13
|
+
method: HTTP_METHODS.GET;
|
|
14
|
+
path: "trend-categories";
|
|
15
|
+
summary: string;
|
|
16
|
+
responses: {
|
|
17
|
+
200: z.ZodObject<{
|
|
18
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
19
|
+
uuid: z.ZodUUID;
|
|
20
|
+
slug: z.ZodString;
|
|
21
|
+
name: z.ZodString;
|
|
22
|
+
createdAt: z.ZodISODateTime;
|
|
23
|
+
updatedAt: z.ZodISODateTime;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
27
|
+
403: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
28
|
+
500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export type GetAdminTrendCategoriesQueryResponseType = z.infer<typeof GetAdminTrendCategoriesQueryResponse>;
|
|
32
|
+
//# sourceMappingURL=get-admin-trend-categories.query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-admin-trend-categories.query.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/queries/get-admin-trend-categories.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,oCAAoC;;;;;;;;iBAE/C,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;CAUvC,CAAC;AAEH,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAdminTrendCategoriesQuery = exports.GetAdminTrendCategoriesQueryResponse = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const _common_1 = require("../../../_common");
|
|
6
|
+
const models_1 = require("../../models");
|
|
7
|
+
const admin_1 = require("../admin");
|
|
8
|
+
exports.GetAdminTrendCategoriesQueryResponse = zod_1.z.object({
|
|
9
|
+
categories: zod_1.z.array(models_1.AdminTrendCategoryResponseSchema),
|
|
10
|
+
});
|
|
11
|
+
exports.GetAdminTrendCategoriesQuery = (0, _common_1.defineContract)({
|
|
12
|
+
method: _common_1.HTTP_METHODS.GET,
|
|
13
|
+
path: admin_1.ADMIN_ROUTES.GET_TREND_CATEGORIES,
|
|
14
|
+
summary: 'Get all trend categories',
|
|
15
|
+
responses: {
|
|
16
|
+
200: exports.GetAdminTrendCategoriesQueryResponse,
|
|
17
|
+
401: _common_1.HttpErrorResponseSchema,
|
|
18
|
+
403: _common_1.HttpErrorResponseSchema,
|
|
19
|
+
500: _common_1.HttpErrorResponseSchema,
|
|
20
|
+
},
|
|
21
|
+
});
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HTTP_METHODS } from '../../../_common';
|
|
3
|
+
export declare const GetAdminTrendQueryParams: z.ZodObject<{
|
|
4
|
+
trendId: z.ZodUUID;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const GetAdminTrendQueryResponse: z.ZodObject<{
|
|
7
|
+
uuid: z.ZodUUID;
|
|
8
|
+
slug: z.ZodString;
|
|
9
|
+
title: z.ZodString;
|
|
10
|
+
prompt: z.ZodString;
|
|
11
|
+
status: z.ZodEnum<typeof import("../../..").TREND_STATUS>;
|
|
12
|
+
order: z.ZodInt;
|
|
13
|
+
referenceVideo: z.ZodObject<{
|
|
14
|
+
uuid: z.ZodUUID;
|
|
15
|
+
url: z.ZodURL;
|
|
16
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
preview: z.ZodObject<{
|
|
19
|
+
uuid: z.ZodUUID;
|
|
20
|
+
url: z.ZodURL;
|
|
21
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
aspectRatio: z.ZodEnum<typeof import("../../..").TREND_ASPECT_RATIO>;
|
|
24
|
+
durationSec: z.ZodInt;
|
|
25
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
26
|
+
uuid: z.ZodUUID;
|
|
27
|
+
slug: z.ZodString;
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
createdAt: z.ZodISODateTime;
|
|
30
|
+
updatedAt: z.ZodISODateTime;
|
|
31
|
+
}, z.core.$strip>>;
|
|
32
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
33
|
+
uuid: z.ZodUUID;
|
|
34
|
+
type: z.ZodEnum<typeof import("../../..").TREND_FIELD_TYPE>;
|
|
35
|
+
name: z.ZodString;
|
|
36
|
+
order: z.ZodInt;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
models: z.ZodArray<z.ZodObject<{
|
|
39
|
+
modelId: z.ZodUUID;
|
|
40
|
+
titleModel: z.ZodString;
|
|
41
|
+
order: z.ZodInt;
|
|
42
|
+
isDefault: z.ZodBoolean;
|
|
43
|
+
isAvailable: z.ZodBoolean;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
generationsCount: z.ZodInt;
|
|
46
|
+
createdAt: z.ZodISODateTime;
|
|
47
|
+
updatedAt: z.ZodISODateTime;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
export declare const GetAdminTrendQuery: {
|
|
50
|
+
method: HTTP_METHODS.GET;
|
|
51
|
+
path: string;
|
|
52
|
+
summary: string;
|
|
53
|
+
request: {
|
|
54
|
+
params: z.ZodObject<{
|
|
55
|
+
trendId: z.ZodUUID;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
};
|
|
58
|
+
responses: {
|
|
59
|
+
200: z.ZodObject<{
|
|
60
|
+
uuid: z.ZodUUID;
|
|
61
|
+
slug: z.ZodString;
|
|
62
|
+
title: z.ZodString;
|
|
63
|
+
prompt: z.ZodString;
|
|
64
|
+
status: z.ZodEnum<typeof import("../../..").TREND_STATUS>;
|
|
65
|
+
order: z.ZodInt;
|
|
66
|
+
referenceVideo: z.ZodObject<{
|
|
67
|
+
uuid: z.ZodUUID;
|
|
68
|
+
url: z.ZodURL;
|
|
69
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
preview: z.ZodObject<{
|
|
72
|
+
uuid: z.ZodUUID;
|
|
73
|
+
url: z.ZodURL;
|
|
74
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
aspectRatio: z.ZodEnum<typeof import("../../..").TREND_ASPECT_RATIO>;
|
|
77
|
+
durationSec: z.ZodInt;
|
|
78
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
79
|
+
uuid: z.ZodUUID;
|
|
80
|
+
slug: z.ZodString;
|
|
81
|
+
name: z.ZodString;
|
|
82
|
+
createdAt: z.ZodISODateTime;
|
|
83
|
+
updatedAt: z.ZodISODateTime;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
86
|
+
uuid: z.ZodUUID;
|
|
87
|
+
type: z.ZodEnum<typeof import("../../..").TREND_FIELD_TYPE>;
|
|
88
|
+
name: z.ZodString;
|
|
89
|
+
order: z.ZodInt;
|
|
90
|
+
}, z.core.$strip>>;
|
|
91
|
+
models: z.ZodArray<z.ZodObject<{
|
|
92
|
+
modelId: z.ZodUUID;
|
|
93
|
+
titleModel: z.ZodString;
|
|
94
|
+
order: z.ZodInt;
|
|
95
|
+
isDefault: z.ZodBoolean;
|
|
96
|
+
isAvailable: z.ZodBoolean;
|
|
97
|
+
}, z.core.$strip>>;
|
|
98
|
+
generationsCount: z.ZodInt;
|
|
99
|
+
createdAt: z.ZodISODateTime;
|
|
100
|
+
updatedAt: z.ZodISODateTime;
|
|
101
|
+
}, z.core.$strip>;
|
|
102
|
+
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
103
|
+
403: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
104
|
+
404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
105
|
+
500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
export type GetAdminTrendQueryParamsType = z.infer<typeof GetAdminTrendQueryParams>;
|
|
109
|
+
export type GetAdminTrendQueryResponseType = z.infer<typeof GetAdminTrendQueryResponse>;
|
|
110
|
+
//# sourceMappingURL=get-admin-trend.query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-admin-trend.query.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/queries/get-admin-trend.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,wBAAwB;;iBAEnC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA2B,CAAC;AAEnE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAc7B,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AACpF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAdminTrendQuery = exports.GetAdminTrendQueryResponse = exports.GetAdminTrendQueryParams = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const _common_1 = require("../../../_common");
|
|
6
|
+
const models_1 = require("../../models");
|
|
7
|
+
const admin_1 = require("../admin");
|
|
8
|
+
exports.GetAdminTrendQueryParams = zod_1.z.object({
|
|
9
|
+
trendId: zod_1.z.uuid(),
|
|
10
|
+
});
|
|
11
|
+
exports.GetAdminTrendQueryResponse = models_1.AdminTrendResponseSchema;
|
|
12
|
+
exports.GetAdminTrendQuery = (0, _common_1.defineContract)({
|
|
13
|
+
method: _common_1.HTTP_METHODS.GET,
|
|
14
|
+
path: admin_1.ADMIN_ROUTES.GET_TREND(':trendId'),
|
|
15
|
+
summary: 'Get trend with all settings and generations count',
|
|
16
|
+
request: {
|
|
17
|
+
params: exports.GetAdminTrendQueryParams,
|
|
18
|
+
},
|
|
19
|
+
responses: {
|
|
20
|
+
200: exports.GetAdminTrendQueryResponse,
|
|
21
|
+
401: _common_1.HttpErrorResponseSchema,
|
|
22
|
+
403: _common_1.HttpErrorResponseSchema,
|
|
23
|
+
404: _common_1.HttpErrorResponseSchema,
|
|
24
|
+
500: _common_1.HttpErrorResponseSchema,
|
|
25
|
+
},
|
|
26
|
+
});
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HTTP_METHODS } from '../../../_common';
|
|
3
|
+
export declare const GetAdminTrendsQueryQuery: z.ZodObject<{
|
|
4
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
5
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
6
|
+
search: z.ZodOptional<z.ZodString>;
|
|
7
|
+
status: z.ZodOptional<z.ZodEnum<typeof import("../../../trend").TREND_STATUS>>;
|
|
8
|
+
categoryId: z.ZodOptional<z.ZodUUID>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
export declare const GetAdminTrendsQueryResponse: z.ZodObject<{
|
|
11
|
+
trends: z.ZodArray<z.ZodObject<{
|
|
12
|
+
uuid: z.ZodUUID;
|
|
13
|
+
slug: z.ZodString;
|
|
14
|
+
status: z.ZodEnum<typeof import("../../../trend").TREND_STATUS>;
|
|
15
|
+
order: z.ZodInt;
|
|
16
|
+
title: z.ZodString;
|
|
17
|
+
previewUrl: z.ZodURL;
|
|
18
|
+
generationsCount: z.ZodInt;
|
|
19
|
+
createdAt: z.ZodISODateTime;
|
|
20
|
+
updatedAt: z.ZodISODateTime;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
total: z.ZodNumber;
|
|
23
|
+
page: z.ZodNumber;
|
|
24
|
+
limit: z.ZodNumber;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export declare const GetAdminTrendsQuery: {
|
|
27
|
+
method: HTTP_METHODS.GET;
|
|
28
|
+
path: "trends";
|
|
29
|
+
summary: string;
|
|
30
|
+
request: {
|
|
31
|
+
query: z.ZodObject<{
|
|
32
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
33
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
34
|
+
search: z.ZodOptional<z.ZodString>;
|
|
35
|
+
status: z.ZodOptional<z.ZodEnum<typeof import("../../../trend").TREND_STATUS>>;
|
|
36
|
+
categoryId: z.ZodOptional<z.ZodUUID>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
};
|
|
39
|
+
responses: {
|
|
40
|
+
200: z.ZodObject<{
|
|
41
|
+
trends: z.ZodArray<z.ZodObject<{
|
|
42
|
+
uuid: z.ZodUUID;
|
|
43
|
+
slug: z.ZodString;
|
|
44
|
+
status: z.ZodEnum<typeof import("../../../trend").TREND_STATUS>;
|
|
45
|
+
order: z.ZodInt;
|
|
46
|
+
title: z.ZodString;
|
|
47
|
+
previewUrl: z.ZodURL;
|
|
48
|
+
generationsCount: z.ZodInt;
|
|
49
|
+
createdAt: z.ZodISODateTime;
|
|
50
|
+
updatedAt: z.ZodISODateTime;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
total: z.ZodNumber;
|
|
53
|
+
page: z.ZodNumber;
|
|
54
|
+
limit: z.ZodNumber;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
57
|
+
403: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
58
|
+
500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export type GetAdminTrendsQueryQueryType = z.infer<typeof GetAdminTrendsQueryQuery>;
|
|
62
|
+
export type GetAdminTrendsQueryResponseType = z.infer<typeof GetAdminTrendsQueryResponse>;
|
|
63
|
+
//# sourceMappingURL=get-admin-trends.query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-admin-trends.query.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/queries/get-admin-trends.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAA+C,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAKtH,eAAO,MAAM,wBAAwB;;;;;;iBAInC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;iBAKtC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa9B,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AACpF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAdminTrendsQuery = exports.GetAdminTrendsQueryResponse = exports.GetAdminTrendsQueryQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const _common_1 = require("../../../_common");
|
|
6
|
+
const trend_1 = require("../../../trend");
|
|
7
|
+
const models_1 = require("../../models");
|
|
8
|
+
const admin_1 = require("../admin");
|
|
9
|
+
exports.GetAdminTrendsQueryQuery = (0, _common_1.defineOffsetPaginationQuery)().extend({
|
|
10
|
+
search: zod_1.z.string().trim().max(255).optional(),
|
|
11
|
+
status: trend_1.TrendStatusSchema.optional(),
|
|
12
|
+
categoryId: zod_1.z.uuid().optional(),
|
|
13
|
+
});
|
|
14
|
+
exports.GetAdminTrendsQueryResponse = zod_1.z.object({
|
|
15
|
+
trends: zod_1.z.array(models_1.AdminTrendListItemSchema),
|
|
16
|
+
total: zod_1.z.number().int().nonnegative(),
|
|
17
|
+
page: zod_1.z.number().int().positive(),
|
|
18
|
+
limit: zod_1.z.number().int().positive(),
|
|
19
|
+
});
|
|
20
|
+
exports.GetAdminTrendsQuery = (0, _common_1.defineContract)({
|
|
21
|
+
method: _common_1.HTTP_METHODS.GET,
|
|
22
|
+
path: admin_1.ADMIN_ROUTES.GET_TRENDS,
|
|
23
|
+
summary: 'Get trends list ordered by catalog order',
|
|
24
|
+
request: {
|
|
25
|
+
query: exports.GetAdminTrendsQueryQuery,
|
|
26
|
+
},
|
|
27
|
+
responses: {
|
|
28
|
+
200: exports.GetAdminTrendsQueryResponse,
|
|
29
|
+
401: _common_1.HttpErrorResponseSchema,
|
|
30
|
+
403: _common_1.HttpErrorResponseSchema,
|
|
31
|
+
500: _common_1.HttpErrorResponseSchema,
|
|
32
|
+
},
|
|
33
|
+
});
|
|
@@ -22,4 +22,7 @@ export * from './get-admin-partner-referral-deposits.query';
|
|
|
22
22
|
export * from './get-admin-dashboard.query';
|
|
23
23
|
export * from './export-admin-dashboard.query';
|
|
24
24
|
export * from './get-admin-linked-account-clusters.query';
|
|
25
|
+
export * from './get-admin-trends.query';
|
|
26
|
+
export * from './get-admin-trend.query';
|
|
27
|
+
export * from './get-admin-trend-categories.query';
|
|
25
28
|
//# sourceMappingURL=index.d.ts.map
|