@purpleschool/multisite 0.0.21 → 0.0.23

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 (133) hide show
  1. package/api/controller/http/index.ts +3 -0
  2. package/api/controller/http/sitemap.ts +5 -0
  3. package/api/controller/http/user-to-product.ts +7 -0
  4. package/api/controller/http/user-to-subscription.ts +8 -0
  5. package/api/routes.ts +21 -0
  6. package/build/api/controller/http/index.d.ts +3 -0
  7. package/build/api/controller/http/index.d.ts.map +1 -1
  8. package/build/api/controller/http/index.js +3 -0
  9. package/build/api/controller/http/sitemap.d.ts +5 -0
  10. package/build/api/controller/http/sitemap.d.ts.map +1 -0
  11. package/build/api/controller/http/sitemap.js +7 -0
  12. package/build/api/controller/http/user-to-product.d.ts +7 -0
  13. package/build/api/controller/http/user-to-product.d.ts.map +1 -0
  14. package/build/api/controller/http/user-to-product.js +9 -0
  15. package/build/api/controller/http/user-to-subscription.d.ts +8 -0
  16. package/build/api/controller/http/user-to-subscription.d.ts.map +1 -0
  17. package/build/api/controller/http/user-to-subscription.js +10 -0
  18. package/build/api/routes.d.ts +14 -0
  19. package/build/api/routes.d.ts.map +1 -1
  20. package/build/api/routes.js +14 -0
  21. package/build/commands/image-editor/execute-image-editor.command.d.ts +4 -4
  22. package/build/commands/image-editor/retry-image-editor-job.command.d.ts +4 -4
  23. package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +4 -4
  24. package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +4 -4
  25. package/build/commands/image-generation/execute-image-generation.command.d.ts +4 -4
  26. package/build/commands/image-generation/retry-image-generation-job.command.d.ts +4 -4
  27. package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +4 -4
  28. package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +4 -4
  29. package/build/commands/index.d.ts +2 -0
  30. package/build/commands/index.d.ts.map +1 -1
  31. package/build/commands/index.js +2 -0
  32. package/build/commands/page/create-page.command.d.ts +4 -4
  33. package/build/commands/page/find-page-by-alias.command.d.ts +12 -12
  34. package/build/commands/page/find-page-by-criteria.command.d.ts +4 -4
  35. package/build/commands/page/find-page.command.d.ts +8 -8
  36. package/build/commands/page/update-page.command.d.ts +4 -4
  37. package/build/commands/payment/cloud-payments.command.d.ts +2 -2
  38. package/build/commands/stt/execute-stt.command.d.ts +12 -12
  39. package/build/commands/stt/retry-stt-job.command.d.ts +12 -12
  40. package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +12 -12
  41. package/build/commands/stt/update-stt-job-title.command.d.ts +12 -12
  42. package/build/commands/tts/execute-tts.command.d.ts +12 -12
  43. package/build/commands/tts/retry-tts-job.command.d.ts +12 -12
  44. package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +12 -12
  45. package/build/commands/tts/update-tts-job-title.command.d.ts +12 -12
  46. package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +4 -4
  47. package/build/commands/user-to-product/delete-user-to-product.command.d.ts +20 -0
  48. package/build/commands/user-to-product/delete-user-to-product.command.d.ts.map +1 -0
  49. package/build/commands/user-to-product/delete-user-to-product.command.js +13 -0
  50. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts +75 -0
  51. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts.map +1 -0
  52. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.js +14 -0
  53. package/build/commands/user-to-product/index.d.ts +4 -0
  54. package/build/commands/user-to-product/index.d.ts.map +1 -0
  55. package/build/commands/user-to-product/index.js +19 -0
  56. package/build/commands/user-to-product/update-user-to-product.command.d.ts +93 -0
  57. package/build/commands/user-to-product/update-user-to-product.command.d.ts.map +1 -0
  58. package/build/commands/user-to-product/update-user-to-product.command.js +21 -0
  59. package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts +14 -0
  60. package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts.map +1 -0
  61. package/build/commands/user-to-subscription/admin-cancel-subscription.command.js +11 -0
  62. package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts +20 -0
  63. package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts.map +1 -0
  64. package/build/commands/user-to-subscription/delete-user-to-subscription.command.js +13 -0
  65. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +115 -0
  66. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts.map +1 -0
  67. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.js +14 -0
  68. package/build/commands/user-to-subscription/index.d.ts +5 -0
  69. package/build/commands/user-to-subscription/index.d.ts.map +1 -0
  70. package/build/commands/user-to-subscription/index.js +20 -0
  71. package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +157 -0
  72. package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts.map +1 -0
  73. package/build/commands/user-to-subscription/update-user-to-subscription.command.js +29 -0
  74. package/build/constants/errors/errors.d.ts +60 -0
  75. package/build/constants/errors/errors.d.ts.map +1 -1
  76. package/build/constants/errors/errors.js +62 -0
  77. package/build/models/image-editor/image-editor-config.schema.d.ts +10 -10
  78. package/build/models/image-editor/image-editor-job.schema.d.ts +2 -2
  79. package/build/models/image-editor/image-editor-model.schema.d.ts +2 -2
  80. package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +4 -4
  81. package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +2 -2
  82. package/build/models/image-generation/image-generation-config.schema.d.ts +6 -6
  83. package/build/models/image-generation/image-generation-job.schema.d.ts +2 -2
  84. package/build/models/image-generation/image-generation-model.schema.d.ts +2 -2
  85. package/build/models/image-generation/image-generation-vendor.schema.d.ts +4 -4
  86. package/build/models/index.d.ts +2 -0
  87. package/build/models/index.d.ts.map +1 -1
  88. package/build/models/index.js +2 -0
  89. package/build/models/page.schema.d.ts +4 -4
  90. package/build/models/stt/stt-config.schema.d.ts +8 -8
  91. package/build/models/stt/stt-job.schema.d.ts +6 -6
  92. package/build/models/stt/stt-model.schema.d.ts +4 -4
  93. package/build/models/tts/tts-config.schema.d.ts +8 -8
  94. package/build/models/tts/tts-job.schema.d.ts +6 -6
  95. package/build/models/tts/tts-model.schema.d.ts +4 -4
  96. package/build/models/user-to-product.schema.d.ts +37 -0
  97. package/build/models/user-to-product.schema.d.ts.map +1 -0
  98. package/build/models/user-to-product.schema.js +17 -0
  99. package/build/models/user-to-subscription.schema.d.ts +61 -0
  100. package/build/models/user-to-subscription.schema.d.ts.map +1 -0
  101. package/build/models/user-to-subscription.schema.js +25 -0
  102. package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +4 -4
  103. package/build/queries/image-editor/get-image-editor-config.command.d.ts +14 -14
  104. package/build/queries/image-editor/get-image-editor-job.command.d.ts +4 -4
  105. package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +4 -4
  106. package/build/queries/image-generation/get-image-generation-config.command.d.ts +8 -8
  107. package/build/queries/image-generation/get-image-generation-job.command.d.ts +4 -4
  108. package/build/queries/payment/get-payment-history.command.d.ts +6 -6
  109. package/build/queries/stt/find-stt-jobs.command.d.ts +12 -12
  110. package/build/queries/stt/get-stt-config.command.d.ts +12 -12
  111. package/build/queries/stt/get-stt-job.command.d.ts +12 -12
  112. package/build/queries/subscription/get-subscriptions-summary.command.d.ts +16 -16
  113. package/build/queries/tts/find-tts-jobs.command.d.ts +12 -12
  114. package/build/queries/tts/get-tts-config.command.d.ts +12 -12
  115. package/build/queries/tts/get-tts-job.command.d.ts +12 -12
  116. package/build/queries/user/get-my-products.command.d.ts +8 -8
  117. package/build/queries/user/get-my-subscriptions.command.d.ts +12 -12
  118. package/build/queries/user/get-user-payments.command.d.ts +18 -18
  119. package/commands/index.ts +2 -0
  120. package/commands/user-to-product/delete-user-to-product.command.ts +13 -0
  121. package/commands/user-to-product/get-user-to-product-by-uuid.command.ts +14 -0
  122. package/commands/user-to-product/index.ts +3 -0
  123. package/commands/user-to-product/update-user-to-product.command.ts +23 -0
  124. package/commands/user-to-subscription/admin-cancel-subscription.command.ts +11 -0
  125. package/commands/user-to-subscription/delete-user-to-subscription.command.ts +13 -0
  126. package/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.ts +14 -0
  127. package/commands/user-to-subscription/index.ts +4 -0
  128. package/commands/user-to-subscription/update-user-to-subscription.command.ts +31 -0
  129. package/constants/errors/errors.ts +64 -0
  130. package/models/index.ts +2 -0
  131. package/models/user-to-product.schema.ts +15 -0
  132. package/models/user-to-subscription.schema.ts +23 -0
  133. package/package.json +1 -1
@@ -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
- duration: number;
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
- duration: number;
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;
@@ -163,9 +163,9 @@ export declare namespace GetImageEditorConfigCommand {
163
163
  };
164
164
  };
165
165
  maxInputLength: number;
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
  uuid: string;
171
171
  status: import("../..").TOOL_MODEL_STATUS;
@@ -206,9 +206,9 @@ export declare namespace GetImageEditorConfigCommand {
206
206
  };
207
207
  };
208
208
  maxInputLength: number;
209
- statusCheckEndpoint?: string | null | undefined;
210
209
  createdAt?: string | Date | undefined;
211
210
  updatedAt?: string | Date | undefined;
211
+ statusCheckEndpoint?: string | null | undefined;
212
212
  }>, "many">;
213
213
  promptGroups: z.ZodArray<z.ZodObject<{
214
214
  uuid: z.ZodString;
@@ -277,9 +277,9 @@ export declare namespace GetImageEditorConfigCommand {
277
277
  allowUserPrompt: boolean;
278
278
  groupId: string;
279
279
  params?: Record<string, any> | undefined;
280
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
281
280
  createdAt?: string | Date | undefined;
282
281
  updatedAt?: string | Date | undefined;
282
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
283
283
  preview?: Record<string, any> | undefined;
284
284
  placeholder?: string | null | undefined;
285
285
  }, {
@@ -291,9 +291,9 @@ export declare namespace GetImageEditorConfigCommand {
291
291
  allowUserPrompt: boolean;
292
292
  groupId: string;
293
293
  params?: Record<string, any> | undefined;
294
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
295
294
  createdAt?: string | Date | undefined;
296
295
  updatedAt?: string | Date | undefined;
296
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
297
297
  preview?: Record<string, any> | undefined;
298
298
  placeholder?: string | null | undefined;
299
299
  }>, "many">;
@@ -320,9 +320,9 @@ export declare namespace GetImageEditorConfigCommand {
320
320
  allowUserPrompt: boolean;
321
321
  groupId: string;
322
322
  params?: Record<string, any> | undefined;
323
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
324
323
  createdAt?: string | Date | undefined;
325
324
  updatedAt?: string | Date | undefined;
325
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
326
326
  preview?: Record<string, any> | undefined;
327
327
  placeholder?: string | null | undefined;
328
328
  }[];
@@ -349,9 +349,9 @@ export declare namespace GetImageEditorConfigCommand {
349
349
  allowUserPrompt: boolean;
350
350
  groupId: string;
351
351
  params?: Record<string, any> | undefined;
352
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
353
352
  createdAt?: string | Date | undefined;
354
353
  updatedAt?: string | Date | undefined;
354
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
355
355
  preview?: Record<string, any> | undefined;
356
356
  placeholder?: string | null | undefined;
357
357
  }[];
@@ -397,9 +397,9 @@ export declare namespace GetImageEditorConfigCommand {
397
397
  };
398
398
  };
399
399
  maxInputLength: number;
400
- statusCheckEndpoint?: string | null | undefined;
401
400
  createdAt?: string | Date | undefined;
402
401
  updatedAt?: string | Date | undefined;
402
+ statusCheckEndpoint?: string | null | undefined;
403
403
  }[];
404
404
  promptGroups: {
405
405
  uuid: string;
@@ -424,9 +424,9 @@ export declare namespace GetImageEditorConfigCommand {
424
424
  allowUserPrompt: boolean;
425
425
  groupId: string;
426
426
  params?: Record<string, any> | undefined;
427
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
428
427
  createdAt?: string | Date | undefined;
429
428
  updatedAt?: string | Date | undefined;
429
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
430
430
  preview?: Record<string, any> | undefined;
431
431
  placeholder?: string | null | undefined;
432
432
  }[];
@@ -472,9 +472,9 @@ export declare namespace GetImageEditorConfigCommand {
472
472
  };
473
473
  };
474
474
  maxInputLength: number;
475
- statusCheckEndpoint?: string | null | undefined;
476
475
  createdAt?: string | Date | undefined;
477
476
  updatedAt?: string | Date | undefined;
477
+ statusCheckEndpoint?: string | null | undefined;
478
478
  }[];
479
479
  promptGroups: {
480
480
  uuid: string;
@@ -499,9 +499,9 @@ export declare namespace GetImageEditorConfigCommand {
499
499
  allowUserPrompt: boolean;
500
500
  groupId: string;
501
501
  params?: Record<string, any> | undefined;
502
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
503
502
  createdAt?: string | Date | undefined;
504
503
  updatedAt?: string | Date | undefined;
504
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
505
505
  preview?: Record<string, any> | undefined;
506
506
  placeholder?: string | null | undefined;
507
507
  }[];
@@ -549,9 +549,9 @@ export declare namespace GetImageEditorConfigCommand {
549
549
  };
550
550
  };
551
551
  maxInputLength: number;
552
- statusCheckEndpoint?: string | null | undefined;
553
552
  createdAt?: string | Date | undefined;
554
553
  updatedAt?: string | Date | undefined;
554
+ statusCheckEndpoint?: string | null | undefined;
555
555
  }[];
556
556
  promptGroups: {
557
557
  uuid: string;
@@ -576,9 +576,9 @@ export declare namespace GetImageEditorConfigCommand {
576
576
  allowUserPrompt: boolean;
577
577
  groupId: string;
578
578
  params?: Record<string, any> | undefined;
579
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
580
579
  createdAt?: string | Date | undefined;
581
580
  updatedAt?: string | Date | undefined;
581
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
582
582
  preview?: Record<string, any> | undefined;
583
583
  placeholder?: string | null | undefined;
584
584
  }[];
@@ -626,9 +626,9 @@ export declare namespace GetImageEditorConfigCommand {
626
626
  };
627
627
  };
628
628
  maxInputLength: number;
629
- statusCheckEndpoint?: string | null | undefined;
630
629
  createdAt?: string | Date | undefined;
631
630
  updatedAt?: string | Date | undefined;
631
+ statusCheckEndpoint?: string | null | undefined;
632
632
  }[];
633
633
  promptGroups: {
634
634
  uuid: string;
@@ -653,9 +653,9 @@ export declare namespace GetImageEditorConfigCommand {
653
653
  allowUserPrompt: boolean;
654
654
  groupId: string;
655
655
  params?: Record<string, any> | undefined;
656
- strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
657
656
  createdAt?: string | Date | undefined;
658
657
  updatedAt?: string | Date | undefined;
658
+ strategy?: import("../..").IMAGE_EDITING_STRATEGY | null | undefined;
659
659
  preview?: Record<string, any> | undefined;
660
660
  placeholder?: string | null | undefined;
661
661
  }[];
@@ -109,9 +109,9 @@ export declare namespace GetImageEditorJobCommand {
109
109
  systemPromptId?: string | undefined;
110
110
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
111
111
  };
112
- title: string;
113
112
  createdAt: string | Date;
114
113
  updatedAt: string | Date;
114
+ title: string;
115
115
  error: string | null;
116
116
  modelId: string;
117
117
  prompt: string;
@@ -146,9 +146,9 @@ export declare namespace GetImageEditorJobCommand {
146
146
  systemPromptId?: string | undefined;
147
147
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
148
148
  };
149
- title: string;
150
149
  createdAt: string | Date;
151
150
  updatedAt: string | Date;
151
+ title: string;
152
152
  error: string | null;
153
153
  modelId: string;
154
154
  prompt: string;
@@ -185,9 +185,9 @@ export declare namespace GetImageEditorJobCommand {
185
185
  systemPromptId?: string | undefined;
186
186
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
187
187
  };
188
- title: string;
189
188
  createdAt: string | Date;
190
189
  updatedAt: string | Date;
190
+ title: string;
191
191
  error: string | null;
192
192
  modelId: string;
193
193
  prompt: string;
@@ -224,9 +224,9 @@ export declare namespace GetImageEditorJobCommand {
224
224
  systemPromptId?: string | undefined;
225
225
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
226
226
  };
227
- title: string;
228
227
  createdAt: string | Date;
229
228
  updatedAt: string | Date;
229
+ title: string;
230
230
  error: string | null;
231
231
  modelId: string;
232
232
  prompt: string;
@@ -143,11 +143,11 @@ export declare namespace FindImageGenerationJobsCommand {
143
143
  origin: import("../..").JOB_REQUEST_ORIGIN;
144
144
  isDeleted: boolean;
145
145
  internalError: string | null;
146
+ userId?: string | null | undefined;
146
147
  createdAt?: string | Date | undefined;
147
148
  updatedAt?: string | Date | undefined;
148
149
  error?: string | null | undefined;
149
150
  presetId?: string | null | undefined;
150
- userId?: string | null | undefined;
151
151
  unregisteredUserId?: string | null | undefined;
152
152
  tokenReservationId?: string | null | undefined;
153
153
  completedAt?: string | Date | null | undefined;
@@ -185,11 +185,11 @@ export declare namespace FindImageGenerationJobsCommand {
185
185
  origin: import("../..").JOB_REQUEST_ORIGIN;
186
186
  isDeleted: boolean;
187
187
  internalError: string | null;
188
+ userId?: string | null | undefined;
188
189
  createdAt?: string | Date | undefined;
189
190
  updatedAt?: string | Date | undefined;
190
191
  error?: string | null | undefined;
191
192
  presetId?: string | null | undefined;
192
- userId?: string | null | undefined;
193
193
  unregisteredUserId?: string | null | undefined;
194
194
  tokenReservationId?: string | null | undefined;
195
195
  completedAt?: string | Date | null | undefined;
@@ -242,11 +242,11 @@ export declare namespace FindImageGenerationJobsCommand {
242
242
  origin: import("../..").JOB_REQUEST_ORIGIN;
243
243
  isDeleted: boolean;
244
244
  internalError: string | null;
245
+ userId?: string | null | undefined;
245
246
  createdAt?: string | Date | undefined;
246
247
  updatedAt?: string | Date | undefined;
247
248
  error?: string | null | undefined;
248
249
  presetId?: string | null | undefined;
249
- userId?: string | null | undefined;
250
250
  unregisteredUserId?: string | null | undefined;
251
251
  tokenReservationId?: string | null | undefined;
252
252
  completedAt?: string | Date | null | undefined;
@@ -291,11 +291,11 @@ export declare namespace FindImageGenerationJobsCommand {
291
291
  origin: import("../..").JOB_REQUEST_ORIGIN;
292
292
  isDeleted: boolean;
293
293
  internalError: string | null;
294
+ userId?: string | null | undefined;
294
295
  createdAt?: string | Date | undefined;
295
296
  updatedAt?: string | Date | undefined;
296
297
  error?: string | null | undefined;
297
298
  presetId?: string | null | undefined;
298
- userId?: string | null | undefined;
299
299
  unregisteredUserId?: string | null | undefined;
300
300
  tokenReservationId?: string | null | undefined;
301
301
  completedAt?: string | Date | null | undefined;
@@ -210,9 +210,9 @@ export declare namespace GetImageGenerationConfigCommand {
210
210
  translatePrompt: boolean;
211
211
  order: number;
212
212
  vendorId: string;
213
- statusCheckEndpoint?: string | null | undefined;
214
213
  createdAt?: string | Date | undefined;
215
214
  updatedAt?: string | Date | undefined;
215
+ statusCheckEndpoint?: string | null | undefined;
216
216
  }, {
217
217
  price: number;
218
218
  uuid: string;
@@ -255,9 +255,9 @@ export declare namespace GetImageGenerationConfigCommand {
255
255
  translatePrompt: boolean;
256
256
  order: number;
257
257
  vendorId: string;
258
- statusCheckEndpoint?: string | null | undefined;
259
258
  createdAt?: string | Date | undefined;
260
259
  updatedAt?: string | Date | undefined;
260
+ statusCheckEndpoint?: string | null | undefined;
261
261
  }>, "many">;
262
262
  }, "strip", z.ZodTypeAny, {
263
263
  uuid: string;
@@ -315,9 +315,9 @@ export declare namespace GetImageGenerationConfigCommand {
315
315
  translatePrompt: boolean;
316
316
  order: number;
317
317
  vendorId: string;
318
- statusCheckEndpoint?: string | null | undefined;
319
318
  createdAt?: string | Date | undefined;
320
319
  updatedAt?: string | Date | undefined;
320
+ statusCheckEndpoint?: string | null | undefined;
321
321
  }[];
322
322
  }, {
323
323
  uuid: string;
@@ -375,9 +375,9 @@ export declare namespace GetImageGenerationConfigCommand {
375
375
  translatePrompt: boolean;
376
376
  order: number;
377
377
  vendorId: string;
378
- statusCheckEndpoint?: string | null | undefined;
379
378
  createdAt?: string | Date | undefined;
380
379
  updatedAt?: string | Date | undefined;
380
+ statusCheckEndpoint?: string | null | undefined;
381
381
  }[];
382
382
  }>, "many">;
383
383
  presets: z.ZodArray<z.ZodObject<{
@@ -453,9 +453,9 @@ export declare namespace GetImageGenerationConfigCommand {
453
453
  translatePrompt: boolean;
454
454
  order: number;
455
455
  vendorId: string;
456
- statusCheckEndpoint?: string | null | undefined;
457
456
  createdAt?: string | Date | undefined;
458
457
  updatedAt?: string | Date | undefined;
458
+ statusCheckEndpoint?: string | null | undefined;
459
459
  }[];
460
460
  }[];
461
461
  presets: {
@@ -521,9 +521,9 @@ export declare namespace GetImageGenerationConfigCommand {
521
521
  translatePrompt: boolean;
522
522
  order: number;
523
523
  vendorId: string;
524
- statusCheckEndpoint?: string | null | undefined;
525
524
  createdAt?: string | Date | undefined;
526
525
  updatedAt?: string | Date | undefined;
526
+ statusCheckEndpoint?: string | null | undefined;
527
527
  }[];
528
528
  }[];
529
529
  presets: {
@@ -591,9 +591,9 @@ export declare namespace GetImageGenerationConfigCommand {
591
591
  translatePrompt: boolean;
592
592
  order: number;
593
593
  vendorId: string;
594
- statusCheckEndpoint?: string | null | undefined;
595
594
  createdAt?: string | Date | undefined;
596
595
  updatedAt?: string | Date | undefined;
596
+ statusCheckEndpoint?: string | null | undefined;
597
597
  }[];
598
598
  }[];
599
599
  presets: {
@@ -661,9 +661,9 @@ export declare namespace GetImageGenerationConfigCommand {
661
661
  translatePrompt: boolean;
662
662
  order: number;
663
663
  vendorId: string;
664
- statusCheckEndpoint?: string | null | undefined;
665
664
  createdAt?: string | Date | undefined;
666
665
  updatedAt?: string | Date | undefined;
666
+ statusCheckEndpoint?: string | null | undefined;
667
667
  }[];
668
668
  }[];
669
669
  presets: {