@purpleschool/gptbot 0.20.13-stage-2 → 0.20.14
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/photo-session.d.ts +2 -0
- package/build/api/controllers/http/photo-session.js +3 -1
- package/build/api/controllers/http/support-widget.d.ts +5 -0
- package/build/api/controllers/http/support-widget.js +8 -0
- package/build/api/routes.d.ts +42 -0
- package/build/api/routes.js +42 -0
- package/build/commands/index.d.ts +1 -0
- package/build/commands/index.js +1 -0
- package/build/commands/support-widget/get-support-widget-identity.command.d.ts +10 -0
- package/build/commands/support-widget/get-support-widget-identity.command.js +15 -0
- package/build/commands/support-widget/index.d.ts +1 -0
- package/build/commands/support-widget/index.js +17 -0
- package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +1 -228
- package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +3 -24
- package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +1 -9
- package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +2 -8
- package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.d.ts +1 -146
- package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.js +2 -16
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +1 -227
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +2 -22
- package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.d.ts +9 -0
- package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +9 -0
- package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +9 -0
- package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +9 -0
- package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +52 -84
- package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +9 -0
- package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +52 -84
- package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +9 -0
- package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +36 -60
- package/build/commands/tools/photo-session/get-photo-session-config.command.js +9 -0
- package/build/commands/tools/photo-session/get-photo-session-styles.command.d.ts +17 -60
- package/build/commands/tools/photo-session/get-photo-session-styles.command.js +9 -8
- package/build/commands/tools/photo-session/index.d.ts +1 -1
- package/build/commands/tools/photo-session/index.js +2 -1
- package/build/commands/tools/photo-session/photo-session.command.d.ts +65 -197
- package/build/commands/tools/photo-session/photo-session.command.js +15 -13
- package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +13 -2
- package/build/commands/tools/photo-session/retry-photo-session-job.command.js +10 -2
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +13 -1
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +9 -0
- package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +13 -1
- package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +9 -0
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +52 -84
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +9 -0
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +13 -1
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js +9 -0
- package/build/commands/tools/photo-session/v2/admin/create-photo-session-style.command.d.ts +228 -0
- package/build/commands/tools/photo-session/v2/admin/create-photo-session-style.command.js +26 -0
- package/build/commands/tools/photo-session/v2/admin/delete-photo-session-style.command.d.ts +9 -0
- package/build/commands/tools/photo-session/v2/admin/delete-photo-session-style.command.js +11 -0
- package/build/commands/tools/photo-session/v2/admin/index.d.ts +4 -0
- package/build/commands/tools/photo-session/v2/admin/index.js +20 -0
- package/build/commands/tools/photo-session/v2/admin/list-photo-session-styles.command.d.ts +146 -0
- package/build/commands/tools/photo-session/v2/admin/list-photo-session-styles.command.js +19 -0
- package/build/commands/tools/photo-session/v2/admin/update-photo-session-style.command.d.ts +227 -0
- package/build/commands/tools/photo-session/v2/admin/update-photo-session-style.command.js +25 -0
- package/build/commands/tools/photo-session/v2/delete-all-photo-session-jobs.command.d.ts +5 -0
- package/build/commands/tools/photo-session/v2/delete-all-photo-session-jobs.command.js +8 -0
- package/build/commands/tools/photo-session/v2/delete-photo-session-job-by-uuid.command.d.ts +9 -0
- package/build/commands/tools/photo-session/v2/delete-photo-session-job-by-uuid.command.js +11 -0
- package/build/commands/tools/photo-session/v2/find-photo-session-job-by-uuid.command.d.ts +158 -0
- package/build/commands/tools/photo-session/v2/find-photo-session-job-by-uuid.command.js +14 -0
- package/build/commands/tools/photo-session/v2/find-photo-session-jobs.command.d.ts +167 -0
- package/build/commands/tools/photo-session/v2/find-photo-session-jobs.command.js +24 -0
- package/build/commands/tools/photo-session/v2/get-photo-session-config.command.d.ts +107 -0
- package/build/commands/tools/photo-session/v2/get-photo-session-config.command.js +11 -0
- package/build/commands/tools/photo-session/v2/get-photo-session-styles.command.d.ts +75 -0
- package/build/commands/tools/photo-session/v2/get-photo-session-styles.command.js +19 -0
- package/build/commands/tools/photo-session/v2/index.d.ts +14 -0
- package/build/commands/tools/photo-session/v2/index.js +30 -0
- package/build/commands/tools/photo-session/{photo-session-recovery.command.d.ts → v2/photo-session-recovery.command.d.ts} +6 -6
- package/build/commands/tools/photo-session/v2/photo-session-recovery.command.js +17 -0
- package/build/commands/tools/photo-session/v2/photo-session.command.d.ts +278 -0
- package/build/commands/tools/photo-session/v2/photo-session.command.js +33 -0
- package/build/commands/tools/photo-session/v2/retry-photo-session-job.command.d.ts +66 -0
- package/build/commands/tools/photo-session/v2/retry-photo-session-job.command.js +15 -0
- package/build/commands/tools/photo-session/v2/set-reaction-to-photo-session-job.command.d.ts +71 -0
- package/build/commands/tools/photo-session/v2/set-reaction-to-photo-session-job.command.js +28 -0
- package/build/commands/tools/photo-session/v2/update-photo-session-job-favorite.command.d.ts +69 -0
- package/build/commands/tools/photo-session/v2/update-photo-session-job-favorite.command.js +17 -0
- package/build/commands/tools/photo-session/v2/update-photo-session-job-title.command.d.ts +162 -0
- package/build/commands/tools/photo-session/v2/update-photo-session-job-title.command.js +17 -0
- package/build/commands/tools/photo-session/v2/update-published-status-photo-session-job.command.d.ts +70 -0
- package/build/commands/tools/photo-session/v2/update-published-status-photo-session-job.command.js +23 -0
- package/build/commands/ui-notification/find-active-ui-notifications-by-page-and-user.command.d.ts +0 -4
- package/build/commands/ui-notification/find-ui-notifications.command.d.ts +0 -4
- package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +2 -2
- package/build/models/tools/photo-session/identity.schema.d.ts +2 -4
- package/build/models/tools/photo-session/identity.schema.js +16 -12
- package/build/models/tools/photo-session/index.d.ts +1 -1
- package/build/models/tools/photo-session/index.js +2 -1
- package/build/models/tools/photo-session/photo-session-config.schema.d.ts +46 -200
- package/build/models/tools/photo-session/photo-session-config.schema.js +18 -51
- package/build/models/tools/photo-session/photo-session-group.schema.d.ts +9 -176
- package/build/models/tools/photo-session/photo-session-group.schema.js +9 -2
- package/build/models/tools/photo-session/photo-session-job.schema.d.ts +9 -11
- package/build/models/tools/photo-session/photo-session-job.schema.js +14 -8
- package/build/models/tools/photo-session/photo-session-model.schema.d.ts +1 -16
- package/build/models/tools/photo-session/photo-session-model.schema.js +22 -6
- package/build/models/tools/photo-session/photo-session-public.schema.d.ts +57 -169
- package/build/models/tools/photo-session/photo-session-public.schema.js +18 -39
- package/build/models/tools/photo-session/photo-session-style.schema.d.ts +18 -201
- package/build/models/tools/photo-session/photo-session-style.schema.js +17 -40
- package/build/models/tools/photo-session/v2/identity.schema.d.ts +4 -0
- package/build/models/tools/photo-session/v2/identity.schema.js +14 -0
- package/build/models/tools/photo-session/v2/index.d.ts +7 -0
- package/build/models/tools/photo-session/v2/index.js +23 -0
- package/build/models/tools/photo-session/v2/photo-session-config.schema.d.ts +303 -0
- package/build/models/tools/photo-session/v2/photo-session-config.schema.js +63 -0
- package/build/models/tools/photo-session/v2/photo-session-group.schema.d.ts +288 -0
- package/build/models/tools/photo-session/v2/photo-session-group.schema.js +28 -0
- package/build/models/tools/photo-session/v2/photo-session-job.schema.d.ts +169 -0
- package/build/models/tools/photo-session/v2/photo-session-job.schema.js +58 -0
- package/build/models/tools/photo-session/v2/photo-session-model.schema.d.ts +128 -0
- package/build/models/tools/photo-session/v2/photo-session-model.schema.js +39 -0
- package/build/models/tools/photo-session/v2/photo-session-public.schema.d.ts +326 -0
- package/build/models/tools/photo-session/v2/photo-session-public.schema.js +87 -0
- package/build/models/tools/photo-session/v2/photo-session-style.schema.d.ts +250 -0
- package/build/models/tools/photo-session/v2/photo-session-style.schema.js +60 -0
- package/build/models/ui-notification.schema.d.ts +0 -12
- package/build/models/ui-notification.schema.js +1 -6
- package/package.json +3 -3
- package/build/commands/tools/photo-session/photo-session-recovery.command.js +0 -17
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const PhotoSessionV2PublicParamsSchema: z.ZodObject<{
|
|
3
|
+
styleId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
4
|
+
photosCount: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
6
|
+
attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7
|
+
uuid: z.ZodString;
|
|
8
|
+
url: z.ZodString;
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
mimeType: z.ZodString;
|
|
11
|
+
type: z.ZodString;
|
|
12
|
+
size: z.ZodNumber;
|
|
13
|
+
}, z.core.$strip>>>;
|
|
14
|
+
clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
|
+
uuid: z.ZodString;
|
|
16
|
+
url: z.ZodString;
|
|
17
|
+
name: z.ZodString;
|
|
18
|
+
mimeType: z.ZodString;
|
|
19
|
+
type: z.ZodString;
|
|
20
|
+
size: z.ZodNumber;
|
|
21
|
+
}, z.core.$strip>>>;
|
|
22
|
+
hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23
|
+
uuid: z.ZodString;
|
|
24
|
+
url: z.ZodString;
|
|
25
|
+
name: z.ZodString;
|
|
26
|
+
mimeType: z.ZodString;
|
|
27
|
+
type: z.ZodString;
|
|
28
|
+
size: z.ZodNumber;
|
|
29
|
+
}, z.core.$strip>>>;
|
|
30
|
+
accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31
|
+
uuid: z.ZodString;
|
|
32
|
+
url: z.ZodString;
|
|
33
|
+
name: z.ZodString;
|
|
34
|
+
mimeType: z.ZodString;
|
|
35
|
+
type: z.ZodString;
|
|
36
|
+
size: z.ZodNumber;
|
|
37
|
+
}, z.core.$strip>>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
export declare const PhotoSessionV2PublicIdentitySchema: z.ZodObject<{
|
|
40
|
+
mode: z.ZodEnum<{
|
|
41
|
+
catalog: "catalog";
|
|
42
|
+
custom: "custom";
|
|
43
|
+
}>;
|
|
44
|
+
modelMode: z.ZodPreprocess<z.ZodEnum<{
|
|
45
|
+
advanced: "advanced";
|
|
46
|
+
standard: "standard";
|
|
47
|
+
}>, unknown>;
|
|
48
|
+
styleId: z.ZodNullable<z.ZodUUID>;
|
|
49
|
+
selectedShotIds: z.ZodArray<z.ZodUUID>;
|
|
50
|
+
photosCount: z.ZodNumber;
|
|
51
|
+
participants: z.ZodArray<z.ZodObject<{
|
|
52
|
+
participantId: z.ZodUUID;
|
|
53
|
+
displayName: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>, z.ZodString>]>>;
|
|
54
|
+
gender: z.ZodEnum<{
|
|
55
|
+
female: "female";
|
|
56
|
+
male: "male";
|
|
57
|
+
}>;
|
|
58
|
+
photos: z.ZodOptional<z.ZodObject<{
|
|
59
|
+
front: z.ZodArray<z.ZodObject<{
|
|
60
|
+
uuid: z.ZodString;
|
|
61
|
+
url: z.ZodString;
|
|
62
|
+
name: z.ZodString;
|
|
63
|
+
mimeType: z.ZodString;
|
|
64
|
+
type: z.ZodString;
|
|
65
|
+
size: z.ZodNumber;
|
|
66
|
+
}, z.core.$strip>>;
|
|
67
|
+
turn: 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
|
+
}, z.core.$strip>>;
|
|
75
|
+
full: z.ZodArray<z.ZodObject<{
|
|
76
|
+
uuid: z.ZodString;
|
|
77
|
+
url: z.ZodString;
|
|
78
|
+
name: z.ZodString;
|
|
79
|
+
mimeType: z.ZodString;
|
|
80
|
+
type: z.ZodString;
|
|
81
|
+
size: z.ZodNumber;
|
|
82
|
+
}, z.core.$strip>>;
|
|
83
|
+
}, z.core.$strip>>;
|
|
84
|
+
appliedLook: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
clothingPhotos: z.ZodArray<z.ZodObject<{
|
|
86
|
+
uuid: z.ZodString;
|
|
87
|
+
url: z.ZodString;
|
|
88
|
+
name: z.ZodString;
|
|
89
|
+
mimeType: z.ZodString;
|
|
90
|
+
type: z.ZodString;
|
|
91
|
+
size: z.ZodNumber;
|
|
92
|
+
}, z.core.$strip>>;
|
|
93
|
+
hairstylePhotos: z.ZodArray<z.ZodObject<{
|
|
94
|
+
uuid: z.ZodString;
|
|
95
|
+
url: z.ZodString;
|
|
96
|
+
name: z.ZodString;
|
|
97
|
+
mimeType: z.ZodString;
|
|
98
|
+
type: z.ZodString;
|
|
99
|
+
size: z.ZodNumber;
|
|
100
|
+
}, z.core.$strip>>;
|
|
101
|
+
accessoriesPhotos: z.ZodArray<z.ZodObject<{
|
|
102
|
+
uuid: z.ZodString;
|
|
103
|
+
url: z.ZodString;
|
|
104
|
+
name: z.ZodString;
|
|
105
|
+
mimeType: z.ZodString;
|
|
106
|
+
type: z.ZodString;
|
|
107
|
+
size: z.ZodNumber;
|
|
108
|
+
}, z.core.$strip>>;
|
|
109
|
+
}, z.core.$strip>>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
preparation: z.ZodObject<{
|
|
112
|
+
status: z.ZodEnum<{
|
|
113
|
+
blocked: "blocked";
|
|
114
|
+
completed: "completed";
|
|
115
|
+
failed: "failed";
|
|
116
|
+
pending: "pending";
|
|
117
|
+
processing: "processing";
|
|
118
|
+
}>;
|
|
119
|
+
failureReason: z.ZodNullable<z.ZodLiteral<"outfit">>;
|
|
120
|
+
}, z.core.$strip>;
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
export declare const PhotoSessionV2PublicJobSchema: z.ZodObject<{
|
|
123
|
+
uuid: z.ZodString;
|
|
124
|
+
price: z.ZodNumber;
|
|
125
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../../..").USER_REACTION>>;
|
|
126
|
+
title: z.ZodString;
|
|
127
|
+
status: z.ZodEnum<{
|
|
128
|
+
completed: import("../../../..").TOOL_JOB_STATUS.COMPLETED;
|
|
129
|
+
failed: import("../../../..").TOOL_JOB_STATUS.FAILED;
|
|
130
|
+
pending: import("../../../..").TOOL_JOB_STATUS.PENDING;
|
|
131
|
+
}>;
|
|
132
|
+
error: z.ZodNullable<z.ZodString>;
|
|
133
|
+
groupId: z.ZodString;
|
|
134
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
135
|
+
imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
136
|
+
isPublished: z.ZodBoolean;
|
|
137
|
+
postId: z.ZodNullable<z.ZodString>;
|
|
138
|
+
isFavorite: z.ZodBoolean;
|
|
139
|
+
params: z.ZodObject<{
|
|
140
|
+
styleId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
141
|
+
photosCount: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
143
|
+
attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
144
|
+
uuid: z.ZodString;
|
|
145
|
+
url: z.ZodString;
|
|
146
|
+
name: z.ZodString;
|
|
147
|
+
mimeType: z.ZodString;
|
|
148
|
+
type: z.ZodString;
|
|
149
|
+
size: z.ZodNumber;
|
|
150
|
+
}, z.core.$strip>>>;
|
|
151
|
+
clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
152
|
+
uuid: z.ZodString;
|
|
153
|
+
url: z.ZodString;
|
|
154
|
+
name: z.ZodString;
|
|
155
|
+
mimeType: z.ZodString;
|
|
156
|
+
type: z.ZodString;
|
|
157
|
+
size: z.ZodNumber;
|
|
158
|
+
}, z.core.$strip>>>;
|
|
159
|
+
hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
160
|
+
uuid: z.ZodString;
|
|
161
|
+
url: z.ZodString;
|
|
162
|
+
name: z.ZodString;
|
|
163
|
+
mimeType: z.ZodString;
|
|
164
|
+
type: z.ZodString;
|
|
165
|
+
size: z.ZodNumber;
|
|
166
|
+
}, z.core.$strip>>>;
|
|
167
|
+
accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
168
|
+
uuid: z.ZodString;
|
|
169
|
+
url: z.ZodString;
|
|
170
|
+
name: z.ZodString;
|
|
171
|
+
mimeType: z.ZodString;
|
|
172
|
+
type: z.ZodString;
|
|
173
|
+
size: z.ZodNumber;
|
|
174
|
+
}, z.core.$strip>>>;
|
|
175
|
+
}, z.core.$strip>;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
export type PhotoSessionV2PublicJob = z.infer<typeof PhotoSessionV2PublicJobSchema>;
|
|
178
|
+
export declare const PhotoSessionV2PublicGroupSchema: z.ZodObject<{
|
|
179
|
+
uuid: z.ZodString;
|
|
180
|
+
title: z.ZodString;
|
|
181
|
+
prompt: z.ZodString;
|
|
182
|
+
status: z.ZodEnum<typeof import("../../../..").PHOTO_SESSION_GROUP_STATUS>;
|
|
183
|
+
error: z.ZodNullable<z.ZodString>;
|
|
184
|
+
modelId: z.ZodString;
|
|
185
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
186
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
187
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
188
|
+
mode: z.ZodEnum<{
|
|
189
|
+
catalog: "catalog";
|
|
190
|
+
custom: "custom";
|
|
191
|
+
}>;
|
|
192
|
+
modelMode: z.ZodPreprocess<z.ZodEnum<{
|
|
193
|
+
advanced: "advanced";
|
|
194
|
+
standard: "standard";
|
|
195
|
+
}>, unknown>;
|
|
196
|
+
styleId: z.ZodNullable<z.ZodUUID>;
|
|
197
|
+
selectedShotIds: z.ZodArray<z.ZodUUID>;
|
|
198
|
+
photosCount: z.ZodNumber;
|
|
199
|
+
participants: z.ZodArray<z.ZodObject<{
|
|
200
|
+
participantId: z.ZodUUID;
|
|
201
|
+
displayName: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>, z.ZodString>]>>;
|
|
202
|
+
gender: z.ZodEnum<{
|
|
203
|
+
female: "female";
|
|
204
|
+
male: "male";
|
|
205
|
+
}>;
|
|
206
|
+
photos: z.ZodOptional<z.ZodObject<{
|
|
207
|
+
front: z.ZodArray<z.ZodObject<{
|
|
208
|
+
uuid: z.ZodString;
|
|
209
|
+
url: z.ZodString;
|
|
210
|
+
name: z.ZodString;
|
|
211
|
+
mimeType: z.ZodString;
|
|
212
|
+
type: z.ZodString;
|
|
213
|
+
size: z.ZodNumber;
|
|
214
|
+
}, z.core.$strip>>;
|
|
215
|
+
turn: z.ZodArray<z.ZodObject<{
|
|
216
|
+
uuid: z.ZodString;
|
|
217
|
+
url: z.ZodString;
|
|
218
|
+
name: z.ZodString;
|
|
219
|
+
mimeType: z.ZodString;
|
|
220
|
+
type: z.ZodString;
|
|
221
|
+
size: z.ZodNumber;
|
|
222
|
+
}, z.core.$strip>>;
|
|
223
|
+
full: z.ZodArray<z.ZodObject<{
|
|
224
|
+
uuid: z.ZodString;
|
|
225
|
+
url: z.ZodString;
|
|
226
|
+
name: z.ZodString;
|
|
227
|
+
mimeType: z.ZodString;
|
|
228
|
+
type: z.ZodString;
|
|
229
|
+
size: z.ZodNumber;
|
|
230
|
+
}, z.core.$strip>>;
|
|
231
|
+
}, z.core.$strip>>;
|
|
232
|
+
appliedLook: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
clothingPhotos: z.ZodArray<z.ZodObject<{
|
|
234
|
+
uuid: z.ZodString;
|
|
235
|
+
url: z.ZodString;
|
|
236
|
+
name: z.ZodString;
|
|
237
|
+
mimeType: z.ZodString;
|
|
238
|
+
type: z.ZodString;
|
|
239
|
+
size: z.ZodNumber;
|
|
240
|
+
}, z.core.$strip>>;
|
|
241
|
+
hairstylePhotos: z.ZodArray<z.ZodObject<{
|
|
242
|
+
uuid: z.ZodString;
|
|
243
|
+
url: z.ZodString;
|
|
244
|
+
name: z.ZodString;
|
|
245
|
+
mimeType: z.ZodString;
|
|
246
|
+
type: z.ZodString;
|
|
247
|
+
size: z.ZodNumber;
|
|
248
|
+
}, z.core.$strip>>;
|
|
249
|
+
accessoriesPhotos: z.ZodArray<z.ZodObject<{
|
|
250
|
+
uuid: z.ZodString;
|
|
251
|
+
url: z.ZodString;
|
|
252
|
+
name: z.ZodString;
|
|
253
|
+
mimeType: z.ZodString;
|
|
254
|
+
type: z.ZodString;
|
|
255
|
+
size: z.ZodNumber;
|
|
256
|
+
}, z.core.$strip>>;
|
|
257
|
+
}, z.core.$strip>>;
|
|
258
|
+
}, z.core.$strip>>;
|
|
259
|
+
preparation: z.ZodObject<{
|
|
260
|
+
status: z.ZodEnum<{
|
|
261
|
+
blocked: "blocked";
|
|
262
|
+
completed: "completed";
|
|
263
|
+
failed: "failed";
|
|
264
|
+
pending: "pending";
|
|
265
|
+
processing: "processing";
|
|
266
|
+
}>;
|
|
267
|
+
failureReason: z.ZodNullable<z.ZodLiteral<"outfit">>;
|
|
268
|
+
}, z.core.$strip>;
|
|
269
|
+
}, z.core.$strip>>;
|
|
270
|
+
subJobs: z.ZodArray<z.ZodObject<{
|
|
271
|
+
uuid: z.ZodString;
|
|
272
|
+
price: z.ZodNumber;
|
|
273
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../../..").USER_REACTION>>;
|
|
274
|
+
title: z.ZodString;
|
|
275
|
+
status: z.ZodEnum<{
|
|
276
|
+
completed: import("../../../..").TOOL_JOB_STATUS.COMPLETED;
|
|
277
|
+
failed: import("../../../..").TOOL_JOB_STATUS.FAILED;
|
|
278
|
+
pending: import("../../../..").TOOL_JOB_STATUS.PENDING;
|
|
279
|
+
}>;
|
|
280
|
+
error: z.ZodNullable<z.ZodString>;
|
|
281
|
+
groupId: z.ZodString;
|
|
282
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
283
|
+
imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
284
|
+
isPublished: z.ZodBoolean;
|
|
285
|
+
postId: z.ZodNullable<z.ZodString>;
|
|
286
|
+
isFavorite: z.ZodBoolean;
|
|
287
|
+
params: z.ZodObject<{
|
|
288
|
+
styleId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
289
|
+
photosCount: z.ZodOptional<z.ZodNumber>;
|
|
290
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
291
|
+
attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
292
|
+
uuid: z.ZodString;
|
|
293
|
+
url: z.ZodString;
|
|
294
|
+
name: z.ZodString;
|
|
295
|
+
mimeType: z.ZodString;
|
|
296
|
+
type: z.ZodString;
|
|
297
|
+
size: z.ZodNumber;
|
|
298
|
+
}, z.core.$strip>>>;
|
|
299
|
+
clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
300
|
+
uuid: z.ZodString;
|
|
301
|
+
url: z.ZodString;
|
|
302
|
+
name: z.ZodString;
|
|
303
|
+
mimeType: z.ZodString;
|
|
304
|
+
type: z.ZodString;
|
|
305
|
+
size: z.ZodNumber;
|
|
306
|
+
}, z.core.$strip>>>;
|
|
307
|
+
hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
308
|
+
uuid: z.ZodString;
|
|
309
|
+
url: z.ZodString;
|
|
310
|
+
name: z.ZodString;
|
|
311
|
+
mimeType: z.ZodString;
|
|
312
|
+
type: z.ZodString;
|
|
313
|
+
size: z.ZodNumber;
|
|
314
|
+
}, z.core.$strip>>>;
|
|
315
|
+
accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
316
|
+
uuid: z.ZodString;
|
|
317
|
+
url: z.ZodString;
|
|
318
|
+
name: z.ZodString;
|
|
319
|
+
mimeType: z.ZodString;
|
|
320
|
+
type: z.ZodString;
|
|
321
|
+
size: z.ZodNumber;
|
|
322
|
+
}, z.core.$strip>>>;
|
|
323
|
+
}, z.core.$strip>;
|
|
324
|
+
}, z.core.$strip>>;
|
|
325
|
+
}, z.core.$strip>;
|
|
326
|
+
export type PhotoSessionV2PublicGroup = z.infer<typeof PhotoSessionV2PublicGroupSchema>;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PhotoSessionV2PublicGroupSchema = exports.PhotoSessionV2PublicJobSchema = exports.PhotoSessionV2PublicIdentitySchema = exports.PhotoSessionV2PublicParamsSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const identity_schema_1 = require("./identity.schema");
|
|
6
|
+
const photo_session_group_schema_1 = require("./photo-session-group.schema");
|
|
7
|
+
const photo_session_job_schema_1 = require("./photo-session-job.schema");
|
|
8
|
+
const common_1 = require("../../common");
|
|
9
|
+
// HTTP allowlists are intentionally independent of the internal execution response.
|
|
10
|
+
const PublicPhotoSchema = common_1.AttachedToolFileSchema.pick({
|
|
11
|
+
uuid: true,
|
|
12
|
+
url: true,
|
|
13
|
+
name: true,
|
|
14
|
+
mimeType: true,
|
|
15
|
+
type: true,
|
|
16
|
+
size: true,
|
|
17
|
+
});
|
|
18
|
+
exports.PhotoSessionV2PublicParamsSchema = photo_session_job_schema_1.PhotoSessionV2JobParamsSchema.pick({
|
|
19
|
+
styleId: true,
|
|
20
|
+
photosCount: true,
|
|
21
|
+
aspectRatio: true,
|
|
22
|
+
}).extend({
|
|
23
|
+
attachedFiles: zod_1.z.array(PublicPhotoSchema).optional(),
|
|
24
|
+
clothingPhotos: zod_1.z.array(PublicPhotoSchema).optional(),
|
|
25
|
+
hairstylePhotos: zod_1.z.array(PublicPhotoSchema).optional(),
|
|
26
|
+
accessoriesPhotos: zod_1.z.array(PublicPhotoSchema).optional(),
|
|
27
|
+
});
|
|
28
|
+
const RunParticipantSchema = identity_schema_1.PhotoSessionRunResponseSchema.shape.participants.element;
|
|
29
|
+
exports.PhotoSessionV2PublicIdentitySchema = identity_schema_1.PhotoSessionRunResponseSchema.pick({
|
|
30
|
+
mode: true,
|
|
31
|
+
modelMode: true,
|
|
32
|
+
styleId: true,
|
|
33
|
+
selectedShotIds: true,
|
|
34
|
+
photosCount: true,
|
|
35
|
+
}).extend({
|
|
36
|
+
participants: zod_1.z.array(RunParticipantSchema.pick({
|
|
37
|
+
participantId: true,
|
|
38
|
+
displayName: true,
|
|
39
|
+
gender: true,
|
|
40
|
+
}).extend({
|
|
41
|
+
photos: zod_1.z
|
|
42
|
+
.object({
|
|
43
|
+
front: zod_1.z.array(PublicPhotoSchema),
|
|
44
|
+
turn: zod_1.z.array(PublicPhotoSchema),
|
|
45
|
+
full: zod_1.z.array(PublicPhotoSchema),
|
|
46
|
+
})
|
|
47
|
+
.optional(),
|
|
48
|
+
appliedLook: zod_1.z
|
|
49
|
+
.object({
|
|
50
|
+
clothingPhotos: zod_1.z.array(PublicPhotoSchema),
|
|
51
|
+
hairstylePhotos: zod_1.z.array(PublicPhotoSchema),
|
|
52
|
+
accessoriesPhotos: zod_1.z.array(PublicPhotoSchema),
|
|
53
|
+
})
|
|
54
|
+
.optional(),
|
|
55
|
+
})),
|
|
56
|
+
preparation: zod_1.z.object({
|
|
57
|
+
status: identity_schema_1.PhotoSessionRunResponseSchema.shape.preparation.shape.status,
|
|
58
|
+
failureReason: zod_1.z.literal('outfit').nullable(),
|
|
59
|
+
}),
|
|
60
|
+
});
|
|
61
|
+
exports.PhotoSessionV2PublicJobSchema = photo_session_job_schema_1.PhotoSessionV2JobSchema.pick({
|
|
62
|
+
uuid: true,
|
|
63
|
+
price: true,
|
|
64
|
+
title: true,
|
|
65
|
+
status: true,
|
|
66
|
+
error: true,
|
|
67
|
+
groupId: true,
|
|
68
|
+
previewUrl: true,
|
|
69
|
+
imageUrls: true,
|
|
70
|
+
reaction: true,
|
|
71
|
+
isPublished: true,
|
|
72
|
+
postId: true,
|
|
73
|
+
isFavorite: true,
|
|
74
|
+
}).extend({ params: exports.PhotoSessionV2PublicParamsSchema });
|
|
75
|
+
exports.PhotoSessionV2PublicGroupSchema = photo_session_group_schema_1.PhotoSessionV2GroupSchema.pick({
|
|
76
|
+
uuid: true,
|
|
77
|
+
title: true,
|
|
78
|
+
prompt: true,
|
|
79
|
+
status: true,
|
|
80
|
+
error: true,
|
|
81
|
+
modelId: true,
|
|
82
|
+
createdAt: true,
|
|
83
|
+
updatedAt: true,
|
|
84
|
+
}).extend({
|
|
85
|
+
identity: exports.PhotoSessionV2PublicIdentitySchema.optional(),
|
|
86
|
+
subJobs: zod_1.z.array(exports.PhotoSessionV2PublicJobSchema),
|
|
87
|
+
});
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const PhotoSessionV2StyleReferenceSchema: z.ZodObject<{
|
|
3
|
+
uuid: z.ZodUUID;
|
|
4
|
+
photoUrl: z.ZodString;
|
|
5
|
+
thumbnailUrl: z.ZodString;
|
|
6
|
+
order: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type PhotoSessionV2StyleReference = z.infer<typeof PhotoSessionV2StyleReferenceSchema>;
|
|
9
|
+
export declare const PhotoSessionV2StyleSchema: z.ZodObject<{
|
|
10
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
preparationStatus: z.ZodEnum<{
|
|
12
|
+
draft: "draft";
|
|
13
|
+
failed: "failed";
|
|
14
|
+
preparing: "preparing";
|
|
15
|
+
ready: "ready";
|
|
16
|
+
}>;
|
|
17
|
+
composition: z.ZodEnum<{
|
|
18
|
+
family: "family";
|
|
19
|
+
female: "female";
|
|
20
|
+
male: "male";
|
|
21
|
+
pair: "pair";
|
|
22
|
+
}>;
|
|
23
|
+
setting: z.ZodEnum<{
|
|
24
|
+
city: "city";
|
|
25
|
+
holiday: "holiday";
|
|
26
|
+
home: "home";
|
|
27
|
+
nature: "nature";
|
|
28
|
+
studio: "studio";
|
|
29
|
+
wedding: "wedding";
|
|
30
|
+
}>;
|
|
31
|
+
participants: z.ZodArray<z.ZodObject<{
|
|
32
|
+
participantId: z.ZodUUID;
|
|
33
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>, z.ZodString>]>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
shots: z.ZodArray<z.ZodObject<{
|
|
36
|
+
shotId: z.ZodUUID;
|
|
37
|
+
order: z.ZodNumber;
|
|
38
|
+
title: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>, z.ZodString>]>;
|
|
39
|
+
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
40
|
+
preview: z.ZodObject<{
|
|
41
|
+
url: z.ZodURL;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
}, z.core.$strip>>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
uuid: z.ZodUUID;
|
|
46
|
+
title: z.ZodString;
|
|
47
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
49
|
+
uuid: z.ZodUUID;
|
|
50
|
+
photoUrl: z.ZodString;
|
|
51
|
+
thumbnailUrl: z.ZodString;
|
|
52
|
+
order: z.ZodNumber;
|
|
53
|
+
}, z.core.$strip>>>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
export type PhotoSessionV2Style = z.infer<typeof PhotoSessionV2StyleSchema>;
|
|
56
|
+
export declare const RawPhotoSessionV2StyleSchema: z.ZodObject<{
|
|
57
|
+
uuid: z.ZodUUID;
|
|
58
|
+
title: z.ZodString;
|
|
59
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
61
|
+
preparationStatus: z.ZodEnum<{
|
|
62
|
+
draft: "draft";
|
|
63
|
+
failed: "failed";
|
|
64
|
+
preparing: "preparing";
|
|
65
|
+
ready: "ready";
|
|
66
|
+
}>;
|
|
67
|
+
composition: z.ZodEnum<{
|
|
68
|
+
family: "family";
|
|
69
|
+
female: "female";
|
|
70
|
+
male: "male";
|
|
71
|
+
pair: "pair";
|
|
72
|
+
}>;
|
|
73
|
+
setting: z.ZodEnum<{
|
|
74
|
+
city: "city";
|
|
75
|
+
holiday: "holiday";
|
|
76
|
+
home: "home";
|
|
77
|
+
nature: "nature";
|
|
78
|
+
studio: "studio";
|
|
79
|
+
wedding: "wedding";
|
|
80
|
+
}>;
|
|
81
|
+
aspectRatio: z.ZodString;
|
|
82
|
+
participants: z.ZodArray<z.ZodObject<{
|
|
83
|
+
participantId: z.ZodUUID;
|
|
84
|
+
order: z.ZodNumber;
|
|
85
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>, z.ZodString>]>;
|
|
86
|
+
gender: z.ZodEnum<{
|
|
87
|
+
female: "female";
|
|
88
|
+
male: "male";
|
|
89
|
+
}>;
|
|
90
|
+
}, z.core.$strip>>;
|
|
91
|
+
shots: z.ZodArray<z.ZodObject<{
|
|
92
|
+
shotId: z.ZodUUID;
|
|
93
|
+
order: z.ZodNumber;
|
|
94
|
+
title: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>, z.ZodString>]>;
|
|
95
|
+
preview: z.ZodObject<{
|
|
96
|
+
assetId: z.ZodUUID;
|
|
97
|
+
url: z.ZodURL;
|
|
98
|
+
}, z.core.$strict>;
|
|
99
|
+
aspectRatio: z.ZodString;
|
|
100
|
+
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
101
|
+
participantId: z.ZodUUID;
|
|
102
|
+
photoRequirements: z.ZodOptional<z.ZodObject<{
|
|
103
|
+
front: z.ZodNumber;
|
|
104
|
+
turn: z.ZodNumber;
|
|
105
|
+
full: z.ZodNumber;
|
|
106
|
+
}, z.core.$strict>>;
|
|
107
|
+
primaryPhotoRole: z.ZodOptional<z.ZodEnum<{
|
|
108
|
+
front: "front";
|
|
109
|
+
full: "full";
|
|
110
|
+
turn: "turn";
|
|
111
|
+
}>>;
|
|
112
|
+
}, z.core.$strip>>>;
|
|
113
|
+
}, z.core.$strip>>;
|
|
114
|
+
}, z.core.$strip>>;
|
|
115
|
+
code: z.ZodString;
|
|
116
|
+
references: z.ZodArray<z.ZodObject<{
|
|
117
|
+
uuid: z.ZodUUID;
|
|
118
|
+
photoUrl: z.ZodString;
|
|
119
|
+
thumbnailUrl: z.ZodString;
|
|
120
|
+
order: z.ZodNumber;
|
|
121
|
+
styleId: z.ZodUUID;
|
|
122
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
123
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
124
|
+
}, z.core.$strip>>;
|
|
125
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
126
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
127
|
+
}, z.core.$strip>;
|
|
128
|
+
export type RawPhotoSessionV2Style = z.infer<typeof RawPhotoSessionV2StyleSchema>;
|
|
129
|
+
export declare const AdminPhotoSessionV2StyleReferenceSchema: z.ZodObject<{
|
|
130
|
+
uuid: z.ZodUUID;
|
|
131
|
+
photoUrl: z.ZodString;
|
|
132
|
+
thumbnailUrl: z.ZodString;
|
|
133
|
+
order: z.ZodNumber;
|
|
134
|
+
styleId: z.ZodUUID;
|
|
135
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
136
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
137
|
+
systemPrompt: z.ZodString;
|
|
138
|
+
}, z.core.$strip>;
|
|
139
|
+
export declare const AdminPhotoSessionV2StyleSchema: z.ZodObject<{
|
|
140
|
+
uuid: z.ZodUUID;
|
|
141
|
+
title: z.ZodString;
|
|
142
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
143
|
+
code: z.ZodString;
|
|
144
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
145
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
146
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
preparationStatus: z.ZodEnum<{
|
|
148
|
+
draft: "draft";
|
|
149
|
+
failed: "failed";
|
|
150
|
+
preparing: "preparing";
|
|
151
|
+
ready: "ready";
|
|
152
|
+
}>;
|
|
153
|
+
composition: z.ZodEnum<{
|
|
154
|
+
family: "family";
|
|
155
|
+
female: "female";
|
|
156
|
+
male: "male";
|
|
157
|
+
pair: "pair";
|
|
158
|
+
}>;
|
|
159
|
+
setting: z.ZodEnum<{
|
|
160
|
+
city: "city";
|
|
161
|
+
holiday: "holiday";
|
|
162
|
+
home: "home";
|
|
163
|
+
nature: "nature";
|
|
164
|
+
studio: "studio";
|
|
165
|
+
wedding: "wedding";
|
|
166
|
+
}>;
|
|
167
|
+
aspectRatio: z.ZodString;
|
|
168
|
+
global: z.ZodObject<{
|
|
169
|
+
location: z.ZodString;
|
|
170
|
+
light: z.ZodString;
|
|
171
|
+
color: z.ZodString;
|
|
172
|
+
camera: z.ZodString;
|
|
173
|
+
mood: z.ZodString;
|
|
174
|
+
}, z.core.$strict>;
|
|
175
|
+
participants: z.ZodArray<z.ZodObject<{
|
|
176
|
+
participantId: z.ZodUUID;
|
|
177
|
+
order: z.ZodNumber;
|
|
178
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>, z.ZodString>]>;
|
|
179
|
+
gender: z.ZodEnum<{
|
|
180
|
+
female: "female";
|
|
181
|
+
male: "male";
|
|
182
|
+
}>;
|
|
183
|
+
wardrobeDescription: z.ZodString;
|
|
184
|
+
baseOutfit: z.ZodNullable<z.ZodObject<{
|
|
185
|
+
assetId: z.ZodUUID;
|
|
186
|
+
url: z.ZodURL;
|
|
187
|
+
}, z.core.$strict>>;
|
|
188
|
+
outfitSourceShotId: z.ZodNullable<z.ZodUUID>;
|
|
189
|
+
outfitSourcePerson: z.ZodNullable<z.ZodString>;
|
|
190
|
+
}, z.core.$strict>>;
|
|
191
|
+
shots: z.ZodArray<z.ZodObject<{
|
|
192
|
+
shotId: z.ZodUUID;
|
|
193
|
+
order: z.ZodNumber;
|
|
194
|
+
title: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>, z.ZodString>]>;
|
|
195
|
+
preview: z.ZodObject<{
|
|
196
|
+
assetId: z.ZodUUID;
|
|
197
|
+
url: z.ZodURL;
|
|
198
|
+
}, z.core.$strict>;
|
|
199
|
+
aspectRatio: z.ZodString;
|
|
200
|
+
framing: z.ZodString;
|
|
201
|
+
props: z.ZodString;
|
|
202
|
+
emptyPlate: z.ZodNullable<z.ZodObject<{
|
|
203
|
+
assetId: z.ZodUUID;
|
|
204
|
+
url: z.ZodURL;
|
|
205
|
+
}, z.core.$strict>>;
|
|
206
|
+
participants: z.ZodArray<z.ZodObject<{
|
|
207
|
+
participantId: z.ZodUUID;
|
|
208
|
+
pose: z.ZodString;
|
|
209
|
+
expression: z.ZodString;
|
|
210
|
+
gaze: z.ZodString;
|
|
211
|
+
headPose: z.ZodString;
|
|
212
|
+
headTurn: z.ZodOptional<z.ZodEnum<{
|
|
213
|
+
"frontal, facing the camera": "frontal, facing the camera";
|
|
214
|
+
"head lowered, looking down": "head lowered, looking down";
|
|
215
|
+
"head tilted to one side": "head tilted to one side";
|
|
216
|
+
"looking back over the shoulder": "looking back over the shoulder";
|
|
217
|
+
profile: "profile";
|
|
218
|
+
"three-quarter turned to the left": "three-quarter turned to the left";
|
|
219
|
+
"three-quarter turned to the right": "three-quarter turned to the right";
|
|
220
|
+
}>>;
|
|
221
|
+
faceVisible: z.ZodBoolean;
|
|
222
|
+
photoRequirements: z.ZodOptional<z.ZodObject<{
|
|
223
|
+
front: z.ZodNumber;
|
|
224
|
+
turn: z.ZodNumber;
|
|
225
|
+
full: z.ZodNumber;
|
|
226
|
+
}, z.core.$strict>>;
|
|
227
|
+
primaryPhotoRole: z.ZodOptional<z.ZodEnum<{
|
|
228
|
+
front: "front";
|
|
229
|
+
full: "full";
|
|
230
|
+
turn: "turn";
|
|
231
|
+
}>>;
|
|
232
|
+
silhouette: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
233
|
+
assetId: z.ZodUUID;
|
|
234
|
+
url: z.ZodURL;
|
|
235
|
+
}, z.core.$strict>>>;
|
|
236
|
+
}, z.core.$strict>>;
|
|
237
|
+
}, z.core.$strict>>;
|
|
238
|
+
}, z.core.$strict>>;
|
|
239
|
+
references: z.ZodArray<z.ZodObject<{
|
|
240
|
+
uuid: z.ZodUUID;
|
|
241
|
+
photoUrl: z.ZodString;
|
|
242
|
+
thumbnailUrl: z.ZodString;
|
|
243
|
+
order: z.ZodNumber;
|
|
244
|
+
styleId: z.ZodUUID;
|
|
245
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
246
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
247
|
+
systemPrompt: z.ZodString;
|
|
248
|
+
}, z.core.$strip>>;
|
|
249
|
+
}, z.core.$strip>;
|
|
250
|
+
export type AdminPhotoSessionV2Style = z.infer<typeof AdminPhotoSessionV2StyleSchema>;
|