@managemint-solutions/entities 1.0.13 → 1.0.14
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.
package/dist/clients/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UUID } from 'crypto';
|
|
2
2
|
import { UserIdentity } from '../users';
|
|
3
|
-
import {
|
|
3
|
+
import { StatusEntity } from '../status';
|
|
4
4
|
export type ClientIdentity = {
|
|
5
5
|
mms_id: UUID;
|
|
6
6
|
name: string;
|
|
@@ -10,7 +10,7 @@ export type ClientSummary = {
|
|
|
10
10
|
created_at: Date;
|
|
11
11
|
name: string;
|
|
12
12
|
email: string;
|
|
13
|
-
status:
|
|
13
|
+
status: StatusEntity | null;
|
|
14
14
|
created_by: UserIdentity;
|
|
15
15
|
};
|
|
16
16
|
export type ClientEntity = {
|
|
@@ -19,7 +19,7 @@ export type ClientEntity = {
|
|
|
19
19
|
name: string;
|
|
20
20
|
email: string;
|
|
21
21
|
phone: string;
|
|
22
|
-
status:
|
|
22
|
+
status: StatusEntity | null;
|
|
23
23
|
contract_client: boolean;
|
|
24
24
|
contracted_hours: number | null;
|
|
25
25
|
updated_at: Date | null;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StatusEntityTypes } from "../enum";
|
|
2
|
+
export type StatusIdDto = {
|
|
3
|
+
statusId: string;
|
|
4
|
+
};
|
|
5
|
+
export type GetStatusesDto = {
|
|
6
|
+
entity: StatusEntityTypes;
|
|
7
|
+
};
|
|
8
|
+
export type AddStatusDto = {
|
|
9
|
+
label: string;
|
|
10
|
+
colour: string;
|
|
11
|
+
entity: StatusEntityTypes;
|
|
12
|
+
};
|
|
13
|
+
export type UpdateStatusDto = {
|
|
14
|
+
label: string;
|
|
15
|
+
colour: string;
|
|
16
|
+
};
|
package/dist/status/dto/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
// Status DTOs
|
|
1
|
+
export {};
|
package/dist/status/index.d.ts
CHANGED
package/package.json
CHANGED