@purpleschool/gptbot 0.7.54 → 0.7.56-presentations

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.
Files changed (81) hide show
  1. package/api/controllers/http/presentation.ts +10 -0
  2. package/api/controllers/http/tool.ts +0 -1
  3. package/build/api/controllers/http/presentation.js +7 -0
  4. package/build/api/controllers/http/tool.js +0 -1
  5. package/build/commands/chat/create-chat.command.js +1 -3
  6. package/build/commands/chat/find-chat-by-uuid.command.js +1 -1
  7. package/build/commands/chat/find-chats.command.js +1 -3
  8. package/build/commands/chat/get-last-active-chat-command.js +1 -1
  9. package/build/commands/folder/find-folder-by-uuid-with-chats.command.js +1 -3
  10. package/build/commands/tools/presentation/build-blank-slide.command.js +21 -0
  11. package/build/commands/tools/presentation/generate-and-insert-slide.command.js +22 -0
  12. package/build/commands/tools/presentation/index.js +7 -0
  13. package/build/commands/tools/presentation/presentation-generate-report.command.js +17 -0
  14. package/build/commands/tools/presentation/presentation-paraphrase.command.js +20 -0
  15. package/build/commands/tools/presentation/update-presentation-slides.command.js +25 -0
  16. package/build/commands/tools/presentation/update-presentation.command.js +4 -3
  17. package/build/commands/tools/presentation/update-slide-image-slot.command.js +36 -0
  18. package/build/commands/tools/presentation/update-slide.command.js +19 -0
  19. package/build/commands/tools/tool/index.js +0 -1
  20. package/build/constants/errors/errors.js +0 -10
  21. package/build/constants/presentation/enums/index.js +4 -0
  22. package/build/constants/presentation/enums/presentation-ai-action-call-status.enum.js +9 -0
  23. package/build/constants/presentation/enums/presentation-ai-action-pricing-type.enum.js +8 -0
  24. package/build/constants/presentation/enums/presentation-ai-action-type.enum.js +8 -0
  25. package/build/constants/presentation/enums/slide-image-slot-action.enum.js +8 -0
  26. package/build/helpers/index.js +1 -0
  27. package/build/helpers/presentation/calculate-presentation-ai-action-price.util.js +16 -0
  28. package/build/helpers/presentation/index.js +17 -0
  29. package/build/models/chat-with-messages.schema.js +9 -0
  30. package/build/models/chat.schema.js +0 -2
  31. package/build/models/index.js +1 -0
  32. package/build/models/page.schema.js +0 -2
  33. package/build/models/tool.schema.js +1 -8
  34. package/build/models/tools/index.js +1 -0
  35. package/build/models/tools/presentation/index.js +1 -0
  36. package/build/models/tools/presentation/presentation-ai-action.schema.js +27 -0
  37. package/build/models/tools/presentation/presentation-config.schema.js +3 -0
  38. package/build/models/tools/presentation/presentation.schema.js +2 -0
  39. package/build/models/tools/presentation/slide-content-edit.schema.js +129 -0
  40. package/build/models/tools/presentation/slide-content.schema.js +22 -20
  41. package/build/models/tools/presentation/slide.schema.js +39 -1
  42. package/commands/chat/create-chat.command.ts +2 -4
  43. package/commands/chat/find-chat-by-uuid.command.ts +2 -2
  44. package/commands/chat/find-chats.command.ts +2 -6
  45. package/commands/chat/get-last-active-chat-command.ts +2 -2
  46. package/commands/folder/find-folder-by-uuid-with-chats.command.ts +2 -6
  47. package/commands/tools/presentation/build-blank-slide.command.ts +23 -0
  48. package/commands/tools/presentation/generate-and-insert-slide.command.ts +27 -0
  49. package/commands/tools/presentation/index.ts +7 -0
  50. package/commands/tools/presentation/presentation-generate-report.command.ts +21 -0
  51. package/commands/tools/presentation/presentation-paraphrase.command.ts +26 -0
  52. package/commands/tools/presentation/update-presentation-slides.command.ts +32 -0
  53. package/commands/tools/presentation/update-presentation.command.ts +5 -4
  54. package/commands/tools/presentation/update-slide-image-slot.command.ts +41 -0
  55. package/commands/tools/presentation/update-slide.command.ts +25 -0
  56. package/commands/tools/tool/index.ts +0 -1
  57. package/constants/errors/errors.ts +0 -10
  58. package/constants/presentation/enums/index.ts +4 -0
  59. package/constants/presentation/enums/presentation-ai-action-call-status.enum.ts +5 -0
  60. package/constants/presentation/enums/presentation-ai-action-pricing-type.enum.ts +4 -0
  61. package/constants/presentation/enums/presentation-ai-action-type.enum.ts +4 -0
  62. package/constants/presentation/enums/slide-image-slot-action.enum.ts +4 -0
  63. package/helpers/index.ts +1 -0
  64. package/helpers/presentation/calculate-presentation-ai-action-price.util.ts +20 -0
  65. package/helpers/presentation/index.ts +1 -0
  66. package/models/chat-with-messages.schema.ts +7 -0
  67. package/models/chat.schema.ts +0 -2
  68. package/models/index.ts +1 -0
  69. package/models/page.schema.ts +0 -2
  70. package/models/tool.schema.ts +0 -13
  71. package/models/tools/index.ts +1 -0
  72. package/models/tools/presentation/index.ts +1 -0
  73. package/models/tools/presentation/presentation-ai-action.schema.ts +33 -0
  74. package/models/tools/presentation/presentation-config.schema.ts +3 -0
  75. package/models/tools/presentation/presentation.schema.ts +2 -0
  76. package/models/tools/presentation/slide-content-edit.schema.ts +154 -0
  77. package/models/tools/presentation/slide-content.schema.ts +119 -32
  78. package/models/tools/presentation/slide.schema.ts +47 -0
  79. package/package.json +1 -1
  80. package/build/commands/tools/tool/find-formatted-tools.command.js +0 -11
  81. package/commands/tools/tool/find-formatted-tools.command.ts +0 -11
@@ -1,11 +0,0 @@
1
- import { z } from 'zod';
2
- import { ToolFormattedSchema } from '../../../models';
3
-
4
- export namespace FindFormattedToolsCommand {
5
- export type Request = void;
6
-
7
- export const ResponseSchema = z.object({
8
- data: z.array(ToolFormattedSchema),
9
- });
10
- export type Response = z.infer<typeof ResponseSchema>;
11
- }