@openbox/shared-types 0.3.80 → 0.3.81
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 +2 -7
- package/lib/invoices/Invoices/CreateSingle/Request.d.ts +1 -0
- package/lib/invoices/Invoices/UpdateSingle/Request.d.ts +1 -1
- package/lib/system/system.enums.d.ts +22 -3
- package/lib/system/system.enums.js +59 -10
- package/lib/system/system.enums.js.map +1 -1
- package/package.json +1 -1
- package/src/System/system.enums.ts +59 -10
- package/src/auth/Auth/GetSingleUser/Response.ts +2 -8
- package/src/invoices/Invoices/CreateSingle/Request.ts +1 -0
- package/src/invoices/Invoices/UpdateSingle/Request.ts +1 -1
|
@@ -24,19 +24,14 @@ 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
|
-
};
|
|
32
27
|
export type LoggedUserInfoWorkspaceCompany = {
|
|
33
28
|
id: string;
|
|
34
29
|
unique: string;
|
|
35
30
|
name: string;
|
|
36
31
|
companyType: LoggedUserInfoWorkspaceCompanyType | null;
|
|
37
32
|
naturalType: LoggedUserInfoWorkspaceCompanyType | null;
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
nit: string;
|
|
34
|
+
nrc: string;
|
|
40
35
|
};
|
|
41
36
|
export type LoggedUserInfoWorkspaceBranch = {
|
|
42
37
|
id: string;
|
|
@@ -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' | 'copyFrom'>;
|
|
3
3
|
export type InvoicesUpdateSingleTotals = InvoicesCreateSingleTotals;
|
|
4
4
|
export type InvoicesUpdateSingleDetail = InvoicesCreateSingleDetail & {
|
|
5
5
|
id: string;
|
|
@@ -1,15 +1,34 @@
|
|
|
1
1
|
export declare const SystemModules: {
|
|
2
|
-
|
|
2
|
+
Services: {
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
5
|
+
section: {
|
|
6
|
+
main: string;
|
|
7
|
+
sellingTypes: string;
|
|
8
|
+
};
|
|
5
9
|
};
|
|
6
|
-
|
|
10
|
+
Invoices: {
|
|
7
11
|
id: string;
|
|
8
12
|
name: string;
|
|
13
|
+
section: {
|
|
14
|
+
main: string;
|
|
15
|
+
documents: string;
|
|
16
|
+
paymentConditions: string;
|
|
17
|
+
reports: string;
|
|
18
|
+
sellers: string;
|
|
19
|
+
settings: string;
|
|
20
|
+
zones: string;
|
|
21
|
+
};
|
|
9
22
|
};
|
|
10
|
-
|
|
23
|
+
Accounting: {
|
|
11
24
|
id: string;
|
|
12
25
|
name: string;
|
|
26
|
+
section: {
|
|
27
|
+
main: string;
|
|
28
|
+
catalogs: string;
|
|
29
|
+
reports: string;
|
|
30
|
+
settings: string;
|
|
31
|
+
};
|
|
13
32
|
};
|
|
14
33
|
Providers: {
|
|
15
34
|
id: string;
|
|
@@ -2,16 +2,65 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SystemSellingTypesEnum = exports.SystemNaturalTypesEnum = exports.SystemPersonTypesEnum = exports.SystemTaxerTypesEnum = exports.SystemModules = void 0;
|
|
4
4
|
exports.SystemModules = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
Services: {
|
|
6
|
+
id: '0f88f2ea-aae9-44ad-8df0-0ee3debbf167',
|
|
7
|
+
name: 'Services',
|
|
8
|
+
section: {
|
|
9
|
+
main: 'services',
|
|
10
|
+
sellingTypes: 'selling-types',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
Invoices: {
|
|
14
|
+
id: 'cfb8addb-541b-482f-8fa1-dfe5db03fdf4',
|
|
15
|
+
name: 'Invoices',
|
|
16
|
+
section: {
|
|
17
|
+
main: 'invoices',
|
|
18
|
+
documents: 'documents',
|
|
19
|
+
paymentConditions: 'payment-conditions',
|
|
20
|
+
reports: 'reports',
|
|
21
|
+
sellers: 'sellers',
|
|
22
|
+
settings: 'settings',
|
|
23
|
+
zones: 'zones',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
Accounting: {
|
|
27
|
+
id: 'a98b98e6-b2d5-42a3-853d-9516f64eade8',
|
|
28
|
+
name: 'Accounting',
|
|
29
|
+
section: {
|
|
30
|
+
main: 'entries',
|
|
31
|
+
catalogs: 'catalogs',
|
|
32
|
+
reports: 'reports',
|
|
33
|
+
settings: 'reports',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
Providers: {
|
|
37
|
+
id: 'f6000cbb-1e6d-4f7d-a7cc-cadd78d23076',
|
|
38
|
+
name: 'Providers',
|
|
39
|
+
},
|
|
40
|
+
Customers: {
|
|
41
|
+
id: '9ff0b6f4-9c58-475b-b2dd-5eea6d7b66aa',
|
|
42
|
+
name: 'Customers',
|
|
43
|
+
},
|
|
44
|
+
Taxes: {
|
|
45
|
+
id: '53a36e54-bab2-4824-9e43-b40efab8bab9',
|
|
46
|
+
name: 'Taxes',
|
|
47
|
+
},
|
|
48
|
+
Echarges: {
|
|
49
|
+
id: '09a5c668-ab54-441e-9fb2-d24b36ae202e',
|
|
50
|
+
name: 'Echarges',
|
|
51
|
+
},
|
|
52
|
+
Purchases: {
|
|
53
|
+
id: 'cf5e4b29-f09c-438a-8d82-2ef482a9a461',
|
|
54
|
+
name: 'Purchases',
|
|
55
|
+
},
|
|
56
|
+
Receibable: {
|
|
57
|
+
id: '9c5dbbf2-ba8a-443d-b1ac-8bf23ea9a8e5',
|
|
58
|
+
name: 'Receibable',
|
|
59
|
+
},
|
|
60
|
+
Legal: {
|
|
61
|
+
id: '2f39ef4d-768f-4c15-9472-9055c6c4a2ae',
|
|
62
|
+
name: 'Legal',
|
|
63
|
+
},
|
|
15
64
|
};
|
|
16
65
|
var SystemTaxerTypesEnum;
|
|
17
66
|
(function (SystemTaxerTypesEnum) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.enums.js","sourceRoot":"","sources":["../../src/system/system.enums.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,QAAQ,EAAE,EAAE,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"system.enums.js","sourceRoot":"","sources":["../../src/system/system.enums.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,YAAY,EAAE,eAAe;SAC9B;KACF;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,SAAS,EAAE,WAAW;YACtB,iBAAiB,EAAE,oBAAoB;YACvC,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;SACf;KACF;IACD,UAAU,EAAE;QACV,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,SAAS;SACpB;KACF;IACD,SAAS,E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|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
Services: {
|
|
3
|
+
id: '0f88f2ea-aae9-44ad-8df0-0ee3debbf167',
|
|
4
|
+
name: 'Services',
|
|
5
|
+
section: {
|
|
6
|
+
main: 'services',
|
|
7
|
+
sellingTypes: 'selling-types',
|
|
8
|
+
},
|
|
9
|
+
},
|
|
10
|
+
Invoices: {
|
|
11
|
+
id: 'cfb8addb-541b-482f-8fa1-dfe5db03fdf4',
|
|
12
|
+
name: 'Invoices',
|
|
13
|
+
section: {
|
|
14
|
+
main: 'invoices',
|
|
15
|
+
documents: 'documents',
|
|
16
|
+
paymentConditions: 'payment-conditions',
|
|
17
|
+
reports: 'reports',
|
|
18
|
+
sellers: 'sellers',
|
|
19
|
+
settings: 'settings',
|
|
20
|
+
zones: 'zones',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
Accounting: {
|
|
24
|
+
id: 'a98b98e6-b2d5-42a3-853d-9516f64eade8',
|
|
25
|
+
name: 'Accounting',
|
|
26
|
+
section: {
|
|
27
|
+
main: 'entries',
|
|
28
|
+
catalogs: 'catalogs',
|
|
29
|
+
reports: 'reports',
|
|
30
|
+
settings: 'reports',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
Providers: {
|
|
34
|
+
id: 'f6000cbb-1e6d-4f7d-a7cc-cadd78d23076',
|
|
35
|
+
name: 'Providers',
|
|
36
|
+
},
|
|
37
|
+
Customers: {
|
|
38
|
+
id: '9ff0b6f4-9c58-475b-b2dd-5eea6d7b66aa',
|
|
39
|
+
name: 'Customers',
|
|
40
|
+
},
|
|
41
|
+
Taxes: {
|
|
42
|
+
id: '53a36e54-bab2-4824-9e43-b40efab8bab9',
|
|
43
|
+
name: 'Taxes',
|
|
44
|
+
},
|
|
45
|
+
Echarges: {
|
|
46
|
+
id: '09a5c668-ab54-441e-9fb2-d24b36ae202e',
|
|
47
|
+
name: 'Echarges',
|
|
48
|
+
},
|
|
49
|
+
Purchases: {
|
|
50
|
+
id: 'cf5e4b29-f09c-438a-8d82-2ef482a9a461',
|
|
51
|
+
name: 'Purchases',
|
|
52
|
+
},
|
|
53
|
+
Receibable: {
|
|
54
|
+
id: '9c5dbbf2-ba8a-443d-b1ac-8bf23ea9a8e5',
|
|
55
|
+
name: 'Receibable',
|
|
56
|
+
},
|
|
57
|
+
Legal: {
|
|
58
|
+
id: '2f39ef4d-768f-4c15-9472-9055c6c4a2ae',
|
|
59
|
+
name: 'Legal',
|
|
60
|
+
},
|
|
12
61
|
}
|
|
13
62
|
|
|
14
63
|
export enum SystemTaxerTypesEnum {
|
|
@@ -28,20 +28,14 @@ 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
|
-
|
|
37
31
|
export type LoggedUserInfoWorkspaceCompany = {
|
|
38
32
|
id: string
|
|
39
33
|
unique: string
|
|
40
34
|
name: string
|
|
41
35
|
companyType: LoggedUserInfoWorkspaceCompanyType | null
|
|
42
36
|
naturalType: LoggedUserInfoWorkspaceCompanyType | null
|
|
43
|
-
|
|
44
|
-
|
|
37
|
+
nit: string
|
|
38
|
+
nrc: string
|
|
45
39
|
}
|
|
46
40
|
|
|
47
41
|
export type LoggedUserInfoWorkspaceBranch = {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
|
|
7
7
|
export type InvoicesUpdateSingleHeader = Omit<
|
|
8
8
|
InvoicesCreateSingleHeader,
|
|
9
|
-
'document' | 'authorization' | 'sequence'
|
|
9
|
+
'document' | 'authorization' | 'sequence' | 'copyFrom'
|
|
10
10
|
>
|
|
11
11
|
|
|
12
12
|
export type InvoicesUpdateSingleTotals = InvoicesCreateSingleTotals
|