@openbox/shared-types 0.2.90 → 0.2.92

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 (105) 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/Appointees/CreateSingle/Request.d.ts +2 -0
  5. package/lib/legal/Appointees/CreateSingle/Request.js +3 -0
  6. package/lib/legal/Appointees/CreateSingle/Request.js.map +1 -0
  7. package/lib/legal/Appointees/CreateSingle/Response.d.ts +2 -0
  8. package/lib/legal/Appointees/CreateSingle/Response.js +3 -0
  9. package/lib/legal/Appointees/CreateSingle/Response.js.map +1 -0
  10. package/lib/legal/Appointees/DeleteSingle/Response.d.ts +2 -0
  11. package/lib/legal/Appointees/DeleteSingle/Response.js +3 -0
  12. package/lib/legal/Appointees/DeleteSingle/Response.js.map +1 -0
  13. package/lib/legal/Appointees/GetMany/Request.d.ts +4 -0
  14. package/lib/legal/Appointees/GetMany/Request.js +3 -0
  15. package/lib/legal/Appointees/GetMany/Request.js.map +1 -0
  16. package/lib/legal/Appointees/GetMany/Response.d.ts +7 -0
  17. package/lib/legal/Appointees/GetMany/Response.js +3 -0
  18. package/lib/legal/Appointees/GetMany/Response.js.map +1 -0
  19. package/lib/legal/Appointees/GetSingle/Response.d.ts +2 -0
  20. package/lib/legal/Appointees/GetSingle/Response.js +3 -0
  21. package/lib/legal/Appointees/GetSingle/Response.js.map +1 -0
  22. package/lib/legal/Appointees/UpdateSingle/Request.d.ts +2 -0
  23. package/lib/legal/Appointees/UpdateSingle/Request.js +3 -0
  24. package/lib/legal/Appointees/UpdateSingle/Request.js.map +1 -0
  25. package/lib/legal/Appointees/UpdateSingle/Response.d.ts +2 -0
  26. package/lib/legal/Appointees/UpdateSingle/Response.js +3 -0
  27. package/lib/legal/Appointees/UpdateSingle/Response.js.map +1 -0
  28. package/lib/legal/Appointees/UpdateSingleStatus/Request.d.ts +3 -0
  29. package/lib/legal/Appointees/UpdateSingleStatus/Request.js +3 -0
  30. package/lib/legal/Appointees/UpdateSingleStatus/Request.js.map +1 -0
  31. package/lib/legal/Appointees/UpdateSingleStatus/Response.d.ts +2 -0
  32. package/lib/legal/Appointees/UpdateSingleStatus/Response.js +3 -0
  33. package/lib/legal/Appointees/UpdateSingleStatus/Response.js.map +1 -0
  34. package/lib/legal/Appointees/index.d.ts +11 -0
  35. package/lib/legal/Appointees/index.js +28 -0
  36. package/lib/legal/Appointees/index.js.map +1 -0
  37. package/lib/legal/Appointees/legal.appointees.type.d.ts +5 -0
  38. package/lib/legal/Appointees/legal.appointees.type.js +3 -0
  39. package/lib/legal/Appointees/legal.appointees.type.js.map +1 -0
  40. package/lib/legal/PeopleCapacities/CreateSingle/Request.d.ts +2 -0
  41. package/lib/legal/PeopleCapacities/CreateSingle/Request.js +3 -0
  42. package/lib/legal/PeopleCapacities/CreateSingle/Request.js.map +1 -0
  43. package/lib/legal/PeopleCapacities/CreateSingle/Response.d.ts +2 -0
  44. package/lib/legal/PeopleCapacities/CreateSingle/Response.js +3 -0
  45. package/lib/legal/PeopleCapacities/CreateSingle/Response.js.map +1 -0
  46. package/lib/legal/PeopleCapacities/DeleteSingle/Response.d.ts +2 -0
  47. package/lib/legal/PeopleCapacities/DeleteSingle/Response.js +3 -0
  48. package/lib/legal/PeopleCapacities/DeleteSingle/Response.js.map +1 -0
  49. package/lib/legal/PeopleCapacities/GetMany/Request.d.ts +4 -0
  50. package/lib/legal/PeopleCapacities/GetMany/Request.js +3 -0
  51. package/lib/legal/PeopleCapacities/GetMany/Request.js.map +1 -0
  52. package/lib/legal/PeopleCapacities/GetMany/Response.d.ts +7 -0
  53. package/lib/legal/PeopleCapacities/GetMany/Response.js +3 -0
  54. package/lib/legal/PeopleCapacities/GetMany/Response.js.map +1 -0
  55. package/lib/legal/PeopleCapacities/GetSingle/Response.d.ts +2 -0
  56. package/lib/legal/PeopleCapacities/GetSingle/Response.js +3 -0
  57. package/lib/legal/PeopleCapacities/GetSingle/Response.js.map +1 -0
  58. package/lib/legal/PeopleCapacities/UpdateSingle/Request.d.ts +2 -0
  59. package/lib/legal/PeopleCapacities/UpdateSingle/Request.js +3 -0
  60. package/lib/legal/PeopleCapacities/UpdateSingle/Request.js.map +1 -0
  61. package/lib/legal/PeopleCapacities/UpdateSingle/Response.d.ts +2 -0
  62. package/lib/legal/PeopleCapacities/UpdateSingle/Response.js +3 -0
  63. package/lib/legal/PeopleCapacities/UpdateSingle/Response.js.map +1 -0
  64. package/lib/legal/PeopleCapacities/UpdateSingleStatus/Request.d.ts +3 -0
  65. package/lib/legal/PeopleCapacities/UpdateSingleStatus/Request.js +3 -0
  66. package/lib/legal/PeopleCapacities/UpdateSingleStatus/Request.js.map +1 -0
  67. package/lib/legal/PeopleCapacities/UpdateSingleStatus/Response.d.ts +2 -0
  68. package/lib/legal/PeopleCapacities/UpdateSingleStatus/Response.js +3 -0
  69. package/lib/legal/PeopleCapacities/UpdateSingleStatus/Response.js.map +1 -0
  70. package/lib/legal/PeopleCapacities/index.d.ts +11 -0
  71. package/lib/legal/PeopleCapacities/index.js +28 -0
  72. package/lib/legal/PeopleCapacities/index.js.map +1 -0
  73. package/lib/legal/PeopleCapacities/legal.people-capacities.type.d.ts +5 -0
  74. package/lib/legal/PeopleCapacities/legal.people-capacities.type.js +3 -0
  75. package/lib/legal/PeopleCapacities/legal.people-capacities.type.js.map +1 -0
  76. package/lib/legal/index.d.ts +2 -0
  77. package/lib/legal/index.js +19 -0
  78. package/lib/legal/index.js.map +1 -0
  79. package/package.json +1 -1
  80. package/src/index.ts +1 -0
  81. package/src/legal/Appointees/CreateSingle/Request.ts +3 -0
  82. package/src/legal/Appointees/CreateSingle/Response.ts +3 -0
  83. package/src/legal/Appointees/DeleteSingle/Response.ts +3 -0
  84. package/src/legal/Appointees/GetMany/Request.ts +5 -0
  85. package/src/legal/Appointees/GetMany/Response.ts +6 -0
  86. package/src/legal/Appointees/GetSingle/Response.ts +3 -0
  87. package/src/legal/Appointees/UpdateSingle/Request.ts +3 -0
  88. package/src/legal/Appointees/UpdateSingle/Response.ts +3 -0
  89. package/src/legal/Appointees/UpdateSingleStatus/Request.ts +3 -0
  90. package/src/legal/Appointees/UpdateSingleStatus/Response.ts +3 -0
  91. package/src/legal/Appointees/index.ts +11 -0
  92. package/src/legal/Appointees/legal.appointees.type.ts +5 -0
  93. package/src/legal/PeopleCapacities/CreateSingle/Request.ts +3 -0
  94. package/src/legal/PeopleCapacities/CreateSingle/Response.ts +3 -0
  95. package/src/legal/PeopleCapacities/DeleteSingle/Response.ts +3 -0
  96. package/src/legal/PeopleCapacities/GetMany/Request.ts +5 -0
  97. package/src/legal/PeopleCapacities/GetMany/Response.ts +6 -0
  98. package/src/legal/PeopleCapacities/GetSingle/Response.ts +3 -0
  99. package/src/legal/PeopleCapacities/UpdateSingle/Request.ts +4 -0
  100. package/src/legal/PeopleCapacities/UpdateSingle/Response.ts +3 -0
  101. package/src/legal/PeopleCapacities/UpdateSingleStatus/Request.ts +3 -0
  102. package/src/legal/PeopleCapacities/UpdateSingleStatus/Response.ts +3 -0
  103. package/src/legal/PeopleCapacities/index.ts +11 -0
  104. package/src/legal/PeopleCapacities/legal.people-capacities.type.ts +5 -0
  105. package/src/legal/index.ts +2 -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 { LegalAppointees } from '../legal.appointees.type';
2
+ export type LegalAppointeesCreateSingleRequest = Pick<LegalAppointees, '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/Appointees/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type LegalAppointeesCreateSingleResponse = 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/Appointees/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type LegalAppointeesDeleteSingleResponse = 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/Appointees/DeleteSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { GetManyRequest } from '../../../interfaces';
2
+ export type LegalAppointeesGetManyRequest = 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/Appointees/GetMany/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { GetManyResponse } from '../../../interfaces';
2
+ import { LegalAppointees } from '../legal.appointees.type';
3
+ export type LegalAppointeesGetManyResponse = GetManyResponse & {
4
+ data: Array<LegalAppointees & {
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/Appointees/GetMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { LegalAppointees } from '../legal.appointees.type';
2
+ export type LegalAppointeesGetSingleResponse = LegalAppointees;
@@ -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/Appointees/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { LegalAppointeesCreateSingleRequest } from '../CreateSingle/Request';
2
+ export type LegalAppointeesUpdateSingleRequest = Partial<LegalAppointeesCreateSingleRequest>;
@@ -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/Appointees/UpdateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type LegalAppointeesUpdateSingleResponse = 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/Appointees/UpdateSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type LegalAppointeesUpdateSingleStatusRequest = {
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/Appointees/UpdateSingleStatus/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type LegalAppointeesUpdateSingleStatusResponse = 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/Appointees/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.appointees.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.appointees.type"), exports);
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/legal/Appointees/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,0DAAuC"}
@@ -0,0 +1,5 @@
1
+ export type LegalAppointees = {
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.appointees.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"legal.appointees.type.js","sourceRoot":"","sources":["../../../src/legal/Appointees/legal.appointees.type.ts"],"names":[],"mappings":""}
@@ -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,2 @@
1
+ export * from './Appointees';
2
+ export * from './PeopleCapacities';
@@ -0,0 +1,19 @@
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("./Appointees"), exports);
18
+ __exportStar(require("./PeopleCapacities"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/legal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,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.92",
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 { LegalAppointees } from '../legal.appointees.type'
2
+
3
+ export type LegalAppointeesCreateSingleRequest = Pick<LegalAppointees, 'name'>
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type LegalAppointeesCreateSingleResponse = SingleResponse
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type LegalAppointeesDeleteSingleResponse = SingleResponse
@@ -0,0 +1,5 @@
1
+ import { GetManyRequest } from '../../../interfaces'
2
+
3
+ export type LegalAppointeesGetManyRequest = GetManyRequest & {
4
+ active?: boolean
5
+ }
@@ -0,0 +1,6 @@
1
+ import { GetManyResponse } from '../../../interfaces'
2
+ import { LegalAppointees } from '../legal.appointees.type'
3
+
4
+ export type LegalAppointeesGetManyResponse = GetManyResponse & {
5
+ data: Array<LegalAppointees & { index: number }>
6
+ }
@@ -0,0 +1,3 @@
1
+ import { LegalAppointees } from '../legal.appointees.type'
2
+
3
+ export type LegalAppointeesGetSingleResponse = LegalAppointees
@@ -0,0 +1,3 @@
1
+ import { LegalAppointeesCreateSingleRequest } from '../CreateSingle/Request'
2
+
3
+ export type LegalAppointeesUpdateSingleRequest = Partial<LegalAppointeesCreateSingleRequest>
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type LegalAppointeesUpdateSingleResponse = SingleResponse
@@ -0,0 +1,3 @@
1
+ export type LegalAppointeesUpdateSingleStatusRequest = {
2
+ active: boolean
3
+ }
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type LegalAppointeesUpdateSingleStatusResponse = 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.appointees.type'
@@ -0,0 +1,5 @@
1
+ export type LegalAppointees = {
2
+ id: string
3
+ name: string
4
+ active: boolean
5
+ }
@@ -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,2 @@
1
+ export * from './Appointees'
2
+ export * from './PeopleCapacities'