@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
@@ -137,11 +137,11 @@ export declare namespace GetImageGenerationJobCommand {
137
137
  origin: import("../..").JOB_REQUEST_ORIGIN;
138
138
  isDeleted: boolean;
139
139
  internalError: string | null;
140
+ userId?: string | null | undefined;
140
141
  createdAt?: string | Date | undefined;
141
142
  updatedAt?: string | Date | undefined;
142
143
  error?: string | null | undefined;
143
144
  presetId?: string | null | undefined;
144
- userId?: string | null | undefined;
145
145
  unregisteredUserId?: string | null | undefined;
146
146
  tokenReservationId?: string | null | undefined;
147
147
  completedAt?: string | Date | null | undefined;
@@ -179,11 +179,11 @@ export declare namespace GetImageGenerationJobCommand {
179
179
  origin: import("../..").JOB_REQUEST_ORIGIN;
180
180
  isDeleted: boolean;
181
181
  internalError: string | null;
182
+ userId?: string | null | undefined;
182
183
  createdAt?: string | Date | undefined;
183
184
  updatedAt?: string | Date | undefined;
184
185
  error?: string | null | undefined;
185
186
  presetId?: string | null | undefined;
186
- userId?: string | null | undefined;
187
187
  unregisteredUserId?: string | null | undefined;
188
188
  tokenReservationId?: string | null | undefined;
189
189
  completedAt?: string | Date | null | undefined;
@@ -223,11 +223,11 @@ export declare namespace GetImageGenerationJobCommand {
223
223
  origin: import("../..").JOB_REQUEST_ORIGIN;
224
224
  isDeleted: boolean;
225
225
  internalError: string | null;
226
+ userId?: string | null | undefined;
226
227
  createdAt?: string | Date | undefined;
227
228
  updatedAt?: string | Date | undefined;
228
229
  error?: string | null | undefined;
229
230
  presetId?: string | null | undefined;
230
- userId?: string | null | undefined;
231
231
  unregisteredUserId?: string | null | undefined;
232
232
  tokenReservationId?: string | null | undefined;
233
233
  completedAt?: string | Date | null | undefined;
@@ -267,11 +267,11 @@ export declare namespace GetImageGenerationJobCommand {
267
267
  origin: import("../..").JOB_REQUEST_ORIGIN;
268
268
  isDeleted: boolean;
269
269
  internalError: string | null;
270
+ userId?: string | null | undefined;
270
271
  createdAt?: string | Date | undefined;
271
272
  updatedAt?: string | Date | undefined;
272
273
  error?: string | null | undefined;
273
274
  presetId?: string | null | undefined;
274
- userId?: string | null | undefined;
275
275
  unregisteredUserId?: string | null | undefined;
276
276
  tokenReservationId?: string | null | undefined;
277
277
  completedAt?: string | Date | null | undefined;
@@ -10,15 +10,15 @@ export declare namespace GetPaymentHistoryCommand {
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  uuid: string;
12
12
  status: PAYMENT_STATUS;
13
+ orderId: string;
13
14
  createdAt: string | Date;
14
15
  sum: number;
15
- orderId: string;
16
16
  }, {
17
17
  uuid: string;
18
18
  status: PAYMENT_STATUS;
19
+ orderId: string;
19
20
  createdAt: string | Date;
20
21
  sum: number;
21
- orderId: string;
22
22
  }>;
23
23
  const ResponseSchema: z.ZodObject<{
24
24
  data: z.ZodArray<z.ZodObject<{
@@ -30,31 +30,31 @@ export declare namespace GetPaymentHistoryCommand {
30
30
  }, "strip", z.ZodTypeAny, {
31
31
  uuid: string;
32
32
  status: PAYMENT_STATUS;
33
+ orderId: string;
33
34
  createdAt: string | Date;
34
35
  sum: number;
35
- orderId: string;
36
36
  }, {
37
37
  uuid: string;
38
38
  status: PAYMENT_STATUS;
39
+ orderId: string;
39
40
  createdAt: string | Date;
40
41
  sum: number;
41
- orderId: string;
42
42
  }>, "many">;
43
43
  }, "strip", z.ZodTypeAny, {
44
44
  data: {
45
45
  uuid: string;
46
46
  status: PAYMENT_STATUS;
47
+ orderId: string;
47
48
  createdAt: string | Date;
48
49
  sum: number;
49
- orderId: string;
50
50
  }[];
51
51
  }, {
52
52
  data: {
53
53
  uuid: string;
54
54
  status: PAYMENT_STATUS;
55
+ orderId: string;
55
56
  createdAt: string | Date;
56
57
  sum: number;
57
- orderId: string;
58
58
  }[];
59
59
  }>;
60
60
  type Response = z.infer<typeof ResponseSchema>;
@@ -71,10 +71,11 @@ export declare namespace FindSTTJobsCommand {
71
71
  uuid: string;
72
72
  siteId: string;
73
73
  status: import("../..").JOB_STATUS;
74
- duration: number;
75
- title: string;
74
+ userId: string | null;
76
75
  createdAt: Date;
77
76
  updatedAt: Date;
77
+ duration: number;
78
+ title: string;
78
79
  error: string | null;
79
80
  modelId: string;
80
81
  reaction: import("../..").USER_REACTION | null;
@@ -85,7 +86,6 @@ export declare namespace FindSTTJobsCommand {
85
86
  timestamp: string;
86
87
  error?: string | null | undefined;
87
88
  }[];
88
- userId: string | null;
89
89
  unregisteredUserId: string | null;
90
90
  isDeleted: boolean;
91
91
  completedAt: Date | null;
@@ -105,15 +105,15 @@ export declare namespace FindSTTJobsCommand {
105
105
  uuid: string;
106
106
  siteId: string;
107
107
  status: import("../..").JOB_STATUS;
108
- duration: number;
109
- title: string;
108
+ userId: string | null;
110
109
  createdAt: Date;
111
110
  updatedAt: Date;
111
+ duration: number;
112
+ title: string;
112
113
  error: string | null;
113
114
  modelId: string;
114
115
  reaction: import("../..").USER_REACTION | null;
115
116
  dislikeReason: string | null;
116
- userId: string | null;
117
117
  unregisteredUserId: string | null;
118
118
  isDeleted: boolean;
119
119
  completedAt: Date | null;
@@ -154,10 +154,11 @@ export declare namespace FindSTTJobsCommand {
154
154
  uuid: string;
155
155
  siteId: string;
156
156
  status: import("../..").JOB_STATUS;
157
- duration: number;
158
- title: string;
157
+ userId: string | null;
159
158
  createdAt: Date;
160
159
  updatedAt: Date;
160
+ duration: number;
161
+ title: string;
161
162
  error: string | null;
162
163
  modelId: string;
163
164
  reaction: import("../..").USER_REACTION | null;
@@ -168,7 +169,6 @@ export declare namespace FindSTTJobsCommand {
168
169
  timestamp: string;
169
170
  error?: string | null | undefined;
170
171
  }[];
171
- userId: string | null;
172
172
  unregisteredUserId: string | null;
173
173
  isDeleted: boolean;
174
174
  completedAt: Date | null;
@@ -195,15 +195,15 @@ export declare namespace FindSTTJobsCommand {
195
195
  uuid: string;
196
196
  siteId: string;
197
197
  status: import("../..").JOB_STATUS;
198
- duration: number;
199
- title: string;
198
+ userId: string | null;
200
199
  createdAt: Date;
201
200
  updatedAt: Date;
201
+ duration: number;
202
+ title: string;
202
203
  error: string | null;
203
204
  modelId: string;
204
205
  reaction: import("../..").USER_REACTION | null;
205
206
  dislikeReason: string | null;
206
- userId: string | null;
207
207
  unregisteredUserId: string | null;
208
208
  isDeleted: boolean;
209
209
  completedAt: Date | null;
@@ -62,11 +62,11 @@ export declare namespace GetSTTConfigCommand {
62
62
  siteId: string;
63
63
  status: import("../..").TOOL_MODEL_STATUS;
64
64
  description: string;
65
+ createdAt: Date;
66
+ updatedAt: Date;
65
67
  title: string;
66
68
  strategy: string;
67
69
  order: number;
68
- createdAt: Date;
69
- updatedAt: Date;
70
70
  aiModel: string;
71
71
  icons: {
72
72
  light: {
@@ -87,11 +87,11 @@ export declare namespace GetSTTConfigCommand {
87
87
  siteId: string;
88
88
  status: import("../..").TOOL_MODEL_STATUS;
89
89
  description: string;
90
+ createdAt: Date;
91
+ updatedAt: Date;
90
92
  title: string;
91
93
  strategy: string;
92
94
  order: number;
93
- createdAt: Date;
94
- updatedAt: Date;
95
95
  aiModel: string;
96
96
  icons: {
97
97
  light: {
@@ -114,11 +114,11 @@ export declare namespace GetSTTConfigCommand {
114
114
  siteId: string;
115
115
  status: import("../..").TOOL_MODEL_STATUS;
116
116
  description: string;
117
+ createdAt: Date;
118
+ updatedAt: Date;
117
119
  title: string;
118
120
  strategy: string;
119
121
  order: number;
120
- createdAt: Date;
121
- updatedAt: Date;
122
122
  aiModel: string;
123
123
  icons: {
124
124
  light: {
@@ -141,11 +141,11 @@ export declare namespace GetSTTConfigCommand {
141
141
  siteId: string;
142
142
  status: import("../..").TOOL_MODEL_STATUS;
143
143
  description: string;
144
+ createdAt: Date;
145
+ updatedAt: Date;
144
146
  title: string;
145
147
  strategy: string;
146
148
  order: number;
147
- createdAt: Date;
148
- updatedAt: Date;
149
149
  aiModel: string;
150
150
  icons: {
151
151
  light: {
@@ -170,11 +170,11 @@ export declare namespace GetSTTConfigCommand {
170
170
  siteId: string;
171
171
  status: import("../..").TOOL_MODEL_STATUS;
172
172
  description: string;
173
+ createdAt: Date;
174
+ updatedAt: Date;
173
175
  title: string;
174
176
  strategy: string;
175
177
  order: number;
176
- createdAt: Date;
177
- updatedAt: Date;
178
178
  aiModel: string;
179
179
  icons: {
180
180
  light: {
@@ -199,11 +199,11 @@ export declare namespace GetSTTConfigCommand {
199
199
  siteId: string;
200
200
  status: import("../..").TOOL_MODEL_STATUS;
201
201
  description: string;
202
+ createdAt: Date;
203
+ updatedAt: Date;
202
204
  title: string;
203
205
  strategy: string;
204
206
  order: number;
205
- createdAt: Date;
206
- updatedAt: Date;
207
207
  aiModel: string;
208
208
  icons: {
209
209
  light: {
@@ -68,10 +68,11 @@ export declare namespace GetSTTJobCommand {
68
68
  uuid: string;
69
69
  siteId: string;
70
70
  status: import("../..").JOB_STATUS;
71
- duration: number;
72
- title: string;
71
+ userId: string | null;
73
72
  createdAt: Date;
74
73
  updatedAt: Date;
74
+ duration: number;
75
+ title: string;
75
76
  error: string | null;
76
77
  modelId: string;
77
78
  reaction: import("../..").USER_REACTION | null;
@@ -82,7 +83,6 @@ export declare namespace GetSTTJobCommand {
82
83
  timestamp: string;
83
84
  error?: string | null | undefined;
84
85
  }[];
85
- userId: string | null;
86
86
  unregisteredUserId: string | null;
87
87
  isDeleted: boolean;
88
88
  completedAt: Date | null;
@@ -102,15 +102,15 @@ export declare namespace GetSTTJobCommand {
102
102
  uuid: string;
103
103
  siteId: string;
104
104
  status: import("../..").JOB_STATUS;
105
- duration: number;
106
- title: string;
105
+ userId: string | null;
107
106
  createdAt: Date;
108
107
  updatedAt: Date;
108
+ duration: number;
109
+ title: string;
109
110
  error: string | null;
110
111
  modelId: string;
111
112
  reaction: import("../..").USER_REACTION | null;
112
113
  dislikeReason: string | null;
113
- userId: string | null;
114
114
  unregisteredUserId: string | null;
115
115
  isDeleted: boolean;
116
116
  completedAt: Date | null;
@@ -138,10 +138,11 @@ export declare namespace GetSTTJobCommand {
138
138
  uuid: string;
139
139
  siteId: string;
140
140
  status: import("../..").JOB_STATUS;
141
- duration: number;
142
- title: string;
141
+ userId: string | null;
143
142
  createdAt: Date;
144
143
  updatedAt: Date;
144
+ duration: number;
145
+ title: string;
145
146
  error: string | null;
146
147
  modelId: string;
147
148
  reaction: import("../..").USER_REACTION | null;
@@ -152,7 +153,6 @@ export declare namespace GetSTTJobCommand {
152
153
  timestamp: string;
153
154
  error?: string | null | undefined;
154
155
  }[];
155
- userId: string | null;
156
156
  unregisteredUserId: string | null;
157
157
  isDeleted: boolean;
158
158
  completedAt: Date | null;
@@ -174,15 +174,15 @@ export declare namespace GetSTTJobCommand {
174
174
  uuid: string;
175
175
  siteId: string;
176
176
  status: import("../..").JOB_STATUS;
177
- duration: number;
178
- title: string;
177
+ userId: string | null;
179
178
  createdAt: Date;
180
179
  updatedAt: Date;
180
+ duration: number;
181
+ title: string;
181
182
  error: string | null;
182
183
  modelId: string;
183
184
  reaction: import("../..").USER_REACTION | null;
184
185
  dislikeReason: string | null;
185
- userId: string | null;
186
186
  unregisteredUserId: string | null;
187
187
  isDeleted: boolean;
188
188
  completedAt: Date | null;
@@ -66,9 +66,9 @@ export declare namespace GetSubscriptionsSummaryCommand {
66
66
  active: boolean;
67
67
  uuid: string;
68
68
  status: USER_TO_SUBSCRIPTION_STATUS;
69
- createdAt: string | Date;
70
- tokenBalance: number;
71
69
  initTokenBalance: number;
70
+ tokenBalance: number;
71
+ createdAt: string | Date;
72
72
  carriedOverTokenBalance: number;
73
73
  subscription: {
74
74
  price: number;
@@ -90,9 +90,9 @@ export declare namespace GetSubscriptionsSummaryCommand {
90
90
  active: boolean;
91
91
  uuid: string;
92
92
  status: USER_TO_SUBSCRIPTION_STATUS;
93
- createdAt: string | Date;
94
- tokenBalance: number;
95
93
  initTokenBalance: number;
94
+ tokenBalance: number;
95
+ createdAt: string | Date;
96
96
  carriedOverTokenBalance: number;
97
97
  subscription: {
98
98
  price: number;
@@ -160,9 +160,9 @@ export declare namespace GetSubscriptionsSummaryCommand {
160
160
  }, "strip", z.ZodTypeAny, {
161
161
  uuid: string;
162
162
  status: USER_TO_PRODUCT_STATUS;
163
- createdAt: string | Date;
164
- tokenBalance: number;
165
163
  initTokenBalance: number;
164
+ tokenBalance: number;
165
+ createdAt: string | Date;
166
166
  product: {
167
167
  price: number;
168
168
  uuid: string;
@@ -178,9 +178,9 @@ export declare namespace GetSubscriptionsSummaryCommand {
178
178
  }, {
179
179
  uuid: string;
180
180
  status: USER_TO_PRODUCT_STATUS;
181
- createdAt: string | Date;
182
- tokenBalance: number;
183
181
  initTokenBalance: number;
182
+ tokenBalance: number;
183
+ createdAt: string | Date;
184
184
  product: {
185
185
  price: number;
186
186
  uuid: string;
@@ -213,9 +213,9 @@ export declare namespace GetSubscriptionsSummaryCommand {
213
213
  active: boolean;
214
214
  uuid: string;
215
215
  status: USER_TO_SUBSCRIPTION_STATUS;
216
- createdAt: string | Date;
217
- tokenBalance: number;
218
216
  initTokenBalance: number;
217
+ tokenBalance: number;
218
+ createdAt: string | Date;
219
219
  carriedOverTokenBalance: number;
220
220
  subscription: {
221
221
  price: number;
@@ -237,9 +237,9 @@ export declare namespace GetSubscriptionsSummaryCommand {
237
237
  products: {
238
238
  uuid: string;
239
239
  status: USER_TO_PRODUCT_STATUS;
240
- createdAt: string | Date;
241
- tokenBalance: number;
242
240
  initTokenBalance: number;
241
+ tokenBalance: number;
242
+ createdAt: string | Date;
243
243
  product: {
244
244
  price: number;
245
245
  uuid: string;
@@ -262,9 +262,9 @@ export declare namespace GetSubscriptionsSummaryCommand {
262
262
  active: boolean;
263
263
  uuid: string;
264
264
  status: USER_TO_SUBSCRIPTION_STATUS;
265
- createdAt: string | Date;
266
- tokenBalance: number;
267
265
  initTokenBalance: number;
266
+ tokenBalance: number;
267
+ createdAt: string | Date;
268
268
  carriedOverTokenBalance: number;
269
269
  subscription: {
270
270
  price: number;
@@ -286,9 +286,9 @@ export declare namespace GetSubscriptionsSummaryCommand {
286
286
  products: {
287
287
  uuid: string;
288
288
  status: USER_TO_PRODUCT_STATUS;
289
- createdAt: string | Date;
290
- tokenBalance: number;
291
289
  initTokenBalance: number;
290
+ tokenBalance: number;
291
+ createdAt: string | Date;
292
292
  product: {
293
293
  price: number;
294
294
  uuid: string;
@@ -81,10 +81,11 @@ export declare namespace FindTTSJobsCommand {
81
81
  style?: number | undefined;
82
82
  language?: string | undefined;
83
83
  };
84
- duration: number;
85
- title: string;
84
+ userId: string | null;
86
85
  createdAt: Date;
87
86
  updatedAt: Date;
87
+ duration: number;
88
+ title: string;
88
89
  error: string | null;
89
90
  modelId: string;
90
91
  reaction: import("../..").USER_REACTION | null;
@@ -95,7 +96,6 @@ export declare namespace FindTTSJobsCommand {
95
96
  timestamp: string;
96
97
  error?: string | null | undefined;
97
98
  }[];
98
- userId: string | null;
99
99
  unregisteredUserId: string | null;
100
100
  isDeleted: boolean;
101
101
  completedAt: Date | null;
@@ -116,15 +116,15 @@ export declare namespace FindTTSJobsCommand {
116
116
  style?: number | undefined;
117
117
  language?: string | undefined;
118
118
  };
119
- duration: number;
120
- title: string;
119
+ userId: string | null;
121
120
  createdAt: Date;
122
121
  updatedAt: Date;
122
+ duration: number;
123
+ title: string;
123
124
  error: string | null;
124
125
  modelId: string;
125
126
  reaction: import("../..").USER_REACTION | null;
126
127
  dislikeReason: string | null;
127
- userId: string | null;
128
128
  unregisteredUserId: string | null;
129
129
  isDeleted: boolean;
130
130
  completedAt: Date | null;
@@ -166,10 +166,11 @@ export declare namespace FindTTSJobsCommand {
166
166
  style?: number | undefined;
167
167
  language?: string | undefined;
168
168
  };
169
- duration: number;
170
- title: string;
169
+ userId: string | null;
171
170
  createdAt: Date;
172
171
  updatedAt: Date;
172
+ duration: number;
173
+ title: string;
173
174
  error: string | null;
174
175
  modelId: string;
175
176
  reaction: import("../..").USER_REACTION | null;
@@ -180,7 +181,6 @@ export declare namespace FindTTSJobsCommand {
180
181
  timestamp: string;
181
182
  error?: string | null | undefined;
182
183
  }[];
183
- userId: string | null;
184
184
  unregisteredUserId: string | null;
185
185
  isDeleted: boolean;
186
186
  completedAt: Date | null;
@@ -208,15 +208,15 @@ export declare namespace FindTTSJobsCommand {
208
208
  style?: number | undefined;
209
209
  language?: string | undefined;
210
210
  };
211
- duration: number;
212
- title: string;
211
+ userId: string | null;
213
212
  createdAt: Date;
214
213
  updatedAt: Date;
214
+ duration: number;
215
+ title: string;
215
216
  error: string | null;
216
217
  modelId: string;
217
218
  reaction: import("../..").USER_REACTION | null;
218
219
  dislikeReason: string | null;
219
- userId: string | null;
220
220
  unregisteredUserId: string | null;
221
221
  isDeleted: boolean;
222
222
  completedAt: Date | null;
@@ -712,11 +712,11 @@ export declare namespace GetTTSConfigCommand {
712
712
  } | undefined;
713
713
  };
714
714
  description: string;
715
+ createdAt: Date;
716
+ updatedAt: Date;
715
717
  title: string;
716
718
  strategy: string;
717
719
  order: number;
718
- createdAt: Date;
719
- updatedAt: Date;
720
720
  aiModel: string;
721
721
  icons: {
722
722
  light: {
@@ -833,11 +833,11 @@ export declare namespace GetTTSConfigCommand {
833
833
  } | undefined;
834
834
  };
835
835
  description: string;
836
+ createdAt: Date;
837
+ updatedAt: Date;
836
838
  title: string;
837
839
  strategy: string;
838
840
  order: number;
839
- createdAt: Date;
840
- updatedAt: Date;
841
841
  aiModel: string;
842
842
  icons: {
843
843
  light: {
@@ -956,11 +956,11 @@ export declare namespace GetTTSConfigCommand {
956
956
  } | undefined;
957
957
  };
958
958
  description: string;
959
+ createdAt: Date;
960
+ updatedAt: Date;
959
961
  title: string;
960
962
  strategy: string;
961
963
  order: number;
962
- createdAt: Date;
963
- updatedAt: Date;
964
964
  aiModel: string;
965
965
  icons: {
966
966
  light: {
@@ -1079,11 +1079,11 @@ export declare namespace GetTTSConfigCommand {
1079
1079
  } | undefined;
1080
1080
  };
1081
1081
  description: string;
1082
+ createdAt: Date;
1083
+ updatedAt: Date;
1082
1084
  title: string;
1083
1085
  strategy: string;
1084
1086
  order: number;
1085
- createdAt: Date;
1086
- updatedAt: Date;
1087
1087
  aiModel: string;
1088
1088
  icons: {
1089
1089
  light: {
@@ -1204,11 +1204,11 @@ export declare namespace GetTTSConfigCommand {
1204
1204
  } | undefined;
1205
1205
  };
1206
1206
  description: string;
1207
+ createdAt: Date;
1208
+ updatedAt: Date;
1207
1209
  title: string;
1208
1210
  strategy: string;
1209
1211
  order: number;
1210
- createdAt: Date;
1211
- updatedAt: Date;
1212
1212
  aiModel: string;
1213
1213
  icons: {
1214
1214
  light: {
@@ -1329,11 +1329,11 @@ export declare namespace GetTTSConfigCommand {
1329
1329
  } | undefined;
1330
1330
  };
1331
1331
  description: string;
1332
+ createdAt: Date;
1333
+ updatedAt: Date;
1332
1334
  title: string;
1333
1335
  strategy: string;
1334
1336
  order: number;
1335
- createdAt: Date;
1336
- updatedAt: Date;
1337
1337
  aiModel: string;
1338
1338
  icons: {
1339
1339
  light: {
@@ -78,10 +78,11 @@ export declare namespace GetTTSJobCommand {
78
78
  style?: number | undefined;
79
79
  language?: string | undefined;
80
80
  };
81
- duration: number;
82
- title: string;
81
+ userId: string | null;
83
82
  createdAt: Date;
84
83
  updatedAt: Date;
84
+ duration: number;
85
+ title: string;
85
86
  error: string | null;
86
87
  modelId: string;
87
88
  reaction: import("../..").USER_REACTION | null;
@@ -92,7 +93,6 @@ export declare namespace GetTTSJobCommand {
92
93
  timestamp: string;
93
94
  error?: string | null | undefined;
94
95
  }[];
95
- userId: string | null;
96
96
  unregisteredUserId: string | null;
97
97
  isDeleted: boolean;
98
98
  completedAt: Date | null;
@@ -113,15 +113,15 @@ export declare namespace GetTTSJobCommand {
113
113
  style?: number | undefined;
114
114
  language?: string | undefined;
115
115
  };
116
- duration: number;
117
- title: string;
116
+ userId: string | null;
118
117
  createdAt: Date;
119
118
  updatedAt: Date;
119
+ duration: number;
120
+ title: string;
120
121
  error: string | null;
121
122
  modelId: string;
122
123
  reaction: import("../..").USER_REACTION | null;
123
124
  dislikeReason: string | null;
124
- userId: string | null;
125
125
  unregisteredUserId: string | null;
126
126
  isDeleted: boolean;
127
127
  completedAt: Date | null;
@@ -150,10 +150,11 @@ export declare namespace GetTTSJobCommand {
150
150
  style?: number | undefined;
151
151
  language?: string | undefined;
152
152
  };
153
- duration: number;
154
- title: string;
153
+ userId: string | null;
155
154
  createdAt: Date;
156
155
  updatedAt: Date;
156
+ duration: number;
157
+ title: string;
157
158
  error: string | null;
158
159
  modelId: string;
159
160
  reaction: import("../..").USER_REACTION | null;
@@ -164,7 +165,6 @@ export declare namespace GetTTSJobCommand {
164
165
  timestamp: string;
165
166
  error?: string | null | undefined;
166
167
  }[];
167
- userId: string | null;
168
168
  unregisteredUserId: string | null;
169
169
  isDeleted: boolean;
170
170
  completedAt: Date | null;
@@ -187,15 +187,15 @@ export declare namespace GetTTSJobCommand {
187
187
  style?: number | undefined;
188
188
  language?: string | undefined;
189
189
  };
190
- duration: number;
191
- title: string;
190
+ userId: string | null;
192
191
  createdAt: Date;
193
192
  updatedAt: Date;
193
+ duration: number;
194
+ title: string;
194
195
  error: string | null;
195
196
  modelId: string;
196
197
  reaction: import("../..").USER_REACTION | null;
197
198
  dislikeReason: string | null;
198
- userId: string | null;
199
199
  unregisteredUserId: string | null;
200
200
  isDeleted: boolean;
201
201
  completedAt: Date | null;