@openbox/shared-types 0.3.49 → 0.3.50

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,9 @@
1
+ import { AccountingEntriesDetails } from '../../EntriesDetails';
2
+ import { AccountingEntries } from '../accounting.entries.types';
3
+ export type AccountingEntriesUpdateSingleRequest = Omit<AccountingEntries, 'id' | 'origin' | 'type' | 'status' | 'details'> & {
4
+ type: number;
5
+ status: number;
6
+ details: (Omit<AccountingEntriesDetails, 'accountingCatalog'> & {
7
+ accountingCatalog: string;
8
+ })[];
9
+ };
@@ -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/Entries/UpdateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type AccountingEntriesUpdateSingleResponse = 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/Entries/UpdateSingle/Response.ts"],"names":[],"mappings":""}
@@ -5,4 +5,6 @@ export * from './GetMany/Request';
5
5
  export * from './GetMany/Response';
6
6
  export * from './GetNextSequence/Response';
7
7
  export * from './GetSingle/Response';
8
+ export * from './UpdateSingle/Request';
9
+ export * from './UpdateSingle/Response';
8
10
  export * from './accounting.entries.types';
@@ -21,5 +21,7 @@ __exportStar(require("./GetMany/Request"), exports);
21
21
  __exportStar(require("./GetMany/Response"), exports);
22
22
  __exportStar(require("./GetNextSequence/Response"), exports);
23
23
  __exportStar(require("./GetSingle/Response"), exports);
24
+ __exportStar(require("./UpdateSingle/Request"), exports);
25
+ __exportStar(require("./UpdateSingle/Response"), exports);
24
26
  __exportStar(require("./accounting.entries.types"), exports);
25
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Entries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,6DAA0C;AAC1C,uDAAoC;AACpC,6DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Entries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,6DAA0C;AAC1C,uDAAoC;AACpC,yDAAsC;AACtC,0DAAuC;AACvC,6DAA0C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.49",
3
+ "version": "0.3.50",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -0,0 +1,13 @@
1
+ import { AccountingEntriesDetails } from '../../EntriesDetails'
2
+ import { AccountingEntries } from '../accounting.entries.types'
3
+
4
+ export type AccountingEntriesUpdateSingleRequest = Omit<
5
+ AccountingEntries,
6
+ 'id' | 'origin' | 'type' | 'status' | 'details'
7
+ > & {
8
+ type: number
9
+ status: number
10
+ details: (Omit<AccountingEntriesDetails, 'accountingCatalog'> & {
11
+ accountingCatalog: string
12
+ })[]
13
+ }
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type AccountingEntriesUpdateSingleResponse = SingleResponse
@@ -5,4 +5,6 @@ export * from './GetMany/Request'
5
5
  export * from './GetMany/Response'
6
6
  export * from './GetNextSequence/Response'
7
7
  export * from './GetSingle/Response'
8
+ export * from './UpdateSingle/Request'
9
+ export * from './UpdateSingle/Response'
8
10
  export * from './accounting.entries.types'