@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.
Files changed (111) hide show
  1. package/dist/abilities/abilities.contract.d.ts +28 -1
  2. package/dist/abilities/abilities.contract.d.ts.map +1 -1
  3. package/dist/abilities/abilities.contract.js +31 -1
  4. package/dist/abilities/abilities.contract.spec.js +52 -3
  5. package/dist/abilities/admin-dashboard.abilities.test.js +1 -0
  6. package/dist/abilities/automatic-caller.abilities.json +1 -0
  7. package/dist/abilities/first-agent.abilities.json +14 -0
  8. package/dist/abilities/interconnection.abilities.json +17 -1
  9. package/dist/abilities/office-manager.abilities.json +4 -0
  10. package/dist/abilities/second-agent.abilities.json +32 -1
  11. package/dist/abilities/worker-curator.abilities.json +17 -1
  12. package/dist/actives/actives.contract.d.ts +7200 -6919
  13. package/dist/actives/actives.contract.d.ts.map +1 -1
  14. package/dist/agent-client-links/agent-client-links.contract.d.ts +137 -137
  15. package/dist/auth/auth.contract.d.ts +85 -85
  16. package/dist/bookings/backdate-guard.spec.js +24 -32
  17. package/dist/bookings/bookings.contract.d.ts +10542 -10116
  18. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  19. package/dist/bookings/bookings.contract.js +2 -16
  20. package/dist/call-history/call-history.contract.d.ts +315 -140
  21. package/dist/call-history/call-history.contract.d.ts.map +1 -1
  22. package/dist/calls-feed/calls-feed.contract.d.ts +39 -6
  23. package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
  24. package/dist/candidate-calling/candidate-calling.contract.d.ts +6847 -1872
  25. package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -1
  26. package/dist/candidate-calling/candidate-calling.contract.js +304 -16
  27. package/dist/candidate-calling/candidate-calling.contract.spec.js +164 -0
  28. package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts +10 -0
  29. package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts.map +1 -0
  30. package/dist/candidate-calling/candidate-dialpad-call.schemas.js +33 -0
  31. package/dist/client-contacts/client-contacts.contract.d.ts +622 -622
  32. package/dist/clients/clients.contract.d.ts +289 -289
  33. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +601 -601
  34. package/dist/collaborations/collaborations.contract.d.ts +538 -538
  35. package/dist/common/callback-slots.d.ts +4 -0
  36. package/dist/common/callback-slots.d.ts.map +1 -0
  37. package/dist/common/callback-slots.js +20 -0
  38. package/dist/common/common-schemas.d.ts +10 -4
  39. package/dist/common/common-schemas.d.ts.map +1 -1
  40. package/dist/common/common-schemas.js +6 -0
  41. package/dist/companies/companies.contract.d.ts +120 -120
  42. package/dist/crews/crews.contract.d.ts +278 -278
  43. package/dist/cron-executions/cron-executions.contract.d.ts +238 -238
  44. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2154 -1296
  45. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
  46. package/dist/curated-worker-leads/candidate-coordination.contract.js +36 -3
  47. package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +300 -300
  48. package/dist/curated-worker-leads/contact-history.spec.js +86 -0
  49. package/dist/curated-worker-leads/job-candidate-cards.spec.js +19 -0
  50. package/dist/curated-worker-leads/job-candidates.spec.js +179 -0
  51. package/dist/curated-worker-leads/jobs-tab.contract.d.ts +8598 -2519
  52. package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
  53. package/dist/curated-worker-leads/jobs-tab.contract.js +126 -1
  54. package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +110 -110
  55. package/dist/curated-workers/curated-workers.contract.d.ts +1213 -1131
  56. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
  57. package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts +2 -0
  58. package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts.map +1 -0
  59. package/dist/dashboards/dashboard-widgets.contact-history.spec.js +160 -0
  60. package/dist/dashboards/dashboard-widgets.contract.d.ts +1278 -535
  61. package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
  62. package/dist/dashboards/dashboard-widgets.contract.js +46 -1
  63. package/dist/dashboards/dashboard.contract.d.ts +8 -8
  64. package/dist/document-intake/document-intake.contract.d.ts +1145 -1145
  65. package/dist/export-jobs/export-jobs.contract.d.ts +663 -663
  66. package/dist/exports-events/exports-events.schemas.d.ts +2 -2
  67. package/dist/index.d.ts +1 -0
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +1 -0
  70. package/dist/jobs/jobs.contract.d.ts +5586 -3381
  71. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  72. package/dist/jobs/jobs.contract.js +95 -2
  73. package/dist/jobs/jobs.contract.spec.js +231 -1
  74. package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +123 -123
  75. package/dist/lead-assignments/lead-assignments.contract.d.ts +1897 -122
  76. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
  77. package/dist/lead-assignments/lead-assignments.contract.js +102 -2
  78. package/dist/lead-assignments/lead-assignments.contract.spec.d.ts +2 -0
  79. package/dist/lead-assignments/lead-assignments.contract.spec.d.ts.map +1 -0
  80. package/dist/lead-assignments/lead-assignments.contract.spec.js +51 -0
  81. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +103 -103
  82. package/dist/leads/leads.contract.d.ts +210 -210
  83. package/dist/locations/location-enrichment.contract.spec.d.ts +2 -0
  84. package/dist/locations/location-enrichment.contract.spec.d.ts.map +1 -0
  85. package/dist/locations/location-enrichment.contract.spec.js +50 -0
  86. package/dist/locations/locations.contract.d.ts +132 -98
  87. package/dist/locations/locations.contract.d.ts.map +1 -1
  88. package/dist/locations/locations.contract.js +10 -0
  89. package/dist/notifications/notifications.contract.d.ts +512 -40
  90. package/dist/notifications/notifications.contract.d.ts.map +1 -1
  91. package/dist/notifications/notifications.contract.js +36 -2
  92. package/dist/notifications/notifications.contract.spec.d.ts +2 -0
  93. package/dist/notifications/notifications.contract.spec.d.ts.map +1 -0
  94. package/dist/notifications/notifications.contract.spec.js +39 -0
  95. package/dist/own-research/own-research.contract.d.ts +196 -130
  96. package/dist/own-research/own-research.contract.d.ts.map +1 -1
  97. package/dist/proofs/proofs.contract.d.ts +356 -356
  98. package/dist/proofs/proofs.dtos.d.ts +148 -148
  99. package/dist/realtime/job-call-priority-updated.d.ts +18 -0
  100. package/dist/realtime/job-call-priority-updated.d.ts.map +1 -0
  101. package/dist/realtime/job-call-priority-updated.js +17 -0
  102. package/dist/shared/summary-schemas.d.ts +36 -27
  103. package/dist/shared/summary-schemas.d.ts.map +1 -1
  104. package/dist/shared/summary-schemas.js +7 -0
  105. package/dist/sheets-sync/sheets-sync.contract.d.ts +683 -683
  106. package/dist/user-access-grants/user-access-grants.contract.d.ts +55 -55
  107. package/dist/users/users.contract.d.ts +236 -236
  108. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +69 -69
  109. package/dist/workers/workers.contract.d.ts +2620 -2420
  110. package/dist/workers/workers.contract.d.ts.map +1 -1
  111. package/package.json +1 -1
@@ -107,13 +107,13 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
107
107
  firstName: string;
108
108
  }[] | undefined;
109
109
  } | null | undefined;
110
+ deletedAt?: string | null | undefined;
110
111
  canImpersonateUsers?: {
111
112
  id: string;
112
113
  lastName: string;
113
114
  firstName: string;
114
115
  }[] | undefined;
115
116
  dialpadUserId?: string | null | undefined;
116
- deletedAt?: string | null | undefined;
117
117
  }, {
118
118
  email: string;
119
119
  createdAt: string | Date;
@@ -139,13 +139,13 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
139
139
  description?: string | null | undefined;
140
140
  isPrimary?: boolean | undefined;
141
141
  }[] | undefined;
142
+ deletedAt?: string | Date | null | undefined;
142
143
  canImpersonateUsers?: {
143
144
  id: string;
144
145
  lastName: string;
145
146
  firstName: string;
146
147
  }[] | undefined;
147
148
  dialpadUserId?: string | null | undefined;
148
- deletedAt?: string | Date | null | undefined;
149
149
  }>>;
150
150
  name: z.ZodString;
151
151
  phoneNumber: z.ZodString;
@@ -199,13 +199,13 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
199
199
  firstName: string;
200
200
  }[] | undefined;
201
201
  } | null | undefined;
202
+ deletedAt?: string | null | undefined;
202
203
  canImpersonateUsers?: {
203
204
  id: string;
204
205
  lastName: string;
205
206
  firstName: string;
206
207
  }[] | undefined;
207
208
  dialpadUserId?: string | null | undefined;
208
- deletedAt?: string | null | undefined;
209
209
  } | undefined;
210
210
  }, {
211
211
  name: string;
@@ -247,13 +247,13 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
247
247
  description?: string | null | undefined;
248
248
  isPrimary?: boolean | undefined;
249
249
  }[] | undefined;
250
+ deletedAt?: string | Date | null | undefined;
250
251
  canImpersonateUsers?: {
251
252
  id: string;
252
253
  lastName: string;
253
254
  firstName: string;
254
255
  }[] | undefined;
255
256
  dialpadUserId?: string | null | undefined;
256
- deletedAt?: string | Date | null | undefined;
257
257
  } | undefined;
258
258
  }>;
259
259
  export declare const CheckPhoneResponseSchema: z.ZodObject<{
@@ -383,13 +383,13 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
383
383
  firstName: string;
384
384
  }[] | undefined;
385
385
  } | null | undefined;
386
+ deletedAt?: string | null | undefined;
386
387
  canImpersonateUsers?: {
387
388
  id: string;
388
389
  lastName: string;
389
390
  firstName: string;
390
391
  }[] | undefined;
391
392
  dialpadUserId?: string | null | undefined;
392
- deletedAt?: string | null | undefined;
393
393
  }, {
394
394
  email: string;
395
395
  createdAt: string | Date;
@@ -415,13 +415,13 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
415
415
  description?: string | null | undefined;
416
416
  isPrimary?: boolean | undefined;
417
417
  }[] | undefined;
418
+ deletedAt?: string | Date | null | undefined;
418
419
  canImpersonateUsers?: {
419
420
  id: string;
420
421
  lastName: string;
421
422
  firstName: string;
422
423
  }[] | undefined;
423
424
  dialpadUserId?: string | null | undefined;
424
- deletedAt?: string | Date | null | undefined;
425
425
  }>>;
426
426
  name: z.ZodString;
427
427
  phoneNumber: z.ZodString;
@@ -475,13 +475,13 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
475
475
  firstName: string;
476
476
  }[] | undefined;
477
477
  } | null | undefined;
478
+ deletedAt?: string | null | undefined;
478
479
  canImpersonateUsers?: {
479
480
  id: string;
480
481
  lastName: string;
481
482
  firstName: string;
482
483
  }[] | undefined;
483
484
  dialpadUserId?: string | null | undefined;
484
- deletedAt?: string | null | undefined;
485
485
  } | undefined;
486
486
  }, {
487
487
  name: string;
@@ -523,13 +523,13 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
523
523
  description?: string | null | undefined;
524
524
  isPrimary?: boolean | undefined;
525
525
  }[] | undefined;
526
+ deletedAt?: string | Date | null | undefined;
526
527
  canImpersonateUsers?: {
527
528
  id: string;
528
529
  lastName: string;
529
530
  firstName: string;
530
531
  }[] | undefined;
531
532
  dialpadUserId?: string | null | undefined;
532
- deletedAt?: string | Date | null | undefined;
533
533
  } | undefined;
534
534
  }>>>;
535
535
  isOnCooldown: z.ZodBoolean;
@@ -587,13 +587,13 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
587
587
  firstName: string;
588
588
  }[] | undefined;
589
589
  } | null | undefined;
590
+ deletedAt?: string | null | undefined;
590
591
  canImpersonateUsers?: {
591
592
  id: string;
592
593
  lastName: string;
593
594
  firstName: string;
594
595
  }[] | undefined;
595
596
  dialpadUserId?: string | null | undefined;
596
- deletedAt?: string | null | undefined;
597
597
  } | undefined;
598
598
  } | null | undefined;
599
599
  }, {
@@ -649,13 +649,13 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
649
649
  description?: string | null | undefined;
650
650
  isPrimary?: boolean | undefined;
651
651
  }[] | undefined;
652
+ deletedAt?: string | Date | null | undefined;
652
653
  canImpersonateUsers?: {
653
654
  id: string;
654
655
  lastName: string;
655
656
  firstName: string;
656
657
  }[] | undefined;
657
658
  dialpadUserId?: string | null | undefined;
658
- deletedAt?: string | Date | null | undefined;
659
659
  } | undefined;
660
660
  } | null | undefined;
661
661
  }>;
@@ -799,13 +799,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
799
799
  firstName: string;
800
800
  }[] | undefined;
801
801
  } | null | undefined;
802
+ deletedAt?: string | null | undefined;
802
803
  canImpersonateUsers?: {
803
804
  id: string;
804
805
  lastName: string;
805
806
  firstName: string;
806
807
  }[] | undefined;
807
808
  dialpadUserId?: string | null | undefined;
808
- deletedAt?: string | null | undefined;
809
809
  }, {
810
810
  email: string;
811
811
  createdAt: string | Date;
@@ -831,13 +831,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
831
831
  description?: string | null | undefined;
832
832
  isPrimary?: boolean | undefined;
833
833
  }[] | undefined;
834
+ deletedAt?: string | Date | null | undefined;
834
835
  canImpersonateUsers?: {
835
836
  id: string;
836
837
  lastName: string;
837
838
  firstName: string;
838
839
  }[] | undefined;
839
840
  dialpadUserId?: string | null | undefined;
840
- deletedAt?: string | Date | null | undefined;
841
841
  }>>;
842
842
  assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
843
843
  assignedBy: z.ZodNullable<z.ZodString>;
@@ -861,6 +861,19 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
861
861
  }>>>;
862
862
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
863
863
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
864
+ callback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
865
+ id: z.ZodString;
866
+ dueAt: z.ZodString;
867
+ originNotes: z.ZodNullable<z.ZodString>;
868
+ }, "strip", z.ZodTypeAny, {
869
+ id: string;
870
+ dueAt: string;
871
+ originNotes: string | null;
872
+ }, {
873
+ id: string;
874
+ dueAt: string;
875
+ originNotes: string | null;
876
+ }>>>;
864
877
  }, "strip", z.ZodTypeAny, {
865
878
  createdAt: string;
866
879
  updatedAt: string;
@@ -896,13 +909,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
896
909
  firstName: string;
897
910
  }[] | undefined;
898
911
  } | null | undefined;
912
+ deletedAt?: string | null | undefined;
899
913
  canImpersonateUsers?: {
900
914
  id: string;
901
915
  lastName: string;
902
916
  firstName: string;
903
917
  }[] | undefined;
904
918
  dialpadUserId?: string | null | undefined;
905
- deletedAt?: string | null | undefined;
906
919
  } | undefined;
907
920
  lead?: {
908
921
  name: string;
@@ -914,6 +927,11 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
914
927
  updatedAt: string;
915
928
  id: string;
916
929
  } | null | undefined;
930
+ callback?: {
931
+ id: string;
932
+ dueAt: string;
933
+ originNotes: string | null;
934
+ } | null | undefined;
917
935
  }, {
918
936
  createdAt: string | Date;
919
937
  updatedAt: string | Date;
@@ -949,13 +967,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
949
967
  description?: string | null | undefined;
950
968
  isPrimary?: boolean | undefined;
951
969
  }[] | undefined;
970
+ deletedAt?: string | Date | null | undefined;
952
971
  canImpersonateUsers?: {
953
972
  id: string;
954
973
  lastName: string;
955
974
  firstName: string;
956
975
  }[] | undefined;
957
976
  dialpadUserId?: string | null | undefined;
958
- deletedAt?: string | Date | null | undefined;
959
977
  } | undefined;
960
978
  lead?: {
961
979
  name: string;
@@ -967,6 +985,11 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
967
985
  updatedAt: string | Date;
968
986
  id: string;
969
987
  } | null | undefined;
988
+ callback?: {
989
+ id: string;
990
+ dueAt: string;
991
+ originNotes: string | null;
992
+ } | null | undefined;
970
993
  }>>>;
971
994
  ownResearchLead: z.ZodObject<{
972
995
  id: z.ZodString;
@@ -1070,13 +1093,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
1070
1093
  firstName: string;
1071
1094
  }[] | undefined;
1072
1095
  } | null | undefined;
1096
+ deletedAt?: string | null | undefined;
1073
1097
  canImpersonateUsers?: {
1074
1098
  id: string;
1075
1099
  lastName: string;
1076
1100
  firstName: string;
1077
1101
  }[] | undefined;
1078
1102
  dialpadUserId?: string | null | undefined;
1079
- deletedAt?: string | null | undefined;
1080
1103
  }, {
1081
1104
  email: string;
1082
1105
  createdAt: string | Date;
@@ -1102,13 +1125,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
1102
1125
  description?: string | null | undefined;
1103
1126
  isPrimary?: boolean | undefined;
1104
1127
  }[] | undefined;
1128
+ deletedAt?: string | Date | null | undefined;
1105
1129
  canImpersonateUsers?: {
1106
1130
  id: string;
1107
1131
  lastName: string;
1108
1132
  firstName: string;
1109
1133
  }[] | undefined;
1110
1134
  dialpadUserId?: string | null | undefined;
1111
- deletedAt?: string | Date | null | undefined;
1112
1135
  }>>;
1113
1136
  name: z.ZodString;
1114
1137
  phoneNumber: z.ZodString;
@@ -1162,13 +1185,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
1162
1185
  firstName: string;
1163
1186
  }[] | undefined;
1164
1187
  } | null | undefined;
1188
+ deletedAt?: string | null | undefined;
1165
1189
  canImpersonateUsers?: {
1166
1190
  id: string;
1167
1191
  lastName: string;
1168
1192
  firstName: string;
1169
1193
  }[] | undefined;
1170
1194
  dialpadUserId?: string | null | undefined;
1171
- deletedAt?: string | null | undefined;
1172
1195
  } | undefined;
1173
1196
  }, {
1174
1197
  name: string;
@@ -1210,13 +1233,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
1210
1233
  description?: string | null | undefined;
1211
1234
  isPrimary?: boolean | undefined;
1212
1235
  }[] | undefined;
1236
+ deletedAt?: string | Date | null | undefined;
1213
1237
  canImpersonateUsers?: {
1214
1238
  id: string;
1215
1239
  lastName: string;
1216
1240
  firstName: string;
1217
1241
  }[] | undefined;
1218
1242
  dialpadUserId?: string | null | undefined;
1219
- deletedAt?: string | Date | null | undefined;
1220
1243
  } | undefined;
1221
1244
  }>;
1222
1245
  }, "strip", z.ZodTypeAny, {
@@ -1260,13 +1283,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
1260
1283
  firstName: string;
1261
1284
  }[] | undefined;
1262
1285
  } | null | undefined;
1286
+ deletedAt?: string | null | undefined;
1263
1287
  canImpersonateUsers?: {
1264
1288
  id: string;
1265
1289
  lastName: string;
1266
1290
  firstName: string;
1267
1291
  }[] | undefined;
1268
1292
  dialpadUserId?: string | null | undefined;
1269
- deletedAt?: string | null | undefined;
1270
1293
  } | undefined;
1271
1294
  };
1272
1295
  assignment?: {
@@ -1304,13 +1327,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
1304
1327
  firstName: string;
1305
1328
  }[] | undefined;
1306
1329
  } | null | undefined;
1330
+ deletedAt?: string | null | undefined;
1307
1331
  canImpersonateUsers?: {
1308
1332
  id: string;
1309
1333
  lastName: string;
1310
1334
  firstName: string;
1311
1335
  }[] | undefined;
1312
1336
  dialpadUserId?: string | null | undefined;
1313
- deletedAt?: string | null | undefined;
1314
1337
  } | undefined;
1315
1338
  lead?: {
1316
1339
  name: string;
@@ -1322,6 +1345,11 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
1322
1345
  updatedAt: string;
1323
1346
  id: string;
1324
1347
  } | null | undefined;
1348
+ callback?: {
1349
+ id: string;
1350
+ dueAt: string;
1351
+ originNotes: string | null;
1352
+ } | null | undefined;
1325
1353
  } | null | undefined;
1326
1354
  }, {
1327
1355
  ownResearchLead: {
@@ -1364,13 +1392,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
1364
1392
  description?: string | null | undefined;
1365
1393
  isPrimary?: boolean | undefined;
1366
1394
  }[] | undefined;
1395
+ deletedAt?: string | Date | null | undefined;
1367
1396
  canImpersonateUsers?: {
1368
1397
  id: string;
1369
1398
  lastName: string;
1370
1399
  firstName: string;
1371
1400
  }[] | undefined;
1372
1401
  dialpadUserId?: string | null | undefined;
1373
- deletedAt?: string | Date | null | undefined;
1374
1402
  } | undefined;
1375
1403
  };
1376
1404
  assignment?: {
@@ -1408,13 +1436,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
1408
1436
  description?: string | null | undefined;
1409
1437
  isPrimary?: boolean | undefined;
1410
1438
  }[] | undefined;
1439
+ deletedAt?: string | Date | null | undefined;
1411
1440
  canImpersonateUsers?: {
1412
1441
  id: string;
1413
1442
  lastName: string;
1414
1443
  firstName: string;
1415
1444
  }[] | undefined;
1416
1445
  dialpadUserId?: string | null | undefined;
1417
- deletedAt?: string | Date | null | undefined;
1418
1446
  } | undefined;
1419
1447
  lead?: {
1420
1448
  name: string;
@@ -1426,6 +1454,11 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
1426
1454
  updatedAt: string | Date;
1427
1455
  id: string;
1428
1456
  } | null | undefined;
1457
+ callback?: {
1458
+ id: string;
1459
+ dueAt: string;
1460
+ originNotes: string | null;
1461
+ } | null | undefined;
1429
1462
  } | null | undefined;
1430
1463
  }>;
1431
1464
  export declare const AddOwnResearchLeadSchema: z.ZodObject<{
@@ -1541,13 +1574,13 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
1541
1574
  firstName: string;
1542
1575
  }[] | undefined;
1543
1576
  } | null | undefined;
1577
+ deletedAt?: string | null | undefined;
1544
1578
  canImpersonateUsers?: {
1545
1579
  id: string;
1546
1580
  lastName: string;
1547
1581
  firstName: string;
1548
1582
  }[] | undefined;
1549
1583
  dialpadUserId?: string | null | undefined;
1550
- deletedAt?: string | null | undefined;
1551
1584
  }, {
1552
1585
  email: string;
1553
1586
  createdAt: string | Date;
@@ -1573,13 +1606,13 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
1573
1606
  description?: string | null | undefined;
1574
1607
  isPrimary?: boolean | undefined;
1575
1608
  }[] | undefined;
1609
+ deletedAt?: string | Date | null | undefined;
1576
1610
  canImpersonateUsers?: {
1577
1611
  id: string;
1578
1612
  lastName: string;
1579
1613
  firstName: string;
1580
1614
  }[] | undefined;
1581
1615
  dialpadUserId?: string | null | undefined;
1582
- deletedAt?: string | Date | null | undefined;
1583
1616
  }>>;
1584
1617
  name: z.ZodString;
1585
1618
  phoneNumber: z.ZodString;
@@ -1633,13 +1666,13 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
1633
1666
  firstName: string;
1634
1667
  }[] | undefined;
1635
1668
  } | null | undefined;
1669
+ deletedAt?: string | null | undefined;
1636
1670
  canImpersonateUsers?: {
1637
1671
  id: string;
1638
1672
  lastName: string;
1639
1673
  firstName: string;
1640
1674
  }[] | undefined;
1641
1675
  dialpadUserId?: string | null | undefined;
1642
- deletedAt?: string | null | undefined;
1643
1676
  } | undefined;
1644
1677
  }, {
1645
1678
  name: string;
@@ -1681,13 +1714,13 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
1681
1714
  description?: string | null | undefined;
1682
1715
  isPrimary?: boolean | undefined;
1683
1716
  }[] | undefined;
1717
+ deletedAt?: string | Date | null | undefined;
1684
1718
  canImpersonateUsers?: {
1685
1719
  id: string;
1686
1720
  lastName: string;
1687
1721
  firstName: string;
1688
1722
  }[] | undefined;
1689
1723
  dialpadUserId?: string | null | undefined;
1690
- deletedAt?: string | Date | null | undefined;
1691
1724
  } | undefined;
1692
1725
  }>;
1693
1726
  }, "strip", z.ZodTypeAny, {
@@ -1731,13 +1764,13 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
1731
1764
  firstName: string;
1732
1765
  }[] | undefined;
1733
1766
  } | null | undefined;
1767
+ deletedAt?: string | null | undefined;
1734
1768
  canImpersonateUsers?: {
1735
1769
  id: string;
1736
1770
  lastName: string;
1737
1771
  firstName: string;
1738
1772
  }[] | undefined;
1739
1773
  dialpadUserId?: string | null | undefined;
1740
- deletedAt?: string | null | undefined;
1741
1774
  } | undefined;
1742
1775
  };
1743
1776
  }, {
@@ -1781,13 +1814,13 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
1781
1814
  description?: string | null | undefined;
1782
1815
  isPrimary?: boolean | undefined;
1783
1816
  }[] | undefined;
1817
+ deletedAt?: string | Date | null | undefined;
1784
1818
  canImpersonateUsers?: {
1785
1819
  id: string;
1786
1820
  lastName: string;
1787
1821
  firstName: string;
1788
1822
  }[] | undefined;
1789
1823
  dialpadUserId?: string | null | undefined;
1790
- deletedAt?: string | Date | null | undefined;
1791
1824
  } | undefined;
1792
1825
  };
1793
1826
  }>;
@@ -1831,26 +1864,26 @@ export declare const FilterOwnResearchLeadSchema: z.ZodObject<{
1831
1864
  name?: string | undefined;
1832
1865
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
1833
1866
  phoneNumber?: string | undefined;
1867
+ sortBy?: "name" | "createdAt" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
1868
+ sortOrder?: "ASC" | "DESC" | undefined;
1834
1869
  lastCalledAt?: {
1835
1870
  from?: string | null | undefined;
1836
1871
  to?: string | null | undefined;
1837
1872
  } | undefined;
1838
1873
  minTotalCalls?: number | undefined;
1839
- sortBy?: "name" | "createdAt" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
1840
- sortOrder?: "ASC" | "DESC" | undefined;
1841
1874
  }, {
1842
1875
  name?: string | undefined;
1843
1876
  page?: number | undefined;
1844
1877
  limit?: number | undefined;
1845
1878
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
1846
1879
  phoneNumber?: string | undefined;
1880
+ sortBy?: "name" | "createdAt" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
1881
+ sortOrder?: "ASC" | "DESC" | undefined;
1847
1882
  lastCalledAt?: {
1848
1883
  from?: string | null | undefined;
1849
1884
  to?: string | null | undefined;
1850
1885
  } | undefined;
1851
1886
  minTotalCalls?: number | undefined;
1852
- sortBy?: "name" | "createdAt" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
1853
- sortOrder?: "ASC" | "DESC" | undefined;
1854
1887
  }>;
1855
1888
  export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
1856
1889
  items: z.ZodArray<z.ZodObject<{
@@ -1955,13 +1988,13 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
1955
1988
  firstName: string;
1956
1989
  }[] | undefined;
1957
1990
  } | null | undefined;
1991
+ deletedAt?: string | null | undefined;
1958
1992
  canImpersonateUsers?: {
1959
1993
  id: string;
1960
1994
  lastName: string;
1961
1995
  firstName: string;
1962
1996
  }[] | undefined;
1963
1997
  dialpadUserId?: string | null | undefined;
1964
- deletedAt?: string | null | undefined;
1965
1998
  }, {
1966
1999
  email: string;
1967
2000
  createdAt: string | Date;
@@ -1987,13 +2020,13 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
1987
2020
  description?: string | null | undefined;
1988
2021
  isPrimary?: boolean | undefined;
1989
2022
  }[] | undefined;
2023
+ deletedAt?: string | Date | null | undefined;
1990
2024
  canImpersonateUsers?: {
1991
2025
  id: string;
1992
2026
  lastName: string;
1993
2027
  firstName: string;
1994
2028
  }[] | undefined;
1995
2029
  dialpadUserId?: string | null | undefined;
1996
- deletedAt?: string | Date | null | undefined;
1997
2030
  }>>;
1998
2031
  name: z.ZodString;
1999
2032
  phoneNumber: z.ZodString;
@@ -2047,13 +2080,13 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
2047
2080
  firstName: string;
2048
2081
  }[] | undefined;
2049
2082
  } | null | undefined;
2083
+ deletedAt?: string | null | undefined;
2050
2084
  canImpersonateUsers?: {
2051
2085
  id: string;
2052
2086
  lastName: string;
2053
2087
  firstName: string;
2054
2088
  }[] | undefined;
2055
2089
  dialpadUserId?: string | null | undefined;
2056
- deletedAt?: string | null | undefined;
2057
2090
  } | undefined;
2058
2091
  }, {
2059
2092
  name: string;
@@ -2095,13 +2128,13 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
2095
2128
  description?: string | null | undefined;
2096
2129
  isPrimary?: boolean | undefined;
2097
2130
  }[] | undefined;
2131
+ deletedAt?: string | Date | null | undefined;
2098
2132
  canImpersonateUsers?: {
2099
2133
  id: string;
2100
2134
  lastName: string;
2101
2135
  firstName: string;
2102
2136
  }[] | undefined;
2103
2137
  dialpadUserId?: string | null | undefined;
2104
- deletedAt?: string | Date | null | undefined;
2105
2138
  } | undefined;
2106
2139
  }>, "many">;
2107
2140
  totalCount: z.ZodNumber;
@@ -2151,13 +2184,13 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
2151
2184
  firstName: string;
2152
2185
  }[] | undefined;
2153
2186
  } | null | undefined;
2187
+ deletedAt?: string | null | undefined;
2154
2188
  canImpersonateUsers?: {
2155
2189
  id: string;
2156
2190
  lastName: string;
2157
2191
  firstName: string;
2158
2192
  }[] | undefined;
2159
2193
  dialpadUserId?: string | null | undefined;
2160
- deletedAt?: string | null | undefined;
2161
2194
  } | undefined;
2162
2195
  }[];
2163
2196
  totalCount: number;
@@ -2206,13 +2239,13 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
2206
2239
  description?: string | null | undefined;
2207
2240
  isPrimary?: boolean | undefined;
2208
2241
  }[] | undefined;
2242
+ deletedAt?: string | Date | null | undefined;
2209
2243
  canImpersonateUsers?: {
2210
2244
  id: string;
2211
2245
  lastName: string;
2212
2246
  firstName: string;
2213
2247
  }[] | undefined;
2214
2248
  dialpadUserId?: string | null | undefined;
2215
- deletedAt?: string | Date | null | undefined;
2216
2249
  } | undefined;
2217
2250
  }[];
2218
2251
  totalCount: number;
@@ -2239,7 +2272,7 @@ export declare const ownResearchContract: {
2239
2272
  method: "GET";
2240
2273
  path: "/v2/own-research/agent-info";
2241
2274
  responses: {
2242
- 400: z.ZodObject<{
2275
+ 401: z.ZodObject<{
2243
2276
  statusCode: z.ZodNumber;
2244
2277
  message: z.ZodString;
2245
2278
  code: z.ZodString;
@@ -2248,23 +2281,23 @@ export declare const ownResearchContract: {
2248
2281
  path: z.ZodString;
2249
2282
  correlationId: z.ZodOptional<z.ZodString>;
2250
2283
  }, "strip", z.ZodTypeAny, {
2251
- message: string;
2252
2284
  code: string;
2253
2285
  path: string;
2286
+ message: string;
2254
2287
  statusCode: number;
2255
2288
  timestamp: string;
2256
2289
  details?: unknown;
2257
2290
  correlationId?: string | undefined;
2258
2291
  }, {
2259
- message: string;
2260
2292
  code: string;
2261
2293
  path: string;
2294
+ message: string;
2262
2295
  statusCode: number;
2263
2296
  timestamp: string;
2264
2297
  details?: unknown;
2265
2298
  correlationId?: string | undefined;
2266
2299
  }>;
2267
- 403: z.ZodObject<{
2300
+ 400: z.ZodObject<{
2268
2301
  statusCode: z.ZodNumber;
2269
2302
  message: z.ZodString;
2270
2303
  code: z.ZodString;
@@ -2273,23 +2306,23 @@ export declare const ownResearchContract: {
2273
2306
  path: z.ZodString;
2274
2307
  correlationId: z.ZodOptional<z.ZodString>;
2275
2308
  }, "strip", z.ZodTypeAny, {
2276
- message: string;
2277
2309
  code: string;
2278
2310
  path: string;
2311
+ message: string;
2279
2312
  statusCode: number;
2280
2313
  timestamp: string;
2281
2314
  details?: unknown;
2282
2315
  correlationId?: string | undefined;
2283
2316
  }, {
2284
- message: string;
2285
2317
  code: string;
2286
2318
  path: string;
2319
+ message: string;
2287
2320
  statusCode: number;
2288
2321
  timestamp: string;
2289
2322
  details?: unknown;
2290
2323
  correlationId?: string | undefined;
2291
2324
  }>;
2292
- 401: z.ZodObject<{
2325
+ 403: z.ZodObject<{
2293
2326
  statusCode: z.ZodNumber;
2294
2327
  message: z.ZodString;
2295
2328
  code: z.ZodString;
@@ -2298,17 +2331,17 @@ export declare const ownResearchContract: {
2298
2331
  path: z.ZodString;
2299
2332
  correlationId: z.ZodOptional<z.ZodString>;
2300
2333
  }, "strip", z.ZodTypeAny, {
2301
- message: string;
2302
2334
  code: string;
2303
2335
  path: string;
2336
+ message: string;
2304
2337
  statusCode: number;
2305
2338
  timestamp: string;
2306
2339
  details?: unknown;
2307
2340
  correlationId?: string | undefined;
2308
2341
  }, {
2309
- message: string;
2310
2342
  code: string;
2311
2343
  path: string;
2344
+ message: string;
2312
2345
  statusCode: number;
2313
2346
  timestamp: string;
2314
2347
  details?: unknown;
@@ -2323,17 +2356,17 @@ export declare const ownResearchContract: {
2323
2356
  path: z.ZodString;
2324
2357
  correlationId: z.ZodOptional<z.ZodString>;
2325
2358
  }, "strip", z.ZodTypeAny, {
2326
- message: string;
2327
2359
  code: string;
2328
2360
  path: string;
2361
+ message: string;
2329
2362
  statusCode: number;
2330
2363
  timestamp: string;
2331
2364
  details?: unknown;
2332
2365
  correlationId?: string | undefined;
2333
2366
  }, {
2334
- message: string;
2335
2367
  code: string;
2336
2368
  path: string;
2369
+ message: string;
2337
2370
  statusCode: number;
2338
2371
  timestamp: string;
2339
2372
  details?: unknown;
@@ -2355,9 +2388,6 @@ export declare const ownResearchContract: {
2355
2388
  };
2356
2389
  };
2357
2390
  findAll: {
2358
- metadata: {
2359
- tags: string[];
2360
- };
2361
2391
  query: z.ZodObject<{
2362
2392
  limit: z.ZodDefault<z.ZodNumber>;
2363
2393
  page: z.ZodDefault<z.ZodNumber>;
@@ -2384,32 +2414,35 @@ export declare const ownResearchContract: {
2384
2414
  name?: string | undefined;
2385
2415
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
2386
2416
  phoneNumber?: string | undefined;
2417
+ sortBy?: "name" | "createdAt" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
2418
+ sortOrder?: "ASC" | "DESC" | undefined;
2387
2419
  lastCalledAt?: {
2388
2420
  from?: string | null | undefined;
2389
2421
  to?: string | null | undefined;
2390
2422
  } | undefined;
2391
2423
  minTotalCalls?: number | undefined;
2392
- sortBy?: "name" | "createdAt" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
2393
- sortOrder?: "ASC" | "DESC" | undefined;
2394
2424
  }, {
2395
2425
  name?: string | undefined;
2396
2426
  page?: number | undefined;
2397
2427
  limit?: number | undefined;
2398
2428
  status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | "PARKED" | undefined;
2399
2429
  phoneNumber?: string | undefined;
2430
+ sortBy?: "name" | "createdAt" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
2431
+ sortOrder?: "ASC" | "DESC" | undefined;
2400
2432
  lastCalledAt?: {
2401
2433
  from?: string | null | undefined;
2402
2434
  to?: string | null | undefined;
2403
2435
  } | undefined;
2404
2436
  minTotalCalls?: number | undefined;
2405
- sortBy?: "name" | "createdAt" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
2406
- sortOrder?: "ASC" | "DESC" | undefined;
2407
2437
  }>;
2438
+ metadata: {
2439
+ tags: string[];
2440
+ };
2408
2441
  summary: "Get all own research leads for the current agent";
2409
2442
  method: "GET";
2410
2443
  path: "/v2/own-research/leads";
2411
2444
  responses: {
2412
- 400: z.ZodObject<{
2445
+ 401: z.ZodObject<{
2413
2446
  statusCode: z.ZodNumber;
2414
2447
  message: z.ZodString;
2415
2448
  code: z.ZodString;
@@ -2418,23 +2451,23 @@ export declare const ownResearchContract: {
2418
2451
  path: z.ZodString;
2419
2452
  correlationId: z.ZodOptional<z.ZodString>;
2420
2453
  }, "strip", z.ZodTypeAny, {
2421
- message: string;
2422
2454
  code: string;
2423
2455
  path: string;
2456
+ message: string;
2424
2457
  statusCode: number;
2425
2458
  timestamp: string;
2426
2459
  details?: unknown;
2427
2460
  correlationId?: string | undefined;
2428
2461
  }, {
2429
- message: string;
2430
2462
  code: string;
2431
2463
  path: string;
2464
+ message: string;
2432
2465
  statusCode: number;
2433
2466
  timestamp: string;
2434
2467
  details?: unknown;
2435
2468
  correlationId?: string | undefined;
2436
2469
  }>;
2437
- 403: z.ZodObject<{
2470
+ 400: z.ZodObject<{
2438
2471
  statusCode: z.ZodNumber;
2439
2472
  message: z.ZodString;
2440
2473
  code: z.ZodString;
@@ -2443,23 +2476,23 @@ export declare const ownResearchContract: {
2443
2476
  path: z.ZodString;
2444
2477
  correlationId: z.ZodOptional<z.ZodString>;
2445
2478
  }, "strip", z.ZodTypeAny, {
2446
- message: string;
2447
2479
  code: string;
2448
2480
  path: string;
2481
+ message: string;
2449
2482
  statusCode: number;
2450
2483
  timestamp: string;
2451
2484
  details?: unknown;
2452
2485
  correlationId?: string | undefined;
2453
2486
  }, {
2454
- message: string;
2455
2487
  code: string;
2456
2488
  path: string;
2489
+ message: string;
2457
2490
  statusCode: number;
2458
2491
  timestamp: string;
2459
2492
  details?: unknown;
2460
2493
  correlationId?: string | undefined;
2461
2494
  }>;
2462
- 401: z.ZodObject<{
2495
+ 403: z.ZodObject<{
2463
2496
  statusCode: z.ZodNumber;
2464
2497
  message: z.ZodString;
2465
2498
  code: z.ZodString;
@@ -2468,17 +2501,17 @@ export declare const ownResearchContract: {
2468
2501
  path: z.ZodString;
2469
2502
  correlationId: z.ZodOptional<z.ZodString>;
2470
2503
  }, "strip", z.ZodTypeAny, {
2471
- message: string;
2472
2504
  code: string;
2473
2505
  path: string;
2506
+ message: string;
2474
2507
  statusCode: number;
2475
2508
  timestamp: string;
2476
2509
  details?: unknown;
2477
2510
  correlationId?: string | undefined;
2478
2511
  }, {
2479
- message: string;
2480
2512
  code: string;
2481
2513
  path: string;
2514
+ message: string;
2482
2515
  statusCode: number;
2483
2516
  timestamp: string;
2484
2517
  details?: unknown;
@@ -2493,17 +2526,17 @@ export declare const ownResearchContract: {
2493
2526
  path: z.ZodString;
2494
2527
  correlationId: z.ZodOptional<z.ZodString>;
2495
2528
  }, "strip", z.ZodTypeAny, {
2496
- message: string;
2497
2529
  code: string;
2498
2530
  path: string;
2531
+ message: string;
2499
2532
  statusCode: number;
2500
2533
  timestamp: string;
2501
2534
  details?: unknown;
2502
2535
  correlationId?: string | undefined;
2503
2536
  }, {
2504
- message: string;
2505
2537
  code: string;
2506
2538
  path: string;
2539
+ message: string;
2507
2540
  statusCode: number;
2508
2541
  timestamp: string;
2509
2542
  details?: unknown;
@@ -2612,13 +2645,13 @@ export declare const ownResearchContract: {
2612
2645
  firstName: string;
2613
2646
  }[] | undefined;
2614
2647
  } | null | undefined;
2648
+ deletedAt?: string | null | undefined;
2615
2649
  canImpersonateUsers?: {
2616
2650
  id: string;
2617
2651
  lastName: string;
2618
2652
  firstName: string;
2619
2653
  }[] | undefined;
2620
2654
  dialpadUserId?: string | null | undefined;
2621
- deletedAt?: string | null | undefined;
2622
2655
  }, {
2623
2656
  email: string;
2624
2657
  createdAt: string | Date;
@@ -2644,13 +2677,13 @@ export declare const ownResearchContract: {
2644
2677
  description?: string | null | undefined;
2645
2678
  isPrimary?: boolean | undefined;
2646
2679
  }[] | undefined;
2680
+ deletedAt?: string | Date | null | undefined;
2647
2681
  canImpersonateUsers?: {
2648
2682
  id: string;
2649
2683
  lastName: string;
2650
2684
  firstName: string;
2651
2685
  }[] | undefined;
2652
2686
  dialpadUserId?: string | null | undefined;
2653
- deletedAt?: string | Date | null | undefined;
2654
2687
  }>>;
2655
2688
  name: z.ZodString;
2656
2689
  phoneNumber: z.ZodString;
@@ -2704,13 +2737,13 @@ export declare const ownResearchContract: {
2704
2737
  firstName: string;
2705
2738
  }[] | undefined;
2706
2739
  } | null | undefined;
2740
+ deletedAt?: string | null | undefined;
2707
2741
  canImpersonateUsers?: {
2708
2742
  id: string;
2709
2743
  lastName: string;
2710
2744
  firstName: string;
2711
2745
  }[] | undefined;
2712
2746
  dialpadUserId?: string | null | undefined;
2713
- deletedAt?: string | null | undefined;
2714
2747
  } | undefined;
2715
2748
  }, {
2716
2749
  name: string;
@@ -2752,13 +2785,13 @@ export declare const ownResearchContract: {
2752
2785
  description?: string | null | undefined;
2753
2786
  isPrimary?: boolean | undefined;
2754
2787
  }[] | undefined;
2788
+ deletedAt?: string | Date | null | undefined;
2755
2789
  canImpersonateUsers?: {
2756
2790
  id: string;
2757
2791
  lastName: string;
2758
2792
  firstName: string;
2759
2793
  }[] | undefined;
2760
2794
  dialpadUserId?: string | null | undefined;
2761
- deletedAt?: string | Date | null | undefined;
2762
2795
  } | undefined;
2763
2796
  }>, "many">;
2764
2797
  totalCount: z.ZodNumber;
@@ -2808,13 +2841,13 @@ export declare const ownResearchContract: {
2808
2841
  firstName: string;
2809
2842
  }[] | undefined;
2810
2843
  } | null | undefined;
2844
+ deletedAt?: string | null | undefined;
2811
2845
  canImpersonateUsers?: {
2812
2846
  id: string;
2813
2847
  lastName: string;
2814
2848
  firstName: string;
2815
2849
  }[] | undefined;
2816
2850
  dialpadUserId?: string | null | undefined;
2817
- deletedAt?: string | null | undefined;
2818
2851
  } | undefined;
2819
2852
  }[];
2820
2853
  totalCount: number;
@@ -2863,13 +2896,13 @@ export declare const ownResearchContract: {
2863
2896
  description?: string | null | undefined;
2864
2897
  isPrimary?: boolean | undefined;
2865
2898
  }[] | undefined;
2899
+ deletedAt?: string | Date | null | undefined;
2866
2900
  canImpersonateUsers?: {
2867
2901
  id: string;
2868
2902
  lastName: string;
2869
2903
  firstName: string;
2870
2904
  }[] | undefined;
2871
2905
  dialpadUserId?: string | null | undefined;
2872
- deletedAt?: string | Date | null | undefined;
2873
2906
  } | undefined;
2874
2907
  }[];
2875
2908
  totalCount: number;
@@ -2894,7 +2927,7 @@ export declare const ownResearchContract: {
2894
2927
  }>;
2895
2928
  path: "/v2/own-research/check-phone";
2896
2929
  responses: {
2897
- 400: z.ZodObject<{
2930
+ 401: z.ZodObject<{
2898
2931
  statusCode: z.ZodNumber;
2899
2932
  message: z.ZodString;
2900
2933
  code: z.ZodString;
@@ -2903,23 +2936,23 @@ export declare const ownResearchContract: {
2903
2936
  path: z.ZodString;
2904
2937
  correlationId: z.ZodOptional<z.ZodString>;
2905
2938
  }, "strip", z.ZodTypeAny, {
2906
- message: string;
2907
2939
  code: string;
2908
2940
  path: string;
2941
+ message: string;
2909
2942
  statusCode: number;
2910
2943
  timestamp: string;
2911
2944
  details?: unknown;
2912
2945
  correlationId?: string | undefined;
2913
2946
  }, {
2914
- message: string;
2915
2947
  code: string;
2916
2948
  path: string;
2949
+ message: string;
2917
2950
  statusCode: number;
2918
2951
  timestamp: string;
2919
2952
  details?: unknown;
2920
2953
  correlationId?: string | undefined;
2921
2954
  }>;
2922
- 403: z.ZodObject<{
2955
+ 400: z.ZodObject<{
2923
2956
  statusCode: z.ZodNumber;
2924
2957
  message: z.ZodString;
2925
2958
  code: z.ZodString;
@@ -2928,23 +2961,23 @@ export declare const ownResearchContract: {
2928
2961
  path: z.ZodString;
2929
2962
  correlationId: z.ZodOptional<z.ZodString>;
2930
2963
  }, "strip", z.ZodTypeAny, {
2931
- message: string;
2932
2964
  code: string;
2933
2965
  path: string;
2966
+ message: string;
2934
2967
  statusCode: number;
2935
2968
  timestamp: string;
2936
2969
  details?: unknown;
2937
2970
  correlationId?: string | undefined;
2938
2971
  }, {
2939
- message: string;
2940
2972
  code: string;
2941
2973
  path: string;
2974
+ message: string;
2942
2975
  statusCode: number;
2943
2976
  timestamp: string;
2944
2977
  details?: unknown;
2945
2978
  correlationId?: string | undefined;
2946
2979
  }>;
2947
- 401: z.ZodObject<{
2980
+ 403: z.ZodObject<{
2948
2981
  statusCode: z.ZodNumber;
2949
2982
  message: z.ZodString;
2950
2983
  code: z.ZodString;
@@ -2953,17 +2986,17 @@ export declare const ownResearchContract: {
2953
2986
  path: z.ZodString;
2954
2987
  correlationId: z.ZodOptional<z.ZodString>;
2955
2988
  }, "strip", z.ZodTypeAny, {
2956
- message: string;
2957
2989
  code: string;
2958
2990
  path: string;
2991
+ message: string;
2959
2992
  statusCode: number;
2960
2993
  timestamp: string;
2961
2994
  details?: unknown;
2962
2995
  correlationId?: string | undefined;
2963
2996
  }, {
2964
- message: string;
2965
2997
  code: string;
2966
2998
  path: string;
2999
+ message: string;
2967
3000
  statusCode: number;
2968
3001
  timestamp: string;
2969
3002
  details?: unknown;
@@ -2978,17 +3011,17 @@ export declare const ownResearchContract: {
2978
3011
  path: z.ZodString;
2979
3012
  correlationId: z.ZodOptional<z.ZodString>;
2980
3013
  }, "strip", z.ZodTypeAny, {
2981
- message: string;
2982
3014
  code: string;
2983
3015
  path: string;
3016
+ message: string;
2984
3017
  statusCode: number;
2985
3018
  timestamp: string;
2986
3019
  details?: unknown;
2987
3020
  correlationId?: string | undefined;
2988
3021
  }, {
2989
- message: string;
2990
3022
  code: string;
2991
3023
  path: string;
3024
+ message: string;
2992
3025
  statusCode: number;
2993
3026
  timestamp: string;
2994
3027
  details?: unknown;
@@ -3121,13 +3154,13 @@ export declare const ownResearchContract: {
3121
3154
  firstName: string;
3122
3155
  }[] | undefined;
3123
3156
  } | null | undefined;
3157
+ deletedAt?: string | null | undefined;
3124
3158
  canImpersonateUsers?: {
3125
3159
  id: string;
3126
3160
  lastName: string;
3127
3161
  firstName: string;
3128
3162
  }[] | undefined;
3129
3163
  dialpadUserId?: string | null | undefined;
3130
- deletedAt?: string | null | undefined;
3131
3164
  }, {
3132
3165
  email: string;
3133
3166
  createdAt: string | Date;
@@ -3153,13 +3186,13 @@ export declare const ownResearchContract: {
3153
3186
  description?: string | null | undefined;
3154
3187
  isPrimary?: boolean | undefined;
3155
3188
  }[] | undefined;
3189
+ deletedAt?: string | Date | null | undefined;
3156
3190
  canImpersonateUsers?: {
3157
3191
  id: string;
3158
3192
  lastName: string;
3159
3193
  firstName: string;
3160
3194
  }[] | undefined;
3161
3195
  dialpadUserId?: string | null | undefined;
3162
- deletedAt?: string | Date | null | undefined;
3163
3196
  }>>;
3164
3197
  name: z.ZodString;
3165
3198
  phoneNumber: z.ZodString;
@@ -3213,13 +3246,13 @@ export declare const ownResearchContract: {
3213
3246
  firstName: string;
3214
3247
  }[] | undefined;
3215
3248
  } | null | undefined;
3249
+ deletedAt?: string | null | undefined;
3216
3250
  canImpersonateUsers?: {
3217
3251
  id: string;
3218
3252
  lastName: string;
3219
3253
  firstName: string;
3220
3254
  }[] | undefined;
3221
3255
  dialpadUserId?: string | null | undefined;
3222
- deletedAt?: string | null | undefined;
3223
3256
  } | undefined;
3224
3257
  }, {
3225
3258
  name: string;
@@ -3261,13 +3294,13 @@ export declare const ownResearchContract: {
3261
3294
  description?: string | null | undefined;
3262
3295
  isPrimary?: boolean | undefined;
3263
3296
  }[] | undefined;
3297
+ deletedAt?: string | Date | null | undefined;
3264
3298
  canImpersonateUsers?: {
3265
3299
  id: string;
3266
3300
  lastName: string;
3267
3301
  firstName: string;
3268
3302
  }[] | undefined;
3269
3303
  dialpadUserId?: string | null | undefined;
3270
- deletedAt?: string | Date | null | undefined;
3271
3304
  } | undefined;
3272
3305
  }>>>;
3273
3306
  isOnCooldown: z.ZodBoolean;
@@ -3325,13 +3358,13 @@ export declare const ownResearchContract: {
3325
3358
  firstName: string;
3326
3359
  }[] | undefined;
3327
3360
  } | null | undefined;
3361
+ deletedAt?: string | null | undefined;
3328
3362
  canImpersonateUsers?: {
3329
3363
  id: string;
3330
3364
  lastName: string;
3331
3365
  firstName: string;
3332
3366
  }[] | undefined;
3333
3367
  dialpadUserId?: string | null | undefined;
3334
- deletedAt?: string | null | undefined;
3335
3368
  } | undefined;
3336
3369
  } | null | undefined;
3337
3370
  }, {
@@ -3387,13 +3420,13 @@ export declare const ownResearchContract: {
3387
3420
  description?: string | null | undefined;
3388
3421
  isPrimary?: boolean | undefined;
3389
3422
  }[] | undefined;
3423
+ deletedAt?: string | Date | null | undefined;
3390
3424
  canImpersonateUsers?: {
3391
3425
  id: string;
3392
3426
  lastName: string;
3393
3427
  firstName: string;
3394
3428
  }[] | undefined;
3395
3429
  dialpadUserId?: string | null | undefined;
3396
- deletedAt?: string | Date | null | undefined;
3397
3430
  } | undefined;
3398
3431
  } | null | undefined;
3399
3432
  }>;
@@ -3417,7 +3450,7 @@ export declare const ownResearchContract: {
3417
3450
  }>;
3418
3451
  path: "/v2/own-research/leads";
3419
3452
  responses: {
3420
- 400: z.ZodObject<{
3453
+ 401: z.ZodObject<{
3421
3454
  statusCode: z.ZodNumber;
3422
3455
  message: z.ZodString;
3423
3456
  code: z.ZodString;
@@ -3426,23 +3459,23 @@ export declare const ownResearchContract: {
3426
3459
  path: z.ZodString;
3427
3460
  correlationId: z.ZodOptional<z.ZodString>;
3428
3461
  }, "strip", z.ZodTypeAny, {
3429
- message: string;
3430
3462
  code: string;
3431
3463
  path: string;
3464
+ message: string;
3432
3465
  statusCode: number;
3433
3466
  timestamp: string;
3434
3467
  details?: unknown;
3435
3468
  correlationId?: string | undefined;
3436
3469
  }, {
3437
- message: string;
3438
3470
  code: string;
3439
3471
  path: string;
3472
+ message: string;
3440
3473
  statusCode: number;
3441
3474
  timestamp: string;
3442
3475
  details?: unknown;
3443
3476
  correlationId?: string | undefined;
3444
3477
  }>;
3445
- 403: z.ZodObject<{
3478
+ 400: z.ZodObject<{
3446
3479
  statusCode: z.ZodNumber;
3447
3480
  message: z.ZodString;
3448
3481
  code: z.ZodString;
@@ -3451,23 +3484,23 @@ export declare const ownResearchContract: {
3451
3484
  path: z.ZodString;
3452
3485
  correlationId: z.ZodOptional<z.ZodString>;
3453
3486
  }, "strip", z.ZodTypeAny, {
3454
- message: string;
3455
3487
  code: string;
3456
3488
  path: string;
3489
+ message: string;
3457
3490
  statusCode: number;
3458
3491
  timestamp: string;
3459
3492
  details?: unknown;
3460
3493
  correlationId?: string | undefined;
3461
3494
  }, {
3462
- message: string;
3463
3495
  code: string;
3464
3496
  path: string;
3497
+ message: string;
3465
3498
  statusCode: number;
3466
3499
  timestamp: string;
3467
3500
  details?: unknown;
3468
3501
  correlationId?: string | undefined;
3469
3502
  }>;
3470
- 401: z.ZodObject<{
3503
+ 403: z.ZodObject<{
3471
3504
  statusCode: z.ZodNumber;
3472
3505
  message: z.ZodString;
3473
3506
  code: z.ZodString;
@@ -3476,17 +3509,17 @@ export declare const ownResearchContract: {
3476
3509
  path: z.ZodString;
3477
3510
  correlationId: z.ZodOptional<z.ZodString>;
3478
3511
  }, "strip", z.ZodTypeAny, {
3479
- message: string;
3480
3512
  code: string;
3481
3513
  path: string;
3514
+ message: string;
3482
3515
  statusCode: number;
3483
3516
  timestamp: string;
3484
3517
  details?: unknown;
3485
3518
  correlationId?: string | undefined;
3486
3519
  }, {
3487
- message: string;
3488
3520
  code: string;
3489
3521
  path: string;
3522
+ message: string;
3490
3523
  statusCode: number;
3491
3524
  timestamp: string;
3492
3525
  details?: unknown;
@@ -3501,17 +3534,17 @@ export declare const ownResearchContract: {
3501
3534
  path: z.ZodString;
3502
3535
  correlationId: z.ZodOptional<z.ZodString>;
3503
3536
  }, "strip", z.ZodTypeAny, {
3504
- message: string;
3505
3537
  code: string;
3506
3538
  path: string;
3539
+ message: string;
3507
3540
  statusCode: number;
3508
3541
  timestamp: string;
3509
3542
  details?: unknown;
3510
3543
  correlationId?: string | undefined;
3511
3544
  }, {
3512
- message: string;
3513
3545
  code: string;
3514
3546
  path: string;
3547
+ message: string;
3515
3548
  statusCode: number;
3516
3549
  timestamp: string;
3517
3550
  details?: unknown;
@@ -3620,13 +3653,13 @@ export declare const ownResearchContract: {
3620
3653
  firstName: string;
3621
3654
  }[] | undefined;
3622
3655
  } | null | undefined;
3656
+ deletedAt?: string | null | undefined;
3623
3657
  canImpersonateUsers?: {
3624
3658
  id: string;
3625
3659
  lastName: string;
3626
3660
  firstName: string;
3627
3661
  }[] | undefined;
3628
3662
  dialpadUserId?: string | null | undefined;
3629
- deletedAt?: string | null | undefined;
3630
3663
  }, {
3631
3664
  email: string;
3632
3665
  createdAt: string | Date;
@@ -3652,13 +3685,13 @@ export declare const ownResearchContract: {
3652
3685
  description?: string | null | undefined;
3653
3686
  isPrimary?: boolean | undefined;
3654
3687
  }[] | undefined;
3688
+ deletedAt?: string | Date | null | undefined;
3655
3689
  canImpersonateUsers?: {
3656
3690
  id: string;
3657
3691
  lastName: string;
3658
3692
  firstName: string;
3659
3693
  }[] | undefined;
3660
3694
  dialpadUserId?: string | null | undefined;
3661
- deletedAt?: string | Date | null | undefined;
3662
3695
  }>>;
3663
3696
  name: z.ZodString;
3664
3697
  phoneNumber: z.ZodString;
@@ -3712,13 +3745,13 @@ export declare const ownResearchContract: {
3712
3745
  firstName: string;
3713
3746
  }[] | undefined;
3714
3747
  } | null | undefined;
3748
+ deletedAt?: string | null | undefined;
3715
3749
  canImpersonateUsers?: {
3716
3750
  id: string;
3717
3751
  lastName: string;
3718
3752
  firstName: string;
3719
3753
  }[] | undefined;
3720
3754
  dialpadUserId?: string | null | undefined;
3721
- deletedAt?: string | null | undefined;
3722
3755
  } | undefined;
3723
3756
  }, {
3724
3757
  name: string;
@@ -3760,13 +3793,13 @@ export declare const ownResearchContract: {
3760
3793
  description?: string | null | undefined;
3761
3794
  isPrimary?: boolean | undefined;
3762
3795
  }[] | undefined;
3796
+ deletedAt?: string | Date | null | undefined;
3763
3797
  canImpersonateUsers?: {
3764
3798
  id: string;
3765
3799
  lastName: string;
3766
3800
  firstName: string;
3767
3801
  }[] | undefined;
3768
3802
  dialpadUserId?: string | null | undefined;
3769
- deletedAt?: string | Date | null | undefined;
3770
3803
  } | undefined;
3771
3804
  }>;
3772
3805
  }, "strip", z.ZodTypeAny, {
@@ -3810,13 +3843,13 @@ export declare const ownResearchContract: {
3810
3843
  firstName: string;
3811
3844
  }[] | undefined;
3812
3845
  } | null | undefined;
3846
+ deletedAt?: string | null | undefined;
3813
3847
  canImpersonateUsers?: {
3814
3848
  id: string;
3815
3849
  lastName: string;
3816
3850
  firstName: string;
3817
3851
  }[] | undefined;
3818
3852
  dialpadUserId?: string | null | undefined;
3819
- deletedAt?: string | null | undefined;
3820
3853
  } | undefined;
3821
3854
  };
3822
3855
  }, {
@@ -3860,13 +3893,13 @@ export declare const ownResearchContract: {
3860
3893
  description?: string | null | undefined;
3861
3894
  isPrimary?: boolean | undefined;
3862
3895
  }[] | undefined;
3896
+ deletedAt?: string | Date | null | undefined;
3863
3897
  canImpersonateUsers?: {
3864
3898
  id: string;
3865
3899
  lastName: string;
3866
3900
  firstName: string;
3867
3901
  }[] | undefined;
3868
3902
  dialpadUserId?: string | null | undefined;
3869
- deletedAt?: string | Date | null | undefined;
3870
3903
  } | undefined;
3871
3904
  };
3872
3905
  }>;
@@ -3899,7 +3932,7 @@ export declare const ownResearchContract: {
3899
3932
  }>;
3900
3933
  path: "/v2/own-research/call";
3901
3934
  responses: {
3902
- 400: z.ZodObject<{
3935
+ 401: z.ZodObject<{
3903
3936
  statusCode: z.ZodNumber;
3904
3937
  message: z.ZodString;
3905
3938
  code: z.ZodString;
@@ -3908,23 +3941,23 @@ export declare const ownResearchContract: {
3908
3941
  path: z.ZodString;
3909
3942
  correlationId: z.ZodOptional<z.ZodString>;
3910
3943
  }, "strip", z.ZodTypeAny, {
3911
- message: string;
3912
3944
  code: string;
3913
3945
  path: string;
3946
+ message: string;
3914
3947
  statusCode: number;
3915
3948
  timestamp: string;
3916
3949
  details?: unknown;
3917
3950
  correlationId?: string | undefined;
3918
3951
  }, {
3919
- message: string;
3920
3952
  code: string;
3921
3953
  path: string;
3954
+ message: string;
3922
3955
  statusCode: number;
3923
3956
  timestamp: string;
3924
3957
  details?: unknown;
3925
3958
  correlationId?: string | undefined;
3926
3959
  }>;
3927
- 403: z.ZodObject<{
3960
+ 400: z.ZodObject<{
3928
3961
  statusCode: z.ZodNumber;
3929
3962
  message: z.ZodString;
3930
3963
  code: z.ZodString;
@@ -3933,23 +3966,23 @@ export declare const ownResearchContract: {
3933
3966
  path: z.ZodString;
3934
3967
  correlationId: z.ZodOptional<z.ZodString>;
3935
3968
  }, "strip", z.ZodTypeAny, {
3936
- message: string;
3937
3969
  code: string;
3938
3970
  path: string;
3971
+ message: string;
3939
3972
  statusCode: number;
3940
3973
  timestamp: string;
3941
3974
  details?: unknown;
3942
3975
  correlationId?: string | undefined;
3943
3976
  }, {
3944
- message: string;
3945
3977
  code: string;
3946
3978
  path: string;
3979
+ message: string;
3947
3980
  statusCode: number;
3948
3981
  timestamp: string;
3949
3982
  details?: unknown;
3950
3983
  correlationId?: string | undefined;
3951
3984
  }>;
3952
- 401: z.ZodObject<{
3985
+ 403: z.ZodObject<{
3953
3986
  statusCode: z.ZodNumber;
3954
3987
  message: z.ZodString;
3955
3988
  code: z.ZodString;
@@ -3958,17 +3991,17 @@ export declare const ownResearchContract: {
3958
3991
  path: z.ZodString;
3959
3992
  correlationId: z.ZodOptional<z.ZodString>;
3960
3993
  }, "strip", z.ZodTypeAny, {
3961
- message: string;
3962
3994
  code: string;
3963
3995
  path: string;
3996
+ message: string;
3964
3997
  statusCode: number;
3965
3998
  timestamp: string;
3966
3999
  details?: unknown;
3967
4000
  correlationId?: string | undefined;
3968
4001
  }, {
3969
- message: string;
3970
4002
  code: string;
3971
4003
  path: string;
4004
+ message: string;
3972
4005
  statusCode: number;
3973
4006
  timestamp: string;
3974
4007
  details?: unknown;
@@ -3983,17 +4016,17 @@ export declare const ownResearchContract: {
3983
4016
  path: z.ZodString;
3984
4017
  correlationId: z.ZodOptional<z.ZodString>;
3985
4018
  }, "strip", z.ZodTypeAny, {
3986
- message: string;
3987
4019
  code: string;
3988
4020
  path: string;
4021
+ message: string;
3989
4022
  statusCode: number;
3990
4023
  timestamp: string;
3991
4024
  details?: unknown;
3992
4025
  correlationId?: string | undefined;
3993
4026
  }, {
3994
- message: string;
3995
4027
  code: string;
3996
4028
  path: string;
4029
+ message: string;
3997
4030
  statusCode: number;
3998
4031
  timestamp: string;
3999
4032
  details?: unknown;
@@ -4113,13 +4146,13 @@ export declare const ownResearchContract: {
4113
4146
  firstName: string;
4114
4147
  }[] | undefined;
4115
4148
  } | null | undefined;
4149
+ deletedAt?: string | null | undefined;
4116
4150
  canImpersonateUsers?: {
4117
4151
  id: string;
4118
4152
  lastName: string;
4119
4153
  firstName: string;
4120
4154
  }[] | undefined;
4121
4155
  dialpadUserId?: string | null | undefined;
4122
- deletedAt?: string | null | undefined;
4123
4156
  }, {
4124
4157
  email: string;
4125
4158
  createdAt: string | Date;
@@ -4145,13 +4178,13 @@ export declare const ownResearchContract: {
4145
4178
  description?: string | null | undefined;
4146
4179
  isPrimary?: boolean | undefined;
4147
4180
  }[] | undefined;
4181
+ deletedAt?: string | Date | null | undefined;
4148
4182
  canImpersonateUsers?: {
4149
4183
  id: string;
4150
4184
  lastName: string;
4151
4185
  firstName: string;
4152
4186
  }[] | undefined;
4153
4187
  dialpadUserId?: string | null | undefined;
4154
- deletedAt?: string | Date | null | undefined;
4155
4188
  }>>;
4156
4189
  assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
4157
4190
  assignedBy: z.ZodNullable<z.ZodString>;
@@ -4175,6 +4208,19 @@ export declare const ownResearchContract: {
4175
4208
  }>>>;
4176
4209
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
4177
4210
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
4211
+ callback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4212
+ id: z.ZodString;
4213
+ dueAt: z.ZodString;
4214
+ originNotes: z.ZodNullable<z.ZodString>;
4215
+ }, "strip", z.ZodTypeAny, {
4216
+ id: string;
4217
+ dueAt: string;
4218
+ originNotes: string | null;
4219
+ }, {
4220
+ id: string;
4221
+ dueAt: string;
4222
+ originNotes: string | null;
4223
+ }>>>;
4178
4224
  }, "strip", z.ZodTypeAny, {
4179
4225
  createdAt: string;
4180
4226
  updatedAt: string;
@@ -4210,13 +4256,13 @@ export declare const ownResearchContract: {
4210
4256
  firstName: string;
4211
4257
  }[] | undefined;
4212
4258
  } | null | undefined;
4259
+ deletedAt?: string | null | undefined;
4213
4260
  canImpersonateUsers?: {
4214
4261
  id: string;
4215
4262
  lastName: string;
4216
4263
  firstName: string;
4217
4264
  }[] | undefined;
4218
4265
  dialpadUserId?: string | null | undefined;
4219
- deletedAt?: string | null | undefined;
4220
4266
  } | undefined;
4221
4267
  lead?: {
4222
4268
  name: string;
@@ -4228,6 +4274,11 @@ export declare const ownResearchContract: {
4228
4274
  updatedAt: string;
4229
4275
  id: string;
4230
4276
  } | null | undefined;
4277
+ callback?: {
4278
+ id: string;
4279
+ dueAt: string;
4280
+ originNotes: string | null;
4281
+ } | null | undefined;
4231
4282
  }, {
4232
4283
  createdAt: string | Date;
4233
4284
  updatedAt: string | Date;
@@ -4263,13 +4314,13 @@ export declare const ownResearchContract: {
4263
4314
  description?: string | null | undefined;
4264
4315
  isPrimary?: boolean | undefined;
4265
4316
  }[] | undefined;
4317
+ deletedAt?: string | Date | null | undefined;
4266
4318
  canImpersonateUsers?: {
4267
4319
  id: string;
4268
4320
  lastName: string;
4269
4321
  firstName: string;
4270
4322
  }[] | undefined;
4271
4323
  dialpadUserId?: string | null | undefined;
4272
- deletedAt?: string | Date | null | undefined;
4273
4324
  } | undefined;
4274
4325
  lead?: {
4275
4326
  name: string;
@@ -4281,6 +4332,11 @@ export declare const ownResearchContract: {
4281
4332
  updatedAt: string | Date;
4282
4333
  id: string;
4283
4334
  } | null | undefined;
4335
+ callback?: {
4336
+ id: string;
4337
+ dueAt: string;
4338
+ originNotes: string | null;
4339
+ } | null | undefined;
4284
4340
  }>>>;
4285
4341
  ownResearchLead: z.ZodObject<{
4286
4342
  id: z.ZodString;
@@ -4384,13 +4440,13 @@ export declare const ownResearchContract: {
4384
4440
  firstName: string;
4385
4441
  }[] | undefined;
4386
4442
  } | null | undefined;
4443
+ deletedAt?: string | null | undefined;
4387
4444
  canImpersonateUsers?: {
4388
4445
  id: string;
4389
4446
  lastName: string;
4390
4447
  firstName: string;
4391
4448
  }[] | undefined;
4392
4449
  dialpadUserId?: string | null | undefined;
4393
- deletedAt?: string | null | undefined;
4394
4450
  }, {
4395
4451
  email: string;
4396
4452
  createdAt: string | Date;
@@ -4416,13 +4472,13 @@ export declare const ownResearchContract: {
4416
4472
  description?: string | null | undefined;
4417
4473
  isPrimary?: boolean | undefined;
4418
4474
  }[] | undefined;
4475
+ deletedAt?: string | Date | null | undefined;
4419
4476
  canImpersonateUsers?: {
4420
4477
  id: string;
4421
4478
  lastName: string;
4422
4479
  firstName: string;
4423
4480
  }[] | undefined;
4424
4481
  dialpadUserId?: string | null | undefined;
4425
- deletedAt?: string | Date | null | undefined;
4426
4482
  }>>;
4427
4483
  name: z.ZodString;
4428
4484
  phoneNumber: z.ZodString;
@@ -4476,13 +4532,13 @@ export declare const ownResearchContract: {
4476
4532
  firstName: string;
4477
4533
  }[] | undefined;
4478
4534
  } | null | undefined;
4535
+ deletedAt?: string | null | undefined;
4479
4536
  canImpersonateUsers?: {
4480
4537
  id: string;
4481
4538
  lastName: string;
4482
4539
  firstName: string;
4483
4540
  }[] | undefined;
4484
4541
  dialpadUserId?: string | null | undefined;
4485
- deletedAt?: string | null | undefined;
4486
4542
  } | undefined;
4487
4543
  }, {
4488
4544
  name: string;
@@ -4524,13 +4580,13 @@ export declare const ownResearchContract: {
4524
4580
  description?: string | null | undefined;
4525
4581
  isPrimary?: boolean | undefined;
4526
4582
  }[] | undefined;
4583
+ deletedAt?: string | Date | null | undefined;
4527
4584
  canImpersonateUsers?: {
4528
4585
  id: string;
4529
4586
  lastName: string;
4530
4587
  firstName: string;
4531
4588
  }[] | undefined;
4532
4589
  dialpadUserId?: string | null | undefined;
4533
- deletedAt?: string | Date | null | undefined;
4534
4590
  } | undefined;
4535
4591
  }>;
4536
4592
  }, "strip", z.ZodTypeAny, {
@@ -4574,13 +4630,13 @@ export declare const ownResearchContract: {
4574
4630
  firstName: string;
4575
4631
  }[] | undefined;
4576
4632
  } | null | undefined;
4633
+ deletedAt?: string | null | undefined;
4577
4634
  canImpersonateUsers?: {
4578
4635
  id: string;
4579
4636
  lastName: string;
4580
4637
  firstName: string;
4581
4638
  }[] | undefined;
4582
4639
  dialpadUserId?: string | null | undefined;
4583
- deletedAt?: string | null | undefined;
4584
4640
  } | undefined;
4585
4641
  };
4586
4642
  assignment?: {
@@ -4618,13 +4674,13 @@ export declare const ownResearchContract: {
4618
4674
  firstName: string;
4619
4675
  }[] | undefined;
4620
4676
  } | null | undefined;
4677
+ deletedAt?: string | null | undefined;
4621
4678
  canImpersonateUsers?: {
4622
4679
  id: string;
4623
4680
  lastName: string;
4624
4681
  firstName: string;
4625
4682
  }[] | undefined;
4626
4683
  dialpadUserId?: string | null | undefined;
4627
- deletedAt?: string | null | undefined;
4628
4684
  } | undefined;
4629
4685
  lead?: {
4630
4686
  name: string;
@@ -4636,6 +4692,11 @@ export declare const ownResearchContract: {
4636
4692
  updatedAt: string;
4637
4693
  id: string;
4638
4694
  } | null | undefined;
4695
+ callback?: {
4696
+ id: string;
4697
+ dueAt: string;
4698
+ originNotes: string | null;
4699
+ } | null | undefined;
4639
4700
  } | null | undefined;
4640
4701
  }, {
4641
4702
  ownResearchLead: {
@@ -4678,13 +4739,13 @@ export declare const ownResearchContract: {
4678
4739
  description?: string | null | undefined;
4679
4740
  isPrimary?: boolean | undefined;
4680
4741
  }[] | undefined;
4742
+ deletedAt?: string | Date | null | undefined;
4681
4743
  canImpersonateUsers?: {
4682
4744
  id: string;
4683
4745
  lastName: string;
4684
4746
  firstName: string;
4685
4747
  }[] | undefined;
4686
4748
  dialpadUserId?: string | null | undefined;
4687
- deletedAt?: string | Date | null | undefined;
4688
4749
  } | undefined;
4689
4750
  };
4690
4751
  assignment?: {
@@ -4722,13 +4783,13 @@ export declare const ownResearchContract: {
4722
4783
  description?: string | null | undefined;
4723
4784
  isPrimary?: boolean | undefined;
4724
4785
  }[] | undefined;
4786
+ deletedAt?: string | Date | null | undefined;
4725
4787
  canImpersonateUsers?: {
4726
4788
  id: string;
4727
4789
  lastName: string;
4728
4790
  firstName: string;
4729
4791
  }[] | undefined;
4730
4792
  dialpadUserId?: string | null | undefined;
4731
- deletedAt?: string | Date | null | undefined;
4732
4793
  } | undefined;
4733
4794
  lead?: {
4734
4795
  name: string;
@@ -4740,6 +4801,11 @@ export declare const ownResearchContract: {
4740
4801
  updatedAt: string | Date;
4741
4802
  id: string;
4742
4803
  } | null | undefined;
4804
+ callback?: {
4805
+ id: string;
4806
+ dueAt: string;
4807
+ originNotes: string | null;
4808
+ } | null | undefined;
4743
4809
  } | null | undefined;
4744
4810
  }>;
4745
4811
  };