@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.
Files changed (52) hide show
  1. package/build/api/controllers/http/html-page-builder.d.ts +1 -0
  2. package/build/api/controllers/http/html-page-builder.js +1 -0
  3. package/build/api/routes.d.ts +2 -0
  4. package/build/api/routes.js +2 -0
  5. package/build/commands/subscription/get-subscriptions-summary.command.d.ts +3 -0
  6. package/build/commands/tools/html-page-builder/answer-html-page-builder-questions.command.d.ts +74 -0
  7. package/build/commands/tools/html-page-builder/execute-html-page-builder.command.d.ts +75 -0
  8. package/build/commands/tools/html-page-builder/execute-html-page-builder.command.js +2 -0
  9. package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts +74 -0
  10. package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.d.ts +74 -0
  11. package/build/commands/tools/html-page-builder/get-html-page-builder-price.command.d.ts +1 -0
  12. package/build/commands/tools/html-page-builder/get-html-page-builder-price.command.js +2 -0
  13. package/build/commands/tools/html-page-builder/html-page-builder-image-action.command.d.ts +212 -0
  14. package/build/commands/tools/html-page-builder/html-page-builder-image-action.command.js +12 -0
  15. package/build/commands/tools/html-page-builder/index.d.ts +1 -0
  16. package/build/commands/tools/html-page-builder/index.js +1 -0
  17. package/build/commands/tools/html-page-builder/refine-html-page-builder.command.d.ts +74 -0
  18. package/build/commands/tools/html-page-builder/retry-html-page-builder-build.command.d.ts +74 -0
  19. package/build/commands/tools/html-page-builder/retry-html-page-builder-refine.command.d.ts +74 -0
  20. package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.d.ts +74 -0
  21. package/build/commands/tools/html-page-builder/update-html-page-builder-session-reaction.command.d.ts +74 -0
  22. package/build/commands/tools/html-page-builder/update-html-page-builder-session-title.command.d.ts +74 -0
  23. package/build/commands/tools/presentation/export-presentation-as-pptx.command.d.ts +10 -0
  24. package/build/commands/tools/presentation/find-presentation-by-uuid.command.d.ts +6 -0
  25. package/build/commands/tools/presentation/generate-and-insert-slide.command.d.ts +6 -0
  26. package/build/commands/tools/presentation/update-presentation-slides.command.d.ts +6 -0
  27. package/build/commands/tools/presentation/update-slide.command.d.ts +18 -0
  28. package/build/commands/user/get-user-subscriptions.command.d.ts +1 -0
  29. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +1 -0
  30. package/build/commands/user-to-subscription/get-user-to-subscriptions.command.d.ts +1 -0
  31. package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +1 -0
  32. package/build/models/tools/html-page-builder/html-page-builder-image.schema.d.ts +40 -0
  33. package/build/models/tools/html-page-builder/html-page-builder-image.schema.js +20 -0
  34. package/build/models/tools/html-page-builder/html-page-builder-job.schema.d.ts +82 -0
  35. package/build/models/tools/html-page-builder/html-page-builder-job.schema.js +6 -0
  36. package/build/models/tools/html-page-builder/html-page-builder-page.schema.d.ts +66 -0
  37. package/build/models/tools/html-page-builder/html-page-builder-page.schema.js +2 -0
  38. package/build/models/tools/html-page-builder/html-page-builder-session.schema.d.ts +74 -0
  39. package/build/models/tools/html-page-builder/index.d.ts +1 -0
  40. package/build/models/tools/html-page-builder/index.js +1 -0
  41. package/build/models/tools/presentation/pptx-export-payload.schema.d.ts +43 -1
  42. package/build/models/tools/presentation/pptx-export-payload.schema.js +21 -2
  43. package/build/models/tools/presentation/presentation.schema.d.ts +6 -0
  44. package/build/models/tools/presentation/slide-content-edit.schema.d.ts +12 -0
  45. package/build/models/tools/presentation/slide-content-edit.schema.js +3 -0
  46. package/build/models/tools/presentation/slide-content.schema.d.ts +15 -0
  47. package/build/models/tools/presentation/slide-content.schema.js +13 -0
  48. package/build/models/tools/presentation/slide.schema.d.ts +18 -0
  49. package/build/models/user-to-subscription.schema.d.ts +3 -0
  50. package/build/models/user-to-subscription.schema.js +2 -0
  51. package/build/models/user.schema.d.ts +1 -0
  52. package/package.json +2 -2
@@ -16,6 +16,8 @@ exports.UserToSubscriptionSchema = zod_1.z.object({
16
16
  status: zod_1.z.string(),
17
17
  startDate: zod_1.z.date().nullable(),
18
18
  endDate: zod_1.z.date().nullable(),
19
+ /** UTC-день платёжного цикла, сохраняемый при апгрейде; optional для прежних API. */
20
+ billingAnchorDay: zod_1.z.number().int().min(1).max(31).nullable().optional(),
19
21
  marks: zod_1.z.array(zod_1.z.string()),
20
22
  intervalEndDate: zod_1.z.date().nullable(),
21
23
  carriedOverTokenBalance: zod_1.z.number(),
@@ -45,6 +45,7 @@ export declare const UserAggregateSchema: z.ZodObject<{
45
45
  status: z.ZodString;
46
46
  startDate: z.ZodNullable<z.ZodDate>;
47
47
  endDate: z.ZodNullable<z.ZodDate>;
48
+ billingAnchorDay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
49
  marks: z.ZodArray<z.ZodString>;
49
50
  intervalEndDate: z.ZodNullable<z.ZodDate>;
50
51
  carriedOverTokenBalance: z.ZodNumber;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.20.15",
3
+ "version": "0.20.17-stage-2",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "author": "",
16
16
  "license": "ISC",
17
17
  "dependencies": {
18
- "@purpleschool/gptbot-tools": "0.4.36",
18
+ "@purpleschool/gptbot-tools": "0.4.38-stage-2",
19
19
  "@purpleschool/rugpt-lib-common": "0.0.120",
20
20
  "zod": "4.6.5"
21
21
  }