@etainabl/nodejs-sdk 1.3.154 → 1.3.156
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 +6 -1
- package/dist/index.d.ts +6 -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
|
@@ -385,6 +385,10 @@ interface AccountThirdParty {
|
|
|
385
385
|
name: string;
|
|
386
386
|
deviceId: string;
|
|
387
387
|
}
|
|
388
|
+
interface InvoiceValidationOptions {
|
|
389
|
+
mode?: 'normal' | 'fail' | 'skip';
|
|
390
|
+
note?: string;
|
|
391
|
+
}
|
|
388
392
|
interface Account<IDType = ObjectId | string> {
|
|
389
393
|
_id: IDType;
|
|
390
394
|
name: string;
|
|
@@ -442,6 +446,7 @@ interface Account<IDType = ObjectId | string> {
|
|
|
442
446
|
halfHourly?: Date;
|
|
443
447
|
};
|
|
444
448
|
};
|
|
449
|
+
invoiceValidation: InvoiceValidationOptions;
|
|
445
450
|
automationIds?: IDType[];
|
|
446
451
|
customIntegrations?: object;
|
|
447
452
|
tags?: string[];
|
|
@@ -1569,7 +1574,7 @@ declare const _default$4: (auth: AuthOptions, instanceOptions?: CreateAxiosDefau
|
|
|
1569
1574
|
searchAutomationRun: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1570
1575
|
updateAutomationRunAccountResults: (id: string, data: any, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
|
|
1571
1576
|
globalSearch: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1572
|
-
|
|
1577
|
+
listSettings: <P = Setting<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1573
1578
|
};
|
|
1574
1579
|
|
|
1575
1580
|
interface EmailTemplateOptions {
|
package/dist/index.d.ts
CHANGED
|
@@ -385,6 +385,10 @@ interface AccountThirdParty {
|
|
|
385
385
|
name: string;
|
|
386
386
|
deviceId: string;
|
|
387
387
|
}
|
|
388
|
+
interface InvoiceValidationOptions {
|
|
389
|
+
mode?: 'normal' | 'fail' | 'skip';
|
|
390
|
+
note?: string;
|
|
391
|
+
}
|
|
388
392
|
interface Account<IDType = ObjectId | string> {
|
|
389
393
|
_id: IDType;
|
|
390
394
|
name: string;
|
|
@@ -442,6 +446,7 @@ interface Account<IDType = ObjectId | string> {
|
|
|
442
446
|
halfHourly?: Date;
|
|
443
447
|
};
|
|
444
448
|
};
|
|
449
|
+
invoiceValidation: InvoiceValidationOptions;
|
|
445
450
|
automationIds?: IDType[];
|
|
446
451
|
customIntegrations?: object;
|
|
447
452
|
tags?: string[];
|
|
@@ -1569,7 +1574,7 @@ declare const _default$4: (auth: AuthOptions, instanceOptions?: CreateAxiosDefau
|
|
|
1569
1574
|
searchAutomationRun: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1570
1575
|
updateAutomationRunAccountResults: (id: string, data: any, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
|
|
1571
1576
|
globalSearch: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1572
|
-
|
|
1577
|
+
listSettings: <P = Setting<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1573
1578
|
};
|
|
1574
1579
|
|
|
1575
1580
|
interface EmailTemplateOptions {
|
package/dist/index.js
CHANGED
|
@@ -16582,7 +16582,7 @@ var api_default = (auth, instanceOptions = {}) => {
|
|
|
16582
16582
|
// global search
|
|
16583
16583
|
globalSearch: factory.get(etainablApi, "global-search", "search"),
|
|
16584
16584
|
// global settings
|
|
16585
|
-
|
|
16585
|
+
listSettings: factory.list(etainablApi, "settings")
|
|
16586
16586
|
};
|
|
16587
16587
|
} catch (e7) {
|
|
16588
16588
|
log.error(e7);
|