@purpleschool/gptbot 0.7.37 → 0.7.38

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.
@@ -1761,6 +1761,26 @@ exports.ERRORS = {
1761
1761
  message: 'Инструмент не найден',
1762
1762
  httpCode: 404,
1763
1763
  },
1764
+ ORDER_CHECK_FIRST_PURCHASE_ERROR: {
1765
+ code: 'A364',
1766
+ message: 'Произошла ошибка при проверке первой покупки',
1767
+ httpCode: 500,
1768
+ },
1769
+ ORDER_CURRENT_ORDER_NOT_FOUND_ERROR: {
1770
+ code: 'A365',
1771
+ message: 'Текущий заказ не найден',
1772
+ httpCode: 404,
1773
+ },
1774
+ ORDER_GET_USER_ORDERS_ERROR: {
1775
+ code: 'A366',
1776
+ message: 'Произошла ошибка при получении заказов пользователя',
1777
+ httpCode: 500,
1778
+ },
1779
+ ORDER_NO_SUBSCRIPTION_ID_OR_PRODUCT_ID_PROVIDED_ERROR: {
1780
+ code: 'A367',
1781
+ message: 'Не указан subscriptionId или productId',
1782
+ httpCode: 400,
1783
+ },
1764
1784
  FILE_TO_MD_FORMAT_ERROR: {
1765
1785
  code: 'A364',
1766
1786
  message: 'Неверный формат файла, варианты: .xlsx, .docx, .pdf',
@@ -1769,6 +1769,26 @@ export const ERRORS = {
1769
1769
  message: 'Инструмент не найден',
1770
1770
  httpCode: 404,
1771
1771
  },
1772
+ ORDER_CHECK_FIRST_PURCHASE_ERROR: {
1773
+ code: 'A364',
1774
+ message: 'Произошла ошибка при проверке первой покупки',
1775
+ httpCode: 500,
1776
+ },
1777
+ ORDER_CURRENT_ORDER_NOT_FOUND_ERROR: {
1778
+ code: 'A365',
1779
+ message: 'Текущий заказ не найден',
1780
+ httpCode: 404,
1781
+ },
1782
+ ORDER_GET_USER_ORDERS_ERROR: {
1783
+ code: 'A366',
1784
+ message: 'Произошла ошибка при получении заказов пользователя',
1785
+ httpCode: 500,
1786
+ },
1787
+ ORDER_NO_SUBSCRIPTION_ID_OR_PRODUCT_ID_PROVIDED_ERROR: {
1788
+ code: 'A367',
1789
+ message: 'Не указан subscriptionId или productId',
1790
+ httpCode: 400,
1791
+ },
1772
1792
  FILE_TO_MD_FORMAT_ERROR: {
1773
1793
  code: 'A364',
1774
1794
  message: 'Неверный формат файла, варианты: .xlsx, .docx, .pdf',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.7.37",
3
+ "version": "0.7.38",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",