@openbox/shared-types 0.4.56 → 0.4.58

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 (144) hide show
  1. package/lib/accounting/Settings/GetIncomeStatements/Response.d.ts +2 -0
  2. package/lib/accounting/Settings/GetIncomeStatements/Response.js.map +1 -0
  3. package/lib/accounting/Settings/UpdateIncomeStatements/Request.d.ts +2 -0
  4. package/lib/accounting/Settings/UpdateIncomeStatements/Request.js.map +1 -0
  5. package/lib/accounting/Settings/UpdateIncomeStatements/Response.d.ts +3 -0
  6. package/lib/accounting/Settings/UpdateIncomeStatements/Response.js.map +1 -0
  7. package/lib/accounting/Settings/accounting.settings.types.d.ts +19 -1
  8. package/lib/accounting/Settings/index.d.ts +3 -0
  9. package/lib/accounting/Settings/index.js +3 -0
  10. package/lib/accounting/Settings/index.js.map +1 -1
  11. package/lib/inventories/index.d.ts +0 -2
  12. package/lib/inventories/index.js +0 -2
  13. package/lib/inventories/index.js.map +1 -1
  14. package/lib/system/index.d.ts +0 -1
  15. package/lib/system/index.js +0 -1
  16. package/lib/system/index.js.map +1 -1
  17. package/lib/system/system.enums.d.ts +0 -4
  18. package/lib/system/system.enums.js +0 -4
  19. package/lib/system/system.enums.js.map +1 -1
  20. package/package.json +1 -1
  21. package/src/System/index.ts +0 -1
  22. package/src/System/system.enums.ts +0 -4
  23. package/src/accounting/Settings/GetIncomeStatements/Response.ts +6 -0
  24. package/src/accounting/Settings/UpdateIncomeStatements/Request.ts +4 -0
  25. package/src/accounting/Settings/UpdateIncomeStatements/Response.ts +3 -0
  26. package/src/accounting/Settings/accounting.settings.types.ts +21 -1
  27. package/src/accounting/Settings/index.ts +4 -0
  28. package/src/inventories/index.ts +0 -2
  29. package/lib/inventories/Products/CreateSingle/Request.d.ts +0 -6
  30. package/lib/inventories/Products/CreateSingle/Request.js.map +0 -1
  31. package/lib/inventories/Products/CreateSingle/Response.d.ts +0 -2
  32. package/lib/inventories/Products/CreateSingle/Response.js.map +0 -1
  33. package/lib/inventories/Products/DeleteSingle/Response.d.ts +0 -2
  34. package/lib/inventories/Products/DeleteSingle/Response.js.map +0 -1
  35. package/lib/inventories/Products/GetMany/Request.d.ts +0 -4
  36. package/lib/inventories/Products/GetMany/Request.js +0 -3
  37. package/lib/inventories/Products/GetMany/Request.js.map +0 -1
  38. package/lib/inventories/Products/GetMany/Response.d.ts +0 -7
  39. package/lib/inventories/Products/GetMany/Response.js +0 -3
  40. package/lib/inventories/Products/GetMany/Response.js.map +0 -1
  41. package/lib/inventories/Products/GetSingle/Response.d.ts +0 -2
  42. package/lib/inventories/Products/GetSingle/Response.js +0 -3
  43. package/lib/inventories/Products/GetSingle/Response.js.map +0 -1
  44. package/lib/inventories/Products/UpdateSingle/Request.d.ts +0 -2
  45. package/lib/inventories/Products/UpdateSingle/Request.js +0 -3
  46. package/lib/inventories/Products/UpdateSingle/Request.js.map +0 -1
  47. package/lib/inventories/Products/UpdateSingle/Response.d.ts +0 -2
  48. package/lib/inventories/Products/UpdateSingle/Response.js +0 -3
  49. package/lib/inventories/Products/UpdateSingle/Response.js.map +0 -1
  50. package/lib/inventories/Products/UpdateSingleStatus/Request.d.ts +0 -3
  51. package/lib/inventories/Products/UpdateSingleStatus/Request.js +0 -3
  52. package/lib/inventories/Products/UpdateSingleStatus/Request.js.map +0 -1
  53. package/lib/inventories/Products/UpdateSingleStatus/Response.d.ts +0 -2
  54. package/lib/inventories/Products/UpdateSingleStatus/Response.js +0 -3
  55. package/lib/inventories/Products/UpdateSingleStatus/Response.js.map +0 -1
  56. package/lib/inventories/Products/index.d.ts +0 -11
  57. package/lib/inventories/Products/index.js +0 -28
  58. package/lib/inventories/Products/index.js.map +0 -1
  59. package/lib/inventories/Products/inventories.products.type.d.ts +0 -15
  60. package/lib/inventories/Products/inventories.products.type.js +0 -3
  61. package/lib/inventories/Products/inventories.products.type.js.map +0 -1
  62. package/lib/inventories/ProductsVariations/CreateMany/Request.d.ts +0 -2
  63. package/lib/inventories/ProductsVariations/CreateMany/Request.js +0 -3
  64. package/lib/inventories/ProductsVariations/CreateMany/Request.js.map +0 -1
  65. package/lib/inventories/ProductsVariations/CreateMany/Response.d.ts +0 -2
  66. package/lib/inventories/ProductsVariations/CreateMany/Response.js +0 -3
  67. package/lib/inventories/ProductsVariations/CreateMany/Response.js.map +0 -1
  68. package/lib/inventories/ProductsVariations/CreateSingle/Request.d.ts +0 -2
  69. package/lib/inventories/ProductsVariations/CreateSingle/Request.js +0 -3
  70. package/lib/inventories/ProductsVariations/CreateSingle/Request.js.map +0 -1
  71. package/lib/inventories/ProductsVariations/CreateSingle/Response.d.ts +0 -2
  72. package/lib/inventories/ProductsVariations/CreateSingle/Response.js +0 -3
  73. package/lib/inventories/ProductsVariations/CreateSingle/Response.js.map +0 -1
  74. package/lib/inventories/ProductsVariations/DeleteSingle/Response.d.ts +0 -2
  75. package/lib/inventories/ProductsVariations/DeleteSingle/Response.js +0 -3
  76. package/lib/inventories/ProductsVariations/DeleteSingle/Response.js.map +0 -1
  77. package/lib/inventories/ProductsVariations/GetMany/Request.d.ts +0 -2
  78. package/lib/inventories/ProductsVariations/GetMany/Request.js +0 -3
  79. package/lib/inventories/ProductsVariations/GetMany/Request.js.map +0 -1
  80. package/lib/inventories/ProductsVariations/GetMany/Response.d.ts +0 -7
  81. package/lib/inventories/ProductsVariations/GetMany/Response.js +0 -3
  82. package/lib/inventories/ProductsVariations/GetMany/Response.js.map +0 -1
  83. package/lib/inventories/ProductsVariations/GetSingle/Response.d.ts +0 -2
  84. package/lib/inventories/ProductsVariations/GetSingle/Response.js +0 -3
  85. package/lib/inventories/ProductsVariations/GetSingle/Response.js.map +0 -1
  86. package/lib/inventories/ProductsVariations/UpdateSingle/Request.d.ts +0 -2
  87. package/lib/inventories/ProductsVariations/UpdateSingle/Request.js +0 -3
  88. package/lib/inventories/ProductsVariations/UpdateSingle/Request.js.map +0 -1
  89. package/lib/inventories/ProductsVariations/UpdateSingle/Response.d.ts +0 -2
  90. package/lib/inventories/ProductsVariations/UpdateSingle/Response.js +0 -3
  91. package/lib/inventories/ProductsVariations/UpdateSingle/Response.js.map +0 -1
  92. package/lib/inventories/ProductsVariations/index.d.ts +0 -11
  93. package/lib/inventories/ProductsVariations/index.js +0 -28
  94. package/lib/inventories/ProductsVariations/index.js.map +0 -1
  95. package/lib/inventories/ProductsVariations/inventories.products-variations.type.d.ts +0 -5
  96. package/lib/inventories/ProductsVariations/inventories.products-variations.type.js +0 -3
  97. package/lib/inventories/ProductsVariations/inventories.products-variations.type.js.map +0 -1
  98. package/lib/system/MeasurementUnits/GetMany/Request.d.ts +0 -2
  99. package/lib/system/MeasurementUnits/GetMany/Request.js +0 -3
  100. package/lib/system/MeasurementUnits/GetMany/Request.js.map +0 -1
  101. package/lib/system/MeasurementUnits/GetMany/Response.d.ts +0 -7
  102. package/lib/system/MeasurementUnits/GetMany/Response.js +0 -3
  103. package/lib/system/MeasurementUnits/GetMany/Response.js.map +0 -1
  104. package/lib/system/MeasurementUnits/GetSingle/Response.d.ts +0 -2
  105. package/lib/system/MeasurementUnits/GetSingle/Response.js +0 -3
  106. package/lib/system/MeasurementUnits/GetSingle/Response.js.map +0 -1
  107. package/lib/system/MeasurementUnits/index.d.ts +0 -4
  108. package/lib/system/MeasurementUnits/index.js +0 -21
  109. package/lib/system/MeasurementUnits/index.js.map +0 -1
  110. package/lib/system/MeasurementUnits/system.measurement-units.type.d.ts +0 -5
  111. package/lib/system/MeasurementUnits/system.measurement-units.type.js +0 -3
  112. package/lib/system/MeasurementUnits/system.measurement-units.type.js.map +0 -1
  113. package/src/System/MeasurementUnits/GetMany/Request.ts +0 -3
  114. package/src/System/MeasurementUnits/GetMany/Response.ts +0 -6
  115. package/src/System/MeasurementUnits/GetSingle/Response.ts +0 -3
  116. package/src/System/MeasurementUnits/index.ts +0 -4
  117. package/src/System/MeasurementUnits/system.measurement-units.type.ts +0 -5
  118. package/src/inventories/Products/CreateSingle/Request.ts +0 -10
  119. package/src/inventories/Products/CreateSingle/Response.ts +0 -3
  120. package/src/inventories/Products/DeleteSingle/Response.ts +0 -3
  121. package/src/inventories/Products/GetMany/Request.ts +0 -5
  122. package/src/inventories/Products/GetMany/Response.ts +0 -6
  123. package/src/inventories/Products/GetSingle/Response.ts +0 -3
  124. package/src/inventories/Products/UpdateSingle/Request.ts +0 -3
  125. package/src/inventories/Products/UpdateSingle/Response.ts +0 -3
  126. package/src/inventories/Products/UpdateSingleStatus/Request.ts +0 -3
  127. package/src/inventories/Products/UpdateSingleStatus/Response.ts +0 -3
  128. package/src/inventories/Products/index.ts +0 -11
  129. package/src/inventories/Products/inventories.products.type.ts +0 -16
  130. package/src/inventories/ProductsVariations/CreateMany/Request.ts +0 -4
  131. package/src/inventories/ProductsVariations/CreateMany/Response.ts +0 -3
  132. package/src/inventories/ProductsVariations/CreateSingle/Request.ts +0 -6
  133. package/src/inventories/ProductsVariations/CreateSingle/Response.ts +0 -3
  134. package/src/inventories/ProductsVariations/DeleteSingle/Response.ts +0 -3
  135. package/src/inventories/ProductsVariations/GetMany/Request.ts +0 -3
  136. package/src/inventories/ProductsVariations/GetMany/Response.ts +0 -6
  137. package/src/inventories/ProductsVariations/GetSingle/Response.ts +0 -3
  138. package/src/inventories/ProductsVariations/UpdateSingle/Request.ts +0 -4
  139. package/src/inventories/ProductsVariations/UpdateSingle/Response.ts +0 -3
  140. package/src/inventories/ProductsVariations/index.ts +0 -11
  141. package/src/inventories/ProductsVariations/inventories.products-variations.type.ts +0 -5
  142. /package/lib/{inventories/Products/CreateSingle → accounting/Settings/GetIncomeStatements}/Response.js +0 -0
  143. /package/lib/{inventories/Products/CreateSingle → accounting/Settings/UpdateIncomeStatements}/Request.js +0 -0
  144. /package/lib/{inventories/Products/DeleteSingle → accounting/Settings/UpdateIncomeStatements}/Response.js +0 -0
@@ -0,0 +1,2 @@
1
+ import { AccountingSettings } from '../accounting.settings.types';
2
+ export type AccountingSettingsGetIncomeStatementsResponse = Pick<AccountingSettings, 'estadoResultados'>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Settings/GetIncomeStatements/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { AccountingSettingsGetIncomeStatementsResponse } from '../GetIncomeStatements/Response';
2
+ export type AccountingSettingsUpdateIncomeStatementsRequest = AccountingSettingsGetIncomeStatementsResponse;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Settings/UpdateIncomeStatements/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type AccountingSettingsUpdateIncomeStatementsResponse = {
2
+ message: string;
3
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Settings/UpdateIncomeStatements/Response.ts"],"names":[],"mappings":""}
@@ -2,7 +2,7 @@ import { AccountingCatalogs } from '../Catalogs';
2
2
  export type AccountingSettings = {
3
3
  id: string;
4
4
  balanceGeneral: JSON;
5
- estadoResultados: JSON;
5
+ estadoResultados: AccountingIncomeStatementsSettings[];
6
6
  periodStart: number;
7
7
  periodEnd: number;
8
8
  legal: string;
@@ -11,3 +11,21 @@ export type AccountingSettings = {
11
11
  accountingDebitCatalog: AccountingCatalogs;
12
12
  accountingCreditCatalog: AccountingCatalogs;
13
13
  };
14
+ export type AccountingIncomeStatementsSettings = {
15
+ name: string;
16
+ display: string;
17
+ showUpdateName: boolean;
18
+ showAdd: boolean;
19
+ show: boolean;
20
+ details: boolean;
21
+ id?: number;
22
+ bold: boolean;
23
+ children?: AccountingIncomeStatementsChildren[];
24
+ };
25
+ export type AccountingIncomeStatementsChildren = {
26
+ id: string;
27
+ name: string;
28
+ display: string;
29
+ canDelete: boolean;
30
+ showUpdateName: boolean;
31
+ };
@@ -1,4 +1,7 @@
1
1
  export * from './GetGenerals/Response';
2
+ export * from './GetIncomeStatements/Response';
2
3
  export * from './UpdateGenerals/Request';
3
4
  export * from './UpdateGenerals/Response';
5
+ export * from './UpdateIncomeStatements/Request';
6
+ export * from './UpdateIncomeStatements/Response';
4
7
  export * from './accounting.settings.types';
@@ -15,7 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetGenerals/Response"), exports);
18
+ __exportStar(require("./GetIncomeStatements/Response"), exports);
18
19
  __exportStar(require("./UpdateGenerals/Request"), exports);
19
20
  __exportStar(require("./UpdateGenerals/Response"), exports);
21
+ __exportStar(require("./UpdateIncomeStatements/Request"), exports);
22
+ __exportStar(require("./UpdateIncomeStatements/Response"), exports);
20
23
  __exportStar(require("./accounting.settings.types"), exports);
21
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,2DAAwC;AACxC,4DAAyC;AACzC,8DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,iEAA8C;AAC9C,2DAAwC;AACxC,4DAAyC;AACzC,mEAAgD;AAChD,oEAAiD;AACjD,8DAA2C"}
@@ -1,3 +1 @@
1
1
  export * from './Categories';
2
- export * from './Products';
3
- export * from './ProductsVariations';
@@ -15,6 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Categories"), exports);
18
- __exportStar(require("./Products"), exports);
19
- __exportStar(require("./ProductsVariations"), exports);
20
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/inventories/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,6CAA0B;AAC1B,uDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/inventories/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B"}
@@ -2,7 +2,6 @@ export * from './Cities/';
2
2
  export * from './Countries/';
3
3
  export * from './Directory/';
4
4
  export * from './Logs/';
5
- export * from './MeasurementUnits';
6
5
  export * from './NaturalTypes';
7
6
  export * from './PersonTypes/';
8
7
  export * from './SV/';
@@ -18,7 +18,6 @@ __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("./MeasurementUnits"), exports);
22
21
  __exportStar(require("./NaturalTypes"), exports);
23
22
  __exportStar(require("./PersonTypes/"), exports);
24
23
  __exportStar(require("./SV/"), exports);
@@ -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,qDAAkC;AAClC,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,iDAA8B;AAC9B,iDAA8B;AAC9B,wCAAqB;AACrB,kDAA+B;AAC/B,4CAAyB;AACzB,gDAA6B;AAC7B,iDAA8B"}
@@ -43,10 +43,6 @@ export declare const SystemModules: {
43
43
  id: string;
44
44
  name: string;
45
45
  };
46
- Loans: {
47
- id: string;
48
- name: string;
49
- };
50
46
  };
51
47
  export declare enum SystemTaxerTypesEnum {
52
48
  Small = 1,
@@ -46,10 +46,6 @@ exports.SystemModules = {
46
46
  id: '1ef033ba-0947-445a-aa0d-696fceec175c',
47
47
  name: 'Inventories',
48
48
  },
49
- Loans: {
50
- id: '03a7fcee-2495-40fb-9f35-b23c4aefe3ac',
51
- name: 'Prestamos',
52
- },
53
49
  };
54
50
  var SystemTaxerTypesEnum;
55
51
  (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,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;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,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;IACD,UAAU,EAAE;QACV,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,YAAY;KACnB;IACD,UAAU,EAAE;QACV,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,YAAY;KACnB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,OAAO;KACd;IACD,WAAW,EAAE;QACX,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,aAAa;KACpB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;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"}
1
+ {"version":3,"file":"system.enums.js","sourceRoot":"","sources":["../../src/system/system.enums.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,SAAS,EAAE;QACT,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;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,QAAQ,EAAE;QACR,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,UAAU;KACjB;IACD,UAAU,EAAE;QACV,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,YAAY;KACnB;IACD,UAAU,EAAE;QACV,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,YAAY;KACnB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,OAAO;KACd;IACD,WAAW,EAAE;QACX,EAAE,EAAE,sCAAsC;QAC1C,IAAI,EAAE,aAAa;KACpB;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.4.56",
3
+ "version": "0.4.58",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -2,7 +2,6 @@ export * from './Cities/'
2
2
  export * from './Countries/'
3
3
  export * from './Directory/'
4
4
  export * from './Logs/'
5
- export * from './MeasurementUnits'
6
5
  export * from './NaturalTypes'
7
6
  export * from './PersonTypes/'
8
7
  export * from './SV/'
@@ -43,10 +43,6 @@ export const SystemModules = {
43
43
  id: '1ef033ba-0947-445a-aa0d-696fceec175c',
44
44
  name: 'Inventories',
45
45
  },
46
- Loans: {
47
- id: '03a7fcee-2495-40fb-9f35-b23c4aefe3ac',
48
- name: 'Prestamos',
49
- },
50
46
  }
51
47
 
52
48
  export enum SystemTaxerTypesEnum {
@@ -0,0 +1,6 @@
1
+ import { AccountingSettings } from '../accounting.settings.types'
2
+
3
+ export type AccountingSettingsGetIncomeStatementsResponse = Pick<
4
+ AccountingSettings,
5
+ 'estadoResultados'
6
+ >
@@ -0,0 +1,4 @@
1
+ import { AccountingSettingsGetIncomeStatementsResponse } from '../GetIncomeStatements/Response'
2
+
3
+ export type AccountingSettingsUpdateIncomeStatementsRequest =
4
+ AccountingSettingsGetIncomeStatementsResponse
@@ -0,0 +1,3 @@
1
+ export type AccountingSettingsUpdateIncomeStatementsResponse = {
2
+ message: string
3
+ }
@@ -3,7 +3,7 @@ import { AccountingCatalogs } from '../Catalogs'
3
3
  export type AccountingSettings = {
4
4
  id: string
5
5
  balanceGeneral: JSON
6
- estadoResultados: JSON
6
+ estadoResultados: AccountingIncomeStatementsSettings[]
7
7
  periodStart: number
8
8
  periodEnd: number
9
9
  legal: string
@@ -12,3 +12,23 @@ export type AccountingSettings = {
12
12
  accountingDebitCatalog: AccountingCatalogs
13
13
  accountingCreditCatalog: AccountingCatalogs
14
14
  }
15
+
16
+ export type AccountingIncomeStatementsSettings = {
17
+ name: string
18
+ display: string
19
+ showUpdateName: boolean
20
+ showAdd: boolean
21
+ show: boolean
22
+ details: boolean
23
+ id?: number
24
+ bold: boolean
25
+ children?: AccountingIncomeStatementsChildren[]
26
+ }
27
+
28
+ export type AccountingIncomeStatementsChildren = {
29
+ id: string
30
+ name: string
31
+ display: string
32
+ canDelete: boolean
33
+ showUpdateName: boolean
34
+ }
@@ -1,4 +1,8 @@
1
1
  export * from './GetGenerals/Response'
2
+ export * from './GetIncomeStatements/Response'
2
3
  export * from './UpdateGenerals/Request'
3
4
  export * from './UpdateGenerals/Response'
5
+ export * from './UpdateIncomeStatements/Request'
6
+ export * from './UpdateIncomeStatements/Response'
4
7
  export * from './accounting.settings.types'
8
+
@@ -1,3 +1 @@
1
1
  export * from './Categories'
2
- export * from './Products'
3
- export * from './ProductsVariations'
@@ -1,6 +0,0 @@
1
- import { InventoriesProducts } from '../inventories.products.type';
2
- export type InventoriesProductsCreateSingleRequest = Omit<InventoriesProducts, 'id' | 'sellingType' | 'unit' | 'category' | 'active'> & {
3
- sellingType: number;
4
- unit: string;
5
- category: string;
6
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/inventories/Products/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces';
2
- export type InventoriesProductsCreateSingleResponse = SingleResponse;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/inventories/Products/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces';
2
- export type InventoriesProductsDeleteSingleResponse = SingleResponse;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/inventories/Products/DeleteSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces';
2
- export type InventoriesProductsGetManyRequest = GetManyRequest & {
3
- active?: boolean;
4
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/inventories/Products/GetMany/Request.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces';
2
- import { InventoriesProducts } from '../inventories.products.type';
3
- export type InventoriesProductsGetManyResponse = GetManyResponse & {
4
- data: Array<InventoriesProducts & {
5
- index: number;
6
- }>;
7
- };
@@ -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/inventories/Products/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { InventoriesProducts } from '../inventories.products.type';
2
- export type InventoriesProductsGetSingleResponse = InventoriesProducts;
@@ -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/inventories/Products/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { InventoriesProductsCreateSingleRequest } from '../CreateSingle/Request';
2
- export type InventoriesProductsUpdateSingleRequest = Partial<InventoriesProductsCreateSingleRequest>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/inventories/Products/UpdateSingle/Request.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces';
2
- export type InventoriesProductsUpdateSingleResponse = SingleResponse;
@@ -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/inventories/Products/UpdateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export type InventoriesProductsUpdateSingleStatusRequest = {
2
- active: boolean;
3
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/inventories/Products/UpdateSingleStatus/Request.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces';
2
- export type InventoriesProductsUpdateSingleStatusResponse = SingleResponse;
@@ -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/inventories/Products/UpdateSingleStatus/Response.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- export * from './CreateSingle/Request';
2
- export * from './CreateSingle/Response';
3
- export * from './DeleteSingle/Response';
4
- export * from './GetMany/Request';
5
- export * from './GetMany/Response';
6
- export * from './GetSingle/Response';
7
- export * from './UpdateSingle/Request';
8
- export * from './UpdateSingle/Response';
9
- export * from './UpdateSingleStatus/Request';
10
- export * from './UpdateSingleStatus/Response';
11
- export * from './inventories.products.type';
@@ -1,28 +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("./CreateSingle/Request"), exports);
18
- __exportStar(require("./CreateSingle/Response"), exports);
19
- __exportStar(require("./DeleteSingle/Response"), exports);
20
- __exportStar(require("./GetMany/Request"), exports);
21
- __exportStar(require("./GetMany/Response"), exports);
22
- __exportStar(require("./GetSingle/Response"), exports);
23
- __exportStar(require("./UpdateSingle/Request"), exports);
24
- __exportStar(require("./UpdateSingle/Response"), exports);
25
- __exportStar(require("./UpdateSingleStatus/Request"), exports);
26
- __exportStar(require("./UpdateSingleStatus/Response"), exports);
27
- __exportStar(require("./inventories.products.type"), exports);
28
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/inventories/Products/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C;AAC7C,8DAA2C"}
@@ -1,15 +0,0 @@
1
- import { SystemMeasurementUnits } from '../../System/MeasurementUnits';
2
- import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types';
3
- import { InventoriesCategories } from '../Categories';
4
- export type InventoriesProducts = {
5
- id: string;
6
- name: string;
7
- description: string;
8
- price: number;
9
- incIva: boolean;
10
- active: boolean;
11
- individual_sale: boolean;
12
- sellingType: Omit<SystemSellingTypes, 'includeInServices' | 'includeInCustomers'>;
13
- unit: SystemMeasurementUnits;
14
- category: Pick<InventoriesCategories, 'id' | 'name'>;
15
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=inventories.products.type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inventories.products.type.js","sourceRoot":"","sources":["../../../src/inventories/Products/inventories.products.type.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { InventoriesProductsVariationsCreateSingleRequest } from '../CreateSingle/Request';
2
- export type InventoriesProductsVariationsCreateManyRequest = Array<InventoriesProductsVariationsCreateSingleRequest>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/inventories/ProductsVariations/CreateMany/Request.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces';
2
- export type InventoriesProductsVariationsCreateManyResponse = ManyResponse;
@@ -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/inventories/ProductsVariations/CreateMany/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { InventoriesProductsVariations } from '../inventories.products-variations.type';
2
- export type InventoriesProductsVariationsCreateSingleRequest = Omit<InventoriesProductsVariations, 'id'>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/inventories/ProductsVariations/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces';
2
- export type InventoriesProductsVariationsCreateSingleResponse = SingleResponse;
@@ -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/inventories/ProductsVariations/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces';
2
- export type InventoriesProductsVariationsDeleteSingleResponse = SingleResponse;
@@ -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/inventories/ProductsVariations/DeleteSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces';
2
- export type InventoriesProductsVariationsGetManyRequest = GetManyRequest;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/inventories/ProductsVariations/GetMany/Request.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces';
2
- import { InventoriesProductsVariations } from '../inventories.products-variations.type';
3
- export type InventoriesProductsVariationsGetManyResponse = GetManyResponse & {
4
- data: Array<InventoriesProductsVariations & {
5
- index: number;
6
- }>;
7
- };
@@ -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/inventories/ProductsVariations/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { InventoriesProductsVariations } from '../inventories.products-variations.type';
2
- export type InventoriesProductsVariationsGetSingleResponse = InventoriesProductsVariations;
@@ -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/inventories/ProductsVariations/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { InventoriesProductsVariationsCreateSingleRequest } from '../CreateSingle/Request';
2
- export type InventoriesProductsVariationsUpdateSingleRequest = Partial<InventoriesProductsVariationsCreateSingleRequest>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/inventories/ProductsVariations/UpdateSingle/Request.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces';
2
- export type InventoriesProductsVariationsUpdateSingleResponse = SingleResponse;
@@ -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/inventories/ProductsVariations/UpdateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- export * from './CreateMany/Request';
2
- export * from './CreateMany/Response';
3
- export * from './CreateSingle/Request';
4
- export * from './CreateSingle/Response';
5
- export * from './DeleteSingle/Response';
6
- export * from './GetMany/Request';
7
- export * from './GetMany/Response';
8
- export * from './GetSingle/Response';
9
- export * from './UpdateSingle/Request';
10
- export * from './UpdateSingle/Response';
11
- export * from './inventories.products-variations.type';
@@ -1,28 +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("./CreateMany/Request"), exports);
18
- __exportStar(require("./CreateMany/Response"), exports);
19
- __exportStar(require("./CreateSingle/Request"), exports);
20
- __exportStar(require("./CreateSingle/Response"), exports);
21
- __exportStar(require("./DeleteSingle/Response"), exports);
22
- __exportStar(require("./GetMany/Request"), exports);
23
- __exportStar(require("./GetMany/Response"), exports);
24
- __exportStar(require("./GetSingle/Response"), exports);
25
- __exportStar(require("./UpdateSingle/Request"), exports);
26
- __exportStar(require("./UpdateSingle/Response"), exports);
27
- __exportStar(require("./inventories.products-variations.type"), exports);
28
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/inventories/ProductsVariations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,yDAAsC;AACtC,0DAAuC;AACvC,yEAAsD"}
@@ -1,5 +0,0 @@
1
- export type InventoriesProductsVariations = {
2
- id: string;
3
- name: string;
4
- price: number;
5
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=inventories.products-variations.type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inventories.products-variations.type.js","sourceRoot":"","sources":["../../../src/inventories/ProductsVariations/inventories.products-variations.type.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces';
2
- export type SystemMeasurementUnitsGetManyRequest = GetManyRequest;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/system/MeasurementUnits/GetMany/Request.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces';
2
- import { SystemMeasurementUnits } from '../system.measurement-units.type';
3
- export type SystemMeasurementUnitsGetManyResponse = GetManyResponse & {
4
- data: Array<SystemMeasurementUnits & {
5
- index: number;
6
- }>;
7
- };
@@ -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/MeasurementUnits/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { SystemMeasurementUnits } from '../system.measurement-units.type';
2
- export type SystemMeasurementUnitsGetSingleResponse = SystemMeasurementUnits;
@@ -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/MeasurementUnits/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export * from './GetMany/Request';
2
- export * from './GetMany/Response';
3
- export * from './GetSingle/Response';
4
- export * from './system.measurement-units.type';
@@ -1,21 +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/Request"), exports);
18
- __exportStar(require("./GetMany/Response"), exports);
19
- __exportStar(require("./GetSingle/Response"), exports);
20
- __exportStar(require("./system.measurement-units.type"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/MeasurementUnits/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,kEAA+C"}
@@ -1,5 +0,0 @@
1
- export type SystemMeasurementUnits = {
2
- id: string;
3
- name: string;
4
- SVCode: string;
5
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=system.measurement-units.type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"system.measurement-units.type.js","sourceRoot":"","sources":["../../../src/system/MeasurementUnits/system.measurement-units.type.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces'
2
-
3
- export type SystemMeasurementUnitsGetManyRequest = GetManyRequest
@@ -1,6 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces'
2
- import { SystemMeasurementUnits } from '../system.measurement-units.type'
3
-
4
- export type SystemMeasurementUnitsGetManyResponse = GetManyResponse & {
5
- data: Array<SystemMeasurementUnits & { index: number }>
6
- }
@@ -1,3 +0,0 @@
1
- import { SystemMeasurementUnits } from '../system.measurement-units.type'
2
-
3
- export type SystemMeasurementUnitsGetSingleResponse = SystemMeasurementUnits
@@ -1,4 +0,0 @@
1
- export * from './GetMany/Request'
2
- export * from './GetMany/Response'
3
- export * from './GetSingle/Response'
4
- export * from './system.measurement-units.type'
@@ -1,5 +0,0 @@
1
- export type SystemMeasurementUnits = {
2
- id: string
3
- name: string
4
- SVCode: string
5
- }
@@ -1,10 +0,0 @@
1
- import { InventoriesProducts } from '../inventories.products.type'
2
-
3
- export type InventoriesProductsCreateSingleRequest = Omit<
4
- InventoriesProducts,
5
- 'id' | 'sellingType' | 'unit' | 'category' | 'active'
6
- > & {
7
- sellingType: number
8
- unit: string
9
- category: string
10
- }
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InventoriesProductsCreateSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InventoriesProductsDeleteSingleResponse = SingleResponse
@@ -1,5 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces'
2
-
3
- export type InventoriesProductsGetManyRequest = GetManyRequest & {
4
- active?: boolean
5
- }
@@ -1,6 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces'
2
- import { InventoriesProducts } from '../inventories.products.type'
3
-
4
- export type InventoriesProductsGetManyResponse = GetManyResponse & {
5
- data: Array<InventoriesProducts & { index: number }>
6
- }
@@ -1,3 +0,0 @@
1
- import { InventoriesProducts } from '../inventories.products.type'
2
-
3
- export type InventoriesProductsGetSingleResponse = InventoriesProducts
@@ -1,3 +0,0 @@
1
- import { InventoriesProductsCreateSingleRequest } from '../CreateSingle/Request'
2
-
3
- export type InventoriesProductsUpdateSingleRequest = Partial<InventoriesProductsCreateSingleRequest>
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InventoriesProductsUpdateSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- export type InventoriesProductsUpdateSingleStatusRequest = {
2
- active: boolean
3
- }
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InventoriesProductsUpdateSingleStatusResponse = SingleResponse
@@ -1,11 +0,0 @@
1
- export * from './CreateSingle/Request'
2
- export * from './CreateSingle/Response'
3
- export * from './DeleteSingle/Response'
4
- export * from './GetMany/Request'
5
- export * from './GetMany/Response'
6
- export * from './GetSingle/Response'
7
- export * from './UpdateSingle/Request'
8
- export * from './UpdateSingle/Response'
9
- export * from './UpdateSingleStatus/Request'
10
- export * from './UpdateSingleStatus/Response'
11
- export * from './inventories.products.type'
@@ -1,16 +0,0 @@
1
- import { SystemMeasurementUnits } from '../../System/MeasurementUnits'
2
- import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types'
3
- import { InventoriesCategories } from '../Categories'
4
-
5
- export type InventoriesProducts = {
6
- id: string
7
- name: string
8
- description: string
9
- price: number
10
- incIva: boolean
11
- active: boolean
12
- individual_sale: boolean
13
- sellingType: Omit<SystemSellingTypes, 'includeInServices' | 'includeInCustomers'>
14
- unit: SystemMeasurementUnits
15
- category: Pick<InventoriesCategories, 'id' | 'name'>
16
- }
@@ -1,4 +0,0 @@
1
- import { InventoriesProductsVariationsCreateSingleRequest } from '../CreateSingle/Request'
2
-
3
- export type InventoriesProductsVariationsCreateManyRequest =
4
- Array<InventoriesProductsVariationsCreateSingleRequest>
@@ -1,3 +0,0 @@
1
- import { ManyResponse } from '../../../interfaces'
2
-
3
- export type InventoriesProductsVariationsCreateManyResponse = ManyResponse
@@ -1,6 +0,0 @@
1
- import { InventoriesProductsVariations } from '../inventories.products-variations.type'
2
-
3
- export type InventoriesProductsVariationsCreateSingleRequest = Omit<
4
- InventoriesProductsVariations,
5
- 'id'
6
- >
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InventoriesProductsVariationsCreateSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InventoriesProductsVariationsDeleteSingleResponse = SingleResponse
@@ -1,3 +0,0 @@
1
- import { GetManyRequest } from '../../../interfaces'
2
-
3
- export type InventoriesProductsVariationsGetManyRequest = GetManyRequest
@@ -1,6 +0,0 @@
1
- import { GetManyResponse } from '../../../interfaces'
2
- import { InventoriesProductsVariations } from '../inventories.products-variations.type'
3
-
4
- export type InventoriesProductsVariationsGetManyResponse = GetManyResponse & {
5
- data: Array<InventoriesProductsVariations & { index: number }>
6
- }
@@ -1,3 +0,0 @@
1
- import { InventoriesProductsVariations } from '../inventories.products-variations.type'
2
-
3
- export type InventoriesProductsVariationsGetSingleResponse = InventoriesProductsVariations
@@ -1,4 +0,0 @@
1
- import { InventoriesProductsVariationsCreateSingleRequest } from '../CreateSingle/Request'
2
-
3
- export type InventoriesProductsVariationsUpdateSingleRequest =
4
- Partial<InventoriesProductsVariationsCreateSingleRequest>
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InventoriesProductsVariationsUpdateSingleResponse = SingleResponse
@@ -1,11 +0,0 @@
1
- export * from './CreateMany/Request'
2
- export * from './CreateMany/Response'
3
- export * from './CreateSingle/Request'
4
- export * from './CreateSingle/Response'
5
- export * from './DeleteSingle/Response'
6
- export * from './GetMany/Request'
7
- export * from './GetMany/Response'
8
- export * from './GetSingle/Response'
9
- export * from './UpdateSingle/Request'
10
- export * from './UpdateSingle/Response'
11
- export * from './inventories.products-variations.type'
@@ -1,5 +0,0 @@
1
- export type InventoriesProductsVariations = {
2
- id: string
3
- name: string
4
- price: number
5
- }