@etainabl/nodejs-sdk 1.3.156 → 1.3.158
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 +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -386,7 +386,7 @@ interface AccountThirdParty {
|
|
|
386
386
|
deviceId: string;
|
|
387
387
|
}
|
|
388
388
|
interface InvoiceValidationOptions {
|
|
389
|
-
mode?: 'normal' | 'fail' | '
|
|
389
|
+
mode?: 'normal' | 'fail' | 'pass';
|
|
390
390
|
note?: string;
|
|
391
391
|
}
|
|
392
392
|
interface Account<IDType = ObjectId | string> {
|
|
@@ -684,6 +684,7 @@ interface AccountResult<IDType = ObjectId | string, DateType = Date | string> {
|
|
|
684
684
|
deviceId?: string;
|
|
685
685
|
status: 'success' | 'warning' | 'error' | 'running';
|
|
686
686
|
rowsProcessed?: number;
|
|
687
|
+
thirdPartyDeviceIds?: string[];
|
|
687
688
|
dateRange?: {
|
|
688
689
|
from?: DateType;
|
|
689
690
|
to?: DateType;
|
package/dist/index.d.ts
CHANGED
|
@@ -386,7 +386,7 @@ interface AccountThirdParty {
|
|
|
386
386
|
deviceId: string;
|
|
387
387
|
}
|
|
388
388
|
interface InvoiceValidationOptions {
|
|
389
|
-
mode?: 'normal' | 'fail' | '
|
|
389
|
+
mode?: 'normal' | 'fail' | 'pass';
|
|
390
390
|
note?: string;
|
|
391
391
|
}
|
|
392
392
|
interface Account<IDType = ObjectId | string> {
|
|
@@ -684,6 +684,7 @@ interface AccountResult<IDType = ObjectId | string, DateType = Date | string> {
|
|
|
684
684
|
deviceId?: string;
|
|
685
685
|
status: 'success' | 'warning' | 'error' | 'running';
|
|
686
686
|
rowsProcessed?: number;
|
|
687
|
+
thirdPartyDeviceIds?: string[];
|
|
687
688
|
dateRange?: {
|
|
688
689
|
from?: DateType;
|
|
689
690
|
to?: DateType;
|
package/dist/index.js
CHANGED
|
@@ -25573,7 +25573,7 @@ async function handleError({ context, etnApi, automationRun, error, lambdaSource
|
|
|
25573
25573
|
companyId: automationRun.companyId
|
|
25574
25574
|
});
|
|
25575
25575
|
if (automationRun.category === "account" && accountId) {
|
|
25576
|
-
await etnApi.updateAccountStatusForAutomation(automation._id, accountId, { status: "error" });
|
|
25576
|
+
await etnApi.updateAccountStatusForAutomation(automation._id, accountId, { status: "error", error: error.message });
|
|
25577
25577
|
}
|
|
25578
25578
|
}
|
|
25579
25579
|
async function deleteMessage(queueUrl, receiptHandle, sqsClient) {
|