@purpleschool/gptbot 0.14.65-stage2 → 0.15.56-stage2

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 (75) hide show
  1. package/build/api/controllers/http/index.d.ts +1 -0
  2. package/build/api/controllers/http/index.js +1 -0
  3. package/build/api/controllers/http/sound-generation.d.ts +14 -0
  4. package/build/api/controllers/http/sound-generation.js +17 -0
  5. package/build/api/routes.d.ts +24 -0
  6. package/build/api/routes.js +24 -0
  7. package/build/commands/ai-model/create-ai-model.command.d.ts +6 -0
  8. package/build/commands/ai-model/find-ai-model.command.d.ts +6 -0
  9. package/build/commands/ai-model/find-ai-models-available-to-user.comand.d.ts +3 -0
  10. package/build/commands/ai-model/find-formatted-ai-model.command.d.ts +6 -0
  11. package/build/commands/ai-model/update-ai-model.command.d.ts +6 -0
  12. package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +3 -0
  13. package/build/commands/ai-studio/canvas-tool/text-gen/get-text-generation-config.command.d.ts +3 -0
  14. package/build/commands/ai-studio/canvas-tool/var-gen/get-var-gen-config.command.d.ts +3 -0
  15. package/build/commands/b2b/get-b2b-documentation.command.d.ts +6 -0
  16. package/build/commands/page/find-page-by-alias.command.d.ts +6 -0
  17. package/build/commands/page/find-page.command.d.ts +3 -0
  18. package/build/commands/page/find-pages-by-criteria.command.d.ts +6 -0
  19. package/build/commands/payment/receipt.command.d.ts +3 -3
  20. package/build/commands/subscription/buy-subscription.command.d.ts +4 -4
  21. package/build/commands/subscription/buy-subscription.command.js +1 -1
  22. package/build/commands/subscription/upgrade-subscription.command.d.ts +3 -3
  23. package/build/commands/subscription/upgrade-subscription.command.js +1 -1
  24. package/build/commands/tools/index.d.ts +1 -0
  25. package/build/commands/tools/index.js +1 -0
  26. package/build/commands/tools/sound-generation/delete-all-sound-generation-jobs.command.d.ts +5 -0
  27. package/build/commands/tools/sound-generation/delete-all-sound-generation-jobs.command.js +8 -0
  28. package/build/commands/tools/sound-generation/delete-sound-generation-job-by-uuid.command.d.ts +9 -0
  29. package/build/commands/tools/sound-generation/delete-sound-generation-job-by-uuid.command.js +11 -0
  30. package/build/commands/tools/sound-generation/find-sound-generation-job-by-uuid.command.d.ts +37 -0
  31. package/build/commands/tools/sound-generation/find-sound-generation-job-by-uuid.command.js +14 -0
  32. package/build/commands/tools/sound-generation/find-sound-generation-jobs.command.d.ts +46 -0
  33. package/build/commands/tools/sound-generation/find-sound-generation-jobs.command.js +24 -0
  34. package/build/commands/tools/sound-generation/get-sound-generation-tool-config.command.d.ts +43 -0
  35. package/build/commands/tools/sound-generation/get-sound-generation-tool-config.command.js +11 -0
  36. package/build/commands/tools/sound-generation/index.d.ts +10 -0
  37. package/build/commands/tools/sound-generation/index.js +26 -0
  38. package/build/commands/tools/sound-generation/retry-sound-generation-job.command.d.ts +48 -0
  39. package/build/commands/tools/sound-generation/retry-sound-generation-job.command.js +19 -0
  40. package/build/commands/tools/sound-generation/set-reaction-to-sound-generation-job.command.d.ts +43 -0
  41. package/build/commands/tools/sound-generation/set-reaction-to-sound-generation-job.command.js +23 -0
  42. package/build/commands/tools/sound-generation/sound-generation.command.d.ts +44 -0
  43. package/build/commands/tools/sound-generation/sound-generation.command.js +16 -0
  44. package/build/commands/tools/sound-generation/update-sound-generation-job-favorite.command.d.ts +41 -0
  45. package/build/commands/tools/sound-generation/update-sound-generation-job-favorite.command.js +17 -0
  46. package/build/commands/tools/sound-generation/update-sound-generation-job-title.command.d.ts +41 -0
  47. package/build/commands/tools/sound-generation/update-sound-generation-job-title.command.js +17 -0
  48. package/build/constants/ai-model/enums/ai-model-config-selector-type.enum.d.ts +2 -1
  49. package/build/constants/ai-model/enums/ai-model-config-selector-type.enum.js +1 -0
  50. package/build/constants/cabinet/enums/statistics-request-type.enum.d.ts +1 -0
  51. package/build/constants/cabinet/enums/statistics-request-type.enum.js +1 -0
  52. package/build/constants/cloud-payments/index.d.ts +5 -0
  53. package/build/constants/cloud-payments/index.js +7 -1
  54. package/build/models/ai-model-config.schema.d.ts +7 -0
  55. package/build/models/ai-model-config.schema.js +6 -1
  56. package/build/models/ai-model-formatted.schema.d.ts +3 -0
  57. package/build/models/ai-model.schema.d.ts +9 -0
  58. package/build/models/canvas-node-definition.schema.d.ts +12 -0
  59. package/build/models/cloud-payments-receipt.schema.d.ts +1 -1
  60. package/build/models/cloud-payments-receipt.schema.js +1 -1
  61. package/build/models/tools/index.d.ts +1 -0
  62. package/build/models/tools/index.js +1 -0
  63. package/build/models/tools/sound-generation/index.d.ts +5 -0
  64. package/build/models/tools/sound-generation/index.js +21 -0
  65. package/build/models/tools/sound-generation/sound-generation-config.schema.d.ts +39 -0
  66. package/build/models/tools/sound-generation/sound-generation-config.schema.js +8 -0
  67. package/build/models/tools/sound-generation/sound-generation-job.schema.d.ts +30 -0
  68. package/build/models/tools/sound-generation/sound-generation-job.schema.js +20 -0
  69. package/build/models/tools/sound-generation/sound-generation-model.schema.d.ts +49 -0
  70. package/build/models/tools/sound-generation/sound-generation-model.schema.js +35 -0
  71. package/build/models/tools/sound-generation/sound-generation-params.schema.d.ts +8 -0
  72. package/build/models/tools/sound-generation/sound-generation-params.schema.js +10 -0
  73. package/build/models/tools/sound-generation/sound-generation-result.schema.d.ts +7 -0
  74. package/build/models/tools/sound-generation/sound-generation-result.schema.js +9 -0
  75. package/package.json +1 -1
@@ -75,6 +75,7 @@ export * from './image-generation';
75
75
  export * from './marketplace-card';
76
76
  export * from './interior-design';
77
77
  export * from './solving-edu-task';
78
+ export * from './sound-generation';
78
79
  export * from './diagrams';
79
80
  export * from './team-account';
80
81
  export * from './spell-corrector';
@@ -91,6 +91,7 @@ __exportStar(require("./image-generation"), exports);
91
91
  __exportStar(require("./marketplace-card"), exports);
92
92
  __exportStar(require("./interior-design"), exports);
93
93
  __exportStar(require("./solving-edu-task"), exports);
94
+ __exportStar(require("./sound-generation"), exports);
94
95
  __exportStar(require("./diagrams"), exports);
95
96
  __exportStar(require("./team-account"), exports);
96
97
  __exportStar(require("./spell-corrector"), exports);
@@ -0,0 +1,14 @@
1
+ export declare const SOUND_GENERATION_CONTROLLER_PRIVATE: 'private/tools/sound-generation';
2
+ export declare const SOUND_GENERATION_CONTROLLER_PUBLIC: 'public/tools/sound-generation';
3
+ export declare const SOUND_GENERATION_ROUTES: {
4
+ readonly CONFIG: 'config';
5
+ readonly EXECUTE: 'execute';
6
+ readonly GET_JOBS: 'jobs';
7
+ readonly GET_JOB: (uuid: string) => string;
8
+ readonly UPDATE: (uuid: string) => string;
9
+ readonly UPDATE_FAVORITE: (uuid: string) => string;
10
+ readonly SET_REACTION: (uuid: string) => string;
11
+ readonly DELETE: (uuid: string) => string;
12
+ readonly DELETE_ALL: 'jobs';
13
+ readonly RETRY: (uuid: string) => string;
14
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SOUND_GENERATION_ROUTES = exports.SOUND_GENERATION_CONTROLLER_PUBLIC = exports.SOUND_GENERATION_CONTROLLER_PRIVATE = void 0;
4
+ exports.SOUND_GENERATION_CONTROLLER_PRIVATE = 'private/tools/sound-generation';
5
+ exports.SOUND_GENERATION_CONTROLLER_PUBLIC = 'public/tools/sound-generation';
6
+ exports.SOUND_GENERATION_ROUTES = {
7
+ CONFIG: 'config',
8
+ EXECUTE: 'execute',
9
+ GET_JOBS: 'jobs',
10
+ GET_JOB: (uuid) => `jobs/${uuid}`,
11
+ UPDATE: (uuid) => `jobs/${uuid}`,
12
+ UPDATE_FAVORITE: (uuid) => `jobs/${uuid}/favorite`,
13
+ SET_REACTION: (uuid) => `jobs/${uuid}/reaction`,
14
+ DELETE: (uuid) => `jobs/${uuid}`,
15
+ DELETE_ALL: 'jobs',
16
+ RETRY: (uuid) => `jobs/${uuid}/retry`,
17
+ };
@@ -1134,6 +1134,30 @@ export declare const REST_API: {
1134
1134
  readonly DELETE_ALL: "/api/public/tools/solving-edu-task/jobs";
1135
1135
  readonly RETRY: (uuid: string) => string;
1136
1136
  };
1137
+ readonly SOUND_GENERATION_PRIVATE: {
1138
+ readonly CONFIG: "/api/private/tools/sound-generation/config";
1139
+ readonly EXECUTE: "/api/private/tools/sound-generation/execute";
1140
+ readonly GET_JOBS: "/api/private/tools/sound-generation/jobs";
1141
+ readonly GET_JOB: (uuid: string) => string;
1142
+ readonly UPDATE: (uuid: string) => string;
1143
+ readonly UPDATE_FAVORITE: (uuid: string) => string;
1144
+ readonly SET_REACTION: (uuid: string) => string;
1145
+ readonly DELETE: (uuid: string) => string;
1146
+ readonly DELETE_ALL: "/api/private/tools/sound-generation/jobs";
1147
+ readonly RETRY: (uuid: string) => string;
1148
+ };
1149
+ readonly SOUND_GENERATION_PUBLIC: {
1150
+ readonly CONFIG: "/api/public/tools/sound-generation/config";
1151
+ readonly EXECUTE: "/api/public/tools/sound-generation/execute";
1152
+ readonly GET_JOBS: "/api/public/tools/sound-generation/jobs";
1153
+ readonly GET_JOB: (uuid: string) => string;
1154
+ readonly UPDATE: (uuid: string) => string;
1155
+ readonly UPDATE_FAVORITE: (uuid: string) => string;
1156
+ readonly SET_REACTION: (uuid: string) => string;
1157
+ readonly DELETE: (uuid: string) => string;
1158
+ readonly DELETE_ALL: "/api/public/tools/sound-generation/jobs";
1159
+ readonly RETRY: (uuid: string) => string;
1160
+ };
1137
1161
  readonly DIAGRAMS_PRIVATE: {
1138
1162
  readonly CONFIG: "/api/private/tools/diagrams/config";
1139
1163
  readonly PRICE: "/api/private/tools/diagrams/price";
@@ -1172,6 +1172,30 @@ exports.REST_API = {
1172
1172
  DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.SOLVING_EDU_TASK_CONTROLLER_PUBLIC}/${CONTROLLERS.SOLVING_EDU_TASK_ROUTES.DELETE_ALL}`,
1173
1173
  RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.SOLVING_EDU_TASK_CONTROLLER_PUBLIC}/${CONTROLLERS.SOLVING_EDU_TASK_ROUTES.RETRY(uuid)}`,
1174
1174
  },
1175
+ SOUND_GENERATION_PRIVATE: {
1176
+ CONFIG: `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PRIVATE}/${CONTROLLERS.SOUND_GENERATION_ROUTES.CONFIG}`,
1177
+ EXECUTE: `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PRIVATE}/${CONTROLLERS.SOUND_GENERATION_ROUTES.EXECUTE}`,
1178
+ GET_JOBS: `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PRIVATE}/${CONTROLLERS.SOUND_GENERATION_ROUTES.GET_JOBS}`,
1179
+ GET_JOB: (uuid) => `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PRIVATE}/${CONTROLLERS.SOUND_GENERATION_ROUTES.GET_JOB(uuid)}`,
1180
+ UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PRIVATE}/${CONTROLLERS.SOUND_GENERATION_ROUTES.UPDATE(uuid)}`,
1181
+ UPDATE_FAVORITE: (uuid) => `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PRIVATE}/${CONTROLLERS.SOUND_GENERATION_ROUTES.UPDATE_FAVORITE(uuid)}`,
1182
+ SET_REACTION: (uuid) => `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PRIVATE}/${CONTROLLERS.SOUND_GENERATION_ROUTES.SET_REACTION(uuid)}`,
1183
+ DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PRIVATE}/${CONTROLLERS.SOUND_GENERATION_ROUTES.DELETE(uuid)}`,
1184
+ DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PRIVATE}/${CONTROLLERS.SOUND_GENERATION_ROUTES.DELETE_ALL}`,
1185
+ RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PRIVATE}/${CONTROLLERS.SOUND_GENERATION_ROUTES.RETRY(uuid)}`,
1186
+ },
1187
+ SOUND_GENERATION_PUBLIC: {
1188
+ CONFIG: `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PUBLIC}/${CONTROLLERS.SOUND_GENERATION_ROUTES.CONFIG}`,
1189
+ EXECUTE: `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PUBLIC}/${CONTROLLERS.SOUND_GENERATION_ROUTES.EXECUTE}`,
1190
+ GET_JOBS: `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PUBLIC}/${CONTROLLERS.SOUND_GENERATION_ROUTES.GET_JOBS}`,
1191
+ GET_JOB: (uuid) => `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PUBLIC}/${CONTROLLERS.SOUND_GENERATION_ROUTES.GET_JOB(uuid)}`,
1192
+ UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PUBLIC}/${CONTROLLERS.SOUND_GENERATION_ROUTES.UPDATE(uuid)}`,
1193
+ UPDATE_FAVORITE: (uuid) => `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PUBLIC}/${CONTROLLERS.SOUND_GENERATION_ROUTES.UPDATE_FAVORITE(uuid)}`,
1194
+ SET_REACTION: (uuid) => `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PUBLIC}/${CONTROLLERS.SOUND_GENERATION_ROUTES.SET_REACTION(uuid)}`,
1195
+ DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PUBLIC}/${CONTROLLERS.SOUND_GENERATION_ROUTES.DELETE(uuid)}`,
1196
+ DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PUBLIC}/${CONTROLLERS.SOUND_GENERATION_ROUTES.DELETE_ALL}`,
1197
+ RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.SOUND_GENERATION_CONTROLLER_PUBLIC}/${CONTROLLERS.SOUND_GENERATION_ROUTES.RETRY(uuid)}`,
1198
+ },
1175
1199
  DIAGRAMS_PRIVATE: {
1176
1200
  CONFIG: `${exports.ROOT}/${CONTROLLERS.DIAGRAMS_CONTROLLER_PRIVATE}/${CONTROLLERS.DIAGRAMS_ROUTES.CONFIG}`,
1177
1201
  PRICE: `${exports.ROOT}/${CONTROLLERS.DIAGRAMS_CONTROLLER_PRIVATE}/${CONTROLLERS.DIAGRAMS_ROUTES.PRICE}`,
@@ -55,6 +55,9 @@ export declare namespace CreateAIModelCommand {
55
55
  stepPrice: z.ZodNumber;
56
56
  isActive: z.ZodBoolean;
57
57
  }, z.core.$strip>>;
58
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
59
+ multiplier: z.ZodNumber;
60
+ }, z.core.$strip>>;
58
61
  }, z.core.$strict>;
59
62
  }, z.core.$strip>;
60
63
  tags: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof import("../..").AI_MODEL_TAG>>>;
@@ -122,6 +125,9 @@ export declare namespace CreateAIModelCommand {
122
125
  stepPrice: z.ZodNumber;
123
126
  isActive: z.ZodBoolean;
124
127
  }, z.core.$strip>>;
128
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
129
+ multiplier: z.ZodNumber;
130
+ }, z.core.$strip>>;
125
131
  }, z.core.$strict>;
126
132
  }, z.core.$strip>;
127
133
  createdAt: z.ZodDate;
@@ -80,6 +80,9 @@ export declare namespace FindAIModelCommand {
80
80
  stepPrice: z.ZodNumber;
81
81
  isActive: z.ZodBoolean;
82
82
  }, z.core.$strip>>;
83
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
84
+ multiplier: z.ZodNumber;
85
+ }, z.core.$strip>>;
83
86
  }, z.core.$strict>;
84
87
  }, z.core.$strip>;
85
88
  createdAt: z.ZodDate;
@@ -151,6 +154,9 @@ export declare namespace FindAIModelCommand {
151
154
  stepPrice: z.ZodNumber;
152
155
  isActive: z.ZodBoolean;
153
156
  }, z.core.$strip>>;
157
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
158
+ multiplier: z.ZodNumber;
159
+ }, z.core.$strip>>;
154
160
  }, z.core.$strict>;
155
161
  }, z.core.$strip>;
156
162
  createdAt: z.ZodDate;
@@ -61,6 +61,9 @@ export declare namespace FindAiModelsAvailableToUserCommand {
61
61
  stepPrice: z.ZodNumber;
62
62
  isActive: z.ZodBoolean;
63
63
  }, z.core.$strip>>;
64
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
65
+ multiplier: z.ZodNumber;
66
+ }, z.core.$strip>>;
64
67
  }, z.core.$strict>;
65
68
  }, z.core.$strip>;
66
69
  createdAt: z.ZodDate;
@@ -63,6 +63,9 @@ export declare namespace FindFormattedAIModelCommand {
63
63
  stepPrice: z.ZodNumber;
64
64
  isActive: z.ZodBoolean;
65
65
  }, z.core.$strip>>;
66
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
67
+ multiplier: z.ZodNumber;
68
+ }, z.core.$strip>>;
66
69
  }, z.core.$strict>;
67
70
  }, z.core.$strip>;
68
71
  createdAt: z.ZodDate;
@@ -133,6 +136,9 @@ export declare namespace FindFormattedAIModelCommand {
133
136
  stepPrice: z.ZodNumber;
134
137
  isActive: z.ZodBoolean;
135
138
  }, z.core.$strip>>;
139
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
140
+ multiplier: z.ZodNumber;
141
+ }, z.core.$strip>>;
136
142
  }, z.core.$strict>;
137
143
  }, z.core.$strip>;
138
144
  createdAt: z.ZodDate;
@@ -55,6 +55,9 @@ export declare namespace UpdateAIModelCommand {
55
55
  stepPrice: z.ZodNumber;
56
56
  isActive: z.ZodBoolean;
57
57
  }, z.core.$strip>>;
58
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
59
+ multiplier: z.ZodNumber;
60
+ }, z.core.$strip>>;
58
61
  }, z.core.$strict>;
59
62
  }, z.core.$strip>>;
60
63
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<typeof import("../..").AI_MODEL_TAG>>>>;
@@ -126,6 +129,9 @@ export declare namespace UpdateAIModelCommand {
126
129
  stepPrice: z.ZodNumber;
127
130
  isActive: z.ZodBoolean;
128
131
  }, z.core.$strip>>;
132
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
133
+ multiplier: z.ZodNumber;
134
+ }, z.core.$strip>>;
129
135
  }, z.core.$strict>;
130
136
  }, z.core.$strip>;
131
137
  createdAt: z.ZodDate;
@@ -117,6 +117,9 @@ export declare namespace FindCanvasNodeDefinitionsWithConfigsQuery {
117
117
  stepPrice: z.ZodNumber;
118
118
  isActive: z.ZodBoolean;
119
119
  }, z.core.$strip>>;
120
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
121
+ multiplier: z.ZodNumber;
122
+ }, z.core.$strip>>;
120
123
  }, z.core.$strict>;
121
124
  }, z.core.$strip>;
122
125
  createdAt: z.ZodDate;
@@ -76,6 +76,9 @@ export declare namespace GetTextGenerationConfigCommand {
76
76
  stepPrice: z.ZodNumber;
77
77
  isActive: z.ZodBoolean;
78
78
  }, z.core.$strip>>;
79
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
80
+ multiplier: z.ZodNumber;
81
+ }, z.core.$strip>>;
79
82
  }, z.core.$strict>;
80
83
  }, z.core.$strip>;
81
84
  createdAt: z.ZodDate;
@@ -59,6 +59,9 @@ export declare namespace GetVarGenConfigCommand {
59
59
  stepPrice: z.ZodNumber;
60
60
  isActive: z.ZodBoolean;
61
61
  }, z.core.$strip>>;
62
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
63
+ multiplier: z.ZodNumber;
64
+ }, z.core.$strip>>;
62
65
  }, z.core.$strict>;
63
66
  }, z.core.$strip>;
64
67
  createdAt: z.ZodDate;
@@ -162,6 +162,9 @@ export declare namespace GetB2bDocumentationCommand {
162
162
  stepPrice: z.ZodNumber;
163
163
  isActive: z.ZodBoolean;
164
164
  }, z.core.$strip>>;
165
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
166
+ multiplier: z.ZodNumber;
167
+ }, z.core.$strip>>;
165
168
  }, z.core.$strict>;
166
169
  }, z.core.$strip>;
167
170
  createdAt: z.ZodString;
@@ -343,6 +346,9 @@ export declare namespace GetB2bDocumentationCommand {
343
346
  stepPrice: z.ZodNumber;
344
347
  isActive: z.ZodBoolean;
345
348
  }, z.core.$strip>>;
349
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
350
+ multiplier: z.ZodNumber;
351
+ }, z.core.$strip>>;
346
352
  }, z.core.$strict>;
347
353
  }, z.core.$strip>;
348
354
  createdAt: z.ZodString;
@@ -118,6 +118,9 @@ export declare namespace FindPageByAliasCommand {
118
118
  stepPrice: z.ZodNumber;
119
119
  isActive: z.ZodBoolean;
120
120
  }, z.core.$strip>>;
121
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
122
+ multiplier: z.ZodNumber;
123
+ }, z.core.$strip>>;
121
124
  }, z.core.$strict>;
122
125
  }, z.core.$strip>;
123
126
  createdAt: z.ZodDate;
@@ -238,6 +241,9 @@ export declare namespace FindPageByAliasCommand {
238
241
  stepPrice: z.ZodNumber;
239
242
  isActive: z.ZodBoolean;
240
243
  }, z.core.$strip>>;
244
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
245
+ multiplier: z.ZodNumber;
246
+ }, z.core.$strip>>;
241
247
  }, z.core.$strict>;
242
248
  }, z.core.$strip>;
243
249
  createdAt: z.ZodDate;
@@ -142,6 +142,9 @@ export declare namespace FindPageCommand {
142
142
  stepPrice: z.ZodNumber;
143
143
  isActive: z.ZodBoolean;
144
144
  }, z.core.$strip>>;
145
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
146
+ multiplier: z.ZodNumber;
147
+ }, z.core.$strip>>;
145
148
  }, z.core.$strict>;
146
149
  }, z.core.$strip>;
147
150
  createdAt: z.ZodDate;
@@ -129,6 +129,9 @@ export declare namespace FindPagesByCriteriaCommand {
129
129
  stepPrice: z.ZodNumber;
130
130
  isActive: z.ZodBoolean;
131
131
  }, z.core.$strip>>;
132
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
133
+ multiplier: z.ZodNumber;
134
+ }, z.core.$strip>>;
132
135
  }, z.core.$strict>;
133
136
  }, z.core.$strip>;
134
137
  createdAt: z.ZodDate;
@@ -248,6 +251,9 @@ export declare namespace FindPagesByCriteriaCommand {
248
251
  stepPrice: z.ZodNumber;
249
252
  isActive: z.ZodBoolean;
250
253
  }, z.core.$strip>>;
254
+ "no-active-subscription-or-product-multiplier": z.ZodOptional<z.ZodObject<{
255
+ multiplier: z.ZodNumber;
256
+ }, z.core.$strip>>;
251
257
  }, z.core.$strict>;
252
258
  }, z.core.$strip>;
253
259
  createdAt: z.ZodDate;
@@ -66,7 +66,7 @@ export declare namespace ReceiptCommand {
66
66
  Barcode: z.ZodNullable<z.ZodString>;
67
67
  Discount: z.ZodNullable<z.ZodNumber>;
68
68
  OtherDiscount: z.ZodNullable<z.ZodNumber>;
69
- MarkCodes: z.ZodArray<z.ZodUnknown>;
69
+ MarkCodes: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
70
70
  }, z.core.$strip>>;
71
71
  TaxationSystem: z.ZodNumber;
72
72
  Amounts: z.ZodObject<{
@@ -197,7 +197,7 @@ export declare namespace ReceiptCommand {
197
197
  Barcode: string | null;
198
198
  Discount: number | null;
199
199
  OtherDiscount: number | null;
200
- MarkCodes: unknown[];
200
+ MarkCodes: unknown[] | null;
201
201
  }[];
202
202
  TaxationSystem: number;
203
203
  Amounts: {
@@ -328,7 +328,7 @@ export declare namespace ReceiptCommand {
328
328
  Barcode: string | null;
329
329
  Discount: number | null;
330
330
  OtherDiscount: number | null;
331
- MarkCodes: unknown[];
331
+ MarkCodes: unknown[] | null;
332
332
  }[];
333
333
  TaxationSystem: number;
334
334
  Amounts: {
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { PAYMENT_PROVIDER } from '../../constants';
2
+ import { CLOUD_PAYMENTS_RECURRENT_INTERVAL, PAYMENT_PROVIDER } from '../../constants';
3
3
  export declare namespace BuySubscriptionCommand {
4
4
  const RequestParamSchema: z.ZodObject<{
5
5
  uuid: z.ZodString;
@@ -54,7 +54,7 @@ export declare namespace BuySubscriptionCommand {
54
54
  }, z.core.$strip>;
55
55
  recurrent: z.ZodObject<{
56
56
  period: z.ZodNumber;
57
- interval: z.ZodString;
57
+ interval: z.ZodEnum<typeof CLOUD_PAYMENTS_RECURRENT_INTERVAL>;
58
58
  amount: z.ZodNumber;
59
59
  customerReceipt: z.ZodObject<{
60
60
  items: z.ZodArray<z.ZodObject<{
@@ -114,7 +114,7 @@ export declare namespace BuySubscriptionCommand {
114
114
  }, z.core.$strip>;
115
115
  recurrent: z.ZodObject<{
116
116
  period: z.ZodNumber;
117
- interval: z.ZodString;
117
+ interval: z.ZodEnum<typeof CLOUD_PAYMENTS_RECURRENT_INTERVAL>;
118
118
  amount: z.ZodNumber;
119
119
  customerReceipt: z.ZodObject<{
120
120
  items: z.ZodArray<z.ZodObject<{
@@ -175,7 +175,7 @@ export declare namespace BuySubscriptionCommand {
175
175
  }, z.core.$strip>;
176
176
  recurrent: z.ZodObject<{
177
177
  period: z.ZodNumber;
178
- interval: z.ZodString;
178
+ interval: z.ZodEnum<typeof CLOUD_PAYMENTS_RECURRENT_INTERVAL>;
179
179
  amount: z.ZodNumber;
180
180
  customerReceipt: z.ZodObject<{
181
181
  items: z.ZodArray<z.ZodObject<{
@@ -92,7 +92,7 @@ var BuySubscriptionCommand;
92
92
  CustomerReceipt: IReceiptOrderSchema,
93
93
  recurrent: zod_1.z.object({
94
94
  period: zod_1.z.number(),
95
- interval: zod_1.z.string(),
95
+ interval: zod_1.z.nativeEnum(constants_1.CLOUD_PAYMENTS_RECURRENT_INTERVAL),
96
96
  amount: zod_1.z.number(),
97
97
  customerReceipt: IReceiptOrderSchema,
98
98
  }),
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { BILLING_SCOPE, PAYMENT_PROVIDER } from '../../constants';
2
+ import { BILLING_SCOPE, CLOUD_PAYMENTS_RECURRENT_INTERVAL, PAYMENT_PROVIDER } from '../../constants';
3
3
  export declare namespace UpgradeSubscriptionCommand {
4
4
  const RequestSchema: z.ZodObject<{
5
5
  upgradeSubscriptionId: z.ZodString;
@@ -39,7 +39,7 @@ export declare namespace UpgradeSubscriptionCommand {
39
39
  }, z.core.$strip>;
40
40
  recurrent: z.ZodObject<{
41
41
  period: z.ZodNumber;
42
- interval: z.ZodString;
42
+ interval: z.ZodEnum<typeof CLOUD_PAYMENTS_RECURRENT_INTERVAL>;
43
43
  amount: z.ZodNumber;
44
44
  customerReceipt: z.ZodObject<{
45
45
  items: z.ZodArray<z.ZodObject<{
@@ -99,7 +99,7 @@ export declare namespace UpgradeSubscriptionCommand {
99
99
  }, z.core.$strip>;
100
100
  recurrent: z.ZodObject<{
101
101
  period: z.ZodNumber;
102
- interval: z.ZodString;
102
+ interval: z.ZodEnum<typeof CLOUD_PAYMENTS_RECURRENT_INTERVAL>;
103
103
  amount: z.ZodNumber;
104
104
  customerReceipt: z.ZodObject<{
105
105
  items: z.ZodArray<z.ZodObject<{
@@ -44,7 +44,7 @@ var UpgradeSubscriptionCommand;
44
44
  CustomerReceipt: IReceiptOrderSchema,
45
45
  recurrent: zod_1.z.object({
46
46
  period: zod_1.z.number(),
47
- interval: zod_1.z.string(),
47
+ interval: zod_1.z.nativeEnum(constants_1.CLOUD_PAYMENTS_RECURRENT_INTERVAL),
48
48
  amount: zod_1.z.number(),
49
49
  customerReceipt: IReceiptOrderSchema,
50
50
  }),
@@ -18,3 +18,4 @@ export * from './html-page-builder';
18
18
  export * from './tool-workspace';
19
19
  export * from './photo-session';
20
20
  export * from './diagrams';
21
+ export * from './sound-generation';
@@ -34,3 +34,4 @@ __exportStar(require("./html-page-builder"), exports);
34
34
  __exportStar(require("./tool-workspace"), exports);
35
35
  __exportStar(require("./photo-session"), exports);
36
36
  __exportStar(require("./diagrams"), exports);
37
+ __exportStar(require("./sound-generation"), exports);
@@ -0,0 +1,5 @@
1
+ import { z } from 'zod';
2
+ export declare namespace DeleteAllSoundGenerationJobsCommand {
3
+ const ResponseSchema: z.ZodVoid;
4
+ type Response = z.infer<typeof ResponseSchema>;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAllSoundGenerationJobsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ var DeleteAllSoundGenerationJobsCommand;
6
+ (function (DeleteAllSoundGenerationJobsCommand) {
7
+ DeleteAllSoundGenerationJobsCommand.ResponseSchema = zod_1.z.void();
8
+ })(DeleteAllSoundGenerationJobsCommand || (exports.DeleteAllSoundGenerationJobsCommand = DeleteAllSoundGenerationJobsCommand = {}));
@@ -0,0 +1,9 @@
1
+ import { z } from 'zod';
2
+ export declare namespace DeleteSoundGenerationJobByUuidCommand {
3
+ const RequestParamsSchema: z.ZodObject<{
4
+ uuid: z.ZodUUID;
5
+ }, z.core.$strip>;
6
+ type RequestParams = z.infer<typeof RequestParamsSchema>;
7
+ const ResponseSchema: z.ZodVoid;
8
+ type Response = z.infer<typeof ResponseSchema>;
9
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteSoundGenerationJobByUuidCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ var DeleteSoundGenerationJobByUuidCommand;
6
+ (function (DeleteSoundGenerationJobByUuidCommand) {
7
+ DeleteSoundGenerationJobByUuidCommand.RequestParamsSchema = zod_1.z.object({
8
+ uuid: zod_1.z.uuid(),
9
+ });
10
+ DeleteSoundGenerationJobByUuidCommand.ResponseSchema = zod_1.z.void();
11
+ })(DeleteSoundGenerationJobByUuidCommand || (exports.DeleteSoundGenerationJobByUuidCommand = DeleteSoundGenerationJobByUuidCommand = {}));
@@ -0,0 +1,37 @@
1
+ import { z } from 'zod';
2
+ export declare namespace FindSoundGenerationJobByUUIDCommand {
3
+ const RequestParamsSchema: z.ZodObject<{
4
+ uuid: z.ZodString;
5
+ }, z.core.$strip>;
6
+ type RequestParams = z.infer<typeof RequestParamsSchema>;
7
+ const ResponseSchema: z.ZodObject<{
8
+ data: z.ZodObject<{
9
+ uuid: z.ZodString;
10
+ status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
11
+ error: z.ZodNullable<z.ZodString>;
12
+ isFavorite: z.ZodBoolean;
13
+ createdAt: z.ZodDate;
14
+ updatedAt: z.ZodDate;
15
+ prompt: z.ZodString;
16
+ title: z.ZodString;
17
+ modelId: z.ZodString;
18
+ price: z.ZodNumber;
19
+ params: z.ZodObject<{
20
+ durationInSeconds: z.ZodOptional<z.ZodNumber>;
21
+ variations: z.ZodDefault<z.ZodNumber>;
22
+ loop: z.ZodDefault<z.ZodBoolean>;
23
+ promptInfluence: z.ZodDefault<z.ZodNumber>;
24
+ }, z.core.$strip>;
25
+ results: z.ZodArray<z.ZodObject<{
26
+ uuid: z.ZodUUID;
27
+ audioUrl: z.ZodURL;
28
+ duration: z.ZodNumber;
29
+ }, z.core.$strip>>;
30
+ attempts: z.ZodArray<z.ZodUnknown>;
31
+ reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
32
+ dislikeReason: z.ZodNullable<z.ZodString>;
33
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
34
+ }, z.core.$strip>;
35
+ }, z.core.$strip>;
36
+ type Response = z.infer<typeof ResponseSchema>;
37
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FindSoundGenerationJobByUUIDCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../../models");
6
+ var FindSoundGenerationJobByUUIDCommand;
7
+ (function (FindSoundGenerationJobByUUIDCommand) {
8
+ FindSoundGenerationJobByUUIDCommand.RequestParamsSchema = models_1.ToolJobSchema.pick({
9
+ uuid: true,
10
+ });
11
+ FindSoundGenerationJobByUUIDCommand.ResponseSchema = zod_1.z.object({
12
+ data: models_1.SoundGenerationJobSchema,
13
+ });
14
+ })(FindSoundGenerationJobByUUIDCommand || (exports.FindSoundGenerationJobByUUIDCommand = FindSoundGenerationJobByUUIDCommand = {}));
@@ -0,0 +1,46 @@
1
+ import { z } from 'zod';
2
+ import { JOB_SORT, TOOL_JOB_STATUS } from '../../../constants';
3
+ export declare namespace FindSoundGenerationJobsCommand {
4
+ const RequestQuerySchema: z.ZodObject<{
5
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
6
+ offset: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
7
+ title: z.ZodOptional<z.ZodString>;
8
+ isFavorite: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean>>;
9
+ createdAtSortOrder: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SORT>>>;
10
+ status: z.ZodOptional<z.ZodEnum<typeof TOOL_JOB_STATUS>>;
11
+ }, z.core.$strip>;
12
+ type RequestQuery = z.infer<typeof RequestQuerySchema>;
13
+ const ResponseSchema: z.ZodObject<{
14
+ data: z.ZodArray<z.ZodObject<{
15
+ uuid: z.ZodString;
16
+ status: z.ZodEnum<typeof TOOL_JOB_STATUS>;
17
+ error: z.ZodNullable<z.ZodString>;
18
+ isFavorite: z.ZodBoolean;
19
+ createdAt: z.ZodDate;
20
+ updatedAt: z.ZodDate;
21
+ prompt: z.ZodString;
22
+ title: z.ZodString;
23
+ modelId: z.ZodString;
24
+ price: z.ZodNumber;
25
+ params: z.ZodObject<{
26
+ durationInSeconds: z.ZodOptional<z.ZodNumber>;
27
+ variations: z.ZodDefault<z.ZodNumber>;
28
+ loop: z.ZodDefault<z.ZodBoolean>;
29
+ promptInfluence: z.ZodDefault<z.ZodNumber>;
30
+ }, z.core.$strip>;
31
+ results: z.ZodArray<z.ZodObject<{
32
+ uuid: z.ZodUUID;
33
+ audioUrl: z.ZodURL;
34
+ duration: z.ZodNumber;
35
+ }, z.core.$strip>>;
36
+ attempts: z.ZodArray<z.ZodUnknown>;
37
+ reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
38
+ dislikeReason: z.ZodNullable<z.ZodString>;
39
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
40
+ }, z.core.$strip>>;
41
+ totalPages: z.ZodNumber;
42
+ total: z.ZodNumber;
43
+ page: z.ZodNumber;
44
+ }, z.core.$strip>;
45
+ type Response = z.infer<typeof ResponseSchema>;
46
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FindSoundGenerationJobsCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const constants_1 = require("../../../constants");
6
+ const helpers_1 = require("../../../helpers");
7
+ const models_1 = require("../../../models");
8
+ var FindSoundGenerationJobsCommand;
9
+ (function (FindSoundGenerationJobsCommand) {
10
+ FindSoundGenerationJobsCommand.RequestQuerySchema = zod_1.z.object({
11
+ limit: zod_1.z.coerce.number().int().min(1).max(100).default(20),
12
+ offset: zod_1.z.coerce.number().int().min(0).default(0).optional(),
13
+ title: zod_1.z.string().optional(),
14
+ isFavorite: helpers_1.QueryBooleanSchema.optional(),
15
+ createdAtSortOrder: zod_1.z.enum(constants_1.JOB_SORT).optional().default(constants_1.JOB_SORT.DESC),
16
+ status: zod_1.z.enum(constants_1.TOOL_JOB_STATUS).optional(),
17
+ });
18
+ FindSoundGenerationJobsCommand.ResponseSchema = zod_1.z.object({
19
+ data: zod_1.z.array(models_1.SoundGenerationJobSchema),
20
+ totalPages: zod_1.z.number(),
21
+ total: zod_1.z.number(),
22
+ page: zod_1.z.number(),
23
+ });
24
+ })(FindSoundGenerationJobsCommand || (exports.FindSoundGenerationJobsCommand = FindSoundGenerationJobsCommand = {}));