@openbox/shared-types 0.3.79 → 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.
@@ -1,5 +1,5 @@
1
1
  export type InvoicesCreateSingleHeader = {
2
- document: number;
2
+ document: string;
3
3
  authorization: string;
4
4
  sequence: number;
5
5
  invoiceDate: string;
@@ -1,15 +1,34 @@
1
1
  export declare const SystemModules: {
2
- Invoices: {
2
+ Services: {
3
3
  id: string;
4
4
  name: string;
5
+ section: {
6
+ main: string;
7
+ sellingTypes: string;
8
+ };
5
9
  };
6
- Accounting: {
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
- Services: {
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
- Invoices: { id: 'cfb8addb-541b-482f-8fa1-dfe5db03fdf4', name: 'Invoices' },
6
- Accounting: { id: 'a98b98e6-b2d5-42a3-853d-9516f64eade8', name: 'Accounting' },
7
- Services: { id: '0f88f2ea-aae9-44ad-8df0-0ee3debbf167', name: 'Services' },
8
- Providers: { id: 'f6000cbb-1e6d-4f7d-a7cc-cadd78d23076', name: 'Providers' },
9
- Customers: { id: '9ff0b6f4-9c58-475b-b2dd-5eea6d7b66aa', name: 'Customers' },
10
- Taxes: { id: '53a36e54-bab2-4824-9e43-b40efab8bab9', name: 'Taxes' },
11
- Echarges: { id: '09a5c668-ab54-441e-9fb2-d24b36ae202e', name: 'Echarges' },
12
- Purchases: { id: 'cf5e4b29-f09c-438a-8d82-2ef482a9a461', name: 'Purchases' },
13
- Receibable: { id: '9c5dbbf2-ba8a-443d-b1ac-8bf23ea9a8e5', name: 'Receibable' },
14
- Legal: { id: '2f39ef4d-768f-4c15-9472-9055c6c4a2ae', name: 'Legal' },
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,sCAAsC,EAAE,IAAI,EAAE,UAAU,EAAE;IAC1E,UAAU,EAAE,EAAE,EAAE,EAAE,sCAAsC,EAAE,IAAI,EAAE,YAAY,EAAE;IAC9E,QAAQ,EAAE,EAAE,EAAE,EAAE,sCAAsC,EAAE,IAAI,EAAE,UAAU,EAAE;IAC1E,SAAS,EAAE,EAAE,EAAE,EAAE,sCAAsC,EAAE,IAAI,EAAE,WAAW,EAAE;IAC5E,SAAS,EAAE,EAAE,EAAE,EAAE,sCAAsC,EAAE,IAAI,EAAE,WAAW,EAAE;IAC5E,KAAK,EAAE,EAAE,EAAE,EAAE,sCAAsC,EAAE,IAAI,EAAE,OAAO,EAAE;IACpE,QAAQ,EAAE,EAAE,EAAE,EAAE,sCAAsC,EAAE,IAAI,EAAE,UAAU,EAAE;IAC1E,SAAS,EAAE,EAAE,EAAE,EAAE,sCAAsC,EAAE,IAAI,EAAE,WAAW,EAAE;IAC5E,UAAU,EAAE,EAAE,EAAE,EAAE,sCAAsC,EAAE,IAAI,EAAE,YAAY,EAAE;IAC9E,KAAK,EAAE,EAAE,EAAE,EAAE,sCAAsC,EAAE,IAAI,EAAE,OAAO,EAAE;CACrE,CAAA;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,iEAAS,CAAA;IACT,mEAAU,CAAA;IACV,iEAAS,CAAA;AACX,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,yEAAY,CAAA;IACZ,uEAAW,CAAA;IACX,6EAAc,CAAA;AAChB,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,mFAAgB,CAAA;IAChB,+EAAc,CAAA;AAChB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,2EAAY,CAAA;IACZ,uEAAU,CAAA;IACV,yEAAW,CAAA;AACb,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC"}
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,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,OAAO;KACd;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;IACD,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,UAAU,EAAE;QACV,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,YAAY;KACnB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,OAAO;KACd;CACF,CAAA;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,iEAAS,CAAA;IACT,mEAAU,CAAA;IACV,iEAAS,CAAA;AACX,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,yEAAY,CAAA;IACZ,uEAAW,CAAA;IACX,6EAAc,CAAA;AAChB,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,mFAAgB,CAAA;IAChB,+EAAc,CAAA;AAChB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,2EAAY,CAAA;IACZ,uEAAU,CAAA;IACV,yEAAW,CAAA;AACb,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.79",
3
+ "version": "0.3.81",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,14 +1,63 @@
1
1
  export const SystemModules = {
2
- Invoices: { id: 'cfb8addb-541b-482f-8fa1-dfe5db03fdf4', name: 'Invoices' },
3
- Accounting: { id: 'a98b98e6-b2d5-42a3-853d-9516f64eade8', name: 'Accounting' },
4
- Services: { id: '0f88f2ea-aae9-44ad-8df0-0ee3debbf167', name: 'Services' },
5
- Providers: { id: 'f6000cbb-1e6d-4f7d-a7cc-cadd78d23076', name: 'Providers' },
6
- Customers: { id: '9ff0b6f4-9c58-475b-b2dd-5eea6d7b66aa', name: 'Customers' },
7
- Taxes: { id: '53a36e54-bab2-4824-9e43-b40efab8bab9', name: 'Taxes' },
8
- Echarges: { id: '09a5c668-ab54-441e-9fb2-d24b36ae202e', name: 'Echarges' },
9
- Purchases: { id: 'cf5e4b29-f09c-438a-8d82-2ef482a9a461', name: 'Purchases' },
10
- Receibable: { id: '9c5dbbf2-ba8a-443d-b1ac-8bf23ea9a8e5', name: 'Receibable' },
11
- Legal: { id: '2f39ef4d-768f-4c15-9472-9055c6c4a2ae', name: 'Legal' },
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 {
@@ -1,5 +1,5 @@
1
1
  export type InvoicesCreateSingleHeader = {
2
- document: number
2
+ document: string
3
3
  authorization: string
4
4
  sequence: number
5
5
  invoiceDate: string