@purpleschool/gptbot 0.7.55 → 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 (87) 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/constants/transaction/enums/user-balance-status.enum.js +0 -1
  27. package/build/helpers/index.js +1 -0
  28. package/build/helpers/presentation/calculate-presentation-ai-action-price.util.js +16 -0
  29. package/build/helpers/presentation/index.js +17 -0
  30. package/build/models/chat-with-messages.schema.js +9 -0
  31. package/build/models/chat.schema.js +0 -2
  32. package/build/models/index.js +1 -0
  33. package/build/models/page.schema.js +0 -2
  34. package/build/models/subscription.schema.js +0 -1
  35. package/build/models/tool.schema.js +1 -8
  36. package/build/models/tools/index.js +1 -0
  37. package/build/models/tools/presentation/index.js +1 -0
  38. package/build/models/tools/presentation/presentation-ai-action.schema.js +27 -0
  39. package/build/models/tools/presentation/presentation-config.schema.js +3 -0
  40. package/build/models/tools/presentation/presentation.schema.js +2 -0
  41. package/build/models/tools/presentation/slide-content-edit.schema.js +129 -0
  42. package/build/models/tools/presentation/slide-content.schema.js +22 -20
  43. package/build/models/tools/presentation/slide.schema.js +39 -1
  44. package/build/models/user-to-subscription.schema.js +0 -1
  45. package/commands/chat/create-chat.command.ts +2 -4
  46. package/commands/chat/find-chat-by-uuid.command.ts +2 -2
  47. package/commands/chat/find-chats.command.ts +2 -6
  48. package/commands/chat/get-last-active-chat-command.ts +2 -2
  49. package/commands/folder/find-folder-by-uuid-with-chats.command.ts +2 -6
  50. package/commands/tools/presentation/build-blank-slide.command.ts +23 -0
  51. package/commands/tools/presentation/generate-and-insert-slide.command.ts +27 -0
  52. package/commands/tools/presentation/index.ts +7 -0
  53. package/commands/tools/presentation/presentation-generate-report.command.ts +21 -0
  54. package/commands/tools/presentation/presentation-paraphrase.command.ts +26 -0
  55. package/commands/tools/presentation/update-presentation-slides.command.ts +32 -0
  56. package/commands/tools/presentation/update-presentation.command.ts +5 -4
  57. package/commands/tools/presentation/update-slide-image-slot.command.ts +41 -0
  58. package/commands/tools/presentation/update-slide.command.ts +25 -0
  59. package/commands/tools/tool/index.ts +0 -1
  60. package/constants/errors/errors.ts +0 -10
  61. package/constants/presentation/enums/index.ts +4 -0
  62. package/constants/presentation/enums/presentation-ai-action-call-status.enum.ts +5 -0
  63. package/constants/presentation/enums/presentation-ai-action-pricing-type.enum.ts +4 -0
  64. package/constants/presentation/enums/presentation-ai-action-type.enum.ts +4 -0
  65. package/constants/presentation/enums/slide-image-slot-action.enum.ts +4 -0
  66. package/constants/transaction/enums/user-balance-status.enum.ts +0 -1
  67. package/helpers/index.ts +1 -0
  68. package/helpers/presentation/calculate-presentation-ai-action-price.util.ts +20 -0
  69. package/helpers/presentation/index.ts +1 -0
  70. package/models/chat-with-messages.schema.ts +7 -0
  71. package/models/chat.schema.ts +0 -2
  72. package/models/index.ts +1 -0
  73. package/models/page.schema.ts +0 -2
  74. package/models/subscription.schema.ts +0 -1
  75. package/models/tool.schema.ts +0 -13
  76. package/models/tools/index.ts +1 -0
  77. package/models/tools/presentation/index.ts +1 -0
  78. package/models/tools/presentation/presentation-ai-action.schema.ts +33 -0
  79. package/models/tools/presentation/presentation-config.schema.ts +3 -0
  80. package/models/tools/presentation/presentation.schema.ts +2 -0
  81. package/models/tools/presentation/slide-content-edit.schema.ts +154 -0
  82. package/models/tools/presentation/slide-content.schema.ts +119 -32
  83. package/models/tools/presentation/slide.schema.ts +47 -0
  84. package/models/user-to-subscription.schema.ts +0 -1
  85. package/package.json +1 -1
  86. package/build/commands/tools/tool/find-formatted-tools.command.js +0 -11
  87. package/commands/tools/tool/find-formatted-tools.command.ts +0 -11
@@ -13,7 +13,6 @@ export const UserToSubscriptionSchema = z.object({
13
13
  endDate: z.date().nullable(),
14
14
  marks: z.array(z.string()),
15
15
  intervalEndDate: z.date().nullable(),
16
- carriedOverTokenBalance: z.number(),
17
16
  createdAt: z.date(),
18
17
  updatedAt: z.date(),
19
18
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.7.55",
3
+ "version": "0.7.56-presentations",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FindFormattedToolsCommand = void 0;
4
- const zod_1 = require("zod");
5
- const models_1 = require("../../../models");
6
- var FindFormattedToolsCommand;
7
- (function (FindFormattedToolsCommand) {
8
- FindFormattedToolsCommand.ResponseSchema = zod_1.z.object({
9
- data: zod_1.z.array(models_1.ToolFormattedSchema),
10
- });
11
- })(FindFormattedToolsCommand || (exports.FindFormattedToolsCommand = FindFormattedToolsCommand = {}));
@@ -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
- }