@purpleschool/rugpt-lib-common 0.0.15 → 0.0.17

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.
@@ -2217,6 +2217,11 @@ exports.ERRORS = {
2217
2217
  httpCode: 404,
2218
2218
  message: "Шаблон презентации не найден",
2219
2219
  },
2220
+ NOT_AVAILABLE: {
2221
+ code: "PRESENTATION_TEMPLATE.NOT_AVAILABLE",
2222
+ httpCode: 403,
2223
+ message: "Шаблон презентации доступен только платным пользователям",
2224
+ },
2220
2225
  },
2221
2226
  PRODUCT: {
2222
2227
  BUY_ERROR: {
@@ -4828,6 +4833,11 @@ exports.ERRORS = {
4828
4833
  httpCode: 403,
4829
4834
  message: "Team account operation is forbidden",
4830
4835
  },
4836
+ TEAM_ACCOUNT_MEMBERS_LIMIT_EXCEEDED: {
4837
+ code: "TEAM_ACCOUNT_MEMBERS_LIMIT_EXCEEDED",
4838
+ httpCode: 403,
4839
+ message: "Team members limit exceeded",
4840
+ },
4831
4841
  TEAM_ACCOUNT_INVITE_ERROR: {
4832
4842
  code: "TEAM_ACCOUNT_INVITE_ERROR",
4833
4843
  httpCode: 500,
package/errors/errors.ts CHANGED
@@ -2339,6 +2339,11 @@ export const ERRORS = {
2339
2339
  httpCode: 404,
2340
2340
  message: "Шаблон презентации не найден",
2341
2341
  },
2342
+ NOT_AVAILABLE: {
2343
+ code: "PRESENTATION_TEMPLATE.NOT_AVAILABLE",
2344
+ httpCode: 403,
2345
+ message: "Шаблон презентации доступен только платным пользователям",
2346
+ },
2342
2347
  },
2343
2348
  PRODUCT: {
2344
2349
  BUY_ERROR: {
@@ -5080,6 +5085,11 @@ export const ERRORS = {
5080
5085
  httpCode: 403,
5081
5086
  message: "Team account operation is forbidden",
5082
5087
  },
5088
+ TEAM_ACCOUNT_MEMBERS_LIMIT_EXCEEDED: {
5089
+ code: "TEAM_ACCOUNT_MEMBERS_LIMIT_EXCEEDED",
5090
+ httpCode: 403,
5091
+ message: "Team members limit exceeded",
5092
+ },
5083
5093
  TEAM_ACCOUNT_INVITE_ERROR: {
5084
5094
  code: "TEAM_ACCOUNT_INVITE_ERROR",
5085
5095
  httpCode: 500,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/rugpt-lib-common",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",