@floristcloud/api-lib 1.2.200 → 1.2.201

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.
@@ -1772,6 +1772,11 @@ exports.ERRORS = {
1772
1772
  message: 'Another order is being created in MoySklad for this account; will retry shortly',
1773
1773
  httpCode: 409,
1774
1774
  },
1775
+ MOYSKLAD_DEMAND_WAITING_ORDER_PUSH: {
1776
+ code: 'MS023',
1777
+ message: 'The demand is waiting for the order to be pushed to MoySklad; will retry shortly',
1778
+ httpCode: 409,
1779
+ },
1775
1780
  // 1C COMMERCEML INTEGRATION
1776
1781
  ONE_C_NOT_CONNECTED: { code: 'OC001', message: '1C integration is not connected for this company', httpCode: 404 },
1777
1782
  ONE_C_CONNECT_FAILED: { code: 'OC002', message: 'Failed to connect 1C integration', httpCode: 500 },
@@ -6,4 +6,5 @@ var OutboundSyncIntentEnum;
6
6
  OutboundSyncIntentEnum["CREATE"] = "CREATE";
7
7
  OutboundSyncIntentEnum["UPDATE"] = "UPDATE";
8
8
  OutboundSyncIntentEnum["DELETE"] = "DELETE";
9
+ OutboundSyncIntentEnum["CREATE_DEMAND"] = "CREATE_DEMAND";
9
10
  })(OutboundSyncIntentEnum || (exports.OutboundSyncIntentEnum = OutboundSyncIntentEnum = {}));
package/constant/error.ts CHANGED
@@ -1843,6 +1843,11 @@ export const ERRORS = {
1843
1843
  message: 'Another order is being created in MoySklad for this account; will retry shortly',
1844
1844
  httpCode: 409,
1845
1845
  },
1846
+ MOYSKLAD_DEMAND_WAITING_ORDER_PUSH: {
1847
+ code: 'MS023',
1848
+ message: 'The demand is waiting for the order to be pushed to MoySklad; will retry shortly',
1849
+ httpCode: 409,
1850
+ },
1846
1851
 
1847
1852
  // 1C COMMERCEML INTEGRATION
1848
1853
  ONE_C_NOT_CONNECTED: { code: 'OC001', message: '1C integration is not connected for this company', httpCode: 404 },
@@ -2,4 +2,5 @@ export enum OutboundSyncIntentEnum {
2
2
  CREATE = 'CREATE',
3
3
  UPDATE = 'UPDATE',
4
4
  DELETE = 'DELETE',
5
+ CREATE_DEMAND = 'CREATE_DEMAND',
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floristcloud/api-lib",
3
- "version": "1.2.200",
3
+ "version": "1.2.201",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {