@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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const HTML_PAGE_BUILDER_CONTROLLER_PRIVATE: 'private/tools/html-page-builder';
|
|
2
2
|
export declare const HTML_PAGE_BUILDER_CONTROLLER_PUBLIC: 'public/tools/html-page-builder';
|
|
3
3
|
export declare const HTML_PAGE_BUILDER_ROUTES: {
|
|
4
|
+
readonly IMAGE_ACTION: 'images';
|
|
4
5
|
readonly CONFIG: 'config';
|
|
5
6
|
readonly PRICE: 'price';
|
|
6
7
|
readonly EXECUTE: 'execute';
|
|
@@ -4,6 +4,7 @@ exports.HTML_PAGE_BUILDER_ROUTES = exports.HTML_PAGE_BUILDER_CONTROLLER_PUBLIC =
|
|
|
4
4
|
exports.HTML_PAGE_BUILDER_CONTROLLER_PRIVATE = 'private/tools/html-page-builder';
|
|
5
5
|
exports.HTML_PAGE_BUILDER_CONTROLLER_PUBLIC = 'public/tools/html-page-builder';
|
|
6
6
|
exports.HTML_PAGE_BUILDER_ROUTES = {
|
|
7
|
+
IMAGE_ACTION: 'images',
|
|
7
8
|
CONFIG: 'config',
|
|
8
9
|
PRICE: 'price',
|
|
9
10
|
EXECUTE: 'execute',
|
package/build/api/routes.d.ts
CHANGED
|
@@ -1326,6 +1326,7 @@ export declare const REST_API: {
|
|
|
1326
1326
|
readonly DELETE_ALL: "/api/public/tools/workspaces/";
|
|
1327
1327
|
};
|
|
1328
1328
|
readonly HTML_PAGE_BUILDER_PRIVATE: {
|
|
1329
|
+
readonly IMAGE_ACTION: "/api/private/tools/html-page-builder/images";
|
|
1329
1330
|
readonly CONFIG: "/api/private/tools/html-page-builder/config";
|
|
1330
1331
|
readonly PRICE: "/api/private/tools/html-page-builder/price";
|
|
1331
1332
|
readonly EXECUTE: "/api/private/tools/html-page-builder/execute";
|
|
@@ -1350,6 +1351,7 @@ export declare const REST_API: {
|
|
|
1350
1351
|
readonly DELETE_ALL: "/api/private/tools/html-page-builder/sessions";
|
|
1351
1352
|
};
|
|
1352
1353
|
readonly HTML_PAGE_BUILDER_PUBLIC: {
|
|
1354
|
+
readonly IMAGE_ACTION: "/api/public/tools/html-page-builder/images";
|
|
1353
1355
|
readonly CONFIG: "/api/public/tools/html-page-builder/config";
|
|
1354
1356
|
readonly PRICE: "/api/public/tools/html-page-builder/price";
|
|
1355
1357
|
readonly EXECUTE: "/api/public/tools/html-page-builder/execute";
|
package/build/api/routes.js
CHANGED
|
@@ -1365,6 +1365,7 @@ exports.REST_API = {
|
|
|
1365
1365
|
DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.TOOL_WORKSPACE_CONTROLLER_PUBLIC}/${CONTROLLERS.TOOL_WORKSPACE_ROUTES.DELETE_ALL}`,
|
|
1366
1366
|
},
|
|
1367
1367
|
HTML_PAGE_BUILDER_PRIVATE: {
|
|
1368
|
+
IMAGE_ACTION: `${exports.ROOT}/${CONTROLLERS.HTML_PAGE_BUILDER_CONTROLLER_PRIVATE}/${CONTROLLERS.HTML_PAGE_BUILDER_ROUTES.IMAGE_ACTION}`,
|
|
1368
1369
|
CONFIG: `${exports.ROOT}/${CONTROLLERS.HTML_PAGE_BUILDER_CONTROLLER_PRIVATE}/${CONTROLLERS.HTML_PAGE_BUILDER_ROUTES.CONFIG}`,
|
|
1369
1370
|
PRICE: `${exports.ROOT}/${CONTROLLERS.HTML_PAGE_BUILDER_CONTROLLER_PRIVATE}/${CONTROLLERS.HTML_PAGE_BUILDER_ROUTES.PRICE}`,
|
|
1370
1371
|
EXECUTE: `${exports.ROOT}/${CONTROLLERS.HTML_PAGE_BUILDER_CONTROLLER_PRIVATE}/${CONTROLLERS.HTML_PAGE_BUILDER_ROUTES.EXECUTE}`,
|
|
@@ -1389,6 +1390,7 @@ exports.REST_API = {
|
|
|
1389
1390
|
DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.HTML_PAGE_BUILDER_CONTROLLER_PRIVATE}/${CONTROLLERS.HTML_PAGE_BUILDER_ROUTES.DELETE_ALL}`,
|
|
1390
1391
|
},
|
|
1391
1392
|
HTML_PAGE_BUILDER_PUBLIC: {
|
|
1393
|
+
IMAGE_ACTION: `${exports.ROOT}/${CONTROLLERS.HTML_PAGE_BUILDER_CONTROLLER_PUBLIC}/${CONTROLLERS.HTML_PAGE_BUILDER_ROUTES.IMAGE_ACTION}`,
|
|
1392
1394
|
CONFIG: `${exports.ROOT}/${CONTROLLERS.HTML_PAGE_BUILDER_CONTROLLER_PUBLIC}/${CONTROLLERS.HTML_PAGE_BUILDER_ROUTES.CONFIG}`,
|
|
1393
1395
|
PRICE: `${exports.ROOT}/${CONTROLLERS.HTML_PAGE_BUILDER_CONTROLLER_PUBLIC}/${CONTROLLERS.HTML_PAGE_BUILDER_ROUTES.PRICE}`,
|
|
1394
1396
|
EXECUTE: `${exports.ROOT}/${CONTROLLERS.HTML_PAGE_BUILDER_CONTROLLER_PUBLIC}/${CONTROLLERS.HTML_PAGE_BUILDER_ROUTES.EXECUTE}`,
|
|
@@ -401,6 +401,7 @@ export declare const SubscriptionSummarySchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
401
401
|
status: z.ZodString;
|
|
402
402
|
startDate: z.ZodNullable<z.ZodDate>;
|
|
403
403
|
endDate: z.ZodNullable<z.ZodDate>;
|
|
404
|
+
billingAnchorDay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
404
405
|
marks: z.ZodArray<z.ZodString>;
|
|
405
406
|
intervalEndDate: z.ZodNullable<z.ZodDate>;
|
|
406
407
|
carriedOverTokenBalance: z.ZodNumber;
|
|
@@ -1225,6 +1226,7 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
1225
1226
|
status: z.ZodString;
|
|
1226
1227
|
startDate: z.ZodNullable<z.ZodDate>;
|
|
1227
1228
|
endDate: z.ZodNullable<z.ZodDate>;
|
|
1229
|
+
billingAnchorDay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1228
1230
|
marks: z.ZodArray<z.ZodString>;
|
|
1229
1231
|
intervalEndDate: z.ZodNullable<z.ZodDate>;
|
|
1230
1232
|
carriedOverTokenBalance: z.ZodNumber;
|
|
@@ -2012,6 +2014,7 @@ export declare namespace GetSubscriptionsSummaryCommand {
|
|
|
2012
2014
|
status: z.ZodString;
|
|
2013
2015
|
startDate: z.ZodNullable<z.ZodDate>;
|
|
2014
2016
|
endDate: z.ZodNullable<z.ZodDate>;
|
|
2017
|
+
billingAnchorDay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2015
2018
|
marks: z.ZodArray<z.ZodString>;
|
|
2016
2019
|
intervalEndDate: z.ZodNullable<z.ZodDate>;
|
|
2017
2020
|
carriedOverTokenBalance: z.ZodNumber;
|
package/build/commands/tools/html-page-builder/answer-html-page-builder-questions.command.d.ts
CHANGED
|
@@ -54,6 +54,28 @@ export declare namespace AnswerHtmlPageBuilderQuestionsCommand {
|
|
|
54
54
|
html: z.ZodString;
|
|
55
55
|
order: z.ZodNumber;
|
|
56
56
|
isHome: z.ZodBoolean;
|
|
57
|
+
imageSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
58
|
+
id: z.ZodString;
|
|
59
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
60
|
+
status: z.ZodEnum<{
|
|
61
|
+
completed: "completed";
|
|
62
|
+
empty: "empty";
|
|
63
|
+
failed: "failed";
|
|
64
|
+
pending: "pending";
|
|
65
|
+
}>;
|
|
66
|
+
operationState: z.ZodOptional<z.ZodEnum<{
|
|
67
|
+
completed: "completed";
|
|
68
|
+
failed: "failed";
|
|
69
|
+
queued: "queued";
|
|
70
|
+
running: "running";
|
|
71
|
+
}>>;
|
|
72
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
73
|
+
charged: "charged";
|
|
74
|
+
not_charged: "not_charged";
|
|
75
|
+
pending: "pending";
|
|
76
|
+
}>>;
|
|
77
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
78
|
+
}, z.core.$strip>>>;
|
|
57
79
|
}, z.core.$strip>>>>;
|
|
58
80
|
previewUrl: z.ZodOptional<z.ZodString>;
|
|
59
81
|
files: z.ZodOptional<z.ZodObject<{
|
|
@@ -87,6 +109,36 @@ export declare namespace AnswerHtmlPageBuilderQuestionsCommand {
|
|
|
87
109
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
110
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
111
|
params: z.ZodObject<{
|
|
112
|
+
withImages: z.ZodOptional<z.ZodBoolean>;
|
|
113
|
+
imageOriginId: z.ZodOptional<z.ZodUUID>;
|
|
114
|
+
imagePhase: z.ZodOptional<z.ZodObject<{
|
|
115
|
+
originId: z.ZodUUID;
|
|
116
|
+
settled: z.ZodBoolean;
|
|
117
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
118
|
+
pageSlug: z.ZodString;
|
|
119
|
+
slotId: z.ZodString;
|
|
120
|
+
state: z.ZodEnum<{
|
|
121
|
+
completed: "completed";
|
|
122
|
+
failed: "failed";
|
|
123
|
+
queued: "queued";
|
|
124
|
+
running: "running";
|
|
125
|
+
}>;
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
|
+
}, z.core.$strip>>;
|
|
128
|
+
imageAction: z.ZodOptional<z.ZodObject<{
|
|
129
|
+
pageSlug: z.ZodString;
|
|
130
|
+
slotId: z.ZodString;
|
|
131
|
+
mode: z.ZodEnum<{
|
|
132
|
+
generate: "generate";
|
|
133
|
+
regenerate: "regenerate";
|
|
134
|
+
replace: "replace";
|
|
135
|
+
}>;
|
|
136
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
137
|
+
charged: "charged";
|
|
138
|
+
not_charged: "not_charged";
|
|
139
|
+
pending: "pending";
|
|
140
|
+
}>>;
|
|
141
|
+
}, z.core.$strip>>;
|
|
90
142
|
attachedFiles: z.ZodArray<z.ZodObject<{
|
|
91
143
|
uuid: z.ZodString;
|
|
92
144
|
url: z.ZodString;
|
|
@@ -116,6 +168,28 @@ export declare namespace AnswerHtmlPageBuilderQuestionsCommand {
|
|
|
116
168
|
html: z.ZodString;
|
|
117
169
|
order: z.ZodNumber;
|
|
118
170
|
isHome: z.ZodBoolean;
|
|
171
|
+
imageSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
172
|
+
id: z.ZodString;
|
|
173
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
174
|
+
status: z.ZodEnum<{
|
|
175
|
+
completed: "completed";
|
|
176
|
+
empty: "empty";
|
|
177
|
+
failed: "failed";
|
|
178
|
+
pending: "pending";
|
|
179
|
+
}>;
|
|
180
|
+
operationState: z.ZodOptional<z.ZodEnum<{
|
|
181
|
+
completed: "completed";
|
|
182
|
+
failed: "failed";
|
|
183
|
+
queued: "queued";
|
|
184
|
+
running: "running";
|
|
185
|
+
}>>;
|
|
186
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
187
|
+
charged: "charged";
|
|
188
|
+
not_charged: "not_charged";
|
|
189
|
+
pending: "pending";
|
|
190
|
+
}>>;
|
|
191
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
192
|
+
}, z.core.$strip>>>;
|
|
119
193
|
}, z.core.$strip>>;
|
|
120
194
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
195
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -16,6 +16,7 @@ export declare namespace ExecuteHtmlPageBuilderCommand {
|
|
|
16
16
|
attachedFiles: z.ZodArray<z.ZodUUID>;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
pagesCount: z.ZodNumber;
|
|
19
|
+
withImages: z.ZodOptional<z.ZodBoolean>;
|
|
19
20
|
styleId: z.ZodUUID;
|
|
20
21
|
fontId: z.ZodUUID;
|
|
21
22
|
accentColor: z.ZodOptional<z.ZodString>;
|
|
@@ -60,6 +61,28 @@ export declare namespace ExecuteHtmlPageBuilderCommand {
|
|
|
60
61
|
html: z.ZodString;
|
|
61
62
|
order: z.ZodNumber;
|
|
62
63
|
isHome: z.ZodBoolean;
|
|
64
|
+
imageSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
65
|
+
id: z.ZodString;
|
|
66
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
67
|
+
status: z.ZodEnum<{
|
|
68
|
+
completed: "completed";
|
|
69
|
+
empty: "empty";
|
|
70
|
+
failed: "failed";
|
|
71
|
+
pending: "pending";
|
|
72
|
+
}>;
|
|
73
|
+
operationState: z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
completed: "completed";
|
|
75
|
+
failed: "failed";
|
|
76
|
+
queued: "queued";
|
|
77
|
+
running: "running";
|
|
78
|
+
}>>;
|
|
79
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
80
|
+
charged: "charged";
|
|
81
|
+
not_charged: "not_charged";
|
|
82
|
+
pending: "pending";
|
|
83
|
+
}>>;
|
|
84
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
85
|
+
}, z.core.$strip>>>;
|
|
63
86
|
}, z.core.$strip>>>>;
|
|
64
87
|
previewUrl: z.ZodOptional<z.ZodString>;
|
|
65
88
|
files: z.ZodOptional<z.ZodObject<{
|
|
@@ -93,6 +116,36 @@ export declare namespace ExecuteHtmlPageBuilderCommand {
|
|
|
93
116
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
117
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
118
|
params: z.ZodObject<{
|
|
119
|
+
withImages: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
+
imageOriginId: z.ZodOptional<z.ZodUUID>;
|
|
121
|
+
imagePhase: z.ZodOptional<z.ZodObject<{
|
|
122
|
+
originId: z.ZodUUID;
|
|
123
|
+
settled: z.ZodBoolean;
|
|
124
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
125
|
+
pageSlug: z.ZodString;
|
|
126
|
+
slotId: z.ZodString;
|
|
127
|
+
state: z.ZodEnum<{
|
|
128
|
+
completed: "completed";
|
|
129
|
+
failed: "failed";
|
|
130
|
+
queued: "queued";
|
|
131
|
+
running: "running";
|
|
132
|
+
}>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
135
|
+
imageAction: z.ZodOptional<z.ZodObject<{
|
|
136
|
+
pageSlug: z.ZodString;
|
|
137
|
+
slotId: z.ZodString;
|
|
138
|
+
mode: z.ZodEnum<{
|
|
139
|
+
generate: "generate";
|
|
140
|
+
regenerate: "regenerate";
|
|
141
|
+
replace: "replace";
|
|
142
|
+
}>;
|
|
143
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
144
|
+
charged: "charged";
|
|
145
|
+
not_charged: "not_charged";
|
|
146
|
+
pending: "pending";
|
|
147
|
+
}>>;
|
|
148
|
+
}, z.core.$strip>>;
|
|
96
149
|
attachedFiles: z.ZodArray<z.ZodObject<{
|
|
97
150
|
uuid: z.ZodString;
|
|
98
151
|
url: z.ZodString;
|
|
@@ -122,6 +175,28 @@ export declare namespace ExecuteHtmlPageBuilderCommand {
|
|
|
122
175
|
html: z.ZodString;
|
|
123
176
|
order: z.ZodNumber;
|
|
124
177
|
isHome: z.ZodBoolean;
|
|
178
|
+
imageSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
179
|
+
id: z.ZodString;
|
|
180
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
181
|
+
status: z.ZodEnum<{
|
|
182
|
+
completed: "completed";
|
|
183
|
+
empty: "empty";
|
|
184
|
+
failed: "failed";
|
|
185
|
+
pending: "pending";
|
|
186
|
+
}>;
|
|
187
|
+
operationState: z.ZodOptional<z.ZodEnum<{
|
|
188
|
+
completed: "completed";
|
|
189
|
+
failed: "failed";
|
|
190
|
+
queued: "queued";
|
|
191
|
+
running: "running";
|
|
192
|
+
}>>;
|
|
193
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
194
|
+
charged: "charged";
|
|
195
|
+
not_charged: "not_charged";
|
|
196
|
+
pending: "pending";
|
|
197
|
+
}>>;
|
|
198
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
199
|
+
}, z.core.$strip>>>;
|
|
125
200
|
}, z.core.$strip>>;
|
|
126
201
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
127
202
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -23,6 +23,8 @@ var ExecuteHtmlPageBuilderCommand;
|
|
|
23
23
|
// Required: the volume is what the run is priced by, so a request that does not name it
|
|
24
24
|
// would be paid for as something else
|
|
25
25
|
pagesCount: zod_1.z.number().int().positive(),
|
|
26
|
+
/** Initial BUILD images only; absent means false. */
|
|
27
|
+
withImages: zod_1.z.boolean().optional(),
|
|
26
28
|
/**
|
|
27
29
|
* Design of the site. Required: every run builds a site from scratch, and a generation
|
|
28
30
|
* without a style is not a cheaper site, it is a different one.
|
package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts
CHANGED
|
@@ -43,6 +43,28 @@ export declare namespace FindHtmlPageBuilderSessionByUUIDCommand {
|
|
|
43
43
|
html: z.ZodString;
|
|
44
44
|
order: z.ZodNumber;
|
|
45
45
|
isHome: z.ZodBoolean;
|
|
46
|
+
imageSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
49
|
+
status: z.ZodEnum<{
|
|
50
|
+
completed: "completed";
|
|
51
|
+
empty: "empty";
|
|
52
|
+
failed: "failed";
|
|
53
|
+
pending: "pending";
|
|
54
|
+
}>;
|
|
55
|
+
operationState: z.ZodOptional<z.ZodEnum<{
|
|
56
|
+
completed: "completed";
|
|
57
|
+
failed: "failed";
|
|
58
|
+
queued: "queued";
|
|
59
|
+
running: "running";
|
|
60
|
+
}>>;
|
|
61
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
62
|
+
charged: "charged";
|
|
63
|
+
not_charged: "not_charged";
|
|
64
|
+
pending: "pending";
|
|
65
|
+
}>>;
|
|
66
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
67
|
+
}, z.core.$strip>>>;
|
|
46
68
|
}, z.core.$strip>>>>;
|
|
47
69
|
previewUrl: z.ZodOptional<z.ZodString>;
|
|
48
70
|
files: z.ZodOptional<z.ZodObject<{
|
|
@@ -76,6 +98,36 @@ export declare namespace FindHtmlPageBuilderSessionByUUIDCommand {
|
|
|
76
98
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
99
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
100
|
params: z.ZodObject<{
|
|
101
|
+
withImages: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
+
imageOriginId: z.ZodOptional<z.ZodUUID>;
|
|
103
|
+
imagePhase: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
originId: z.ZodUUID;
|
|
105
|
+
settled: z.ZodBoolean;
|
|
106
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
107
|
+
pageSlug: z.ZodString;
|
|
108
|
+
slotId: z.ZodString;
|
|
109
|
+
state: z.ZodEnum<{
|
|
110
|
+
completed: "completed";
|
|
111
|
+
failed: "failed";
|
|
112
|
+
queued: "queued";
|
|
113
|
+
running: "running";
|
|
114
|
+
}>;
|
|
115
|
+
}, z.core.$strip>>;
|
|
116
|
+
}, z.core.$strip>>;
|
|
117
|
+
imageAction: z.ZodOptional<z.ZodObject<{
|
|
118
|
+
pageSlug: z.ZodString;
|
|
119
|
+
slotId: z.ZodString;
|
|
120
|
+
mode: z.ZodEnum<{
|
|
121
|
+
generate: "generate";
|
|
122
|
+
regenerate: "regenerate";
|
|
123
|
+
replace: "replace";
|
|
124
|
+
}>;
|
|
125
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
126
|
+
charged: "charged";
|
|
127
|
+
not_charged: "not_charged";
|
|
128
|
+
pending: "pending";
|
|
129
|
+
}>>;
|
|
130
|
+
}, z.core.$strip>>;
|
|
79
131
|
attachedFiles: z.ZodArray<z.ZodObject<{
|
|
80
132
|
uuid: z.ZodString;
|
|
81
133
|
url: z.ZodString;
|
|
@@ -105,6 +157,28 @@ export declare namespace FindHtmlPageBuilderSessionByUUIDCommand {
|
|
|
105
157
|
html: z.ZodString;
|
|
106
158
|
order: z.ZodNumber;
|
|
107
159
|
isHome: z.ZodBoolean;
|
|
160
|
+
imageSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
161
|
+
id: z.ZodString;
|
|
162
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
163
|
+
status: z.ZodEnum<{
|
|
164
|
+
completed: "completed";
|
|
165
|
+
empty: "empty";
|
|
166
|
+
failed: "failed";
|
|
167
|
+
pending: "pending";
|
|
168
|
+
}>;
|
|
169
|
+
operationState: z.ZodOptional<z.ZodEnum<{
|
|
170
|
+
completed: "completed";
|
|
171
|
+
failed: "failed";
|
|
172
|
+
queued: "queued";
|
|
173
|
+
running: "running";
|
|
174
|
+
}>>;
|
|
175
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
176
|
+
charged: "charged";
|
|
177
|
+
not_charged: "not_charged";
|
|
178
|
+
pending: "pending";
|
|
179
|
+
}>>;
|
|
180
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
181
|
+
}, z.core.$strip>>>;
|
|
108
182
|
}, z.core.$strip>>;
|
|
109
183
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110
184
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -49,6 +49,28 @@ export declare namespace FindHtmlPageBuilderSessionsCommand {
|
|
|
49
49
|
html: z.ZodString;
|
|
50
50
|
order: z.ZodNumber;
|
|
51
51
|
isHome: z.ZodBoolean;
|
|
52
|
+
imageSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
53
|
+
id: z.ZodString;
|
|
54
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
55
|
+
status: z.ZodEnum<{
|
|
56
|
+
completed: "completed";
|
|
57
|
+
empty: "empty";
|
|
58
|
+
failed: "failed";
|
|
59
|
+
pending: "pending";
|
|
60
|
+
}>;
|
|
61
|
+
operationState: z.ZodOptional<z.ZodEnum<{
|
|
62
|
+
completed: "completed";
|
|
63
|
+
failed: "failed";
|
|
64
|
+
queued: "queued";
|
|
65
|
+
running: "running";
|
|
66
|
+
}>>;
|
|
67
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
68
|
+
charged: "charged";
|
|
69
|
+
not_charged: "not_charged";
|
|
70
|
+
pending: "pending";
|
|
71
|
+
}>>;
|
|
72
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, z.core.$strip>>>;
|
|
52
74
|
}, z.core.$strip>>>>;
|
|
53
75
|
previewUrl: z.ZodOptional<z.ZodString>;
|
|
54
76
|
files: z.ZodOptional<z.ZodObject<{
|
|
@@ -82,6 +104,36 @@ export declare namespace FindHtmlPageBuilderSessionsCommand {
|
|
|
82
104
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
105
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
106
|
params: z.ZodObject<{
|
|
107
|
+
withImages: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
+
imageOriginId: z.ZodOptional<z.ZodUUID>;
|
|
109
|
+
imagePhase: z.ZodOptional<z.ZodObject<{
|
|
110
|
+
originId: z.ZodUUID;
|
|
111
|
+
settled: z.ZodBoolean;
|
|
112
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
113
|
+
pageSlug: z.ZodString;
|
|
114
|
+
slotId: z.ZodString;
|
|
115
|
+
state: z.ZodEnum<{
|
|
116
|
+
completed: "completed";
|
|
117
|
+
failed: "failed";
|
|
118
|
+
queued: "queued";
|
|
119
|
+
running: "running";
|
|
120
|
+
}>;
|
|
121
|
+
}, z.core.$strip>>;
|
|
122
|
+
}, z.core.$strip>>;
|
|
123
|
+
imageAction: z.ZodOptional<z.ZodObject<{
|
|
124
|
+
pageSlug: z.ZodString;
|
|
125
|
+
slotId: z.ZodString;
|
|
126
|
+
mode: z.ZodEnum<{
|
|
127
|
+
generate: "generate";
|
|
128
|
+
regenerate: "regenerate";
|
|
129
|
+
replace: "replace";
|
|
130
|
+
}>;
|
|
131
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
132
|
+
charged: "charged";
|
|
133
|
+
not_charged: "not_charged";
|
|
134
|
+
pending: "pending";
|
|
135
|
+
}>>;
|
|
136
|
+
}, z.core.$strip>>;
|
|
85
137
|
attachedFiles: z.ZodArray<z.ZodObject<{
|
|
86
138
|
uuid: z.ZodString;
|
|
87
139
|
url: z.ZodString;
|
|
@@ -111,6 +163,28 @@ export declare namespace FindHtmlPageBuilderSessionsCommand {
|
|
|
111
163
|
html: z.ZodString;
|
|
112
164
|
order: z.ZodNumber;
|
|
113
165
|
isHome: z.ZodBoolean;
|
|
166
|
+
imageSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
167
|
+
id: z.ZodString;
|
|
168
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
169
|
+
status: z.ZodEnum<{
|
|
170
|
+
completed: "completed";
|
|
171
|
+
empty: "empty";
|
|
172
|
+
failed: "failed";
|
|
173
|
+
pending: "pending";
|
|
174
|
+
}>;
|
|
175
|
+
operationState: z.ZodOptional<z.ZodEnum<{
|
|
176
|
+
completed: "completed";
|
|
177
|
+
failed: "failed";
|
|
178
|
+
queued: "queued";
|
|
179
|
+
running: "running";
|
|
180
|
+
}>>;
|
|
181
|
+
billingStatus: z.ZodOptional<z.ZodEnum<{
|
|
182
|
+
charged: "charged";
|
|
183
|
+
not_charged: "not_charged";
|
|
184
|
+
pending: "pending";
|
|
185
|
+
}>>;
|
|
186
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
187
|
+
}, z.core.$strip>>>;
|
|
114
188
|
}, z.core.$strip>>;
|
|
115
189
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
190
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10,6 +10,7 @@ export declare namespace GetHtmlPageBuilderPriceCommand {
|
|
|
10
10
|
modelId: z.ZodUUID;
|
|
11
11
|
inputLength: z.ZodNumber;
|
|
12
12
|
sessionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
13
|
+
withImages: z.ZodOptional<z.ZodBoolean>;
|
|
13
14
|
baseJobId: z.ZodOptional<z.ZodUUID>;
|
|
14
15
|
pagesCount: z.ZodNumber;
|
|
15
16
|
styleId: z.ZodUUID;
|
|
@@ -15,6 +15,8 @@ var GetHtmlPageBuilderPriceCommand;
|
|
|
15
15
|
modelId: zod_1.z.uuid(),
|
|
16
16
|
inputLength: zod_1.z.number().int().nonnegative().max(GetHtmlPageBuilderPriceCommand.MAX_INPUT_LENGTH),
|
|
17
17
|
sessionId: zod_1.z.uuid().nullable().optional(),
|
|
18
|
+
/** Initial BUILD images only; absent means false. */
|
|
19
|
+
withImages: zod_1.z.boolean().optional(),
|
|
18
20
|
// Present only for refinement: price the immutable saved bundle, not a new build.
|
|
19
21
|
baseJobId: zod_1.z.uuid().optional(),
|
|
20
22
|
// Required, exactly as in `execute`: the quote must describe the same site the run builds
|