@openbox/shared-types 0.4.4 → 0.4.6

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 (27) hide show
  1. package/lib/auth/Auth/GetSingleUser/Response.d.ts +4 -0
  2. package/lib/invoices/Settings/ElectronincSv/Get/Response.d.ts +2 -0
  3. package/lib/invoices/Settings/ElectronincSv/Get/Response.js +3 -0
  4. package/lib/invoices/Settings/ElectronincSv/Get/Response.js.map +1 -0
  5. package/lib/invoices/Settings/ElectronincSv/Set/Request.d.ts +2 -0
  6. package/lib/invoices/Settings/ElectronincSv/Set/Request.js +3 -0
  7. package/lib/invoices/Settings/ElectronincSv/Set/Request.js.map +1 -0
  8. package/lib/invoices/Settings/ElectronincSv/Set/Response.d.ts +3 -0
  9. package/lib/invoices/Settings/ElectronincSv/Set/Response.js +3 -0
  10. package/lib/invoices/Settings/ElectronincSv/Set/Response.js.map +1 -0
  11. package/lib/invoices/Settings/ElectronincSv/index.d.ts +4 -0
  12. package/lib/invoices/Settings/ElectronincSv/index.js +21 -0
  13. package/lib/invoices/Settings/ElectronincSv/index.js.map +1 -0
  14. package/lib/invoices/Settings/ElectronincSv/invoices.settings.electronic-sv.type.d.ts +11 -0
  15. package/lib/invoices/Settings/ElectronincSv/invoices.settings.electronic-sv.type.js +3 -0
  16. package/lib/invoices/Settings/ElectronincSv/invoices.settings.electronic-sv.type.js.map +1 -0
  17. package/lib/invoices/Settings/index.d.ts +1 -0
  18. package/lib/invoices/Settings/index.js +1 -0
  19. package/lib/invoices/Settings/index.js.map +1 -1
  20. package/package.json +1 -1
  21. package/src/auth/Auth/GetSingleUser/Response.ts +5 -0
  22. package/src/invoices/Settings/ElectronincSv/Get/Response.ts +3 -0
  23. package/src/invoices/Settings/ElectronincSv/Set/Request.ts +3 -0
  24. package/src/invoices/Settings/ElectronincSv/Set/Response.ts +3 -0
  25. package/src/invoices/Settings/ElectronincSv/index.ts +4 -0
  26. package/src/invoices/Settings/ElectronincSv/invoices.settings.electronic-sv.type.ts +11 -0
  27. package/src/invoices/Settings/index.ts +1 -0
@@ -29,6 +29,9 @@ export type LoggedUserInfoWorkspaceCompanySVFields = {
29
29
  nrc: string;
30
30
  dui: string;
31
31
  };
32
+ export type LoggedUserInfoWorkspaceCompanyInvoicesElectronicSv = {
33
+ isActive: boolean;
34
+ };
32
35
  export type LoggedUserInfoWorkspaceCompany = {
33
36
  id: string;
34
37
  unique: string;
@@ -36,6 +39,7 @@ export type LoggedUserInfoWorkspaceCompany = {
36
39
  companyType: LoggedUserInfoWorkspaceCompanyType | null;
37
40
  naturalType: LoggedUserInfoWorkspaceCompanyType | null;
38
41
  SVFields: LoggedUserInfoWorkspaceCompanySVFields | null;
42
+ invoicesElectronicSv: LoggedUserInfoWorkspaceCompanyInvoicesElectronicSv | null;
39
43
  enableElectronicInvoicing: boolean;
40
44
  };
41
45
  export type LoggedUserInfoWorkspaceBranch = {
@@ -0,0 +1,2 @@
1
+ import { InvoicesSettingsElectronicSv } from '../invoices.settings.electronic-sv.type';
2
+ export type InvoicesSettingsElectronicSvGetResponse = InvoicesSettingsElectronicSv;
@@ -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/invoices/Settings/ElectronincSv/Get/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { InvoicesSettingsElectronicSv } from '../invoices.settings.electronic-sv.type';
2
+ export type InvoicesSettingsElectronicSvSetRequest = Omit<InvoicesSettingsElectronicSv, '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/invoices/Settings/ElectronincSv/Set/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type InvoicesSettingsElectronicSvSetResponse = {
2
+ message: 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/invoices/Settings/ElectronincSv/Set/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from './Get/Response';
2
+ export * from './Set/Request';
3
+ export * from './Set/Response';
4
+ export * from './invoices.settings.electronic-sv.type';
@@ -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("./Get/Response"), exports);
18
+ __exportStar(require("./Set/Request"), exports);
19
+ __exportStar(require("./Set/Response"), exports);
20
+ __exportStar(require("./invoices.settings.electronic-sv.type"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/invoices/Settings/ElectronincSv/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,gDAA6B;AAC7B,iDAA8B;AAC9B,yEAAsD"}
@@ -0,0 +1,11 @@
1
+ export type InvoicesSettingsElectronicSv = {
2
+ id: string;
3
+ isActive: boolean;
4
+ isProdEnv: boolean;
5
+ testEnvAPIPassword?: string;
6
+ testEnvPrivatePassword?: string;
7
+ testEnvCertificatePath?: string;
8
+ prodEnvAPIPassword?: string;
9
+ prodEnvPrivatePassword?: string;
10
+ prodEnvCertificatePath?: string;
11
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=invoices.settings.electronic-sv.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoices.settings.electronic-sv.type.js","sourceRoot":"","sources":["../../../../src/invoices/Settings/ElectronincSv/invoices.settings.electronic-sv.type.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
+ export * from './ElectronincSv';
1
2
  export * from './GetGenerals/Response';
2
3
  export * from './UpdateGenerals/Request';
3
4
  export * from './UpdateGenerals/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("./ElectronincSv"), exports);
17
18
  __exportStar(require("./GetGenerals/Response"), exports);
18
19
  __exportStar(require("./UpdateGenerals/Request"), exports);
19
20
  __exportStar(require("./UpdateGenerals/Response"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,2DAAwC;AACxC,4DAAyC;AACzC,2DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA+B;AAC/B,yDAAsC;AACtC,2DAAwC;AACxC,4DAAyC;AACzC,2DAAwC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.4.04",
3
+ "version": "0.4.06",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -34,6 +34,10 @@ export type LoggedUserInfoWorkspaceCompanySVFields = {
34
34
  dui: string
35
35
  }
36
36
 
37
+ export type LoggedUserInfoWorkspaceCompanyInvoicesElectronicSv = {
38
+ isActive: boolean
39
+ }
40
+
37
41
  export type LoggedUserInfoWorkspaceCompany = {
38
42
  id: string
39
43
  unique: string
@@ -41,6 +45,7 @@ export type LoggedUserInfoWorkspaceCompany = {
41
45
  companyType: LoggedUserInfoWorkspaceCompanyType | null
42
46
  naturalType: LoggedUserInfoWorkspaceCompanyType | null
43
47
  SVFields: LoggedUserInfoWorkspaceCompanySVFields | null
48
+ invoicesElectronicSv: LoggedUserInfoWorkspaceCompanyInvoicesElectronicSv | null
44
49
  enableElectronicInvoicing: boolean
45
50
  }
46
51
 
@@ -0,0 +1,3 @@
1
+ import { InvoicesSettingsElectronicSv } from '../invoices.settings.electronic-sv.type'
2
+
3
+ export type InvoicesSettingsElectronicSvGetResponse = InvoicesSettingsElectronicSv
@@ -0,0 +1,3 @@
1
+ import { InvoicesSettingsElectronicSv } from '../invoices.settings.electronic-sv.type'
2
+
3
+ export type InvoicesSettingsElectronicSvSetRequest = Omit<InvoicesSettingsElectronicSv, 'id'>
@@ -0,0 +1,3 @@
1
+ export type InvoicesSettingsElectronicSvSetResponse = {
2
+ message: string
3
+ }
@@ -0,0 +1,4 @@
1
+ export * from './Get/Response'
2
+ export * from './Set/Request'
3
+ export * from './Set/Response'
4
+ export * from './invoices.settings.electronic-sv.type'
@@ -0,0 +1,11 @@
1
+ export type InvoicesSettingsElectronicSv = {
2
+ id: string
3
+ isActive: boolean
4
+ isProdEnv: boolean
5
+ testEnvAPIPassword?: string
6
+ testEnvPrivatePassword?: string
7
+ testEnvCertificatePath?: string
8
+ prodEnvAPIPassword?: string
9
+ prodEnvPrivatePassword?: string
10
+ prodEnvCertificatePath?: string
11
+ }
@@ -1,3 +1,4 @@
1
+ export * from './ElectronincSv'
1
2
  export * from './GetGenerals/Response'
2
3
  export * from './UpdateGenerals/Request'
3
4
  export * from './UpdateGenerals/Response'