@openbox/shared-types 0.3.40 → 0.3.42

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 { SingleResponse } from '../../../interfaces';
2
+ export type AccountingEntriesDeleteSingleResponse = 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/DeleteSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  import { GetManyRequest } from '../../../interfaces';
2
2
  export type AccountingEntriesGetManyRequest = GetManyRequest & {
3
- accountingEntryType?: number;
3
+ type?: number;
4
4
  status?: number;
5
5
  startDate?: Date;
6
6
  endDate?: Date;
@@ -9,5 +9,5 @@ export type AccountingEntries = {
9
9
  origin: string;
10
10
  type: AccountingEntriesTypes;
11
11
  status: AccountingEntriesStatuses;
12
- details: AccountingEntriesDetails[];
12
+ details?: AccountingEntriesDetails[];
13
13
  };
@@ -1,3 +1,4 @@
1
+ export * from './DeleteSingle/Response';
1
2
  export * from './GetMany/Request';
2
3
  export * from './GetMany/Response';
3
4
  export * from './GetSingle/Response';
@@ -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("./DeleteSingle/Response"), exports);
17
18
  __exportStar(require("./GetMany/Request"), exports);
18
19
  __exportStar(require("./GetMany/Response"), exports);
19
20
  __exportStar(require("./GetSingle/Response"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Entries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,6DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Entries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,6DAA0C"}
@@ -30,6 +30,8 @@ export type LoggedUserInfoWorkspaceCompany = {
30
30
  name: string;
31
31
  companyType: LoggedUserInfoWorkspaceCompanyType | null;
32
32
  naturalType: LoggedUserInfoWorkspaceCompanyType | null;
33
+ nit: string;
34
+ nrc: string;
33
35
  };
34
36
  export type LoggedUserInfoWorkspaceBranch = {
35
37
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.40",
3
+ "version": "0.3.42",
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 { SingleResponse } from '../../../interfaces'
2
+
3
+ export type AccountingEntriesDeleteSingleResponse = SingleResponse
@@ -1,7 +1,7 @@
1
1
  import { GetManyRequest } from '../../../interfaces'
2
2
 
3
3
  export type AccountingEntriesGetManyRequest = GetManyRequest & {
4
- accountingEntryType?: number
4
+ type?: number
5
5
  status?: number
6
6
  startDate?: Date
7
7
  endDate?: Date
@@ -10,5 +10,5 @@ export type AccountingEntries = {
10
10
  origin: string
11
11
  type: AccountingEntriesTypes
12
12
  status: AccountingEntriesStatuses
13
- details: AccountingEntriesDetails[]
13
+ details?: AccountingEntriesDetails[]
14
14
  }
@@ -1,3 +1,4 @@
1
+ export * from './DeleteSingle/Response'
1
2
  export * from './GetMany/Request'
2
3
  export * from './GetMany/Response'
3
4
  export * from './GetSingle/Response'
@@ -34,6 +34,8 @@ export type LoggedUserInfoWorkspaceCompany = {
34
34
  name: string
35
35
  companyType: LoggedUserInfoWorkspaceCompanyType | null
36
36
  naturalType: LoggedUserInfoWorkspaceCompanyType | null
37
+ nit: string
38
+ nrc: string
37
39
  }
38
40
 
39
41
  export type LoggedUserInfoWorkspaceBranch = {