@dakkitor/api-contracts 1.1.109 → 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.
- 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
|
@@ -262,7 +262,7 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
262
262
|
postcode?: string | null | undefined;
|
|
263
263
|
}>>>;
|
|
264
264
|
}, "strip", z.ZodTypeAny, {
|
|
265
|
-
status: "
|
|
265
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
266
266
|
firstName: string;
|
|
267
267
|
lastName: string;
|
|
268
268
|
phoneNumbers: {
|
|
@@ -276,8 +276,8 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
276
276
|
}[];
|
|
277
277
|
hasTools: boolean;
|
|
278
278
|
hasPpe: boolean;
|
|
279
|
-
rating?: number | null | undefined;
|
|
280
279
|
email?: string | null | undefined;
|
|
280
|
+
rating?: number | null | undefined;
|
|
281
281
|
nino?: string | null | undefined;
|
|
282
282
|
dateOfBirth?: string | null | undefined;
|
|
283
283
|
bio?: string | null | undefined;
|
|
@@ -309,9 +309,9 @@ export declare const CreateCuratedWorkerSchema: z.ZodObject<{
|
|
|
309
309
|
}[];
|
|
310
310
|
hasTools: boolean;
|
|
311
311
|
hasPpe: boolean;
|
|
312
|
-
status?: "
|
|
313
|
-
rating?: number | null | undefined;
|
|
312
|
+
status?: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
314
313
|
email?: string | null | undefined;
|
|
314
|
+
rating?: number | null | undefined;
|
|
315
315
|
nino?: string | null | undefined;
|
|
316
316
|
dateOfBirth?: string | Date | null | undefined;
|
|
317
317
|
bio?: string | null | undefined;
|
|
@@ -417,8 +417,7 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
|
417
417
|
isPrimary?: boolean | undefined;
|
|
418
418
|
}>, "many">>>;
|
|
419
419
|
}, "strip", z.ZodTypeAny, {
|
|
420
|
-
status?: "
|
|
421
|
-
rating?: number | null | undefined;
|
|
420
|
+
status?: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
422
421
|
firstName?: string | undefined;
|
|
423
422
|
lastName?: string | undefined;
|
|
424
423
|
email?: string | null | undefined;
|
|
@@ -428,6 +427,7 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
|
428
427
|
description?: string | null | undefined;
|
|
429
428
|
isPrimary?: boolean | undefined;
|
|
430
429
|
}[] | null | undefined;
|
|
430
|
+
rating?: number | null | undefined;
|
|
431
431
|
nino?: string | null | undefined;
|
|
432
432
|
dateOfBirth?: string | null | undefined;
|
|
433
433
|
bio?: string | null | undefined;
|
|
@@ -453,8 +453,7 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
|
453
453
|
postcode?: string | null | undefined;
|
|
454
454
|
} | null | undefined;
|
|
455
455
|
}, {
|
|
456
|
-
status?: "
|
|
457
|
-
rating?: number | null | undefined;
|
|
456
|
+
status?: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
458
457
|
firstName?: string | undefined;
|
|
459
458
|
lastName?: string | undefined;
|
|
460
459
|
email?: string | null | undefined;
|
|
@@ -464,6 +463,7 @@ export declare const UpdateCuratedWorkerSchema: z.ZodObject<{
|
|
|
464
463
|
description?: string | null | undefined;
|
|
465
464
|
isPrimary?: boolean | undefined;
|
|
466
465
|
}[] | null | undefined;
|
|
466
|
+
rating?: number | null | undefined;
|
|
467
467
|
nino?: string | null | undefined;
|
|
468
468
|
dateOfBirth?: string | Date | null | undefined;
|
|
469
469
|
bio?: string | null | undefined;
|
|
@@ -605,14 +605,13 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
605
605
|
}>, "many">>>;
|
|
606
606
|
}, "strip", z.ZodTypeAny, {
|
|
607
607
|
id: string;
|
|
608
|
-
status: "
|
|
608
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
609
609
|
createdAt: string;
|
|
610
610
|
updatedAt: string;
|
|
611
611
|
firstName: string;
|
|
612
612
|
lastName: string;
|
|
613
613
|
hasTools: boolean;
|
|
614
614
|
hasPpe: boolean;
|
|
615
|
-
rating?: number | null | undefined;
|
|
616
615
|
email?: string | null | undefined;
|
|
617
616
|
phoneNumbers?: {
|
|
618
617
|
id: string;
|
|
@@ -622,6 +621,7 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
622
621
|
updatedAt: string;
|
|
623
622
|
description?: string | null | undefined;
|
|
624
623
|
}[] | null | undefined;
|
|
624
|
+
rating?: number | null | undefined;
|
|
625
625
|
nino?: string | null | undefined;
|
|
626
626
|
dateOfBirth?: string | null | undefined;
|
|
627
627
|
bio?: string | null | undefined;
|
|
@@ -656,14 +656,13 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
656
656
|
} | null | undefined;
|
|
657
657
|
}, {
|
|
658
658
|
id: string;
|
|
659
|
-
status: "
|
|
659
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
660
660
|
createdAt: string | Date;
|
|
661
661
|
updatedAt: string | Date;
|
|
662
662
|
firstName: string;
|
|
663
663
|
lastName: string;
|
|
664
664
|
hasTools: boolean;
|
|
665
665
|
hasPpe: boolean;
|
|
666
|
-
rating?: number | null | undefined;
|
|
667
666
|
email?: string | null | undefined;
|
|
668
667
|
phoneNumbers?: {
|
|
669
668
|
id: string;
|
|
@@ -673,6 +672,7 @@ export declare const CuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
673
672
|
description?: string | null | undefined;
|
|
674
673
|
isPrimary?: boolean | undefined;
|
|
675
674
|
}[] | null | undefined;
|
|
675
|
+
rating?: number | null | undefined;
|
|
676
676
|
nino?: string | null | undefined;
|
|
677
677
|
dateOfBirth?: string | Date | null | undefined;
|
|
678
678
|
bio?: string | null | undefined;
|
|
@@ -823,14 +823,13 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
823
823
|
}>, "many">>>;
|
|
824
824
|
}, "strip", z.ZodTypeAny, {
|
|
825
825
|
id: string;
|
|
826
|
-
status: "
|
|
826
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
827
827
|
createdAt: string;
|
|
828
828
|
updatedAt: string;
|
|
829
829
|
firstName: string;
|
|
830
830
|
lastName: string;
|
|
831
831
|
hasTools: boolean;
|
|
832
832
|
hasPpe: boolean;
|
|
833
|
-
rating?: number | null | undefined;
|
|
834
833
|
email?: string | null | undefined;
|
|
835
834
|
phoneNumbers?: {
|
|
836
835
|
id: string;
|
|
@@ -840,6 +839,7 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
840
839
|
updatedAt: string;
|
|
841
840
|
description?: string | null | undefined;
|
|
842
841
|
}[] | null | undefined;
|
|
842
|
+
rating?: number | null | undefined;
|
|
843
843
|
nino?: string | null | undefined;
|
|
844
844
|
dateOfBirth?: string | null | undefined;
|
|
845
845
|
bio?: string | null | undefined;
|
|
@@ -874,14 +874,13 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
874
874
|
} | null | undefined;
|
|
875
875
|
}, {
|
|
876
876
|
id: string;
|
|
877
|
-
status: "
|
|
877
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
878
878
|
createdAt: string | Date;
|
|
879
879
|
updatedAt: string | Date;
|
|
880
880
|
firstName: string;
|
|
881
881
|
lastName: string;
|
|
882
882
|
hasTools: boolean;
|
|
883
883
|
hasPpe: boolean;
|
|
884
|
-
rating?: number | null | undefined;
|
|
885
884
|
email?: string | null | undefined;
|
|
886
885
|
phoneNumbers?: {
|
|
887
886
|
id: string;
|
|
@@ -891,6 +890,7 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
891
890
|
description?: string | null | undefined;
|
|
892
891
|
isPrimary?: boolean | undefined;
|
|
893
892
|
}[] | null | undefined;
|
|
893
|
+
rating?: number | null | undefined;
|
|
894
894
|
nino?: string | null | undefined;
|
|
895
895
|
dateOfBirth?: string | Date | null | undefined;
|
|
896
896
|
bio?: string | null | undefined;
|
|
@@ -933,14 +933,13 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
933
933
|
limit: number;
|
|
934
934
|
items: {
|
|
935
935
|
id: string;
|
|
936
|
-
status: "
|
|
936
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
937
937
|
createdAt: string;
|
|
938
938
|
updatedAt: string;
|
|
939
939
|
firstName: string;
|
|
940
940
|
lastName: string;
|
|
941
941
|
hasTools: boolean;
|
|
942
942
|
hasPpe: boolean;
|
|
943
|
-
rating?: number | null | undefined;
|
|
944
943
|
email?: string | null | undefined;
|
|
945
944
|
phoneNumbers?: {
|
|
946
945
|
id: string;
|
|
@@ -950,6 +949,7 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
950
949
|
updatedAt: string;
|
|
951
950
|
description?: string | null | undefined;
|
|
952
951
|
}[] | null | undefined;
|
|
952
|
+
rating?: number | null | undefined;
|
|
953
953
|
nino?: string | null | undefined;
|
|
954
954
|
dateOfBirth?: string | null | undefined;
|
|
955
955
|
bio?: string | null | undefined;
|
|
@@ -991,14 +991,13 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
991
991
|
limit: number;
|
|
992
992
|
items: {
|
|
993
993
|
id: string;
|
|
994
|
-
status: "
|
|
994
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
995
995
|
createdAt: string | Date;
|
|
996
996
|
updatedAt: string | Date;
|
|
997
997
|
firstName: string;
|
|
998
998
|
lastName: string;
|
|
999
999
|
hasTools: boolean;
|
|
1000
1000
|
hasPpe: boolean;
|
|
1001
|
-
rating?: number | null | undefined;
|
|
1002
1001
|
email?: string | null | undefined;
|
|
1003
1002
|
phoneNumbers?: {
|
|
1004
1003
|
id: string;
|
|
@@ -1008,6 +1007,7 @@ export declare const PaginatedCuratedWorkerResponseSchema: z.ZodObject<{
|
|
|
1008
1007
|
description?: string | null | undefined;
|
|
1009
1008
|
isPrimary?: boolean | undefined;
|
|
1010
1009
|
}[] | null | undefined;
|
|
1010
|
+
rating?: number | null | undefined;
|
|
1011
1011
|
nino?: string | null | undefined;
|
|
1012
1012
|
dateOfBirth?: string | Date | null | undefined;
|
|
1013
1013
|
bio?: string | null | undefined;
|
|
@@ -1093,10 +1093,10 @@ export declare const FilterCuratedWorkerSchema: z.ZodObject<{
|
|
|
1093
1093
|
limit: number;
|
|
1094
1094
|
page: number;
|
|
1095
1095
|
sortOrder: "ASC" | "DESC";
|
|
1096
|
-
status?: "
|
|
1096
|
+
status?: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1097
1097
|
name?: string | undefined;
|
|
1098
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
|
|
1099
1098
|
email?: string | undefined;
|
|
1099
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | "rating" | undefined;
|
|
1100
1100
|
phone?: string | undefined;
|
|
1101
1101
|
nino?: string | undefined;
|
|
1102
1102
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
@@ -1105,22 +1105,22 @@ export declare const FilterCuratedWorkerSchema: z.ZodObject<{
|
|
|
1105
1105
|
postcode?: string | null | undefined;
|
|
1106
1106
|
radius?: number | null | undefined;
|
|
1107
1107
|
} | undefined;
|
|
1108
|
-
tradeFilters?: {
|
|
1109
|
-
tradeId?: string | undefined;
|
|
1110
|
-
mainTrade?: boolean | undefined;
|
|
1111
|
-
}[] | undefined;
|
|
1112
1108
|
qualificationFilters?: {
|
|
1113
1109
|
qualificationId?: string | undefined;
|
|
1114
1110
|
qualificationTypeId?: string | undefined;
|
|
1115
1111
|
}[] | undefined;
|
|
1112
|
+
tradeFilters?: {
|
|
1113
|
+
tradeId?: string | undefined;
|
|
1114
|
+
mainTrade?: boolean | undefined;
|
|
1115
|
+
}[] | undefined;
|
|
1116
1116
|
}, {
|
|
1117
|
-
status?: "
|
|
1117
|
+
status?: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1118
|
+
name?: string | undefined;
|
|
1119
|
+
email?: string | undefined;
|
|
1118
1120
|
limit?: number | undefined;
|
|
1119
1121
|
page?: number | undefined;
|
|
1120
|
-
|
|
1121
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
|
|
1122
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | "rating" | undefined;
|
|
1122
1123
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1123
|
-
email?: string | undefined;
|
|
1124
1124
|
phone?: string | undefined;
|
|
1125
1125
|
nino?: string | undefined;
|
|
1126
1126
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
@@ -1129,14 +1129,14 @@ export declare const FilterCuratedWorkerSchema: z.ZodObject<{
|
|
|
1129
1129
|
postcode?: string | null | undefined;
|
|
1130
1130
|
radius?: number | null | undefined;
|
|
1131
1131
|
} | undefined;
|
|
1132
|
-
tradeFilters?: {
|
|
1133
|
-
tradeId?: string | undefined;
|
|
1134
|
-
mainTrade?: unknown;
|
|
1135
|
-
}[] | undefined;
|
|
1136
1132
|
qualificationFilters?: {
|
|
1137
1133
|
qualificationId?: string | undefined;
|
|
1138
1134
|
qualificationTypeId?: string | undefined;
|
|
1139
1135
|
}[] | undefined;
|
|
1136
|
+
tradeFilters?: {
|
|
1137
|
+
tradeId?: string | undefined;
|
|
1138
|
+
mainTrade?: unknown;
|
|
1139
|
+
}[] | undefined;
|
|
1140
1140
|
}>;
|
|
1141
1141
|
export type CreateCuratedWorkerPhoneNumber = z.infer<typeof CreateCuratedWorkerPhoneNumberSchema>;
|
|
1142
1142
|
export type UpdateCuratedWorkerPhoneNumber = z.infer<typeof UpdateCuratedWorkerPhoneNumberSchema>;
|
|
@@ -1228,7 +1228,7 @@ export declare const curatedWorkersContract: {
|
|
|
1228
1228
|
postcode?: string | null | undefined;
|
|
1229
1229
|
}>>>;
|
|
1230
1230
|
}, "strip", z.ZodTypeAny, {
|
|
1231
|
-
status: "
|
|
1231
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1232
1232
|
firstName: string;
|
|
1233
1233
|
lastName: string;
|
|
1234
1234
|
phoneNumbers: {
|
|
@@ -1242,8 +1242,8 @@ export declare const curatedWorkersContract: {
|
|
|
1242
1242
|
}[];
|
|
1243
1243
|
hasTools: boolean;
|
|
1244
1244
|
hasPpe: boolean;
|
|
1245
|
-
rating?: number | null | undefined;
|
|
1246
1245
|
email?: string | null | undefined;
|
|
1246
|
+
rating?: number | null | undefined;
|
|
1247
1247
|
nino?: string | null | undefined;
|
|
1248
1248
|
dateOfBirth?: string | null | undefined;
|
|
1249
1249
|
bio?: string | null | undefined;
|
|
@@ -1275,9 +1275,9 @@ export declare const curatedWorkersContract: {
|
|
|
1275
1275
|
}[];
|
|
1276
1276
|
hasTools: boolean;
|
|
1277
1277
|
hasPpe: boolean;
|
|
1278
|
-
status?: "
|
|
1279
|
-
rating?: number | null | undefined;
|
|
1278
|
+
status?: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1280
1279
|
email?: string | null | undefined;
|
|
1280
|
+
rating?: number | null | undefined;
|
|
1281
1281
|
nino?: string | null | undefined;
|
|
1282
1282
|
dateOfBirth?: string | Date | null | undefined;
|
|
1283
1283
|
bio?: string | null | undefined;
|
|
@@ -1514,14 +1514,13 @@ export declare const curatedWorkersContract: {
|
|
|
1514
1514
|
}>, "many">>>;
|
|
1515
1515
|
}, "strip", z.ZodTypeAny, {
|
|
1516
1516
|
id: string;
|
|
1517
|
-
status: "
|
|
1517
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1518
1518
|
createdAt: string;
|
|
1519
1519
|
updatedAt: string;
|
|
1520
1520
|
firstName: string;
|
|
1521
1521
|
lastName: string;
|
|
1522
1522
|
hasTools: boolean;
|
|
1523
1523
|
hasPpe: boolean;
|
|
1524
|
-
rating?: number | null | undefined;
|
|
1525
1524
|
email?: string | null | undefined;
|
|
1526
1525
|
phoneNumbers?: {
|
|
1527
1526
|
id: string;
|
|
@@ -1531,6 +1530,7 @@ export declare const curatedWorkersContract: {
|
|
|
1531
1530
|
updatedAt: string;
|
|
1532
1531
|
description?: string | null | undefined;
|
|
1533
1532
|
}[] | null | undefined;
|
|
1533
|
+
rating?: number | null | undefined;
|
|
1534
1534
|
nino?: string | null | undefined;
|
|
1535
1535
|
dateOfBirth?: string | null | undefined;
|
|
1536
1536
|
bio?: string | null | undefined;
|
|
@@ -1565,14 +1565,13 @@ export declare const curatedWorkersContract: {
|
|
|
1565
1565
|
} | null | undefined;
|
|
1566
1566
|
}, {
|
|
1567
1567
|
id: string;
|
|
1568
|
-
status: "
|
|
1568
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1569
1569
|
createdAt: string | Date;
|
|
1570
1570
|
updatedAt: string | Date;
|
|
1571
1571
|
firstName: string;
|
|
1572
1572
|
lastName: string;
|
|
1573
1573
|
hasTools: boolean;
|
|
1574
1574
|
hasPpe: boolean;
|
|
1575
|
-
rating?: number | null | undefined;
|
|
1576
1575
|
email?: string | null | undefined;
|
|
1577
1576
|
phoneNumbers?: {
|
|
1578
1577
|
id: string;
|
|
@@ -1582,6 +1581,7 @@ export declare const curatedWorkersContract: {
|
|
|
1582
1581
|
description?: string | null | undefined;
|
|
1583
1582
|
isPrimary?: boolean | undefined;
|
|
1584
1583
|
}[] | null | undefined;
|
|
1584
|
+
rating?: number | null | undefined;
|
|
1585
1585
|
nino?: string | null | undefined;
|
|
1586
1586
|
dateOfBirth?: string | Date | null | undefined;
|
|
1587
1587
|
bio?: string | null | undefined;
|
|
@@ -1690,10 +1690,10 @@ export declare const curatedWorkersContract: {
|
|
|
1690
1690
|
limit: number;
|
|
1691
1691
|
page: number;
|
|
1692
1692
|
sortOrder: "ASC" | "DESC";
|
|
1693
|
-
status?: "
|
|
1693
|
+
status?: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1694
1694
|
name?: string | undefined;
|
|
1695
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
|
|
1696
1695
|
email?: string | undefined;
|
|
1696
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | "rating" | undefined;
|
|
1697
1697
|
phone?: string | undefined;
|
|
1698
1698
|
nino?: string | undefined;
|
|
1699
1699
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
@@ -1702,22 +1702,22 @@ export declare const curatedWorkersContract: {
|
|
|
1702
1702
|
postcode?: string | null | undefined;
|
|
1703
1703
|
radius?: number | null | undefined;
|
|
1704
1704
|
} | undefined;
|
|
1705
|
-
tradeFilters?: {
|
|
1706
|
-
tradeId?: string | undefined;
|
|
1707
|
-
mainTrade?: boolean | undefined;
|
|
1708
|
-
}[] | undefined;
|
|
1709
1705
|
qualificationFilters?: {
|
|
1710
1706
|
qualificationId?: string | undefined;
|
|
1711
1707
|
qualificationTypeId?: string | undefined;
|
|
1712
1708
|
}[] | undefined;
|
|
1709
|
+
tradeFilters?: {
|
|
1710
|
+
tradeId?: string | undefined;
|
|
1711
|
+
mainTrade?: boolean | undefined;
|
|
1712
|
+
}[] | undefined;
|
|
1713
1713
|
}, {
|
|
1714
|
-
status?: "
|
|
1714
|
+
status?: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
1715
|
+
name?: string | undefined;
|
|
1716
|
+
email?: string | undefined;
|
|
1715
1717
|
limit?: number | undefined;
|
|
1716
1718
|
page?: number | undefined;
|
|
1717
|
-
|
|
1718
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "rating" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | undefined;
|
|
1719
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "email" | "phone" | "nameSimilarity" | "fullName" | "distance" | "rating" | undefined;
|
|
1719
1720
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1720
|
-
email?: string | undefined;
|
|
1721
1721
|
phone?: string | undefined;
|
|
1722
1722
|
nino?: string | undefined;
|
|
1723
1723
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
@@ -1726,14 +1726,14 @@ export declare const curatedWorkersContract: {
|
|
|
1726
1726
|
postcode?: string | null | undefined;
|
|
1727
1727
|
radius?: number | null | undefined;
|
|
1728
1728
|
} | undefined;
|
|
1729
|
-
tradeFilters?: {
|
|
1730
|
-
tradeId?: string | undefined;
|
|
1731
|
-
mainTrade?: unknown;
|
|
1732
|
-
}[] | undefined;
|
|
1733
1729
|
qualificationFilters?: {
|
|
1734
1730
|
qualificationId?: string | undefined;
|
|
1735
1731
|
qualificationTypeId?: string | undefined;
|
|
1736
1732
|
}[] | undefined;
|
|
1733
|
+
tradeFilters?: {
|
|
1734
|
+
tradeId?: string | undefined;
|
|
1735
|
+
mainTrade?: unknown;
|
|
1736
|
+
}[] | undefined;
|
|
1737
1737
|
}>;
|
|
1738
1738
|
metadata: {
|
|
1739
1739
|
tags: string[];
|
|
@@ -1959,14 +1959,13 @@ export declare const curatedWorkersContract: {
|
|
|
1959
1959
|
}>, "many">>>;
|
|
1960
1960
|
}, "strip", z.ZodTypeAny, {
|
|
1961
1961
|
id: string;
|
|
1962
|
-
status: "
|
|
1962
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
1963
1963
|
createdAt: string;
|
|
1964
1964
|
updatedAt: string;
|
|
1965
1965
|
firstName: string;
|
|
1966
1966
|
lastName: string;
|
|
1967
1967
|
hasTools: boolean;
|
|
1968
1968
|
hasPpe: boolean;
|
|
1969
|
-
rating?: number | null | undefined;
|
|
1970
1969
|
email?: string | null | undefined;
|
|
1971
1970
|
phoneNumbers?: {
|
|
1972
1971
|
id: string;
|
|
@@ -1976,6 +1975,7 @@ export declare const curatedWorkersContract: {
|
|
|
1976
1975
|
updatedAt: string;
|
|
1977
1976
|
description?: string | null | undefined;
|
|
1978
1977
|
}[] | null | undefined;
|
|
1978
|
+
rating?: number | null | undefined;
|
|
1979
1979
|
nino?: string | null | undefined;
|
|
1980
1980
|
dateOfBirth?: string | null | undefined;
|
|
1981
1981
|
bio?: string | null | undefined;
|
|
@@ -2010,14 +2010,13 @@ export declare const curatedWorkersContract: {
|
|
|
2010
2010
|
} | null | undefined;
|
|
2011
2011
|
}, {
|
|
2012
2012
|
id: string;
|
|
2013
|
-
status: "
|
|
2013
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2014
2014
|
createdAt: string | Date;
|
|
2015
2015
|
updatedAt: string | Date;
|
|
2016
2016
|
firstName: string;
|
|
2017
2017
|
lastName: string;
|
|
2018
2018
|
hasTools: boolean;
|
|
2019
2019
|
hasPpe: boolean;
|
|
2020
|
-
rating?: number | null | undefined;
|
|
2021
2020
|
email?: string | null | undefined;
|
|
2022
2021
|
phoneNumbers?: {
|
|
2023
2022
|
id: string;
|
|
@@ -2027,6 +2026,7 @@ export declare const curatedWorkersContract: {
|
|
|
2027
2026
|
description?: string | null | undefined;
|
|
2028
2027
|
isPrimary?: boolean | undefined;
|
|
2029
2028
|
}[] | null | undefined;
|
|
2029
|
+
rating?: number | null | undefined;
|
|
2030
2030
|
nino?: string | null | undefined;
|
|
2031
2031
|
dateOfBirth?: string | Date | null | undefined;
|
|
2032
2032
|
bio?: string | null | undefined;
|
|
@@ -2069,14 +2069,13 @@ export declare const curatedWorkersContract: {
|
|
|
2069
2069
|
limit: number;
|
|
2070
2070
|
items: {
|
|
2071
2071
|
id: string;
|
|
2072
|
-
status: "
|
|
2072
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2073
2073
|
createdAt: string;
|
|
2074
2074
|
updatedAt: string;
|
|
2075
2075
|
firstName: string;
|
|
2076
2076
|
lastName: string;
|
|
2077
2077
|
hasTools: boolean;
|
|
2078
2078
|
hasPpe: boolean;
|
|
2079
|
-
rating?: number | null | undefined;
|
|
2080
2079
|
email?: string | null | undefined;
|
|
2081
2080
|
phoneNumbers?: {
|
|
2082
2081
|
id: string;
|
|
@@ -2086,6 +2085,7 @@ export declare const curatedWorkersContract: {
|
|
|
2086
2085
|
updatedAt: string;
|
|
2087
2086
|
description?: string | null | undefined;
|
|
2088
2087
|
}[] | null | undefined;
|
|
2088
|
+
rating?: number | null | undefined;
|
|
2089
2089
|
nino?: string | null | undefined;
|
|
2090
2090
|
dateOfBirth?: string | null | undefined;
|
|
2091
2091
|
bio?: string | null | undefined;
|
|
@@ -2127,14 +2127,13 @@ export declare const curatedWorkersContract: {
|
|
|
2127
2127
|
limit: number;
|
|
2128
2128
|
items: {
|
|
2129
2129
|
id: string;
|
|
2130
|
-
status: "
|
|
2130
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2131
2131
|
createdAt: string | Date;
|
|
2132
2132
|
updatedAt: string | Date;
|
|
2133
2133
|
firstName: string;
|
|
2134
2134
|
lastName: string;
|
|
2135
2135
|
hasTools: boolean;
|
|
2136
2136
|
hasPpe: boolean;
|
|
2137
|
-
rating?: number | null | undefined;
|
|
2138
2137
|
email?: string | null | undefined;
|
|
2139
2138
|
phoneNumbers?: {
|
|
2140
2139
|
id: string;
|
|
@@ -2144,6 +2143,7 @@ export declare const curatedWorkersContract: {
|
|
|
2144
2143
|
description?: string | null | undefined;
|
|
2145
2144
|
isPrimary?: boolean | undefined;
|
|
2146
2145
|
}[] | null | undefined;
|
|
2146
|
+
rating?: number | null | undefined;
|
|
2147
2147
|
nino?: string | null | undefined;
|
|
2148
2148
|
dateOfBirth?: string | Date | null | undefined;
|
|
2149
2149
|
bio?: string | null | undefined;
|
|
@@ -2415,14 +2415,13 @@ export declare const curatedWorkersContract: {
|
|
|
2415
2415
|
}>, "many">>>;
|
|
2416
2416
|
}, "strip", z.ZodTypeAny, {
|
|
2417
2417
|
id: string;
|
|
2418
|
-
status: "
|
|
2418
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2419
2419
|
createdAt: string;
|
|
2420
2420
|
updatedAt: string;
|
|
2421
2421
|
firstName: string;
|
|
2422
2422
|
lastName: string;
|
|
2423
2423
|
hasTools: boolean;
|
|
2424
2424
|
hasPpe: boolean;
|
|
2425
|
-
rating?: number | null | undefined;
|
|
2426
2425
|
email?: string | null | undefined;
|
|
2427
2426
|
phoneNumbers?: {
|
|
2428
2427
|
id: string;
|
|
@@ -2432,6 +2431,7 @@ export declare const curatedWorkersContract: {
|
|
|
2432
2431
|
updatedAt: string;
|
|
2433
2432
|
description?: string | null | undefined;
|
|
2434
2433
|
}[] | null | undefined;
|
|
2434
|
+
rating?: number | null | undefined;
|
|
2435
2435
|
nino?: string | null | undefined;
|
|
2436
2436
|
dateOfBirth?: string | null | undefined;
|
|
2437
2437
|
bio?: string | null | undefined;
|
|
@@ -2466,14 +2466,13 @@ export declare const curatedWorkersContract: {
|
|
|
2466
2466
|
} | null | undefined;
|
|
2467
2467
|
}, {
|
|
2468
2468
|
id: string;
|
|
2469
|
-
status: "
|
|
2469
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2470
2470
|
createdAt: string | Date;
|
|
2471
2471
|
updatedAt: string | Date;
|
|
2472
2472
|
firstName: string;
|
|
2473
2473
|
lastName: string;
|
|
2474
2474
|
hasTools: boolean;
|
|
2475
2475
|
hasPpe: boolean;
|
|
2476
|
-
rating?: number | null | undefined;
|
|
2477
2476
|
email?: string | null | undefined;
|
|
2478
2477
|
phoneNumbers?: {
|
|
2479
2478
|
id: string;
|
|
@@ -2483,6 +2482,7 @@ export declare const curatedWorkersContract: {
|
|
|
2483
2482
|
description?: string | null | undefined;
|
|
2484
2483
|
isPrimary?: boolean | undefined;
|
|
2485
2484
|
}[] | null | undefined;
|
|
2485
|
+
rating?: number | null | undefined;
|
|
2486
2486
|
nino?: string | null | undefined;
|
|
2487
2487
|
dateOfBirth?: string | Date | null | undefined;
|
|
2488
2488
|
bio?: string | null | undefined;
|
|
@@ -2643,8 +2643,7 @@ export declare const curatedWorkersContract: {
|
|
|
2643
2643
|
isPrimary?: boolean | undefined;
|
|
2644
2644
|
}>, "many">>>;
|
|
2645
2645
|
}, "strip", z.ZodTypeAny, {
|
|
2646
|
-
status?: "
|
|
2647
|
-
rating?: number | null | undefined;
|
|
2646
|
+
status?: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
2648
2647
|
firstName?: string | undefined;
|
|
2649
2648
|
lastName?: string | undefined;
|
|
2650
2649
|
email?: string | null | undefined;
|
|
@@ -2654,6 +2653,7 @@ export declare const curatedWorkersContract: {
|
|
|
2654
2653
|
description?: string | null | undefined;
|
|
2655
2654
|
isPrimary?: boolean | undefined;
|
|
2656
2655
|
}[] | null | undefined;
|
|
2656
|
+
rating?: number | null | undefined;
|
|
2657
2657
|
nino?: string | null | undefined;
|
|
2658
2658
|
dateOfBirth?: string | null | undefined;
|
|
2659
2659
|
bio?: string | null | undefined;
|
|
@@ -2679,8 +2679,7 @@ export declare const curatedWorkersContract: {
|
|
|
2679
2679
|
postcode?: string | null | undefined;
|
|
2680
2680
|
} | null | undefined;
|
|
2681
2681
|
}, {
|
|
2682
|
-
status?: "
|
|
2683
|
-
rating?: number | null | undefined;
|
|
2682
|
+
status?: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | undefined;
|
|
2684
2683
|
firstName?: string | undefined;
|
|
2685
2684
|
lastName?: string | undefined;
|
|
2686
2685
|
email?: string | null | undefined;
|
|
@@ -2690,6 +2689,7 @@ export declare const curatedWorkersContract: {
|
|
|
2690
2689
|
description?: string | null | undefined;
|
|
2691
2690
|
isPrimary?: boolean | undefined;
|
|
2692
2691
|
}[] | null | undefined;
|
|
2692
|
+
rating?: number | null | undefined;
|
|
2693
2693
|
nino?: string | null | undefined;
|
|
2694
2694
|
dateOfBirth?: string | Date | null | undefined;
|
|
2695
2695
|
bio?: string | null | undefined;
|
|
@@ -2933,14 +2933,13 @@ export declare const curatedWorkersContract: {
|
|
|
2933
2933
|
}>, "many">>>;
|
|
2934
2934
|
}, "strip", z.ZodTypeAny, {
|
|
2935
2935
|
id: string;
|
|
2936
|
-
status: "
|
|
2936
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2937
2937
|
createdAt: string;
|
|
2938
2938
|
updatedAt: string;
|
|
2939
2939
|
firstName: string;
|
|
2940
2940
|
lastName: string;
|
|
2941
2941
|
hasTools: boolean;
|
|
2942
2942
|
hasPpe: boolean;
|
|
2943
|
-
rating?: number | null | undefined;
|
|
2944
2943
|
email?: string | null | undefined;
|
|
2945
2944
|
phoneNumbers?: {
|
|
2946
2945
|
id: string;
|
|
@@ -2950,6 +2949,7 @@ export declare const curatedWorkersContract: {
|
|
|
2950
2949
|
updatedAt: string;
|
|
2951
2950
|
description?: string | null | undefined;
|
|
2952
2951
|
}[] | null | undefined;
|
|
2952
|
+
rating?: number | null | undefined;
|
|
2953
2953
|
nino?: string | null | undefined;
|
|
2954
2954
|
dateOfBirth?: string | null | undefined;
|
|
2955
2955
|
bio?: string | null | undefined;
|
|
@@ -2984,14 +2984,13 @@ export declare const curatedWorkersContract: {
|
|
|
2984
2984
|
} | null | undefined;
|
|
2985
2985
|
}, {
|
|
2986
2986
|
id: string;
|
|
2987
|
-
status: "
|
|
2987
|
+
status: "BLACKLISTED" | "INACTIVE" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD";
|
|
2988
2988
|
createdAt: string | Date;
|
|
2989
2989
|
updatedAt: string | Date;
|
|
2990
2990
|
firstName: string;
|
|
2991
2991
|
lastName: string;
|
|
2992
2992
|
hasTools: boolean;
|
|
2993
2993
|
hasPpe: boolean;
|
|
2994
|
-
rating?: number | null | undefined;
|
|
2995
2994
|
email?: string | null | undefined;
|
|
2996
2995
|
phoneNumbers?: {
|
|
2997
2996
|
id: string;
|
|
@@ -3001,6 +3000,7 @@ export declare const curatedWorkersContract: {
|
|
|
3001
3000
|
description?: string | null | undefined;
|
|
3002
3001
|
isPrimary?: boolean | undefined;
|
|
3003
3002
|
}[] | null | undefined;
|
|
3003
|
+
rating?: number | null | undefined;
|
|
3004
3004
|
nino?: string | null | undefined;
|
|
3005
3005
|
dateOfBirth?: string | Date | null | undefined;
|
|
3006
3006
|
bio?: string | null | undefined;
|
|
@@ -49,9 +49,6 @@ export type AgentDailyMetrics = z.infer<typeof AgentDailyMetricsSchema>;
|
|
|
49
49
|
export type AgentDailyMetricsArray = z.infer<typeof AgentDailyMetricsArraySchema>;
|
|
50
50
|
export declare const agentDailyMetricsContract: {
|
|
51
51
|
getHistory: {
|
|
52
|
-
metadata: {
|
|
53
|
-
tags: string[];
|
|
54
|
-
};
|
|
55
52
|
query: z.ZodObject<{
|
|
56
53
|
startDate: z.ZodOptional<z.ZodString>;
|
|
57
54
|
endDate: z.ZodOptional<z.ZodString>;
|
|
@@ -65,6 +62,9 @@ export declare const agentDailyMetricsContract: {
|
|
|
65
62
|
startDate?: string | undefined;
|
|
66
63
|
endDate?: string | undefined;
|
|
67
64
|
}>;
|
|
65
|
+
metadata: {
|
|
66
|
+
tags: string[];
|
|
67
|
+
};
|
|
68
68
|
summary: "Retrieve agent daily metrics history";
|
|
69
69
|
method: "GET";
|
|
70
70
|
path: "/v2/dashboard/history";
|