@etainabl/nodejs-sdk 1.3.150 → 1.3.151

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/index.d.cts CHANGED
@@ -1247,7 +1247,7 @@ interface Reading<IDType = ObjectId | string, DateType = Date> {
1247
1247
  rateId?: string;
1248
1248
  contractRateType?: string;
1249
1249
  invoiceBatchId?: string;
1250
- registerId?: string;
1250
+ registerId: string;
1251
1251
  batchId?: string;
1252
1252
  accountId: IDType;
1253
1253
  entityId: IDType;
package/dist/index.d.ts CHANGED
@@ -1247,7 +1247,7 @@ interface Reading<IDType = ObjectId | string, DateType = Date> {
1247
1247
  rateId?: string;
1248
1248
  contractRateType?: string;
1249
1249
  invoiceBatchId?: string;
1250
- registerId?: string;
1250
+ registerId: string;
1251
1251
  batchId?: string;
1252
1252
  accountId: IDType;
1253
1253
  entityId: IDType;
package/dist/index.js CHANGED
@@ -25404,7 +25404,7 @@ var errorCodeMap = {
25404
25404
  status: "error",
25405
25405
  message: "Account not found for the provided device ID or MPAN.",
25406
25406
  isUnique: ({ details }, problems) => {
25407
- return !problems.some((p7) => p7.code === "ACCOUNT_NOT_FOUND" && p7.details?.value === details?.value) || true;
25407
+ return !problems.some((p7) => p7.code === "ACCOUNT_NOT_FOUND" && p7.details?.value === details?.value);
25408
25408
  }
25409
25409
  },
25410
25410
  INVALID_DATE_FORMAT: {