@awarevue/api-types 1.1.2 → 1.1.3

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.
@@ -0,0 +1,46 @@
1
+ import z from 'zod';
2
+ export declare const sAgreementDto: z.ZodObject<{
3
+ id: z.ZodString;
4
+ displayName: z.ZodString;
5
+ content: z.ZodString;
6
+ createdOn: z.ZodString;
7
+ lastModifiedOn: z.ZodString;
8
+ }, "strip", z.ZodTypeAny, {
9
+ id: string;
10
+ content: string;
11
+ displayName: string;
12
+ createdOn: string;
13
+ lastModifiedOn: string;
14
+ }, {
15
+ id: string;
16
+ content: string;
17
+ displayName: string;
18
+ createdOn: string;
19
+ lastModifiedOn: string;
20
+ }>;
21
+ export declare const sCreateAgreementRequest: z.ZodObject<Omit<{
22
+ id: z.ZodString;
23
+ displayName: z.ZodString;
24
+ content: z.ZodString;
25
+ createdOn: z.ZodString;
26
+ lastModifiedOn: z.ZodString;
27
+ }, "id" | "createdOn" | "lastModifiedOn">, "strip", z.ZodTypeAny, {
28
+ content: string;
29
+ displayName: string;
30
+ }, {
31
+ content: string;
32
+ displayName: string;
33
+ }>;
34
+ export type AgreementDto = z.infer<typeof sAgreementDto>;
35
+ export type CreateAgreementRequest = z.infer<typeof sCreateAgreementRequest>;
36
+ export declare const sUpdateAgreementRequest: z.ZodObject<{
37
+ content: z.ZodOptional<z.ZodString>;
38
+ displayName: z.ZodOptional<z.ZodString>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ content?: string | undefined;
41
+ displayName?: string | undefined;
42
+ }, {
43
+ content?: string | undefined;
44
+ displayName?: string | undefined;
45
+ }>;
46
+ export type UpdateAgreementRequest = z.infer<typeof sUpdateAgreementRequest>;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.sUpdateAgreementRequest = exports.sCreateAgreementRequest = exports.sAgreementDto = void 0;
7
+ const zod_1 = __importDefault(require("zod"));
8
+ exports.sAgreementDto = zod_1.default.object({
9
+ id: zod_1.default.string().uuid(),
10
+ displayName: zod_1.default.string().min(1).max(64),
11
+ content: zod_1.default.string().min(1),
12
+ createdOn: zod_1.default.string().date(),
13
+ lastModifiedOn: zod_1.default.string().date(),
14
+ });
15
+ exports.sCreateAgreementRequest = exports.sAgreementDto.omit({
16
+ id: true,
17
+ createdOn: true,
18
+ lastModifiedOn: true,
19
+ });
20
+ exports.sUpdateAgreementRequest = exports.sCreateAgreementRequest.partial();
@@ -4,3 +4,6 @@ export * from './schedule';
4
4
  export * from './person';
5
5
  export * from './zone';
6
6
  export * from './person-presence';
7
+ export * from './person-type';
8
+ export * from './agreement';
9
+ export * from './person-agreement';
@@ -20,3 +20,6 @@ __exportStar(require("./schedule"), exports);
20
20
  __exportStar(require("./person"), exports);
21
21
  __exportStar(require("./zone"), exports);
22
22
  __exportStar(require("./person-presence"), exports);
23
+ __exportStar(require("./person-type"), exports);
24
+ __exportStar(require("./agreement"), exports);
25
+ __exportStar(require("./person-agreement"), exports);
@@ -0,0 +1,35 @@
1
+ import z from 'zod';
2
+ export declare const sPersonAgeementDto: z.ZodObject<{
3
+ personId: z.ZodString;
4
+ agreementId: z.ZodString;
5
+ agreementImage: z.ZodString;
6
+ createdOn: z.ZodString;
7
+ lastModifiedOn: z.ZodString;
8
+ }, "strip", z.ZodTypeAny, {
9
+ personId: string;
10
+ createdOn: string;
11
+ lastModifiedOn: string;
12
+ agreementId: string;
13
+ agreementImage: string;
14
+ }, {
15
+ personId: string;
16
+ createdOn: string;
17
+ lastModifiedOn: string;
18
+ agreementId: string;
19
+ agreementImage: string;
20
+ }>;
21
+ export type PersonAgreementDto = z.infer<typeof sPersonAgeementDto>;
22
+ export declare const sCreatePersonAgreementRequest: z.ZodObject<{
23
+ personId: z.ZodString;
24
+ agreementId: z.ZodString;
25
+ agreementImage: z.ZodString;
26
+ }, "strip", z.ZodTypeAny, {
27
+ personId: string;
28
+ agreementId: string;
29
+ agreementImage: string;
30
+ }, {
31
+ personId: string;
32
+ agreementId: string;
33
+ agreementImage: string;
34
+ }>;
35
+ export type CreatePersonAgreementRequest = z.infer<typeof sCreatePersonAgreementRequest>;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.sCreatePersonAgreementRequest = exports.sPersonAgeementDto = void 0;
7
+ const zod_1 = __importDefault(require("zod"));
8
+ exports.sPersonAgeementDto = zod_1.default.object({
9
+ personId: zod_1.default.string(),
10
+ agreementId: zod_1.default.string(),
11
+ agreementImage: zod_1.default.string(),
12
+ createdOn: zod_1.default.string().date(),
13
+ lastModifiedOn: zod_1.default.string().date(),
14
+ });
15
+ exports.sCreatePersonAgreementRequest = zod_1.default.object({
16
+ personId: zod_1.default.string(),
17
+ agreementId: zod_1.default.string(),
18
+ agreementImage: zod_1.default.string(),
19
+ });
@@ -4,19 +4,22 @@ export declare const sPresencePersonDto: z.ZodObject<{
4
4
  firstName: z.ZodString;
5
5
  lastName: z.ZodString;
6
6
  avatarId: z.ZodNullable<z.ZodString>;
7
- staffMember: z.ZodBoolean;
7
+ type: z.ZodString;
8
+ position: z.ZodNullable<z.ZodString>;
8
9
  }, "strip", z.ZodTypeAny, {
10
+ type: string;
9
11
  id: string;
12
+ position: string | null;
10
13
  firstName: string;
11
14
  lastName: string;
12
15
  avatarId: string | null;
13
- staffMember: boolean;
14
16
  }, {
17
+ type: string;
15
18
  id: string;
19
+ position: string | null;
16
20
  firstName: string;
17
21
  lastName: string;
18
22
  avatarId: string | null;
19
- staffMember: boolean;
20
23
  }>;
21
24
  export type PresencePersonDto = z.infer<typeof sPresencePersonDto>;
22
25
  export declare const sPresenceZoneDto: z.ZodObject<{
@@ -40,19 +43,22 @@ export declare const sPersonPresenceDto: z.ZodObject<{
40
43
  firstName: z.ZodString;
41
44
  lastName: z.ZodString;
42
45
  avatarId: z.ZodNullable<z.ZodString>;
43
- staffMember: z.ZodBoolean;
46
+ type: z.ZodString;
47
+ position: z.ZodNullable<z.ZodString>;
44
48
  }, "strip", z.ZodTypeAny, {
49
+ type: string;
45
50
  id: string;
51
+ position: string | null;
46
52
  firstName: string;
47
53
  lastName: string;
48
54
  avatarId: string | null;
49
- staffMember: boolean;
50
55
  }, {
56
+ type: string;
51
57
  id: string;
58
+ position: string | null;
52
59
  firstName: string;
53
60
  lastName: string;
54
61
  avatarId: string | null;
55
- staffMember: boolean;
56
62
  }>;
57
63
  zone: z.ZodUnion<[z.ZodObject<{
58
64
  id: z.ZodString;
@@ -71,15 +77,17 @@ export declare const sPersonPresenceDto: z.ZodObject<{
71
77
  onLeave: z.ZodBoolean;
72
78
  lastCheckInOn: z.ZodNullable<z.ZodNumber>;
73
79
  lastCheckOutOn: z.ZodNullable<z.ZodNumber>;
80
+ securityChecked: z.ZodBoolean;
74
81
  }, "strip", z.ZodTypeAny, {
75
82
  id: string;
76
83
  online: boolean | null;
77
84
  person: {
85
+ type: string;
78
86
  id: string;
87
+ position: string | null;
79
88
  firstName: string;
80
89
  lastName: string;
81
90
  avatarId: string | null;
82
- staffMember: boolean;
83
91
  };
84
92
  zone: string | {
85
93
  id: string;
@@ -89,15 +97,17 @@ export declare const sPersonPresenceDto: z.ZodObject<{
89
97
  onLeave: boolean;
90
98
  lastCheckInOn: number | null;
91
99
  lastCheckOutOn: number | null;
100
+ securityChecked: boolean;
92
101
  }, {
93
102
  id: string;
94
103
  online: boolean | null;
95
104
  person: {
105
+ type: string;
96
106
  id: string;
107
+ position: string | null;
97
108
  firstName: string;
98
109
  lastName: string;
99
110
  avatarId: string | null;
100
- staffMember: boolean;
101
111
  };
102
112
  zone: string | {
103
113
  id: string;
@@ -107,6 +117,7 @@ export declare const sPersonPresenceDto: z.ZodObject<{
107
117
  onLeave: boolean;
108
118
  lastCheckInOn: number | null;
109
119
  lastCheckOutOn: number | null;
120
+ securityChecked: boolean;
110
121
  }>;
111
122
  export type PersonPresenceDto = z.infer<typeof sPersonPresenceDto>;
112
123
  export declare const sPersonPresenceActionDto: z.ZodObject<{
@@ -116,19 +127,22 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
116
127
  firstName: z.ZodString;
117
128
  lastName: z.ZodString;
118
129
  avatarId: z.ZodNullable<z.ZodString>;
119
- staffMember: z.ZodBoolean;
130
+ type: z.ZodString;
131
+ position: z.ZodNullable<z.ZodString>;
120
132
  }, "strip", z.ZodTypeAny, {
133
+ type: string;
121
134
  id: string;
135
+ position: string | null;
122
136
  firstName: string;
123
137
  lastName: string;
124
138
  avatarId: string | null;
125
- staffMember: boolean;
126
139
  }, {
140
+ type: string;
127
141
  id: string;
142
+ position: string | null;
128
143
  firstName: string;
129
144
  lastName: string;
130
145
  avatarId: string | null;
131
- staffMember: boolean;
132
146
  }>, z.ZodString]>;
133
147
  zone: z.ZodUnion<[z.ZodObject<{
134
148
  id: z.ZodString;
@@ -150,11 +164,12 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
150
164
  }, "strip", z.ZodTypeAny, {
151
165
  id: string;
152
166
  person: string | {
167
+ type: string;
153
168
  id: string;
169
+ position: string | null;
154
170
  firstName: string;
155
171
  lastName: string;
156
172
  avatarId: string | null;
157
- staffMember: boolean;
158
173
  };
159
174
  zone: string | {
160
175
  id: string;
@@ -168,11 +183,12 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
168
183
  }, {
169
184
  id: string;
170
185
  person: string | {
186
+ type: string;
171
187
  id: string;
188
+ position: string | null;
172
189
  firstName: string;
173
190
  lastName: string;
174
191
  avatarId: string | null;
175
- staffMember: boolean;
176
192
  };
177
193
  zone: string | {
178
194
  id: string;
@@ -7,7 +7,8 @@ exports.sPresencePersonDto = zod_1.z.object({
7
7
  firstName: zod_1.z.string(),
8
8
  lastName: zod_1.z.string(),
9
9
  avatarId: zod_1.z.string().nullable(),
10
- staffMember: zod_1.z.boolean(),
10
+ type: zod_1.z.string().min(1).max(16),
11
+ position: zod_1.z.string().max(128).nullable(),
11
12
  });
12
13
  exports.sPresenceZoneDto = zod_1.z.object({
13
14
  id: zod_1.z.string(),
@@ -24,6 +25,7 @@ exports.sPersonPresenceDto = zod_1.z.object({
24
25
  onLeave: zod_1.z.boolean(),
25
26
  lastCheckInOn: zod_1.z.number().nullable(),
26
27
  lastCheckOutOn: zod_1.z.number().nullable(),
28
+ securityChecked: zod_1.z.boolean(),
27
29
  });
28
30
  exports.sPersonPresenceActionDto = zod_1.z.object({
29
31
  id: zod_1.z.string(),
@@ -0,0 +1,85 @@
1
+ import z from 'zod';
2
+ export declare const sPersonTypeDto: z.ZodObject<{
3
+ id: z.ZodString;
4
+ displayName: z.ZodString;
5
+ accessControlUser: z.ZodBoolean;
6
+ systemUser: z.ZodBoolean;
7
+ agreements: z.ZodArray<z.ZodString, "many">;
8
+ securityCheck: z.ZodBoolean;
9
+ inOnCreation: z.ZodBoolean;
10
+ createdOn: z.ZodString;
11
+ lastModifiedOn: z.ZodString;
12
+ }, "strip", z.ZodTypeAny, {
13
+ id: string;
14
+ displayName: string;
15
+ createdOn: string;
16
+ lastModifiedOn: string;
17
+ agreements: string[];
18
+ accessControlUser: boolean;
19
+ systemUser: boolean;
20
+ securityCheck: boolean;
21
+ inOnCreation: boolean;
22
+ }, {
23
+ id: string;
24
+ displayName: string;
25
+ createdOn: string;
26
+ lastModifiedOn: string;
27
+ agreements: string[];
28
+ accessControlUser: boolean;
29
+ systemUser: boolean;
30
+ securityCheck: boolean;
31
+ inOnCreation: boolean;
32
+ }>;
33
+ export declare const sCreatePersonTypeRequest: z.ZodObject<Omit<{
34
+ id: z.ZodString;
35
+ displayName: z.ZodString;
36
+ accessControlUser: z.ZodBoolean;
37
+ systemUser: z.ZodBoolean;
38
+ agreements: z.ZodArray<z.ZodString, "many">;
39
+ securityCheck: z.ZodBoolean;
40
+ inOnCreation: z.ZodBoolean;
41
+ createdOn: z.ZodString;
42
+ lastModifiedOn: z.ZodString;
43
+ }, "createdOn" | "lastModifiedOn">, "strip", z.ZodTypeAny, {
44
+ id: string;
45
+ displayName: string;
46
+ agreements: string[];
47
+ accessControlUser: boolean;
48
+ systemUser: boolean;
49
+ securityCheck: boolean;
50
+ inOnCreation: boolean;
51
+ }, {
52
+ id: string;
53
+ displayName: string;
54
+ agreements: string[];
55
+ accessControlUser: boolean;
56
+ systemUser: boolean;
57
+ securityCheck: boolean;
58
+ inOnCreation: boolean;
59
+ }>;
60
+ export type PersonTypeDto = z.infer<typeof sPersonTypeDto>;
61
+ export type CreatePersonTypeRequest = z.infer<typeof sCreatePersonTypeRequest>;
62
+ export declare const sUpdatePersonTypeRequest: z.ZodObject<Omit<{
63
+ id: z.ZodOptional<z.ZodString>;
64
+ displayName: z.ZodOptional<z.ZodString>;
65
+ agreements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
66
+ accessControlUser: z.ZodOptional<z.ZodBoolean>;
67
+ systemUser: z.ZodOptional<z.ZodBoolean>;
68
+ securityCheck: z.ZodOptional<z.ZodBoolean>;
69
+ inOnCreation: z.ZodOptional<z.ZodBoolean>;
70
+ }, "id">, "strip", z.ZodTypeAny, {
71
+ displayName?: string | undefined;
72
+ agreements?: string[] | undefined;
73
+ accessControlUser?: boolean | undefined;
74
+ systemUser?: boolean | undefined;
75
+ securityCheck?: boolean | undefined;
76
+ inOnCreation?: boolean | undefined;
77
+ }, {
78
+ displayName?: string | undefined;
79
+ agreements?: string[] | undefined;
80
+ accessControlUser?: boolean | undefined;
81
+ systemUser?: boolean | undefined;
82
+ securityCheck?: boolean | undefined;
83
+ inOnCreation?: boolean | undefined;
84
+ }>;
85
+ export type UpdatePersonTypeRequest = z.infer<typeof sUpdatePersonTypeRequest>;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.sUpdatePersonTypeRequest = exports.sCreatePersonTypeRequest = exports.sPersonTypeDto = void 0;
7
+ const zod_1 = __importDefault(require("zod"));
8
+ exports.sPersonTypeDto = zod_1.default.object({
9
+ id: zod_1.default
10
+ .string()
11
+ .min(1)
12
+ .max(16)
13
+ .regex(/^[a-z-]+$/, 'Type must contain only lowercase letters (a-z) and hyphens'),
14
+ displayName: zod_1.default.string().min(1).max(64),
15
+ accessControlUser: zod_1.default.boolean(),
16
+ systemUser: zod_1.default.boolean(),
17
+ agreements: zod_1.default.array(zod_1.default.string().uuid()),
18
+ securityCheck: zod_1.default.boolean(),
19
+ inOnCreation: zod_1.default.boolean(),
20
+ createdOn: zod_1.default.string().date(),
21
+ lastModifiedOn: zod_1.default.string().date(),
22
+ });
23
+ exports.sCreatePersonTypeRequest = exports.sPersonTypeDto.omit({
24
+ createdOn: true,
25
+ lastModifiedOn: true,
26
+ });
27
+ exports.sUpdatePersonTypeRequest = exports.sCreatePersonTypeRequest
28
+ .partial()
29
+ .omit({ id: true });
@@ -48,7 +48,28 @@ export declare const sPersonDto: z.ZodObject<{
48
48
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
49
49
  refs: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
50
50
  version: z.ZodNumber;
51
+ type: z.ZodString;
52
+ agreements: z.ZodArray<z.ZodObject<{
53
+ personId: z.ZodString;
54
+ agreementId: z.ZodString;
55
+ agreementImage: z.ZodString;
56
+ createdOn: z.ZodString;
57
+ lastModifiedOn: z.ZodString;
58
+ }, "strip", z.ZodTypeAny, {
59
+ personId: string;
60
+ createdOn: string;
61
+ lastModifiedOn: string;
62
+ agreementId: string;
63
+ agreementImage: string;
64
+ }, {
65
+ personId: string;
66
+ createdOn: string;
67
+ lastModifiedOn: string;
68
+ agreementId: string;
69
+ agreementImage: string;
70
+ }>, "many">;
51
71
  }, "strip", z.ZodTypeAny, {
72
+ type: string;
52
73
  id: string;
53
74
  position: string | null;
54
75
  version: number;
@@ -73,7 +94,15 @@ export declare const sPersonDto: z.ZodObject<{
73
94
  displayName: string;
74
95
  }[];
75
96
  customFields: Record<string, string> | null;
97
+ agreements: {
98
+ personId: string;
99
+ createdOn: string;
100
+ lastModifiedOn: string;
101
+ agreementId: string;
102
+ agreementImage: string;
103
+ }[];
76
104
  }, {
105
+ type: string;
77
106
  id: string;
78
107
  position: string | null;
79
108
  version: number;
@@ -98,6 +127,13 @@ export declare const sPersonDto: z.ZodObject<{
98
127
  displayName: string;
99
128
  }[];
100
129
  customFields: Record<string, string> | null;
130
+ agreements: {
131
+ personId: string;
132
+ createdOn: string;
133
+ lastModifiedOn: string;
134
+ agreementId: string;
135
+ agreementImage: string;
136
+ }[];
101
137
  }>;
102
138
  export declare const sCreatePersonRequest: z.ZodObject<{
103
139
  firstName: z.ZodString;
@@ -123,7 +159,9 @@ export declare const sCreatePersonRequest: z.ZodObject<{
123
159
  }>, "many">;
124
160
  accessRules: z.ZodArray<z.ZodString, "many">;
125
161
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
162
+ type: z.ZodString;
126
163
  }, "strip", z.ZodTypeAny, {
164
+ type: string;
127
165
  position: string | null;
128
166
  firstName: string;
129
167
  lastName: string;
@@ -140,6 +178,7 @@ export declare const sCreatePersonRequest: z.ZodObject<{
140
178
  accessRules: string[];
141
179
  customFields: Record<string, string> | null;
142
180
  }, {
181
+ type: string;
143
182
  position: string | null;
144
183
  firstName: string;
145
184
  lastName: string;
@@ -180,8 +219,10 @@ export declare const sUpdatePersonRequest: z.ZodObject<{
180
219
  }>, "many">>;
181
220
  accessRules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
182
221
  customFields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
222
+ type: z.ZodOptional<z.ZodString>;
183
223
  archived: z.ZodOptional<z.ZodBoolean>;
184
224
  }, "strip", z.ZodTypeAny, {
225
+ type?: string | undefined;
185
226
  position?: string | null | undefined;
186
227
  firstName?: string | undefined;
187
228
  lastName?: string | undefined;
@@ -199,6 +240,7 @@ export declare const sUpdatePersonRequest: z.ZodObject<{
199
240
  accessRules?: string[] | undefined;
200
241
  customFields?: Record<string, string> | null | undefined;
201
242
  }, {
243
+ type?: string | undefined;
202
244
  position?: string | null | undefined;
203
245
  firstName?: string | undefined;
204
246
  lastName?: string | undefined;
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.sUpdatePersonRequest = exports.sCreatePersonRequest = exports.sPersonDto = exports.sPersonAccessRule = void 0;
7
7
  const credential_1 = require("./credential");
8
8
  const zod_1 = __importDefault(require("zod"));
9
+ const person_agreement_1 = require("./person-agreement");
9
10
  exports.sPersonAccessRule = zod_1.default.object({
10
11
  id: zod_1.default.string(),
11
12
  displayName: zod_1.default.string(),
@@ -14,7 +15,7 @@ exports.sPersonDto = zod_1.default.object({
14
15
  id: zod_1.default.string(),
15
16
  firstName: zod_1.default.string().min(1).max(64),
16
17
  lastName: zod_1.default.string().min(1).max(64),
17
- position: zod_1.default.string().nullable(),
18
+ position: zod_1.default.string().max(128).nullable(),
18
19
  validFrom: zod_1.default.string().date().nullable(),
19
20
  validTo: zod_1.default.string().date().nullable(),
20
21
  accessSuspended: zod_1.default.boolean(),
@@ -28,6 +29,8 @@ exports.sPersonDto = zod_1.default.object({
28
29
  customFields: zod_1.default.record(zod_1.default.string()).nullable(),
29
30
  refs: zod_1.default.record(zod_1.default.union([zod_1.default.string(), zod_1.default.array(zod_1.default.string())])),
30
31
  version: zod_1.default.number(),
32
+ type: zod_1.default.string().min(1).max(64),
33
+ agreements: zod_1.default.array(person_agreement_1.sPersonAgeementDto),
31
34
  });
32
35
  exports.sCreatePersonRequest = zod_1.default.object({
33
36
  firstName: zod_1.default.string().min(1).max(64),
@@ -41,6 +44,7 @@ exports.sCreatePersonRequest = zod_1.default.object({
41
44
  credentials: zod_1.default.array(credential_1.sAssignedCredential),
42
45
  accessRules: zod_1.default.array(zod_1.default.string().nonempty()),
43
46
  customFields: zod_1.default.record(zod_1.default.string()).nullable(),
47
+ type: zod_1.default.string().min(1).max(16),
44
48
  });
45
49
  exports.sUpdatePersonRequest = exports.sCreatePersonRequest
46
50
  .extend({