@openbox/shared-types 0.3.76 → 0.3.78

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.
Files changed (29) hide show
  1. package/lib/accounting/Reports/AccountsCatalog/Request.d.ts +3 -0
  2. package/lib/accounting/Reports/AccountsCatalog/Request.js +3 -0
  3. package/lib/accounting/Reports/AccountsCatalog/Request.js.map +1 -0
  4. package/lib/accounting/Reports/AccountsCatalog/Response.d.ts +3 -0
  5. package/lib/accounting/Reports/AccountsCatalog/Response.js +3 -0
  6. package/lib/accounting/Reports/AccountsCatalog/Response.js.map +1 -0
  7. package/lib/accounting/Reports/AccountsCatalogPreview/Request.d.ts +2 -0
  8. package/lib/accounting/Reports/AccountsCatalogPreview/Request.js +3 -0
  9. package/lib/accounting/Reports/AccountsCatalogPreview/Request.js.map +1 -0
  10. package/lib/accounting/Reports/AccountsCatalogPreview/Response.d.ts +3 -0
  11. package/lib/accounting/Reports/AccountsCatalogPreview/Response.js +3 -0
  12. package/lib/accounting/Reports/AccountsCatalogPreview/Response.js.map +1 -0
  13. package/lib/accounting/Reports/index.d.ts +4 -0
  14. package/lib/accounting/Reports/index.js +21 -0
  15. package/lib/accounting/Reports/index.js.map +1 -0
  16. package/lib/accounting/index.d.ts +1 -0
  17. package/lib/accounting/index.js +1 -0
  18. package/lib/accounting/index.js.map +1 -1
  19. package/lib/auth/Auth/GetSingleUser/Response.d.ts +2 -7
  20. package/lib/invoices/Settings/invoices.settings.type.d.ts +2 -0
  21. package/package.json +1 -1
  22. package/src/accounting/Reports/AccountsCatalog/Request.ts +3 -0
  23. package/src/accounting/Reports/AccountsCatalog/Response.ts +3 -0
  24. package/src/accounting/Reports/AccountsCatalogPreview/Request.ts +6 -0
  25. package/src/accounting/Reports/AccountsCatalogPreview/Response.ts +3 -0
  26. package/src/accounting/Reports/index.ts +4 -0
  27. package/src/accounting/index.ts +1 -0
  28. package/src/auth/Auth/GetSingleUser/Response.ts +2 -8
  29. package/src/invoices/Settings/invoices.settings.type.ts +2 -0
@@ -0,0 +1,3 @@
1
+ export type AccountingReportsAccountsCatalogRequest = {
2
+ type: 'pdf' | 'xlsx';
3
+ };
@@ -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/Reports/AccountsCatalog/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type AccountingReportsAccountsCatalogResponse = {
2
+ url: string;
3
+ };
@@ -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/Reports/AccountsCatalog/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { AccountingReportsAccountsCatalogRequest } from '../AccountsCatalog/Request';
2
+ export type AccountingReportsAccountsCatalogPreviewRequest = Omit<AccountingReportsAccountsCatalogRequest, 'type'>;
@@ -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/Reports/AccountsCatalogPreview/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type AccountingReportsAccountsCatalogPreviewResponse = {
2
+ url: string;
3
+ };
@@ -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/Reports/AccountsCatalogPreview/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from './AccountsCatalog/Request';
2
+ export * from './AccountsCatalog/Response';
3
+ export * from './AccountsCatalogPreview/Request';
4
+ export * from './AccountsCatalogPreview/Response';
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./AccountsCatalog/Request"), exports);
18
+ __exportStar(require("./AccountsCatalog/Response"), exports);
19
+ __exportStar(require("./AccountsCatalogPreview/Request"), exports);
20
+ __exportStar(require("./AccountsCatalogPreview/Response"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Reports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAAyC;AACzC,6DAA0C;AAC1C,mEAAgD;AAChD,oEAAiD"}
@@ -3,5 +3,6 @@ export * from './Entries';
3
3
  export * from './EntriesDetails';
4
4
  export * from './EntriesStatuses';
5
5
  export * from './EntriesTypes';
6
+ export * from './Reports';
6
7
  export * from './Settings';
7
8
  export * from './accounting.enums';
@@ -19,6 +19,7 @@ __exportStar(require("./Entries"), exports);
19
19
  __exportStar(require("./EntriesDetails"), exports);
20
20
  __exportStar(require("./EntriesStatuses"), exports);
21
21
  __exportStar(require("./EntriesTypes"), exports);
22
+ __exportStar(require("./Reports"), exports);
22
23
  __exportStar(require("./Settings"), exports);
23
24
  __exportStar(require("./accounting.enums"), exports);
24
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/accounting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4CAAyB;AACzB,mDAAgC;AAChC,oDAAiC;AACjC,iDAA8B;AAC9B,6CAA0B;AAC1B,qDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/accounting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4CAAyB;AACzB,mDAAgC;AAChC,oDAAiC;AACjC,iDAA8B;AAC9B,4CAAyB;AACzB,6CAA0B;AAC1B,qDAAkC"}
@@ -24,19 +24,14 @@ export type LoggedUserInfoWorkspaceCompanyType = {
24
24
  id: number;
25
25
  name: string;
26
26
  };
27
- export type LoggedUserInfoWorkspaceCompanySVFields = {
28
- nit: string;
29
- nrc: string;
30
- dui: string;
31
- };
32
27
  export type LoggedUserInfoWorkspaceCompany = {
33
28
  id: string;
34
29
  unique: string;
35
30
  name: string;
36
31
  companyType: LoggedUserInfoWorkspaceCompanyType | null;
37
32
  naturalType: LoggedUserInfoWorkspaceCompanyType | null;
38
- SVFields: LoggedUserInfoWorkspaceCompanySVFields | null;
39
- enableElectronicInvoicing: boolean;
33
+ nit: string;
34
+ nrc: string;
40
35
  };
41
36
  export type LoggedUserInfoWorkspaceBranch = {
42
37
  id: string;
@@ -4,4 +4,6 @@ export type InvoicesSettings = {
4
4
  allowCreateCustomersEdit: boolean;
5
5
  allowCreateServicesNew: boolean;
6
6
  allowCreateServicesEdit: boolean;
7
+ allowCreateInvoicesPaymentConditionsNew: boolean;
8
+ allowCreateInvoicesPaymentConditionsEdit: boolean;
7
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.76",
3
+ "version": "0.3.78",
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
+ export type AccountingReportsAccountsCatalogRequest = {
2
+ type: 'pdf' | 'xlsx'
3
+ }
@@ -0,0 +1,3 @@
1
+ export type AccountingReportsAccountsCatalogResponse = {
2
+ url: string
3
+ }
@@ -0,0 +1,6 @@
1
+ import { AccountingReportsAccountsCatalogRequest } from '../AccountsCatalog/Request'
2
+
3
+ export type AccountingReportsAccountsCatalogPreviewRequest = Omit<
4
+ AccountingReportsAccountsCatalogRequest,
5
+ 'type'
6
+ >
@@ -0,0 +1,3 @@
1
+ export type AccountingReportsAccountsCatalogPreviewResponse = {
2
+ url: string
3
+ }
@@ -0,0 +1,4 @@
1
+ export * from './AccountsCatalog/Request'
2
+ export * from './AccountsCatalog/Response'
3
+ export * from './AccountsCatalogPreview/Request'
4
+ export * from './AccountsCatalogPreview/Response'
@@ -3,5 +3,6 @@ export * from './Entries'
3
3
  export * from './EntriesDetails'
4
4
  export * from './EntriesStatuses'
5
5
  export * from './EntriesTypes'
6
+ export * from './Reports'
6
7
  export * from './Settings'
7
8
  export * from './accounting.enums'
@@ -28,20 +28,14 @@ export type LoggedUserInfoWorkspaceCompanyType = {
28
28
  name: string
29
29
  }
30
30
 
31
- export type LoggedUserInfoWorkspaceCompanySVFields = {
32
- nit: string
33
- nrc: string
34
- dui: string
35
- }
36
-
37
31
  export type LoggedUserInfoWorkspaceCompany = {
38
32
  id: string
39
33
  unique: string
40
34
  name: string
41
35
  companyType: LoggedUserInfoWorkspaceCompanyType | null
42
36
  naturalType: LoggedUserInfoWorkspaceCompanyType | null
43
- SVFields: LoggedUserInfoWorkspaceCompanySVFields | null
44
- enableElectronicInvoicing: boolean
37
+ nit: string
38
+ nrc: string
45
39
  }
46
40
 
47
41
  export type LoggedUserInfoWorkspaceBranch = {
@@ -4,4 +4,6 @@ export type InvoicesSettings = {
4
4
  allowCreateCustomersEdit: boolean
5
5
  allowCreateServicesNew: boolean
6
6
  allowCreateServicesEdit: boolean
7
+ allowCreateInvoicesPaymentConditionsNew: boolean
8
+ allowCreateInvoicesPaymentConditionsEdit: boolean
7
9
  }