@purpleschool/multisite 0.0.21 → 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.
Files changed (129) hide show
  1. package/api/controller/http/index.ts +2 -0
  2. package/api/controller/http/user-to-product.ts +7 -0
  3. package/api/controller/http/user-to-subscription.ts +8 -0
  4. package/api/routes.ts +18 -0
  5. package/build/api/controller/http/index.d.ts +2 -0
  6. package/build/api/controller/http/index.d.ts.map +1 -1
  7. package/build/api/controller/http/index.js +2 -0
  8. package/build/api/controller/http/user-to-product.d.ts +7 -0
  9. package/build/api/controller/http/user-to-product.d.ts.map +1 -0
  10. package/build/api/controller/http/user-to-product.js +9 -0
  11. package/build/api/controller/http/user-to-subscription.d.ts +8 -0
  12. package/build/api/controller/http/user-to-subscription.d.ts.map +1 -0
  13. package/build/api/controller/http/user-to-subscription.js +10 -0
  14. package/build/api/routes.d.ts +11 -0
  15. package/build/api/routes.d.ts.map +1 -1
  16. package/build/api/routes.js +11 -0
  17. package/build/commands/image-editor/execute-image-editor.command.d.ts +4 -4
  18. package/build/commands/image-editor/retry-image-editor-job.command.d.ts +4 -4
  19. package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +4 -4
  20. package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +4 -4
  21. package/build/commands/image-generation/execute-image-generation.command.d.ts +4 -4
  22. package/build/commands/image-generation/retry-image-generation-job.command.d.ts +4 -4
  23. package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +4 -4
  24. package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +4 -4
  25. package/build/commands/index.d.ts +2 -0
  26. package/build/commands/index.d.ts.map +1 -1
  27. package/build/commands/index.js +2 -0
  28. package/build/commands/page/create-page.command.d.ts +4 -4
  29. package/build/commands/page/find-page-by-alias.command.d.ts +12 -12
  30. package/build/commands/page/find-page-by-criteria.command.d.ts +4 -4
  31. package/build/commands/page/find-page.command.d.ts +8 -8
  32. package/build/commands/page/update-page.command.d.ts +4 -4
  33. package/build/commands/payment/cloud-payments.command.d.ts +2 -2
  34. package/build/commands/stt/execute-stt.command.d.ts +12 -12
  35. package/build/commands/stt/retry-stt-job.command.d.ts +12 -12
  36. package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +12 -12
  37. package/build/commands/stt/update-stt-job-title.command.d.ts +12 -12
  38. package/build/commands/tts/execute-tts.command.d.ts +12 -12
  39. package/build/commands/tts/retry-tts-job.command.d.ts +12 -12
  40. package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +12 -12
  41. package/build/commands/tts/update-tts-job-title.command.d.ts +12 -12
  42. package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +4 -4
  43. package/build/commands/user-to-product/delete-user-to-product.command.d.ts +20 -0
  44. package/build/commands/user-to-product/delete-user-to-product.command.d.ts.map +1 -0
  45. package/build/commands/user-to-product/delete-user-to-product.command.js +13 -0
  46. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts +75 -0
  47. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts.map +1 -0
  48. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.js +14 -0
  49. package/build/commands/user-to-product/index.d.ts +4 -0
  50. package/build/commands/user-to-product/index.d.ts.map +1 -0
  51. package/build/commands/user-to-product/index.js +19 -0
  52. package/build/commands/user-to-product/update-user-to-product.command.d.ts +93 -0
  53. package/build/commands/user-to-product/update-user-to-product.command.d.ts.map +1 -0
  54. package/build/commands/user-to-product/update-user-to-product.command.js +21 -0
  55. package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts +14 -0
  56. package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts.map +1 -0
  57. package/build/commands/user-to-subscription/admin-cancel-subscription.command.js +11 -0
  58. package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts +20 -0
  59. package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts.map +1 -0
  60. package/build/commands/user-to-subscription/delete-user-to-subscription.command.js +13 -0
  61. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +115 -0
  62. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts.map +1 -0
  63. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.js +14 -0
  64. package/build/commands/user-to-subscription/index.d.ts +5 -0
  65. package/build/commands/user-to-subscription/index.d.ts.map +1 -0
  66. package/build/commands/user-to-subscription/index.js +20 -0
  67. package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +157 -0
  68. package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts.map +1 -0
  69. package/build/commands/user-to-subscription/update-user-to-subscription.command.js +29 -0
  70. package/build/constants/errors/errors.d.ts +60 -0
  71. package/build/constants/errors/errors.d.ts.map +1 -1
  72. package/build/constants/errors/errors.js +62 -0
  73. package/build/models/image-editor/image-editor-config.schema.d.ts +10 -10
  74. package/build/models/image-editor/image-editor-job.schema.d.ts +2 -2
  75. package/build/models/image-editor/image-editor-model.schema.d.ts +2 -2
  76. package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +4 -4
  77. package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +2 -2
  78. package/build/models/image-generation/image-generation-config.schema.d.ts +6 -6
  79. package/build/models/image-generation/image-generation-job.schema.d.ts +2 -2
  80. package/build/models/image-generation/image-generation-model.schema.d.ts +2 -2
  81. package/build/models/image-generation/image-generation-vendor.schema.d.ts +4 -4
  82. package/build/models/index.d.ts +2 -0
  83. package/build/models/index.d.ts.map +1 -1
  84. package/build/models/index.js +2 -0
  85. package/build/models/page.schema.d.ts +4 -4
  86. package/build/models/stt/stt-config.schema.d.ts +8 -8
  87. package/build/models/stt/stt-job.schema.d.ts +6 -6
  88. package/build/models/stt/stt-model.schema.d.ts +4 -4
  89. package/build/models/tts/tts-config.schema.d.ts +8 -8
  90. package/build/models/tts/tts-job.schema.d.ts +6 -6
  91. package/build/models/tts/tts-model.schema.d.ts +4 -4
  92. package/build/models/user-to-product.schema.d.ts +37 -0
  93. package/build/models/user-to-product.schema.d.ts.map +1 -0
  94. package/build/models/user-to-product.schema.js +17 -0
  95. package/build/models/user-to-subscription.schema.d.ts +61 -0
  96. package/build/models/user-to-subscription.schema.d.ts.map +1 -0
  97. package/build/models/user-to-subscription.schema.js +25 -0
  98. package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +4 -4
  99. package/build/queries/image-editor/get-image-editor-config.command.d.ts +14 -14
  100. package/build/queries/image-editor/get-image-editor-job.command.d.ts +4 -4
  101. package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +4 -4
  102. package/build/queries/image-generation/get-image-generation-config.command.d.ts +8 -8
  103. package/build/queries/image-generation/get-image-generation-job.command.d.ts +4 -4
  104. package/build/queries/payment/get-payment-history.command.d.ts +6 -6
  105. package/build/queries/stt/find-stt-jobs.command.d.ts +12 -12
  106. package/build/queries/stt/get-stt-config.command.d.ts +12 -12
  107. package/build/queries/stt/get-stt-job.command.d.ts +12 -12
  108. package/build/queries/subscription/get-subscriptions-summary.command.d.ts +16 -16
  109. package/build/queries/tts/find-tts-jobs.command.d.ts +12 -12
  110. package/build/queries/tts/get-tts-config.command.d.ts +12 -12
  111. package/build/queries/tts/get-tts-job.command.d.ts +12 -12
  112. package/build/queries/user/get-my-products.command.d.ts +8 -8
  113. package/build/queries/user/get-my-subscriptions.command.d.ts +12 -12
  114. package/build/queries/user/get-user-payments.command.d.ts +18 -18
  115. package/commands/index.ts +2 -0
  116. package/commands/user-to-product/delete-user-to-product.command.ts +13 -0
  117. package/commands/user-to-product/get-user-to-product-by-uuid.command.ts +14 -0
  118. package/commands/user-to-product/index.ts +3 -0
  119. package/commands/user-to-product/update-user-to-product.command.ts +23 -0
  120. package/commands/user-to-subscription/admin-cancel-subscription.command.ts +11 -0
  121. package/commands/user-to-subscription/delete-user-to-subscription.command.ts +13 -0
  122. package/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.ts +14 -0
  123. package/commands/user-to-subscription/index.ts +4 -0
  124. package/commands/user-to-subscription/update-user-to-subscription.command.ts +31 -0
  125. package/constants/errors/errors.ts +64 -0
  126. package/models/index.ts +2 -0
  127. package/models/user-to-product.schema.ts +15 -0
  128. package/models/user-to-subscription.schema.ts +23 -0
  129. package/package.json +1 -1
@@ -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;
@@ -51,9 +51,9 @@ export declare namespace GetMyProductsCommand {
51
51
  }, "strip", z.ZodTypeAny, {
52
52
  uuid: string;
53
53
  status: USER_TO_PRODUCT_STATUS;
54
- createdAt: string | Date;
55
- tokenBalance: number;
56
54
  initTokenBalance: number;
55
+ tokenBalance: number;
56
+ createdAt: string | Date;
57
57
  product: {
58
58
  price: number;
59
59
  uuid: string;
@@ -69,9 +69,9 @@ export declare namespace GetMyProductsCommand {
69
69
  }, {
70
70
  uuid: string;
71
71
  status: USER_TO_PRODUCT_STATUS;
72
- createdAt: string | Date;
73
- tokenBalance: number;
74
72
  initTokenBalance: number;
73
+ tokenBalance: number;
74
+ createdAt: string | Date;
75
75
  product: {
76
76
  price: number;
77
77
  uuid: string;
@@ -89,9 +89,9 @@ export declare namespace GetMyProductsCommand {
89
89
  data: {
90
90
  uuid: string;
91
91
  status: USER_TO_PRODUCT_STATUS;
92
- createdAt: string | Date;
93
- tokenBalance: number;
94
92
  initTokenBalance: number;
93
+ tokenBalance: number;
94
+ createdAt: string | Date;
95
95
  product: {
96
96
  price: number;
97
97
  uuid: string;
@@ -109,9 +109,9 @@ export declare namespace GetMyProductsCommand {
109
109
  data: {
110
110
  uuid: string;
111
111
  status: USER_TO_PRODUCT_STATUS;
112
- createdAt: string | Date;
113
- tokenBalance: number;
114
112
  initTokenBalance: number;
113
+ tokenBalance: number;
114
+ createdAt: string | Date;
115
115
  product: {
116
116
  price: number;
117
117
  uuid: string;
@@ -67,10 +67,11 @@ export declare namespace GetMySubscriptionsCommand {
67
67
  active: boolean;
68
68
  uuid: string;
69
69
  status: USER_TO_SUBSCRIPTION_STATUS;
70
- createdAt: string | Date;
71
- tokenBalance: number;
72
70
  initTokenBalance: number;
71
+ tokenBalance: number;
72
+ createdAt: string | Date;
73
73
  carriedOverTokenBalance: number;
74
+ endDate: string | Date | null;
74
75
  subscription: {
75
76
  price: number;
76
77
  interval: string;
@@ -87,15 +88,15 @@ export declare namespace GetMySubscriptionsCommand {
87
88
  discount: number;
88
89
  carryoverPercent: number;
89
90
  };
90
- endDate: string | Date | null;
91
91
  }, {
92
92
  active: boolean;
93
93
  uuid: string;
94
94
  status: USER_TO_SUBSCRIPTION_STATUS;
95
- createdAt: string | Date;
96
- tokenBalance: number;
97
95
  initTokenBalance: number;
96
+ tokenBalance: number;
97
+ createdAt: string | Date;
98
98
  carriedOverTokenBalance: number;
99
+ endDate: string | Date | null;
99
100
  subscription: {
100
101
  price: number;
101
102
  interval: string;
@@ -112,17 +113,17 @@ export declare namespace GetMySubscriptionsCommand {
112
113
  discount: number;
113
114
  carryoverPercent: number;
114
115
  };
115
- endDate: string | Date | null;
116
116
  }>, "many">;
117
117
  }, "strip", z.ZodTypeAny, {
118
118
  data: {
119
119
  active: boolean;
120
120
  uuid: string;
121
121
  status: USER_TO_SUBSCRIPTION_STATUS;
122
- createdAt: string | Date;
123
- tokenBalance: number;
124
122
  initTokenBalance: number;
123
+ tokenBalance: number;
124
+ createdAt: string | Date;
125
125
  carriedOverTokenBalance: number;
126
+ endDate: string | Date | null;
126
127
  subscription: {
127
128
  price: number;
128
129
  interval: string;
@@ -139,17 +140,17 @@ export declare namespace GetMySubscriptionsCommand {
139
140
  discount: number;
140
141
  carryoverPercent: number;
141
142
  };
142
- endDate: string | Date | null;
143
143
  }[];
144
144
  }, {
145
145
  data: {
146
146
  active: boolean;
147
147
  uuid: string;
148
148
  status: USER_TO_SUBSCRIPTION_STATUS;
149
- createdAt: string | Date;
150
- tokenBalance: number;
151
149
  initTokenBalance: number;
150
+ tokenBalance: number;
151
+ createdAt: string | Date;
152
152
  carriedOverTokenBalance: number;
153
+ endDate: string | Date | null;
153
154
  subscription: {
154
155
  price: number;
155
156
  interval: string;
@@ -166,7 +167,6 @@ export declare namespace GetMySubscriptionsCommand {
166
167
  discount: number;
167
168
  carryoverPercent: number;
168
169
  };
169
- endDate: string | Date | null;
170
170
  }[];
171
171
  }>;
172
172
  type Response = z.infer<typeof ResponseSchema>;