@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.
- package/api/controller/http/index.ts +3 -0
- package/api/controller/http/sitemap.ts +5 -0
- package/api/controller/http/user-to-product.ts +7 -0
- package/api/controller/http/user-to-subscription.ts +8 -0
- package/api/routes.ts +21 -0
- package/build/api/controller/http/index.d.ts +3 -0
- package/build/api/controller/http/index.d.ts.map +1 -1
- package/build/api/controller/http/index.js +3 -0
- package/build/api/controller/http/sitemap.d.ts +5 -0
- package/build/api/controller/http/sitemap.d.ts.map +1 -0
- package/build/api/controller/http/sitemap.js +7 -0
- package/build/api/controller/http/user-to-product.d.ts +7 -0
- package/build/api/controller/http/user-to-product.d.ts.map +1 -0
- package/build/api/controller/http/user-to-product.js +9 -0
- package/build/api/controller/http/user-to-subscription.d.ts +8 -0
- package/build/api/controller/http/user-to-subscription.d.ts.map +1 -0
- package/build/api/controller/http/user-to-subscription.js +10 -0
- package/build/api/routes.d.ts +14 -0
- package/build/api/routes.d.ts.map +1 -1
- package/build/api/routes.js +14 -0
- package/build/commands/image-editor/execute-image-editor.command.d.ts +4 -4
- package/build/commands/image-editor/retry-image-editor-job.command.d.ts +4 -4
- package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +4 -4
- package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +4 -4
- package/build/commands/image-generation/execute-image-generation.command.d.ts +4 -4
- package/build/commands/image-generation/retry-image-generation-job.command.d.ts +4 -4
- package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +4 -4
- package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +4 -4
- package/build/commands/index.d.ts +2 -0
- package/build/commands/index.d.ts.map +1 -1
- package/build/commands/index.js +2 -0
- package/build/commands/page/create-page.command.d.ts +4 -4
- package/build/commands/page/find-page-by-alias.command.d.ts +12 -12
- package/build/commands/page/find-page-by-criteria.command.d.ts +4 -4
- package/build/commands/page/find-page.command.d.ts +8 -8
- package/build/commands/page/update-page.command.d.ts +4 -4
- package/build/commands/payment/cloud-payments.command.d.ts +2 -2
- package/build/commands/stt/execute-stt.command.d.ts +12 -12
- package/build/commands/stt/retry-stt-job.command.d.ts +12 -12
- package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +12 -12
- package/build/commands/stt/update-stt-job-title.command.d.ts +12 -12
- package/build/commands/tts/execute-tts.command.d.ts +12 -12
- package/build/commands/tts/retry-tts-job.command.d.ts +12 -12
- package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +12 -12
- package/build/commands/tts/update-tts-job-title.command.d.ts +12 -12
- package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +4 -4
- package/build/commands/user-to-product/delete-user-to-product.command.d.ts +20 -0
- package/build/commands/user-to-product/delete-user-to-product.command.d.ts.map +1 -0
- package/build/commands/user-to-product/delete-user-to-product.command.js +13 -0
- package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts +75 -0
- package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts.map +1 -0
- package/build/commands/user-to-product/get-user-to-product-by-uuid.command.js +14 -0
- package/build/commands/user-to-product/index.d.ts +4 -0
- package/build/commands/user-to-product/index.d.ts.map +1 -0
- package/build/commands/user-to-product/index.js +19 -0
- package/build/commands/user-to-product/update-user-to-product.command.d.ts +93 -0
- package/build/commands/user-to-product/update-user-to-product.command.d.ts.map +1 -0
- package/build/commands/user-to-product/update-user-to-product.command.js +21 -0
- package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts +14 -0
- package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts.map +1 -0
- package/build/commands/user-to-subscription/admin-cancel-subscription.command.js +11 -0
- package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts +20 -0
- package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts.map +1 -0
- package/build/commands/user-to-subscription/delete-user-to-subscription.command.js +13 -0
- package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +115 -0
- package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts.map +1 -0
- package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.js +14 -0
- package/build/commands/user-to-subscription/index.d.ts +5 -0
- package/build/commands/user-to-subscription/index.d.ts.map +1 -0
- package/build/commands/user-to-subscription/index.js +20 -0
- package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +157 -0
- package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts.map +1 -0
- package/build/commands/user-to-subscription/update-user-to-subscription.command.js +29 -0
- package/build/constants/errors/errors.d.ts +60 -0
- package/build/constants/errors/errors.d.ts.map +1 -1
- package/build/constants/errors/errors.js +62 -0
- package/build/models/image-editor/image-editor-config.schema.d.ts +10 -10
- package/build/models/image-editor/image-editor-job.schema.d.ts +2 -2
- package/build/models/image-editor/image-editor-model.schema.d.ts +2 -2
- package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +4 -4
- package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-config.schema.d.ts +6 -6
- package/build/models/image-generation/image-generation-job.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-model.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-vendor.schema.d.ts +4 -4
- package/build/models/index.d.ts +2 -0
- package/build/models/index.d.ts.map +1 -1
- package/build/models/index.js +2 -0
- package/build/models/page.schema.d.ts +4 -4
- package/build/models/stt/stt-config.schema.d.ts +8 -8
- package/build/models/stt/stt-job.schema.d.ts +6 -6
- package/build/models/stt/stt-model.schema.d.ts +4 -4
- package/build/models/tts/tts-config.schema.d.ts +8 -8
- package/build/models/tts/tts-job.schema.d.ts +6 -6
- package/build/models/tts/tts-model.schema.d.ts +4 -4
- package/build/models/user-to-product.schema.d.ts +37 -0
- package/build/models/user-to-product.schema.d.ts.map +1 -0
- package/build/models/user-to-product.schema.js +17 -0
- package/build/models/user-to-subscription.schema.d.ts +61 -0
- package/build/models/user-to-subscription.schema.d.ts.map +1 -0
- package/build/models/user-to-subscription.schema.js +25 -0
- package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +4 -4
- package/build/queries/image-editor/get-image-editor-config.command.d.ts +14 -14
- package/build/queries/image-editor/get-image-editor-job.command.d.ts +4 -4
- package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +4 -4
- package/build/queries/image-generation/get-image-generation-config.command.d.ts +8 -8
- package/build/queries/image-generation/get-image-generation-job.command.d.ts +4 -4
- package/build/queries/payment/get-payment-history.command.d.ts +6 -6
- package/build/queries/stt/find-stt-jobs.command.d.ts +12 -12
- package/build/queries/stt/get-stt-config.command.d.ts +12 -12
- package/build/queries/stt/get-stt-job.command.d.ts +12 -12
- package/build/queries/subscription/get-subscriptions-summary.command.d.ts +16 -16
- package/build/queries/tts/find-tts-jobs.command.d.ts +12 -12
- package/build/queries/tts/get-tts-config.command.d.ts +12 -12
- package/build/queries/tts/get-tts-job.command.d.ts +12 -12
- package/build/queries/user/get-my-products.command.d.ts +8 -8
- package/build/queries/user/get-my-subscriptions.command.d.ts +12 -12
- package/build/queries/user/get-user-payments.command.d.ts +18 -18
- package/commands/index.ts +2 -0
- package/commands/user-to-product/delete-user-to-product.command.ts +13 -0
- package/commands/user-to-product/get-user-to-product-by-uuid.command.ts +14 -0
- package/commands/user-to-product/index.ts +3 -0
- package/commands/user-to-product/update-user-to-product.command.ts +23 -0
- package/commands/user-to-subscription/admin-cancel-subscription.command.ts +11 -0
- package/commands/user-to-subscription/delete-user-to-subscription.command.ts +13 -0
- package/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.ts +14 -0
- package/commands/user-to-subscription/index.ts +4 -0
- package/commands/user-to-subscription/update-user-to-subscription.command.ts +31 -0
- package/constants/errors/errors.ts +64 -0
- package/models/index.ts +2 -0
- package/models/user-to-product.schema.ts +15 -0
- package/models/user-to-subscription.schema.ts +23 -0
- package/package.json +1 -1
package/build/commands/index.js
CHANGED
|
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./auth"), exports);
|
|
18
18
|
__exportStar(require("./product"), exports);
|
|
19
19
|
__exportStar(require("./subscription"), exports);
|
|
20
|
+
__exportStar(require("./user-to-product"), exports);
|
|
21
|
+
__exportStar(require("./user-to-subscription"), exports);
|
|
20
22
|
__exportStar(require("./payment"), exports);
|
|
21
23
|
__exportStar(require("./transaction"), exports);
|
|
22
24
|
__exportStar(require("./image-generation"), exports);
|
|
@@ -39,9 +39,9 @@ export declare namespace CreatePageCommand {
|
|
|
39
39
|
updatedAt: z.ZodDate;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
41
|
uuid: string;
|
|
42
|
-
title: string;
|
|
43
42
|
createdAt: Date;
|
|
44
43
|
updatedAt: Date;
|
|
44
|
+
title: string;
|
|
45
45
|
metaTitle: string;
|
|
46
46
|
metaDescription: string;
|
|
47
47
|
subTitle: string;
|
|
@@ -49,9 +49,9 @@ export declare namespace CreatePageCommand {
|
|
|
49
49
|
alias: string;
|
|
50
50
|
}, {
|
|
51
51
|
uuid: string;
|
|
52
|
-
title: string;
|
|
53
52
|
createdAt: Date;
|
|
54
53
|
updatedAt: Date;
|
|
54
|
+
title: string;
|
|
55
55
|
metaTitle: string;
|
|
56
56
|
metaDescription: string;
|
|
57
57
|
subTitle: string;
|
|
@@ -61,9 +61,9 @@ export declare namespace CreatePageCommand {
|
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
data: {
|
|
63
63
|
uuid: string;
|
|
64
|
-
title: string;
|
|
65
64
|
createdAt: Date;
|
|
66
65
|
updatedAt: Date;
|
|
66
|
+
title: string;
|
|
67
67
|
metaTitle: string;
|
|
68
68
|
metaDescription: string;
|
|
69
69
|
subTitle: string;
|
|
@@ -73,9 +73,9 @@ export declare namespace CreatePageCommand {
|
|
|
73
73
|
}, {
|
|
74
74
|
data: {
|
|
75
75
|
uuid: string;
|
|
76
|
-
title: string;
|
|
77
76
|
createdAt: Date;
|
|
78
77
|
updatedAt: Date;
|
|
78
|
+
title: string;
|
|
79
79
|
metaTitle: string;
|
|
80
80
|
metaDescription: string;
|
|
81
81
|
subTitle: string;
|
|
@@ -52,9 +52,9 @@ export declare namespace FindPageByAliasCommand {
|
|
|
52
52
|
}>, "many">;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
54
|
uuid: string;
|
|
55
|
-
title: string;
|
|
56
55
|
createdAt: Date;
|
|
57
56
|
updatedAt: Date;
|
|
57
|
+
title: string;
|
|
58
58
|
metaTitle: string;
|
|
59
59
|
metaDescription: string;
|
|
60
60
|
subTitle: string;
|
|
@@ -70,9 +70,9 @@ export declare namespace FindPageByAliasCommand {
|
|
|
70
70
|
}[];
|
|
71
71
|
}, {
|
|
72
72
|
uuid: string;
|
|
73
|
-
title: string;
|
|
74
73
|
createdAt: Date;
|
|
75
74
|
updatedAt: Date;
|
|
75
|
+
title: string;
|
|
76
76
|
metaTitle: string;
|
|
77
77
|
metaDescription: string;
|
|
78
78
|
subTitle: string;
|
|
@@ -90,9 +90,9 @@ export declare namespace FindPageByAliasCommand {
|
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
91
|
data: {
|
|
92
92
|
uuid: string;
|
|
93
|
-
title: string;
|
|
94
93
|
createdAt: Date;
|
|
95
94
|
updatedAt: Date;
|
|
95
|
+
title: string;
|
|
96
96
|
metaTitle: string;
|
|
97
97
|
metaDescription: string;
|
|
98
98
|
subTitle: string;
|
|
@@ -110,9 +110,9 @@ export declare namespace FindPageByAliasCommand {
|
|
|
110
110
|
}, {
|
|
111
111
|
data: {
|
|
112
112
|
uuid: string;
|
|
113
|
-
title: string;
|
|
114
113
|
createdAt: Date;
|
|
115
114
|
updatedAt: Date;
|
|
115
|
+
title: string;
|
|
116
116
|
metaTitle: string;
|
|
117
117
|
metaDescription: string;
|
|
118
118
|
subTitle: string;
|
|
@@ -165,9 +165,9 @@ export declare namespace FindPageByAliasCommand {
|
|
|
165
165
|
}>, "many">;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
167
|
uuid: string;
|
|
168
|
-
title: string;
|
|
169
168
|
createdAt: Date;
|
|
170
169
|
updatedAt: Date;
|
|
170
|
+
title: string;
|
|
171
171
|
metaTitle: string;
|
|
172
172
|
metaDescription: string;
|
|
173
173
|
subTitle: string;
|
|
@@ -183,9 +183,9 @@ export declare namespace FindPageByAliasCommand {
|
|
|
183
183
|
}[];
|
|
184
184
|
}, {
|
|
185
185
|
uuid: string;
|
|
186
|
-
title: string;
|
|
187
186
|
createdAt: Date;
|
|
188
187
|
updatedAt: Date;
|
|
188
|
+
title: string;
|
|
189
189
|
metaTitle: string;
|
|
190
190
|
metaDescription: string;
|
|
191
191
|
subTitle: string;
|
|
@@ -203,9 +203,9 @@ export declare namespace FindPageByAliasCommand {
|
|
|
203
203
|
}, "strip", z.ZodTypeAny, {
|
|
204
204
|
data: {
|
|
205
205
|
uuid: string;
|
|
206
|
-
title: string;
|
|
207
206
|
createdAt: Date;
|
|
208
207
|
updatedAt: Date;
|
|
208
|
+
title: string;
|
|
209
209
|
metaTitle: string;
|
|
210
210
|
metaDescription: string;
|
|
211
211
|
subTitle: string;
|
|
@@ -223,9 +223,9 @@ export declare namespace FindPageByAliasCommand {
|
|
|
223
223
|
}, {
|
|
224
224
|
data: {
|
|
225
225
|
uuid: string;
|
|
226
|
-
title: string;
|
|
227
226
|
createdAt: Date;
|
|
228
227
|
updatedAt: Date;
|
|
228
|
+
title: string;
|
|
229
229
|
metaTitle: string;
|
|
230
230
|
metaDescription: string;
|
|
231
231
|
subTitle: string;
|
|
@@ -277,9 +277,9 @@ export declare namespace FindPageByAliasCommand {
|
|
|
277
277
|
}>, "many">;
|
|
278
278
|
}, "strip", z.ZodTypeAny, {
|
|
279
279
|
uuid: string;
|
|
280
|
-
title: string;
|
|
281
280
|
createdAt: Date;
|
|
282
281
|
updatedAt: Date;
|
|
282
|
+
title: string;
|
|
283
283
|
metaTitle: string;
|
|
284
284
|
metaDescription: string;
|
|
285
285
|
subTitle: string;
|
|
@@ -295,9 +295,9 @@ export declare namespace FindPageByAliasCommand {
|
|
|
295
295
|
}[];
|
|
296
296
|
}, {
|
|
297
297
|
uuid: string;
|
|
298
|
-
title: string;
|
|
299
298
|
createdAt: Date;
|
|
300
299
|
updatedAt: Date;
|
|
300
|
+
title: string;
|
|
301
301
|
metaTitle: string;
|
|
302
302
|
metaDescription: string;
|
|
303
303
|
subTitle: string;
|
|
@@ -315,9 +315,9 @@ export declare namespace FindPageByAliasCommand {
|
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
316
|
data: {
|
|
317
317
|
uuid: string;
|
|
318
|
-
title: string;
|
|
319
318
|
createdAt: Date;
|
|
320
319
|
updatedAt: Date;
|
|
320
|
+
title: string;
|
|
321
321
|
metaTitle: string;
|
|
322
322
|
metaDescription: string;
|
|
323
323
|
subTitle: string;
|
|
@@ -335,9 +335,9 @@ export declare namespace FindPageByAliasCommand {
|
|
|
335
335
|
}, {
|
|
336
336
|
data: {
|
|
337
337
|
uuid: string;
|
|
338
|
-
title: string;
|
|
339
338
|
createdAt: Date;
|
|
340
339
|
updatedAt: Date;
|
|
340
|
+
title: string;
|
|
341
341
|
metaTitle: string;
|
|
342
342
|
metaDescription: string;
|
|
343
343
|
subTitle: string;
|
|
@@ -56,9 +56,9 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
56
56
|
}>, "many">;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
uuid: string;
|
|
59
|
-
title: string;
|
|
60
59
|
createdAt: Date;
|
|
61
60
|
updatedAt: Date;
|
|
61
|
+
title: string;
|
|
62
62
|
metaTitle: string;
|
|
63
63
|
metaDescription: string;
|
|
64
64
|
subTitle: string;
|
|
@@ -74,9 +74,9 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
74
74
|
}[];
|
|
75
75
|
}, {
|
|
76
76
|
uuid: string;
|
|
77
|
-
title: string;
|
|
78
77
|
createdAt: Date;
|
|
79
78
|
updatedAt: Date;
|
|
79
|
+
title: string;
|
|
80
80
|
metaTitle: string;
|
|
81
81
|
metaDescription: string;
|
|
82
82
|
subTitle: string;
|
|
@@ -97,9 +97,9 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
97
97
|
page: number;
|
|
98
98
|
data: {
|
|
99
99
|
uuid: string;
|
|
100
|
-
title: string;
|
|
101
100
|
createdAt: Date;
|
|
102
101
|
updatedAt: Date;
|
|
102
|
+
title: string;
|
|
103
103
|
metaTitle: string;
|
|
104
104
|
metaDescription: string;
|
|
105
105
|
subTitle: string;
|
|
@@ -119,9 +119,9 @@ export declare namespace FindPageByCriteriaCommand {
|
|
|
119
119
|
page: number;
|
|
120
120
|
data: {
|
|
121
121
|
uuid: string;
|
|
122
|
-
title: string;
|
|
123
122
|
createdAt: Date;
|
|
124
123
|
updatedAt: Date;
|
|
124
|
+
title: string;
|
|
125
125
|
metaTitle: string;
|
|
126
126
|
metaDescription: string;
|
|
127
127
|
subTitle: string;
|
|
@@ -52,9 +52,9 @@ export declare namespace FindPageCommand {
|
|
|
52
52
|
}>, "many">;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
54
|
uuid: string;
|
|
55
|
-
title: string;
|
|
56
55
|
createdAt: Date;
|
|
57
56
|
updatedAt: Date;
|
|
57
|
+
title: string;
|
|
58
58
|
metaTitle: string;
|
|
59
59
|
metaDescription: string;
|
|
60
60
|
subTitle: string;
|
|
@@ -70,9 +70,9 @@ export declare namespace FindPageCommand {
|
|
|
70
70
|
}[];
|
|
71
71
|
}, {
|
|
72
72
|
uuid: string;
|
|
73
|
-
title: string;
|
|
74
73
|
createdAt: Date;
|
|
75
74
|
updatedAt: Date;
|
|
75
|
+
title: string;
|
|
76
76
|
metaTitle: string;
|
|
77
77
|
metaDescription: string;
|
|
78
78
|
subTitle: string;
|
|
@@ -90,9 +90,9 @@ export declare namespace FindPageCommand {
|
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
91
|
data: {
|
|
92
92
|
uuid: string;
|
|
93
|
-
title: string;
|
|
94
93
|
createdAt: Date;
|
|
95
94
|
updatedAt: Date;
|
|
95
|
+
title: string;
|
|
96
96
|
metaTitle: string;
|
|
97
97
|
metaDescription: string;
|
|
98
98
|
subTitle: string;
|
|
@@ -110,9 +110,9 @@ export declare namespace FindPageCommand {
|
|
|
110
110
|
}, {
|
|
111
111
|
data: {
|
|
112
112
|
uuid: string;
|
|
113
|
-
title: string;
|
|
114
113
|
createdAt: Date;
|
|
115
114
|
updatedAt: Date;
|
|
115
|
+
title: string;
|
|
116
116
|
metaTitle: string;
|
|
117
117
|
metaDescription: string;
|
|
118
118
|
subTitle: string;
|
|
@@ -165,9 +165,9 @@ export declare namespace FindPageCommand {
|
|
|
165
165
|
}>, "many">;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
167
|
uuid: string;
|
|
168
|
-
title: string;
|
|
169
168
|
createdAt: Date;
|
|
170
169
|
updatedAt: Date;
|
|
170
|
+
title: string;
|
|
171
171
|
metaTitle: string;
|
|
172
172
|
metaDescription: string;
|
|
173
173
|
subTitle: string;
|
|
@@ -183,9 +183,9 @@ export declare namespace FindPageCommand {
|
|
|
183
183
|
}[];
|
|
184
184
|
}, {
|
|
185
185
|
uuid: string;
|
|
186
|
-
title: string;
|
|
187
186
|
createdAt: Date;
|
|
188
187
|
updatedAt: Date;
|
|
188
|
+
title: string;
|
|
189
189
|
metaTitle: string;
|
|
190
190
|
metaDescription: string;
|
|
191
191
|
subTitle: string;
|
|
@@ -203,9 +203,9 @@ export declare namespace FindPageCommand {
|
|
|
203
203
|
}, "strip", z.ZodTypeAny, {
|
|
204
204
|
data: {
|
|
205
205
|
uuid: string;
|
|
206
|
-
title: string;
|
|
207
206
|
createdAt: Date;
|
|
208
207
|
updatedAt: Date;
|
|
208
|
+
title: string;
|
|
209
209
|
metaTitle: string;
|
|
210
210
|
metaDescription: string;
|
|
211
211
|
subTitle: string;
|
|
@@ -223,9 +223,9 @@ export declare namespace FindPageCommand {
|
|
|
223
223
|
}, {
|
|
224
224
|
data: {
|
|
225
225
|
uuid: string;
|
|
226
|
-
title: string;
|
|
227
226
|
createdAt: Date;
|
|
228
227
|
updatedAt: Date;
|
|
228
|
+
title: string;
|
|
229
229
|
metaTitle: string;
|
|
230
230
|
metaDescription: string;
|
|
231
231
|
subTitle: string;
|
|
@@ -44,9 +44,9 @@ export declare namespace UpdatePageCommand {
|
|
|
44
44
|
updatedAt: z.ZodDate;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
uuid: string;
|
|
47
|
-
title: string;
|
|
48
47
|
createdAt: Date;
|
|
49
48
|
updatedAt: Date;
|
|
49
|
+
title: string;
|
|
50
50
|
metaTitle: string;
|
|
51
51
|
metaDescription: string;
|
|
52
52
|
subTitle: string;
|
|
@@ -54,9 +54,9 @@ export declare namespace UpdatePageCommand {
|
|
|
54
54
|
alias: string;
|
|
55
55
|
}, {
|
|
56
56
|
uuid: string;
|
|
57
|
-
title: string;
|
|
58
57
|
createdAt: Date;
|
|
59
58
|
updatedAt: Date;
|
|
59
|
+
title: string;
|
|
60
60
|
metaTitle: string;
|
|
61
61
|
metaDescription: string;
|
|
62
62
|
subTitle: string;
|
|
@@ -66,9 +66,9 @@ export declare namespace UpdatePageCommand {
|
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
67
|
data: {
|
|
68
68
|
uuid: string;
|
|
69
|
-
title: string;
|
|
70
69
|
createdAt: Date;
|
|
71
70
|
updatedAt: Date;
|
|
71
|
+
title: string;
|
|
72
72
|
metaTitle: string;
|
|
73
73
|
metaDescription: string;
|
|
74
74
|
subTitle: string;
|
|
@@ -78,9 +78,9 @@ export declare namespace UpdatePageCommand {
|
|
|
78
78
|
}, {
|
|
79
79
|
data: {
|
|
80
80
|
uuid: string;
|
|
81
|
-
title: string;
|
|
82
81
|
createdAt: Date;
|
|
83
82
|
updatedAt: Date;
|
|
83
|
+
title: string;
|
|
84
84
|
metaTitle: string;
|
|
85
85
|
metaDescription: string;
|
|
86
86
|
subTitle: string;
|
|
@@ -53,22 +53,22 @@ export declare namespace CloudPaymentsPayCommand {
|
|
|
53
53
|
amount: string | number;
|
|
54
54
|
currency: string;
|
|
55
55
|
accountId: string;
|
|
56
|
+
subscriptionId?: string | undefined;
|
|
56
57
|
invoiceId?: string | undefined;
|
|
57
58
|
data?: import("../..").JsonValue | undefined;
|
|
58
59
|
transactionId?: string | number | undefined;
|
|
59
60
|
paymentAmount?: string | number | undefined;
|
|
60
61
|
paymentCurrency?: string | undefined;
|
|
61
|
-
subscriptionId?: string | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
amount: string | number;
|
|
64
64
|
accountId: string;
|
|
65
|
+
subscriptionId?: string | undefined;
|
|
65
66
|
currency?: string | undefined;
|
|
66
67
|
invoiceId?: string | undefined;
|
|
67
68
|
data?: import("../..").JsonValue | undefined;
|
|
68
69
|
transactionId?: string | number | undefined;
|
|
69
70
|
paymentAmount?: string | number | undefined;
|
|
70
71
|
paymentCurrency?: string | undefined;
|
|
71
|
-
subscriptionId?: string | undefined;
|
|
72
72
|
}>;
|
|
73
73
|
type Request = z.infer<typeof RequestSchema>;
|
|
74
74
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -71,10 +71,11 @@ export declare namespace ExecuteSTTCommand {
|
|
|
71
71
|
uuid: string;
|
|
72
72
|
siteId: string;
|
|
73
73
|
status: import("../..").JOB_STATUS;
|
|
74
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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;
|