@nomalism-com/types 0.9.563 → 0.10.1
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/modules/user/clients/interface.d.ts +6 -6
- package/dist/modules/user/commissioner/interface.d.ts +4 -4
- package/dist/modules/user/contacts/interface.d.ts +4 -4
- package/dist/modules/user/contacts/tests.js +1 -1
- package/dist/modules/user/providers/interface.d.ts +6 -6
- package/dist/modules/user/storeOperator/interface.d.ts +8 -8
- package/dist/modules/user/storeOperator/responseCreate.schema.js +1 -1
- package/dist/modules/user/storeOperator/route.schema.js +2 -2
- package/dist/modules/user/storeOperator/tests.js +11 -11
- package/dist/modules/user/userPermissions/interface.d.ts +2 -2
- package/dist/modules/user/userPermissions/tests.js +2 -2
- package/dist/modules/user/users/interface.d.ts +19 -19
- package/dist/modules/user/users/tests.js +18 -18
- package/dist/shared/entities/user.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6,18 +6,18 @@ export declare const UpperName = "Clients";
|
|
|
6
6
|
export declare const LowerName: string;
|
|
7
7
|
interface IFindDetailedResponse extends Entity {
|
|
8
8
|
user: Users;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
preferential_contact?: (Contacts & {
|
|
10
|
+
contact_type: ContactTypes | null;
|
|
11
11
|
}) | null;
|
|
12
12
|
personas: (Persona & {
|
|
13
13
|
country: Country | null;
|
|
14
14
|
})[];
|
|
15
|
-
|
|
15
|
+
addresses: (Address & {
|
|
16
16
|
country: Country;
|
|
17
17
|
})[];
|
|
18
18
|
exemption_reason: ReasonForExemption | null;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
client_type: ClientType | null;
|
|
20
|
+
segments_area: SegmentsArea | null;
|
|
21
21
|
country: Country | null;
|
|
22
22
|
language: Language | null;
|
|
23
23
|
default_payment_method: PaymentMethods | null;
|
|
@@ -26,7 +26,7 @@ interface IFindDetailedResponse extends Entity {
|
|
|
26
26
|
default_vehicle: Vehicles | null;
|
|
27
27
|
}
|
|
28
28
|
export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
29
|
-
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | '
|
|
29
|
+
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | 'preferential_contact' | 'addresses' | 'personas' | 'exemption_reason' | 'client_type' | 'segments_area' | 'country' | 'language' | 'default_payment_method' | 'default_maturity_date' | 'default_delivery_method' | 'default_vehicle'>;
|
|
30
30
|
export interface IFindRequest {
|
|
31
31
|
number?: number[];
|
|
32
32
|
id?: string[];
|
|
@@ -6,13 +6,13 @@ export declare const UpperName = "Commissioner";
|
|
|
6
6
|
export declare const LowerName: string;
|
|
7
7
|
interface IFindDetailedResponse extends Entity {
|
|
8
8
|
user: Users;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
preferential_contact?: (Contacts & {
|
|
10
|
+
contact_type: ContactTypes | null;
|
|
11
11
|
}) | null;
|
|
12
12
|
personas: (Persona & {
|
|
13
13
|
country: Country | null;
|
|
14
14
|
})[];
|
|
15
|
-
|
|
15
|
+
addresses: (Address & {
|
|
16
16
|
country: Country;
|
|
17
17
|
})[];
|
|
18
18
|
country: Country | null;
|
|
@@ -23,7 +23,7 @@ interface IFindDetailedResponse extends Entity {
|
|
|
23
23
|
default_vehicle: Vehicles | null;
|
|
24
24
|
}
|
|
25
25
|
export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
26
|
-
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | '
|
|
26
|
+
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | 'preferential_Contact' | 'addresses' | 'personas' | 'country' | 'language' | 'default_payment_method' | 'default_maturity_date' | 'default_delivery_method' | 'default_vehicle'>;
|
|
27
27
|
export type IFindRequest = Record<string, unknown>;
|
|
28
28
|
export type IFindResponse = Omit<IFindDetailedResponse, ''>;
|
|
29
29
|
export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
|
|
@@ -6,16 +6,16 @@ export declare const Route = "contacts";
|
|
|
6
6
|
export declare const UpperName = "Contacts";
|
|
7
7
|
export declare const LowerName: string;
|
|
8
8
|
interface IFindDetailedResponse extends Entity {
|
|
9
|
-
|
|
9
|
+
contact_type: ContactTypes | null;
|
|
10
10
|
preferential: boolean;
|
|
11
11
|
}
|
|
12
|
-
export type IFindByIdResponse = Omit<IFindDetailedResponse, '
|
|
12
|
+
export type IFindByIdResponse = Omit<IFindDetailedResponse, 'contact_type'>;
|
|
13
13
|
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
14
14
|
export type IFindRequest = Record<string, unknown>;
|
|
15
|
-
export type IFindResponse = Omit<IFindDetailedResponse, '
|
|
15
|
+
export type IFindResponse = Omit<IFindDetailedResponse, 'contact_type'>;
|
|
16
16
|
export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
|
|
17
17
|
}
|
|
18
|
-
export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, '
|
|
18
|
+
export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, 'contact_type'>>;
|
|
19
19
|
export interface ICreateRequest {
|
|
20
20
|
provider_id?: string | null;
|
|
21
21
|
client_id?: string | null;
|
|
@@ -102,7 +102,7 @@ var findOwnerIdBodyResponsekeys = {
|
|
|
102
102
|
.string()
|
|
103
103
|
.email({ tlds: { allow: false } })
|
|
104
104
|
.required(),
|
|
105
|
-
|
|
105
|
+
contact_type: tests_1.createUpdateDeleteBodyResponse.required(),
|
|
106
106
|
origin_id: joi_1.default.string().allow(null).optional(),
|
|
107
107
|
preferential: joi_1.default.boolean().required(),
|
|
108
108
|
};
|
|
@@ -6,27 +6,27 @@ export declare const UpperName = "Providers";
|
|
|
6
6
|
export declare const LowerName: string;
|
|
7
7
|
interface IFindDetailedResponse extends Entity {
|
|
8
8
|
user: Users;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
preferential_contact?: (Contacts & {
|
|
10
|
+
contact_type: ContactTypes | null;
|
|
11
11
|
}) | null;
|
|
12
12
|
personas: (Persona & {
|
|
13
13
|
country: Country | null;
|
|
14
14
|
})[];
|
|
15
|
-
|
|
15
|
+
addresses: (Address & {
|
|
16
16
|
country: Country;
|
|
17
17
|
})[];
|
|
18
18
|
exemption_reason: ReasonForExemption | null;
|
|
19
19
|
country: Country | null;
|
|
20
20
|
language: Language | null;
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
support_language: Language | null;
|
|
22
|
+
provider_type: ProviderType | null;
|
|
23
23
|
default_payment_method: PaymentMethods | null;
|
|
24
24
|
default_maturity_date: MaturityDates | null;
|
|
25
25
|
default_delivery_method: DeliveryMethods | null;
|
|
26
26
|
default_vehicle: Vehicles | null;
|
|
27
27
|
}
|
|
28
28
|
export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
29
|
-
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | '
|
|
29
|
+
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | 'preferential_contact' | 'addresses' | 'personas' | 'exemption_reason' | 'country' | 'language' | 'support_language' | 'provider_type' | 'default_payment_method' | 'default_maturity_date' | 'default_delivery_method' | 'default_vehicle'>;
|
|
30
30
|
export interface IFindRequest {
|
|
31
31
|
number?: number[];
|
|
32
32
|
id?: string[];
|
|
@@ -6,17 +6,17 @@ export declare const UpperName = "StoreOperator";
|
|
|
6
6
|
export declare const LowerName: string;
|
|
7
7
|
interface IFindDetailedResponse extends Entity {
|
|
8
8
|
user: Users;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
preferential_contact?: (Contacts & {
|
|
10
|
+
contact_type: ContactTypes | null;
|
|
11
11
|
}) | null;
|
|
12
|
-
|
|
12
|
+
addresses: (Address & {
|
|
13
13
|
country: Country;
|
|
14
14
|
})[];
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
support_language: Language | null;
|
|
16
|
+
user_position: UserPositions | null;
|
|
17
17
|
}
|
|
18
18
|
export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
19
|
-
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | '
|
|
19
|
+
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | 'preferential_contact' | 'addresses' | 'support_language' | 'user_position'>;
|
|
20
20
|
export type IFindRequest = Record<string, unknown>;
|
|
21
21
|
export type IFindResponse = Omit<IFindDetailedResponse, ''>;
|
|
22
22
|
export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
|
|
@@ -24,7 +24,7 @@ export interface IFindPaginatedRequest extends IFindRequest, IShared.IPagination
|
|
|
24
24
|
export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, ''>>;
|
|
25
25
|
export interface ICreateRequest {
|
|
26
26
|
user_id: string;
|
|
27
|
-
|
|
27
|
+
user_position_id?: string | null;
|
|
28
28
|
location_id: string;
|
|
29
29
|
internal_email?: string | null;
|
|
30
30
|
support_language_id?: string | null;
|
|
@@ -34,7 +34,7 @@ export interface IUpdateRequest {
|
|
|
34
34
|
inactive?: boolean;
|
|
35
35
|
pin?: string;
|
|
36
36
|
old_pin?: string;
|
|
37
|
-
|
|
37
|
+
user_position_id?: string;
|
|
38
38
|
location_id?: string;
|
|
39
39
|
internal_email?: string | null;
|
|
40
40
|
support_language_id?: string | null;
|
|
@@ -43,7 +43,7 @@ var IShared = __importStar(require("../../../shared/interface"));
|
|
|
43
43
|
var createUpdateDeleteBodyResponseKeys = {
|
|
44
44
|
id: joi_1.default.string().uuid().required(),
|
|
45
45
|
user_id: joi_1.default.string().uuid().required(),
|
|
46
|
-
|
|
46
|
+
user_position_id: joi_1.default.string().uuid().required(),
|
|
47
47
|
location_id: joi_1.default.string().required(),
|
|
48
48
|
internal_email: joi_1.default
|
|
49
49
|
.string()
|
|
@@ -8,7 +8,7 @@ var joi_1 = __importDefault(require("joi"));
|
|
|
8
8
|
var messages_1 = require("../../../shared/messages");
|
|
9
9
|
var createBodyKeys = {
|
|
10
10
|
user_id: joi_1.default.string().uuid().required(),
|
|
11
|
-
|
|
11
|
+
user_position_id: joi_1.default.string().uuid().allow(null).optional(),
|
|
12
12
|
location_id: joi_1.default.string().uuid().required(),
|
|
13
13
|
internal_email: joi_1.default
|
|
14
14
|
.string()
|
|
@@ -32,7 +32,7 @@ var updateBodyKeys = {
|
|
|
32
32
|
.email({ tlds: { allow: false } })
|
|
33
33
|
.optional(),
|
|
34
34
|
location_id: joi_1.default.string().uuid().optional(),
|
|
35
|
-
|
|
35
|
+
user_position_id: joi_1.default.string().uuid().allow(null).optional(),
|
|
36
36
|
support_language_id: joi_1.default.string().uuid().allow(null).optional(),
|
|
37
37
|
preferential_contact_id: joi_1.default.string().uuid().allow(null).optional(),
|
|
38
38
|
};
|
|
@@ -51,7 +51,7 @@ Object.defineProperty(exports, "createUpdateDeleteBodyResponse", { enumerable: t
|
|
|
51
51
|
var findBodyResponseKeys = {
|
|
52
52
|
id: joi_1.default.string().uuid().required(),
|
|
53
53
|
user_id: joi_1.default.string().uuid().required(),
|
|
54
|
-
|
|
54
|
+
user_position_id: joi_1.default.string().uuid().required(),
|
|
55
55
|
location_id: joi_1.default.string().required(),
|
|
56
56
|
internal_email: joi_1.default
|
|
57
57
|
.string()
|
|
@@ -64,13 +64,13 @@ var findBodyResponseKeys = {
|
|
|
64
64
|
pin: joi_1.default.string().required(),
|
|
65
65
|
inactive: joi_1.default.boolean().required(),
|
|
66
66
|
external_id: joi_1.default.string(),
|
|
67
|
-
|
|
67
|
+
addresses: joi_1.default.array().items(responseCreate_schema_2.createUpdateDeleteBodyResponse.keys({
|
|
68
68
|
country: responseCreate_schema_3.createUpdateDeleteBodyResponse.required(),
|
|
69
69
|
})),
|
|
70
70
|
user: responseCreate_schema_4.createUpdateDeleteBodyResponse.required(),
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
preferential_contact: responseCreate_schema_1.createUpdateDeleteBodyResponse.required().allow(null),
|
|
72
|
+
support_language: responseCreate_schema_5.createUpdateDeleteBodyResponse.required().allow(null),
|
|
73
|
+
user_position: responseCreate_schema_6.createUpdateDeleteBodyResponse.required().allow(null),
|
|
74
74
|
origin_id: joi_1.default.string().allow(null).optional(),
|
|
75
75
|
};
|
|
76
76
|
exports.findBodyResponse = joi_1.default
|
|
@@ -80,7 +80,7 @@ exports.findBodyResponse = joi_1.default
|
|
|
80
80
|
var findByIdBodyResponseKeys = {
|
|
81
81
|
id: joi_1.default.string().uuid().required(),
|
|
82
82
|
user_id: joi_1.default.string().uuid().required(),
|
|
83
|
-
|
|
83
|
+
user_position_id: joi_1.default.string().uuid().required(),
|
|
84
84
|
location_id: joi_1.default.string().required(),
|
|
85
85
|
internal_email: joi_1.default
|
|
86
86
|
.string()
|
|
@@ -93,13 +93,13 @@ var findByIdBodyResponseKeys = {
|
|
|
93
93
|
pin: joi_1.default.string().required(),
|
|
94
94
|
inactive: joi_1.default.boolean().required(),
|
|
95
95
|
user: responseCreate_schema_4.createUpdateDeleteBodyResponse.required(),
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
preferential_contact: responseCreate_schema_1.createUpdateDeleteBodyResponse.allow(null),
|
|
97
|
+
addresses: joi_1.default.array().items(responseCreate_schema_2.createUpdateDeleteBodyResponse.keys({
|
|
98
98
|
country: responseCreate_schema_3.createUpdateDeleteBodyResponse.required(),
|
|
99
99
|
})),
|
|
100
100
|
external_id: joi_1.default.string(),
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
support_language: responseCreate_schema_5.createUpdateDeleteBodyResponse.required().allow(null),
|
|
102
|
+
user_position: responseCreate_schema_6.createUpdateDeleteBodyResponse.required().allow(null),
|
|
103
103
|
origin_id: joi_1.default.string().allow(null).optional(),
|
|
104
104
|
};
|
|
105
105
|
exports.findByIdBodyResponse = joi_1.default
|
|
@@ -109,7 +109,7 @@ exports.findByIdBodyResponse = joi_1.default
|
|
|
109
109
|
var findOwnerIdBodyResponsekeys = {
|
|
110
110
|
id: joi_1.default.string().uuid().required(),
|
|
111
111
|
user_id: joi_1.default.string().uuid(),
|
|
112
|
-
|
|
112
|
+
user_position_id: joi_1.default.string().uuid().required(),
|
|
113
113
|
location_id: joi_1.default.string().required(),
|
|
114
114
|
internal_email: joi_1.default
|
|
115
115
|
.string()
|
|
@@ -5,8 +5,8 @@ export declare const Route = "user_permissions";
|
|
|
5
5
|
export declare const UpperName = "UserPermissions";
|
|
6
6
|
export declare const LowerName: string;
|
|
7
7
|
interface IFindDetailedResponse extends Entity {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
group_permission: GroupPermissions;
|
|
9
|
+
permission: Permissions;
|
|
10
10
|
}
|
|
11
11
|
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
12
12
|
export interface ICreateRequest {
|
|
@@ -54,8 +54,8 @@ var findOwnerIdBodyResponsekeys = {
|
|
|
54
54
|
user_id: joi_1.default.string().uuid().required(),
|
|
55
55
|
group_id: joi_1.default.string().uuid().required(),
|
|
56
56
|
permission_id: joi_1.default.string().uuid().required(),
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
group_permission: IGroupPermissions.createUpdateDeleteBodyResponse.required(),
|
|
58
|
+
permission: IPermissions.createUpdateDeleteBodyResponse.required(),
|
|
59
59
|
};
|
|
60
60
|
exports.findOwnerIdBodyResponse = joi_1.default
|
|
61
61
|
.array()
|
|
@@ -8,56 +8,56 @@ interface IFindDetailedResponse extends Entity {
|
|
|
8
8
|
supervisor: Entity | null;
|
|
9
9
|
}
|
|
10
10
|
export interface IFindByEmailResponse extends IFindDetailedResponse {
|
|
11
|
-
|
|
11
|
+
store_operator: {
|
|
12
12
|
location_id: string;
|
|
13
13
|
} | null;
|
|
14
14
|
}
|
|
15
15
|
export interface IFindByIdResponse extends IFindDetailedResponse {
|
|
16
16
|
subordinates: Users[];
|
|
17
|
-
|
|
17
|
+
provider: (Providers & {
|
|
18
18
|
country: Country | null;
|
|
19
19
|
language: Language | null;
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
support_language: Language | null;
|
|
21
|
+
provider_type: ProviderType | null;
|
|
22
22
|
exemption_reason: ReasonForExemption | null;
|
|
23
23
|
default_payment_method: PaymentMethods | null;
|
|
24
24
|
default_maturity_date: MaturityDates | null;
|
|
25
25
|
default_delivery_method: DeliveryMethods | null;
|
|
26
26
|
default_vehicle: Vehicles | null;
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
preferential_contact: (Contacts & {
|
|
28
|
+
contact_type: ContactTypes | null;
|
|
29
29
|
}) | null;
|
|
30
30
|
}) | null;
|
|
31
|
-
|
|
31
|
+
client: (Clients & {
|
|
32
32
|
country: Country | null;
|
|
33
33
|
language: Language | null;
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
segments_area: SegmentsArea | null;
|
|
35
|
+
client_type: ClientType | null;
|
|
36
36
|
exemption_reason: ReasonForExemption | null;
|
|
37
37
|
default_payment_method: PaymentMethods | null;
|
|
38
38
|
default_maturity_date: MaturityDates | null;
|
|
39
39
|
default_delivery_method: DeliveryMethods | null;
|
|
40
40
|
default_vehicle: Vehicles | null;
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
preferential_contact: (Contacts & {
|
|
42
|
+
contact_type: ContactTypes | null;
|
|
43
43
|
}) | null;
|
|
44
44
|
}) | null;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
store_operator: (StoreOperator & {
|
|
46
|
+
user_position: UserPositions | null;
|
|
47
|
+
support_language: Language | null;
|
|
48
|
+
preferential_contact: (Contacts & {
|
|
49
|
+
contact_type: ContactTypes | null;
|
|
50
50
|
}) | null;
|
|
51
51
|
}) | null;
|
|
52
|
-
|
|
52
|
+
commissioner: (Commissioner & {
|
|
53
53
|
country: Country | null;
|
|
54
54
|
language: Language | null;
|
|
55
55
|
default_payment_method: PaymentMethods | null;
|
|
56
56
|
default_maturity_date: MaturityDates | null;
|
|
57
57
|
default_delivery_method: DeliveryMethods | null;
|
|
58
58
|
default_vehicle: Vehicles | null;
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
preferential_contact: (Contacts & {
|
|
60
|
+
contact_type: ContactTypes | null;
|
|
61
61
|
}) | null;
|
|
62
62
|
}) | null;
|
|
63
63
|
}
|
|
@@ -82,14 +82,14 @@ var findByIdBodyResponseKeys = {
|
|
|
82
82
|
.required(),
|
|
83
83
|
password: joi_1.default.string().required(),
|
|
84
84
|
deleted_at: joi_1.default.date().required().allow(null),
|
|
85
|
-
|
|
85
|
+
provider: responseCreate_schema_1.createUpdateDeleteBodyResponse.keys({
|
|
86
86
|
country: responseCreate_schema_2.createUpdateDeleteBodyResponse.required(),
|
|
87
87
|
language: responseCreate_schema_3.createUpdateDeleteBodyResponse.required(),
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
support_language: responseCreate_schema_3.createUpdateDeleteBodyResponse.allow(null).required(),
|
|
89
|
+
provider_type: responseCreate_schema_4.createUpdateDeleteBodyResponse.required(),
|
|
90
90
|
exemption_reason: responseCreate_schema_5.createUpdateDeleteBodyResponse.allow(null).required(),
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
preferential_contact: responseCreate_schema_6.createUpdateDeleteBodyResponse.keys({
|
|
92
|
+
contact_type: responseCreate_schema_7.createUpdateDeleteBodyResponse.required(),
|
|
93
93
|
language: responseCreate_schema_3.createUpdateDeleteBodyResponse.required(),
|
|
94
94
|
})
|
|
95
95
|
.required()
|
|
@@ -97,36 +97,36 @@ var findByIdBodyResponseKeys = {
|
|
|
97
97
|
})
|
|
98
98
|
.required()
|
|
99
99
|
.allow(null),
|
|
100
|
-
|
|
100
|
+
client: responseCreate_schema_8.createUpdateDeleteBodyResponse.keys({
|
|
101
101
|
country: responseCreate_schema_2.createUpdateDeleteBodyResponse.required(),
|
|
102
102
|
language: responseCreate_schema_3.createUpdateDeleteBodyResponse.required(),
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
segments_area: responseCreate_schema_9.createUpdateDeleteBodyResponse.required(),
|
|
104
|
+
client_type: responseCreate_schema_10.createUpdateDeleteBodyResponse.required(),
|
|
105
105
|
exemption_reason: responseCreate_schema_5.createUpdateDeleteBodyResponse.allow(null).required(),
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
preferential_contact: responseCreate_schema_6.createUpdateDeleteBodyResponse.keys({
|
|
107
|
+
contact_type: responseCreate_schema_7.createUpdateDeleteBodyResponse.required(),
|
|
108
108
|
})
|
|
109
109
|
.required()
|
|
110
110
|
.allow(null),
|
|
111
111
|
})
|
|
112
112
|
.required()
|
|
113
113
|
.allow(null),
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
114
|
+
store_operator: responseCreate_schema_11.createUpdateDeleteBodyResponse.keys({
|
|
115
|
+
user_position: responseCreate_schema_12.createUpdateDeleteBodyResponse.required(),
|
|
116
|
+
support_language: responseCreate_schema_3.createUpdateDeleteBodyResponse.allow(null).required(),
|
|
117
|
+
preferential_contact: responseCreate_schema_6.createUpdateDeleteBodyResponse.keys({
|
|
118
|
+
contact_type: responseCreate_schema_7.createUpdateDeleteBodyResponse.required(),
|
|
119
119
|
})
|
|
120
120
|
.required()
|
|
121
121
|
.allow(null),
|
|
122
122
|
})
|
|
123
123
|
.required()
|
|
124
124
|
.allow(null),
|
|
125
|
-
|
|
125
|
+
commissioner: responseCreate_schema_13.createUpdateDeleteBodyResponse.keys({
|
|
126
126
|
country: responseCreate_schema_2.createUpdateDeleteBodyResponse.required(),
|
|
127
127
|
language: responseCreate_schema_3.createUpdateDeleteBodyResponse.required(),
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
preferential_contact: responseCreate_schema_6.createUpdateDeleteBodyResponse.keys({
|
|
129
|
+
contact_type: responseCreate_schema_7.createUpdateDeleteBodyResponse.required(),
|
|
130
130
|
})
|
|
131
131
|
.required()
|
|
132
132
|
.allow(null),
|
|
@@ -301,7 +301,7 @@ export type StoreOperator = {
|
|
|
301
301
|
id: string;
|
|
302
302
|
user_id: string;
|
|
303
303
|
preferential_contact_id: string | null;
|
|
304
|
-
|
|
304
|
+
user_position_id: string | null;
|
|
305
305
|
number: number;
|
|
306
306
|
internal_email: string | null;
|
|
307
307
|
support_language_id: string | null;
|