@purpleschool/rugpt-lib-common 0.0.89 → 0.0.90

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.
@@ -2663,6 +2663,11 @@ export declare const ERRORS: {
2663
2663
  httpCode: number;
2664
2664
  message: string;
2665
2665
  };
2666
+ DOCUMENT_ACCESS_REQUIRED: {
2667
+ code: string;
2668
+ httpCode: number;
2669
+ message: string;
2670
+ };
2666
2671
  DOCUMENT_SOURCE_REQUIRED: {
2667
2672
  code: string;
2668
2673
  httpCode: number;
@@ -2666,6 +2666,11 @@ exports.ERRORS = {
2666
2666
  httpCode: 400,
2667
2667
  message: "Можно перефразировать не более 100000 символов",
2668
2668
  },
2669
+ DOCUMENT_ACCESS_REQUIRED: {
2670
+ code: "PARAPHRASE.DOCUMENT_ACCESS_REQUIRED",
2671
+ httpCode: 403,
2672
+ message: "Перефразирование документа доступно только при подтвержденном платном доступе",
2673
+ },
2669
2674
  DOCUMENT_SOURCE_REQUIRED: {
2670
2675
  code: "PARAPHRASE.DOCUMENT_SOURCE_REQUIRED",
2671
2676
  httpCode: 400,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/rugpt-lib-common",
3
- "version": "0.0.89",
3
+ "version": "0.0.90",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",