@openbox/shared-types 0.3.46 → 0.3.48

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,4 +1,4 @@
1
1
  import { AccountingCatalogsGetSingleResponse } from '../GetSingle/Response';
2
- export declare class AccountingCatalogGetManyResponse {
2
+ export declare class AccountingCatalogsGetManyResponse {
3
3
  data: Array<AccountingCatalogsGetSingleResponse>;
4
4
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AccountingCatalogGetManyResponse = void 0;
4
- class AccountingCatalogGetManyResponse {
3
+ exports.AccountingCatalogsGetManyResponse = void 0;
4
+ class AccountingCatalogsGetManyResponse {
5
5
  }
6
- exports.AccountingCatalogGetManyResponse = AccountingCatalogGetManyResponse;
6
+ exports.AccountingCatalogsGetManyResponse = AccountingCatalogsGetManyResponse;
7
7
  //# sourceMappingURL=Response.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/GetMany/Response.ts"],"names":[],"mappings":";;;AAEA,MAAa,gCAAgC;CAE5C;AAFD,4EAEC"}
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/GetMany/Response.ts"],"names":[],"mappings":";;;AAEA,MAAa,iCAAiC;CAE7C;AAFD,8EAEC"}
@@ -1,2 +1,3 @@
1
1
  export * from './GetMany/Response';
2
+ export * from './GetSingle/Response';
2
3
  export * from './accounting.catalogs.types';
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetMany/Response"), exports);
18
+ __exportStar(require("./GetSingle/Response"), exports);
18
19
  __exportStar(require("./accounting.catalogs.types"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,8DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC;AACpC,8DAA2C"}
@@ -0,0 +1,9 @@
1
+ import { AccountingEntriesDetails } from '../../EntriesDetails';
2
+ import { AccountingEntries } from '../accounting.entries.types';
3
+ export type AccountingEntriesCreateSingleRequest = Omit<AccountingEntries, 'id' | 'origin' | 'type' | 'status' | 'details'> & {
4
+ type: number;
5
+ status: number;
6
+ details: Omit<AccountingEntriesDetails, 'id' | '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/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type AccountingEntriesCreateSingleResponse = 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/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,3 +1,5 @@
1
+ export * from './CreateSingle/Request';
2
+ export * from './CreateSingle/Response';
1
3
  export * from './DeleteSingle/Response';
2
4
  export * from './GetMany/Request';
3
5
  export * from './GetMany/Response';
@@ -14,6 +14,8 @@ 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);
18
+ __exportStar(require("./CreateSingle/Response"), exports);
17
19
  __exportStar(require("./DeleteSingle/Response"), exports);
18
20
  __exportStar(require("./GetMany/Request"), exports);
19
21
  __exportStar(require("./GetMany/Response"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Entries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,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,6DAA0C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.46",
3
+ "version": "0.3.48",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,5 +1,5 @@
1
1
  import { AccountingCatalogsGetSingleResponse } from '../GetSingle/Response'
2
2
 
3
- export class AccountingCatalogGetManyResponse {
3
+ export class AccountingCatalogsGetManyResponse {
4
4
  data: Array<AccountingCatalogsGetSingleResponse>
5
5
  }
@@ -1,2 +1,3 @@
1
1
  export * from './GetMany/Response'
2
+ export * from './GetSingle/Response'
2
3
  export * from './accounting.catalogs.types'
@@ -0,0 +1,14 @@
1
+ import { AccountingEntriesDetails } from '../../EntriesDetails'
2
+ import { AccountingEntries } from '../accounting.entries.types'
3
+
4
+ export type AccountingEntriesCreateSingleRequest = Omit<
5
+ AccountingEntries,
6
+ 'id' | 'origin' | 'type' | 'status' | 'details'
7
+ > & {
8
+ type: number
9
+ status: number
10
+ details: Omit<AccountingEntriesDetails, 'id' | 'accountingCatalog'> &
11
+ {
12
+ accountingCatalog: string
13
+ }[]
14
+ }
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type AccountingEntriesCreateSingleResponse = SingleResponse
@@ -1,3 +1,5 @@
1
+ export * from './CreateSingle/Request'
2
+ export * from './CreateSingle/Response'
1
3
  export * from './DeleteSingle/Response'
2
4
  export * from './GetMany/Request'
3
5
  export * from './GetMany/Response'