@floristcloud/api-lib 1.2.99 → 1.2.101

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.
@@ -1316,6 +1316,11 @@ exports.ERRORS = {
1316
1316
  message: 'MoySklad sync lock is held by another job for this company; will retry shortly',
1317
1317
  httpCode: 409,
1318
1318
  },
1319
+ MOYSKLAD_ORDER_CREATE_LOCK_BUSY: {
1320
+ code: 'MS022',
1321
+ message: 'Another order is being created in MoySklad for this account; will retry shortly',
1322
+ httpCode: 409,
1323
+ },
1319
1324
  // 1C COMMERCEML INTEGRATION
1320
1325
  ONE_C_NOT_CONNECTED: { code: 'OC001', message: '1C integration is not connected for this company', httpCode: 404 },
1321
1326
  ONE_C_CONNECT_FAILED: { code: 'OC002', message: 'Failed to connect 1C integration', httpCode: 500 },
@@ -9,4 +9,5 @@ var ExternalEntityTypeEnum;
9
9
  ExternalEntityTypeEnum["ORDER"] = "ORDER";
10
10
  ExternalEntityTypeEnum["SUPPLIER_ORDER"] = "SUPPLIER_ORDER";
11
11
  ExternalEntityTypeEnum["SUPPLIER_ORDER_POSITION"] = "SUPPLIER_ORDER_POSITION";
12
+ ExternalEntityTypeEnum["PAYMENT"] = "PAYMENT";
12
13
  })(ExternalEntityTypeEnum || (exports.ExternalEntityTypeEnum = ExternalEntityTypeEnum = {}));
package/constant/error.ts CHANGED
@@ -1382,6 +1382,11 @@ export const ERRORS = {
1382
1382
  message: 'MoySklad sync lock is held by another job for this company; will retry shortly',
1383
1383
  httpCode: 409,
1384
1384
  },
1385
+ MOYSKLAD_ORDER_CREATE_LOCK_BUSY: {
1386
+ code: 'MS022',
1387
+ message: 'Another order is being created in MoySklad for this account; will retry shortly',
1388
+ httpCode: 409,
1389
+ },
1385
1390
 
1386
1391
  // 1C COMMERCEML INTEGRATION
1387
1392
  ONE_C_NOT_CONNECTED: { code: 'OC001', message: '1C integration is not connected for this company', httpCode: 404 },
@@ -5,4 +5,5 @@ export enum ExternalEntityTypeEnum {
5
5
  ORDER = 'ORDER',
6
6
  SUPPLIER_ORDER = 'SUPPLIER_ORDER',
7
7
  SUPPLIER_ORDER_POSITION = 'SUPPLIER_ORDER_POSITION',
8
+ PAYMENT = 'PAYMENT',
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floristcloud/api-lib",
3
- "version": "1.2.99",
3
+ "version": "1.2.101",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {