@openbox/shared-types 0.3.61 → 0.3.63

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 (29) hide show
  1. package/lib/accounting/Catalogs/DeleteSingle/Response.d.ts +2 -0
  2. package/lib/accounting/Catalogs/DeleteSingle/Response.js +3 -0
  3. package/lib/accounting/Catalogs/DeleteSingle/Response.js.map +1 -0
  4. package/lib/accounting/Catalogs/index.d.ts +1 -0
  5. package/lib/accounting/Catalogs/index.js +1 -0
  6. package/lib/accounting/Catalogs/index.js.map +1 -1
  7. package/lib/accounting/Settings/UpdateGenerals/Request.d.ts +2 -0
  8. package/lib/accounting/Settings/UpdateGenerals/Request.js +3 -0
  9. package/lib/accounting/Settings/UpdateGenerals/Request.js.map +1 -0
  10. package/lib/accounting/Settings/UpdateGenerals/Response.d.ts +3 -0
  11. package/lib/accounting/Settings/UpdateGenerals/Response.js +3 -0
  12. package/lib/accounting/Settings/UpdateGenerals/Response.js.map +1 -0
  13. package/lib/accounting/Settings/accounting.settings.types.d.ts +13 -0
  14. package/lib/accounting/Settings/accounting.settings.types.js +3 -0
  15. package/lib/accounting/Settings/accounting.settings.types.js.map +1 -0
  16. package/lib/accounting/Settings/index.d.ts +3 -0
  17. package/lib/accounting/Settings/index.js +20 -0
  18. package/lib/accounting/Settings/index.js.map +1 -0
  19. package/lib/accounting/index.d.ts +1 -0
  20. package/lib/accounting/index.js +1 -0
  21. package/lib/accounting/index.js.map +1 -1
  22. package/package.json +1 -1
  23. package/src/accounting/Catalogs/DeleteSingle/Response.ts +3 -0
  24. package/src/accounting/Catalogs/index.ts +1 -0
  25. package/src/accounting/Settings/UpdateGenerals/Request.ts +6 -0
  26. package/src/accounting/Settings/UpdateGenerals/Response.ts +3 -0
  27. package/src/accounting/Settings/accounting.settings.types.ts +14 -0
  28. package/src/accounting/Settings/index.ts +3 -0
  29. package/src/accounting/index.ts +1 -0
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type AccountingCatalogsDeleteSingleResponse = SingleResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/DeleteSingle/Response.ts"],"names":[],"mappings":""}
@@ -2,6 +2,7 @@ export * from './CreateMany/Request';
2
2
  export * from './CreateMany/Response';
3
3
  export * from './CreateSingle/Request';
4
4
  export * from './CreateSingle/Response';
5
+ export * from './DeleteSingle/Response';
5
6
  export * from './GetMany/Request';
6
7
  export * from './GetMany/Response';
7
8
  export * from './GetSingle/Response';
@@ -18,6 +18,7 @@ __exportStar(require("./CreateMany/Request"), exports);
18
18
  __exportStar(require("./CreateMany/Response"), exports);
19
19
  __exportStar(require("./CreateSingle/Request"), exports);
20
20
  __exportStar(require("./CreateSingle/Response"), exports);
21
+ __exportStar(require("./DeleteSingle/Response"), exports);
21
22
  __exportStar(require("./GetMany/Request"), exports);
22
23
  __exportStar(require("./GetMany/Response"), exports);
23
24
  __exportStar(require("./GetSingle/Response"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,oEAAiD;AACjD,qEAAkD;AAClD,oEAAiD;AACjD,qEAAkD;AAClD,yDAAsC;AACtC,0DAAuC;AACvC,8DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,oEAAiD;AACjD,qEAAkD;AAClD,oEAAiD;AACjD,qEAAkD;AAClD,yDAAsC;AACtC,0DAAuC;AACvC,8DAA2C"}
@@ -0,0 +1,2 @@
1
+ import { AccountingSettings } from '../accounting.settings.types';
2
+ export type AccountingSettingsUpdateGeneralsRequest = Pick<AccountingSettings, 'periodStart' | 'peridoEnd' | 'legal' | 'accountant' | 'auditor'>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Settings/UpdateGenerals/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type AccountingSettingsUpdateGeneralsResponse = {
2
+ message: string;
3
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Settings/UpdateGenerals/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { AccountingCatalogs } from '../Catalogs';
2
+ export type AccountingSettings = {
3
+ id: string;
4
+ balanceGeneral: JSON;
5
+ estadoResultados: JSON;
6
+ periodStart: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
7
+ peridoEnd: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
8
+ legal: string;
9
+ accountant: string;
10
+ auditor: string;
11
+ accountingDebitCatalog: AccountingCatalogs;
12
+ accountingCreditCatalog: AccountingCatalogs;
13
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=accounting.settings.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounting.settings.types.js","sourceRoot":"","sources":["../../../src/accounting/Settings/accounting.settings.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from './UpdateGenerals/Request';
2
+ export * from './UpdateGenerals/Response';
3
+ export * from './accounting.settings.types';
@@ -0,0 +1,20 @@
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("./UpdateGenerals/Request"), exports);
18
+ __exportStar(require("./UpdateGenerals/Response"), exports);
19
+ __exportStar(require("./accounting.settings.types"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAwC;AACxC,4DAAyC;AACzC,8DAA2C"}
@@ -3,4 +3,5 @@ export * from './Entries';
3
3
  export * from './EntriesDetails';
4
4
  export * from './EntriesStatuses';
5
5
  export * from './EntriesTypes';
6
+ export * from './Settings';
6
7
  export * from './accounting.enums';
@@ -19,5 +19,6 @@ __exportStar(require("./Entries"), exports);
19
19
  __exportStar(require("./EntriesDetails"), exports);
20
20
  __exportStar(require("./EntriesStatuses"), exports);
21
21
  __exportStar(require("./EntriesTypes"), exports);
22
+ __exportStar(require("./Settings"), exports);
22
23
  __exportStar(require("./accounting.enums"), exports);
23
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/accounting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4CAAyB;AACzB,mDAAgC;AAChC,oDAAiC;AACjC,iDAA8B;AAC9B,qDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/accounting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4CAAyB;AACzB,mDAAgC;AAChC,oDAAiC;AACjC,iDAA8B;AAC9B,6CAA0B;AAC1B,qDAAkC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.61",
3
+ "version": "0.3.63",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type AccountingCatalogsDeleteSingleResponse = SingleResponse
@@ -2,6 +2,7 @@ export * from './CreateMany/Request'
2
2
  export * from './CreateMany/Response'
3
3
  export * from './CreateSingle/Request'
4
4
  export * from './CreateSingle/Response'
5
+ export * from './DeleteSingle/Response'
5
6
  export * from './GetMany/Request'
6
7
  export * from './GetMany/Response'
7
8
  export * from './GetSingle/Response'
@@ -0,0 +1,6 @@
1
+ import { AccountingSettings } from '../accounting.settings.types'
2
+
3
+ export type AccountingSettingsUpdateGeneralsRequest = Pick<
4
+ AccountingSettings,
5
+ 'periodStart' | 'peridoEnd' | 'legal' | 'accountant' | 'auditor'
6
+ >
@@ -0,0 +1,3 @@
1
+ export type AccountingSettingsUpdateGeneralsResponse = {
2
+ message: string
3
+ }
@@ -0,0 +1,14 @@
1
+ import { AccountingCatalogs } from '../Catalogs'
2
+
3
+ export type AccountingSettings = {
4
+ id: string
5
+ balanceGeneral: JSON
6
+ estadoResultados: JSON
7
+ periodStart: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
8
+ peridoEnd: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
9
+ legal: string
10
+ accountant: string
11
+ auditor: string
12
+ accountingDebitCatalog: AccountingCatalogs
13
+ accountingCreditCatalog: AccountingCatalogs
14
+ }
@@ -0,0 +1,3 @@
1
+ export * from './UpdateGenerals/Request'
2
+ export * from './UpdateGenerals/Response'
3
+ export * from './accounting.settings.types'
@@ -3,4 +3,5 @@ export * from './Entries'
3
3
  export * from './EntriesDetails'
4
4
  export * from './EntriesStatuses'
5
5
  export * from './EntriesTypes'
6
+ export * from './Settings'
6
7
  export * from './accounting.enums'