@dakkitor/api-contracts 1.1.11 → 1.1.13

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.
Files changed (38) hide show
  1. package/dist/actives/actives.contract.d.ts +75 -76
  2. package/dist/actives/actives.contract.d.ts.map +1 -1
  3. package/dist/actives/actives.contract.js +15 -15
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts +320 -316
  5. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
  6. package/dist/agent-client-links/agent-client-links.contract.js +6 -6
  7. package/dist/auth/auth.contract.d.ts +2 -2
  8. package/dist/bookings/bookings.contract.d.ts +328 -328
  9. package/dist/call-history/call-history.contract.d.ts +205 -205
  10. package/dist/client-contacts/client-contacts.contract.d.ts +334 -332
  11. package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
  12. package/dist/client-contacts/client-contacts.contract.js +3 -3
  13. package/dist/clients/clients.contract.d.ts +196 -196
  14. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +404 -404
  15. package/dist/collaborations/collaborations.contract.d.ts +379 -379
  16. package/dist/common/error-schemas.d.ts +7 -7
  17. package/dist/common/error-schemas.d.ts.map +1 -1
  18. package/dist/companies/companies.contract.d.ts +214 -214
  19. package/dist/cron-executions/cron-executions.contract.d.ts +206 -206
  20. package/dist/curated-workers/curated-workers.contract.d.ts +213 -213
  21. package/dist/dashboards/agent-daily-metrics.contract.d.ts +124 -124
  22. package/dist/files/files.contract.d.ts +216 -216
  23. package/dist/health/health.contract.d.ts +22 -22
  24. package/dist/index.d.ts +971 -971
  25. package/dist/jobs/jobs.contract.d.ts +210 -210
  26. package/dist/lead-assignments/lead-assignments.contract.d.ts +248 -248
  27. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +40 -40
  28. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +153 -153
  29. package/dist/leads/leads.contract.d.ts +246 -246
  30. package/dist/locations/locations.contract.d.ts +143 -143
  31. package/dist/postcodes/postcodes.contract.d.ts +56 -56
  32. package/dist/qualifications/qualifications.contract.d.ts +248 -248
  33. package/dist/trades/trades.contract.d.ts +156 -156
  34. package/dist/users/users.contract.d.ts +68 -64
  35. package/dist/users/users.contract.d.ts.map +1 -1
  36. package/dist/users/users.contract.js +8 -8
  37. package/dist/workers/workers.contract.d.ts +226 -226
  38. package/package.json +1 -1
@@ -50,11 +50,11 @@ export declare const CallHistorySchema: z.ZodObject<{
50
50
  createdAt: string;
51
51
  updatedAt: string;
52
52
  assignmentId: string;
53
- callDate: string;
54
- callType: CallType;
55
53
  rating: CallRating;
56
- ratingWeight: number;
57
54
  notes: string | null;
55
+ callType: CallType;
56
+ callDate: string;
57
+ ratingWeight: number;
58
58
  agentId?: string | undefined;
59
59
  leadId?: string | undefined;
60
60
  assignment?: any;
@@ -63,11 +63,11 @@ export declare const CallHistorySchema: z.ZodObject<{
63
63
  createdAt: string | Date;
64
64
  updatedAt: string | Date;
65
65
  assignmentId: string;
66
- callDate: string | Date;
67
- callType: CallType;
68
66
  rating: CallRating;
69
- ratingWeight: number;
70
67
  notes: string | null;
68
+ callType: CallType;
69
+ callDate: string | Date;
70
+ ratingWeight: number;
71
71
  agentId?: string | undefined;
72
72
  leadId?: string | undefined;
73
73
  assignment?: any;
@@ -91,11 +91,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
91
91
  createdAt: string;
92
92
  updatedAt: string;
93
93
  assignmentId: string;
94
- callDate: string;
95
- callType: CallType;
96
94
  rating: CallRating;
97
- ratingWeight: number;
98
95
  notes: string | null;
96
+ callType: CallType;
97
+ callDate: string;
98
+ ratingWeight: number;
99
99
  agentId?: string | undefined;
100
100
  leadId?: string | undefined;
101
101
  assignment?: any;
@@ -104,11 +104,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
104
104
  createdAt: string | Date;
105
105
  updatedAt: string | Date;
106
106
  assignmentId: string;
107
- callDate: string | Date;
108
- callType: CallType;
109
107
  rating: CallRating;
110
- ratingWeight: number;
111
108
  notes: string | null;
109
+ callType: CallType;
110
+ callDate: string | Date;
111
+ ratingWeight: number;
112
112
  agentId?: string | undefined;
113
113
  leadId?: string | undefined;
114
114
  assignment?: any;
@@ -119,42 +119,42 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
119
119
  currentPage: z.ZodNumber;
120
120
  totalPages: z.ZodNumber;
121
121
  }, "strip", z.ZodTypeAny, {
122
- limit: number;
123
122
  items: {
124
123
  id: string;
125
124
  createdAt: string;
126
125
  updatedAt: string;
127
126
  assignmentId: string;
128
- callDate: string;
129
- callType: CallType;
130
127
  rating: CallRating;
131
- ratingWeight: number;
132
128
  notes: string | null;
129
+ callType: CallType;
130
+ callDate: string;
131
+ ratingWeight: number;
133
132
  agentId?: string | undefined;
134
133
  leadId?: string | undefined;
135
134
  assignment?: any;
136
135
  }[];
137
136
  totalCount: number;
137
+ limit: number;
138
138
  skip: number;
139
139
  currentPage: number;
140
140
  totalPages: number;
141
141
  }, {
142
- limit: number;
143
142
  items: {
144
143
  id: string;
145
144
  createdAt: string | Date;
146
145
  updatedAt: string | Date;
147
146
  assignmentId: string;
148
- callDate: string | Date;
149
- callType: CallType;
150
147
  rating: CallRating;
151
- ratingWeight: number;
152
148
  notes: string | null;
149
+ callType: CallType;
150
+ callDate: string | Date;
151
+ ratingWeight: number;
153
152
  agentId?: string | undefined;
154
153
  leadId?: string | undefined;
155
154
  assignment?: any;
156
155
  }[];
157
156
  totalCount: number;
157
+ limit: number;
158
158
  skip: number;
159
159
  currentPage: number;
160
160
  totalPages: number;
@@ -166,13 +166,13 @@ export declare const CreateCallHistorySchema: z.ZodObject<{
166
166
  callType: z.ZodNativeEnum<typeof CallType>;
167
167
  }, "strip", z.ZodTypeAny, {
168
168
  assignmentId: string;
169
- callType: CallType;
170
169
  rating: CallRating;
170
+ callType: CallType;
171
171
  notes?: string | undefined;
172
172
  }, {
173
173
  assignmentId: string;
174
- callType: CallType;
175
174
  rating: CallRating;
175
+ callType: CallType;
176
176
  notes?: string | undefined;
177
177
  }>;
178
178
  export declare const UpdateCallHistorySchema: z.ZodObject<{
@@ -180,13 +180,13 @@ export declare const UpdateCallHistorySchema: z.ZodObject<{
180
180
  rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
181
181
  notes: z.ZodOptional<z.ZodString>;
182
182
  }, "strip", z.ZodTypeAny, {
183
- callDate?: string | undefined;
184
183
  rating?: CallRating | undefined;
185
184
  notes?: string | undefined;
186
- }, {
187
185
  callDate?: string | undefined;
186
+ }, {
188
187
  rating?: CallRating | undefined;
189
188
  notes?: string | undefined;
189
+ callDate?: string | undefined;
190
190
  }>;
191
191
  export declare const FilterCallHistorySchema: z.ZodObject<{
192
192
  limit: z.ZodDefault<z.ZodNumber>;
@@ -205,8 +205,8 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
205
205
  sortBy?: CallHistorySortableFields | undefined;
206
206
  sortOrder?: "ASC" | "DESC" | undefined;
207
207
  assignmentId?: string | undefined;
208
- callType?: CallType | undefined;
209
208
  rating?: CallRating | undefined;
209
+ callType?: CallType | undefined;
210
210
  callDateFrom?: string | undefined;
211
211
  callDateTo?: string | undefined;
212
212
  }, {
@@ -215,8 +215,8 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
215
215
  sortBy?: CallHistorySortableFields | undefined;
216
216
  sortOrder?: "ASC" | "DESC" | undefined;
217
217
  assignmentId?: string | undefined;
218
- callType?: CallType | undefined;
219
218
  rating?: unknown;
219
+ callType?: CallType | undefined;
220
220
  callDateFrom?: string | undefined;
221
221
  callDateTo?: string | undefined;
222
222
  }>;
@@ -253,13 +253,13 @@ export declare const callHistoryContract: {
253
253
  callType: z.ZodNativeEnum<typeof CallType>;
254
254
  }, "strip", z.ZodTypeAny, {
255
255
  assignmentId: string;
256
- callType: CallType;
257
256
  rating: CallRating;
257
+ callType: CallType;
258
258
  notes?: string | undefined;
259
259
  }, {
260
260
  assignmentId: string;
261
- callType: CallType;
262
261
  rating: CallRating;
262
+ callType: CallType;
263
263
  notes?: string | undefined;
264
264
  }>;
265
265
  path: "/v2/call-history";
@@ -273,19 +273,19 @@ export declare const callHistoryContract: {
273
273
  path: z.ZodString;
274
274
  correlationId: z.ZodOptional<z.ZodString>;
275
275
  }, "strip", z.ZodTypeAny, {
276
- code: string;
277
- path: string;
278
- message: string;
279
276
  statusCode: number;
277
+ message: string;
278
+ code: string;
280
279
  timestamp: string;
280
+ path: string;
281
281
  details?: unknown;
282
282
  correlationId?: string | undefined;
283
283
  }, {
284
- code: string;
285
- path: string;
286
- message: string;
287
284
  statusCode: number;
285
+ message: string;
286
+ code: string;
288
287
  timestamp: string;
288
+ path: string;
289
289
  details?: unknown;
290
290
  correlationId?: string | undefined;
291
291
  }>;
@@ -298,19 +298,19 @@ export declare const callHistoryContract: {
298
298
  path: z.ZodString;
299
299
  correlationId: z.ZodOptional<z.ZodString>;
300
300
  }, "strip", z.ZodTypeAny, {
301
- code: string;
302
- path: string;
303
- message: string;
304
301
  statusCode: number;
302
+ message: string;
303
+ code: string;
305
304
  timestamp: string;
305
+ path: string;
306
306
  details?: unknown;
307
307
  correlationId?: string | undefined;
308
308
  }, {
309
- code: string;
310
- path: string;
311
- message: string;
312
309
  statusCode: number;
310
+ message: string;
311
+ code: string;
313
312
  timestamp: string;
313
+ path: string;
314
314
  details?: unknown;
315
315
  correlationId?: string | undefined;
316
316
  }>;
@@ -323,19 +323,19 @@ export declare const callHistoryContract: {
323
323
  path: z.ZodString;
324
324
  correlationId: z.ZodOptional<z.ZodString>;
325
325
  }, "strip", z.ZodTypeAny, {
326
- code: string;
327
- path: string;
328
- message: string;
329
326
  statusCode: number;
327
+ message: string;
328
+ code: string;
330
329
  timestamp: string;
330
+ path: string;
331
331
  details?: unknown;
332
332
  correlationId?: string | undefined;
333
333
  }, {
334
- code: string;
335
- path: string;
336
- message: string;
337
334
  statusCode: number;
335
+ message: string;
336
+ code: string;
338
337
  timestamp: string;
338
+ path: string;
339
339
  details?: unknown;
340
340
  correlationId?: string | undefined;
341
341
  }>;
@@ -348,19 +348,19 @@ export declare const callHistoryContract: {
348
348
  path: z.ZodString;
349
349
  correlationId: z.ZodOptional<z.ZodString>;
350
350
  }, "strip", z.ZodTypeAny, {
351
- code: string;
352
- path: string;
353
- message: string;
354
351
  statusCode: number;
352
+ message: string;
353
+ code: string;
355
354
  timestamp: string;
355
+ path: string;
356
356
  details?: unknown;
357
357
  correlationId?: string | undefined;
358
358
  }, {
359
- code: string;
360
- path: string;
361
- message: string;
362
359
  statusCode: number;
360
+ message: string;
361
+ code: string;
363
362
  timestamp: string;
363
+ path: string;
364
364
  details?: unknown;
365
365
  correlationId?: string | undefined;
366
366
  }>;
@@ -382,11 +382,11 @@ export declare const callHistoryContract: {
382
382
  createdAt: string;
383
383
  updatedAt: string;
384
384
  assignmentId: string;
385
- callDate: string;
386
- callType: CallType;
387
385
  rating: CallRating;
388
- ratingWeight: number;
389
386
  notes: string | null;
387
+ callType: CallType;
388
+ callDate: string;
389
+ ratingWeight: number;
390
390
  agentId?: string | undefined;
391
391
  leadId?: string | undefined;
392
392
  assignment?: any;
@@ -395,11 +395,11 @@ export declare const callHistoryContract: {
395
395
  createdAt: string | Date;
396
396
  updatedAt: string | Date;
397
397
  assignmentId: string;
398
- callDate: string | Date;
399
- callType: CallType;
400
398
  rating: CallRating;
401
- ratingWeight: number;
402
399
  notes: string | null;
400
+ callType: CallType;
401
+ callDate: string | Date;
402
+ ratingWeight: number;
403
403
  agentId?: string | undefined;
404
404
  leadId?: string | undefined;
405
405
  assignment?: any;
@@ -413,25 +413,28 @@ export declare const callHistoryContract: {
413
413
  path: z.ZodString;
414
414
  correlationId: z.ZodOptional<z.ZodString>;
415
415
  }, "strip", z.ZodTypeAny, {
416
- code: string;
417
- path: string;
418
- message: string;
419
416
  statusCode: number;
417
+ message: string;
418
+ code: string;
420
419
  timestamp: string;
420
+ path: string;
421
421
  details?: unknown;
422
422
  correlationId?: string | undefined;
423
423
  }, {
424
- code: string;
425
- path: string;
426
- message: string;
427
424
  statusCode: number;
425
+ message: string;
426
+ code: string;
428
427
  timestamp: string;
428
+ path: string;
429
429
  details?: unknown;
430
430
  correlationId?: string | undefined;
431
431
  }>;
432
432
  };
433
433
  };
434
434
  findAll: {
435
+ metadata: {
436
+ tags: string[];
437
+ };
435
438
  query: z.ZodObject<{
436
439
  limit: z.ZodDefault<z.ZodNumber>;
437
440
  page: z.ZodDefault<z.ZodNumber>;
@@ -449,8 +452,8 @@ export declare const callHistoryContract: {
449
452
  sortBy?: CallHistorySortableFields | undefined;
450
453
  sortOrder?: "ASC" | "DESC" | undefined;
451
454
  assignmentId?: string | undefined;
452
- callType?: CallType | undefined;
453
455
  rating?: CallRating | undefined;
456
+ callType?: CallType | undefined;
454
457
  callDateFrom?: string | undefined;
455
458
  callDateTo?: string | undefined;
456
459
  }, {
@@ -459,14 +462,11 @@ export declare const callHistoryContract: {
459
462
  sortBy?: CallHistorySortableFields | undefined;
460
463
  sortOrder?: "ASC" | "DESC" | undefined;
461
464
  assignmentId?: string | undefined;
462
- callType?: CallType | undefined;
463
465
  rating?: unknown;
466
+ callType?: CallType | undefined;
464
467
  callDateFrom?: string | undefined;
465
468
  callDateTo?: string | undefined;
466
469
  }>;
467
- metadata: {
468
- tags: string[];
469
- };
470
470
  summary: "Get call history records";
471
471
  method: "GET";
472
472
  path: "/v2/call-history";
@@ -480,19 +480,19 @@ export declare const callHistoryContract: {
480
480
  path: z.ZodString;
481
481
  correlationId: z.ZodOptional<z.ZodString>;
482
482
  }, "strip", z.ZodTypeAny, {
483
- code: string;
484
- path: string;
485
- message: string;
486
483
  statusCode: number;
484
+ message: string;
485
+ code: string;
487
486
  timestamp: string;
487
+ path: string;
488
488
  details?: unknown;
489
489
  correlationId?: string | undefined;
490
490
  }, {
491
- code: string;
492
- path: string;
493
- message: string;
494
491
  statusCode: number;
492
+ message: string;
493
+ code: string;
495
494
  timestamp: string;
495
+ path: string;
496
496
  details?: unknown;
497
497
  correlationId?: string | undefined;
498
498
  }>;
@@ -505,19 +505,19 @@ export declare const callHistoryContract: {
505
505
  path: z.ZodString;
506
506
  correlationId: z.ZodOptional<z.ZodString>;
507
507
  }, "strip", z.ZodTypeAny, {
508
- code: string;
509
- path: string;
510
- message: string;
511
508
  statusCode: number;
509
+ message: string;
510
+ code: string;
512
511
  timestamp: string;
512
+ path: string;
513
513
  details?: unknown;
514
514
  correlationId?: string | undefined;
515
515
  }, {
516
- code: string;
517
- path: string;
518
- message: string;
519
516
  statusCode: number;
517
+ message: string;
518
+ code: string;
520
519
  timestamp: string;
520
+ path: string;
521
521
  details?: unknown;
522
522
  correlationId?: string | undefined;
523
523
  }>;
@@ -530,19 +530,19 @@ export declare const callHistoryContract: {
530
530
  path: z.ZodString;
531
531
  correlationId: z.ZodOptional<z.ZodString>;
532
532
  }, "strip", z.ZodTypeAny, {
533
- code: string;
534
- path: string;
535
- message: string;
536
533
  statusCode: number;
534
+ message: string;
535
+ code: string;
537
536
  timestamp: string;
537
+ path: string;
538
538
  details?: unknown;
539
539
  correlationId?: string | undefined;
540
540
  }, {
541
- code: string;
542
- path: string;
543
- message: string;
544
541
  statusCode: number;
542
+ message: string;
543
+ code: string;
545
544
  timestamp: string;
545
+ path: string;
546
546
  details?: unknown;
547
547
  correlationId?: string | undefined;
548
548
  }>;
@@ -555,19 +555,19 @@ export declare const callHistoryContract: {
555
555
  path: z.ZodString;
556
556
  correlationId: z.ZodOptional<z.ZodString>;
557
557
  }, "strip", z.ZodTypeAny, {
558
- code: string;
559
- path: string;
560
- message: string;
561
558
  statusCode: number;
559
+ message: string;
560
+ code: string;
562
561
  timestamp: string;
562
+ path: string;
563
563
  details?: unknown;
564
564
  correlationId?: string | undefined;
565
565
  }, {
566
- code: string;
567
- path: string;
568
- message: string;
569
566
  statusCode: number;
567
+ message: string;
568
+ code: string;
570
569
  timestamp: string;
570
+ path: string;
571
571
  details?: unknown;
572
572
  correlationId?: string | undefined;
573
573
  }>;
@@ -590,11 +590,11 @@ export declare const callHistoryContract: {
590
590
  createdAt: string;
591
591
  updatedAt: string;
592
592
  assignmentId: string;
593
- callDate: string;
594
- callType: CallType;
595
593
  rating: CallRating;
596
- ratingWeight: number;
597
594
  notes: string | null;
595
+ callType: CallType;
596
+ callDate: string;
597
+ ratingWeight: number;
598
598
  agentId?: string | undefined;
599
599
  leadId?: string | undefined;
600
600
  assignment?: any;
@@ -603,11 +603,11 @@ export declare const callHistoryContract: {
603
603
  createdAt: string | Date;
604
604
  updatedAt: string | Date;
605
605
  assignmentId: string;
606
- callDate: string | Date;
607
- callType: CallType;
608
606
  rating: CallRating;
609
- ratingWeight: number;
610
607
  notes: string | null;
608
+ callType: CallType;
609
+ callDate: string | Date;
610
+ ratingWeight: number;
611
611
  agentId?: string | undefined;
612
612
  leadId?: string | undefined;
613
613
  assignment?: any;
@@ -618,42 +618,42 @@ export declare const callHistoryContract: {
618
618
  currentPage: z.ZodNumber;
619
619
  totalPages: z.ZodNumber;
620
620
  }, "strip", z.ZodTypeAny, {
621
- limit: number;
622
621
  items: {
623
622
  id: string;
624
623
  createdAt: string;
625
624
  updatedAt: string;
626
625
  assignmentId: string;
627
- callDate: string;
628
- callType: CallType;
629
626
  rating: CallRating;
630
- ratingWeight: number;
631
627
  notes: string | null;
628
+ callType: CallType;
629
+ callDate: string;
630
+ ratingWeight: number;
632
631
  agentId?: string | undefined;
633
632
  leadId?: string | undefined;
634
633
  assignment?: any;
635
634
  }[];
636
635
  totalCount: number;
636
+ limit: number;
637
637
  skip: number;
638
638
  currentPage: number;
639
639
  totalPages: number;
640
640
  }, {
641
- limit: number;
642
641
  items: {
643
642
  id: string;
644
643
  createdAt: string | Date;
645
644
  updatedAt: string | Date;
646
645
  assignmentId: string;
647
- callDate: string | Date;
648
- callType: CallType;
649
646
  rating: CallRating;
650
- ratingWeight: number;
651
647
  notes: string | null;
648
+ callType: CallType;
649
+ callDate: string | Date;
650
+ ratingWeight: number;
652
651
  agentId?: string | undefined;
653
652
  leadId?: string | undefined;
654
653
  assignment?: any;
655
654
  }[];
656
655
  totalCount: number;
656
+ limit: number;
657
657
  skip: number;
658
658
  currentPage: number;
659
659
  totalPages: number;
@@ -684,19 +684,19 @@ export declare const callHistoryContract: {
684
684
  path: z.ZodString;
685
685
  correlationId: z.ZodOptional<z.ZodString>;
686
686
  }, "strip", z.ZodTypeAny, {
687
- code: string;
688
- path: string;
689
- message: string;
690
687
  statusCode: number;
688
+ message: string;
689
+ code: string;
691
690
  timestamp: string;
691
+ path: string;
692
692
  details?: unknown;
693
693
  correlationId?: string | undefined;
694
694
  }, {
695
- code: string;
696
- path: string;
697
- message: string;
698
695
  statusCode: number;
696
+ message: string;
697
+ code: string;
699
698
  timestamp: string;
699
+ path: string;
700
700
  details?: unknown;
701
701
  correlationId?: string | undefined;
702
702
  }>;
@@ -709,19 +709,19 @@ export declare const callHistoryContract: {
709
709
  path: z.ZodString;
710
710
  correlationId: z.ZodOptional<z.ZodString>;
711
711
  }, "strip", z.ZodTypeAny, {
712
- code: string;
713
- path: string;
714
- message: string;
715
712
  statusCode: number;
713
+ message: string;
714
+ code: string;
716
715
  timestamp: string;
716
+ path: string;
717
717
  details?: unknown;
718
718
  correlationId?: string | undefined;
719
719
  }, {
720
- code: string;
721
- path: string;
722
- message: string;
723
720
  statusCode: number;
721
+ message: string;
722
+ code: string;
724
723
  timestamp: string;
724
+ path: string;
725
725
  details?: unknown;
726
726
  correlationId?: string | undefined;
727
727
  }>;
@@ -734,19 +734,19 @@ export declare const callHistoryContract: {
734
734
  path: z.ZodString;
735
735
  correlationId: z.ZodOptional<z.ZodString>;
736
736
  }, "strip", z.ZodTypeAny, {
737
- code: string;
738
- path: string;
739
- message: string;
740
737
  statusCode: number;
738
+ message: string;
739
+ code: string;
741
740
  timestamp: string;
741
+ path: string;
742
742
  details?: unknown;
743
743
  correlationId?: string | undefined;
744
744
  }, {
745
- code: string;
746
- path: string;
747
- message: string;
748
745
  statusCode: number;
746
+ message: string;
747
+ code: string;
749
748
  timestamp: string;
749
+ path: string;
750
750
  details?: unknown;
751
751
  correlationId?: string | undefined;
752
752
  }>;
@@ -759,19 +759,19 @@ export declare const callHistoryContract: {
759
759
  path: z.ZodString;
760
760
  correlationId: z.ZodOptional<z.ZodString>;
761
761
  }, "strip", z.ZodTypeAny, {
762
- code: string;
763
- path: string;
764
- message: string;
765
762
  statusCode: number;
763
+ message: string;
764
+ code: string;
766
765
  timestamp: string;
766
+ path: string;
767
767
  details?: unknown;
768
768
  correlationId?: string | undefined;
769
769
  }, {
770
- code: string;
771
- path: string;
772
- message: string;
773
770
  statusCode: number;
771
+ message: string;
772
+ code: string;
774
773
  timestamp: string;
774
+ path: string;
775
775
  details?: unknown;
776
776
  correlationId?: string | undefined;
777
777
  }>;
@@ -793,11 +793,11 @@ export declare const callHistoryContract: {
793
793
  createdAt: string;
794
794
  updatedAt: string;
795
795
  assignmentId: string;
796
- callDate: string;
797
- callType: CallType;
798
796
  rating: CallRating;
799
- ratingWeight: number;
800
797
  notes: string | null;
798
+ callType: CallType;
799
+ callDate: string;
800
+ ratingWeight: number;
801
801
  agentId?: string | undefined;
802
802
  leadId?: string | undefined;
803
803
  assignment?: any;
@@ -806,11 +806,11 @@ export declare const callHistoryContract: {
806
806
  createdAt: string | Date;
807
807
  updatedAt: string | Date;
808
808
  assignmentId: string;
809
- callDate: string | Date;
810
- callType: CallType;
811
809
  rating: CallRating;
812
- ratingWeight: number;
813
810
  notes: string | null;
811
+ callType: CallType;
812
+ callDate: string | Date;
813
+ ratingWeight: number;
814
814
  agentId?: string | undefined;
815
815
  leadId?: string | undefined;
816
816
  assignment?: any;
@@ -824,19 +824,19 @@ export declare const callHistoryContract: {
824
824
  path: z.ZodString;
825
825
  correlationId: z.ZodOptional<z.ZodString>;
826
826
  }, "strip", z.ZodTypeAny, {
827
- code: string;
828
- path: string;
829
- message: string;
830
827
  statusCode: number;
828
+ message: string;
829
+ code: string;
831
830
  timestamp: string;
831
+ path: string;
832
832
  details?: unknown;
833
833
  correlationId?: string | undefined;
834
834
  }, {
835
- code: string;
836
- path: string;
837
- message: string;
838
835
  statusCode: number;
836
+ message: string;
837
+ code: string;
839
838
  timestamp: string;
839
+ path: string;
840
840
  details?: unknown;
841
841
  correlationId?: string | undefined;
842
842
  }>;
@@ -860,13 +860,13 @@ export declare const callHistoryContract: {
860
860
  rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
861
861
  notes: z.ZodOptional<z.ZodString>;
862
862
  }, "strip", z.ZodTypeAny, {
863
- callDate?: string | undefined;
864
863
  rating?: CallRating | undefined;
865
864
  notes?: string | undefined;
866
- }, {
867
865
  callDate?: string | undefined;
866
+ }, {
868
867
  rating?: CallRating | undefined;
869
868
  notes?: string | undefined;
869
+ callDate?: string | undefined;
870
870
  }>;
871
871
  path: "/v2/call-history/:id";
872
872
  responses: {
@@ -879,19 +879,19 @@ export declare const callHistoryContract: {
879
879
  path: z.ZodString;
880
880
  correlationId: z.ZodOptional<z.ZodString>;
881
881
  }, "strip", z.ZodTypeAny, {
882
- code: string;
883
- path: string;
884
- message: string;
885
882
  statusCode: number;
883
+ message: string;
884
+ code: string;
886
885
  timestamp: string;
886
+ path: string;
887
887
  details?: unknown;
888
888
  correlationId?: string | undefined;
889
889
  }, {
890
- code: string;
891
- path: string;
892
- message: string;
893
890
  statusCode: number;
891
+ message: string;
892
+ code: string;
894
893
  timestamp: string;
894
+ path: string;
895
895
  details?: unknown;
896
896
  correlationId?: string | undefined;
897
897
  }>;
@@ -904,19 +904,19 @@ export declare const callHistoryContract: {
904
904
  path: z.ZodString;
905
905
  correlationId: z.ZodOptional<z.ZodString>;
906
906
  }, "strip", z.ZodTypeAny, {
907
- code: string;
908
- path: string;
909
- message: string;
910
907
  statusCode: number;
908
+ message: string;
909
+ code: string;
911
910
  timestamp: string;
911
+ path: string;
912
912
  details?: unknown;
913
913
  correlationId?: string | undefined;
914
914
  }, {
915
- code: string;
916
- path: string;
917
- message: string;
918
915
  statusCode: number;
916
+ message: string;
917
+ code: string;
919
918
  timestamp: string;
919
+ path: string;
920
920
  details?: unknown;
921
921
  correlationId?: string | undefined;
922
922
  }>;
@@ -929,19 +929,19 @@ export declare const callHistoryContract: {
929
929
  path: z.ZodString;
930
930
  correlationId: z.ZodOptional<z.ZodString>;
931
931
  }, "strip", z.ZodTypeAny, {
932
- code: string;
933
- path: string;
934
- message: string;
935
932
  statusCode: number;
933
+ message: string;
934
+ code: string;
936
935
  timestamp: string;
936
+ path: string;
937
937
  details?: unknown;
938
938
  correlationId?: string | undefined;
939
939
  }, {
940
- code: string;
941
- path: string;
942
- message: string;
943
940
  statusCode: number;
941
+ message: string;
942
+ code: string;
944
943
  timestamp: string;
944
+ path: string;
945
945
  details?: unknown;
946
946
  correlationId?: string | undefined;
947
947
  }>;
@@ -954,19 +954,19 @@ export declare const callHistoryContract: {
954
954
  path: z.ZodString;
955
955
  correlationId: z.ZodOptional<z.ZodString>;
956
956
  }, "strip", z.ZodTypeAny, {
957
- code: string;
958
- path: string;
959
- message: string;
960
957
  statusCode: number;
958
+ message: string;
959
+ code: string;
961
960
  timestamp: string;
961
+ path: string;
962
962
  details?: unknown;
963
963
  correlationId?: string | undefined;
964
964
  }, {
965
- code: string;
966
- path: string;
967
- message: string;
968
965
  statusCode: number;
966
+ message: string;
967
+ code: string;
969
968
  timestamp: string;
969
+ path: string;
970
970
  details?: unknown;
971
971
  correlationId?: string | undefined;
972
972
  }>;
@@ -988,11 +988,11 @@ export declare const callHistoryContract: {
988
988
  createdAt: string;
989
989
  updatedAt: string;
990
990
  assignmentId: string;
991
- callDate: string;
992
- callType: CallType;
993
991
  rating: CallRating;
994
- ratingWeight: number;
995
992
  notes: string | null;
993
+ callType: CallType;
994
+ callDate: string;
995
+ ratingWeight: number;
996
996
  agentId?: string | undefined;
997
997
  leadId?: string | undefined;
998
998
  assignment?: any;
@@ -1001,11 +1001,11 @@ export declare const callHistoryContract: {
1001
1001
  createdAt: string | Date;
1002
1002
  updatedAt: string | Date;
1003
1003
  assignmentId: string;
1004
- callDate: string | Date;
1005
- callType: CallType;
1006
1004
  rating: CallRating;
1007
- ratingWeight: number;
1008
1005
  notes: string | null;
1006
+ callType: CallType;
1007
+ callDate: string | Date;
1008
+ ratingWeight: number;
1009
1009
  agentId?: string | undefined;
1010
1010
  leadId?: string | undefined;
1011
1011
  assignment?: any;
@@ -1019,19 +1019,19 @@ export declare const callHistoryContract: {
1019
1019
  path: z.ZodString;
1020
1020
  correlationId: z.ZodOptional<z.ZodString>;
1021
1021
  }, "strip", z.ZodTypeAny, {
1022
- code: string;
1023
- path: string;
1024
- message: string;
1025
1022
  statusCode: number;
1023
+ message: string;
1024
+ code: string;
1026
1025
  timestamp: string;
1026
+ path: string;
1027
1027
  details?: unknown;
1028
1028
  correlationId?: string | undefined;
1029
1029
  }, {
1030
- code: string;
1031
- path: string;
1032
- message: string;
1033
1030
  statusCode: number;
1031
+ message: string;
1032
+ code: string;
1034
1033
  timestamp: string;
1034
+ path: string;
1035
1035
  details?: unknown;
1036
1036
  correlationId?: string | undefined;
1037
1037
  }>;
@@ -1054,19 +1054,19 @@ export declare const callHistoryContract: {
1054
1054
  path: z.ZodString;
1055
1055
  correlationId: z.ZodOptional<z.ZodString>;
1056
1056
  }, "strip", z.ZodTypeAny, {
1057
- code: string;
1058
- path: string;
1059
- message: string;
1060
1057
  statusCode: number;
1058
+ message: string;
1059
+ code: string;
1061
1060
  timestamp: string;
1061
+ path: string;
1062
1062
  details?: unknown;
1063
1063
  correlationId?: string | undefined;
1064
1064
  }, {
1065
- code: string;
1066
- path: string;
1067
- message: string;
1068
1065
  statusCode: number;
1066
+ message: string;
1067
+ code: string;
1069
1068
  timestamp: string;
1069
+ path: string;
1070
1070
  details?: unknown;
1071
1071
  correlationId?: string | undefined;
1072
1072
  }>;
@@ -1079,19 +1079,19 @@ export declare const callHistoryContract: {
1079
1079
  path: z.ZodString;
1080
1080
  correlationId: z.ZodOptional<z.ZodString>;
1081
1081
  }, "strip", z.ZodTypeAny, {
1082
- code: string;
1083
- path: string;
1084
- message: string;
1085
1082
  statusCode: number;
1083
+ message: string;
1084
+ code: string;
1086
1085
  timestamp: string;
1086
+ path: string;
1087
1087
  details?: unknown;
1088
1088
  correlationId?: string | undefined;
1089
1089
  }, {
1090
- code: string;
1091
- path: string;
1092
- message: string;
1093
1090
  statusCode: number;
1091
+ message: string;
1092
+ code: string;
1094
1093
  timestamp: string;
1094
+ path: string;
1095
1095
  details?: unknown;
1096
1096
  correlationId?: string | undefined;
1097
1097
  }>;
@@ -1104,19 +1104,19 @@ export declare const callHistoryContract: {
1104
1104
  path: z.ZodString;
1105
1105
  correlationId: z.ZodOptional<z.ZodString>;
1106
1106
  }, "strip", z.ZodTypeAny, {
1107
- code: string;
1108
- path: string;
1109
- message: string;
1110
1107
  statusCode: number;
1108
+ message: string;
1109
+ code: string;
1111
1110
  timestamp: string;
1111
+ path: string;
1112
1112
  details?: unknown;
1113
1113
  correlationId?: string | undefined;
1114
1114
  }, {
1115
- code: string;
1116
- path: string;
1117
- message: string;
1118
1115
  statusCode: number;
1116
+ message: string;
1117
+ code: string;
1119
1118
  timestamp: string;
1119
+ path: string;
1120
1120
  details?: unknown;
1121
1121
  correlationId?: string | undefined;
1122
1122
  }>;
@@ -1129,19 +1129,19 @@ export declare const callHistoryContract: {
1129
1129
  path: z.ZodString;
1130
1130
  correlationId: z.ZodOptional<z.ZodString>;
1131
1131
  }, "strip", z.ZodTypeAny, {
1132
- code: string;
1133
- path: string;
1134
- message: string;
1135
1132
  statusCode: number;
1133
+ message: string;
1134
+ code: string;
1136
1135
  timestamp: string;
1136
+ path: string;
1137
1137
  details?: unknown;
1138
1138
  correlationId?: string | undefined;
1139
1139
  }, {
1140
- code: string;
1141
- path: string;
1142
- message: string;
1143
1140
  statusCode: number;
1141
+ message: string;
1142
+ code: string;
1144
1143
  timestamp: string;
1144
+ path: string;
1145
1145
  details?: unknown;
1146
1146
  correlationId?: string | undefined;
1147
1147
  }>;