@purpleschool/gptbot-tools 0.2.61 → 0.2.62-stage2
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/ai-proxy/routes/ai-proxy.routes.d.ts +1 -0
- package/build/ai-proxy/routes/ai-proxy.routes.js +1 -0
- package/build/index.d.ts +3 -3
- package/build/index.js +3 -3
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +58 -0
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +21 -0
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +14 -0
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +12 -0
- package/build/photo-sessions/commands/admin/index.d.ts +3 -0
- package/build/{sound-generation/queries → photo-sessions/commands/admin}/index.js +3 -3
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +55 -0
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +28 -0
- package/build/{sound-generation/commands/delete-all-sound-generation-jobs.command.d.ts → photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts} +1 -1
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +15 -0
- package/build/{sound-generation/commands/delete-sound-generation-job-by-uuid.command.d.ts → photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts} +2 -2
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +14 -0
- package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +46 -0
- package/build/photo-sessions/commands/get-photo-sessions-price.command.js +30 -0
- package/build/photo-sessions/commands/index.d.ts +10 -0
- package/build/{sound-generation → photo-sessions}/commands/index.js +10 -8
- package/build/photo-sessions/commands/photo-sessions.command.d.ts +147 -0
- package/build/photo-sessions/commands/photo-sessions.command.js +41 -0
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +142 -0
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +23 -0
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +115 -0
- package/build/{sound-generation/commands/set-reaction-to-sound-generation-job.command.js → photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js} +7 -7
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +113 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +16 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +113 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +16 -0
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +118 -0
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +26 -0
- package/build/photo-sessions/enums/index.d.ts +2 -0
- package/build/{sound-generation/routes → photo-sessions/enums}/index.js +2 -1
- package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +5 -0
- package/build/photo-sessions/enums/photo-session-look-type.enum.js +9 -0
- package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +4 -0
- package/build/photo-sessions/enums/photo-session-strategy.enum.js +8 -0
- package/build/photo-sessions/models/index.d.ts +4 -0
- package/build/photo-sessions/models/index.js +20 -0
- package/build/photo-sessions/models/photo-session-config.schema.d.ts +72 -0
- package/build/photo-sessions/models/photo-session-config.schema.js +16 -0
- package/build/photo-sessions/models/photo-session-job.schema.d.ts +78 -0
- package/build/photo-sessions/models/photo-session-job.schema.js +46 -0
- package/build/photo-sessions/models/photo-session-model.schema.d.ts +69 -0
- package/build/photo-sessions/models/photo-session-model.schema.js +42 -0
- package/build/photo-sessions/models/photo-session-style.schema.d.ts +29 -0
- package/build/photo-sessions/models/photo-session-style.schema.js +22 -0
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +46 -0
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +10 -0
- package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +57 -0
- package/build/photo-sessions/queries/find-photo-session-styles.query.js +19 -0
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +110 -0
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +10 -0
- package/build/{sound-generation/queries/find-sound-generation-jobs.query.d.ts → photo-sessions/queries/find-photo-sessions-jobs.query.d.ts} +63 -33
- package/build/{sound-generation/queries/find-sound-generation-jobs.query.js → photo-sessions/queries/find-photo-sessions-jobs.query.js} +10 -17
- package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +142 -0
- package/build/photo-sessions/queries/get-photo-sessions-config.query.js +10 -0
- package/build/photo-sessions/queries/index.d.ts +5 -0
- package/build/{sound-generation/models → photo-sessions/queries}/index.js +5 -5
- package/build/photo-sessions/routes/index.d.ts +2 -0
- package/build/{sound-generation/enums → photo-sessions/routes}/index.js +2 -1
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +19 -0
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +22 -0
- package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +1 -0
- package/build/photo-sessions/routes/photo-sessions.http.routes.js +4 -0
- package/build/tools/enums/tool-content-type.enum.d.ts +2 -2
- package/build/tools/enums/tool-content-type.enum.js +1 -1
- package/build/tools/enums/tool-type.enum.d.ts +2 -2
- package/build/tools/enums/tool-type.enum.js +1 -1
- package/build/tools/models/global-tools-config.schema.d.ts +69 -25
- package/build/tools/models/global-tools-config.schema.js +2 -2
- package/build/tools/models/tools-with-configs.schema.d.ts +22 -88
- package/build/tools/models/tools-with-configs.schema.js +0 -5
- package/build/tools/queries/get-global-tools-config.query.d.ts +134 -46
- package/build/tools/queries/get-tools-with-configs.query.d.ts +22 -88
- package/build/tts/commands/create-voice-clone.command.d.ts +81 -0
- package/build/tts/commands/create-voice-clone.command.js +21 -0
- package/build/tts/commands/create-voice-design.command.d.ts +40 -0
- package/build/tts/commands/create-voice-design.command.js +20 -0
- package/build/tts/commands/delete-voice.command.d.ts +17 -0
- package/build/tts/commands/delete-voice.command.js +14 -0
- package/build/tts/commands/download-tts-job.command.d.ts +25 -0
- package/build/tts/commands/download-tts-job.command.js +19 -0
- package/build/{sound-generation/commands/get-sound-generation-price.command.d.ts → tts/commands/improve-tts-text.command.d.ts} +6 -8
- package/build/tts/commands/improve-tts-text.command.js +16 -0
- package/build/tts/commands/index.d.ts +7 -0
- package/build/tts/commands/index.js +7 -0
- package/build/tts/commands/retry-tts-job.command.d.ts +29 -2
- package/build/tts/commands/retry-tts-job.command.js +2 -0
- package/build/tts/commands/select-voice-design.command.d.ts +77 -0
- package/build/tts/commands/select-voice-design.command.js +17 -0
- package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +29 -2
- package/build/tts/commands/set-reaction-to-tts-job.command.js +1 -0
- package/build/tts/commands/tts.command.d.ts +35 -3
- package/build/tts/commands/tts.command.js +4 -1
- package/build/tts/commands/update-tts-job-favorite.command.d.ts +29 -2
- package/build/tts/commands/update-tts-job-favorite.command.js +2 -0
- package/build/tts/commands/update-tts-job-title.command.d.ts +29 -2
- package/build/tts/commands/update-tts-job-title.command.js +2 -0
- package/build/tts/commands/update-voice.command.d.ts +78 -0
- package/build/tts/commands/update-voice.command.js +18 -0
- package/build/tts/enums/index.d.ts +7 -0
- package/build/tts/enums/index.js +7 -0
- package/build/tts/enums/tts-download-format.enum.d.ts +5 -0
- package/build/tts/enums/tts-download-format.enum.js +9 -0
- package/build/tts/enums/voice-category.enum.d.ts +19 -0
- package/build/tts/enums/voice-category.enum.js +23 -0
- package/build/tts/enums/voice-gender.enum.d.ts +4 -0
- package/build/tts/enums/voice-gender.enum.js +8 -0
- package/build/tts/enums/voice-source.enum.d.ts +5 -0
- package/build/tts/enums/voice-source.enum.js +9 -0
- package/build/tts/enums/voice-status.enum.d.ts +5 -0
- package/build/tts/enums/voice-status.enum.js +9 -0
- package/build/tts/enums/voice-tag-group.enum.d.ts +5 -0
- package/build/tts/enums/voice-tag-group.enum.js +9 -0
- package/build/tts/enums/voice-tag.enum.d.ts +20 -0
- package/build/tts/enums/voice-tag.enum.js +24 -0
- package/build/tts/models/index.d.ts +7 -0
- package/build/tts/models/index.js +7 -0
- package/build/tts/models/tts-config-with-vendors.schema.d.ts +1 -0
- package/build/tts/models/tts-config.schema.d.ts +11 -0
- package/build/tts/models/tts-config.schema.js +5 -0
- package/build/tts/models/tts-job.schema.d.ts +34 -2
- package/build/tts/models/tts-job.schema.js +22 -2
- package/build/tts/models/tts-model-with-vendor.schema.d.ts +1 -0
- package/build/tts/models/tts-model.schema.d.ts +1 -0
- package/build/tts/models/tts-model.schema.js +1 -0
- package/build/tts/models/voice-category.schema.d.ts +7 -0
- package/build/tts/models/voice-category.schema.js +9 -0
- package/build/tts/models/voice-design-draft.schema.d.ts +13 -0
- package/build/tts/models/voice-design-draft.schema.js +13 -0
- package/build/tts/models/voice-design-sample.schema.d.ts +6 -0
- package/build/tts/models/voice-design-sample.schema.js +8 -0
- package/build/tts/models/voice-gender.schema.d.ts +7 -0
- package/build/tts/models/voice-gender.schema.js +9 -0
- package/build/tts/models/voice-source.schema.d.ts +7 -0
- package/build/tts/models/voice-source.schema.js +9 -0
- package/build/tts/models/voice-tag.schema.d.ts +9 -0
- package/build/tts/models/voice-tag.schema.js +11 -0
- package/build/tts/models/voice.schema.d.ts +34 -0
- package/build/tts/models/voice.schema.js +30 -0
- package/build/tts/queries/find-tts-job-by-id.query.d.ts +29 -2
- package/build/tts/queries/find-tts-job-by-id.query.js +2 -0
- package/build/tts/queries/find-tts-jobs.query.d.ts +29 -2
- package/build/tts/queries/find-tts-jobs.query.js +1 -0
- package/build/tts/queries/find-voice-by-id.query.d.ts +77 -0
- package/build/tts/queries/find-voice-by-id.query.js +17 -0
- package/build/tts/queries/find-voices.query.d.ts +122 -0
- package/build/tts/queries/find-voices.query.js +25 -0
- package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +2 -0
- package/build/tts/queries/get-tts-config.query.d.ts +22 -0
- package/build/tts/queries/index.d.ts +2 -0
- package/build/tts/queries/index.js +2 -0
- package/build/tts/routes/tts.amqp.routes.d.ts +9 -0
- package/build/tts/routes/tts.amqp.routes.js +9 -0
- package/package.json +1 -1
- package/build/sound-generation/commands/delete-all-sound-generation-jobs.command.js +0 -14
- package/build/sound-generation/commands/delete-sound-generation-job-by-uuid.command.js +0 -14
- package/build/sound-generation/commands/get-sound-generation-price.command.js +0 -17
- package/build/sound-generation/commands/index.d.ts +0 -8
- package/build/sound-generation/commands/retry-sound-generation-job.command.d.ts +0 -84
- package/build/sound-generation/commands/retry-sound-generation-job.command.js +0 -17
- package/build/sound-generation/commands/set-reaction-to-sound-generation-job.command.d.ts +0 -85
- package/build/sound-generation/commands/sound-generation.command.d.ts +0 -94
- package/build/sound-generation/commands/sound-generation.command.js +0 -27
- package/build/sound-generation/commands/update-sound-generation-job-favorite.command.d.ts +0 -83
- package/build/sound-generation/commands/update-sound-generation-job-favorite.command.js +0 -16
- package/build/sound-generation/commands/update-sound-generation-job-title.command.d.ts +0 -83
- package/build/sound-generation/commands/update-sound-generation-job-title.command.js +0 -16
- package/build/sound-generation/enums/index.d.ts +0 -1
- package/build/sound-generation/enums/sound-generation-strategy.enum.d.ts +0 -3
- package/build/sound-generation/enums/sound-generation-strategy.enum.js +0 -7
- package/build/sound-generation/models/index.d.ts +0 -5
- package/build/sound-generation/models/sound-generation-config.schema.d.ts +0 -34
- package/build/sound-generation/models/sound-generation-config.schema.js +0 -8
- package/build/sound-generation/models/sound-generation-job.schema.d.ts +0 -38
- package/build/sound-generation/models/sound-generation-job.schema.js +0 -34
- package/build/sound-generation/models/sound-generation-model.schema.d.ts +0 -42
- package/build/sound-generation/models/sound-generation-model.schema.js +0 -28
- package/build/sound-generation/models/sound-generation-params.schema.d.ts +0 -8
- package/build/sound-generation/models/sound-generation-params.schema.js +0 -10
- package/build/sound-generation/models/sound-generation-result.schema.d.ts +0 -6
- package/build/sound-generation/models/sound-generation-result.schema.js +0 -8
- package/build/sound-generation/queries/find-sound-generation-job-by-id.query.d.ts +0 -82
- package/build/sound-generation/queries/find-sound-generation-job-by-id.query.js +0 -15
- package/build/sound-generation/queries/get-sound-generation-config.query.d.ts +0 -76
- package/build/sound-generation/queries/get-sound-generation-config.query.js +0 -10
- package/build/sound-generation/queries/index.d.ts +0 -3
- package/build/sound-generation/routes/index.d.ts +0 -1
- package/build/sound-generation/routes/sound-generation.amqp.routes.d.ts +0 -13
- package/build/sound-generation/routes/sound-generation.amqp.routes.js +0 -16
- /package/build/{sound-generation → photo-sessions}/index.d.ts +0 -0
- /package/build/{sound-generation → photo-sessions}/index.js +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace FindPhotoSessionStylesQuery {
|
|
3
|
+
const RequestSchema: z.ZodObject<{
|
|
4
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
5
|
+
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
8
|
+
const ResponseSchema: z.ZodObject<{
|
|
9
|
+
isSuccess: z.ZodBoolean;
|
|
10
|
+
data: z.ZodOptional<z.ZodType<{
|
|
11
|
+
data: {
|
|
12
|
+
uuid: string;
|
|
13
|
+
code: string;
|
|
14
|
+
title: string;
|
|
15
|
+
description?: string | null | undefined;
|
|
16
|
+
references: {
|
|
17
|
+
uuid: string;
|
|
18
|
+
styleId: string;
|
|
19
|
+
photoUrl: string;
|
|
20
|
+
description?: string | null | undefined;
|
|
21
|
+
order: number;
|
|
22
|
+
createdAt: Date;
|
|
23
|
+
updatedAt: Date;
|
|
24
|
+
}[];
|
|
25
|
+
createdAt: Date;
|
|
26
|
+
updatedAt: Date;
|
|
27
|
+
}[];
|
|
28
|
+
page: number;
|
|
29
|
+
totalPages: number;
|
|
30
|
+
total: number;
|
|
31
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
32
|
+
data: {
|
|
33
|
+
uuid: string;
|
|
34
|
+
code: string;
|
|
35
|
+
title: string;
|
|
36
|
+
description?: string | null | undefined;
|
|
37
|
+
references: {
|
|
38
|
+
uuid: string;
|
|
39
|
+
styleId: string;
|
|
40
|
+
photoUrl: string;
|
|
41
|
+
description?: string | null | undefined;
|
|
42
|
+
order: number;
|
|
43
|
+
createdAt: Date;
|
|
44
|
+
updatedAt: Date;
|
|
45
|
+
}[];
|
|
46
|
+
createdAt: Date;
|
|
47
|
+
updatedAt: Date;
|
|
48
|
+
}[];
|
|
49
|
+
page: number;
|
|
50
|
+
totalPages: number;
|
|
51
|
+
total: number;
|
|
52
|
+
}, unknown>>>;
|
|
53
|
+
code: z.ZodOptional<z.ZodString>;
|
|
54
|
+
message: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindPhotoSessionStylesQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const command_response_schema_1 = require("../../common/models/command-response.schema");
|
|
6
|
+
const models_1 = require("../models");
|
|
7
|
+
var FindPhotoSessionStylesQuery;
|
|
8
|
+
(function (FindPhotoSessionStylesQuery) {
|
|
9
|
+
FindPhotoSessionStylesQuery.RequestSchema = zod_1.z.object({
|
|
10
|
+
limit: zod_1.z.coerce.number().min(1).max(48).optional().default(24),
|
|
11
|
+
offset: zod_1.z.coerce.number().min(0).optional().default(0),
|
|
12
|
+
});
|
|
13
|
+
FindPhotoSessionStylesQuery.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(zod_1.z.object({
|
|
14
|
+
data: zod_1.z.array(models_1.PhotoSessionStyleSchema),
|
|
15
|
+
page: zod_1.z.number(),
|
|
16
|
+
totalPages: zod_1.z.number(),
|
|
17
|
+
total: zod_1.z.number(),
|
|
18
|
+
}));
|
|
19
|
+
})(FindPhotoSessionStylesQuery || (exports.FindPhotoSessionStylesQuery = FindPhotoSessionStylesQuery = {}));
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace FindPhotoSessionsJobByIdQuery {
|
|
3
|
+
const RequestSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
7
|
+
const ResponseSchema: z.ZodObject<{
|
|
8
|
+
isSuccess: z.ZodBoolean;
|
|
9
|
+
data: z.ZodOptional<z.ZodType<{
|
|
10
|
+
uuid: string;
|
|
11
|
+
prompt: string;
|
|
12
|
+
reaction: import("../..").USER_REACTION | null;
|
|
13
|
+
dislikeReason: string | null;
|
|
14
|
+
externalId: string | null;
|
|
15
|
+
title: string;
|
|
16
|
+
status: import("../..").JOB_STATUS;
|
|
17
|
+
error: string | null;
|
|
18
|
+
modelId: string;
|
|
19
|
+
price: number;
|
|
20
|
+
previewUrl: string | null;
|
|
21
|
+
params: {
|
|
22
|
+
attachedFiles?: {
|
|
23
|
+
uuid: string;
|
|
24
|
+
url: string;
|
|
25
|
+
name: string;
|
|
26
|
+
mimeType: string;
|
|
27
|
+
type: string;
|
|
28
|
+
size: number;
|
|
29
|
+
duration?: number | null | undefined;
|
|
30
|
+
content?: string | null | undefined;
|
|
31
|
+
contentLength?: number | null | undefined;
|
|
32
|
+
}[] | undefined;
|
|
33
|
+
imageUrls?: string[] | undefined;
|
|
34
|
+
styleId?: string | null | undefined;
|
|
35
|
+
referenceId?: string | null | undefined;
|
|
36
|
+
referenceIds?: string[] | undefined;
|
|
37
|
+
customStylePrompt?: string | null | undefined;
|
|
38
|
+
customStylePhotos?: string[] | undefined;
|
|
39
|
+
clothingPhotos?: string[] | undefined;
|
|
40
|
+
hairstylePhotos?: string[] | undefined;
|
|
41
|
+
accessoriesPhotos?: string[] | undefined;
|
|
42
|
+
aspectRatio?: string | undefined;
|
|
43
|
+
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
44
|
+
};
|
|
45
|
+
imageUrls: string[] | null;
|
|
46
|
+
attempts: any[];
|
|
47
|
+
userId?: string | null | undefined;
|
|
48
|
+
unregisteredUserId?: string | null | undefined;
|
|
49
|
+
isPublished: boolean;
|
|
50
|
+
postId: string | null;
|
|
51
|
+
isDeleted: boolean;
|
|
52
|
+
isFavorite: boolean;
|
|
53
|
+
tokenReservationId?: string | null | undefined;
|
|
54
|
+
createdAt: Date;
|
|
55
|
+
completedAt?: Date | null | undefined;
|
|
56
|
+
updatedAt: Date;
|
|
57
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
58
|
+
uuid: string;
|
|
59
|
+
prompt: string;
|
|
60
|
+
reaction: import("../..").USER_REACTION | null;
|
|
61
|
+
dislikeReason: string | null;
|
|
62
|
+
externalId: string | null;
|
|
63
|
+
title: string;
|
|
64
|
+
status: import("../..").JOB_STATUS;
|
|
65
|
+
error: string | null;
|
|
66
|
+
modelId: string;
|
|
67
|
+
price: number;
|
|
68
|
+
previewUrl: string | null;
|
|
69
|
+
params: {
|
|
70
|
+
attachedFiles?: {
|
|
71
|
+
uuid: string;
|
|
72
|
+
url: string;
|
|
73
|
+
name: string;
|
|
74
|
+
mimeType: string;
|
|
75
|
+
type: string;
|
|
76
|
+
size: number;
|
|
77
|
+
duration?: number | null | undefined;
|
|
78
|
+
content?: string | null | undefined;
|
|
79
|
+
contentLength?: number | null | undefined;
|
|
80
|
+
}[] | undefined;
|
|
81
|
+
imageUrls?: string[] | undefined;
|
|
82
|
+
styleId?: string | null | undefined;
|
|
83
|
+
referenceId?: string | null | undefined;
|
|
84
|
+
referenceIds?: string[] | undefined;
|
|
85
|
+
customStylePrompt?: string | null | undefined;
|
|
86
|
+
customStylePhotos?: string[] | undefined;
|
|
87
|
+
clothingPhotos?: string[] | undefined;
|
|
88
|
+
hairstylePhotos?: string[] | undefined;
|
|
89
|
+
accessoriesPhotos?: string[] | undefined;
|
|
90
|
+
aspectRatio?: string | undefined;
|
|
91
|
+
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
92
|
+
};
|
|
93
|
+
imageUrls: string[] | null;
|
|
94
|
+
attempts: any[];
|
|
95
|
+
userId?: string | null | undefined;
|
|
96
|
+
unregisteredUserId?: string | null | undefined;
|
|
97
|
+
isPublished: boolean;
|
|
98
|
+
postId: string | null;
|
|
99
|
+
isDeleted: boolean;
|
|
100
|
+
isFavorite: boolean;
|
|
101
|
+
tokenReservationId?: string | null | undefined;
|
|
102
|
+
createdAt: Date;
|
|
103
|
+
completedAt?: Date | null | undefined;
|
|
104
|
+
updatedAt: Date;
|
|
105
|
+
}, unknown>>>;
|
|
106
|
+
code: z.ZodOptional<z.ZodString>;
|
|
107
|
+
message: z.ZodOptional<z.ZodString>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
110
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindPhotoSessionsJobByIdQuery = void 0;
|
|
4
|
+
const command_response_schema_1 = require("../../common/models/command-response.schema");
|
|
5
|
+
const models_1 = require("../models");
|
|
6
|
+
var FindPhotoSessionsJobByIdQuery;
|
|
7
|
+
(function (FindPhotoSessionsJobByIdQuery) {
|
|
8
|
+
FindPhotoSessionsJobByIdQuery.RequestSchema = models_1.PhotoSessionJobSchema.pick({ uuid: true });
|
|
9
|
+
FindPhotoSessionsJobByIdQuery.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.PhotoSessionJobSchema);
|
|
10
|
+
})(FindPhotoSessionsJobByIdQuery || (exports.FindPhotoSessionsJobByIdQuery = FindPhotoSessionsJobByIdQuery = {}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { JOB_SCOPE } from '../../common';
|
|
3
3
|
import { JOB_SORT, JOB_STATUS } from '../../tools';
|
|
4
|
-
export declare namespace
|
|
4
|
+
export declare namespace FindPhotoSessionsJobsQuery {
|
|
5
5
|
const RequestSchema: z.ZodObject<{
|
|
6
6
|
userId: z.ZodOptional<z.ZodString>;
|
|
7
7
|
unregisteredUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -20,33 +20,48 @@ export declare namespace FindSoundGenerationJobsQuery {
|
|
|
20
20
|
data: {
|
|
21
21
|
uuid: string;
|
|
22
22
|
prompt: string;
|
|
23
|
+
reaction: import("../..").USER_REACTION | null;
|
|
24
|
+
dislikeReason: string | null;
|
|
25
|
+
externalId: string | null;
|
|
23
26
|
title: string;
|
|
24
27
|
status: JOB_STATUS;
|
|
25
28
|
error: string | null;
|
|
26
|
-
internalError?: string | null | undefined;
|
|
27
29
|
modelId: string;
|
|
28
30
|
price: number;
|
|
31
|
+
previewUrl: string | null;
|
|
29
32
|
params: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
attachedFiles?: {
|
|
34
|
+
uuid: string;
|
|
35
|
+
url: string;
|
|
36
|
+
name: string;
|
|
37
|
+
mimeType: string;
|
|
38
|
+
type: string;
|
|
39
|
+
size: number;
|
|
40
|
+
duration?: number | null | undefined;
|
|
41
|
+
content?: string | null | undefined;
|
|
42
|
+
contentLength?: number | null | undefined;
|
|
43
|
+
}[] | undefined;
|
|
44
|
+
imageUrls?: string[] | undefined;
|
|
45
|
+
styleId?: string | null | undefined;
|
|
46
|
+
referenceId?: string | null | undefined;
|
|
47
|
+
referenceIds?: string[] | undefined;
|
|
48
|
+
customStylePrompt?: string | null | undefined;
|
|
49
|
+
customStylePhotos?: string[] | undefined;
|
|
50
|
+
clothingPhotos?: string[] | undefined;
|
|
51
|
+
hairstylePhotos?: string[] | undefined;
|
|
52
|
+
accessoriesPhotos?: string[] | undefined;
|
|
53
|
+
aspectRatio?: string | undefined;
|
|
54
|
+
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
34
55
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
duration: number;
|
|
38
|
-
}[];
|
|
39
|
-
attempts: unknown[];
|
|
40
|
-
reaction: import("../..").USER_REACTION | null;
|
|
41
|
-
dislikeReason: string | null;
|
|
42
|
-
scope: JOB_SCOPE;
|
|
43
|
-
locale: string;
|
|
44
|
-
processingAttemptId?: string | null | undefined;
|
|
56
|
+
imageUrls: string[] | null;
|
|
57
|
+
attempts: any[];
|
|
45
58
|
userId?: string | null | undefined;
|
|
46
59
|
unregisteredUserId?: string | null | undefined;
|
|
47
|
-
|
|
60
|
+
isPublished: boolean;
|
|
61
|
+
postId: string | null;
|
|
48
62
|
isDeleted: boolean;
|
|
49
63
|
isFavorite: boolean;
|
|
64
|
+
tokenReservationId?: string | null | undefined;
|
|
50
65
|
createdAt: Date;
|
|
51
66
|
completedAt?: Date | null | undefined;
|
|
52
67
|
updatedAt: Date;
|
|
@@ -58,33 +73,48 @@ export declare namespace FindSoundGenerationJobsQuery {
|
|
|
58
73
|
data: {
|
|
59
74
|
uuid: string;
|
|
60
75
|
prompt: string;
|
|
76
|
+
reaction: import("../..").USER_REACTION | null;
|
|
77
|
+
dislikeReason: string | null;
|
|
78
|
+
externalId: string | null;
|
|
61
79
|
title: string;
|
|
62
80
|
status: JOB_STATUS;
|
|
63
81
|
error: string | null;
|
|
64
|
-
internalError?: string | null | undefined;
|
|
65
82
|
modelId: string;
|
|
66
83
|
price: number;
|
|
84
|
+
previewUrl: string | null;
|
|
67
85
|
params: {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
86
|
+
attachedFiles?: {
|
|
87
|
+
uuid: string;
|
|
88
|
+
url: string;
|
|
89
|
+
name: string;
|
|
90
|
+
mimeType: string;
|
|
91
|
+
type: string;
|
|
92
|
+
size: number;
|
|
93
|
+
duration?: number | null | undefined;
|
|
94
|
+
content?: string | null | undefined;
|
|
95
|
+
contentLength?: number | null | undefined;
|
|
96
|
+
}[] | undefined;
|
|
97
|
+
imageUrls?: string[] | undefined;
|
|
98
|
+
styleId?: string | null | undefined;
|
|
99
|
+
referenceId?: string | null | undefined;
|
|
100
|
+
referenceIds?: string[] | undefined;
|
|
101
|
+
customStylePrompt?: string | null | undefined;
|
|
102
|
+
customStylePhotos?: string[] | undefined;
|
|
103
|
+
clothingPhotos?: string[] | undefined;
|
|
104
|
+
hairstylePhotos?: string[] | undefined;
|
|
105
|
+
accessoriesPhotos?: string[] | undefined;
|
|
106
|
+
aspectRatio?: string | undefined;
|
|
107
|
+
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
72
108
|
};
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
duration: number;
|
|
76
|
-
}[];
|
|
77
|
-
attempts: unknown[];
|
|
78
|
-
reaction: import("../..").USER_REACTION | null;
|
|
79
|
-
dislikeReason: string | null;
|
|
80
|
-
scope: JOB_SCOPE;
|
|
81
|
-
locale: string;
|
|
82
|
-
processingAttemptId?: string | null | undefined;
|
|
109
|
+
imageUrls: string[] | null;
|
|
110
|
+
attempts: any[];
|
|
83
111
|
userId?: string | null | undefined;
|
|
84
112
|
unregisteredUserId?: string | null | undefined;
|
|
85
|
-
|
|
113
|
+
isPublished: boolean;
|
|
114
|
+
postId: string | null;
|
|
86
115
|
isDeleted: boolean;
|
|
87
116
|
isFavorite: boolean;
|
|
117
|
+
tokenReservationId?: string | null | undefined;
|
|
88
118
|
createdAt: Date;
|
|
89
119
|
completedAt?: Date | null | undefined;
|
|
90
120
|
updatedAt: Date;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.FindPhotoSessionsJobsQuery = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const common_1 = require("../../common");
|
|
6
|
-
const tools_1 = require("../../tools");
|
|
7
6
|
const command_response_schema_1 = require("../../common/models/command-response.schema");
|
|
8
7
|
const models_1 = require("../models");
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
const tools_1 = require("../../tools");
|
|
9
|
+
var FindPhotoSessionsJobsQuery;
|
|
10
|
+
(function (FindPhotoSessionsJobsQuery) {
|
|
11
|
+
FindPhotoSessionsJobsQuery.RequestSchema = zod_1.z.object({
|
|
13
12
|
userId: zod_1.z.string().uuid().optional(),
|
|
14
13
|
unregisteredUserId: zod_1.z.string().uuid().optional(),
|
|
15
14
|
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
@@ -17,19 +16,13 @@ var FindSoundGenerationJobsQuery;
|
|
|
17
16
|
isFavorite: zod_1.z.coerce.boolean().optional(),
|
|
18
17
|
createdAtSortOrder: zod_1.z.nativeEnum(tools_1.JOB_SORT).optional().default(tools_1.JOB_SORT.DESC),
|
|
19
18
|
status: zod_1.z.nativeEnum(tools_1.JOB_STATUS).optional(),
|
|
20
|
-
limit: zod_1.z.coerce.number().
|
|
21
|
-
offset: zod_1.z.coerce.number().
|
|
22
|
-
})
|
|
23
|
-
.refine((data) => {
|
|
24
|
-
return Boolean(data.userId) !== Boolean(data.unregisteredUserId);
|
|
25
|
-
}, {
|
|
26
|
-
message: 'Exactly one of userId or unregisteredUserId is required',
|
|
27
|
-
path: ['userId', 'unregisteredUserId'],
|
|
19
|
+
limit: zod_1.z.coerce.number().min(1).optional(),
|
|
20
|
+
offset: zod_1.z.coerce.number().min(0).default(0).optional(),
|
|
28
21
|
});
|
|
29
|
-
|
|
30
|
-
data: zod_1.z.array(models_1.
|
|
22
|
+
FindPhotoSessionsJobsQuery.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(zod_1.z.object({
|
|
23
|
+
data: zod_1.z.array(models_1.PhotoSessionJobSchema),
|
|
31
24
|
page: zod_1.z.number(),
|
|
32
25
|
totalPages: zod_1.z.number(),
|
|
33
26
|
total: zod_1.z.number(),
|
|
34
27
|
}));
|
|
35
|
-
})(
|
|
28
|
+
})(FindPhotoSessionsJobsQuery || (exports.FindPhotoSessionsJobsQuery = FindPhotoSessionsJobsQuery = {}));
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetPhotoSessionsConfigQuery {
|
|
3
|
+
const RequestSchema: z.ZodObject<{
|
|
4
|
+
locale: z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
7
|
+
const ResponseSchema: z.ZodObject<{
|
|
8
|
+
isSuccess: z.ZodBoolean;
|
|
9
|
+
data: z.ZodOptional<z.ZodType<{
|
|
10
|
+
models: {
|
|
11
|
+
uuid: string;
|
|
12
|
+
title: string;
|
|
13
|
+
description: string;
|
|
14
|
+
aiModel: string;
|
|
15
|
+
isNew: boolean;
|
|
16
|
+
tierLabel: string;
|
|
17
|
+
pricePerImage: number;
|
|
18
|
+
order: number;
|
|
19
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
20
|
+
icons: {
|
|
21
|
+
light: {
|
|
22
|
+
svg: string;
|
|
23
|
+
png: string;
|
|
24
|
+
};
|
|
25
|
+
dark: {
|
|
26
|
+
svg: string;
|
|
27
|
+
png: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
strategy: import("..").PHOTO_SESSION_STRATEGY;
|
|
31
|
+
maxInputLength: number;
|
|
32
|
+
params: {
|
|
33
|
+
imageAttachment: {
|
|
34
|
+
supported: boolean;
|
|
35
|
+
maxImages: number;
|
|
36
|
+
acceptedTypes: string[];
|
|
37
|
+
};
|
|
38
|
+
aspectRatio: Record<string, {
|
|
39
|
+
width: number;
|
|
40
|
+
height: number;
|
|
41
|
+
}>;
|
|
42
|
+
};
|
|
43
|
+
pricingRules: {
|
|
44
|
+
condition: {
|
|
45
|
+
withoutSub?: boolean | undefined;
|
|
46
|
+
};
|
|
47
|
+
value: number;
|
|
48
|
+
}[];
|
|
49
|
+
createdAt: Date;
|
|
50
|
+
updatedAt: Date;
|
|
51
|
+
}[];
|
|
52
|
+
styles: {
|
|
53
|
+
uuid: string;
|
|
54
|
+
code: string;
|
|
55
|
+
title: string;
|
|
56
|
+
description?: string | null | undefined;
|
|
57
|
+
references: {
|
|
58
|
+
uuid: string;
|
|
59
|
+
styleId: string;
|
|
60
|
+
photoUrl: string;
|
|
61
|
+
description?: string | null | undefined;
|
|
62
|
+
order: number;
|
|
63
|
+
createdAt: Date;
|
|
64
|
+
updatedAt: Date;
|
|
65
|
+
}[];
|
|
66
|
+
createdAt: Date;
|
|
67
|
+
updatedAt: Date;
|
|
68
|
+
}[];
|
|
69
|
+
looks: {
|
|
70
|
+
type: import("..").PHOTO_SESSION_LOOK_TYPE;
|
|
71
|
+
maxPhotos: number;
|
|
72
|
+
}[];
|
|
73
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
74
|
+
models: {
|
|
75
|
+
uuid: string;
|
|
76
|
+
title: string;
|
|
77
|
+
description: string;
|
|
78
|
+
aiModel: string;
|
|
79
|
+
isNew: boolean;
|
|
80
|
+
tierLabel: string;
|
|
81
|
+
pricePerImage: number;
|
|
82
|
+
order: number;
|
|
83
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
84
|
+
icons: {
|
|
85
|
+
light: {
|
|
86
|
+
svg: string;
|
|
87
|
+
png: string;
|
|
88
|
+
};
|
|
89
|
+
dark: {
|
|
90
|
+
svg: string;
|
|
91
|
+
png: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
strategy: import("..").PHOTO_SESSION_STRATEGY;
|
|
95
|
+
maxInputLength: number;
|
|
96
|
+
params: {
|
|
97
|
+
imageAttachment: {
|
|
98
|
+
supported: boolean;
|
|
99
|
+
maxImages: number;
|
|
100
|
+
acceptedTypes: string[];
|
|
101
|
+
};
|
|
102
|
+
aspectRatio: Record<string, {
|
|
103
|
+
width: number;
|
|
104
|
+
height: number;
|
|
105
|
+
}>;
|
|
106
|
+
};
|
|
107
|
+
pricingRules: {
|
|
108
|
+
condition: {
|
|
109
|
+
withoutSub?: boolean | undefined;
|
|
110
|
+
};
|
|
111
|
+
value: number;
|
|
112
|
+
}[];
|
|
113
|
+
createdAt: Date;
|
|
114
|
+
updatedAt: Date;
|
|
115
|
+
}[];
|
|
116
|
+
styles: {
|
|
117
|
+
uuid: string;
|
|
118
|
+
code: string;
|
|
119
|
+
title: string;
|
|
120
|
+
description?: string | null | undefined;
|
|
121
|
+
references: {
|
|
122
|
+
uuid: string;
|
|
123
|
+
styleId: string;
|
|
124
|
+
photoUrl: string;
|
|
125
|
+
description?: string | null | undefined;
|
|
126
|
+
order: number;
|
|
127
|
+
createdAt: Date;
|
|
128
|
+
updatedAt: Date;
|
|
129
|
+
}[];
|
|
130
|
+
createdAt: Date;
|
|
131
|
+
updatedAt: Date;
|
|
132
|
+
}[];
|
|
133
|
+
looks: {
|
|
134
|
+
type: import("..").PHOTO_SESSION_LOOK_TYPE;
|
|
135
|
+
maxPhotos: number;
|
|
136
|
+
}[];
|
|
137
|
+
}, unknown>>>;
|
|
138
|
+
code: z.ZodOptional<z.ZodString>;
|
|
139
|
+
message: z.ZodOptional<z.ZodString>;
|
|
140
|
+
}, z.core.$strip>;
|
|
141
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
142
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetPhotoSessionsConfigQuery = void 0;
|
|
4
|
+
const common_1 = require("../../common");
|
|
5
|
+
const models_1 = require("../models");
|
|
6
|
+
var GetPhotoSessionsConfigQuery;
|
|
7
|
+
(function (GetPhotoSessionsConfigQuery) {
|
|
8
|
+
GetPhotoSessionsConfigQuery.RequestSchema = common_1.LocaleRequestSchema;
|
|
9
|
+
GetPhotoSessionsConfigQuery.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.PhotoSessionConfigSchema);
|
|
10
|
+
})(GetPhotoSessionsConfigQuery || (exports.GetPhotoSessionsConfigQuery = GetPhotoSessionsConfigQuery = {}));
|
|
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./find-photo-sessions-job-by-id.query"), exports);
|
|
18
|
+
__exportStar(require("./find-photo-sessions-jobs.query"), exports);
|
|
19
|
+
__exportStar(require("./get-photo-sessions-config.query"), exports);
|
|
20
|
+
__exportStar(require("./find-photo-session-styles.query"), exports);
|
|
21
|
+
__exportStar(require("./find-photo-session-style-by-id.query"), exports);
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./photo-sessions.amqp.routes"), exports);
|
|
18
|
+
__exportStar(require("./photo-sessions.http.routes"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const PHOTO_SESSIONS_AMQP_ROUTES: {
|
|
2
|
+
readonly EXECUTE: 'tools.photo-sessions.execute.rpc';
|
|
3
|
+
readonly GET_PRICE: 'tools.photo-sessions.get-price.rpc';
|
|
4
|
+
readonly CONFIG: 'tools.photo-sessions.config.rpc';
|
|
5
|
+
readonly GET_JOB: 'tools.photo-sessions.jobs.get.rpc';
|
|
6
|
+
readonly LIST_JOBS: 'tools.photo-sessions.jobs.list.rpc';
|
|
7
|
+
readonly SET_REACTION: 'tools.photo-sessions.jobs.set-reaction.rpc';
|
|
8
|
+
readonly UPDATE_TITLE: 'tools.photo-sessions.jobs.update-title.rpc';
|
|
9
|
+
readonly UPDATE_FAVORITE: 'tools.photo-sessions.jobs.update-favorite.rpc';
|
|
10
|
+
readonly SOFT_DELETE: 'tools.photo-sessions.jobs.soft-delete.rpc';
|
|
11
|
+
readonly SOFT_DELETE_ALL: 'tools.photo-sessions.jobs.soft-delete-all.rpc';
|
|
12
|
+
readonly RETRY: 'tools.photo-sessions.jobs.retry.rpc';
|
|
13
|
+
readonly UPDATE_JOB: 'tools.photo-sessions.jobs.update.rpc';
|
|
14
|
+
readonly LIST_STYLES: 'tools.photo-sessions.styles.list.rpc';
|
|
15
|
+
readonly GET_STYLE: 'tools.photo-sessions.styles.get.rpc';
|
|
16
|
+
readonly CREATE_STYLE: 'tools.photo-sessions.styles.create.rpc';
|
|
17
|
+
readonly UPDATE_STYLE: 'tools.photo-sessions.styles.update.rpc';
|
|
18
|
+
readonly DELETE_STYLE: 'tools.photo-sessions.styles.delete.rpc';
|
|
19
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PHOTO_SESSIONS_AMQP_ROUTES = void 0;
|
|
4
|
+
exports.PHOTO_SESSIONS_AMQP_ROUTES = {
|
|
5
|
+
EXECUTE: 'tools.photo-sessions.execute.rpc',
|
|
6
|
+
GET_PRICE: 'tools.photo-sessions.get-price.rpc',
|
|
7
|
+
CONFIG: 'tools.photo-sessions.config.rpc',
|
|
8
|
+
GET_JOB: 'tools.photo-sessions.jobs.get.rpc',
|
|
9
|
+
LIST_JOBS: 'tools.photo-sessions.jobs.list.rpc',
|
|
10
|
+
SET_REACTION: 'tools.photo-sessions.jobs.set-reaction.rpc',
|
|
11
|
+
UPDATE_TITLE: 'tools.photo-sessions.jobs.update-title.rpc',
|
|
12
|
+
UPDATE_FAVORITE: 'tools.photo-sessions.jobs.update-favorite.rpc',
|
|
13
|
+
SOFT_DELETE: 'tools.photo-sessions.jobs.soft-delete.rpc',
|
|
14
|
+
SOFT_DELETE_ALL: 'tools.photo-sessions.jobs.soft-delete-all.rpc',
|
|
15
|
+
RETRY: 'tools.photo-sessions.jobs.retry.rpc',
|
|
16
|
+
UPDATE_JOB: 'tools.photo-sessions.jobs.update.rpc',
|
|
17
|
+
LIST_STYLES: 'tools.photo-sessions.styles.list.rpc',
|
|
18
|
+
GET_STYLE: 'tools.photo-sessions.styles.get.rpc',
|
|
19
|
+
CREATE_STYLE: 'tools.photo-sessions.styles.create.rpc',
|
|
20
|
+
UPDATE_STYLE: 'tools.photo-sessions.styles.update.rpc',
|
|
21
|
+
DELETE_STYLE: 'tools.photo-sessions.styles.delete.rpc',
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PHOTO_SESSIONS_CONTROLLER = "photo-sessions";
|
|
@@ -16,6 +16,6 @@ export declare enum TOOL_CONTENT_TYPE {
|
|
|
16
16
|
SPELL_CORRECTOR = "SPELL_CORRECTOR",
|
|
17
17
|
DIAGRAMS = "DIAGRAMS",
|
|
18
18
|
HTML_PAGE_BUILDER = "HTML_PAGE_BUILDER",
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
PHOTO_SESSIONS = "PHOTO_SESSIONS",
|
|
20
|
+
IMAGE_RECOGNITION = "IMAGE_RECOGNITION"
|
|
21
21
|
}
|
|
@@ -20,6 +20,6 @@ var TOOL_CONTENT_TYPE;
|
|
|
20
20
|
TOOL_CONTENT_TYPE["SPELL_CORRECTOR"] = "SPELL_CORRECTOR";
|
|
21
21
|
TOOL_CONTENT_TYPE["DIAGRAMS"] = "DIAGRAMS";
|
|
22
22
|
TOOL_CONTENT_TYPE["HTML_PAGE_BUILDER"] = "HTML_PAGE_BUILDER";
|
|
23
|
+
TOOL_CONTENT_TYPE["PHOTO_SESSIONS"] = "PHOTO_SESSIONS";
|
|
23
24
|
TOOL_CONTENT_TYPE["IMAGE_RECOGNITION"] = "IMAGE_RECOGNITION";
|
|
24
|
-
TOOL_CONTENT_TYPE["SOUND_GENERATION"] = "SOUND_GENERATION";
|
|
25
25
|
})(TOOL_CONTENT_TYPE || (exports.TOOL_CONTENT_TYPE = TOOL_CONTENT_TYPE = {}));
|
|
@@ -18,6 +18,6 @@ export declare enum TOOL_TYPE {
|
|
|
18
18
|
SOLVING_EDU_TASK = "SOLVING_EDU_TASK",
|
|
19
19
|
DIAGRAMS = "DIAGRAMS",
|
|
20
20
|
HTML_PAGE_BUILDER = "HTML_PAGE_BUILDER",
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
PHOTO_SESSION = "PHOTO_SESSION",
|
|
22
|
+
IMAGE_RECOGNITION = "IMAGE_RECOGNITION"
|
|
23
23
|
}
|