@openbox/shared-types 0.3.65 → 0.3.67

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.
@@ -3,8 +3,8 @@ export type AccountingSettings = {
3
3
  id: string;
4
4
  balanceGeneral: JSON;
5
5
  estadoResultados: JSON;
6
- periodStart: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
7
- periodEnd: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
6
+ periodStart: number;
7
+ periodEnd: number;
8
8
  legal: string;
9
9
  accountant: string;
10
10
  auditor: string;
@@ -1,3 +1,4 @@
1
+ export * from './GetGenerals/Response';
1
2
  export * from './UpdateGenerals/Request';
2
3
  export * from './UpdateGenerals/Response';
3
4
  export * from './accounting.settings.types';
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./GetGenerals/Response"), exports);
17
18
  __exportStar(require("./UpdateGenerals/Request"), exports);
18
19
  __exportStar(require("./UpdateGenerals/Response"), exports);
19
20
  __exportStar(require("./accounting.settings.types"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAwC;AACxC,4DAAyC;AACzC,8DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,2DAAwC;AACxC,4DAAyC;AACzC,8DAA2C"}
@@ -3,3 +3,13 @@ export declare enum AccountingEntriesStatusesEnum {
3
3
  Squared = 2,
4
4
  Accounted = 3
5
5
  }
6
+ export declare enum AccountingEntriesTypesEnum {
7
+ Diario = 1,
8
+ Ingreso = 1,
9
+ Egreso = 1,
10
+ CuentaPorCobrar = 1,
11
+ CuentaPorPagar = 1,
12
+ Depreciacion = 1,
13
+ Ajuste = 1,
14
+ Cierre = 1
15
+ }
@@ -1,10 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AccountingEntriesStatusesEnum = void 0;
3
+ exports.AccountingEntriesTypesEnum = exports.AccountingEntriesStatusesEnum = void 0;
4
4
  var AccountingEntriesStatusesEnum;
5
5
  (function (AccountingEntriesStatusesEnum) {
6
6
  AccountingEntriesStatusesEnum[AccountingEntriesStatusesEnum["Incomplete"] = 1] = "Incomplete";
7
7
  AccountingEntriesStatusesEnum[AccountingEntriesStatusesEnum["Squared"] = 2] = "Squared";
8
8
  AccountingEntriesStatusesEnum[AccountingEntriesStatusesEnum["Accounted"] = 3] = "Accounted";
9
9
  })(AccountingEntriesStatusesEnum = exports.AccountingEntriesStatusesEnum || (exports.AccountingEntriesStatusesEnum = {}));
10
+ var AccountingEntriesTypesEnum;
11
+ (function (AccountingEntriesTypesEnum) {
12
+ AccountingEntriesTypesEnum[AccountingEntriesTypesEnum["Diario"] = 1] = "Diario";
13
+ AccountingEntriesTypesEnum[AccountingEntriesTypesEnum["Ingreso"] = 1] = "Ingreso";
14
+ AccountingEntriesTypesEnum[AccountingEntriesTypesEnum["Egreso"] = 1] = "Egreso";
15
+ AccountingEntriesTypesEnum[AccountingEntriesTypesEnum["CuentaPorCobrar"] = 1] = "CuentaPorCobrar";
16
+ AccountingEntriesTypesEnum[AccountingEntriesTypesEnum["CuentaPorPagar"] = 1] = "CuentaPorPagar";
17
+ AccountingEntriesTypesEnum[AccountingEntriesTypesEnum["Depreciacion"] = 1] = "Depreciacion";
18
+ AccountingEntriesTypesEnum[AccountingEntriesTypesEnum["Ajuste"] = 1] = "Ajuste";
19
+ AccountingEntriesTypesEnum[AccountingEntriesTypesEnum["Cierre"] = 1] = "Cierre";
20
+ })(AccountingEntriesTypesEnum = exports.AccountingEntriesTypesEnum || (exports.AccountingEntriesTypesEnum = {}));
10
21
  //# sourceMappingURL=accounting.enums.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"accounting.enums.js","sourceRoot":"","sources":["../../src/accounting/accounting.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACvC,6FAAc,CAAA;IACd,uFAAW,CAAA;IACX,2FAAa,CAAA;AACf,CAAC,EAJW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAIxC"}
1
+ {"version":3,"file":"accounting.enums.js","sourceRoot":"","sources":["../../src/accounting/accounting.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACvC,6FAAc,CAAA;IACd,uFAAW,CAAA;IACX,2FAAa,CAAA;AACf,CAAC,EAJW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAIxC;AAED,IAAY,0BASX;AATD,WAAY,0BAA0B;IACpC,+EAAU,CAAA;IACV,iFAAW,CAAA;IACX,+EAAU,CAAA;IACV,iGAAmB,CAAA;IACnB,+FAAkB,CAAA;IAClB,2FAAgB,CAAA;IAChB,+EAAU,CAAA;IACV,+EAAU,CAAA;AACZ,CAAC,EATW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QASrC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.65",
3
+ "version": "0.3.67",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -4,8 +4,8 @@ export type AccountingSettings = {
4
4
  id: string
5
5
  balanceGeneral: JSON
6
6
  estadoResultados: JSON
7
- periodStart: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
8
- periodEnd: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
7
+ periodStart: number
8
+ periodEnd: number
9
9
  legal: string
10
10
  accountant: string
11
11
  auditor: string
@@ -1,3 +1,4 @@
1
+ export * from './GetGenerals/Response'
1
2
  export * from './UpdateGenerals/Request'
2
3
  export * from './UpdateGenerals/Response'
3
4
  export * from './accounting.settings.types'
@@ -3,3 +3,14 @@ export enum AccountingEntriesStatusesEnum {
3
3
  Squared = 2,
4
4
  Accounted = 3,
5
5
  }
6
+
7
+ export enum AccountingEntriesTypesEnum {
8
+ Diario = 1,
9
+ Ingreso = 1,
10
+ Egreso = 1,
11
+ CuentaPorCobrar = 1,
12
+ CuentaPorPagar = 1,
13
+ Depreciacion = 1,
14
+ Ajuste = 1,
15
+ Cierre = 1,
16
+ }