@purpleschool/gptbot 0.16.0-stage-2 → 0.17.1-stage-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/controllers/http/index.d.ts +1 -0
- package/build/api/controllers/http/index.js +1 -0
- package/build/api/controllers/http/interior-design.d.ts +1 -1
- package/build/api/controllers/http/interior-design.js +1 -1
- package/build/api/controllers/http/loyalty-status.d.ts +4 -0
- package/build/api/controllers/http/loyalty-status.js +7 -0
- package/build/api/routes.d.ts +3 -0
- package/build/api/routes.js +3 -0
- package/build/commands/photo-studio/execute-photo-studio-action.command.d.ts +4 -4
- package/build/commands/photo-studio/retry-photo-studio-job.command.d.ts +2 -2
- package/build/commands/subscription/get-subscriptions-summary.command.d.ts +16 -0
- package/build/commands/subscription/get-subscriptions-summary.command.js +1 -0
- package/build/commands/tools/image-editor/find-image-editor-job-by-uuid.command.d.ts +2 -2
- package/build/commands/tools/image-editor/find-image-editor-jobs.command.d.ts +2 -2
- package/build/commands/tools/image-editor/image-editor.command.d.ts +2 -2
- package/build/commands/tools/image-editor/retry-image-editor-job.command.d.ts +2 -2
- package/build/commands/tools/image-editor/set-reaction-to-image-editor-job.command.d.ts +2 -2
- package/build/commands/tools/image-editor/update-image-editor-job-favorite.command.d.ts +2 -2
- package/build/commands/tools/image-editor/update-image-editor-job-title.command.d.ts +2 -2
- package/build/commands/tools/image-recognition/find-image-recognition-job-by-uuid.command.d.ts +2 -2
- package/build/commands/tools/image-recognition/find-image-recognition-jobs.command.d.ts +2 -2
- package/build/commands/tools/image-recognition/image-recognition.command.d.ts +2 -2
- package/build/commands/tools/image-recognition/retry-image-recognition-job.command.d.ts +2 -2
- package/build/commands/tools/image-recognition/set-reaction-to-image-recognition-job.command.d.ts +2 -2
- package/build/commands/tools/image-recognition/update-image-recognition-job-favorite.command.d.ts +2 -2
- package/build/commands/tools/image-recognition/update-image-recognition-job-title.command.d.ts +2 -2
- package/build/commands/tools/interior-design/delete-interior-design-generation-group-by-uuid.command.d.ts +9 -0
- package/build/commands/tools/interior-design/delete-interior-design-generation-group-by-uuid.command.js +11 -0
- package/build/commands/tools/interior-design/delete-interior-design-job-by-uuid.command.d.ts +97 -1
- package/build/commands/tools/interior-design/delete-interior-design-job-by-uuid.command.js +7 -1
- package/build/commands/tools/interior-design/find-interior-design-generation-group-by-uuid.command.d.ts +102 -0
- package/build/commands/tools/interior-design/find-interior-design-generation-group-by-uuid.command.js +14 -0
- package/build/commands/tools/interior-design/find-interior-design-generation-groups.command.d.ts +111 -0
- package/build/commands/tools/interior-design/find-interior-design-generation-groups.command.js +24 -0
- package/build/commands/tools/interior-design/find-interior-design-job-by-uuid.command.d.ts +16 -2
- package/build/commands/tools/interior-design/find-interior-design-jobs.command.d.ts +16 -2
- package/build/commands/tools/interior-design/get-interior-design-tool-config.command.d.ts +37 -7
- package/build/commands/tools/interior-design/index.d.ts +5 -0
- package/build/commands/tools/interior-design/index.js +5 -0
- package/build/commands/tools/interior-design/interior-design.command.d.ts +101 -5
- package/build/commands/tools/interior-design/interior-design.command.js +8 -3
- package/build/commands/tools/interior-design/retry-interior-design-generation-group-child.command.d.ts +102 -0
- package/build/commands/tools/interior-design/retry-interior-design-generation-group-child.command.js +14 -0
- package/build/commands/tools/interior-design/retry-interior-design-job.command.d.ts +16 -2
- package/build/commands/tools/interior-design/set-reaction-to-interior-design-job.command.d.ts +16 -2
- package/build/commands/tools/interior-design/set-reaction-to-interior-design-job.command.js +3 -12
- package/build/commands/tools/interior-design/update-interior-design-generation-group-favorite.command.d.ts +106 -0
- package/build/commands/tools/interior-design/update-interior-design-generation-group-favorite.command.js +17 -0
- package/build/commands/tools/interior-design/update-interior-design-job-favorite.command.d.ts +16 -2
- package/build/commands/tools/interior-design/update-interior-design-job-title.command.d.ts +72 -14
- package/build/commands/tools/interior-design/update-interior-design-job-title.command.js +1 -1
- package/build/commands/tools/marketplace-card/execute-marketplace-card.command.d.ts +3 -2
- package/build/commands/tools/marketplace-card/find-marketplace-card-job-by-uuid.command.d.ts +3 -2
- package/build/commands/tools/marketplace-card/find-marketplace-card-jobs.command.d.ts +3 -2
- package/build/commands/tools/marketplace-card/retry-marketplace-card-job.command.d.ts +3 -2
- package/build/commands/tools/marketplace-card/set-reaction-to-marketplace-card.command.d.ts +3 -2
- package/build/commands/tools/marketplace-card/update-marketplace-card-job-favorite.command.d.ts +3 -2
- package/build/commands/tools/marketplace-card/update-marketplace-card-job-title.command.d.ts +3 -2
- package/build/commands/tools/music/add-track-to-music-playlist.command.d.ts +16 -16
- package/build/commands/tools/music/create-music-playlist.command.d.ts +16 -16
- package/build/commands/tools/music/edit-music.command.d.ts +16 -16
- package/build/commands/tools/music/find-music-job-by-uuid.command.d.ts +16 -16
- package/build/commands/tools/music/find-music-jobs.command.d.ts +16 -16
- package/build/commands/tools/music/find-music-playlists.command.d.ts +16 -16
- package/build/commands/tools/music/generate-music.command.d.ts +16 -16
- package/build/commands/tools/music/remove-track-from-music-playlist.command.d.ts +16 -16
- package/build/commands/tools/music/retry-music-job.command.d.ts +16 -16
- package/build/commands/tools/music/set-reaction-to-music-job.command.d.ts +16 -16
- package/build/commands/tools/music/update-music-job-favorite.command.d.ts +16 -16
- package/build/commands/tools/music/update-music-job-title.command.d.ts +16 -16
- package/build/commands/tools/music/update-music-playlist.command.d.ts +16 -16
- package/build/commands/tools/paraphrase/find-paraphrase-job-by-uuid.command.d.ts +2 -2
- package/build/commands/tools/paraphrase/find-paraphrase-jobs.command.d.ts +2 -2
- package/build/commands/tools/paraphrase/paraphrase.command.d.ts +2 -2
- package/build/commands/tools/paraphrase/retry-paraphrase-job.command.d.ts +2 -2
- package/build/commands/tools/paraphrase/set-reaction-to-paraphrase-job.command.d.ts +2 -2
- package/build/commands/tools/paraphrase/update-paraphrase-job-favorite.command.d.ts +2 -2
- package/build/commands/tools/paraphrase/update-paraphrase-job-title.command.d.ts +2 -2
- package/build/commands/tools/sound-generation/find-sound-generation-job-by-uuid.command.d.ts +2 -2
- package/build/commands/tools/sound-generation/find-sound-generation-jobs.command.d.ts +2 -2
- package/build/commands/tools/sound-generation/retry-sound-generation-job.command.d.ts +2 -2
- package/build/commands/tools/sound-generation/set-reaction-to-sound-generation-job.command.d.ts +2 -2
- package/build/commands/tools/sound-generation/sound-generation.command.d.ts +2 -2
- package/build/commands/tools/sound-generation/update-sound-generation-job-favorite.command.d.ts +2 -2
- package/build/commands/tools/sound-generation/update-sound-generation-job-title.command.d.ts +2 -2
- package/build/commands/tools/spell-corrector/find-spell-corrector-job-by-uuid.command.d.ts +2 -2
- package/build/commands/tools/spell-corrector/find-spell-corrector-jobs.command.d.ts +2 -2
- package/build/commands/tools/spell-corrector/retry-spell-corrector-job.command.d.ts +2 -2
- package/build/commands/tools/spell-corrector/set-reaction-to-spell-corrector-job.command.d.ts +2 -2
- package/build/commands/tools/spell-corrector/spell-corrector.command.d.ts +2 -2
- package/build/commands/tools/spell-corrector/update-spell-corrector-job-favorite.command.d.ts +2 -2
- package/build/commands/tools/spell-corrector/update-spell-corrector-job-title.command.d.ts +2 -2
- package/build/commands/tools/stt/find-stt-job-by-uuid.command.d.ts +2 -2
- package/build/commands/tools/stt/find-stt-jobs.command.d.ts +2 -2
- package/build/commands/tools/stt/retry-stt-job.command.d.ts +2 -2
- package/build/commands/tools/stt/set-reaction-to-stt-job.command.d.ts +2 -2
- package/build/commands/tools/stt/stt.command.d.ts +2 -2
- package/build/commands/tools/stt/update-stt-job-favorite.command.d.ts +2 -2
- package/build/commands/tools/stt/update-stt-job-title.command.d.ts +2 -2
- package/build/commands/tools/tool-workspace/find-tool-workspace-by-uuid.command.d.ts +5 -2
- package/build/commands/tools/tool-workspace/find-tool-workspaces.command.d.ts +5 -1
- package/build/commands/tools/tool-workspace/find-tool-workspaces.command.js +3 -0
- package/build/commands/tools/tool-workspace/update-tool-workspace.command.d.ts +3 -0
- package/build/commands/tools/tool-workspace/update-tool-workspace.command.js +1 -0
- package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +2 -2
- package/build/commands/tools/tts/find-tts-jobs.command.d.ts +2 -2
- package/build/commands/tools/tts/retry-tts-job.command.d.ts +2 -2
- package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +2 -2
- package/build/commands/tools/tts/tts.command.d.ts +2 -2
- package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +2 -2
- package/build/commands/tools/tts/update-tts-job-title.command.d.ts +2 -2
- package/build/commands/tools/video-editor/edit-video.command.d.ts +2 -2
- package/build/commands/tools/video-editor/find-video-editor-job-by-id.command.d.ts +2 -2
- package/build/commands/tools/video-editor/find-video-editor-jobs.command.d.ts +2 -2
- package/build/commands/tools/video-editor/retry-video-editor-job.command.d.ts +2 -2
- package/build/commands/tools/video-editor/set-reaction-to-video-editor-job.command.d.ts +2 -2
- package/build/commands/tools/video-editor/update-video-editor-job-favorite.command.d.ts +2 -2
- package/build/commands/tools/video-editor/update-video-editor-job-title.command.d.ts +2 -2
- package/build/commands/user/get-me.command.d.ts +16 -0
- package/build/commands/user/get-me.command.js +1 -0
- package/build/constants/index.d.ts +1 -0
- package/build/constants/index.js +1 -0
- package/build/constants/loyalty-status/enums/index.d.ts +1 -0
- package/build/constants/loyalty-status/enums/index.js +17 -0
- package/build/constants/loyalty-status/enums/loyalty-level.enum.d.ts +7 -0
- package/build/constants/loyalty-status/enums/loyalty-level.enum.js +11 -0
- package/build/constants/loyalty-status/index.d.ts +3 -0
- package/build/constants/loyalty-status/index.js +19 -0
- package/build/constants/loyalty-status/loyalty-levels.constant.d.ts +6 -0
- package/build/constants/loyalty-status/loyalty-levels.constant.js +11 -0
- package/build/constants/loyalty-status/loyalty-win-back.constant.d.ts +1 -0
- package/build/constants/loyalty-status/loyalty-win-back.constant.js +4 -0
- package/build/constants/tool-interior-design/enums/index.d.ts +1 -0
- package/build/constants/tool-interior-design/enums/index.js +1 -0
- package/build/constants/tool-interior-design/enums/interior-design-generation-group-status.enum.d.ts +6 -0
- package/build/constants/tool-interior-design/enums/interior-design-generation-group-status.enum.js +10 -0
- package/build/models/index.d.ts +1 -0
- package/build/models/index.js +1 -0
- package/build/models/tool-job.schema.d.ts +2 -2
- package/build/models/tool-job.schema.js +2 -2
- package/build/models/tools/image-editor/image-editor-job.schema.d.ts +2 -2
- package/build/models/tools/image-recognition/image-recognition-job.schema.d.ts +2 -2
- package/build/models/tools/interior-design/index.d.ts +1 -0
- package/build/models/tools/interior-design/index.js +1 -0
- package/build/models/tools/interior-design/interior-design-config.schema.d.ts +136 -7
- package/build/models/tools/interior-design/interior-design-config.schema.js +28 -2
- package/build/models/tools/interior-design/interior-design-generation-group.schema.d.ts +95 -0
- package/build/models/tools/interior-design/interior-design-generation-group.schema.js +24 -0
- package/build/models/tools/interior-design/interior-design-job.schema.d.ts +29 -2
- package/build/models/tools/interior-design/interior-design-job.schema.js +7 -0
- package/build/models/tools/interior-design/interior-design-model.schema.d.ts +9 -0
- package/build/models/tools/interior-design/interior-design-model.schema.js +6 -0
- package/build/models/tools/marketplace-card/marketplace-card-job.schema.d.ts +3 -2
- package/build/models/tools/marketplace-card/marketplace-card-job.schema.js +1 -0
- package/build/models/tools/music/music-job.schema.d.ts +16 -16
- package/build/models/tools/music/music-playlist.schema.d.ts +16 -16
- package/build/models/tools/paraphrase/paraphrase-job.schema.d.ts +2 -2
- package/build/models/tools/sound-generation/sound-generation-job.schema.d.ts +2 -2
- package/build/models/tools/spell-corrector/spell-corrector-job.schema.d.ts +2 -2
- package/build/models/tools/stt/stt-job.schema.d.ts +2 -2
- package/build/models/tools/tool-workspace/tool-workspace-contents.schema.d.ts +5 -2
- package/build/models/tools/tool-workspace/tool-workspace-item.schema.d.ts +3 -2
- package/build/models/tools/tool-workspace/tool-workspace-job.schema.d.ts +3 -2
- package/build/models/tools/tool-workspace/tool-workspace.schema.d.ts +2 -0
- package/build/models/tools/tool-workspace/tool-workspace.schema.js +2 -0
- package/build/models/tools/tts/tts-job.schema.d.ts +2 -2
- package/build/models/tools/video-editor/video-editor-job.schema.d.ts +2 -2
- package/build/models/user-loyalty-status.schema.d.ts +19 -0
- package/build/models/user-loyalty-status.schema.js +21 -0
- package/package.json +1 -1
|
@@ -61,6 +61,7 @@ export * from './writer';
|
|
|
61
61
|
export * from './image-editor';
|
|
62
62
|
export * from './image-recognition';
|
|
63
63
|
export * from './daily-streak';
|
|
64
|
+
export * from './loyalty-status';
|
|
64
65
|
export * from './cabinet';
|
|
65
66
|
export * from './webmaster';
|
|
66
67
|
export * from './music';
|
|
@@ -77,6 +77,7 @@ __exportStar(require("./writer"), exports);
|
|
|
77
77
|
__exportStar(require("./image-editor"), exports);
|
|
78
78
|
__exportStar(require("./image-recognition"), exports);
|
|
79
79
|
__exportStar(require("./daily-streak"), exports);
|
|
80
|
+
__exportStar(require("./loyalty-status"), exports);
|
|
80
81
|
__exportStar(require("./cabinet"), exports);
|
|
81
82
|
__exportStar(require("./webmaster"), exports);
|
|
82
83
|
__exportStar(require("./music"), exports);
|
|
@@ -7,8 +7,8 @@ export declare const INTERIOR_DESIGN_ROUTES: {
|
|
|
7
7
|
readonly GET_JOB: (uuid: string) => string;
|
|
8
8
|
readonly UPDATE: (uuid: string) => string;
|
|
9
9
|
readonly UPDATE_FAVORITE: (uuid: string) => string;
|
|
10
|
+
readonly RETRY: (uuid: string) => string;
|
|
10
11
|
readonly SET_REACTION: (uuid: string) => string;
|
|
11
12
|
readonly DELETE: (uuid: string) => string;
|
|
12
13
|
readonly DELETE_ALL: 'jobs';
|
|
13
|
-
readonly RETRY: (uuid: string) => string;
|
|
14
14
|
};
|
|
@@ -10,8 +10,8 @@ exports.INTERIOR_DESIGN_ROUTES = {
|
|
|
10
10
|
GET_JOB: (uuid) => `jobs/${uuid}`,
|
|
11
11
|
UPDATE: (uuid) => `jobs/${uuid}`,
|
|
12
12
|
UPDATE_FAVORITE: (uuid) => `jobs/${uuid}/favorite`,
|
|
13
|
+
RETRY: (uuid) => `jobs/${uuid}/retry`,
|
|
13
14
|
SET_REACTION: (uuid) => `jobs/${uuid}/reaction`,
|
|
14
15
|
DELETE: (uuid) => `jobs/${uuid}`,
|
|
15
16
|
DELETE_ALL: 'jobs',
|
|
16
|
-
RETRY: (uuid) => `jobs/${uuid}/retry`,
|
|
17
17
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LOYALTY_STATUS_ROUTES = exports.LOYALTY_STATUS_CONTROLLER = void 0;
|
|
4
|
+
exports.LOYALTY_STATUS_CONTROLLER = 'loyalty-status';
|
|
5
|
+
exports.LOYALTY_STATUS_ROUTES = {
|
|
6
|
+
CRON_RUN_LIFECYCLE: 'cron/run-lifecycle',
|
|
7
|
+
};
|
package/build/api/routes.d.ts
CHANGED
|
@@ -490,6 +490,9 @@ export declare const REST_API: {
|
|
|
490
490
|
readonly GET: "/api/private/daily-streak/";
|
|
491
491
|
readonly COLLECT: "/api/private/daily-streak/collect";
|
|
492
492
|
};
|
|
493
|
+
readonly LOYALTY_STATUS: {
|
|
494
|
+
readonly CRON_RUN_LIFECYCLE: "/api/loyalty-status/cron/run-lifecycle";
|
|
495
|
+
};
|
|
493
496
|
readonly CABINET: {
|
|
494
497
|
readonly GET_USER_STATISTICS_OVERVIEW: "/api/private/cabinet/statistics/overview";
|
|
495
498
|
readonly GET_USER_STATISTICS_BY_MONTH: "/api/private/cabinet/statistics/by-month";
|
package/build/api/routes.js
CHANGED
|
@@ -528,6 +528,9 @@ exports.REST_API = {
|
|
|
528
528
|
GET: `${exports.ROOT}/${CONTROLLERS.DAILY_STREAK_PRIVATE_CONTROLLER}/${CONTROLLERS.DAILY_STREAK_ROUTES.GET}`,
|
|
529
529
|
COLLECT: `${exports.ROOT}/${CONTROLLERS.DAILY_STREAK_PRIVATE_CONTROLLER}/${CONTROLLERS.DAILY_STREAK_ROUTES.COLLECT}`,
|
|
530
530
|
},
|
|
531
|
+
LOYALTY_STATUS: {
|
|
532
|
+
CRON_RUN_LIFECYCLE: `${exports.ROOT}/${CONTROLLERS.LOYALTY_STATUS_CONTROLLER}/${CONTROLLERS.LOYALTY_STATUS_ROUTES.CRON_RUN_LIFECYCLE}`,
|
|
533
|
+
},
|
|
531
534
|
CABINET: {
|
|
532
535
|
GET_USER_STATISTICS_OVERVIEW: `${exports.ROOT}/${CONTROLLERS.CABINET_CONTROLLER}/${CONTROLLERS.CABINET_ROUTES.GET_USER_STATISTICS_OVERVIEW}`,
|
|
533
536
|
GET_USER_STATISTICS_BY_MONTH: `${exports.ROOT}/${CONTROLLERS.CABINET_CONTROLLER}/${CONTROLLERS.CABINET_ROUTES.GET_USER_STATISTICS_BY_MONTH}`,
|
|
@@ -264,8 +264,8 @@ export declare namespace ExecutePhotoStudioActionCommand {
|
|
|
264
264
|
status: z.ZodEnum<typeof import("../..").TOOL_JOB_STATUS>;
|
|
265
265
|
error: z.ZodNullable<z.ZodString>;
|
|
266
266
|
isFavorite: z.ZodBoolean;
|
|
267
|
-
createdAt: z.
|
|
268
|
-
updatedAt: z.
|
|
267
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
268
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
269
269
|
actionType: z.ZodEnum<typeof PHOTO_STUDIO_ACTION_ALIAS>;
|
|
270
270
|
baseCheckpointSequence: z.ZodNullable<z.ZodNumber>;
|
|
271
271
|
targetCheckpointSequence: z.ZodNullable<z.ZodNumber>;
|
|
@@ -291,8 +291,8 @@ export declare namespace ExecutePhotoStudioActionCommand {
|
|
|
291
291
|
status: z.ZodEnum<typeof import("../..").TOOL_JOB_STATUS>;
|
|
292
292
|
error: z.ZodNullable<z.ZodString>;
|
|
293
293
|
isFavorite: z.ZodBoolean;
|
|
294
|
-
createdAt: z.
|
|
295
|
-
updatedAt: z.
|
|
294
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
295
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
296
296
|
actionType: z.ZodEnum<typeof PHOTO_STUDIO_ACTION_ALIAS>;
|
|
297
297
|
baseCheckpointSequence: z.ZodNullable<z.ZodNumber>;
|
|
298
298
|
targetCheckpointSequence: z.ZodNullable<z.ZodNumber>;
|
|
@@ -11,8 +11,8 @@ export declare namespace RetryPhotoStudioJobCommand {
|
|
|
11
11
|
status: z.ZodEnum<typeof import("../..").TOOL_JOB_STATUS>;
|
|
12
12
|
error: z.ZodNullable<z.ZodString>;
|
|
13
13
|
isFavorite: z.ZodBoolean;
|
|
14
|
-
createdAt: z.
|
|
15
|
-
updatedAt: z.
|
|
14
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
15
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
16
16
|
actionType: z.ZodEnum<typeof import("../..").PHOTO_STUDIO_ACTION_ALIAS>;
|
|
17
17
|
baseCheckpointSequence: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
targetCheckpointSequence: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1641,6 +1641,22 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
1641
1641
|
updatedAt: z.ZodDate;
|
|
1642
1642
|
}, z.core.$strip>;
|
|
1643
1643
|
}, z.core.$strip>>>;
|
|
1644
|
+
loyaltyStatus: z.ZodObject<{
|
|
1645
|
+
level: z.ZodEnum<typeof import("../..").LOYALTY_LEVEL>;
|
|
1646
|
+
paidMonths: z.ZodNumber;
|
|
1647
|
+
renewalBonusPercent: z.ZodNumber;
|
|
1648
|
+
nextLevel: z.ZodNullable<z.ZodEnum<typeof import("../..").LOYALTY_LEVEL>>;
|
|
1649
|
+
nextLevelThresholdMonths: z.ZodNullable<z.ZodNumber>;
|
|
1650
|
+
nextLevelRenewalBonusPercent: z.ZodNullable<z.ZodNumber>;
|
|
1651
|
+
monthsToNextLevel: z.ZodNullable<z.ZodNumber>;
|
|
1652
|
+
isLapsed: z.ZodBoolean;
|
|
1653
|
+
winBackDeadline: z.ZodNullable<z.ZodDate>;
|
|
1654
|
+
levels: z.ZodArray<z.ZodObject<{
|
|
1655
|
+
level: z.ZodEnum<typeof import("../..").LOYALTY_LEVEL>;
|
|
1656
|
+
thresholdMonths: z.ZodNumber;
|
|
1657
|
+
renewalBonusPercent: z.ZodNumber;
|
|
1658
|
+
}, z.core.$strip>>;
|
|
1659
|
+
}, z.core.$strip>;
|
|
1644
1660
|
}, z.core.$strip>;
|
|
1645
1661
|
type Response = z.infer<typeof ResponseSchema>;
|
|
1646
1662
|
}
|
|
@@ -10,5 +10,6 @@ var GetSubscriptionsSummaryCommand;
|
|
|
10
10
|
subscriptions: zod_1.z.array(models_1.UserToSubscriptionWithDowngradeSubscriptionSchema),
|
|
11
11
|
products: zod_1.z.array(models_1.UserToProductWithProductSchema),
|
|
12
12
|
teamSubscription: models_1.TeamToSubscriptionWithSubscriptionSchema.nullable(),
|
|
13
|
+
loyaltyStatus: models_1.UserLoyaltyStatusResponseSchema,
|
|
13
14
|
});
|
|
14
15
|
})(GetSubscriptionsSummaryCommand || (exports.GetSubscriptionsSummaryCommand = GetSubscriptionsSummaryCommand = {}));
|
|
@@ -10,8 +10,8 @@ export declare namespace FindImageEditorJobByUUIDCommand {
|
|
|
10
10
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
11
11
|
error: z.ZodNullable<z.ZodString>;
|
|
12
12
|
isFavorite: z.ZodBoolean;
|
|
13
|
-
createdAt: z.
|
|
14
|
-
updatedAt: z.
|
|
13
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
14
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
15
15
|
title: z.ZodString;
|
|
16
16
|
prompt: z.ZodString;
|
|
17
17
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
@@ -16,8 +16,8 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
16
16
|
status: z.ZodEnum<typeof TOOL_JOB_STATUS>;
|
|
17
17
|
error: z.ZodNullable<z.ZodString>;
|
|
18
18
|
isFavorite: z.ZodBoolean;
|
|
19
|
-
createdAt: z.
|
|
20
|
-
updatedAt: z.
|
|
19
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
20
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
21
21
|
title: z.ZodString;
|
|
22
22
|
prompt: z.ZodString;
|
|
23
23
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
@@ -23,8 +23,8 @@ export declare namespace ImageEditorCommand {
|
|
|
23
23
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
24
24
|
error: z.ZodNullable<z.ZodString>;
|
|
25
25
|
isFavorite: z.ZodBoolean;
|
|
26
|
-
createdAt: z.
|
|
27
|
-
updatedAt: z.
|
|
26
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
27
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
28
28
|
}, z.core.$strip>;
|
|
29
29
|
}, z.core.$strip>;
|
|
30
30
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -21,8 +21,8 @@ export declare namespace RetryImageEditorJobCommand {
|
|
|
21
21
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
22
22
|
error: z.ZodNullable<z.ZodString>;
|
|
23
23
|
isFavorite: z.ZodBoolean;
|
|
24
|
-
createdAt: z.
|
|
25
|
-
updatedAt: z.
|
|
24
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
25
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
26
26
|
title: z.ZodString;
|
|
27
27
|
prompt: z.ZodString;
|
|
28
28
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
@@ -16,8 +16,8 @@ export declare namespace SetReactionToImageEditorJobCommand {
|
|
|
16
16
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
17
17
|
error: z.ZodNullable<z.ZodString>;
|
|
18
18
|
isFavorite: z.ZodBoolean;
|
|
19
|
-
createdAt: z.
|
|
20
|
-
updatedAt: z.
|
|
19
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
20
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
21
21
|
title: z.ZodString;
|
|
22
22
|
prompt: z.ZodString;
|
|
23
23
|
reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
|
|
@@ -14,8 +14,8 @@ export declare namespace UpdateImageEditorJobFavoriteCommand {
|
|
|
14
14
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
15
15
|
error: z.ZodNullable<z.ZodString>;
|
|
16
16
|
isFavorite: z.ZodBoolean;
|
|
17
|
-
createdAt: z.
|
|
18
|
-
updatedAt: z.
|
|
17
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
18
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
19
19
|
title: z.ZodString;
|
|
20
20
|
prompt: z.ZodString;
|
|
21
21
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
@@ -14,8 +14,8 @@ export declare namespace UpdateImageEditorJobTitleCommand {
|
|
|
14
14
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
15
15
|
error: z.ZodNullable<z.ZodString>;
|
|
16
16
|
isFavorite: z.ZodBoolean;
|
|
17
|
-
createdAt: z.
|
|
18
|
-
updatedAt: z.
|
|
17
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
18
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
19
19
|
title: z.ZodString;
|
|
20
20
|
prompt: z.ZodString;
|
|
21
21
|
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
package/build/commands/tools/image-recognition/find-image-recognition-job-by-uuid.command.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ export declare namespace FindImageRecognitionJobByUUIDCommand {
|
|
|
10
10
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
11
11
|
error: z.ZodNullable<z.ZodString>;
|
|
12
12
|
isFavorite: z.ZodBoolean;
|
|
13
|
-
createdAt: z.
|
|
14
|
-
updatedAt: z.
|
|
13
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
14
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
15
15
|
title: z.ZodString;
|
|
16
16
|
prompt: z.ZodNullable<z.ZodString>;
|
|
17
17
|
categoryId: z.ZodString;
|
|
@@ -16,8 +16,8 @@ export declare namespace FindImageRecognitionJobsCommand {
|
|
|
16
16
|
status: z.ZodEnum<typeof TOOL_JOB_STATUS>;
|
|
17
17
|
error: z.ZodNullable<z.ZodString>;
|
|
18
18
|
isFavorite: z.ZodBoolean;
|
|
19
|
-
createdAt: z.
|
|
20
|
-
updatedAt: z.
|
|
19
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
20
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
21
21
|
title: z.ZodString;
|
|
22
22
|
prompt: z.ZodNullable<z.ZodString>;
|
|
23
23
|
categoryId: z.ZodString;
|
|
@@ -15,8 +15,8 @@ export declare namespace ImageRecognitionCommand {
|
|
|
15
15
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
16
16
|
error: z.ZodNullable<z.ZodString>;
|
|
17
17
|
isFavorite: z.ZodBoolean;
|
|
18
|
-
createdAt: z.
|
|
19
|
-
updatedAt: z.
|
|
18
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
19
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
20
20
|
title: z.ZodString;
|
|
21
21
|
prompt: z.ZodNullable<z.ZodString>;
|
|
22
22
|
categoryId: z.ZodString;
|
|
@@ -19,8 +19,8 @@ export declare namespace RetryImageRecognitionJobCommand {
|
|
|
19
19
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
20
20
|
error: z.ZodNullable<z.ZodString>;
|
|
21
21
|
isFavorite: z.ZodBoolean;
|
|
22
|
-
createdAt: z.
|
|
23
|
-
updatedAt: z.
|
|
22
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
23
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
24
24
|
title: z.ZodString;
|
|
25
25
|
prompt: z.ZodNullable<z.ZodString>;
|
|
26
26
|
categoryId: z.ZodString;
|
package/build/commands/tools/image-recognition/set-reaction-to-image-recognition-job.command.d.ts
CHANGED
|
@@ -16,8 +16,8 @@ export declare namespace SetReactionToImageRecognitionJobCommand {
|
|
|
16
16
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
17
17
|
error: z.ZodNullable<z.ZodString>;
|
|
18
18
|
isFavorite: z.ZodBoolean;
|
|
19
|
-
createdAt: z.
|
|
20
|
-
updatedAt: z.
|
|
19
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
20
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
21
21
|
title: z.ZodString;
|
|
22
22
|
prompt: z.ZodNullable<z.ZodString>;
|
|
23
23
|
categoryId: z.ZodString;
|
package/build/commands/tools/image-recognition/update-image-recognition-job-favorite.command.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ export declare namespace UpdateImageRecognitionJobFavoriteCommand {
|
|
|
14
14
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
15
15
|
error: z.ZodNullable<z.ZodString>;
|
|
16
16
|
isFavorite: z.ZodBoolean;
|
|
17
|
-
createdAt: z.
|
|
18
|
-
updatedAt: z.
|
|
17
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
18
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
19
19
|
title: z.ZodString;
|
|
20
20
|
prompt: z.ZodNullable<z.ZodString>;
|
|
21
21
|
categoryId: z.ZodString;
|
package/build/commands/tools/image-recognition/update-image-recognition-job-title.command.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ export declare namespace UpdateImageRecognitionJobTitleCommand {
|
|
|
14
14
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
15
15
|
error: z.ZodNullable<z.ZodString>;
|
|
16
16
|
isFavorite: z.ZodBoolean;
|
|
17
|
-
createdAt: z.
|
|
18
|
-
updatedAt: z.
|
|
17
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
18
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
19
19
|
title: z.ZodString;
|
|
20
20
|
prompt: z.ZodNullable<z.ZodString>;
|
|
21
21
|
categoryId: z.ZodString;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace DeleteInteriorDesignGenerationGroupByUUIDCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodUUID;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
|
+
const ResponseSchema: z.ZodVoid;
|
|
8
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteInteriorDesignGenerationGroupByUUIDCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var DeleteInteriorDesignGenerationGroupByUUIDCommand;
|
|
6
|
+
(function (DeleteInteriorDesignGenerationGroupByUUIDCommand) {
|
|
7
|
+
DeleteInteriorDesignGenerationGroupByUUIDCommand.RequestParamsSchema = zod_1.z.object({
|
|
8
|
+
uuid: zod_1.z.uuid(),
|
|
9
|
+
});
|
|
10
|
+
DeleteInteriorDesignGenerationGroupByUUIDCommand.ResponseSchema = zod_1.z.void();
|
|
11
|
+
})(DeleteInteriorDesignGenerationGroupByUUIDCommand || (exports.DeleteInteriorDesignGenerationGroupByUUIDCommand = DeleteInteriorDesignGenerationGroupByUUIDCommand = {}));
|
package/build/commands/tools/interior-design/delete-interior-design-job-by-uuid.command.d.ts
CHANGED
|
@@ -4,6 +4,102 @@ export declare namespace DeleteInteriorDesignJobByUuidCommand {
|
|
|
4
4
|
uuid: z.ZodUUID;
|
|
5
5
|
}, z.core.$strip>;
|
|
6
6
|
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
|
-
const ResponseSchema: z.
|
|
7
|
+
const ResponseSchema: z.ZodObject<{
|
|
8
|
+
data: z.ZodObject<{
|
|
9
|
+
deletedVariantId: z.ZodUUID;
|
|
10
|
+
group: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
uuid: z.ZodUUID;
|
|
12
|
+
title: z.ZodString;
|
|
13
|
+
prompt: z.ZodString;
|
|
14
|
+
status: z.ZodEnum<typeof import("../../..").INTERIOR_DESIGN_GENERATION_GROUP_STATUS>;
|
|
15
|
+
error: z.ZodNullable<z.ZodString>;
|
|
16
|
+
modelId: z.ZodString;
|
|
17
|
+
price: z.ZodNumber;
|
|
18
|
+
params: z.ZodObject<{
|
|
19
|
+
attachedFiles: z.ZodArray<z.ZodObject<{
|
|
20
|
+
uuid: z.ZodString;
|
|
21
|
+
url: z.ZodString;
|
|
22
|
+
name: z.ZodString;
|
|
23
|
+
mimeType: z.ZodString;
|
|
24
|
+
type: z.ZodString;
|
|
25
|
+
size: z.ZodNumber;
|
|
26
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
27
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
styleId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
roomTypeId: z.ZodOptional<z.ZodString>;
|
|
32
|
+
generationType: z.ZodOptional<z.ZodEnum<{
|
|
33
|
+
create: "create";
|
|
34
|
+
edit: "edit";
|
|
35
|
+
}>>;
|
|
36
|
+
generationMode: z.ZodOptional<z.ZodEnum<{
|
|
37
|
+
facade: "facade";
|
|
38
|
+
interior: "interior";
|
|
39
|
+
landscape: "landscape";
|
|
40
|
+
}>>;
|
|
41
|
+
objectTypeId: z.ZodOptional<z.ZodString>;
|
|
42
|
+
objectSubtypeId: z.ZodOptional<z.ZodString>;
|
|
43
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
44
|
+
batching: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
47
|
+
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
48
|
+
isDeleted: z.ZodBoolean;
|
|
49
|
+
isFavorite: z.ZodBoolean;
|
|
50
|
+
subJobs: z.ZodArray<z.ZodObject<{
|
|
51
|
+
uuid: z.ZodUUID;
|
|
52
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
53
|
+
error: z.ZodNullable<z.ZodString>;
|
|
54
|
+
isFavorite: z.ZodBoolean;
|
|
55
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
56
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
57
|
+
title: z.ZodString;
|
|
58
|
+
prompt: z.ZodString;
|
|
59
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
60
|
+
imageUrls: z.ZodArray<z.ZodString>;
|
|
61
|
+
jobSource: z.ZodEnum<typeof import("../../..").INTERIOR_DESIGN_JOB_SOURCE>;
|
|
62
|
+
images: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
63
|
+
uuid: z.ZodUUID;
|
|
64
|
+
url: z.ZodString;
|
|
65
|
+
}, z.core.$strip>>>;
|
|
66
|
+
params: z.ZodObject<{
|
|
67
|
+
attachedFiles: z.ZodArray<z.ZodObject<{
|
|
68
|
+
uuid: z.ZodString;
|
|
69
|
+
url: z.ZodString;
|
|
70
|
+
name: z.ZodString;
|
|
71
|
+
mimeType: z.ZodString;
|
|
72
|
+
type: z.ZodString;
|
|
73
|
+
size: z.ZodNumber;
|
|
74
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
75
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
76
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
77
|
+
}, z.core.$strip>>;
|
|
78
|
+
styleId: z.ZodOptional<z.ZodString>;
|
|
79
|
+
roomTypeId: z.ZodOptional<z.ZodString>;
|
|
80
|
+
generationType: z.ZodOptional<z.ZodEnum<{
|
|
81
|
+
create: "create";
|
|
82
|
+
edit: "edit";
|
|
83
|
+
}>>;
|
|
84
|
+
generationMode: z.ZodOptional<z.ZodEnum<{
|
|
85
|
+
facade: "facade";
|
|
86
|
+
interior: "interior";
|
|
87
|
+
landscape: "landscape";
|
|
88
|
+
}>>;
|
|
89
|
+
objectTypeId: z.ZodOptional<z.ZodString>;
|
|
90
|
+
objectSubtypeId: z.ZodOptional<z.ZodString>;
|
|
91
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
92
|
+
batching: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
modelId: z.ZodString;
|
|
95
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
96
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
97
|
+
}, z.core.$strip>>;
|
|
98
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
99
|
+
completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
100
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
101
|
+
}, z.core.$strip>>;
|
|
102
|
+
}, z.core.$strip>;
|
|
103
|
+
}, z.core.$strip>;
|
|
8
104
|
type Response = z.infer<typeof ResponseSchema>;
|
|
9
105
|
}
|
|
@@ -2,10 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteInteriorDesignJobByUuidCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../models");
|
|
5
6
|
var DeleteInteriorDesignJobByUuidCommand;
|
|
6
7
|
(function (DeleteInteriorDesignJobByUuidCommand) {
|
|
7
8
|
DeleteInteriorDesignJobByUuidCommand.RequestParamsSchema = zod_1.z.object({
|
|
8
9
|
uuid: zod_1.z.uuid(),
|
|
9
10
|
});
|
|
10
|
-
DeleteInteriorDesignJobByUuidCommand.ResponseSchema = zod_1.z.
|
|
11
|
+
DeleteInteriorDesignJobByUuidCommand.ResponseSchema = zod_1.z.object({
|
|
12
|
+
data: zod_1.z.object({
|
|
13
|
+
deletedVariantId: zod_1.z.uuid(),
|
|
14
|
+
group: models_1.InteriorDesignGenerationGroupSchema.nullable(),
|
|
15
|
+
}),
|
|
16
|
+
});
|
|
11
17
|
})(DeleteInteriorDesignJobByUuidCommand || (exports.DeleteInteriorDesignJobByUuidCommand = DeleteInteriorDesignJobByUuidCommand = {}));
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace FindInteriorDesignGenerationGroupByUUIDCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodUUID;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
|
+
const ResponseSchema: z.ZodObject<{
|
|
8
|
+
data: z.ZodObject<{
|
|
9
|
+
uuid: z.ZodUUID;
|
|
10
|
+
title: z.ZodString;
|
|
11
|
+
prompt: z.ZodString;
|
|
12
|
+
status: z.ZodEnum<typeof import("../../..").INTERIOR_DESIGN_GENERATION_GROUP_STATUS>;
|
|
13
|
+
error: z.ZodNullable<z.ZodString>;
|
|
14
|
+
modelId: z.ZodString;
|
|
15
|
+
price: z.ZodNumber;
|
|
16
|
+
params: z.ZodObject<{
|
|
17
|
+
attachedFiles: z.ZodArray<z.ZodObject<{
|
|
18
|
+
uuid: z.ZodString;
|
|
19
|
+
url: z.ZodString;
|
|
20
|
+
name: z.ZodString;
|
|
21
|
+
mimeType: z.ZodString;
|
|
22
|
+
type: z.ZodString;
|
|
23
|
+
size: z.ZodNumber;
|
|
24
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
25
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
26
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
styleId: z.ZodOptional<z.ZodString>;
|
|
29
|
+
roomTypeId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
generationType: z.ZodOptional<z.ZodEnum<{
|
|
31
|
+
create: "create";
|
|
32
|
+
edit: "edit";
|
|
33
|
+
}>>;
|
|
34
|
+
generationMode: z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
facade: "facade";
|
|
36
|
+
interior: "interior";
|
|
37
|
+
landscape: "landscape";
|
|
38
|
+
}>>;
|
|
39
|
+
objectTypeId: z.ZodOptional<z.ZodString>;
|
|
40
|
+
objectSubtypeId: z.ZodOptional<z.ZodString>;
|
|
41
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
42
|
+
batching: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
45
|
+
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
46
|
+
isDeleted: z.ZodBoolean;
|
|
47
|
+
isFavorite: z.ZodBoolean;
|
|
48
|
+
subJobs: z.ZodArray<z.ZodObject<{
|
|
49
|
+
uuid: z.ZodUUID;
|
|
50
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
51
|
+
error: z.ZodNullable<z.ZodString>;
|
|
52
|
+
isFavorite: z.ZodBoolean;
|
|
53
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
54
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
55
|
+
title: z.ZodString;
|
|
56
|
+
prompt: z.ZodString;
|
|
57
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
58
|
+
imageUrls: z.ZodArray<z.ZodString>;
|
|
59
|
+
jobSource: z.ZodEnum<typeof import("../../..").INTERIOR_DESIGN_JOB_SOURCE>;
|
|
60
|
+
images: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
61
|
+
uuid: z.ZodUUID;
|
|
62
|
+
url: z.ZodString;
|
|
63
|
+
}, z.core.$strip>>>;
|
|
64
|
+
params: z.ZodObject<{
|
|
65
|
+
attachedFiles: z.ZodArray<z.ZodObject<{
|
|
66
|
+
uuid: z.ZodString;
|
|
67
|
+
url: z.ZodString;
|
|
68
|
+
name: z.ZodString;
|
|
69
|
+
mimeType: z.ZodString;
|
|
70
|
+
type: z.ZodString;
|
|
71
|
+
size: z.ZodNumber;
|
|
72
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
73
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
74
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
75
|
+
}, z.core.$strip>>;
|
|
76
|
+
styleId: z.ZodOptional<z.ZodString>;
|
|
77
|
+
roomTypeId: z.ZodOptional<z.ZodString>;
|
|
78
|
+
generationType: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
create: "create";
|
|
80
|
+
edit: "edit";
|
|
81
|
+
}>>;
|
|
82
|
+
generationMode: z.ZodOptional<z.ZodEnum<{
|
|
83
|
+
facade: "facade";
|
|
84
|
+
interior: "interior";
|
|
85
|
+
landscape: "landscape";
|
|
86
|
+
}>>;
|
|
87
|
+
objectTypeId: z.ZodOptional<z.ZodString>;
|
|
88
|
+
objectSubtypeId: z.ZodOptional<z.ZodString>;
|
|
89
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
90
|
+
batching: z.ZodOptional<z.ZodNumber>;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
modelId: z.ZodString;
|
|
93
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
95
|
+
}, z.core.$strip>>;
|
|
96
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
97
|
+
completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
98
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
99
|
+
}, z.core.$strip>;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
102
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindInteriorDesignGenerationGroupByUUIDCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../models");
|
|
6
|
+
var FindInteriorDesignGenerationGroupByUUIDCommand;
|
|
7
|
+
(function (FindInteriorDesignGenerationGroupByUUIDCommand) {
|
|
8
|
+
FindInteriorDesignGenerationGroupByUUIDCommand.RequestParamsSchema = zod_1.z.object({
|
|
9
|
+
uuid: zod_1.z.uuid(),
|
|
10
|
+
});
|
|
11
|
+
FindInteriorDesignGenerationGroupByUUIDCommand.ResponseSchema = zod_1.z.object({
|
|
12
|
+
data: models_1.InteriorDesignGenerationGroupSchema,
|
|
13
|
+
});
|
|
14
|
+
})(FindInteriorDesignGenerationGroupByUUIDCommand || (exports.FindInteriorDesignGenerationGroupByUUIDCommand = FindInteriorDesignGenerationGroupByUUIDCommand = {}));
|