@openbox/shared-types 0.4.75 → 0.4.76

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.
Files changed (103) hide show
  1. package/lib/customers/Customers/customers.types.d.ts +4 -4
  2. package/lib/customers/index.d.ts +0 -3
  3. package/lib/customers/index.js +0 -3
  4. package/lib/customers/index.js.map +1 -1
  5. package/lib/invoices/Invoices/invoices.types.d.ts +2 -2
  6. package/lib/management/Company/management.company.type.d.ts +2 -2
  7. package/lib/system/PersonTypeNaturals/GetMany/Response.d.ts +4 -0
  8. package/lib/system/PersonTypeNaturals/GetMany/Response.js.map +1 -0
  9. package/lib/system/PersonTypeNaturals/GetSingle/Response.d.ts +2 -0
  10. package/lib/system/PersonTypeNaturals/GetSingle/Response.js.map +1 -0
  11. package/lib/system/PersonTypeNaturals/index.js.map +1 -0
  12. package/lib/system/PersonTypeNaturals/system.person-types-naturals.types.d.ts +6 -0
  13. package/lib/{customers/PersonType/customers.person-type.types.js → system/PersonTypeNaturals/system.person-types-naturals.types.js} +1 -1
  14. package/lib/system/PersonTypeNaturals/system.person-types-naturals.types.js.map +1 -0
  15. package/lib/system/PersonTypes/GetMany/Response.d.ts +4 -2
  16. package/lib/system/PersonTypes/GetSingle/Response.d.ts +1 -1
  17. package/lib/system/PersonTypes/index.d.ts +1 -0
  18. package/lib/system/PersonTypes/index.js +1 -0
  19. package/lib/system/PersonTypes/index.js.map +1 -1
  20. package/lib/system/TaxerTypes/GetMany/Response.d.ts +3 -1
  21. package/lib/system/TaxerTypes/index.d.ts +1 -0
  22. package/lib/system/TaxerTypes/index.js +1 -0
  23. package/lib/system/TaxerTypes/index.js.map +1 -1
  24. package/lib/system/index.d.ts +3 -3
  25. package/lib/system/index.js +3 -3
  26. package/lib/system/index.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/System/PersonTypeNaturals/GetMany/Response.ts +5 -0
  29. package/src/System/PersonTypeNaturals/GetSingle/Response.ts +3 -0
  30. package/src/System/PersonTypeNaturals/system.person-types-naturals.types.ts +7 -0
  31. package/src/System/PersonTypes/GetMany/Response.ts +4 -2
  32. package/src/System/PersonTypes/GetSingle/Response.ts +1 -1
  33. package/src/System/PersonTypes/index.ts +1 -0
  34. package/src/System/TaxerTypes/GetMany/Response.ts +3 -1
  35. package/src/System/TaxerTypes/index.ts +1 -0
  36. package/src/System/index.ts +3 -3
  37. package/src/customers/Customers/customers.types.ts +4 -4
  38. package/src/customers/index.ts +0 -3
  39. package/src/invoices/Invoices/invoices.types.ts +2 -2
  40. package/src/management/Company/management.company.type.ts +2 -2
  41. package/lib/customers/PersonType/GetMany/Response.d.ts +0 -4
  42. package/lib/customers/PersonType/GetMany/Response.js.map +0 -1
  43. package/lib/customers/PersonType/GetSingle/Response.d.ts +0 -2
  44. package/lib/customers/PersonType/GetSingle/Response.js.map +0 -1
  45. package/lib/customers/PersonType/customers.person-type.types.d.ts +0 -4
  46. package/lib/customers/PersonType/customers.person-type.types.js.map +0 -1
  47. package/lib/customers/PersonType/index.js.map +0 -1
  48. package/lib/customers/PersonTypeNatural/GetMany/Response.d.ts +0 -4
  49. package/lib/customers/PersonTypeNatural/GetMany/Response.js +0 -3
  50. package/lib/customers/PersonTypeNatural/GetMany/Response.js.map +0 -1
  51. package/lib/customers/PersonTypeNatural/GetSingle/Response.d.ts +0 -2
  52. package/lib/customers/PersonTypeNatural/GetSingle/Response.js +0 -3
  53. package/lib/customers/PersonTypeNatural/GetSingle/Response.js.map +0 -1
  54. package/lib/customers/PersonTypeNatural/customers.person-type-natural.types.d.ts +0 -4
  55. package/lib/customers/PersonTypeNatural/customers.person-type-natural.types.js +0 -3
  56. package/lib/customers/PersonTypeNatural/customers.person-type-natural.types.js.map +0 -1
  57. package/lib/customers/PersonTypeNatural/index.d.ts +0 -2
  58. package/lib/customers/PersonTypeNatural/index.js +0 -19
  59. package/lib/customers/PersonTypeNatural/index.js.map +0 -1
  60. package/lib/customers/TaxerType/GetMany/Response.d.ts +0 -4
  61. package/lib/customers/TaxerType/GetMany/Response.js +0 -3
  62. package/lib/customers/TaxerType/GetMany/Response.js.map +0 -1
  63. package/lib/customers/TaxerType/GetSingle/Response.d.ts +0 -2
  64. package/lib/customers/TaxerType/GetSingle/Response.js +0 -3
  65. package/lib/customers/TaxerType/GetSingle/Response.js.map +0 -1
  66. package/lib/customers/TaxerType/customers.taxer-type.types.d.ts +0 -4
  67. package/lib/customers/TaxerType/customers.taxer-type.types.js +0 -3
  68. package/lib/customers/TaxerType/customers.taxer-type.types.js.map +0 -1
  69. package/lib/customers/TaxerType/index.d.ts +0 -2
  70. package/lib/customers/TaxerType/index.js +0 -19
  71. package/lib/customers/TaxerType/index.js.map +0 -1
  72. package/lib/system/NaturalTypes/GetMany/Response.d.ts +0 -2
  73. package/lib/system/NaturalTypes/GetMany/Response.js +0 -3
  74. package/lib/system/NaturalTypes/GetMany/Response.js.map +0 -1
  75. package/lib/system/NaturalTypes/GetSingle/Response.d.ts +0 -2
  76. package/lib/system/NaturalTypes/GetSingle/Response.js +0 -3
  77. package/lib/system/NaturalTypes/GetSingle/Response.js.map +0 -1
  78. package/lib/system/NaturalTypes/index.d.ts +0 -1
  79. package/lib/system/NaturalTypes/index.js +0 -18
  80. package/lib/system/NaturalTypes/index.js.map +0 -1
  81. package/lib/system/NaturalTypes/system.natural-types.types.d.ts +0 -6
  82. package/lib/system/NaturalTypes/system.natural-types.types.js +0 -3
  83. package/lib/system/NaturalTypes/system.natural-types.types.js.map +0 -1
  84. package/src/System/NaturalTypes/GetMany/Response.ts +0 -3
  85. package/src/System/NaturalTypes/GetSingle/Response.ts +0 -3
  86. package/src/System/NaturalTypes/index.ts +0 -1
  87. package/src/System/NaturalTypes/system.natural-types.types.ts +0 -7
  88. package/src/customers/PersonType/GetMany/Response.ts +0 -5
  89. package/src/customers/PersonType/GetSingle/Response.ts +0 -3
  90. package/src/customers/PersonType/customers.person-type.types.ts +0 -6
  91. package/src/customers/PersonTypeNatural/GetMany/Response.ts +0 -5
  92. package/src/customers/PersonTypeNatural/GetSingle/Response.ts +0 -3
  93. package/src/customers/PersonTypeNatural/customers.person-type-natural.types.ts +0 -6
  94. package/src/customers/PersonTypeNatural/index.ts +0 -2
  95. package/src/customers/TaxerType/GetMany/Response.ts +0 -5
  96. package/src/customers/TaxerType/GetSingle/Response.ts +0 -3
  97. package/src/customers/TaxerType/customers.taxer-type.types.ts +0 -6
  98. package/src/customers/TaxerType/index.ts +0 -2
  99. /package/lib/{customers/PersonType → system/PersonTypeNaturals}/GetMany/Response.js +0 -0
  100. /package/lib/{customers/PersonType → system/PersonTypeNaturals}/GetSingle/Response.js +0 -0
  101. /package/lib/{customers/PersonType → system/PersonTypeNaturals}/index.d.ts +0 -0
  102. /package/lib/{customers/PersonType → system/PersonTypeNaturals}/index.js +0 -0
  103. /package/src/{customers/PersonType → System/PersonTypeNaturals}/index.ts +0 -0
@@ -1,7 +1,7 @@
1
+ import { SystemPersonTypeNaturalsGetSingleResponse } from '../../System/PersonTypeNaturals/GetSingle/Response';
1
2
  import { SystemDirectoryCreateSingleRequest, SystemSvFields, SystemSvFieldsRequest } from '../../system';
2
3
  import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types';
3
- import { SystemNaturalTypesGetSingleResponse } from '../../system/NaturalTypes/GetSingle/Response';
4
- import { SystemPersonTypeGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response';
4
+ import { SystemPersonTypesGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response';
5
5
  import { SystemSellingTypeGetSingleResponse } from '../../system/SellingTypes/GetSingle/Response';
6
6
  import { CustomersBranchesCreateSingleRequest } from '../Branches';
7
7
  export type Customers = {
@@ -23,8 +23,8 @@ export type Customers = {
23
23
  duiExpirationDate?: Date;
24
24
  nitIssuedDate?: Date;
25
25
  type: SystemSellingTypeGetSingleResponse;
26
- personType: SystemPersonTypeGetSingleResponse;
27
- personTypeNatural: SystemNaturalTypesGetSingleResponse;
26
+ personType: SystemPersonTypesGetSingleResponse;
27
+ personTypeNatural: SystemPersonTypeNaturalsGetSingleResponse;
28
28
  directory: SystemDirectoryResponse[];
29
29
  svFields: SystemSvFields;
30
30
  };
@@ -1,6 +1,3 @@
1
1
  export * from './Branches';
2
2
  export * from './Customers';
3
- export * from './PersonType';
4
- export * from './PersonTypeNatural';
5
- export * from './TaxerType';
6
3
  export * from './Type';
@@ -16,8 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Branches"), exports);
18
18
  __exportStar(require("./Customers"), exports);
19
- __exportStar(require("./PersonType"), exports);
20
- __exportStar(require("./PersonTypeNatural"), exports);
21
- __exportStar(require("./TaxerType"), exports);
22
19
  __exportStar(require("./Type"), exports);
23
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/customers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B;AAC3B,+CAA4B;AAC5B,sDAAmC;AACnC,8CAA2B;AAC3B,yCAAsB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/customers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B;AAC3B,yCAAsB"}
@@ -1,6 +1,6 @@
1
+ import { SystemPersonTypeNaturals } from '../../System/PersonTypeNaturals/system.person-types-naturals.types';
1
2
  import { CustomersBranches } from '../../customers/Branches/customers.branches.types';
2
3
  import { Customers } from '../../customers/Customers/customers.types';
3
- import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types';
4
4
  import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
5
5
  import { InvoicesDetails } from '../Details/invoices.details.type';
6
6
  import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type';
@@ -50,7 +50,7 @@ export type Invoices = {
50
50
  invoicesZone: Pick<InvoicesZones, 'id' | 'name'>;
51
51
  statusType: Pick<InvoicesStatusesTypes, 'id' | 'name'>;
52
52
  personType: Pick<SystemPersonTypes, 'id' | 'name'>;
53
- customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>;
53
+ customerTypeNatural: Pick<SystemPersonTypeNaturals, 'id' | 'name'>;
54
54
  documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>;
55
55
  invoiceDetails: InvoicesDetails[];
56
56
  electronicSvData: InvoicesElectronicSVData[];
@@ -1,5 +1,5 @@
1
+ import { SystemPersonTypeNaturals } from '../../System/PersonTypeNaturals/system.person-types-naturals.types';
1
2
  import { SystemSvFields } from '../../system';
2
- import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types';
3
3
  import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
4
4
  import { ManagementBranch } from '../Branch/management.branch.type';
5
5
  export type ManagementCompany = {
@@ -7,7 +7,7 @@ export type ManagementCompany = {
7
7
  name: string;
8
8
  shortName: string;
9
9
  companyType: SystemPersonTypes;
10
- naturalType: SystemNaturalTypes;
10
+ naturalType: SystemPersonTypeNaturals;
11
11
  svFields: SystemSvFields;
12
12
  branch: ManagementBranch;
13
13
  };
@@ -0,0 +1,4 @@
1
+ import { SystemPersonTypeNaturalsGetSingleResponse } from '../GetSingle/Response';
2
+ export type SystemPersonTypeNaturalsGetManyResponse = {
3
+ data: Array<SystemPersonTypeNaturalsGetSingleResponse>;
4
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/system/PersonTypeNaturals/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SystemPersonTypeNaturalsResponse } from '../system.person-types-naturals.types';
2
+ export type SystemPersonTypeNaturalsGetSingleResponse = SystemPersonTypeNaturalsResponse;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/System/PersonTypeNaturals/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/PersonTypeNaturals/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
@@ -0,0 +1,6 @@
1
+ export type SystemPersonTypeNaturals = {
2
+ id: number;
3
+ name: string;
4
+ };
5
+ export type SystemPersonTypeNaturalsRequest = Omit<SystemPersonTypeNaturals, 'id'>;
6
+ export type SystemPersonTypeNaturalsResponse = SystemPersonTypeNaturals;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=customers.person-type.types.js.map
3
+ //# sourceMappingURL=system.person-types-naturals.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.person-types-naturals.types.js","sourceRoot":"","sources":["../../../src/System/PersonTypeNaturals/system.person-types-naturals.types.ts"],"names":[],"mappings":""}
@@ -1,2 +1,4 @@
1
- import { SystemPersonTypeGetSingleResponse } from '../GetSingle/Response';
2
- export type SystemPersonTypeGetManyResponse = Array<SystemPersonTypeGetSingleResponse>;
1
+ import { SystemPersonTypesGetSingleResponse } from '../GetSingle/Response';
2
+ export type SystemPersonTypesGetManyResponse = {
3
+ data: Array<SystemPersonTypesGetSingleResponse>;
4
+ };
@@ -1,2 +1,2 @@
1
1
  import { SystemPersonTypesResponse } from '../system.person-types.types';
2
- export type SystemPersonTypeGetSingleResponse = SystemPersonTypesResponse;
2
+ export type SystemPersonTypesGetSingleResponse = SystemPersonTypesResponse;
@@ -1 +1,2 @@
1
1
  export * from './GetMany/Response';
2
+ export * from './GetSingle/Response';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetMany/Response"), exports);
18
+ __exportStar(require("./GetSingle/Response"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/PersonTypes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/PersonTypes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
@@ -1,2 +1,4 @@
1
1
  import { SystemTaxerTypesGetSingleResponse } from '../GetSingle/Response';
2
- export type SystemTaxerTypesGetManyResponse = Array<SystemTaxerTypesGetSingleResponse>;
2
+ export type SystemTaxerTypesGetManyResponse = {
3
+ data: Array<SystemTaxerTypesGetSingleResponse>;
4
+ };
@@ -1 +1,2 @@
1
1
  export * from './GetMany/Response';
2
+ export * from './GetSingle/Response';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetMany/Response"), exports);
18
+ __exportStar(require("./GetSingle/Response"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/TaxerTypes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/TaxerTypes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
@@ -2,10 +2,10 @@ export * from './Cities/';
2
2
  export * from './Countries/';
3
3
  export * from './Directory/';
4
4
  export * from './Logs/';
5
- export * from './NaturalTypes';
5
+ export * from './PersonTypeNaturals';
6
6
  export * from './PersonTypes/';
7
- export * from './SV/';
8
7
  export * from './SellingTypes/';
9
8
  export * from './States/';
10
- export * from './TaxerTypes/';
9
+ export * from './SV/';
11
10
  export * from './system.enums';
11
+ export * from './TaxerTypes/';
@@ -18,11 +18,11 @@ __exportStar(require("./Cities/"), exports);
18
18
  __exportStar(require("./Countries/"), exports);
19
19
  __exportStar(require("./Directory/"), exports);
20
20
  __exportStar(require("./Logs/"), exports);
21
- __exportStar(require("./NaturalTypes"), exports);
21
+ __exportStar(require("./PersonTypeNaturals"), exports);
22
22
  __exportStar(require("./PersonTypes/"), exports);
23
- __exportStar(require("./SV/"), exports);
24
23
  __exportStar(require("./SellingTypes/"), exports);
25
24
  __exportStar(require("./States/"), exports);
26
- __exportStar(require("./TaxerTypes/"), exports);
25
+ __exportStar(require("./SV/"), exports);
27
26
  __exportStar(require("./system.enums"), exports);
27
+ __exportStar(require("./TaxerTypes/"), exports);
28
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,0CAAuB;AACvB,iDAA8B;AAC9B,iDAA8B;AAC9B,wCAAqB;AACrB,kDAA+B;AAC/B,4CAAyB;AACzB,gDAA6B;AAC7B,iDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,0CAAuB;AACvB,uDAAoC;AACpC,iDAA8B;AAC9B,kDAA+B;AAC/B,4CAAyB;AACzB,wCAAqB;AACrB,iDAA8B;AAC9B,gDAA6B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.4.75",
3
+ "version": "0.4.76",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -0,0 +1,5 @@
1
+ import { SystemPersonTypeNaturalsGetSingleResponse } from '../GetSingle/Response'
2
+
3
+ export type SystemPersonTypeNaturalsGetManyResponse = {
4
+ data: Array<SystemPersonTypeNaturalsGetSingleResponse>
5
+ }
@@ -0,0 +1,3 @@
1
+ import { SystemPersonTypeNaturalsResponse } from '../system.person-types-naturals.types'
2
+
3
+ export type SystemPersonTypeNaturalsGetSingleResponse = SystemPersonTypeNaturalsResponse
@@ -0,0 +1,7 @@
1
+ export type SystemPersonTypeNaturals = {
2
+ id: number
3
+ name: string
4
+ }
5
+
6
+ export type SystemPersonTypeNaturalsRequest = Omit<SystemPersonTypeNaturals, 'id'>
7
+ export type SystemPersonTypeNaturalsResponse = SystemPersonTypeNaturals
@@ -1,3 +1,5 @@
1
- import { SystemPersonTypeGetSingleResponse } from '../GetSingle/Response'
1
+ import { SystemPersonTypesGetSingleResponse } from '../GetSingle/Response'
2
2
 
3
- export type SystemPersonTypeGetManyResponse = Array<SystemPersonTypeGetSingleResponse>
3
+ export type SystemPersonTypesGetManyResponse = {
4
+ data: Array<SystemPersonTypesGetSingleResponse>
5
+ }
@@ -1,3 +1,3 @@
1
1
  import { SystemPersonTypesResponse } from '../system.person-types.types'
2
2
 
3
- export type SystemPersonTypeGetSingleResponse = SystemPersonTypesResponse
3
+ export type SystemPersonTypesGetSingleResponse = SystemPersonTypesResponse
@@ -1 +1,2 @@
1
1
  export * from './GetMany/Response'
2
+ export * from './GetSingle/Response'
@@ -1,3 +1,5 @@
1
1
  import { SystemTaxerTypesGetSingleResponse } from '../GetSingle/Response'
2
2
 
3
- export type SystemTaxerTypesGetManyResponse = Array<SystemTaxerTypesGetSingleResponse>
3
+ export type SystemTaxerTypesGetManyResponse = {
4
+ data: Array<SystemTaxerTypesGetSingleResponse>
5
+ }
@@ -1 +1,2 @@
1
1
  export * from './GetMany/Response'
2
+ export * from './GetSingle/Response'
@@ -2,10 +2,10 @@ export * from './Cities/'
2
2
  export * from './Countries/'
3
3
  export * from './Directory/'
4
4
  export * from './Logs/'
5
- export * from './NaturalTypes'
5
+ export * from './PersonTypeNaturals'
6
6
  export * from './PersonTypes/'
7
- export * from './SV/'
8
7
  export * from './SellingTypes/'
9
8
  export * from './States/'
10
- export * from './TaxerTypes/'
9
+ export * from './SV/'
11
10
  export * from './system.enums'
11
+ export * from './TaxerTypes/'
@@ -1,11 +1,11 @@
1
+ import { SystemPersonTypeNaturalsGetSingleResponse } from '../../System/PersonTypeNaturals/GetSingle/Response'
1
2
  import {
2
3
  SystemDirectoryCreateSingleRequest,
3
4
  SystemSvFields,
4
5
  SystemSvFieldsRequest,
5
6
  } from '../../system'
6
7
  import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types'
7
- import { SystemNaturalTypesGetSingleResponse } from '../../system/NaturalTypes/GetSingle/Response'
8
- import { SystemPersonTypeGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response'
8
+ import { SystemPersonTypesGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response'
9
9
  import { SystemSellingTypeGetSingleResponse } from '../../system/SellingTypes/GetSingle/Response'
10
10
  import { CustomersBranchesCreateSingleRequest } from '../Branches'
11
11
 
@@ -28,8 +28,8 @@ export type Customers = {
28
28
  duiExpirationDate?: Date
29
29
  nitIssuedDate?: Date
30
30
  type: SystemSellingTypeGetSingleResponse
31
- personType: SystemPersonTypeGetSingleResponse
32
- personTypeNatural: SystemNaturalTypesGetSingleResponse
31
+ personType: SystemPersonTypesGetSingleResponse
32
+ personTypeNatural: SystemPersonTypeNaturalsGetSingleResponse
33
33
  directory: SystemDirectoryResponse[]
34
34
  svFields: SystemSvFields
35
35
  }
@@ -1,6 +1,3 @@
1
1
  export * from './Branches'
2
2
  export * from './Customers'
3
- export * from './PersonType'
4
- export * from './PersonTypeNatural'
5
- export * from './TaxerType'
6
3
  export * from './Type'
@@ -1,6 +1,6 @@
1
+ import { SystemPersonTypeNaturals } from '../../System/PersonTypeNaturals/system.person-types-naturals.types'
1
2
  import { CustomersBranches } from '../../customers/Branches/customers.branches.types'
2
3
  import { Customers } from '../../customers/Customers/customers.types'
3
- import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types'
4
4
  import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
5
5
  import { InvoicesDetails } from '../Details/invoices.details.type'
6
6
  import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type'
@@ -51,7 +51,7 @@ export type Invoices = {
51
51
  invoicesZone: Pick<InvoicesZones, 'id' | 'name'>
52
52
  statusType: Pick<InvoicesStatusesTypes, 'id' | 'name'>
53
53
  personType: Pick<SystemPersonTypes, 'id' | 'name'>
54
- customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>
54
+ customerTypeNatural: Pick<SystemPersonTypeNaturals, 'id' | 'name'>
55
55
  documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>
56
56
  invoiceDetails: InvoicesDetails[]
57
57
  electronicSvData: InvoicesElectronicSVData[]
@@ -1,5 +1,5 @@
1
+ import { SystemPersonTypeNaturals } from '../../System/PersonTypeNaturals/system.person-types-naturals.types'
1
2
  import { SystemSvFields } from '../../system'
2
- import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types'
3
3
  import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
4
4
  import { ManagementBranch } from '../Branch/management.branch.type'
5
5
 
@@ -8,7 +8,7 @@ export type ManagementCompany = {
8
8
  name: string
9
9
  shortName: string
10
10
  companyType: SystemPersonTypes
11
- naturalType: SystemNaturalTypes
11
+ naturalType: SystemPersonTypeNaturals
12
12
  svFields: SystemSvFields
13
13
  branch: ManagementBranch
14
14
  }
@@ -1,4 +0,0 @@
1
- import { CustomersPersonTypeGetSingleResponse } from '../GetSingle/Response';
2
- export type CustomersPersonTypeGetManyResponse = {
3
- data: Array<CustomersPersonTypeGetSingleResponse>;
4
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/PersonType/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { CustomersPersonTypeResponse } from '../customers.person-type.types';
2
- export type CustomersPersonTypeGetSingleResponse = CustomersPersonTypeResponse;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/PersonType/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
2
- export type CustomersPersonType = SystemPersonTypes;
3
- export type CustomersPersonTypeRequest = Omit<CustomersPersonType, 'id'>;
4
- export type CustomersPersonTypeResponse = CustomersPersonType;
@@ -1 +0,0 @@
1
- {"version":3,"file":"customers.person-type.types.js","sourceRoot":"","sources":["../../../src/customers/PersonType/customers.person-type.types.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/PersonType/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
@@ -1,4 +0,0 @@
1
- import { CustomersPersonTypeNaturalGetSingleResponse } from '../GetSingle/Response';
2
- export type CustomersPersonTypeNaturalGetManyResponse = {
3
- data: Array<CustomersPersonTypeNaturalGetSingleResponse>;
4
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/PersonTypeNatural/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { CustomersPersonTypeNaturalResponse } from '../customers.person-type-natural.types';
2
- export type CustomersPersonTypeNaturalGetSingleResponse = CustomersPersonTypeNaturalResponse;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/PersonTypeNatural/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types';
2
- export type CustomersPersonTypeNatural = SystemNaturalTypes;
3
- export type CustomersPersonTypeNaturalRequest = Omit<CustomersPersonTypeNatural, 'id'>;
4
- export type CustomersPersonTypeNaturalResponse = CustomersPersonTypeNatural;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=customers.person-type-natural.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"customers.person-type-natural.types.js","sourceRoot":"","sources":["../../../src/customers/PersonTypeNatural/customers.person-type-natural.types.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export * from './GetMany/Response';
2
- export * from './GetSingle/Response';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./GetMany/Response"), exports);
18
- __exportStar(require("./GetSingle/Response"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/PersonTypeNatural/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
@@ -1,4 +0,0 @@
1
- import { CustomersTaxerTypeGetSingleResponse } from '../GetSingle/Response';
2
- export type CustomersTaxerTypeGetManyResponse = {
3
- data: Array<CustomersTaxerTypeGetSingleResponse>;
4
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/TaxerType/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { CustomersTaxerTypeResponse } from '../customers.taxer-type.types';
2
- export type CustomersTaxerTypeGetSingleResponse = CustomersTaxerTypeResponse;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/TaxerType/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { SystemTaxerTypes } from '../../system/TaxerTypes/system.taxer-types.types';
2
- export type CustomersTaxerType = SystemTaxerTypes;
3
- export type CustomersTaxerTypeRequest = Omit<CustomersTaxerType, 'id'>;
4
- export type CustomersTaxerTypeResponse = CustomersTaxerType;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=customers.taxer-type.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"customers.taxer-type.types.js","sourceRoot":"","sources":["../../../src/customers/TaxerType/customers.taxer-type.types.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export * from './GetMany/Response';
2
- export * from './GetSingle/Response';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./GetMany/Response"), exports);
18
- __exportStar(require("./GetSingle/Response"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/TaxerType/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
@@ -1,2 +0,0 @@
1
- import { SystemNaturalTypesGetSingleResponse } from '../GetSingle/Response';
2
- export type SystemNaturalTypesGetManyResponse = Array<SystemNaturalTypesGetSingleResponse>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/system/NaturalTypes/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { SystemNaturalTypesResponse } from '../system.natural-types.types';
2
- export type SystemNaturalTypesGetSingleResponse = SystemNaturalTypesResponse;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/system/NaturalTypes/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export * from './GetMany/Response';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./GetMany/Response"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/NaturalTypes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC"}
@@ -1,6 +0,0 @@
1
- export type SystemNaturalTypes = {
2
- id: number;
3
- name: string;
4
- };
5
- export type SystemNaturalTypesRequest = Omit<SystemNaturalTypes, 'id'>;
6
- export type SystemNaturalTypesResponse = SystemNaturalTypes;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=system.natural-types.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"system.natural-types.types.js","sourceRoot":"","sources":["../../../src/system/NaturalTypes/system.natural-types.types.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import { SystemNaturalTypesGetSingleResponse } from '../GetSingle/Response'
2
-
3
- export type SystemNaturalTypesGetManyResponse = Array<SystemNaturalTypesGetSingleResponse>
@@ -1,3 +0,0 @@
1
- import { SystemNaturalTypesResponse } from '../system.natural-types.types'
2
-
3
- export type SystemNaturalTypesGetSingleResponse = SystemNaturalTypesResponse
@@ -1 +0,0 @@
1
- export * from './GetMany/Response'
@@ -1,7 +0,0 @@
1
- export type SystemNaturalTypes = {
2
- id: number
3
- name: string
4
- }
5
-
6
- export type SystemNaturalTypesRequest = Omit<SystemNaturalTypes, 'id'>
7
- export type SystemNaturalTypesResponse = SystemNaturalTypes
@@ -1,5 +0,0 @@
1
- import { CustomersPersonTypeGetSingleResponse } from '../GetSingle/Response'
2
-
3
- export type CustomersPersonTypeGetManyResponse = {
4
- data: Array<CustomersPersonTypeGetSingleResponse>
5
- }
@@ -1,3 +0,0 @@
1
- import { CustomersPersonTypeResponse } from '../customers.person-type.types'
2
-
3
- export type CustomersPersonTypeGetSingleResponse = CustomersPersonTypeResponse
@@ -1,6 +0,0 @@
1
- import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
2
-
3
- export type CustomersPersonType = SystemPersonTypes
4
-
5
- export type CustomersPersonTypeRequest = Omit<CustomersPersonType, 'id'>
6
- export type CustomersPersonTypeResponse = CustomersPersonType
@@ -1,5 +0,0 @@
1
- import { CustomersPersonTypeNaturalGetSingleResponse } from '../GetSingle/Response'
2
-
3
- export type CustomersPersonTypeNaturalGetManyResponse = {
4
- data: Array<CustomersPersonTypeNaturalGetSingleResponse>
5
- }
@@ -1,3 +0,0 @@
1
- import { CustomersPersonTypeNaturalResponse } from '../customers.person-type-natural.types'
2
-
3
- export type CustomersPersonTypeNaturalGetSingleResponse = CustomersPersonTypeNaturalResponse
@@ -1,6 +0,0 @@
1
- import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types'
2
-
3
- export type CustomersPersonTypeNatural = SystemNaturalTypes
4
-
5
- export type CustomersPersonTypeNaturalRequest = Omit<CustomersPersonTypeNatural, 'id'>
6
- export type CustomersPersonTypeNaturalResponse = CustomersPersonTypeNatural
@@ -1,2 +0,0 @@
1
- export * from './GetMany/Response'
2
- export * from './GetSingle/Response'
@@ -1,5 +0,0 @@
1
- import { CustomersTaxerTypeGetSingleResponse } from '../GetSingle/Response'
2
-
3
- export type CustomersTaxerTypeGetManyResponse = {
4
- data: Array<CustomersTaxerTypeGetSingleResponse>
5
- }
@@ -1,3 +0,0 @@
1
- import { CustomersTaxerTypeResponse } from '../customers.taxer-type.types'
2
-
3
- export type CustomersTaxerTypeGetSingleResponse = CustomersTaxerTypeResponse
@@ -1,6 +0,0 @@
1
- import { SystemTaxerTypes } from '../../system/TaxerTypes/system.taxer-types.types'
2
-
3
- export type CustomersTaxerType = SystemTaxerTypes
4
-
5
- export type CustomersTaxerTypeRequest = Omit<CustomersTaxerType, 'id'>
6
- export type CustomersTaxerTypeResponse = CustomersTaxerType
@@ -1,2 +0,0 @@
1
- export * from './GetMany/Response'
2
- export * from './GetSingle/Response'