@openbox/shared-types 0.2.90 → 0.2.91

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 (57) hide show
  1. package/lib/index.d.ts +1 -0
  2. package/lib/index.js +1 -0
  3. package/lib/index.js.map +1 -1
  4. package/lib/legal/PeopleCapacities/CreateSingle/Request.d.ts +2 -0
  5. package/lib/legal/PeopleCapacities/CreateSingle/Request.js +3 -0
  6. package/lib/legal/PeopleCapacities/CreateSingle/Request.js.map +1 -0
  7. package/lib/legal/PeopleCapacities/CreateSingle/Response.d.ts +2 -0
  8. package/lib/legal/PeopleCapacities/CreateSingle/Response.js +3 -0
  9. package/lib/legal/PeopleCapacities/CreateSingle/Response.js.map +1 -0
  10. package/lib/legal/PeopleCapacities/DeleteSingle/Response.d.ts +2 -0
  11. package/lib/legal/PeopleCapacities/DeleteSingle/Response.js +3 -0
  12. package/lib/legal/PeopleCapacities/DeleteSingle/Response.js.map +1 -0
  13. package/lib/legal/PeopleCapacities/GetMany/Request.d.ts +4 -0
  14. package/lib/legal/PeopleCapacities/GetMany/Request.js +3 -0
  15. package/lib/legal/PeopleCapacities/GetMany/Request.js.map +1 -0
  16. package/lib/legal/PeopleCapacities/GetMany/Response.d.ts +7 -0
  17. package/lib/legal/PeopleCapacities/GetMany/Response.js +3 -0
  18. package/lib/legal/PeopleCapacities/GetMany/Response.js.map +1 -0
  19. package/lib/legal/PeopleCapacities/GetSingle/Response.d.ts +2 -0
  20. package/lib/legal/PeopleCapacities/GetSingle/Response.js +3 -0
  21. package/lib/legal/PeopleCapacities/GetSingle/Response.js.map +1 -0
  22. package/lib/legal/PeopleCapacities/UpdateSingle/Request.d.ts +2 -0
  23. package/lib/legal/PeopleCapacities/UpdateSingle/Request.js +3 -0
  24. package/lib/legal/PeopleCapacities/UpdateSingle/Request.js.map +1 -0
  25. package/lib/legal/PeopleCapacities/UpdateSingle/Response.d.ts +2 -0
  26. package/lib/legal/PeopleCapacities/UpdateSingle/Response.js +3 -0
  27. package/lib/legal/PeopleCapacities/UpdateSingle/Response.js.map +1 -0
  28. package/lib/legal/PeopleCapacities/UpdateSingleStatus/Request.d.ts +3 -0
  29. package/lib/legal/PeopleCapacities/UpdateSingleStatus/Request.js +3 -0
  30. package/lib/legal/PeopleCapacities/UpdateSingleStatus/Request.js.map +1 -0
  31. package/lib/legal/PeopleCapacities/UpdateSingleStatus/Response.d.ts +2 -0
  32. package/lib/legal/PeopleCapacities/UpdateSingleStatus/Response.js +3 -0
  33. package/lib/legal/PeopleCapacities/UpdateSingleStatus/Response.js.map +1 -0
  34. package/lib/legal/PeopleCapacities/index.d.ts +11 -0
  35. package/lib/legal/PeopleCapacities/index.js +28 -0
  36. package/lib/legal/PeopleCapacities/index.js.map +1 -0
  37. package/lib/legal/PeopleCapacities/legal.people-capacities.type.d.ts +5 -0
  38. package/lib/legal/PeopleCapacities/legal.people-capacities.type.js +3 -0
  39. package/lib/legal/PeopleCapacities/legal.people-capacities.type.js.map +1 -0
  40. package/lib/legal/index.d.ts +1 -0
  41. package/lib/legal/index.js +18 -0
  42. package/lib/legal/index.js.map +1 -0
  43. package/package.json +1 -1
  44. package/src/index.ts +1 -0
  45. package/src/legal/PeopleCapacities/CreateSingle/Request.ts +3 -0
  46. package/src/legal/PeopleCapacities/CreateSingle/Response.ts +3 -0
  47. package/src/legal/PeopleCapacities/DeleteSingle/Response.ts +3 -0
  48. package/src/legal/PeopleCapacities/GetMany/Request.ts +5 -0
  49. package/src/legal/PeopleCapacities/GetMany/Response.ts +6 -0
  50. package/src/legal/PeopleCapacities/GetSingle/Response.ts +3 -0
  51. package/src/legal/PeopleCapacities/UpdateSingle/Request.ts +4 -0
  52. package/src/legal/PeopleCapacities/UpdateSingle/Response.ts +3 -0
  53. package/src/legal/PeopleCapacities/UpdateSingleStatus/Request.ts +3 -0
  54. package/src/legal/PeopleCapacities/UpdateSingleStatus/Response.ts +3 -0
  55. package/src/legal/PeopleCapacities/index.ts +11 -0
  56. package/src/legal/PeopleCapacities/legal.people-capacities.type.ts +5 -0
  57. package/src/legal/index.ts +1 -0
package/lib/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from './accounting';
2
2
  export * from './auth';
3
3
  export * from './customers';
4
4
  export * from './invoices';
5
+ export * from './legal';
5
6
  export * from './providers';
6
7
  export * from './services';
7
8
  export * from './system';
package/lib/index.js CHANGED
@@ -18,6 +18,7 @@ __exportStar(require("./accounting"), exports);
18
18
  __exportStar(require("./auth"), exports);
19
19
  __exportStar(require("./customers"), exports);
20
20
  __exportStar(require("./invoices"), exports);
21
+ __exportStar(require("./legal"), exports);
21
22
  __exportStar(require("./providers"), exports);
22
23
  __exportStar(require("./services"), exports);
23
24
  __exportStar(require("./system"), exports);
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,yCAAsB;AACtB,8CAA2B;AAC3B,6CAA0B;AAC1B,8CAA2B;AAC3B,6CAA0B;AAC1B,2CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,yCAAsB;AACtB,8CAA2B;AAC3B,6CAA0B;AAC1B,0CAAuB;AACvB,8CAA2B;AAC3B,6CAA0B;AAC1B,2CAAwB"}
@@ -0,0 +1,2 @@
1
+ import { LegalPeopleCapacities } from '../legal.people-capacities.type';
2
+ export type LegalPeopleCapacitiesCreateSingleRequest = Pick<LegalPeopleCapacities, 'name'>;
@@ -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/legal/PeopleCapacities/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type LegalPeopleCapacitiesCreateSingleResponse = 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/legal/PeopleCapacities/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type LegalPeopleCapacitiesDeleteSingleResponse = 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/legal/PeopleCapacities/DeleteSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { GetManyRequest } from '../../../interfaces';
2
+ export type LegalPeopleCapacitiesGetManyRequest = GetManyRequest & {
3
+ active?: boolean;
4
+ };
@@ -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/legal/PeopleCapacities/GetMany/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { GetManyResponse } from '../../../interfaces';
2
+ import { LegalPeopleCapacities } from '../legal.people-capacities.type';
3
+ export type LegalPeopleCapacitiesGetManyResponse = GetManyResponse & {
4
+ data: Array<LegalPeopleCapacities & {
5
+ index: number;
6
+ }>;
7
+ };
@@ -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/legal/PeopleCapacities/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { LegalPeopleCapacities } from '../legal.people-capacities.type';
2
+ export type LegalPeopleCapacitiesGetSingleResponse = LegalPeopleCapacities;
@@ -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/legal/PeopleCapacities/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { LegalPeopleCapacitiesCreateSingleRequest } from '../CreateSingle/Request';
2
+ export type LegalPeopleCapacitiesUpdateSingleRequest = Partial<LegalPeopleCapacitiesCreateSingleRequest>;
@@ -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/legal/PeopleCapacities/UpdateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type LegalPeopleCapacitiesUpdateSingleResponse = 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/legal/PeopleCapacities/UpdateSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type LegalPeopleCapacitiesUpdateSingleStatusRequest = {
2
+ active: boolean;
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/legal/PeopleCapacities/UpdateSingleStatus/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type LegalPeopleCapacitiesUpdateSingleStatusResponse = 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/legal/PeopleCapacities/UpdateSingleStatus/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ export * from './CreateSingle/Request';
2
+ export * from './CreateSingle/Response';
3
+ export * from './DeleteSingle/Response';
4
+ export * from './GetMany/Request';
5
+ export * from './GetMany/Response';
6
+ export * from './GetSingle/Response';
7
+ export * from './UpdateSingle/Request';
8
+ export * from './UpdateSingle/Response';
9
+ export * from './UpdateSingleStatus/Request';
10
+ export * from './UpdateSingleStatus/Response';
11
+ export * from './legal.people-capacities.type';
@@ -0,0 +1,28 @@
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("./CreateSingle/Request"), exports);
18
+ __exportStar(require("./CreateSingle/Response"), exports);
19
+ __exportStar(require("./DeleteSingle/Response"), exports);
20
+ __exportStar(require("./GetMany/Request"), exports);
21
+ __exportStar(require("./GetMany/Response"), exports);
22
+ __exportStar(require("./GetSingle/Response"), exports);
23
+ __exportStar(require("./UpdateSingle/Request"), exports);
24
+ __exportStar(require("./UpdateSingle/Response"), exports);
25
+ __exportStar(require("./UpdateSingleStatus/Request"), exports);
26
+ __exportStar(require("./UpdateSingleStatus/Response"), exports);
27
+ __exportStar(require("./legal.people-capacities.type"), exports);
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/legal/PeopleCapacities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,yDAAsC;AACtC,0DAAuC;AACvC,+DAA4C;AAC5C,gEAA6C;AAC7C,iEAA8C"}
@@ -0,0 +1,5 @@
1
+ export type LegalPeopleCapacities = {
2
+ id: string;
3
+ name: string;
4
+ active: boolean;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=legal.people-capacities.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"legal.people-capacities.type.js","sourceRoot":"","sources":["../../../src/legal/PeopleCapacities/legal.people-capacities.type.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './PeopleCapacities';
@@ -0,0 +1,18 @@
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("./PeopleCapacities"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/legal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.90",
3
+ "version": "0.2.91",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -2,6 +2,7 @@ export * from './accounting'
2
2
  export * from './auth'
3
3
  export * from './customers'
4
4
  export * from './invoices'
5
+ export * from './legal'
5
6
  export * from './providers'
6
7
  export * from './services'
7
8
  export * from './system'
@@ -0,0 +1,3 @@
1
+ import { LegalPeopleCapacities } from '../legal.people-capacities.type'
2
+
3
+ export type LegalPeopleCapacitiesCreateSingleRequest = Pick<LegalPeopleCapacities, 'name'>
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type LegalPeopleCapacitiesCreateSingleResponse = SingleResponse
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type LegalPeopleCapacitiesDeleteSingleResponse = SingleResponse
@@ -0,0 +1,5 @@
1
+ import { GetManyRequest } from '../../../interfaces'
2
+
3
+ export type LegalPeopleCapacitiesGetManyRequest = GetManyRequest & {
4
+ active?: boolean
5
+ }
@@ -0,0 +1,6 @@
1
+ import { GetManyResponse } from '../../../interfaces'
2
+ import { LegalPeopleCapacities } from '../legal.people-capacities.type'
3
+
4
+ export type LegalPeopleCapacitiesGetManyResponse = GetManyResponse & {
5
+ data: Array<LegalPeopleCapacities & { index: number }>
6
+ }
@@ -0,0 +1,3 @@
1
+ import { LegalPeopleCapacities } from '../legal.people-capacities.type'
2
+
3
+ export type LegalPeopleCapacitiesGetSingleResponse = LegalPeopleCapacities
@@ -0,0 +1,4 @@
1
+ import { LegalPeopleCapacitiesCreateSingleRequest } from '../CreateSingle/Request'
2
+
3
+ export type LegalPeopleCapacitiesUpdateSingleRequest =
4
+ Partial<LegalPeopleCapacitiesCreateSingleRequest>
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type LegalPeopleCapacitiesUpdateSingleResponse = SingleResponse
@@ -0,0 +1,3 @@
1
+ export type LegalPeopleCapacitiesUpdateSingleStatusRequest = {
2
+ active: boolean
3
+ }
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type LegalPeopleCapacitiesUpdateSingleStatusResponse = SingleResponse
@@ -0,0 +1,11 @@
1
+ export * from './CreateSingle/Request'
2
+ export * from './CreateSingle/Response'
3
+ export * from './DeleteSingle/Response'
4
+ export * from './GetMany/Request'
5
+ export * from './GetMany/Response'
6
+ export * from './GetSingle/Response'
7
+ export * from './UpdateSingle/Request'
8
+ export * from './UpdateSingle/Response'
9
+ export * from './UpdateSingleStatus/Request'
10
+ export * from './UpdateSingleStatus/Response'
11
+ export * from './legal.people-capacities.type'
@@ -0,0 +1,5 @@
1
+ export type LegalPeopleCapacities = {
2
+ id: string
3
+ name: string
4
+ active: boolean
5
+ }
@@ -0,0 +1 @@
1
+ export * from './PeopleCapacities'