@dakkitor/api-contracts 1.1.145 → 1.1.147
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/abilities/first-agent.abilities.json +39 -0
- package/dist/abilities/second-agent.abilities.json +36 -0
- package/dist/abilities/team-leads.json +30 -0
- package/dist/actives/actives.contract.d.ts +8606 -8270
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +973 -973
- package/dist/auth/auth.contract.d.ts +12 -12
- package/dist/bookings/bookings.contract.d.ts +12119 -11729
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +4 -6
- package/dist/call-history/call-history.contract.d.ts +620 -620
- package/dist/client-contacts/client-contacts.contract.d.ts +277 -277
- package/dist/clients/clients.contract.d.ts +173 -173
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1868 -1868
- package/dist/collaborations/collaborations.contract.d.ts +1548 -1548
- package/dist/common/common-schemas.d.ts +4 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +9 -7
- package/dist/companies/companies.contract.d.ts +26 -26
- package/dist/crews/crews.contract.d.ts +2549 -0
- package/dist/crews/crews.contract.d.ts.map +1 -0
- package/dist/crews/crews.contract.js +203 -0
- package/dist/cron-executions/cron-executions.contract.d.ts +26 -26
- package/dist/curated-workers/curated-workers.contract.d.ts +517 -517
- package/dist/dashboards/dashboard-widgets.contract.d.ts +66 -66
- package/dist/dashboards/dashboard.contract.d.ts +26 -26
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/jobs/jobs.contract.d.ts +4309 -4309
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +26 -26
- package/dist/lead-assignments/lead-assignments.contract.d.ts +498 -498
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +131 -131
- package/dist/leads/leads.contract.d.ts +184 -184
- package/dist/locations/locations.contract.d.ts +28 -28
- package/dist/own-research/own-research.contract.d.ts +728 -728
- package/dist/users/users.contract.d.ts +154 -154
- package/dist/workers/workers.contract.d.ts +6476 -4566
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +217 -65
- package/package.json +1 -1
|
@@ -38,23 +38,23 @@ export declare const UpsertUserPhoneNumberSchema: z.ZodEffects<z.ZodObject<{
|
|
|
38
38
|
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
id?: string | undefined;
|
|
41
|
-
description?: string | null | undefined;
|
|
42
41
|
phoneNumber?: string | undefined;
|
|
42
|
+
description?: string | null | undefined;
|
|
43
43
|
isPrimary?: boolean | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
id?: string | undefined;
|
|
46
|
-
description?: string | null | undefined;
|
|
47
46
|
phoneNumber?: string | undefined;
|
|
47
|
+
description?: string | null | undefined;
|
|
48
48
|
isPrimary?: boolean | undefined;
|
|
49
49
|
}>, {
|
|
50
50
|
id?: string | undefined;
|
|
51
|
-
description?: string | null | undefined;
|
|
52
51
|
phoneNumber?: string | undefined;
|
|
52
|
+
description?: string | null | undefined;
|
|
53
53
|
isPrimary?: boolean | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
id?: string | undefined;
|
|
56
|
-
description?: string | null | undefined;
|
|
57
56
|
phoneNumber?: string | undefined;
|
|
57
|
+
description?: string | null | undefined;
|
|
58
58
|
isPrimary?: boolean | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
export declare const UserAutocompleteResponseSchema: z.ZodObject<{
|
|
@@ -142,17 +142,17 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
142
142
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
143
143
|
}, "strip", z.ZodTypeAny, {
|
|
144
144
|
id: string;
|
|
145
|
-
updatedAt: string;
|
|
146
|
-
createdAt: string;
|
|
147
|
-
email: string;
|
|
148
145
|
firstName: string;
|
|
149
146
|
lastName: string;
|
|
147
|
+
email: string;
|
|
150
148
|
phoneNumbers: {
|
|
151
149
|
id: string;
|
|
152
150
|
phoneNumber: string;
|
|
153
151
|
isPrimary: boolean;
|
|
154
152
|
description?: string | null | undefined;
|
|
155
153
|
}[];
|
|
154
|
+
createdAt: string;
|
|
155
|
+
updatedAt: string;
|
|
156
156
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
157
157
|
office?: {
|
|
158
158
|
id: string;
|
|
@@ -165,22 +165,22 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
165
165
|
}[] | undefined;
|
|
166
166
|
}, {
|
|
167
167
|
id: string;
|
|
168
|
-
updatedAt: string | Date;
|
|
169
|
-
createdAt: string | Date;
|
|
170
|
-
email: string;
|
|
171
168
|
firstName: string;
|
|
172
169
|
lastName: string;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
name: string;
|
|
177
|
-
} | null | undefined;
|
|
170
|
+
email: string;
|
|
171
|
+
createdAt: string | Date;
|
|
172
|
+
updatedAt: string | Date;
|
|
178
173
|
phoneNumbers?: {
|
|
179
174
|
id: string;
|
|
180
175
|
phoneNumber: string;
|
|
181
176
|
description?: string | null | undefined;
|
|
182
177
|
isPrimary?: boolean | undefined;
|
|
183
178
|
}[] | undefined;
|
|
179
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
180
|
+
office?: {
|
|
181
|
+
id: string;
|
|
182
|
+
name: string;
|
|
183
|
+
} | null | undefined;
|
|
184
184
|
canImpersonateUsers?: {
|
|
185
185
|
id: string;
|
|
186
186
|
firstName: string;
|
|
@@ -216,28 +216,28 @@ export declare const CreateUserSchema: z.ZodObject<{
|
|
|
216
216
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
217
217
|
officeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
218
|
}, "strip", z.ZodTypeAny, {
|
|
219
|
-
email: string;
|
|
220
219
|
firstName: string;
|
|
221
220
|
lastName: string;
|
|
221
|
+
email: string;
|
|
222
222
|
phoneNumbers: {
|
|
223
223
|
phoneNumber: string;
|
|
224
224
|
isPrimary: boolean;
|
|
225
225
|
description?: string | null | undefined;
|
|
226
226
|
}[];
|
|
227
|
-
password?: string | undefined;
|
|
228
227
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
228
|
+
password?: string | undefined;
|
|
229
229
|
officeId?: string | null | undefined;
|
|
230
230
|
}, {
|
|
231
|
-
email: string;
|
|
232
231
|
firstName: string;
|
|
233
232
|
lastName: string;
|
|
233
|
+
email: string;
|
|
234
234
|
phoneNumbers: {
|
|
235
235
|
phoneNumber: string;
|
|
236
236
|
description?: string | null | undefined;
|
|
237
237
|
isPrimary?: boolean | undefined;
|
|
238
238
|
}[];
|
|
239
|
-
password?: string | undefined;
|
|
240
239
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
240
|
+
password?: string | undefined;
|
|
241
241
|
officeId?: string | null | undefined;
|
|
242
242
|
}>;
|
|
243
243
|
export declare const UpdateUserSchema: z.ZodObject<{
|
|
@@ -251,33 +251,33 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
|
251
251
|
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
252
252
|
}, "strip", z.ZodTypeAny, {
|
|
253
253
|
id?: string | undefined;
|
|
254
|
-
description?: string | null | undefined;
|
|
255
254
|
phoneNumber?: string | undefined;
|
|
255
|
+
description?: string | null | undefined;
|
|
256
256
|
isPrimary?: boolean | undefined;
|
|
257
257
|
}, {
|
|
258
258
|
id?: string | undefined;
|
|
259
|
-
description?: string | null | undefined;
|
|
260
259
|
phoneNumber?: string | undefined;
|
|
260
|
+
description?: string | null | undefined;
|
|
261
261
|
isPrimary?: boolean | undefined;
|
|
262
262
|
}>, {
|
|
263
263
|
id?: string | undefined;
|
|
264
|
-
description?: string | null | undefined;
|
|
265
264
|
phoneNumber?: string | undefined;
|
|
265
|
+
description?: string | null | undefined;
|
|
266
266
|
isPrimary?: boolean | undefined;
|
|
267
267
|
}, {
|
|
268
268
|
id?: string | undefined;
|
|
269
|
-
description?: string | null | undefined;
|
|
270
269
|
phoneNumber?: string | undefined;
|
|
270
|
+
description?: string | null | undefined;
|
|
271
271
|
isPrimary?: boolean | undefined;
|
|
272
272
|
}>, "many">, {
|
|
273
273
|
id?: string | undefined;
|
|
274
|
-
description?: string | null | undefined;
|
|
275
274
|
phoneNumber?: string | undefined;
|
|
275
|
+
description?: string | null | undefined;
|
|
276
276
|
isPrimary?: boolean | undefined;
|
|
277
277
|
}[], {
|
|
278
278
|
id?: string | undefined;
|
|
279
|
-
description?: string | null | undefined;
|
|
280
279
|
phoneNumber?: string | undefined;
|
|
280
|
+
description?: string | null | undefined;
|
|
281
281
|
isPrimary?: boolean | undefined;
|
|
282
282
|
}[]>>;
|
|
283
283
|
password: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -285,31 +285,31 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
|
285
285
|
officeId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
286
286
|
canImpersonateUserIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
287
287
|
}, "strip", z.ZodTypeAny, {
|
|
288
|
-
password?: string | undefined;
|
|
289
|
-
email?: string | undefined;
|
|
290
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
291
288
|
firstName?: string | undefined;
|
|
292
289
|
lastName?: string | undefined;
|
|
290
|
+
email?: string | undefined;
|
|
293
291
|
phoneNumbers?: {
|
|
294
292
|
id?: string | undefined;
|
|
295
|
-
description?: string | null | undefined;
|
|
296
293
|
phoneNumber?: string | undefined;
|
|
294
|
+
description?: string | null | undefined;
|
|
297
295
|
isPrimary?: boolean | undefined;
|
|
298
296
|
}[] | undefined;
|
|
297
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
298
|
+
password?: string | undefined;
|
|
299
299
|
officeId?: string | null | undefined;
|
|
300
300
|
canImpersonateUserIds?: string[] | undefined;
|
|
301
301
|
}, {
|
|
302
|
-
password?: string | undefined;
|
|
303
|
-
email?: string | undefined;
|
|
304
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
305
302
|
firstName?: string | undefined;
|
|
306
303
|
lastName?: string | undefined;
|
|
304
|
+
email?: string | undefined;
|
|
307
305
|
phoneNumbers?: {
|
|
308
306
|
id?: string | undefined;
|
|
309
|
-
description?: string | null | undefined;
|
|
310
307
|
phoneNumber?: string | undefined;
|
|
308
|
+
description?: string | null | undefined;
|
|
311
309
|
isPrimary?: boolean | undefined;
|
|
312
310
|
}[] | undefined;
|
|
311
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
312
|
+
password?: string | undefined;
|
|
313
313
|
officeId?: string | null | undefined;
|
|
314
314
|
canImpersonateUserIds?: string[] | undefined;
|
|
315
315
|
}>;
|
|
@@ -334,30 +334,30 @@ export declare const FilterUserSchema: z.ZodObject<{
|
|
|
334
334
|
sortBy: z.ZodOptional<z.ZodEnum<["lastName", "firstName", "email", "createdAt", "office"]>>;
|
|
335
335
|
sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
|
|
336
336
|
}, "strip", z.ZodTypeAny, {
|
|
337
|
-
page: number;
|
|
338
337
|
limit: number;
|
|
339
|
-
|
|
340
|
-
sortBy?: "createdAt" | "email" | "firstName" | "lastName" | "office" | undefined;
|
|
341
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
342
|
-
phone?: string | undefined;
|
|
338
|
+
page: number;
|
|
343
339
|
email?: string | undefined;
|
|
344
340
|
roles?: {
|
|
345
341
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
346
342
|
requireAll?: boolean | undefined;
|
|
347
343
|
} | undefined;
|
|
348
|
-
officeId?: string | undefined;
|
|
349
|
-
}, {
|
|
350
344
|
name?: string | undefined;
|
|
351
|
-
sortBy?: "
|
|
345
|
+
sortBy?: "firstName" | "lastName" | "email" | "office" | "createdAt" | undefined;
|
|
352
346
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
353
|
-
page?: number | undefined;
|
|
354
|
-
limit?: number | undefined;
|
|
355
347
|
phone?: string | undefined;
|
|
348
|
+
officeId?: string | undefined;
|
|
349
|
+
}, {
|
|
356
350
|
email?: string | undefined;
|
|
357
351
|
roles?: {
|
|
358
352
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
359
353
|
requireAll?: unknown;
|
|
360
354
|
} | undefined;
|
|
355
|
+
name?: string | undefined;
|
|
356
|
+
limit?: number | undefined;
|
|
357
|
+
page?: number | undefined;
|
|
358
|
+
sortBy?: "firstName" | "lastName" | "email" | "office" | "createdAt" | undefined;
|
|
359
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
360
|
+
phone?: string | undefined;
|
|
361
361
|
officeId?: string | undefined;
|
|
362
362
|
}>;
|
|
363
363
|
export declare const ProfileSchema: z.ZodObject<{
|
|
@@ -393,15 +393,14 @@ export declare const ProfileSchema: z.ZodObject<{
|
|
|
393
393
|
isPrimary: boolean;
|
|
394
394
|
description?: string | null | undefined;
|
|
395
395
|
}[];
|
|
396
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
397
396
|
firstName?: string | undefined;
|
|
398
397
|
lastName?: string | undefined;
|
|
398
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
399
399
|
impersonatedBy?: string | undefined;
|
|
400
400
|
avatarUrl?: string | undefined;
|
|
401
401
|
}, {
|
|
402
402
|
id: string;
|
|
403
403
|
email: string;
|
|
404
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
405
404
|
firstName?: string | undefined;
|
|
406
405
|
lastName?: string | undefined;
|
|
407
406
|
phoneNumbers?: {
|
|
@@ -410,6 +409,7 @@ export declare const ProfileSchema: z.ZodObject<{
|
|
|
410
409
|
description?: string | null | undefined;
|
|
411
410
|
isPrimary?: boolean | undefined;
|
|
412
411
|
}[] | undefined;
|
|
412
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
413
413
|
impersonatedBy?: string | undefined;
|
|
414
414
|
avatarUrl?: string | undefined;
|
|
415
415
|
}>;
|
|
@@ -480,17 +480,17 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
480
480
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
481
481
|
}, "strip", z.ZodTypeAny, {
|
|
482
482
|
id: string;
|
|
483
|
-
updatedAt: string;
|
|
484
|
-
createdAt: string;
|
|
485
|
-
email: string;
|
|
486
483
|
firstName: string;
|
|
487
484
|
lastName: string;
|
|
485
|
+
email: string;
|
|
488
486
|
phoneNumbers: {
|
|
489
487
|
id: string;
|
|
490
488
|
phoneNumber: string;
|
|
491
489
|
isPrimary: boolean;
|
|
492
490
|
description?: string | null | undefined;
|
|
493
491
|
}[];
|
|
492
|
+
createdAt: string;
|
|
493
|
+
updatedAt: string;
|
|
494
494
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
495
495
|
office?: {
|
|
496
496
|
id: string;
|
|
@@ -503,22 +503,22 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
503
503
|
}[] | undefined;
|
|
504
504
|
}, {
|
|
505
505
|
id: string;
|
|
506
|
-
updatedAt: string | Date;
|
|
507
|
-
createdAt: string | Date;
|
|
508
|
-
email: string;
|
|
509
506
|
firstName: string;
|
|
510
507
|
lastName: string;
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
name: string;
|
|
515
|
-
} | null | undefined;
|
|
508
|
+
email: string;
|
|
509
|
+
createdAt: string | Date;
|
|
510
|
+
updatedAt: string | Date;
|
|
516
511
|
phoneNumbers?: {
|
|
517
512
|
id: string;
|
|
518
513
|
phoneNumber: string;
|
|
519
514
|
description?: string | null | undefined;
|
|
520
515
|
isPrimary?: boolean | undefined;
|
|
521
516
|
}[] | undefined;
|
|
517
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
518
|
+
office?: {
|
|
519
|
+
id: string;
|
|
520
|
+
name: string;
|
|
521
|
+
} | null | undefined;
|
|
522
522
|
canImpersonateUsers?: {
|
|
523
523
|
id: string;
|
|
524
524
|
firstName: string;
|
|
@@ -534,17 +534,17 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
534
534
|
limit: number;
|
|
535
535
|
items: {
|
|
536
536
|
id: string;
|
|
537
|
-
updatedAt: string;
|
|
538
|
-
createdAt: string;
|
|
539
|
-
email: string;
|
|
540
537
|
firstName: string;
|
|
541
538
|
lastName: string;
|
|
539
|
+
email: string;
|
|
542
540
|
phoneNumbers: {
|
|
543
541
|
id: string;
|
|
544
542
|
phoneNumber: string;
|
|
545
543
|
isPrimary: boolean;
|
|
546
544
|
description?: string | null | undefined;
|
|
547
545
|
}[];
|
|
546
|
+
createdAt: string;
|
|
547
|
+
updatedAt: string;
|
|
548
548
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
549
549
|
office?: {
|
|
550
550
|
id: string;
|
|
@@ -564,22 +564,22 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
564
564
|
limit: number;
|
|
565
565
|
items: {
|
|
566
566
|
id: string;
|
|
567
|
-
updatedAt: string | Date;
|
|
568
|
-
createdAt: string | Date;
|
|
569
|
-
email: string;
|
|
570
567
|
firstName: string;
|
|
571
568
|
lastName: string;
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
name: string;
|
|
576
|
-
} | null | undefined;
|
|
569
|
+
email: string;
|
|
570
|
+
createdAt: string | Date;
|
|
571
|
+
updatedAt: string | Date;
|
|
577
572
|
phoneNumbers?: {
|
|
578
573
|
id: string;
|
|
579
574
|
phoneNumber: string;
|
|
580
575
|
description?: string | null | undefined;
|
|
581
576
|
isPrimary?: boolean | undefined;
|
|
582
577
|
}[] | undefined;
|
|
578
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
579
|
+
office?: {
|
|
580
|
+
id: string;
|
|
581
|
+
name: string;
|
|
582
|
+
} | null | undefined;
|
|
583
583
|
canImpersonateUsers?: {
|
|
584
584
|
id: string;
|
|
585
585
|
firstName: string;
|
|
@@ -644,28 +644,28 @@ export declare const usersContract: {
|
|
|
644
644
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
645
645
|
officeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
646
646
|
}, "strip", z.ZodTypeAny, {
|
|
647
|
-
email: string;
|
|
648
647
|
firstName: string;
|
|
649
648
|
lastName: string;
|
|
649
|
+
email: string;
|
|
650
650
|
phoneNumbers: {
|
|
651
651
|
phoneNumber: string;
|
|
652
652
|
isPrimary: boolean;
|
|
653
653
|
description?: string | null | undefined;
|
|
654
654
|
}[];
|
|
655
|
-
password?: string | undefined;
|
|
656
655
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
656
|
+
password?: string | undefined;
|
|
657
657
|
officeId?: string | null | undefined;
|
|
658
658
|
}, {
|
|
659
|
-
email: string;
|
|
660
659
|
firstName: string;
|
|
661
660
|
lastName: string;
|
|
661
|
+
email: string;
|
|
662
662
|
phoneNumbers: {
|
|
663
663
|
phoneNumber: string;
|
|
664
664
|
description?: string | null | undefined;
|
|
665
665
|
isPrimary?: boolean | undefined;
|
|
666
666
|
}[];
|
|
667
|
-
password?: string | undefined;
|
|
668
667
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
668
|
+
password?: string | undefined;
|
|
669
669
|
officeId?: string | null | undefined;
|
|
670
670
|
}>;
|
|
671
671
|
path: "/v2/users";
|
|
@@ -819,17 +819,17 @@ export declare const usersContract: {
|
|
|
819
819
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
820
820
|
}, "strip", z.ZodTypeAny, {
|
|
821
821
|
id: string;
|
|
822
|
-
updatedAt: string;
|
|
823
|
-
createdAt: string;
|
|
824
|
-
email: string;
|
|
825
822
|
firstName: string;
|
|
826
823
|
lastName: string;
|
|
824
|
+
email: string;
|
|
827
825
|
phoneNumbers: {
|
|
828
826
|
id: string;
|
|
829
827
|
phoneNumber: string;
|
|
830
828
|
isPrimary: boolean;
|
|
831
829
|
description?: string | null | undefined;
|
|
832
830
|
}[];
|
|
831
|
+
createdAt: string;
|
|
832
|
+
updatedAt: string;
|
|
833
833
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
834
834
|
office?: {
|
|
835
835
|
id: string;
|
|
@@ -842,22 +842,22 @@ export declare const usersContract: {
|
|
|
842
842
|
}[] | undefined;
|
|
843
843
|
}, {
|
|
844
844
|
id: string;
|
|
845
|
-
updatedAt: string | Date;
|
|
846
|
-
createdAt: string | Date;
|
|
847
|
-
email: string;
|
|
848
845
|
firstName: string;
|
|
849
846
|
lastName: string;
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
name: string;
|
|
854
|
-
} | null | undefined;
|
|
847
|
+
email: string;
|
|
848
|
+
createdAt: string | Date;
|
|
849
|
+
updatedAt: string | Date;
|
|
855
850
|
phoneNumbers?: {
|
|
856
851
|
id: string;
|
|
857
852
|
phoneNumber: string;
|
|
858
853
|
description?: string | null | undefined;
|
|
859
854
|
isPrimary?: boolean | undefined;
|
|
860
855
|
}[] | undefined;
|
|
856
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
857
|
+
office?: {
|
|
858
|
+
id: string;
|
|
859
|
+
name: string;
|
|
860
|
+
} | null | undefined;
|
|
861
861
|
canImpersonateUsers?: {
|
|
862
862
|
id: string;
|
|
863
863
|
firstName: string;
|
|
@@ -913,30 +913,30 @@ export declare const usersContract: {
|
|
|
913
913
|
sortBy: z.ZodOptional<z.ZodEnum<["lastName", "firstName", "email", "createdAt", "office"]>>;
|
|
914
914
|
sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
|
|
915
915
|
}, "strip", z.ZodTypeAny, {
|
|
916
|
-
page: number;
|
|
917
916
|
limit: number;
|
|
918
|
-
|
|
919
|
-
sortBy?: "createdAt" | "email" | "firstName" | "lastName" | "office" | undefined;
|
|
920
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
921
|
-
phone?: string | undefined;
|
|
917
|
+
page: number;
|
|
922
918
|
email?: string | undefined;
|
|
923
919
|
roles?: {
|
|
924
920
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
925
921
|
requireAll?: boolean | undefined;
|
|
926
922
|
} | undefined;
|
|
927
|
-
officeId?: string | undefined;
|
|
928
|
-
}, {
|
|
929
923
|
name?: string | undefined;
|
|
930
|
-
sortBy?: "
|
|
924
|
+
sortBy?: "firstName" | "lastName" | "email" | "office" | "createdAt" | undefined;
|
|
931
925
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
932
|
-
page?: number | undefined;
|
|
933
|
-
limit?: number | undefined;
|
|
934
926
|
phone?: string | undefined;
|
|
927
|
+
officeId?: string | undefined;
|
|
928
|
+
}, {
|
|
935
929
|
email?: string | undefined;
|
|
936
930
|
roles?: {
|
|
937
931
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
938
932
|
requireAll?: unknown;
|
|
939
933
|
} | undefined;
|
|
934
|
+
name?: string | undefined;
|
|
935
|
+
limit?: number | undefined;
|
|
936
|
+
page?: number | undefined;
|
|
937
|
+
sortBy?: "firstName" | "lastName" | "email" | "office" | "createdAt" | undefined;
|
|
938
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
939
|
+
phone?: string | undefined;
|
|
940
940
|
officeId?: string | undefined;
|
|
941
941
|
}>;
|
|
942
942
|
metadata: {
|
|
@@ -1096,17 +1096,17 @@ export declare const usersContract: {
|
|
|
1096
1096
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1097
1097
|
}, "strip", z.ZodTypeAny, {
|
|
1098
1098
|
id: string;
|
|
1099
|
-
updatedAt: string;
|
|
1100
|
-
createdAt: string;
|
|
1101
|
-
email: string;
|
|
1102
1099
|
firstName: string;
|
|
1103
1100
|
lastName: string;
|
|
1101
|
+
email: string;
|
|
1104
1102
|
phoneNumbers: {
|
|
1105
1103
|
id: string;
|
|
1106
1104
|
phoneNumber: string;
|
|
1107
1105
|
isPrimary: boolean;
|
|
1108
1106
|
description?: string | null | undefined;
|
|
1109
1107
|
}[];
|
|
1108
|
+
createdAt: string;
|
|
1109
|
+
updatedAt: string;
|
|
1110
1110
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1111
1111
|
office?: {
|
|
1112
1112
|
id: string;
|
|
@@ -1119,22 +1119,22 @@ export declare const usersContract: {
|
|
|
1119
1119
|
}[] | undefined;
|
|
1120
1120
|
}, {
|
|
1121
1121
|
id: string;
|
|
1122
|
-
updatedAt: string | Date;
|
|
1123
|
-
createdAt: string | Date;
|
|
1124
|
-
email: string;
|
|
1125
1122
|
firstName: string;
|
|
1126
1123
|
lastName: string;
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
name: string;
|
|
1131
|
-
} | null | undefined;
|
|
1124
|
+
email: string;
|
|
1125
|
+
createdAt: string | Date;
|
|
1126
|
+
updatedAt: string | Date;
|
|
1132
1127
|
phoneNumbers?: {
|
|
1133
1128
|
id: string;
|
|
1134
1129
|
phoneNumber: string;
|
|
1135
1130
|
description?: string | null | undefined;
|
|
1136
1131
|
isPrimary?: boolean | undefined;
|
|
1137
1132
|
}[] | undefined;
|
|
1133
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1134
|
+
office?: {
|
|
1135
|
+
id: string;
|
|
1136
|
+
name: string;
|
|
1137
|
+
} | null | undefined;
|
|
1138
1138
|
canImpersonateUsers?: {
|
|
1139
1139
|
id: string;
|
|
1140
1140
|
firstName: string;
|
|
@@ -1150,17 +1150,17 @@ export declare const usersContract: {
|
|
|
1150
1150
|
limit: number;
|
|
1151
1151
|
items: {
|
|
1152
1152
|
id: string;
|
|
1153
|
-
updatedAt: string;
|
|
1154
|
-
createdAt: string;
|
|
1155
|
-
email: string;
|
|
1156
1153
|
firstName: string;
|
|
1157
1154
|
lastName: string;
|
|
1155
|
+
email: string;
|
|
1158
1156
|
phoneNumbers: {
|
|
1159
1157
|
id: string;
|
|
1160
1158
|
phoneNumber: string;
|
|
1161
1159
|
isPrimary: boolean;
|
|
1162
1160
|
description?: string | null | undefined;
|
|
1163
1161
|
}[];
|
|
1162
|
+
createdAt: string;
|
|
1163
|
+
updatedAt: string;
|
|
1164
1164
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1165
1165
|
office?: {
|
|
1166
1166
|
id: string;
|
|
@@ -1180,22 +1180,22 @@ export declare const usersContract: {
|
|
|
1180
1180
|
limit: number;
|
|
1181
1181
|
items: {
|
|
1182
1182
|
id: string;
|
|
1183
|
-
updatedAt: string | Date;
|
|
1184
|
-
createdAt: string | Date;
|
|
1185
|
-
email: string;
|
|
1186
1183
|
firstName: string;
|
|
1187
1184
|
lastName: string;
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
name: string;
|
|
1192
|
-
} | null | undefined;
|
|
1185
|
+
email: string;
|
|
1186
|
+
createdAt: string | Date;
|
|
1187
|
+
updatedAt: string | Date;
|
|
1193
1188
|
phoneNumbers?: {
|
|
1194
1189
|
id: string;
|
|
1195
1190
|
phoneNumber: string;
|
|
1196
1191
|
description?: string | null | undefined;
|
|
1197
1192
|
isPrimary?: boolean | undefined;
|
|
1198
1193
|
}[] | undefined;
|
|
1194
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1195
|
+
office?: {
|
|
1196
|
+
id: string;
|
|
1197
|
+
name: string;
|
|
1198
|
+
} | null | undefined;
|
|
1199
1199
|
canImpersonateUsers?: {
|
|
1200
1200
|
id: string;
|
|
1201
1201
|
firstName: string;
|
|
@@ -1749,15 +1749,14 @@ export declare const usersContract: {
|
|
|
1749
1749
|
isPrimary: boolean;
|
|
1750
1750
|
description?: string | null | undefined;
|
|
1751
1751
|
}[];
|
|
1752
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1753
1752
|
firstName?: string | undefined;
|
|
1754
1753
|
lastName?: string | undefined;
|
|
1754
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1755
1755
|
impersonatedBy?: string | undefined;
|
|
1756
1756
|
avatarUrl?: string | undefined;
|
|
1757
1757
|
}, {
|
|
1758
1758
|
id: string;
|
|
1759
1759
|
email: string;
|
|
1760
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1761
1760
|
firstName?: string | undefined;
|
|
1762
1761
|
lastName?: string | undefined;
|
|
1763
1762
|
phoneNumbers?: {
|
|
@@ -1766,6 +1765,7 @@ export declare const usersContract: {
|
|
|
1766
1765
|
description?: string | null | undefined;
|
|
1767
1766
|
isPrimary?: boolean | undefined;
|
|
1768
1767
|
}[] | undefined;
|
|
1768
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1769
1769
|
impersonatedBy?: string | undefined;
|
|
1770
1770
|
avatarUrl?: string | undefined;
|
|
1771
1771
|
}>;
|
|
@@ -2046,15 +2046,14 @@ export declare const usersContract: {
|
|
|
2046
2046
|
isPrimary: boolean;
|
|
2047
2047
|
description?: string | null | undefined;
|
|
2048
2048
|
}[];
|
|
2049
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2050
2049
|
firstName?: string | undefined;
|
|
2051
2050
|
lastName?: string | undefined;
|
|
2051
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2052
2052
|
impersonatedBy?: string | undefined;
|
|
2053
2053
|
avatarUrl?: string | undefined;
|
|
2054
2054
|
}, {
|
|
2055
2055
|
id: string;
|
|
2056
2056
|
email: string;
|
|
2057
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2058
2057
|
firstName?: string | undefined;
|
|
2059
2058
|
lastName?: string | undefined;
|
|
2060
2059
|
phoneNumbers?: {
|
|
@@ -2063,6 +2062,7 @@ export declare const usersContract: {
|
|
|
2063
2062
|
description?: string | null | undefined;
|
|
2064
2063
|
isPrimary?: boolean | undefined;
|
|
2065
2064
|
}[] | undefined;
|
|
2065
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2066
2066
|
impersonatedBy?: string | undefined;
|
|
2067
2067
|
avatarUrl?: string | undefined;
|
|
2068
2068
|
}>;
|
|
@@ -2257,17 +2257,17 @@ export declare const usersContract: {
|
|
|
2257
2257
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2258
2258
|
}, "strip", z.ZodTypeAny, {
|
|
2259
2259
|
id: string;
|
|
2260
|
-
updatedAt: string;
|
|
2261
|
-
createdAt: string;
|
|
2262
|
-
email: string;
|
|
2263
2260
|
firstName: string;
|
|
2264
2261
|
lastName: string;
|
|
2262
|
+
email: string;
|
|
2265
2263
|
phoneNumbers: {
|
|
2266
2264
|
id: string;
|
|
2267
2265
|
phoneNumber: string;
|
|
2268
2266
|
isPrimary: boolean;
|
|
2269
2267
|
description?: string | null | undefined;
|
|
2270
2268
|
}[];
|
|
2269
|
+
createdAt: string;
|
|
2270
|
+
updatedAt: string;
|
|
2271
2271
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2272
2272
|
office?: {
|
|
2273
2273
|
id: string;
|
|
@@ -2280,22 +2280,22 @@ export declare const usersContract: {
|
|
|
2280
2280
|
}[] | undefined;
|
|
2281
2281
|
}, {
|
|
2282
2282
|
id: string;
|
|
2283
|
-
updatedAt: string | Date;
|
|
2284
|
-
createdAt: string | Date;
|
|
2285
|
-
email: string;
|
|
2286
2283
|
firstName: string;
|
|
2287
2284
|
lastName: string;
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
name: string;
|
|
2292
|
-
} | null | undefined;
|
|
2285
|
+
email: string;
|
|
2286
|
+
createdAt: string | Date;
|
|
2287
|
+
updatedAt: string | Date;
|
|
2293
2288
|
phoneNumbers?: {
|
|
2294
2289
|
id: string;
|
|
2295
2290
|
phoneNumber: string;
|
|
2296
2291
|
description?: string | null | undefined;
|
|
2297
2292
|
isPrimary?: boolean | undefined;
|
|
2298
2293
|
}[] | undefined;
|
|
2294
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2295
|
+
office?: {
|
|
2296
|
+
id: string;
|
|
2297
|
+
name: string;
|
|
2298
|
+
} | null | undefined;
|
|
2299
2299
|
canImpersonateUsers?: {
|
|
2300
2300
|
id: string;
|
|
2301
2301
|
firstName: string;
|
|
@@ -2353,33 +2353,33 @@ export declare const usersContract: {
|
|
|
2353
2353
|
isPrimary: z.ZodOptional<z.ZodBoolean>;
|
|
2354
2354
|
}, "strip", z.ZodTypeAny, {
|
|
2355
2355
|
id?: string | undefined;
|
|
2356
|
-
description?: string | null | undefined;
|
|
2357
2356
|
phoneNumber?: string | undefined;
|
|
2357
|
+
description?: string | null | undefined;
|
|
2358
2358
|
isPrimary?: boolean | undefined;
|
|
2359
2359
|
}, {
|
|
2360
2360
|
id?: string | undefined;
|
|
2361
|
-
description?: string | null | undefined;
|
|
2362
2361
|
phoneNumber?: string | undefined;
|
|
2362
|
+
description?: string | null | undefined;
|
|
2363
2363
|
isPrimary?: boolean | undefined;
|
|
2364
2364
|
}>, {
|
|
2365
2365
|
id?: string | undefined;
|
|
2366
|
-
description?: string | null | undefined;
|
|
2367
2366
|
phoneNumber?: string | undefined;
|
|
2367
|
+
description?: string | null | undefined;
|
|
2368
2368
|
isPrimary?: boolean | undefined;
|
|
2369
2369
|
}, {
|
|
2370
2370
|
id?: string | undefined;
|
|
2371
|
-
description?: string | null | undefined;
|
|
2372
2371
|
phoneNumber?: string | undefined;
|
|
2372
|
+
description?: string | null | undefined;
|
|
2373
2373
|
isPrimary?: boolean | undefined;
|
|
2374
2374
|
}>, "many">, {
|
|
2375
2375
|
id?: string | undefined;
|
|
2376
|
-
description?: string | null | undefined;
|
|
2377
2376
|
phoneNumber?: string | undefined;
|
|
2377
|
+
description?: string | null | undefined;
|
|
2378
2378
|
isPrimary?: boolean | undefined;
|
|
2379
2379
|
}[], {
|
|
2380
2380
|
id?: string | undefined;
|
|
2381
|
-
description?: string | null | undefined;
|
|
2382
2381
|
phoneNumber?: string | undefined;
|
|
2382
|
+
description?: string | null | undefined;
|
|
2383
2383
|
isPrimary?: boolean | undefined;
|
|
2384
2384
|
}[]>>;
|
|
2385
2385
|
password: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2387,31 +2387,31 @@ export declare const usersContract: {
|
|
|
2387
2387
|
officeId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2388
2388
|
canImpersonateUserIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2389
2389
|
}, "strip", z.ZodTypeAny, {
|
|
2390
|
-
password?: string | undefined;
|
|
2391
|
-
email?: string | undefined;
|
|
2392
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2393
2390
|
firstName?: string | undefined;
|
|
2394
2391
|
lastName?: string | undefined;
|
|
2392
|
+
email?: string | undefined;
|
|
2395
2393
|
phoneNumbers?: {
|
|
2396
2394
|
id?: string | undefined;
|
|
2397
|
-
description?: string | null | undefined;
|
|
2398
2395
|
phoneNumber?: string | undefined;
|
|
2396
|
+
description?: string | null | undefined;
|
|
2399
2397
|
isPrimary?: boolean | undefined;
|
|
2400
2398
|
}[] | undefined;
|
|
2399
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2400
|
+
password?: string | undefined;
|
|
2401
2401
|
officeId?: string | null | undefined;
|
|
2402
2402
|
canImpersonateUserIds?: string[] | undefined;
|
|
2403
2403
|
}, {
|
|
2404
|
-
password?: string | undefined;
|
|
2405
|
-
email?: string | undefined;
|
|
2406
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2407
2404
|
firstName?: string | undefined;
|
|
2408
2405
|
lastName?: string | undefined;
|
|
2406
|
+
email?: string | undefined;
|
|
2409
2407
|
phoneNumbers?: {
|
|
2410
2408
|
id?: string | undefined;
|
|
2411
|
-
description?: string | null | undefined;
|
|
2412
2409
|
phoneNumber?: string | undefined;
|
|
2410
|
+
description?: string | null | undefined;
|
|
2413
2411
|
isPrimary?: boolean | undefined;
|
|
2414
2412
|
}[] | undefined;
|
|
2413
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2414
|
+
password?: string | undefined;
|
|
2415
2415
|
officeId?: string | null | undefined;
|
|
2416
2416
|
canImpersonateUserIds?: string[] | undefined;
|
|
2417
2417
|
}>;
|
|
@@ -2566,17 +2566,17 @@ export declare const usersContract: {
|
|
|
2566
2566
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2567
2567
|
}, "strip", z.ZodTypeAny, {
|
|
2568
2568
|
id: string;
|
|
2569
|
-
updatedAt: string;
|
|
2570
|
-
createdAt: string;
|
|
2571
|
-
email: string;
|
|
2572
2569
|
firstName: string;
|
|
2573
2570
|
lastName: string;
|
|
2571
|
+
email: string;
|
|
2574
2572
|
phoneNumbers: {
|
|
2575
2573
|
id: string;
|
|
2576
2574
|
phoneNumber: string;
|
|
2577
2575
|
isPrimary: boolean;
|
|
2578
2576
|
description?: string | null | undefined;
|
|
2579
2577
|
}[];
|
|
2578
|
+
createdAt: string;
|
|
2579
|
+
updatedAt: string;
|
|
2580
2580
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2581
2581
|
office?: {
|
|
2582
2582
|
id: string;
|
|
@@ -2589,22 +2589,22 @@ export declare const usersContract: {
|
|
|
2589
2589
|
}[] | undefined;
|
|
2590
2590
|
}, {
|
|
2591
2591
|
id: string;
|
|
2592
|
-
updatedAt: string | Date;
|
|
2593
|
-
createdAt: string | Date;
|
|
2594
|
-
email: string;
|
|
2595
2592
|
firstName: string;
|
|
2596
2593
|
lastName: string;
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
name: string;
|
|
2601
|
-
} | null | undefined;
|
|
2594
|
+
email: string;
|
|
2595
|
+
createdAt: string | Date;
|
|
2596
|
+
updatedAt: string | Date;
|
|
2602
2597
|
phoneNumbers?: {
|
|
2603
2598
|
id: string;
|
|
2604
2599
|
phoneNumber: string;
|
|
2605
2600
|
description?: string | null | undefined;
|
|
2606
2601
|
isPrimary?: boolean | undefined;
|
|
2607
2602
|
}[] | undefined;
|
|
2603
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2604
|
+
office?: {
|
|
2605
|
+
id: string;
|
|
2606
|
+
name: string;
|
|
2607
|
+
} | null | undefined;
|
|
2608
2608
|
canImpersonateUsers?: {
|
|
2609
2609
|
id: string;
|
|
2610
2610
|
firstName: string;
|