@dakkitor/api-contracts 1.9.1 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/abilities.contract.d.ts +28 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +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 +6847 -1872
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.js +304 -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
|
@@ -152,13 +152,13 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
152
152
|
firstName: string;
|
|
153
153
|
}[] | undefined;
|
|
154
154
|
} | null | undefined;
|
|
155
|
+
deletedAt?: string | null | undefined;
|
|
155
156
|
canImpersonateUsers?: {
|
|
156
157
|
id: string;
|
|
157
158
|
lastName: string;
|
|
158
159
|
firstName: string;
|
|
159
160
|
}[] | undefined;
|
|
160
161
|
dialpadUserId?: string | null | undefined;
|
|
161
|
-
deletedAt?: string | null | undefined;
|
|
162
162
|
}, {
|
|
163
163
|
email: string;
|
|
164
164
|
createdAt: string | Date;
|
|
@@ -184,13 +184,13 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
184
184
|
description?: string | null | undefined;
|
|
185
185
|
isPrimary?: boolean | undefined;
|
|
186
186
|
}[] | undefined;
|
|
187
|
+
deletedAt?: string | Date | null | undefined;
|
|
187
188
|
canImpersonateUsers?: {
|
|
188
189
|
id: string;
|
|
189
190
|
lastName: string;
|
|
190
191
|
firstName: string;
|
|
191
192
|
}[] | undefined;
|
|
192
193
|
dialpadUserId?: string | null | undefined;
|
|
193
|
-
deletedAt?: string | Date | null | undefined;
|
|
194
194
|
}>>;
|
|
195
195
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
196
196
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -214,6 +214,19 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
214
214
|
}>>>;
|
|
215
215
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
216
216
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
217
|
+
callback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
218
|
+
id: z.ZodString;
|
|
219
|
+
dueAt: z.ZodString;
|
|
220
|
+
originNotes: z.ZodNullable<z.ZodString>;
|
|
221
|
+
}, "strip", z.ZodTypeAny, {
|
|
222
|
+
id: string;
|
|
223
|
+
dueAt: string;
|
|
224
|
+
originNotes: string | null;
|
|
225
|
+
}, {
|
|
226
|
+
id: string;
|
|
227
|
+
dueAt: string;
|
|
228
|
+
originNotes: string | null;
|
|
229
|
+
}>>>;
|
|
217
230
|
}, "strip", z.ZodTypeAny, {
|
|
218
231
|
createdAt: string;
|
|
219
232
|
updatedAt: string;
|
|
@@ -249,13 +262,13 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
249
262
|
firstName: string;
|
|
250
263
|
}[] | undefined;
|
|
251
264
|
} | null | undefined;
|
|
265
|
+
deletedAt?: string | null | undefined;
|
|
252
266
|
canImpersonateUsers?: {
|
|
253
267
|
id: string;
|
|
254
268
|
lastName: string;
|
|
255
269
|
firstName: string;
|
|
256
270
|
}[] | undefined;
|
|
257
271
|
dialpadUserId?: string | null | undefined;
|
|
258
|
-
deletedAt?: string | null | undefined;
|
|
259
272
|
} | undefined;
|
|
260
273
|
lead?: {
|
|
261
274
|
name: string;
|
|
@@ -267,6 +280,11 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
267
280
|
updatedAt: string;
|
|
268
281
|
id: string;
|
|
269
282
|
} | null | undefined;
|
|
283
|
+
callback?: {
|
|
284
|
+
id: string;
|
|
285
|
+
dueAt: string;
|
|
286
|
+
originNotes: string | null;
|
|
287
|
+
} | null | undefined;
|
|
270
288
|
}, {
|
|
271
289
|
createdAt: string | Date;
|
|
272
290
|
updatedAt: string | Date;
|
|
@@ -302,13 +320,13 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
302
320
|
description?: string | null | undefined;
|
|
303
321
|
isPrimary?: boolean | undefined;
|
|
304
322
|
}[] | undefined;
|
|
323
|
+
deletedAt?: string | Date | null | undefined;
|
|
305
324
|
canImpersonateUsers?: {
|
|
306
325
|
id: string;
|
|
307
326
|
lastName: string;
|
|
308
327
|
firstName: string;
|
|
309
328
|
}[] | undefined;
|
|
310
329
|
dialpadUserId?: string | null | undefined;
|
|
311
|
-
deletedAt?: string | Date | null | undefined;
|
|
312
330
|
} | undefined;
|
|
313
331
|
lead?: {
|
|
314
332
|
name: string;
|
|
@@ -320,6 +338,11 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
320
338
|
updatedAt: string | Date;
|
|
321
339
|
id: string;
|
|
322
340
|
} | null | undefined;
|
|
341
|
+
callback?: {
|
|
342
|
+
id: string;
|
|
343
|
+
dueAt: string;
|
|
344
|
+
originNotes: string | null;
|
|
345
|
+
} | null | undefined;
|
|
323
346
|
}>>>;
|
|
324
347
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
325
348
|
leadSource: z.ZodNativeEnum<typeof LeadSource>;
|
|
@@ -335,9 +358,9 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
335
358
|
rating: CallRating;
|
|
336
359
|
notes: string | null;
|
|
337
360
|
callType: CallType;
|
|
338
|
-
leadSource: LeadSource;
|
|
339
|
-
ratingWeight: number;
|
|
340
361
|
assignmentId: string;
|
|
362
|
+
ratingWeight: number;
|
|
363
|
+
leadSource: LeadSource;
|
|
341
364
|
agentId?: string | undefined;
|
|
342
365
|
leadId?: string | undefined;
|
|
343
366
|
assignment?: {
|
|
@@ -375,13 +398,13 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
375
398
|
firstName: string;
|
|
376
399
|
}[] | undefined;
|
|
377
400
|
} | null | undefined;
|
|
401
|
+
deletedAt?: string | null | undefined;
|
|
378
402
|
canImpersonateUsers?: {
|
|
379
403
|
id: string;
|
|
380
404
|
lastName: string;
|
|
381
405
|
firstName: string;
|
|
382
406
|
}[] | undefined;
|
|
383
407
|
dialpadUserId?: string | null | undefined;
|
|
384
|
-
deletedAt?: string | null | undefined;
|
|
385
408
|
} | undefined;
|
|
386
409
|
lead?: {
|
|
387
410
|
name: string;
|
|
@@ -393,6 +416,11 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
393
416
|
updatedAt: string;
|
|
394
417
|
id: string;
|
|
395
418
|
} | null | undefined;
|
|
419
|
+
callback?: {
|
|
420
|
+
id: string;
|
|
421
|
+
dueAt: string;
|
|
422
|
+
originNotes: string | null;
|
|
423
|
+
} | null | undefined;
|
|
396
424
|
} | null | undefined;
|
|
397
425
|
}, {
|
|
398
426
|
createdAt: string | Date;
|
|
@@ -401,9 +429,9 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
401
429
|
rating: CallRating;
|
|
402
430
|
notes: string | null;
|
|
403
431
|
callType: CallType;
|
|
404
|
-
leadSource: LeadSource;
|
|
405
|
-
ratingWeight: number;
|
|
406
432
|
assignmentId: string;
|
|
433
|
+
ratingWeight: number;
|
|
434
|
+
leadSource: LeadSource;
|
|
407
435
|
agentId?: string | undefined;
|
|
408
436
|
leadId?: string | undefined;
|
|
409
437
|
assignment?: {
|
|
@@ -441,13 +469,13 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
441
469
|
description?: string | null | undefined;
|
|
442
470
|
isPrimary?: boolean | undefined;
|
|
443
471
|
}[] | undefined;
|
|
472
|
+
deletedAt?: string | Date | null | undefined;
|
|
444
473
|
canImpersonateUsers?: {
|
|
445
474
|
id: string;
|
|
446
475
|
lastName: string;
|
|
447
476
|
firstName: string;
|
|
448
477
|
}[] | undefined;
|
|
449
478
|
dialpadUserId?: string | null | undefined;
|
|
450
|
-
deletedAt?: string | Date | null | undefined;
|
|
451
479
|
} | undefined;
|
|
452
480
|
lead?: {
|
|
453
481
|
name: string;
|
|
@@ -459,6 +487,11 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
459
487
|
updatedAt: string | Date;
|
|
460
488
|
id: string;
|
|
461
489
|
} | null | undefined;
|
|
490
|
+
callback?: {
|
|
491
|
+
id: string;
|
|
492
|
+
dueAt: string;
|
|
493
|
+
originNotes: string | null;
|
|
494
|
+
} | null | undefined;
|
|
462
495
|
} | null | undefined;
|
|
463
496
|
}>;
|
|
464
497
|
export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
@@ -580,13 +613,13 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
580
613
|
firstName: string;
|
|
581
614
|
}[] | undefined;
|
|
582
615
|
} | null | undefined;
|
|
616
|
+
deletedAt?: string | null | undefined;
|
|
583
617
|
canImpersonateUsers?: {
|
|
584
618
|
id: string;
|
|
585
619
|
lastName: string;
|
|
586
620
|
firstName: string;
|
|
587
621
|
}[] | undefined;
|
|
588
622
|
dialpadUserId?: string | null | undefined;
|
|
589
|
-
deletedAt?: string | null | undefined;
|
|
590
623
|
}, {
|
|
591
624
|
email: string;
|
|
592
625
|
createdAt: string | Date;
|
|
@@ -612,13 +645,13 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
612
645
|
description?: string | null | undefined;
|
|
613
646
|
isPrimary?: boolean | undefined;
|
|
614
647
|
}[] | undefined;
|
|
648
|
+
deletedAt?: string | Date | null | undefined;
|
|
615
649
|
canImpersonateUsers?: {
|
|
616
650
|
id: string;
|
|
617
651
|
lastName: string;
|
|
618
652
|
firstName: string;
|
|
619
653
|
}[] | undefined;
|
|
620
654
|
dialpadUserId?: string | null | undefined;
|
|
621
|
-
deletedAt?: string | Date | null | undefined;
|
|
622
655
|
}>>;
|
|
623
656
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
624
657
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -642,6 +675,19 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
642
675
|
}>>>;
|
|
643
676
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
644
677
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
678
|
+
callback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
679
|
+
id: z.ZodString;
|
|
680
|
+
dueAt: z.ZodString;
|
|
681
|
+
originNotes: z.ZodNullable<z.ZodString>;
|
|
682
|
+
}, "strip", z.ZodTypeAny, {
|
|
683
|
+
id: string;
|
|
684
|
+
dueAt: string;
|
|
685
|
+
originNotes: string | null;
|
|
686
|
+
}, {
|
|
687
|
+
id: string;
|
|
688
|
+
dueAt: string;
|
|
689
|
+
originNotes: string | null;
|
|
690
|
+
}>>>;
|
|
645
691
|
}, "strip", z.ZodTypeAny, {
|
|
646
692
|
createdAt: string;
|
|
647
693
|
updatedAt: string;
|
|
@@ -677,13 +723,13 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
677
723
|
firstName: string;
|
|
678
724
|
}[] | undefined;
|
|
679
725
|
} | null | undefined;
|
|
726
|
+
deletedAt?: string | null | undefined;
|
|
680
727
|
canImpersonateUsers?: {
|
|
681
728
|
id: string;
|
|
682
729
|
lastName: string;
|
|
683
730
|
firstName: string;
|
|
684
731
|
}[] | undefined;
|
|
685
732
|
dialpadUserId?: string | null | undefined;
|
|
686
|
-
deletedAt?: string | null | undefined;
|
|
687
733
|
} | undefined;
|
|
688
734
|
lead?: {
|
|
689
735
|
name: string;
|
|
@@ -695,6 +741,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
695
741
|
updatedAt: string;
|
|
696
742
|
id: string;
|
|
697
743
|
} | null | undefined;
|
|
744
|
+
callback?: {
|
|
745
|
+
id: string;
|
|
746
|
+
dueAt: string;
|
|
747
|
+
originNotes: string | null;
|
|
748
|
+
} | null | undefined;
|
|
698
749
|
}, {
|
|
699
750
|
createdAt: string | Date;
|
|
700
751
|
updatedAt: string | Date;
|
|
@@ -730,13 +781,13 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
730
781
|
description?: string | null | undefined;
|
|
731
782
|
isPrimary?: boolean | undefined;
|
|
732
783
|
}[] | undefined;
|
|
784
|
+
deletedAt?: string | Date | null | undefined;
|
|
733
785
|
canImpersonateUsers?: {
|
|
734
786
|
id: string;
|
|
735
787
|
lastName: string;
|
|
736
788
|
firstName: string;
|
|
737
789
|
}[] | undefined;
|
|
738
790
|
dialpadUserId?: string | null | undefined;
|
|
739
|
-
deletedAt?: string | Date | null | undefined;
|
|
740
791
|
} | undefined;
|
|
741
792
|
lead?: {
|
|
742
793
|
name: string;
|
|
@@ -748,6 +799,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
748
799
|
updatedAt: string | Date;
|
|
749
800
|
id: string;
|
|
750
801
|
} | null | undefined;
|
|
802
|
+
callback?: {
|
|
803
|
+
id: string;
|
|
804
|
+
dueAt: string;
|
|
805
|
+
originNotes: string | null;
|
|
806
|
+
} | null | undefined;
|
|
751
807
|
}>>>;
|
|
752
808
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
753
809
|
leadSource: z.ZodNativeEnum<typeof LeadSource>;
|
|
@@ -763,9 +819,9 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
763
819
|
rating: CallRating;
|
|
764
820
|
notes: string | null;
|
|
765
821
|
callType: CallType;
|
|
766
|
-
leadSource: LeadSource;
|
|
767
|
-
ratingWeight: number;
|
|
768
822
|
assignmentId: string;
|
|
823
|
+
ratingWeight: number;
|
|
824
|
+
leadSource: LeadSource;
|
|
769
825
|
agentId?: string | undefined;
|
|
770
826
|
leadId?: string | undefined;
|
|
771
827
|
assignment?: {
|
|
@@ -803,13 +859,13 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
803
859
|
firstName: string;
|
|
804
860
|
}[] | undefined;
|
|
805
861
|
} | null | undefined;
|
|
862
|
+
deletedAt?: string | null | undefined;
|
|
806
863
|
canImpersonateUsers?: {
|
|
807
864
|
id: string;
|
|
808
865
|
lastName: string;
|
|
809
866
|
firstName: string;
|
|
810
867
|
}[] | undefined;
|
|
811
868
|
dialpadUserId?: string | null | undefined;
|
|
812
|
-
deletedAt?: string | null | undefined;
|
|
813
869
|
} | undefined;
|
|
814
870
|
lead?: {
|
|
815
871
|
name: string;
|
|
@@ -821,6 +877,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
821
877
|
updatedAt: string;
|
|
822
878
|
id: string;
|
|
823
879
|
} | null | undefined;
|
|
880
|
+
callback?: {
|
|
881
|
+
id: string;
|
|
882
|
+
dueAt: string;
|
|
883
|
+
originNotes: string | null;
|
|
884
|
+
} | null | undefined;
|
|
824
885
|
} | null | undefined;
|
|
825
886
|
}, {
|
|
826
887
|
createdAt: string | Date;
|
|
@@ -829,9 +890,9 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
829
890
|
rating: CallRating;
|
|
830
891
|
notes: string | null;
|
|
831
892
|
callType: CallType;
|
|
832
|
-
leadSource: LeadSource;
|
|
833
|
-
ratingWeight: number;
|
|
834
893
|
assignmentId: string;
|
|
894
|
+
ratingWeight: number;
|
|
895
|
+
leadSource: LeadSource;
|
|
835
896
|
agentId?: string | undefined;
|
|
836
897
|
leadId?: string | undefined;
|
|
837
898
|
assignment?: {
|
|
@@ -869,13 +930,13 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
869
930
|
description?: string | null | undefined;
|
|
870
931
|
isPrimary?: boolean | undefined;
|
|
871
932
|
}[] | undefined;
|
|
933
|
+
deletedAt?: string | Date | null | undefined;
|
|
872
934
|
canImpersonateUsers?: {
|
|
873
935
|
id: string;
|
|
874
936
|
lastName: string;
|
|
875
937
|
firstName: string;
|
|
876
938
|
}[] | undefined;
|
|
877
939
|
dialpadUserId?: string | null | undefined;
|
|
878
|
-
deletedAt?: string | Date | null | undefined;
|
|
879
940
|
} | undefined;
|
|
880
941
|
lead?: {
|
|
881
942
|
name: string;
|
|
@@ -887,6 +948,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
887
948
|
updatedAt: string | Date;
|
|
888
949
|
id: string;
|
|
889
950
|
} | null | undefined;
|
|
951
|
+
callback?: {
|
|
952
|
+
id: string;
|
|
953
|
+
dueAt: string;
|
|
954
|
+
originNotes: string | null;
|
|
955
|
+
} | null | undefined;
|
|
890
956
|
} | null | undefined;
|
|
891
957
|
}>, "many">;
|
|
892
958
|
totalCount: z.ZodNumber;
|
|
@@ -903,9 +969,9 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
903
969
|
rating: CallRating;
|
|
904
970
|
notes: string | null;
|
|
905
971
|
callType: CallType;
|
|
906
|
-
leadSource: LeadSource;
|
|
907
|
-
ratingWeight: number;
|
|
908
972
|
assignmentId: string;
|
|
973
|
+
ratingWeight: number;
|
|
974
|
+
leadSource: LeadSource;
|
|
909
975
|
agentId?: string | undefined;
|
|
910
976
|
leadId?: string | undefined;
|
|
911
977
|
assignment?: {
|
|
@@ -943,13 +1009,13 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
943
1009
|
firstName: string;
|
|
944
1010
|
}[] | undefined;
|
|
945
1011
|
} | null | undefined;
|
|
1012
|
+
deletedAt?: string | null | undefined;
|
|
946
1013
|
canImpersonateUsers?: {
|
|
947
1014
|
id: string;
|
|
948
1015
|
lastName: string;
|
|
949
1016
|
firstName: string;
|
|
950
1017
|
}[] | undefined;
|
|
951
1018
|
dialpadUserId?: string | null | undefined;
|
|
952
|
-
deletedAt?: string | null | undefined;
|
|
953
1019
|
} | undefined;
|
|
954
1020
|
lead?: {
|
|
955
1021
|
name: string;
|
|
@@ -961,6 +1027,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
961
1027
|
updatedAt: string;
|
|
962
1028
|
id: string;
|
|
963
1029
|
} | null | undefined;
|
|
1030
|
+
callback?: {
|
|
1031
|
+
id: string;
|
|
1032
|
+
dueAt: string;
|
|
1033
|
+
originNotes: string | null;
|
|
1034
|
+
} | null | undefined;
|
|
964
1035
|
} | null | undefined;
|
|
965
1036
|
}[];
|
|
966
1037
|
totalCount: number;
|
|
@@ -976,9 +1047,9 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
976
1047
|
rating: CallRating;
|
|
977
1048
|
notes: string | null;
|
|
978
1049
|
callType: CallType;
|
|
979
|
-
leadSource: LeadSource;
|
|
980
|
-
ratingWeight: number;
|
|
981
1050
|
assignmentId: string;
|
|
1051
|
+
ratingWeight: number;
|
|
1052
|
+
leadSource: LeadSource;
|
|
982
1053
|
agentId?: string | undefined;
|
|
983
1054
|
leadId?: string | undefined;
|
|
984
1055
|
assignment?: {
|
|
@@ -1016,13 +1087,13 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
1016
1087
|
description?: string | null | undefined;
|
|
1017
1088
|
isPrimary?: boolean | undefined;
|
|
1018
1089
|
}[] | undefined;
|
|
1090
|
+
deletedAt?: string | Date | null | undefined;
|
|
1019
1091
|
canImpersonateUsers?: {
|
|
1020
1092
|
id: string;
|
|
1021
1093
|
lastName: string;
|
|
1022
1094
|
firstName: string;
|
|
1023
1095
|
}[] | undefined;
|
|
1024
1096
|
dialpadUserId?: string | null | undefined;
|
|
1025
|
-
deletedAt?: string | Date | null | undefined;
|
|
1026
1097
|
} | undefined;
|
|
1027
1098
|
lead?: {
|
|
1028
1099
|
name: string;
|
|
@@ -1034,6 +1105,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
1034
1105
|
updatedAt: string | Date;
|
|
1035
1106
|
id: string;
|
|
1036
1107
|
} | null | undefined;
|
|
1108
|
+
callback?: {
|
|
1109
|
+
id: string;
|
|
1110
|
+
dueAt: string;
|
|
1111
|
+
originNotes: string | null;
|
|
1112
|
+
} | null | undefined;
|
|
1037
1113
|
} | null | undefined;
|
|
1038
1114
|
}[];
|
|
1039
1115
|
totalCount: number;
|
|
@@ -1131,9 +1207,9 @@ export declare const CallHistoryListItemSchema: z.ZodObject<{
|
|
|
1131
1207
|
rating: CallRating;
|
|
1132
1208
|
notes: string | null;
|
|
1133
1209
|
callType: CallType;
|
|
1134
|
-
leadSource: LeadSource;
|
|
1135
|
-
ratingWeight: number;
|
|
1136
1210
|
assignmentId: string;
|
|
1211
|
+
ratingWeight: number;
|
|
1212
|
+
leadSource: LeadSource;
|
|
1137
1213
|
agent?: {
|
|
1138
1214
|
id: string;
|
|
1139
1215
|
lastName: string;
|
|
@@ -1165,9 +1241,9 @@ export declare const CallHistoryListItemSchema: z.ZodObject<{
|
|
|
1165
1241
|
rating: CallRating;
|
|
1166
1242
|
notes: string | null;
|
|
1167
1243
|
callType: CallType;
|
|
1168
|
-
leadSource: LeadSource;
|
|
1169
|
-
ratingWeight: number;
|
|
1170
1244
|
assignmentId: string;
|
|
1245
|
+
ratingWeight: number;
|
|
1246
|
+
leadSource: LeadSource;
|
|
1171
1247
|
agent?: {
|
|
1172
1248
|
id: string;
|
|
1173
1249
|
lastName: string;
|
|
@@ -1283,9 +1359,9 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1283
1359
|
rating: CallRating;
|
|
1284
1360
|
notes: string | null;
|
|
1285
1361
|
callType: CallType;
|
|
1286
|
-
leadSource: LeadSource;
|
|
1287
|
-
ratingWeight: number;
|
|
1288
1362
|
assignmentId: string;
|
|
1363
|
+
ratingWeight: number;
|
|
1364
|
+
leadSource: LeadSource;
|
|
1289
1365
|
agent?: {
|
|
1290
1366
|
id: string;
|
|
1291
1367
|
lastName: string;
|
|
@@ -1317,9 +1393,9 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1317
1393
|
rating: CallRating;
|
|
1318
1394
|
notes: string | null;
|
|
1319
1395
|
callType: CallType;
|
|
1320
|
-
leadSource: LeadSource;
|
|
1321
|
-
ratingWeight: number;
|
|
1322
1396
|
assignmentId: string;
|
|
1397
|
+
ratingWeight: number;
|
|
1398
|
+
leadSource: LeadSource;
|
|
1323
1399
|
agent?: {
|
|
1324
1400
|
id: string;
|
|
1325
1401
|
lastName: string;
|
|
@@ -1359,9 +1435,9 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1359
1435
|
rating: CallRating;
|
|
1360
1436
|
notes: string | null;
|
|
1361
1437
|
callType: CallType;
|
|
1362
|
-
leadSource: LeadSource;
|
|
1363
|
-
ratingWeight: number;
|
|
1364
1438
|
assignmentId: string;
|
|
1439
|
+
ratingWeight: number;
|
|
1440
|
+
leadSource: LeadSource;
|
|
1365
1441
|
agent?: {
|
|
1366
1442
|
id: string;
|
|
1367
1443
|
lastName: string;
|
|
@@ -1400,9 +1476,9 @@ export declare const PaginatedCallHistoryListItemResponseSchema: z.ZodObject<{
|
|
|
1400
1476
|
rating: CallRating;
|
|
1401
1477
|
notes: string | null;
|
|
1402
1478
|
callType: CallType;
|
|
1403
|
-
leadSource: LeadSource;
|
|
1404
|
-
ratingWeight: number;
|
|
1405
1479
|
assignmentId: string;
|
|
1480
|
+
ratingWeight: number;
|
|
1481
|
+
leadSource: LeadSource;
|
|
1406
1482
|
agent?: {
|
|
1407
1483
|
id: string;
|
|
1408
1484
|
lastName: string;
|
|
@@ -1587,7 +1663,7 @@ export declare const callHistoryContract: {
|
|
|
1587
1663
|
}>;
|
|
1588
1664
|
path: "/v2/call-history";
|
|
1589
1665
|
responses: {
|
|
1590
|
-
|
|
1666
|
+
401: z.ZodObject<{
|
|
1591
1667
|
statusCode: z.ZodNumber;
|
|
1592
1668
|
message: z.ZodString;
|
|
1593
1669
|
code: z.ZodString;
|
|
@@ -1596,23 +1672,23 @@ export declare const callHistoryContract: {
|
|
|
1596
1672
|
path: z.ZodString;
|
|
1597
1673
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1598
1674
|
}, "strip", z.ZodTypeAny, {
|
|
1599
|
-
message: string;
|
|
1600
1675
|
code: string;
|
|
1601
1676
|
path: string;
|
|
1677
|
+
message: string;
|
|
1602
1678
|
statusCode: number;
|
|
1603
1679
|
timestamp: string;
|
|
1604
1680
|
details?: unknown;
|
|
1605
1681
|
correlationId?: string | undefined;
|
|
1606
1682
|
}, {
|
|
1607
|
-
message: string;
|
|
1608
1683
|
code: string;
|
|
1609
1684
|
path: string;
|
|
1685
|
+
message: string;
|
|
1610
1686
|
statusCode: number;
|
|
1611
1687
|
timestamp: string;
|
|
1612
1688
|
details?: unknown;
|
|
1613
1689
|
correlationId?: string | undefined;
|
|
1614
1690
|
}>;
|
|
1615
|
-
|
|
1691
|
+
400: z.ZodObject<{
|
|
1616
1692
|
statusCode: z.ZodNumber;
|
|
1617
1693
|
message: z.ZodString;
|
|
1618
1694
|
code: z.ZodString;
|
|
@@ -1621,23 +1697,23 @@ export declare const callHistoryContract: {
|
|
|
1621
1697
|
path: z.ZodString;
|
|
1622
1698
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1623
1699
|
}, "strip", z.ZodTypeAny, {
|
|
1624
|
-
message: string;
|
|
1625
1700
|
code: string;
|
|
1626
1701
|
path: string;
|
|
1702
|
+
message: string;
|
|
1627
1703
|
statusCode: number;
|
|
1628
1704
|
timestamp: string;
|
|
1629
1705
|
details?: unknown;
|
|
1630
1706
|
correlationId?: string | undefined;
|
|
1631
1707
|
}, {
|
|
1632
|
-
message: string;
|
|
1633
1708
|
code: string;
|
|
1634
1709
|
path: string;
|
|
1710
|
+
message: string;
|
|
1635
1711
|
statusCode: number;
|
|
1636
1712
|
timestamp: string;
|
|
1637
1713
|
details?: unknown;
|
|
1638
1714
|
correlationId?: string | undefined;
|
|
1639
1715
|
}>;
|
|
1640
|
-
|
|
1716
|
+
403: z.ZodObject<{
|
|
1641
1717
|
statusCode: z.ZodNumber;
|
|
1642
1718
|
message: z.ZodString;
|
|
1643
1719
|
code: z.ZodString;
|
|
@@ -1646,17 +1722,17 @@ export declare const callHistoryContract: {
|
|
|
1646
1722
|
path: z.ZodString;
|
|
1647
1723
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1648
1724
|
}, "strip", z.ZodTypeAny, {
|
|
1649
|
-
message: string;
|
|
1650
1725
|
code: string;
|
|
1651
1726
|
path: string;
|
|
1727
|
+
message: string;
|
|
1652
1728
|
statusCode: number;
|
|
1653
1729
|
timestamp: string;
|
|
1654
1730
|
details?: unknown;
|
|
1655
1731
|
correlationId?: string | undefined;
|
|
1656
1732
|
}, {
|
|
1657
|
-
message: string;
|
|
1658
1733
|
code: string;
|
|
1659
1734
|
path: string;
|
|
1735
|
+
message: string;
|
|
1660
1736
|
statusCode: number;
|
|
1661
1737
|
timestamp: string;
|
|
1662
1738
|
details?: unknown;
|
|
@@ -1671,17 +1747,17 @@ export declare const callHistoryContract: {
|
|
|
1671
1747
|
path: z.ZodString;
|
|
1672
1748
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
1673
1749
|
}, "strip", z.ZodTypeAny, {
|
|
1674
|
-
message: string;
|
|
1675
1750
|
code: string;
|
|
1676
1751
|
path: string;
|
|
1752
|
+
message: string;
|
|
1677
1753
|
statusCode: number;
|
|
1678
1754
|
timestamp: string;
|
|
1679
1755
|
details?: unknown;
|
|
1680
1756
|
correlationId?: string | undefined;
|
|
1681
1757
|
}, {
|
|
1682
|
-
message: string;
|
|
1683
1758
|
code: string;
|
|
1684
1759
|
path: string;
|
|
1760
|
+
message: string;
|
|
1685
1761
|
statusCode: number;
|
|
1686
1762
|
timestamp: string;
|
|
1687
1763
|
details?: unknown;
|
|
@@ -1805,13 +1881,13 @@ export declare const callHistoryContract: {
|
|
|
1805
1881
|
firstName: string;
|
|
1806
1882
|
}[] | undefined;
|
|
1807
1883
|
} | null | undefined;
|
|
1884
|
+
deletedAt?: string | null | undefined;
|
|
1808
1885
|
canImpersonateUsers?: {
|
|
1809
1886
|
id: string;
|
|
1810
1887
|
lastName: string;
|
|
1811
1888
|
firstName: string;
|
|
1812
1889
|
}[] | undefined;
|
|
1813
1890
|
dialpadUserId?: string | null | undefined;
|
|
1814
|
-
deletedAt?: string | null | undefined;
|
|
1815
1891
|
}, {
|
|
1816
1892
|
email: string;
|
|
1817
1893
|
createdAt: string | Date;
|
|
@@ -1837,13 +1913,13 @@ export declare const callHistoryContract: {
|
|
|
1837
1913
|
description?: string | null | undefined;
|
|
1838
1914
|
isPrimary?: boolean | undefined;
|
|
1839
1915
|
}[] | undefined;
|
|
1916
|
+
deletedAt?: string | Date | null | undefined;
|
|
1840
1917
|
canImpersonateUsers?: {
|
|
1841
1918
|
id: string;
|
|
1842
1919
|
lastName: string;
|
|
1843
1920
|
firstName: string;
|
|
1844
1921
|
}[] | undefined;
|
|
1845
1922
|
dialpadUserId?: string | null | undefined;
|
|
1846
|
-
deletedAt?: string | Date | null | undefined;
|
|
1847
1923
|
}>>;
|
|
1848
1924
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1849
1925
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -1867,6 +1943,19 @@ export declare const callHistoryContract: {
|
|
|
1867
1943
|
}>>>;
|
|
1868
1944
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1869
1945
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1946
|
+
callback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1947
|
+
id: z.ZodString;
|
|
1948
|
+
dueAt: z.ZodString;
|
|
1949
|
+
originNotes: z.ZodNullable<z.ZodString>;
|
|
1950
|
+
}, "strip", z.ZodTypeAny, {
|
|
1951
|
+
id: string;
|
|
1952
|
+
dueAt: string;
|
|
1953
|
+
originNotes: string | null;
|
|
1954
|
+
}, {
|
|
1955
|
+
id: string;
|
|
1956
|
+
dueAt: string;
|
|
1957
|
+
originNotes: string | null;
|
|
1958
|
+
}>>>;
|
|
1870
1959
|
}, "strip", z.ZodTypeAny, {
|
|
1871
1960
|
createdAt: string;
|
|
1872
1961
|
updatedAt: string;
|
|
@@ -1902,13 +1991,13 @@ export declare const callHistoryContract: {
|
|
|
1902
1991
|
firstName: string;
|
|
1903
1992
|
}[] | undefined;
|
|
1904
1993
|
} | null | undefined;
|
|
1994
|
+
deletedAt?: string | null | undefined;
|
|
1905
1995
|
canImpersonateUsers?: {
|
|
1906
1996
|
id: string;
|
|
1907
1997
|
lastName: string;
|
|
1908
1998
|
firstName: string;
|
|
1909
1999
|
}[] | undefined;
|
|
1910
2000
|
dialpadUserId?: string | null | undefined;
|
|
1911
|
-
deletedAt?: string | null | undefined;
|
|
1912
2001
|
} | undefined;
|
|
1913
2002
|
lead?: {
|
|
1914
2003
|
name: string;
|
|
@@ -1920,6 +2009,11 @@ export declare const callHistoryContract: {
|
|
|
1920
2009
|
updatedAt: string;
|
|
1921
2010
|
id: string;
|
|
1922
2011
|
} | null | undefined;
|
|
2012
|
+
callback?: {
|
|
2013
|
+
id: string;
|
|
2014
|
+
dueAt: string;
|
|
2015
|
+
originNotes: string | null;
|
|
2016
|
+
} | null | undefined;
|
|
1923
2017
|
}, {
|
|
1924
2018
|
createdAt: string | Date;
|
|
1925
2019
|
updatedAt: string | Date;
|
|
@@ -1955,13 +2049,13 @@ export declare const callHistoryContract: {
|
|
|
1955
2049
|
description?: string | null | undefined;
|
|
1956
2050
|
isPrimary?: boolean | undefined;
|
|
1957
2051
|
}[] | undefined;
|
|
2052
|
+
deletedAt?: string | Date | null | undefined;
|
|
1958
2053
|
canImpersonateUsers?: {
|
|
1959
2054
|
id: string;
|
|
1960
2055
|
lastName: string;
|
|
1961
2056
|
firstName: string;
|
|
1962
2057
|
}[] | undefined;
|
|
1963
2058
|
dialpadUserId?: string | null | undefined;
|
|
1964
|
-
deletedAt?: string | Date | null | undefined;
|
|
1965
2059
|
} | undefined;
|
|
1966
2060
|
lead?: {
|
|
1967
2061
|
name: string;
|
|
@@ -1973,6 +2067,11 @@ export declare const callHistoryContract: {
|
|
|
1973
2067
|
updatedAt: string | Date;
|
|
1974
2068
|
id: string;
|
|
1975
2069
|
} | null | undefined;
|
|
2070
|
+
callback?: {
|
|
2071
|
+
id: string;
|
|
2072
|
+
dueAt: string;
|
|
2073
|
+
originNotes: string | null;
|
|
2074
|
+
} | null | undefined;
|
|
1976
2075
|
}>>>;
|
|
1977
2076
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
1978
2077
|
leadSource: z.ZodNativeEnum<typeof LeadSource>;
|
|
@@ -1988,9 +2087,9 @@ export declare const callHistoryContract: {
|
|
|
1988
2087
|
rating: CallRating;
|
|
1989
2088
|
notes: string | null;
|
|
1990
2089
|
callType: CallType;
|
|
1991
|
-
leadSource: LeadSource;
|
|
1992
|
-
ratingWeight: number;
|
|
1993
2090
|
assignmentId: string;
|
|
2091
|
+
ratingWeight: number;
|
|
2092
|
+
leadSource: LeadSource;
|
|
1994
2093
|
agentId?: string | undefined;
|
|
1995
2094
|
leadId?: string | undefined;
|
|
1996
2095
|
assignment?: {
|
|
@@ -2028,13 +2127,13 @@ export declare const callHistoryContract: {
|
|
|
2028
2127
|
firstName: string;
|
|
2029
2128
|
}[] | undefined;
|
|
2030
2129
|
} | null | undefined;
|
|
2130
|
+
deletedAt?: string | null | undefined;
|
|
2031
2131
|
canImpersonateUsers?: {
|
|
2032
2132
|
id: string;
|
|
2033
2133
|
lastName: string;
|
|
2034
2134
|
firstName: string;
|
|
2035
2135
|
}[] | undefined;
|
|
2036
2136
|
dialpadUserId?: string | null | undefined;
|
|
2037
|
-
deletedAt?: string | null | undefined;
|
|
2038
2137
|
} | undefined;
|
|
2039
2138
|
lead?: {
|
|
2040
2139
|
name: string;
|
|
@@ -2046,6 +2145,11 @@ export declare const callHistoryContract: {
|
|
|
2046
2145
|
updatedAt: string;
|
|
2047
2146
|
id: string;
|
|
2048
2147
|
} | null | undefined;
|
|
2148
|
+
callback?: {
|
|
2149
|
+
id: string;
|
|
2150
|
+
dueAt: string;
|
|
2151
|
+
originNotes: string | null;
|
|
2152
|
+
} | null | undefined;
|
|
2049
2153
|
} | null | undefined;
|
|
2050
2154
|
}, {
|
|
2051
2155
|
createdAt: string | Date;
|
|
@@ -2054,9 +2158,9 @@ export declare const callHistoryContract: {
|
|
|
2054
2158
|
rating: CallRating;
|
|
2055
2159
|
notes: string | null;
|
|
2056
2160
|
callType: CallType;
|
|
2057
|
-
leadSource: LeadSource;
|
|
2058
|
-
ratingWeight: number;
|
|
2059
2161
|
assignmentId: string;
|
|
2162
|
+
ratingWeight: number;
|
|
2163
|
+
leadSource: LeadSource;
|
|
2060
2164
|
agentId?: string | undefined;
|
|
2061
2165
|
leadId?: string | undefined;
|
|
2062
2166
|
assignment?: {
|
|
@@ -2094,13 +2198,13 @@ export declare const callHistoryContract: {
|
|
|
2094
2198
|
description?: string | null | undefined;
|
|
2095
2199
|
isPrimary?: boolean | undefined;
|
|
2096
2200
|
}[] | undefined;
|
|
2201
|
+
deletedAt?: string | Date | null | undefined;
|
|
2097
2202
|
canImpersonateUsers?: {
|
|
2098
2203
|
id: string;
|
|
2099
2204
|
lastName: string;
|
|
2100
2205
|
firstName: string;
|
|
2101
2206
|
}[] | undefined;
|
|
2102
2207
|
dialpadUserId?: string | null | undefined;
|
|
2103
|
-
deletedAt?: string | Date | null | undefined;
|
|
2104
2208
|
} | undefined;
|
|
2105
2209
|
lead?: {
|
|
2106
2210
|
name: string;
|
|
@@ -2112,6 +2216,11 @@ export declare const callHistoryContract: {
|
|
|
2112
2216
|
updatedAt: string | Date;
|
|
2113
2217
|
id: string;
|
|
2114
2218
|
} | null | undefined;
|
|
2219
|
+
callback?: {
|
|
2220
|
+
id: string;
|
|
2221
|
+
dueAt: string;
|
|
2222
|
+
originNotes: string | null;
|
|
2223
|
+
} | null | undefined;
|
|
2115
2224
|
} | null | undefined;
|
|
2116
2225
|
}>;
|
|
2117
2226
|
409: z.ZodObject<{
|
|
@@ -2123,17 +2232,17 @@ export declare const callHistoryContract: {
|
|
|
2123
2232
|
path: z.ZodString;
|
|
2124
2233
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2125
2234
|
}, "strip", z.ZodTypeAny, {
|
|
2126
|
-
message: string;
|
|
2127
2235
|
code: string;
|
|
2128
2236
|
path: string;
|
|
2237
|
+
message: string;
|
|
2129
2238
|
statusCode: number;
|
|
2130
2239
|
timestamp: string;
|
|
2131
2240
|
details?: unknown;
|
|
2132
2241
|
correlationId?: string | undefined;
|
|
2133
2242
|
}, {
|
|
2134
|
-
message: string;
|
|
2135
2243
|
code: string;
|
|
2136
2244
|
path: string;
|
|
2245
|
+
message: string;
|
|
2137
2246
|
statusCode: number;
|
|
2138
2247
|
timestamp: string;
|
|
2139
2248
|
details?: unknown;
|
|
@@ -2142,9 +2251,6 @@ export declare const callHistoryContract: {
|
|
|
2142
2251
|
};
|
|
2143
2252
|
};
|
|
2144
2253
|
findAll: {
|
|
2145
|
-
metadata: {
|
|
2146
|
-
tags: string[];
|
|
2147
|
-
};
|
|
2148
2254
|
query: z.ZodObject<{
|
|
2149
2255
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
2150
2256
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2228,11 +2334,14 @@ export declare const callHistoryContract: {
|
|
|
2228
2334
|
leadSource?: LeadSource | undefined;
|
|
2229
2335
|
leadName?: string | undefined;
|
|
2230
2336
|
}>;
|
|
2337
|
+
metadata: {
|
|
2338
|
+
tags: string[];
|
|
2339
|
+
};
|
|
2231
2340
|
summary: "Get call history records";
|
|
2232
2341
|
method: "GET";
|
|
2233
2342
|
path: "/v2/call-history";
|
|
2234
2343
|
responses: {
|
|
2235
|
-
|
|
2344
|
+
401: z.ZodObject<{
|
|
2236
2345
|
statusCode: z.ZodNumber;
|
|
2237
2346
|
message: z.ZodString;
|
|
2238
2347
|
code: z.ZodString;
|
|
@@ -2241,23 +2350,23 @@ export declare const callHistoryContract: {
|
|
|
2241
2350
|
path: z.ZodString;
|
|
2242
2351
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2243
2352
|
}, "strip", z.ZodTypeAny, {
|
|
2244
|
-
message: string;
|
|
2245
2353
|
code: string;
|
|
2246
2354
|
path: string;
|
|
2355
|
+
message: string;
|
|
2247
2356
|
statusCode: number;
|
|
2248
2357
|
timestamp: string;
|
|
2249
2358
|
details?: unknown;
|
|
2250
2359
|
correlationId?: string | undefined;
|
|
2251
2360
|
}, {
|
|
2252
|
-
message: string;
|
|
2253
2361
|
code: string;
|
|
2254
2362
|
path: string;
|
|
2363
|
+
message: string;
|
|
2255
2364
|
statusCode: number;
|
|
2256
2365
|
timestamp: string;
|
|
2257
2366
|
details?: unknown;
|
|
2258
2367
|
correlationId?: string | undefined;
|
|
2259
2368
|
}>;
|
|
2260
|
-
|
|
2369
|
+
400: z.ZodObject<{
|
|
2261
2370
|
statusCode: z.ZodNumber;
|
|
2262
2371
|
message: z.ZodString;
|
|
2263
2372
|
code: z.ZodString;
|
|
@@ -2266,23 +2375,23 @@ export declare const callHistoryContract: {
|
|
|
2266
2375
|
path: z.ZodString;
|
|
2267
2376
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2268
2377
|
}, "strip", z.ZodTypeAny, {
|
|
2269
|
-
message: string;
|
|
2270
2378
|
code: string;
|
|
2271
2379
|
path: string;
|
|
2380
|
+
message: string;
|
|
2272
2381
|
statusCode: number;
|
|
2273
2382
|
timestamp: string;
|
|
2274
2383
|
details?: unknown;
|
|
2275
2384
|
correlationId?: string | undefined;
|
|
2276
2385
|
}, {
|
|
2277
|
-
message: string;
|
|
2278
2386
|
code: string;
|
|
2279
2387
|
path: string;
|
|
2388
|
+
message: string;
|
|
2280
2389
|
statusCode: number;
|
|
2281
2390
|
timestamp: string;
|
|
2282
2391
|
details?: unknown;
|
|
2283
2392
|
correlationId?: string | undefined;
|
|
2284
2393
|
}>;
|
|
2285
|
-
|
|
2394
|
+
403: z.ZodObject<{
|
|
2286
2395
|
statusCode: z.ZodNumber;
|
|
2287
2396
|
message: z.ZodString;
|
|
2288
2397
|
code: z.ZodString;
|
|
@@ -2291,17 +2400,17 @@ export declare const callHistoryContract: {
|
|
|
2291
2400
|
path: z.ZodString;
|
|
2292
2401
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2293
2402
|
}, "strip", z.ZodTypeAny, {
|
|
2294
|
-
message: string;
|
|
2295
2403
|
code: string;
|
|
2296
2404
|
path: string;
|
|
2405
|
+
message: string;
|
|
2297
2406
|
statusCode: number;
|
|
2298
2407
|
timestamp: string;
|
|
2299
2408
|
details?: unknown;
|
|
2300
2409
|
correlationId?: string | undefined;
|
|
2301
2410
|
}, {
|
|
2302
|
-
message: string;
|
|
2303
2411
|
code: string;
|
|
2304
2412
|
path: string;
|
|
2413
|
+
message: string;
|
|
2305
2414
|
statusCode: number;
|
|
2306
2415
|
timestamp: string;
|
|
2307
2416
|
details?: unknown;
|
|
@@ -2316,17 +2425,17 @@ export declare const callHistoryContract: {
|
|
|
2316
2425
|
path: z.ZodString;
|
|
2317
2426
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2318
2427
|
}, "strip", z.ZodTypeAny, {
|
|
2319
|
-
message: string;
|
|
2320
2428
|
code: string;
|
|
2321
2429
|
path: string;
|
|
2430
|
+
message: string;
|
|
2322
2431
|
statusCode: number;
|
|
2323
2432
|
timestamp: string;
|
|
2324
2433
|
details?: unknown;
|
|
2325
2434
|
correlationId?: string | undefined;
|
|
2326
2435
|
}, {
|
|
2327
|
-
message: string;
|
|
2328
2436
|
code: string;
|
|
2329
2437
|
path: string;
|
|
2438
|
+
message: string;
|
|
2330
2439
|
statusCode: number;
|
|
2331
2440
|
timestamp: string;
|
|
2332
2441
|
details?: unknown;
|
|
@@ -2423,9 +2532,9 @@ export declare const callHistoryContract: {
|
|
|
2423
2532
|
rating: CallRating;
|
|
2424
2533
|
notes: string | null;
|
|
2425
2534
|
callType: CallType;
|
|
2426
|
-
leadSource: LeadSource;
|
|
2427
|
-
ratingWeight: number;
|
|
2428
2535
|
assignmentId: string;
|
|
2536
|
+
ratingWeight: number;
|
|
2537
|
+
leadSource: LeadSource;
|
|
2429
2538
|
agent?: {
|
|
2430
2539
|
id: string;
|
|
2431
2540
|
lastName: string;
|
|
@@ -2457,9 +2566,9 @@ export declare const callHistoryContract: {
|
|
|
2457
2566
|
rating: CallRating;
|
|
2458
2567
|
notes: string | null;
|
|
2459
2568
|
callType: CallType;
|
|
2460
|
-
leadSource: LeadSource;
|
|
2461
|
-
ratingWeight: number;
|
|
2462
2569
|
assignmentId: string;
|
|
2570
|
+
ratingWeight: number;
|
|
2571
|
+
leadSource: LeadSource;
|
|
2463
2572
|
agent?: {
|
|
2464
2573
|
id: string;
|
|
2465
2574
|
lastName: string;
|
|
@@ -2499,9 +2608,9 @@ export declare const callHistoryContract: {
|
|
|
2499
2608
|
rating: CallRating;
|
|
2500
2609
|
notes: string | null;
|
|
2501
2610
|
callType: CallType;
|
|
2502
|
-
leadSource: LeadSource;
|
|
2503
|
-
ratingWeight: number;
|
|
2504
2611
|
assignmentId: string;
|
|
2612
|
+
ratingWeight: number;
|
|
2613
|
+
leadSource: LeadSource;
|
|
2505
2614
|
agent?: {
|
|
2506
2615
|
id: string;
|
|
2507
2616
|
lastName: string;
|
|
@@ -2540,9 +2649,9 @@ export declare const callHistoryContract: {
|
|
|
2540
2649
|
rating: CallRating;
|
|
2541
2650
|
notes: string | null;
|
|
2542
2651
|
callType: CallType;
|
|
2543
|
-
leadSource: LeadSource;
|
|
2544
|
-
ratingWeight: number;
|
|
2545
2652
|
assignmentId: string;
|
|
2653
|
+
ratingWeight: number;
|
|
2654
|
+
leadSource: LeadSource;
|
|
2546
2655
|
agent?: {
|
|
2547
2656
|
id: string;
|
|
2548
2657
|
lastName: string;
|
|
@@ -2589,7 +2698,7 @@ export declare const callHistoryContract: {
|
|
|
2589
2698
|
method: "GET";
|
|
2590
2699
|
path: "/v2/call-history/:id";
|
|
2591
2700
|
responses: {
|
|
2592
|
-
|
|
2701
|
+
401: z.ZodObject<{
|
|
2593
2702
|
statusCode: z.ZodNumber;
|
|
2594
2703
|
message: z.ZodString;
|
|
2595
2704
|
code: z.ZodString;
|
|
@@ -2598,23 +2707,23 @@ export declare const callHistoryContract: {
|
|
|
2598
2707
|
path: z.ZodString;
|
|
2599
2708
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2600
2709
|
}, "strip", z.ZodTypeAny, {
|
|
2601
|
-
message: string;
|
|
2602
2710
|
code: string;
|
|
2603
2711
|
path: string;
|
|
2712
|
+
message: string;
|
|
2604
2713
|
statusCode: number;
|
|
2605
2714
|
timestamp: string;
|
|
2606
2715
|
details?: unknown;
|
|
2607
2716
|
correlationId?: string | undefined;
|
|
2608
2717
|
}, {
|
|
2609
|
-
message: string;
|
|
2610
2718
|
code: string;
|
|
2611
2719
|
path: string;
|
|
2720
|
+
message: string;
|
|
2612
2721
|
statusCode: number;
|
|
2613
2722
|
timestamp: string;
|
|
2614
2723
|
details?: unknown;
|
|
2615
2724
|
correlationId?: string | undefined;
|
|
2616
2725
|
}>;
|
|
2617
|
-
|
|
2726
|
+
400: z.ZodObject<{
|
|
2618
2727
|
statusCode: z.ZodNumber;
|
|
2619
2728
|
message: z.ZodString;
|
|
2620
2729
|
code: z.ZodString;
|
|
@@ -2623,23 +2732,23 @@ export declare const callHistoryContract: {
|
|
|
2623
2732
|
path: z.ZodString;
|
|
2624
2733
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2625
2734
|
}, "strip", z.ZodTypeAny, {
|
|
2626
|
-
message: string;
|
|
2627
2735
|
code: string;
|
|
2628
2736
|
path: string;
|
|
2737
|
+
message: string;
|
|
2629
2738
|
statusCode: number;
|
|
2630
2739
|
timestamp: string;
|
|
2631
2740
|
details?: unknown;
|
|
2632
2741
|
correlationId?: string | undefined;
|
|
2633
2742
|
}, {
|
|
2634
|
-
message: string;
|
|
2635
2743
|
code: string;
|
|
2636
2744
|
path: string;
|
|
2745
|
+
message: string;
|
|
2637
2746
|
statusCode: number;
|
|
2638
2747
|
timestamp: string;
|
|
2639
2748
|
details?: unknown;
|
|
2640
2749
|
correlationId?: string | undefined;
|
|
2641
2750
|
}>;
|
|
2642
|
-
|
|
2751
|
+
403: z.ZodObject<{
|
|
2643
2752
|
statusCode: z.ZodNumber;
|
|
2644
2753
|
message: z.ZodString;
|
|
2645
2754
|
code: z.ZodString;
|
|
@@ -2648,17 +2757,17 @@ export declare const callHistoryContract: {
|
|
|
2648
2757
|
path: z.ZodString;
|
|
2649
2758
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2650
2759
|
}, "strip", z.ZodTypeAny, {
|
|
2651
|
-
message: string;
|
|
2652
2760
|
code: string;
|
|
2653
2761
|
path: string;
|
|
2762
|
+
message: string;
|
|
2654
2763
|
statusCode: number;
|
|
2655
2764
|
timestamp: string;
|
|
2656
2765
|
details?: unknown;
|
|
2657
2766
|
correlationId?: string | undefined;
|
|
2658
2767
|
}, {
|
|
2659
|
-
message: string;
|
|
2660
2768
|
code: string;
|
|
2661
2769
|
path: string;
|
|
2770
|
+
message: string;
|
|
2662
2771
|
statusCode: number;
|
|
2663
2772
|
timestamp: string;
|
|
2664
2773
|
details?: unknown;
|
|
@@ -2673,17 +2782,17 @@ export declare const callHistoryContract: {
|
|
|
2673
2782
|
path: z.ZodString;
|
|
2674
2783
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
2675
2784
|
}, "strip", z.ZodTypeAny, {
|
|
2676
|
-
message: string;
|
|
2677
2785
|
code: string;
|
|
2678
2786
|
path: string;
|
|
2787
|
+
message: string;
|
|
2679
2788
|
statusCode: number;
|
|
2680
2789
|
timestamp: string;
|
|
2681
2790
|
details?: unknown;
|
|
2682
2791
|
correlationId?: string | undefined;
|
|
2683
2792
|
}, {
|
|
2684
|
-
message: string;
|
|
2685
2793
|
code: string;
|
|
2686
2794
|
path: string;
|
|
2795
|
+
message: string;
|
|
2687
2796
|
statusCode: number;
|
|
2688
2797
|
timestamp: string;
|
|
2689
2798
|
details?: unknown;
|
|
@@ -2807,13 +2916,13 @@ export declare const callHistoryContract: {
|
|
|
2807
2916
|
firstName: string;
|
|
2808
2917
|
}[] | undefined;
|
|
2809
2918
|
} | null | undefined;
|
|
2919
|
+
deletedAt?: string | null | undefined;
|
|
2810
2920
|
canImpersonateUsers?: {
|
|
2811
2921
|
id: string;
|
|
2812
2922
|
lastName: string;
|
|
2813
2923
|
firstName: string;
|
|
2814
2924
|
}[] | undefined;
|
|
2815
2925
|
dialpadUserId?: string | null | undefined;
|
|
2816
|
-
deletedAt?: string | null | undefined;
|
|
2817
2926
|
}, {
|
|
2818
2927
|
email: string;
|
|
2819
2928
|
createdAt: string | Date;
|
|
@@ -2839,13 +2948,13 @@ export declare const callHistoryContract: {
|
|
|
2839
2948
|
description?: string | null | undefined;
|
|
2840
2949
|
isPrimary?: boolean | undefined;
|
|
2841
2950
|
}[] | undefined;
|
|
2951
|
+
deletedAt?: string | Date | null | undefined;
|
|
2842
2952
|
canImpersonateUsers?: {
|
|
2843
2953
|
id: string;
|
|
2844
2954
|
lastName: string;
|
|
2845
2955
|
firstName: string;
|
|
2846
2956
|
}[] | undefined;
|
|
2847
2957
|
dialpadUserId?: string | null | undefined;
|
|
2848
|
-
deletedAt?: string | Date | null | undefined;
|
|
2849
2958
|
}>>;
|
|
2850
2959
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2851
2960
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -2869,6 +2978,19 @@ export declare const callHistoryContract: {
|
|
|
2869
2978
|
}>>>;
|
|
2870
2979
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2871
2980
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2981
|
+
callback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2982
|
+
id: z.ZodString;
|
|
2983
|
+
dueAt: z.ZodString;
|
|
2984
|
+
originNotes: z.ZodNullable<z.ZodString>;
|
|
2985
|
+
}, "strip", z.ZodTypeAny, {
|
|
2986
|
+
id: string;
|
|
2987
|
+
dueAt: string;
|
|
2988
|
+
originNotes: string | null;
|
|
2989
|
+
}, {
|
|
2990
|
+
id: string;
|
|
2991
|
+
dueAt: string;
|
|
2992
|
+
originNotes: string | null;
|
|
2993
|
+
}>>>;
|
|
2872
2994
|
}, "strip", z.ZodTypeAny, {
|
|
2873
2995
|
createdAt: string;
|
|
2874
2996
|
updatedAt: string;
|
|
@@ -2904,13 +3026,13 @@ export declare const callHistoryContract: {
|
|
|
2904
3026
|
firstName: string;
|
|
2905
3027
|
}[] | undefined;
|
|
2906
3028
|
} | null | undefined;
|
|
3029
|
+
deletedAt?: string | null | undefined;
|
|
2907
3030
|
canImpersonateUsers?: {
|
|
2908
3031
|
id: string;
|
|
2909
3032
|
lastName: string;
|
|
2910
3033
|
firstName: string;
|
|
2911
3034
|
}[] | undefined;
|
|
2912
3035
|
dialpadUserId?: string | null | undefined;
|
|
2913
|
-
deletedAt?: string | null | undefined;
|
|
2914
3036
|
} | undefined;
|
|
2915
3037
|
lead?: {
|
|
2916
3038
|
name: string;
|
|
@@ -2922,6 +3044,11 @@ export declare const callHistoryContract: {
|
|
|
2922
3044
|
updatedAt: string;
|
|
2923
3045
|
id: string;
|
|
2924
3046
|
} | null | undefined;
|
|
3047
|
+
callback?: {
|
|
3048
|
+
id: string;
|
|
3049
|
+
dueAt: string;
|
|
3050
|
+
originNotes: string | null;
|
|
3051
|
+
} | null | undefined;
|
|
2925
3052
|
}, {
|
|
2926
3053
|
createdAt: string | Date;
|
|
2927
3054
|
updatedAt: string | Date;
|
|
@@ -2957,13 +3084,13 @@ export declare const callHistoryContract: {
|
|
|
2957
3084
|
description?: string | null | undefined;
|
|
2958
3085
|
isPrimary?: boolean | undefined;
|
|
2959
3086
|
}[] | undefined;
|
|
3087
|
+
deletedAt?: string | Date | null | undefined;
|
|
2960
3088
|
canImpersonateUsers?: {
|
|
2961
3089
|
id: string;
|
|
2962
3090
|
lastName: string;
|
|
2963
3091
|
firstName: string;
|
|
2964
3092
|
}[] | undefined;
|
|
2965
3093
|
dialpadUserId?: string | null | undefined;
|
|
2966
|
-
deletedAt?: string | Date | null | undefined;
|
|
2967
3094
|
} | undefined;
|
|
2968
3095
|
lead?: {
|
|
2969
3096
|
name: string;
|
|
@@ -2975,6 +3102,11 @@ export declare const callHistoryContract: {
|
|
|
2975
3102
|
updatedAt: string | Date;
|
|
2976
3103
|
id: string;
|
|
2977
3104
|
} | null | undefined;
|
|
3105
|
+
callback?: {
|
|
3106
|
+
id: string;
|
|
3107
|
+
dueAt: string;
|
|
3108
|
+
originNotes: string | null;
|
|
3109
|
+
} | null | undefined;
|
|
2978
3110
|
}>>>;
|
|
2979
3111
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
2980
3112
|
leadSource: z.ZodNativeEnum<typeof LeadSource>;
|
|
@@ -2990,9 +3122,9 @@ export declare const callHistoryContract: {
|
|
|
2990
3122
|
rating: CallRating;
|
|
2991
3123
|
notes: string | null;
|
|
2992
3124
|
callType: CallType;
|
|
2993
|
-
leadSource: LeadSource;
|
|
2994
|
-
ratingWeight: number;
|
|
2995
3125
|
assignmentId: string;
|
|
3126
|
+
ratingWeight: number;
|
|
3127
|
+
leadSource: LeadSource;
|
|
2996
3128
|
agentId?: string | undefined;
|
|
2997
3129
|
leadId?: string | undefined;
|
|
2998
3130
|
assignment?: {
|
|
@@ -3030,13 +3162,13 @@ export declare const callHistoryContract: {
|
|
|
3030
3162
|
firstName: string;
|
|
3031
3163
|
}[] | undefined;
|
|
3032
3164
|
} | null | undefined;
|
|
3165
|
+
deletedAt?: string | null | undefined;
|
|
3033
3166
|
canImpersonateUsers?: {
|
|
3034
3167
|
id: string;
|
|
3035
3168
|
lastName: string;
|
|
3036
3169
|
firstName: string;
|
|
3037
3170
|
}[] | undefined;
|
|
3038
3171
|
dialpadUserId?: string | null | undefined;
|
|
3039
|
-
deletedAt?: string | null | undefined;
|
|
3040
3172
|
} | undefined;
|
|
3041
3173
|
lead?: {
|
|
3042
3174
|
name: string;
|
|
@@ -3048,6 +3180,11 @@ export declare const callHistoryContract: {
|
|
|
3048
3180
|
updatedAt: string;
|
|
3049
3181
|
id: string;
|
|
3050
3182
|
} | null | undefined;
|
|
3183
|
+
callback?: {
|
|
3184
|
+
id: string;
|
|
3185
|
+
dueAt: string;
|
|
3186
|
+
originNotes: string | null;
|
|
3187
|
+
} | null | undefined;
|
|
3051
3188
|
} | null | undefined;
|
|
3052
3189
|
}, {
|
|
3053
3190
|
createdAt: string | Date;
|
|
@@ -3056,9 +3193,9 @@ export declare const callHistoryContract: {
|
|
|
3056
3193
|
rating: CallRating;
|
|
3057
3194
|
notes: string | null;
|
|
3058
3195
|
callType: CallType;
|
|
3059
|
-
leadSource: LeadSource;
|
|
3060
|
-
ratingWeight: number;
|
|
3061
3196
|
assignmentId: string;
|
|
3197
|
+
ratingWeight: number;
|
|
3198
|
+
leadSource: LeadSource;
|
|
3062
3199
|
agentId?: string | undefined;
|
|
3063
3200
|
leadId?: string | undefined;
|
|
3064
3201
|
assignment?: {
|
|
@@ -3096,13 +3233,13 @@ export declare const callHistoryContract: {
|
|
|
3096
3233
|
description?: string | null | undefined;
|
|
3097
3234
|
isPrimary?: boolean | undefined;
|
|
3098
3235
|
}[] | undefined;
|
|
3236
|
+
deletedAt?: string | Date | null | undefined;
|
|
3099
3237
|
canImpersonateUsers?: {
|
|
3100
3238
|
id: string;
|
|
3101
3239
|
lastName: string;
|
|
3102
3240
|
firstName: string;
|
|
3103
3241
|
}[] | undefined;
|
|
3104
3242
|
dialpadUserId?: string | null | undefined;
|
|
3105
|
-
deletedAt?: string | Date | null | undefined;
|
|
3106
3243
|
} | undefined;
|
|
3107
3244
|
lead?: {
|
|
3108
3245
|
name: string;
|
|
@@ -3114,6 +3251,11 @@ export declare const callHistoryContract: {
|
|
|
3114
3251
|
updatedAt: string | Date;
|
|
3115
3252
|
id: string;
|
|
3116
3253
|
} | null | undefined;
|
|
3254
|
+
callback?: {
|
|
3255
|
+
id: string;
|
|
3256
|
+
dueAt: string;
|
|
3257
|
+
originNotes: string | null;
|
|
3258
|
+
} | null | undefined;
|
|
3117
3259
|
} | null | undefined;
|
|
3118
3260
|
}>;
|
|
3119
3261
|
404: z.ZodObject<{
|
|
@@ -3125,17 +3267,17 @@ export declare const callHistoryContract: {
|
|
|
3125
3267
|
path: z.ZodString;
|
|
3126
3268
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3127
3269
|
}, "strip", z.ZodTypeAny, {
|
|
3128
|
-
message: string;
|
|
3129
3270
|
code: string;
|
|
3130
3271
|
path: string;
|
|
3272
|
+
message: string;
|
|
3131
3273
|
statusCode: number;
|
|
3132
3274
|
timestamp: string;
|
|
3133
3275
|
details?: unknown;
|
|
3134
3276
|
correlationId?: string | undefined;
|
|
3135
3277
|
}, {
|
|
3136
|
-
message: string;
|
|
3137
3278
|
code: string;
|
|
3138
3279
|
path: string;
|
|
3280
|
+
message: string;
|
|
3139
3281
|
statusCode: number;
|
|
3140
3282
|
timestamp: string;
|
|
3141
3283
|
details?: unknown;
|
|
@@ -3168,7 +3310,7 @@ export declare const callHistoryContract: {
|
|
|
3168
3310
|
}>;
|
|
3169
3311
|
path: "/v2/call-history/:id";
|
|
3170
3312
|
responses: {
|
|
3171
|
-
|
|
3313
|
+
401: z.ZodObject<{
|
|
3172
3314
|
statusCode: z.ZodNumber;
|
|
3173
3315
|
message: z.ZodString;
|
|
3174
3316
|
code: z.ZodString;
|
|
@@ -3177,23 +3319,23 @@ export declare const callHistoryContract: {
|
|
|
3177
3319
|
path: z.ZodString;
|
|
3178
3320
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3179
3321
|
}, "strip", z.ZodTypeAny, {
|
|
3180
|
-
message: string;
|
|
3181
3322
|
code: string;
|
|
3182
3323
|
path: string;
|
|
3324
|
+
message: string;
|
|
3183
3325
|
statusCode: number;
|
|
3184
3326
|
timestamp: string;
|
|
3185
3327
|
details?: unknown;
|
|
3186
3328
|
correlationId?: string | undefined;
|
|
3187
3329
|
}, {
|
|
3188
|
-
message: string;
|
|
3189
3330
|
code: string;
|
|
3190
3331
|
path: string;
|
|
3332
|
+
message: string;
|
|
3191
3333
|
statusCode: number;
|
|
3192
3334
|
timestamp: string;
|
|
3193
3335
|
details?: unknown;
|
|
3194
3336
|
correlationId?: string | undefined;
|
|
3195
3337
|
}>;
|
|
3196
|
-
|
|
3338
|
+
400: z.ZodObject<{
|
|
3197
3339
|
statusCode: z.ZodNumber;
|
|
3198
3340
|
message: z.ZodString;
|
|
3199
3341
|
code: z.ZodString;
|
|
@@ -3202,23 +3344,23 @@ export declare const callHistoryContract: {
|
|
|
3202
3344
|
path: z.ZodString;
|
|
3203
3345
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3204
3346
|
}, "strip", z.ZodTypeAny, {
|
|
3205
|
-
message: string;
|
|
3206
3347
|
code: string;
|
|
3207
3348
|
path: string;
|
|
3349
|
+
message: string;
|
|
3208
3350
|
statusCode: number;
|
|
3209
3351
|
timestamp: string;
|
|
3210
3352
|
details?: unknown;
|
|
3211
3353
|
correlationId?: string | undefined;
|
|
3212
3354
|
}, {
|
|
3213
|
-
message: string;
|
|
3214
3355
|
code: string;
|
|
3215
3356
|
path: string;
|
|
3357
|
+
message: string;
|
|
3216
3358
|
statusCode: number;
|
|
3217
3359
|
timestamp: string;
|
|
3218
3360
|
details?: unknown;
|
|
3219
3361
|
correlationId?: string | undefined;
|
|
3220
3362
|
}>;
|
|
3221
|
-
|
|
3363
|
+
403: z.ZodObject<{
|
|
3222
3364
|
statusCode: z.ZodNumber;
|
|
3223
3365
|
message: z.ZodString;
|
|
3224
3366
|
code: z.ZodString;
|
|
@@ -3227,17 +3369,17 @@ export declare const callHistoryContract: {
|
|
|
3227
3369
|
path: z.ZodString;
|
|
3228
3370
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3229
3371
|
}, "strip", z.ZodTypeAny, {
|
|
3230
|
-
message: string;
|
|
3231
3372
|
code: string;
|
|
3232
3373
|
path: string;
|
|
3374
|
+
message: string;
|
|
3233
3375
|
statusCode: number;
|
|
3234
3376
|
timestamp: string;
|
|
3235
3377
|
details?: unknown;
|
|
3236
3378
|
correlationId?: string | undefined;
|
|
3237
3379
|
}, {
|
|
3238
|
-
message: string;
|
|
3239
3380
|
code: string;
|
|
3240
3381
|
path: string;
|
|
3382
|
+
message: string;
|
|
3241
3383
|
statusCode: number;
|
|
3242
3384
|
timestamp: string;
|
|
3243
3385
|
details?: unknown;
|
|
@@ -3252,17 +3394,17 @@ export declare const callHistoryContract: {
|
|
|
3252
3394
|
path: z.ZodString;
|
|
3253
3395
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3254
3396
|
}, "strip", z.ZodTypeAny, {
|
|
3255
|
-
message: string;
|
|
3256
3397
|
code: string;
|
|
3257
3398
|
path: string;
|
|
3399
|
+
message: string;
|
|
3258
3400
|
statusCode: number;
|
|
3259
3401
|
timestamp: string;
|
|
3260
3402
|
details?: unknown;
|
|
3261
3403
|
correlationId?: string | undefined;
|
|
3262
3404
|
}, {
|
|
3263
|
-
message: string;
|
|
3264
3405
|
code: string;
|
|
3265
3406
|
path: string;
|
|
3407
|
+
message: string;
|
|
3266
3408
|
statusCode: number;
|
|
3267
3409
|
timestamp: string;
|
|
3268
3410
|
details?: unknown;
|
|
@@ -3386,13 +3528,13 @@ export declare const callHistoryContract: {
|
|
|
3386
3528
|
firstName: string;
|
|
3387
3529
|
}[] | undefined;
|
|
3388
3530
|
} | null | undefined;
|
|
3531
|
+
deletedAt?: string | null | undefined;
|
|
3389
3532
|
canImpersonateUsers?: {
|
|
3390
3533
|
id: string;
|
|
3391
3534
|
lastName: string;
|
|
3392
3535
|
firstName: string;
|
|
3393
3536
|
}[] | undefined;
|
|
3394
3537
|
dialpadUserId?: string | null | undefined;
|
|
3395
|
-
deletedAt?: string | null | undefined;
|
|
3396
3538
|
}, {
|
|
3397
3539
|
email: string;
|
|
3398
3540
|
createdAt: string | Date;
|
|
@@ -3418,13 +3560,13 @@ export declare const callHistoryContract: {
|
|
|
3418
3560
|
description?: string | null | undefined;
|
|
3419
3561
|
isPrimary?: boolean | undefined;
|
|
3420
3562
|
}[] | undefined;
|
|
3563
|
+
deletedAt?: string | Date | null | undefined;
|
|
3421
3564
|
canImpersonateUsers?: {
|
|
3422
3565
|
id: string;
|
|
3423
3566
|
lastName: string;
|
|
3424
3567
|
firstName: string;
|
|
3425
3568
|
}[] | undefined;
|
|
3426
3569
|
dialpadUserId?: string | null | undefined;
|
|
3427
|
-
deletedAt?: string | Date | null | undefined;
|
|
3428
3570
|
}>>;
|
|
3429
3571
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3430
3572
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -3448,6 +3590,19 @@ export declare const callHistoryContract: {
|
|
|
3448
3590
|
}>>>;
|
|
3449
3591
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3450
3592
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3593
|
+
callback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3594
|
+
id: z.ZodString;
|
|
3595
|
+
dueAt: z.ZodString;
|
|
3596
|
+
originNotes: z.ZodNullable<z.ZodString>;
|
|
3597
|
+
}, "strip", z.ZodTypeAny, {
|
|
3598
|
+
id: string;
|
|
3599
|
+
dueAt: string;
|
|
3600
|
+
originNotes: string | null;
|
|
3601
|
+
}, {
|
|
3602
|
+
id: string;
|
|
3603
|
+
dueAt: string;
|
|
3604
|
+
originNotes: string | null;
|
|
3605
|
+
}>>>;
|
|
3451
3606
|
}, "strip", z.ZodTypeAny, {
|
|
3452
3607
|
createdAt: string;
|
|
3453
3608
|
updatedAt: string;
|
|
@@ -3483,13 +3638,13 @@ export declare const callHistoryContract: {
|
|
|
3483
3638
|
firstName: string;
|
|
3484
3639
|
}[] | undefined;
|
|
3485
3640
|
} | null | undefined;
|
|
3641
|
+
deletedAt?: string | null | undefined;
|
|
3486
3642
|
canImpersonateUsers?: {
|
|
3487
3643
|
id: string;
|
|
3488
3644
|
lastName: string;
|
|
3489
3645
|
firstName: string;
|
|
3490
3646
|
}[] | undefined;
|
|
3491
3647
|
dialpadUserId?: string | null | undefined;
|
|
3492
|
-
deletedAt?: string | null | undefined;
|
|
3493
3648
|
} | undefined;
|
|
3494
3649
|
lead?: {
|
|
3495
3650
|
name: string;
|
|
@@ -3501,6 +3656,11 @@ export declare const callHistoryContract: {
|
|
|
3501
3656
|
updatedAt: string;
|
|
3502
3657
|
id: string;
|
|
3503
3658
|
} | null | undefined;
|
|
3659
|
+
callback?: {
|
|
3660
|
+
id: string;
|
|
3661
|
+
dueAt: string;
|
|
3662
|
+
originNotes: string | null;
|
|
3663
|
+
} | null | undefined;
|
|
3504
3664
|
}, {
|
|
3505
3665
|
createdAt: string | Date;
|
|
3506
3666
|
updatedAt: string | Date;
|
|
@@ -3536,13 +3696,13 @@ export declare const callHistoryContract: {
|
|
|
3536
3696
|
description?: string | null | undefined;
|
|
3537
3697
|
isPrimary?: boolean | undefined;
|
|
3538
3698
|
}[] | undefined;
|
|
3699
|
+
deletedAt?: string | Date | null | undefined;
|
|
3539
3700
|
canImpersonateUsers?: {
|
|
3540
3701
|
id: string;
|
|
3541
3702
|
lastName: string;
|
|
3542
3703
|
firstName: string;
|
|
3543
3704
|
}[] | undefined;
|
|
3544
3705
|
dialpadUserId?: string | null | undefined;
|
|
3545
|
-
deletedAt?: string | Date | null | undefined;
|
|
3546
3706
|
} | undefined;
|
|
3547
3707
|
lead?: {
|
|
3548
3708
|
name: string;
|
|
@@ -3554,6 +3714,11 @@ export declare const callHistoryContract: {
|
|
|
3554
3714
|
updatedAt: string | Date;
|
|
3555
3715
|
id: string;
|
|
3556
3716
|
} | null | undefined;
|
|
3717
|
+
callback?: {
|
|
3718
|
+
id: string;
|
|
3719
|
+
dueAt: string;
|
|
3720
|
+
originNotes: string | null;
|
|
3721
|
+
} | null | undefined;
|
|
3557
3722
|
}>>>;
|
|
3558
3723
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
3559
3724
|
leadSource: z.ZodNativeEnum<typeof LeadSource>;
|
|
@@ -3569,9 +3734,9 @@ export declare const callHistoryContract: {
|
|
|
3569
3734
|
rating: CallRating;
|
|
3570
3735
|
notes: string | null;
|
|
3571
3736
|
callType: CallType;
|
|
3572
|
-
leadSource: LeadSource;
|
|
3573
|
-
ratingWeight: number;
|
|
3574
3737
|
assignmentId: string;
|
|
3738
|
+
ratingWeight: number;
|
|
3739
|
+
leadSource: LeadSource;
|
|
3575
3740
|
agentId?: string | undefined;
|
|
3576
3741
|
leadId?: string | undefined;
|
|
3577
3742
|
assignment?: {
|
|
@@ -3609,13 +3774,13 @@ export declare const callHistoryContract: {
|
|
|
3609
3774
|
firstName: string;
|
|
3610
3775
|
}[] | undefined;
|
|
3611
3776
|
} | null | undefined;
|
|
3777
|
+
deletedAt?: string | null | undefined;
|
|
3612
3778
|
canImpersonateUsers?: {
|
|
3613
3779
|
id: string;
|
|
3614
3780
|
lastName: string;
|
|
3615
3781
|
firstName: string;
|
|
3616
3782
|
}[] | undefined;
|
|
3617
3783
|
dialpadUserId?: string | null | undefined;
|
|
3618
|
-
deletedAt?: string | null | undefined;
|
|
3619
3784
|
} | undefined;
|
|
3620
3785
|
lead?: {
|
|
3621
3786
|
name: string;
|
|
@@ -3627,6 +3792,11 @@ export declare const callHistoryContract: {
|
|
|
3627
3792
|
updatedAt: string;
|
|
3628
3793
|
id: string;
|
|
3629
3794
|
} | null | undefined;
|
|
3795
|
+
callback?: {
|
|
3796
|
+
id: string;
|
|
3797
|
+
dueAt: string;
|
|
3798
|
+
originNotes: string | null;
|
|
3799
|
+
} | null | undefined;
|
|
3630
3800
|
} | null | undefined;
|
|
3631
3801
|
}, {
|
|
3632
3802
|
createdAt: string | Date;
|
|
@@ -3635,9 +3805,9 @@ export declare const callHistoryContract: {
|
|
|
3635
3805
|
rating: CallRating;
|
|
3636
3806
|
notes: string | null;
|
|
3637
3807
|
callType: CallType;
|
|
3638
|
-
leadSource: LeadSource;
|
|
3639
|
-
ratingWeight: number;
|
|
3640
3808
|
assignmentId: string;
|
|
3809
|
+
ratingWeight: number;
|
|
3810
|
+
leadSource: LeadSource;
|
|
3641
3811
|
agentId?: string | undefined;
|
|
3642
3812
|
leadId?: string | undefined;
|
|
3643
3813
|
assignment?: {
|
|
@@ -3675,13 +3845,13 @@ export declare const callHistoryContract: {
|
|
|
3675
3845
|
description?: string | null | undefined;
|
|
3676
3846
|
isPrimary?: boolean | undefined;
|
|
3677
3847
|
}[] | undefined;
|
|
3848
|
+
deletedAt?: string | Date | null | undefined;
|
|
3678
3849
|
canImpersonateUsers?: {
|
|
3679
3850
|
id: string;
|
|
3680
3851
|
lastName: string;
|
|
3681
3852
|
firstName: string;
|
|
3682
3853
|
}[] | undefined;
|
|
3683
3854
|
dialpadUserId?: string | null | undefined;
|
|
3684
|
-
deletedAt?: string | Date | null | undefined;
|
|
3685
3855
|
} | undefined;
|
|
3686
3856
|
lead?: {
|
|
3687
3857
|
name: string;
|
|
@@ -3693,6 +3863,11 @@ export declare const callHistoryContract: {
|
|
|
3693
3863
|
updatedAt: string | Date;
|
|
3694
3864
|
id: string;
|
|
3695
3865
|
} | null | undefined;
|
|
3866
|
+
callback?: {
|
|
3867
|
+
id: string;
|
|
3868
|
+
dueAt: string;
|
|
3869
|
+
originNotes: string | null;
|
|
3870
|
+
} | null | undefined;
|
|
3696
3871
|
} | null | undefined;
|
|
3697
3872
|
}>;
|
|
3698
3873
|
404: z.ZodObject<{
|
|
@@ -3704,17 +3879,17 @@ export declare const callHistoryContract: {
|
|
|
3704
3879
|
path: z.ZodString;
|
|
3705
3880
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3706
3881
|
}, "strip", z.ZodTypeAny, {
|
|
3707
|
-
message: string;
|
|
3708
3882
|
code: string;
|
|
3709
3883
|
path: string;
|
|
3884
|
+
message: string;
|
|
3710
3885
|
statusCode: number;
|
|
3711
3886
|
timestamp: string;
|
|
3712
3887
|
details?: unknown;
|
|
3713
3888
|
correlationId?: string | undefined;
|
|
3714
3889
|
}, {
|
|
3715
|
-
message: string;
|
|
3716
3890
|
code: string;
|
|
3717
3891
|
path: string;
|
|
3892
|
+
message: string;
|
|
3718
3893
|
statusCode: number;
|
|
3719
3894
|
timestamp: string;
|
|
3720
3895
|
details?: unknown;
|
|
@@ -3730,7 +3905,7 @@ export declare const callHistoryContract: {
|
|
|
3730
3905
|
method: "GET";
|
|
3731
3906
|
path: "/v2/call-history/stats/agent";
|
|
3732
3907
|
responses: {
|
|
3733
|
-
|
|
3908
|
+
401: z.ZodObject<{
|
|
3734
3909
|
statusCode: z.ZodNumber;
|
|
3735
3910
|
message: z.ZodString;
|
|
3736
3911
|
code: z.ZodString;
|
|
@@ -3739,23 +3914,23 @@ export declare const callHistoryContract: {
|
|
|
3739
3914
|
path: z.ZodString;
|
|
3740
3915
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3741
3916
|
}, "strip", z.ZodTypeAny, {
|
|
3742
|
-
message: string;
|
|
3743
3917
|
code: string;
|
|
3744
3918
|
path: string;
|
|
3919
|
+
message: string;
|
|
3745
3920
|
statusCode: number;
|
|
3746
3921
|
timestamp: string;
|
|
3747
3922
|
details?: unknown;
|
|
3748
3923
|
correlationId?: string | undefined;
|
|
3749
3924
|
}, {
|
|
3750
|
-
message: string;
|
|
3751
3925
|
code: string;
|
|
3752
3926
|
path: string;
|
|
3927
|
+
message: string;
|
|
3753
3928
|
statusCode: number;
|
|
3754
3929
|
timestamp: string;
|
|
3755
3930
|
details?: unknown;
|
|
3756
3931
|
correlationId?: string | undefined;
|
|
3757
3932
|
}>;
|
|
3758
|
-
|
|
3933
|
+
400: z.ZodObject<{
|
|
3759
3934
|
statusCode: z.ZodNumber;
|
|
3760
3935
|
message: z.ZodString;
|
|
3761
3936
|
code: z.ZodString;
|
|
@@ -3764,23 +3939,23 @@ export declare const callHistoryContract: {
|
|
|
3764
3939
|
path: z.ZodString;
|
|
3765
3940
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3766
3941
|
}, "strip", z.ZodTypeAny, {
|
|
3767
|
-
message: string;
|
|
3768
3942
|
code: string;
|
|
3769
3943
|
path: string;
|
|
3944
|
+
message: string;
|
|
3770
3945
|
statusCode: number;
|
|
3771
3946
|
timestamp: string;
|
|
3772
3947
|
details?: unknown;
|
|
3773
3948
|
correlationId?: string | undefined;
|
|
3774
3949
|
}, {
|
|
3775
|
-
message: string;
|
|
3776
3950
|
code: string;
|
|
3777
3951
|
path: string;
|
|
3952
|
+
message: string;
|
|
3778
3953
|
statusCode: number;
|
|
3779
3954
|
timestamp: string;
|
|
3780
3955
|
details?: unknown;
|
|
3781
3956
|
correlationId?: string | undefined;
|
|
3782
3957
|
}>;
|
|
3783
|
-
|
|
3958
|
+
403: z.ZodObject<{
|
|
3784
3959
|
statusCode: z.ZodNumber;
|
|
3785
3960
|
message: z.ZodString;
|
|
3786
3961
|
code: z.ZodString;
|
|
@@ -3789,17 +3964,17 @@ export declare const callHistoryContract: {
|
|
|
3789
3964
|
path: z.ZodString;
|
|
3790
3965
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3791
3966
|
}, "strip", z.ZodTypeAny, {
|
|
3792
|
-
message: string;
|
|
3793
3967
|
code: string;
|
|
3794
3968
|
path: string;
|
|
3969
|
+
message: string;
|
|
3795
3970
|
statusCode: number;
|
|
3796
3971
|
timestamp: string;
|
|
3797
3972
|
details?: unknown;
|
|
3798
3973
|
correlationId?: string | undefined;
|
|
3799
3974
|
}, {
|
|
3800
|
-
message: string;
|
|
3801
3975
|
code: string;
|
|
3802
3976
|
path: string;
|
|
3977
|
+
message: string;
|
|
3803
3978
|
statusCode: number;
|
|
3804
3979
|
timestamp: string;
|
|
3805
3980
|
details?: unknown;
|
|
@@ -3814,17 +3989,17 @@ export declare const callHistoryContract: {
|
|
|
3814
3989
|
path: z.ZodString;
|
|
3815
3990
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
3816
3991
|
}, "strip", z.ZodTypeAny, {
|
|
3817
|
-
message: string;
|
|
3818
3992
|
code: string;
|
|
3819
3993
|
path: string;
|
|
3994
|
+
message: string;
|
|
3820
3995
|
statusCode: number;
|
|
3821
3996
|
timestamp: string;
|
|
3822
3997
|
details?: unknown;
|
|
3823
3998
|
correlationId?: string | undefined;
|
|
3824
3999
|
}, {
|
|
3825
|
-
message: string;
|
|
3826
4000
|
code: string;
|
|
3827
4001
|
path: string;
|
|
4002
|
+
message: string;
|
|
3828
4003
|
statusCode: number;
|
|
3829
4004
|
timestamp: string;
|
|
3830
4005
|
details?: unknown;
|