@etainabl/nodejs-sdk 1.3.163 → 1.3.165

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/dist/esm/index.js CHANGED
@@ -9105,7 +9105,8 @@ var errorCodes = [
9105
9105
  "MISSING_DEVICE_ID",
9106
9106
  "UNSUPPORTED_UTILITY_TYPE",
9107
9107
  "VALIDATION_ERROR",
9108
- "METER_READS_ZERO"
9108
+ "METER_READS_ZERO",
9109
+ "NO_DATA"
9109
9110
  ];
9110
9111
  var errorCodeMap = {
9111
9112
  ACCOUNT_NOT_FOUND: {
@@ -9115,6 +9116,10 @@ var errorCodeMap = {
9115
9116
  return !problems.some((p4) => p4.code === "ACCOUNT_NOT_FOUND" && p4.details?.value === details?.value);
9116
9117
  }
9117
9118
  },
9119
+ NO_DATA: {
9120
+ status: "error",
9121
+ message: `No data found for this account in the file`
9122
+ },
9118
9123
  INVALID_DATE_FORMAT: {
9119
9124
  status: "error",
9120
9125
  message: "The date format in the file is invalid"