@purpleschool/gptbot-tools 0.2.62-stage2 → 0.2.63-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.
Files changed (37) hide show
  1. package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +0 -1
  2. package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +1 -11
  3. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts +1 -1
  4. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +6 -2
  5. package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +46 -7
  6. package/build/photo-sessions/commands/get-photo-sessions-price.command.js +6 -7
  7. package/build/photo-sessions/commands/photo-sessions.command.d.ts +253 -95
  8. package/build/photo-sessions/commands/photo-sessions.command.js +14 -17
  9. package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +148 -24
  10. package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +0 -3
  11. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +105 -17
  12. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +1 -1
  13. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +104 -16
  14. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +204 -78
  15. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +1 -1
  16. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +104 -16
  17. package/build/photo-sessions/enums/index.d.ts +1 -0
  18. package/build/photo-sessions/enums/index.js +1 -0
  19. package/build/photo-sessions/enums/photo-session-group-status.enum.d.ts +7 -0
  20. package/build/photo-sessions/enums/photo-session-group-status.enum.js +11 -0
  21. package/build/photo-sessions/models/index.d.ts +1 -0
  22. package/build/photo-sessions/models/index.js +1 -0
  23. package/build/photo-sessions/models/photo-session-group.schema.d.ts +116 -0
  24. package/build/photo-sessions/models/photo-session-group.schema.js +27 -0
  25. package/build/photo-sessions/models/photo-session-job.schema.d.ts +104 -13
  26. package/build/photo-sessions/models/photo-session-job.schema.js +16 -11
  27. package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +2 -2
  28. package/build/photo-sessions/queries/find-photo-session-styles.query.js +2 -2
  29. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +206 -78
  30. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +10 -2
  31. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +210 -83
  32. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +11 -6
  33. package/build/tools/events/tool-job-complete.event.d.ts +1 -0
  34. package/build/tools/events/tool-job-failed.event.d.ts +1 -0
  35. package/build/tools/models/tool-job.schema.d.ts +1 -0
  36. package/build/tools/models/tool-job.schema.js +1 -0
  37. package/package.json +1 -1
@@ -6,9 +6,6 @@ export declare namespace RetryPhotoSessionsJobCommand {
6
6
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
8
  userHasActiveSubscriptionOrProduct: z.ZodBoolean;
9
- tokenReservationId: z.ZodString;
10
- precalculatedPrice: z.ZodNumber;
11
- modelId: z.ZodOptional<z.ZodString>;
12
9
  prompt: z.ZodOptional<z.ZodString>;
13
10
  params: z.ZodOptional<z.ZodObject<{
14
11
  attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -23,14 +20,53 @@ export declare namespace RetryPhotoSessionsJobCommand {
23
20
  contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
24
21
  }, z.core.$strip>>>;
25
22
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
+ referenceFile: z.ZodOptional<z.ZodObject<{
24
+ uuid: z.ZodString;
25
+ url: z.ZodString;
26
+ name: z.ZodString;
27
+ mimeType: z.ZodString;
28
+ type: z.ZodString;
29
+ size: z.ZodNumber;
30
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
31
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
32
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
33
+ }, z.core.$strip>>;
26
34
  styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
35
  referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
36
  referenceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
- customStylePrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- customStylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
31
- clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
32
- hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
33
- accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
+ clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
38
+ uuid: z.ZodString;
39
+ url: z.ZodString;
40
+ name: z.ZodString;
41
+ mimeType: z.ZodString;
42
+ type: z.ZodString;
43
+ size: z.ZodNumber;
44
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
45
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
46
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
47
+ }, z.core.$strip>>>;
48
+ hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodObject<{
49
+ uuid: z.ZodString;
50
+ url: z.ZodString;
51
+ name: z.ZodString;
52
+ mimeType: z.ZodString;
53
+ type: z.ZodString;
54
+ size: z.ZodNumber;
55
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
56
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
57
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
58
+ }, z.core.$strip>>>;
59
+ accessoriesPhotos: z.ZodOptional<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
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
67
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
68
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
69
+ }, z.core.$strip>>>;
34
70
  aspectRatio: z.ZodOptional<z.ZodString>;
35
71
  userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
36
72
  }, z.core.$strip>>;
@@ -48,7 +84,7 @@ export declare namespace RetryPhotoSessionsJobCommand {
48
84
  status: import("../..").JOB_STATUS;
49
85
  error: string | null;
50
86
  modelId: string;
51
- price: number;
87
+ groupId: string;
52
88
  previewUrl: string | null;
53
89
  params: {
54
90
  attachedFiles?: {
@@ -63,26 +99,70 @@ export declare namespace RetryPhotoSessionsJobCommand {
63
99
  contentLength?: number | null | undefined;
64
100
  }[] | undefined;
65
101
  imageUrls?: string[] | undefined;
102
+ referenceFile?: {
103
+ uuid: string;
104
+ url: string;
105
+ name: string;
106
+ mimeType: string;
107
+ type: string;
108
+ size: number;
109
+ duration?: number | null | undefined;
110
+ content?: string | null | undefined;
111
+ contentLength?: number | null | undefined;
112
+ } | undefined;
66
113
  styleId?: string | null | undefined;
67
114
  referenceId?: string | null | undefined;
68
115
  referenceIds?: string[] | undefined;
69
- customStylePrompt?: string | null | undefined;
70
- customStylePhotos?: string[] | undefined;
71
- clothingPhotos?: string[] | undefined;
72
- hairstylePhotos?: string[] | undefined;
73
- accessoriesPhotos?: string[] | undefined;
116
+ clothingPhotos?: {
117
+ uuid: string;
118
+ url: string;
119
+ name: string;
120
+ mimeType: string;
121
+ type: string;
122
+ size: number;
123
+ duration?: number | null | undefined;
124
+ content?: string | null | undefined;
125
+ contentLength?: number | null | undefined;
126
+ }[] | undefined;
127
+ hairstylePhotos?: {
128
+ uuid: string;
129
+ url: string;
130
+ name: string;
131
+ mimeType: string;
132
+ type: string;
133
+ size: number;
134
+ duration?: number | null | undefined;
135
+ content?: string | null | undefined;
136
+ contentLength?: number | null | undefined;
137
+ }[] | undefined;
138
+ accessoriesPhotos?: {
139
+ uuid: string;
140
+ url: string;
141
+ name: string;
142
+ mimeType: string;
143
+ type: string;
144
+ size: number;
145
+ duration?: number | null | undefined;
146
+ content?: string | null | undefined;
147
+ contentLength?: number | null | undefined;
148
+ }[] | undefined;
74
149
  aspectRatio?: string | undefined;
75
150
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
76
151
  };
77
152
  imageUrls: string[] | null;
78
- attempts: any[];
153
+ attempts: {
154
+ order: number;
155
+ attemptId?: string | undefined;
156
+ status: import("../..").JOB_STATUS;
157
+ error: string | null;
158
+ timestamp: Date;
159
+ }[];
79
160
  userId?: string | null | undefined;
80
161
  unregisteredUserId?: string | null | undefined;
81
162
  isPublished: boolean;
82
163
  postId: string | null;
83
164
  isDeleted: boolean;
84
165
  isFavorite: boolean;
85
- tokenReservationId?: string | null | undefined;
86
166
  createdAt: Date;
87
167
  completedAt?: Date | null | undefined;
88
168
  updatedAt: Date;
@@ -96,7 +176,7 @@ export declare namespace RetryPhotoSessionsJobCommand {
96
176
  status: import("../..").JOB_STATUS;
97
177
  error: string | null;
98
178
  modelId: string;
99
- price: number;
179
+ groupId: string;
100
180
  previewUrl: string | null;
101
181
  params: {
102
182
  attachedFiles?: {
@@ -111,26 +191,70 @@ export declare namespace RetryPhotoSessionsJobCommand {
111
191
  contentLength?: number | null | undefined;
112
192
  }[] | undefined;
113
193
  imageUrls?: string[] | undefined;
194
+ referenceFile?: {
195
+ uuid: string;
196
+ url: string;
197
+ name: string;
198
+ mimeType: string;
199
+ type: string;
200
+ size: number;
201
+ duration?: number | null | undefined;
202
+ content?: string | null | undefined;
203
+ contentLength?: number | null | undefined;
204
+ } | undefined;
114
205
  styleId?: string | null | undefined;
115
206
  referenceId?: string | null | undefined;
116
207
  referenceIds?: string[] | undefined;
117
- customStylePrompt?: string | null | undefined;
118
- customStylePhotos?: string[] | undefined;
119
- clothingPhotos?: string[] | undefined;
120
- hairstylePhotos?: string[] | undefined;
121
- accessoriesPhotos?: string[] | undefined;
208
+ clothingPhotos?: {
209
+ uuid: string;
210
+ url: string;
211
+ name: string;
212
+ mimeType: string;
213
+ type: string;
214
+ size: number;
215
+ duration?: number | null | undefined;
216
+ content?: string | null | undefined;
217
+ contentLength?: number | null | undefined;
218
+ }[] | undefined;
219
+ hairstylePhotos?: {
220
+ uuid: string;
221
+ url: string;
222
+ name: string;
223
+ mimeType: string;
224
+ type: string;
225
+ size: number;
226
+ duration?: number | null | undefined;
227
+ content?: string | null | undefined;
228
+ contentLength?: number | null | undefined;
229
+ }[] | undefined;
230
+ accessoriesPhotos?: {
231
+ uuid: string;
232
+ url: string;
233
+ name: string;
234
+ mimeType: string;
235
+ type: string;
236
+ size: number;
237
+ duration?: number | null | undefined;
238
+ content?: string | null | undefined;
239
+ contentLength?: number | null | undefined;
240
+ }[] | undefined;
122
241
  aspectRatio?: string | undefined;
123
242
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
124
243
  };
125
244
  imageUrls: string[] | null;
126
- attempts: any[];
245
+ attempts: {
246
+ order: number;
247
+ attemptId?: string | undefined;
248
+ status: import("../..").JOB_STATUS;
249
+ error: string | null;
250
+ timestamp: Date;
251
+ }[];
127
252
  userId?: string | null | undefined;
128
253
  unregisteredUserId?: string | null | undefined;
129
254
  isPublished: boolean;
130
255
  postId: string | null;
131
256
  isDeleted: boolean;
132
257
  isFavorite: boolean;
133
- tokenReservationId?: string | null | undefined;
134
258
  createdAt: Date;
135
259
  completedAt?: Date | null | undefined;
136
260
  updatedAt: Date;
@@ -13,9 +13,6 @@ var RetryPhotoSessionsJobCommand;
13
13
  userId: zod_1.z.string().uuid().nullable().optional(),
14
14
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
15
15
  userHasActiveSubscriptionOrProduct: zod_1.z.boolean(),
16
- tokenReservationId: zod_1.z.string().uuid(),
17
- precalculatedPrice: zod_1.z.number(),
18
- modelId: zod_1.z.string().optional(),
19
16
  prompt: zod_1.z.string().optional(),
20
17
  params: models_1.PhotoSessionJobParamsSchema.optional(),
21
18
  });
@@ -6,7 +6,7 @@ export declare namespace SetReactionToPhotoSessionsJobCommand {
6
6
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  uuid: z.ZodString;
8
8
  reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
9
- dislikeReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
9
+ dislikeReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  }, z.core.$strip>;
11
11
  type Request = z.infer<typeof RequestSchema>;
12
12
  const ResponseSchema: z.ZodObject<{
@@ -21,7 +21,7 @@ export declare namespace SetReactionToPhotoSessionsJobCommand {
21
21
  status: import("../..").JOB_STATUS;
22
22
  error: string | null;
23
23
  modelId: string;
24
- price: number;
24
+ groupId: string;
25
25
  previewUrl: string | null;
26
26
  params: {
27
27
  attachedFiles?: {
@@ -36,26 +36,70 @@ export declare namespace SetReactionToPhotoSessionsJobCommand {
36
36
  contentLength?: number | null | undefined;
37
37
  }[] | undefined;
38
38
  imageUrls?: string[] | undefined;
39
+ referenceFile?: {
40
+ uuid: string;
41
+ url: string;
42
+ name: string;
43
+ mimeType: string;
44
+ type: string;
45
+ size: number;
46
+ duration?: number | null | undefined;
47
+ content?: string | null | undefined;
48
+ contentLength?: number | null | undefined;
49
+ } | undefined;
39
50
  styleId?: string | null | undefined;
40
51
  referenceId?: string | null | undefined;
41
52
  referenceIds?: string[] | undefined;
42
- customStylePrompt?: string | null | undefined;
43
- customStylePhotos?: string[] | undefined;
44
- clothingPhotos?: string[] | undefined;
45
- hairstylePhotos?: string[] | undefined;
46
- accessoriesPhotos?: string[] | undefined;
53
+ clothingPhotos?: {
54
+ uuid: string;
55
+ url: string;
56
+ name: string;
57
+ mimeType: string;
58
+ type: string;
59
+ size: number;
60
+ duration?: number | null | undefined;
61
+ content?: string | null | undefined;
62
+ contentLength?: number | null | undefined;
63
+ }[] | undefined;
64
+ hairstylePhotos?: {
65
+ uuid: string;
66
+ url: string;
67
+ name: string;
68
+ mimeType: string;
69
+ type: string;
70
+ size: number;
71
+ duration?: number | null | undefined;
72
+ content?: string | null | undefined;
73
+ contentLength?: number | null | undefined;
74
+ }[] | undefined;
75
+ accessoriesPhotos?: {
76
+ uuid: string;
77
+ url: string;
78
+ name: string;
79
+ mimeType: string;
80
+ type: string;
81
+ size: number;
82
+ duration?: number | null | undefined;
83
+ content?: string | null | undefined;
84
+ contentLength?: number | null | undefined;
85
+ }[] | undefined;
47
86
  aspectRatio?: string | undefined;
48
87
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
49
88
  };
50
89
  imageUrls: string[] | null;
51
- attempts: any[];
90
+ attempts: {
91
+ order: number;
92
+ attemptId?: string | undefined;
93
+ status: import("../..").JOB_STATUS;
94
+ error: string | null;
95
+ timestamp: Date;
96
+ }[];
52
97
  userId?: string | null | undefined;
53
98
  unregisteredUserId?: string | null | undefined;
54
99
  isPublished: boolean;
55
100
  postId: string | null;
56
101
  isDeleted: boolean;
57
102
  isFavorite: boolean;
58
- tokenReservationId?: string | null | undefined;
59
103
  createdAt: Date;
60
104
  completedAt?: Date | null | undefined;
61
105
  updatedAt: Date;
@@ -69,7 +113,7 @@ export declare namespace SetReactionToPhotoSessionsJobCommand {
69
113
  status: import("../..").JOB_STATUS;
70
114
  error: string | null;
71
115
  modelId: string;
72
- price: number;
116
+ groupId: string;
73
117
  previewUrl: string | null;
74
118
  params: {
75
119
  attachedFiles?: {
@@ -84,26 +128,70 @@ export declare namespace SetReactionToPhotoSessionsJobCommand {
84
128
  contentLength?: number | null | undefined;
85
129
  }[] | undefined;
86
130
  imageUrls?: string[] | undefined;
131
+ referenceFile?: {
132
+ uuid: string;
133
+ url: string;
134
+ name: string;
135
+ mimeType: string;
136
+ type: string;
137
+ size: number;
138
+ duration?: number | null | undefined;
139
+ content?: string | null | undefined;
140
+ contentLength?: number | null | undefined;
141
+ } | undefined;
87
142
  styleId?: string | null | undefined;
88
143
  referenceId?: string | null | undefined;
89
144
  referenceIds?: string[] | undefined;
90
- customStylePrompt?: string | null | undefined;
91
- customStylePhotos?: string[] | undefined;
92
- clothingPhotos?: string[] | undefined;
93
- hairstylePhotos?: string[] | undefined;
94
- accessoriesPhotos?: string[] | undefined;
145
+ clothingPhotos?: {
146
+ uuid: string;
147
+ url: string;
148
+ name: string;
149
+ mimeType: string;
150
+ type: string;
151
+ size: number;
152
+ duration?: number | null | undefined;
153
+ content?: string | null | undefined;
154
+ contentLength?: number | null | undefined;
155
+ }[] | undefined;
156
+ hairstylePhotos?: {
157
+ uuid: string;
158
+ url: string;
159
+ name: string;
160
+ mimeType: string;
161
+ type: string;
162
+ size: number;
163
+ duration?: number | null | undefined;
164
+ content?: string | null | undefined;
165
+ contentLength?: number | null | undefined;
166
+ }[] | undefined;
167
+ accessoriesPhotos?: {
168
+ uuid: string;
169
+ url: string;
170
+ name: string;
171
+ mimeType: string;
172
+ type: string;
173
+ size: number;
174
+ duration?: number | null | undefined;
175
+ content?: string | null | undefined;
176
+ contentLength?: number | null | undefined;
177
+ }[] | undefined;
95
178
  aspectRatio?: string | undefined;
96
179
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
97
180
  };
98
181
  imageUrls: string[] | null;
99
- attempts: any[];
182
+ attempts: {
183
+ order: number;
184
+ attemptId?: string | undefined;
185
+ status: import("../..").JOB_STATUS;
186
+ error: string | null;
187
+ timestamp: Date;
188
+ }[];
100
189
  userId?: string | null | undefined;
101
190
  unregisteredUserId?: string | null | undefined;
102
191
  isPublished: boolean;
103
192
  postId: string | null;
104
193
  isDeleted: boolean;
105
194
  isFavorite: boolean;
106
- tokenReservationId?: string | null | undefined;
107
195
  createdAt: Date;
108
196
  completedAt?: Date | null | undefined;
109
197
  updatedAt: Date;
@@ -13,7 +13,7 @@ var SetReactionToPhotoSessionsJobCommand;
13
13
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
14
14
  uuid: zod_1.z.string().uuid(),
15
15
  reaction: zod_1.z.nativeEnum(common_1.USER_REACTION).nullable(),
16
- dislikeReason: zod_1.z.string().nullable().default(null),
16
+ dislikeReason: zod_1.z.string().nullable().optional(),
17
17
  })
18
18
  .refine((data) => {
19
19
  if (data.reaction !== common_1.USER_REACTION.DISLIKED && data.dislikeReason) {
@@ -19,7 +19,7 @@ export declare namespace UpdatePhotoSessionsJobFavoriteCommand {
19
19
  status: import("../..").JOB_STATUS;
20
20
  error: string | null;
21
21
  modelId: string;
22
- price: number;
22
+ groupId: string;
23
23
  previewUrl: string | null;
24
24
  params: {
25
25
  attachedFiles?: {
@@ -34,26 +34,70 @@ export declare namespace UpdatePhotoSessionsJobFavoriteCommand {
34
34
  contentLength?: number | null | undefined;
35
35
  }[] | undefined;
36
36
  imageUrls?: string[] | undefined;
37
+ referenceFile?: {
38
+ uuid: string;
39
+ url: string;
40
+ name: string;
41
+ mimeType: string;
42
+ type: string;
43
+ size: number;
44
+ duration?: number | null | undefined;
45
+ content?: string | null | undefined;
46
+ contentLength?: number | null | undefined;
47
+ } | undefined;
37
48
  styleId?: string | null | undefined;
38
49
  referenceId?: string | null | undefined;
39
50
  referenceIds?: string[] | undefined;
40
- customStylePrompt?: string | null | undefined;
41
- customStylePhotos?: string[] | undefined;
42
- clothingPhotos?: string[] | undefined;
43
- hairstylePhotos?: string[] | undefined;
44
- accessoriesPhotos?: string[] | undefined;
51
+ clothingPhotos?: {
52
+ uuid: string;
53
+ url: string;
54
+ name: string;
55
+ mimeType: string;
56
+ type: string;
57
+ size: number;
58
+ duration?: number | null | undefined;
59
+ content?: string | null | undefined;
60
+ contentLength?: number | null | undefined;
61
+ }[] | undefined;
62
+ hairstylePhotos?: {
63
+ uuid: string;
64
+ url: string;
65
+ name: string;
66
+ mimeType: string;
67
+ type: string;
68
+ size: number;
69
+ duration?: number | null | undefined;
70
+ content?: string | null | undefined;
71
+ contentLength?: number | null | undefined;
72
+ }[] | undefined;
73
+ accessoriesPhotos?: {
74
+ uuid: string;
75
+ url: string;
76
+ name: string;
77
+ mimeType: string;
78
+ type: string;
79
+ size: number;
80
+ duration?: number | null | undefined;
81
+ content?: string | null | undefined;
82
+ contentLength?: number | null | undefined;
83
+ }[] | undefined;
45
84
  aspectRatio?: string | undefined;
46
85
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
47
86
  };
48
87
  imageUrls: string[] | null;
49
- attempts: any[];
88
+ attempts: {
89
+ order: number;
90
+ attemptId?: string | undefined;
91
+ status: import("../..").JOB_STATUS;
92
+ error: string | null;
93
+ timestamp: Date;
94
+ }[];
50
95
  userId?: string | null | undefined;
51
96
  unregisteredUserId?: string | null | undefined;
52
97
  isPublished: boolean;
53
98
  postId: string | null;
54
99
  isDeleted: boolean;
55
100
  isFavorite: boolean;
56
- tokenReservationId?: string | null | undefined;
57
101
  createdAt: Date;
58
102
  completedAt?: Date | null | undefined;
59
103
  updatedAt: Date;
@@ -67,7 +111,7 @@ export declare namespace UpdatePhotoSessionsJobFavoriteCommand {
67
111
  status: import("../..").JOB_STATUS;
68
112
  error: string | null;
69
113
  modelId: string;
70
- price: number;
114
+ groupId: string;
71
115
  previewUrl: string | null;
72
116
  params: {
73
117
  attachedFiles?: {
@@ -82,26 +126,70 @@ export declare namespace UpdatePhotoSessionsJobFavoriteCommand {
82
126
  contentLength?: number | null | undefined;
83
127
  }[] | undefined;
84
128
  imageUrls?: string[] | undefined;
129
+ referenceFile?: {
130
+ uuid: string;
131
+ url: string;
132
+ name: string;
133
+ mimeType: string;
134
+ type: string;
135
+ size: number;
136
+ duration?: number | null | undefined;
137
+ content?: string | null | undefined;
138
+ contentLength?: number | null | undefined;
139
+ } | undefined;
85
140
  styleId?: string | null | undefined;
86
141
  referenceId?: string | null | undefined;
87
142
  referenceIds?: string[] | undefined;
88
- customStylePrompt?: string | null | undefined;
89
- customStylePhotos?: string[] | undefined;
90
- clothingPhotos?: string[] | undefined;
91
- hairstylePhotos?: string[] | undefined;
92
- accessoriesPhotos?: string[] | undefined;
143
+ clothingPhotos?: {
144
+ uuid: string;
145
+ url: string;
146
+ name: string;
147
+ mimeType: string;
148
+ type: string;
149
+ size: number;
150
+ duration?: number | null | undefined;
151
+ content?: string | null | undefined;
152
+ contentLength?: number | null | undefined;
153
+ }[] | undefined;
154
+ hairstylePhotos?: {
155
+ uuid: string;
156
+ url: string;
157
+ name: string;
158
+ mimeType: string;
159
+ type: string;
160
+ size: number;
161
+ duration?: number | null | undefined;
162
+ content?: string | null | undefined;
163
+ contentLength?: number | null | undefined;
164
+ }[] | undefined;
165
+ accessoriesPhotos?: {
166
+ uuid: string;
167
+ url: string;
168
+ name: string;
169
+ mimeType: string;
170
+ type: string;
171
+ size: number;
172
+ duration?: number | null | undefined;
173
+ content?: string | null | undefined;
174
+ contentLength?: number | null | undefined;
175
+ }[] | undefined;
93
176
  aspectRatio?: string | undefined;
94
177
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
95
178
  };
96
179
  imageUrls: string[] | null;
97
- attempts: any[];
180
+ attempts: {
181
+ order: number;
182
+ attemptId?: string | undefined;
183
+ status: import("../..").JOB_STATUS;
184
+ error: string | null;
185
+ timestamp: Date;
186
+ }[];
98
187
  userId?: string | null | undefined;
99
188
  unregisteredUserId?: string | null | undefined;
100
189
  isPublished: boolean;
101
190
  postId: string | null;
102
191
  isDeleted: boolean;
103
192
  isFavorite: boolean;
104
- tokenReservationId?: string | null | undefined;
105
193
  createdAt: Date;
106
194
  completedAt?: Date | null | undefined;
107
195
  updatedAt: Date;