@dakkitor/api-contracts 1.1.109 → 1.1.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +3059 -3059
- package/dist/agent-client-links/agent-client-links.contract.d.ts +74 -74
- package/dist/bookings/bookings.contract.d.ts +11037 -11037
- package/dist/call-history/call-history.contract.d.ts +294 -294
- package/dist/client-contacts/client-contacts.contract.d.ts +186 -186
- package/dist/clients/clients.contract.d.ts +99 -99
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +5 -5
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +440 -440
- package/dist/collaborations/collaborations.contract.d.ts +328 -328
- package/dist/companies/companies.contract.d.ts +22 -22
- package/dist/curated-workers/curated-workers.contract.d.ts +76 -76
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +3 -3
- package/dist/dashboards/dashboard-widgets.contract.d.ts +224 -150
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +124 -101
- package/dist/dashboards/dashboard.contract.d.ts +14 -14
- package/dist/files/files.contract.d.ts +24 -24
- package/dist/jobs/jobs.contract.d.ts +907 -907
- package/dist/lead-assignments/lead-assignments.contract.d.ts +160 -160
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +34 -34
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +7 -7
- package/dist/leads/leads.contract.d.ts +136 -136
- package/dist/postcodes/postcodes.contract.d.ts +18 -18
- package/dist/qualifications/qualifications.contract.d.ts +22 -22
- package/dist/trades/trades.contract.d.ts +16 -16
- package/dist/users/users.contract.d.ts +6 -6
- package/dist/workers/workers.contract.d.ts +288 -288
- package/package.json +41 -41
- package/dist/abilities/interconnection.json +0 -370
- package/dist/abilities/second-agent.abilities copy.json +0 -370
|
@@ -41,29 +41,29 @@ export declare const FileResponseSchema: z.ZodObject<{
|
|
|
41
41
|
description: string | null;
|
|
42
42
|
createdAt: string;
|
|
43
43
|
updatedAt: string;
|
|
44
|
+
userId: string;
|
|
45
|
+
location: string;
|
|
44
46
|
size: number;
|
|
45
47
|
originalName: string;
|
|
46
48
|
storageKey: string;
|
|
47
49
|
mimeType: string;
|
|
48
|
-
location: string;
|
|
49
50
|
storageProvider: string;
|
|
50
51
|
entityType: string | null;
|
|
51
52
|
entityId: string | null;
|
|
52
|
-
userId: string;
|
|
53
53
|
}, {
|
|
54
54
|
id: string;
|
|
55
55
|
description: string | null;
|
|
56
56
|
createdAt: string | Date;
|
|
57
57
|
updatedAt: string | Date;
|
|
58
|
+
userId: string;
|
|
59
|
+
location: string;
|
|
58
60
|
size: number;
|
|
59
61
|
originalName: string;
|
|
60
62
|
storageKey: string;
|
|
61
63
|
mimeType: string;
|
|
62
|
-
location: string;
|
|
63
64
|
storageProvider: string;
|
|
64
65
|
entityType: string | null;
|
|
65
66
|
entityId: string | null;
|
|
66
|
-
userId: string;
|
|
67
67
|
}>;
|
|
68
68
|
export declare const FileDownloadUrlResponseSchema: z.ZodObject<{
|
|
69
69
|
url: z.ZodString;
|
|
@@ -101,29 +101,29 @@ export declare const FileResponseArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
101
101
|
description: string | null;
|
|
102
102
|
createdAt: string;
|
|
103
103
|
updatedAt: string;
|
|
104
|
+
userId: string;
|
|
105
|
+
location: string;
|
|
104
106
|
size: number;
|
|
105
107
|
originalName: string;
|
|
106
108
|
storageKey: string;
|
|
107
109
|
mimeType: string;
|
|
108
|
-
location: string;
|
|
109
110
|
storageProvider: string;
|
|
110
111
|
entityType: string | null;
|
|
111
112
|
entityId: string | null;
|
|
112
|
-
userId: string;
|
|
113
113
|
}, {
|
|
114
114
|
id: string;
|
|
115
115
|
description: string | null;
|
|
116
116
|
createdAt: string | Date;
|
|
117
117
|
updatedAt: string | Date;
|
|
118
|
+
userId: string;
|
|
119
|
+
location: string;
|
|
118
120
|
size: number;
|
|
119
121
|
originalName: string;
|
|
120
122
|
storageKey: string;
|
|
121
123
|
mimeType: string;
|
|
122
|
-
location: string;
|
|
123
124
|
storageProvider: string;
|
|
124
125
|
entityType: string | null;
|
|
125
126
|
entityId: string | null;
|
|
126
|
-
userId: string;
|
|
127
127
|
}>, "many">;
|
|
128
128
|
export type GenerateUploadUrl = z.infer<typeof GenerateUploadUrlSchema>;
|
|
129
129
|
export type GenerateUploadUrlResponse = z.infer<typeof GenerateUploadUrlResponseSchema>;
|
|
@@ -367,29 +367,29 @@ export declare const filesContract: {
|
|
|
367
367
|
description: string | null;
|
|
368
368
|
createdAt: string;
|
|
369
369
|
updatedAt: string;
|
|
370
|
+
userId: string;
|
|
371
|
+
location: string;
|
|
370
372
|
size: number;
|
|
371
373
|
originalName: string;
|
|
372
374
|
storageKey: string;
|
|
373
375
|
mimeType: string;
|
|
374
|
-
location: string;
|
|
375
376
|
storageProvider: string;
|
|
376
377
|
entityType: string | null;
|
|
377
378
|
entityId: string | null;
|
|
378
|
-
userId: string;
|
|
379
379
|
}, {
|
|
380
380
|
id: string;
|
|
381
381
|
description: string | null;
|
|
382
382
|
createdAt: string | Date;
|
|
383
383
|
updatedAt: string | Date;
|
|
384
|
+
userId: string;
|
|
385
|
+
location: string;
|
|
384
386
|
size: number;
|
|
385
387
|
originalName: string;
|
|
386
388
|
storageKey: string;
|
|
387
389
|
mimeType: string;
|
|
388
|
-
location: string;
|
|
389
390
|
storageProvider: string;
|
|
390
391
|
entityType: string | null;
|
|
391
392
|
entityId: string | null;
|
|
392
|
-
userId: string;
|
|
393
393
|
}>, "many">;
|
|
394
394
|
403: z.ZodObject<{
|
|
395
395
|
statusCode: z.ZodNumber;
|
|
@@ -530,29 +530,29 @@ export declare const filesContract: {
|
|
|
530
530
|
description: string | null;
|
|
531
531
|
createdAt: string;
|
|
532
532
|
updatedAt: string;
|
|
533
|
+
userId: string;
|
|
534
|
+
location: string;
|
|
533
535
|
size: number;
|
|
534
536
|
originalName: string;
|
|
535
537
|
storageKey: string;
|
|
536
538
|
mimeType: string;
|
|
537
|
-
location: string;
|
|
538
539
|
storageProvider: string;
|
|
539
540
|
entityType: string | null;
|
|
540
541
|
entityId: string | null;
|
|
541
|
-
userId: string;
|
|
542
542
|
}, {
|
|
543
543
|
id: string;
|
|
544
544
|
description: string | null;
|
|
545
545
|
createdAt: string | Date;
|
|
546
546
|
updatedAt: string | Date;
|
|
547
|
+
userId: string;
|
|
548
|
+
location: string;
|
|
547
549
|
size: number;
|
|
548
550
|
originalName: string;
|
|
549
551
|
storageKey: string;
|
|
550
552
|
mimeType: string;
|
|
551
|
-
location: string;
|
|
552
553
|
storageProvider: string;
|
|
553
554
|
entityType: string | null;
|
|
554
555
|
entityId: string | null;
|
|
555
|
-
userId: string;
|
|
556
556
|
}>, "many">;
|
|
557
557
|
403: z.ZodObject<{
|
|
558
558
|
statusCode: z.ZodNumber;
|
|
@@ -690,29 +690,29 @@ export declare const filesContract: {
|
|
|
690
690
|
description: string | null;
|
|
691
691
|
createdAt: string;
|
|
692
692
|
updatedAt: string;
|
|
693
|
+
userId: string;
|
|
694
|
+
location: string;
|
|
693
695
|
size: number;
|
|
694
696
|
originalName: string;
|
|
695
697
|
storageKey: string;
|
|
696
698
|
mimeType: string;
|
|
697
|
-
location: string;
|
|
698
699
|
storageProvider: string;
|
|
699
700
|
entityType: string | null;
|
|
700
701
|
entityId: string | null;
|
|
701
|
-
userId: string;
|
|
702
702
|
}, {
|
|
703
703
|
id: string;
|
|
704
704
|
description: string | null;
|
|
705
705
|
createdAt: string | Date;
|
|
706
706
|
updatedAt: string | Date;
|
|
707
|
+
userId: string;
|
|
708
|
+
location: string;
|
|
707
709
|
size: number;
|
|
708
710
|
originalName: string;
|
|
709
711
|
storageKey: string;
|
|
710
712
|
mimeType: string;
|
|
711
|
-
location: string;
|
|
712
713
|
storageProvider: string;
|
|
713
714
|
entityType: string | null;
|
|
714
715
|
entityId: string | null;
|
|
715
|
-
userId: string;
|
|
716
716
|
}>;
|
|
717
717
|
404: z.ZodObject<{
|
|
718
718
|
statusCode: z.ZodNumber;
|
|
@@ -1034,29 +1034,29 @@ export declare const filesContract: {
|
|
|
1034
1034
|
description: string | null;
|
|
1035
1035
|
createdAt: string;
|
|
1036
1036
|
updatedAt: string;
|
|
1037
|
+
userId: string;
|
|
1038
|
+
location: string;
|
|
1037
1039
|
size: number;
|
|
1038
1040
|
originalName: string;
|
|
1039
1041
|
storageKey: string;
|
|
1040
1042
|
mimeType: string;
|
|
1041
|
-
location: string;
|
|
1042
1043
|
storageProvider: string;
|
|
1043
1044
|
entityType: string | null;
|
|
1044
1045
|
entityId: string | null;
|
|
1045
|
-
userId: string;
|
|
1046
1046
|
}, {
|
|
1047
1047
|
id: string;
|
|
1048
1048
|
description: string | null;
|
|
1049
1049
|
createdAt: string | Date;
|
|
1050
1050
|
updatedAt: string | Date;
|
|
1051
|
+
userId: string;
|
|
1052
|
+
location: string;
|
|
1051
1053
|
size: number;
|
|
1052
1054
|
originalName: string;
|
|
1053
1055
|
storageKey: string;
|
|
1054
1056
|
mimeType: string;
|
|
1055
|
-
location: string;
|
|
1056
1057
|
storageProvider: string;
|
|
1057
1058
|
entityType: string | null;
|
|
1058
1059
|
entityId: string | null;
|
|
1059
|
-
userId: string;
|
|
1060
1060
|
}>;
|
|
1061
1061
|
404: z.ZodObject<{
|
|
1062
1062
|
statusCode: z.ZodNumber;
|