@purpleschool/gptbot 0.20.15 → 0.20.17-stage-2
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/build/api/controllers/http/html-page-builder.d.ts +1 -0
- package/build/api/controllers/http/html-page-builder.js +1 -0
- package/build/api/routes.d.ts +2 -0
- package/build/api/routes.js +2 -0
- package/build/commands/subscription/get-subscriptions-summary.command.d.ts +3 -0
- package/build/commands/tools/html-page-builder/answer-html-page-builder-questions.command.d.ts +74 -0
- package/build/commands/tools/html-page-builder/execute-html-page-builder.command.d.ts +75 -0
- package/build/commands/tools/html-page-builder/execute-html-page-builder.command.js +2 -0
- package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts +74 -0
- package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.d.ts +74 -0
- package/build/commands/tools/html-page-builder/get-html-page-builder-price.command.d.ts +1 -0
- package/build/commands/tools/html-page-builder/get-html-page-builder-price.command.js +2 -0
- package/build/commands/tools/html-page-builder/html-page-builder-image-action.command.d.ts +212 -0
- package/build/commands/tools/html-page-builder/html-page-builder-image-action.command.js +12 -0
- package/build/commands/tools/html-page-builder/index.d.ts +1 -0
- package/build/commands/tools/html-page-builder/index.js +1 -0
- package/build/commands/tools/html-page-builder/refine-html-page-builder.command.d.ts +74 -0
- package/build/commands/tools/html-page-builder/retry-html-page-builder-build.command.d.ts +74 -0
- package/build/commands/tools/html-page-builder/retry-html-page-builder-refine.command.d.ts +74 -0
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.d.ts +74 -0
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-reaction.command.d.ts +74 -0
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-title.command.d.ts +74 -0
- package/build/commands/tools/presentation/export-presentation-as-pptx.command.d.ts +10 -0
- package/build/commands/tools/presentation/find-presentation-by-uuid.command.d.ts +6 -0
- package/build/commands/tools/presentation/generate-and-insert-slide.command.d.ts +6 -0
- package/build/commands/tools/presentation/update-presentation-slides.command.d.ts +6 -0
- package/build/commands/tools/presentation/update-slide.command.d.ts +18 -0
- package/build/commands/user/get-user-subscriptions.command.d.ts +1 -0
- package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +1 -0
- package/build/commands/user-to-subscription/get-user-to-subscriptions.command.d.ts +1 -0
- package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +1 -0
- package/build/models/tools/html-page-builder/html-page-builder-image.schema.d.ts +40 -0
- package/build/models/tools/html-page-builder/html-page-builder-image.schema.js +20 -0
- package/build/models/tools/html-page-builder/html-page-builder-job.schema.d.ts +82 -0
- package/build/models/tools/html-page-builder/html-page-builder-job.schema.js +6 -0
- package/build/models/tools/html-page-builder/html-page-builder-page.schema.d.ts +66 -0
- package/build/models/tools/html-page-builder/html-page-builder-page.schema.js +2 -0
- package/build/models/tools/html-page-builder/html-page-builder-session.schema.d.ts +74 -0
- package/build/models/tools/html-page-builder/index.d.ts +1 -0
- package/build/models/tools/html-page-builder/index.js +1 -0
- package/build/models/tools/presentation/pptx-export-payload.schema.d.ts +43 -1
- package/build/models/tools/presentation/pptx-export-payload.schema.js +21 -2
- package/build/models/tools/presentation/presentation.schema.d.ts +6 -0
- package/build/models/tools/presentation/slide-content-edit.schema.d.ts +12 -0
- package/build/models/tools/presentation/slide-content-edit.schema.js +3 -0
- package/build/models/tools/presentation/slide-content.schema.d.ts +15 -0
- package/build/models/tools/presentation/slide-content.schema.js +13 -0
- package/build/models/tools/presentation/slide.schema.d.ts +18 -0
- package/build/models/user-to-subscription.schema.d.ts +3 -0
- package/build/models/user-to-subscription.schema.js +2 -0
- package/build/models/user.schema.d.ts +1 -0
- package/package.json +2 -2
|
@@ -10,6 +10,28 @@ export declare const HtmlPageBuilderPageSchema: z.ZodObject<{
|
|
|
10
10
|
html: z.ZodString;
|
|
11
11
|
order: z.ZodNumber;
|
|
12
12
|
isHome: z.ZodBoolean;
|
|
13
|
+
imageSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodString;
|
|
15
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
16
|
+
status: z.ZodEnum<{
|
|
17
|
+
completed: "completed";
|
|
18
|
+
empty: "empty";
|
|
19
|
+
failed: "failed";
|
|
20
|
+
pending: "pending";
|
|
21
|
+
}>;
|
|
22
|
+
operationState: z.ZodOptional<z.ZodEnum<{
|
|
23
|
+
completed: "completed";
|
|
24
|
+
failed: "failed";
|
|
25
|
+
queued: "queued";
|
|
26
|
+
running: "running";
|
|
27
|
+
}>>;
|
|
28
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
29
|
+
charged: "charged";
|
|
30
|
+
not_charged: "not_charged";
|
|
31
|
+
pending: "pending";
|
|
32
|
+
}>>;
|
|
33
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, z.core.$strip>>>;
|
|
13
35
|
}, z.core.$strip>;
|
|
14
36
|
export type HtmlPageBuilderPage = z.infer<typeof HtmlPageBuilderPageSchema>;
|
|
15
37
|
export declare const HtmlPageBuilderGeneratedPageSchema: z.ZodObject<{
|
|
@@ -18,6 +40,28 @@ export declare const HtmlPageBuilderGeneratedPageSchema: z.ZodObject<{
|
|
|
18
40
|
html: z.ZodString;
|
|
19
41
|
order: z.ZodNumber;
|
|
20
42
|
isHome: z.ZodBoolean;
|
|
43
|
+
imageSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44
|
+
id: z.ZodString;
|
|
45
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
46
|
+
status: z.ZodEnum<{
|
|
47
|
+
completed: "completed";
|
|
48
|
+
empty: "empty";
|
|
49
|
+
failed: "failed";
|
|
50
|
+
pending: "pending";
|
|
51
|
+
}>;
|
|
52
|
+
operationState: z.ZodOptional<z.ZodEnum<{
|
|
53
|
+
completed: "completed";
|
|
54
|
+
failed: "failed";
|
|
55
|
+
queued: "queued";
|
|
56
|
+
running: "running";
|
|
57
|
+
}>>;
|
|
58
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
charged: "charged";
|
|
60
|
+
not_charged: "not_charged";
|
|
61
|
+
pending: "pending";
|
|
62
|
+
}>>;
|
|
63
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
64
|
+
}, z.core.$strip>>>;
|
|
21
65
|
}, z.core.$strip>;
|
|
22
66
|
export type HtmlPageBuilderGeneratedPage = z.infer<typeof HtmlPageBuilderGeneratedPageSchema>;
|
|
23
67
|
export declare const HtmlPageBuilderGeneratedPagesSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -26,5 +70,27 @@ export declare const HtmlPageBuilderGeneratedPagesSchema: z.ZodArray<z.ZodObject
|
|
|
26
70
|
html: z.ZodString;
|
|
27
71
|
order: z.ZodNumber;
|
|
28
72
|
isHome: z.ZodBoolean;
|
|
73
|
+
imageSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
74
|
+
id: z.ZodString;
|
|
75
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
76
|
+
status: z.ZodEnum<{
|
|
77
|
+
completed: "completed";
|
|
78
|
+
empty: "empty";
|
|
79
|
+
failed: "failed";
|
|
80
|
+
pending: "pending";
|
|
81
|
+
}>;
|
|
82
|
+
operationState: z.ZodOptional<z.ZodEnum<{
|
|
83
|
+
completed: "completed";
|
|
84
|
+
failed: "failed";
|
|
85
|
+
queued: "queued";
|
|
86
|
+
running: "running";
|
|
87
|
+
}>>;
|
|
88
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
89
|
+
charged: "charged";
|
|
90
|
+
not_charged: "not_charged";
|
|
91
|
+
pending: "pending";
|
|
92
|
+
}>>;
|
|
93
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
94
|
+
}, z.core.$strip>>>;
|
|
29
95
|
}, z.core.$strip>>;
|
|
30
96
|
export type HtmlPageBuilderGeneratedPages = z.infer<typeof HtmlPageBuilderGeneratedPagesSchema>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HtmlPageBuilderGeneratedPagesSchema = exports.HtmlPageBuilderGeneratedPageSchema = exports.HtmlPageBuilderPageSchema = void 0;
|
|
4
|
+
const html_page_builder_image_schema_1 = require("./html-page-builder-image.schema");
|
|
4
5
|
const zod_1 = require("zod");
|
|
5
6
|
/**
|
|
6
7
|
* A page of a site. Pages are not stored on their own: a site is the snapshot held by the
|
|
@@ -13,6 +14,7 @@ exports.HtmlPageBuilderPageSchema = zod_1.z.object({
|
|
|
13
14
|
html: zod_1.z.string(),
|
|
14
15
|
order: zod_1.z.number(),
|
|
15
16
|
isHome: zod_1.z.boolean(),
|
|
17
|
+
imageSlots: zod_1.z.array(html_page_builder_image_schema_1.HtmlPageBuilderImageSlotSchema).optional(),
|
|
16
18
|
});
|
|
17
19
|
exports.HtmlPageBuilderGeneratedPageSchema = exports.HtmlPageBuilderPageSchema;
|
|
18
20
|
exports.HtmlPageBuilderGeneratedPagesSchema = zod_1.z.array(exports.HtmlPageBuilderGeneratedPageSchema);
|
|
@@ -38,6 +38,28 @@ export declare const HtmlPageBuilderSessionSchema: z.ZodObject<{
|
|
|
38
38
|
html: z.ZodString;
|
|
39
39
|
order: z.ZodNumber;
|
|
40
40
|
isHome: z.ZodBoolean;
|
|
41
|
+
imageSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
42
|
+
id: z.ZodString;
|
|
43
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
44
|
+
status: z.ZodEnum<{
|
|
45
|
+
completed: "completed";
|
|
46
|
+
empty: "empty";
|
|
47
|
+
failed: "failed";
|
|
48
|
+
pending: "pending";
|
|
49
|
+
}>;
|
|
50
|
+
operationState: z.ZodOptional<z.ZodEnum<{
|
|
51
|
+
completed: "completed";
|
|
52
|
+
failed: "failed";
|
|
53
|
+
queued: "queued";
|
|
54
|
+
running: "running";
|
|
55
|
+
}>>;
|
|
56
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
57
|
+
charged: "charged";
|
|
58
|
+
not_charged: "not_charged";
|
|
59
|
+
pending: "pending";
|
|
60
|
+
}>>;
|
|
61
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
62
|
+
}, z.core.$strip>>>;
|
|
41
63
|
}, z.core.$strip>>>>;
|
|
42
64
|
previewUrl: z.ZodOptional<z.ZodString>;
|
|
43
65
|
files: z.ZodOptional<z.ZodObject<{
|
|
@@ -71,6 +93,36 @@ export declare const HtmlPageBuilderSessionSchema: z.ZodObject<{
|
|
|
71
93
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
94
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
95
|
params: z.ZodObject<{
|
|
96
|
+
withImages: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
imageOriginId: z.ZodOptional<z.ZodUUID>;
|
|
98
|
+
imagePhase: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
originId: z.ZodUUID;
|
|
100
|
+
settled: z.ZodBoolean;
|
|
101
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
102
|
+
pageSlug: z.ZodString;
|
|
103
|
+
slotId: z.ZodString;
|
|
104
|
+
state: z.ZodEnum<{
|
|
105
|
+
completed: "completed";
|
|
106
|
+
failed: "failed";
|
|
107
|
+
queued: "queued";
|
|
108
|
+
running: "running";
|
|
109
|
+
}>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
}, z.core.$strip>>;
|
|
112
|
+
imageAction: z.ZodOptional<z.ZodObject<{
|
|
113
|
+
pageSlug: z.ZodString;
|
|
114
|
+
slotId: z.ZodString;
|
|
115
|
+
mode: z.ZodEnum<{
|
|
116
|
+
generate: "generate";
|
|
117
|
+
regenerate: "regenerate";
|
|
118
|
+
replace: "replace";
|
|
119
|
+
}>;
|
|
120
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
121
|
+
charged: "charged";
|
|
122
|
+
not_charged: "not_charged";
|
|
123
|
+
pending: "pending";
|
|
124
|
+
}>>;
|
|
125
|
+
}, z.core.$strip>>;
|
|
74
126
|
attachedFiles: z.ZodArray<z.ZodObject<{
|
|
75
127
|
uuid: z.ZodString;
|
|
76
128
|
url: z.ZodString;
|
|
@@ -100,6 +152,28 @@ export declare const HtmlPageBuilderSessionSchema: z.ZodObject<{
|
|
|
100
152
|
html: z.ZodString;
|
|
101
153
|
order: z.ZodNumber;
|
|
102
154
|
isHome: z.ZodBoolean;
|
|
155
|
+
imageSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
156
|
+
id: z.ZodString;
|
|
157
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
158
|
+
status: z.ZodEnum<{
|
|
159
|
+
completed: "completed";
|
|
160
|
+
empty: "empty";
|
|
161
|
+
failed: "failed";
|
|
162
|
+
pending: "pending";
|
|
163
|
+
}>;
|
|
164
|
+
operationState: z.ZodOptional<z.ZodEnum<{
|
|
165
|
+
completed: "completed";
|
|
166
|
+
failed: "failed";
|
|
167
|
+
queued: "queued";
|
|
168
|
+
running: "running";
|
|
169
|
+
}>>;
|
|
170
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
171
|
+
charged: "charged";
|
|
172
|
+
not_charged: "not_charged";
|
|
173
|
+
pending: "pending";
|
|
174
|
+
}>>;
|
|
175
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
176
|
+
}, z.core.$strip>>>;
|
|
103
177
|
}, z.core.$strip>>;
|
|
104
178
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
179
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -23,3 +23,4 @@ __exportStar(require("./html-page-builder-page.schema"), exports);
|
|
|
23
23
|
__exportStar(require("./html-page-builder-preset.schema"), exports);
|
|
24
24
|
__exportStar(require("./html-page-builder-session.schema"), exports);
|
|
25
25
|
__exportStar(require("./html-page-builder-style.schema"), exports);
|
|
26
|
+
__exportStar(require("./html-page-builder-image.schema"), exports);
|
|
@@ -49,7 +49,9 @@ export declare enum PPTX_SHADOW_TYPE {
|
|
|
49
49
|
NONE = "none"
|
|
50
50
|
}
|
|
51
51
|
export declare enum PPTX_CUSTOM_SHAPE_TYPE {
|
|
52
|
-
ROUND_RECT = "roundRect"
|
|
52
|
+
ROUND_RECT = "roundRect",
|
|
53
|
+
ELLIPSE = "ellipse",
|
|
54
|
+
POLYGON = "polygon"
|
|
53
55
|
}
|
|
54
56
|
export declare const PPTXShadowSchema: z.ZodObject<{
|
|
55
57
|
type: z.ZodEnum<typeof PPTX_SHADOW_TYPE>;
|
|
@@ -154,6 +156,10 @@ export type PPTXPictureBox = z.infer<typeof PPTXPictureBoxSchema>;
|
|
|
154
156
|
export declare const PPTXCustomShapeSchema: z.ZodObject<{
|
|
155
157
|
type: z.ZodLiteral<PPTX_SHAPE_TYPE.CUSTOM_SHAPE>;
|
|
156
158
|
customShapeType: z.ZodOptional<z.ZodEnum<typeof PPTX_CUSTOM_SHAPE_TYPE>>;
|
|
159
|
+
points: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
160
|
+
x: z.ZodNumber;
|
|
161
|
+
y: z.ZodNumber;
|
|
162
|
+
}, z.core.$strip>>>;
|
|
157
163
|
position: z.ZodObject<{
|
|
158
164
|
height: z.ZodNumber;
|
|
159
165
|
width: z.ZodNumber;
|
|
@@ -161,6 +167,12 @@ export declare const PPTXCustomShapeSchema: z.ZodObject<{
|
|
|
161
167
|
left: z.ZodNumber;
|
|
162
168
|
}, z.core.$strip>;
|
|
163
169
|
borderRadius: z.ZodNumber;
|
|
170
|
+
rotate: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
border: z.ZodOptional<z.ZodObject<{
|
|
172
|
+
color: z.ZodString;
|
|
173
|
+
px: z.ZodNumber;
|
|
174
|
+
transparency: z.ZodOptional<z.ZodNumber>;
|
|
175
|
+
}, z.core.$strip>>;
|
|
164
176
|
fill: z.ZodOptional<z.ZodObject<{
|
|
165
177
|
color: z.ZodString;
|
|
166
178
|
type: z.ZodEnum<typeof PPTX_FILL_TYPE>;
|
|
@@ -344,6 +356,10 @@ export declare const PPTXShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
344
356
|
}, z.core.$strip>, z.ZodObject<{
|
|
345
357
|
type: z.ZodLiteral<PPTX_SHAPE_TYPE.CUSTOM_SHAPE>;
|
|
346
358
|
customShapeType: z.ZodOptional<z.ZodEnum<typeof PPTX_CUSTOM_SHAPE_TYPE>>;
|
|
359
|
+
points: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
360
|
+
x: z.ZodNumber;
|
|
361
|
+
y: z.ZodNumber;
|
|
362
|
+
}, z.core.$strip>>>;
|
|
347
363
|
position: z.ZodObject<{
|
|
348
364
|
height: z.ZodNumber;
|
|
349
365
|
width: z.ZodNumber;
|
|
@@ -351,6 +367,12 @@ export declare const PPTXShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
351
367
|
left: z.ZodNumber;
|
|
352
368
|
}, z.core.$strip>;
|
|
353
369
|
borderRadius: z.ZodNumber;
|
|
370
|
+
rotate: z.ZodOptional<z.ZodNumber>;
|
|
371
|
+
border: z.ZodOptional<z.ZodObject<{
|
|
372
|
+
color: z.ZodString;
|
|
373
|
+
px: z.ZodNumber;
|
|
374
|
+
transparency: z.ZodOptional<z.ZodNumber>;
|
|
375
|
+
}, z.core.$strip>>;
|
|
354
376
|
fill: z.ZodOptional<z.ZodObject<{
|
|
355
377
|
color: z.ZodString;
|
|
356
378
|
type: z.ZodEnum<typeof PPTX_FILL_TYPE>;
|
|
@@ -498,6 +520,10 @@ export declare const PPTXSlideSchema: z.ZodObject<{
|
|
|
498
520
|
}, z.core.$strip>, z.ZodObject<{
|
|
499
521
|
type: z.ZodLiteral<PPTX_SHAPE_TYPE.CUSTOM_SHAPE>;
|
|
500
522
|
customShapeType: z.ZodOptional<z.ZodEnum<typeof PPTX_CUSTOM_SHAPE_TYPE>>;
|
|
523
|
+
points: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
524
|
+
x: z.ZodNumber;
|
|
525
|
+
y: z.ZodNumber;
|
|
526
|
+
}, z.core.$strip>>>;
|
|
501
527
|
position: z.ZodObject<{
|
|
502
528
|
height: z.ZodNumber;
|
|
503
529
|
width: z.ZodNumber;
|
|
@@ -505,6 +531,12 @@ export declare const PPTXSlideSchema: z.ZodObject<{
|
|
|
505
531
|
left: z.ZodNumber;
|
|
506
532
|
}, z.core.$strip>;
|
|
507
533
|
borderRadius: z.ZodNumber;
|
|
534
|
+
rotate: z.ZodOptional<z.ZodNumber>;
|
|
535
|
+
border: z.ZodOptional<z.ZodObject<{
|
|
536
|
+
color: z.ZodString;
|
|
537
|
+
px: z.ZodNumber;
|
|
538
|
+
transparency: z.ZodOptional<z.ZodNumber>;
|
|
539
|
+
}, z.core.$strip>>;
|
|
508
540
|
fill: z.ZodOptional<z.ZodObject<{
|
|
509
541
|
color: z.ZodString;
|
|
510
542
|
type: z.ZodEnum<typeof PPTX_FILL_TYPE>;
|
|
@@ -645,6 +677,10 @@ export declare const PPTXExportPayloadSchema: z.ZodObject<{
|
|
|
645
677
|
}, z.core.$strip>, z.ZodObject<{
|
|
646
678
|
type: z.ZodLiteral<PPTX_SHAPE_TYPE.CUSTOM_SHAPE>;
|
|
647
679
|
customShapeType: z.ZodOptional<z.ZodEnum<typeof PPTX_CUSTOM_SHAPE_TYPE>>;
|
|
680
|
+
points: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
681
|
+
x: z.ZodNumber;
|
|
682
|
+
y: z.ZodNumber;
|
|
683
|
+
}, z.core.$strip>>>;
|
|
648
684
|
position: z.ZodObject<{
|
|
649
685
|
height: z.ZodNumber;
|
|
650
686
|
width: z.ZodNumber;
|
|
@@ -652,6 +688,12 @@ export declare const PPTXExportPayloadSchema: z.ZodObject<{
|
|
|
652
688
|
left: z.ZodNumber;
|
|
653
689
|
}, z.core.$strip>;
|
|
654
690
|
borderRadius: z.ZodNumber;
|
|
691
|
+
rotate: z.ZodOptional<z.ZodNumber>;
|
|
692
|
+
border: z.ZodOptional<z.ZodObject<{
|
|
693
|
+
color: z.ZodString;
|
|
694
|
+
px: z.ZodNumber;
|
|
695
|
+
transparency: z.ZodOptional<z.ZodNumber>;
|
|
696
|
+
}, z.core.$strip>>;
|
|
655
697
|
fill: z.ZodOptional<z.ZodObject<{
|
|
656
698
|
color: z.ZodString;
|
|
657
699
|
type: z.ZodEnum<typeof PPTX_FILL_TYPE>;
|
|
@@ -63,6 +63,8 @@ var PPTX_SHADOW_TYPE;
|
|
|
63
63
|
var PPTX_CUSTOM_SHAPE_TYPE;
|
|
64
64
|
(function (PPTX_CUSTOM_SHAPE_TYPE) {
|
|
65
65
|
PPTX_CUSTOM_SHAPE_TYPE["ROUND_RECT"] = "roundRect";
|
|
66
|
+
PPTX_CUSTOM_SHAPE_TYPE["ELLIPSE"] = "ellipse";
|
|
67
|
+
PPTX_CUSTOM_SHAPE_TYPE["POLYGON"] = "polygon";
|
|
66
68
|
})(PPTX_CUSTOM_SHAPE_TYPE || (exports.PPTX_CUSTOM_SHAPE_TYPE = PPTX_CUSTOM_SHAPE_TYPE = {}));
|
|
67
69
|
exports.PPTXShadowSchema = zod_1.z.object({
|
|
68
70
|
type: zod_1.z.enum(PPTX_SHADOW_TYPE),
|
|
@@ -138,14 +140,31 @@ exports.PPTXPictureBoxSchema = zod_1.z.object({
|
|
|
138
140
|
]),
|
|
139
141
|
});
|
|
140
142
|
// CustomShape
|
|
141
|
-
exports.PPTXCustomShapeSchema = zod_1.z
|
|
143
|
+
exports.PPTXCustomShapeSchema = zod_1.z
|
|
144
|
+
.object({
|
|
142
145
|
type: zod_1.z.literal(PPTX_SHAPE_TYPE.CUSTOM_SHAPE),
|
|
143
146
|
customShapeType: zod_1.z.enum(PPTX_CUSTOM_SHAPE_TYPE).optional(),
|
|
147
|
+
points: zod_1.z
|
|
148
|
+
.array(zod_1.z.object({ x: zod_1.z.number().min(0).max(1), y: zod_1.z.number().min(0).max(1) }))
|
|
149
|
+
.min(3)
|
|
150
|
+
.max(256)
|
|
151
|
+
.optional(),
|
|
144
152
|
position: exports.PPTXPositionSchema,
|
|
145
153
|
borderRadius: zod_1.z.number(),
|
|
154
|
+
rotate: zod_1.z.number().min(-360).max(360).optional(),
|
|
155
|
+
border: zod_1.z
|
|
156
|
+
.object({
|
|
157
|
+
color: zod_1.z.string(),
|
|
158
|
+
px: zod_1.z.number().min(0),
|
|
159
|
+
transparency: zod_1.z.number().min(0).max(100).optional(),
|
|
160
|
+
})
|
|
161
|
+
.optional(),
|
|
146
162
|
fill: exports.PPTXFillSchema.optional(),
|
|
147
163
|
shadow: exports.PPTXShadowSchema.optional(),
|
|
148
|
-
})
|
|
164
|
+
})
|
|
165
|
+
.refine((shape) => shape.customShapeType === PPTX_CUSTOM_SHAPE_TYPE.POLYGON
|
|
166
|
+
? shape.points !== undefined
|
|
167
|
+
: shape.points === undefined, { message: 'points are required only for polygon shapes', path: ['points'] });
|
|
149
168
|
// Table
|
|
150
169
|
exports.PPTXTableCellSchema = zod_1.z.object({
|
|
151
170
|
text: zod_1.z.string().optional(),
|
|
@@ -74,6 +74,7 @@ export declare const PresentationWithSlidesSchema: z.ZodObject<{
|
|
|
74
74
|
content: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
75
75
|
contentType: z.ZodLiteral<import("../../..").SLIDE_CONTENT_TYPE.COVER>;
|
|
76
76
|
title: z.ZodString;
|
|
77
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
78
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
78
79
|
label: z.ZodString;
|
|
79
80
|
value: z.ZodString;
|
|
@@ -108,6 +109,10 @@ export declare const PresentationWithSlidesSchema: z.ZodObject<{
|
|
|
108
109
|
pageNumber: z.ZodNumber;
|
|
109
110
|
title: z.ZodString;
|
|
110
111
|
}, z.core.$strip>>;
|
|
112
|
+
imageSlot: z.ZodOptional<z.ZodObject<{
|
|
113
|
+
uuid: z.ZodUUID;
|
|
114
|
+
prompt: z.ZodString;
|
|
115
|
+
}, z.core.$strip>>;
|
|
111
116
|
version: z.ZodLiteral<1>;
|
|
112
117
|
}, z.core.$strip>, z.ZodObject<{
|
|
113
118
|
contentType: z.ZodLiteral<import("../../..").SLIDE_CONTENT_TYPE.SECTION_BREAK>;
|
|
@@ -126,6 +131,7 @@ export declare const PresentationWithSlidesSchema: z.ZodObject<{
|
|
|
126
131
|
}, z.core.$strip>, z.ZodObject<{
|
|
127
132
|
contentType: z.ZodLiteral<import("../../..").SLIDE_CONTENT_TYPE.THANK_YOU>;
|
|
128
133
|
title: z.ZodString;
|
|
134
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
129
135
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
130
136
|
label: z.ZodString;
|
|
131
137
|
value: z.ZodString;
|
|
@@ -4,6 +4,7 @@ import { SLIDE_CONTENT_TYPE } from '../../../constants';
|
|
|
4
4
|
export declare const CoverSlideDataUserEditSchema: z.ZodObject<{
|
|
5
5
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.COVER>;
|
|
6
6
|
title: z.ZodString;
|
|
7
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
8
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8
9
|
label: z.ZodString;
|
|
9
10
|
value: z.ZodString;
|
|
@@ -21,6 +22,7 @@ export declare const CoverSlideDataUserEditSchema: z.ZodObject<{
|
|
|
21
22
|
export declare const ThankYouSlideDataUserEditSchema: z.ZodObject<{
|
|
22
23
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.THANK_YOU>;
|
|
23
24
|
title: z.ZodString;
|
|
25
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
27
|
label: z.ZodString;
|
|
26
28
|
value: z.ZodString;
|
|
@@ -58,6 +60,10 @@ export declare const ContentsSlideDataUserEditSchema: z.ZodObject<{
|
|
|
58
60
|
pageNumber: z.ZodNumber;
|
|
59
61
|
title: z.ZodString;
|
|
60
62
|
}, z.core.$strip>>;
|
|
63
|
+
imageSlot: z.ZodOptional<z.ZodObject<{
|
|
64
|
+
uuid: z.ZodUUID;
|
|
65
|
+
prompt: z.ZodString;
|
|
66
|
+
}, z.core.$strip>>;
|
|
61
67
|
version: z.ZodLiteral<1>;
|
|
62
68
|
}, z.core.$strip>;
|
|
63
69
|
export declare const ImageSlideDataUserEditSchema: z.ZodObject<{
|
|
@@ -134,6 +140,7 @@ export declare const TimelineSlideDataUserEditSchema: z.ZodObject<{
|
|
|
134
140
|
export declare const SlideContentUserEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
135
141
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.COVER>;
|
|
136
142
|
title: z.ZodString;
|
|
143
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
137
144
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
138
145
|
label: z.ZodString;
|
|
139
146
|
value: z.ZodString;
|
|
@@ -168,6 +175,10 @@ export declare const SlideContentUserEditSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
168
175
|
pageNumber: z.ZodNumber;
|
|
169
176
|
title: z.ZodString;
|
|
170
177
|
}, z.core.$strip>>;
|
|
178
|
+
imageSlot: z.ZodOptional<z.ZodObject<{
|
|
179
|
+
uuid: z.ZodUUID;
|
|
180
|
+
prompt: z.ZodString;
|
|
181
|
+
}, z.core.$strip>>;
|
|
171
182
|
version: z.ZodLiteral<1>;
|
|
172
183
|
}, z.core.$strip>, z.ZodObject<{
|
|
173
184
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.SECTION_BREAK>;
|
|
@@ -186,6 +197,7 @@ export declare const SlideContentUserEditSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
186
197
|
}, z.core.$strip>, z.ZodObject<{
|
|
187
198
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.THANK_YOU>;
|
|
188
199
|
title: z.ZodString;
|
|
200
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
189
201
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
190
202
|
label: z.ZodString;
|
|
191
203
|
value: z.ZodString;
|
|
@@ -10,6 +10,7 @@ const constants_1 = require("../../../constants");
|
|
|
10
10
|
exports.CoverSlideDataUserEditSchema = zod_1.default.object({
|
|
11
11
|
contentType: zod_1.default.literal(constants_1.SLIDE_CONTENT_TYPE.COVER),
|
|
12
12
|
title: zod_1.default.string().max(1000),
|
|
13
|
+
description: zod_1.default.string().max(1000).nullable().optional(),
|
|
13
14
|
author: zod_1.default
|
|
14
15
|
.object({
|
|
15
16
|
label: zod_1.default.string().min(1).max(100),
|
|
@@ -36,6 +37,7 @@ exports.CoverSlideDataUserEditSchema = zod_1.default.object({
|
|
|
36
37
|
exports.ThankYouSlideDataUserEditSchema = zod_1.default.object({
|
|
37
38
|
contentType: zod_1.default.literal(constants_1.SLIDE_CONTENT_TYPE.THANK_YOU),
|
|
38
39
|
title: zod_1.default.string().max(1000),
|
|
40
|
+
description: zod_1.default.string().max(1000).nullable().optional(),
|
|
39
41
|
author: zod_1.default
|
|
40
42
|
.object({
|
|
41
43
|
label: zod_1.default.string().min(1).max(100),
|
|
@@ -86,6 +88,7 @@ exports.ContentsSlideDataUserEditSchema = zod_1.default.object({
|
|
|
86
88
|
title: zod_1.default.string().max(1000),
|
|
87
89
|
}))
|
|
88
90
|
.max(100),
|
|
91
|
+
imageSlot: slide_content_schema_1.ImageSlotSchema.optional(),
|
|
89
92
|
version: zod_1.default.literal(1),
|
|
90
93
|
});
|
|
91
94
|
exports.ImageSlideDataUserEditSchema = zod_1.default.object({
|
|
@@ -14,6 +14,7 @@ export declare const IconSlotSchema: z.ZodObject<{
|
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
export type IconSlot = z.infer<typeof IconSlotSchema>;
|
|
16
16
|
export interface ICoverSlideDataStructure {
|
|
17
|
+
description?: string | null;
|
|
17
18
|
contentType: SLIDE_CONTENT_TYPE.COVER;
|
|
18
19
|
title: string;
|
|
19
20
|
author?: {
|
|
@@ -31,6 +32,7 @@ export interface ICoverSlideDataStructure {
|
|
|
31
32
|
version: 1;
|
|
32
33
|
}
|
|
33
34
|
export interface IThankYouSlideDataStructure {
|
|
35
|
+
description?: string | null;
|
|
34
36
|
contentType: SLIDE_CONTENT_TYPE.THANK_YOU;
|
|
35
37
|
title: string;
|
|
36
38
|
author?: {
|
|
@@ -70,6 +72,7 @@ export interface IContentsSlideDataStructure {
|
|
|
70
72
|
pageNumber: number;
|
|
71
73
|
title: string;
|
|
72
74
|
}>;
|
|
75
|
+
imageSlot?: ImageSlot;
|
|
73
76
|
version: 1;
|
|
74
77
|
}
|
|
75
78
|
export interface IImageSlideDataStructure {
|
|
@@ -132,6 +135,7 @@ export interface ITimelineSlideDataStructure {
|
|
|
132
135
|
export declare const CoverSlideDataSchema: z.ZodObject<{
|
|
133
136
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.COVER>;
|
|
134
137
|
title: z.ZodString;
|
|
138
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
139
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
136
140
|
label: z.ZodString;
|
|
137
141
|
value: z.ZodString;
|
|
@@ -150,6 +154,7 @@ export type CoverSlideData = z.infer<typeof CoverSlideDataSchema>;
|
|
|
150
154
|
export declare const ThankYouSlideDataSchema: z.ZodObject<{
|
|
151
155
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.THANK_YOU>;
|
|
152
156
|
title: z.ZodString;
|
|
157
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
153
158
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
154
159
|
label: z.ZodString;
|
|
155
160
|
value: z.ZodString;
|
|
@@ -190,6 +195,10 @@ export declare const ContentsSlideDataSchema: z.ZodObject<{
|
|
|
190
195
|
pageNumber: z.ZodNumber;
|
|
191
196
|
title: z.ZodString;
|
|
192
197
|
}, z.core.$strip>>;
|
|
198
|
+
imageSlot: z.ZodOptional<z.ZodObject<{
|
|
199
|
+
uuid: z.ZodUUID;
|
|
200
|
+
prompt: z.ZodString;
|
|
201
|
+
}, z.core.$strip>>;
|
|
193
202
|
version: z.ZodLiteral<1>;
|
|
194
203
|
}, z.core.$strip>;
|
|
195
204
|
export type ContentsSlideData = z.infer<typeof ContentsSlideDataSchema>;
|
|
@@ -273,6 +282,7 @@ export type TimelineSlideData = z.infer<typeof TimelineSlideDataSchema>;
|
|
|
273
282
|
export declare const SlideContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
274
283
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.COVER>;
|
|
275
284
|
title: z.ZodString;
|
|
285
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
276
286
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
277
287
|
label: z.ZodString;
|
|
278
288
|
value: z.ZodString;
|
|
@@ -307,6 +317,10 @@ export declare const SlideContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
307
317
|
pageNumber: z.ZodNumber;
|
|
308
318
|
title: z.ZodString;
|
|
309
319
|
}, z.core.$strip>>;
|
|
320
|
+
imageSlot: z.ZodOptional<z.ZodObject<{
|
|
321
|
+
uuid: z.ZodUUID;
|
|
322
|
+
prompt: z.ZodString;
|
|
323
|
+
}, z.core.$strip>>;
|
|
310
324
|
version: z.ZodLiteral<1>;
|
|
311
325
|
}, z.core.$strip>, z.ZodObject<{
|
|
312
326
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.SECTION_BREAK>;
|
|
@@ -325,6 +339,7 @@ export declare const SlideContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
325
339
|
}, z.core.$strip>, z.ZodObject<{
|
|
326
340
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.THANK_YOU>;
|
|
327
341
|
title: z.ZodString;
|
|
342
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
328
343
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
329
344
|
label: z.ZodString;
|
|
330
345
|
value: z.ZodString;
|
|
@@ -22,6 +22,12 @@ exports.IconSlotSchema = zod_1.z.object({
|
|
|
22
22
|
exports.CoverSlideDataSchema = zod_1.z.object({
|
|
23
23
|
contentType: zod_1.z.literal(constants_1.SLIDE_CONTENT_TYPE.COVER),
|
|
24
24
|
title: zod_1.z.string().describe('Slide title in about 6 words').min(10).max(150),
|
|
25
|
+
description: zod_1.z
|
|
26
|
+
.string()
|
|
27
|
+
.max(1000)
|
|
28
|
+
.nullable()
|
|
29
|
+
.optional()
|
|
30
|
+
.describe('Optional short subtitle below the title in the presentation language; null when absent'),
|
|
25
31
|
author: zod_1.z
|
|
26
32
|
.object({
|
|
27
33
|
label: zod_1.z.string().describe('Literal "Author" in presentation\'s language'),
|
|
@@ -54,6 +60,12 @@ exports.ThankYouSlideDataSchema = zod_1.z.object({
|
|
|
54
60
|
.describe('"Thank you for your attention" in presentation\'s language')
|
|
55
61
|
.min(10)
|
|
56
62
|
.max(150),
|
|
63
|
+
description: zod_1.z
|
|
64
|
+
.string()
|
|
65
|
+
.max(1000)
|
|
66
|
+
.nullable()
|
|
67
|
+
.optional()
|
|
68
|
+
.describe('Optional short subtitle below the title in the presentation language; null when absent'),
|
|
57
69
|
author: zod_1.z
|
|
58
70
|
.object({
|
|
59
71
|
label: zod_1.z.string().describe('Literal "Author" in presentation\'s language'),
|
|
@@ -115,6 +127,7 @@ exports.ContentsSlideDataSchema = zod_1.z.object({
|
|
|
115
127
|
}))
|
|
116
128
|
.min(1)
|
|
117
129
|
.describe('List of slide titles. Must be relevant and generated after all the slides are generated'),
|
|
130
|
+
imageSlot: exports.ImageSlotSchema.optional(),
|
|
118
131
|
version: zod_1.z.literal(1),
|
|
119
132
|
});
|
|
120
133
|
exports.ImageSlideDataSchema = zod_1.z
|
|
@@ -8,6 +8,7 @@ export declare const SlideSchema: z.ZodObject<{
|
|
|
8
8
|
content: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9
9
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.COVER>;
|
|
10
10
|
title: z.ZodString;
|
|
11
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
12
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
13
|
label: z.ZodString;
|
|
13
14
|
value: z.ZodString;
|
|
@@ -42,6 +43,10 @@ export declare const SlideSchema: z.ZodObject<{
|
|
|
42
43
|
pageNumber: z.ZodNumber;
|
|
43
44
|
title: z.ZodString;
|
|
44
45
|
}, z.core.$strip>>;
|
|
46
|
+
imageSlot: z.ZodOptional<z.ZodObject<{
|
|
47
|
+
uuid: z.ZodUUID;
|
|
48
|
+
prompt: z.ZodString;
|
|
49
|
+
}, z.core.$strip>>;
|
|
45
50
|
version: z.ZodLiteral<1>;
|
|
46
51
|
}, z.core.$strip>, z.ZodObject<{
|
|
47
52
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.SECTION_BREAK>;
|
|
@@ -60,6 +65,7 @@ export declare const SlideSchema: z.ZodObject<{
|
|
|
60
65
|
}, z.core.$strip>, z.ZodObject<{
|
|
61
66
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.THANK_YOU>;
|
|
62
67
|
title: z.ZodString;
|
|
68
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
69
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
64
70
|
label: z.ZodString;
|
|
65
71
|
value: z.ZodString;
|
|
@@ -145,6 +151,7 @@ export declare const SlideUpdateSchema: z.ZodObject<{
|
|
|
145
151
|
content: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
146
152
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.COVER>;
|
|
147
153
|
title: z.ZodString;
|
|
154
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
148
155
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
149
156
|
label: z.ZodString;
|
|
150
157
|
value: z.ZodString;
|
|
@@ -179,6 +186,10 @@ export declare const SlideUpdateSchema: z.ZodObject<{
|
|
|
179
186
|
pageNumber: z.ZodNumber;
|
|
180
187
|
title: z.ZodString;
|
|
181
188
|
}, z.core.$strip>>;
|
|
189
|
+
imageSlot: z.ZodOptional<z.ZodObject<{
|
|
190
|
+
uuid: z.ZodUUID;
|
|
191
|
+
prompt: z.ZodString;
|
|
192
|
+
}, z.core.$strip>>;
|
|
182
193
|
version: z.ZodLiteral<1>;
|
|
183
194
|
}, z.core.$strip>, z.ZodObject<{
|
|
184
195
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.SECTION_BREAK>;
|
|
@@ -197,6 +208,7 @@ export declare const SlideUpdateSchema: z.ZodObject<{
|
|
|
197
208
|
}, z.core.$strip>, z.ZodObject<{
|
|
198
209
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.THANK_YOU>;
|
|
199
210
|
title: z.ZodString;
|
|
211
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
212
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
201
213
|
label: z.ZodString;
|
|
202
214
|
value: z.ZodString;
|
|
@@ -262,6 +274,7 @@ export declare const SlideBulkUpdateSchema: z.ZodArray<z.ZodObject<{
|
|
|
262
274
|
content: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
263
275
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.COVER>;
|
|
264
276
|
title: z.ZodString;
|
|
277
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
265
278
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
266
279
|
label: z.ZodString;
|
|
267
280
|
value: z.ZodString;
|
|
@@ -296,6 +309,10 @@ export declare const SlideBulkUpdateSchema: z.ZodArray<z.ZodObject<{
|
|
|
296
309
|
pageNumber: z.ZodNumber;
|
|
297
310
|
title: z.ZodString;
|
|
298
311
|
}, z.core.$strip>>;
|
|
312
|
+
imageSlot: z.ZodOptional<z.ZodObject<{
|
|
313
|
+
uuid: z.ZodUUID;
|
|
314
|
+
prompt: z.ZodString;
|
|
315
|
+
}, z.core.$strip>>;
|
|
299
316
|
version: z.ZodLiteral<1>;
|
|
300
317
|
}, z.core.$strip>, z.ZodObject<{
|
|
301
318
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.SECTION_BREAK>;
|
|
@@ -314,6 +331,7 @@ export declare const SlideBulkUpdateSchema: z.ZodArray<z.ZodObject<{
|
|
|
314
331
|
}, z.core.$strip>, z.ZodObject<{
|
|
315
332
|
contentType: z.ZodLiteral<SLIDE_CONTENT_TYPE.THANK_YOU>;
|
|
316
333
|
title: z.ZodString;
|
|
334
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
317
335
|
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
318
336
|
label: z.ZodString;
|
|
319
337
|
value: z.ZodString;
|
|
@@ -11,6 +11,7 @@ export declare const UserToSubscriptionSchema: z.ZodObject<{
|
|
|
11
11
|
status: z.ZodString;
|
|
12
12
|
startDate: z.ZodNullable<z.ZodDate>;
|
|
13
13
|
endDate: z.ZodNullable<z.ZodDate>;
|
|
14
|
+
billingAnchorDay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
15
|
marks: z.ZodArray<z.ZodString>;
|
|
15
16
|
intervalEndDate: z.ZodNullable<z.ZodDate>;
|
|
16
17
|
carriedOverTokenBalance: z.ZodNumber;
|
|
@@ -29,6 +30,7 @@ export declare const UserToSubscriptionWithSubscriptionSchema: z.ZodIntersection
|
|
|
29
30
|
status: z.ZodString;
|
|
30
31
|
startDate: z.ZodNullable<z.ZodDate>;
|
|
31
32
|
endDate: z.ZodNullable<z.ZodDate>;
|
|
33
|
+
billingAnchorDay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
34
|
marks: z.ZodArray<z.ZodString>;
|
|
33
35
|
intervalEndDate: z.ZodNullable<z.ZodDate>;
|
|
34
36
|
carriedOverTokenBalance: z.ZodNumber;
|
|
@@ -379,6 +381,7 @@ export declare const UserToSubscriptionWithDowngradeSubscriptionSchema: z.ZodInt
|
|
|
379
381
|
status: z.ZodString;
|
|
380
382
|
startDate: z.ZodNullable<z.ZodDate>;
|
|
381
383
|
endDate: z.ZodNullable<z.ZodDate>;
|
|
384
|
+
billingAnchorDay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
382
385
|
marks: z.ZodArray<z.ZodString>;
|
|
383
386
|
intervalEndDate: z.ZodNullable<z.ZodDate>;
|
|
384
387
|
carriedOverTokenBalance: z.ZodNumber;
|