@purpleschool/multisite 0.0.20 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/api/controller/http/index.ts +2 -0
  2. package/api/controller/http/payment.ts +1 -0
  3. package/api/controller/http/product.ts +2 -0
  4. package/api/controller/http/subscription.ts +0 -1
  5. package/api/controller/http/user-to-product.ts +7 -0
  6. package/api/controller/http/user-to-subscription.ts +8 -0
  7. package/api/routes.ts +23 -2
  8. package/build/api/controller/http/index.d.ts +2 -0
  9. package/build/api/controller/http/index.d.ts.map +1 -1
  10. package/build/api/controller/http/index.js +2 -0
  11. package/build/api/controller/http/payment.d.ts +1 -0
  12. package/build/api/controller/http/payment.d.ts.map +1 -1
  13. package/build/api/controller/http/payment.js +1 -0
  14. package/build/api/controller/http/product.d.ts +2 -0
  15. package/build/api/controller/http/product.d.ts.map +1 -1
  16. package/build/api/controller/http/product.js +2 -0
  17. package/build/api/controller/http/subscription.d.ts +0 -1
  18. package/build/api/controller/http/subscription.d.ts.map +1 -1
  19. package/build/api/controller/http/subscription.js +0 -1
  20. package/build/api/controller/http/user-to-product.d.ts +7 -0
  21. package/build/api/controller/http/user-to-product.d.ts.map +1 -0
  22. package/build/api/controller/http/user-to-product.js +9 -0
  23. package/build/api/controller/http/user-to-subscription.d.ts +8 -0
  24. package/build/api/controller/http/user-to-subscription.d.ts.map +1 -0
  25. package/build/api/controller/http/user-to-subscription.js +10 -0
  26. package/build/api/routes.d.ts +14 -1
  27. package/build/api/routes.d.ts.map +1 -1
  28. package/build/api/routes.js +14 -1
  29. package/build/commands/image-editor/execute-image-editor.command.d.ts +4 -4
  30. package/build/commands/image-editor/retry-image-editor-job.command.d.ts +4 -4
  31. package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +4 -4
  32. package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +4 -4
  33. package/build/commands/image-generation/execute-image-generation.command.d.ts +4 -4
  34. package/build/commands/image-generation/retry-image-generation-job.command.d.ts +4 -4
  35. package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +4 -4
  36. package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +4 -4
  37. package/build/commands/index.d.ts +2 -0
  38. package/build/commands/index.d.ts.map +1 -1
  39. package/build/commands/index.js +2 -0
  40. package/build/commands/page/create-page.command.d.ts +4 -4
  41. package/build/commands/page/find-page-by-alias.command.d.ts +12 -12
  42. package/build/commands/page/find-page-by-criteria.command.d.ts +4 -4
  43. package/build/commands/page/find-page.command.d.ts +8 -8
  44. package/build/commands/page/update-page.command.d.ts +4 -4
  45. package/build/commands/payment/cloud-payments.command.d.ts +2 -2
  46. package/build/commands/payment/index.d.ts +1 -0
  47. package/build/commands/payment/index.d.ts.map +1 -1
  48. package/build/commands/payment/index.js +1 -0
  49. package/build/commands/payment/refund-payment.command.d.ts +20 -0
  50. package/build/commands/payment/refund-payment.command.d.ts.map +1 -0
  51. package/build/commands/payment/refund-payment.command.js +13 -0
  52. package/build/commands/{subscription/refund-subscription.command.d.ts → product/delete-product.command.d.ts} +2 -2
  53. package/build/commands/product/delete-product.command.d.ts.map +1 -0
  54. package/build/commands/product/delete-product.command.js +13 -0
  55. package/build/commands/product/index.d.ts +2 -0
  56. package/build/commands/product/index.d.ts.map +1 -1
  57. package/build/commands/product/index.js +2 -0
  58. package/build/commands/product/update-product.command.d.ts +116 -0
  59. package/build/commands/product/update-product.command.d.ts.map +1 -0
  60. package/build/commands/product/update-product.command.js +26 -0
  61. package/build/commands/stt/execute-stt.command.d.ts +12 -12
  62. package/build/commands/stt/retry-stt-job.command.d.ts +12 -12
  63. package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +12 -12
  64. package/build/commands/stt/update-stt-job-title.command.d.ts +12 -12
  65. package/build/commands/subscription/index.d.ts +0 -1
  66. package/build/commands/subscription/index.d.ts.map +1 -1
  67. package/build/commands/subscription/index.js +0 -1
  68. package/build/commands/tts/execute-tts.command.d.ts +12 -12
  69. package/build/commands/tts/retry-tts-job.command.d.ts +12 -12
  70. package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +12 -12
  71. package/build/commands/tts/update-tts-job-title.command.d.ts +12 -12
  72. package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +4 -4
  73. package/build/commands/user-to-product/delete-user-to-product.command.d.ts +20 -0
  74. package/build/commands/user-to-product/delete-user-to-product.command.d.ts.map +1 -0
  75. package/build/commands/user-to-product/delete-user-to-product.command.js +13 -0
  76. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts +75 -0
  77. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts.map +1 -0
  78. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.js +14 -0
  79. package/build/commands/user-to-product/index.d.ts +4 -0
  80. package/build/commands/user-to-product/index.d.ts.map +1 -0
  81. package/build/commands/user-to-product/index.js +19 -0
  82. package/build/commands/user-to-product/update-user-to-product.command.d.ts +93 -0
  83. package/build/commands/user-to-product/update-user-to-product.command.d.ts.map +1 -0
  84. package/build/commands/user-to-product/update-user-to-product.command.js +21 -0
  85. package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts +14 -0
  86. package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts.map +1 -0
  87. package/build/commands/user-to-subscription/admin-cancel-subscription.command.js +11 -0
  88. package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts +20 -0
  89. package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts.map +1 -0
  90. package/build/commands/user-to-subscription/delete-user-to-subscription.command.js +13 -0
  91. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +115 -0
  92. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts.map +1 -0
  93. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.js +14 -0
  94. package/build/commands/user-to-subscription/index.d.ts +5 -0
  95. package/build/commands/user-to-subscription/index.d.ts.map +1 -0
  96. package/build/commands/user-to-subscription/index.js +20 -0
  97. package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +157 -0
  98. package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts.map +1 -0
  99. package/build/commands/user-to-subscription/update-user-to-subscription.command.js +29 -0
  100. package/build/constants/errors/errors.d.ts +65 -0
  101. package/build/constants/errors/errors.d.ts.map +1 -1
  102. package/build/constants/errors/errors.js +67 -0
  103. package/build/constants/payment/enums/payment-status.enum.d.ts +2 -1
  104. package/build/constants/payment/enums/payment-status.enum.d.ts.map +1 -1
  105. package/build/constants/payment/enums/payment-status.enum.js +1 -0
  106. package/build/models/image-editor/image-editor-config.schema.d.ts +10 -10
  107. package/build/models/image-editor/image-editor-job.schema.d.ts +2 -2
  108. package/build/models/image-editor/image-editor-model.schema.d.ts +2 -2
  109. package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +4 -4
  110. package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +2 -2
  111. package/build/models/image-generation/image-generation-config.schema.d.ts +6 -6
  112. package/build/models/image-generation/image-generation-job.schema.d.ts +2 -2
  113. package/build/models/image-generation/image-generation-model.schema.d.ts +2 -2
  114. package/build/models/image-generation/image-generation-vendor.schema.d.ts +4 -4
  115. package/build/models/index.d.ts +2 -0
  116. package/build/models/index.d.ts.map +1 -1
  117. package/build/models/index.js +2 -0
  118. package/build/models/page.schema.d.ts +4 -4
  119. package/build/models/stt/stt-config.schema.d.ts +8 -8
  120. package/build/models/stt/stt-job.schema.d.ts +6 -6
  121. package/build/models/stt/stt-model.schema.d.ts +4 -4
  122. package/build/models/tts/tts-config.schema.d.ts +8 -8
  123. package/build/models/tts/tts-job.schema.d.ts +6 -6
  124. package/build/models/tts/tts-model.schema.d.ts +4 -4
  125. package/build/models/user-to-product.schema.d.ts +37 -0
  126. package/build/models/user-to-product.schema.d.ts.map +1 -0
  127. package/build/models/user-to-product.schema.js +17 -0
  128. package/build/models/user-to-subscription.schema.d.ts +61 -0
  129. package/build/models/user-to-subscription.schema.d.ts.map +1 -0
  130. package/build/models/user-to-subscription.schema.js +25 -0
  131. package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +4 -4
  132. package/build/queries/image-editor/get-image-editor-config.command.d.ts +14 -14
  133. package/build/queries/image-editor/get-image-editor-job.command.d.ts +4 -4
  134. package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +4 -4
  135. package/build/queries/image-generation/get-image-generation-config.command.d.ts +8 -8
  136. package/build/queries/image-generation/get-image-generation-job.command.d.ts +4 -4
  137. package/build/queries/payment/get-payment-history.command.d.ts +6 -6
  138. package/build/queries/stt/find-stt-jobs.command.d.ts +12 -12
  139. package/build/queries/stt/get-stt-config.command.d.ts +12 -12
  140. package/build/queries/stt/get-stt-job.command.d.ts +12 -12
  141. package/build/queries/subscription/get-subscriptions-summary.command.d.ts +16 -16
  142. package/build/queries/tts/find-tts-jobs.command.d.ts +12 -12
  143. package/build/queries/tts/get-tts-config.command.d.ts +12 -12
  144. package/build/queries/tts/get-tts-job.command.d.ts +12 -12
  145. package/build/queries/user/get-my-products.command.d.ts +8 -8
  146. package/build/queries/user/get-my-subscriptions.command.d.ts +12 -12
  147. package/build/queries/user/get-user-payments.command.d.ts +18 -18
  148. package/commands/index.ts +2 -0
  149. package/commands/payment/index.ts +1 -0
  150. package/commands/payment/refund-payment.command.ts +13 -0
  151. package/commands/{subscription/refund-subscription.command.ts → product/delete-product.command.ts} +1 -1
  152. package/commands/product/index.ts +2 -0
  153. package/commands/product/update-product.command.ts +30 -0
  154. package/commands/subscription/index.ts +0 -1
  155. package/commands/user-to-product/delete-user-to-product.command.ts +13 -0
  156. package/commands/user-to-product/get-user-to-product-by-uuid.command.ts +14 -0
  157. package/commands/user-to-product/index.ts +3 -0
  158. package/commands/user-to-product/update-user-to-product.command.ts +23 -0
  159. package/commands/user-to-subscription/admin-cancel-subscription.command.ts +11 -0
  160. package/commands/user-to-subscription/delete-user-to-subscription.command.ts +13 -0
  161. package/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.ts +14 -0
  162. package/commands/user-to-subscription/index.ts +4 -0
  163. package/commands/user-to-subscription/update-user-to-subscription.command.ts +31 -0
  164. package/constants/errors/errors.ts +69 -0
  165. package/constants/payment/enums/payment-status.enum.ts +1 -0
  166. package/models/index.ts +2 -0
  167. package/models/user-to-product.schema.ts +15 -0
  168. package/models/user-to-subscription.schema.ts +23 -0
  169. package/package.json +1 -1
  170. package/build/commands/subscription/refund-subscription.command.d.ts.map +0 -1
  171. package/build/commands/subscription/refund-subscription.command.js +0 -13
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateProductCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../models");
6
+ var UpdateProductCommand;
7
+ (function (UpdateProductCommand) {
8
+ UpdateProductCommand.RequestParamSchema = zod_1.z.object({
9
+ uuid: zod_1.z.string().uuid(),
10
+ });
11
+ UpdateProductCommand.RequestSchema = zod_1.z.object({
12
+ name: zod_1.z.string().min(1).max(200).optional(),
13
+ description: zod_1.z.string().min(1).max(2000).optional(),
14
+ price: zod_1.z.number().int().min(0).optional(),
15
+ tokens: zod_1.z.number().int().min(0).optional(),
16
+ features: zod_1.z
17
+ .array(zod_1.z.object({
18
+ type: zod_1.z.string(),
19
+ name: zod_1.z.string(),
20
+ }))
21
+ .optional(),
22
+ });
23
+ UpdateProductCommand.ResponseSchema = zod_1.z.object({
24
+ data: models_1.ProductSchema,
25
+ });
26
+ })(UpdateProductCommand || (exports.UpdateProductCommand = UpdateProductCommand = {}));
@@ -71,10 +71,11 @@ export declare namespace ExecuteSTTCommand {
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 ExecuteSTTCommand {
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 ExecuteSTTCommand {
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;
@@ -141,10 +141,11 @@ export declare namespace ExecuteSTTCommand {
141
141
  uuid: string;
142
142
  siteId: string;
143
143
  status: import("../..").JOB_STATUS;
144
- duration: number;
145
- title: string;
144
+ userId: string | null;
146
145
  createdAt: Date;
147
146
  updatedAt: Date;
147
+ duration: number;
148
+ title: string;
148
149
  error: string | null;
149
150
  modelId: string;
150
151
  reaction: import("../..").USER_REACTION | null;
@@ -155,7 +156,6 @@ export declare namespace ExecuteSTTCommand {
155
156
  timestamp: string;
156
157
  error?: string | null | undefined;
157
158
  }[];
158
- userId: string | null;
159
159
  unregisteredUserId: string | null;
160
160
  isDeleted: boolean;
161
161
  completedAt: Date | null;
@@ -177,15 +177,15 @@ export declare namespace ExecuteSTTCommand {
177
177
  uuid: string;
178
178
  siteId: string;
179
179
  status: import("../..").JOB_STATUS;
180
- duration: number;
181
- title: string;
180
+ userId: string | null;
182
181
  createdAt: Date;
183
182
  updatedAt: Date;
183
+ duration: number;
184
+ title: string;
184
185
  error: string | null;
185
186
  modelId: string;
186
187
  reaction: import("../..").USER_REACTION | null;
187
188
  dislikeReason: string | null;
188
- userId: string | null;
189
189
  unregisteredUserId: string | null;
190
190
  isDeleted: boolean;
191
191
  completedAt: Date | null;
@@ -68,10 +68,11 @@ export declare namespace RetrySTTJobCommand {
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 RetrySTTJobCommand {
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 RetrySTTJobCommand {
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 RetrySTTJobCommand {
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 RetrySTTJobCommand {
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 RetrySTTJobCommand {
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;
@@ -80,10 +80,11 @@ export declare namespace SetReactionToSTTJobCommand {
80
80
  uuid: string;
81
81
  siteId: string;
82
82
  status: import("../..").JOB_STATUS;
83
- duration: number;
84
- title: string;
83
+ userId: string | null;
85
84
  createdAt: Date;
86
85
  updatedAt: Date;
86
+ duration: number;
87
+ title: string;
87
88
  error: string | null;
88
89
  modelId: string;
89
90
  reaction: USER_REACTION | null;
@@ -94,7 +95,6 @@ export declare namespace SetReactionToSTTJobCommand {
94
95
  timestamp: string;
95
96
  error?: string | null | undefined;
96
97
  }[];
97
- userId: string | null;
98
98
  unregisteredUserId: string | null;
99
99
  isDeleted: boolean;
100
100
  completedAt: Date | null;
@@ -114,15 +114,15 @@ export declare namespace SetReactionToSTTJobCommand {
114
114
  uuid: string;
115
115
  siteId: string;
116
116
  status: import("../..").JOB_STATUS;
117
- duration: number;
118
- title: string;
117
+ userId: string | null;
119
118
  createdAt: Date;
120
119
  updatedAt: Date;
120
+ duration: number;
121
+ title: string;
121
122
  error: string | null;
122
123
  modelId: string;
123
124
  reaction: USER_REACTION | null;
124
125
  dislikeReason: string | null;
125
- userId: string | null;
126
126
  unregisteredUserId: string | null;
127
127
  isDeleted: boolean;
128
128
  completedAt: Date | null;
@@ -150,10 +150,11 @@ export declare namespace SetReactionToSTTJobCommand {
150
150
  uuid: string;
151
151
  siteId: string;
152
152
  status: import("../..").JOB_STATUS;
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: USER_REACTION | null;
@@ -164,7 +165,6 @@ export declare namespace SetReactionToSTTJobCommand {
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;
@@ -186,15 +186,15 @@ export declare namespace SetReactionToSTTJobCommand {
186
186
  uuid: string;
187
187
  siteId: string;
188
188
  status: import("../..").JOB_STATUS;
189
- duration: number;
190
- title: string;
189
+ userId: string | null;
191
190
  createdAt: Date;
192
191
  updatedAt: Date;
192
+ duration: number;
193
+ title: string;
193
194
  error: string | null;
194
195
  modelId: string;
195
196
  reaction: USER_REACTION | null;
196
197
  dislikeReason: string | null;
197
- userId: string | null;
198
198
  unregisteredUserId: string | null;
199
199
  isDeleted: boolean;
200
200
  completedAt: Date | null;
@@ -76,10 +76,11 @@ export declare namespace UpdateSTTJobTitleCommand {
76
76
  uuid: string;
77
77
  siteId: string;
78
78
  status: import("../..").JOB_STATUS;
79
- duration: number;
80
- title: string;
79
+ userId: string | null;
81
80
  createdAt: Date;
82
81
  updatedAt: Date;
82
+ duration: number;
83
+ title: string;
83
84
  error: string | null;
84
85
  modelId: string;
85
86
  reaction: import("../..").USER_REACTION | null;
@@ -90,7 +91,6 @@ export declare namespace UpdateSTTJobTitleCommand {
90
91
  timestamp: string;
91
92
  error?: string | null | undefined;
92
93
  }[];
93
- userId: string | null;
94
94
  unregisteredUserId: string | null;
95
95
  isDeleted: boolean;
96
96
  completedAt: Date | null;
@@ -110,15 +110,15 @@ export declare namespace UpdateSTTJobTitleCommand {
110
110
  uuid: string;
111
111
  siteId: string;
112
112
  status: import("../..").JOB_STATUS;
113
- duration: number;
114
- title: string;
113
+ userId: string | null;
115
114
  createdAt: Date;
116
115
  updatedAt: Date;
116
+ duration: number;
117
+ title: string;
117
118
  error: string | null;
118
119
  modelId: string;
119
120
  reaction: import("../..").USER_REACTION | null;
120
121
  dislikeReason: string | null;
121
- userId: string | null;
122
122
  unregisteredUserId: string | null;
123
123
  isDeleted: boolean;
124
124
  completedAt: Date | null;
@@ -146,10 +146,11 @@ export declare namespace UpdateSTTJobTitleCommand {
146
146
  uuid: string;
147
147
  siteId: string;
148
148
  status: import("../..").JOB_STATUS;
149
- duration: number;
150
- title: string;
149
+ userId: string | null;
151
150
  createdAt: Date;
152
151
  updatedAt: Date;
152
+ duration: number;
153
+ title: string;
153
154
  error: string | null;
154
155
  modelId: string;
155
156
  reaction: import("../..").USER_REACTION | null;
@@ -160,7 +161,6 @@ export declare namespace UpdateSTTJobTitleCommand {
160
161
  timestamp: string;
161
162
  error?: string | null | undefined;
162
163
  }[];
163
- userId: string | null;
164
164
  unregisteredUserId: string | null;
165
165
  isDeleted: boolean;
166
166
  completedAt: Date | null;
@@ -182,15 +182,15 @@ export declare namespace UpdateSTTJobTitleCommand {
182
182
  uuid: string;
183
183
  siteId: string;
184
184
  status: import("../..").JOB_STATUS;
185
- duration: number;
186
- title: string;
185
+ userId: string | null;
187
186
  createdAt: Date;
188
187
  updatedAt: Date;
188
+ duration: number;
189
+ title: string;
189
190
  error: string | null;
190
191
  modelId: string;
191
192
  reaction: import("../..").USER_REACTION | null;
192
193
  dislikeReason: string | null;
193
- userId: string | null;
194
194
  unregisteredUserId: string | null;
195
195
  isDeleted: boolean;
196
196
  completedAt: Date | null;
@@ -4,5 +4,4 @@ export * from './cancel-subscription.command';
4
4
  export * from './recover-subscription.command';
5
5
  export * from './update-subscription.command';
6
6
  export * from './delete-subscription.command';
7
- export * from './refund-subscription.command';
8
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/subscription/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/subscription/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC"}
@@ -20,4 +20,3 @@ __exportStar(require("./cancel-subscription.command"), exports);
20
20
  __exportStar(require("./recover-subscription.command"), exports);
21
21
  __exportStar(require("./update-subscription.command"), exports);
22
22
  __exportStar(require("./delete-subscription.command"), exports);
23
- __exportStar(require("./refund-subscription.command"), exports);
@@ -117,10 +117,11 @@ export declare namespace ExecuteTTSCommand {
117
117
  style?: number | undefined;
118
118
  language?: string | undefined;
119
119
  };
120
- duration: number;
121
- title: string;
120
+ userId: string | null;
122
121
  createdAt: Date;
123
122
  updatedAt: Date;
123
+ duration: number;
124
+ title: string;
124
125
  error: string | null;
125
126
  modelId: string;
126
127
  reaction: import("../..").USER_REACTION | null;
@@ -131,7 +132,6 @@ export declare namespace ExecuteTTSCommand {
131
132
  timestamp: string;
132
133
  error?: string | null | undefined;
133
134
  }[];
134
- userId: string | null;
135
135
  unregisteredUserId: string | null;
136
136
  isDeleted: boolean;
137
137
  completedAt: Date | null;
@@ -152,15 +152,15 @@ export declare namespace ExecuteTTSCommand {
152
152
  style?: number | undefined;
153
153
  language?: string | undefined;
154
154
  };
155
- duration: number;
156
- title: string;
155
+ userId: string | null;
157
156
  createdAt: Date;
158
157
  updatedAt: Date;
158
+ duration: number;
159
+ title: string;
159
160
  error: string | null;
160
161
  modelId: string;
161
162
  reaction: import("../..").USER_REACTION | null;
162
163
  dislikeReason: string | null;
163
- userId: string | null;
164
164
  unregisteredUserId: string | null;
165
165
  isDeleted: boolean;
166
166
  completedAt: Date | null;
@@ -189,10 +189,11 @@ export declare namespace ExecuteTTSCommand {
189
189
  style?: number | undefined;
190
190
  language?: string | undefined;
191
191
  };
192
- duration: number;
193
- title: string;
192
+ userId: string | null;
194
193
  createdAt: Date;
195
194
  updatedAt: Date;
195
+ duration: number;
196
+ title: string;
196
197
  error: string | null;
197
198
  modelId: string;
198
199
  reaction: import("../..").USER_REACTION | null;
@@ -203,7 +204,6 @@ export declare namespace ExecuteTTSCommand {
203
204
  timestamp: string;
204
205
  error?: string | null | undefined;
205
206
  }[];
206
- userId: string | null;
207
207
  unregisteredUserId: string | null;
208
208
  isDeleted: boolean;
209
209
  completedAt: Date | null;
@@ -226,15 +226,15 @@ export declare namespace ExecuteTTSCommand {
226
226
  style?: number | undefined;
227
227
  language?: string | undefined;
228
228
  };
229
- duration: number;
230
- title: string;
229
+ userId: string | null;
231
230
  createdAt: Date;
232
231
  updatedAt: Date;
232
+ duration: number;
233
+ title: string;
233
234
  error: string | null;
234
235
  modelId: string;
235
236
  reaction: import("../..").USER_REACTION | null;
236
237
  dislikeReason: string | null;
237
- userId: string | null;
238
238
  unregisteredUserId: string | null;
239
239
  isDeleted: boolean;
240
240
  completedAt: Date | null;
@@ -78,10 +78,11 @@ export declare namespace RetryTTSJobCommand {
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 RetryTTSJobCommand {
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 RetryTTSJobCommand {
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 RetryTTSJobCommand {
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 RetryTTSJobCommand {
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 RetryTTSJobCommand {
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;
@@ -90,10 +90,11 @@ export declare namespace SetReactionToTTSJobCommand {
90
90
  style?: number | undefined;
91
91
  language?: string | undefined;
92
92
  };
93
- duration: number;
94
- title: string;
93
+ userId: string | null;
95
94
  createdAt: Date;
96
95
  updatedAt: Date;
96
+ duration: number;
97
+ title: string;
97
98
  error: string | null;
98
99
  modelId: string;
99
100
  reaction: USER_REACTION | null;
@@ -104,7 +105,6 @@ export declare namespace SetReactionToTTSJobCommand {
104
105
  timestamp: string;
105
106
  error?: string | null | undefined;
106
107
  }[];
107
- userId: string | null;
108
108
  unregisteredUserId: string | null;
109
109
  isDeleted: boolean;
110
110
  completedAt: Date | null;
@@ -125,15 +125,15 @@ export declare namespace SetReactionToTTSJobCommand {
125
125
  style?: number | undefined;
126
126
  language?: string | undefined;
127
127
  };
128
- duration: number;
129
- title: string;
128
+ userId: string | null;
130
129
  createdAt: Date;
131
130
  updatedAt: Date;
131
+ duration: number;
132
+ title: string;
132
133
  error: string | null;
133
134
  modelId: string;
134
135
  reaction: USER_REACTION | null;
135
136
  dislikeReason: string | null;
136
- userId: string | null;
137
137
  unregisteredUserId: string | null;
138
138
  isDeleted: boolean;
139
139
  completedAt: Date | null;
@@ -162,10 +162,11 @@ export declare namespace SetReactionToTTSJobCommand {
162
162
  style?: number | undefined;
163
163
  language?: string | undefined;
164
164
  };
165
- duration: number;
166
- title: string;
165
+ userId: string | null;
167
166
  createdAt: Date;
168
167
  updatedAt: Date;
168
+ duration: number;
169
+ title: string;
169
170
  error: string | null;
170
171
  modelId: string;
171
172
  reaction: USER_REACTION | null;
@@ -176,7 +177,6 @@ export declare namespace SetReactionToTTSJobCommand {
176
177
  timestamp: string;
177
178
  error?: string | null | undefined;
178
179
  }[];
179
- userId: string | null;
180
180
  unregisteredUserId: string | null;
181
181
  isDeleted: boolean;
182
182
  completedAt: Date | null;
@@ -199,15 +199,15 @@ export declare namespace SetReactionToTTSJobCommand {
199
199
  style?: number | undefined;
200
200
  language?: string | undefined;
201
201
  };
202
- duration: number;
203
- title: string;
202
+ userId: string | null;
204
203
  createdAt: Date;
205
204
  updatedAt: Date;
205
+ duration: number;
206
+ title: string;
206
207
  error: string | null;
207
208
  modelId: string;
208
209
  reaction: USER_REACTION | null;
209
210
  dislikeReason: string | null;
210
- userId: string | null;
211
211
  unregisteredUserId: string | null;
212
212
  isDeleted: boolean;
213
213
  completedAt: Date | null;