@openbox/shared-types 0.3.53 → 0.3.54

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,2 @@
1
+ import { AccountingCatalogsCreateSingleRequest } from '../CreateSingle/Request';
2
+ export type AccountingCatalogsCreateManyRequest = Array<AccountingCatalogsCreateSingleRequest>;
@@ -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/Catalogs/CreateMany/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { ManyResponse } from '../../../interfaces';
2
+ export type AccountingCatalogsCreateManyResponse = ManyResponse;
@@ -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/Catalogs/CreateMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { AccountingCatalogs } from '../accounting.catalogs.types';
2
+ export type AccountingCatalogsCreateSingleRequest = Omit<AccountingCatalogs, 'id'>;
@@ -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/Catalogs/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type AccountingCatalogsCreateSingleResponse = 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/Catalogs/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -2,8 +2,8 @@ export type AccountingCatalogs = {
2
2
  id: string;
3
3
  code: string;
4
4
  name: string;
5
- description: string;
6
5
  isParent: boolean;
7
6
  isAcreedora: boolean;
8
7
  isBalance: boolean;
8
+ parentCatalog: AccountingCatalogs;
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.53",
3
+ "version": "0.3.54",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -0,0 +1,3 @@
1
+ import { AccountingCatalogsCreateSingleRequest } from '../CreateSingle/Request'
2
+
3
+ export type AccountingCatalogsCreateManyRequest = Array<AccountingCatalogsCreateSingleRequest>
@@ -0,0 +1,3 @@
1
+ import { ManyResponse } from '../../../interfaces'
2
+
3
+ export type AccountingCatalogsCreateManyResponse = ManyResponse
@@ -0,0 +1,3 @@
1
+ import { AccountingCatalogs } from '../accounting.catalogs.types'
2
+
3
+ export type AccountingCatalogsCreateSingleRequest = Omit<AccountingCatalogs, 'id'>
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type AccountingCatalogsCreateSingleResponse = SingleResponse
@@ -2,10 +2,9 @@ export type AccountingCatalogs = {
2
2
  id: string
3
3
  code: string
4
4
  name: string
5
- description: string
6
5
  // level: number
7
6
  isParent: boolean
8
7
  isAcreedora: boolean
9
8
  isBalance: boolean
10
- // parentCatalog: AccountingCatalogs
9
+ parentCatalog: AccountingCatalogs
11
10
  }