@dakkitor/api-contracts 1.8.0 → 1.9.2
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/abilities.contract.d.ts +28 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +32 -1
- package/dist/abilities/abilities.contract.spec.js +63 -3
- package/dist/abilities/admin-dashboard.abilities.test.js +1 -0
- package/dist/abilities/automatic-caller.abilities.json +1 -0
- package/dist/abilities/first-agent.abilities.json +14 -0
- package/dist/abilities/interconnection.abilities.json +17 -1
- package/dist/abilities/office-manager.abilities.json +4 -0
- package/dist/abilities/second-agent.abilities.json +48 -1
- package/dist/abilities/worker-curator.abilities.json +17 -1
- package/dist/actives/actives.contract.d.ts +6959 -6547
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1275 -1173
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +102 -102
- package/dist/bookings/backdate-guard.spec.js +24 -32
- package/dist/bookings/bookings.contract.d.ts +9963 -9305
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +2 -16
- package/dist/call-history/call-history.contract.d.ts +1040 -828
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +138 -98
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +18372 -0
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.js +494 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts +2 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.js +357 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts +10 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-dialpad-call.schemas.js +33 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +622 -622
- package/dist/clients/clients.contract.d.ts +289 -289
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3108 -3004
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +2604 -2507
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/common/callback-slots.d.ts +4 -0
- package/dist/common/callback-slots.d.ts.map +1 -0
- package/dist/common/callback-slots.js +20 -0
- package/dist/common/common-schemas.d.ts +10 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +6 -0
- package/dist/companies/companies.contract.d.ts +120 -120
- package/dist/crews/crews.contract.d.ts +278 -278
- package/dist/cron-executions/cron-executions.contract.d.ts +245 -245
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +1 -0
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +3830 -2354
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +73 -7
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +94 -94
- package/dist/curated-worker-leads/contact-history.spec.js +141 -0
- package/dist/curated-worker-leads/job-candidate-cards.spec.js +19 -0
- package/dist/curated-worker-leads/job-candidates.spec.js +179 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +8185 -2106
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +126 -1
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +110 -110
- package/dist/curated-workers/curated-workers.contract.d.ts +2033 -1951
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.contact-history.spec.js +160 -0
- package/dist/dashboards/dashboard-widgets.contract.d.ts +1027 -284
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +46 -1
- package/dist/dashboards/dashboard.contract.d.ts +8 -8
- package/dist/document-intake/document-intake.contract.d.ts +1145 -1145
- package/dist/export-jobs/export-jobs.contract.d.ts +755 -755
- package/dist/exports-events/exports-events.schemas.d.ts +6 -6
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/jobs/jobs.contract.d.ts +8507 -6044
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +95 -2
- package/dist/jobs/jobs.contract.spec.js +231 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +102 -102
- package/dist/lead-assignments/lead-assignments.contract.d.ts +2985 -1139
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.js +102 -2
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts +2 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.d.ts.map +1 -0
- package/dist/lead-assignments/lead-assignments.contract.spec.js +51 -0
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +341 -317
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +282 -282
- package/dist/locations/location-enrichment.contract.spec.d.ts +2 -0
- package/dist/locations/location-enrichment.contract.spec.d.ts.map +1 -0
- package/dist/locations/location-enrichment.contract.spec.js +50 -0
- package/dist/locations/locations.contract.d.ts +132 -98
- package/dist/locations/locations.contract.d.ts.map +1 -1
- package/dist/locations/locations.contract.js +10 -0
- package/dist/notifications/notifications.contract.d.ts +579 -107
- package/dist/notifications/notifications.contract.d.ts.map +1 -1
- package/dist/notifications/notifications.contract.js +36 -2
- package/dist/notifications/notifications.contract.spec.d.ts +2 -0
- package/dist/notifications/notifications.contract.spec.d.ts.map +1 -0
- package/dist/notifications/notifications.contract.spec.js +39 -0
- package/dist/outreach/__tests__/outreach-claim.test.js +33 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +8 -0
- package/dist/outreach/outreach.contract.d.ts +583 -162
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +50 -1
- package/dist/outreach/relay-hub-outreach.contract.d.ts +299 -121
- package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -1
- package/dist/outreach/relay-hub-outreach.contract.js +10 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.js +26 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts +94 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.schemas.js +15 -0
- package/dist/own-research/check-phone-response.spec.d.ts +2 -0
- package/dist/own-research/check-phone-response.spec.d.ts.map +1 -0
- package/dist/own-research/check-phone-response.spec.js +54 -0
- package/dist/own-research/own-research.contract.d.ts +971 -820
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +6 -1
- package/dist/proofs/proofs.contract.d.ts +356 -356
- package/dist/proofs/proofs.dtos.d.ts +148 -148
- package/dist/realtime/job-call-priority-updated.d.ts +18 -0
- package/dist/realtime/job-call-priority-updated.d.ts.map +1 -0
- package/dist/realtime/job-call-priority-updated.js +17 -0
- package/dist/shared/summary-schemas.d.ts +36 -27
- package/dist/shared/summary-schemas.d.ts.map +1 -1
- package/dist/shared/summary-schemas.js +7 -0
- package/dist/sheets-sync/sheets-sync.contract.d.ts +683 -683
- package/dist/user-access-grants/user-access-grants.contract.d.ts +216 -216
- package/dist/users/users.contract.d.ts +365 -336
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +9 -1
- package/dist/users/users.contract.spec.js +39 -0
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +150 -150
- package/dist/workers/workers.contract.d.ts +4505 -4261
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +12 -0
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ export declare const UserRoleSchema: z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_
|
|
|
16
16
|
*/
|
|
17
17
|
export declare const AssignableRolesSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">, ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[], ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[]>, ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[], ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[]>, ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[], ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[]>;
|
|
18
18
|
export declare const UserStatusSchema: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
19
|
+
export declare const DialpadUserIdSchema: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>;
|
|
19
20
|
export declare const UserSortableFieldsSchema: z.ZodEnum<["lastName", "firstName", "email", "createdAt", "office"]>;
|
|
20
21
|
/** Maps sort field values to ability field paths on SortUserSchema. */
|
|
21
22
|
export declare const UserSortFieldMapping: Record<string, string>;
|
|
@@ -150,16 +151,16 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
150
151
|
firstName: string;
|
|
151
152
|
}>, "many">>;
|
|
152
153
|
}, "strip", z.ZodTypeAny, {
|
|
153
|
-
id: string;
|
|
154
154
|
name: string;
|
|
155
|
+
id: string;
|
|
155
156
|
managers?: {
|
|
156
157
|
id: string;
|
|
157
158
|
lastName: string;
|
|
158
159
|
firstName: string;
|
|
159
160
|
}[] | undefined;
|
|
160
161
|
}, {
|
|
161
|
-
id: string;
|
|
162
162
|
name: string;
|
|
163
|
+
id: string;
|
|
163
164
|
managers?: {
|
|
164
165
|
id: string;
|
|
165
166
|
lastName: string;
|
|
@@ -180,15 +181,16 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
180
181
|
firstName: string;
|
|
181
182
|
}>, "many">>;
|
|
182
183
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
184
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
183
185
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
184
186
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
185
187
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
186
188
|
}, "strip", z.ZodTypeAny, {
|
|
187
|
-
status: "ACTIVE" | "INACTIVE";
|
|
188
|
-
id: string;
|
|
189
|
-
updatedAt: string;
|
|
190
|
-
createdAt: string;
|
|
191
189
|
email: string;
|
|
190
|
+
createdAt: string;
|
|
191
|
+
updatedAt: string;
|
|
192
|
+
id: string;
|
|
193
|
+
status: "ACTIVE" | "INACTIVE";
|
|
192
194
|
lastName: string;
|
|
193
195
|
firstName: string;
|
|
194
196
|
phoneNumbers: {
|
|
@@ -200,33 +202,34 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
200
202
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
201
203
|
officeId?: string | null | undefined;
|
|
202
204
|
office?: {
|
|
203
|
-
id: string;
|
|
204
205
|
name: string;
|
|
206
|
+
id: string;
|
|
205
207
|
managers?: {
|
|
206
208
|
id: string;
|
|
207
209
|
lastName: string;
|
|
208
210
|
firstName: string;
|
|
209
211
|
}[] | undefined;
|
|
210
212
|
} | null | undefined;
|
|
213
|
+
deletedAt?: string | null | undefined;
|
|
211
214
|
canImpersonateUsers?: {
|
|
212
215
|
id: string;
|
|
213
216
|
lastName: string;
|
|
214
217
|
firstName: string;
|
|
215
218
|
}[] | undefined;
|
|
216
|
-
|
|
219
|
+
dialpadUserId?: string | null | undefined;
|
|
217
220
|
}, {
|
|
218
|
-
status: "ACTIVE" | "INACTIVE";
|
|
219
|
-
id: string;
|
|
220
|
-
updatedAt: string | Date;
|
|
221
|
-
createdAt: string | Date;
|
|
222
221
|
email: string;
|
|
222
|
+
createdAt: string | Date;
|
|
223
|
+
updatedAt: string | Date;
|
|
224
|
+
id: string;
|
|
225
|
+
status: "ACTIVE" | "INACTIVE";
|
|
223
226
|
lastName: string;
|
|
224
227
|
firstName: string;
|
|
225
228
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
226
229
|
officeId?: string | null | undefined;
|
|
227
230
|
office?: {
|
|
228
|
-
id: string;
|
|
229
231
|
name: string;
|
|
232
|
+
id: string;
|
|
230
233
|
managers?: {
|
|
231
234
|
id: string;
|
|
232
235
|
lastName: string;
|
|
@@ -239,12 +242,13 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
239
242
|
description?: string | null | undefined;
|
|
240
243
|
isPrimary?: boolean | undefined;
|
|
241
244
|
}[] | undefined;
|
|
245
|
+
deletedAt?: string | Date | null | undefined;
|
|
242
246
|
canImpersonateUsers?: {
|
|
243
247
|
id: string;
|
|
244
248
|
lastName: string;
|
|
245
249
|
firstName: string;
|
|
246
250
|
}[] | undefined;
|
|
247
|
-
|
|
251
|
+
dialpadUserId?: string | null | undefined;
|
|
248
252
|
}>;
|
|
249
253
|
export declare const CreateUserSchema: z.ZodObject<{
|
|
250
254
|
firstName: z.ZodString;
|
|
@@ -276,9 +280,9 @@ export declare const CreateUserSchema: z.ZodObject<{
|
|
|
276
280
|
officeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
277
281
|
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE"]>>>;
|
|
278
282
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
status: "ACTIVE" | "INACTIVE";
|
|
280
283
|
password: string;
|
|
281
284
|
email: string;
|
|
285
|
+
status: "ACTIVE" | "INACTIVE";
|
|
282
286
|
lastName: string;
|
|
283
287
|
firstName: string;
|
|
284
288
|
phoneNumbers: {
|
|
@@ -347,10 +351,11 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
|
347
351
|
officeId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
348
352
|
canImpersonateUserIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
349
353
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE"]>>;
|
|
354
|
+
dialpadUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>>;
|
|
350
355
|
}, "strip", z.ZodTypeAny, {
|
|
351
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
352
356
|
password?: string | undefined;
|
|
353
357
|
email?: string | undefined;
|
|
358
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
354
359
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
355
360
|
officeId?: string | null | undefined;
|
|
356
361
|
lastName?: string | undefined;
|
|
@@ -361,11 +366,12 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
|
361
366
|
phoneNumber?: string | undefined;
|
|
362
367
|
isPrimary?: boolean | undefined;
|
|
363
368
|
}[] | undefined;
|
|
369
|
+
dialpadUserId?: string | null | undefined;
|
|
364
370
|
canImpersonateUserIds?: string[] | undefined;
|
|
365
371
|
}, {
|
|
366
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
367
372
|
password?: string | undefined;
|
|
368
373
|
email?: string | undefined;
|
|
374
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
369
375
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
370
376
|
officeId?: string | null | undefined;
|
|
371
377
|
lastName?: string | undefined;
|
|
@@ -376,6 +382,7 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
|
376
382
|
phoneNumber?: string | undefined;
|
|
377
383
|
isPrimary?: boolean | undefined;
|
|
378
384
|
}[] | undefined;
|
|
385
|
+
dialpadUserId?: string | null | undefined;
|
|
379
386
|
canImpersonateUserIds?: string[] | undefined;
|
|
380
387
|
}>;
|
|
381
388
|
export declare const BulkUpdateUserDataSchema: z.ZodObject<{
|
|
@@ -407,19 +414,19 @@ export declare const BatchUpdateUserSchema: z.ZodObject<{
|
|
|
407
414
|
officeId?: string | null | undefined;
|
|
408
415
|
}>;
|
|
409
416
|
}, "strip", z.ZodTypeAny, {
|
|
410
|
-
userIds: string[];
|
|
411
417
|
data: {
|
|
412
418
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
413
419
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
414
420
|
officeId?: string | null | undefined;
|
|
415
421
|
};
|
|
416
|
-
}, {
|
|
417
422
|
userIds: string[];
|
|
423
|
+
}, {
|
|
418
424
|
data: {
|
|
419
425
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
420
426
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
421
427
|
officeId?: string | null | undefined;
|
|
422
428
|
};
|
|
429
|
+
userIds: string[];
|
|
423
430
|
}>;
|
|
424
431
|
export declare const BatchUpdateUserResponseSchema: z.ZodObject<{
|
|
425
432
|
updated: z.ZodNumber;
|
|
@@ -471,55 +478,55 @@ export declare const FilterUserSchema: z.ZodObject<{
|
|
|
471
478
|
field: z.ZodEnum<["lastName", "firstName", "email", "createdAt", "office"]>;
|
|
472
479
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
473
480
|
}, "strip", z.ZodTypeAny, {
|
|
474
|
-
field: "
|
|
481
|
+
field: "email" | "createdAt" | "lastName" | "firstName" | "office";
|
|
475
482
|
order: "ASC" | "DESC";
|
|
476
483
|
}, {
|
|
477
|
-
field: "
|
|
484
|
+
field: "email" | "createdAt" | "lastName" | "firstName" | "office";
|
|
478
485
|
order: "ASC" | "DESC";
|
|
479
486
|
}>, "many">>>;
|
|
480
487
|
}, "strip", z.ZodTypeAny, {
|
|
481
488
|
page: number;
|
|
482
489
|
limit: number;
|
|
483
|
-
|
|
490
|
+
name?: string | undefined;
|
|
491
|
+
email?: string | undefined;
|
|
492
|
+
phone?: string | undefined;
|
|
484
493
|
sort?: {
|
|
485
|
-
field: "
|
|
494
|
+
field: "email" | "createdAt" | "lastName" | "firstName" | "office";
|
|
486
495
|
order: "ASC" | "DESC";
|
|
487
496
|
}[] | null | undefined;
|
|
488
|
-
|
|
489
|
-
updatedAt?: {
|
|
497
|
+
createdAt?: {
|
|
490
498
|
from?: string | null | undefined;
|
|
491
499
|
to?: string | null | undefined;
|
|
492
500
|
} | null | undefined;
|
|
493
|
-
|
|
501
|
+
updatedAt?: {
|
|
494
502
|
from?: string | null | undefined;
|
|
495
503
|
to?: string | null | undefined;
|
|
496
504
|
} | null | undefined;
|
|
497
|
-
|
|
498
|
-
email?: string | undefined;
|
|
505
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
499
506
|
roles?: {
|
|
500
507
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
501
508
|
requireAll?: boolean | undefined;
|
|
502
509
|
} | undefined;
|
|
503
510
|
officeId?: string | undefined;
|
|
504
511
|
}, {
|
|
505
|
-
|
|
512
|
+
name?: string | undefined;
|
|
513
|
+
email?: string | undefined;
|
|
514
|
+
phone?: string | undefined;
|
|
506
515
|
sort?: {
|
|
507
|
-
field: "
|
|
516
|
+
field: "email" | "createdAt" | "lastName" | "firstName" | "office";
|
|
508
517
|
order: "ASC" | "DESC";
|
|
509
518
|
}[] | null | undefined;
|
|
510
|
-
|
|
511
|
-
limit?: number | undefined;
|
|
512
|
-
name?: string | undefined;
|
|
513
|
-
updatedAt?: {
|
|
519
|
+
createdAt?: {
|
|
514
520
|
from?: string | null | undefined;
|
|
515
521
|
to?: string | null | undefined;
|
|
516
522
|
} | null | undefined;
|
|
517
|
-
|
|
523
|
+
updatedAt?: {
|
|
518
524
|
from?: string | null | undefined;
|
|
519
525
|
to?: string | null | undefined;
|
|
520
526
|
} | null | undefined;
|
|
521
|
-
|
|
522
|
-
|
|
527
|
+
page?: number | undefined;
|
|
528
|
+
limit?: number | undefined;
|
|
529
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
523
530
|
roles?: {
|
|
524
531
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
525
532
|
requireAll?: unknown;
|
|
@@ -556,8 +563,8 @@ export declare const ProfileSchema: z.ZodObject<{
|
|
|
556
563
|
telegramUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
557
564
|
telegramLinkedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
558
565
|
}, "strip", z.ZodTypeAny, {
|
|
559
|
-
id: string;
|
|
560
566
|
email: string;
|
|
567
|
+
id: string;
|
|
561
568
|
phoneNumbers: {
|
|
562
569
|
id: string;
|
|
563
570
|
phoneNumber: string;
|
|
@@ -575,8 +582,8 @@ export declare const ProfileSchema: z.ZodObject<{
|
|
|
575
582
|
telegramUsername?: string | null | undefined;
|
|
576
583
|
telegramLinkedAt?: string | null | undefined;
|
|
577
584
|
}, {
|
|
578
|
-
id: string;
|
|
579
585
|
email: string;
|
|
586
|
+
id: string;
|
|
580
587
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
581
588
|
lastName?: string | undefined;
|
|
582
589
|
firstName?: string | undefined;
|
|
@@ -659,16 +666,16 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
659
666
|
firstName: string;
|
|
660
667
|
}>, "many">>;
|
|
661
668
|
}, "strip", z.ZodTypeAny, {
|
|
662
|
-
id: string;
|
|
663
669
|
name: string;
|
|
670
|
+
id: string;
|
|
664
671
|
managers?: {
|
|
665
672
|
id: string;
|
|
666
673
|
lastName: string;
|
|
667
674
|
firstName: string;
|
|
668
675
|
}[] | undefined;
|
|
669
676
|
}, {
|
|
670
|
-
id: string;
|
|
671
677
|
name: string;
|
|
678
|
+
id: string;
|
|
672
679
|
managers?: {
|
|
673
680
|
id: string;
|
|
674
681
|
lastName: string;
|
|
@@ -689,15 +696,16 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
689
696
|
firstName: string;
|
|
690
697
|
}>, "many">>;
|
|
691
698
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
699
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
692
700
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
693
701
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
694
702
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
695
703
|
}, "strip", z.ZodTypeAny, {
|
|
696
|
-
status: "ACTIVE" | "INACTIVE";
|
|
697
|
-
id: string;
|
|
698
|
-
updatedAt: string;
|
|
699
|
-
createdAt: string;
|
|
700
704
|
email: string;
|
|
705
|
+
createdAt: string;
|
|
706
|
+
updatedAt: string;
|
|
707
|
+
id: string;
|
|
708
|
+
status: "ACTIVE" | "INACTIVE";
|
|
701
709
|
lastName: string;
|
|
702
710
|
firstName: string;
|
|
703
711
|
phoneNumbers: {
|
|
@@ -709,33 +717,34 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
709
717
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
710
718
|
officeId?: string | null | undefined;
|
|
711
719
|
office?: {
|
|
712
|
-
id: string;
|
|
713
720
|
name: string;
|
|
721
|
+
id: string;
|
|
714
722
|
managers?: {
|
|
715
723
|
id: string;
|
|
716
724
|
lastName: string;
|
|
717
725
|
firstName: string;
|
|
718
726
|
}[] | undefined;
|
|
719
727
|
} | null | undefined;
|
|
728
|
+
deletedAt?: string | null | undefined;
|
|
720
729
|
canImpersonateUsers?: {
|
|
721
730
|
id: string;
|
|
722
731
|
lastName: string;
|
|
723
732
|
firstName: string;
|
|
724
733
|
}[] | undefined;
|
|
725
|
-
|
|
734
|
+
dialpadUserId?: string | null | undefined;
|
|
726
735
|
}, {
|
|
727
|
-
status: "ACTIVE" | "INACTIVE";
|
|
728
|
-
id: string;
|
|
729
|
-
updatedAt: string | Date;
|
|
730
|
-
createdAt: string | Date;
|
|
731
736
|
email: string;
|
|
737
|
+
createdAt: string | Date;
|
|
738
|
+
updatedAt: string | Date;
|
|
739
|
+
id: string;
|
|
740
|
+
status: "ACTIVE" | "INACTIVE";
|
|
732
741
|
lastName: string;
|
|
733
742
|
firstName: string;
|
|
734
743
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
735
744
|
officeId?: string | null | undefined;
|
|
736
745
|
office?: {
|
|
737
|
-
id: string;
|
|
738
746
|
name: string;
|
|
747
|
+
id: string;
|
|
739
748
|
managers?: {
|
|
740
749
|
id: string;
|
|
741
750
|
lastName: string;
|
|
@@ -748,12 +757,13 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
748
757
|
description?: string | null | undefined;
|
|
749
758
|
isPrimary?: boolean | undefined;
|
|
750
759
|
}[] | undefined;
|
|
760
|
+
deletedAt?: string | Date | null | undefined;
|
|
751
761
|
canImpersonateUsers?: {
|
|
752
762
|
id: string;
|
|
753
763
|
lastName: string;
|
|
754
764
|
firstName: string;
|
|
755
765
|
}[] | undefined;
|
|
756
|
-
|
|
766
|
+
dialpadUserId?: string | null | undefined;
|
|
757
767
|
}>, "many">;
|
|
758
768
|
totalCount: z.ZodNumber;
|
|
759
769
|
limit: z.ZodNumber;
|
|
@@ -763,11 +773,11 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
763
773
|
}, "strip", z.ZodTypeAny, {
|
|
764
774
|
limit: number;
|
|
765
775
|
items: {
|
|
766
|
-
status: "ACTIVE" | "INACTIVE";
|
|
767
|
-
id: string;
|
|
768
|
-
updatedAt: string;
|
|
769
|
-
createdAt: string;
|
|
770
776
|
email: string;
|
|
777
|
+
createdAt: string;
|
|
778
|
+
updatedAt: string;
|
|
779
|
+
id: string;
|
|
780
|
+
status: "ACTIVE" | "INACTIVE";
|
|
771
781
|
lastName: string;
|
|
772
782
|
firstName: string;
|
|
773
783
|
phoneNumbers: {
|
|
@@ -779,20 +789,21 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
779
789
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
780
790
|
officeId?: string | null | undefined;
|
|
781
791
|
office?: {
|
|
782
|
-
id: string;
|
|
783
792
|
name: string;
|
|
793
|
+
id: string;
|
|
784
794
|
managers?: {
|
|
785
795
|
id: string;
|
|
786
796
|
lastName: string;
|
|
787
797
|
firstName: string;
|
|
788
798
|
}[] | undefined;
|
|
789
799
|
} | null | undefined;
|
|
800
|
+
deletedAt?: string | null | undefined;
|
|
790
801
|
canImpersonateUsers?: {
|
|
791
802
|
id: string;
|
|
792
803
|
lastName: string;
|
|
793
804
|
firstName: string;
|
|
794
805
|
}[] | undefined;
|
|
795
|
-
|
|
806
|
+
dialpadUserId?: string | null | undefined;
|
|
796
807
|
}[];
|
|
797
808
|
totalCount: number;
|
|
798
809
|
skip: number;
|
|
@@ -801,18 +812,18 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
801
812
|
}, {
|
|
802
813
|
limit: number;
|
|
803
814
|
items: {
|
|
804
|
-
status: "ACTIVE" | "INACTIVE";
|
|
805
|
-
id: string;
|
|
806
|
-
updatedAt: string | Date;
|
|
807
|
-
createdAt: string | Date;
|
|
808
815
|
email: string;
|
|
816
|
+
createdAt: string | Date;
|
|
817
|
+
updatedAt: string | Date;
|
|
818
|
+
id: string;
|
|
819
|
+
status: "ACTIVE" | "INACTIVE";
|
|
809
820
|
lastName: string;
|
|
810
821
|
firstName: string;
|
|
811
822
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
812
823
|
officeId?: string | null | undefined;
|
|
813
824
|
office?: {
|
|
814
|
-
id: string;
|
|
815
825
|
name: string;
|
|
826
|
+
id: string;
|
|
816
827
|
managers?: {
|
|
817
828
|
id: string;
|
|
818
829
|
lastName: string;
|
|
@@ -825,12 +836,13 @@ export declare const PaginatedUserResponseSchema: z.ZodObject<{
|
|
|
825
836
|
description?: string | null | undefined;
|
|
826
837
|
isPrimary?: boolean | undefined;
|
|
827
838
|
}[] | undefined;
|
|
839
|
+
deletedAt?: string | Date | null | undefined;
|
|
828
840
|
canImpersonateUsers?: {
|
|
829
841
|
id: string;
|
|
830
842
|
lastName: string;
|
|
831
843
|
firstName: string;
|
|
832
844
|
}[] | undefined;
|
|
833
|
-
|
|
845
|
+
dialpadUserId?: string | null | undefined;
|
|
834
846
|
}[];
|
|
835
847
|
totalCount: number;
|
|
836
848
|
skip: number;
|
|
@@ -1024,9 +1036,9 @@ export declare const usersContract: {
|
|
|
1024
1036
|
officeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1025
1037
|
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE"]>>>;
|
|
1026
1038
|
}, "strip", z.ZodTypeAny, {
|
|
1027
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1028
1039
|
password: string;
|
|
1029
1040
|
email: string;
|
|
1041
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1030
1042
|
lastName: string;
|
|
1031
1043
|
firstName: string;
|
|
1032
1044
|
phoneNumbers: {
|
|
@@ -1052,7 +1064,7 @@ export declare const usersContract: {
|
|
|
1052
1064
|
}>;
|
|
1053
1065
|
path: "/v2/users";
|
|
1054
1066
|
responses: {
|
|
1055
|
-
|
|
1067
|
+
401: z.ZodObject<{
|
|
1056
1068
|
statusCode: z.ZodNumber;
|
|
1057
1069
|
message: z.ZodString;
|
|
1058
1070
|
code: z.ZodString;
|
|
@@ -1061,23 +1073,23 @@ export declare const usersContract: {
|
|
|
1061
1073
|
path: z.ZodString;
|
|
1062
1074
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1063
1075
|
}, "strip", z.ZodTypeAny, {
|
|
1064
|
-
message: string;
|
|
1065
1076
|
code: string;
|
|
1066
1077
|
path: string;
|
|
1078
|
+
message: string;
|
|
1067
1079
|
statusCode: number;
|
|
1068
1080
|
timestamp: string;
|
|
1069
1081
|
details?: unknown;
|
|
1070
1082
|
correlationId?: string | undefined;
|
|
1071
1083
|
}, {
|
|
1072
|
-
message: string;
|
|
1073
1084
|
code: string;
|
|
1074
1085
|
path: string;
|
|
1086
|
+
message: string;
|
|
1075
1087
|
statusCode: number;
|
|
1076
1088
|
timestamp: string;
|
|
1077
1089
|
details?: unknown;
|
|
1078
1090
|
correlationId?: string | undefined;
|
|
1079
1091
|
}>;
|
|
1080
|
-
|
|
1092
|
+
400: z.ZodObject<{
|
|
1081
1093
|
statusCode: z.ZodNumber;
|
|
1082
1094
|
message: z.ZodString;
|
|
1083
1095
|
code: z.ZodString;
|
|
@@ -1086,17 +1098,17 @@ export declare const usersContract: {
|
|
|
1086
1098
|
path: z.ZodString;
|
|
1087
1099
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1088
1100
|
}, "strip", z.ZodTypeAny, {
|
|
1089
|
-
message: string;
|
|
1090
1101
|
code: string;
|
|
1091
1102
|
path: string;
|
|
1103
|
+
message: string;
|
|
1092
1104
|
statusCode: number;
|
|
1093
1105
|
timestamp: string;
|
|
1094
1106
|
details?: unknown;
|
|
1095
1107
|
correlationId?: string | undefined;
|
|
1096
1108
|
}, {
|
|
1097
|
-
message: string;
|
|
1098
1109
|
code: string;
|
|
1099
1110
|
path: string;
|
|
1111
|
+
message: string;
|
|
1100
1112
|
statusCode: number;
|
|
1101
1113
|
timestamp: string;
|
|
1102
1114
|
details?: unknown;
|
|
@@ -1111,17 +1123,17 @@ export declare const usersContract: {
|
|
|
1111
1123
|
path: z.ZodString;
|
|
1112
1124
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1113
1125
|
}, "strip", z.ZodTypeAny, {
|
|
1114
|
-
message: string;
|
|
1115
1126
|
code: string;
|
|
1116
1127
|
path: string;
|
|
1128
|
+
message: string;
|
|
1117
1129
|
statusCode: number;
|
|
1118
1130
|
timestamp: string;
|
|
1119
1131
|
details?: unknown;
|
|
1120
1132
|
correlationId?: string | undefined;
|
|
1121
1133
|
}, {
|
|
1122
|
-
message: string;
|
|
1123
1134
|
code: string;
|
|
1124
1135
|
path: string;
|
|
1136
|
+
message: string;
|
|
1125
1137
|
statusCode: number;
|
|
1126
1138
|
timestamp: string;
|
|
1127
1139
|
details?: unknown;
|
|
@@ -1136,17 +1148,17 @@ export declare const usersContract: {
|
|
|
1136
1148
|
path: z.ZodString;
|
|
1137
1149
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1138
1150
|
}, "strip", z.ZodTypeAny, {
|
|
1139
|
-
message: string;
|
|
1140
1151
|
code: string;
|
|
1141
1152
|
path: string;
|
|
1153
|
+
message: string;
|
|
1142
1154
|
statusCode: number;
|
|
1143
1155
|
timestamp: string;
|
|
1144
1156
|
details?: unknown;
|
|
1145
1157
|
correlationId?: string | undefined;
|
|
1146
1158
|
}, {
|
|
1147
|
-
message: string;
|
|
1148
1159
|
code: string;
|
|
1149
1160
|
path: string;
|
|
1161
|
+
message: string;
|
|
1150
1162
|
statusCode: number;
|
|
1151
1163
|
timestamp: string;
|
|
1152
1164
|
details?: unknown;
|
|
@@ -1192,16 +1204,16 @@ export declare const usersContract: {
|
|
|
1192
1204
|
firstName: string;
|
|
1193
1205
|
}>, "many">>;
|
|
1194
1206
|
}, "strip", z.ZodTypeAny, {
|
|
1195
|
-
id: string;
|
|
1196
1207
|
name: string;
|
|
1208
|
+
id: string;
|
|
1197
1209
|
managers?: {
|
|
1198
1210
|
id: string;
|
|
1199
1211
|
lastName: string;
|
|
1200
1212
|
firstName: string;
|
|
1201
1213
|
}[] | undefined;
|
|
1202
1214
|
}, {
|
|
1203
|
-
id: string;
|
|
1204
1215
|
name: string;
|
|
1216
|
+
id: string;
|
|
1205
1217
|
managers?: {
|
|
1206
1218
|
id: string;
|
|
1207
1219
|
lastName: string;
|
|
@@ -1222,15 +1234,16 @@ export declare const usersContract: {
|
|
|
1222
1234
|
firstName: string;
|
|
1223
1235
|
}>, "many">>;
|
|
1224
1236
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1237
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
1225
1238
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1226
1239
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1227
1240
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1228
1241
|
}, "strip", z.ZodTypeAny, {
|
|
1229
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1230
|
-
id: string;
|
|
1231
|
-
updatedAt: string;
|
|
1232
|
-
createdAt: string;
|
|
1233
1242
|
email: string;
|
|
1243
|
+
createdAt: string;
|
|
1244
|
+
updatedAt: string;
|
|
1245
|
+
id: string;
|
|
1246
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1234
1247
|
lastName: string;
|
|
1235
1248
|
firstName: string;
|
|
1236
1249
|
phoneNumbers: {
|
|
@@ -1242,33 +1255,34 @@ export declare const usersContract: {
|
|
|
1242
1255
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1243
1256
|
officeId?: string | null | undefined;
|
|
1244
1257
|
office?: {
|
|
1245
|
-
id: string;
|
|
1246
1258
|
name: string;
|
|
1259
|
+
id: string;
|
|
1247
1260
|
managers?: {
|
|
1248
1261
|
id: string;
|
|
1249
1262
|
lastName: string;
|
|
1250
1263
|
firstName: string;
|
|
1251
1264
|
}[] | undefined;
|
|
1252
1265
|
} | null | undefined;
|
|
1266
|
+
deletedAt?: string | null | undefined;
|
|
1253
1267
|
canImpersonateUsers?: {
|
|
1254
1268
|
id: string;
|
|
1255
1269
|
lastName: string;
|
|
1256
1270
|
firstName: string;
|
|
1257
1271
|
}[] | undefined;
|
|
1258
|
-
|
|
1272
|
+
dialpadUserId?: string | null | undefined;
|
|
1259
1273
|
}, {
|
|
1260
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1261
|
-
id: string;
|
|
1262
|
-
updatedAt: string | Date;
|
|
1263
|
-
createdAt: string | Date;
|
|
1264
1274
|
email: string;
|
|
1275
|
+
createdAt: string | Date;
|
|
1276
|
+
updatedAt: string | Date;
|
|
1277
|
+
id: string;
|
|
1278
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1265
1279
|
lastName: string;
|
|
1266
1280
|
firstName: string;
|
|
1267
1281
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1268
1282
|
officeId?: string | null | undefined;
|
|
1269
1283
|
office?: {
|
|
1270
|
-
id: string;
|
|
1271
1284
|
name: string;
|
|
1285
|
+
id: string;
|
|
1272
1286
|
managers?: {
|
|
1273
1287
|
id: string;
|
|
1274
1288
|
lastName: string;
|
|
@@ -1281,12 +1295,13 @@ export declare const usersContract: {
|
|
|
1281
1295
|
description?: string | null | undefined;
|
|
1282
1296
|
isPrimary?: boolean | undefined;
|
|
1283
1297
|
}[] | undefined;
|
|
1298
|
+
deletedAt?: string | Date | null | undefined;
|
|
1284
1299
|
canImpersonateUsers?: {
|
|
1285
1300
|
id: string;
|
|
1286
1301
|
lastName: string;
|
|
1287
1302
|
firstName: string;
|
|
1288
1303
|
}[] | undefined;
|
|
1289
|
-
|
|
1304
|
+
dialpadUserId?: string | null | undefined;
|
|
1290
1305
|
}>;
|
|
1291
1306
|
409: z.ZodObject<{
|
|
1292
1307
|
message: z.ZodString;
|
|
@@ -1359,55 +1374,55 @@ export declare const usersContract: {
|
|
|
1359
1374
|
field: z.ZodEnum<["lastName", "firstName", "email", "createdAt", "office"]>;
|
|
1360
1375
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
1361
1376
|
}, "strip", z.ZodTypeAny, {
|
|
1362
|
-
field: "
|
|
1377
|
+
field: "email" | "createdAt" | "lastName" | "firstName" | "office";
|
|
1363
1378
|
order: "ASC" | "DESC";
|
|
1364
1379
|
}, {
|
|
1365
|
-
field: "
|
|
1380
|
+
field: "email" | "createdAt" | "lastName" | "firstName" | "office";
|
|
1366
1381
|
order: "ASC" | "DESC";
|
|
1367
1382
|
}>, "many">>>;
|
|
1368
1383
|
}, "strip", z.ZodTypeAny, {
|
|
1369
1384
|
page: number;
|
|
1370
1385
|
limit: number;
|
|
1371
|
-
|
|
1386
|
+
name?: string | undefined;
|
|
1387
|
+
email?: string | undefined;
|
|
1388
|
+
phone?: string | undefined;
|
|
1372
1389
|
sort?: {
|
|
1373
|
-
field: "
|
|
1390
|
+
field: "email" | "createdAt" | "lastName" | "firstName" | "office";
|
|
1374
1391
|
order: "ASC" | "DESC";
|
|
1375
1392
|
}[] | null | undefined;
|
|
1376
|
-
|
|
1377
|
-
updatedAt?: {
|
|
1393
|
+
createdAt?: {
|
|
1378
1394
|
from?: string | null | undefined;
|
|
1379
1395
|
to?: string | null | undefined;
|
|
1380
1396
|
} | null | undefined;
|
|
1381
|
-
|
|
1397
|
+
updatedAt?: {
|
|
1382
1398
|
from?: string | null | undefined;
|
|
1383
1399
|
to?: string | null | undefined;
|
|
1384
1400
|
} | null | undefined;
|
|
1385
|
-
|
|
1386
|
-
email?: string | undefined;
|
|
1401
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1387
1402
|
roles?: {
|
|
1388
1403
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1389
1404
|
requireAll?: boolean | undefined;
|
|
1390
1405
|
} | undefined;
|
|
1391
1406
|
officeId?: string | undefined;
|
|
1392
1407
|
}, {
|
|
1393
|
-
|
|
1408
|
+
name?: string | undefined;
|
|
1409
|
+
email?: string | undefined;
|
|
1410
|
+
phone?: string | undefined;
|
|
1394
1411
|
sort?: {
|
|
1395
|
-
field: "
|
|
1412
|
+
field: "email" | "createdAt" | "lastName" | "firstName" | "office";
|
|
1396
1413
|
order: "ASC" | "DESC";
|
|
1397
1414
|
}[] | null | undefined;
|
|
1398
|
-
|
|
1399
|
-
limit?: number | undefined;
|
|
1400
|
-
name?: string | undefined;
|
|
1401
|
-
updatedAt?: {
|
|
1415
|
+
createdAt?: {
|
|
1402
1416
|
from?: string | null | undefined;
|
|
1403
1417
|
to?: string | null | undefined;
|
|
1404
1418
|
} | null | undefined;
|
|
1405
|
-
|
|
1419
|
+
updatedAt?: {
|
|
1406
1420
|
from?: string | null | undefined;
|
|
1407
1421
|
to?: string | null | undefined;
|
|
1408
1422
|
} | null | undefined;
|
|
1409
|
-
|
|
1410
|
-
|
|
1423
|
+
page?: number | undefined;
|
|
1424
|
+
limit?: number | undefined;
|
|
1425
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1411
1426
|
roles?: {
|
|
1412
1427
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1413
1428
|
requireAll?: unknown;
|
|
@@ -1421,7 +1436,7 @@ export declare const usersContract: {
|
|
|
1421
1436
|
method: "GET";
|
|
1422
1437
|
path: "/v2/users";
|
|
1423
1438
|
responses: {
|
|
1424
|
-
|
|
1439
|
+
401: z.ZodObject<{
|
|
1425
1440
|
statusCode: z.ZodNumber;
|
|
1426
1441
|
message: z.ZodString;
|
|
1427
1442
|
code: z.ZodString;
|
|
@@ -1430,23 +1445,23 @@ export declare const usersContract: {
|
|
|
1430
1445
|
path: z.ZodString;
|
|
1431
1446
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1432
1447
|
}, "strip", z.ZodTypeAny, {
|
|
1433
|
-
message: string;
|
|
1434
1448
|
code: string;
|
|
1435
1449
|
path: string;
|
|
1450
|
+
message: string;
|
|
1436
1451
|
statusCode: number;
|
|
1437
1452
|
timestamp: string;
|
|
1438
1453
|
details?: unknown;
|
|
1439
1454
|
correlationId?: string | undefined;
|
|
1440
1455
|
}, {
|
|
1441
|
-
message: string;
|
|
1442
1456
|
code: string;
|
|
1443
1457
|
path: string;
|
|
1458
|
+
message: string;
|
|
1444
1459
|
statusCode: number;
|
|
1445
1460
|
timestamp: string;
|
|
1446
1461
|
details?: unknown;
|
|
1447
1462
|
correlationId?: string | undefined;
|
|
1448
1463
|
}>;
|
|
1449
|
-
|
|
1464
|
+
400: z.ZodObject<{
|
|
1450
1465
|
statusCode: z.ZodNumber;
|
|
1451
1466
|
message: z.ZodString;
|
|
1452
1467
|
code: z.ZodString;
|
|
@@ -1455,17 +1470,17 @@ export declare const usersContract: {
|
|
|
1455
1470
|
path: z.ZodString;
|
|
1456
1471
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1457
1472
|
}, "strip", z.ZodTypeAny, {
|
|
1458
|
-
message: string;
|
|
1459
1473
|
code: string;
|
|
1460
1474
|
path: string;
|
|
1475
|
+
message: string;
|
|
1461
1476
|
statusCode: number;
|
|
1462
1477
|
timestamp: string;
|
|
1463
1478
|
details?: unknown;
|
|
1464
1479
|
correlationId?: string | undefined;
|
|
1465
1480
|
}, {
|
|
1466
|
-
message: string;
|
|
1467
1481
|
code: string;
|
|
1468
1482
|
path: string;
|
|
1483
|
+
message: string;
|
|
1469
1484
|
statusCode: number;
|
|
1470
1485
|
timestamp: string;
|
|
1471
1486
|
details?: unknown;
|
|
@@ -1480,17 +1495,17 @@ export declare const usersContract: {
|
|
|
1480
1495
|
path: z.ZodString;
|
|
1481
1496
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1482
1497
|
}, "strip", z.ZodTypeAny, {
|
|
1483
|
-
message: string;
|
|
1484
1498
|
code: string;
|
|
1485
1499
|
path: string;
|
|
1500
|
+
message: string;
|
|
1486
1501
|
statusCode: number;
|
|
1487
1502
|
timestamp: string;
|
|
1488
1503
|
details?: unknown;
|
|
1489
1504
|
correlationId?: string | undefined;
|
|
1490
1505
|
}, {
|
|
1491
|
-
message: string;
|
|
1492
1506
|
code: string;
|
|
1493
1507
|
path: string;
|
|
1508
|
+
message: string;
|
|
1494
1509
|
statusCode: number;
|
|
1495
1510
|
timestamp: string;
|
|
1496
1511
|
details?: unknown;
|
|
@@ -1505,17 +1520,17 @@ export declare const usersContract: {
|
|
|
1505
1520
|
path: z.ZodString;
|
|
1506
1521
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1507
1522
|
}, "strip", z.ZodTypeAny, {
|
|
1508
|
-
message: string;
|
|
1509
1523
|
code: string;
|
|
1510
1524
|
path: string;
|
|
1525
|
+
message: string;
|
|
1511
1526
|
statusCode: number;
|
|
1512
1527
|
timestamp: string;
|
|
1513
1528
|
details?: unknown;
|
|
1514
1529
|
correlationId?: string | undefined;
|
|
1515
1530
|
}, {
|
|
1516
|
-
message: string;
|
|
1517
1531
|
code: string;
|
|
1518
1532
|
path: string;
|
|
1533
|
+
message: string;
|
|
1519
1534
|
statusCode: number;
|
|
1520
1535
|
timestamp: string;
|
|
1521
1536
|
details?: unknown;
|
|
@@ -1562,16 +1577,16 @@ export declare const usersContract: {
|
|
|
1562
1577
|
firstName: string;
|
|
1563
1578
|
}>, "many">>;
|
|
1564
1579
|
}, "strip", z.ZodTypeAny, {
|
|
1565
|
-
id: string;
|
|
1566
1580
|
name: string;
|
|
1581
|
+
id: string;
|
|
1567
1582
|
managers?: {
|
|
1568
1583
|
id: string;
|
|
1569
1584
|
lastName: string;
|
|
1570
1585
|
firstName: string;
|
|
1571
1586
|
}[] | undefined;
|
|
1572
1587
|
}, {
|
|
1573
|
-
id: string;
|
|
1574
1588
|
name: string;
|
|
1589
|
+
id: string;
|
|
1575
1590
|
managers?: {
|
|
1576
1591
|
id: string;
|
|
1577
1592
|
lastName: string;
|
|
@@ -1592,15 +1607,16 @@ export declare const usersContract: {
|
|
|
1592
1607
|
firstName: string;
|
|
1593
1608
|
}>, "many">>;
|
|
1594
1609
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
1610
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
1595
1611
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1596
1612
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1597
1613
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1598
1614
|
}, "strip", z.ZodTypeAny, {
|
|
1599
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1600
|
-
id: string;
|
|
1601
|
-
updatedAt: string;
|
|
1602
|
-
createdAt: string;
|
|
1603
1615
|
email: string;
|
|
1616
|
+
createdAt: string;
|
|
1617
|
+
updatedAt: string;
|
|
1618
|
+
id: string;
|
|
1619
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1604
1620
|
lastName: string;
|
|
1605
1621
|
firstName: string;
|
|
1606
1622
|
phoneNumbers: {
|
|
@@ -1612,33 +1628,34 @@ export declare const usersContract: {
|
|
|
1612
1628
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1613
1629
|
officeId?: string | null | undefined;
|
|
1614
1630
|
office?: {
|
|
1615
|
-
id: string;
|
|
1616
1631
|
name: string;
|
|
1632
|
+
id: string;
|
|
1617
1633
|
managers?: {
|
|
1618
1634
|
id: string;
|
|
1619
1635
|
lastName: string;
|
|
1620
1636
|
firstName: string;
|
|
1621
1637
|
}[] | undefined;
|
|
1622
1638
|
} | null | undefined;
|
|
1639
|
+
deletedAt?: string | null | undefined;
|
|
1623
1640
|
canImpersonateUsers?: {
|
|
1624
1641
|
id: string;
|
|
1625
1642
|
lastName: string;
|
|
1626
1643
|
firstName: string;
|
|
1627
1644
|
}[] | undefined;
|
|
1628
|
-
|
|
1645
|
+
dialpadUserId?: string | null | undefined;
|
|
1629
1646
|
}, {
|
|
1630
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1631
|
-
id: string;
|
|
1632
|
-
updatedAt: string | Date;
|
|
1633
|
-
createdAt: string | Date;
|
|
1634
1647
|
email: string;
|
|
1648
|
+
createdAt: string | Date;
|
|
1649
|
+
updatedAt: string | Date;
|
|
1650
|
+
id: string;
|
|
1651
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1635
1652
|
lastName: string;
|
|
1636
1653
|
firstName: string;
|
|
1637
1654
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1638
1655
|
officeId?: string | null | undefined;
|
|
1639
1656
|
office?: {
|
|
1640
|
-
id: string;
|
|
1641
1657
|
name: string;
|
|
1658
|
+
id: string;
|
|
1642
1659
|
managers?: {
|
|
1643
1660
|
id: string;
|
|
1644
1661
|
lastName: string;
|
|
@@ -1651,12 +1668,13 @@ export declare const usersContract: {
|
|
|
1651
1668
|
description?: string | null | undefined;
|
|
1652
1669
|
isPrimary?: boolean | undefined;
|
|
1653
1670
|
}[] | undefined;
|
|
1671
|
+
deletedAt?: string | Date | null | undefined;
|
|
1654
1672
|
canImpersonateUsers?: {
|
|
1655
1673
|
id: string;
|
|
1656
1674
|
lastName: string;
|
|
1657
1675
|
firstName: string;
|
|
1658
1676
|
}[] | undefined;
|
|
1659
|
-
|
|
1677
|
+
dialpadUserId?: string | null | undefined;
|
|
1660
1678
|
}>, "many">;
|
|
1661
1679
|
totalCount: z.ZodNumber;
|
|
1662
1680
|
limit: z.ZodNumber;
|
|
@@ -1666,11 +1684,11 @@ export declare const usersContract: {
|
|
|
1666
1684
|
}, "strip", z.ZodTypeAny, {
|
|
1667
1685
|
limit: number;
|
|
1668
1686
|
items: {
|
|
1669
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1670
|
-
id: string;
|
|
1671
|
-
updatedAt: string;
|
|
1672
|
-
createdAt: string;
|
|
1673
1687
|
email: string;
|
|
1688
|
+
createdAt: string;
|
|
1689
|
+
updatedAt: string;
|
|
1690
|
+
id: string;
|
|
1691
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1674
1692
|
lastName: string;
|
|
1675
1693
|
firstName: string;
|
|
1676
1694
|
phoneNumbers: {
|
|
@@ -1682,20 +1700,21 @@ export declare const usersContract: {
|
|
|
1682
1700
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1683
1701
|
officeId?: string | null | undefined;
|
|
1684
1702
|
office?: {
|
|
1685
|
-
id: string;
|
|
1686
1703
|
name: string;
|
|
1704
|
+
id: string;
|
|
1687
1705
|
managers?: {
|
|
1688
1706
|
id: string;
|
|
1689
1707
|
lastName: string;
|
|
1690
1708
|
firstName: string;
|
|
1691
1709
|
}[] | undefined;
|
|
1692
1710
|
} | null | undefined;
|
|
1711
|
+
deletedAt?: string | null | undefined;
|
|
1693
1712
|
canImpersonateUsers?: {
|
|
1694
1713
|
id: string;
|
|
1695
1714
|
lastName: string;
|
|
1696
1715
|
firstName: string;
|
|
1697
1716
|
}[] | undefined;
|
|
1698
|
-
|
|
1717
|
+
dialpadUserId?: string | null | undefined;
|
|
1699
1718
|
}[];
|
|
1700
1719
|
totalCount: number;
|
|
1701
1720
|
skip: number;
|
|
@@ -1704,18 +1723,18 @@ export declare const usersContract: {
|
|
|
1704
1723
|
}, {
|
|
1705
1724
|
limit: number;
|
|
1706
1725
|
items: {
|
|
1707
|
-
status: "ACTIVE" | "INACTIVE";
|
|
1708
|
-
id: string;
|
|
1709
|
-
updatedAt: string | Date;
|
|
1710
|
-
createdAt: string | Date;
|
|
1711
1726
|
email: string;
|
|
1727
|
+
createdAt: string | Date;
|
|
1728
|
+
updatedAt: string | Date;
|
|
1729
|
+
id: string;
|
|
1730
|
+
status: "ACTIVE" | "INACTIVE";
|
|
1712
1731
|
lastName: string;
|
|
1713
1732
|
firstName: string;
|
|
1714
1733
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1715
1734
|
officeId?: string | null | undefined;
|
|
1716
1735
|
office?: {
|
|
1717
|
-
id: string;
|
|
1718
1736
|
name: string;
|
|
1737
|
+
id: string;
|
|
1719
1738
|
managers?: {
|
|
1720
1739
|
id: string;
|
|
1721
1740
|
lastName: string;
|
|
@@ -1728,12 +1747,13 @@ export declare const usersContract: {
|
|
|
1728
1747
|
description?: string | null | undefined;
|
|
1729
1748
|
isPrimary?: boolean | undefined;
|
|
1730
1749
|
}[] | undefined;
|
|
1750
|
+
deletedAt?: string | Date | null | undefined;
|
|
1731
1751
|
canImpersonateUsers?: {
|
|
1732
1752
|
id: string;
|
|
1733
1753
|
lastName: string;
|
|
1734
1754
|
firstName: string;
|
|
1735
1755
|
}[] | undefined;
|
|
1736
|
-
|
|
1756
|
+
dialpadUserId?: string | null | undefined;
|
|
1737
1757
|
}[];
|
|
1738
1758
|
totalCount: number;
|
|
1739
1759
|
skip: number;
|
|
@@ -1767,19 +1787,19 @@ export declare const usersContract: {
|
|
|
1767
1787
|
officeId?: string | null | undefined;
|
|
1768
1788
|
}>;
|
|
1769
1789
|
}, "strip", z.ZodTypeAny, {
|
|
1770
|
-
userIds: string[];
|
|
1771
1790
|
data: {
|
|
1772
1791
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1773
1792
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1774
1793
|
officeId?: string | null | undefined;
|
|
1775
1794
|
};
|
|
1776
|
-
}, {
|
|
1777
1795
|
userIds: string[];
|
|
1796
|
+
}, {
|
|
1778
1797
|
data: {
|
|
1779
1798
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1780
1799
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1781
1800
|
officeId?: string | null | undefined;
|
|
1782
1801
|
};
|
|
1802
|
+
userIds: string[];
|
|
1783
1803
|
}>;
|
|
1784
1804
|
path: "/v2/users/batch";
|
|
1785
1805
|
responses: {
|
|
@@ -1792,17 +1812,17 @@ export declare const usersContract: {
|
|
|
1792
1812
|
path: z.ZodString;
|
|
1793
1813
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1794
1814
|
}, "strip", z.ZodTypeAny, {
|
|
1795
|
-
message: string;
|
|
1796
1815
|
code: string;
|
|
1797
1816
|
path: string;
|
|
1817
|
+
message: string;
|
|
1798
1818
|
statusCode: number;
|
|
1799
1819
|
timestamp: string;
|
|
1800
1820
|
details?: unknown;
|
|
1801
1821
|
correlationId?: string | undefined;
|
|
1802
1822
|
}, {
|
|
1803
|
-
message: string;
|
|
1804
1823
|
code: string;
|
|
1805
1824
|
path: string;
|
|
1825
|
+
message: string;
|
|
1806
1826
|
statusCode: number;
|
|
1807
1827
|
timestamp: string;
|
|
1808
1828
|
details?: unknown;
|
|
@@ -1817,17 +1837,17 @@ export declare const usersContract: {
|
|
|
1817
1837
|
path: z.ZodString;
|
|
1818
1838
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1819
1839
|
}, "strip", z.ZodTypeAny, {
|
|
1820
|
-
message: string;
|
|
1821
1840
|
code: string;
|
|
1822
1841
|
path: string;
|
|
1842
|
+
message: string;
|
|
1823
1843
|
statusCode: number;
|
|
1824
1844
|
timestamp: string;
|
|
1825
1845
|
details?: unknown;
|
|
1826
1846
|
correlationId?: string | undefined;
|
|
1827
1847
|
}, {
|
|
1828
|
-
message: string;
|
|
1829
1848
|
code: string;
|
|
1830
1849
|
path: string;
|
|
1850
|
+
message: string;
|
|
1831
1851
|
statusCode: number;
|
|
1832
1852
|
timestamp: string;
|
|
1833
1853
|
details?: unknown;
|
|
@@ -1849,17 +1869,17 @@ export declare const usersContract: {
|
|
|
1849
1869
|
path: z.ZodString;
|
|
1850
1870
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1851
1871
|
}, "strip", z.ZodTypeAny, {
|
|
1852
|
-
message: string;
|
|
1853
1872
|
code: string;
|
|
1854
1873
|
path: string;
|
|
1874
|
+
message: string;
|
|
1855
1875
|
statusCode: number;
|
|
1856
1876
|
timestamp: string;
|
|
1857
1877
|
details?: unknown;
|
|
1858
1878
|
correlationId?: string | undefined;
|
|
1859
1879
|
}, {
|
|
1860
|
-
message: string;
|
|
1861
1880
|
code: string;
|
|
1862
1881
|
path: string;
|
|
1882
|
+
message: string;
|
|
1863
1883
|
statusCode: number;
|
|
1864
1884
|
timestamp: string;
|
|
1865
1885
|
details?: unknown;
|
|
@@ -1874,17 +1894,17 @@ export declare const usersContract: {
|
|
|
1874
1894
|
path: z.ZodString;
|
|
1875
1895
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1876
1896
|
}, "strip", z.ZodTypeAny, {
|
|
1877
|
-
message: string;
|
|
1878
1897
|
code: string;
|
|
1879
1898
|
path: string;
|
|
1899
|
+
message: string;
|
|
1880
1900
|
statusCode: number;
|
|
1881
1901
|
timestamp: string;
|
|
1882
1902
|
details?: unknown;
|
|
1883
1903
|
correlationId?: string | undefined;
|
|
1884
1904
|
}, {
|
|
1885
|
-
message: string;
|
|
1886
1905
|
code: string;
|
|
1887
1906
|
path: string;
|
|
1907
|
+
message: string;
|
|
1888
1908
|
statusCode: number;
|
|
1889
1909
|
timestamp: string;
|
|
1890
1910
|
details?: unknown;
|
|
@@ -1899,17 +1919,17 @@ export declare const usersContract: {
|
|
|
1899
1919
|
path: z.ZodString;
|
|
1900
1920
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1901
1921
|
}, "strip", z.ZodTypeAny, {
|
|
1902
|
-
message: string;
|
|
1903
1922
|
code: string;
|
|
1904
1923
|
path: string;
|
|
1924
|
+
message: string;
|
|
1905
1925
|
statusCode: number;
|
|
1906
1926
|
timestamp: string;
|
|
1907
1927
|
details?: unknown;
|
|
1908
1928
|
correlationId?: string | undefined;
|
|
1909
1929
|
}, {
|
|
1910
|
-
message: string;
|
|
1911
1930
|
code: string;
|
|
1912
1931
|
path: string;
|
|
1932
|
+
message: string;
|
|
1913
1933
|
statusCode: number;
|
|
1914
1934
|
timestamp: string;
|
|
1915
1935
|
details?: unknown;
|
|
@@ -1960,7 +1980,7 @@ export declare const usersContract: {
|
|
|
1960
1980
|
method: "GET";
|
|
1961
1981
|
path: "/v2/users/autocomplete";
|
|
1962
1982
|
responses: {
|
|
1963
|
-
|
|
1983
|
+
401: z.ZodObject<{
|
|
1964
1984
|
statusCode: z.ZodNumber;
|
|
1965
1985
|
message: z.ZodString;
|
|
1966
1986
|
code: z.ZodString;
|
|
@@ -1969,23 +1989,23 @@ export declare const usersContract: {
|
|
|
1969
1989
|
path: z.ZodString;
|
|
1970
1990
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1971
1991
|
}, "strip", z.ZodTypeAny, {
|
|
1972
|
-
message: string;
|
|
1973
1992
|
code: string;
|
|
1974
1993
|
path: string;
|
|
1994
|
+
message: string;
|
|
1975
1995
|
statusCode: number;
|
|
1976
1996
|
timestamp: string;
|
|
1977
1997
|
details?: unknown;
|
|
1978
1998
|
correlationId?: string | undefined;
|
|
1979
1999
|
}, {
|
|
1980
|
-
message: string;
|
|
1981
2000
|
code: string;
|
|
1982
2001
|
path: string;
|
|
2002
|
+
message: string;
|
|
1983
2003
|
statusCode: number;
|
|
1984
2004
|
timestamp: string;
|
|
1985
2005
|
details?: unknown;
|
|
1986
2006
|
correlationId?: string | undefined;
|
|
1987
2007
|
}>;
|
|
1988
|
-
|
|
2008
|
+
400: z.ZodObject<{
|
|
1989
2009
|
statusCode: z.ZodNumber;
|
|
1990
2010
|
message: z.ZodString;
|
|
1991
2011
|
code: z.ZodString;
|
|
@@ -1994,17 +2014,17 @@ export declare const usersContract: {
|
|
|
1994
2014
|
path: z.ZodString;
|
|
1995
2015
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1996
2016
|
}, "strip", z.ZodTypeAny, {
|
|
1997
|
-
message: string;
|
|
1998
2017
|
code: string;
|
|
1999
2018
|
path: string;
|
|
2019
|
+
message: string;
|
|
2000
2020
|
statusCode: number;
|
|
2001
2021
|
timestamp: string;
|
|
2002
2022
|
details?: unknown;
|
|
2003
2023
|
correlationId?: string | undefined;
|
|
2004
2024
|
}, {
|
|
2005
|
-
message: string;
|
|
2006
2025
|
code: string;
|
|
2007
2026
|
path: string;
|
|
2027
|
+
message: string;
|
|
2008
2028
|
statusCode: number;
|
|
2009
2029
|
timestamp: string;
|
|
2010
2030
|
details?: unknown;
|
|
@@ -2019,17 +2039,17 @@ export declare const usersContract: {
|
|
|
2019
2039
|
path: z.ZodString;
|
|
2020
2040
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2021
2041
|
}, "strip", z.ZodTypeAny, {
|
|
2022
|
-
message: string;
|
|
2023
2042
|
code: string;
|
|
2024
2043
|
path: string;
|
|
2044
|
+
message: string;
|
|
2025
2045
|
statusCode: number;
|
|
2026
2046
|
timestamp: string;
|
|
2027
2047
|
details?: unknown;
|
|
2028
2048
|
correlationId?: string | undefined;
|
|
2029
2049
|
}, {
|
|
2030
|
-
message: string;
|
|
2031
2050
|
code: string;
|
|
2032
2051
|
path: string;
|
|
2052
|
+
message: string;
|
|
2033
2053
|
statusCode: number;
|
|
2034
2054
|
timestamp: string;
|
|
2035
2055
|
details?: unknown;
|
|
@@ -2044,17 +2064,17 @@ export declare const usersContract: {
|
|
|
2044
2064
|
path: z.ZodString;
|
|
2045
2065
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2046
2066
|
}, "strip", z.ZodTypeAny, {
|
|
2047
|
-
message: string;
|
|
2048
2067
|
code: string;
|
|
2049
2068
|
path: string;
|
|
2069
|
+
message: string;
|
|
2050
2070
|
statusCode: number;
|
|
2051
2071
|
timestamp: string;
|
|
2052
2072
|
details?: unknown;
|
|
2053
2073
|
correlationId?: string | undefined;
|
|
2054
2074
|
}, {
|
|
2055
|
-
message: string;
|
|
2056
2075
|
code: string;
|
|
2057
2076
|
path: string;
|
|
2077
|
+
message: string;
|
|
2058
2078
|
statusCode: number;
|
|
2059
2079
|
timestamp: string;
|
|
2060
2080
|
details?: unknown;
|
|
@@ -2093,7 +2113,7 @@ export declare const usersContract: {
|
|
|
2093
2113
|
method: "GET";
|
|
2094
2114
|
path: "/v2/users/autocomplete/first-agent";
|
|
2095
2115
|
responses: {
|
|
2096
|
-
|
|
2116
|
+
401: z.ZodObject<{
|
|
2097
2117
|
statusCode: z.ZodNumber;
|
|
2098
2118
|
message: z.ZodString;
|
|
2099
2119
|
code: z.ZodString;
|
|
@@ -2102,23 +2122,23 @@ export declare const usersContract: {
|
|
|
2102
2122
|
path: z.ZodString;
|
|
2103
2123
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2104
2124
|
}, "strip", z.ZodTypeAny, {
|
|
2105
|
-
message: string;
|
|
2106
2125
|
code: string;
|
|
2107
2126
|
path: string;
|
|
2127
|
+
message: string;
|
|
2108
2128
|
statusCode: number;
|
|
2109
2129
|
timestamp: string;
|
|
2110
2130
|
details?: unknown;
|
|
2111
2131
|
correlationId?: string | undefined;
|
|
2112
2132
|
}, {
|
|
2113
|
-
message: string;
|
|
2114
2133
|
code: string;
|
|
2115
2134
|
path: string;
|
|
2135
|
+
message: string;
|
|
2116
2136
|
statusCode: number;
|
|
2117
2137
|
timestamp: string;
|
|
2118
2138
|
details?: unknown;
|
|
2119
2139
|
correlationId?: string | undefined;
|
|
2120
2140
|
}>;
|
|
2121
|
-
|
|
2141
|
+
400: z.ZodObject<{
|
|
2122
2142
|
statusCode: z.ZodNumber;
|
|
2123
2143
|
message: z.ZodString;
|
|
2124
2144
|
code: z.ZodString;
|
|
@@ -2127,17 +2147,17 @@ export declare const usersContract: {
|
|
|
2127
2147
|
path: z.ZodString;
|
|
2128
2148
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2129
2149
|
}, "strip", z.ZodTypeAny, {
|
|
2130
|
-
message: string;
|
|
2131
2150
|
code: string;
|
|
2132
2151
|
path: string;
|
|
2152
|
+
message: string;
|
|
2133
2153
|
statusCode: number;
|
|
2134
2154
|
timestamp: string;
|
|
2135
2155
|
details?: unknown;
|
|
2136
2156
|
correlationId?: string | undefined;
|
|
2137
2157
|
}, {
|
|
2138
|
-
message: string;
|
|
2139
2158
|
code: string;
|
|
2140
2159
|
path: string;
|
|
2160
|
+
message: string;
|
|
2141
2161
|
statusCode: number;
|
|
2142
2162
|
timestamp: string;
|
|
2143
2163
|
details?: unknown;
|
|
@@ -2152,17 +2172,17 @@ export declare const usersContract: {
|
|
|
2152
2172
|
path: z.ZodString;
|
|
2153
2173
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2154
2174
|
}, "strip", z.ZodTypeAny, {
|
|
2155
|
-
message: string;
|
|
2156
2175
|
code: string;
|
|
2157
2176
|
path: string;
|
|
2177
|
+
message: string;
|
|
2158
2178
|
statusCode: number;
|
|
2159
2179
|
timestamp: string;
|
|
2160
2180
|
details?: unknown;
|
|
2161
2181
|
correlationId?: string | undefined;
|
|
2162
2182
|
}, {
|
|
2163
|
-
message: string;
|
|
2164
2183
|
code: string;
|
|
2165
2184
|
path: string;
|
|
2185
|
+
message: string;
|
|
2166
2186
|
statusCode: number;
|
|
2167
2187
|
timestamp: string;
|
|
2168
2188
|
details?: unknown;
|
|
@@ -2177,17 +2197,17 @@ export declare const usersContract: {
|
|
|
2177
2197
|
path: z.ZodString;
|
|
2178
2198
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2179
2199
|
}, "strip", z.ZodTypeAny, {
|
|
2180
|
-
message: string;
|
|
2181
2200
|
code: string;
|
|
2182
2201
|
path: string;
|
|
2202
|
+
message: string;
|
|
2183
2203
|
statusCode: number;
|
|
2184
2204
|
timestamp: string;
|
|
2185
2205
|
details?: unknown;
|
|
2186
2206
|
correlationId?: string | undefined;
|
|
2187
2207
|
}, {
|
|
2188
|
-
message: string;
|
|
2189
2208
|
code: string;
|
|
2190
2209
|
path: string;
|
|
2210
|
+
message: string;
|
|
2191
2211
|
statusCode: number;
|
|
2192
2212
|
timestamp: string;
|
|
2193
2213
|
details?: unknown;
|
|
@@ -2226,7 +2246,7 @@ export declare const usersContract: {
|
|
|
2226
2246
|
method: "GET";
|
|
2227
2247
|
path: "/v2/users/autocomplete/second-agent";
|
|
2228
2248
|
responses: {
|
|
2229
|
-
|
|
2249
|
+
401: z.ZodObject<{
|
|
2230
2250
|
statusCode: z.ZodNumber;
|
|
2231
2251
|
message: z.ZodString;
|
|
2232
2252
|
code: z.ZodString;
|
|
@@ -2235,23 +2255,23 @@ export declare const usersContract: {
|
|
|
2235
2255
|
path: z.ZodString;
|
|
2236
2256
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2237
2257
|
}, "strip", z.ZodTypeAny, {
|
|
2238
|
-
message: string;
|
|
2239
2258
|
code: string;
|
|
2240
2259
|
path: string;
|
|
2260
|
+
message: string;
|
|
2241
2261
|
statusCode: number;
|
|
2242
2262
|
timestamp: string;
|
|
2243
2263
|
details?: unknown;
|
|
2244
2264
|
correlationId?: string | undefined;
|
|
2245
2265
|
}, {
|
|
2246
|
-
message: string;
|
|
2247
2266
|
code: string;
|
|
2248
2267
|
path: string;
|
|
2268
|
+
message: string;
|
|
2249
2269
|
statusCode: number;
|
|
2250
2270
|
timestamp: string;
|
|
2251
2271
|
details?: unknown;
|
|
2252
2272
|
correlationId?: string | undefined;
|
|
2253
2273
|
}>;
|
|
2254
|
-
|
|
2274
|
+
400: z.ZodObject<{
|
|
2255
2275
|
statusCode: z.ZodNumber;
|
|
2256
2276
|
message: z.ZodString;
|
|
2257
2277
|
code: z.ZodString;
|
|
@@ -2260,17 +2280,17 @@ export declare const usersContract: {
|
|
|
2260
2280
|
path: z.ZodString;
|
|
2261
2281
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2262
2282
|
}, "strip", z.ZodTypeAny, {
|
|
2263
|
-
message: string;
|
|
2264
2283
|
code: string;
|
|
2265
2284
|
path: string;
|
|
2285
|
+
message: string;
|
|
2266
2286
|
statusCode: number;
|
|
2267
2287
|
timestamp: string;
|
|
2268
2288
|
details?: unknown;
|
|
2269
2289
|
correlationId?: string | undefined;
|
|
2270
2290
|
}, {
|
|
2271
|
-
message: string;
|
|
2272
2291
|
code: string;
|
|
2273
2292
|
path: string;
|
|
2293
|
+
message: string;
|
|
2274
2294
|
statusCode: number;
|
|
2275
2295
|
timestamp: string;
|
|
2276
2296
|
details?: unknown;
|
|
@@ -2285,17 +2305,17 @@ export declare const usersContract: {
|
|
|
2285
2305
|
path: z.ZodString;
|
|
2286
2306
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2287
2307
|
}, "strip", z.ZodTypeAny, {
|
|
2288
|
-
message: string;
|
|
2289
2308
|
code: string;
|
|
2290
2309
|
path: string;
|
|
2310
|
+
message: string;
|
|
2291
2311
|
statusCode: number;
|
|
2292
2312
|
timestamp: string;
|
|
2293
2313
|
details?: unknown;
|
|
2294
2314
|
correlationId?: string | undefined;
|
|
2295
2315
|
}, {
|
|
2296
|
-
message: string;
|
|
2297
2316
|
code: string;
|
|
2298
2317
|
path: string;
|
|
2318
|
+
message: string;
|
|
2299
2319
|
statusCode: number;
|
|
2300
2320
|
timestamp: string;
|
|
2301
2321
|
details?: unknown;
|
|
@@ -2310,17 +2330,17 @@ export declare const usersContract: {
|
|
|
2310
2330
|
path: z.ZodString;
|
|
2311
2331
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2312
2332
|
}, "strip", z.ZodTypeAny, {
|
|
2313
|
-
message: string;
|
|
2314
2333
|
code: string;
|
|
2315
2334
|
path: string;
|
|
2335
|
+
message: string;
|
|
2316
2336
|
statusCode: number;
|
|
2317
2337
|
timestamp: string;
|
|
2318
2338
|
details?: unknown;
|
|
2319
2339
|
correlationId?: string | undefined;
|
|
2320
2340
|
}, {
|
|
2321
|
-
message: string;
|
|
2322
2341
|
code: string;
|
|
2323
2342
|
path: string;
|
|
2343
|
+
message: string;
|
|
2324
2344
|
statusCode: number;
|
|
2325
2345
|
timestamp: string;
|
|
2326
2346
|
details?: unknown;
|
|
@@ -2359,7 +2379,7 @@ export declare const usersContract: {
|
|
|
2359
2379
|
method: "GET";
|
|
2360
2380
|
path: "/v2/users/autocomplete/agents";
|
|
2361
2381
|
responses: {
|
|
2362
|
-
|
|
2382
|
+
401: z.ZodObject<{
|
|
2363
2383
|
statusCode: z.ZodNumber;
|
|
2364
2384
|
message: z.ZodString;
|
|
2365
2385
|
code: z.ZodString;
|
|
@@ -2368,23 +2388,23 @@ export declare const usersContract: {
|
|
|
2368
2388
|
path: z.ZodString;
|
|
2369
2389
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2370
2390
|
}, "strip", z.ZodTypeAny, {
|
|
2371
|
-
message: string;
|
|
2372
2391
|
code: string;
|
|
2373
2392
|
path: string;
|
|
2393
|
+
message: string;
|
|
2374
2394
|
statusCode: number;
|
|
2375
2395
|
timestamp: string;
|
|
2376
2396
|
details?: unknown;
|
|
2377
2397
|
correlationId?: string | undefined;
|
|
2378
2398
|
}, {
|
|
2379
|
-
message: string;
|
|
2380
2399
|
code: string;
|
|
2381
2400
|
path: string;
|
|
2401
|
+
message: string;
|
|
2382
2402
|
statusCode: number;
|
|
2383
2403
|
timestamp: string;
|
|
2384
2404
|
details?: unknown;
|
|
2385
2405
|
correlationId?: string | undefined;
|
|
2386
2406
|
}>;
|
|
2387
|
-
|
|
2407
|
+
400: z.ZodObject<{
|
|
2388
2408
|
statusCode: z.ZodNumber;
|
|
2389
2409
|
message: z.ZodString;
|
|
2390
2410
|
code: z.ZodString;
|
|
@@ -2393,17 +2413,17 @@ export declare const usersContract: {
|
|
|
2393
2413
|
path: z.ZodString;
|
|
2394
2414
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2395
2415
|
}, "strip", z.ZodTypeAny, {
|
|
2396
|
-
message: string;
|
|
2397
2416
|
code: string;
|
|
2398
2417
|
path: string;
|
|
2418
|
+
message: string;
|
|
2399
2419
|
statusCode: number;
|
|
2400
2420
|
timestamp: string;
|
|
2401
2421
|
details?: unknown;
|
|
2402
2422
|
correlationId?: string | undefined;
|
|
2403
2423
|
}, {
|
|
2404
|
-
message: string;
|
|
2405
2424
|
code: string;
|
|
2406
2425
|
path: string;
|
|
2426
|
+
message: string;
|
|
2407
2427
|
statusCode: number;
|
|
2408
2428
|
timestamp: string;
|
|
2409
2429
|
details?: unknown;
|
|
@@ -2418,17 +2438,17 @@ export declare const usersContract: {
|
|
|
2418
2438
|
path: z.ZodString;
|
|
2419
2439
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2420
2440
|
}, "strip", z.ZodTypeAny, {
|
|
2421
|
-
message: string;
|
|
2422
2441
|
code: string;
|
|
2423
2442
|
path: string;
|
|
2443
|
+
message: string;
|
|
2424
2444
|
statusCode: number;
|
|
2425
2445
|
timestamp: string;
|
|
2426
2446
|
details?: unknown;
|
|
2427
2447
|
correlationId?: string | undefined;
|
|
2428
2448
|
}, {
|
|
2429
|
-
message: string;
|
|
2430
2449
|
code: string;
|
|
2431
2450
|
path: string;
|
|
2451
|
+
message: string;
|
|
2432
2452
|
statusCode: number;
|
|
2433
2453
|
timestamp: string;
|
|
2434
2454
|
details?: unknown;
|
|
@@ -2443,17 +2463,17 @@ export declare const usersContract: {
|
|
|
2443
2463
|
path: z.ZodString;
|
|
2444
2464
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2445
2465
|
}, "strip", z.ZodTypeAny, {
|
|
2446
|
-
message: string;
|
|
2447
2466
|
code: string;
|
|
2448
2467
|
path: string;
|
|
2468
|
+
message: string;
|
|
2449
2469
|
statusCode: number;
|
|
2450
2470
|
timestamp: string;
|
|
2451
2471
|
details?: unknown;
|
|
2452
2472
|
correlationId?: string | undefined;
|
|
2453
2473
|
}, {
|
|
2454
|
-
message: string;
|
|
2455
2474
|
code: string;
|
|
2456
2475
|
path: string;
|
|
2476
|
+
message: string;
|
|
2457
2477
|
statusCode: number;
|
|
2458
2478
|
timestamp: string;
|
|
2459
2479
|
details?: unknown;
|
|
@@ -2492,7 +2512,7 @@ export declare const usersContract: {
|
|
|
2492
2512
|
method: "GET";
|
|
2493
2513
|
path: "/v2/users/autocomplete/office-manager";
|
|
2494
2514
|
responses: {
|
|
2495
|
-
|
|
2515
|
+
401: z.ZodObject<{
|
|
2496
2516
|
statusCode: z.ZodNumber;
|
|
2497
2517
|
message: z.ZodString;
|
|
2498
2518
|
code: z.ZodString;
|
|
@@ -2501,23 +2521,23 @@ export declare const usersContract: {
|
|
|
2501
2521
|
path: z.ZodString;
|
|
2502
2522
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2503
2523
|
}, "strip", z.ZodTypeAny, {
|
|
2504
|
-
message: string;
|
|
2505
2524
|
code: string;
|
|
2506
2525
|
path: string;
|
|
2526
|
+
message: string;
|
|
2507
2527
|
statusCode: number;
|
|
2508
2528
|
timestamp: string;
|
|
2509
2529
|
details?: unknown;
|
|
2510
2530
|
correlationId?: string | undefined;
|
|
2511
2531
|
}, {
|
|
2512
|
-
message: string;
|
|
2513
2532
|
code: string;
|
|
2514
2533
|
path: string;
|
|
2534
|
+
message: string;
|
|
2515
2535
|
statusCode: number;
|
|
2516
2536
|
timestamp: string;
|
|
2517
2537
|
details?: unknown;
|
|
2518
2538
|
correlationId?: string | undefined;
|
|
2519
2539
|
}>;
|
|
2520
|
-
|
|
2540
|
+
400: z.ZodObject<{
|
|
2521
2541
|
statusCode: z.ZodNumber;
|
|
2522
2542
|
message: z.ZodString;
|
|
2523
2543
|
code: z.ZodString;
|
|
@@ -2526,17 +2546,17 @@ export declare const usersContract: {
|
|
|
2526
2546
|
path: z.ZodString;
|
|
2527
2547
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2528
2548
|
}, "strip", z.ZodTypeAny, {
|
|
2529
|
-
message: string;
|
|
2530
2549
|
code: string;
|
|
2531
2550
|
path: string;
|
|
2551
|
+
message: string;
|
|
2532
2552
|
statusCode: number;
|
|
2533
2553
|
timestamp: string;
|
|
2534
2554
|
details?: unknown;
|
|
2535
2555
|
correlationId?: string | undefined;
|
|
2536
2556
|
}, {
|
|
2537
|
-
message: string;
|
|
2538
2557
|
code: string;
|
|
2539
2558
|
path: string;
|
|
2559
|
+
message: string;
|
|
2540
2560
|
statusCode: number;
|
|
2541
2561
|
timestamp: string;
|
|
2542
2562
|
details?: unknown;
|
|
@@ -2551,17 +2571,17 @@ export declare const usersContract: {
|
|
|
2551
2571
|
path: z.ZodString;
|
|
2552
2572
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2553
2573
|
}, "strip", z.ZodTypeAny, {
|
|
2554
|
-
message: string;
|
|
2555
2574
|
code: string;
|
|
2556
2575
|
path: string;
|
|
2576
|
+
message: string;
|
|
2557
2577
|
statusCode: number;
|
|
2558
2578
|
timestamp: string;
|
|
2559
2579
|
details?: unknown;
|
|
2560
2580
|
correlationId?: string | undefined;
|
|
2561
2581
|
}, {
|
|
2562
|
-
message: string;
|
|
2563
2582
|
code: string;
|
|
2564
2583
|
path: string;
|
|
2584
|
+
message: string;
|
|
2565
2585
|
statusCode: number;
|
|
2566
2586
|
timestamp: string;
|
|
2567
2587
|
details?: unknown;
|
|
@@ -2576,17 +2596,17 @@ export declare const usersContract: {
|
|
|
2576
2596
|
path: z.ZodString;
|
|
2577
2597
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2578
2598
|
}, "strip", z.ZodTypeAny, {
|
|
2579
|
-
message: string;
|
|
2580
2599
|
code: string;
|
|
2581
2600
|
path: string;
|
|
2601
|
+
message: string;
|
|
2582
2602
|
statusCode: number;
|
|
2583
2603
|
timestamp: string;
|
|
2584
2604
|
details?: unknown;
|
|
2585
2605
|
correlationId?: string | undefined;
|
|
2586
2606
|
}, {
|
|
2587
|
-
message: string;
|
|
2588
2607
|
code: string;
|
|
2589
2608
|
path: string;
|
|
2609
|
+
message: string;
|
|
2590
2610
|
statusCode: number;
|
|
2591
2611
|
timestamp: string;
|
|
2592
2612
|
details?: unknown;
|
|
@@ -2626,7 +2646,7 @@ export declare const usersContract: {
|
|
|
2626
2646
|
method: "GET";
|
|
2627
2647
|
path: "/v2/users/autocomplete/impersonable";
|
|
2628
2648
|
responses: {
|
|
2629
|
-
|
|
2649
|
+
401: z.ZodObject<{
|
|
2630
2650
|
statusCode: z.ZodNumber;
|
|
2631
2651
|
message: z.ZodString;
|
|
2632
2652
|
code: z.ZodString;
|
|
@@ -2635,23 +2655,23 @@ export declare const usersContract: {
|
|
|
2635
2655
|
path: z.ZodString;
|
|
2636
2656
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2637
2657
|
}, "strip", z.ZodTypeAny, {
|
|
2638
|
-
message: string;
|
|
2639
2658
|
code: string;
|
|
2640
2659
|
path: string;
|
|
2660
|
+
message: string;
|
|
2641
2661
|
statusCode: number;
|
|
2642
2662
|
timestamp: string;
|
|
2643
2663
|
details?: unknown;
|
|
2644
2664
|
correlationId?: string | undefined;
|
|
2645
2665
|
}, {
|
|
2646
|
-
message: string;
|
|
2647
2666
|
code: string;
|
|
2648
2667
|
path: string;
|
|
2668
|
+
message: string;
|
|
2649
2669
|
statusCode: number;
|
|
2650
2670
|
timestamp: string;
|
|
2651
2671
|
details?: unknown;
|
|
2652
2672
|
correlationId?: string | undefined;
|
|
2653
2673
|
}>;
|
|
2654
|
-
|
|
2674
|
+
400: z.ZodObject<{
|
|
2655
2675
|
statusCode: z.ZodNumber;
|
|
2656
2676
|
message: z.ZodString;
|
|
2657
2677
|
code: z.ZodString;
|
|
@@ -2660,17 +2680,17 @@ export declare const usersContract: {
|
|
|
2660
2680
|
path: z.ZodString;
|
|
2661
2681
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2662
2682
|
}, "strip", z.ZodTypeAny, {
|
|
2663
|
-
message: string;
|
|
2664
2683
|
code: string;
|
|
2665
2684
|
path: string;
|
|
2685
|
+
message: string;
|
|
2666
2686
|
statusCode: number;
|
|
2667
2687
|
timestamp: string;
|
|
2668
2688
|
details?: unknown;
|
|
2669
2689
|
correlationId?: string | undefined;
|
|
2670
2690
|
}, {
|
|
2671
|
-
message: string;
|
|
2672
2691
|
code: string;
|
|
2673
2692
|
path: string;
|
|
2693
|
+
message: string;
|
|
2674
2694
|
statusCode: number;
|
|
2675
2695
|
timestamp: string;
|
|
2676
2696
|
details?: unknown;
|
|
@@ -2685,17 +2705,17 @@ export declare const usersContract: {
|
|
|
2685
2705
|
path: z.ZodString;
|
|
2686
2706
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2687
2707
|
}, "strip", z.ZodTypeAny, {
|
|
2688
|
-
message: string;
|
|
2689
2708
|
code: string;
|
|
2690
2709
|
path: string;
|
|
2710
|
+
message: string;
|
|
2691
2711
|
statusCode: number;
|
|
2692
2712
|
timestamp: string;
|
|
2693
2713
|
details?: unknown;
|
|
2694
2714
|
correlationId?: string | undefined;
|
|
2695
2715
|
}, {
|
|
2696
|
-
message: string;
|
|
2697
2716
|
code: string;
|
|
2698
2717
|
path: string;
|
|
2718
|
+
message: string;
|
|
2699
2719
|
statusCode: number;
|
|
2700
2720
|
timestamp: string;
|
|
2701
2721
|
details?: unknown;
|
|
@@ -2710,17 +2730,17 @@ export declare const usersContract: {
|
|
|
2710
2730
|
path: z.ZodString;
|
|
2711
2731
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2712
2732
|
}, "strip", z.ZodTypeAny, {
|
|
2713
|
-
message: string;
|
|
2714
2733
|
code: string;
|
|
2715
2734
|
path: string;
|
|
2735
|
+
message: string;
|
|
2716
2736
|
statusCode: number;
|
|
2717
2737
|
timestamp: string;
|
|
2718
2738
|
details?: unknown;
|
|
2719
2739
|
correlationId?: string | undefined;
|
|
2720
2740
|
}, {
|
|
2721
|
-
message: string;
|
|
2722
2741
|
code: string;
|
|
2723
2742
|
path: string;
|
|
2743
|
+
message: string;
|
|
2724
2744
|
statusCode: number;
|
|
2725
2745
|
timestamp: string;
|
|
2726
2746
|
details?: unknown;
|
|
@@ -2762,7 +2782,7 @@ export declare const usersContract: {
|
|
|
2762
2782
|
method: "GET";
|
|
2763
2783
|
path: "/v2/users/availability";
|
|
2764
2784
|
responses: {
|
|
2765
|
-
|
|
2785
|
+
401: z.ZodObject<{
|
|
2766
2786
|
statusCode: z.ZodNumber;
|
|
2767
2787
|
message: z.ZodString;
|
|
2768
2788
|
code: z.ZodString;
|
|
@@ -2771,23 +2791,23 @@ export declare const usersContract: {
|
|
|
2771
2791
|
path: z.ZodString;
|
|
2772
2792
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2773
2793
|
}, "strip", z.ZodTypeAny, {
|
|
2774
|
-
message: string;
|
|
2775
2794
|
code: string;
|
|
2776
2795
|
path: string;
|
|
2796
|
+
message: string;
|
|
2777
2797
|
statusCode: number;
|
|
2778
2798
|
timestamp: string;
|
|
2779
2799
|
details?: unknown;
|
|
2780
2800
|
correlationId?: string | undefined;
|
|
2781
2801
|
}, {
|
|
2782
|
-
message: string;
|
|
2783
2802
|
code: string;
|
|
2784
2803
|
path: string;
|
|
2804
|
+
message: string;
|
|
2785
2805
|
statusCode: number;
|
|
2786
2806
|
timestamp: string;
|
|
2787
2807
|
details?: unknown;
|
|
2788
2808
|
correlationId?: string | undefined;
|
|
2789
2809
|
}>;
|
|
2790
|
-
|
|
2810
|
+
400: z.ZodObject<{
|
|
2791
2811
|
statusCode: z.ZodNumber;
|
|
2792
2812
|
message: z.ZodString;
|
|
2793
2813
|
code: z.ZodString;
|
|
@@ -2796,17 +2816,17 @@ export declare const usersContract: {
|
|
|
2796
2816
|
path: z.ZodString;
|
|
2797
2817
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2798
2818
|
}, "strip", z.ZodTypeAny, {
|
|
2799
|
-
message: string;
|
|
2800
2819
|
code: string;
|
|
2801
2820
|
path: string;
|
|
2821
|
+
message: string;
|
|
2802
2822
|
statusCode: number;
|
|
2803
2823
|
timestamp: string;
|
|
2804
2824
|
details?: unknown;
|
|
2805
2825
|
correlationId?: string | undefined;
|
|
2806
2826
|
}, {
|
|
2807
|
-
message: string;
|
|
2808
2827
|
code: string;
|
|
2809
2828
|
path: string;
|
|
2829
|
+
message: string;
|
|
2810
2830
|
statusCode: number;
|
|
2811
2831
|
timestamp: string;
|
|
2812
2832
|
details?: unknown;
|
|
@@ -2821,17 +2841,17 @@ export declare const usersContract: {
|
|
|
2821
2841
|
path: z.ZodString;
|
|
2822
2842
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2823
2843
|
}, "strip", z.ZodTypeAny, {
|
|
2824
|
-
message: string;
|
|
2825
2844
|
code: string;
|
|
2826
2845
|
path: string;
|
|
2846
|
+
message: string;
|
|
2827
2847
|
statusCode: number;
|
|
2828
2848
|
timestamp: string;
|
|
2829
2849
|
details?: unknown;
|
|
2830
2850
|
correlationId?: string | undefined;
|
|
2831
2851
|
}, {
|
|
2832
|
-
message: string;
|
|
2833
2852
|
code: string;
|
|
2834
2853
|
path: string;
|
|
2854
|
+
message: string;
|
|
2835
2855
|
statusCode: number;
|
|
2836
2856
|
timestamp: string;
|
|
2837
2857
|
details?: unknown;
|
|
@@ -2846,17 +2866,17 @@ export declare const usersContract: {
|
|
|
2846
2866
|
path: z.ZodString;
|
|
2847
2867
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2848
2868
|
}, "strip", z.ZodTypeAny, {
|
|
2849
|
-
message: string;
|
|
2850
2869
|
code: string;
|
|
2851
2870
|
path: string;
|
|
2871
|
+
message: string;
|
|
2852
2872
|
statusCode: number;
|
|
2853
2873
|
timestamp: string;
|
|
2854
2874
|
details?: unknown;
|
|
2855
2875
|
correlationId?: string | undefined;
|
|
2856
2876
|
}, {
|
|
2857
|
-
message: string;
|
|
2858
2877
|
code: string;
|
|
2859
2878
|
path: string;
|
|
2879
|
+
message: string;
|
|
2860
2880
|
statusCode: number;
|
|
2861
2881
|
timestamp: string;
|
|
2862
2882
|
details?: unknown;
|
|
@@ -2932,7 +2952,7 @@ export declare const usersContract: {
|
|
|
2932
2952
|
method: "GET";
|
|
2933
2953
|
path: "/v2/users/me";
|
|
2934
2954
|
responses: {
|
|
2935
|
-
|
|
2955
|
+
401: z.ZodObject<{
|
|
2936
2956
|
statusCode: z.ZodNumber;
|
|
2937
2957
|
message: z.ZodString;
|
|
2938
2958
|
code: z.ZodString;
|
|
@@ -2941,23 +2961,23 @@ export declare const usersContract: {
|
|
|
2941
2961
|
path: z.ZodString;
|
|
2942
2962
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2943
2963
|
}, "strip", z.ZodTypeAny, {
|
|
2944
|
-
message: string;
|
|
2945
2964
|
code: string;
|
|
2946
2965
|
path: string;
|
|
2966
|
+
message: string;
|
|
2947
2967
|
statusCode: number;
|
|
2948
2968
|
timestamp: string;
|
|
2949
2969
|
details?: unknown;
|
|
2950
2970
|
correlationId?: string | undefined;
|
|
2951
2971
|
}, {
|
|
2952
|
-
message: string;
|
|
2953
2972
|
code: string;
|
|
2954
2973
|
path: string;
|
|
2974
|
+
message: string;
|
|
2955
2975
|
statusCode: number;
|
|
2956
2976
|
timestamp: string;
|
|
2957
2977
|
details?: unknown;
|
|
2958
2978
|
correlationId?: string | undefined;
|
|
2959
2979
|
}>;
|
|
2960
|
-
|
|
2980
|
+
400: z.ZodObject<{
|
|
2961
2981
|
statusCode: z.ZodNumber;
|
|
2962
2982
|
message: z.ZodString;
|
|
2963
2983
|
code: z.ZodString;
|
|
@@ -2966,17 +2986,17 @@ export declare const usersContract: {
|
|
|
2966
2986
|
path: z.ZodString;
|
|
2967
2987
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2968
2988
|
}, "strip", z.ZodTypeAny, {
|
|
2969
|
-
message: string;
|
|
2970
2989
|
code: string;
|
|
2971
2990
|
path: string;
|
|
2991
|
+
message: string;
|
|
2972
2992
|
statusCode: number;
|
|
2973
2993
|
timestamp: string;
|
|
2974
2994
|
details?: unknown;
|
|
2975
2995
|
correlationId?: string | undefined;
|
|
2976
2996
|
}, {
|
|
2977
|
-
message: string;
|
|
2978
2997
|
code: string;
|
|
2979
2998
|
path: string;
|
|
2999
|
+
message: string;
|
|
2980
3000
|
statusCode: number;
|
|
2981
3001
|
timestamp: string;
|
|
2982
3002
|
details?: unknown;
|
|
@@ -2991,17 +3011,17 @@ export declare const usersContract: {
|
|
|
2991
3011
|
path: z.ZodString;
|
|
2992
3012
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2993
3013
|
}, "strip", z.ZodTypeAny, {
|
|
2994
|
-
message: string;
|
|
2995
3014
|
code: string;
|
|
2996
3015
|
path: string;
|
|
3016
|
+
message: string;
|
|
2997
3017
|
statusCode: number;
|
|
2998
3018
|
timestamp: string;
|
|
2999
3019
|
details?: unknown;
|
|
3000
3020
|
correlationId?: string | undefined;
|
|
3001
3021
|
}, {
|
|
3002
|
-
message: string;
|
|
3003
3022
|
code: string;
|
|
3004
3023
|
path: string;
|
|
3024
|
+
message: string;
|
|
3005
3025
|
statusCode: number;
|
|
3006
3026
|
timestamp: string;
|
|
3007
3027
|
details?: unknown;
|
|
@@ -3016,17 +3036,17 @@ export declare const usersContract: {
|
|
|
3016
3036
|
path: z.ZodString;
|
|
3017
3037
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3018
3038
|
}, "strip", z.ZodTypeAny, {
|
|
3019
|
-
message: string;
|
|
3020
3039
|
code: string;
|
|
3021
3040
|
path: string;
|
|
3041
|
+
message: string;
|
|
3022
3042
|
statusCode: number;
|
|
3023
3043
|
timestamp: string;
|
|
3024
3044
|
details?: unknown;
|
|
3025
3045
|
correlationId?: string | undefined;
|
|
3026
3046
|
}, {
|
|
3027
|
-
message: string;
|
|
3028
3047
|
code: string;
|
|
3029
3048
|
path: string;
|
|
3049
|
+
message: string;
|
|
3030
3050
|
statusCode: number;
|
|
3031
3051
|
timestamp: string;
|
|
3032
3052
|
details?: unknown;
|
|
@@ -3062,8 +3082,8 @@ export declare const usersContract: {
|
|
|
3062
3082
|
telegramUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3063
3083
|
telegramLinkedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3064
3084
|
}, "strip", z.ZodTypeAny, {
|
|
3065
|
-
id: string;
|
|
3066
3085
|
email: string;
|
|
3086
|
+
id: string;
|
|
3067
3087
|
phoneNumbers: {
|
|
3068
3088
|
id: string;
|
|
3069
3089
|
phoneNumber: string;
|
|
@@ -3081,8 +3101,8 @@ export declare const usersContract: {
|
|
|
3081
3101
|
telegramUsername?: string | null | undefined;
|
|
3082
3102
|
telegramLinkedAt?: string | null | undefined;
|
|
3083
3103
|
}, {
|
|
3084
|
-
id: string;
|
|
3085
3104
|
email: string;
|
|
3105
|
+
id: string;
|
|
3086
3106
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3087
3107
|
lastName?: string | undefined;
|
|
3088
3108
|
firstName?: string | undefined;
|
|
@@ -3129,17 +3149,17 @@ export declare const usersContract: {
|
|
|
3129
3149
|
path: z.ZodString;
|
|
3130
3150
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3131
3151
|
}, "strip", z.ZodTypeAny, {
|
|
3132
|
-
message: string;
|
|
3133
3152
|
code: string;
|
|
3134
3153
|
path: string;
|
|
3154
|
+
message: string;
|
|
3135
3155
|
statusCode: number;
|
|
3136
3156
|
timestamp: string;
|
|
3137
3157
|
details?: unknown;
|
|
3138
3158
|
correlationId?: string | undefined;
|
|
3139
3159
|
}, {
|
|
3140
|
-
message: string;
|
|
3141
3160
|
code: string;
|
|
3142
3161
|
path: string;
|
|
3162
|
+
message: string;
|
|
3143
3163
|
statusCode: number;
|
|
3144
3164
|
timestamp: string;
|
|
3145
3165
|
details?: unknown;
|
|
@@ -3154,17 +3174,17 @@ export declare const usersContract: {
|
|
|
3154
3174
|
path: z.ZodString;
|
|
3155
3175
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3156
3176
|
}, "strip", z.ZodTypeAny, {
|
|
3157
|
-
message: string;
|
|
3158
3177
|
code: string;
|
|
3159
3178
|
path: string;
|
|
3179
|
+
message: string;
|
|
3160
3180
|
statusCode: number;
|
|
3161
3181
|
timestamp: string;
|
|
3162
3182
|
details?: unknown;
|
|
3163
3183
|
correlationId?: string | undefined;
|
|
3164
3184
|
}, {
|
|
3165
|
-
message: string;
|
|
3166
3185
|
code: string;
|
|
3167
3186
|
path: string;
|
|
3187
|
+
message: string;
|
|
3168
3188
|
statusCode: number;
|
|
3169
3189
|
timestamp: string;
|
|
3170
3190
|
details?: unknown;
|
|
@@ -3179,17 +3199,17 @@ export declare const usersContract: {
|
|
|
3179
3199
|
path: z.ZodString;
|
|
3180
3200
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3181
3201
|
}, "strip", z.ZodTypeAny, {
|
|
3182
|
-
message: string;
|
|
3183
3202
|
code: string;
|
|
3184
3203
|
path: string;
|
|
3204
|
+
message: string;
|
|
3185
3205
|
statusCode: number;
|
|
3186
3206
|
timestamp: string;
|
|
3187
3207
|
details?: unknown;
|
|
3188
3208
|
correlationId?: string | undefined;
|
|
3189
3209
|
}, {
|
|
3190
|
-
message: string;
|
|
3191
3210
|
code: string;
|
|
3192
3211
|
path: string;
|
|
3212
|
+
message: string;
|
|
3193
3213
|
statusCode: number;
|
|
3194
3214
|
timestamp: string;
|
|
3195
3215
|
details?: unknown;
|
|
@@ -3211,17 +3231,17 @@ export declare const usersContract: {
|
|
|
3211
3231
|
path: z.ZodString;
|
|
3212
3232
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3213
3233
|
}, "strip", z.ZodTypeAny, {
|
|
3214
|
-
message: string;
|
|
3215
3234
|
code: string;
|
|
3216
3235
|
path: string;
|
|
3236
|
+
message: string;
|
|
3217
3237
|
statusCode: number;
|
|
3218
3238
|
timestamp: string;
|
|
3219
3239
|
details?: unknown;
|
|
3220
3240
|
correlationId?: string | undefined;
|
|
3221
3241
|
}, {
|
|
3222
|
-
message: string;
|
|
3223
3242
|
code: string;
|
|
3224
3243
|
path: string;
|
|
3244
|
+
message: string;
|
|
3225
3245
|
statusCode: number;
|
|
3226
3246
|
timestamp: string;
|
|
3227
3247
|
details?: unknown;
|
|
@@ -3244,7 +3264,7 @@ export declare const usersContract: {
|
|
|
3244
3264
|
}>;
|
|
3245
3265
|
path: "/v2/users/me/avatar";
|
|
3246
3266
|
responses: {
|
|
3247
|
-
|
|
3267
|
+
401: z.ZodObject<{
|
|
3248
3268
|
statusCode: z.ZodNumber;
|
|
3249
3269
|
message: z.ZodString;
|
|
3250
3270
|
code: z.ZodString;
|
|
@@ -3253,23 +3273,23 @@ export declare const usersContract: {
|
|
|
3253
3273
|
path: z.ZodString;
|
|
3254
3274
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3255
3275
|
}, "strip", z.ZodTypeAny, {
|
|
3256
|
-
message: string;
|
|
3257
3276
|
code: string;
|
|
3258
3277
|
path: string;
|
|
3278
|
+
message: string;
|
|
3259
3279
|
statusCode: number;
|
|
3260
3280
|
timestamp: string;
|
|
3261
3281
|
details?: unknown;
|
|
3262
3282
|
correlationId?: string | undefined;
|
|
3263
3283
|
}, {
|
|
3264
|
-
message: string;
|
|
3265
3284
|
code: string;
|
|
3266
3285
|
path: string;
|
|
3286
|
+
message: string;
|
|
3267
3287
|
statusCode: number;
|
|
3268
3288
|
timestamp: string;
|
|
3269
3289
|
details?: unknown;
|
|
3270
3290
|
correlationId?: string | undefined;
|
|
3271
3291
|
}>;
|
|
3272
|
-
|
|
3292
|
+
400: z.ZodObject<{
|
|
3273
3293
|
statusCode: z.ZodNumber;
|
|
3274
3294
|
message: z.ZodString;
|
|
3275
3295
|
code: z.ZodString;
|
|
@@ -3278,17 +3298,17 @@ export declare const usersContract: {
|
|
|
3278
3298
|
path: z.ZodString;
|
|
3279
3299
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3280
3300
|
}, "strip", z.ZodTypeAny, {
|
|
3281
|
-
message: string;
|
|
3282
3301
|
code: string;
|
|
3283
3302
|
path: string;
|
|
3303
|
+
message: string;
|
|
3284
3304
|
statusCode: number;
|
|
3285
3305
|
timestamp: string;
|
|
3286
3306
|
details?: unknown;
|
|
3287
3307
|
correlationId?: string | undefined;
|
|
3288
3308
|
}, {
|
|
3289
|
-
message: string;
|
|
3290
3309
|
code: string;
|
|
3291
3310
|
path: string;
|
|
3311
|
+
message: string;
|
|
3292
3312
|
statusCode: number;
|
|
3293
3313
|
timestamp: string;
|
|
3294
3314
|
details?: unknown;
|
|
@@ -3303,17 +3323,17 @@ export declare const usersContract: {
|
|
|
3303
3323
|
path: z.ZodString;
|
|
3304
3324
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3305
3325
|
}, "strip", z.ZodTypeAny, {
|
|
3306
|
-
message: string;
|
|
3307
3326
|
code: string;
|
|
3308
3327
|
path: string;
|
|
3328
|
+
message: string;
|
|
3309
3329
|
statusCode: number;
|
|
3310
3330
|
timestamp: string;
|
|
3311
3331
|
details?: unknown;
|
|
3312
3332
|
correlationId?: string | undefined;
|
|
3313
3333
|
}, {
|
|
3314
|
-
message: string;
|
|
3315
3334
|
code: string;
|
|
3316
3335
|
path: string;
|
|
3336
|
+
message: string;
|
|
3317
3337
|
statusCode: number;
|
|
3318
3338
|
timestamp: string;
|
|
3319
3339
|
details?: unknown;
|
|
@@ -3328,17 +3348,17 @@ export declare const usersContract: {
|
|
|
3328
3348
|
path: z.ZodString;
|
|
3329
3349
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3330
3350
|
}, "strip", z.ZodTypeAny, {
|
|
3331
|
-
message: string;
|
|
3332
3351
|
code: string;
|
|
3333
3352
|
path: string;
|
|
3353
|
+
message: string;
|
|
3334
3354
|
statusCode: number;
|
|
3335
3355
|
timestamp: string;
|
|
3336
3356
|
details?: unknown;
|
|
3337
3357
|
correlationId?: string | undefined;
|
|
3338
3358
|
}, {
|
|
3339
|
-
message: string;
|
|
3340
3359
|
code: string;
|
|
3341
3360
|
path: string;
|
|
3361
|
+
message: string;
|
|
3342
3362
|
statusCode: number;
|
|
3343
3363
|
timestamp: string;
|
|
3344
3364
|
details?: unknown;
|
|
@@ -3374,8 +3394,8 @@ export declare const usersContract: {
|
|
|
3374
3394
|
telegramUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3375
3395
|
telegramLinkedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3376
3396
|
}, "strip", z.ZodTypeAny, {
|
|
3377
|
-
id: string;
|
|
3378
3397
|
email: string;
|
|
3398
|
+
id: string;
|
|
3379
3399
|
phoneNumbers: {
|
|
3380
3400
|
id: string;
|
|
3381
3401
|
phoneNumber: string;
|
|
@@ -3393,8 +3413,8 @@ export declare const usersContract: {
|
|
|
3393
3413
|
telegramUsername?: string | null | undefined;
|
|
3394
3414
|
telegramLinkedAt?: string | null | undefined;
|
|
3395
3415
|
}, {
|
|
3396
|
-
id: string;
|
|
3397
3416
|
email: string;
|
|
3417
|
+
id: string;
|
|
3398
3418
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3399
3419
|
lastName?: string | undefined;
|
|
3400
3420
|
firstName?: string | undefined;
|
|
@@ -3421,17 +3441,17 @@ export declare const usersContract: {
|
|
|
3421
3441
|
path: z.ZodString;
|
|
3422
3442
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3423
3443
|
}, "strip", z.ZodTypeAny, {
|
|
3424
|
-
message: string;
|
|
3425
3444
|
code: string;
|
|
3426
3445
|
path: string;
|
|
3446
|
+
message: string;
|
|
3427
3447
|
statusCode: number;
|
|
3428
3448
|
timestamp: string;
|
|
3429
3449
|
details?: unknown;
|
|
3430
3450
|
correlationId?: string | undefined;
|
|
3431
3451
|
}, {
|
|
3432
|
-
message: string;
|
|
3433
3452
|
code: string;
|
|
3434
3453
|
path: string;
|
|
3454
|
+
message: string;
|
|
3435
3455
|
statusCode: number;
|
|
3436
3456
|
timestamp: string;
|
|
3437
3457
|
details?: unknown;
|
|
@@ -3463,17 +3483,17 @@ export declare const usersContract: {
|
|
|
3463
3483
|
path: z.ZodString;
|
|
3464
3484
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3465
3485
|
}, "strip", z.ZodTypeAny, {
|
|
3466
|
-
message: string;
|
|
3467
3486
|
code: string;
|
|
3468
3487
|
path: string;
|
|
3488
|
+
message: string;
|
|
3469
3489
|
statusCode: number;
|
|
3470
3490
|
timestamp: string;
|
|
3471
3491
|
details?: unknown;
|
|
3472
3492
|
correlationId?: string | undefined;
|
|
3473
3493
|
}, {
|
|
3474
|
-
message: string;
|
|
3475
3494
|
code: string;
|
|
3476
3495
|
path: string;
|
|
3496
|
+
message: string;
|
|
3477
3497
|
statusCode: number;
|
|
3478
3498
|
timestamp: string;
|
|
3479
3499
|
details?: unknown;
|
|
@@ -3488,17 +3508,17 @@ export declare const usersContract: {
|
|
|
3488
3508
|
path: z.ZodString;
|
|
3489
3509
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3490
3510
|
}, "strip", z.ZodTypeAny, {
|
|
3491
|
-
message: string;
|
|
3492
3511
|
code: string;
|
|
3493
3512
|
path: string;
|
|
3513
|
+
message: string;
|
|
3494
3514
|
statusCode: number;
|
|
3495
3515
|
timestamp: string;
|
|
3496
3516
|
details?: unknown;
|
|
3497
3517
|
correlationId?: string | undefined;
|
|
3498
3518
|
}, {
|
|
3499
|
-
message: string;
|
|
3500
3519
|
code: string;
|
|
3501
3520
|
path: string;
|
|
3521
|
+
message: string;
|
|
3502
3522
|
statusCode: number;
|
|
3503
3523
|
timestamp: string;
|
|
3504
3524
|
details?: unknown;
|
|
@@ -3513,17 +3533,17 @@ export declare const usersContract: {
|
|
|
3513
3533
|
path: z.ZodString;
|
|
3514
3534
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3515
3535
|
}, "strip", z.ZodTypeAny, {
|
|
3516
|
-
message: string;
|
|
3517
3536
|
code: string;
|
|
3518
3537
|
path: string;
|
|
3538
|
+
message: string;
|
|
3519
3539
|
statusCode: number;
|
|
3520
3540
|
timestamp: string;
|
|
3521
3541
|
details?: unknown;
|
|
3522
3542
|
correlationId?: string | undefined;
|
|
3523
3543
|
}, {
|
|
3524
|
-
message: string;
|
|
3525
3544
|
code: string;
|
|
3526
3545
|
path: string;
|
|
3546
|
+
message: string;
|
|
3527
3547
|
statusCode: number;
|
|
3528
3548
|
timestamp: string;
|
|
3529
3549
|
details?: unknown;
|
|
@@ -3559,8 +3579,8 @@ export declare const usersContract: {
|
|
|
3559
3579
|
telegramUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3560
3580
|
telegramLinkedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3561
3581
|
}, "strip", z.ZodTypeAny, {
|
|
3562
|
-
id: string;
|
|
3563
3582
|
email: string;
|
|
3583
|
+
id: string;
|
|
3564
3584
|
phoneNumbers: {
|
|
3565
3585
|
id: string;
|
|
3566
3586
|
phoneNumber: string;
|
|
@@ -3578,8 +3598,8 @@ export declare const usersContract: {
|
|
|
3578
3598
|
telegramUsername?: string | null | undefined;
|
|
3579
3599
|
telegramLinkedAt?: string | null | undefined;
|
|
3580
3600
|
}, {
|
|
3581
|
-
id: string;
|
|
3582
3601
|
email: string;
|
|
3602
|
+
id: string;
|
|
3583
3603
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3584
3604
|
lastName?: string | undefined;
|
|
3585
3605
|
firstName?: string | undefined;
|
|
@@ -3606,17 +3626,17 @@ export declare const usersContract: {
|
|
|
3606
3626
|
path: z.ZodString;
|
|
3607
3627
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3608
3628
|
}, "strip", z.ZodTypeAny, {
|
|
3609
|
-
message: string;
|
|
3610
3629
|
code: string;
|
|
3611
3630
|
path: string;
|
|
3631
|
+
message: string;
|
|
3612
3632
|
statusCode: number;
|
|
3613
3633
|
timestamp: string;
|
|
3614
3634
|
details?: unknown;
|
|
3615
3635
|
correlationId?: string | undefined;
|
|
3616
3636
|
}, {
|
|
3617
|
-
message: string;
|
|
3618
3637
|
code: string;
|
|
3619
3638
|
path: string;
|
|
3639
|
+
message: string;
|
|
3620
3640
|
statusCode: number;
|
|
3621
3641
|
timestamp: string;
|
|
3622
3642
|
details?: unknown;
|
|
@@ -3639,7 +3659,7 @@ export declare const usersContract: {
|
|
|
3639
3659
|
method: "GET";
|
|
3640
3660
|
path: "/v2/users/:id";
|
|
3641
3661
|
responses: {
|
|
3642
|
-
|
|
3662
|
+
401: z.ZodObject<{
|
|
3643
3663
|
statusCode: z.ZodNumber;
|
|
3644
3664
|
message: z.ZodString;
|
|
3645
3665
|
code: z.ZodString;
|
|
@@ -3648,23 +3668,23 @@ export declare const usersContract: {
|
|
|
3648
3668
|
path: z.ZodString;
|
|
3649
3669
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3650
3670
|
}, "strip", z.ZodTypeAny, {
|
|
3651
|
-
message: string;
|
|
3652
3671
|
code: string;
|
|
3653
3672
|
path: string;
|
|
3673
|
+
message: string;
|
|
3654
3674
|
statusCode: number;
|
|
3655
3675
|
timestamp: string;
|
|
3656
3676
|
details?: unknown;
|
|
3657
3677
|
correlationId?: string | undefined;
|
|
3658
3678
|
}, {
|
|
3659
|
-
message: string;
|
|
3660
3679
|
code: string;
|
|
3661
3680
|
path: string;
|
|
3681
|
+
message: string;
|
|
3662
3682
|
statusCode: number;
|
|
3663
3683
|
timestamp: string;
|
|
3664
3684
|
details?: unknown;
|
|
3665
3685
|
correlationId?: string | undefined;
|
|
3666
3686
|
}>;
|
|
3667
|
-
|
|
3687
|
+
400: z.ZodObject<{
|
|
3668
3688
|
statusCode: z.ZodNumber;
|
|
3669
3689
|
message: z.ZodString;
|
|
3670
3690
|
code: z.ZodString;
|
|
@@ -3673,17 +3693,17 @@ export declare const usersContract: {
|
|
|
3673
3693
|
path: z.ZodString;
|
|
3674
3694
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3675
3695
|
}, "strip", z.ZodTypeAny, {
|
|
3676
|
-
message: string;
|
|
3677
3696
|
code: string;
|
|
3678
3697
|
path: string;
|
|
3698
|
+
message: string;
|
|
3679
3699
|
statusCode: number;
|
|
3680
3700
|
timestamp: string;
|
|
3681
3701
|
details?: unknown;
|
|
3682
3702
|
correlationId?: string | undefined;
|
|
3683
3703
|
}, {
|
|
3684
|
-
message: string;
|
|
3685
3704
|
code: string;
|
|
3686
3705
|
path: string;
|
|
3706
|
+
message: string;
|
|
3687
3707
|
statusCode: number;
|
|
3688
3708
|
timestamp: string;
|
|
3689
3709
|
details?: unknown;
|
|
@@ -3698,17 +3718,17 @@ export declare const usersContract: {
|
|
|
3698
3718
|
path: z.ZodString;
|
|
3699
3719
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3700
3720
|
}, "strip", z.ZodTypeAny, {
|
|
3701
|
-
message: string;
|
|
3702
3721
|
code: string;
|
|
3703
3722
|
path: string;
|
|
3723
|
+
message: string;
|
|
3704
3724
|
statusCode: number;
|
|
3705
3725
|
timestamp: string;
|
|
3706
3726
|
details?: unknown;
|
|
3707
3727
|
correlationId?: string | undefined;
|
|
3708
3728
|
}, {
|
|
3709
|
-
message: string;
|
|
3710
3729
|
code: string;
|
|
3711
3730
|
path: string;
|
|
3731
|
+
message: string;
|
|
3712
3732
|
statusCode: number;
|
|
3713
3733
|
timestamp: string;
|
|
3714
3734
|
details?: unknown;
|
|
@@ -3723,17 +3743,17 @@ export declare const usersContract: {
|
|
|
3723
3743
|
path: z.ZodString;
|
|
3724
3744
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3725
3745
|
}, "strip", z.ZodTypeAny, {
|
|
3726
|
-
message: string;
|
|
3727
3746
|
code: string;
|
|
3728
3747
|
path: string;
|
|
3748
|
+
message: string;
|
|
3729
3749
|
statusCode: number;
|
|
3730
3750
|
timestamp: string;
|
|
3731
3751
|
details?: unknown;
|
|
3732
3752
|
correlationId?: string | undefined;
|
|
3733
3753
|
}, {
|
|
3734
|
-
message: string;
|
|
3735
3754
|
code: string;
|
|
3736
3755
|
path: string;
|
|
3756
|
+
message: string;
|
|
3737
3757
|
statusCode: number;
|
|
3738
3758
|
timestamp: string;
|
|
3739
3759
|
details?: unknown;
|
|
@@ -3779,16 +3799,16 @@ export declare const usersContract: {
|
|
|
3779
3799
|
firstName: string;
|
|
3780
3800
|
}>, "many">>;
|
|
3781
3801
|
}, "strip", z.ZodTypeAny, {
|
|
3782
|
-
id: string;
|
|
3783
3802
|
name: string;
|
|
3803
|
+
id: string;
|
|
3784
3804
|
managers?: {
|
|
3785
3805
|
id: string;
|
|
3786
3806
|
lastName: string;
|
|
3787
3807
|
firstName: string;
|
|
3788
3808
|
}[] | undefined;
|
|
3789
3809
|
}, {
|
|
3790
|
-
id: string;
|
|
3791
3810
|
name: string;
|
|
3811
|
+
id: string;
|
|
3792
3812
|
managers?: {
|
|
3793
3813
|
id: string;
|
|
3794
3814
|
lastName: string;
|
|
@@ -3809,15 +3829,16 @@ export declare const usersContract: {
|
|
|
3809
3829
|
firstName: string;
|
|
3810
3830
|
}>, "many">>;
|
|
3811
3831
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
3832
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
3812
3833
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3813
3834
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3814
3835
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3815
3836
|
}, "strip", z.ZodTypeAny, {
|
|
3816
|
-
status: "ACTIVE" | "INACTIVE";
|
|
3817
|
-
id: string;
|
|
3818
|
-
updatedAt: string;
|
|
3819
|
-
createdAt: string;
|
|
3820
3837
|
email: string;
|
|
3838
|
+
createdAt: string;
|
|
3839
|
+
updatedAt: string;
|
|
3840
|
+
id: string;
|
|
3841
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3821
3842
|
lastName: string;
|
|
3822
3843
|
firstName: string;
|
|
3823
3844
|
phoneNumbers: {
|
|
@@ -3829,33 +3850,34 @@ export declare const usersContract: {
|
|
|
3829
3850
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3830
3851
|
officeId?: string | null | undefined;
|
|
3831
3852
|
office?: {
|
|
3832
|
-
id: string;
|
|
3833
3853
|
name: string;
|
|
3854
|
+
id: string;
|
|
3834
3855
|
managers?: {
|
|
3835
3856
|
id: string;
|
|
3836
3857
|
lastName: string;
|
|
3837
3858
|
firstName: string;
|
|
3838
3859
|
}[] | undefined;
|
|
3839
3860
|
} | null | undefined;
|
|
3861
|
+
deletedAt?: string | null | undefined;
|
|
3840
3862
|
canImpersonateUsers?: {
|
|
3841
3863
|
id: string;
|
|
3842
3864
|
lastName: string;
|
|
3843
3865
|
firstName: string;
|
|
3844
3866
|
}[] | undefined;
|
|
3845
|
-
|
|
3867
|
+
dialpadUserId?: string | null | undefined;
|
|
3846
3868
|
}, {
|
|
3847
|
-
status: "ACTIVE" | "INACTIVE";
|
|
3848
|
-
id: string;
|
|
3849
|
-
updatedAt: string | Date;
|
|
3850
|
-
createdAt: string | Date;
|
|
3851
3869
|
email: string;
|
|
3870
|
+
createdAt: string | Date;
|
|
3871
|
+
updatedAt: string | Date;
|
|
3872
|
+
id: string;
|
|
3873
|
+
status: "ACTIVE" | "INACTIVE";
|
|
3852
3874
|
lastName: string;
|
|
3853
3875
|
firstName: string;
|
|
3854
3876
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3855
3877
|
officeId?: string | null | undefined;
|
|
3856
3878
|
office?: {
|
|
3857
|
-
id: string;
|
|
3858
3879
|
name: string;
|
|
3880
|
+
id: string;
|
|
3859
3881
|
managers?: {
|
|
3860
3882
|
id: string;
|
|
3861
3883
|
lastName: string;
|
|
@@ -3868,12 +3890,13 @@ export declare const usersContract: {
|
|
|
3868
3890
|
description?: string | null | undefined;
|
|
3869
3891
|
isPrimary?: boolean | undefined;
|
|
3870
3892
|
}[] | undefined;
|
|
3893
|
+
deletedAt?: string | Date | null | undefined;
|
|
3871
3894
|
canImpersonateUsers?: {
|
|
3872
3895
|
id: string;
|
|
3873
3896
|
lastName: string;
|
|
3874
3897
|
firstName: string;
|
|
3875
3898
|
}[] | undefined;
|
|
3876
|
-
|
|
3899
|
+
dialpadUserId?: string | null | undefined;
|
|
3877
3900
|
}>;
|
|
3878
3901
|
404: z.ZodObject<{
|
|
3879
3902
|
statusCode: z.ZodNumber;
|
|
@@ -3884,17 +3907,17 @@ export declare const usersContract: {
|
|
|
3884
3907
|
path: z.ZodString;
|
|
3885
3908
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3886
3909
|
}, "strip", z.ZodTypeAny, {
|
|
3887
|
-
message: string;
|
|
3888
3910
|
code: string;
|
|
3889
3911
|
path: string;
|
|
3912
|
+
message: string;
|
|
3890
3913
|
statusCode: number;
|
|
3891
3914
|
timestamp: string;
|
|
3892
3915
|
details?: unknown;
|
|
3893
3916
|
correlationId?: string | undefined;
|
|
3894
3917
|
}, {
|
|
3895
|
-
message: string;
|
|
3896
3918
|
code: string;
|
|
3897
3919
|
path: string;
|
|
3920
|
+
message: string;
|
|
3898
3921
|
statusCode: number;
|
|
3899
3922
|
timestamp: string;
|
|
3900
3923
|
details?: unknown;
|
|
@@ -3960,10 +3983,11 @@ export declare const usersContract: {
|
|
|
3960
3983
|
officeId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3961
3984
|
canImpersonateUserIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
3962
3985
|
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE"]>>;
|
|
3986
|
+
dialpadUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>>;
|
|
3963
3987
|
}, "strip", z.ZodTypeAny, {
|
|
3964
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
3965
3988
|
password?: string | undefined;
|
|
3966
3989
|
email?: string | undefined;
|
|
3990
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
3967
3991
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3968
3992
|
officeId?: string | null | undefined;
|
|
3969
3993
|
lastName?: string | undefined;
|
|
@@ -3974,11 +3998,12 @@ export declare const usersContract: {
|
|
|
3974
3998
|
phoneNumber?: string | undefined;
|
|
3975
3999
|
isPrimary?: boolean | undefined;
|
|
3976
4000
|
}[] | undefined;
|
|
4001
|
+
dialpadUserId?: string | null | undefined;
|
|
3977
4002
|
canImpersonateUserIds?: string[] | undefined;
|
|
3978
4003
|
}, {
|
|
3979
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
3980
4004
|
password?: string | undefined;
|
|
3981
4005
|
email?: string | undefined;
|
|
4006
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
3982
4007
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
3983
4008
|
officeId?: string | null | undefined;
|
|
3984
4009
|
lastName?: string | undefined;
|
|
@@ -3989,11 +4014,12 @@ export declare const usersContract: {
|
|
|
3989
4014
|
phoneNumber?: string | undefined;
|
|
3990
4015
|
isPrimary?: boolean | undefined;
|
|
3991
4016
|
}[] | undefined;
|
|
4017
|
+
dialpadUserId?: string | null | undefined;
|
|
3992
4018
|
canImpersonateUserIds?: string[] | undefined;
|
|
3993
4019
|
}>;
|
|
3994
4020
|
path: "/v2/users/:id";
|
|
3995
4021
|
responses: {
|
|
3996
|
-
|
|
4022
|
+
401: z.ZodObject<{
|
|
3997
4023
|
statusCode: z.ZodNumber;
|
|
3998
4024
|
message: z.ZodString;
|
|
3999
4025
|
code: z.ZodString;
|
|
@@ -4002,23 +4028,23 @@ export declare const usersContract: {
|
|
|
4002
4028
|
path: z.ZodString;
|
|
4003
4029
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
4004
4030
|
}, "strip", z.ZodTypeAny, {
|
|
4005
|
-
message: string;
|
|
4006
4031
|
code: string;
|
|
4007
4032
|
path: string;
|
|
4033
|
+
message: string;
|
|
4008
4034
|
statusCode: number;
|
|
4009
4035
|
timestamp: string;
|
|
4010
4036
|
details?: unknown;
|
|
4011
4037
|
correlationId?: string | undefined;
|
|
4012
4038
|
}, {
|
|
4013
|
-
message: string;
|
|
4014
4039
|
code: string;
|
|
4015
4040
|
path: string;
|
|
4041
|
+
message: string;
|
|
4016
4042
|
statusCode: number;
|
|
4017
4043
|
timestamp: string;
|
|
4018
4044
|
details?: unknown;
|
|
4019
4045
|
correlationId?: string | undefined;
|
|
4020
4046
|
}>;
|
|
4021
|
-
|
|
4047
|
+
400: z.ZodObject<{
|
|
4022
4048
|
statusCode: z.ZodNumber;
|
|
4023
4049
|
message: z.ZodString;
|
|
4024
4050
|
code: z.ZodString;
|
|
@@ -4027,17 +4053,17 @@ export declare const usersContract: {
|
|
|
4027
4053
|
path: z.ZodString;
|
|
4028
4054
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
4029
4055
|
}, "strip", z.ZodTypeAny, {
|
|
4030
|
-
message: string;
|
|
4031
4056
|
code: string;
|
|
4032
4057
|
path: string;
|
|
4058
|
+
message: string;
|
|
4033
4059
|
statusCode: number;
|
|
4034
4060
|
timestamp: string;
|
|
4035
4061
|
details?: unknown;
|
|
4036
4062
|
correlationId?: string | undefined;
|
|
4037
4063
|
}, {
|
|
4038
|
-
message: string;
|
|
4039
4064
|
code: string;
|
|
4040
4065
|
path: string;
|
|
4066
|
+
message: string;
|
|
4041
4067
|
statusCode: number;
|
|
4042
4068
|
timestamp: string;
|
|
4043
4069
|
details?: unknown;
|
|
@@ -4052,17 +4078,17 @@ export declare const usersContract: {
|
|
|
4052
4078
|
path: z.ZodString;
|
|
4053
4079
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
4054
4080
|
}, "strip", z.ZodTypeAny, {
|
|
4055
|
-
message: string;
|
|
4056
4081
|
code: string;
|
|
4057
4082
|
path: string;
|
|
4083
|
+
message: string;
|
|
4058
4084
|
statusCode: number;
|
|
4059
4085
|
timestamp: string;
|
|
4060
4086
|
details?: unknown;
|
|
4061
4087
|
correlationId?: string | undefined;
|
|
4062
4088
|
}, {
|
|
4063
|
-
message: string;
|
|
4064
4089
|
code: string;
|
|
4065
4090
|
path: string;
|
|
4091
|
+
message: string;
|
|
4066
4092
|
statusCode: number;
|
|
4067
4093
|
timestamp: string;
|
|
4068
4094
|
details?: unknown;
|
|
@@ -4077,17 +4103,17 @@ export declare const usersContract: {
|
|
|
4077
4103
|
path: z.ZodString;
|
|
4078
4104
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
4079
4105
|
}, "strip", z.ZodTypeAny, {
|
|
4080
|
-
message: string;
|
|
4081
4106
|
code: string;
|
|
4082
4107
|
path: string;
|
|
4108
|
+
message: string;
|
|
4083
4109
|
statusCode: number;
|
|
4084
4110
|
timestamp: string;
|
|
4085
4111
|
details?: unknown;
|
|
4086
4112
|
correlationId?: string | undefined;
|
|
4087
4113
|
}, {
|
|
4088
|
-
message: string;
|
|
4089
4114
|
code: string;
|
|
4090
4115
|
path: string;
|
|
4116
|
+
message: string;
|
|
4091
4117
|
statusCode: number;
|
|
4092
4118
|
timestamp: string;
|
|
4093
4119
|
details?: unknown;
|
|
@@ -4133,16 +4159,16 @@ export declare const usersContract: {
|
|
|
4133
4159
|
firstName: string;
|
|
4134
4160
|
}>, "many">>;
|
|
4135
4161
|
}, "strip", z.ZodTypeAny, {
|
|
4136
|
-
id: string;
|
|
4137
4162
|
name: string;
|
|
4163
|
+
id: string;
|
|
4138
4164
|
managers?: {
|
|
4139
4165
|
id: string;
|
|
4140
4166
|
lastName: string;
|
|
4141
4167
|
firstName: string;
|
|
4142
4168
|
}[] | undefined;
|
|
4143
4169
|
}, {
|
|
4144
|
-
id: string;
|
|
4145
4170
|
name: string;
|
|
4171
|
+
id: string;
|
|
4146
4172
|
managers?: {
|
|
4147
4173
|
id: string;
|
|
4148
4174
|
lastName: string;
|
|
@@ -4163,15 +4189,16 @@ export declare const usersContract: {
|
|
|
4163
4189
|
firstName: string;
|
|
4164
4190
|
}>, "many">>;
|
|
4165
4191
|
status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
4192
|
+
dialpadUserId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string | null, string>>>;
|
|
4166
4193
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4167
4194
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4168
4195
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
4169
4196
|
}, "strip", z.ZodTypeAny, {
|
|
4170
|
-
status: "ACTIVE" | "INACTIVE";
|
|
4171
|
-
id: string;
|
|
4172
|
-
updatedAt: string;
|
|
4173
|
-
createdAt: string;
|
|
4174
4197
|
email: string;
|
|
4198
|
+
createdAt: string;
|
|
4199
|
+
updatedAt: string;
|
|
4200
|
+
id: string;
|
|
4201
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4175
4202
|
lastName: string;
|
|
4176
4203
|
firstName: string;
|
|
4177
4204
|
phoneNumbers: {
|
|
@@ -4183,33 +4210,34 @@ export declare const usersContract: {
|
|
|
4183
4210
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4184
4211
|
officeId?: string | null | undefined;
|
|
4185
4212
|
office?: {
|
|
4186
|
-
id: string;
|
|
4187
4213
|
name: string;
|
|
4214
|
+
id: string;
|
|
4188
4215
|
managers?: {
|
|
4189
4216
|
id: string;
|
|
4190
4217
|
lastName: string;
|
|
4191
4218
|
firstName: string;
|
|
4192
4219
|
}[] | undefined;
|
|
4193
4220
|
} | null | undefined;
|
|
4221
|
+
deletedAt?: string | null | undefined;
|
|
4194
4222
|
canImpersonateUsers?: {
|
|
4195
4223
|
id: string;
|
|
4196
4224
|
lastName: string;
|
|
4197
4225
|
firstName: string;
|
|
4198
4226
|
}[] | undefined;
|
|
4199
|
-
|
|
4227
|
+
dialpadUserId?: string | null | undefined;
|
|
4200
4228
|
}, {
|
|
4201
|
-
status: "ACTIVE" | "INACTIVE";
|
|
4202
|
-
id: string;
|
|
4203
|
-
updatedAt: string | Date;
|
|
4204
|
-
createdAt: string | Date;
|
|
4205
4229
|
email: string;
|
|
4230
|
+
createdAt: string | Date;
|
|
4231
|
+
updatedAt: string | Date;
|
|
4232
|
+
id: string;
|
|
4233
|
+
status: "ACTIVE" | "INACTIVE";
|
|
4206
4234
|
lastName: string;
|
|
4207
4235
|
firstName: string;
|
|
4208
4236
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
4209
4237
|
officeId?: string | null | undefined;
|
|
4210
4238
|
office?: {
|
|
4211
|
-
id: string;
|
|
4212
4239
|
name: string;
|
|
4240
|
+
id: string;
|
|
4213
4241
|
managers?: {
|
|
4214
4242
|
id: string;
|
|
4215
4243
|
lastName: string;
|
|
@@ -4222,12 +4250,13 @@ export declare const usersContract: {
|
|
|
4222
4250
|
description?: string | null | undefined;
|
|
4223
4251
|
isPrimary?: boolean | undefined;
|
|
4224
4252
|
}[] | undefined;
|
|
4253
|
+
deletedAt?: string | Date | null | undefined;
|
|
4225
4254
|
canImpersonateUsers?: {
|
|
4226
4255
|
id: string;
|
|
4227
4256
|
lastName: string;
|
|
4228
4257
|
firstName: string;
|
|
4229
4258
|
}[] | undefined;
|
|
4230
|
-
|
|
4259
|
+
dialpadUserId?: string | null | undefined;
|
|
4231
4260
|
}>;
|
|
4232
4261
|
404: z.ZodObject<{
|
|
4233
4262
|
statusCode: z.ZodNumber;
|
|
@@ -4238,17 +4267,17 @@ export declare const usersContract: {
|
|
|
4238
4267
|
path: z.ZodString;
|
|
4239
4268
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
4240
4269
|
}, "strip", z.ZodTypeAny, {
|
|
4241
|
-
message: string;
|
|
4242
4270
|
code: string;
|
|
4243
4271
|
path: string;
|
|
4272
|
+
message: string;
|
|
4244
4273
|
statusCode: number;
|
|
4245
4274
|
timestamp: string;
|
|
4246
4275
|
details?: unknown;
|
|
4247
4276
|
correlationId?: string | undefined;
|
|
4248
4277
|
}, {
|
|
4249
|
-
message: string;
|
|
4250
4278
|
code: string;
|
|
4251
4279
|
path: string;
|
|
4280
|
+
message: string;
|
|
4252
4281
|
statusCode: number;
|
|
4253
4282
|
timestamp: string;
|
|
4254
4283
|
details?: unknown;
|
|
@@ -4297,7 +4326,7 @@ export declare const usersContract: {
|
|
|
4297
4326
|
body: z.ZodUndefined;
|
|
4298
4327
|
path: "/v2/users/:id";
|
|
4299
4328
|
responses: {
|
|
4300
|
-
|
|
4329
|
+
401: z.ZodObject<{
|
|
4301
4330
|
statusCode: z.ZodNumber;
|
|
4302
4331
|
message: z.ZodString;
|
|
4303
4332
|
code: z.ZodString;
|
|
@@ -4306,23 +4335,23 @@ export declare const usersContract: {
|
|
|
4306
4335
|
path: z.ZodString;
|
|
4307
4336
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
4308
4337
|
}, "strip", z.ZodTypeAny, {
|
|
4309
|
-
message: string;
|
|
4310
4338
|
code: string;
|
|
4311
4339
|
path: string;
|
|
4340
|
+
message: string;
|
|
4312
4341
|
statusCode: number;
|
|
4313
4342
|
timestamp: string;
|
|
4314
4343
|
details?: unknown;
|
|
4315
4344
|
correlationId?: string | undefined;
|
|
4316
4345
|
}, {
|
|
4317
|
-
message: string;
|
|
4318
4346
|
code: string;
|
|
4319
4347
|
path: string;
|
|
4348
|
+
message: string;
|
|
4320
4349
|
statusCode: number;
|
|
4321
4350
|
timestamp: string;
|
|
4322
4351
|
details?: unknown;
|
|
4323
4352
|
correlationId?: string | undefined;
|
|
4324
4353
|
}>;
|
|
4325
|
-
|
|
4354
|
+
400: z.ZodObject<{
|
|
4326
4355
|
statusCode: z.ZodNumber;
|
|
4327
4356
|
message: z.ZodString;
|
|
4328
4357
|
code: z.ZodString;
|
|
@@ -4331,17 +4360,17 @@ export declare const usersContract: {
|
|
|
4331
4360
|
path: z.ZodString;
|
|
4332
4361
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
4333
4362
|
}, "strip", z.ZodTypeAny, {
|
|
4334
|
-
message: string;
|
|
4335
4363
|
code: string;
|
|
4336
4364
|
path: string;
|
|
4365
|
+
message: string;
|
|
4337
4366
|
statusCode: number;
|
|
4338
4367
|
timestamp: string;
|
|
4339
4368
|
details?: unknown;
|
|
4340
4369
|
correlationId?: string | undefined;
|
|
4341
4370
|
}, {
|
|
4342
|
-
message: string;
|
|
4343
4371
|
code: string;
|
|
4344
4372
|
path: string;
|
|
4373
|
+
message: string;
|
|
4345
4374
|
statusCode: number;
|
|
4346
4375
|
timestamp: string;
|
|
4347
4376
|
details?: unknown;
|
|
@@ -4356,17 +4385,17 @@ export declare const usersContract: {
|
|
|
4356
4385
|
path: z.ZodString;
|
|
4357
4386
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
4358
4387
|
}, "strip", z.ZodTypeAny, {
|
|
4359
|
-
message: string;
|
|
4360
4388
|
code: string;
|
|
4361
4389
|
path: string;
|
|
4390
|
+
message: string;
|
|
4362
4391
|
statusCode: number;
|
|
4363
4392
|
timestamp: string;
|
|
4364
4393
|
details?: unknown;
|
|
4365
4394
|
correlationId?: string | undefined;
|
|
4366
4395
|
}, {
|
|
4367
|
-
message: string;
|
|
4368
4396
|
code: string;
|
|
4369
4397
|
path: string;
|
|
4398
|
+
message: string;
|
|
4370
4399
|
statusCode: number;
|
|
4371
4400
|
timestamp: string;
|
|
4372
4401
|
details?: unknown;
|
|
@@ -4381,17 +4410,17 @@ export declare const usersContract: {
|
|
|
4381
4410
|
path: z.ZodString;
|
|
4382
4411
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
4383
4412
|
}, "strip", z.ZodTypeAny, {
|
|
4384
|
-
message: string;
|
|
4385
4413
|
code: string;
|
|
4386
4414
|
path: string;
|
|
4415
|
+
message: string;
|
|
4387
4416
|
statusCode: number;
|
|
4388
4417
|
timestamp: string;
|
|
4389
4418
|
details?: unknown;
|
|
4390
4419
|
correlationId?: string | undefined;
|
|
4391
4420
|
}, {
|
|
4392
|
-
message: string;
|
|
4393
4421
|
code: string;
|
|
4394
4422
|
path: string;
|
|
4423
|
+
message: string;
|
|
4395
4424
|
statusCode: number;
|
|
4396
4425
|
timestamp: string;
|
|
4397
4426
|
details?: unknown;
|
|
@@ -4407,17 +4436,17 @@ export declare const usersContract: {
|
|
|
4407
4436
|
path: z.ZodString;
|
|
4408
4437
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
4409
4438
|
}, "strip", z.ZodTypeAny, {
|
|
4410
|
-
message: string;
|
|
4411
4439
|
code: string;
|
|
4412
4440
|
path: string;
|
|
4441
|
+
message: string;
|
|
4413
4442
|
statusCode: number;
|
|
4414
4443
|
timestamp: string;
|
|
4415
4444
|
details?: unknown;
|
|
4416
4445
|
correlationId?: string | undefined;
|
|
4417
4446
|
}, {
|
|
4418
|
-
message: string;
|
|
4419
4447
|
code: string;
|
|
4420
4448
|
path: string;
|
|
4449
|
+
message: string;
|
|
4421
4450
|
statusCode: number;
|
|
4422
4451
|
timestamp: string;
|
|
4423
4452
|
details?: unknown;
|