@dakkitor/api-contracts 1.1.106 → 1.1.107

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 (27) hide show
  1. package/dist/actives/actives.contract.d.ts +7410 -5890
  2. package/dist/actives/actives.contract.d.ts.map +1 -1
  3. package/dist/agent-client-links/agent-client-links.contract.d.ts +472 -82
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
  5. package/dist/auth/auth.contract.d.ts +115 -15
  6. package/dist/auth/auth.contract.d.ts.map +1 -1
  7. package/dist/bookings/bookings.contract.d.ts +27469 -21549
  8. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  9. package/dist/call-history/call-history.contract.d.ts +404 -114
  10. package/dist/call-history/call-history.contract.d.ts.map +1 -1
  11. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +904 -264
  12. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
  13. package/dist/collaborations/collaborations.contract.d.ts +866 -231
  14. package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
  15. package/dist/jobs/jobs.contract.d.ts +5066 -3966
  16. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  17. package/dist/lead-assignments/lead-assignments.contract.d.ts +434 -114
  18. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
  19. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +196 -36
  20. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
  21. package/dist/leads/leads.contract.d.ts +56 -56
  22. package/dist/users/users.contract.d.ts +475 -51
  23. package/dist/users/users.contract.d.ts.map +1 -1
  24. package/dist/users/users.contract.js +45 -8
  25. package/dist/workers/workers.contract.d.ts +344 -114
  26. package/dist/workers/workers.contract.d.ts.map +1 -1
  27. package/package.json +1 -1
@@ -32,11 +32,11 @@ export declare const LeadSchema: z.ZodObject<{
32
32
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
33
33
  }, "strip", z.ZodTypeAny, {
34
34
  createdAt: string;
35
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
36
35
  id: string;
36
+ phoneNumber: string;
37
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
37
38
  updatedAt: string;
38
39
  name: string;
39
- phoneNumber: string;
40
40
  source: string;
41
41
  conversionRate?: number | null | undefined;
42
42
  totalCalls?: number | null | undefined;
@@ -45,11 +45,11 @@ export declare const LeadSchema: z.ZodObject<{
45
45
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
46
46
  }, {
47
47
  createdAt: string | Date;
48
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
49
48
  id: string;
49
+ phoneNumber: string;
50
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
50
51
  updatedAt: string | Date;
51
52
  name: string;
52
- phoneNumber: string;
53
53
  source: string;
54
54
  conversionRate?: number | null | undefined;
55
55
  totalCalls?: number | null | undefined;
@@ -68,29 +68,29 @@ export declare const CreateLeadSchema: z.ZodEffects<z.ZodObject<{
68
68
  blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
69
69
  source: z.ZodString;
70
70
  }, "strip", z.ZodTypeAny, {
71
- name: string;
72
71
  phoneNumber: string;
72
+ name: string;
73
73
  source: string;
74
74
  isBlacklisted: boolean;
75
75
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
76
76
  blacklistReason?: string | null | undefined;
77
77
  }, {
78
- name: string;
79
78
  phoneNumber: string;
79
+ name: string;
80
80
  source: string;
81
81
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
82
82
  blacklistReason?: string | null | undefined;
83
83
  isBlacklisted?: boolean | undefined;
84
84
  }>, {
85
- name: string;
86
85
  phoneNumber: string;
86
+ name: string;
87
87
  source: string;
88
88
  isBlacklisted: boolean;
89
89
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
90
90
  blacklistReason?: string | null | undefined;
91
91
  }, {
92
- name: string;
93
92
  phoneNumber: string;
93
+ name: string;
94
94
  source: string;
95
95
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
96
96
  blacklistReason?: string | null | undefined;
@@ -106,27 +106,27 @@ export declare const UpdateLeadSchema: z.ZodEffects<z.ZodObject<{
106
106
  blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
107
107
  source: z.ZodOptional<z.ZodString>;
108
108
  }, "strip", z.ZodTypeAny, {
109
+ phoneNumber?: string | undefined;
109
110
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
110
111
  name?: string | undefined;
111
- phoneNumber?: string | undefined;
112
112
  source?: string | undefined;
113
113
  blacklistReason?: string | null | undefined;
114
114
  }, {
115
+ phoneNumber?: string | undefined;
115
116
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
116
117
  name?: string | undefined;
117
- phoneNumber?: string | undefined;
118
118
  source?: string | undefined;
119
119
  blacklistReason?: string | null | undefined;
120
120
  }>, {
121
+ phoneNumber?: string | undefined;
121
122
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
122
123
  name?: string | undefined;
123
- phoneNumber?: string | undefined;
124
124
  source?: string | undefined;
125
125
  blacklistReason?: string | null | undefined;
126
126
  }, {
127
+ phoneNumber?: string | undefined;
127
128
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
128
129
  name?: string | undefined;
129
- phoneNumber?: string | undefined;
130
130
  source?: string | undefined;
131
131
  blacklistReason?: string | null | undefined;
132
132
  }>;
@@ -151,11 +151,11 @@ export declare const FilterLeadSchema: z.ZodObject<{
151
151
  }, "strip", z.ZodTypeAny, {
152
152
  limit: number;
153
153
  page: number;
154
+ phoneNumber?: string | null | undefined;
154
155
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
155
156
  name?: string | null | undefined;
156
- sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "phoneNumber" | "source" | "qualityScore" | null | undefined;
157
+ sortBy?: "createdAt" | "phoneNumber" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "source" | "qualityScore" | null | undefined;
157
158
  sortOrder?: "ASC" | "DESC" | null | undefined;
158
- phoneNumber?: string | null | undefined;
159
159
  source?: string | null | undefined;
160
160
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
161
161
  minQualityScore?: number | null | undefined;
@@ -163,13 +163,13 @@ export declare const FilterLeadSchema: z.ZodObject<{
163
163
  minConversionRate?: number | null | undefined;
164
164
  minTotalCalls?: number | null | undefined;
165
165
  }, {
166
+ phoneNumber?: string | null | undefined;
166
167
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
167
168
  limit?: number | undefined;
168
169
  page?: number | undefined;
169
170
  name?: string | null | undefined;
170
- sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "phoneNumber" | "source" | "qualityScore" | null | undefined;
171
+ sortBy?: "createdAt" | "phoneNumber" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "source" | "qualityScore" | null | undefined;
171
172
  sortOrder?: "ASC" | "DESC" | null | undefined;
172
- phoneNumber?: string | null | undefined;
173
173
  source?: string | null | undefined;
174
174
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
175
175
  minQualityScore?: number | null | undefined;
@@ -296,11 +296,11 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
296
296
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
297
297
  }, "strip", z.ZodTypeAny, {
298
298
  createdAt: string;
299
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
300
299
  id: string;
300
+ phoneNumber: string;
301
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
301
302
  updatedAt: string;
302
303
  name: string;
303
- phoneNumber: string;
304
304
  source: string;
305
305
  conversionRate?: number | null | undefined;
306
306
  totalCalls?: number | null | undefined;
@@ -309,11 +309,11 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
309
309
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
310
310
  }, {
311
311
  createdAt: string | Date;
312
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
313
312
  id: string;
313
+ phoneNumber: string;
314
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
314
315
  updatedAt: string | Date;
315
316
  name: string;
316
- phoneNumber: string;
317
317
  source: string;
318
318
  conversionRate?: number | null | undefined;
319
319
  totalCalls?: number | null | undefined;
@@ -330,11 +330,11 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
330
330
  limit: number;
331
331
  items: {
332
332
  createdAt: string;
333
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
334
333
  id: string;
334
+ phoneNumber: string;
335
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
335
336
  updatedAt: string;
336
337
  name: string;
337
- phoneNumber: string;
338
338
  source: string;
339
339
  conversionRate?: number | null | undefined;
340
340
  totalCalls?: number | null | undefined;
@@ -350,11 +350,11 @@ export declare const PaginatedLeadResponseSchema: z.ZodObject<{
350
350
  limit: number;
351
351
  items: {
352
352
  createdAt: string | Date;
353
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
354
353
  id: string;
354
+ phoneNumber: string;
355
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
355
356
  updatedAt: string | Date;
356
357
  name: string;
357
- phoneNumber: string;
358
358
  source: string;
359
359
  conversionRate?: number | null | undefined;
360
360
  totalCalls?: number | null | undefined;
@@ -393,29 +393,29 @@ export declare const leadsContractRouter: {
393
393
  blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
394
394
  source: z.ZodString;
395
395
  }, "strip", z.ZodTypeAny, {
396
- name: string;
397
396
  phoneNumber: string;
397
+ name: string;
398
398
  source: string;
399
399
  isBlacklisted: boolean;
400
400
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
401
401
  blacklistReason?: string | null | undefined;
402
402
  }, {
403
- name: string;
404
403
  phoneNumber: string;
404
+ name: string;
405
405
  source: string;
406
406
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
407
407
  blacklistReason?: string | null | undefined;
408
408
  isBlacklisted?: boolean | undefined;
409
409
  }>, {
410
- name: string;
411
410
  phoneNumber: string;
411
+ name: string;
412
412
  source: string;
413
413
  isBlacklisted: boolean;
414
414
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
415
415
  blacklistReason?: string | null | undefined;
416
416
  }, {
417
- name: string;
418
417
  phoneNumber: string;
418
+ name: string;
419
419
  source: string;
420
420
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
421
421
  blacklistReason?: string | null | undefined;
@@ -538,11 +538,11 @@ export declare const leadsContractRouter: {
538
538
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
539
539
  }, "strip", z.ZodTypeAny, {
540
540
  createdAt: string;
541
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
542
541
  id: string;
542
+ phoneNumber: string;
543
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
543
544
  updatedAt: string;
544
545
  name: string;
545
- phoneNumber: string;
546
546
  source: string;
547
547
  conversionRate?: number | null | undefined;
548
548
  totalCalls?: number | null | undefined;
@@ -551,11 +551,11 @@ export declare const leadsContractRouter: {
551
551
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
552
552
  }, {
553
553
  createdAt: string | Date;
554
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
555
554
  id: string;
555
+ phoneNumber: string;
556
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
556
557
  updatedAt: string | Date;
557
558
  name: string;
558
- phoneNumber: string;
559
559
  source: string;
560
560
  conversionRate?: number | null | undefined;
561
561
  totalCalls?: number | null | undefined;
@@ -615,11 +615,11 @@ export declare const leadsContractRouter: {
615
615
  }, "strip", z.ZodTypeAny, {
616
616
  limit: number;
617
617
  page: number;
618
+ phoneNumber?: string | null | undefined;
618
619
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
619
620
  name?: string | null | undefined;
620
- sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "phoneNumber" | "source" | "qualityScore" | null | undefined;
621
+ sortBy?: "createdAt" | "phoneNumber" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "source" | "qualityScore" | null | undefined;
621
622
  sortOrder?: "ASC" | "DESC" | null | undefined;
622
- phoneNumber?: string | null | undefined;
623
623
  source?: string | null | undefined;
624
624
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
625
625
  minQualityScore?: number | null | undefined;
@@ -627,13 +627,13 @@ export declare const leadsContractRouter: {
627
627
  minConversionRate?: number | null | undefined;
628
628
  minTotalCalls?: number | null | undefined;
629
629
  }, {
630
+ phoneNumber?: string | null | undefined;
630
631
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | null | undefined;
631
632
  limit?: number | undefined;
632
633
  page?: number | undefined;
633
634
  name?: string | null | undefined;
634
- sortBy?: "createdAt" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "phoneNumber" | "source" | "qualityScore" | null | undefined;
635
+ sortBy?: "createdAt" | "phoneNumber" | "status" | "updatedAt" | "name" | "conversionRate" | "totalCalls" | "source" | "qualityScore" | null | undefined;
635
636
  sortOrder?: "ASC" | "DESC" | null | undefined;
636
- phoneNumber?: string | null | undefined;
637
637
  source?: string | null | undefined;
638
638
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
639
639
  minQualityScore?: number | null | undefined;
@@ -761,11 +761,11 @@ export declare const leadsContractRouter: {
761
761
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
762
762
  }, "strip", z.ZodTypeAny, {
763
763
  createdAt: string;
764
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
765
764
  id: string;
765
+ phoneNumber: string;
766
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
766
767
  updatedAt: string;
767
768
  name: string;
768
- phoneNumber: string;
769
769
  source: string;
770
770
  conversionRate?: number | null | undefined;
771
771
  totalCalls?: number | null | undefined;
@@ -774,11 +774,11 @@ export declare const leadsContractRouter: {
774
774
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
775
775
  }, {
776
776
  createdAt: string | Date;
777
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
778
777
  id: string;
778
+ phoneNumber: string;
779
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
779
780
  updatedAt: string | Date;
780
781
  name: string;
781
- phoneNumber: string;
782
782
  source: string;
783
783
  conversionRate?: number | null | undefined;
784
784
  totalCalls?: number | null | undefined;
@@ -795,11 +795,11 @@ export declare const leadsContractRouter: {
795
795
  limit: number;
796
796
  items: {
797
797
  createdAt: string;
798
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
799
798
  id: string;
799
+ phoneNumber: string;
800
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
800
801
  updatedAt: string;
801
802
  name: string;
802
- phoneNumber: string;
803
803
  source: string;
804
804
  conversionRate?: number | null | undefined;
805
805
  totalCalls?: number | null | undefined;
@@ -815,11 +815,11 @@ export declare const leadsContractRouter: {
815
815
  limit: number;
816
816
  items: {
817
817
  createdAt: string | Date;
818
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
819
818
  id: string;
819
+ phoneNumber: string;
820
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
820
821
  updatedAt: string | Date;
821
822
  name: string;
822
- phoneNumber: string;
823
823
  source: string;
824
824
  conversionRate?: number | null | undefined;
825
825
  totalCalls?: number | null | undefined;
@@ -967,11 +967,11 @@ export declare const leadsContractRouter: {
967
967
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
968
968
  }, "strip", z.ZodTypeAny, {
969
969
  createdAt: string;
970
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
971
970
  id: string;
971
+ phoneNumber: string;
972
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
972
973
  updatedAt: string;
973
974
  name: string;
974
- phoneNumber: string;
975
975
  source: string;
976
976
  conversionRate?: number | null | undefined;
977
977
  totalCalls?: number | null | undefined;
@@ -980,11 +980,11 @@ export declare const leadsContractRouter: {
980
980
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
981
981
  }, {
982
982
  createdAt: string | Date;
983
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
984
983
  id: string;
984
+ phoneNumber: string;
985
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
985
986
  updatedAt: string | Date;
986
987
  name: string;
987
- phoneNumber: string;
988
988
  source: string;
989
989
  conversionRate?: number | null | undefined;
990
990
  totalCalls?: number | null | undefined;
@@ -1042,27 +1042,27 @@ export declare const leadsContractRouter: {
1042
1042
  blacklistReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1043
1043
  source: z.ZodOptional<z.ZodString>;
1044
1044
  }, "strip", z.ZodTypeAny, {
1045
+ phoneNumber?: string | undefined;
1045
1046
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
1046
1047
  name?: string | undefined;
1047
- phoneNumber?: string | undefined;
1048
1048
  source?: string | undefined;
1049
1049
  blacklistReason?: string | null | undefined;
1050
1050
  }, {
1051
+ phoneNumber?: string | undefined;
1051
1052
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
1052
1053
  name?: string | undefined;
1053
- phoneNumber?: string | undefined;
1054
1054
  source?: string | undefined;
1055
1055
  blacklistReason?: string | null | undefined;
1056
1056
  }>, {
1057
+ phoneNumber?: string | undefined;
1057
1058
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
1058
1059
  name?: string | undefined;
1059
- phoneNumber?: string | undefined;
1060
1060
  source?: string | undefined;
1061
1061
  blacklistReason?: string | null | undefined;
1062
1062
  }, {
1063
+ phoneNumber?: string | undefined;
1063
1064
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
1064
1065
  name?: string | undefined;
1065
- phoneNumber?: string | undefined;
1066
1066
  source?: string | undefined;
1067
1067
  blacklistReason?: string | null | undefined;
1068
1068
  }>;
@@ -1183,11 +1183,11 @@ export declare const leadsContractRouter: {
1183
1183
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1184
1184
  }, "strip", z.ZodTypeAny, {
1185
1185
  createdAt: string;
1186
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
1187
1186
  id: string;
1187
+ phoneNumber: string;
1188
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
1188
1189
  updatedAt: string;
1189
1190
  name: string;
1190
- phoneNumber: string;
1191
1191
  source: string;
1192
1192
  conversionRate?: number | null | undefined;
1193
1193
  totalCalls?: number | null | undefined;
@@ -1196,11 +1196,11 @@ export declare const leadsContractRouter: {
1196
1196
  qualityTier?: "high" | "medium" | "low" | "untested" | null | undefined;
1197
1197
  }, {
1198
1198
  createdAt: string | Date;
1199
- status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
1200
1199
  id: string;
1200
+ phoneNumber: string;
1201
+ status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
1201
1202
  updatedAt: string | Date;
1202
1203
  name: string;
1203
- phoneNumber: string;
1204
1204
  source: string;
1205
1205
  conversionRate?: number | null | undefined;
1206
1206
  totalCalls?: number | null | undefined;