@purpleschool/gptbot 0.7.82 → 0.7.84

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.
@@ -2302,12 +2302,12 @@ exports.ERRORS = {
2302
2302
  httpCode: 400,
2303
2303
  },
2304
2304
  CREATE_CLOUD_PAYMENTS_SUBSCRIPTION: {
2305
- code: 'A469',
2305
+ code: 'A471',
2306
2306
  message: 'Не удалось создать подписку у cloud payments',
2307
2307
  httpCode: 500,
2308
2308
  },
2309
2309
  SUBSCRIPTION_ALREADY_DOWNGRADED_ERROR: {
2310
- code: 'A470',
2310
+ code: 'A472',
2311
2311
  message: 'Подписка уже была понижена и ожидает отключения',
2312
2312
  httpCode: 400,
2313
2313
  },
@@ -6,4 +6,5 @@ var PRODUCT_STATUS;
6
6
  PRODUCT_STATUS["active"] = "active";
7
7
  PRODUCT_STATUS["canceled"] = "canceled";
8
8
  PRODUCT_STATUS["depleted"] = "depleted";
9
+ PRODUCT_STATUS["expired"] = "expired";
9
10
  })(PRODUCT_STATUS || (exports.PRODUCT_STATUS = PRODUCT_STATUS = {}));
@@ -17,6 +17,7 @@ exports.VideoEditorModelSchema = zod_1.z.object({
17
17
  icons: icon_variants_schema_1.IconVariantsSchema,
18
18
  maxPromptLength: zod_1.z.number(),
19
19
  maxInputVideoSizeBytes: zod_1.z.number(),
20
+ maxInputVideoDurationInSeconds: zod_1.z.number(),
20
21
  supportedFormats: zod_1.z.array(zod_1.z.string()),
21
22
  createdAt: zod_1.z.date(),
22
23
  updatedAt: zod_1.z.date(),
@@ -2310,12 +2310,12 @@ export const ERRORS = {
2310
2310
  httpCode: 400,
2311
2311
  },
2312
2312
  CREATE_CLOUD_PAYMENTS_SUBSCRIPTION: {
2313
- code: 'A469',
2313
+ code: 'A471',
2314
2314
  message: 'Не удалось создать подписку у cloud payments',
2315
2315
  httpCode: 500,
2316
2316
  },
2317
2317
  SUBSCRIPTION_ALREADY_DOWNGRADED_ERROR: {
2318
- code: 'A470',
2318
+ code: 'A472',
2319
2319
  message: 'Подписка уже была понижена и ожидает отключения',
2320
2320
  httpCode: 400,
2321
2321
  },
@@ -2,4 +2,5 @@ export enum PRODUCT_STATUS {
2
2
  active = 'active',
3
3
  canceled = 'canceled',
4
4
  depleted = 'depleted',
5
+ expired = 'expired',
5
6
  }
@@ -16,6 +16,7 @@ export const VideoEditorModelSchema = z.object({
16
16
  icons: IconVariantsSchema,
17
17
  maxPromptLength: z.number(),
18
18
  maxInputVideoSizeBytes: z.number(),
19
+ maxInputVideoDurationInSeconds: z.number(),
19
20
  supportedFormats: z.array(z.string()),
20
21
  createdAt: z.date(),
21
22
  updatedAt: z.date(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.7.82",
3
+ "version": "0.7.84",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",