@openbox/shared-types 0.2.65 → 0.2.66

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.
@@ -2,6 +2,4 @@ export type InvoicesDocumentTypes = {
2
2
  id: number;
3
3
  name: string;
4
4
  code: string;
5
- includeInTaxes: boolean;
6
- showForNonTaxers: boolean;
7
5
  };
@@ -6,6 +6,6 @@ export type InvoicesGetManyRequest = GetManyRequest & {
6
6
  zone?: string;
7
7
  service?: string;
8
8
  status?: number;
9
- startDate?: string;
10
- endDate?: string;
9
+ startDate?: Date;
10
+ endDate?: Date;
11
11
  };
@@ -1,7 +1,7 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
2
  import { Invoices } from '../invoices.types';
3
3
  export type InvoicesGetManyResponse = GetManyResponse & {
4
- data: Array<Pick<Invoices, 'id' | 'sequence'> & {
4
+ data: Array<Invoices & {
5
5
  index: number;
6
6
  }>;
7
7
  };
@@ -33,7 +33,7 @@ export type Invoices = {
33
33
  ventaTotal: number;
34
34
  ventaTotalText: string;
35
35
  origin: string;
36
- invoiceDate: string;
36
+ invoiceDate: Date;
37
37
  paymentConditionName: string;
38
38
  sellerName: string;
39
39
  zoneName: string;
@@ -1,6 +1,4 @@
1
- import { Invoices } from '../Invoices/invoices.types';
2
1
  export type InvoicesStatuses = {
3
2
  id: number;
4
3
  name: string;
5
- invoices: Invoices[];
6
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.65",
3
+ "version": "0.2.66",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -2,6 +2,4 @@ export type InvoicesDocumentTypes = {
2
2
  id: number
3
3
  name: string
4
4
  code: string
5
- includeInTaxes: boolean
6
- showForNonTaxers: boolean
7
5
  }
@@ -7,6 +7,6 @@ export type InvoicesGetManyRequest = GetManyRequest & {
7
7
  zone?: string
8
8
  service?: string
9
9
  status?: number
10
- startDate?: string
11
- endDate?: string
10
+ startDate?: Date
11
+ endDate?: Date
12
12
  }
@@ -2,5 +2,5 @@ import { GetManyResponse } from '../../../interfaces'
2
2
  import { Invoices } from '../invoices.types'
3
3
 
4
4
  export type InvoicesGetManyResponse = GetManyResponse & {
5
- data: Array<Pick<Invoices, 'id' | 'sequence'> & { index: number }>
5
+ data: Array<Invoices & { index: number }>
6
6
  }
@@ -34,7 +34,7 @@ export type Invoices = {
34
34
  ventaTotal: number
35
35
  ventaTotalText: string
36
36
  origin: string
37
- invoiceDate: string
37
+ invoiceDate: Date
38
38
  paymentConditionName: string
39
39
  sellerName: string
40
40
  zoneName: string
@@ -1,7 +1,4 @@
1
- import { Invoices } from '../Invoices/invoices.types'
2
-
3
1
  export type InvoicesStatuses = {
4
2
  id: number
5
3
  name: string
6
- invoices: Invoices[]
7
4
  }