@purpleschool/multisite 0.0.15 → 0.0.17
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/file.ts +2 -0
- package/api/routes.ts +2 -0
- package/build/api/controller/http/file.d.ts +2 -0
- package/build/api/controller/http/file.d.ts.map +1 -1
- package/build/api/controller/http/file.js +2 -0
- package/build/api/routes.d.ts +2 -0
- package/build/api/routes.d.ts.map +1 -1
- package/build/api/routes.js +2 -0
- package/build/commands/file/index.d.ts +1 -0
- package/build/commands/file/index.d.ts.map +1 -1
- package/build/commands/file/index.js +1 -0
- package/build/commands/file/upload-file-by-url.command.d.ts +23 -0
- package/build/commands/file/upload-file-by-url.command.d.ts.map +1 -0
- package/build/commands/file/upload-file-by-url.command.js +14 -0
- package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +14 -14
- package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +33 -33
- package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.d.ts +5 -5
- package/build/commands/payment/cloud-payments.command.d.ts +3 -3
- package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +12 -12
- package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +12 -12
- package/build/constants/user-to-subscription/enums/index.d.ts +1 -0
- package/build/constants/user-to-subscription/enums/index.d.ts.map +1 -1
- package/build/constants/user-to-subscription/enums/index.js +1 -0
- package/build/constants/user-to-subscription/enums/user-to-subscription-type.enum.d.ts +5 -0
- package/build/constants/user-to-subscription/enums/user-to-subscription-type.enum.d.ts.map +1 -0
- package/build/constants/user-to-subscription/enums/user-to-subscription-type.enum.js +8 -0
- package/build/models/image-editor/image-editor-job.schema.d.ts +7 -7
- package/build/models/image-generation/image-generation-job-params.schema.d.ts +5 -5
- package/build/models/image-generation/image-generation-job.schema.d.ts +12 -12
- package/build/models/image-generation/image-generation-model.schema.d.ts +14 -14
- package/build/models/subscription.schema.d.ts +2 -2
- package/build/queries/subscription/find-subscriptions.command.d.ts +4 -4
- package/build/queries/subscription/get-subscriptions-summary.command.d.ts +6 -6
- package/build/queries/user/get-my-subscriptions.command.d.ts +6 -6
- package/commands/file/index.ts +1 -0
- package/commands/file/upload-file-by-url.command.ts +14 -0
- package/constants/user-to-subscription/enums/index.ts +1 -0
- package/constants/user-to-subscription/enums/user-to-subscription-type.enum.ts +4 -0
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
29
29
|
reaction: z.ZodNullable<z.ZodNativeEnum<typeof USER_REACTION>>;
|
|
30
30
|
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
31
31
|
title: z.ZodString;
|
|
32
|
-
status: z.ZodNativeEnum<typeof import("
|
|
32
|
+
status: z.ZodNativeEnum<typeof import("../..").JOB_STATUS>;
|
|
33
33
|
error: z.ZodNullable<z.ZodString>;
|
|
34
34
|
internalError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
modelId: z.ZodString;
|
|
@@ -41,16 +41,16 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
41
41
|
tokenReservationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
attempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
43
43
|
order: z.ZodNumber;
|
|
44
|
-
status: z.ZodNativeEnum<typeof import("
|
|
44
|
+
status: z.ZodNativeEnum<typeof import("../..").JOB_STATUS>;
|
|
45
45
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
timestamp: z.ZodString;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
status: import("
|
|
48
|
+
status: import("../..").JOB_STATUS;
|
|
49
49
|
order: number;
|
|
50
50
|
timestamp: string;
|
|
51
51
|
error?: string | null | undefined;
|
|
52
52
|
}, {
|
|
53
|
-
status: import("
|
|
53
|
+
status: import("../..").JOB_STATUS;
|
|
54
54
|
order: number;
|
|
55
55
|
timestamp: string;
|
|
56
56
|
error?: string | null | undefined;
|
|
@@ -82,7 +82,7 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
82
82
|
price: number;
|
|
83
83
|
uuid: string;
|
|
84
84
|
siteId: string;
|
|
85
|
-
status: import("
|
|
85
|
+
status: import("../..").JOB_STATUS;
|
|
86
86
|
params: {
|
|
87
87
|
speed?: number | undefined;
|
|
88
88
|
stability?: number | undefined;
|
|
@@ -99,7 +99,7 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
99
99
|
reaction: USER_REACTION | null;
|
|
100
100
|
dislikeReason: string | null;
|
|
101
101
|
attempts: {
|
|
102
|
-
status: import("
|
|
102
|
+
status: import("../..").JOB_STATUS;
|
|
103
103
|
order: number;
|
|
104
104
|
timestamp: string;
|
|
105
105
|
error?: string | null | undefined;
|
|
@@ -117,7 +117,7 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
117
117
|
price: number;
|
|
118
118
|
uuid: string;
|
|
119
119
|
siteId: string;
|
|
120
|
-
status: import("
|
|
120
|
+
status: import("../..").JOB_STATUS;
|
|
121
121
|
params: {
|
|
122
122
|
speed?: number | undefined;
|
|
123
123
|
stability?: number | undefined;
|
|
@@ -141,7 +141,7 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
141
141
|
userInput: string;
|
|
142
142
|
voiceId: string;
|
|
143
143
|
attempts?: {
|
|
144
|
-
status: import("
|
|
144
|
+
status: import("../..").JOB_STATUS;
|
|
145
145
|
order: number;
|
|
146
146
|
timestamp: string;
|
|
147
147
|
error?: string | null | undefined;
|
|
@@ -154,7 +154,7 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
154
154
|
price: number;
|
|
155
155
|
uuid: string;
|
|
156
156
|
siteId: string;
|
|
157
|
-
status: import("
|
|
157
|
+
status: import("../..").JOB_STATUS;
|
|
158
158
|
params: {
|
|
159
159
|
speed?: number | undefined;
|
|
160
160
|
stability?: number | undefined;
|
|
@@ -171,7 +171,7 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
171
171
|
reaction: USER_REACTION | null;
|
|
172
172
|
dislikeReason: string | null;
|
|
173
173
|
attempts: {
|
|
174
|
-
status: import("
|
|
174
|
+
status: import("../..").JOB_STATUS;
|
|
175
175
|
order: number;
|
|
176
176
|
timestamp: string;
|
|
177
177
|
error?: string | null | undefined;
|
|
@@ -191,7 +191,7 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
191
191
|
price: number;
|
|
192
192
|
uuid: string;
|
|
193
193
|
siteId: string;
|
|
194
|
-
status: import("
|
|
194
|
+
status: import("../..").JOB_STATUS;
|
|
195
195
|
params: {
|
|
196
196
|
speed?: number | undefined;
|
|
197
197
|
stability?: number | undefined;
|
|
@@ -215,7 +215,7 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
215
215
|
userInput: string;
|
|
216
216
|
voiceId: string;
|
|
217
217
|
attempts?: {
|
|
218
|
-
status: import("
|
|
218
|
+
status: import("../..").JOB_STATUS;
|
|
219
219
|
order: number;
|
|
220
220
|
timestamp: string;
|
|
221
221
|
error?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/user-to-subscription/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/user-to-subscription/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC"}
|
|
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./user-to-subscription-status.enum"), exports);
|
|
18
|
+
__exportStar(require("./user-to-subscription-type.enum"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-to-subscription-type.enum.d.ts","sourceRoot":"","sources":["../../../../constants/user-to-subscription/enums/user-to-subscription-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB;IACjC,IAAI,SAAS;IACb,QAAQ,aAAa;CACxB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.USER_TO_SUBSCRIPTION_TYPE = void 0;
|
|
4
|
+
var USER_TO_SUBSCRIPTION_TYPE;
|
|
5
|
+
(function (USER_TO_SUBSCRIPTION_TYPE) {
|
|
6
|
+
USER_TO_SUBSCRIPTION_TYPE["PAID"] = "paid";
|
|
7
|
+
USER_TO_SUBSCRIPTION_TYPE["INTERVAL"] = "interval";
|
|
8
|
+
})(USER_TO_SUBSCRIPTION_TYPE || (exports.USER_TO_SUBSCRIPTION_TYPE = USER_TO_SUBSCRIPTION_TYPE = {}));
|
|
@@ -18,12 +18,12 @@ export declare const ImageEditorJobSchema: z.ZodObject<{
|
|
|
18
18
|
url: z.ZodString;
|
|
19
19
|
name: z.ZodString;
|
|
20
20
|
mimeType: z.ZodString;
|
|
21
|
-
type: z.ZodNativeEnum<typeof import("
|
|
21
|
+
type: z.ZodNativeEnum<typeof import("../..").FILE_TYPE>;
|
|
22
22
|
size: z.ZodNumber;
|
|
23
23
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
uuid: string;
|
|
26
|
-
type: import("
|
|
26
|
+
type: import("../..").FILE_TYPE;
|
|
27
27
|
name: string;
|
|
28
28
|
url: string;
|
|
29
29
|
mimeType: string;
|
|
@@ -31,7 +31,7 @@ export declare const ImageEditorJobSchema: z.ZodObject<{
|
|
|
31
31
|
duration?: number | null | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
uuid: string;
|
|
34
|
-
type: import("
|
|
34
|
+
type: import("../..").FILE_TYPE;
|
|
35
35
|
name: string;
|
|
36
36
|
url: string;
|
|
37
37
|
mimeType: string;
|
|
@@ -46,7 +46,7 @@ export declare const ImageEditorJobSchema: z.ZodObject<{
|
|
|
46
46
|
aspectRatio?: string | undefined;
|
|
47
47
|
attachedFiles?: {
|
|
48
48
|
uuid: string;
|
|
49
|
-
type: import("
|
|
49
|
+
type: import("../..").FILE_TYPE;
|
|
50
50
|
name: string;
|
|
51
51
|
url: string;
|
|
52
52
|
mimeType: string;
|
|
@@ -60,7 +60,7 @@ export declare const ImageEditorJobSchema: z.ZodObject<{
|
|
|
60
60
|
aspectRatio?: string | undefined;
|
|
61
61
|
attachedFiles?: {
|
|
62
62
|
uuid: string;
|
|
63
|
-
type: import("
|
|
63
|
+
type: import("../..").FILE_TYPE;
|
|
64
64
|
name: string;
|
|
65
65
|
url: string;
|
|
66
66
|
mimeType: string;
|
|
@@ -89,7 +89,7 @@ export declare const ImageEditorJobSchema: z.ZodObject<{
|
|
|
89
89
|
aspectRatio?: string | undefined;
|
|
90
90
|
attachedFiles?: {
|
|
91
91
|
uuid: string;
|
|
92
|
-
type: import("
|
|
92
|
+
type: import("../..").FILE_TYPE;
|
|
93
93
|
name: string;
|
|
94
94
|
url: string;
|
|
95
95
|
mimeType: string;
|
|
@@ -126,7 +126,7 @@ export declare const ImageEditorJobSchema: z.ZodObject<{
|
|
|
126
126
|
aspectRatio?: string | undefined;
|
|
127
127
|
attachedFiles?: {
|
|
128
128
|
uuid: string;
|
|
129
|
-
type: import("
|
|
129
|
+
type: import("../..").FILE_TYPE;
|
|
130
130
|
name: string;
|
|
131
131
|
url: string;
|
|
132
132
|
mimeType: string;
|
|
@@ -7,12 +7,12 @@ export declare const ImageGenerationJobParamsSchema: z.ZodObject<{
|
|
|
7
7
|
url: z.ZodString;
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
mimeType: z.ZodString;
|
|
10
|
-
type: z.ZodNativeEnum<typeof import("
|
|
10
|
+
type: z.ZodNativeEnum<typeof import("../..").FILE_TYPE>;
|
|
11
11
|
size: z.ZodNumber;
|
|
12
12
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
uuid: string;
|
|
15
|
-
type: import("
|
|
15
|
+
type: import("../..").FILE_TYPE;
|
|
16
16
|
name: string;
|
|
17
17
|
url: string;
|
|
18
18
|
mimeType: string;
|
|
@@ -20,7 +20,7 @@ export declare const ImageGenerationJobParamsSchema: z.ZodObject<{
|
|
|
20
20
|
duration?: number | null | undefined;
|
|
21
21
|
}, {
|
|
22
22
|
uuid: string;
|
|
23
|
-
type: import("
|
|
23
|
+
type: import("../..").FILE_TYPE;
|
|
24
24
|
name: string;
|
|
25
25
|
url: string;
|
|
26
26
|
mimeType: string;
|
|
@@ -33,7 +33,7 @@ export declare const ImageGenerationJobParamsSchema: z.ZodObject<{
|
|
|
33
33
|
aspectRatio: string;
|
|
34
34
|
attachedFiles: {
|
|
35
35
|
uuid: string;
|
|
36
|
-
type: import("
|
|
36
|
+
type: import("../..").FILE_TYPE;
|
|
37
37
|
name: string;
|
|
38
38
|
url: string;
|
|
39
39
|
mimeType: string;
|
|
@@ -47,7 +47,7 @@ export declare const ImageGenerationJobParamsSchema: z.ZodObject<{
|
|
|
47
47
|
resolution?: IMAGE_GENERATION_RESOLUTION | undefined;
|
|
48
48
|
attachedFiles?: {
|
|
49
49
|
uuid: string;
|
|
50
|
-
type: import("
|
|
50
|
+
type: import("../..").FILE_TYPE;
|
|
51
51
|
name: string;
|
|
52
52
|
url: string;
|
|
53
53
|
mimeType: string;
|
|
@@ -12,12 +12,12 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
12
12
|
url: z.ZodString;
|
|
13
13
|
name: z.ZodString;
|
|
14
14
|
mimeType: z.ZodString;
|
|
15
|
-
type: z.ZodNativeEnum<typeof import("
|
|
15
|
+
type: z.ZodNativeEnum<typeof import("../..").FILE_TYPE>;
|
|
16
16
|
size: z.ZodNumber;
|
|
17
17
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
uuid: string;
|
|
20
|
-
type: import("
|
|
20
|
+
type: import("../..").FILE_TYPE;
|
|
21
21
|
name: string;
|
|
22
22
|
url: string;
|
|
23
23
|
mimeType: string;
|
|
@@ -25,7 +25,7 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
25
25
|
duration?: number | null | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
uuid: string;
|
|
28
|
-
type: import("
|
|
28
|
+
type: import("../..").FILE_TYPE;
|
|
29
29
|
name: string;
|
|
30
30
|
url: string;
|
|
31
31
|
mimeType: string;
|
|
@@ -33,12 +33,12 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
33
33
|
duration?: number | null | undefined;
|
|
34
34
|
}>, "many">>>;
|
|
35
35
|
enhancePrompt: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
36
|
-
resolution: z.ZodOptional<z.ZodNativeEnum<typeof import("
|
|
36
|
+
resolution: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").IMAGE_GENERATION_RESOLUTION>>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
38
|
aspectRatio: string;
|
|
39
39
|
attachedFiles: {
|
|
40
40
|
uuid: string;
|
|
41
|
-
type: import("
|
|
41
|
+
type: import("../..").FILE_TYPE;
|
|
42
42
|
name: string;
|
|
43
43
|
url: string;
|
|
44
44
|
mimeType: string;
|
|
@@ -46,13 +46,13 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
46
46
|
duration?: number | null | undefined;
|
|
47
47
|
}[];
|
|
48
48
|
enhancePrompt: boolean;
|
|
49
|
-
resolution?: import("
|
|
49
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
aspectRatio: string;
|
|
52
|
-
resolution?: import("
|
|
52
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
53
53
|
attachedFiles?: {
|
|
54
54
|
uuid: string;
|
|
55
|
-
type: import("
|
|
55
|
+
type: import("../..").FILE_TYPE;
|
|
56
56
|
name: string;
|
|
57
57
|
url: string;
|
|
58
58
|
mimeType: string;
|
|
@@ -102,7 +102,7 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
102
102
|
aspectRatio: string;
|
|
103
103
|
attachedFiles: {
|
|
104
104
|
uuid: string;
|
|
105
|
-
type: import("
|
|
105
|
+
type: import("../..").FILE_TYPE;
|
|
106
106
|
name: string;
|
|
107
107
|
url: string;
|
|
108
108
|
mimeType: string;
|
|
@@ -110,7 +110,7 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
110
110
|
duration?: number | null | undefined;
|
|
111
111
|
}[];
|
|
112
112
|
enhancePrompt: boolean;
|
|
113
|
-
resolution?: import("
|
|
113
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
114
114
|
};
|
|
115
115
|
title: string;
|
|
116
116
|
modelId: string;
|
|
@@ -142,10 +142,10 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
142
142
|
status: JOB_STATUS;
|
|
143
143
|
params: {
|
|
144
144
|
aspectRatio: string;
|
|
145
|
-
resolution?: import("
|
|
145
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
146
146
|
attachedFiles?: {
|
|
147
147
|
uuid: string;
|
|
148
|
-
type: import("
|
|
148
|
+
type: import("../..").FILE_TYPE;
|
|
149
149
|
name: string;
|
|
150
150
|
url: string;
|
|
151
151
|
mimeType: string;
|
|
@@ -9,26 +9,26 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
9
9
|
canUse: z.ZodBoolean;
|
|
10
10
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
11
11
|
condition: z.ZodObject<{
|
|
12
|
-
resolution: z.ZodOptional<z.ZodNativeEnum<typeof import("
|
|
12
|
+
resolution: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").IMAGE_GENERATION_RESOLUTION>>;
|
|
13
13
|
withoutSub: z.ZodOptional<z.ZodBoolean>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
resolution?: import("
|
|
15
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
16
16
|
withoutSub?: boolean | undefined;
|
|
17
17
|
}, {
|
|
18
|
-
resolution?: import("
|
|
18
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
19
19
|
withoutSub?: boolean | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
value: z.ZodNumber;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
value: number;
|
|
24
24
|
condition: {
|
|
25
|
-
resolution?: import("
|
|
25
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
26
26
|
withoutSub?: boolean | undefined;
|
|
27
27
|
};
|
|
28
28
|
}, {
|
|
29
29
|
value: number;
|
|
30
30
|
condition: {
|
|
31
|
-
resolution?: import("
|
|
31
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
32
32
|
withoutSub?: boolean | undefined;
|
|
33
33
|
};
|
|
34
34
|
}>, "many">;
|
|
@@ -45,11 +45,11 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
45
45
|
}>, z.ZodLiteral<"auto">]>>;
|
|
46
46
|
quality: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
47
47
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
48
|
-
options: z.ZodArray<z.ZodNativeEnum<typeof import("
|
|
48
|
+
options: z.ZodArray<z.ZodNativeEnum<typeof import("../..").IMAGE_GENERATION_RESOLUTION>, "many">;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
options: import("
|
|
50
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
51
51
|
}, {
|
|
52
|
-
options: import("
|
|
52
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
53
53
|
}>>;
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
55
|
aspectRatio: Record<string, {
|
|
@@ -58,7 +58,7 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
58
58
|
} | "auto">;
|
|
59
59
|
quality?: string | Record<string, string> | undefined;
|
|
60
60
|
resolution?: {
|
|
61
|
-
options: import("
|
|
61
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
62
62
|
} | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
aspectRatio: Record<string, {
|
|
@@ -67,7 +67,7 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
67
67
|
} | "auto">;
|
|
68
68
|
quality?: string | Record<string, string> | undefined;
|
|
69
69
|
resolution?: {
|
|
70
|
-
options: import("
|
|
70
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
71
71
|
} | undefined;
|
|
72
72
|
}>;
|
|
73
73
|
strategy: z.ZodNativeEnum<typeof IMAGE_GENERATION_MODEL_STRATEGY>;
|
|
@@ -132,7 +132,7 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
132
132
|
} | "auto">;
|
|
133
133
|
quality?: string | Record<string, string> | undefined;
|
|
134
134
|
resolution?: {
|
|
135
|
-
options: import("
|
|
135
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
136
136
|
} | undefined;
|
|
137
137
|
};
|
|
138
138
|
description: string;
|
|
@@ -142,7 +142,7 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
142
142
|
pricingRules: {
|
|
143
143
|
value: number;
|
|
144
144
|
condition: {
|
|
145
|
-
resolution?: import("
|
|
145
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
146
146
|
withoutSub?: boolean | undefined;
|
|
147
147
|
};
|
|
148
148
|
}[];
|
|
@@ -177,7 +177,7 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
177
177
|
} | "auto">;
|
|
178
178
|
quality?: string | Record<string, string> | undefined;
|
|
179
179
|
resolution?: {
|
|
180
|
-
options: import("
|
|
180
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
181
181
|
} | undefined;
|
|
182
182
|
};
|
|
183
183
|
description: string;
|
|
@@ -187,7 +187,7 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
187
187
|
pricingRules: {
|
|
188
188
|
value: number;
|
|
189
189
|
condition: {
|
|
190
|
-
resolution?: import("
|
|
190
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
191
191
|
withoutSub?: boolean | undefined;
|
|
192
192
|
};
|
|
193
193
|
}[];
|
|
@@ -22,6 +22,7 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
|
22
22
|
carryoverPercent: z.ZodNumber;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
price: number;
|
|
25
|
+
interval: string;
|
|
25
26
|
uuid: string;
|
|
26
27
|
siteId: string;
|
|
27
28
|
name: string;
|
|
@@ -31,12 +32,12 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
|
31
32
|
type: string;
|
|
32
33
|
name: string;
|
|
33
34
|
}[];
|
|
34
|
-
interval: string;
|
|
35
35
|
period: number;
|
|
36
36
|
discount: number;
|
|
37
37
|
carryoverPercent: number;
|
|
38
38
|
}, {
|
|
39
39
|
price: number;
|
|
40
|
+
interval: string;
|
|
40
41
|
uuid: string;
|
|
41
42
|
siteId: string;
|
|
42
43
|
name: string;
|
|
@@ -46,7 +47,6 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
|
46
47
|
type: string;
|
|
47
48
|
name: string;
|
|
48
49
|
}[];
|
|
49
|
-
interval: string;
|
|
50
50
|
period: number;
|
|
51
51
|
discount: number;
|
|
52
52
|
carryoverPercent: number;
|
|
@@ -24,6 +24,7 @@ export declare namespace FindSubscriptionsCommand {
|
|
|
24
24
|
carryoverPercent: z.ZodNumber;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
price: number;
|
|
27
|
+
interval: string;
|
|
27
28
|
uuid: string;
|
|
28
29
|
siteId: string;
|
|
29
30
|
name: string;
|
|
@@ -33,12 +34,12 @@ export declare namespace FindSubscriptionsCommand {
|
|
|
33
34
|
type: string;
|
|
34
35
|
name: string;
|
|
35
36
|
}[];
|
|
36
|
-
interval: string;
|
|
37
37
|
period: number;
|
|
38
38
|
discount: number;
|
|
39
39
|
carryoverPercent: number;
|
|
40
40
|
}, {
|
|
41
41
|
price: number;
|
|
42
|
+
interval: string;
|
|
42
43
|
uuid: string;
|
|
43
44
|
siteId: string;
|
|
44
45
|
name: string;
|
|
@@ -48,7 +49,6 @@ export declare namespace FindSubscriptionsCommand {
|
|
|
48
49
|
type: string;
|
|
49
50
|
name: string;
|
|
50
51
|
}[];
|
|
51
|
-
interval: string;
|
|
52
52
|
period: number;
|
|
53
53
|
discount: number;
|
|
54
54
|
carryoverPercent: number;
|
|
@@ -56,6 +56,7 @@ export declare namespace FindSubscriptionsCommand {
|
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
data: {
|
|
58
58
|
price: number;
|
|
59
|
+
interval: string;
|
|
59
60
|
uuid: string;
|
|
60
61
|
siteId: string;
|
|
61
62
|
name: string;
|
|
@@ -65,7 +66,6 @@ export declare namespace FindSubscriptionsCommand {
|
|
|
65
66
|
type: string;
|
|
66
67
|
name: string;
|
|
67
68
|
}[];
|
|
68
|
-
interval: string;
|
|
69
69
|
period: number;
|
|
70
70
|
discount: number;
|
|
71
71
|
carryoverPercent: number;
|
|
@@ -73,6 +73,7 @@ export declare namespace FindSubscriptionsCommand {
|
|
|
73
73
|
}, {
|
|
74
74
|
data: {
|
|
75
75
|
price: number;
|
|
76
|
+
interval: string;
|
|
76
77
|
uuid: string;
|
|
77
78
|
siteId: string;
|
|
78
79
|
name: string;
|
|
@@ -82,7 +83,6 @@ export declare namespace FindSubscriptionsCommand {
|
|
|
82
83
|
type: string;
|
|
83
84
|
name: string;
|
|
84
85
|
}[];
|
|
85
|
-
interval: string;
|
|
86
86
|
period: number;
|
|
87
87
|
discount: number;
|
|
88
88
|
carryoverPercent: number;
|
|
@@ -33,6 +33,7 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
33
33
|
carryoverPercent: z.ZodNumber;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
35
|
price: number;
|
|
36
|
+
interval: string;
|
|
36
37
|
uuid: string;
|
|
37
38
|
siteId: string;
|
|
38
39
|
name: string;
|
|
@@ -42,12 +43,12 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
42
43
|
type: string;
|
|
43
44
|
name: string;
|
|
44
45
|
}[];
|
|
45
|
-
interval: string;
|
|
46
46
|
period: number;
|
|
47
47
|
discount: number;
|
|
48
48
|
carryoverPercent: number;
|
|
49
49
|
}, {
|
|
50
50
|
price: number;
|
|
51
|
+
interval: string;
|
|
51
52
|
uuid: string;
|
|
52
53
|
siteId: string;
|
|
53
54
|
name: string;
|
|
@@ -57,7 +58,6 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
57
58
|
type: string;
|
|
58
59
|
name: string;
|
|
59
60
|
}[];
|
|
60
|
-
interval: string;
|
|
61
61
|
period: number;
|
|
62
62
|
discount: number;
|
|
63
63
|
carryoverPercent: number;
|
|
@@ -72,6 +72,7 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
72
72
|
carriedOverTokenBalance: number;
|
|
73
73
|
subscription: {
|
|
74
74
|
price: number;
|
|
75
|
+
interval: string;
|
|
75
76
|
uuid: string;
|
|
76
77
|
siteId: string;
|
|
77
78
|
name: string;
|
|
@@ -81,7 +82,6 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
81
82
|
type: string;
|
|
82
83
|
name: string;
|
|
83
84
|
}[];
|
|
84
|
-
interval: string;
|
|
85
85
|
period: number;
|
|
86
86
|
discount: number;
|
|
87
87
|
carryoverPercent: number;
|
|
@@ -96,6 +96,7 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
96
96
|
carriedOverTokenBalance: number;
|
|
97
97
|
subscription: {
|
|
98
98
|
price: number;
|
|
99
|
+
interval: string;
|
|
99
100
|
uuid: string;
|
|
100
101
|
siteId: string;
|
|
101
102
|
name: string;
|
|
@@ -105,7 +106,6 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
105
106
|
type: string;
|
|
106
107
|
name: string;
|
|
107
108
|
}[];
|
|
108
|
-
interval: string;
|
|
109
109
|
period: number;
|
|
110
110
|
discount: number;
|
|
111
111
|
carryoverPercent: number;
|
|
@@ -219,6 +219,7 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
219
219
|
carriedOverTokenBalance: number;
|
|
220
220
|
subscription: {
|
|
221
221
|
price: number;
|
|
222
|
+
interval: string;
|
|
222
223
|
uuid: string;
|
|
223
224
|
siteId: string;
|
|
224
225
|
name: string;
|
|
@@ -228,7 +229,6 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
228
229
|
type: string;
|
|
229
230
|
name: string;
|
|
230
231
|
}[];
|
|
231
|
-
interval: string;
|
|
232
232
|
period: number;
|
|
233
233
|
discount: number;
|
|
234
234
|
carryoverPercent: number;
|
|
@@ -268,6 +268,7 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
268
268
|
carriedOverTokenBalance: number;
|
|
269
269
|
subscription: {
|
|
270
270
|
price: number;
|
|
271
|
+
interval: string;
|
|
271
272
|
uuid: string;
|
|
272
273
|
siteId: string;
|
|
273
274
|
name: string;
|
|
@@ -277,7 +278,6 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
277
278
|
type: string;
|
|
278
279
|
name: string;
|
|
279
280
|
}[];
|
|
280
|
-
interval: string;
|
|
281
281
|
period: number;
|
|
282
282
|
discount: number;
|
|
283
283
|
carryoverPercent: number;
|