@purpleschool/rugpt-lib-common 0.0.14 → 0.0.16

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.
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ai-model-status.enum"), exports);
18
+ __exportStar(require("./locale.enum"), exports);
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LOCALE = void 0;
4
+ var LOCALE;
5
+ (function (LOCALE) {
6
+ LOCALE["RU"] = "ru";
7
+ LOCALE["EN"] = "en";
8
+ })(LOCALE || (exports.LOCALE = LOCALE = {}));
@@ -4828,6 +4828,11 @@ exports.ERRORS = {
4828
4828
  httpCode: 403,
4829
4829
  message: "Team account operation is forbidden",
4830
4830
  },
4831
+ TEAM_ACCOUNT_MEMBERS_LIMIT_EXCEEDED: {
4832
+ code: "TEAM_ACCOUNT_MEMBERS_LIMIT_EXCEEDED",
4833
+ httpCode: 403,
4834
+ message: "Team members limit exceeded",
4835
+ },
4831
4836
  TEAM_ACCOUNT_INVITE_ERROR: {
4832
4837
  code: "TEAM_ACCOUNT_INVITE_ERROR",
4833
4838
  httpCode: 500,
package/enums/index.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './ai-model-status.enum';
2
+ export * from './locale.enum';
@@ -0,0 +1,4 @@
1
+ export enum LOCALE {
2
+ RU = 'ru',
3
+ EN = 'en',
4
+ }
package/errors/errors.ts CHANGED
@@ -5080,6 +5080,11 @@ export const ERRORS = {
5080
5080
  httpCode: 403,
5081
5081
  message: "Team account operation is forbidden",
5082
5082
  },
5083
+ TEAM_ACCOUNT_MEMBERS_LIMIT_EXCEEDED: {
5084
+ code: "TEAM_ACCOUNT_MEMBERS_LIMIT_EXCEEDED",
5085
+ httpCode: 403,
5086
+ message: "Team members limit exceeded",
5087
+ },
5083
5088
  TEAM_ACCOUNT_INVITE_ERROR: {
5084
5089
  code: "TEAM_ACCOUNT_INVITE_ERROR",
5085
5090
  httpCode: 500,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/rugpt-lib-common",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",