@managemint-solutions/entities 1.1.24 → 1.1.26
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.
|
@@ -6,7 +6,7 @@ export type CreateOrganizationDto = {
|
|
|
6
6
|
org_vat_number?: string | null;
|
|
7
7
|
org_registration_number?: string | null;
|
|
8
8
|
org_email: string;
|
|
9
|
-
org_website?:
|
|
9
|
+
org_website?: string | null;
|
|
10
10
|
org_phone?: string | null;
|
|
11
11
|
org_address_line_1?: string | null;
|
|
12
12
|
org_address_line_2?: string | null;
|
|
@@ -21,7 +21,8 @@ export type CreateOrganizationDto = {
|
|
|
21
21
|
org_billing_state?: string | null;
|
|
22
22
|
org_billing_postal_code?: string | null;
|
|
23
23
|
org_billing_country?: string | null;
|
|
24
|
-
|
|
24
|
+
/** Terms & conditions acceptance — the API refuses anything but `true`. */
|
|
25
|
+
org_consent_given: true;
|
|
25
26
|
org_industry?: string | null;
|
|
26
27
|
org_marketting_consent_given: boolean;
|
|
27
28
|
org_currency: string;
|
|
@@ -58,6 +59,6 @@ export type UpdateOrganizationDto = {
|
|
|
58
59
|
billing_post_code?: string | null;
|
|
59
60
|
billing_country?: string | null;
|
|
60
61
|
industry?: string | null;
|
|
61
|
-
marketing_consent
|
|
62
|
+
marketing_consent?: boolean;
|
|
62
63
|
currency?: string;
|
|
63
64
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EmergencyContactRelationship } from "../enum";
|
|
1
|
+
import { EmergencyContactRelationship, EmploymentType } from "../enum";
|
|
2
2
|
export type UserIdDto = {
|
|
3
3
|
userId: string;
|
|
4
4
|
};
|
|
@@ -6,6 +6,8 @@ export type GetUsersDto = {
|
|
|
6
6
|
search?: string | null;
|
|
7
7
|
page: number;
|
|
8
8
|
page_size: number;
|
|
9
|
+
/** Comma-joined booleans on the wire, e.g. "true,false". Absent = all users. */
|
|
10
|
+
active_in?: string | null;
|
|
9
11
|
};
|
|
10
12
|
export type CreateUserDto = {
|
|
11
13
|
email: string;
|
|
@@ -15,6 +17,8 @@ export type CreateUserDto = {
|
|
|
15
17
|
phone: string | null;
|
|
16
18
|
profile_image: string | null;
|
|
17
19
|
country_code: string;
|
|
20
|
+
/** Pro-rata seat charge idempotency key; omitted for the signup owner. */
|
|
21
|
+
idempotency_key?: string;
|
|
18
22
|
};
|
|
19
23
|
export type UpdateUserDto = {
|
|
20
24
|
name: string;
|
|
@@ -22,7 +26,9 @@ export type UpdateUserDto = {
|
|
|
22
26
|
phone: string;
|
|
23
27
|
country_code: string;
|
|
24
28
|
birthday?: string | null;
|
|
29
|
+
start_date?: string | null;
|
|
25
30
|
end_date?: string | null;
|
|
31
|
+
employment_type?: EmploymentType | null;
|
|
26
32
|
job_title?: string | null;
|
|
27
33
|
manager_id?: string | null;
|
|
28
34
|
social_facebook?: string | null;
|
|
@@ -21,10 +21,6 @@ export type UpdatePermissionsDto = {
|
|
|
21
21
|
read_organizations: boolean;
|
|
22
22
|
update_organizations: boolean;
|
|
23
23
|
create_payments: boolean;
|
|
24
|
-
read_notifications: boolean;
|
|
25
|
-
create_subscriptions: boolean;
|
|
26
|
-
read_subscriptions: boolean;
|
|
27
24
|
update_subscriptions: boolean;
|
|
28
|
-
delete_subscriptions: boolean;
|
|
29
25
|
read_logs: boolean;
|
|
30
26
|
};
|
package/package.json
CHANGED