@purpleschool/gptbot-tools 0.2.63-stage2 → 0.2.64

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 (212) hide show
  1. package/build/ai-proxy/routes/ai-proxy.routes.d.ts +0 -1
  2. package/build/ai-proxy/routes/ai-proxy.routes.js +0 -1
  3. package/build/image-generation/enums/image-generation-model-strategy.enum.d.ts +2 -1
  4. package/build/image-generation/enums/image-generation-model-strategy.enum.js +2 -0
  5. package/build/index.d.ts +3 -3
  6. package/build/index.js +3 -3
  7. package/build/{photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts → sound-generation/commands/delete-all-sound-generation-jobs.command.d.ts} +2 -2
  8. package/build/sound-generation/commands/delete-all-sound-generation-jobs.command.js +14 -0
  9. package/build/{photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts → sound-generation/commands/delete-sound-generation-job-by-uuid.command.d.ts} +2 -2
  10. package/build/sound-generation/commands/delete-sound-generation-job-by-uuid.command.js +14 -0
  11. package/build/{tts/commands/improve-tts-text.command.d.ts → sound-generation/commands/get-sound-generation-price.command.d.ts} +8 -6
  12. package/build/sound-generation/commands/get-sound-generation-price.command.js +17 -0
  13. package/build/sound-generation/commands/index.d.ts +8 -0
  14. package/build/sound-generation/commands/index.js +24 -0
  15. package/build/sound-generation/commands/retry-sound-generation-job.command.d.ts +94 -0
  16. package/build/sound-generation/commands/retry-sound-generation-job.command.js +20 -0
  17. package/build/sound-generation/commands/set-reaction-to-sound-generation-job.command.d.ts +87 -0
  18. package/build/{photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js → sound-generation/commands/set-reaction-to-sound-generation-job.command.js} +8 -8
  19. package/build/sound-generation/commands/sound-generation.command.d.ts +96 -0
  20. package/build/sound-generation/commands/sound-generation.command.js +27 -0
  21. package/build/sound-generation/commands/update-sound-generation-job-favorite.command.d.ts +85 -0
  22. package/build/sound-generation/commands/update-sound-generation-job-favorite.command.js +16 -0
  23. package/build/sound-generation/commands/update-sound-generation-job-title.command.d.ts +85 -0
  24. package/build/sound-generation/commands/update-sound-generation-job-title.command.js +16 -0
  25. package/build/sound-generation/enums/index.d.ts +1 -0
  26. package/build/{photo-sessions/routes → sound-generation/enums}/index.js +1 -2
  27. package/build/sound-generation/enums/sound-generation-strategy.enum.d.ts +3 -0
  28. package/build/sound-generation/enums/sound-generation-strategy.enum.js +7 -0
  29. package/build/sound-generation/models/index.d.ts +5 -0
  30. package/build/{photo-sessions → sound-generation}/models/index.js +5 -5
  31. package/build/sound-generation/models/sound-generation-config.schema.d.ts +34 -0
  32. package/build/sound-generation/models/sound-generation-config.schema.js +8 -0
  33. package/build/sound-generation/models/sound-generation-job.schema.d.ts +39 -0
  34. package/build/sound-generation/models/sound-generation-job.schema.js +34 -0
  35. package/build/sound-generation/models/sound-generation-model.schema.d.ts +42 -0
  36. package/build/sound-generation/models/sound-generation-model.schema.js +28 -0
  37. package/build/sound-generation/models/sound-generation-params.schema.d.ts +8 -0
  38. package/build/sound-generation/models/sound-generation-params.schema.js +10 -0
  39. package/build/sound-generation/models/sound-generation-result.schema.d.ts +7 -0
  40. package/build/sound-generation/models/sound-generation-result.schema.js +9 -0
  41. package/build/sound-generation/queries/find-sound-generation-job-by-id.query.d.ts +84 -0
  42. package/build/sound-generation/queries/find-sound-generation-job-by-id.query.js +15 -0
  43. package/build/sound-generation/queries/find-sound-generation-jobs.query.d.ts +102 -0
  44. package/build/sound-generation/queries/find-sound-generation-jobs.query.js +35 -0
  45. package/build/sound-generation/queries/get-sound-generation-config.query.d.ts +76 -0
  46. package/build/sound-generation/queries/get-sound-generation-config.query.js +10 -0
  47. package/build/sound-generation/queries/index.d.ts +3 -0
  48. package/build/{photo-sessions/commands/admin → sound-generation/queries}/index.js +3 -3
  49. package/build/sound-generation/routes/index.d.ts +1 -0
  50. package/build/{photo-sessions/enums → sound-generation/routes}/index.js +1 -3
  51. package/build/sound-generation/routes/sound-generation.amqp.routes.d.ts +13 -0
  52. package/build/sound-generation/routes/sound-generation.amqp.routes.js +16 -0
  53. package/build/tools/enums/tool-content-type.enum.d.ts +2 -2
  54. package/build/tools/enums/tool-content-type.enum.js +1 -1
  55. package/build/tools/enums/tool-type.enum.d.ts +2 -2
  56. package/build/tools/enums/tool-type.enum.js +1 -1
  57. package/build/tools/events/tool-job-complete.event.d.ts +0 -1
  58. package/build/tools/events/tool-job-failed.event.d.ts +0 -1
  59. package/build/tools/models/global-tools-config.schema.d.ts +25 -69
  60. package/build/tools/models/global-tools-config.schema.js +2 -2
  61. package/build/tools/models/tool-group.schema.d.ts +1 -0
  62. package/build/tools/models/tool-group.schema.js +1 -0
  63. package/build/tools/models/tool-job.schema.d.ts +0 -1
  64. package/build/tools/models/tool-job.schema.js +0 -1
  65. package/build/tools/models/tools-with-configs.schema.d.ts +88 -22
  66. package/build/tools/models/tools-with-configs.schema.js +5 -0
  67. package/build/tools/queries/find-grouped-tools.query.d.ts +2 -0
  68. package/build/tools/queries/get-global-tools-config.query.d.ts +46 -134
  69. package/build/tools/queries/get-tools-with-configs.query.d.ts +88 -22
  70. package/build/tts/commands/index.d.ts +0 -7
  71. package/build/tts/commands/index.js +0 -7
  72. package/build/tts/commands/retry-tts-job.command.d.ts +2 -29
  73. package/build/tts/commands/retry-tts-job.command.js +0 -2
  74. package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +2 -29
  75. package/build/tts/commands/set-reaction-to-tts-job.command.js +0 -1
  76. package/build/tts/commands/tts.command.d.ts +3 -35
  77. package/build/tts/commands/tts.command.js +1 -4
  78. package/build/tts/commands/update-tts-job-favorite.command.d.ts +2 -29
  79. package/build/tts/commands/update-tts-job-favorite.command.js +0 -2
  80. package/build/tts/commands/update-tts-job-title.command.d.ts +2 -29
  81. package/build/tts/commands/update-tts-job-title.command.js +0 -2
  82. package/build/tts/enums/index.d.ts +0 -7
  83. package/build/tts/enums/index.js +0 -7
  84. package/build/tts/models/index.d.ts +0 -7
  85. package/build/tts/models/index.js +0 -7
  86. package/build/tts/models/tts-config-with-vendors.schema.d.ts +0 -1
  87. package/build/tts/models/tts-config.schema.d.ts +0 -11
  88. package/build/tts/models/tts-config.schema.js +0 -5
  89. package/build/tts/models/tts-job.schema.d.ts +2 -34
  90. package/build/tts/models/tts-job.schema.js +2 -22
  91. package/build/tts/models/tts-model-with-vendor.schema.d.ts +0 -1
  92. package/build/tts/models/tts-model.schema.d.ts +0 -1
  93. package/build/tts/models/tts-model.schema.js +0 -1
  94. package/build/tts/queries/find-tts-job-by-id.query.d.ts +2 -29
  95. package/build/tts/queries/find-tts-job-by-id.query.js +0 -2
  96. package/build/tts/queries/find-tts-jobs.query.d.ts +2 -29
  97. package/build/tts/queries/find-tts-jobs.query.js +0 -1
  98. package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +0 -2
  99. package/build/tts/queries/get-tts-config.query.d.ts +0 -22
  100. package/build/tts/queries/index.d.ts +0 -2
  101. package/build/tts/queries/index.js +0 -2
  102. package/build/tts/routes/tts.amqp.routes.d.ts +0 -9
  103. package/build/tts/routes/tts.amqp.routes.js +0 -9
  104. package/build/video/enums/video-strategy.enum.d.ts +2 -1
  105. package/build/video/enums/video-strategy.enum.js +1 -0
  106. package/package.json +1 -1
  107. package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +0 -58
  108. package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +0 -21
  109. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +0 -14
  110. package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +0 -12
  111. package/build/photo-sessions/commands/admin/index.d.ts +0 -3
  112. package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +0 -54
  113. package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +0 -18
  114. package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +0 -19
  115. package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +0 -14
  116. package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +0 -85
  117. package/build/photo-sessions/commands/get-photo-sessions-price.command.js +0 -29
  118. package/build/photo-sessions/commands/index.d.ts +0 -10
  119. package/build/photo-sessions/commands/index.js +0 -26
  120. package/build/photo-sessions/commands/photo-sessions.command.d.ts +0 -305
  121. package/build/photo-sessions/commands/photo-sessions.command.js +0 -38
  122. package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +0 -266
  123. package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +0 -20
  124. package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +0 -203
  125. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +0 -201
  126. package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +0 -16
  127. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +0 -239
  128. package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +0 -16
  129. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +0 -206
  130. package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +0 -26
  131. package/build/photo-sessions/enums/index.d.ts +0 -3
  132. package/build/photo-sessions/enums/photo-session-group-status.enum.d.ts +0 -7
  133. package/build/photo-sessions/enums/photo-session-group-status.enum.js +0 -11
  134. package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +0 -5
  135. package/build/photo-sessions/enums/photo-session-look-type.enum.js +0 -9
  136. package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +0 -4
  137. package/build/photo-sessions/enums/photo-session-strategy.enum.js +0 -8
  138. package/build/photo-sessions/models/index.d.ts +0 -5
  139. package/build/photo-sessions/models/photo-session-config.schema.d.ts +0 -72
  140. package/build/photo-sessions/models/photo-session-config.schema.js +0 -16
  141. package/build/photo-sessions/models/photo-session-group.schema.d.ts +0 -116
  142. package/build/photo-sessions/models/photo-session-group.schema.js +0 -27
  143. package/build/photo-sessions/models/photo-session-job.schema.d.ts +0 -169
  144. package/build/photo-sessions/models/photo-session-job.schema.js +0 -51
  145. package/build/photo-sessions/models/photo-session-model.schema.d.ts +0 -69
  146. package/build/photo-sessions/models/photo-session-model.schema.js +0 -42
  147. package/build/photo-sessions/models/photo-session-style.schema.d.ts +0 -29
  148. package/build/photo-sessions/models/photo-session-style.schema.js +0 -22
  149. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +0 -46
  150. package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +0 -10
  151. package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +0 -57
  152. package/build/photo-sessions/queries/find-photo-session-styles.query.js +0 -19
  153. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +0 -238
  154. package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +0 -18
  155. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +0 -257
  156. package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +0 -33
  157. package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +0 -142
  158. package/build/photo-sessions/queries/get-photo-sessions-config.query.js +0 -10
  159. package/build/photo-sessions/queries/index.d.ts +0 -5
  160. package/build/photo-sessions/queries/index.js +0 -21
  161. package/build/photo-sessions/routes/index.d.ts +0 -2
  162. package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +0 -19
  163. package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +0 -22
  164. package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +0 -1
  165. package/build/photo-sessions/routes/photo-sessions.http.routes.js +0 -4
  166. package/build/tts/commands/create-voice-clone.command.d.ts +0 -81
  167. package/build/tts/commands/create-voice-clone.command.js +0 -21
  168. package/build/tts/commands/create-voice-design.command.d.ts +0 -40
  169. package/build/tts/commands/create-voice-design.command.js +0 -20
  170. package/build/tts/commands/delete-voice.command.d.ts +0 -17
  171. package/build/tts/commands/delete-voice.command.js +0 -14
  172. package/build/tts/commands/download-tts-job.command.d.ts +0 -25
  173. package/build/tts/commands/download-tts-job.command.js +0 -19
  174. package/build/tts/commands/improve-tts-text.command.js +0 -16
  175. package/build/tts/commands/select-voice-design.command.d.ts +0 -77
  176. package/build/tts/commands/select-voice-design.command.js +0 -17
  177. package/build/tts/commands/update-voice.command.d.ts +0 -78
  178. package/build/tts/commands/update-voice.command.js +0 -18
  179. package/build/tts/enums/tts-download-format.enum.d.ts +0 -5
  180. package/build/tts/enums/tts-download-format.enum.js +0 -9
  181. package/build/tts/enums/voice-category.enum.d.ts +0 -19
  182. package/build/tts/enums/voice-category.enum.js +0 -23
  183. package/build/tts/enums/voice-gender.enum.d.ts +0 -4
  184. package/build/tts/enums/voice-gender.enum.js +0 -8
  185. package/build/tts/enums/voice-source.enum.d.ts +0 -5
  186. package/build/tts/enums/voice-source.enum.js +0 -9
  187. package/build/tts/enums/voice-status.enum.d.ts +0 -5
  188. package/build/tts/enums/voice-status.enum.js +0 -9
  189. package/build/tts/enums/voice-tag-group.enum.d.ts +0 -5
  190. package/build/tts/enums/voice-tag-group.enum.js +0 -9
  191. package/build/tts/enums/voice-tag.enum.d.ts +0 -20
  192. package/build/tts/enums/voice-tag.enum.js +0 -24
  193. package/build/tts/models/voice-category.schema.d.ts +0 -7
  194. package/build/tts/models/voice-category.schema.js +0 -9
  195. package/build/tts/models/voice-design-draft.schema.d.ts +0 -13
  196. package/build/tts/models/voice-design-draft.schema.js +0 -13
  197. package/build/tts/models/voice-design-sample.schema.d.ts +0 -6
  198. package/build/tts/models/voice-design-sample.schema.js +0 -8
  199. package/build/tts/models/voice-gender.schema.d.ts +0 -7
  200. package/build/tts/models/voice-gender.schema.js +0 -9
  201. package/build/tts/models/voice-source.schema.d.ts +0 -7
  202. package/build/tts/models/voice-source.schema.js +0 -9
  203. package/build/tts/models/voice-tag.schema.d.ts +0 -9
  204. package/build/tts/models/voice-tag.schema.js +0 -11
  205. package/build/tts/models/voice.schema.d.ts +0 -34
  206. package/build/tts/models/voice.schema.js +0 -30
  207. package/build/tts/queries/find-voice-by-id.query.d.ts +0 -77
  208. package/build/tts/queries/find-voice-by-id.query.js +0 -17
  209. package/build/tts/queries/find-voices.query.d.ts +0 -122
  210. package/build/tts/queries/find-voices.query.js +0 -25
  211. /package/build/{photo-sessions → sound-generation}/index.d.ts +0 -0
  212. /package/build/{photo-sessions → sound-generation}/index.js +0 -0
@@ -1,203 +0,0 @@
1
- import { z } from 'zod';
2
- import { USER_REACTION } from '../../common';
3
- export declare namespace SetReactionToPhotoSessionsJobCommand {
4
- const RequestSchema: z.ZodObject<{
5
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- uuid: z.ZodString;
8
- reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
9
- dislikeReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- }, z.core.$strip>;
11
- type Request = z.infer<typeof RequestSchema>;
12
- const ResponseSchema: z.ZodObject<{
13
- isSuccess: z.ZodBoolean;
14
- data: z.ZodOptional<z.ZodType<{
15
- uuid: string;
16
- prompt: string;
17
- reaction: USER_REACTION | null;
18
- dislikeReason: string | null;
19
- externalId: string | null;
20
- title: string;
21
- status: import("../..").JOB_STATUS;
22
- error: string | null;
23
- modelId: string;
24
- groupId: string;
25
- previewUrl: string | null;
26
- params: {
27
- attachedFiles?: {
28
- uuid: string;
29
- url: string;
30
- name: string;
31
- mimeType: string;
32
- type: string;
33
- size: number;
34
- duration?: number | null | undefined;
35
- content?: string | null | undefined;
36
- contentLength?: number | null | undefined;
37
- }[] | undefined;
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;
50
- styleId?: string | null | undefined;
51
- referenceId?: string | null | undefined;
52
- referenceIds?: 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;
86
- aspectRatio?: string | undefined;
87
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
88
- };
89
- imageUrls: string[] | null;
90
- attempts: {
91
- order: number;
92
- attemptId?: string | undefined;
93
- status: import("../..").JOB_STATUS;
94
- error: string | null;
95
- timestamp: Date;
96
- }[];
97
- userId?: string | null | undefined;
98
- unregisteredUserId?: string | null | undefined;
99
- isPublished: boolean;
100
- postId: string | null;
101
- isDeleted: boolean;
102
- isFavorite: boolean;
103
- createdAt: Date;
104
- completedAt?: Date | null | undefined;
105
- updatedAt: Date;
106
- }, unknown, z.core.$ZodTypeInternals<{
107
- uuid: string;
108
- prompt: string;
109
- reaction: USER_REACTION | null;
110
- dislikeReason: string | null;
111
- externalId: string | null;
112
- title: string;
113
- status: import("../..").JOB_STATUS;
114
- error: string | null;
115
- modelId: string;
116
- groupId: string;
117
- previewUrl: string | null;
118
- params: {
119
- attachedFiles?: {
120
- uuid: string;
121
- url: string;
122
- name: string;
123
- mimeType: string;
124
- type: string;
125
- size: number;
126
- duration?: number | null | undefined;
127
- content?: string | null | undefined;
128
- contentLength?: number | null | undefined;
129
- }[] | undefined;
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;
142
- styleId?: string | null | undefined;
143
- referenceId?: string | null | undefined;
144
- referenceIds?: 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;
178
- aspectRatio?: string | undefined;
179
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
180
- };
181
- imageUrls: string[] | null;
182
- attempts: {
183
- order: number;
184
- attemptId?: string | undefined;
185
- status: import("../..").JOB_STATUS;
186
- error: string | null;
187
- timestamp: Date;
188
- }[];
189
- userId?: string | null | undefined;
190
- unregisteredUserId?: string | null | undefined;
191
- isPublished: boolean;
192
- postId: string | null;
193
- isDeleted: boolean;
194
- isFavorite: boolean;
195
- createdAt: Date;
196
- completedAt?: Date | null | undefined;
197
- updatedAt: Date;
198
- }, unknown>>>;
199
- code: z.ZodOptional<z.ZodString>;
200
- message: z.ZodOptional<z.ZodString>;
201
- }, z.core.$strip>;
202
- type Response = z.infer<typeof ResponseSchema>;
203
- }
@@ -1,201 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace UpdatePhotoSessionsJobFavoriteCommand {
3
- const RequestSchema: z.ZodObject<{
4
- uuid: z.ZodString;
5
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- isFavorite: z.ZodBoolean;
8
- }, z.core.$strip>;
9
- type Request = z.infer<typeof RequestSchema>;
10
- const ResponseSchema: z.ZodObject<{
11
- isSuccess: z.ZodBoolean;
12
- data: z.ZodOptional<z.ZodType<{
13
- uuid: string;
14
- prompt: string;
15
- reaction: import("../..").USER_REACTION | null;
16
- dislikeReason: string | null;
17
- externalId: string | null;
18
- title: string;
19
- status: import("../..").JOB_STATUS;
20
- error: string | null;
21
- modelId: string;
22
- groupId: string;
23
- previewUrl: string | null;
24
- params: {
25
- attachedFiles?: {
26
- uuid: string;
27
- url: string;
28
- name: string;
29
- mimeType: string;
30
- type: string;
31
- size: number;
32
- duration?: number | null | undefined;
33
- content?: string | null | undefined;
34
- contentLength?: number | null | undefined;
35
- }[] | undefined;
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;
48
- styleId?: string | null | undefined;
49
- referenceId?: string | null | undefined;
50
- referenceIds?: 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;
84
- aspectRatio?: string | undefined;
85
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
86
- };
87
- imageUrls: string[] | null;
88
- attempts: {
89
- order: number;
90
- attemptId?: string | undefined;
91
- status: import("../..").JOB_STATUS;
92
- error: string | null;
93
- timestamp: Date;
94
- }[];
95
- userId?: string | null | undefined;
96
- unregisteredUserId?: string | null | undefined;
97
- isPublished: boolean;
98
- postId: string | null;
99
- isDeleted: boolean;
100
- isFavorite: boolean;
101
- createdAt: Date;
102
- completedAt?: Date | null | undefined;
103
- updatedAt: Date;
104
- }, unknown, z.core.$ZodTypeInternals<{
105
- uuid: string;
106
- prompt: string;
107
- reaction: import("../..").USER_REACTION | null;
108
- dislikeReason: string | null;
109
- externalId: string | null;
110
- title: string;
111
- status: import("../..").JOB_STATUS;
112
- error: string | null;
113
- modelId: string;
114
- groupId: string;
115
- previewUrl: string | null;
116
- params: {
117
- attachedFiles?: {
118
- uuid: string;
119
- url: string;
120
- name: string;
121
- mimeType: string;
122
- type: string;
123
- size: number;
124
- duration?: number | null | undefined;
125
- content?: string | null | undefined;
126
- contentLength?: number | null | undefined;
127
- }[] | undefined;
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;
140
- styleId?: string | null | undefined;
141
- referenceId?: string | null | undefined;
142
- referenceIds?: 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;
176
- aspectRatio?: string | undefined;
177
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
178
- };
179
- imageUrls: string[] | null;
180
- attempts: {
181
- order: number;
182
- attemptId?: string | undefined;
183
- status: import("../..").JOB_STATUS;
184
- error: string | null;
185
- timestamp: Date;
186
- }[];
187
- userId?: string | null | undefined;
188
- unregisteredUserId?: string | null | undefined;
189
- isPublished: boolean;
190
- postId: string | null;
191
- isDeleted: boolean;
192
- isFavorite: boolean;
193
- createdAt: Date;
194
- completedAt?: Date | null | undefined;
195
- updatedAt: Date;
196
- }, unknown>>>;
197
- code: z.ZodOptional<z.ZodString>;
198
- message: z.ZodOptional<z.ZodString>;
199
- }, z.core.$strip>;
200
- type Response = z.infer<typeof ResponseSchema>;
201
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdatePhotoSessionsJobFavoriteCommand = 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 UpdatePhotoSessionsJobFavoriteCommand;
8
- (function (UpdatePhotoSessionsJobFavoriteCommand) {
9
- UpdatePhotoSessionsJobFavoriteCommand.RequestSchema = zod_1.z.object({
10
- uuid: zod_1.z.string().uuid(),
11
- userId: zod_1.z.string().uuid().nullable().optional(),
12
- unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
13
- isFavorite: zod_1.z.boolean(),
14
- });
15
- UpdatePhotoSessionsJobFavoriteCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.PhotoSessionJobSchema);
16
- })(UpdatePhotoSessionsJobFavoriteCommand || (exports.UpdatePhotoSessionsJobFavoriteCommand = UpdatePhotoSessionsJobFavoriteCommand = {}));
@@ -1,239 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace UpdatePhotoSessionsJobTitleCommand {
3
- const RequestSchema: z.ZodObject<{
4
- uuid: z.ZodString;
5
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
- unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- title: z.ZodString;
8
- }, z.core.$strip>;
9
- type Request = z.infer<typeof RequestSchema>;
10
- const ResponseSchema: z.ZodObject<{
11
- isSuccess: z.ZodBoolean;
12
- data: z.ZodOptional<z.ZodType<{
13
- uuid: string;
14
- title: string;
15
- prompt: string;
16
- status: import("..").PHOTO_SESSION_GROUP_STATUS;
17
- error: string | null;
18
- modelId: string;
19
- price: number;
20
- tokenReservationId: string | null;
21
- params: unknown;
22
- attempts: unknown[];
23
- scope: import("../..").JOB_SCOPE;
24
- userId: string | null;
25
- unregisteredUserId: string | null;
26
- isDeleted: boolean;
27
- subJobs: {
28
- uuid: string;
29
- prompt: string;
30
- reaction: import("../..").USER_REACTION | null;
31
- dislikeReason: string | null;
32
- externalId: string | null;
33
- title: string;
34
- status: import("../..").JOB_STATUS;
35
- error: string | null;
36
- modelId: string;
37
- groupId: string;
38
- previewUrl: string | null;
39
- params: {
40
- attachedFiles?: {
41
- uuid: string;
42
- url: string;
43
- name: string;
44
- mimeType: string;
45
- type: string;
46
- size: number;
47
- duration?: number | null | undefined;
48
- content?: string | null | undefined;
49
- contentLength?: number | null | undefined;
50
- }[] | undefined;
51
- imageUrls?: string[] | undefined;
52
- referenceFile?: {
53
- uuid: string;
54
- url: string;
55
- name: string;
56
- mimeType: string;
57
- type: string;
58
- size: number;
59
- duration?: number | null | undefined;
60
- content?: string | null | undefined;
61
- contentLength?: number | null | undefined;
62
- } | undefined;
63
- styleId?: string | null | undefined;
64
- referenceId?: string | null | undefined;
65
- referenceIds?: string[] | undefined;
66
- clothingPhotos?: {
67
- uuid: string;
68
- url: string;
69
- name: string;
70
- mimeType: string;
71
- type: string;
72
- size: number;
73
- duration?: number | null | undefined;
74
- content?: string | null | undefined;
75
- contentLength?: number | null | undefined;
76
- }[] | undefined;
77
- hairstylePhotos?: {
78
- uuid: string;
79
- url: string;
80
- name: string;
81
- mimeType: string;
82
- type: string;
83
- size: number;
84
- duration?: number | null | undefined;
85
- content?: string | null | undefined;
86
- contentLength?: number | null | undefined;
87
- }[] | undefined;
88
- accessoriesPhotos?: {
89
- uuid: string;
90
- url: string;
91
- name: string;
92
- mimeType: string;
93
- type: string;
94
- size: number;
95
- duration?: number | null | undefined;
96
- content?: string | null | undefined;
97
- contentLength?: number | null | undefined;
98
- }[] | undefined;
99
- aspectRatio?: string | undefined;
100
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
101
- };
102
- imageUrls: string[] | null;
103
- attempts: {
104
- order: number;
105
- attemptId?: string | undefined;
106
- status: import("../..").JOB_STATUS;
107
- error: string | null;
108
- timestamp: Date;
109
- }[];
110
- userId?: string | null | undefined;
111
- unregisteredUserId?: string | null | undefined;
112
- isPublished: boolean;
113
- postId: string | null;
114
- isDeleted: boolean;
115
- isFavorite: boolean;
116
- createdAt: Date;
117
- completedAt?: Date | null | undefined;
118
- updatedAt: Date;
119
- }[];
120
- createdAt: Date;
121
- completedAt: Date | null;
122
- updatedAt: Date;
123
- }, unknown, z.core.$ZodTypeInternals<{
124
- uuid: string;
125
- title: string;
126
- prompt: string;
127
- status: import("..").PHOTO_SESSION_GROUP_STATUS;
128
- error: string | null;
129
- modelId: string;
130
- price: number;
131
- tokenReservationId: string | null;
132
- params: unknown;
133
- attempts: unknown[];
134
- scope: import("../..").JOB_SCOPE;
135
- userId: string | null;
136
- unregisteredUserId: string | null;
137
- isDeleted: boolean;
138
- subJobs: {
139
- uuid: string;
140
- prompt: string;
141
- reaction: import("../..").USER_REACTION | null;
142
- dislikeReason: string | null;
143
- externalId: string | null;
144
- title: string;
145
- status: import("../..").JOB_STATUS;
146
- error: string | null;
147
- modelId: string;
148
- groupId: string;
149
- previewUrl: string | null;
150
- params: {
151
- attachedFiles?: {
152
- uuid: string;
153
- url: string;
154
- name: string;
155
- mimeType: string;
156
- type: string;
157
- size: number;
158
- duration?: number | null | undefined;
159
- content?: string | null | undefined;
160
- contentLength?: number | null | undefined;
161
- }[] | undefined;
162
- imageUrls?: string[] | undefined;
163
- referenceFile?: {
164
- uuid: string;
165
- url: string;
166
- name: string;
167
- mimeType: string;
168
- type: string;
169
- size: number;
170
- duration?: number | null | undefined;
171
- content?: string | null | undefined;
172
- contentLength?: number | null | undefined;
173
- } | undefined;
174
- styleId?: string | null | undefined;
175
- referenceId?: string | null | undefined;
176
- referenceIds?: string[] | undefined;
177
- clothingPhotos?: {
178
- uuid: string;
179
- url: string;
180
- name: string;
181
- mimeType: string;
182
- type: string;
183
- size: number;
184
- duration?: number | null | undefined;
185
- content?: string | null | undefined;
186
- contentLength?: number | null | undefined;
187
- }[] | undefined;
188
- hairstylePhotos?: {
189
- uuid: string;
190
- url: string;
191
- name: string;
192
- mimeType: string;
193
- type: string;
194
- size: number;
195
- duration?: number | null | undefined;
196
- content?: string | null | undefined;
197
- contentLength?: number | null | undefined;
198
- }[] | undefined;
199
- accessoriesPhotos?: {
200
- uuid: string;
201
- url: string;
202
- name: string;
203
- mimeType: string;
204
- type: string;
205
- size: number;
206
- duration?: number | null | undefined;
207
- content?: string | null | undefined;
208
- contentLength?: number | null | undefined;
209
- }[] | undefined;
210
- aspectRatio?: string | undefined;
211
- userHasActiveSubscriptionOrProduct?: boolean | undefined;
212
- };
213
- imageUrls: string[] | null;
214
- attempts: {
215
- order: number;
216
- attemptId?: string | undefined;
217
- status: import("../..").JOB_STATUS;
218
- error: string | null;
219
- timestamp: Date;
220
- }[];
221
- userId?: string | null | undefined;
222
- unregisteredUserId?: string | null | undefined;
223
- isPublished: boolean;
224
- postId: string | null;
225
- isDeleted: boolean;
226
- isFavorite: boolean;
227
- createdAt: Date;
228
- completedAt?: Date | null | undefined;
229
- updatedAt: Date;
230
- }[];
231
- createdAt: Date;
232
- completedAt: Date | null;
233
- updatedAt: Date;
234
- }, unknown>>>;
235
- code: z.ZodOptional<z.ZodString>;
236
- message: z.ZodOptional<z.ZodString>;
237
- }, z.core.$strip>;
238
- type Response = z.infer<typeof ResponseSchema>;
239
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdatePhotoSessionsJobTitleCommand = 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 UpdatePhotoSessionsJobTitleCommand;
8
- (function (UpdatePhotoSessionsJobTitleCommand) {
9
- UpdatePhotoSessionsJobTitleCommand.RequestSchema = zod_1.z.object({
10
- uuid: zod_1.z.string().uuid(),
11
- userId: zod_1.z.string().uuid().nullable().optional(),
12
- unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
13
- title: zod_1.z.string().min(1).max(40),
14
- });
15
- UpdatePhotoSessionsJobTitleCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.PhotoSessionGroupSchema);
16
- })(UpdatePhotoSessionsJobTitleCommand || (exports.UpdatePhotoSessionsJobTitleCommand = UpdatePhotoSessionsJobTitleCommand = {}));