@openbox/shared-types 0.3.48 → 0.3.49

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,7 +3,7 @@ import { AccountingEntries } from '../accounting.entries.types';
3
3
  export type AccountingEntriesCreateSingleRequest = Omit<AccountingEntries, 'id' | 'origin' | 'type' | 'status' | 'details'> & {
4
4
  type: number;
5
5
  status: number;
6
- details: Omit<AccountingEntriesDetails, 'id' | 'accountingCatalog'> & {
6
+ details: (Omit<AccountingEntriesDetails, 'id' | 'accountingCatalog'> & {
7
7
  accountingCatalog: string;
8
- }[];
8
+ })[];
9
9
  };
@@ -0,0 +1,4 @@
1
+ import { AccountingEntriesDetails } from '../../EntriesDetails';
2
+ export type AccountingEntriesDetailsCreateSingleRequest = Omit<AccountingEntriesDetails, 'id' | 'accountingCatalog'> & {
3
+ accountingCatalog: string;
4
+ };
@@ -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/EntriesDetails/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -1 +1,2 @@
1
+ export * from './CreateSingle/Request';
1
2
  export * from './accounting.entries-details.types';
@@ -14,5 +14,6 @@ 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("./CreateSingle/Request"), exports);
17
18
  __exportStar(require("./accounting.entries-details.types"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/EntriesDetails/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAkD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/EntriesDetails/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,qEAAkD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.48",
3
+ "version": "0.3.49",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -7,8 +7,7 @@ export type AccountingEntriesCreateSingleRequest = Omit<
7
7
  > & {
8
8
  type: number
9
9
  status: number
10
- details: Omit<AccountingEntriesDetails, 'id' | 'accountingCatalog'> &
11
- {
12
- accountingCatalog: string
13
- }[]
10
+ details: (Omit<AccountingEntriesDetails, 'id' | 'accountingCatalog'> & {
11
+ accountingCatalog: string
12
+ })[]
14
13
  }
@@ -0,0 +1,8 @@
1
+ import { AccountingEntriesDetails } from '../../EntriesDetails'
2
+
3
+ export type AccountingEntriesDetailsCreateSingleRequest = Omit<
4
+ AccountingEntriesDetails,
5
+ 'id' | 'accountingCatalog'
6
+ > & {
7
+ accountingCatalog: string
8
+ }
@@ -1 +1,2 @@
1
+ export * from './CreateSingle/Request'
1
2
  export * from './accounting.entries-details.types'