@dakkitor/api-contracts 1.5.0 → 1.6.0
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 +6 -2
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +45 -1
- package/dist/abilities/abilities.contract.spec.js +98 -0
- package/dist/abilities/first-agent.abilities.json +8 -14
- package/dist/abilities/outreach.abilities.json +25 -0
- package/dist/abilities/second-agent.abilities.json +4 -13
- package/dist/actives/actives.contract.d.ts +3618 -3479
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +2 -0
- package/dist/actives/actives.contract.spec.d.ts +2 -0
- package/dist/actives/actives.contract.spec.d.ts.map +1 -0
- package/dist/actives/actives.contract.spec.js +35 -0
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1087 -1087
- package/dist/auth/auth.contract.d.ts +108 -108
- package/dist/bookings/bookings.contract.d.ts +6644 -6452
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +718 -718
- package/dist/calls-feed/calls-feed.contract.d.ts +86 -86
- package/dist/client-contacts/client-contacts.contract.d.ts +469 -469
- package/dist/clients/clients.contract.d.ts +203 -203
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2713 -2713
- package/dist/collaborations/collaborations.contract.d.ts +2270 -2270
- package/dist/common/common-schemas.d.ts +12 -12
- package/dist/companies/companies.contract.d.ts +74 -74
- package/dist/crews/crews.contract.d.ts +253 -253
- package/dist/cron-executions/cron-executions.contract.d.ts +182 -182
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2723 -2723
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +378 -378
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +1137 -1107
- package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +16 -16
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +2 -2
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +5818 -5372
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +34 -1
- package/dist/curated-worker-leads/lead-agent-area.contract.d.ts +4 -4
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts +2 -0
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.js +39 -0
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +148 -148
- package/dist/curated-workers/curated-workers.contract.d.ts +789 -789
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +2 -2
- package/dist/dashboards/dashboard-widgets.contract.d.ts +180 -180
- package/dist/dashboards/dashboard.contract.d.ts +12 -12
- package/dist/document-intake/document-intake.contract.d.ts +601 -601
- package/dist/export-jobs/export-jobs.contract.d.ts +694 -694
- package/dist/exports-events/exports-events.schemas.d.ts +4 -4
- package/dist/files/files.contract.d.ts +74 -74
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/interactions/interactions.contract.d.ts +6 -6
- package/dist/job-clusters/job-clusters.contract.d.ts +112 -112
- package/dist/jobs/job-moderation-fields.spec.d.ts +2 -0
- package/dist/jobs/job-moderation-fields.spec.d.ts.map +1 -0
- package/dist/jobs/job-moderation-fields.spec.js +72 -0
- package/dist/jobs/jobs.contract.d.ts +4773 -4525
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +48 -0
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +141 -141
- package/dist/lead-assignments/lead-assignments.contract.d.ts +911 -911
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +209 -209
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +77 -77
- package/dist/leads/leads.contract.d.ts +283 -283
- package/dist/locations/locations.contract.d.ts +49 -49
- package/dist/notifications/notifications.contract.d.ts +67 -67
- package/dist/offices/offices.contract.d.ts +34 -34
- package/dist/outreach/__tests__/outreach-contract-additions.spec.js +11 -0
- package/dist/outreach/__tests__/outreach-requests.contract.spec.js +13 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +14 -3
- package/dist/outreach/outreach-requests.contract.d.ts +862 -217
- package/dist/outreach/outreach-requests.contract.d.ts.map +1 -1
- package/dist/outreach/outreach-requests.contract.js +23 -3
- package/dist/outreach/outreach-requests.schemas.d.ts +56 -10
- package/dist/outreach/outreach-requests.schemas.d.ts.map +1 -1
- package/dist/outreach/outreach-requests.schemas.js +3 -0
- package/dist/outreach/outreach.contract.d.ts +300 -38
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +18 -0
- package/dist/outreach/outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/outreach.contract.spec.js +54 -0
- package/dist/outreach/outreach.schemas.d.ts +2 -2
- package/dist/own-research/own-research.contract.d.ts +775 -775
- package/dist/postcodes/postcodes.contract.d.ts +24 -24
- package/dist/proofs/proof-type.enum.d.ts +4 -4
- package/dist/proofs/proofs.contract.d.ts +363 -363
- package/dist/proofs/proofs.dtos.d.ts +124 -124
- package/dist/qualifications/qualifications.contract.d.ts +38 -38
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts +680 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-sessions.contract.js +67 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.js +129 -0
- package/dist/relay-pods/relay-pods.contract.d.ts +1569 -0
- package/dist/relay-pods/relay-pods.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.contract.js +188 -0
- package/dist/relay-pods/relay-pods.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-pods.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.contract.spec.js +141 -0
- package/dist/relay-pods/relay-pods.schemas.d.ts +415 -0
- package/dist/relay-pods/relay-pods.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.schemas.js +112 -0
- package/dist/shared/live-booking.schema.d.ts +4 -4
- package/dist/shared/summary-schemas.d.ts +6 -6
- package/dist/sheets-sync/sheets-sync.contract.d.ts +939 -939
- package/dist/telegram/telegram.contract.d.ts +22 -22
- package/dist/trades/trades.contract.d.ts +90 -90
- package/dist/user-access-grants/user-access-grants.contract.d.ts +165 -165
- package/dist/users/__tests__/assignable-roles.spec.d.ts +2 -0
- package/dist/users/__tests__/assignable-roles.spec.d.ts.map +1 -0
- package/dist/users/__tests__/assignable-roles.spec.js +41 -0
- package/dist/users/users.contract.d.ts +399 -393
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +11 -0
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +585 -527
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +278 -236
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts.map +1 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.js +1 -0
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +153 -153
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +59 -59
- package/dist/workers/workers.contract.d.ts +2919 -2919
- package/package.json +1 -1
- package/dist/bookings/bookings.contract.spec.d.ts +0 -2
- package/dist/bookings/bookings.contract.spec.d.ts.map +0 -1
- package/dist/bookings/bookings.contract.spec.js +0 -11
|
@@ -101,7 +101,7 @@ export declare const LoginResponseSchema: z.ZodObject<{
|
|
|
101
101
|
description?: string | null | undefined;
|
|
102
102
|
isPrimary?: boolean | undefined;
|
|
103
103
|
}>, "many">>>;
|
|
104
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION"]>, "many">>;
|
|
104
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">>;
|
|
105
105
|
impersonatedBy: z.ZodOptional<z.ZodString>;
|
|
106
106
|
managedOfficeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
107
107
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -131,7 +131,7 @@ export declare const LoginResponseSchema: z.ZodObject<{
|
|
|
131
131
|
}[];
|
|
132
132
|
firstName?: string | undefined;
|
|
133
133
|
lastName?: string | undefined;
|
|
134
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
134
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
135
135
|
impersonatedBy?: string | undefined;
|
|
136
136
|
managedOfficeIds?: string[] | undefined;
|
|
137
137
|
avatarUrl?: string | undefined;
|
|
@@ -148,13 +148,13 @@ export declare const LoginResponseSchema: z.ZodObject<{
|
|
|
148
148
|
email: string;
|
|
149
149
|
firstName?: string | undefined;
|
|
150
150
|
lastName?: string | undefined;
|
|
151
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
152
151
|
phoneNumbers?: {
|
|
153
152
|
id: string;
|
|
154
153
|
phoneNumber: string;
|
|
155
154
|
description?: string | null | undefined;
|
|
156
155
|
isPrimary?: boolean | undefined;
|
|
157
156
|
}[] | undefined;
|
|
157
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
158
158
|
impersonatedBy?: string | undefined;
|
|
159
159
|
managedOfficeIds?: string[] | undefined;
|
|
160
160
|
avatarUrl?: string | undefined;
|
|
@@ -217,17 +217,17 @@ export declare const authContract: {
|
|
|
217
217
|
path: z.ZodString;
|
|
218
218
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
219
219
|
}, "strip", z.ZodTypeAny, {
|
|
220
|
+
message: string;
|
|
220
221
|
code: string;
|
|
221
222
|
path: string;
|
|
222
|
-
message: string;
|
|
223
223
|
statusCode: number;
|
|
224
224
|
timestamp: string;
|
|
225
225
|
details?: unknown;
|
|
226
226
|
correlationId?: string | undefined;
|
|
227
227
|
}, {
|
|
228
|
+
message: string;
|
|
228
229
|
code: string;
|
|
229
230
|
path: string;
|
|
230
|
-
message: string;
|
|
231
231
|
statusCode: number;
|
|
232
232
|
timestamp: string;
|
|
233
233
|
details?: unknown;
|
|
@@ -242,17 +242,17 @@ export declare const authContract: {
|
|
|
242
242
|
path: z.ZodString;
|
|
243
243
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
244
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
message: string;
|
|
245
246
|
code: string;
|
|
246
247
|
path: string;
|
|
247
|
-
message: string;
|
|
248
248
|
statusCode: number;
|
|
249
249
|
timestamp: string;
|
|
250
250
|
details?: unknown;
|
|
251
251
|
correlationId?: string | undefined;
|
|
252
252
|
}, {
|
|
253
|
+
message: string;
|
|
253
254
|
code: string;
|
|
254
255
|
path: string;
|
|
255
|
-
message: string;
|
|
256
256
|
statusCode: number;
|
|
257
257
|
timestamp: string;
|
|
258
258
|
details?: unknown;
|
|
@@ -279,7 +279,7 @@ export declare const authContract: {
|
|
|
279
279
|
description?: string | null | undefined;
|
|
280
280
|
isPrimary?: boolean | undefined;
|
|
281
281
|
}>, "many">>>;
|
|
282
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION"]>, "many">>;
|
|
282
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">>;
|
|
283
283
|
impersonatedBy: z.ZodOptional<z.ZodString>;
|
|
284
284
|
managedOfficeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
285
285
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -309,7 +309,7 @@ export declare const authContract: {
|
|
|
309
309
|
}[];
|
|
310
310
|
firstName?: string | undefined;
|
|
311
311
|
lastName?: string | undefined;
|
|
312
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
312
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
313
313
|
impersonatedBy?: string | undefined;
|
|
314
314
|
managedOfficeIds?: string[] | undefined;
|
|
315
315
|
avatarUrl?: string | undefined;
|
|
@@ -326,13 +326,13 @@ export declare const authContract: {
|
|
|
326
326
|
email: string;
|
|
327
327
|
firstName?: string | undefined;
|
|
328
328
|
lastName?: string | undefined;
|
|
329
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
330
329
|
phoneNumbers?: {
|
|
331
330
|
id: string;
|
|
332
331
|
phoneNumber: string;
|
|
333
332
|
description?: string | null | undefined;
|
|
334
333
|
isPrimary?: boolean | undefined;
|
|
335
334
|
}[] | undefined;
|
|
335
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
336
336
|
impersonatedBy?: string | undefined;
|
|
337
337
|
managedOfficeIds?: string[] | undefined;
|
|
338
338
|
avatarUrl?: string | undefined;
|
|
@@ -354,17 +354,17 @@ export declare const authContract: {
|
|
|
354
354
|
path: z.ZodString;
|
|
355
355
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
356
356
|
}, "strip", z.ZodTypeAny, {
|
|
357
|
+
message: string;
|
|
357
358
|
code: string;
|
|
358
359
|
path: string;
|
|
359
|
-
message: string;
|
|
360
360
|
statusCode: number;
|
|
361
361
|
timestamp: string;
|
|
362
362
|
details?: unknown;
|
|
363
363
|
correlationId?: string | undefined;
|
|
364
364
|
}, {
|
|
365
|
+
message: string;
|
|
365
366
|
code: string;
|
|
366
367
|
path: string;
|
|
367
|
-
message: string;
|
|
368
368
|
statusCode: number;
|
|
369
369
|
timestamp: string;
|
|
370
370
|
details?: unknown;
|
|
@@ -373,12 +373,12 @@ export declare const authContract: {
|
|
|
373
373
|
};
|
|
374
374
|
};
|
|
375
375
|
refresh: {
|
|
376
|
+
description: "Refreshes the access token and returns the current user profile. If impersonating, returns the impersonated user profile with impersonatedBy field.";
|
|
376
377
|
metadata: {
|
|
377
378
|
tags: string[];
|
|
378
379
|
isPublic: boolean;
|
|
379
380
|
};
|
|
380
381
|
summary: "Refresh access token";
|
|
381
|
-
description: "Refreshes the access token and returns the current user profile. If impersonating, returns the impersonated user profile with impersonatedBy field.";
|
|
382
382
|
method: "GET";
|
|
383
383
|
path: "/v2/auth/refresh";
|
|
384
384
|
responses: {
|
|
@@ -391,17 +391,17 @@ export declare const authContract: {
|
|
|
391
391
|
path: z.ZodString;
|
|
392
392
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
393
393
|
}, "strip", z.ZodTypeAny, {
|
|
394
|
+
message: string;
|
|
394
395
|
code: string;
|
|
395
396
|
path: string;
|
|
396
|
-
message: string;
|
|
397
397
|
statusCode: number;
|
|
398
398
|
timestamp: string;
|
|
399
399
|
details?: unknown;
|
|
400
400
|
correlationId?: string | undefined;
|
|
401
401
|
}, {
|
|
402
|
+
message: string;
|
|
402
403
|
code: string;
|
|
403
404
|
path: string;
|
|
404
|
-
message: string;
|
|
405
405
|
statusCode: number;
|
|
406
406
|
timestamp: string;
|
|
407
407
|
details?: unknown;
|
|
@@ -416,17 +416,17 @@ export declare const authContract: {
|
|
|
416
416
|
path: z.ZodString;
|
|
417
417
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
418
418
|
}, "strip", z.ZodTypeAny, {
|
|
419
|
+
message: string;
|
|
419
420
|
code: string;
|
|
420
421
|
path: string;
|
|
421
|
-
message: string;
|
|
422
422
|
statusCode: number;
|
|
423
423
|
timestamp: string;
|
|
424
424
|
details?: unknown;
|
|
425
425
|
correlationId?: string | undefined;
|
|
426
426
|
}, {
|
|
427
|
+
message: string;
|
|
427
428
|
code: string;
|
|
428
429
|
path: string;
|
|
429
|
-
message: string;
|
|
430
430
|
statusCode: number;
|
|
431
431
|
timestamp: string;
|
|
432
432
|
details?: unknown;
|
|
@@ -453,7 +453,7 @@ export declare const authContract: {
|
|
|
453
453
|
description?: string | null | undefined;
|
|
454
454
|
isPrimary?: boolean | undefined;
|
|
455
455
|
}>, "many">>>;
|
|
456
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION"]>, "many">>;
|
|
456
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">>;
|
|
457
457
|
impersonatedBy: z.ZodOptional<z.ZodString>;
|
|
458
458
|
managedOfficeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
459
459
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -472,7 +472,7 @@ export declare const authContract: {
|
|
|
472
472
|
}[];
|
|
473
473
|
firstName?: string | undefined;
|
|
474
474
|
lastName?: string | undefined;
|
|
475
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
475
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
476
476
|
impersonatedBy?: string | undefined;
|
|
477
477
|
managedOfficeIds?: string[] | undefined;
|
|
478
478
|
avatarUrl?: string | undefined;
|
|
@@ -485,13 +485,13 @@ export declare const authContract: {
|
|
|
485
485
|
email: string;
|
|
486
486
|
firstName?: string | undefined;
|
|
487
487
|
lastName?: string | undefined;
|
|
488
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
489
488
|
phoneNumbers?: {
|
|
490
489
|
id: string;
|
|
491
490
|
phoneNumber: string;
|
|
492
491
|
description?: string | null | undefined;
|
|
493
492
|
isPrimary?: boolean | undefined;
|
|
494
493
|
}[] | undefined;
|
|
494
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
495
495
|
impersonatedBy?: string | undefined;
|
|
496
496
|
managedOfficeIds?: string[] | undefined;
|
|
497
497
|
avatarUrl?: string | undefined;
|
|
@@ -509,17 +509,17 @@ export declare const authContract: {
|
|
|
509
509
|
path: z.ZodString;
|
|
510
510
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
511
511
|
}, "strip", z.ZodTypeAny, {
|
|
512
|
+
message: string;
|
|
512
513
|
code: string;
|
|
513
514
|
path: string;
|
|
514
|
-
message: string;
|
|
515
515
|
statusCode: number;
|
|
516
516
|
timestamp: string;
|
|
517
517
|
details?: unknown;
|
|
518
518
|
correlationId?: string | undefined;
|
|
519
519
|
}, {
|
|
520
|
+
message: string;
|
|
520
521
|
code: string;
|
|
521
522
|
path: string;
|
|
522
|
-
message: string;
|
|
523
523
|
statusCode: number;
|
|
524
524
|
timestamp: string;
|
|
525
525
|
details?: unknown;
|
|
@@ -545,17 +545,17 @@ export declare const authContract: {
|
|
|
545
545
|
path: z.ZodString;
|
|
546
546
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
547
547
|
}, "strip", z.ZodTypeAny, {
|
|
548
|
+
message: string;
|
|
548
549
|
code: string;
|
|
549
550
|
path: string;
|
|
550
|
-
message: string;
|
|
551
551
|
statusCode: number;
|
|
552
552
|
timestamp: string;
|
|
553
553
|
details?: unknown;
|
|
554
554
|
correlationId?: string | undefined;
|
|
555
555
|
}, {
|
|
556
|
+
message: string;
|
|
556
557
|
code: string;
|
|
557
558
|
path: string;
|
|
558
|
-
message: string;
|
|
559
559
|
statusCode: number;
|
|
560
560
|
timestamp: string;
|
|
561
561
|
details?: unknown;
|
|
@@ -570,17 +570,17 @@ export declare const authContract: {
|
|
|
570
570
|
path: z.ZodString;
|
|
571
571
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
572
572
|
}, "strip", z.ZodTypeAny, {
|
|
573
|
+
message: string;
|
|
573
574
|
code: string;
|
|
574
575
|
path: string;
|
|
575
|
-
message: string;
|
|
576
576
|
statusCode: number;
|
|
577
577
|
timestamp: string;
|
|
578
578
|
details?: unknown;
|
|
579
579
|
correlationId?: string | undefined;
|
|
580
580
|
}, {
|
|
581
|
+
message: string;
|
|
581
582
|
code: string;
|
|
582
583
|
path: string;
|
|
583
|
-
message: string;
|
|
584
584
|
statusCode: number;
|
|
585
585
|
timestamp: string;
|
|
586
586
|
details?: unknown;
|
|
@@ -602,17 +602,17 @@ export declare const authContract: {
|
|
|
602
602
|
path: z.ZodString;
|
|
603
603
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
604
604
|
}, "strip", z.ZodTypeAny, {
|
|
605
|
+
message: string;
|
|
605
606
|
code: string;
|
|
606
607
|
path: string;
|
|
607
|
-
message: string;
|
|
608
608
|
statusCode: number;
|
|
609
609
|
timestamp: string;
|
|
610
610
|
details?: unknown;
|
|
611
611
|
correlationId?: string | undefined;
|
|
612
612
|
}, {
|
|
613
|
+
message: string;
|
|
613
614
|
code: string;
|
|
614
615
|
path: string;
|
|
615
|
-
message: string;
|
|
616
616
|
statusCode: number;
|
|
617
617
|
timestamp: string;
|
|
618
618
|
details?: unknown;
|
|
@@ -638,17 +638,17 @@ export declare const authContract: {
|
|
|
638
638
|
path: z.ZodString;
|
|
639
639
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
640
640
|
}, "strip", z.ZodTypeAny, {
|
|
641
|
+
message: string;
|
|
641
642
|
code: string;
|
|
642
643
|
path: string;
|
|
643
|
-
message: string;
|
|
644
644
|
statusCode: number;
|
|
645
645
|
timestamp: string;
|
|
646
646
|
details?: unknown;
|
|
647
647
|
correlationId?: string | undefined;
|
|
648
648
|
}, {
|
|
649
|
+
message: string;
|
|
649
650
|
code: string;
|
|
650
651
|
path: string;
|
|
651
|
-
message: string;
|
|
652
652
|
statusCode: number;
|
|
653
653
|
timestamp: string;
|
|
654
654
|
details?: unknown;
|
|
@@ -663,17 +663,17 @@ export declare const authContract: {
|
|
|
663
663
|
path: z.ZodString;
|
|
664
664
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
665
665
|
}, "strip", z.ZodTypeAny, {
|
|
666
|
+
message: string;
|
|
666
667
|
code: string;
|
|
667
668
|
path: string;
|
|
668
|
-
message: string;
|
|
669
669
|
statusCode: number;
|
|
670
670
|
timestamp: string;
|
|
671
671
|
details?: unknown;
|
|
672
672
|
correlationId?: string | undefined;
|
|
673
673
|
}, {
|
|
674
|
+
message: string;
|
|
674
675
|
code: string;
|
|
675
676
|
path: string;
|
|
676
|
-
message: string;
|
|
677
677
|
statusCode: number;
|
|
678
678
|
timestamp: string;
|
|
679
679
|
details?: unknown;
|
|
@@ -695,17 +695,17 @@ export declare const authContract: {
|
|
|
695
695
|
path: z.ZodString;
|
|
696
696
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
697
697
|
}, "strip", z.ZodTypeAny, {
|
|
698
|
+
message: string;
|
|
698
699
|
code: string;
|
|
699
700
|
path: string;
|
|
700
|
-
message: string;
|
|
701
701
|
statusCode: number;
|
|
702
702
|
timestamp: string;
|
|
703
703
|
details?: unknown;
|
|
704
704
|
correlationId?: string | undefined;
|
|
705
705
|
}, {
|
|
706
|
+
message: string;
|
|
706
707
|
code: string;
|
|
707
708
|
path: string;
|
|
708
|
-
message: string;
|
|
709
709
|
statusCode: number;
|
|
710
710
|
timestamp: string;
|
|
711
711
|
details?: unknown;
|
|
@@ -730,17 +730,17 @@ export declare const authContract: {
|
|
|
730
730
|
path: z.ZodString;
|
|
731
731
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
732
732
|
}, "strip", z.ZodTypeAny, {
|
|
733
|
+
message: string;
|
|
733
734
|
code: string;
|
|
734
735
|
path: string;
|
|
735
|
-
message: string;
|
|
736
736
|
statusCode: number;
|
|
737
737
|
timestamp: string;
|
|
738
738
|
details?: unknown;
|
|
739
739
|
correlationId?: string | undefined;
|
|
740
740
|
}, {
|
|
741
|
+
message: string;
|
|
741
742
|
code: string;
|
|
742
743
|
path: string;
|
|
743
|
-
message: string;
|
|
744
744
|
statusCode: number;
|
|
745
745
|
timestamp: string;
|
|
746
746
|
details?: unknown;
|
|
@@ -755,17 +755,17 @@ export declare const authContract: {
|
|
|
755
755
|
path: z.ZodString;
|
|
756
756
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
757
757
|
}, "strip", z.ZodTypeAny, {
|
|
758
|
+
message: string;
|
|
758
759
|
code: string;
|
|
759
760
|
path: string;
|
|
760
|
-
message: string;
|
|
761
761
|
statusCode: number;
|
|
762
762
|
timestamp: string;
|
|
763
763
|
details?: unknown;
|
|
764
764
|
correlationId?: string | undefined;
|
|
765
765
|
}, {
|
|
766
|
+
message: string;
|
|
766
767
|
code: string;
|
|
767
768
|
path: string;
|
|
768
|
-
message: string;
|
|
769
769
|
statusCode: number;
|
|
770
770
|
timestamp: string;
|
|
771
771
|
details?: unknown;
|
|
@@ -799,17 +799,17 @@ export declare const authContract: {
|
|
|
799
799
|
path: z.ZodString;
|
|
800
800
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
801
801
|
}, "strip", z.ZodTypeAny, {
|
|
802
|
+
message: string;
|
|
802
803
|
code: string;
|
|
803
804
|
path: string;
|
|
804
|
-
message: string;
|
|
805
805
|
statusCode: number;
|
|
806
806
|
timestamp: string;
|
|
807
807
|
details?: unknown;
|
|
808
808
|
correlationId?: string | undefined;
|
|
809
809
|
}, {
|
|
810
|
+
message: string;
|
|
810
811
|
code: string;
|
|
811
812
|
path: string;
|
|
812
|
-
message: string;
|
|
813
813
|
statusCode: number;
|
|
814
814
|
timestamp: string;
|
|
815
815
|
details?: unknown;
|
|
@@ -842,17 +842,17 @@ export declare const authContract: {
|
|
|
842
842
|
path: z.ZodString;
|
|
843
843
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
844
844
|
}, "strip", z.ZodTypeAny, {
|
|
845
|
+
message: string;
|
|
845
846
|
code: string;
|
|
846
847
|
path: string;
|
|
847
|
-
message: string;
|
|
848
848
|
statusCode: number;
|
|
849
849
|
timestamp: string;
|
|
850
850
|
details?: unknown;
|
|
851
851
|
correlationId?: string | undefined;
|
|
852
852
|
}, {
|
|
853
|
+
message: string;
|
|
853
854
|
code: string;
|
|
854
855
|
path: string;
|
|
855
|
-
message: string;
|
|
856
856
|
statusCode: number;
|
|
857
857
|
timestamp: string;
|
|
858
858
|
details?: unknown;
|
|
@@ -867,17 +867,17 @@ export declare const authContract: {
|
|
|
867
867
|
path: z.ZodString;
|
|
868
868
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
869
869
|
}, "strip", z.ZodTypeAny, {
|
|
870
|
+
message: string;
|
|
870
871
|
code: string;
|
|
871
872
|
path: string;
|
|
872
|
-
message: string;
|
|
873
873
|
statusCode: number;
|
|
874
874
|
timestamp: string;
|
|
875
875
|
details?: unknown;
|
|
876
876
|
correlationId?: string | undefined;
|
|
877
877
|
}, {
|
|
878
|
+
message: string;
|
|
878
879
|
code: string;
|
|
879
880
|
path: string;
|
|
880
|
-
message: string;
|
|
881
881
|
statusCode: number;
|
|
882
882
|
timestamp: string;
|
|
883
883
|
details?: unknown;
|
|
@@ -899,17 +899,17 @@ export declare const authContract: {
|
|
|
899
899
|
path: z.ZodString;
|
|
900
900
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
901
901
|
}, "strip", z.ZodTypeAny, {
|
|
902
|
+
message: string;
|
|
902
903
|
code: string;
|
|
903
904
|
path: string;
|
|
904
|
-
message: string;
|
|
905
905
|
statusCode: number;
|
|
906
906
|
timestamp: string;
|
|
907
907
|
details?: unknown;
|
|
908
908
|
correlationId?: string | undefined;
|
|
909
909
|
}, {
|
|
910
|
+
message: string;
|
|
910
911
|
code: string;
|
|
911
912
|
path: string;
|
|
912
|
-
message: string;
|
|
913
913
|
statusCode: number;
|
|
914
914
|
timestamp: string;
|
|
915
915
|
details?: unknown;
|
|
@@ -924,17 +924,17 @@ export declare const authContract: {
|
|
|
924
924
|
path: z.ZodString;
|
|
925
925
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
926
926
|
}, "strip", z.ZodTypeAny, {
|
|
927
|
+
message: string;
|
|
927
928
|
code: string;
|
|
928
929
|
path: string;
|
|
929
|
-
message: string;
|
|
930
930
|
statusCode: number;
|
|
931
931
|
timestamp: string;
|
|
932
932
|
details?: unknown;
|
|
933
933
|
correlationId?: string | undefined;
|
|
934
934
|
}, {
|
|
935
|
+
message: string;
|
|
935
936
|
code: string;
|
|
936
937
|
path: string;
|
|
937
|
-
message: string;
|
|
938
938
|
statusCode: number;
|
|
939
939
|
timestamp: string;
|
|
940
940
|
details?: unknown;
|
|
@@ -956,17 +956,17 @@ export declare const authContract: {
|
|
|
956
956
|
path: z.ZodString;
|
|
957
957
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
958
958
|
}, "strip", z.ZodTypeAny, {
|
|
959
|
+
message: string;
|
|
959
960
|
code: string;
|
|
960
961
|
path: string;
|
|
961
|
-
message: string;
|
|
962
962
|
statusCode: number;
|
|
963
963
|
timestamp: string;
|
|
964
964
|
details?: unknown;
|
|
965
965
|
correlationId?: string | undefined;
|
|
966
966
|
}, {
|
|
967
|
+
message: string;
|
|
967
968
|
code: string;
|
|
968
969
|
path: string;
|
|
969
|
-
message: string;
|
|
970
970
|
statusCode: number;
|
|
971
971
|
timestamp: string;
|
|
972
972
|
details?: unknown;
|
|
@@ -981,17 +981,17 @@ export declare const authContract: {
|
|
|
981
981
|
path: z.ZodString;
|
|
982
982
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
983
983
|
}, "strip", z.ZodTypeAny, {
|
|
984
|
+
message: string;
|
|
984
985
|
code: string;
|
|
985
986
|
path: string;
|
|
986
|
-
message: string;
|
|
987
987
|
statusCode: number;
|
|
988
988
|
timestamp: string;
|
|
989
989
|
details?: unknown;
|
|
990
990
|
correlationId?: string | undefined;
|
|
991
991
|
}, {
|
|
992
|
+
message: string;
|
|
992
993
|
code: string;
|
|
993
994
|
path: string;
|
|
994
|
-
message: string;
|
|
995
995
|
statusCode: number;
|
|
996
996
|
timestamp: string;
|
|
997
997
|
details?: unknown;
|
|
@@ -1004,25 +1004,25 @@ export declare const authContract: {
|
|
|
1004
1004
|
targetUserIds: z.ZodArray<z.ZodString, "many">;
|
|
1005
1005
|
}, "strip", z.ZodTypeAny, {
|
|
1006
1006
|
action: "READ";
|
|
1007
|
-
resource: "
|
|
1007
|
+
resource: "ACTIVE" | "WORKER" | "BOOKING";
|
|
1008
1008
|
targetUserIds: string[];
|
|
1009
1009
|
}, {
|
|
1010
1010
|
action: "READ";
|
|
1011
|
-
resource: "
|
|
1011
|
+
resource: "ACTIVE" | "WORKER" | "BOOKING";
|
|
1012
1012
|
targetUserIds: string[];
|
|
1013
1013
|
}>, "many">;
|
|
1014
1014
|
validUntil: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>;
|
|
1015
1015
|
}, "strip", z.ZodTypeAny, {
|
|
1016
1016
|
scopes: {
|
|
1017
1017
|
action: "READ";
|
|
1018
|
-
resource: "
|
|
1018
|
+
resource: "ACTIVE" | "WORKER" | "BOOKING";
|
|
1019
1019
|
targetUserIds: string[];
|
|
1020
1020
|
}[];
|
|
1021
1021
|
validUntil: string | null;
|
|
1022
1022
|
}, {
|
|
1023
1023
|
scopes: {
|
|
1024
1024
|
action: "READ";
|
|
1025
|
-
resource: "
|
|
1025
|
+
resource: "ACTIVE" | "WORKER" | "BOOKING";
|
|
1026
1026
|
targetUserIds: string[];
|
|
1027
1027
|
}[];
|
|
1028
1028
|
validUntil: string | Date | null;
|
|
@@ -1036,17 +1036,17 @@ export declare const authContract: {
|
|
|
1036
1036
|
path: z.ZodString;
|
|
1037
1037
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1038
1038
|
}, "strip", z.ZodTypeAny, {
|
|
1039
|
+
message: string;
|
|
1039
1040
|
code: string;
|
|
1040
1041
|
path: string;
|
|
1041
|
-
message: string;
|
|
1042
1042
|
statusCode: number;
|
|
1043
1043
|
timestamp: string;
|
|
1044
1044
|
details?: unknown;
|
|
1045
1045
|
correlationId?: string | undefined;
|
|
1046
1046
|
}, {
|
|
1047
|
+
message: string;
|
|
1047
1048
|
code: string;
|
|
1048
1049
|
path: string;
|
|
1049
|
-
message: string;
|
|
1050
1050
|
statusCode: number;
|
|
1051
1051
|
timestamp: string;
|
|
1052
1052
|
details?: unknown;
|
|
@@ -1055,11 +1055,11 @@ export declare const authContract: {
|
|
|
1055
1055
|
};
|
|
1056
1056
|
};
|
|
1057
1057
|
impersonate: {
|
|
1058
|
+
description: "Allows an admin to impersonate another user. Returns the target user profile with impersonatedBy field. Tokens are set via HTTP-only cookies.";
|
|
1058
1059
|
metadata: {
|
|
1059
1060
|
tags: string[];
|
|
1060
1061
|
};
|
|
1061
1062
|
summary: "Impersonate another user (admin only)";
|
|
1062
|
-
description: "Allows an admin to impersonate another user. Returns the target user profile with impersonatedBy field. Tokens are set via HTTP-only cookies.";
|
|
1063
1063
|
method: "POST";
|
|
1064
1064
|
body: z.ZodObject<{
|
|
1065
1065
|
targetUserId: z.ZodString;
|
|
@@ -1079,17 +1079,17 @@ export declare const authContract: {
|
|
|
1079
1079
|
path: z.ZodString;
|
|
1080
1080
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1081
1081
|
}, "strip", z.ZodTypeAny, {
|
|
1082
|
+
message: string;
|
|
1082
1083
|
code: string;
|
|
1083
1084
|
path: string;
|
|
1084
|
-
message: string;
|
|
1085
1085
|
statusCode: number;
|
|
1086
1086
|
timestamp: string;
|
|
1087
1087
|
details?: unknown;
|
|
1088
1088
|
correlationId?: string | undefined;
|
|
1089
1089
|
}, {
|
|
1090
|
+
message: string;
|
|
1090
1091
|
code: string;
|
|
1091
1092
|
path: string;
|
|
1092
|
-
message: string;
|
|
1093
1093
|
statusCode: number;
|
|
1094
1094
|
timestamp: string;
|
|
1095
1095
|
details?: unknown;
|
|
@@ -1116,7 +1116,7 @@ export declare const authContract: {
|
|
|
1116
1116
|
description?: string | null | undefined;
|
|
1117
1117
|
isPrimary?: boolean | undefined;
|
|
1118
1118
|
}>, "many">>>;
|
|
1119
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION"]>, "many">>;
|
|
1119
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">>;
|
|
1120
1120
|
impersonatedBy: z.ZodOptional<z.ZodString>;
|
|
1121
1121
|
managedOfficeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1122
1122
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1135,7 +1135,7 @@ export declare const authContract: {
|
|
|
1135
1135
|
}[];
|
|
1136
1136
|
firstName?: string | undefined;
|
|
1137
1137
|
lastName?: string | undefined;
|
|
1138
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1138
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1139
1139
|
impersonatedBy?: string | undefined;
|
|
1140
1140
|
managedOfficeIds?: string[] | undefined;
|
|
1141
1141
|
avatarUrl?: string | undefined;
|
|
@@ -1148,13 +1148,13 @@ export declare const authContract: {
|
|
|
1148
1148
|
email: string;
|
|
1149
1149
|
firstName?: string | undefined;
|
|
1150
1150
|
lastName?: string | undefined;
|
|
1151
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1152
1151
|
phoneNumbers?: {
|
|
1153
1152
|
id: string;
|
|
1154
1153
|
phoneNumber: string;
|
|
1155
1154
|
description?: string | null | undefined;
|
|
1156
1155
|
isPrimary?: boolean | undefined;
|
|
1157
1156
|
}[] | undefined;
|
|
1157
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1158
1158
|
impersonatedBy?: string | undefined;
|
|
1159
1159
|
managedOfficeIds?: string[] | undefined;
|
|
1160
1160
|
avatarUrl?: string | undefined;
|
|
@@ -1172,17 +1172,17 @@ export declare const authContract: {
|
|
|
1172
1172
|
path: z.ZodString;
|
|
1173
1173
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1174
1174
|
}, "strip", z.ZodTypeAny, {
|
|
1175
|
+
message: string;
|
|
1175
1176
|
code: string;
|
|
1176
1177
|
path: string;
|
|
1177
|
-
message: string;
|
|
1178
1178
|
statusCode: number;
|
|
1179
1179
|
timestamp: string;
|
|
1180
1180
|
details?: unknown;
|
|
1181
1181
|
correlationId?: string | undefined;
|
|
1182
1182
|
}, {
|
|
1183
|
+
message: string;
|
|
1183
1184
|
code: string;
|
|
1184
1185
|
path: string;
|
|
1185
|
-
message: string;
|
|
1186
1186
|
statusCode: number;
|
|
1187
1187
|
timestamp: string;
|
|
1188
1188
|
details?: unknown;
|
|
@@ -1197,17 +1197,17 @@ export declare const authContract: {
|
|
|
1197
1197
|
path: z.ZodString;
|
|
1198
1198
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1199
1199
|
}, "strip", z.ZodTypeAny, {
|
|
1200
|
+
message: string;
|
|
1200
1201
|
code: string;
|
|
1201
1202
|
path: string;
|
|
1202
|
-
message: string;
|
|
1203
1203
|
statusCode: number;
|
|
1204
1204
|
timestamp: string;
|
|
1205
1205
|
details?: unknown;
|
|
1206
1206
|
correlationId?: string | undefined;
|
|
1207
1207
|
}, {
|
|
1208
|
+
message: string;
|
|
1208
1209
|
code: string;
|
|
1209
1210
|
path: string;
|
|
1210
|
-
message: string;
|
|
1211
1211
|
statusCode: number;
|
|
1212
1212
|
timestamp: string;
|
|
1213
1213
|
details?: unknown;
|
|
@@ -1222,17 +1222,17 @@ export declare const authContract: {
|
|
|
1222
1222
|
path: z.ZodString;
|
|
1223
1223
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1224
1224
|
}, "strip", z.ZodTypeAny, {
|
|
1225
|
+
message: string;
|
|
1225
1226
|
code: string;
|
|
1226
1227
|
path: string;
|
|
1227
|
-
message: string;
|
|
1228
1228
|
statusCode: number;
|
|
1229
1229
|
timestamp: string;
|
|
1230
1230
|
details?: unknown;
|
|
1231
1231
|
correlationId?: string | undefined;
|
|
1232
1232
|
}, {
|
|
1233
|
+
message: string;
|
|
1233
1234
|
code: string;
|
|
1234
1235
|
path: string;
|
|
1235
|
-
message: string;
|
|
1236
1236
|
statusCode: number;
|
|
1237
1237
|
timestamp: string;
|
|
1238
1238
|
details?: unknown;
|
|
@@ -1247,17 +1247,17 @@ export declare const authContract: {
|
|
|
1247
1247
|
path: z.ZodString;
|
|
1248
1248
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1249
1249
|
}, "strip", z.ZodTypeAny, {
|
|
1250
|
+
message: string;
|
|
1250
1251
|
code: string;
|
|
1251
1252
|
path: string;
|
|
1252
|
-
message: string;
|
|
1253
1253
|
statusCode: number;
|
|
1254
1254
|
timestamp: string;
|
|
1255
1255
|
details?: unknown;
|
|
1256
1256
|
correlationId?: string | undefined;
|
|
1257
1257
|
}, {
|
|
1258
|
+
message: string;
|
|
1258
1259
|
code: string;
|
|
1259
1260
|
path: string;
|
|
1260
|
-
message: string;
|
|
1261
1261
|
statusCode: number;
|
|
1262
1262
|
timestamp: string;
|
|
1263
1263
|
details?: unknown;
|
|
@@ -1266,11 +1266,11 @@ export declare const authContract: {
|
|
|
1266
1266
|
};
|
|
1267
1267
|
};
|
|
1268
1268
|
stopImpersonation: {
|
|
1269
|
+
description: "Stops the current impersonation session and returns the admin user profile. Tokens are set via HTTP-only cookies.";
|
|
1269
1270
|
metadata: {
|
|
1270
1271
|
tags: string[];
|
|
1271
1272
|
};
|
|
1272
1273
|
summary: "Stop impersonating and return to admin session";
|
|
1273
|
-
description: "Stops the current impersonation session and returns the admin user profile. Tokens are set via HTTP-only cookies.";
|
|
1274
1274
|
method: "POST";
|
|
1275
1275
|
body: typeof import("@ts-rest/core").ContractNoBody;
|
|
1276
1276
|
path: "/v2/auth/stop-impersonation";
|
|
@@ -1284,17 +1284,17 @@ export declare const authContract: {
|
|
|
1284
1284
|
path: z.ZodString;
|
|
1285
1285
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1286
1286
|
}, "strip", z.ZodTypeAny, {
|
|
1287
|
+
message: string;
|
|
1287
1288
|
code: string;
|
|
1288
1289
|
path: string;
|
|
1289
|
-
message: string;
|
|
1290
1290
|
statusCode: number;
|
|
1291
1291
|
timestamp: string;
|
|
1292
1292
|
details?: unknown;
|
|
1293
1293
|
correlationId?: string | undefined;
|
|
1294
1294
|
}, {
|
|
1295
|
+
message: string;
|
|
1295
1296
|
code: string;
|
|
1296
1297
|
path: string;
|
|
1297
|
-
message: string;
|
|
1298
1298
|
statusCode: number;
|
|
1299
1299
|
timestamp: string;
|
|
1300
1300
|
details?: unknown;
|
|
@@ -1309,17 +1309,17 @@ export declare const authContract: {
|
|
|
1309
1309
|
path: z.ZodString;
|
|
1310
1310
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1311
1311
|
}, "strip", z.ZodTypeAny, {
|
|
1312
|
+
message: string;
|
|
1312
1313
|
code: string;
|
|
1313
1314
|
path: string;
|
|
1314
|
-
message: string;
|
|
1315
1315
|
statusCode: number;
|
|
1316
1316
|
timestamp: string;
|
|
1317
1317
|
details?: unknown;
|
|
1318
1318
|
correlationId?: string | undefined;
|
|
1319
1319
|
}, {
|
|
1320
|
+
message: string;
|
|
1320
1321
|
code: string;
|
|
1321
1322
|
path: string;
|
|
1322
|
-
message: string;
|
|
1323
1323
|
statusCode: number;
|
|
1324
1324
|
timestamp: string;
|
|
1325
1325
|
details?: unknown;
|
|
@@ -1346,7 +1346,7 @@ export declare const authContract: {
|
|
|
1346
1346
|
description?: string | null | undefined;
|
|
1347
1347
|
isPrimary?: boolean | undefined;
|
|
1348
1348
|
}>, "many">>>;
|
|
1349
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION"]>, "many">>;
|
|
1349
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">>;
|
|
1350
1350
|
impersonatedBy: z.ZodOptional<z.ZodString>;
|
|
1351
1351
|
managedOfficeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1352
1352
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1365,7 +1365,7 @@ export declare const authContract: {
|
|
|
1365
1365
|
}[];
|
|
1366
1366
|
firstName?: string | undefined;
|
|
1367
1367
|
lastName?: string | undefined;
|
|
1368
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1368
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1369
1369
|
impersonatedBy?: string | undefined;
|
|
1370
1370
|
managedOfficeIds?: string[] | undefined;
|
|
1371
1371
|
avatarUrl?: string | undefined;
|
|
@@ -1378,13 +1378,13 @@ export declare const authContract: {
|
|
|
1378
1378
|
email: string;
|
|
1379
1379
|
firstName?: string | undefined;
|
|
1380
1380
|
lastName?: string | undefined;
|
|
1381
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1382
1381
|
phoneNumbers?: {
|
|
1383
1382
|
id: string;
|
|
1384
1383
|
phoneNumber: string;
|
|
1385
1384
|
description?: string | null | undefined;
|
|
1386
1385
|
isPrimary?: boolean | undefined;
|
|
1387
1386
|
}[] | undefined;
|
|
1387
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1388
1388
|
impersonatedBy?: string | undefined;
|
|
1389
1389
|
managedOfficeIds?: string[] | undefined;
|
|
1390
1390
|
avatarUrl?: string | undefined;
|
|
@@ -1402,17 +1402,17 @@ export declare const authContract: {
|
|
|
1402
1402
|
path: z.ZodString;
|
|
1403
1403
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1404
1404
|
}, "strip", z.ZodTypeAny, {
|
|
1405
|
+
message: string;
|
|
1405
1406
|
code: string;
|
|
1406
1407
|
path: string;
|
|
1407
|
-
message: string;
|
|
1408
1408
|
statusCode: number;
|
|
1409
1409
|
timestamp: string;
|
|
1410
1410
|
details?: unknown;
|
|
1411
1411
|
correlationId?: string | undefined;
|
|
1412
1412
|
}, {
|
|
1413
|
+
message: string;
|
|
1413
1414
|
code: string;
|
|
1414
1415
|
path: string;
|
|
1415
|
-
message: string;
|
|
1416
1416
|
statusCode: number;
|
|
1417
1417
|
timestamp: string;
|
|
1418
1418
|
details?: unknown;
|
|
@@ -1421,11 +1421,11 @@ export declare const authContract: {
|
|
|
1421
1421
|
};
|
|
1422
1422
|
};
|
|
1423
1423
|
switchImpersonation: {
|
|
1424
|
+
description: "Requires an already-impersonating session. The new target must be in the original admin allowed impersonation list. Tokens are set via HTTP-only cookies.";
|
|
1424
1425
|
metadata: {
|
|
1425
1426
|
tags: string[];
|
|
1426
1427
|
};
|
|
1427
1428
|
summary: "Switch active impersonation to another user";
|
|
1428
|
-
description: "Requires an already-impersonating session. The new target must be in the original admin allowed impersonation list. Tokens are set via HTTP-only cookies.";
|
|
1429
1429
|
method: "POST";
|
|
1430
1430
|
body: z.ZodObject<{
|
|
1431
1431
|
targetUserId: z.ZodString;
|
|
@@ -1445,17 +1445,17 @@ export declare const authContract: {
|
|
|
1445
1445
|
path: z.ZodString;
|
|
1446
1446
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1447
1447
|
}, "strip", z.ZodTypeAny, {
|
|
1448
|
+
message: string;
|
|
1448
1449
|
code: string;
|
|
1449
1450
|
path: string;
|
|
1450
|
-
message: string;
|
|
1451
1451
|
statusCode: number;
|
|
1452
1452
|
timestamp: string;
|
|
1453
1453
|
details?: unknown;
|
|
1454
1454
|
correlationId?: string | undefined;
|
|
1455
1455
|
}, {
|
|
1456
|
+
message: string;
|
|
1456
1457
|
code: string;
|
|
1457
1458
|
path: string;
|
|
1458
|
-
message: string;
|
|
1459
1459
|
statusCode: number;
|
|
1460
1460
|
timestamp: string;
|
|
1461
1461
|
details?: unknown;
|
|
@@ -1482,7 +1482,7 @@ export declare const authContract: {
|
|
|
1482
1482
|
description?: string | null | undefined;
|
|
1483
1483
|
isPrimary?: boolean | undefined;
|
|
1484
1484
|
}>, "many">>>;
|
|
1485
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION"]>, "many">>;
|
|
1485
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">>;
|
|
1486
1486
|
impersonatedBy: z.ZodOptional<z.ZodString>;
|
|
1487
1487
|
managedOfficeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1488
1488
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1501,7 +1501,7 @@ export declare const authContract: {
|
|
|
1501
1501
|
}[];
|
|
1502
1502
|
firstName?: string | undefined;
|
|
1503
1503
|
lastName?: string | undefined;
|
|
1504
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1504
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1505
1505
|
impersonatedBy?: string | undefined;
|
|
1506
1506
|
managedOfficeIds?: string[] | undefined;
|
|
1507
1507
|
avatarUrl?: string | undefined;
|
|
@@ -1514,13 +1514,13 @@ export declare const authContract: {
|
|
|
1514
1514
|
email: string;
|
|
1515
1515
|
firstName?: string | undefined;
|
|
1516
1516
|
lastName?: string | undefined;
|
|
1517
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1518
1517
|
phoneNumbers?: {
|
|
1519
1518
|
id: string;
|
|
1520
1519
|
phoneNumber: string;
|
|
1521
1520
|
description?: string | null | undefined;
|
|
1522
1521
|
isPrimary?: boolean | undefined;
|
|
1523
1522
|
}[] | undefined;
|
|
1523
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1524
1524
|
impersonatedBy?: string | undefined;
|
|
1525
1525
|
managedOfficeIds?: string[] | undefined;
|
|
1526
1526
|
avatarUrl?: string | undefined;
|
|
@@ -1538,17 +1538,17 @@ export declare const authContract: {
|
|
|
1538
1538
|
path: z.ZodString;
|
|
1539
1539
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1540
1540
|
}, "strip", z.ZodTypeAny, {
|
|
1541
|
+
message: string;
|
|
1541
1542
|
code: string;
|
|
1542
1543
|
path: string;
|
|
1543
|
-
message: string;
|
|
1544
1544
|
statusCode: number;
|
|
1545
1545
|
timestamp: string;
|
|
1546
1546
|
details?: unknown;
|
|
1547
1547
|
correlationId?: string | undefined;
|
|
1548
1548
|
}, {
|
|
1549
|
+
message: string;
|
|
1549
1550
|
code: string;
|
|
1550
1551
|
path: string;
|
|
1551
|
-
message: string;
|
|
1552
1552
|
statusCode: number;
|
|
1553
1553
|
timestamp: string;
|
|
1554
1554
|
details?: unknown;
|
|
@@ -1563,17 +1563,17 @@ export declare const authContract: {
|
|
|
1563
1563
|
path: z.ZodString;
|
|
1564
1564
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1565
1565
|
}, "strip", z.ZodTypeAny, {
|
|
1566
|
+
message: string;
|
|
1566
1567
|
code: string;
|
|
1567
1568
|
path: string;
|
|
1568
|
-
message: string;
|
|
1569
1569
|
statusCode: number;
|
|
1570
1570
|
timestamp: string;
|
|
1571
1571
|
details?: unknown;
|
|
1572
1572
|
correlationId?: string | undefined;
|
|
1573
1573
|
}, {
|
|
1574
|
+
message: string;
|
|
1574
1575
|
code: string;
|
|
1575
1576
|
path: string;
|
|
1576
|
-
message: string;
|
|
1577
1577
|
statusCode: number;
|
|
1578
1578
|
timestamp: string;
|
|
1579
1579
|
details?: unknown;
|
|
@@ -1588,17 +1588,17 @@ export declare const authContract: {
|
|
|
1588
1588
|
path: z.ZodString;
|
|
1589
1589
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1590
1590
|
}, "strip", z.ZodTypeAny, {
|
|
1591
|
+
message: string;
|
|
1591
1592
|
code: string;
|
|
1592
1593
|
path: string;
|
|
1593
|
-
message: string;
|
|
1594
1594
|
statusCode: number;
|
|
1595
1595
|
timestamp: string;
|
|
1596
1596
|
details?: unknown;
|
|
1597
1597
|
correlationId?: string | undefined;
|
|
1598
1598
|
}, {
|
|
1599
|
+
message: string;
|
|
1599
1600
|
code: string;
|
|
1600
1601
|
path: string;
|
|
1601
|
-
message: string;
|
|
1602
1602
|
statusCode: number;
|
|
1603
1603
|
timestamp: string;
|
|
1604
1604
|
details?: unknown;
|
|
@@ -1613,17 +1613,17 @@ export declare const authContract: {
|
|
|
1613
1613
|
path: z.ZodString;
|
|
1614
1614
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1615
1615
|
}, "strip", z.ZodTypeAny, {
|
|
1616
|
+
message: string;
|
|
1616
1617
|
code: string;
|
|
1617
1618
|
path: string;
|
|
1618
|
-
message: string;
|
|
1619
1619
|
statusCode: number;
|
|
1620
1620
|
timestamp: string;
|
|
1621
1621
|
details?: unknown;
|
|
1622
1622
|
correlationId?: string | undefined;
|
|
1623
1623
|
}, {
|
|
1624
|
+
message: string;
|
|
1624
1625
|
code: string;
|
|
1625
1626
|
path: string;
|
|
1626
|
-
message: string;
|
|
1627
1627
|
statusCode: number;
|
|
1628
1628
|
timestamp: string;
|
|
1629
1629
|
details?: unknown;
|
|
@@ -1632,9 +1632,7 @@ export declare const authContract: {
|
|
|
1632
1632
|
};
|
|
1633
1633
|
};
|
|
1634
1634
|
impersonationContext: {
|
|
1635
|
-
|
|
1636
|
-
tags: string[];
|
|
1637
|
-
};
|
|
1635
|
+
description: "Returns the original admin and the list of users they can impersonate, optionally filtered by `query`. 403 if the caller is not impersonating.";
|
|
1638
1636
|
query: z.ZodObject<{
|
|
1639
1637
|
query: z.ZodOptional<z.ZodString>;
|
|
1640
1638
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1642,8 +1640,10 @@ export declare const authContract: {
|
|
|
1642
1640
|
}, {
|
|
1643
1641
|
query?: string | undefined;
|
|
1644
1642
|
}>;
|
|
1643
|
+
metadata: {
|
|
1644
|
+
tags: string[];
|
|
1645
|
+
};
|
|
1645
1646
|
summary: "Get the original admin context while impersonating";
|
|
1646
|
-
description: "Returns the original admin and the list of users they can impersonate, optionally filtered by `query`. 403 if the caller is not impersonating.";
|
|
1647
1647
|
method: "GET";
|
|
1648
1648
|
path: "/v2/auth/impersonation-context";
|
|
1649
1649
|
responses: {
|
|
@@ -1656,17 +1656,17 @@ export declare const authContract: {
|
|
|
1656
1656
|
path: z.ZodString;
|
|
1657
1657
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1658
1658
|
}, "strip", z.ZodTypeAny, {
|
|
1659
|
+
message: string;
|
|
1659
1660
|
code: string;
|
|
1660
1661
|
path: string;
|
|
1661
|
-
message: string;
|
|
1662
1662
|
statusCode: number;
|
|
1663
1663
|
timestamp: string;
|
|
1664
1664
|
details?: unknown;
|
|
1665
1665
|
correlationId?: string | undefined;
|
|
1666
1666
|
}, {
|
|
1667
|
+
message: string;
|
|
1667
1668
|
code: string;
|
|
1668
1669
|
path: string;
|
|
1669
|
-
message: string;
|
|
1670
1670
|
statusCode: number;
|
|
1671
1671
|
timestamp: string;
|
|
1672
1672
|
details?: unknown;
|
|
@@ -1681,17 +1681,17 @@ export declare const authContract: {
|
|
|
1681
1681
|
path: z.ZodString;
|
|
1682
1682
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1683
1683
|
}, "strip", z.ZodTypeAny, {
|
|
1684
|
+
message: string;
|
|
1684
1685
|
code: string;
|
|
1685
1686
|
path: string;
|
|
1686
|
-
message: string;
|
|
1687
1687
|
statusCode: number;
|
|
1688
1688
|
timestamp: string;
|
|
1689
1689
|
details?: unknown;
|
|
1690
1690
|
correlationId?: string | undefined;
|
|
1691
1691
|
}, {
|
|
1692
|
+
message: string;
|
|
1692
1693
|
code: string;
|
|
1693
1694
|
path: string;
|
|
1694
|
-
message: string;
|
|
1695
1695
|
statusCode: number;
|
|
1696
1696
|
timestamp: string;
|
|
1697
1697
|
details?: unknown;
|
|
@@ -1756,17 +1756,17 @@ export declare const authContract: {
|
|
|
1756
1756
|
path: z.ZodString;
|
|
1757
1757
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1758
1758
|
}, "strip", z.ZodTypeAny, {
|
|
1759
|
+
message: string;
|
|
1759
1760
|
code: string;
|
|
1760
1761
|
path: string;
|
|
1761
|
-
message: string;
|
|
1762
1762
|
statusCode: number;
|
|
1763
1763
|
timestamp: string;
|
|
1764
1764
|
details?: unknown;
|
|
1765
1765
|
correlationId?: string | undefined;
|
|
1766
1766
|
}, {
|
|
1767
|
+
message: string;
|
|
1767
1768
|
code: string;
|
|
1768
1769
|
path: string;
|
|
1769
|
-
message: string;
|
|
1770
1770
|
statusCode: number;
|
|
1771
1771
|
timestamp: string;
|
|
1772
1772
|
details?: unknown;
|
|
@@ -1781,17 +1781,17 @@ export declare const authContract: {
|
|
|
1781
1781
|
path: z.ZodString;
|
|
1782
1782
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1783
1783
|
}, "strip", z.ZodTypeAny, {
|
|
1784
|
+
message: string;
|
|
1784
1785
|
code: string;
|
|
1785
1786
|
path: string;
|
|
1786
|
-
message: string;
|
|
1787
1787
|
statusCode: number;
|
|
1788
1788
|
timestamp: string;
|
|
1789
1789
|
details?: unknown;
|
|
1790
1790
|
correlationId?: string | undefined;
|
|
1791
1791
|
}, {
|
|
1792
|
+
message: string;
|
|
1792
1793
|
code: string;
|
|
1793
1794
|
path: string;
|
|
1794
|
-
message: string;
|
|
1795
1795
|
statusCode: number;
|
|
1796
1796
|
timestamp: string;
|
|
1797
1797
|
details?: unknown;
|