@floristcloud/api-lib 1.0.39 → 1.0.41
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 +1 -0
- package/constant/error.ts +1 -0
- package/package.json +1 -1
package/build/constant/error.js
CHANGED
|
@@ -753,6 +753,7 @@ exports.ERRORS = {
|
|
|
753
753
|
// REPORT
|
|
754
754
|
REPORT_FETCH_FAILED: { code: 'REP001', message: 'Failed to fetch report', httpCode: 500 },
|
|
755
755
|
REPORT_EXPORT_FAILED: { code: 'REP002', message: 'Failed to export report', httpCode: 500 },
|
|
756
|
+
REPORT_NO_DATA: { code: 'REP003', message: 'No data available for the selected period', httpCode: 404 },
|
|
756
757
|
// AUTH GATEWAY
|
|
757
758
|
AUTH_GATEWAY_VOICE_FAILED: { code: 'AG001', message: 'Failed to send code via voice call', httpCode: 500 },
|
|
758
759
|
AUTH_GATEWAY_TELEGRAM_FAILED: { code: 'AG002', message: 'Failed to send code via Telegram', httpCode: 500 },
|
package/constant/error.ts
CHANGED
|
@@ -793,6 +793,7 @@ export const ERRORS = {
|
|
|
793
793
|
// REPORT
|
|
794
794
|
REPORT_FETCH_FAILED: { code: 'REP001', message: 'Failed to fetch report', httpCode: 500 },
|
|
795
795
|
REPORT_EXPORT_FAILED: { code: 'REP002', message: 'Failed to export report', httpCode: 500 },
|
|
796
|
+
REPORT_NO_DATA: { code: 'REP003', message: 'No data available for the selected period', httpCode: 404 },
|
|
796
797
|
|
|
797
798
|
// AUTH GATEWAY
|
|
798
799
|
AUTH_GATEWAY_VOICE_FAILED: { code: 'AG001', message: 'Failed to send code via voice call', httpCode: 500 },
|