@dakkitor/api-contracts 1.9.1 → 1.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +31 -1
- package/dist/abilities/abilities.contract.spec.js +52 -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 +32 -1
- package/dist/abilities/worker-curator.abilities.json +17 -1
- package/dist/actives/actives.contract.d.ts +7200 -6919
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +137 -137
- package/dist/auth/auth.contract.d.ts +85 -85
- package/dist/bookings/backdate-guard.spec.js +24 -32
- package/dist/bookings/bookings.contract.d.ts +10542 -10116
- 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 +315 -140
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +39 -6
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +9230 -4114
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.js +362 -16
- package/dist/candidate-calling/candidate-calling.contract.spec.js +164 -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 +601 -601
- package/dist/collaborations/collaborations.contract.d.ts +538 -538
- 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 +238 -238
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2154 -1296
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +36 -3
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +300 -300
- package/dist/curated-worker-leads/contact-history.spec.js +86 -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 +8598 -2519
- 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 +1213 -1131
- 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 +1278 -535
- 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 +663 -663
- package/dist/exports-events/exports-events.schemas.d.ts +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/jobs/jobs.contract.d.ts +5586 -3381
- 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 +123 -123
- package/dist/lead-assignments/lead-assignments.contract.d.ts +1897 -122
- 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 +103 -103
- package/dist/leads/leads.contract.d.ts +210 -210
- 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 +512 -40
- 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/own-research/own-research.contract.d.ts +196 -130
- package/dist/own-research/own-research.contract.d.ts.map +1 -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 +55 -55
- package/dist/users/users.contract.d.ts +236 -236
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +69 -69
- package/dist/workers/workers.contract.d.ts +2620 -2420
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -132,9 +132,6 @@ export type FilterKpiUsers = z.infer<typeof FilterKpiUsersSchema>;
|
|
|
132
132
|
export type FilterKpiTargets = z.infer<typeof FilterKpiTargetsSchema>;
|
|
133
133
|
export declare const kpiImpersonationContract: {
|
|
134
134
|
listKpiUsers: {
|
|
135
|
-
metadata: {
|
|
136
|
-
tags: string[];
|
|
137
|
-
};
|
|
138
135
|
query: z.ZodObject<{
|
|
139
136
|
targetUserId: z.ZodOptional<z.ZodString>;
|
|
140
137
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -142,11 +139,14 @@ export declare const kpiImpersonationContract: {
|
|
|
142
139
|
}, {
|
|
143
140
|
targetUserId?: string | undefined;
|
|
144
141
|
}>;
|
|
142
|
+
metadata: {
|
|
143
|
+
tags: string[];
|
|
144
|
+
};
|
|
145
145
|
summary: "List all KPI users with their impersonation assignment counts";
|
|
146
146
|
method: "GET";
|
|
147
147
|
path: "/v2/kpi-impersonation";
|
|
148
148
|
responses: {
|
|
149
|
-
|
|
149
|
+
401: z.ZodObject<{
|
|
150
150
|
statusCode: z.ZodNumber;
|
|
151
151
|
message: z.ZodString;
|
|
152
152
|
code: z.ZodString;
|
|
@@ -155,23 +155,23 @@ export declare const kpiImpersonationContract: {
|
|
|
155
155
|
path: z.ZodString;
|
|
156
156
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
message: string;
|
|
159
158
|
code: string;
|
|
160
159
|
path: string;
|
|
160
|
+
message: string;
|
|
161
161
|
statusCode: number;
|
|
162
162
|
timestamp: string;
|
|
163
163
|
details?: unknown;
|
|
164
164
|
correlationId?: string | undefined;
|
|
165
165
|
}, {
|
|
166
|
-
message: string;
|
|
167
166
|
code: string;
|
|
168
167
|
path: string;
|
|
168
|
+
message: string;
|
|
169
169
|
statusCode: number;
|
|
170
170
|
timestamp: string;
|
|
171
171
|
details?: unknown;
|
|
172
172
|
correlationId?: string | undefined;
|
|
173
173
|
}>;
|
|
174
|
-
|
|
174
|
+
400: z.ZodObject<{
|
|
175
175
|
statusCode: z.ZodNumber;
|
|
176
176
|
message: z.ZodString;
|
|
177
177
|
code: z.ZodString;
|
|
@@ -180,23 +180,23 @@ export declare const kpiImpersonationContract: {
|
|
|
180
180
|
path: z.ZodString;
|
|
181
181
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
182
182
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
message: string;
|
|
184
183
|
code: string;
|
|
185
184
|
path: string;
|
|
185
|
+
message: string;
|
|
186
186
|
statusCode: number;
|
|
187
187
|
timestamp: string;
|
|
188
188
|
details?: unknown;
|
|
189
189
|
correlationId?: string | undefined;
|
|
190
190
|
}, {
|
|
191
|
-
message: string;
|
|
192
191
|
code: string;
|
|
193
192
|
path: string;
|
|
193
|
+
message: string;
|
|
194
194
|
statusCode: number;
|
|
195
195
|
timestamp: string;
|
|
196
196
|
details?: unknown;
|
|
197
197
|
correlationId?: string | undefined;
|
|
198
198
|
}>;
|
|
199
|
-
|
|
199
|
+
403: z.ZodObject<{
|
|
200
200
|
statusCode: z.ZodNumber;
|
|
201
201
|
message: z.ZodString;
|
|
202
202
|
code: z.ZodString;
|
|
@@ -205,17 +205,17 @@ export declare const kpiImpersonationContract: {
|
|
|
205
205
|
path: z.ZodString;
|
|
206
206
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
207
207
|
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
message: string;
|
|
209
208
|
code: string;
|
|
210
209
|
path: string;
|
|
210
|
+
message: string;
|
|
211
211
|
statusCode: number;
|
|
212
212
|
timestamp: string;
|
|
213
213
|
details?: unknown;
|
|
214
214
|
correlationId?: string | undefined;
|
|
215
215
|
}, {
|
|
216
|
-
message: string;
|
|
217
216
|
code: string;
|
|
218
217
|
path: string;
|
|
218
|
+
message: string;
|
|
219
219
|
statusCode: number;
|
|
220
220
|
timestamp: string;
|
|
221
221
|
details?: unknown;
|
|
@@ -230,17 +230,17 @@ export declare const kpiImpersonationContract: {
|
|
|
230
230
|
path: z.ZodString;
|
|
231
231
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
232
232
|
}, "strip", z.ZodTypeAny, {
|
|
233
|
-
message: string;
|
|
234
233
|
code: string;
|
|
235
234
|
path: string;
|
|
235
|
+
message: string;
|
|
236
236
|
statusCode: number;
|
|
237
237
|
timestamp: string;
|
|
238
238
|
details?: unknown;
|
|
239
239
|
correlationId?: string | undefined;
|
|
240
240
|
}, {
|
|
241
|
-
message: string;
|
|
242
241
|
code: string;
|
|
243
242
|
path: string;
|
|
243
|
+
message: string;
|
|
244
244
|
statusCode: number;
|
|
245
245
|
timestamp: string;
|
|
246
246
|
details?: unknown;
|
|
@@ -265,16 +265,6 @@ export declare const kpiImpersonationContract: {
|
|
|
265
265
|
};
|
|
266
266
|
};
|
|
267
267
|
listAssignedTargets: {
|
|
268
|
-
metadata: {
|
|
269
|
-
tags: string[];
|
|
270
|
-
};
|
|
271
|
-
pathParams: z.ZodObject<{
|
|
272
|
-
kpiUserId: z.ZodString;
|
|
273
|
-
}, "strip", z.ZodTypeAny, {
|
|
274
|
-
kpiUserId: string;
|
|
275
|
-
}, {
|
|
276
|
-
kpiUserId: string;
|
|
277
|
-
}>;
|
|
278
268
|
query: z.ZodObject<{
|
|
279
269
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
280
270
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -292,11 +282,21 @@ export declare const kpiImpersonationContract: {
|
|
|
292
282
|
limit?: number | undefined;
|
|
293
283
|
role?: "ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH" | undefined;
|
|
294
284
|
}>;
|
|
285
|
+
metadata: {
|
|
286
|
+
tags: string[];
|
|
287
|
+
};
|
|
288
|
+
pathParams: z.ZodObject<{
|
|
289
|
+
kpiUserId: z.ZodString;
|
|
290
|
+
}, "strip", z.ZodTypeAny, {
|
|
291
|
+
kpiUserId: string;
|
|
292
|
+
}, {
|
|
293
|
+
kpiUserId: string;
|
|
294
|
+
}>;
|
|
295
295
|
summary: "List users assigned to a KPI user for impersonation (paginated)";
|
|
296
296
|
method: "GET";
|
|
297
297
|
path: "/v2/kpi-impersonation/:kpiUserId/targets";
|
|
298
298
|
responses: {
|
|
299
|
-
|
|
299
|
+
401: z.ZodObject<{
|
|
300
300
|
statusCode: z.ZodNumber;
|
|
301
301
|
message: z.ZodString;
|
|
302
302
|
code: z.ZodString;
|
|
@@ -305,23 +305,23 @@ export declare const kpiImpersonationContract: {
|
|
|
305
305
|
path: z.ZodString;
|
|
306
306
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
307
307
|
}, "strip", z.ZodTypeAny, {
|
|
308
|
-
message: string;
|
|
309
308
|
code: string;
|
|
310
309
|
path: string;
|
|
310
|
+
message: string;
|
|
311
311
|
statusCode: number;
|
|
312
312
|
timestamp: string;
|
|
313
313
|
details?: unknown;
|
|
314
314
|
correlationId?: string | undefined;
|
|
315
315
|
}, {
|
|
316
|
-
message: string;
|
|
317
316
|
code: string;
|
|
318
317
|
path: string;
|
|
318
|
+
message: string;
|
|
319
319
|
statusCode: number;
|
|
320
320
|
timestamp: string;
|
|
321
321
|
details?: unknown;
|
|
322
322
|
correlationId?: string | undefined;
|
|
323
323
|
}>;
|
|
324
|
-
|
|
324
|
+
400: z.ZodObject<{
|
|
325
325
|
statusCode: z.ZodNumber;
|
|
326
326
|
message: z.ZodString;
|
|
327
327
|
code: z.ZodString;
|
|
@@ -330,23 +330,23 @@ export declare const kpiImpersonationContract: {
|
|
|
330
330
|
path: z.ZodString;
|
|
331
331
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
332
332
|
}, "strip", z.ZodTypeAny, {
|
|
333
|
-
message: string;
|
|
334
333
|
code: string;
|
|
335
334
|
path: string;
|
|
335
|
+
message: string;
|
|
336
336
|
statusCode: number;
|
|
337
337
|
timestamp: string;
|
|
338
338
|
details?: unknown;
|
|
339
339
|
correlationId?: string | undefined;
|
|
340
340
|
}, {
|
|
341
|
-
message: string;
|
|
342
341
|
code: string;
|
|
343
342
|
path: string;
|
|
343
|
+
message: string;
|
|
344
344
|
statusCode: number;
|
|
345
345
|
timestamp: string;
|
|
346
346
|
details?: unknown;
|
|
347
347
|
correlationId?: string | undefined;
|
|
348
348
|
}>;
|
|
349
|
-
|
|
349
|
+
403: z.ZodObject<{
|
|
350
350
|
statusCode: z.ZodNumber;
|
|
351
351
|
message: z.ZodString;
|
|
352
352
|
code: z.ZodString;
|
|
@@ -355,17 +355,17 @@ export declare const kpiImpersonationContract: {
|
|
|
355
355
|
path: z.ZodString;
|
|
356
356
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
357
357
|
}, "strip", z.ZodTypeAny, {
|
|
358
|
-
message: string;
|
|
359
358
|
code: string;
|
|
360
359
|
path: string;
|
|
360
|
+
message: string;
|
|
361
361
|
statusCode: number;
|
|
362
362
|
timestamp: string;
|
|
363
363
|
details?: unknown;
|
|
364
364
|
correlationId?: string | undefined;
|
|
365
365
|
}, {
|
|
366
|
-
message: string;
|
|
367
366
|
code: string;
|
|
368
367
|
path: string;
|
|
368
|
+
message: string;
|
|
369
369
|
statusCode: number;
|
|
370
370
|
timestamp: string;
|
|
371
371
|
details?: unknown;
|
|
@@ -380,17 +380,17 @@ export declare const kpiImpersonationContract: {
|
|
|
380
380
|
path: z.ZodString;
|
|
381
381
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
382
382
|
}, "strip", z.ZodTypeAny, {
|
|
383
|
-
message: string;
|
|
384
383
|
code: string;
|
|
385
384
|
path: string;
|
|
385
|
+
message: string;
|
|
386
386
|
statusCode: number;
|
|
387
387
|
timestamp: string;
|
|
388
388
|
details?: unknown;
|
|
389
389
|
correlationId?: string | undefined;
|
|
390
390
|
}, {
|
|
391
|
-
message: string;
|
|
392
391
|
code: string;
|
|
393
392
|
path: string;
|
|
393
|
+
message: string;
|
|
394
394
|
statusCode: number;
|
|
395
395
|
timestamp: string;
|
|
396
396
|
details?: unknown;
|
|
@@ -457,17 +457,17 @@ export declare const kpiImpersonationContract: {
|
|
|
457
457
|
path: z.ZodString;
|
|
458
458
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
459
459
|
}, "strip", z.ZodTypeAny, {
|
|
460
|
-
message: string;
|
|
461
460
|
code: string;
|
|
462
461
|
path: string;
|
|
462
|
+
message: string;
|
|
463
463
|
statusCode: number;
|
|
464
464
|
timestamp: string;
|
|
465
465
|
details?: unknown;
|
|
466
466
|
correlationId?: string | undefined;
|
|
467
467
|
}, {
|
|
468
|
-
message: string;
|
|
469
468
|
code: string;
|
|
470
469
|
path: string;
|
|
470
|
+
message: string;
|
|
471
471
|
statusCode: number;
|
|
472
472
|
timestamp: string;
|
|
473
473
|
details?: unknown;
|
|
@@ -476,16 +476,6 @@ export declare const kpiImpersonationContract: {
|
|
|
476
476
|
};
|
|
477
477
|
};
|
|
478
478
|
listUnassignedTargets: {
|
|
479
|
-
metadata: {
|
|
480
|
-
tags: string[];
|
|
481
|
-
};
|
|
482
|
-
pathParams: z.ZodObject<{
|
|
483
|
-
kpiUserId: z.ZodString;
|
|
484
|
-
}, "strip", z.ZodTypeAny, {
|
|
485
|
-
kpiUserId: string;
|
|
486
|
-
}, {
|
|
487
|
-
kpiUserId: string;
|
|
488
|
-
}>;
|
|
489
479
|
query: z.ZodObject<{
|
|
490
480
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
491
481
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -503,11 +493,21 @@ export declare const kpiImpersonationContract: {
|
|
|
503
493
|
limit?: number | undefined;
|
|
504
494
|
role?: "ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH" | undefined;
|
|
505
495
|
}>;
|
|
496
|
+
metadata: {
|
|
497
|
+
tags: string[];
|
|
498
|
+
};
|
|
499
|
+
pathParams: z.ZodObject<{
|
|
500
|
+
kpiUserId: z.ZodString;
|
|
501
|
+
}, "strip", z.ZodTypeAny, {
|
|
502
|
+
kpiUserId: string;
|
|
503
|
+
}, {
|
|
504
|
+
kpiUserId: string;
|
|
505
|
+
}>;
|
|
506
506
|
summary: "List users NOT assigned to a KPI user for impersonation (paginated)";
|
|
507
507
|
method: "GET";
|
|
508
508
|
path: "/v2/kpi-impersonation/:kpiUserId/unassigned";
|
|
509
509
|
responses: {
|
|
510
|
-
|
|
510
|
+
401: z.ZodObject<{
|
|
511
511
|
statusCode: z.ZodNumber;
|
|
512
512
|
message: z.ZodString;
|
|
513
513
|
code: z.ZodString;
|
|
@@ -516,23 +516,23 @@ export declare const kpiImpersonationContract: {
|
|
|
516
516
|
path: z.ZodString;
|
|
517
517
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
518
518
|
}, "strip", z.ZodTypeAny, {
|
|
519
|
-
message: string;
|
|
520
519
|
code: string;
|
|
521
520
|
path: string;
|
|
521
|
+
message: string;
|
|
522
522
|
statusCode: number;
|
|
523
523
|
timestamp: string;
|
|
524
524
|
details?: unknown;
|
|
525
525
|
correlationId?: string | undefined;
|
|
526
526
|
}, {
|
|
527
|
-
message: string;
|
|
528
527
|
code: string;
|
|
529
528
|
path: string;
|
|
529
|
+
message: string;
|
|
530
530
|
statusCode: number;
|
|
531
531
|
timestamp: string;
|
|
532
532
|
details?: unknown;
|
|
533
533
|
correlationId?: string | undefined;
|
|
534
534
|
}>;
|
|
535
|
-
|
|
535
|
+
400: z.ZodObject<{
|
|
536
536
|
statusCode: z.ZodNumber;
|
|
537
537
|
message: z.ZodString;
|
|
538
538
|
code: z.ZodString;
|
|
@@ -541,23 +541,23 @@ export declare const kpiImpersonationContract: {
|
|
|
541
541
|
path: z.ZodString;
|
|
542
542
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
543
543
|
}, "strip", z.ZodTypeAny, {
|
|
544
|
-
message: string;
|
|
545
544
|
code: string;
|
|
546
545
|
path: string;
|
|
546
|
+
message: string;
|
|
547
547
|
statusCode: number;
|
|
548
548
|
timestamp: string;
|
|
549
549
|
details?: unknown;
|
|
550
550
|
correlationId?: string | undefined;
|
|
551
551
|
}, {
|
|
552
|
-
message: string;
|
|
553
552
|
code: string;
|
|
554
553
|
path: string;
|
|
554
|
+
message: string;
|
|
555
555
|
statusCode: number;
|
|
556
556
|
timestamp: string;
|
|
557
557
|
details?: unknown;
|
|
558
558
|
correlationId?: string | undefined;
|
|
559
559
|
}>;
|
|
560
|
-
|
|
560
|
+
403: z.ZodObject<{
|
|
561
561
|
statusCode: z.ZodNumber;
|
|
562
562
|
message: z.ZodString;
|
|
563
563
|
code: z.ZodString;
|
|
@@ -566,17 +566,17 @@ export declare const kpiImpersonationContract: {
|
|
|
566
566
|
path: z.ZodString;
|
|
567
567
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
568
568
|
}, "strip", z.ZodTypeAny, {
|
|
569
|
-
message: string;
|
|
570
569
|
code: string;
|
|
571
570
|
path: string;
|
|
571
|
+
message: string;
|
|
572
572
|
statusCode: number;
|
|
573
573
|
timestamp: string;
|
|
574
574
|
details?: unknown;
|
|
575
575
|
correlationId?: string | undefined;
|
|
576
576
|
}, {
|
|
577
|
-
message: string;
|
|
578
577
|
code: string;
|
|
579
578
|
path: string;
|
|
579
|
+
message: string;
|
|
580
580
|
statusCode: number;
|
|
581
581
|
timestamp: string;
|
|
582
582
|
details?: unknown;
|
|
@@ -591,17 +591,17 @@ export declare const kpiImpersonationContract: {
|
|
|
591
591
|
path: z.ZodString;
|
|
592
592
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
593
593
|
}, "strip", z.ZodTypeAny, {
|
|
594
|
-
message: string;
|
|
595
594
|
code: string;
|
|
596
595
|
path: string;
|
|
596
|
+
message: string;
|
|
597
597
|
statusCode: number;
|
|
598
598
|
timestamp: string;
|
|
599
599
|
details?: unknown;
|
|
600
600
|
correlationId?: string | undefined;
|
|
601
601
|
}, {
|
|
602
|
-
message: string;
|
|
603
602
|
code: string;
|
|
604
603
|
path: string;
|
|
604
|
+
message: string;
|
|
605
605
|
statusCode: number;
|
|
606
606
|
timestamp: string;
|
|
607
607
|
details?: unknown;
|
|
@@ -668,17 +668,17 @@ export declare const kpiImpersonationContract: {
|
|
|
668
668
|
path: z.ZodString;
|
|
669
669
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
670
670
|
}, "strip", z.ZodTypeAny, {
|
|
671
|
-
message: string;
|
|
672
671
|
code: string;
|
|
673
672
|
path: string;
|
|
673
|
+
message: string;
|
|
674
674
|
statusCode: number;
|
|
675
675
|
timestamp: string;
|
|
676
676
|
details?: unknown;
|
|
677
677
|
correlationId?: string | undefined;
|
|
678
678
|
}, {
|
|
679
|
-
message: string;
|
|
680
679
|
code: string;
|
|
681
680
|
path: string;
|
|
681
|
+
message: string;
|
|
682
682
|
statusCode: number;
|
|
683
683
|
timestamp: string;
|
|
684
684
|
details?: unknown;
|
|
@@ -705,7 +705,7 @@ export declare const kpiImpersonationContract: {
|
|
|
705
705
|
body: z.ZodUndefined;
|
|
706
706
|
path: "/v2/kpi-impersonation/:kpiUserId/targets/:targetUserId";
|
|
707
707
|
responses: {
|
|
708
|
-
|
|
708
|
+
401: z.ZodObject<{
|
|
709
709
|
statusCode: z.ZodNumber;
|
|
710
710
|
message: z.ZodString;
|
|
711
711
|
code: z.ZodString;
|
|
@@ -714,23 +714,23 @@ export declare const kpiImpersonationContract: {
|
|
|
714
714
|
path: z.ZodString;
|
|
715
715
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
716
716
|
}, "strip", z.ZodTypeAny, {
|
|
717
|
-
message: string;
|
|
718
717
|
code: string;
|
|
719
718
|
path: string;
|
|
719
|
+
message: string;
|
|
720
720
|
statusCode: number;
|
|
721
721
|
timestamp: string;
|
|
722
722
|
details?: unknown;
|
|
723
723
|
correlationId?: string | undefined;
|
|
724
724
|
}, {
|
|
725
|
-
message: string;
|
|
726
725
|
code: string;
|
|
727
726
|
path: string;
|
|
727
|
+
message: string;
|
|
728
728
|
statusCode: number;
|
|
729
729
|
timestamp: string;
|
|
730
730
|
details?: unknown;
|
|
731
731
|
correlationId?: string | undefined;
|
|
732
732
|
}>;
|
|
733
|
-
|
|
733
|
+
400: z.ZodObject<{
|
|
734
734
|
statusCode: z.ZodNumber;
|
|
735
735
|
message: z.ZodString;
|
|
736
736
|
code: z.ZodString;
|
|
@@ -739,23 +739,23 @@ export declare const kpiImpersonationContract: {
|
|
|
739
739
|
path: z.ZodString;
|
|
740
740
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
741
741
|
}, "strip", z.ZodTypeAny, {
|
|
742
|
-
message: string;
|
|
743
742
|
code: string;
|
|
744
743
|
path: string;
|
|
744
|
+
message: string;
|
|
745
745
|
statusCode: number;
|
|
746
746
|
timestamp: string;
|
|
747
747
|
details?: unknown;
|
|
748
748
|
correlationId?: string | undefined;
|
|
749
749
|
}, {
|
|
750
|
-
message: string;
|
|
751
750
|
code: string;
|
|
752
751
|
path: string;
|
|
752
|
+
message: string;
|
|
753
753
|
statusCode: number;
|
|
754
754
|
timestamp: string;
|
|
755
755
|
details?: unknown;
|
|
756
756
|
correlationId?: string | undefined;
|
|
757
757
|
}>;
|
|
758
|
-
|
|
758
|
+
403: z.ZodObject<{
|
|
759
759
|
statusCode: z.ZodNumber;
|
|
760
760
|
message: z.ZodString;
|
|
761
761
|
code: z.ZodString;
|
|
@@ -764,17 +764,17 @@ export declare const kpiImpersonationContract: {
|
|
|
764
764
|
path: z.ZodString;
|
|
765
765
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
766
766
|
}, "strip", z.ZodTypeAny, {
|
|
767
|
-
message: string;
|
|
768
767
|
code: string;
|
|
769
768
|
path: string;
|
|
769
|
+
message: string;
|
|
770
770
|
statusCode: number;
|
|
771
771
|
timestamp: string;
|
|
772
772
|
details?: unknown;
|
|
773
773
|
correlationId?: string | undefined;
|
|
774
774
|
}, {
|
|
775
|
-
message: string;
|
|
776
775
|
code: string;
|
|
777
776
|
path: string;
|
|
777
|
+
message: string;
|
|
778
778
|
statusCode: number;
|
|
779
779
|
timestamp: string;
|
|
780
780
|
details?: unknown;
|
|
@@ -789,17 +789,17 @@ export declare const kpiImpersonationContract: {
|
|
|
789
789
|
path: z.ZodString;
|
|
790
790
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
791
791
|
}, "strip", z.ZodTypeAny, {
|
|
792
|
-
message: string;
|
|
793
792
|
code: string;
|
|
794
793
|
path: string;
|
|
794
|
+
message: string;
|
|
795
795
|
statusCode: number;
|
|
796
796
|
timestamp: string;
|
|
797
797
|
details?: unknown;
|
|
798
798
|
correlationId?: string | undefined;
|
|
799
799
|
}, {
|
|
800
|
-
message: string;
|
|
801
800
|
code: string;
|
|
802
801
|
path: string;
|
|
802
|
+
message: string;
|
|
803
803
|
statusCode: number;
|
|
804
804
|
timestamp: string;
|
|
805
805
|
details?: unknown;
|
|
@@ -821,17 +821,17 @@ export declare const kpiImpersonationContract: {
|
|
|
821
821
|
path: z.ZodString;
|
|
822
822
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
823
823
|
}, "strip", z.ZodTypeAny, {
|
|
824
|
-
message: string;
|
|
825
824
|
code: string;
|
|
826
825
|
path: string;
|
|
826
|
+
message: string;
|
|
827
827
|
statusCode: number;
|
|
828
828
|
timestamp: string;
|
|
829
829
|
details?: unknown;
|
|
830
830
|
correlationId?: string | undefined;
|
|
831
831
|
}, {
|
|
832
|
-
message: string;
|
|
833
832
|
code: string;
|
|
834
833
|
path: string;
|
|
834
|
+
message: string;
|
|
835
835
|
statusCode: number;
|
|
836
836
|
timestamp: string;
|
|
837
837
|
details?: unknown;
|
|
@@ -846,17 +846,17 @@ export declare const kpiImpersonationContract: {
|
|
|
846
846
|
path: z.ZodString;
|
|
847
847
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
848
848
|
}, "strip", z.ZodTypeAny, {
|
|
849
|
-
message: string;
|
|
850
849
|
code: string;
|
|
851
850
|
path: string;
|
|
851
|
+
message: string;
|
|
852
852
|
statusCode: number;
|
|
853
853
|
timestamp: string;
|
|
854
854
|
details?: unknown;
|
|
855
855
|
correlationId?: string | undefined;
|
|
856
856
|
}, {
|
|
857
|
-
message: string;
|
|
858
857
|
code: string;
|
|
859
858
|
path: string;
|
|
859
|
+
message: string;
|
|
860
860
|
statusCode: number;
|
|
861
861
|
timestamp: string;
|
|
862
862
|
details?: unknown;
|
|
@@ -883,7 +883,7 @@ export declare const kpiImpersonationContract: {
|
|
|
883
883
|
body: z.ZodUndefined;
|
|
884
884
|
path: "/v2/kpi-impersonation/:kpiUserId/targets/:targetUserId";
|
|
885
885
|
responses: {
|
|
886
|
-
|
|
886
|
+
401: z.ZodObject<{
|
|
887
887
|
statusCode: z.ZodNumber;
|
|
888
888
|
message: z.ZodString;
|
|
889
889
|
code: z.ZodString;
|
|
@@ -892,23 +892,23 @@ export declare const kpiImpersonationContract: {
|
|
|
892
892
|
path: z.ZodString;
|
|
893
893
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
894
894
|
}, "strip", z.ZodTypeAny, {
|
|
895
|
-
message: string;
|
|
896
895
|
code: string;
|
|
897
896
|
path: string;
|
|
897
|
+
message: string;
|
|
898
898
|
statusCode: number;
|
|
899
899
|
timestamp: string;
|
|
900
900
|
details?: unknown;
|
|
901
901
|
correlationId?: string | undefined;
|
|
902
902
|
}, {
|
|
903
|
-
message: string;
|
|
904
903
|
code: string;
|
|
905
904
|
path: string;
|
|
905
|
+
message: string;
|
|
906
906
|
statusCode: number;
|
|
907
907
|
timestamp: string;
|
|
908
908
|
details?: unknown;
|
|
909
909
|
correlationId?: string | undefined;
|
|
910
910
|
}>;
|
|
911
|
-
|
|
911
|
+
400: z.ZodObject<{
|
|
912
912
|
statusCode: z.ZodNumber;
|
|
913
913
|
message: z.ZodString;
|
|
914
914
|
code: z.ZodString;
|
|
@@ -917,23 +917,23 @@ export declare const kpiImpersonationContract: {
|
|
|
917
917
|
path: z.ZodString;
|
|
918
918
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
919
919
|
}, "strip", z.ZodTypeAny, {
|
|
920
|
-
message: string;
|
|
921
920
|
code: string;
|
|
922
921
|
path: string;
|
|
922
|
+
message: string;
|
|
923
923
|
statusCode: number;
|
|
924
924
|
timestamp: string;
|
|
925
925
|
details?: unknown;
|
|
926
926
|
correlationId?: string | undefined;
|
|
927
927
|
}, {
|
|
928
|
-
message: string;
|
|
929
928
|
code: string;
|
|
930
929
|
path: string;
|
|
930
|
+
message: string;
|
|
931
931
|
statusCode: number;
|
|
932
932
|
timestamp: string;
|
|
933
933
|
details?: unknown;
|
|
934
934
|
correlationId?: string | undefined;
|
|
935
935
|
}>;
|
|
936
|
-
|
|
936
|
+
403: z.ZodObject<{
|
|
937
937
|
statusCode: z.ZodNumber;
|
|
938
938
|
message: z.ZodString;
|
|
939
939
|
code: z.ZodString;
|
|
@@ -942,17 +942,17 @@ export declare const kpiImpersonationContract: {
|
|
|
942
942
|
path: z.ZodString;
|
|
943
943
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
944
944
|
}, "strip", z.ZodTypeAny, {
|
|
945
|
-
message: string;
|
|
946
945
|
code: string;
|
|
947
946
|
path: string;
|
|
947
|
+
message: string;
|
|
948
948
|
statusCode: number;
|
|
949
949
|
timestamp: string;
|
|
950
950
|
details?: unknown;
|
|
951
951
|
correlationId?: string | undefined;
|
|
952
952
|
}, {
|
|
953
|
-
message: string;
|
|
954
953
|
code: string;
|
|
955
954
|
path: string;
|
|
955
|
+
message: string;
|
|
956
956
|
statusCode: number;
|
|
957
957
|
timestamp: string;
|
|
958
958
|
details?: unknown;
|
|
@@ -967,17 +967,17 @@ export declare const kpiImpersonationContract: {
|
|
|
967
967
|
path: z.ZodString;
|
|
968
968
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
969
969
|
}, "strip", z.ZodTypeAny, {
|
|
970
|
-
message: string;
|
|
971
970
|
code: string;
|
|
972
971
|
path: string;
|
|
972
|
+
message: string;
|
|
973
973
|
statusCode: number;
|
|
974
974
|
timestamp: string;
|
|
975
975
|
details?: unknown;
|
|
976
976
|
correlationId?: string | undefined;
|
|
977
977
|
}, {
|
|
978
|
-
message: string;
|
|
979
978
|
code: string;
|
|
980
979
|
path: string;
|
|
980
|
+
message: string;
|
|
981
981
|
statusCode: number;
|
|
982
982
|
timestamp: string;
|
|
983
983
|
details?: unknown;
|
|
@@ -999,17 +999,17 @@ export declare const kpiImpersonationContract: {
|
|
|
999
999
|
path: z.ZodString;
|
|
1000
1000
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1001
1001
|
}, "strip", z.ZodTypeAny, {
|
|
1002
|
-
message: string;
|
|
1003
1002
|
code: string;
|
|
1004
1003
|
path: string;
|
|
1004
|
+
message: string;
|
|
1005
1005
|
statusCode: number;
|
|
1006
1006
|
timestamp: string;
|
|
1007
1007
|
details?: unknown;
|
|
1008
1008
|
correlationId?: string | undefined;
|
|
1009
1009
|
}, {
|
|
1010
|
-
message: string;
|
|
1011
1010
|
code: string;
|
|
1012
1011
|
path: string;
|
|
1012
|
+
message: string;
|
|
1013
1013
|
statusCode: number;
|
|
1014
1014
|
timestamp: string;
|
|
1015
1015
|
details?: unknown;
|
|
@@ -1018,9 +1018,6 @@ export declare const kpiImpersonationContract: {
|
|
|
1018
1018
|
};
|
|
1019
1019
|
};
|
|
1020
1020
|
listGloballyUnassigned: {
|
|
1021
|
-
metadata: {
|
|
1022
|
-
tags: string[];
|
|
1023
|
-
};
|
|
1024
1021
|
query: z.ZodObject<{
|
|
1025
1022
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1026
1023
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1038,11 +1035,14 @@ export declare const kpiImpersonationContract: {
|
|
|
1038
1035
|
limit?: number | undefined;
|
|
1039
1036
|
role?: "ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH" | undefined;
|
|
1040
1037
|
}>;
|
|
1038
|
+
metadata: {
|
|
1039
|
+
tags: string[];
|
|
1040
|
+
};
|
|
1041
1041
|
summary: "List FA/SA users that have no KPI user assigned to impersonate them";
|
|
1042
1042
|
method: "GET";
|
|
1043
1043
|
path: "/v2/kpi-impersonation/unassigned";
|
|
1044
1044
|
responses: {
|
|
1045
|
-
|
|
1045
|
+
401: z.ZodObject<{
|
|
1046
1046
|
statusCode: z.ZodNumber;
|
|
1047
1047
|
message: z.ZodString;
|
|
1048
1048
|
code: z.ZodString;
|
|
@@ -1051,23 +1051,23 @@ export declare const kpiImpersonationContract: {
|
|
|
1051
1051
|
path: z.ZodString;
|
|
1052
1052
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1053
1053
|
}, "strip", z.ZodTypeAny, {
|
|
1054
|
-
message: string;
|
|
1055
1054
|
code: string;
|
|
1056
1055
|
path: string;
|
|
1056
|
+
message: string;
|
|
1057
1057
|
statusCode: number;
|
|
1058
1058
|
timestamp: string;
|
|
1059
1059
|
details?: unknown;
|
|
1060
1060
|
correlationId?: string | undefined;
|
|
1061
1061
|
}, {
|
|
1062
|
-
message: string;
|
|
1063
1062
|
code: string;
|
|
1064
1063
|
path: string;
|
|
1064
|
+
message: string;
|
|
1065
1065
|
statusCode: number;
|
|
1066
1066
|
timestamp: string;
|
|
1067
1067
|
details?: unknown;
|
|
1068
1068
|
correlationId?: string | undefined;
|
|
1069
1069
|
}>;
|
|
1070
|
-
|
|
1070
|
+
400: z.ZodObject<{
|
|
1071
1071
|
statusCode: z.ZodNumber;
|
|
1072
1072
|
message: z.ZodString;
|
|
1073
1073
|
code: z.ZodString;
|
|
@@ -1076,23 +1076,23 @@ export declare const kpiImpersonationContract: {
|
|
|
1076
1076
|
path: z.ZodString;
|
|
1077
1077
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1078
1078
|
}, "strip", z.ZodTypeAny, {
|
|
1079
|
-
message: string;
|
|
1080
1079
|
code: string;
|
|
1081
1080
|
path: string;
|
|
1081
|
+
message: string;
|
|
1082
1082
|
statusCode: number;
|
|
1083
1083
|
timestamp: string;
|
|
1084
1084
|
details?: unknown;
|
|
1085
1085
|
correlationId?: string | undefined;
|
|
1086
1086
|
}, {
|
|
1087
|
-
message: string;
|
|
1088
1087
|
code: string;
|
|
1089
1088
|
path: string;
|
|
1089
|
+
message: string;
|
|
1090
1090
|
statusCode: number;
|
|
1091
1091
|
timestamp: string;
|
|
1092
1092
|
details?: unknown;
|
|
1093
1093
|
correlationId?: string | undefined;
|
|
1094
1094
|
}>;
|
|
1095
|
-
|
|
1095
|
+
403: z.ZodObject<{
|
|
1096
1096
|
statusCode: z.ZodNumber;
|
|
1097
1097
|
message: z.ZodString;
|
|
1098
1098
|
code: z.ZodString;
|
|
@@ -1101,17 +1101,17 @@ export declare const kpiImpersonationContract: {
|
|
|
1101
1101
|
path: z.ZodString;
|
|
1102
1102
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1103
1103
|
}, "strip", z.ZodTypeAny, {
|
|
1104
|
-
message: string;
|
|
1105
1104
|
code: string;
|
|
1106
1105
|
path: string;
|
|
1106
|
+
message: string;
|
|
1107
1107
|
statusCode: number;
|
|
1108
1108
|
timestamp: string;
|
|
1109
1109
|
details?: unknown;
|
|
1110
1110
|
correlationId?: string | undefined;
|
|
1111
1111
|
}, {
|
|
1112
|
-
message: string;
|
|
1113
1112
|
code: string;
|
|
1114
1113
|
path: string;
|
|
1114
|
+
message: string;
|
|
1115
1115
|
statusCode: number;
|
|
1116
1116
|
timestamp: string;
|
|
1117
1117
|
details?: unknown;
|
|
@@ -1126,17 +1126,17 @@ export declare const kpiImpersonationContract: {
|
|
|
1126
1126
|
path: z.ZodString;
|
|
1127
1127
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1128
1128
|
}, "strip", z.ZodTypeAny, {
|
|
1129
|
-
message: string;
|
|
1130
1129
|
code: string;
|
|
1131
1130
|
path: string;
|
|
1131
|
+
message: string;
|
|
1132
1132
|
statusCode: number;
|
|
1133
1133
|
timestamp: string;
|
|
1134
1134
|
details?: unknown;
|
|
1135
1135
|
correlationId?: string | undefined;
|
|
1136
1136
|
}, {
|
|
1137
|
-
message: string;
|
|
1138
1137
|
code: string;
|
|
1139
1138
|
path: string;
|
|
1139
|
+
message: string;
|
|
1140
1140
|
statusCode: number;
|
|
1141
1141
|
timestamp: string;
|
|
1142
1142
|
details?: unknown;
|
|
@@ -1197,16 +1197,6 @@ export declare const kpiImpersonationContract: {
|
|
|
1197
1197
|
};
|
|
1198
1198
|
};
|
|
1199
1199
|
autocompleteTargets: {
|
|
1200
|
-
metadata: {
|
|
1201
|
-
tags: string[];
|
|
1202
|
-
};
|
|
1203
|
-
pathParams: z.ZodObject<{
|
|
1204
|
-
kpiUserId: z.ZodString;
|
|
1205
|
-
}, "strip", z.ZodTypeAny, {
|
|
1206
|
-
kpiUserId: string;
|
|
1207
|
-
}, {
|
|
1208
|
-
kpiUserId: string;
|
|
1209
|
-
}>;
|
|
1210
1200
|
query: z.ZodObject<{
|
|
1211
1201
|
query: z.ZodOptional<z.ZodString>;
|
|
1212
1202
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1217,11 +1207,21 @@ export declare const kpiImpersonationContract: {
|
|
|
1217
1207
|
id?: string | undefined;
|
|
1218
1208
|
query?: string | undefined;
|
|
1219
1209
|
}>;
|
|
1210
|
+
metadata: {
|
|
1211
|
+
tags: string[];
|
|
1212
|
+
};
|
|
1213
|
+
pathParams: z.ZodObject<{
|
|
1214
|
+
kpiUserId: z.ZodString;
|
|
1215
|
+
}, "strip", z.ZodTypeAny, {
|
|
1216
|
+
kpiUserId: string;
|
|
1217
|
+
}, {
|
|
1218
|
+
kpiUserId: string;
|
|
1219
|
+
}>;
|
|
1220
1220
|
summary: "Autocomplete search for users not yet assigned to this KPI user";
|
|
1221
1221
|
method: "GET";
|
|
1222
1222
|
path: "/v2/kpi-impersonation/:kpiUserId/autocomplete";
|
|
1223
1223
|
responses: {
|
|
1224
|
-
|
|
1224
|
+
401: z.ZodObject<{
|
|
1225
1225
|
statusCode: z.ZodNumber;
|
|
1226
1226
|
message: z.ZodString;
|
|
1227
1227
|
code: z.ZodString;
|
|
@@ -1230,23 +1230,23 @@ export declare const kpiImpersonationContract: {
|
|
|
1230
1230
|
path: z.ZodString;
|
|
1231
1231
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1232
1232
|
}, "strip", z.ZodTypeAny, {
|
|
1233
|
-
message: string;
|
|
1234
1233
|
code: string;
|
|
1235
1234
|
path: string;
|
|
1235
|
+
message: string;
|
|
1236
1236
|
statusCode: number;
|
|
1237
1237
|
timestamp: string;
|
|
1238
1238
|
details?: unknown;
|
|
1239
1239
|
correlationId?: string | undefined;
|
|
1240
1240
|
}, {
|
|
1241
|
-
message: string;
|
|
1242
1241
|
code: string;
|
|
1243
1242
|
path: string;
|
|
1243
|
+
message: string;
|
|
1244
1244
|
statusCode: number;
|
|
1245
1245
|
timestamp: string;
|
|
1246
1246
|
details?: unknown;
|
|
1247
1247
|
correlationId?: string | undefined;
|
|
1248
1248
|
}>;
|
|
1249
|
-
|
|
1249
|
+
400: z.ZodObject<{
|
|
1250
1250
|
statusCode: z.ZodNumber;
|
|
1251
1251
|
message: z.ZodString;
|
|
1252
1252
|
code: z.ZodString;
|
|
@@ -1255,23 +1255,23 @@ export declare const kpiImpersonationContract: {
|
|
|
1255
1255
|
path: z.ZodString;
|
|
1256
1256
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1257
1257
|
}, "strip", z.ZodTypeAny, {
|
|
1258
|
-
message: string;
|
|
1259
1258
|
code: string;
|
|
1260
1259
|
path: string;
|
|
1260
|
+
message: string;
|
|
1261
1261
|
statusCode: number;
|
|
1262
1262
|
timestamp: string;
|
|
1263
1263
|
details?: unknown;
|
|
1264
1264
|
correlationId?: string | undefined;
|
|
1265
1265
|
}, {
|
|
1266
|
-
message: string;
|
|
1267
1266
|
code: string;
|
|
1268
1267
|
path: string;
|
|
1268
|
+
message: string;
|
|
1269
1269
|
statusCode: number;
|
|
1270
1270
|
timestamp: string;
|
|
1271
1271
|
details?: unknown;
|
|
1272
1272
|
correlationId?: string | undefined;
|
|
1273
1273
|
}>;
|
|
1274
|
-
|
|
1274
|
+
403: z.ZodObject<{
|
|
1275
1275
|
statusCode: z.ZodNumber;
|
|
1276
1276
|
message: z.ZodString;
|
|
1277
1277
|
code: z.ZodString;
|
|
@@ -1280,17 +1280,17 @@ export declare const kpiImpersonationContract: {
|
|
|
1280
1280
|
path: z.ZodString;
|
|
1281
1281
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1282
1282
|
}, "strip", z.ZodTypeAny, {
|
|
1283
|
-
message: string;
|
|
1284
1283
|
code: string;
|
|
1285
1284
|
path: string;
|
|
1285
|
+
message: string;
|
|
1286
1286
|
statusCode: number;
|
|
1287
1287
|
timestamp: string;
|
|
1288
1288
|
details?: unknown;
|
|
1289
1289
|
correlationId?: string | undefined;
|
|
1290
1290
|
}, {
|
|
1291
|
-
message: string;
|
|
1292
1291
|
code: string;
|
|
1293
1292
|
path: string;
|
|
1293
|
+
message: string;
|
|
1294
1294
|
statusCode: number;
|
|
1295
1295
|
timestamp: string;
|
|
1296
1296
|
details?: unknown;
|
|
@@ -1305,17 +1305,17 @@ export declare const kpiImpersonationContract: {
|
|
|
1305
1305
|
path: z.ZodString;
|
|
1306
1306
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1307
1307
|
}, "strip", z.ZodTypeAny, {
|
|
1308
|
-
message: string;
|
|
1309
1308
|
code: string;
|
|
1310
1309
|
path: string;
|
|
1310
|
+
message: string;
|
|
1311
1311
|
statusCode: number;
|
|
1312
1312
|
timestamp: string;
|
|
1313
1313
|
details?: unknown;
|
|
1314
1314
|
correlationId?: string | undefined;
|
|
1315
1315
|
}, {
|
|
1316
|
-
message: string;
|
|
1317
1316
|
code: string;
|
|
1318
1317
|
path: string;
|
|
1318
|
+
message: string;
|
|
1319
1319
|
statusCode: number;
|
|
1320
1320
|
timestamp: string;
|
|
1321
1321
|
details?: unknown;
|