@floristcloud/api-lib 1.2.163 → 1.2.164

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.
@@ -1671,6 +1671,16 @@ exports.ERRORS = {
1671
1671
  },
1672
1672
  OZEXPORT_DISABLED: { code: 'OZ012', message: 'ozexport integration is disabled for this company', httpCode: 409 },
1673
1673
  OZEXPORT_CATALOG_FETCH_FAILED: { code: 'OZ013', message: 'Failed to read the ozexport catalog', httpCode: 500 },
1674
+ OZEXPORT_LOGIN_LIMITED: {
1675
+ code: 'OZ014',
1676
+ message: 'Too many ozexport login attempts for this account, try again later',
1677
+ httpCode: 429,
1678
+ },
1679
+ OZEXPORT_ACCOUNT_BUSY: {
1680
+ code: 'OZ015',
1681
+ message: 'The ozexport account is busy with another session, try again in a few minutes',
1682
+ httpCode: 409,
1683
+ },
1674
1684
  // SUPPLIER OFFERS / SUPPLIER SYNC JOBS (FC-513)
1675
1685
  SUPPLIER_OFFER_NOT_SAVED: { code: 'SOF001', message: 'Failed to save supplier offers', httpCode: 500 },
1676
1686
  SUPPLIER_OFFER_NOT_DELETED: { code: 'SOF002', message: 'Failed to delete supplier offers', httpCode: 500 },
package/constant/error.ts CHANGED
@@ -1740,6 +1740,16 @@ export const ERRORS = {
1740
1740
  },
1741
1741
  OZEXPORT_DISABLED: { code: 'OZ012', message: 'ozexport integration is disabled for this company', httpCode: 409 },
1742
1742
  OZEXPORT_CATALOG_FETCH_FAILED: { code: 'OZ013', message: 'Failed to read the ozexport catalog', httpCode: 500 },
1743
+ OZEXPORT_LOGIN_LIMITED: {
1744
+ code: 'OZ014',
1745
+ message: 'Too many ozexport login attempts for this account, try again later',
1746
+ httpCode: 429,
1747
+ },
1748
+ OZEXPORT_ACCOUNT_BUSY: {
1749
+ code: 'OZ015',
1750
+ message: 'The ozexport account is busy with another session, try again in a few minutes',
1751
+ httpCode: 409,
1752
+ },
1743
1753
 
1744
1754
  // SUPPLIER OFFERS / SUPPLIER SYNC JOBS (FC-513)
1745
1755
  SUPPLIER_OFFER_NOT_SAVED: { code: 'SOF001', message: 'Failed to save supplier offers', httpCode: 500 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floristcloud/api-lib",
3
- "version": "1.2.163",
3
+ "version": "1.2.164",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {