@floristcloud/api-lib 1.2.190 → 1.2.191
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.
- package/build/constant/error.js +5 -0
- package/constant/error.ts +5 -0
- package/package.json +1 -1
package/build/constant/error.js
CHANGED
|
@@ -1777,6 +1777,10 @@ exports.ERRORS = {
|
|
|
1777
1777
|
message: 'Product stock cannot be recomputed: it is not in the 1C sync consignment',
|
|
1778
1778
|
httpCode: 409,
|
|
1779
1779
|
},
|
|
1780
|
+
// Файл обмена больше ONE_C_MAX_EXCHANGE_FILE_BYTES: тело сбрасывается без чтения в память.
|
|
1781
|
+
ONE_C_EXCHANGE_FILE_TOO_LARGE: { code: 'OC024', message: '1C exchange file exceeds the size limit', httpCode: 413 },
|
|
1782
|
+
// Приём каталога выключен на интеграции (CompanyIntegration.isCatalogExchangeEnabled), обмен заказами продолжается.
|
|
1783
|
+
ONE_C_CATALOG_EXCHANGE_DISABLED: { code: 'OC025', message: '1C catalog exchange is disabled for this company', httpCode: 409 },
|
|
1780
1784
|
// COMPANY INTEGRATION (общая запись интеграции компании)
|
|
1781
1785
|
COMPANY_INTEGRATION_FETCH_FAILED: { code: 'CINT001', message: 'Failed to read company integration', httpCode: 500 },
|
|
1782
1786
|
COMPANY_INTEGRATION_NOT_SAVED: { code: 'CINT002', message: 'Failed to save company integration', httpCode: 500 },
|
|
@@ -1787,6 +1791,7 @@ exports.ERRORS = {
|
|
|
1787
1791
|
message: 'The unit is not among the saved units of the company integration',
|
|
1788
1792
|
httpCode: 400,
|
|
1789
1793
|
},
|
|
1794
|
+
INTEGRATION_WAREHOUSES_NOT_SAVED: { code: 'CINT006', message: 'Failed to save integration warehouses', httpCode: 500 },
|
|
1790
1795
|
// OZEXPORT INTEGRATION (FC-513)
|
|
1791
1796
|
OZEXPORT_AUTH_FAILED: { code: 'OZ001', message: 'ozexport rejected the username or password', httpCode: 400 },
|
|
1792
1797
|
OZEXPORT_PARSER_UNAVAILABLE: {
|
package/constant/error.ts
CHANGED
|
@@ -1846,6 +1846,10 @@ export const ERRORS = {
|
|
|
1846
1846
|
message: 'Product stock cannot be recomputed: it is not in the 1C sync consignment',
|
|
1847
1847
|
httpCode: 409,
|
|
1848
1848
|
},
|
|
1849
|
+
// Файл обмена больше ONE_C_MAX_EXCHANGE_FILE_BYTES: тело сбрасывается без чтения в память.
|
|
1850
|
+
ONE_C_EXCHANGE_FILE_TOO_LARGE: { code: 'OC024', message: '1C exchange file exceeds the size limit', httpCode: 413 },
|
|
1851
|
+
// Приём каталога выключен на интеграции (CompanyIntegration.isCatalogExchangeEnabled), обмен заказами продолжается.
|
|
1852
|
+
ONE_C_CATALOG_EXCHANGE_DISABLED: { code: 'OC025', message: '1C catalog exchange is disabled for this company', httpCode: 409 },
|
|
1849
1853
|
|
|
1850
1854
|
// COMPANY INTEGRATION (общая запись интеграции компании)
|
|
1851
1855
|
COMPANY_INTEGRATION_FETCH_FAILED: { code: 'CINT001', message: 'Failed to read company integration', httpCode: 500 },
|
|
@@ -1857,6 +1861,7 @@ export const ERRORS = {
|
|
|
1857
1861
|
message: 'The unit is not among the saved units of the company integration',
|
|
1858
1862
|
httpCode: 400,
|
|
1859
1863
|
},
|
|
1864
|
+
INTEGRATION_WAREHOUSES_NOT_SAVED: { code: 'CINT006', message: 'Failed to save integration warehouses', httpCode: 500 },
|
|
1860
1865
|
|
|
1861
1866
|
// OZEXPORT INTEGRATION (FC-513)
|
|
1862
1867
|
OZEXPORT_AUTH_FAILED: { code: 'OZ001', message: 'ozexport rejected the username or password', httpCode: 400 },
|