@purpleschool/multisite 0.0.20 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/controller/http/index.ts +2 -0
- package/api/controller/http/payment.ts +1 -0
- package/api/controller/http/product.ts +2 -0
- package/api/controller/http/subscription.ts +0 -1
- package/api/controller/http/user-to-product.ts +7 -0
- package/api/controller/http/user-to-subscription.ts +8 -0
- package/api/routes.ts +23 -2
- package/build/api/controller/http/index.d.ts +2 -0
- package/build/api/controller/http/index.d.ts.map +1 -1
- package/build/api/controller/http/index.js +2 -0
- package/build/api/controller/http/payment.d.ts +1 -0
- package/build/api/controller/http/payment.d.ts.map +1 -1
- package/build/api/controller/http/payment.js +1 -0
- package/build/api/controller/http/product.d.ts +2 -0
- package/build/api/controller/http/product.d.ts.map +1 -1
- package/build/api/controller/http/product.js +2 -0
- package/build/api/controller/http/subscription.d.ts +0 -1
- package/build/api/controller/http/subscription.d.ts.map +1 -1
- package/build/api/controller/http/subscription.js +0 -1
- package/build/api/controller/http/user-to-product.d.ts +7 -0
- package/build/api/controller/http/user-to-product.d.ts.map +1 -0
- package/build/api/controller/http/user-to-product.js +9 -0
- package/build/api/controller/http/user-to-subscription.d.ts +8 -0
- package/build/api/controller/http/user-to-subscription.d.ts.map +1 -0
- package/build/api/controller/http/user-to-subscription.js +10 -0
- package/build/api/routes.d.ts +14 -1
- package/build/api/routes.d.ts.map +1 -1
- package/build/api/routes.js +14 -1
- package/build/commands/image-editor/execute-image-editor.command.d.ts +4 -4
- package/build/commands/image-editor/retry-image-editor-job.command.d.ts +4 -4
- package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +4 -4
- package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +4 -4
- package/build/commands/image-generation/execute-image-generation.command.d.ts +4 -4
- package/build/commands/image-generation/retry-image-generation-job.command.d.ts +4 -4
- package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +4 -4
- package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +4 -4
- package/build/commands/index.d.ts +2 -0
- package/build/commands/index.d.ts.map +1 -1
- package/build/commands/index.js +2 -0
- package/build/commands/page/create-page.command.d.ts +4 -4
- package/build/commands/page/find-page-by-alias.command.d.ts +12 -12
- package/build/commands/page/find-page-by-criteria.command.d.ts +4 -4
- package/build/commands/page/find-page.command.d.ts +8 -8
- package/build/commands/page/update-page.command.d.ts +4 -4
- package/build/commands/payment/cloud-payments.command.d.ts +2 -2
- package/build/commands/payment/index.d.ts +1 -0
- package/build/commands/payment/index.d.ts.map +1 -1
- package/build/commands/payment/index.js +1 -0
- package/build/commands/payment/refund-payment.command.d.ts +20 -0
- package/build/commands/payment/refund-payment.command.d.ts.map +1 -0
- package/build/commands/payment/refund-payment.command.js +13 -0
- package/build/commands/{subscription/refund-subscription.command.d.ts → product/delete-product.command.d.ts} +2 -2
- package/build/commands/product/delete-product.command.d.ts.map +1 -0
- package/build/commands/product/delete-product.command.js +13 -0
- package/build/commands/product/index.d.ts +2 -0
- package/build/commands/product/index.d.ts.map +1 -1
- package/build/commands/product/index.js +2 -0
- package/build/commands/product/update-product.command.d.ts +116 -0
- package/build/commands/product/update-product.command.d.ts.map +1 -0
- package/build/commands/product/update-product.command.js +26 -0
- package/build/commands/stt/execute-stt.command.d.ts +12 -12
- package/build/commands/stt/retry-stt-job.command.d.ts +12 -12
- package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +12 -12
- package/build/commands/stt/update-stt-job-title.command.d.ts +12 -12
- package/build/commands/subscription/index.d.ts +0 -1
- package/build/commands/subscription/index.d.ts.map +1 -1
- package/build/commands/subscription/index.js +0 -1
- package/build/commands/tts/execute-tts.command.d.ts +12 -12
- package/build/commands/tts/retry-tts-job.command.d.ts +12 -12
- package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +12 -12
- package/build/commands/tts/update-tts-job-title.command.d.ts +12 -12
- package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +4 -4
- package/build/commands/user-to-product/delete-user-to-product.command.d.ts +20 -0
- package/build/commands/user-to-product/delete-user-to-product.command.d.ts.map +1 -0
- package/build/commands/user-to-product/delete-user-to-product.command.js +13 -0
- package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts +75 -0
- package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts.map +1 -0
- package/build/commands/user-to-product/get-user-to-product-by-uuid.command.js +14 -0
- package/build/commands/user-to-product/index.d.ts +4 -0
- package/build/commands/user-to-product/index.d.ts.map +1 -0
- package/build/commands/user-to-product/index.js +19 -0
- package/build/commands/user-to-product/update-user-to-product.command.d.ts +93 -0
- package/build/commands/user-to-product/update-user-to-product.command.d.ts.map +1 -0
- package/build/commands/user-to-product/update-user-to-product.command.js +21 -0
- package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts +14 -0
- package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts.map +1 -0
- package/build/commands/user-to-subscription/admin-cancel-subscription.command.js +11 -0
- package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts +20 -0
- package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts.map +1 -0
- package/build/commands/user-to-subscription/delete-user-to-subscription.command.js +13 -0
- package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +115 -0
- package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts.map +1 -0
- package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.js +14 -0
- package/build/commands/user-to-subscription/index.d.ts +5 -0
- package/build/commands/user-to-subscription/index.d.ts.map +1 -0
- package/build/commands/user-to-subscription/index.js +20 -0
- package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +157 -0
- package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts.map +1 -0
- package/build/commands/user-to-subscription/update-user-to-subscription.command.js +29 -0
- package/build/constants/errors/errors.d.ts +65 -0
- package/build/constants/errors/errors.d.ts.map +1 -1
- package/build/constants/errors/errors.js +67 -0
- package/build/constants/payment/enums/payment-status.enum.d.ts +2 -1
- package/build/constants/payment/enums/payment-status.enum.d.ts.map +1 -1
- package/build/constants/payment/enums/payment-status.enum.js +1 -0
- package/build/models/image-editor/image-editor-config.schema.d.ts +10 -10
- package/build/models/image-editor/image-editor-job.schema.d.ts +2 -2
- package/build/models/image-editor/image-editor-model.schema.d.ts +2 -2
- package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +4 -4
- package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-config.schema.d.ts +6 -6
- package/build/models/image-generation/image-generation-job.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-model.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-vendor.schema.d.ts +4 -4
- package/build/models/index.d.ts +2 -0
- package/build/models/index.d.ts.map +1 -1
- package/build/models/index.js +2 -0
- package/build/models/page.schema.d.ts +4 -4
- package/build/models/stt/stt-config.schema.d.ts +8 -8
- package/build/models/stt/stt-job.schema.d.ts +6 -6
- package/build/models/stt/stt-model.schema.d.ts +4 -4
- package/build/models/tts/tts-config.schema.d.ts +8 -8
- package/build/models/tts/tts-job.schema.d.ts +6 -6
- package/build/models/tts/tts-model.schema.d.ts +4 -4
- package/build/models/user-to-product.schema.d.ts +37 -0
- package/build/models/user-to-product.schema.d.ts.map +1 -0
- package/build/models/user-to-product.schema.js +17 -0
- package/build/models/user-to-subscription.schema.d.ts +61 -0
- package/build/models/user-to-subscription.schema.d.ts.map +1 -0
- package/build/models/user-to-subscription.schema.js +25 -0
- package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +4 -4
- package/build/queries/image-editor/get-image-editor-config.command.d.ts +14 -14
- package/build/queries/image-editor/get-image-editor-job.command.d.ts +4 -4
- package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +4 -4
- package/build/queries/image-generation/get-image-generation-config.command.d.ts +8 -8
- package/build/queries/image-generation/get-image-generation-job.command.d.ts +4 -4
- package/build/queries/payment/get-payment-history.command.d.ts +6 -6
- package/build/queries/stt/find-stt-jobs.command.d.ts +12 -12
- package/build/queries/stt/get-stt-config.command.d.ts +12 -12
- package/build/queries/stt/get-stt-job.command.d.ts +12 -12
- package/build/queries/subscription/get-subscriptions-summary.command.d.ts +16 -16
- package/build/queries/tts/find-tts-jobs.command.d.ts +12 -12
- package/build/queries/tts/get-tts-config.command.d.ts +12 -12
- package/build/queries/tts/get-tts-job.command.d.ts +12 -12
- package/build/queries/user/get-my-products.command.d.ts +8 -8
- package/build/queries/user/get-my-subscriptions.command.d.ts +12 -12
- package/build/queries/user/get-user-payments.command.d.ts +18 -18
- package/commands/index.ts +2 -0
- package/commands/payment/index.ts +1 -0
- package/commands/payment/refund-payment.command.ts +13 -0
- package/commands/{subscription/refund-subscription.command.ts → product/delete-product.command.ts} +1 -1
- package/commands/product/index.ts +2 -0
- package/commands/product/update-product.command.ts +30 -0
- package/commands/subscription/index.ts +0 -1
- package/commands/user-to-product/delete-user-to-product.command.ts +13 -0
- package/commands/user-to-product/get-user-to-product-by-uuid.command.ts +14 -0
- package/commands/user-to-product/index.ts +3 -0
- package/commands/user-to-product/update-user-to-product.command.ts +23 -0
- package/commands/user-to-subscription/admin-cancel-subscription.command.ts +11 -0
- package/commands/user-to-subscription/delete-user-to-subscription.command.ts +13 -0
- package/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.ts +14 -0
- package/commands/user-to-subscription/index.ts +4 -0
- package/commands/user-to-subscription/update-user-to-subscription.command.ts +31 -0
- package/constants/errors/errors.ts +69 -0
- package/constants/payment/enums/payment-status.enum.ts +1 -0
- package/models/index.ts +2 -0
- package/models/user-to-product.schema.ts +15 -0
- package/models/user-to-subscription.schema.ts +23 -0
- package/package.json +1 -1
- package/build/commands/subscription/refund-subscription.command.d.ts.map +0 -1
- package/build/commands/subscription/refund-subscription.command.js +0 -13
|
@@ -208,9 +208,9 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
208
208
|
translatePrompt: boolean;
|
|
209
209
|
order: number;
|
|
210
210
|
vendorId: string;
|
|
211
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
212
211
|
createdAt?: string | Date | undefined;
|
|
213
212
|
updatedAt?: string | Date | undefined;
|
|
213
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
214
214
|
}, {
|
|
215
215
|
price: number;
|
|
216
216
|
uuid: string;
|
|
@@ -253,9 +253,9 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
253
253
|
translatePrompt: boolean;
|
|
254
254
|
order: number;
|
|
255
255
|
vendorId: string;
|
|
256
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
257
256
|
createdAt?: string | Date | undefined;
|
|
258
257
|
updatedAt?: string | Date | undefined;
|
|
258
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
259
259
|
}>, "many">;
|
|
260
260
|
}, "strip", z.ZodTypeAny, {
|
|
261
261
|
uuid: string;
|
|
@@ -313,9 +313,9 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
313
313
|
translatePrompt: boolean;
|
|
314
314
|
order: number;
|
|
315
315
|
vendorId: string;
|
|
316
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
317
316
|
createdAt?: string | Date | undefined;
|
|
318
317
|
updatedAt?: string | Date | undefined;
|
|
318
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
319
319
|
}[];
|
|
320
320
|
}, {
|
|
321
321
|
uuid: string;
|
|
@@ -373,9 +373,9 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
373
373
|
translatePrompt: boolean;
|
|
374
374
|
order: number;
|
|
375
375
|
vendorId: string;
|
|
376
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
377
376
|
createdAt?: string | Date | undefined;
|
|
378
377
|
updatedAt?: string | Date | undefined;
|
|
378
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
379
379
|
}[];
|
|
380
380
|
}>, "many">;
|
|
381
381
|
presets: z.ZodArray<z.ZodObject<{
|
|
@@ -451,9 +451,9 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
451
451
|
translatePrompt: boolean;
|
|
452
452
|
order: number;
|
|
453
453
|
vendorId: string;
|
|
454
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
455
454
|
createdAt?: string | Date | undefined;
|
|
456
455
|
updatedAt?: string | Date | undefined;
|
|
456
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
457
457
|
}[];
|
|
458
458
|
}[];
|
|
459
459
|
presets: {
|
|
@@ -519,9 +519,9 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
519
519
|
translatePrompt: boolean;
|
|
520
520
|
order: number;
|
|
521
521
|
vendorId: string;
|
|
522
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
523
522
|
createdAt?: string | Date | undefined;
|
|
524
523
|
updatedAt?: string | Date | undefined;
|
|
524
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
525
525
|
}[];
|
|
526
526
|
}[];
|
|
527
527
|
presets: {
|
|
@@ -128,11 +128,11 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
128
128
|
origin: JOB_REQUEST_ORIGIN;
|
|
129
129
|
isDeleted: boolean;
|
|
130
130
|
internalError: string | null;
|
|
131
|
+
userId?: string | null | undefined;
|
|
131
132
|
createdAt?: string | Date | undefined;
|
|
132
133
|
updatedAt?: string | Date | undefined;
|
|
133
134
|
error?: string | null | undefined;
|
|
134
135
|
presetId?: string | null | undefined;
|
|
135
|
-
userId?: string | null | undefined;
|
|
136
136
|
unregisteredUserId?: string | null | undefined;
|
|
137
137
|
tokenReservationId?: string | null | undefined;
|
|
138
138
|
completedAt?: string | Date | null | undefined;
|
|
@@ -170,11 +170,11 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
170
170
|
origin: JOB_REQUEST_ORIGIN;
|
|
171
171
|
isDeleted: boolean;
|
|
172
172
|
internalError: string | null;
|
|
173
|
+
userId?: string | null | undefined;
|
|
173
174
|
createdAt?: string | Date | undefined;
|
|
174
175
|
updatedAt?: string | Date | undefined;
|
|
175
176
|
error?: string | null | undefined;
|
|
176
177
|
presetId?: string | null | undefined;
|
|
177
|
-
userId?: string | null | undefined;
|
|
178
178
|
unregisteredUserId?: string | null | undefined;
|
|
179
179
|
tokenReservationId?: string | null | undefined;
|
|
180
180
|
completedAt?: string | Date | null | undefined;
|
|
@@ -163,9 +163,9 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
163
163
|
translatePrompt: boolean;
|
|
164
164
|
order: number;
|
|
165
165
|
vendorId: string;
|
|
166
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
167
166
|
createdAt?: string | Date | undefined;
|
|
168
167
|
updatedAt?: string | Date | undefined;
|
|
168
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
169
169
|
}, {
|
|
170
170
|
price: number;
|
|
171
171
|
uuid: string;
|
|
@@ -208,8 +208,8 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
208
208
|
translatePrompt: boolean;
|
|
209
209
|
order: number;
|
|
210
210
|
vendorId: string;
|
|
211
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
212
211
|
createdAt?: string | Date | undefined;
|
|
213
212
|
updatedAt?: string | Date | undefined;
|
|
213
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
214
214
|
}>;
|
|
215
215
|
//# sourceMappingURL=image-generation-model.schema.d.ts.map
|
|
@@ -207,9 +207,9 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
207
207
|
translatePrompt: boolean;
|
|
208
208
|
order: number;
|
|
209
209
|
vendorId: string;
|
|
210
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
211
210
|
createdAt?: string | Date | undefined;
|
|
212
211
|
updatedAt?: string | Date | undefined;
|
|
212
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
213
213
|
}, {
|
|
214
214
|
price: number;
|
|
215
215
|
uuid: string;
|
|
@@ -252,9 +252,9 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
252
252
|
translatePrompt: boolean;
|
|
253
253
|
order: number;
|
|
254
254
|
vendorId: string;
|
|
255
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
256
255
|
createdAt?: string | Date | undefined;
|
|
257
256
|
updatedAt?: string | Date | undefined;
|
|
257
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
258
258
|
}>, "many">;
|
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
|
260
260
|
uuid: string;
|
|
@@ -312,9 +312,9 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
312
312
|
translatePrompt: boolean;
|
|
313
313
|
order: number;
|
|
314
314
|
vendorId: string;
|
|
315
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
316
315
|
createdAt?: string | Date | undefined;
|
|
317
316
|
updatedAt?: string | Date | undefined;
|
|
317
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
318
318
|
}[];
|
|
319
319
|
}, {
|
|
320
320
|
uuid: string;
|
|
@@ -372,9 +372,9 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
372
372
|
translatePrompt: boolean;
|
|
373
373
|
order: number;
|
|
374
374
|
vendorId: string;
|
|
375
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
376
375
|
createdAt?: string | Date | undefined;
|
|
377
376
|
updatedAt?: string | Date | undefined;
|
|
377
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
378
378
|
}[];
|
|
379
379
|
}>;
|
|
380
380
|
export type ImageGenerationVendor = z.infer<typeof ImageGenerationVendorSchema>;
|
package/build/models/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './user.schema';
|
|
2
2
|
export * from './product.schema';
|
|
3
3
|
export * from './subscription.schema';
|
|
4
|
+
export * from './user-to-product.schema';
|
|
5
|
+
export * from './user-to-subscription.schema';
|
|
4
6
|
export * from './cloud-payments-widget.schema';
|
|
5
7
|
export * from './cloud-payments-widget-data.schema';
|
|
6
8
|
export * from './image-generation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC"}
|
package/build/models/index.js
CHANGED
|
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./user.schema"), exports);
|
|
18
18
|
__exportStar(require("./product.schema"), exports);
|
|
19
19
|
__exportStar(require("./subscription.schema"), exports);
|
|
20
|
+
__exportStar(require("./user-to-product.schema"), exports);
|
|
21
|
+
__exportStar(require("./user-to-subscription.schema"), exports);
|
|
20
22
|
__exportStar(require("./cloud-payments-widget.schema"), exports);
|
|
21
23
|
__exportStar(require("./cloud-payments-widget-data.schema"), exports);
|
|
22
24
|
__exportStar(require("./image-generation"), exports);
|
|
@@ -11,9 +11,9 @@ export declare const PageSchema: z.ZodObject<{
|
|
|
11
11
|
updatedAt: z.ZodDate;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
uuid: string;
|
|
14
|
-
title: string;
|
|
15
14
|
createdAt: Date;
|
|
16
15
|
updatedAt: Date;
|
|
16
|
+
title: string;
|
|
17
17
|
metaTitle: string;
|
|
18
18
|
metaDescription: string;
|
|
19
19
|
subTitle: string;
|
|
@@ -21,9 +21,9 @@ export declare const PageSchema: z.ZodObject<{
|
|
|
21
21
|
alias: string;
|
|
22
22
|
}, {
|
|
23
23
|
uuid: string;
|
|
24
|
-
title: string;
|
|
25
24
|
createdAt: Date;
|
|
26
25
|
updatedAt: Date;
|
|
26
|
+
title: string;
|
|
27
27
|
metaTitle: string;
|
|
28
28
|
metaDescription: string;
|
|
29
29
|
subTitle: string;
|
|
@@ -65,9 +65,9 @@ export declare const PageWithQuestionsSchema: z.ZodObject<{
|
|
|
65
65
|
}>, "many">;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
67
|
uuid: string;
|
|
68
|
-
title: string;
|
|
69
68
|
createdAt: Date;
|
|
70
69
|
updatedAt: Date;
|
|
70
|
+
title: string;
|
|
71
71
|
metaTitle: string;
|
|
72
72
|
metaDescription: string;
|
|
73
73
|
subTitle: string;
|
|
@@ -83,9 +83,9 @@ export declare const PageWithQuestionsSchema: z.ZodObject<{
|
|
|
83
83
|
}[];
|
|
84
84
|
}, {
|
|
85
85
|
uuid: string;
|
|
86
|
-
title: string;
|
|
87
86
|
createdAt: Date;
|
|
88
87
|
updatedAt: Date;
|
|
88
|
+
title: string;
|
|
89
89
|
metaTitle: string;
|
|
90
90
|
metaDescription: string;
|
|
91
91
|
subTitle: string;
|
|
@@ -60,11 +60,11 @@ export declare const STTConfigSchema: z.ZodObject<{
|
|
|
60
60
|
siteId: string;
|
|
61
61
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
62
62
|
description: string;
|
|
63
|
+
createdAt: Date;
|
|
64
|
+
updatedAt: Date;
|
|
63
65
|
title: string;
|
|
64
66
|
strategy: string;
|
|
65
67
|
order: number;
|
|
66
|
-
createdAt: Date;
|
|
67
|
-
updatedAt: Date;
|
|
68
68
|
aiModel: string;
|
|
69
69
|
icons: {
|
|
70
70
|
light: {
|
|
@@ -85,11 +85,11 @@ export declare const STTConfigSchema: z.ZodObject<{
|
|
|
85
85
|
siteId: string;
|
|
86
86
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
87
87
|
description: string;
|
|
88
|
+
createdAt: Date;
|
|
89
|
+
updatedAt: Date;
|
|
88
90
|
title: string;
|
|
89
91
|
strategy: string;
|
|
90
92
|
order: number;
|
|
91
|
-
createdAt: Date;
|
|
92
|
-
updatedAt: Date;
|
|
93
93
|
aiModel: string;
|
|
94
94
|
icons: {
|
|
95
95
|
light: {
|
|
@@ -112,11 +112,11 @@ export declare const STTConfigSchema: z.ZodObject<{
|
|
|
112
112
|
siteId: string;
|
|
113
113
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
114
114
|
description: string;
|
|
115
|
+
createdAt: Date;
|
|
116
|
+
updatedAt: Date;
|
|
115
117
|
title: string;
|
|
116
118
|
strategy: string;
|
|
117
119
|
order: number;
|
|
118
|
-
createdAt: Date;
|
|
119
|
-
updatedAt: Date;
|
|
120
120
|
aiModel: string;
|
|
121
121
|
icons: {
|
|
122
122
|
light: {
|
|
@@ -139,11 +139,11 @@ export declare const STTConfigSchema: z.ZodObject<{
|
|
|
139
139
|
siteId: string;
|
|
140
140
|
status: import("../..").TOOL_MODEL_STATUS;
|
|
141
141
|
description: string;
|
|
142
|
+
createdAt: Date;
|
|
143
|
+
updatedAt: Date;
|
|
142
144
|
title: string;
|
|
143
145
|
strategy: string;
|
|
144
146
|
order: number;
|
|
145
|
-
createdAt: Date;
|
|
146
|
-
updatedAt: Date;
|
|
147
147
|
aiModel: string;
|
|
148
148
|
icons: {
|
|
149
149
|
light: {
|
|
@@ -59,10 +59,11 @@ export declare const STTJobSchema: z.ZodObject<{
|
|
|
59
59
|
uuid: string;
|
|
60
60
|
siteId: string;
|
|
61
61
|
status: JOB_STATUS;
|
|
62
|
-
|
|
63
|
-
title: string;
|
|
62
|
+
userId: string | null;
|
|
64
63
|
createdAt: Date;
|
|
65
64
|
updatedAt: Date;
|
|
65
|
+
duration: number;
|
|
66
|
+
title: string;
|
|
66
67
|
error: string | null;
|
|
67
68
|
modelId: string;
|
|
68
69
|
reaction: USER_REACTION | null;
|
|
@@ -73,7 +74,6 @@ export declare const STTJobSchema: z.ZodObject<{
|
|
|
73
74
|
timestamp: string;
|
|
74
75
|
error?: string | null | undefined;
|
|
75
76
|
}[];
|
|
76
|
-
userId: string | null;
|
|
77
77
|
unregisteredUserId: string | null;
|
|
78
78
|
isDeleted: boolean;
|
|
79
79
|
completedAt: Date | null;
|
|
@@ -93,15 +93,15 @@ export declare const STTJobSchema: z.ZodObject<{
|
|
|
93
93
|
uuid: string;
|
|
94
94
|
siteId: string;
|
|
95
95
|
status: JOB_STATUS;
|
|
96
|
-
|
|
97
|
-
title: string;
|
|
96
|
+
userId: string | null;
|
|
98
97
|
createdAt: Date;
|
|
99
98
|
updatedAt: Date;
|
|
99
|
+
duration: number;
|
|
100
|
+
title: string;
|
|
100
101
|
error: string | null;
|
|
101
102
|
modelId: string;
|
|
102
103
|
reaction: USER_REACTION | null;
|
|
103
104
|
dislikeReason: string | null;
|
|
104
|
-
userId: string | null;
|
|
105
105
|
unregisteredUserId: string | null;
|
|
106
106
|
isDeleted: boolean;
|
|
107
107
|
completedAt: Date | null;
|
|
@@ -60,11 +60,11 @@ export declare const STTModelSchema: z.ZodObject<{
|
|
|
60
60
|
siteId: string;
|
|
61
61
|
status: TOOL_MODEL_STATUS;
|
|
62
62
|
description: string;
|
|
63
|
+
createdAt: Date;
|
|
64
|
+
updatedAt: Date;
|
|
63
65
|
title: string;
|
|
64
66
|
strategy: string;
|
|
65
67
|
order: number;
|
|
66
|
-
createdAt: Date;
|
|
67
|
-
updatedAt: Date;
|
|
68
68
|
aiModel: string;
|
|
69
69
|
icons: {
|
|
70
70
|
light: {
|
|
@@ -85,11 +85,11 @@ export declare const STTModelSchema: z.ZodObject<{
|
|
|
85
85
|
siteId: string;
|
|
86
86
|
status: TOOL_MODEL_STATUS;
|
|
87
87
|
description: string;
|
|
88
|
+
createdAt: Date;
|
|
89
|
+
updatedAt: Date;
|
|
88
90
|
title: string;
|
|
89
91
|
strategy: string;
|
|
90
92
|
order: number;
|
|
91
|
-
createdAt: Date;
|
|
92
|
-
updatedAt: Date;
|
|
93
93
|
aiModel: string;
|
|
94
94
|
icons: {
|
|
95
95
|
light: {
|
|
@@ -710,11 +710,11 @@ export declare const TTSConfigSchema: z.ZodObject<{
|
|
|
710
710
|
} | undefined;
|
|
711
711
|
};
|
|
712
712
|
description: string;
|
|
713
|
+
createdAt: Date;
|
|
714
|
+
updatedAt: Date;
|
|
713
715
|
title: string;
|
|
714
716
|
strategy: string;
|
|
715
717
|
order: number;
|
|
716
|
-
createdAt: Date;
|
|
717
|
-
updatedAt: Date;
|
|
718
718
|
aiModel: string;
|
|
719
719
|
icons: {
|
|
720
720
|
light: {
|
|
@@ -831,11 +831,11 @@ export declare const TTSConfigSchema: z.ZodObject<{
|
|
|
831
831
|
} | undefined;
|
|
832
832
|
};
|
|
833
833
|
description: string;
|
|
834
|
+
createdAt: Date;
|
|
835
|
+
updatedAt: Date;
|
|
834
836
|
title: string;
|
|
835
837
|
strategy: string;
|
|
836
838
|
order: number;
|
|
837
|
-
createdAt: Date;
|
|
838
|
-
updatedAt: Date;
|
|
839
839
|
aiModel: string;
|
|
840
840
|
icons: {
|
|
841
841
|
light: {
|
|
@@ -954,11 +954,11 @@ export declare const TTSConfigSchema: z.ZodObject<{
|
|
|
954
954
|
} | undefined;
|
|
955
955
|
};
|
|
956
956
|
description: string;
|
|
957
|
+
createdAt: Date;
|
|
958
|
+
updatedAt: Date;
|
|
957
959
|
title: string;
|
|
958
960
|
strategy: string;
|
|
959
961
|
order: number;
|
|
960
|
-
createdAt: Date;
|
|
961
|
-
updatedAt: Date;
|
|
962
962
|
aiModel: string;
|
|
963
963
|
icons: {
|
|
964
964
|
light: {
|
|
@@ -1077,11 +1077,11 @@ export declare const TTSConfigSchema: z.ZodObject<{
|
|
|
1077
1077
|
} | undefined;
|
|
1078
1078
|
};
|
|
1079
1079
|
description: string;
|
|
1080
|
+
createdAt: Date;
|
|
1081
|
+
updatedAt: Date;
|
|
1080
1082
|
title: string;
|
|
1081
1083
|
strategy: string;
|
|
1082
1084
|
order: number;
|
|
1083
|
-
createdAt: Date;
|
|
1084
|
-
updatedAt: Date;
|
|
1085
1085
|
aiModel: string;
|
|
1086
1086
|
icons: {
|
|
1087
1087
|
light: {
|
|
@@ -69,10 +69,11 @@ export declare const TTSJobSchema: z.ZodObject<{
|
|
|
69
69
|
style?: number | undefined;
|
|
70
70
|
language?: string | undefined;
|
|
71
71
|
};
|
|
72
|
-
|
|
73
|
-
title: string;
|
|
72
|
+
userId: string | null;
|
|
74
73
|
createdAt: Date;
|
|
75
74
|
updatedAt: Date;
|
|
75
|
+
duration: number;
|
|
76
|
+
title: string;
|
|
76
77
|
error: string | null;
|
|
77
78
|
modelId: string;
|
|
78
79
|
reaction: USER_REACTION | null;
|
|
@@ -83,7 +84,6 @@ export declare const TTSJobSchema: z.ZodObject<{
|
|
|
83
84
|
timestamp: string;
|
|
84
85
|
error?: string | null | undefined;
|
|
85
86
|
}[];
|
|
86
|
-
userId: string | null;
|
|
87
87
|
unregisteredUserId: string | null;
|
|
88
88
|
isDeleted: boolean;
|
|
89
89
|
completedAt: Date | null;
|
|
@@ -104,15 +104,15 @@ export declare const TTSJobSchema: z.ZodObject<{
|
|
|
104
104
|
style?: number | undefined;
|
|
105
105
|
language?: string | undefined;
|
|
106
106
|
};
|
|
107
|
-
|
|
108
|
-
title: string;
|
|
107
|
+
userId: string | null;
|
|
109
108
|
createdAt: Date;
|
|
110
109
|
updatedAt: Date;
|
|
110
|
+
duration: number;
|
|
111
|
+
title: string;
|
|
111
112
|
error: string | null;
|
|
112
113
|
modelId: string;
|
|
113
114
|
reaction: USER_REACTION | null;
|
|
114
115
|
dislikeReason: string | null;
|
|
115
|
-
userId: string | null;
|
|
116
116
|
unregisteredUserId: string | null;
|
|
117
117
|
isDeleted: boolean;
|
|
118
118
|
completedAt: Date | null;
|
|
@@ -1370,11 +1370,11 @@ export declare const TTSModelSchema: z.ZodObject<{
|
|
|
1370
1370
|
} | undefined;
|
|
1371
1371
|
};
|
|
1372
1372
|
description: string;
|
|
1373
|
+
createdAt: Date;
|
|
1374
|
+
updatedAt: Date;
|
|
1373
1375
|
title: string;
|
|
1374
1376
|
strategy: string;
|
|
1375
1377
|
order: number;
|
|
1376
|
-
createdAt: Date;
|
|
1377
|
-
updatedAt: Date;
|
|
1378
1378
|
aiModel: string;
|
|
1379
1379
|
icons: {
|
|
1380
1380
|
light: {
|
|
@@ -1491,11 +1491,11 @@ export declare const TTSModelSchema: z.ZodObject<{
|
|
|
1491
1491
|
} | undefined;
|
|
1492
1492
|
};
|
|
1493
1493
|
description: string;
|
|
1494
|
+
createdAt: Date;
|
|
1495
|
+
updatedAt: Date;
|
|
1494
1496
|
title: string;
|
|
1495
1497
|
strategy: string;
|
|
1496
1498
|
order: number;
|
|
1497
|
-
createdAt: Date;
|
|
1498
|
-
updatedAt: Date;
|
|
1499
1499
|
aiModel: string;
|
|
1500
1500
|
icons: {
|
|
1501
1501
|
light: {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { USER_TO_PRODUCT_STATUS } from '../constants';
|
|
3
|
+
export declare const UserToProductSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
siteId: z.ZodString;
|
|
6
|
+
userId: z.ZodString;
|
|
7
|
+
productId: z.ZodString;
|
|
8
|
+
orderId: z.ZodNullable<z.ZodString>;
|
|
9
|
+
initTokenBalance: z.ZodNumber;
|
|
10
|
+
tokenBalance: z.ZodNumber;
|
|
11
|
+
status: z.ZodNativeEnum<typeof USER_TO_PRODUCT_STATUS>;
|
|
12
|
+
createdAt: z.ZodDate;
|
|
13
|
+
updatedAt: z.ZodDate;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
uuid: string;
|
|
16
|
+
siteId: string;
|
|
17
|
+
status: USER_TO_PRODUCT_STATUS;
|
|
18
|
+
userId: string;
|
|
19
|
+
productId: string;
|
|
20
|
+
orderId: string | null;
|
|
21
|
+
initTokenBalance: number;
|
|
22
|
+
tokenBalance: number;
|
|
23
|
+
createdAt: Date;
|
|
24
|
+
updatedAt: Date;
|
|
25
|
+
}, {
|
|
26
|
+
uuid: string;
|
|
27
|
+
siteId: string;
|
|
28
|
+
status: USER_TO_PRODUCT_STATUS;
|
|
29
|
+
userId: string;
|
|
30
|
+
productId: string;
|
|
31
|
+
orderId: string | null;
|
|
32
|
+
initTokenBalance: number;
|
|
33
|
+
tokenBalance: number;
|
|
34
|
+
createdAt: Date;
|
|
35
|
+
updatedAt: Date;
|
|
36
|
+
}>;
|
|
37
|
+
//# sourceMappingURL=user-to-product.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-to-product.schema.d.ts","sourceRoot":"","sources":["../../models/user-to-product.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW9B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserToProductSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../constants");
|
|
6
|
+
exports.UserToProductSchema = zod_1.z.object({
|
|
7
|
+
uuid: zod_1.z.string().uuid(),
|
|
8
|
+
siteId: zod_1.z.string().uuid(),
|
|
9
|
+
userId: zod_1.z.string().uuid(),
|
|
10
|
+
productId: zod_1.z.string().uuid(),
|
|
11
|
+
orderId: zod_1.z.string().uuid().nullable(),
|
|
12
|
+
initTokenBalance: zod_1.z.number().int().min(0),
|
|
13
|
+
tokenBalance: zod_1.z.number().int().min(0),
|
|
14
|
+
status: zod_1.z.nativeEnum(constants_1.USER_TO_PRODUCT_STATUS),
|
|
15
|
+
createdAt: zod_1.z.date(),
|
|
16
|
+
updatedAt: zod_1.z.date(),
|
|
17
|
+
});
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { USER_TO_SUBSCRIPTION_STATUS, USER_TO_SUBSCRIPTION_TYPE } from '../constants';
|
|
3
|
+
export declare const UserToSubscriptionSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
siteId: z.ZodString;
|
|
6
|
+
userId: z.ZodString;
|
|
7
|
+
subscriptionId: z.ZodString;
|
|
8
|
+
orderId: z.ZodNullable<z.ZodString>;
|
|
9
|
+
cloudPaymentsSubscriptionId: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodNativeEnum<typeof USER_TO_SUBSCRIPTION_TYPE>;
|
|
11
|
+
initTokenBalance: z.ZodNumber;
|
|
12
|
+
tokenBalance: z.ZodNumber;
|
|
13
|
+
initCarriedOverTokenBalance: z.ZodNumber;
|
|
14
|
+
carriedOverTokenBalance: z.ZodNumber;
|
|
15
|
+
status: z.ZodNativeEnum<typeof USER_TO_SUBSCRIPTION_STATUS>;
|
|
16
|
+
active: z.ZodBoolean;
|
|
17
|
+
startDate: z.ZodNullable<z.ZodDate>;
|
|
18
|
+
intervalEndDate: z.ZodNullable<z.ZodDate>;
|
|
19
|
+
endDate: z.ZodNullable<z.ZodDate>;
|
|
20
|
+
createdAt: z.ZodDate;
|
|
21
|
+
updatedAt: z.ZodDate;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
active: boolean;
|
|
24
|
+
uuid: string;
|
|
25
|
+
siteId: string;
|
|
26
|
+
status: USER_TO_SUBSCRIPTION_STATUS;
|
|
27
|
+
type: USER_TO_SUBSCRIPTION_TYPE;
|
|
28
|
+
userId: string;
|
|
29
|
+
orderId: string | null;
|
|
30
|
+
initTokenBalance: number;
|
|
31
|
+
tokenBalance: number;
|
|
32
|
+
createdAt: Date;
|
|
33
|
+
updatedAt: Date;
|
|
34
|
+
subscriptionId: string;
|
|
35
|
+
cloudPaymentsSubscriptionId: string | null;
|
|
36
|
+
initCarriedOverTokenBalance: number;
|
|
37
|
+
carriedOverTokenBalance: number;
|
|
38
|
+
startDate: Date | null;
|
|
39
|
+
intervalEndDate: Date | null;
|
|
40
|
+
endDate: Date | null;
|
|
41
|
+
}, {
|
|
42
|
+
active: boolean;
|
|
43
|
+
uuid: string;
|
|
44
|
+
siteId: string;
|
|
45
|
+
status: USER_TO_SUBSCRIPTION_STATUS;
|
|
46
|
+
type: USER_TO_SUBSCRIPTION_TYPE;
|
|
47
|
+
userId: string;
|
|
48
|
+
orderId: string | null;
|
|
49
|
+
initTokenBalance: number;
|
|
50
|
+
tokenBalance: number;
|
|
51
|
+
createdAt: Date;
|
|
52
|
+
updatedAt: Date;
|
|
53
|
+
subscriptionId: string;
|
|
54
|
+
cloudPaymentsSubscriptionId: string | null;
|
|
55
|
+
initCarriedOverTokenBalance: number;
|
|
56
|
+
carriedOverTokenBalance: number;
|
|
57
|
+
startDate: Date | null;
|
|
58
|
+
intervalEndDate: Date | null;
|
|
59
|
+
endDate: Date | null;
|
|
60
|
+
}>;
|
|
61
|
+
//# sourceMappingURL=user-to-subscription.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-to-subscription.schema.d.ts","sourceRoot":"","sources":["../../models/user-to-subscription.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAEtF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBnC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserToSubscriptionSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../constants");
|
|
6
|
+
exports.UserToSubscriptionSchema = zod_1.z.object({
|
|
7
|
+
uuid: zod_1.z.string().uuid(),
|
|
8
|
+
siteId: zod_1.z.string().uuid(),
|
|
9
|
+
userId: zod_1.z.string().uuid(),
|
|
10
|
+
subscriptionId: zod_1.z.string().uuid(),
|
|
11
|
+
orderId: zod_1.z.string().uuid().nullable(),
|
|
12
|
+
cloudPaymentsSubscriptionId: zod_1.z.string().nullable(),
|
|
13
|
+
type: zod_1.z.nativeEnum(constants_1.USER_TO_SUBSCRIPTION_TYPE),
|
|
14
|
+
initTokenBalance: zod_1.z.number().int().min(0),
|
|
15
|
+
tokenBalance: zod_1.z.number().int().min(0),
|
|
16
|
+
initCarriedOverTokenBalance: zod_1.z.number().int().min(0),
|
|
17
|
+
carriedOverTokenBalance: zod_1.z.number().int().min(0),
|
|
18
|
+
status: zod_1.z.nativeEnum(constants_1.USER_TO_SUBSCRIPTION_STATUS),
|
|
19
|
+
active: zod_1.z.boolean(),
|
|
20
|
+
startDate: zod_1.z.date().nullable(),
|
|
21
|
+
intervalEndDate: zod_1.z.date().nullable(),
|
|
22
|
+
endDate: zod_1.z.date().nullable(),
|
|
23
|
+
createdAt: zod_1.z.date(),
|
|
24
|
+
updatedAt: zod_1.z.date(),
|
|
25
|
+
});
|
|
@@ -115,9 +115,9 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
115
115
|
systemPromptId?: string | undefined;
|
|
116
116
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
117
117
|
};
|
|
118
|
-
title: string;
|
|
119
118
|
createdAt: string | Date;
|
|
120
119
|
updatedAt: string | Date;
|
|
120
|
+
title: string;
|
|
121
121
|
error: string | null;
|
|
122
122
|
modelId: string;
|
|
123
123
|
prompt: string;
|
|
@@ -152,9 +152,9 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
152
152
|
systemPromptId?: string | undefined;
|
|
153
153
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
154
154
|
};
|
|
155
|
-
title: string;
|
|
156
155
|
createdAt: string | Date;
|
|
157
156
|
updatedAt: string | Date;
|
|
157
|
+
title: string;
|
|
158
158
|
error: string | null;
|
|
159
159
|
modelId: string;
|
|
160
160
|
prompt: string;
|
|
@@ -204,9 +204,9 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
204
204
|
systemPromptId?: string | undefined;
|
|
205
205
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
206
206
|
};
|
|
207
|
-
title: string;
|
|
208
207
|
createdAt: string | Date;
|
|
209
208
|
updatedAt: string | Date;
|
|
209
|
+
title: string;
|
|
210
210
|
error: string | null;
|
|
211
211
|
modelId: string;
|
|
212
212
|
prompt: string;
|
|
@@ -248,9 +248,9 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
248
248
|
systemPromptId?: string | undefined;
|
|
249
249
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
250
250
|
};
|
|
251
|
-
title: string;
|
|
252
251
|
createdAt: string | Date;
|
|
253
252
|
updatedAt: string | Date;
|
|
253
|
+
title: string;
|
|
254
254
|
error: string | null;
|
|
255
255
|
modelId: string;
|
|
256
256
|
prompt: string;
|