@openbox/shared-types 0.3.51 → 0.3.53

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 { GetManyRequest } from '../../../interfaces';
2
+ export type AccountingCatalogsGetManyRequest = GetManyRequest;
@@ -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/GetMany/Request.ts"],"names":[],"mappings":""}
@@ -1,4 +1,7 @@
1
+ import { GetManyResponse } from '../../../interfaces';
1
2
  import { AccountingCatalogsGetSingleResponse } from '../GetSingle/Response';
2
- export declare class AccountingCatalogsGetManyResponse {
3
- data: Array<AccountingCatalogsGetSingleResponse>;
4
- }
3
+ export type AccountingCatalogsGetManyResponse = GetManyResponse & {
4
+ data: Array<AccountingCatalogsGetSingleResponse & {
5
+ index: number;
6
+ }>;
7
+ };
@@ -1,7 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AccountingCatalogsGetManyResponse = void 0;
4
- class AccountingCatalogsGetManyResponse {
5
- }
6
- exports.AccountingCatalogsGetManyResponse = AccountingCatalogsGetManyResponse;
7
3
  //# sourceMappingURL=Response.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/GetMany/Response.ts"],"names":[],"mappings":";;;AAEA,MAAa,iCAAiC;CAE7C;AAFD,8EAEC"}
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -3,9 +3,7 @@ export type AccountingCatalogs = {
3
3
  code: string;
4
4
  name: string;
5
5
  description: string;
6
- level: number;
7
6
  isParent: boolean;
8
7
  isAcreedora: boolean;
9
8
  isBalance: boolean;
10
- parentCatalog: AccountingCatalogs;
11
9
  };
@@ -1,3 +1,4 @@
1
+ export * from './GetMany/Request';
1
2
  export * from './GetMany/Response';
2
3
  export * from './GetSingle/Response';
3
4
  export * from './accounting.catalogs.types';
@@ -14,6 +14,7 @@ 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("./GetMany/Request"), exports);
17
18
  __exportStar(require("./GetMany/Response"), exports);
18
19
  __exportStar(require("./GetSingle/Response"), exports);
19
20
  __exportStar(require("./accounting.catalogs.types"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC;AACpC,8DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,8DAA2C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.51",
3
+ "version": "0.3.53",
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 { GetManyRequest } from '../../../interfaces'
2
+
3
+ export type AccountingCatalogsGetManyRequest = GetManyRequest
@@ -1,5 +1,6 @@
1
+ import { GetManyResponse } from '../../../interfaces'
1
2
  import { AccountingCatalogsGetSingleResponse } from '../GetSingle/Response'
2
3
 
3
- export class AccountingCatalogsGetManyResponse {
4
- data: Array<AccountingCatalogsGetSingleResponse>
4
+ export type AccountingCatalogsGetManyResponse = GetManyResponse & {
5
+ data: Array<AccountingCatalogsGetSingleResponse & { index: number }>
5
6
  }
@@ -3,9 +3,9 @@ export type AccountingCatalogs = {
3
3
  code: string
4
4
  name: string
5
5
  description: string
6
- level: number
6
+ // level: number
7
7
  isParent: boolean
8
8
  isAcreedora: boolean
9
9
  isBalance: boolean
10
- parentCatalog: AccountingCatalogs
10
+ // parentCatalog: AccountingCatalogs
11
11
  }
@@ -1,3 +1,4 @@
1
+ export * from './GetMany/Request'
1
2
  export * from './GetMany/Response'
2
3
  export * from './GetSingle/Response'
3
4
  export * from './accounting.catalogs.types'