@openbox/shared-types 0.3.79 → 0.3.80
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/lib/auth/Auth/GetSingleUser/Response.d.ts +7 -2
- package/lib/invoices/Invoices/CreateSingle/Request.d.ts +1 -2
- package/lib/invoices/Invoices/UpdateSingle/Request.d.ts +1 -1
- package/package.json +1 -1
- package/src/auth/Auth/GetSingleUser/Response.ts +8 -2
- package/src/invoices/Invoices/CreateSingle/Request.ts +1 -2
- package/src/invoices/Invoices/UpdateSingle/Request.ts +1 -1
|
@@ -24,14 +24,19 @@ export type LoggedUserInfoWorkspaceCompanyType = {
|
|
|
24
24
|
id: number;
|
|
25
25
|
name: string;
|
|
26
26
|
};
|
|
27
|
+
export type LoggedUserInfoWorkspaceCompanySVFields = {
|
|
28
|
+
nit: string;
|
|
29
|
+
nrc: string;
|
|
30
|
+
dui: string;
|
|
31
|
+
};
|
|
27
32
|
export type LoggedUserInfoWorkspaceCompany = {
|
|
28
33
|
id: string;
|
|
29
34
|
unique: string;
|
|
30
35
|
name: string;
|
|
31
36
|
companyType: LoggedUserInfoWorkspaceCompanyType | null;
|
|
32
37
|
naturalType: LoggedUserInfoWorkspaceCompanyType | null;
|
|
33
|
-
|
|
34
|
-
|
|
38
|
+
SVFields: LoggedUserInfoWorkspaceCompanySVFields | null;
|
|
39
|
+
enableElectronicInvoicing: boolean;
|
|
35
40
|
};
|
|
36
41
|
export type LoggedUserInfoWorkspaceBranch = {
|
|
37
42
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type InvoicesCreateSingleHeader = {
|
|
2
|
-
document:
|
|
2
|
+
document: string;
|
|
3
3
|
authorization: string;
|
|
4
4
|
sequence: number;
|
|
5
5
|
invoiceDate: string;
|
|
@@ -7,7 +7,6 @@ export type InvoicesCreateSingleHeader = {
|
|
|
7
7
|
customerBranch: string;
|
|
8
8
|
invoicesPaymentsCondition: string;
|
|
9
9
|
invoicesSeller: string;
|
|
10
|
-
copyFrom?: string;
|
|
11
10
|
};
|
|
12
11
|
export type InvoicesCreateSingleTotals = {
|
|
13
12
|
sum: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InvoicesCreateSingleDetail, InvoicesCreateSingleHeader, InvoicesCreateSingleTotals } from '../CreateSingle/Request';
|
|
2
|
-
export type InvoicesUpdateSingleHeader = Omit<InvoicesCreateSingleHeader, 'document' | 'authorization' | 'sequence'
|
|
2
|
+
export type InvoicesUpdateSingleHeader = Omit<InvoicesCreateSingleHeader, 'document' | 'authorization' | 'sequence'>;
|
|
3
3
|
export type InvoicesUpdateSingleTotals = InvoicesCreateSingleTotals;
|
|
4
4
|
export type InvoicesUpdateSingleDetail = InvoicesCreateSingleDetail & {
|
|
5
5
|
id: string;
|
package/package.json
CHANGED
|
@@ -28,14 +28,20 @@ export type LoggedUserInfoWorkspaceCompanyType = {
|
|
|
28
28
|
name: string
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
export type LoggedUserInfoWorkspaceCompanySVFields = {
|
|
32
|
+
nit: string
|
|
33
|
+
nrc: string
|
|
34
|
+
dui: string
|
|
35
|
+
}
|
|
36
|
+
|
|
31
37
|
export type LoggedUserInfoWorkspaceCompany = {
|
|
32
38
|
id: string
|
|
33
39
|
unique: string
|
|
34
40
|
name: string
|
|
35
41
|
companyType: LoggedUserInfoWorkspaceCompanyType | null
|
|
36
42
|
naturalType: LoggedUserInfoWorkspaceCompanyType | null
|
|
37
|
-
|
|
38
|
-
|
|
43
|
+
SVFields: LoggedUserInfoWorkspaceCompanySVFields | null
|
|
44
|
+
enableElectronicInvoicing: boolean
|
|
39
45
|
}
|
|
40
46
|
|
|
41
47
|
export type LoggedUserInfoWorkspaceBranch = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type InvoicesCreateSingleHeader = {
|
|
2
|
-
document:
|
|
2
|
+
document: string
|
|
3
3
|
authorization: string
|
|
4
4
|
sequence: number
|
|
5
5
|
invoiceDate: string
|
|
@@ -7,7 +7,6 @@ export type InvoicesCreateSingleHeader = {
|
|
|
7
7
|
customerBranch: string
|
|
8
8
|
invoicesPaymentsCondition: string
|
|
9
9
|
invoicesSeller: string
|
|
10
|
-
copyFrom?: string
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
export type InvoicesCreateSingleTotals = {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
|
|
7
7
|
export type InvoicesUpdateSingleHeader = Omit<
|
|
8
8
|
InvoicesCreateSingleHeader,
|
|
9
|
-
'document' | 'authorization' | 'sequence'
|
|
9
|
+
'document' | 'authorization' | 'sequence'
|
|
10
10
|
>
|
|
11
11
|
|
|
12
12
|
export type InvoicesUpdateSingleTotals = InvoicesCreateSingleTotals
|