@dakkitor/api-contracts 1.1.108 → 1.1.111

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 (31) hide show
  1. package/dist/actives/actives.contract.d.ts +3059 -3059
  2. package/dist/agent-client-links/agent-client-links.contract.d.ts +74 -74
  3. package/dist/bookings/bookings.contract.d.ts +11037 -11037
  4. package/dist/call-history/call-history.contract.d.ts +294 -294
  5. package/dist/client-contacts/client-contacts.contract.d.ts +186 -186
  6. package/dist/clients/clients.contract.d.ts +99 -99
  7. package/dist/clients/clients.contract.d.ts.map +1 -1
  8. package/dist/clients/clients.contract.js +5 -5
  9. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +440 -440
  10. package/dist/collaborations/collaborations.contract.d.ts +328 -328
  11. package/dist/companies/companies.contract.d.ts +22 -22
  12. package/dist/curated-workers/curated-workers.contract.d.ts +76 -76
  13. package/dist/dashboards/agent-daily-metrics.contract.d.ts +3 -3
  14. package/dist/dashboards/dashboard-widgets.contract.d.ts +274 -194
  15. package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
  16. package/dist/dashboards/dashboard-widgets.contract.js +130 -98
  17. package/dist/dashboards/dashboard.contract.d.ts +14 -14
  18. package/dist/files/files.contract.d.ts +24 -24
  19. package/dist/jobs/jobs.contract.d.ts +907 -907
  20. package/dist/lead-assignments/lead-assignments.contract.d.ts +160 -160
  21. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +34 -34
  22. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +7 -7
  23. package/dist/leads/leads.contract.d.ts +136 -136
  24. package/dist/postcodes/postcodes.contract.d.ts +18 -18
  25. package/dist/qualifications/qualifications.contract.d.ts +22 -22
  26. package/dist/trades/trades.contract.d.ts +16 -16
  27. package/dist/users/users.contract.d.ts +6 -6
  28. package/dist/workers/workers.contract.d.ts +288 -288
  29. package/package.json +41 -41
  30. package/dist/abilities/interconnection.json +0 -370
  31. package/dist/abilities/second-agent.abilities copy.json +0 -370
@@ -40,14 +40,14 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
40
40
  }>>>;
41
41
  }, "strip", z.ZodTypeAny, {
42
42
  id: string;
43
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
43
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
44
+ name: string;
45
+ director: string;
44
46
  createdAt: string;
45
47
  updatedAt: string;
46
- name: string;
47
48
  crn: string | null;
48
49
  govLink: string;
49
50
  soleTrader: boolean;
50
- director: string;
51
51
  blacklistReason?: string | null | undefined;
52
52
  lastUpdatedBy?: {
53
53
  id: string;
@@ -60,14 +60,14 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
60
60
  } | null | undefined;
61
61
  }, {
62
62
  id: string;
63
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
63
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
64
+ name: string;
65
+ director: string;
64
66
  createdAt: string | Date;
65
67
  updatedAt: string | Date;
66
- name: string;
67
68
  crn: string | null;
68
69
  govLink: string;
69
70
  soleTrader: boolean;
70
- director: string;
71
71
  blacklistReason?: string | null | undefined;
72
72
  lastUpdatedBy?: {
73
73
  id: string;
@@ -205,14 +205,14 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
205
205
  agentId: string;
206
206
  client: {
207
207
  id: string;
208
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
208
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
209
+ name: string;
210
+ director: string;
209
211
  createdAt: string;
210
212
  updatedAt: string;
211
- name: string;
212
213
  crn: string | null;
213
214
  govLink: string;
214
215
  soleTrader: boolean;
215
- director: string;
216
216
  blacklistReason?: string | null | undefined;
217
217
  lastUpdatedBy?: {
218
218
  id: string;
@@ -268,14 +268,14 @@ export declare const AgentClientLinkSchema: z.ZodObject<{
268
268
  agentId: string;
269
269
  client: {
270
270
  id: string;
271
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
271
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
272
+ name: string;
273
+ director: string;
272
274
  createdAt: string | Date;
273
275
  updatedAt: string | Date;
274
- name: string;
275
276
  crn: string | null;
276
277
  govLink: string;
277
278
  soleTrader: boolean;
278
- director: string;
279
279
  blacklistReason?: string | null | undefined;
280
280
  lastUpdatedBy?: {
281
281
  id: string;
@@ -343,11 +343,11 @@ export declare const FilterAgentClientLinkSchema: z.ZodObject<{
343
343
  clientId?: string | undefined;
344
344
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
345
345
  }, {
346
+ agentId?: string | undefined;
346
347
  limit?: number | undefined;
347
348
  page?: number | undefined;
348
349
  sortBy?: "createdAt" | undefined;
349
350
  sortOrder?: "ASC" | "DESC" | undefined;
350
- agentId?: string | undefined;
351
351
  clientId?: string | undefined;
352
352
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
353
353
  }>;
@@ -398,14 +398,14 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
398
398
  }>>>;
399
399
  }, "strip", z.ZodTypeAny, {
400
400
  id: string;
401
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
401
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
402
+ name: string;
403
+ director: string;
402
404
  createdAt: string;
403
405
  updatedAt: string;
404
- name: string;
405
406
  crn: string | null;
406
407
  govLink: string;
407
408
  soleTrader: boolean;
408
- director: string;
409
409
  blacklistReason?: string | null | undefined;
410
410
  lastUpdatedBy?: {
411
411
  id: string;
@@ -418,14 +418,14 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
418
418
  } | null | undefined;
419
419
  }, {
420
420
  id: string;
421
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
421
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
422
+ name: string;
423
+ director: string;
422
424
  createdAt: string | Date;
423
425
  updatedAt: string | Date;
424
- name: string;
425
426
  crn: string | null;
426
427
  govLink: string;
427
428
  soleTrader: boolean;
428
- director: string;
429
429
  blacklistReason?: string | null | undefined;
430
430
  lastUpdatedBy?: {
431
431
  id: string;
@@ -563,14 +563,14 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
563
563
  agentId: string;
564
564
  client: {
565
565
  id: string;
566
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
566
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
567
+ name: string;
568
+ director: string;
567
569
  createdAt: string;
568
570
  updatedAt: string;
569
- name: string;
570
571
  crn: string | null;
571
572
  govLink: string;
572
573
  soleTrader: boolean;
573
- director: string;
574
574
  blacklistReason?: string | null | undefined;
575
575
  lastUpdatedBy?: {
576
576
  id: string;
@@ -626,14 +626,14 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
626
626
  agentId: string;
627
627
  client: {
628
628
  id: string;
629
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
629
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
630
+ name: string;
631
+ director: string;
630
632
  createdAt: string | Date;
631
633
  updatedAt: string | Date;
632
- name: string;
633
634
  crn: string | null;
634
635
  govLink: string;
635
636
  soleTrader: boolean;
636
- director: string;
637
637
  blacklistReason?: string | null | undefined;
638
638
  lastUpdatedBy?: {
639
639
  id: string;
@@ -697,14 +697,14 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
697
697
  agentId: string;
698
698
  client: {
699
699
  id: string;
700
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
700
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
701
+ name: string;
702
+ director: string;
701
703
  createdAt: string;
702
704
  updatedAt: string;
703
- name: string;
704
705
  crn: string | null;
705
706
  govLink: string;
706
707
  soleTrader: boolean;
707
- director: string;
708
708
  blacklistReason?: string | null | undefined;
709
709
  lastUpdatedBy?: {
710
710
  id: string;
@@ -767,14 +767,14 @@ export declare const PaginatedAgentClientLinkResponseSchema: z.ZodObject<{
767
767
  agentId: string;
768
768
  client: {
769
769
  id: string;
770
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
770
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
771
+ name: string;
772
+ director: string;
771
773
  createdAt: string | Date;
772
774
  updatedAt: string | Date;
773
- name: string;
774
775
  crn: string | null;
775
776
  govLink: string;
776
777
  soleTrader: boolean;
777
- director: string;
778
778
  blacklistReason?: string | null | undefined;
779
779
  lastUpdatedBy?: {
780
780
  id: string;
@@ -855,11 +855,11 @@ export declare const agentClientLinksContract: {
855
855
  clientId?: string | undefined;
856
856
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
857
857
  }, {
858
+ agentId?: string | undefined;
858
859
  limit?: number | undefined;
859
860
  page?: number | undefined;
860
861
  sortBy?: "createdAt" | undefined;
861
862
  sortOrder?: "ASC" | "DESC" | undefined;
862
- agentId?: string | undefined;
863
863
  clientId?: string | undefined;
864
864
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
865
865
  }>;
@@ -1010,14 +1010,14 @@ export declare const agentClientLinksContract: {
1010
1010
  }>>>;
1011
1011
  }, "strip", z.ZodTypeAny, {
1012
1012
  id: string;
1013
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1013
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1014
+ name: string;
1015
+ director: string;
1014
1016
  createdAt: string;
1015
1017
  updatedAt: string;
1016
- name: string;
1017
1018
  crn: string | null;
1018
1019
  govLink: string;
1019
1020
  soleTrader: boolean;
1020
- director: string;
1021
1021
  blacklistReason?: string | null | undefined;
1022
1022
  lastUpdatedBy?: {
1023
1023
  id: string;
@@ -1030,14 +1030,14 @@ export declare const agentClientLinksContract: {
1030
1030
  } | null | undefined;
1031
1031
  }, {
1032
1032
  id: string;
1033
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1033
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1034
+ name: string;
1035
+ director: string;
1034
1036
  createdAt: string | Date;
1035
1037
  updatedAt: string | Date;
1036
- name: string;
1037
1038
  crn: string | null;
1038
1039
  govLink: string;
1039
1040
  soleTrader: boolean;
1040
- director: string;
1041
1041
  blacklistReason?: string | null | undefined;
1042
1042
  lastUpdatedBy?: {
1043
1043
  id: string;
@@ -1175,14 +1175,14 @@ export declare const agentClientLinksContract: {
1175
1175
  agentId: string;
1176
1176
  client: {
1177
1177
  id: string;
1178
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1178
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1179
+ name: string;
1180
+ director: string;
1179
1181
  createdAt: string;
1180
1182
  updatedAt: string;
1181
- name: string;
1182
1183
  crn: string | null;
1183
1184
  govLink: string;
1184
1185
  soleTrader: boolean;
1185
- director: string;
1186
1186
  blacklistReason?: string | null | undefined;
1187
1187
  lastUpdatedBy?: {
1188
1188
  id: string;
@@ -1238,14 +1238,14 @@ export declare const agentClientLinksContract: {
1238
1238
  agentId: string;
1239
1239
  client: {
1240
1240
  id: string;
1241
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1241
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1242
+ name: string;
1243
+ director: string;
1242
1244
  createdAt: string | Date;
1243
1245
  updatedAt: string | Date;
1244
- name: string;
1245
1246
  crn: string | null;
1246
1247
  govLink: string;
1247
1248
  soleTrader: boolean;
1248
- director: string;
1249
1249
  blacklistReason?: string | null | undefined;
1250
1250
  lastUpdatedBy?: {
1251
1251
  id: string;
@@ -1309,14 +1309,14 @@ export declare const agentClientLinksContract: {
1309
1309
  agentId: string;
1310
1310
  client: {
1311
1311
  id: string;
1312
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1312
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1313
+ name: string;
1314
+ director: string;
1313
1315
  createdAt: string;
1314
1316
  updatedAt: string;
1315
- name: string;
1316
1317
  crn: string | null;
1317
1318
  govLink: string;
1318
1319
  soleTrader: boolean;
1319
- director: string;
1320
1320
  blacklistReason?: string | null | undefined;
1321
1321
  lastUpdatedBy?: {
1322
1322
  id: string;
@@ -1379,14 +1379,14 @@ export declare const agentClientLinksContract: {
1379
1379
  agentId: string;
1380
1380
  client: {
1381
1381
  id: string;
1382
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1382
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1383
+ name: string;
1384
+ director: string;
1383
1385
  createdAt: string | Date;
1384
1386
  updatedAt: string | Date;
1385
- name: string;
1386
1387
  crn: string | null;
1387
1388
  govLink: string;
1388
1389
  soleTrader: boolean;
1389
- director: string;
1390
1390
  blacklistReason?: string | null | undefined;
1391
1391
  lastUpdatedBy?: {
1392
1392
  id: string;
@@ -1597,14 +1597,14 @@ export declare const agentClientLinksContract: {
1597
1597
  }>>>;
1598
1598
  }, "strip", z.ZodTypeAny, {
1599
1599
  id: string;
1600
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1600
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1601
+ name: string;
1602
+ director: string;
1601
1603
  createdAt: string;
1602
1604
  updatedAt: string;
1603
- name: string;
1604
1605
  crn: string | null;
1605
1606
  govLink: string;
1606
1607
  soleTrader: boolean;
1607
- director: string;
1608
1608
  blacklistReason?: string | null | undefined;
1609
1609
  lastUpdatedBy?: {
1610
1610
  id: string;
@@ -1617,14 +1617,14 @@ export declare const agentClientLinksContract: {
1617
1617
  } | null | undefined;
1618
1618
  }, {
1619
1619
  id: string;
1620
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1620
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1621
+ name: string;
1622
+ director: string;
1621
1623
  createdAt: string | Date;
1622
1624
  updatedAt: string | Date;
1623
- name: string;
1624
1625
  crn: string | null;
1625
1626
  govLink: string;
1626
1627
  soleTrader: boolean;
1627
- director: string;
1628
1628
  blacklistReason?: string | null | undefined;
1629
1629
  lastUpdatedBy?: {
1630
1630
  id: string;
@@ -1762,14 +1762,14 @@ export declare const agentClientLinksContract: {
1762
1762
  agentId: string;
1763
1763
  client: {
1764
1764
  id: string;
1765
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1765
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1766
+ name: string;
1767
+ director: string;
1766
1768
  createdAt: string;
1767
1769
  updatedAt: string;
1768
- name: string;
1769
1770
  crn: string | null;
1770
1771
  govLink: string;
1771
1772
  soleTrader: boolean;
1772
- director: string;
1773
1773
  blacklistReason?: string | null | undefined;
1774
1774
  lastUpdatedBy?: {
1775
1775
  id: string;
@@ -1825,14 +1825,14 @@ export declare const agentClientLinksContract: {
1825
1825
  agentId: string;
1826
1826
  client: {
1827
1827
  id: string;
1828
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
1828
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
1829
+ name: string;
1830
+ director: string;
1829
1831
  createdAt: string | Date;
1830
1832
  updatedAt: string | Date;
1831
- name: string;
1832
1833
  crn: string | null;
1833
1834
  govLink: string;
1834
1835
  soleTrader: boolean;
1835
- director: string;
1836
1836
  blacklistReason?: string | null | undefined;
1837
1837
  lastUpdatedBy?: {
1838
1838
  id: string;
@@ -2070,14 +2070,14 @@ export declare const agentClientLinksContract: {
2070
2070
  }>>>;
2071
2071
  }, "strip", z.ZodTypeAny, {
2072
2072
  id: string;
2073
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2073
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2074
+ name: string;
2075
+ director: string;
2074
2076
  createdAt: string;
2075
2077
  updatedAt: string;
2076
- name: string;
2077
2078
  crn: string | null;
2078
2079
  govLink: string;
2079
2080
  soleTrader: boolean;
2080
- director: string;
2081
2081
  blacklistReason?: string | null | undefined;
2082
2082
  lastUpdatedBy?: {
2083
2083
  id: string;
@@ -2090,14 +2090,14 @@ export declare const agentClientLinksContract: {
2090
2090
  } | null | undefined;
2091
2091
  }, {
2092
2092
  id: string;
2093
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2093
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2094
+ name: string;
2095
+ director: string;
2094
2096
  createdAt: string | Date;
2095
2097
  updatedAt: string | Date;
2096
- name: string;
2097
2098
  crn: string | null;
2098
2099
  govLink: string;
2099
2100
  soleTrader: boolean;
2100
- director: string;
2101
2101
  blacklistReason?: string | null | undefined;
2102
2102
  lastUpdatedBy?: {
2103
2103
  id: string;
@@ -2235,14 +2235,14 @@ export declare const agentClientLinksContract: {
2235
2235
  agentId: string;
2236
2236
  client: {
2237
2237
  id: string;
2238
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2238
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2239
+ name: string;
2240
+ director: string;
2239
2241
  createdAt: string;
2240
2242
  updatedAt: string;
2241
- name: string;
2242
2243
  crn: string | null;
2243
2244
  govLink: string;
2244
2245
  soleTrader: boolean;
2245
- director: string;
2246
2246
  blacklistReason?: string | null | undefined;
2247
2247
  lastUpdatedBy?: {
2248
2248
  id: string;
@@ -2298,14 +2298,14 @@ export declare const agentClientLinksContract: {
2298
2298
  agentId: string;
2299
2299
  client: {
2300
2300
  id: string;
2301
- status: "BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION";
2301
+ status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
2302
+ name: string;
2303
+ director: string;
2302
2304
  createdAt: string | Date;
2303
2305
  updatedAt: string | Date;
2304
- name: string;
2305
2306
  crn: string | null;
2306
2307
  govLink: string;
2307
2308
  soleTrader: boolean;
2308
- director: string;
2309
2309
  blacklistReason?: string | null | undefined;
2310
2310
  lastUpdatedBy?: {
2311
2311
  id: string;