@openbox/shared-types 0.3.62 → 0.3.64

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.
@@ -0,0 +1,2 @@
1
+ import { AccountingSettings } from '../accounting.settings.types';
2
+ export type AccountingSettingsGetGeneralsResponse = Pick<AccountingSettings, 'periodStart' | 'peridoEnd' | 'legal' | 'accountant' | 'auditor'>;
@@ -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/GetGenerals/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { AccountingSettingsGetGeneralsResponse } from '../GetGenerals/Response';
2
+ export type AccountingSettingsUpdateGeneralsRequest = AccountingSettingsGetGeneralsResponse;
@@ -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.62",
3
+ "version": "0.3.64",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -0,0 +1,6 @@
1
+ import { AccountingSettings } from '../accounting.settings.types'
2
+
3
+ export type AccountingSettingsGetGeneralsResponse = Pick<
4
+ AccountingSettings,
5
+ 'periodStart' | 'peridoEnd' | 'legal' | 'accountant' | 'auditor'
6
+ >
@@ -0,0 +1,3 @@
1
+ import { AccountingSettingsGetGeneralsResponse } from '../GetGenerals/Response'
2
+
3
+ export type AccountingSettingsUpdateGeneralsRequest = AccountingSettingsGetGeneralsResponse
@@ -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'