@openbox/shared-types 0.3.27 → 0.3.29

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.
@@ -1,9 +1,11 @@
1
1
  import { AccountingEntriesStatuses } from '../EntriesStatuses';
2
+ import { AccountingEntriesTypes } from '../EntriesTypes';
2
3
  export type AccountingEntries = {
3
4
  id: string;
4
5
  serie: string;
5
6
  title: string;
6
7
  date: string;
7
8
  origin: string;
9
+ accountingEntryType: AccountingEntriesTypes;
8
10
  status: AccountingEntriesStatuses;
9
11
  };
@@ -0,0 +1,6 @@
1
+ export type AccountingEntriesTypes = {
2
+ id: number;
3
+ name: string;
4
+ code: string;
5
+ private: boolean;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/EntriesTypes/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export declare enum AccountingEntriesStatusesEnum {
2
+ Incomplete = 1,
3
+ Squared = 2,
4
+ Accounted = 3
5
+ }
@@ -1,2 +1,10 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AccountingEntriesStatusesEnum = void 0;
4
+ var AccountingEntriesStatusesEnum;
5
+ (function (AccountingEntriesStatusesEnum) {
6
+ AccountingEntriesStatusesEnum[AccountingEntriesStatusesEnum["Incomplete"] = 1] = "Incomplete";
7
+ AccountingEntriesStatusesEnum[AccountingEntriesStatusesEnum["Squared"] = 2] = "Squared";
8
+ AccountingEntriesStatusesEnum[AccountingEntriesStatusesEnum["Accounted"] = 3] = "Accounted";
9
+ })(AccountingEntriesStatusesEnum = exports.AccountingEntriesStatusesEnum || (exports.AccountingEntriesStatusesEnum = {}));
2
10
  //# sourceMappingURL=accounting.enums.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"accounting.enums.js","sourceRoot":"","sources":["../../src/accounting/accounting.enums.ts"],"names":[],"mappings":""}
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,2 +1,4 @@
1
1
  export * from './Entries';
2
2
  export * from './EntriesStatuses';
3
+ export * from './EntriesTypes';
4
+ export * from './accounting.enums';
@@ -16,4 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Entries"), exports);
18
18
  __exportStar(require("./EntriesStatuses"), exports);
19
+ __exportStar(require("./EntriesTypes"), exports);
20
+ __exportStar(require("./accounting.enums"), exports);
19
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/accounting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/accounting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,oDAAiC;AACjC,iDAA8B;AAC9B,qDAAkC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.27",
3
+ "version": "0.3.29",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,4 +1,5 @@
1
1
  import { AccountingEntriesStatuses } from '../EntriesStatuses'
2
+ import { AccountingEntriesTypes } from '../EntriesTypes'
2
3
 
3
4
  export type AccountingEntries = {
4
5
  id: string
@@ -6,5 +7,6 @@ export type AccountingEntries = {
6
7
  title: string
7
8
  date: string
8
9
  origin: string
10
+ accountingEntryType: AccountingEntriesTypes
9
11
  status: AccountingEntriesStatuses
10
12
  }
@@ -0,0 +1,6 @@
1
+ export type AccountingEntriesTypes = {
2
+ id: number
3
+ name: string
4
+ code: string
5
+ private: boolean
6
+ }
@@ -0,0 +1,5 @@
1
+ export enum AccountingEntriesStatusesEnum {
2
+ Incomplete = 1,
3
+ Squared = 2,
4
+ Accounted = 3,
5
+ }
@@ -1,2 +1,4 @@
1
1
  export * from './Entries'
2
2
  export * from './EntriesStatuses'
3
+ export * from './EntriesTypes'
4
+ export * from './accounting.enums'