@etainabl/nodejs-sdk 1.2.21 → 1.2.22

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/cjs/api.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { AxiosRequestConfig, AxiosInstance, CreateAxiosDefaults } from 'axios';
2
- import type { Account, Asset, Company, Invoice, Log, Reading } from '../types/index.js';
2
+ import type { Account, Asset, Company, Invoice, Log, Reading, Report } from '../types/index.js';
3
3
  export interface ETNPagedResponse<T = any> {
4
4
  data: T[];
5
5
  total: number;
package/dist/mjs/api.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { AxiosRequestConfig, AxiosInstance, CreateAxiosDefaults } from 'axios';
2
- import type { Account, Asset, Company, Invoice, Log, Reading } from '../types/index.js';
2
+ import type { Account, Asset, Company, Invoice, Log, Reading, Report } from '../types/index.js';
3
3
  export interface ETNPagedResponse<T = any> {
4
4
  data: T[];
5
5
  total: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etainabl/nodejs-sdk",
3
- "version": "1.2.21",
3
+ "version": "1.2.22",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/mjs/index.js",
6
6
  "author": "Jonathan Lambert <jonathan@etainabl.com>",
package/types/report.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- interface Report {
1
+ export interface Report {
2
2
  type: 'dynamic' | 'spreadsheet' | 'table' | 'pdf';
3
3
  subType?: string;
4
4
  fileFormat: 'pdf' | 'xlsx' | 'csv' | 'png' | 'jpg' | 'chart';
@@ -18,5 +18,3 @@ interface Report {
18
18
  companyId: string;
19
19
  userSub?: string;
20
20
  }
21
-
22
- export default Report;