@purpleschool/gptbot-tools 0.0.26 → 0.0.28
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/common/errors/errors.js +191 -0
- package/build/index.js +5 -0
- package/build/language/index.js +17 -0
- package/build/language/models/index.js +17 -0
- package/build/language/models/language.schema.js +11 -0
- package/build/presentation/commands/create-presentation.command.js +18 -0
- package/build/presentation/commands/delete-all-user-presentations.command.js +13 -0
- package/build/presentation/commands/delete-presentation.command.js +14 -0
- package/build/presentation/commands/delete-slide-outline.command.js +15 -0
- package/build/presentation/commands/export-as-pptx.command.js +18 -0
- package/build/presentation/commands/generate-presentation-outline.command.js +18 -0
- package/build/presentation/commands/generate-slides.command.js +15 -0
- package/build/presentation/commands/index.js +27 -0
- package/build/presentation/commands/reposition-slide-outline.command.js +16 -0
- package/build/presentation/commands/update-presentation-outline.command.js +16 -0
- package/build/presentation/commands/update-presentation.command.js +16 -0
- package/build/presentation/commands/update-slide-outline.command.js +17 -0
- package/build/presentation/constants/index.js +17 -0
- package/build/presentation/constants/slide-layout-map.constant.js +16 -0
- package/build/presentation/enums/index.js +22 -0
- package/build/presentation/enums/presentation-stage.enum.js +14 -0
- package/build/presentation/enums/slide-content-type.enum.js +15 -0
- package/build/presentation/enums/slide-icon-slot-status.enum.js +10 -0
- package/build/presentation/enums/slide-image-job-status.enum.js +10 -0
- package/build/presentation/enums/slide-image-slot-status.enum.js +10 -0
- package/build/presentation/enums/slide-layout.enum.js +8 -0
- package/build/presentation/index.js +22 -0
- package/build/presentation/models/index.js +25 -0
- package/build/presentation/models/pptx-export-payload.js +183 -0
- package/build/presentation/models/presentation-config.schema.js +17 -0
- package/build/presentation/models/presentation-template.schema.js +13 -0
- package/build/presentation/models/presentation.schema.js +30 -0
- package/build/presentation/models/slide-content-type.schema.js +14 -0
- package/build/presentation/models/slide-content.schema.js +178 -0
- package/build/presentation/models/slide-icon-slot.schema.js +15 -0
- package/build/presentation/models/slide-image-slot.schema.js +16 -0
- package/build/presentation/models/slide-outline.schema.js +50 -0
- package/build/presentation/models/slide.schema.js +20 -0
- package/build/presentation/queries/find-presentation-by-uuid.query.js +13 -0
- package/build/presentation/queries/find-presentation-outline.query.js +15 -0
- package/build/presentation/queries/find-presentations.query.js +21 -0
- package/build/presentation/queries/get-presentation-config.query.js +9 -0
- package/build/presentation/queries/index.js +20 -0
- package/build/presentation/routes/index.js +17 -0
- package/build/presentation/routes/presentation.routes.js +22 -0
- package/build/video/models/video-job.schema.js +1 -0
- package/common/errors/errors.ts +191 -0
- package/index.ts +5 -0
- package/language/index.ts +1 -0
- package/language/models/index.ts +1 -0
- package/language/models/language.schema.ts +9 -0
- package/package.json +1 -1
- package/presentation/commands/create-presentation.command.ts +18 -0
- package/presentation/commands/delete-all-user-presentations.command.ts +13 -0
- package/presentation/commands/delete-presentation.command.ts +14 -0
- package/presentation/commands/delete-slide-outline.command.ts +15 -0
- package/presentation/commands/export-as-pptx.command.ts +20 -0
- package/presentation/commands/generate-presentation-outline.command.ts +18 -0
- package/presentation/commands/generate-slides.command.ts +15 -0
- package/presentation/commands/index.ts +11 -0
- package/presentation/commands/reposition-slide-outline.command.ts +16 -0
- package/presentation/commands/update-presentation-outline.command.ts +16 -0
- package/presentation/commands/update-presentation.command.ts +16 -0
- package/presentation/commands/update-slide-outline.command.ts +17 -0
- package/presentation/constants/index.ts +1 -0
- package/presentation/constants/slide-layout-map.constant.ts +14 -0
- package/presentation/enums/index.ts +6 -0
- package/presentation/enums/presentation-stage.enum.ts +13 -0
- package/presentation/enums/slide-content-type.enum.ts +11 -0
- package/presentation/enums/slide-icon-slot-status.enum.ts +6 -0
- package/presentation/enums/slide-image-job-status.enum.ts +6 -0
- package/presentation/enums/slide-image-slot-status.enum.ts +6 -0
- package/presentation/enums/slide-layout.enum.ts +4 -0
- package/presentation/index.ts +6 -0
- package/presentation/models/index.ts +9 -0
- package/presentation/models/pptx-export-payload.ts +212 -0
- package/presentation/models/presentation-config.schema.ts +16 -0
- package/presentation/models/presentation-template.schema.ts +12 -0
- package/presentation/models/presentation.schema.ts +33 -0
- package/presentation/models/slide-content-type.schema.ts +13 -0
- package/presentation/models/slide-content.schema.ts +221 -0
- package/presentation/models/slide-icon-slot.schema.ts +13 -0
- package/presentation/models/slide-image-slot.schema.ts +14 -0
- package/presentation/models/slide-outline.schema.ts +58 -0
- package/presentation/models/slide.schema.ts +19 -0
- package/presentation/queries/find-presentation-by-uuid.query.ts +13 -0
- package/presentation/queries/find-presentation-outline.query.ts +15 -0
- package/presentation/queries/find-presentations.query.ts +24 -0
- package/presentation/queries/get-presentation-config.query.ts +8 -0
- package/presentation/queries/index.ts +4 -0
- package/presentation/routes/index.ts +1 -0
- package/presentation/routes/presentation.routes.ts +20 -0
- package/video/models/video-job.schema.ts +1 -0
|
@@ -109,6 +109,11 @@ exports.ERRORS = {
|
|
|
109
109
|
message: 'Произошла ошибка при загрузке файлы в S3 в потоковом режиме',
|
|
110
110
|
httpCode: 500,
|
|
111
111
|
},
|
|
112
|
+
UPLOAD_ERROR: {
|
|
113
|
+
code: 'S3.UPLOAD_ERROR',
|
|
114
|
+
message: 'Произошла ошибка при загрузке файла в S3',
|
|
115
|
+
httpCode: 500,
|
|
116
|
+
},
|
|
112
117
|
},
|
|
113
118
|
STT: {
|
|
114
119
|
AI_ERROR: {
|
|
@@ -247,6 +252,192 @@ exports.ERRORS = {
|
|
|
247
252
|
httpCode: 400,
|
|
248
253
|
},
|
|
249
254
|
},
|
|
255
|
+
PRESENTATION: {
|
|
256
|
+
NOT_FOUND: {
|
|
257
|
+
code: 'PRESENTATION.NOT_FOUND',
|
|
258
|
+
message: 'Презентация не найдена',
|
|
259
|
+
httpCode: 404,
|
|
260
|
+
},
|
|
261
|
+
FIND_ERROR: {
|
|
262
|
+
code: 'PRESENTATION.FIND_ERROR',
|
|
263
|
+
message: 'Произошла ошибка при поиске презентации',
|
|
264
|
+
httpCode: 500,
|
|
265
|
+
},
|
|
266
|
+
SAVE_ERROR: {
|
|
267
|
+
code: 'PRESENTATION.SAVE_ERROR',
|
|
268
|
+
message: 'Произошла ошибка при сохранении презентации',
|
|
269
|
+
httpCode: 500,
|
|
270
|
+
},
|
|
271
|
+
GENERATE_OUTLINE_ERROR: {
|
|
272
|
+
code: 'PRESENTATION.GENERATE_OUTLINE_ERROR',
|
|
273
|
+
message: 'Произошла ошибка при генерации макета презентации',
|
|
274
|
+
httpCode: 500,
|
|
275
|
+
},
|
|
276
|
+
GENERATE_SLIDES_ERROR: {
|
|
277
|
+
code: 'PRESENTATION.GENERATE_SLIDES_ERROR',
|
|
278
|
+
message: 'Произошла ошибка при генерации слайдов презентации',
|
|
279
|
+
httpCode: 500,
|
|
280
|
+
},
|
|
281
|
+
GENERATE_OUTLINE_AI_ERROR: {
|
|
282
|
+
code: 'PRESENTATION.GENERATE_OUTLINE_AI_ERROR',
|
|
283
|
+
message: 'Произошла ошибка при генерации макета презентации',
|
|
284
|
+
httpCode: 500,
|
|
285
|
+
},
|
|
286
|
+
GENERATE_SLIDES_AI_ERROR: {
|
|
287
|
+
code: 'PRESENTATION.GENERATE_SLIDES_AI_ERROR',
|
|
288
|
+
message: 'Произошла ошибка при генерации слайдов презентации',
|
|
289
|
+
httpCode: 500,
|
|
290
|
+
},
|
|
291
|
+
STAGE_CREATED_REQUIRED: {
|
|
292
|
+
code: 'PRESENTATION.STAGE_CREATED_REQUIRED',
|
|
293
|
+
message: 'Данная операция доступна только до этапа генерации макета',
|
|
294
|
+
httpCode: 400,
|
|
295
|
+
},
|
|
296
|
+
STAGE_SLIDES_GENERATED_REQUIRED: {
|
|
297
|
+
code: 'PRESENTATION.STAGE_SLIDE_GENERATION_REQUIRED',
|
|
298
|
+
message: 'Данная операция доступна только сразу же после этапа генерации слайдов',
|
|
299
|
+
httpCode: 400,
|
|
300
|
+
},
|
|
301
|
+
STAGE_OUTLINE_GENERATED_REQUIRED: {
|
|
302
|
+
code: 'PRESENTATION.STAGE_OUTLINE_GENERATED_REQUIRED',
|
|
303
|
+
message: 'Данная операция доступна только сразу же после этапа генерации макета',
|
|
304
|
+
httpCode: 400,
|
|
305
|
+
},
|
|
306
|
+
SAVE_SLIDES_ERROR: {
|
|
307
|
+
code: 'PRESENTATION.SAVE_SLIDES_ERROR',
|
|
308
|
+
message: 'Произошла ошибка при сохранении слайдов презентации',
|
|
309
|
+
httpCode: 500,
|
|
310
|
+
},
|
|
311
|
+
OWNERSHIP_ERROR: {
|
|
312
|
+
code: 'PRESENTATION.OWNERSHIP_ERROR',
|
|
313
|
+
message: 'Пользователь не является владельцем данной презентации',
|
|
314
|
+
httpCode: 403,
|
|
315
|
+
},
|
|
316
|
+
DELETE_ERROR: {
|
|
317
|
+
code: 'PRESENTATION.DELETE_ERROR',
|
|
318
|
+
message: 'Произошла ошибка при удалении презентации',
|
|
319
|
+
httpCode: 500,
|
|
320
|
+
},
|
|
321
|
+
OUTLINE_UPDATE_ERROR: {
|
|
322
|
+
code: 'PRESENTATION.OUTLINE_UPDATE_ERROR',
|
|
323
|
+
message: 'Произошла ошибка при обновлении макета презентации',
|
|
324
|
+
httpCode: 500,
|
|
325
|
+
},
|
|
326
|
+
TOO_MANY_SLIDES: {
|
|
327
|
+
code: 'PRESENTATION.TOO_MANY_SLIDES',
|
|
328
|
+
message: 'Превышено максимальное количество слайдов',
|
|
329
|
+
httpCode: 400,
|
|
330
|
+
},
|
|
331
|
+
TOO_FEW_SLIDES: {
|
|
332
|
+
code: 'PRESENTATION.TOO_FEW_SLIDES',
|
|
333
|
+
message: 'Минимальное количество слайдов не достигнуто',
|
|
334
|
+
httpCode: 400,
|
|
335
|
+
},
|
|
336
|
+
IMAGE_GENERATION_ERROR: {
|
|
337
|
+
code: 'PRESENTATION.IMAGE_GENERATION_ERROR',
|
|
338
|
+
message: 'Произошла ошибка при генерации изображений для слайдов',
|
|
339
|
+
httpCode: 500,
|
|
340
|
+
},
|
|
341
|
+
},
|
|
342
|
+
SLIDE_OUTLINE: {
|
|
343
|
+
DELETE_ERROR: {
|
|
344
|
+
code: 'SLIDE_OUTLINE.DELETE_ERROR',
|
|
345
|
+
message: 'Произошла ошибка при удалении макета слайда',
|
|
346
|
+
httpCode: 500,
|
|
347
|
+
},
|
|
348
|
+
REPOSITION_ERROR: {
|
|
349
|
+
code: 'SLIDE_OUTLINE.REPOSITION_ERROR',
|
|
350
|
+
message: 'Произошла ошибка при перестановке макета слайда',
|
|
351
|
+
httpCode: 500,
|
|
352
|
+
},
|
|
353
|
+
NOT_FOUND: {
|
|
354
|
+
code: 'SLIDE_OUTLINE.NOT_FOUND',
|
|
355
|
+
message: 'Макет слайда не найден',
|
|
356
|
+
httpCode: 404,
|
|
357
|
+
},
|
|
358
|
+
SAVE_ERROR: {
|
|
359
|
+
code: 'SLIDE_OUTLINE.SAVE_ERROR',
|
|
360
|
+
message: 'Произошла ошибка при сохранении макета слайда',
|
|
361
|
+
httpCode: 500,
|
|
362
|
+
},
|
|
363
|
+
UPDATE_ERROR: {
|
|
364
|
+
code: 'SLIDE_OUTLINE.UPDATE_ERROR',
|
|
365
|
+
message: 'Произошла ошибка при обновлении макета слайда',
|
|
366
|
+
httpCode: 500,
|
|
367
|
+
},
|
|
368
|
+
FIND_ERROR: {
|
|
369
|
+
code: 'SLIDE_OUTLINE.FIND_ERROR',
|
|
370
|
+
message: 'Произошла ошибка при поиске макета слайда',
|
|
371
|
+
httpCode: 500,
|
|
372
|
+
},
|
|
373
|
+
INVALID_POSITION: {
|
|
374
|
+
code: 'SLIDE_OUTLINE.INVALID_POSITION',
|
|
375
|
+
message: 'Неверная позиция для перестановки макета слайда',
|
|
376
|
+
httpCode: 400,
|
|
377
|
+
},
|
|
378
|
+
},
|
|
379
|
+
SLIDE_LAYOUT: {
|
|
380
|
+
FIND_ERROR: {
|
|
381
|
+
code: 'SLIDE_LAYOUT.FIND_ERROR',
|
|
382
|
+
message: 'Произошла ошибка при поиске макета слайда',
|
|
383
|
+
httpCode: 500,
|
|
384
|
+
},
|
|
385
|
+
NOT_FOUND: {
|
|
386
|
+
code: 'SLIDE_LAYOUT.NOT_FOUND',
|
|
387
|
+
message: 'Макет слайда не найден',
|
|
388
|
+
httpCode: 404,
|
|
389
|
+
},
|
|
390
|
+
SAVE_ERROR: {
|
|
391
|
+
code: 'SLIDE_LAYOUT.SAVE_ERROR',
|
|
392
|
+
message: 'Произошла ошибка при сохранении макета слайда',
|
|
393
|
+
httpCode: 500,
|
|
394
|
+
},
|
|
395
|
+
},
|
|
396
|
+
LANGUAGE: {
|
|
397
|
+
FIND_ERROR: {
|
|
398
|
+
code: 'LANGUAGE.FIND_ERROR',
|
|
399
|
+
message: 'Произошла ошибка при поиске языка',
|
|
400
|
+
httpCode: 500,
|
|
401
|
+
},
|
|
402
|
+
NOT_FOUND: {
|
|
403
|
+
code: 'LANGUAGE.NOT_FOUND',
|
|
404
|
+
message: 'Язык не найден',
|
|
405
|
+
httpCode: 404,
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
PRESENTATION_TEMPLATE: {
|
|
409
|
+
NOT_FOUND: {
|
|
410
|
+
code: 'PRESENTATION_TEMPLATE.NOT_FOUND',
|
|
411
|
+
message: 'Шаблон презентации не найден',
|
|
412
|
+
httpCode: 404,
|
|
413
|
+
},
|
|
414
|
+
FIND_ERROR: {
|
|
415
|
+
code: 'PRESENTATION_TEMPLATE.FIND_ERROR',
|
|
416
|
+
message: 'Произошла ошибка при поиске шаблона презентации',
|
|
417
|
+
httpCode: 500,
|
|
418
|
+
},
|
|
419
|
+
},
|
|
420
|
+
SLIDE_CONTENT_TYPE: {
|
|
421
|
+
FIND_ERROR: {
|
|
422
|
+
code: 'SLIDE_CONTENT_TYPE.FIND_ERROR',
|
|
423
|
+
message: 'Произошла ошибка при поиске типа содержимого слайда',
|
|
424
|
+
httpCode: 500,
|
|
425
|
+
},
|
|
426
|
+
},
|
|
427
|
+
SLIDE_IMAGE_SLOT: {
|
|
428
|
+
SAVE_ERROR: {
|
|
429
|
+
code: 'SLIDE_IMAGE_SLOT.SAVE_ERROR',
|
|
430
|
+
message: 'Произошла ошибка при сохранении слота изображения слайда',
|
|
431
|
+
httpCode: 500,
|
|
432
|
+
},
|
|
433
|
+
},
|
|
434
|
+
PPTX_GENERATION: {
|
|
435
|
+
INTERNAL_ERROR: {
|
|
436
|
+
code: 'PPTX_GENERATION.INTERNAL_ERROR',
|
|
437
|
+
message: 'Произошла ошибка при генерации PPTX',
|
|
438
|
+
httpCode: 500,
|
|
439
|
+
},
|
|
440
|
+
},
|
|
250
441
|
VIDEO: {
|
|
251
442
|
AI_ERROR: {
|
|
252
443
|
code: 'VIDEO.AI_ERROR',
|
package/build/index.js
CHANGED
|
@@ -42,12 +42,15 @@ __exportStar(require("./paraphrase"), exports);
|
|
|
42
42
|
__exportStar(require("./tools"), exports);
|
|
43
43
|
__exportStar(require("./stt"), exports);
|
|
44
44
|
__exportStar(require("./tts"), exports);
|
|
45
|
+
__exportStar(require("./language"), exports);
|
|
45
46
|
__exportStar(require("./video"), exports);
|
|
46
47
|
const common = __importStar(require("./common"));
|
|
47
48
|
const paraphrase = __importStar(require("./paraphrase"));
|
|
48
49
|
const tools = __importStar(require("./tools"));
|
|
49
50
|
const stt = __importStar(require("./stt"));
|
|
50
51
|
const tts = __importStar(require("./tts"));
|
|
52
|
+
const presentation = __importStar(require("./presentation"));
|
|
53
|
+
const language = __importStar(require("./language"));
|
|
51
54
|
const video = __importStar(require("./video"));
|
|
52
55
|
var ToolService;
|
|
53
56
|
(function (ToolService) {
|
|
@@ -56,5 +59,7 @@ var ToolService;
|
|
|
56
59
|
ToolService.Tools = tools;
|
|
57
60
|
ToolService.TTS = tts;
|
|
58
61
|
ToolService.STT = stt;
|
|
62
|
+
ToolService.Presentation = presentation;
|
|
63
|
+
ToolService.Language = language;
|
|
59
64
|
ToolService.Video = video;
|
|
60
65
|
})(ToolService || (exports.ToolService = ToolService = {}));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./models"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./language.schema"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LanguageSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.LanguageSchema = zod_1.z.object({
|
|
6
|
+
uuid: zod_1.z.string(),
|
|
7
|
+
name: zod_1.z.string(),
|
|
8
|
+
order: zod_1.z.number(),
|
|
9
|
+
createdAt: zod_1.z.date(),
|
|
10
|
+
updatedAt: zod_1.z.date(),
|
|
11
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreatePresentationCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const common_1 = require("../../common");
|
|
6
|
+
const models_1 = require("../models");
|
|
7
|
+
var CreatePresentationCommand;
|
|
8
|
+
(function (CreatePresentationCommand) {
|
|
9
|
+
CreatePresentationCommand.RequestSchema = zod_1.z.object({
|
|
10
|
+
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
+
templateId: zod_1.z.string().uuid(),
|
|
13
|
+
languageId: zod_1.z.string(),
|
|
14
|
+
prompt: zod_1.z.string(),
|
|
15
|
+
slideCount: zod_1.z.number(),
|
|
16
|
+
});
|
|
17
|
+
CreatePresentationCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.PresentationSchema);
|
|
18
|
+
})(CreatePresentationCommand || (exports.CreatePresentationCommand = CreatePresentationCommand = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteAllUserPresentationsCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const command_response_schema_1 = require("../../common/models/command-response.schema");
|
|
6
|
+
var DeleteAllUserPresentationsCommand;
|
|
7
|
+
(function (DeleteAllUserPresentationsCommand) {
|
|
8
|
+
DeleteAllUserPresentationsCommand.RequestSchema = zod_1.z.object({
|
|
9
|
+
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
10
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
|
+
});
|
|
12
|
+
DeleteAllUserPresentationsCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(zod_1.z.boolean());
|
|
13
|
+
})(DeleteAllUserPresentationsCommand || (exports.DeleteAllUserPresentationsCommand = DeleteAllUserPresentationsCommand = {}));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeletePresentationCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const common_1 = require("../../common");
|
|
6
|
+
var DeletePresentationCommand;
|
|
7
|
+
(function (DeletePresentationCommand) {
|
|
8
|
+
DeletePresentationCommand.RequestSchema = zod_1.z.object({
|
|
9
|
+
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
10
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
|
+
presentationId: zod_1.z.string().uuid(),
|
|
12
|
+
});
|
|
13
|
+
DeletePresentationCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.boolean());
|
|
14
|
+
})(DeletePresentationCommand || (exports.DeletePresentationCommand = DeletePresentationCommand = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteSlideOutlineCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const common_1 = require("../../common");
|
|
6
|
+
var DeleteSlideOutlineCommand;
|
|
7
|
+
(function (DeleteSlideOutlineCommand) {
|
|
8
|
+
DeleteSlideOutlineCommand.RequestSchema = zod_1.z.object({
|
|
9
|
+
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
10
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
|
+
presentationId: zod_1.z.string().uuid(),
|
|
12
|
+
slideOutlineId: zod_1.z.string().uuid(),
|
|
13
|
+
});
|
|
14
|
+
DeleteSlideOutlineCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.boolean());
|
|
15
|
+
})(DeleteSlideOutlineCommand || (exports.DeleteSlideOutlineCommand = DeleteSlideOutlineCommand = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExportAsPPTXCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../models");
|
|
6
|
+
const common_1 = require("../../common");
|
|
7
|
+
var ExportAsPPTXCommand;
|
|
8
|
+
(function (ExportAsPPTXCommand) {
|
|
9
|
+
ExportAsPPTXCommand.RequestSchema = zod_1.z.object({
|
|
10
|
+
presentationId: zod_1.z.string().uuid(),
|
|
11
|
+
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
|
+
data: models_1.PPTXExportPayloadSchema,
|
|
14
|
+
});
|
|
15
|
+
ExportAsPPTXCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.object({
|
|
16
|
+
url: zod_1.z.string(),
|
|
17
|
+
}));
|
|
18
|
+
})(ExportAsPPTXCommand || (exports.ExportAsPPTXCommand = ExportAsPPTXCommand = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GeneratePresentationOutlineCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const common_1 = require("../../common");
|
|
6
|
+
const models_1 = require("../models");
|
|
7
|
+
var GeneratePresentationOutlineCommand;
|
|
8
|
+
(function (GeneratePresentationOutlineCommand) {
|
|
9
|
+
GeneratePresentationOutlineCommand.RequestSchema = zod_1.z.object({
|
|
10
|
+
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
+
presentationId: zod_1.z.string().uuid(),
|
|
13
|
+
languageId: zod_1.z.string().uuid(),
|
|
14
|
+
slideCount: zod_1.z.number(),
|
|
15
|
+
prompt: zod_1.z.string(),
|
|
16
|
+
});
|
|
17
|
+
GeneratePresentationOutlineCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.array(models_1.SlideOutlineSchema));
|
|
18
|
+
})(GeneratePresentationOutlineCommand || (exports.GeneratePresentationOutlineCommand = GeneratePresentationOutlineCommand = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GenerateSlidesCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const common_1 = require("../../common");
|
|
6
|
+
const models_1 = require("../models");
|
|
7
|
+
var GenerateSlidesCommand;
|
|
8
|
+
(function (GenerateSlidesCommand) {
|
|
9
|
+
GenerateSlidesCommand.RequestSchema = zod_1.z.object({
|
|
10
|
+
uuid: zod_1.z.string().uuid(),
|
|
11
|
+
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
|
+
});
|
|
14
|
+
GenerateSlidesCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.PresentationSchema);
|
|
15
|
+
})(GenerateSlidesCommand || (exports.GenerateSlidesCommand = GenerateSlidesCommand = {}));
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./create-presentation.command"), exports);
|
|
18
|
+
__exportStar(require("./delete-all-user-presentations.command"), exports);
|
|
19
|
+
__exportStar(require("./delete-presentation.command"), exports);
|
|
20
|
+
__exportStar(require("./delete-slide-outline.command"), exports);
|
|
21
|
+
__exportStar(require("./generate-presentation-outline.command"), exports);
|
|
22
|
+
__exportStar(require("./export-as-pptx.command"), exports);
|
|
23
|
+
__exportStar(require("./generate-slides.command"), exports);
|
|
24
|
+
__exportStar(require("./reposition-slide-outline.command"), exports);
|
|
25
|
+
__exportStar(require("./update-slide-outline.command"), exports);
|
|
26
|
+
__exportStar(require("./update-presentation.command"), exports);
|
|
27
|
+
__exportStar(require("./update-presentation-outline.command"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RepositionSlideOutlineCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const common_1 = require("../../common");
|
|
6
|
+
var RepositionSlideOutlineCommand;
|
|
7
|
+
(function (RepositionSlideOutlineCommand) {
|
|
8
|
+
RepositionSlideOutlineCommand.RequestSchema = zod_1.z.object({
|
|
9
|
+
presentationId: zod_1.z.string().uuid(),
|
|
10
|
+
slideOutlineId: zod_1.z.string().uuid(),
|
|
11
|
+
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
|
+
newPosition: zod_1.z.number(),
|
|
14
|
+
});
|
|
15
|
+
RepositionSlideOutlineCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.boolean());
|
|
16
|
+
})(RepositionSlideOutlineCommand || (exports.RepositionSlideOutlineCommand = RepositionSlideOutlineCommand = {}));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdatePresentationOutlineCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../models");
|
|
6
|
+
const common_1 = require("../../common");
|
|
7
|
+
var UpdatePresentationOutlineCommand;
|
|
8
|
+
(function (UpdatePresentationOutlineCommand) {
|
|
9
|
+
UpdatePresentationOutlineCommand.RequestSchema = zod_1.z.object({
|
|
10
|
+
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
+
presentationId: zod_1.z.string().uuid(),
|
|
13
|
+
data: models_1.SlideOutlineBulkUpdateSchema,
|
|
14
|
+
});
|
|
15
|
+
UpdatePresentationOutlineCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.array(models_1.SlideOutlineSchema));
|
|
16
|
+
})(UpdatePresentationOutlineCommand || (exports.UpdatePresentationOutlineCommand = UpdatePresentationOutlineCommand = {}));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdatePresentationCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../models");
|
|
6
|
+
const common_1 = require("../../common");
|
|
7
|
+
var UpdatePresentationCommand;
|
|
8
|
+
(function (UpdatePresentationCommand) {
|
|
9
|
+
UpdatePresentationCommand.RequestSchema = zod_1.z.object({
|
|
10
|
+
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
+
presentationId: zod_1.z.string().uuid(),
|
|
13
|
+
data: models_1.PresentationUpdateSchema,
|
|
14
|
+
});
|
|
15
|
+
UpdatePresentationCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.PresentationSchema);
|
|
16
|
+
})(UpdatePresentationCommand || (exports.UpdatePresentationCommand = UpdatePresentationCommand = {}));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateSlideOutlineCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../models");
|
|
6
|
+
const common_1 = require("../../common");
|
|
7
|
+
var UpdateSlideOutlineCommand;
|
|
8
|
+
(function (UpdateSlideOutlineCommand) {
|
|
9
|
+
UpdateSlideOutlineCommand.RequestSchema = zod_1.z.object({
|
|
10
|
+
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
11
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
+
presentationId: zod_1.z.string().uuid(),
|
|
13
|
+
slideOutlineId: zod_1.z.string().uuid(),
|
|
14
|
+
data: models_1.SlideOutlineUpdateSchema,
|
|
15
|
+
});
|
|
16
|
+
UpdateSlideOutlineCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.SlideOutlineSchema);
|
|
17
|
+
})(UpdateSlideOutlineCommand || (exports.UpdateSlideOutlineCommand = UpdateSlideOutlineCommand = {}));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./slide-layout-map.constant"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SLIDE_LAYOUT_MAP = void 0;
|
|
4
|
+
const enums_1 = require("../enums");
|
|
5
|
+
const slide_layout_enum_1 = require("../enums/slide-layout.enum");
|
|
6
|
+
exports.SLIDE_LAYOUT_MAP = new Map([
|
|
7
|
+
[enums_1.SLIDE_CONTENT_TYPE.COVER, [slide_layout_enum_1.SLIDE_LAYOUT.TYPE_1]],
|
|
8
|
+
[enums_1.SLIDE_CONTENT_TYPE.STRUCTURED_LIST, [slide_layout_enum_1.SLIDE_LAYOUT.TYPE_1, slide_layout_enum_1.SLIDE_LAYOUT.TYPE_2]],
|
|
9
|
+
[enums_1.SLIDE_CONTENT_TYPE.TEXT, [slide_layout_enum_1.SLIDE_LAYOUT.TYPE_1, slide_layout_enum_1.SLIDE_LAYOUT.TYPE_2]],
|
|
10
|
+
[enums_1.SLIDE_CONTENT_TYPE.SECTION_BREAK, [slide_layout_enum_1.SLIDE_LAYOUT.TYPE_1]],
|
|
11
|
+
[enums_1.SLIDE_CONTENT_TYPE.CONTENTS, [slide_layout_enum_1.SLIDE_LAYOUT.TYPE_1]],
|
|
12
|
+
[enums_1.SLIDE_CONTENT_TYPE.IMAGE, [slide_layout_enum_1.SLIDE_LAYOUT.TYPE_1]],
|
|
13
|
+
[enums_1.SLIDE_CONTENT_TYPE.THANK_YOU, [slide_layout_enum_1.SLIDE_LAYOUT.TYPE_1]],
|
|
14
|
+
[enums_1.SLIDE_CONTENT_TYPE.TABLE, [slide_layout_enum_1.SLIDE_LAYOUT.TYPE_1]],
|
|
15
|
+
[enums_1.SLIDE_CONTENT_TYPE.CHART, [slide_layout_enum_1.SLIDE_LAYOUT.TYPE_1]],
|
|
16
|
+
]);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./presentation-stage.enum"), exports);
|
|
18
|
+
__exportStar(require("./slide-content-type.enum"), exports);
|
|
19
|
+
__exportStar(require("./slide-image-job-status.enum"), exports);
|
|
20
|
+
__exportStar(require("./slide-image-slot-status.enum"), exports);
|
|
21
|
+
__exportStar(require("./slide-icon-slot-status.enum"), exports);
|
|
22
|
+
__exportStar(require("./slide-layout.enum"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PRESENTATION_STAGE = void 0;
|
|
4
|
+
var PRESENTATION_STAGE;
|
|
5
|
+
(function (PRESENTATION_STAGE) {
|
|
6
|
+
PRESENTATION_STAGE["CREATED"] = "CREATED";
|
|
7
|
+
PRESENTATION_STAGE["GENERATING_OUTLINE"] = "GENERATING_OUTLINE";
|
|
8
|
+
PRESENTATION_STAGE["OUTLINE_GENERATED"] = "OUTLINE_GENERATED";
|
|
9
|
+
PRESENTATION_STAGE["OUTLINE_GENERATION_FAILED"] = "OUTLINE_GENERATION_FAILED";
|
|
10
|
+
PRESENTATION_STAGE["GENERATING_SLIDES"] = "GENERATING_SLIDES";
|
|
11
|
+
PRESENTATION_STAGE["SLIDES_GENERATED"] = "SLIDES_GENERATED";
|
|
12
|
+
PRESENTATION_STAGE["SLIDES_GENERATION_FAILED"] = "SLIDES_GENERATION_FAILED";
|
|
13
|
+
PRESENTATION_STAGE["DELETED"] = "DELETED";
|
|
14
|
+
})(PRESENTATION_STAGE || (exports.PRESENTATION_STAGE = PRESENTATION_STAGE = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SLIDE_CONTENT_TYPE = void 0;
|
|
4
|
+
var SLIDE_CONTENT_TYPE;
|
|
5
|
+
(function (SLIDE_CONTENT_TYPE) {
|
|
6
|
+
SLIDE_CONTENT_TYPE["COVER"] = "COVER";
|
|
7
|
+
SLIDE_CONTENT_TYPE["TEXT"] = "TEXT";
|
|
8
|
+
SLIDE_CONTENT_TYPE["SECTION_BREAK"] = "SECTION_BREAK";
|
|
9
|
+
SLIDE_CONTENT_TYPE["STRUCTURED_LIST"] = "STRUCTURED_LIST";
|
|
10
|
+
SLIDE_CONTENT_TYPE["CONTENTS"] = "CONTENTS";
|
|
11
|
+
SLIDE_CONTENT_TYPE["IMAGE"] = "IMAGE";
|
|
12
|
+
SLIDE_CONTENT_TYPE["THANK_YOU"] = "THANK_YOU";
|
|
13
|
+
SLIDE_CONTENT_TYPE["TABLE"] = "TABLE";
|
|
14
|
+
SLIDE_CONTENT_TYPE["CHART"] = "CHART";
|
|
15
|
+
})(SLIDE_CONTENT_TYPE || (exports.SLIDE_CONTENT_TYPE = SLIDE_CONTENT_TYPE = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SLIDE_ICON_SLOT_STATUS = void 0;
|
|
4
|
+
var SLIDE_ICON_SLOT_STATUS;
|
|
5
|
+
(function (SLIDE_ICON_SLOT_STATUS) {
|
|
6
|
+
SLIDE_ICON_SLOT_STATUS["PENDING"] = "PENDING";
|
|
7
|
+
SLIDE_ICON_SLOT_STATUS["IN_PROGRESS"] = "IN_PROGRESS";
|
|
8
|
+
SLIDE_ICON_SLOT_STATUS["READY"] = "READY";
|
|
9
|
+
SLIDE_ICON_SLOT_STATUS["ERROR"] = "ERROR";
|
|
10
|
+
})(SLIDE_ICON_SLOT_STATUS || (exports.SLIDE_ICON_SLOT_STATUS = SLIDE_ICON_SLOT_STATUS = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SLIDE_IMAGE_JOB_STATUS = void 0;
|
|
4
|
+
var SLIDE_IMAGE_JOB_STATUS;
|
|
5
|
+
(function (SLIDE_IMAGE_JOB_STATUS) {
|
|
6
|
+
SLIDE_IMAGE_JOB_STATUS[SLIDE_IMAGE_JOB_STATUS["PENDING"] = 0] = "PENDING";
|
|
7
|
+
SLIDE_IMAGE_JOB_STATUS[SLIDE_IMAGE_JOB_STATUS["IN_PROGRESS"] = 1] = "IN_PROGRESS";
|
|
8
|
+
SLIDE_IMAGE_JOB_STATUS[SLIDE_IMAGE_JOB_STATUS["READY"] = 2] = "READY";
|
|
9
|
+
SLIDE_IMAGE_JOB_STATUS[SLIDE_IMAGE_JOB_STATUS["ERROR"] = 3] = "ERROR";
|
|
10
|
+
})(SLIDE_IMAGE_JOB_STATUS || (exports.SLIDE_IMAGE_JOB_STATUS = SLIDE_IMAGE_JOB_STATUS = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SLIDE_IMAGE_SLOT_STATUS = void 0;
|
|
4
|
+
var SLIDE_IMAGE_SLOT_STATUS;
|
|
5
|
+
(function (SLIDE_IMAGE_SLOT_STATUS) {
|
|
6
|
+
SLIDE_IMAGE_SLOT_STATUS["PENDING"] = "PENDING";
|
|
7
|
+
SLIDE_IMAGE_SLOT_STATUS["IN_PROGRESS"] = "IN_PROGRESS";
|
|
8
|
+
SLIDE_IMAGE_SLOT_STATUS["READY"] = "READY";
|
|
9
|
+
SLIDE_IMAGE_SLOT_STATUS["ERROR"] = "ERROR";
|
|
10
|
+
})(SLIDE_IMAGE_SLOT_STATUS || (exports.SLIDE_IMAGE_SLOT_STATUS = SLIDE_IMAGE_SLOT_STATUS = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SLIDE_LAYOUT = void 0;
|
|
4
|
+
var SLIDE_LAYOUT;
|
|
5
|
+
(function (SLIDE_LAYOUT) {
|
|
6
|
+
SLIDE_LAYOUT["TYPE_1"] = "TYPE_1";
|
|
7
|
+
SLIDE_LAYOUT["TYPE_2"] = "TYPE_2";
|
|
8
|
+
})(SLIDE_LAYOUT || (exports.SLIDE_LAYOUT = SLIDE_LAYOUT = {}));
|