@purpleschool/multisite 0.0.28 → 0.0.30

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 (70) hide show
  1. package/build/commands/image-editor/execute-image-editor.command.d.ts +12 -0
  2. package/build/commands/image-editor/execute-image-editor.command.d.ts.map +1 -1
  3. package/build/commands/image-editor/proxy-image-editor-callback.command.js +1 -1
  4. package/build/commands/image-editor/retry-image-editor-job.command.d.ts +12 -0
  5. package/build/commands/image-editor/retry-image-editor-job.command.d.ts.map +1 -1
  6. package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +7 -0
  7. package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts.map +1 -1
  8. package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +7 -0
  9. package/build/commands/image-editor/update-image-editor-job-title.command.d.ts.map +1 -1
  10. package/build/commands/page/create-page.command.d.ts +8 -0
  11. package/build/commands/page/create-page.command.d.ts.map +1 -1
  12. package/build/commands/page/find-page-by-alias.command.d.ts +16 -0
  13. package/build/commands/page/find-page-by-alias.command.d.ts.map +1 -1
  14. package/build/commands/page/find-page-by-criteria.command.d.ts +9 -0
  15. package/build/commands/page/find-page-by-criteria.command.d.ts.map +1 -1
  16. package/build/commands/page/find-page-by-criteria.command.js +2 -0
  17. package/build/commands/page/find-page.command.d.ts +11 -0
  18. package/build/commands/page/find-page.command.d.ts.map +1 -1
  19. package/build/commands/page/update-page.command.d.ts +8 -0
  20. package/build/commands/page/update-page.command.d.ts.map +1 -1
  21. package/build/constants/image-editor/enums/image-editing-strategy.enum.d.ts +2 -1
  22. package/build/constants/image-editor/enums/image-editing-strategy.enum.d.ts.map +1 -1
  23. package/build/constants/image-editor/enums/image-editing-strategy.enum.js +1 -0
  24. package/build/helpers/image-generation/calculate-image-generation-price.helper.d.ts +4 -2
  25. package/build/helpers/image-generation/calculate-image-generation-price.helper.d.ts.map +1 -1
  26. package/build/helpers/index.d.ts +1 -0
  27. package/build/helpers/index.d.ts.map +1 -1
  28. package/build/helpers/index.js +1 -0
  29. package/build/helpers/openai-image-2/calculate-openai-image-2-price.helper.d.ts +20 -0
  30. package/build/helpers/openai-image-2/calculate-openai-image-2-price.helper.d.ts.map +1 -0
  31. package/build/helpers/openai-image-2/calculate-openai-image-2-price.helper.js +125 -0
  32. package/build/helpers/openai-image-2/index.d.ts +2 -0
  33. package/build/helpers/openai-image-2/index.d.ts.map +1 -0
  34. package/build/helpers/openai-image-2/index.js +17 -0
  35. package/build/models/image-editor/image-editor-config.schema.d.ts +25 -0
  36. package/build/models/image-editor/image-editor-config.schema.d.ts.map +1 -1
  37. package/build/models/image-editor/image-editor-job-params.schema.d.ts +3 -0
  38. package/build/models/image-editor/image-editor-job-params.schema.d.ts.map +1 -1
  39. package/build/models/image-editor/image-editor-job-params.schema.js +1 -0
  40. package/build/models/image-editor/image-editor-job-request-params.schema.d.ts +3 -0
  41. package/build/models/image-editor/image-editor-job-request-params.schema.d.ts.map +1 -1
  42. package/build/models/image-editor/image-editor-job-request-params.schema.js +1 -0
  43. package/build/models/image-editor/image-editor-job.schema.d.ts +5 -0
  44. package/build/models/image-editor/image-editor-job.schema.d.ts.map +1 -1
  45. package/build/models/image-editor/image-editor-model-params.schema.d.ts +13 -0
  46. package/build/models/image-editor/image-editor-model-params.schema.d.ts.map +1 -1
  47. package/build/models/image-editor/image-editor-model-params.schema.js +5 -0
  48. package/build/models/image-editor/image-editor-model.schema.d.ts +19 -0
  49. package/build/models/image-editor/image-editor-model.schema.d.ts.map +1 -1
  50. package/build/models/page.schema.d.ts +7 -0
  51. package/build/models/page.schema.d.ts.map +1 -1
  52. package/build/models/page.schema.js +2 -0
  53. package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +7 -0
  54. package/build/queries/image-editor/find-image-editor-jobs.command.d.ts.map +1 -1
  55. package/build/queries/image-editor/get-image-editor-config.command.d.ts +31 -0
  56. package/build/queries/image-editor/get-image-editor-config.command.d.ts.map +1 -1
  57. package/build/queries/image-editor/get-image-editor-job.command.d.ts +7 -0
  58. package/build/queries/image-editor/get-image-editor-job.command.d.ts.map +1 -1
  59. package/commands/image-editor/proxy-image-editor-callback.command.ts +1 -1
  60. package/commands/page/find-page-by-criteria.command.ts +2 -0
  61. package/constants/image-editor/enums/image-editing-strategy.enum.ts +1 -0
  62. package/helpers/image-generation/calculate-image-generation-price.helper.ts +4 -2
  63. package/helpers/index.ts +1 -0
  64. package/helpers/openai-image-2/calculate-openai-image-2-price.helper.ts +160 -0
  65. package/helpers/openai-image-2/index.ts +1 -0
  66. package/models/image-editor/image-editor-job-params.schema.ts +1 -0
  67. package/models/image-editor/image-editor-job-request-params.schema.ts +1 -0
  68. package/models/image-editor/image-editor-model-params.schema.ts +5 -0
  69. package/models/page.schema.ts +2 -0
  70. package/package.json +1 -1
@@ -7,14 +7,17 @@ export declare namespace ExecuteImageEditorCommand {
7
7
  imageUrls: z.ZodArray<z.ZodString, "many">;
8
8
  systemPromptId: z.ZodOptional<z.ZodString>;
9
9
  aspectRatio: z.ZodOptional<z.ZodString>;
10
+ resolution: z.ZodOptional<z.ZodString>;
10
11
  }, "strip", z.ZodTypeAny, {
11
12
  imageUrls: string[];
12
13
  systemPromptId?: string | undefined;
13
14
  aspectRatio?: string | undefined;
15
+ resolution?: string | undefined;
14
16
  }, {
15
17
  imageUrls: string[];
16
18
  systemPromptId?: string | undefined;
17
19
  aspectRatio?: string | undefined;
20
+ resolution?: string | undefined;
18
21
  }>;
19
22
  }, "strip", z.ZodTypeAny, {
20
23
  modelId: string;
@@ -23,6 +26,7 @@ export declare namespace ExecuteImageEditorCommand {
23
26
  imageUrls: string[];
24
27
  systemPromptId?: string | undefined;
25
28
  aspectRatio?: string | undefined;
29
+ resolution?: string | undefined;
26
30
  };
27
31
  }, {
28
32
  modelId: string;
@@ -31,6 +35,7 @@ export declare namespace ExecuteImageEditorCommand {
31
35
  imageUrls: string[];
32
36
  systemPromptId?: string | undefined;
33
37
  aspectRatio?: string | undefined;
38
+ resolution?: string | undefined;
34
39
  };
35
40
  }>;
36
41
  type Request = z.infer<typeof RequestSchema>;
@@ -76,6 +81,7 @@ export declare namespace ExecuteImageEditorCommand {
76
81
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
77
82
  systemPromptId: z.ZodOptional<z.ZodString>;
78
83
  aspectRatio: z.ZodOptional<z.ZodString>;
84
+ resolution: z.ZodOptional<z.ZodString>;
79
85
  userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
80
86
  }, "strip", z.ZodTypeAny, {
81
87
  attachedFiles?: {
@@ -90,6 +96,7 @@ export declare namespace ExecuteImageEditorCommand {
90
96
  imageUrls?: string[] | undefined;
91
97
  systemPromptId?: string | undefined;
92
98
  aspectRatio?: string | undefined;
99
+ resolution?: string | undefined;
93
100
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
94
101
  }, {
95
102
  attachedFiles?: {
@@ -104,6 +111,7 @@ export declare namespace ExecuteImageEditorCommand {
104
111
  imageUrls?: string[] | undefined;
105
112
  systemPromptId?: string | undefined;
106
113
  aspectRatio?: string | undefined;
114
+ resolution?: string | undefined;
107
115
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
108
116
  }>;
109
117
  imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -141,6 +149,7 @@ export declare namespace ExecuteImageEditorCommand {
141
149
  imageUrls?: string[] | undefined;
142
150
  systemPromptId?: string | undefined;
143
151
  aspectRatio?: string | undefined;
152
+ resolution?: string | undefined;
144
153
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
145
154
  };
146
155
  imageUrls: string[];
@@ -178,6 +187,7 @@ export declare namespace ExecuteImageEditorCommand {
178
187
  imageUrls?: string[] | undefined;
179
188
  systemPromptId?: string | undefined;
180
189
  aspectRatio?: string | undefined;
190
+ resolution?: string | undefined;
181
191
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
182
192
  };
183
193
  imageUrls?: string[] | undefined;
@@ -217,6 +227,7 @@ export declare namespace ExecuteImageEditorCommand {
217
227
  imageUrls?: string[] | undefined;
218
228
  systemPromptId?: string | undefined;
219
229
  aspectRatio?: string | undefined;
230
+ resolution?: string | undefined;
220
231
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
221
232
  };
222
233
  imageUrls: string[];
@@ -256,6 +267,7 @@ export declare namespace ExecuteImageEditorCommand {
256
267
  imageUrls?: string[] | undefined;
257
268
  systemPromptId?: string | undefined;
258
269
  aspectRatio?: string | undefined;
270
+ resolution?: string | undefined;
259
271
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
260
272
  };
261
273
  imageUrls?: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"execute-image-editor.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/execute-image-editor.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"execute-image-editor.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/execute-image-editor.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -6,7 +6,7 @@ var ProxyImageEditorCallbackCommand;
6
6
  (function (ProxyImageEditorCallbackCommand) {
7
7
  ProxyImageEditorCallbackCommand.RequestSchema = zod_1.z.object({
8
8
  jobId: zod_1.z.string().min(1),
9
- imageUrl: zod_1.z.string().url().optional(),
9
+ imageUrl: zod_1.z.string().min(1).optional(),
10
10
  error: zod_1.z.string().optional(),
11
11
  });
12
12
  ProxyImageEditorCallbackCommand.ResponseSchema = zod_1.z.object({
@@ -7,14 +7,17 @@ export declare namespace RetryImageEditorJobCommand {
7
7
  imageUrls: z.ZodArray<z.ZodString, "many">;
8
8
  systemPromptId: z.ZodOptional<z.ZodString>;
9
9
  aspectRatio: z.ZodOptional<z.ZodString>;
10
+ resolution: z.ZodOptional<z.ZodString>;
10
11
  }, "strip", z.ZodTypeAny, {
11
12
  imageUrls: string[];
12
13
  systemPromptId?: string | undefined;
13
14
  aspectRatio?: string | undefined;
15
+ resolution?: string | undefined;
14
16
  }, {
15
17
  imageUrls: string[];
16
18
  systemPromptId?: string | undefined;
17
19
  aspectRatio?: string | undefined;
20
+ resolution?: string | undefined;
18
21
  }>>;
19
22
  }, "strip", z.ZodTypeAny, {
20
23
  prompt?: string | undefined;
@@ -23,6 +26,7 @@ export declare namespace RetryImageEditorJobCommand {
23
26
  imageUrls: string[];
24
27
  systemPromptId?: string | undefined;
25
28
  aspectRatio?: string | undefined;
29
+ resolution?: string | undefined;
26
30
  } | undefined;
27
31
  }, {
28
32
  prompt?: string | undefined;
@@ -31,6 +35,7 @@ export declare namespace RetryImageEditorJobCommand {
31
35
  imageUrls: string[];
32
36
  systemPromptId?: string | undefined;
33
37
  aspectRatio?: string | undefined;
38
+ resolution?: string | undefined;
34
39
  } | undefined;
35
40
  }>;
36
41
  type Request = z.infer<typeof RequestSchema>;
@@ -76,6 +81,7 @@ export declare namespace RetryImageEditorJobCommand {
76
81
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
77
82
  systemPromptId: z.ZodOptional<z.ZodString>;
78
83
  aspectRatio: z.ZodOptional<z.ZodString>;
84
+ resolution: z.ZodOptional<z.ZodString>;
79
85
  userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
80
86
  }, "strip", z.ZodTypeAny, {
81
87
  attachedFiles?: {
@@ -90,6 +96,7 @@ export declare namespace RetryImageEditorJobCommand {
90
96
  imageUrls?: string[] | undefined;
91
97
  systemPromptId?: string | undefined;
92
98
  aspectRatio?: string | undefined;
99
+ resolution?: string | undefined;
93
100
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
94
101
  }, {
95
102
  attachedFiles?: {
@@ -104,6 +111,7 @@ export declare namespace RetryImageEditorJobCommand {
104
111
  imageUrls?: string[] | undefined;
105
112
  systemPromptId?: string | undefined;
106
113
  aspectRatio?: string | undefined;
114
+ resolution?: string | undefined;
107
115
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
108
116
  }>;
109
117
  imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -141,6 +149,7 @@ export declare namespace RetryImageEditorJobCommand {
141
149
  imageUrls?: string[] | undefined;
142
150
  systemPromptId?: string | undefined;
143
151
  aspectRatio?: string | undefined;
152
+ resolution?: string | undefined;
144
153
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
145
154
  };
146
155
  imageUrls: string[];
@@ -178,6 +187,7 @@ export declare namespace RetryImageEditorJobCommand {
178
187
  imageUrls?: string[] | undefined;
179
188
  systemPromptId?: string | undefined;
180
189
  aspectRatio?: string | undefined;
190
+ resolution?: string | undefined;
181
191
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
182
192
  };
183
193
  imageUrls?: string[] | undefined;
@@ -217,6 +227,7 @@ export declare namespace RetryImageEditorJobCommand {
217
227
  imageUrls?: string[] | undefined;
218
228
  systemPromptId?: string | undefined;
219
229
  aspectRatio?: string | undefined;
230
+ resolution?: string | undefined;
220
231
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
221
232
  };
222
233
  imageUrls: string[];
@@ -256,6 +267,7 @@ export declare namespace RetryImageEditorJobCommand {
256
267
  imageUrls?: string[] | undefined;
257
268
  systemPromptId?: string | undefined;
258
269
  aspectRatio?: string | undefined;
270
+ resolution?: string | undefined;
259
271
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
260
272
  };
261
273
  imageUrls?: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"retry-image-editor-job.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/retry-image-editor-job.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"retry-image-editor-job.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/retry-image-editor-job.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -54,6 +54,7 @@ export declare namespace SetReactionToImageEditorJobCommand {
54
54
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
55
55
  systemPromptId: z.ZodOptional<z.ZodString>;
56
56
  aspectRatio: z.ZodOptional<z.ZodString>;
57
+ resolution: z.ZodOptional<z.ZodString>;
57
58
  userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
58
59
  }, "strip", z.ZodTypeAny, {
59
60
  attachedFiles?: {
@@ -68,6 +69,7 @@ export declare namespace SetReactionToImageEditorJobCommand {
68
69
  imageUrls?: string[] | undefined;
69
70
  systemPromptId?: string | undefined;
70
71
  aspectRatio?: string | undefined;
72
+ resolution?: string | undefined;
71
73
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
72
74
  }, {
73
75
  attachedFiles?: {
@@ -82,6 +84,7 @@ export declare namespace SetReactionToImageEditorJobCommand {
82
84
  imageUrls?: string[] | undefined;
83
85
  systemPromptId?: string | undefined;
84
86
  aspectRatio?: string | undefined;
87
+ resolution?: string | undefined;
85
88
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
86
89
  }>;
87
90
  imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -119,6 +122,7 @@ export declare namespace SetReactionToImageEditorJobCommand {
119
122
  imageUrls?: string[] | undefined;
120
123
  systemPromptId?: string | undefined;
121
124
  aspectRatio?: string | undefined;
125
+ resolution?: string | undefined;
122
126
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
123
127
  };
124
128
  imageUrls: string[];
@@ -156,6 +160,7 @@ export declare namespace SetReactionToImageEditorJobCommand {
156
160
  imageUrls?: string[] | undefined;
157
161
  systemPromptId?: string | undefined;
158
162
  aspectRatio?: string | undefined;
163
+ resolution?: string | undefined;
159
164
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
160
165
  };
161
166
  imageUrls?: string[] | undefined;
@@ -195,6 +200,7 @@ export declare namespace SetReactionToImageEditorJobCommand {
195
200
  imageUrls?: string[] | undefined;
196
201
  systemPromptId?: string | undefined;
197
202
  aspectRatio?: string | undefined;
203
+ resolution?: string | undefined;
198
204
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
199
205
  };
200
206
  imageUrls: string[];
@@ -234,6 +240,7 @@ export declare namespace SetReactionToImageEditorJobCommand {
234
240
  imageUrls?: string[] | undefined;
235
241
  systemPromptId?: string | undefined;
236
242
  aspectRatio?: string | undefined;
243
+ resolution?: string | undefined;
237
244
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
238
245
  };
239
246
  imageUrls?: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"set-reaction-to-image-editor-job.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/set-reaction-to-image-editor-job.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,yBAAiB,kCAAkC,CAAC;IACzC,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"set-reaction-to-image-editor-job.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/set-reaction-to-image-editor-job.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,yBAAiB,kCAAkC,CAAC;IACzC,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -50,6 +50,7 @@ export declare namespace UpdateImageEditorJobTitleCommand {
50
50
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
51
51
  systemPromptId: z.ZodOptional<z.ZodString>;
52
52
  aspectRatio: z.ZodOptional<z.ZodString>;
53
+ resolution: z.ZodOptional<z.ZodString>;
53
54
  userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
54
55
  }, "strip", z.ZodTypeAny, {
55
56
  attachedFiles?: {
@@ -64,6 +65,7 @@ export declare namespace UpdateImageEditorJobTitleCommand {
64
65
  imageUrls?: string[] | undefined;
65
66
  systemPromptId?: string | undefined;
66
67
  aspectRatio?: string | undefined;
68
+ resolution?: string | undefined;
67
69
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
68
70
  }, {
69
71
  attachedFiles?: {
@@ -78,6 +80,7 @@ export declare namespace UpdateImageEditorJobTitleCommand {
78
80
  imageUrls?: string[] | undefined;
79
81
  systemPromptId?: string | undefined;
80
82
  aspectRatio?: string | undefined;
83
+ resolution?: string | undefined;
81
84
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
82
85
  }>;
83
86
  imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -115,6 +118,7 @@ export declare namespace UpdateImageEditorJobTitleCommand {
115
118
  imageUrls?: string[] | undefined;
116
119
  systemPromptId?: string | undefined;
117
120
  aspectRatio?: string | undefined;
121
+ resolution?: string | undefined;
118
122
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
119
123
  };
120
124
  imageUrls: string[];
@@ -152,6 +156,7 @@ export declare namespace UpdateImageEditorJobTitleCommand {
152
156
  imageUrls?: string[] | undefined;
153
157
  systemPromptId?: string | undefined;
154
158
  aspectRatio?: string | undefined;
159
+ resolution?: string | undefined;
155
160
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
156
161
  };
157
162
  imageUrls?: string[] | undefined;
@@ -191,6 +196,7 @@ export declare namespace UpdateImageEditorJobTitleCommand {
191
196
  imageUrls?: string[] | undefined;
192
197
  systemPromptId?: string | undefined;
193
198
  aspectRatio?: string | undefined;
199
+ resolution?: string | undefined;
194
200
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
195
201
  };
196
202
  imageUrls: string[];
@@ -230,6 +236,7 @@ export declare namespace UpdateImageEditorJobTitleCommand {
230
236
  imageUrls?: string[] | undefined;
231
237
  systemPromptId?: string | undefined;
232
238
  aspectRatio?: string | undefined;
239
+ resolution?: string | undefined;
233
240
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
234
241
  };
235
242
  imageUrls?: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"update-image-editor-job-title.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/update-image-editor-job-title.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,gCAAgC,CAAC;IACvC,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"update-image-editor-job-title.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/update-image-editor-job-title.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,gCAAgC,CAAC;IACvC,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -8,6 +8,7 @@ export declare namespace CreatePageCommand {
8
8
  subTitle: z.ZodString;
9
9
  seoTextMd: z.ZodString;
10
10
  alias: z.ZodString;
11
+ toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
11
12
  createdAt: z.ZodDate;
12
13
  updatedAt: z.ZodDate;
13
14
  }, "createdAt" | "updatedAt" | "uuid">, "strip", z.ZodTypeAny, {
@@ -17,6 +18,7 @@ export declare namespace CreatePageCommand {
17
18
  subTitle: string;
18
19
  seoTextMd: string;
19
20
  alias: string;
21
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
20
22
  }, {
21
23
  metaTitle: string;
22
24
  metaDescription: string;
@@ -24,6 +26,7 @@ export declare namespace CreatePageCommand {
24
26
  subTitle: string;
25
27
  seoTextMd: string;
26
28
  alias: string;
29
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
27
30
  }>;
28
31
  type Request = z.infer<typeof RequestSchema>;
29
32
  const ResponseSchema: z.ZodObject<{
@@ -35,6 +38,7 @@ export declare namespace CreatePageCommand {
35
38
  subTitle: z.ZodString;
36
39
  seoTextMd: z.ZodString;
37
40
  alias: z.ZodString;
41
+ toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
38
42
  createdAt: z.ZodDate;
39
43
  updatedAt: z.ZodDate;
40
44
  }, "strip", z.ZodTypeAny, {
@@ -45,6 +49,7 @@ export declare namespace CreatePageCommand {
45
49
  subTitle: string;
46
50
  seoTextMd: string;
47
51
  alias: string;
52
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
48
53
  createdAt: Date;
49
54
  updatedAt: Date;
50
55
  }, {
@@ -55,6 +60,7 @@ export declare namespace CreatePageCommand {
55
60
  subTitle: string;
56
61
  seoTextMd: string;
57
62
  alias: string;
63
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
58
64
  createdAt: Date;
59
65
  updatedAt: Date;
60
66
  }>;
@@ -67,6 +73,7 @@ export declare namespace CreatePageCommand {
67
73
  subTitle: string;
68
74
  seoTextMd: string;
69
75
  alias: string;
76
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
70
77
  createdAt: Date;
71
78
  updatedAt: Date;
72
79
  };
@@ -79,6 +86,7 @@ export declare namespace CreatePageCommand {
79
86
  subTitle: string;
80
87
  seoTextMd: string;
81
88
  alias: string;
89
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
82
90
  createdAt: Date;
83
91
  updatedAt: Date;
84
92
  };
@@ -1 +1 @@
1
- {"version":3,"file":"create-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/create-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"create-page.command.d.ts","sourceRoot":"","sources":["../../../commands/page/create-page.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -8,6 +8,7 @@ export declare namespace FindPageByAliasCommand {
8
8
  subTitle: z.ZodString;
9
9
  seoTextMd: z.ZodString;
10
10
  alias: z.ZodString;
11
+ toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
11
12
  createdAt: z.ZodDate;
12
13
  updatedAt: z.ZodDate;
13
14
  }, "alias">, "strip", z.ZodTypeAny, {
@@ -25,6 +26,7 @@ export declare namespace FindPageByAliasCommand {
25
26
  subTitle: z.ZodString;
26
27
  seoTextMd: z.ZodString;
27
28
  alias: z.ZodString;
29
+ toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
28
30
  createdAt: z.ZodDate;
29
31
  updatedAt: z.ZodDate;
30
32
  } & {
@@ -58,6 +60,7 @@ export declare namespace FindPageByAliasCommand {
58
60
  subTitle: string;
59
61
  seoTextMd: string;
60
62
  alias: string;
63
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
61
64
  createdAt: Date;
62
65
  updatedAt: Date;
63
66
  questions: {
@@ -76,6 +79,7 @@ export declare namespace FindPageByAliasCommand {
76
79
  subTitle: string;
77
80
  seoTextMd: string;
78
81
  alias: string;
82
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
79
83
  createdAt: Date;
80
84
  updatedAt: Date;
81
85
  questions: {
@@ -96,6 +100,7 @@ export declare namespace FindPageByAliasCommand {
96
100
  subTitle: string;
97
101
  seoTextMd: string;
98
102
  alias: string;
103
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
99
104
  createdAt: Date;
100
105
  updatedAt: Date;
101
106
  questions: {
@@ -116,6 +121,7 @@ export declare namespace FindPageByAliasCommand {
116
121
  subTitle: string;
117
122
  seoTextMd: string;
118
123
  alias: string;
124
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
119
125
  createdAt: Date;
120
126
  updatedAt: Date;
121
127
  questions: {
@@ -138,6 +144,7 @@ export declare namespace FindPageByAliasCommand {
138
144
  subTitle: z.ZodString;
139
145
  seoTextMd: z.ZodString;
140
146
  alias: z.ZodString;
147
+ toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
141
148
  createdAt: z.ZodDate;
142
149
  updatedAt: z.ZodDate;
143
150
  } & {
@@ -171,6 +178,7 @@ export declare namespace FindPageByAliasCommand {
171
178
  subTitle: string;
172
179
  seoTextMd: string;
173
180
  alias: string;
181
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
174
182
  createdAt: Date;
175
183
  updatedAt: Date;
176
184
  questions: {
@@ -189,6 +197,7 @@ export declare namespace FindPageByAliasCommand {
189
197
  subTitle: string;
190
198
  seoTextMd: string;
191
199
  alias: string;
200
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
192
201
  createdAt: Date;
193
202
  updatedAt: Date;
194
203
  questions: {
@@ -209,6 +218,7 @@ export declare namespace FindPageByAliasCommand {
209
218
  subTitle: string;
210
219
  seoTextMd: string;
211
220
  alias: string;
221
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
212
222
  createdAt: Date;
213
223
  updatedAt: Date;
214
224
  questions: {
@@ -229,6 +239,7 @@ export declare namespace FindPageByAliasCommand {
229
239
  subTitle: string;
230
240
  seoTextMd: string;
231
241
  alias: string;
242
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
232
243
  createdAt: Date;
233
244
  updatedAt: Date;
234
245
  questions: {
@@ -250,6 +261,7 @@ export declare namespace FindPageByAliasCommand {
250
261
  subTitle: z.ZodString;
251
262
  seoTextMd: z.ZodString;
252
263
  alias: z.ZodString;
264
+ toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../..").TOOL_TYPE>>>;
253
265
  createdAt: z.ZodDate;
254
266
  updatedAt: z.ZodDate;
255
267
  } & {
@@ -283,6 +295,7 @@ export declare namespace FindPageByAliasCommand {
283
295
  subTitle: string;
284
296
  seoTextMd: string;
285
297
  alias: string;
298
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
286
299
  createdAt: Date;
287
300
  updatedAt: Date;
288
301
  questions: {
@@ -301,6 +314,7 @@ export declare namespace FindPageByAliasCommand {
301
314
  subTitle: string;
302
315
  seoTextMd: string;
303
316
  alias: string;
317
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
304
318
  createdAt: Date;
305
319
  updatedAt: Date;
306
320
  questions: {
@@ -321,6 +335,7 @@ export declare namespace FindPageByAliasCommand {
321
335
  subTitle: string;
322
336
  seoTextMd: string;
323
337
  alias: string;
338
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
324
339
  createdAt: Date;
325
340
  updatedAt: Date;
326
341
  questions: {
@@ -341,6 +356,7 @@ export declare namespace FindPageByAliasCommand {
341
356
  subTitle: string;
342
357
  seoTextMd: string;
343
358
  alias: string;
359
+ toolType?: import("../..").TOOL_TYPE | null | undefined;
344
360
  createdAt: Date;
345
361
  updatedAt: Date;
346
362
  questions: {
@@ -1 +1 @@
1
- {"version":3,"file":"find-page-by-alias.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page-by-alias.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,aAAa;;;;;;;;;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;IAE/C,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEhC,CAAC;IAEI,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAE9B,CAAC;IAEH,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAEhE,KAAY,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;CACtE"}
1
+ {"version":3,"file":"find-page-by-alias.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page-by-alias.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,aAAa;;;;;;;;;;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;IAE/C,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEhC,CAAC;IAEI,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAE9B,CAAC;IAEH,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAEhE,KAAY,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;CACtE"}
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { TOOL_TYPE } from '../../constants';
2
3
  export declare namespace FindPageByCriteriaCommand {
3
4
  const RequestQuerySchema: z.ZodObject<{
4
5
  title: z.ZodOptional<z.ZodString>;
@@ -6,18 +7,21 @@ export declare namespace FindPageByCriteriaCommand {
6
7
  uuid: z.ZodOptional<z.ZodString>;
7
8
  limit: z.ZodOptional<z.ZodNumber>;
8
9
  offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
10
+ toolType: z.ZodOptional<z.ZodNativeEnum<typeof TOOL_TYPE>>;
9
11
  }, "strip", z.ZodTypeAny, {
10
12
  title?: string | undefined;
11
13
  alias?: string | undefined;
12
14
  uuid?: string | undefined;
13
15
  limit?: number | undefined;
14
16
  offset?: number | undefined;
17
+ toolType?: TOOL_TYPE | undefined;
15
18
  }, {
16
19
  title?: string | undefined;
17
20
  alias?: string | undefined;
18
21
  uuid?: string | undefined;
19
22
  limit?: number | undefined;
20
23
  offset?: number | undefined;
24
+ toolType?: TOOL_TYPE | undefined;
21
25
  }>;
22
26
  type RequestQuery = z.infer<typeof RequestQuerySchema>;
23
27
  const ResponseSchema: z.ZodObject<{
@@ -29,6 +33,7 @@ export declare namespace FindPageByCriteriaCommand {
29
33
  subTitle: z.ZodString;
30
34
  seoTextMd: z.ZodString;
31
35
  alias: z.ZodString;
36
+ toolType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof TOOL_TYPE>>>;
32
37
  createdAt: z.ZodDate;
33
38
  updatedAt: z.ZodDate;
34
39
  } & {
@@ -62,6 +67,7 @@ export declare namespace FindPageByCriteriaCommand {
62
67
  subTitle: string;
63
68
  seoTextMd: string;
64
69
  alias: string;
70
+ toolType?: TOOL_TYPE | null | undefined;
65
71
  createdAt: Date;
66
72
  updatedAt: Date;
67
73
  questions: {
@@ -80,6 +86,7 @@ export declare namespace FindPageByCriteriaCommand {
80
86
  subTitle: string;
81
87
  seoTextMd: string;
82
88
  alias: string;
89
+ toolType?: TOOL_TYPE | null | undefined;
83
90
  createdAt: Date;
84
91
  updatedAt: Date;
85
92
  questions: {
@@ -102,6 +109,7 @@ export declare namespace FindPageByCriteriaCommand {
102
109
  subTitle: string;
103
110
  seoTextMd: string;
104
111
  alias: string;
112
+ toolType?: TOOL_TYPE | null | undefined;
105
113
  createdAt: Date;
106
114
  updatedAt: Date;
107
115
  questions: {
@@ -124,6 +132,7 @@ export declare namespace FindPageByCriteriaCommand {
124
132
  subTitle: string;
125
133
  seoTextMd: string;
126
134
  alias: string;
135
+ toolType?: TOOL_TYPE | null | undefined;
127
136
  createdAt: Date;
128
137
  updatedAt: Date;
129
138
  questions: {
@@ -1 +1 @@
1
- {"version":3,"file":"find-page-by-criteria.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page-by-criteria.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;MAM7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"find-page-by-criteria.command.d.ts","sourceRoot":"","sources":["../../../commands/page/find-page-by-criteria.command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;MAO7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FindPageByCriteriaCommand = void 0;
4
4
  const models_1 = require("../../models");
5
5
  const zod_1 = require("zod");
6
+ const constants_1 = require("../../constants");
6
7
  var FindPageByCriteriaCommand;
7
8
  (function (FindPageByCriteriaCommand) {
8
9
  FindPageByCriteriaCommand.RequestQuerySchema = zod_1.z.object({
@@ -11,6 +12,7 @@ var FindPageByCriteriaCommand;
11
12
  uuid: zod_1.z.string().uuid().optional(),
12
13
  limit: zod_1.z.coerce.number().min(1).optional(),
13
14
  offset: zod_1.z.coerce.number().min(0).default(0).optional(),
15
+ toolType: zod_1.z.nativeEnum(constants_1.TOOL_TYPE).optional(),
14
16
  });
15
17
  FindPageByCriteriaCommand.ResponseSchema = zod_1.z.object({
16
18
  data: zod_1.z.array(models_1.PageWithQuestionsSchema),