@purpleschool/gptbot-tools 0.2.66 → 0.2.67

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 (108) hide show
  1. package/build/diagrams/commands/diagrams.command.d.ts +1 -0
  2. package/build/diagrams/commands/diagrams.command.js +1 -0
  3. package/build/diagrams/commands/edit-diagrams-job.command.d.ts +1 -0
  4. package/build/diagrams/commands/edit-diagrams-job.command.js +1 -0
  5. package/build/diagrams/commands/retry-diagrams-job.command.d.ts +1 -0
  6. package/build/diagrams/commands/retry-diagrams-job.command.js +1 -0
  7. package/build/html-page-builder/commands/html-page-builder-execute.command.d.ts +1 -0
  8. package/build/html-page-builder/commands/html-page-builder-execute.command.js +1 -0
  9. package/build/image-editor/commands/image-editor.command.d.ts +1 -0
  10. package/build/image-editor/commands/image-editor.command.js +1 -0
  11. package/build/image-editor/commands/retry-image-editor-job.command.d.ts +1 -0
  12. package/build/image-editor/commands/retry-image-editor-job.command.js +1 -0
  13. package/build/image-generation/commands/execute-image-generation.command.d.ts +1 -0
  14. package/build/image-generation/commands/execute-image-generation.command.js +1 -0
  15. package/build/image-generation/commands/retry-image-generation-job.command.d.ts +1 -0
  16. package/build/image-generation/commands/retry-image-generation-job.command.js +1 -0
  17. package/build/image-recognition/commands/image-recognition.command.d.ts +1 -0
  18. package/build/image-recognition/commands/image-recognition.command.js +1 -0
  19. package/build/image-recognition/commands/retry-image-recognition-job.command.d.ts +1 -0
  20. package/build/image-recognition/commands/retry-image-recognition-job.command.js +1 -0
  21. package/build/interior-design/commands/interior-design.command.d.ts +1 -0
  22. package/build/interior-design/commands/interior-design.command.js +1 -0
  23. package/build/interior-design/commands/retry-interior-design-job.command.d.ts +1 -0
  24. package/build/interior-design/commands/retry-interior-design-job.command.js +1 -0
  25. package/build/marketplace-card/commands/execute-marketplace-card.command.d.ts +1 -0
  26. package/build/marketplace-card/commands/execute-marketplace-card.command.js +1 -0
  27. package/build/marketplace-card/commands/generate-marketplace-card-description.command.d.ts +1 -0
  28. package/build/marketplace-card/commands/generate-marketplace-card-description.command.js +1 -0
  29. package/build/marketplace-card/commands/retry-marketplace-card-job.command.d.ts +1 -0
  30. package/build/marketplace-card/commands/retry-marketplace-card-job.command.js +1 -0
  31. package/build/music/commands/boost-music-style.command.d.ts +1 -0
  32. package/build/music/commands/boost-music-style.command.js +1 -0
  33. package/build/music/commands/convert-to-wav.command.d.ts +1 -0
  34. package/build/music/commands/convert-to-wav.command.js +1 -0
  35. package/build/music/commands/edit-music.command.d.ts +1 -0
  36. package/build/music/commands/generate-lyrics.command.d.ts +1 -0
  37. package/build/music/commands/generate-lyrics.command.js +1 -0
  38. package/build/music/commands/generate-music.command.d.ts +1 -0
  39. package/build/music/commands/generate-music.command.js +1 -0
  40. package/build/music/commands/retry-music-job.command.d.ts +1 -0
  41. package/build/music/commands/retry-music-job.command.js +1 -0
  42. package/build/music/models/music-job.schema.d.ts +1 -0
  43. package/build/music/models/music-job.schema.js +1 -0
  44. package/build/paraphrase/commands/paraphrase.command.d.ts +1 -0
  45. package/build/paraphrase/commands/paraphrase.command.js +1 -0
  46. package/build/paraphrase/commands/retry-paraphrase-job.command.d.ts +1 -0
  47. package/build/paraphrase/commands/retry-paraphrase-job.command.js +1 -0
  48. package/build/presentation/commands/create-presentation.command.d.ts +1 -0
  49. package/build/presentation/commands/create-presentation.command.js +1 -0
  50. package/build/presentation/commands/generate-and-insert-slide.command.d.ts +1 -0
  51. package/build/presentation/commands/generate-and-insert-slide.command.js +1 -0
  52. package/build/presentation/commands/generate-presentation-outline.command.d.ts +1 -0
  53. package/build/presentation/commands/generate-presentation-outline.command.js +1 -0
  54. package/build/presentation/commands/generate-slides.command.d.ts +1 -0
  55. package/build/presentation/commands/generate-slides.command.js +1 -0
  56. package/build/presentation/commands/presentation-generate-report.command.d.ts +1 -0
  57. package/build/presentation/commands/presentation-generate-report.command.js +1 -0
  58. package/build/presentation/commands/presentation-paraphrase.command.d.ts +1 -0
  59. package/build/presentation/commands/presentation-paraphrase.command.js +1 -0
  60. package/build/presentation/commands/update-slide-image-slot.command.d.ts +1 -0
  61. package/build/presentation/commands/update-slide-image-slot.command.js +1 -0
  62. package/build/solving-edu-task/commands/retry-solving-edu-task-job.command.d.ts +1 -0
  63. package/build/solving-edu-task/commands/retry-solving-edu-task-job.command.js +1 -0
  64. package/build/solving-edu-task/commands/solving-edu-task.command.d.ts +1 -0
  65. package/build/solving-edu-task/commands/solving-edu-task.command.js +1 -0
  66. package/build/sound-generation/commands/retry-sound-generation-job.command.d.ts +1 -0
  67. package/build/sound-generation/commands/retry-sound-generation-job.command.js +1 -0
  68. package/build/sound-generation/commands/sound-generation.command.d.ts +1 -0
  69. package/build/sound-generation/commands/sound-generation.command.js +1 -0
  70. package/build/spell-corrector/commands/retry-spell-corrector-job.command.d.ts +1 -0
  71. package/build/spell-corrector/commands/retry-spell-corrector-job.command.js +1 -0
  72. package/build/spell-corrector/commands/spell-corrector.command.d.ts +1 -0
  73. package/build/spell-corrector/commands/spell-corrector.command.js +1 -0
  74. package/build/stt/commands/retry-stt-job.command.d.ts +1 -0
  75. package/build/stt/commands/retry-stt-job.command.js +1 -0
  76. package/build/stt/commands/stt.command.d.ts +1 -0
  77. package/build/stt/commands/stt.command.js +1 -0
  78. package/build/tts/commands/retry-tts-job.command.d.ts +1 -0
  79. package/build/tts/commands/retry-tts-job.command.js +1 -0
  80. package/build/tts/commands/tts.command.d.ts +1 -0
  81. package/build/tts/commands/tts.command.js +1 -0
  82. package/build/video/commands/retry-video-job.command.d.ts +1 -0
  83. package/build/video/commands/retry-video-job.command.js +1 -0
  84. package/build/video/commands/video.command.d.ts +1 -0
  85. package/build/video/commands/video.command.js +1 -0
  86. package/build/video-editor/commands/edit-video.command.d.ts +1 -0
  87. package/build/video-editor/commands/edit-video.command.js +1 -0
  88. package/build/video-editor/commands/retry-video-editor-job.command.d.ts +1 -0
  89. package/build/video-editor/commands/retry-video-editor-job.command.js +1 -0
  90. package/build/writer/commands/collect-sources.command.d.ts +1 -0
  91. package/build/writer/commands/collect-sources.command.js +1 -0
  92. package/build/writer/commands/create-writer-document.command.d.ts +1 -0
  93. package/build/writer/commands/create-writer-document.command.js +1 -0
  94. package/build/writer/commands/generate-document-contents.command.d.ts +1 -0
  95. package/build/writer/commands/generate-document-contents.command.js +1 -0
  96. package/build/writer/commands/generate-document-outline.command.d.ts +1 -0
  97. package/build/writer/commands/generate-document-outline.command.js +1 -0
  98. package/build/writer/commands/writer-extend-text.command.d.ts +1 -0
  99. package/build/writer/commands/writer-extend-text.command.js +1 -0
  100. package/build/writer/commands/writer-fix-errors.command.d.ts +1 -0
  101. package/build/writer/commands/writer-fix-errors.command.js +1 -0
  102. package/build/writer/commands/writer-generate-text.command.d.ts +1 -0
  103. package/build/writer/commands/writer-generate-text.command.js +1 -0
  104. package/build/writer/commands/writer-paraphrase.command.d.ts +1 -0
  105. package/build/writer/commands/writer-paraphrase.command.js +1 -0
  106. package/build/writer/commands/writer-shorten-text.command.d.ts +1 -0
  107. package/build/writer/commands/writer-shorten-text.command.js +1 -0
  108. package/package.json +1 -1
@@ -16,6 +16,7 @@ export declare namespace DiagramsCommand {
16
16
  }, z.core.$strip>;
17
17
  tokenReservationId: z.ZodString;
18
18
  precalculatedPrice: z.ZodNumber;
19
+ mock: z.ZodOptional<z.ZodBoolean>;
19
20
  }, z.core.$strip>;
20
21
  type Request = z.infer<typeof RequestSchema>;
21
22
  const ResponseSchema: z.ZodObject<{
@@ -15,6 +15,7 @@ var DiagramsCommand;
15
15
  params: models_1.DiagramsJobParamsSchema,
16
16
  tokenReservationId: zod_1.z.string().uuid(),
17
17
  precalculatedPrice: zod_1.z.number(),
18
+ mock: zod_1.z.boolean().optional(),
18
19
  });
19
20
  DiagramsCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.DiagramsJobSchema);
20
21
  })(DiagramsCommand || (exports.DiagramsCommand = DiagramsCommand = {}));
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare namespace EditDiagramsJobCommand {
3
3
  const RequestSchema: z.ZodObject<{
4
+ mock: z.ZodOptional<z.ZodBoolean>;
4
5
  locale: z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>;
5
6
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
7
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7,6 +7,7 @@ const models_1 = require("../models");
7
7
  var EditDiagramsJobCommand;
8
8
  (function (EditDiagramsJobCommand) {
9
9
  EditDiagramsJobCommand.RequestSchema = zod_1.z.object({
10
+ mock: zod_1.z.boolean().optional(),
10
11
  locale: common_1.LocaleSchema,
11
12
  userId: zod_1.z.string().uuid().nullable().optional(),
12
13
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
@@ -17,6 +17,7 @@ export declare namespace RetryDiagramsJobCommand {
17
17
  }, z.core.$strip>>;
18
18
  tokenReservationId: z.ZodString;
19
19
  precalculatedPrice: z.ZodNumber;
20
+ mock: z.ZodOptional<z.ZodBoolean>;
20
21
  }, z.core.$strip>;
21
22
  type Request = z.infer<typeof RequestSchema>;
22
23
  const ResponseSchema: z.ZodObject<{
@@ -17,6 +17,7 @@ var RetryDiagramsJobCommand;
17
17
  params: models_1.DiagramsJobParamsSchema.optional(),
18
18
  tokenReservationId: zod_1.z.string().uuid(),
19
19
  precalculatedPrice: zod_1.z.number(),
20
+ mock: zod_1.z.boolean().optional(),
20
21
  });
21
22
  RetryDiagramsJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.DiagramsJobSchema);
22
23
  })(RetryDiagramsJobCommand || (exports.RetryDiagramsJobCommand = RetryDiagramsJobCommand = {}));
@@ -23,6 +23,7 @@ export declare namespace HtmlPageBuilderExecuteCommand {
23
23
  }, z.core.$strip>;
24
24
  tokenReservationId: z.ZodOptional<z.ZodString>;
25
25
  precalculatedPrice: z.ZodOptional<z.ZodNumber>;
26
+ mock: z.ZodOptional<z.ZodBoolean>;
26
27
  }, z.core.$strip>;
27
28
  type Request = z.infer<typeof RequestSchema>;
28
29
  const ResponseSchema: z.ZodObject<{
@@ -17,6 +17,7 @@ var HtmlPageBuilderExecuteCommand;
17
17
  params: models_1.HtmlPageBuilderJobParamsSchema,
18
18
  tokenReservationId: zod_1.z.string().uuid().optional(),
19
19
  precalculatedPrice: zod_1.z.number().optional(),
20
+ mock: zod_1.z.boolean().optional(),
20
21
  });
21
22
  HtmlPageBuilderExecuteCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.HtmlPageBuilderSessionSchema);
22
23
  })(HtmlPageBuilderExecuteCommand || (exports.HtmlPageBuilderExecuteCommand = HtmlPageBuilderExecuteCommand = {}));
@@ -34,6 +34,7 @@ export declare namespace ImageEditorCommand {
34
34
  userHasActiveSubscriptionOrProduct: z.ZodBoolean;
35
35
  tokenReservationId: z.ZodString;
36
36
  precalculatedPrice: z.ZodNumber;
37
+ mock: z.ZodOptional<z.ZodBoolean>;
37
38
  }, z.core.$strip>;
38
39
  type Request = z.infer<typeof RequestSchema>;
39
40
  const ResponseSchema: z.ZodObject<{
@@ -31,6 +31,7 @@ var ImageEditorCommand;
31
31
  userHasActiveSubscriptionOrProduct: zod_1.z.boolean(),
32
32
  tokenReservationId: zod_1.z.string().uuid(),
33
33
  precalculatedPrice: zod_1.z.number(),
34
+ mock: zod_1.z.boolean().optional(),
34
35
  });
35
36
  ImageEditorCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.ImageEditorJobSchema);
36
37
  })(ImageEditorCommand || (exports.ImageEditorCommand = ImageEditorCommand = {}));
@@ -28,6 +28,7 @@ export declare namespace RetryImageEditorJobCommand {
28
28
  resolution: z.ZodOptional<z.ZodString>;
29
29
  userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
30
30
  }, z.core.$strip>>;
31
+ mock: z.ZodOptional<z.ZodBoolean>;
31
32
  }, z.core.$strip>;
32
33
  type Request = z.infer<typeof RequestSchema>;
33
34
  const ResponseSchema: z.ZodObject<{
@@ -18,6 +18,7 @@ var RetryImageEditorJobCommand;
18
18
  modelId: zod_1.z.string().optional(),
19
19
  prompt: zod_1.z.string().optional(),
20
20
  params: models_1.ImageEditorJobParamsSchema.optional(),
21
+ mock: zod_1.z.boolean().optional(),
21
22
  });
22
23
  RetryImageEditorJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.ImageEditorJobSchema);
23
24
  })(RetryImageEditorJobCommand || (exports.RetryImageEditorJobCommand = RetryImageEditorJobCommand = {}));
@@ -31,6 +31,7 @@ export declare namespace ExecuteImageGenerationCommand {
31
31
  userHasActiveSubscriptionOrProduct: z.ZodBoolean;
32
32
  tokenReservationId: z.ZodString;
33
33
  precalculatedPrice: z.ZodNumber;
34
+ mock: z.ZodOptional<z.ZodBoolean>;
34
35
  }, z.core.$strip>;
35
36
  type Request = z.infer<typeof RequestSchema>;
36
37
  const ResponseSchema: z.ZodObject<{
@@ -22,6 +22,7 @@ var ExecuteImageGenerationCommand;
22
22
  userHasActiveSubscriptionOrProduct: zod_1.z.boolean(),
23
23
  tokenReservationId: zod_1.z.string().uuid(),
24
24
  precalculatedPrice: zod_1.z.number(),
25
+ mock: zod_1.z.boolean().optional(),
25
26
  });
26
27
  ExecuteImageGenerationCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.ImageGenerationJobSchema);
27
28
  })(ExecuteImageGenerationCommand || (exports.ExecuteImageGenerationCommand = ExecuteImageGenerationCommand = {}));
@@ -28,6 +28,7 @@ export declare namespace RetryImageGenerationJobCommand {
28
28
  batching: z.ZodOptional<z.ZodNumber>;
29
29
  }, z.core.$strip>>;
30
30
  presetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ mock: z.ZodOptional<z.ZodBoolean>;
31
32
  }, z.core.$strip>;
32
33
  type Request = z.infer<typeof RequestSchema>;
33
34
  const ResponseSchema: z.ZodObject<{
@@ -19,6 +19,7 @@ var RetryImageGenerationJobCommand;
19
19
  prompt: zod_1.z.string().optional(),
20
20
  params: models_1.ImageGenerationRequestParamsSchema.optional(),
21
21
  presetId: zod_1.z.string().uuid().nullable().optional(),
22
+ mock: zod_1.z.boolean().optional(),
22
23
  });
23
24
  RetryImageGenerationJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.ImageGenerationJobSchema);
24
25
  })(RetryImageGenerationJobCommand || (exports.RetryImageGenerationJobCommand = RetryImageGenerationJobCommand = {}));
@@ -22,6 +22,7 @@ export declare namespace ImageRecognitionCommand {
22
22
  }, z.core.$strip>;
23
23
  tokenReservationId: z.ZodOptional<z.ZodString>;
24
24
  precalculatedPrice: z.ZodOptional<z.ZodNumber>;
25
+ mock: z.ZodOptional<z.ZodBoolean>;
25
26
  }, z.core.$strip>;
26
27
  type Request = z.infer<typeof RequestSchema>;
27
28
  const ResponseSchema: z.ZodObject<{
@@ -19,6 +19,7 @@ var ImageRecognitionCommand;
19
19
  }),
20
20
  tokenReservationId: zod_1.z.string().uuid().optional(),
21
21
  precalculatedPrice: zod_1.z.number().optional(),
22
+ mock: zod_1.z.boolean().optional(),
22
23
  });
23
24
  ImageRecognitionCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.ImageRecognitionJobSchema);
24
25
  })(ImageRecognitionCommand || (exports.ImageRecognitionCommand = ImageRecognitionCommand = {}));
@@ -23,6 +23,7 @@ export declare namespace RetryImageRecognitionJobCommand {
23
23
  contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
24
24
  }, z.core.$strip>>;
25
25
  }, z.core.$strip>>;
26
+ mock: z.ZodOptional<z.ZodBoolean>;
26
27
  }, z.core.$strip>;
27
28
  type Request = z.infer<typeof RequestSchema>;
28
29
  const ResponseSchema: z.ZodObject<{
@@ -23,6 +23,7 @@ var RetryImageRecognitionJobCommand;
23
23
  attachedFiles: zod_1.z.array(common_1.AttachedFileSchema),
24
24
  })
25
25
  .optional(),
26
+ mock: zod_1.z.boolean().optional(),
26
27
  });
27
28
  RetryImageRecognitionJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.ImageRecognitionJobSchema);
28
29
  })(RetryImageRecognitionJobCommand || (exports.RetryImageRecognitionJobCommand = RetryImageRecognitionJobCommand = {}));
@@ -26,6 +26,7 @@ export declare namespace InteriorDesignCommand {
26
26
  precalculatedPrice: z.ZodNumber;
27
27
  userHasActiveSubscriptionOrProduct: z.ZodBoolean;
28
28
  jobSource: z.ZodEnum<typeof INTERIOR_DESIGN_JOB_SOURCE>;
29
+ mock: z.ZodOptional<z.ZodBoolean>;
29
30
  }, z.core.$strip>;
30
31
  type Request = z.infer<typeof RequestSchema>;
31
32
  const ResponseSchema: z.ZodObject<{
@@ -23,6 +23,7 @@ var InteriorDesignCommand;
23
23
  precalculatedPrice: zod_1.z.number(),
24
24
  userHasActiveSubscriptionOrProduct: zod_1.z.boolean(),
25
25
  jobSource: zod_1.z.nativeEnum(enums_1.INTERIOR_DESIGN_JOB_SOURCE),
26
+ mock: zod_1.z.boolean().optional(),
26
27
  });
27
28
  InteriorDesignCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.InteriorDesignJobSchema);
28
29
  })(InteriorDesignCommand || (exports.InteriorDesignCommand = InteriorDesignCommand = {}));
@@ -25,6 +25,7 @@ export declare namespace RetryInteriorDesignJobCommand {
25
25
  styleId: z.ZodOptional<z.ZodString>;
26
26
  roomTypeId: z.ZodOptional<z.ZodString>;
27
27
  }, z.core.$strip>>;
28
+ mock: z.ZodOptional<z.ZodBoolean>;
28
29
  }, z.core.$strip>;
29
30
  type Request = z.infer<typeof RequestSchema>;
30
31
  const ResponseSchema: z.ZodObject<{
@@ -18,6 +18,7 @@ var RetryInteriorDesignJobCommand;
18
18
  modelId: zod_1.z.string().optional(),
19
19
  prompt: zod_1.z.string().optional(),
20
20
  params: models_1.InteriorDesignJobParamsSchema.optional(),
21
+ mock: zod_1.z.boolean().optional(),
21
22
  });
22
23
  RetryInteriorDesignJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.InteriorDesignJobSchema);
23
24
  })(RetryInteriorDesignJobCommand || (exports.RetryInteriorDesignJobCommand = RetryInteriorDesignJobCommand = {}));
@@ -46,6 +46,7 @@ export declare namespace ExecuteMarketplaceCardCommand {
46
46
  precalculatedPrice: z.ZodNumber;
47
47
  tokenReservationId: z.ZodString;
48
48
  descriptionGenerationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ mock: z.ZodOptional<z.ZodBoolean>;
49
50
  }, z.core.$strip>;
50
51
  type Request = z.infer<typeof RequestSchema>;
51
52
  const ResponseSchema: z.ZodObject<{
@@ -33,6 +33,7 @@ var ExecuteMarketplaceCardCommand;
33
33
  precalculatedPrice: zod_1.z.number(),
34
34
  tokenReservationId: zod_1.z.string().uuid(),
35
35
  descriptionGenerationId: zod_1.z.string().uuid().nullable().optional(),
36
+ mock: zod_1.z.boolean().optional(),
36
37
  });
37
38
  ExecuteMarketplaceCardCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.MarketplaceCardJobSchema);
38
39
  })(ExecuteMarketplaceCardCommand || (exports.ExecuteMarketplaceCardCommand = ExecuteMarketplaceCardCommand = {}));
@@ -7,6 +7,7 @@ export declare namespace GenerateMarketplaceCardDescriptionCommand {
7
7
  description: z.ZodString;
8
8
  precalculatedPrice: z.ZodNumber;
9
9
  tokenReservationId: z.ZodString;
10
+ mock: z.ZodOptional<z.ZodBoolean>;
10
11
  }, z.core.$strip>;
11
12
  type Request = z.infer<typeof RequestSchema>;
12
13
  const ResponseSchema: z.ZodObject<{
@@ -14,6 +14,7 @@ var GenerateMarketplaceCardDescriptionCommand;
14
14
  description: zod_1.z.string().min(1),
15
15
  precalculatedPrice: zod_1.z.number(),
16
16
  tokenReservationId: zod_1.z.string().uuid(),
17
+ mock: zod_1.z.boolean().optional(),
17
18
  });
18
19
  GenerateMarketplaceCardDescriptionCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.MarketplaceCardDescriptionGenerationSchema);
19
20
  })(GenerateMarketplaceCardDescriptionCommand || (exports.GenerateMarketplaceCardDescriptionCommand = GenerateMarketplaceCardDescriptionCommand = {}));
@@ -36,6 +36,7 @@ export declare namespace RetryMarketplaceCardJobCommand {
36
36
  contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
37
37
  }, z.core.$strip>>>;
38
38
  backgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ mock: z.ZodOptional<z.ZodBoolean>;
39
40
  }, z.core.$strip>;
40
41
  type Request = z.infer<typeof RequestSchema>;
41
42
  const ResponseSchema: z.ZodObject<{
@@ -23,6 +23,7 @@ var RetryMarketplaceCardJobCommand;
23
23
  ownStyleImage: common_1.AttachedFileSchema.optional().nullable(),
24
24
  inputImages: zod_1.z.array(common_1.AttachedFileSchema).optional(),
25
25
  backgroundDescription: zod_1.z.string().nullable().optional(),
26
+ mock: zod_1.z.boolean().optional(),
26
27
  });
27
28
  RetryMarketplaceCardJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.MarketplaceCardJobSchema);
28
29
  })(RetryMarketplaceCardJobCommand || (exports.RetryMarketplaceCardJobCommand = RetryMarketplaceCardJobCommand = {}));
@@ -5,6 +5,7 @@ export declare namespace BoostMusicStyleCommand {
5
5
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  userBalance: z.ZodNumber;
7
7
  content: z.ZodString;
8
+ mock: z.ZodOptional<z.ZodBoolean>;
8
9
  }, z.core.$strip>;
9
10
  type Request = z.infer<typeof RequestSchema>;
10
11
  const ResponseSchema: z.ZodObject<{
@@ -10,6 +10,7 @@ var BoostMusicStyleCommand;
10
10
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
11
11
  userBalance: zod_1.z.number(),
12
12
  content: zod_1.z.string().min(1).max(3000),
13
+ mock: zod_1.z.boolean().optional(),
13
14
  });
14
15
  BoostMusicStyleCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(zod_1.z.object({
15
16
  result: zod_1.z.string(),
@@ -5,6 +5,7 @@ export declare namespace ConvertToWavCommand {
5
5
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  taskId: z.ZodString;
7
7
  audioId: z.ZodString;
8
+ mock: z.ZodOptional<z.ZodBoolean>;
8
9
  }, z.core.$strip>;
9
10
  type Request = z.infer<typeof RequestSchema>;
10
11
  const ResponseSchema: z.ZodObject<{
@@ -10,6 +10,7 @@ var ConvertToWavCommand;
10
10
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
11
11
  taskId: zod_1.z.string(),
12
12
  audioId: zod_1.z.string(),
13
+ mock: zod_1.z.boolean().optional(),
13
14
  });
14
15
  ConvertToWavCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(zod_1.z.object({ url: zod_1.z.string().url() }));
15
16
  })(ConvertToWavCommand || (exports.ConvertToWavCommand = ConvertToWavCommand = {}));
@@ -7,6 +7,7 @@ export declare namespace EditMusicCommand {
7
7
  userId: z.ZodOptional<z.ZodString>;
8
8
  unregisteredUserId: z.ZodOptional<z.ZodString>;
9
9
  userBalance: z.ZodNumber;
10
+ mock: z.ZodOptional<z.ZodBoolean>;
10
11
  }, z.core.$strip>;
11
12
  type Request = z.infer<typeof RequestSchema>;
12
13
  const ResponseSchema: z.ZodObject<{
@@ -6,6 +6,7 @@ export declare namespace GenerateLyricsCommand {
6
6
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  userBalance: z.ZodNumber;
8
8
  prompt: z.ZodString;
9
+ mock: z.ZodOptional<z.ZodBoolean>;
9
10
  }, z.core.$strip>;
10
11
  type Request = z.infer<typeof RequestSchema>;
11
12
  const ResponseSchema: z.ZodObject<{
@@ -12,6 +12,7 @@ var GenerateLyricsCommand;
12
12
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
13
13
  userBalance: zod_1.z.number(),
14
14
  prompt: zod_1.z.string(),
15
+ mock: zod_1.z.boolean().optional(),
15
16
  });
16
17
  GenerateLyricsCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(zod_1.z.object({
17
18
  lyrics: zod_1.z.string(),
@@ -28,6 +28,7 @@ export declare namespace GenerateMusicCommand {
28
28
  tokenReservationId: z.ZodString;
29
29
  precalculatedPrice: z.ZodNumber;
30
30
  userHasActiveSubscriptionOrProduct: z.ZodBoolean;
31
+ mock: z.ZodOptional<z.ZodBoolean>;
31
32
  }, z.core.$strip>;
32
33
  type Request = z.infer<typeof RequestSchema>;
33
34
  const ResponseSchema: z.ZodObject<{
@@ -22,6 +22,7 @@ var GenerateMusicCommand;
22
22
  tokenReservationId: zod_1.z.string().uuid(),
23
23
  precalculatedPrice: zod_1.z.number(),
24
24
  userHasActiveSubscriptionOrProduct: zod_1.z.boolean(),
25
+ mock: zod_1.z.boolean().optional(),
25
26
  });
26
27
  GenerateMusicCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(music_job_schema_1.MusicJobSchema);
27
28
  })(GenerateMusicCommand || (exports.GenerateMusicCommand = GenerateMusicCommand = {}));
@@ -27,6 +27,7 @@ export declare namespace RetryMusicJobCommand {
27
27
  style: z.ZodString;
28
28
  }, z.core.$strip>], "mode">>;
29
29
  userHasActiveSubscriptionOrProduct: z.ZodBoolean;
30
+ mock: z.ZodOptional<z.ZodBoolean>;
30
31
  }, z.core.$strip>;
31
32
  type Request = z.infer<typeof RequestSchema>;
32
33
  const ResponseSchema: z.ZodObject<{
@@ -17,6 +17,7 @@ var RetryMusicJobCommand;
17
17
  modelId: zod_1.z.string().uuid().optional(),
18
18
  params: music_job_schema_1.MusicJobParamsSchema.optional(),
19
19
  userHasActiveSubscriptionOrProduct: zod_1.z.boolean(),
20
+ mock: zod_1.z.boolean().optional(),
20
21
  });
21
22
  RetryMusicJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(music_job_schema_1.MusicJobSchema);
22
23
  })(RetryMusicJobCommand || (exports.RetryMusicJobCommand = RetryMusicJobCommand = {}));
@@ -87,6 +87,7 @@ export declare const MusicEditRequestSchema: z.ZodObject<{
87
87
  userId: z.ZodOptional<z.ZodString>;
88
88
  unregisteredUserId: z.ZodOptional<z.ZodString>;
89
89
  userBalance: z.ZodNumber;
90
+ mock: z.ZodOptional<z.ZodBoolean>;
90
91
  }, z.core.$strip>;
91
92
  export type MusicEditRequest = z.infer<typeof MusicEditRequestSchema>;
92
93
  export declare const MusicEditActionResultSchema: z.ZodObject<{
@@ -89,6 +89,7 @@ exports.MusicEditRequestSchema = zod_1.z
89
89
  userId: zod_1.z.string().optional(),
90
90
  unregisteredUserId: zod_1.z.string().optional(),
91
91
  userBalance: zod_1.z.number(),
92
+ mock: zod_1.z.boolean().optional(),
92
93
  })
93
94
  .superRefine((data, ctx) => {
94
95
  const requiresModel = ![
@@ -10,6 +10,7 @@ export declare namespace ParaphraseCommand {
10
10
  intensity: z.ZodEnum<typeof PARAPHRASING_INTENSITY>;
11
11
  tokenReservationId: z.ZodString;
12
12
  precalculatedPrice: z.ZodNumber;
13
+ mock: z.ZodOptional<z.ZodBoolean>;
13
14
  }, z.core.$strip>;
14
15
  type Request = z.infer<typeof RequestSchema>;
15
16
  const ResponseSchema: z.ZodObject<{
@@ -16,6 +16,7 @@ var ParaphraseCommand;
16
16
  intensity: zod_1.z.nativeEnum(enums_1.PARAPHRASING_INTENSITY),
17
17
  tokenReservationId: zod_1.z.string().uuid(),
18
18
  precalculatedPrice: zod_1.z.number(),
19
+ mock: zod_1.z.boolean().optional(),
19
20
  });
20
21
  ParaphraseCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(paraphrase_job_schema_1.ParaphraseJobSchema);
21
22
  })(ParaphraseCommand || (exports.ParaphraseCommand = ParaphraseCommand = {}));
@@ -6,6 +6,7 @@ export declare namespace RetryParaphraseJobCommand {
6
6
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  tokenReservationId: z.ZodString;
8
8
  precalculatedPrice: z.ZodNumber;
9
+ mock: z.ZodOptional<z.ZodBoolean>;
9
10
  }, z.core.$strip>;
10
11
  type Request = z.infer<typeof RequestSchema>;
11
12
  const ResponseSchema: z.ZodObject<{
@@ -12,6 +12,7 @@ var RetryParaphraseJobCommand;
12
12
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
13
13
  tokenReservationId: zod_1.z.string().uuid(),
14
14
  precalculatedPrice: zod_1.z.number(),
15
+ mock: zod_1.z.boolean().optional(),
15
16
  });
16
17
  RetryParaphraseJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(paraphrase_job_schema_1.ParaphraseJobSchema);
17
18
  })(RetryParaphraseJobCommand || (exports.RetryParaphraseJobCommand = RetryParaphraseJobCommand = {}));
@@ -11,6 +11,7 @@ export declare namespace CreatePresentationCommand {
11
11
  slideCount: z.ZodNumber;
12
12
  targetAudience: z.ZodOptional<z.ZodEnum<typeof PRESENTATION_TARGET_AUDIENCE>>;
13
13
  userHasActiveSubscriptionOrProduct: z.ZodBoolean;
14
+ mock: z.ZodOptional<z.ZodBoolean>;
14
15
  }, z.core.$strip>;
15
16
  type Request = z.infer<typeof RequestSchema>;
16
17
  const ResponseSchema: z.ZodObject<{
@@ -17,6 +17,7 @@ var CreatePresentationCommand;
17
17
  slideCount: zod_1.z.number(),
18
18
  targetAudience: zod_1.z.nativeEnum(enums_1.PRESENTATION_TARGET_AUDIENCE).optional(),
19
19
  userHasActiveSubscriptionOrProduct: zod_1.z.boolean(),
20
+ mock: zod_1.z.boolean().optional(),
20
21
  });
21
22
  CreatePresentationCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.PresentationSchema);
22
23
  })(CreatePresentationCommand || (exports.CreatePresentationCommand = CreatePresentationCommand = {}));
@@ -12,6 +12,7 @@ export declare namespace GenerateAndInsertSlideCommand {
12
12
  title: z.ZodString;
13
13
  position: z.ZodNumber;
14
14
  layoutId: z.ZodOptional<z.ZodEnum<typeof SLIDE_LAYOUT>>;
15
+ mock: z.ZodOptional<z.ZodBoolean>;
15
16
  }, z.core.$strip>;
16
17
  type Request = z.infer<typeof RequestSchema>;
17
18
  const ResponseSchema: z.ZodObject<{
@@ -18,6 +18,7 @@ var GenerateAndInsertSlideCommand;
18
18
  title: zod_1.z.string().max(80),
19
19
  position: zod_1.z.number().int().min(0),
20
20
  layoutId: zod_1.z.nativeEnum(enums_1.SLIDE_LAYOUT).optional(),
21
+ mock: zod_1.z.boolean().optional(),
21
22
  });
22
23
  GenerateAndInsertSlideCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.SlideSchema.array());
23
24
  })(GenerateAndInsertSlideCommand || (exports.GenerateAndInsertSlideCommand = GenerateAndInsertSlideCommand = {}));
@@ -7,6 +7,7 @@ export declare namespace GeneratePresentationOutlineCommand {
7
7
  languageId: z.ZodString;
8
8
  slideCount: z.ZodNumber;
9
9
  prompt: z.ZodString;
10
+ mock: z.ZodOptional<z.ZodBoolean>;
10
11
  }, z.core.$strip>;
11
12
  type Request = z.infer<typeof RequestSchema>;
12
13
  const ResponseSchema: z.ZodObject<{
@@ -13,6 +13,7 @@ var GeneratePresentationOutlineCommand;
13
13
  languageId: zod_1.z.string().uuid(),
14
14
  slideCount: zod_1.z.number(),
15
15
  prompt: zod_1.z.string(),
16
+ mock: zod_1.z.boolean().optional(),
16
17
  });
17
18
  GeneratePresentationOutlineCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.array(models_1.SlideOutlineSchema));
18
19
  })(GeneratePresentationOutlineCommand || (exports.GeneratePresentationOutlineCommand = GeneratePresentationOutlineCommand = {}));
@@ -12,6 +12,7 @@ export declare namespace GenerateSlidesCommand {
12
12
  createdAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
13
13
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14
14
  }, z.core.$strip>>>;
15
+ mock: z.ZodOptional<z.ZodBoolean>;
15
16
  }, z.core.$strip>;
16
17
  type Request = z.infer<typeof RequestSchema>;
17
18
  const ResponseSchema: z.ZodObject<{
@@ -14,6 +14,7 @@ var GenerateSlidesCommand;
14
14
  tokenReservationId: zod_1.z.string().uuid(),
15
15
  precalculatedPrice: zod_1.z.number(),
16
16
  titlePage: models_1.PresentationTitlePageSchema.optional().nullable(),
17
+ mock: zod_1.z.boolean().optional(),
17
18
  });
18
19
  GenerateSlidesCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.PresentationSchema);
19
20
  })(GenerateSlidesCommand || (exports.GenerateSlidesCommand = GenerateSlidesCommand = {}));
@@ -5,6 +5,7 @@ export declare namespace PresentationGenerateReportCommand {
5
5
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  presentationId: z.ZodString;
7
7
  userBalance: z.ZodNumber;
8
+ mock: z.ZodOptional<z.ZodBoolean>;
8
9
  }, z.core.$strip>;
9
10
  type Request = z.infer<typeof RequestSchema>;
10
11
  const ResponseSchema: z.ZodObject<{
@@ -10,6 +10,7 @@ var PresentationGenerateReportCommand;
10
10
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
11
11
  presentationId: zod_1.z.string().uuid(),
12
12
  userBalance: zod_1.z.number(),
13
+ mock: zod_1.z.boolean().optional(),
13
14
  });
14
15
  PresentationGenerateReportCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.object({
15
16
  output: zod_1.z.string(),
@@ -7,6 +7,7 @@ export declare namespace PresentationParaphraseCommand {
7
7
  slideId: z.ZodString;
8
8
  selectionText: z.ZodString;
9
9
  userBalance: z.ZodNumber;
10
+ mock: z.ZodOptional<z.ZodBoolean>;
10
11
  }, z.core.$strip>;
11
12
  type Request = z.infer<typeof RequestSchema>;
12
13
  const ResponseSchema: z.ZodObject<{
@@ -12,6 +12,7 @@ var PresentationParaphraseCommand;
12
12
  slideId: zod_1.z.string().uuid(),
13
13
  selectionText: zod_1.z.string(),
14
14
  userBalance: zod_1.z.number(),
15
+ mock: zod_1.z.boolean().optional(),
15
16
  });
16
17
  PresentationParaphraseCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.object({
17
18
  output: zod_1.z.string(),
@@ -15,6 +15,7 @@ export declare namespace UpdateSlideImageSlotCommand {
15
15
  prompt: z.ZodOptional<z.ZodString>;
16
16
  }, z.core.$strip>], "action">;
17
17
  userBalance: z.ZodNumber;
18
+ mock: z.ZodOptional<z.ZodBoolean>;
18
19
  }, z.core.$strip>;
19
20
  type Request = z.infer<typeof RequestSchema>;
20
21
  const ResponseSchema: z.ZodObject<{
@@ -27,6 +27,7 @@ var UpdateSlideImageSlotCommand;
27
27
  slotId: zod_1.z.string().uuid().optional(),
28
28
  payload: UpdateImageSlotPayload,
29
29
  userBalance: zod_1.z.number(),
30
+ mock: zod_1.z.boolean().optional(),
30
31
  });
31
32
  UpdateSlideImageSlotCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.object({
32
33
  imageSlot: models_1.SlideImageSlotSchema,
@@ -22,6 +22,7 @@ export declare namespace RetrySolvingEduTaskJobCommand {
22
22
  contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
23
23
  }, z.core.$strip>>;
24
24
  }, z.core.$strip>>;
25
+ mock: z.ZodOptional<z.ZodBoolean>;
25
26
  }, z.core.$strip>;
26
27
  type Request = z.infer<typeof RequestSchema>;
27
28
  const ResponseSchema: z.ZodObject<{
@@ -22,6 +22,7 @@ var RetrySolvingEduTaskJobCommand;
22
22
  attachedFiles: zod_1.z.array(common_1.AttachedFileSchema),
23
23
  })
24
24
  .optional(),
25
+ mock: zod_1.z.boolean().optional(),
25
26
  });
26
27
  RetrySolvingEduTaskJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.SolvingEduTaskJobSchema);
27
28
  })(RetrySolvingEduTaskJobCommand || (exports.RetrySolvingEduTaskJobCommand = RetrySolvingEduTaskJobCommand = {}));
@@ -21,6 +21,7 @@ export declare namespace SolvingEduTaskCommand {
21
21
  }, z.core.$strip>;
22
22
  tokenReservationId: z.ZodOptional<z.ZodString>;
23
23
  precalculatedPrice: z.ZodOptional<z.ZodNumber>;
24
+ mock: z.ZodOptional<z.ZodBoolean>;
24
25
  }, z.core.$strip>;
25
26
  type Request = z.infer<typeof RequestSchema>;
26
27
  const ResponseSchema: z.ZodObject<{
@@ -18,6 +18,7 @@ var SolvingEduTaskCommand;
18
18
  }),
19
19
  tokenReservationId: zod_1.z.string().uuid().optional(),
20
20
  precalculatedPrice: zod_1.z.number().optional(),
21
+ mock: zod_1.z.boolean().optional(),
21
22
  });
22
23
  SolvingEduTaskCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.SolvingEduTaskJobSchema);
23
24
  })(SolvingEduTaskCommand || (exports.SolvingEduTaskCommand = SolvingEduTaskCommand = {}));
@@ -14,6 +14,7 @@ export declare namespace RetrySoundGenerationJobCommand {
14
14
  loop: z.ZodDefault<z.ZodBoolean>;
15
15
  promptInfluence: z.ZodDefault<z.ZodNumber>;
16
16
  }, z.core.$strip>>;
17
+ mock: z.ZodOptional<z.ZodBoolean>;
17
18
  }, z.core.$strip>;
18
19
  type Request = z.infer<typeof RequestSchema>;
19
20
  const ResponseSchema: z.ZodObject<{
@@ -15,6 +15,7 @@ var RetrySoundGenerationJobCommand;
15
15
  prompt: zod_1.z.string().optional(),
16
16
  modelId: zod_1.z.string().uuid().optional(),
17
17
  params: models_1.SoundGenerationParamsSchema.optional(),
18
+ mock: zod_1.z.boolean().optional(),
18
19
  });
19
20
  RetrySoundGenerationJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.SoundGenerationJobSchema);
20
21
  })(RetrySoundGenerationJobCommand || (exports.RetrySoundGenerationJobCommand = RetrySoundGenerationJobCommand = {}));
@@ -16,6 +16,7 @@ export declare namespace SoundGenerationCommand {
16
16
  }, z.core.$strip>;
17
17
  tokenReservationId: z.ZodString;
18
18
  precalculatedPrice: z.ZodNumber;
19
+ mock: z.ZodOptional<z.ZodBoolean>;
19
20
  }, z.core.$strip>;
20
21
  type Request = z.infer<typeof RequestSchema>;
21
22
  const ResponseSchema: z.ZodObject<{
@@ -18,6 +18,7 @@ var SoundGenerationCommand;
18
18
  params: sound_generation_params_schema_1.SoundGenerationParamsSchema,
19
19
  tokenReservationId: zod_1.z.string().uuid(),
20
20
  precalculatedPrice: zod_1.z.number().positive(),
21
+ mock: zod_1.z.boolean().optional(),
21
22
  })
22
23
  .refine((data) => Boolean(data.userId) !== Boolean(data.unregisteredUserId), {
23
24
  message: 'Exactly one of userId or unregisteredUserId is required',
@@ -6,6 +6,7 @@ export declare namespace RetrySpellCorrectorJobCommand {
6
6
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  tokenReservationId: z.ZodString;
8
8
  precalculatedPrice: z.ZodNumber;
9
+ mock: z.ZodOptional<z.ZodBoolean>;
9
10
  }, z.core.$strip>;
10
11
  type Request = z.infer<typeof RequestSchema>;
11
12
  const ResponseSchema: z.ZodObject<{
@@ -12,6 +12,7 @@ var RetrySpellCorrectorJobCommand;
12
12
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
13
13
  tokenReservationId: zod_1.z.string().uuid(),
14
14
  precalculatedPrice: zod_1.z.number(),
15
+ mock: zod_1.z.boolean().optional(),
15
16
  });
16
17
  RetrySpellCorrectorJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.SpellCorrectorJobSchema);
17
18
  })(RetrySpellCorrectorJobCommand || (exports.RetrySpellCorrectorJobCommand = RetrySpellCorrectorJobCommand = {}));
@@ -7,6 +7,7 @@ export declare namespace SpellCorrectorCommand {
7
7
  modelId: z.ZodString;
8
8
  tokenReservationId: z.ZodString;
9
9
  precalculatedPrice: z.ZodNumber;
10
+ mock: z.ZodOptional<z.ZodBoolean>;
10
11
  }, z.core.$strip>;
11
12
  type Request = z.infer<typeof RequestSchema>;
12
13
  const ResponseSchema: z.ZodObject<{
@@ -13,6 +13,7 @@ var SpellCorrectorCommand;
13
13
  modelId: zod_1.z.string().uuid(),
14
14
  tokenReservationId: zod_1.z.string().uuid(),
15
15
  precalculatedPrice: zod_1.z.number(),
16
+ mock: zod_1.z.boolean().optional(),
16
17
  });
17
18
  SpellCorrectorCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.SpellCorrectorJobSchema);
18
19
  })(SpellCorrectorCommand || (exports.SpellCorrectorCommand = SpellCorrectorCommand = {}));
@@ -6,6 +6,7 @@ export declare namespace RetrySTTJobCommand {
6
6
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  tokenReservationId: z.ZodString;
8
8
  precalculatedPrice: z.ZodNumber;
9
+ mock: z.ZodOptional<z.ZodBoolean>;
9
10
  }, z.core.$strip>;
10
11
  type Request = z.infer<typeof RequestSchema>;
11
12
  const ResponseSchema: z.ZodObject<{
@@ -12,6 +12,7 @@ var RetrySTTJobCommand;
12
12
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
13
13
  tokenReservationId: zod_1.z.string().uuid(),
14
14
  precalculatedPrice: zod_1.z.number(),
15
+ mock: zod_1.z.boolean().optional(),
15
16
  });
16
17
  RetrySTTJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.STTJobSchema);
17
18
  })(RetrySTTJobCommand || (exports.RetrySTTJobCommand = RetrySTTJobCommand = {}));
@@ -13,6 +13,7 @@ export declare namespace STTCommand {
13
13
  durationInSeconds: z.ZodNumber;
14
14
  tokenReservationId: z.ZodString;
15
15
  precalculatedPrice: z.ZodNumber;
16
+ mock: z.ZodOptional<z.ZodBoolean>;
16
17
  }, z.core.$strip>;
17
18
  type Request = z.infer<typeof RequestSchema>;
18
19
  const ResponseSchema: z.ZodObject<{
@@ -19,6 +19,7 @@ var STTCommand;
19
19
  durationInSeconds: zod_1.z.number(),
20
20
  tokenReservationId: zod_1.z.string().uuid(),
21
21
  precalculatedPrice: zod_1.z.number(),
22
+ mock: zod_1.z.boolean().optional(),
22
23
  });
23
24
  STTCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(stt_job_schema_1.STTJobSchema);
24
25
  })(STTCommand || (exports.STTCommand = STTCommand = {}));
@@ -6,6 +6,7 @@ export declare namespace RetryTTSJobCommand {
6
6
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  tokenReservationId: z.ZodString;
8
8
  precalculatedPrice: z.ZodNumber;
9
+ mock: z.ZodOptional<z.ZodBoolean>;
9
10
  }, z.core.$strip>;
10
11
  type Request = z.infer<typeof RequestSchema>;
11
12
  const ResponseSchema: z.ZodObject<{
@@ -12,6 +12,7 @@ var RetryTTSJobCommand;
12
12
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
13
13
  tokenReservationId: zod_1.z.string().uuid(),
14
14
  precalculatedPrice: zod_1.z.number(),
15
+ mock: zod_1.z.boolean().optional(),
15
16
  });
16
17
  RetryTTSJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(tts_job_schema_1.TTSJobSchema);
17
18
  })(RetryTTSJobCommand || (exports.RetryTTSJobCommand = RetryTTSJobCommand = {}));
@@ -20,6 +20,7 @@ export declare namespace TTSCommand {
20
20
  }, z.core.$strip>>>>;
21
21
  tokenReservationId: z.ZodString;
22
22
  precalculatedPrice: z.ZodNumber;
23
+ mock: z.ZodOptional<z.ZodBoolean>;
23
24
  }, z.core.$strip>;
24
25
  type Request = z.infer<typeof RequestSchema>;
25
26
  const ResponseSchema: z.ZodObject<{
@@ -25,6 +25,7 @@ var TTSCommand;
25
25
  references: zod_1.z.array(tts_job_schema_1.TTSReferenceSchema).optional().default([]),
26
26
  tokenReservationId: zod_1.z.string().uuid(),
27
27
  precalculatedPrice: zod_1.z.number(),
28
+ mock: zod_1.z.boolean().optional(),
28
29
  });
29
30
  TTSCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(tts_job_schema_1.TTSJobSchema);
30
31
  })(TTSCommand || (exports.TTSCommand = TTSCommand = {}));
@@ -39,6 +39,7 @@ export declare namespace RetryVideoJobCommand {
39
39
  }, z.core.$strip>>;
40
40
  tokenReservationId: z.ZodString;
41
41
  precalculatedPrice: z.ZodNumber;
42
+ mock: z.ZodOptional<z.ZodBoolean>;
42
43
  }, z.core.$strip>;
43
44
  type Request = z.infer<typeof RequestSchema>;
44
45
  const ResponseSchema: z.ZodObject<{
@@ -18,6 +18,7 @@ var RetryVideoJobCommand;
18
18
  params: models_1.VideoGenerationRequestParamsSchema.optional(),
19
19
  tokenReservationId: zod_1.z.string().uuid(),
20
20
  precalculatedPrice: zod_1.z.number(),
21
+ mock: zod_1.z.boolean().optional(),
21
22
  });
22
23
  RetryVideoJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(video_job_schema_1.VideoJobSchema);
23
24
  })(RetryVideoJobCommand || (exports.RetryVideoJobCommand = RetryVideoJobCommand = {}));
@@ -47,6 +47,7 @@ export declare namespace VideoCommand {
47
47
  }, z.core.$strip>;
48
48
  tokenReservationId: z.ZodString;
49
49
  precalculatedPrice: z.ZodNumber;
50
+ mock: z.ZodOptional<z.ZodBoolean>;
50
51
  }, z.core.$strip>;
51
52
  type Request = z.infer<typeof RequestSchema>;
52
53
  const ResponseSchema: z.ZodObject<{
@@ -26,6 +26,7 @@ var VideoCommand;
26
26
  params: models_1.VideoGenerationRequestParamsSchema,
27
27
  tokenReservationId: zod_1.z.string().uuid(),
28
28
  precalculatedPrice: zod_1.z.number(),
29
+ mock: zod_1.z.boolean().optional(),
29
30
  });
30
31
  VideoCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(video_job_schema_1.VideoJobSchema);
31
32
  })(VideoCommand || (exports.VideoCommand = VideoCommand = {}));
@@ -35,6 +35,7 @@ export declare namespace EditVideoCommand {
35
35
  resolution: z.ZodOptional<z.ZodString>;
36
36
  aspectRatio: z.ZodOptional<z.ZodString>;
37
37
  }, z.core.$strip>>;
38
+ mock: z.ZodOptional<z.ZodBoolean>;
38
39
  }, z.core.$strip>;
39
40
  type Request = z.infer<typeof RequestSchema>;
40
41
  const ResponseSchema: z.ZodObject<{
@@ -19,6 +19,7 @@ var EditVideoCommand;
19
19
  tokenReservationId: zod_1.z.string().uuid(),
20
20
  precalculatedPrice: zod_1.z.number(),
21
21
  params: models_1.VideoEditorJobParamsSchema.optional(),
22
+ mock: zod_1.z.boolean().optional(),
22
23
  });
23
24
  EditVideoCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.VideoEditorJobSchema);
24
25
  })(EditVideoCommand || (exports.EditVideoCommand = EditVideoCommand = {}));
@@ -34,6 +34,7 @@ export declare namespace RetryVideoEditorJobCommand {
34
34
  resolution: z.ZodOptional<z.ZodString>;
35
35
  aspectRatio: z.ZodOptional<z.ZodString>;
36
36
  }, z.core.$strip>>;
37
+ mock: z.ZodOptional<z.ZodBoolean>;
37
38
  }, z.core.$strip>;
38
39
  type Request = z.infer<typeof RequestSchema>;
39
40
  const ResponseSchema: z.ZodObject<{
@@ -18,6 +18,7 @@ var RetryVideoEditorJobCommand;
18
18
  tokenReservationId: zod_1.z.string().uuid(),
19
19
  precalculatedPrice: zod_1.z.number(),
20
20
  params: video_editor_job_schema_1.VideoEditorJobParamsSchema.optional(),
21
+ mock: zod_1.z.boolean().optional(),
21
22
  });
22
23
  RetryVideoEditorJobCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(video_editor_job_schema_1.VideoEditorJobSchema);
23
24
  })(RetryVideoEditorJobCommand || (exports.RetryVideoEditorJobCommand = RetryVideoEditorJobCommand = {}));
@@ -4,6 +4,7 @@ export declare namespace CollectWriterDocumentSourcesCommand {
4
4
  uuid: z.ZodString;
5
5
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ mock: z.ZodOptional<z.ZodBoolean>;
7
8
  }, z.core.$strip>;
8
9
  type Request = z.infer<typeof RequestSchema>;
9
10
  const ResponseSchema: z.ZodObject<{
@@ -10,6 +10,7 @@ var CollectWriterDocumentSourcesCommand;
10
10
  uuid: zod_1.z.string().uuid(),
11
11
  userId: zod_1.z.string().uuid().nullable().optional(),
12
12
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
13
+ mock: zod_1.z.boolean().optional(),
13
14
  });
14
15
  CollectWriterDocumentSourcesCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.WriterDocumentSchema);
15
16
  })(CollectWriterDocumentSourcesCommand || (exports.CollectWriterDocumentSourcesCommand = CollectWriterDocumentSourcesCommand = {}));
@@ -8,6 +8,7 @@ export declare namespace CreateWriterDocumentCommand {
8
8
  prompt: z.ZodString;
9
9
  numPages: z.ZodNumber;
10
10
  documentTypeId: z.ZodString;
11
+ mock: z.ZodOptional<z.ZodBoolean>;
11
12
  }, z.core.$strip>;
12
13
  type Request = z.infer<typeof RequestSchema>;
13
14
  const ResponseSchema: z.ZodObject<{
@@ -14,6 +14,7 @@ var CreateWriterDocumentCommand;
14
14
  prompt: zod_1.z.string(),
15
15
  numPages: zod_1.z.number(),
16
16
  documentTypeId: zod_1.z.string().uuid(),
17
+ mock: zod_1.z.boolean().optional(),
17
18
  });
18
19
  CreateWriterDocumentCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.WriterDocumentSchema);
19
20
  })(CreateWriterDocumentCommand || (exports.CreateWriterDocumentCommand = CreateWriterDocumentCommand = {}));
@@ -7,6 +7,7 @@ export declare namespace GenerateWriterDocumentContentsCommand {
7
7
  tokenReservationId: z.ZodString;
8
8
  precalculatedPrice: z.ZodNumber;
9
9
  modelId: z.ZodString;
10
+ mock: z.ZodOptional<z.ZodBoolean>;
10
11
  }, z.core.$strip>;
11
12
  type Request = z.infer<typeof RequestSchema>;
12
13
  const ResponseSchema: z.ZodObject<{
@@ -13,6 +13,7 @@ var GenerateWriterDocumentContentsCommand;
13
13
  tokenReservationId: zod_1.z.string().uuid(),
14
14
  precalculatedPrice: zod_1.z.number(),
15
15
  modelId: zod_1.z.string(),
16
+ mock: zod_1.z.boolean().optional(),
16
17
  });
17
18
  GenerateWriterDocumentContentsCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.WriterDocumentSchema);
18
19
  })(GenerateWriterDocumentContentsCommand || (exports.GenerateWriterDocumentContentsCommand = GenerateWriterDocumentContentsCommand = {}));
@@ -7,6 +7,7 @@ export declare namespace GenerateWriterDocumentOutlineCommand {
7
7
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
8
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ mock: z.ZodOptional<z.ZodBoolean>;
10
11
  }, z.core.$strip>;
11
12
  type Request = z.infer<typeof RequestSchema>;
12
13
  const ResponseSchema: z.ZodObject<{
@@ -14,6 +14,7 @@ var GenerateWriterDocumentOutlineCommand;
14
14
  description: zod_1.z.string().nullable().optional(),
15
15
  userId: zod_1.z.string().uuid().nullable().optional(),
16
16
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
17
+ mock: zod_1.z.boolean().optional(),
17
18
  });
18
19
  GenerateWriterDocumentOutlineCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.WriterDocumentSchema);
19
20
  })(GenerateWriterDocumentOutlineCommand || (exports.GenerateWriterDocumentOutlineCommand = GenerateWriterDocumentOutlineCommand = {}));
@@ -6,6 +6,7 @@ export declare namespace WriterExtendTextCommand {
6
6
  documentId: z.ZodString;
7
7
  selectionText: z.ZodString;
8
8
  userBalance: z.ZodNumber;
9
+ mock: z.ZodOptional<z.ZodBoolean>;
9
10
  }, z.core.$strip>;
10
11
  type Request = z.infer<typeof RequestSchema>;
11
12
  const ResponseSchema: z.ZodObject<{
@@ -11,6 +11,7 @@ var WriterExtendTextCommand;
11
11
  documentId: zod_1.z.string().uuid(),
12
12
  selectionText: zod_1.z.string(),
13
13
  userBalance: zod_1.z.number(),
14
+ mock: zod_1.z.boolean().optional(),
14
15
  });
15
16
  WriterExtendTextCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.object({
16
17
  output: zod_1.z.string(),
@@ -6,6 +6,7 @@ export declare namespace WriterFixErrorsCommand {
6
6
  documentId: z.ZodString;
7
7
  selectionText: z.ZodString;
8
8
  userBalance: z.ZodNumber;
9
+ mock: z.ZodOptional<z.ZodBoolean>;
9
10
  }, z.core.$strip>;
10
11
  type Request = z.infer<typeof RequestSchema>;
11
12
  const ResponseSchema: z.ZodObject<{
@@ -11,6 +11,7 @@ var WriterFixErrorsCommand;
11
11
  documentId: zod_1.z.string().uuid(),
12
12
  selectionText: zod_1.z.string(),
13
13
  userBalance: zod_1.z.number(),
14
+ mock: zod_1.z.boolean().optional(),
14
15
  });
15
16
  WriterFixErrorsCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.object({
16
17
  output: zod_1.z.string(),
@@ -9,6 +9,7 @@ export declare namespace WriterGenerateTextCommand {
9
9
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  userBalance: z.ZodNumber;
12
+ mock: z.ZodOptional<z.ZodBoolean>;
12
13
  }, z.core.$strip>;
13
14
  type Request = z.infer<typeof RequestSchema>;
14
15
  const ResponseSchema: z.ZodObject<{
@@ -14,6 +14,7 @@ var WriterGenerateTextCommand;
14
14
  userId: zod_1.z.string().uuid().nullable().optional(),
15
15
  unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
16
16
  userBalance: zod_1.z.number(),
17
+ mock: zod_1.z.boolean().optional(),
17
18
  });
18
19
  WriterGenerateTextCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.object({
19
20
  output: zod_1.z.string(),
@@ -6,6 +6,7 @@ export declare namespace WriterParaphraseCommand {
6
6
  documentId: z.ZodString;
7
7
  selectionText: z.ZodString;
8
8
  userBalance: z.ZodNumber;
9
+ mock: z.ZodOptional<z.ZodBoolean>;
9
10
  }, z.core.$strip>;
10
11
  type Request = z.infer<typeof RequestSchema>;
11
12
  const ResponseSchema: z.ZodObject<{
@@ -11,6 +11,7 @@ var WriterParaphraseCommand;
11
11
  documentId: zod_1.z.string().uuid(),
12
12
  selectionText: zod_1.z.string(),
13
13
  userBalance: zod_1.z.number(),
14
+ mock: zod_1.z.boolean().optional(),
14
15
  });
15
16
  WriterParaphraseCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.object({
16
17
  output: zod_1.z.string(),
@@ -6,6 +6,7 @@ export declare namespace WriterShortenTextCommand {
6
6
  documentId: z.ZodString;
7
7
  selectionText: z.ZodString;
8
8
  userBalance: z.ZodNumber;
9
+ mock: z.ZodOptional<z.ZodBoolean>;
9
10
  }, z.core.$strip>;
10
11
  type Request = z.infer<typeof RequestSchema>;
11
12
  const ResponseSchema: z.ZodObject<{
@@ -11,6 +11,7 @@ var WriterShortenTextCommand;
11
11
  documentId: zod_1.z.string().uuid(),
12
12
  selectionText: zod_1.z.string(),
13
13
  userBalance: zod_1.z.number(),
14
+ mock: zod_1.z.boolean().optional(),
14
15
  });
15
16
  WriterShortenTextCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(zod_1.z.object({
16
17
  output: zod_1.z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot-tools",
3
- "version": "0.2.66",
3
+ "version": "0.2.67",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "files": [