@dakkitor/api-contracts 1.6.0 → 1.7.0
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/curated-worker-leads/candidate-edit-session.contract.d.ts +12 -12
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +28 -28
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/outreach/__tests__/outreach-requests.contract.spec.js +37 -0
- package/dist/outreach/lab-outreach.contract.d.ts +1110 -0
- package/dist/outreach/lab-outreach.contract.d.ts.map +1 -0
- package/dist/outreach/lab-outreach.contract.js +174 -0
- package/dist/outreach/lab-outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/lab-outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/lab-outreach.contract.spec.js +90 -0
- package/dist/outreach/outreach-requests.contract.d.ts +84 -0
- package/dist/outreach/outreach-requests.contract.d.ts.map +1 -1
- package/dist/outreach/outreach-requests.schemas.d.ts +9 -0
- package/dist/outreach/outreach-requests.schemas.d.ts.map +1 -1
- package/dist/outreach/outreach-requests.schemas.js +3 -0
- package/dist/outreach/outreach.contract.spec.js +3 -0
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts +829 -0
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-lab-fleet.contract.js +79 -0
- package/dist/relay-pods/relay-lab-fleet.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-lab-fleet.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-lab-fleet.contract.spec.js +146 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +443 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-lab-fleet.schemas.js +138 -0
- package/package.json +1 -1
|
@@ -436,9 +436,6 @@ export declare const CandidateEditSessionCreateResponseSchema: z.ZodObject<{
|
|
|
436
436
|
id: string;
|
|
437
437
|
kind: "CURATED_WORKER";
|
|
438
438
|
};
|
|
439
|
-
sessionId: string;
|
|
440
|
-
leaseExpiresAt: string;
|
|
441
|
-
ownershipExpiresAt: string | null;
|
|
442
439
|
worker: {
|
|
443
440
|
id: string;
|
|
444
441
|
firstName: string;
|
|
@@ -472,14 +469,14 @@ export declare const CandidateEditSessionCreateResponseSchema: z.ZodObject<{
|
|
|
472
469
|
qualificationTypeId?: string | null | undefined;
|
|
473
470
|
}[];
|
|
474
471
|
};
|
|
472
|
+
sessionId: string;
|
|
473
|
+
leaseExpiresAt: string;
|
|
474
|
+
ownershipExpiresAt: string | null;
|
|
475
475
|
}, {
|
|
476
476
|
canonicalWorker: {
|
|
477
477
|
id: string;
|
|
478
478
|
kind: "CURATED_WORKER";
|
|
479
479
|
};
|
|
480
|
-
sessionId: string;
|
|
481
|
-
leaseExpiresAt: string;
|
|
482
|
-
ownershipExpiresAt: string | null;
|
|
483
480
|
worker: {
|
|
484
481
|
id: string;
|
|
485
482
|
firstName: string;
|
|
@@ -513,6 +510,9 @@ export declare const CandidateEditSessionCreateResponseSchema: z.ZodObject<{
|
|
|
513
510
|
qualificationTypeId?: string | null | undefined;
|
|
514
511
|
}[];
|
|
515
512
|
};
|
|
513
|
+
sessionId: string;
|
|
514
|
+
leaseExpiresAt: string;
|
|
515
|
+
ownershipExpiresAt: string | null;
|
|
516
516
|
}>;
|
|
517
517
|
export type CandidateEditSessionCreateResponse = z.infer<typeof CandidateEditSessionCreateResponseSchema>;
|
|
518
518
|
export declare const CandidateEditSessionHeartbeatResponseSchema: z.ZodObject<{
|
|
@@ -1001,9 +1001,6 @@ export declare const candidateEditSessionsContract: {
|
|
|
1001
1001
|
id: string;
|
|
1002
1002
|
kind: "CURATED_WORKER";
|
|
1003
1003
|
};
|
|
1004
|
-
sessionId: string;
|
|
1005
|
-
leaseExpiresAt: string;
|
|
1006
|
-
ownershipExpiresAt: string | null;
|
|
1007
1004
|
worker: {
|
|
1008
1005
|
id: string;
|
|
1009
1006
|
firstName: string;
|
|
@@ -1037,14 +1034,14 @@ export declare const candidateEditSessionsContract: {
|
|
|
1037
1034
|
qualificationTypeId?: string | null | undefined;
|
|
1038
1035
|
}[];
|
|
1039
1036
|
};
|
|
1037
|
+
sessionId: string;
|
|
1038
|
+
leaseExpiresAt: string;
|
|
1039
|
+
ownershipExpiresAt: string | null;
|
|
1040
1040
|
}, {
|
|
1041
1041
|
canonicalWorker: {
|
|
1042
1042
|
id: string;
|
|
1043
1043
|
kind: "CURATED_WORKER";
|
|
1044
1044
|
};
|
|
1045
|
-
sessionId: string;
|
|
1046
|
-
leaseExpiresAt: string;
|
|
1047
|
-
ownershipExpiresAt: string | null;
|
|
1048
1045
|
worker: {
|
|
1049
1046
|
id: string;
|
|
1050
1047
|
firstName: string;
|
|
@@ -1078,6 +1075,9 @@ export declare const candidateEditSessionsContract: {
|
|
|
1078
1075
|
qualificationTypeId?: string | null | undefined;
|
|
1079
1076
|
}[];
|
|
1080
1077
|
};
|
|
1078
|
+
sessionId: string;
|
|
1079
|
+
leaseExpiresAt: string;
|
|
1080
|
+
ownershipExpiresAt: string | null;
|
|
1081
1081
|
}>;
|
|
1082
1082
|
403: z.ZodObject<{
|
|
1083
1083
|
statusCode: z.ZodNumber;
|
|
@@ -15,20 +15,20 @@ export declare const ConsentLeadSchema: z.ZodObject<{
|
|
|
15
15
|
phoneNumber: string | null;
|
|
16
16
|
workerName: string;
|
|
17
17
|
assignmentId: string;
|
|
18
|
+
assignedAt: string;
|
|
18
19
|
phoneId: string | null;
|
|
19
20
|
matchingJobCount: number;
|
|
20
21
|
nearestJobDistanceKm: number | null;
|
|
21
|
-
assignedAt: string;
|
|
22
22
|
}, {
|
|
23
23
|
curatedWorkerId: string;
|
|
24
24
|
postcode: string | null;
|
|
25
25
|
phoneNumber: string | null;
|
|
26
26
|
workerName: string;
|
|
27
27
|
assignmentId: string;
|
|
28
|
+
assignedAt: string;
|
|
28
29
|
phoneId: string | null;
|
|
29
30
|
matchingJobCount: number;
|
|
30
31
|
nearestJobDistanceKm: number | null;
|
|
31
|
-
assignedAt: string;
|
|
32
32
|
}>;
|
|
33
33
|
export type ConsentLead = z.infer<typeof ConsentLeadSchema>;
|
|
34
34
|
export declare const DeclineConsentSchema: z.ZodObject<{
|
|
@@ -70,20 +70,20 @@ export declare const ConsentAdvanceResponseSchema: z.ZodObject<{
|
|
|
70
70
|
phoneNumber: string | null;
|
|
71
71
|
workerName: string;
|
|
72
72
|
assignmentId: string;
|
|
73
|
+
assignedAt: string;
|
|
73
74
|
phoneId: string | null;
|
|
74
75
|
matchingJobCount: number;
|
|
75
76
|
nearestJobDistanceKm: number | null;
|
|
76
|
-
assignedAt: string;
|
|
77
77
|
}, {
|
|
78
78
|
curatedWorkerId: string;
|
|
79
79
|
postcode: string | null;
|
|
80
80
|
phoneNumber: string | null;
|
|
81
81
|
workerName: string;
|
|
82
82
|
assignmentId: string;
|
|
83
|
+
assignedAt: string;
|
|
83
84
|
phoneId: string | null;
|
|
84
85
|
matchingJobCount: number;
|
|
85
86
|
nearestJobDistanceKm: number | null;
|
|
86
|
-
assignedAt: string;
|
|
87
87
|
}>>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
89
|
next: {
|
|
@@ -92,10 +92,10 @@ export declare const ConsentAdvanceResponseSchema: z.ZodObject<{
|
|
|
92
92
|
phoneNumber: string | null;
|
|
93
93
|
workerName: string;
|
|
94
94
|
assignmentId: string;
|
|
95
|
+
assignedAt: string;
|
|
95
96
|
phoneId: string | null;
|
|
96
97
|
matchingJobCount: number;
|
|
97
98
|
nearestJobDistanceKm: number | null;
|
|
98
|
-
assignedAt: string;
|
|
99
99
|
} | null;
|
|
100
100
|
}, {
|
|
101
101
|
next: {
|
|
@@ -104,10 +104,10 @@ export declare const ConsentAdvanceResponseSchema: z.ZodObject<{
|
|
|
104
104
|
phoneNumber: string | null;
|
|
105
105
|
workerName: string;
|
|
106
106
|
assignmentId: string;
|
|
107
|
+
assignedAt: string;
|
|
107
108
|
phoneId: string | null;
|
|
108
109
|
matchingJobCount: number;
|
|
109
110
|
nearestJobDistanceKm: number | null;
|
|
110
|
-
assignedAt: string;
|
|
111
111
|
} | null;
|
|
112
112
|
}>;
|
|
113
113
|
export type ConsentAdvanceResponse = z.infer<typeof ConsentAdvanceResponseSchema>;
|
|
@@ -1577,20 +1577,20 @@ export declare const consentQueueContract: {
|
|
|
1577
1577
|
phoneNumber: string | null;
|
|
1578
1578
|
workerName: string;
|
|
1579
1579
|
assignmentId: string;
|
|
1580
|
+
assignedAt: string;
|
|
1580
1581
|
phoneId: string | null;
|
|
1581
1582
|
matchingJobCount: number;
|
|
1582
1583
|
nearestJobDistanceKm: number | null;
|
|
1583
|
-
assignedAt: string;
|
|
1584
1584
|
}, {
|
|
1585
1585
|
curatedWorkerId: string;
|
|
1586
1586
|
postcode: string | null;
|
|
1587
1587
|
phoneNumber: string | null;
|
|
1588
1588
|
workerName: string;
|
|
1589
1589
|
assignmentId: string;
|
|
1590
|
+
assignedAt: string;
|
|
1590
1591
|
phoneId: string | null;
|
|
1591
1592
|
matchingJobCount: number;
|
|
1592
1593
|
nearestJobDistanceKm: number | null;
|
|
1593
|
-
assignedAt: string;
|
|
1594
1594
|
}>>;
|
|
1595
1595
|
403: z.ZodObject<{
|
|
1596
1596
|
statusCode: z.ZodNumber;
|
|
@@ -1847,20 +1847,20 @@ export declare const consentQueueContract: {
|
|
|
1847
1847
|
phoneNumber: string | null;
|
|
1848
1848
|
workerName: string;
|
|
1849
1849
|
assignmentId: string;
|
|
1850
|
+
assignedAt: string;
|
|
1850
1851
|
phoneId: string | null;
|
|
1851
1852
|
matchingJobCount: number;
|
|
1852
1853
|
nearestJobDistanceKm: number | null;
|
|
1853
|
-
assignedAt: string;
|
|
1854
1854
|
}, {
|
|
1855
1855
|
curatedWorkerId: string;
|
|
1856
1856
|
postcode: string | null;
|
|
1857
1857
|
phoneNumber: string | null;
|
|
1858
1858
|
workerName: string;
|
|
1859
1859
|
assignmentId: string;
|
|
1860
|
+
assignedAt: string;
|
|
1860
1861
|
phoneId: string | null;
|
|
1861
1862
|
matchingJobCount: number;
|
|
1862
1863
|
nearestJobDistanceKm: number | null;
|
|
1863
|
-
assignedAt: string;
|
|
1864
1864
|
}>>;
|
|
1865
1865
|
}, "strip", z.ZodTypeAny, {
|
|
1866
1866
|
next: {
|
|
@@ -1869,10 +1869,10 @@ export declare const consentQueueContract: {
|
|
|
1869
1869
|
phoneNumber: string | null;
|
|
1870
1870
|
workerName: string;
|
|
1871
1871
|
assignmentId: string;
|
|
1872
|
+
assignedAt: string;
|
|
1872
1873
|
phoneId: string | null;
|
|
1873
1874
|
matchingJobCount: number;
|
|
1874
1875
|
nearestJobDistanceKm: number | null;
|
|
1875
|
-
assignedAt: string;
|
|
1876
1876
|
} | null;
|
|
1877
1877
|
}, {
|
|
1878
1878
|
next: {
|
|
@@ -1881,10 +1881,10 @@ export declare const consentQueueContract: {
|
|
|
1881
1881
|
phoneNumber: string | null;
|
|
1882
1882
|
workerName: string;
|
|
1883
1883
|
assignmentId: string;
|
|
1884
|
+
assignedAt: string;
|
|
1884
1885
|
phoneId: string | null;
|
|
1885
1886
|
matchingJobCount: number;
|
|
1886
1887
|
nearestJobDistanceKm: number | null;
|
|
1887
|
-
assignedAt: string;
|
|
1888
1888
|
} | null;
|
|
1889
1889
|
}>;
|
|
1890
1890
|
403: z.ZodObject<{
|
|
@@ -2056,20 +2056,20 @@ export declare const consentQueueContract: {
|
|
|
2056
2056
|
phoneNumber: string | null;
|
|
2057
2057
|
workerName: string;
|
|
2058
2058
|
assignmentId: string;
|
|
2059
|
+
assignedAt: string;
|
|
2059
2060
|
phoneId: string | null;
|
|
2060
2061
|
matchingJobCount: number;
|
|
2061
2062
|
nearestJobDistanceKm: number | null;
|
|
2062
|
-
assignedAt: string;
|
|
2063
2063
|
}, {
|
|
2064
2064
|
curatedWorkerId: string;
|
|
2065
2065
|
postcode: string | null;
|
|
2066
2066
|
phoneNumber: string | null;
|
|
2067
2067
|
workerName: string;
|
|
2068
2068
|
assignmentId: string;
|
|
2069
|
+
assignedAt: string;
|
|
2069
2070
|
phoneId: string | null;
|
|
2070
2071
|
matchingJobCount: number;
|
|
2071
2072
|
nearestJobDistanceKm: number | null;
|
|
2072
|
-
assignedAt: string;
|
|
2073
2073
|
}>>;
|
|
2074
2074
|
}, "strip", z.ZodTypeAny, {
|
|
2075
2075
|
next: {
|
|
@@ -2078,10 +2078,10 @@ export declare const consentQueueContract: {
|
|
|
2078
2078
|
phoneNumber: string | null;
|
|
2079
2079
|
workerName: string;
|
|
2080
2080
|
assignmentId: string;
|
|
2081
|
+
assignedAt: string;
|
|
2081
2082
|
phoneId: string | null;
|
|
2082
2083
|
matchingJobCount: number;
|
|
2083
2084
|
nearestJobDistanceKm: number | null;
|
|
2084
|
-
assignedAt: string;
|
|
2085
2085
|
} | null;
|
|
2086
2086
|
}, {
|
|
2087
2087
|
next: {
|
|
@@ -2090,10 +2090,10 @@ export declare const consentQueueContract: {
|
|
|
2090
2090
|
phoneNumber: string | null;
|
|
2091
2091
|
workerName: string;
|
|
2092
2092
|
assignmentId: string;
|
|
2093
|
+
assignedAt: string;
|
|
2093
2094
|
phoneId: string | null;
|
|
2094
2095
|
matchingJobCount: number;
|
|
2095
2096
|
nearestJobDistanceKm: number | null;
|
|
2096
|
-
assignedAt: string;
|
|
2097
2097
|
} | null;
|
|
2098
2098
|
}>;
|
|
2099
2099
|
403: z.ZodObject<{
|
|
@@ -2265,20 +2265,20 @@ export declare const consentQueueContract: {
|
|
|
2265
2265
|
phoneNumber: string | null;
|
|
2266
2266
|
workerName: string;
|
|
2267
2267
|
assignmentId: string;
|
|
2268
|
+
assignedAt: string;
|
|
2268
2269
|
phoneId: string | null;
|
|
2269
2270
|
matchingJobCount: number;
|
|
2270
2271
|
nearestJobDistanceKm: number | null;
|
|
2271
|
-
assignedAt: string;
|
|
2272
2272
|
}, {
|
|
2273
2273
|
curatedWorkerId: string;
|
|
2274
2274
|
postcode: string | null;
|
|
2275
2275
|
phoneNumber: string | null;
|
|
2276
2276
|
workerName: string;
|
|
2277
2277
|
assignmentId: string;
|
|
2278
|
+
assignedAt: string;
|
|
2278
2279
|
phoneId: string | null;
|
|
2279
2280
|
matchingJobCount: number;
|
|
2280
2281
|
nearestJobDistanceKm: number | null;
|
|
2281
|
-
assignedAt: string;
|
|
2282
2282
|
}>>;
|
|
2283
2283
|
}, "strip", z.ZodTypeAny, {
|
|
2284
2284
|
next: {
|
|
@@ -2287,10 +2287,10 @@ export declare const consentQueueContract: {
|
|
|
2287
2287
|
phoneNumber: string | null;
|
|
2288
2288
|
workerName: string;
|
|
2289
2289
|
assignmentId: string;
|
|
2290
|
+
assignedAt: string;
|
|
2290
2291
|
phoneId: string | null;
|
|
2291
2292
|
matchingJobCount: number;
|
|
2292
2293
|
nearestJobDistanceKm: number | null;
|
|
2293
|
-
assignedAt: string;
|
|
2294
2294
|
} | null;
|
|
2295
2295
|
}, {
|
|
2296
2296
|
next: {
|
|
@@ -2299,10 +2299,10 @@ export declare const consentQueueContract: {
|
|
|
2299
2299
|
phoneNumber: string | null;
|
|
2300
2300
|
workerName: string;
|
|
2301
2301
|
assignmentId: string;
|
|
2302
|
+
assignedAt: string;
|
|
2302
2303
|
phoneId: string | null;
|
|
2303
2304
|
matchingJobCount: number;
|
|
2304
2305
|
nearestJobDistanceKm: number | null;
|
|
2305
|
-
assignedAt: string;
|
|
2306
2306
|
} | null;
|
|
2307
2307
|
}>;
|
|
2308
2308
|
403: z.ZodObject<{
|
|
@@ -3899,20 +3899,20 @@ export declare const consentQueueContract: {
|
|
|
3899
3899
|
phoneNumber: string | null;
|
|
3900
3900
|
workerName: string;
|
|
3901
3901
|
assignmentId: string;
|
|
3902
|
+
assignedAt: string;
|
|
3902
3903
|
phoneId: string | null;
|
|
3903
3904
|
matchingJobCount: number;
|
|
3904
3905
|
nearestJobDistanceKm: number | null;
|
|
3905
|
-
assignedAt: string;
|
|
3906
3906
|
}, {
|
|
3907
3907
|
curatedWorkerId: string;
|
|
3908
3908
|
postcode: string | null;
|
|
3909
3909
|
phoneNumber: string | null;
|
|
3910
3910
|
workerName: string;
|
|
3911
3911
|
assignmentId: string;
|
|
3912
|
+
assignedAt: string;
|
|
3912
3913
|
phoneId: string | null;
|
|
3913
3914
|
matchingJobCount: number;
|
|
3914
3915
|
nearestJobDistanceKm: number | null;
|
|
3915
|
-
assignedAt: string;
|
|
3916
3916
|
}>>;
|
|
3917
3917
|
}, "strip", z.ZodTypeAny, {
|
|
3918
3918
|
next: {
|
|
@@ -3921,10 +3921,10 @@ export declare const consentQueueContract: {
|
|
|
3921
3921
|
phoneNumber: string | null;
|
|
3922
3922
|
workerName: string;
|
|
3923
3923
|
assignmentId: string;
|
|
3924
|
+
assignedAt: string;
|
|
3924
3925
|
phoneId: string | null;
|
|
3925
3926
|
matchingJobCount: number;
|
|
3926
3927
|
nearestJobDistanceKm: number | null;
|
|
3927
|
-
assignedAt: string;
|
|
3928
3928
|
} | null;
|
|
3929
3929
|
}, {
|
|
3930
3930
|
next: {
|
|
@@ -3933,10 +3933,10 @@ export declare const consentQueueContract: {
|
|
|
3933
3933
|
phoneNumber: string | null;
|
|
3934
3934
|
workerName: string;
|
|
3935
3935
|
assignmentId: string;
|
|
3936
|
+
assignedAt: string;
|
|
3936
3937
|
phoneId: string | null;
|
|
3937
3938
|
matchingJobCount: number;
|
|
3938
3939
|
nearestJobDistanceKm: number | null;
|
|
3939
|
-
assignedAt: string;
|
|
3940
3940
|
} | null;
|
|
3941
3941
|
}>;
|
|
3942
3942
|
403: z.ZodObject<{
|
|
@@ -4125,20 +4125,20 @@ export declare const consentQueueContract: {
|
|
|
4125
4125
|
phoneNumber: string | null;
|
|
4126
4126
|
workerName: string;
|
|
4127
4127
|
assignmentId: string;
|
|
4128
|
+
assignedAt: string;
|
|
4128
4129
|
phoneId: string | null;
|
|
4129
4130
|
matchingJobCount: number;
|
|
4130
4131
|
nearestJobDistanceKm: number | null;
|
|
4131
|
-
assignedAt: string;
|
|
4132
4132
|
}, {
|
|
4133
4133
|
curatedWorkerId: string;
|
|
4134
4134
|
postcode: string | null;
|
|
4135
4135
|
phoneNumber: string | null;
|
|
4136
4136
|
workerName: string;
|
|
4137
4137
|
assignmentId: string;
|
|
4138
|
+
assignedAt: string;
|
|
4138
4139
|
phoneId: string | null;
|
|
4139
4140
|
matchingJobCount: number;
|
|
4140
4141
|
nearestJobDistanceKm: number | null;
|
|
4141
|
-
assignedAt: string;
|
|
4142
4142
|
}>>;
|
|
4143
4143
|
}, "strip", z.ZodTypeAny, {
|
|
4144
4144
|
next: {
|
|
@@ -4147,10 +4147,10 @@ export declare const consentQueueContract: {
|
|
|
4147
4147
|
phoneNumber: string | null;
|
|
4148
4148
|
workerName: string;
|
|
4149
4149
|
assignmentId: string;
|
|
4150
|
+
assignedAt: string;
|
|
4150
4151
|
phoneId: string | null;
|
|
4151
4152
|
matchingJobCount: number;
|
|
4152
4153
|
nearestJobDistanceKm: number | null;
|
|
4153
|
-
assignedAt: string;
|
|
4154
4154
|
} | null;
|
|
4155
4155
|
}, {
|
|
4156
4156
|
next: {
|
|
@@ -4159,10 +4159,10 @@ export declare const consentQueueContract: {
|
|
|
4159
4159
|
phoneNumber: string | null;
|
|
4160
4160
|
workerName: string;
|
|
4161
4161
|
assignmentId: string;
|
|
4162
|
+
assignedAt: string;
|
|
4162
4163
|
phoneId: string | null;
|
|
4163
4164
|
matchingJobCount: number;
|
|
4164
4165
|
nearestJobDistanceKm: number | null;
|
|
4165
|
-
assignedAt: string;
|
|
4166
4166
|
} | null;
|
|
4167
4167
|
}>;
|
|
4168
4168
|
403: z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export * from './outreach/outreach.schemas';
|
|
|
54
54
|
export * from './outreach/outreach.contract';
|
|
55
55
|
export * from './outreach/outreach-requests.schemas';
|
|
56
56
|
export * from './outreach/outreach-requests.contract';
|
|
57
|
+
export * from './outreach/lab-outreach.contract';
|
|
57
58
|
export * from './postcodes/postcodes.contract';
|
|
58
59
|
export * from './proofs/proofs.contract';
|
|
59
60
|
export * from './proofs/proofs.dtos';
|
|
@@ -64,6 +65,7 @@ export * from './realtime/data-changed';
|
|
|
64
65
|
export * from './qualifications/qualifications.contract';
|
|
65
66
|
export * from './relay-pods/relay-pods.contract';
|
|
66
67
|
export * from './relay-pods/relay-pod-sessions.contract';
|
|
68
|
+
export * from './relay-pods/relay-lab-fleet.contract';
|
|
67
69
|
export * from './sheets-sync/sheets-sync.contract';
|
|
68
70
|
export * from './sheets-sync/sheets-sync-events.schemas';
|
|
69
71
|
export * from './shared/summary-schemas';
|
|
@@ -123,11 +125,13 @@ import { notificationsContract } from './notifications/notifications.contract';
|
|
|
123
125
|
import { ownResearchContract } from './own-research/own-research.contract';
|
|
124
126
|
import { outreachContract } from './outreach/outreach.contract';
|
|
125
127
|
import { outreachRequestsContract } from './outreach/outreach-requests.contract';
|
|
128
|
+
import { labOutreachContract } from './outreach/lab-outreach.contract';
|
|
126
129
|
import { postcodesContract } from './postcodes/postcodes.contract';
|
|
127
130
|
import { proofsContract } from './proofs/proofs.contract';
|
|
128
131
|
import { qualificationsContract } from './qualifications/qualifications.contract';
|
|
129
132
|
import { relayPodsContract } from './relay-pods/relay-pods.contract';
|
|
130
133
|
import { relayPodSessionsContract } from './relay-pods/relay-pod-sessions.contract';
|
|
134
|
+
import { relayLabFleetContract } from './relay-pods/relay-lab-fleet.contract';
|
|
131
135
|
import { tradesContract } from './trades/trades.contract';
|
|
132
136
|
import { usersContract } from './users/users.contract';
|
|
133
137
|
import { kpiImpersonationContract } from './kpi-impersonation/kpi-impersonation.contract';
|
|
@@ -173,6 +177,7 @@ type ApiContractRouter = {
|
|
|
173
177
|
Qualifications: typeof qualificationsContract;
|
|
174
178
|
RelayPods: typeof relayPodsContract;
|
|
175
179
|
RelayPodSessions: typeof relayPodSessionsContract;
|
|
180
|
+
RelayLabFleet: typeof relayLabFleetContract;
|
|
176
181
|
Trades: typeof tradesContract;
|
|
177
182
|
Auth: typeof authContract;
|
|
178
183
|
AgentDailyMetrics: typeof agentDailyMetricsContract;
|
|
@@ -192,6 +197,7 @@ type ApiContractRouter = {
|
|
|
192
197
|
OwnResearch: typeof ownResearchContract;
|
|
193
198
|
Outreach: typeof outreachContract;
|
|
194
199
|
OutreachRequests: typeof outreachRequestsContract;
|
|
200
|
+
LabOutreach: typeof labOutreachContract;
|
|
195
201
|
SheetsSync: typeof sheetsSyncContract;
|
|
196
202
|
DocumentIntake: typeof documentIntakeContract;
|
|
197
203
|
};
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kDAAkD,CAAC;AACjE,cAAc,sBAAsB,CAAC;AACrC,cAAc,oDAAoD,CAAC;AACnE,cAAc,kDAAkD,CAAC;AACjE,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4DAA4D,CAAC;AAC3E,cAAc,0CAA0C,CAAC;AACzD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,sDAAsD,CAAC;AACrE,cAAc,wDAAwD,CAAC;AACvE,cAAc,wDAAwD,CAAC;AACvE,cAAc,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AmB,CAAC;IACxC,UAAU,EAAE,OAAO,kBAAkB,CAAC;IACtC,cAAc,EAAE,OAAO,sBAAsB,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,iBA4D9B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -71,6 +71,7 @@ __exportStar(require("./outreach/outreach.schemas"), exports);
|
|
|
71
71
|
__exportStar(require("./outreach/outreach.contract"), exports);
|
|
72
72
|
__exportStar(require("./outreach/outreach-requests.schemas"), exports);
|
|
73
73
|
__exportStar(require("./outreach/outreach-requests.contract"), exports);
|
|
74
|
+
__exportStar(require("./outreach/lab-outreach.contract"), exports);
|
|
74
75
|
__exportStar(require("./postcodes/postcodes.contract"), exports);
|
|
75
76
|
__exportStar(require("./proofs/proofs.contract"), exports);
|
|
76
77
|
__exportStar(require("./proofs/proofs.dtos"), exports);
|
|
@@ -85,6 +86,7 @@ __exportStar(require("./realtime/data-changed"), exports);
|
|
|
85
86
|
__exportStar(require("./qualifications/qualifications.contract"), exports);
|
|
86
87
|
__exportStar(require("./relay-pods/relay-pods.contract"), exports);
|
|
87
88
|
__exportStar(require("./relay-pods/relay-pod-sessions.contract"), exports);
|
|
89
|
+
__exportStar(require("./relay-pods/relay-lab-fleet.contract"), exports);
|
|
88
90
|
__exportStar(require("./sheets-sync/sheets-sync.contract"), exports);
|
|
89
91
|
__exportStar(require("./sheets-sync/sheets-sync-events.schemas"), exports);
|
|
90
92
|
__exportStar(require("./shared/summary-schemas"), exports);
|
|
@@ -145,11 +147,13 @@ const notifications_contract_1 = require("./notifications/notifications.contract
|
|
|
145
147
|
const own_research_contract_1 = require("./own-research/own-research.contract");
|
|
146
148
|
const outreach_contract_1 = require("./outreach/outreach.contract");
|
|
147
149
|
const outreach_requests_contract_1 = require("./outreach/outreach-requests.contract");
|
|
150
|
+
const lab_outreach_contract_1 = require("./outreach/lab-outreach.contract");
|
|
148
151
|
const postcodes_contract_1 = require("./postcodes/postcodes.contract");
|
|
149
152
|
const proofs_contract_1 = require("./proofs/proofs.contract");
|
|
150
153
|
const qualifications_contract_1 = require("./qualifications/qualifications.contract");
|
|
151
154
|
const relay_pods_contract_1 = require("./relay-pods/relay-pods.contract");
|
|
152
155
|
const relay_pod_sessions_contract_1 = require("./relay-pods/relay-pod-sessions.contract");
|
|
156
|
+
const relay_lab_fleet_contract_1 = require("./relay-pods/relay-lab-fleet.contract");
|
|
153
157
|
const trades_contract_1 = require("./trades/trades.contract");
|
|
154
158
|
const users_contract_1 = require("./users/users.contract");
|
|
155
159
|
const kpi_impersonation_contract_1 = require("./kpi-impersonation/kpi-impersonation.contract");
|
|
@@ -196,6 +200,7 @@ exports.apiContractRouter = c.router({
|
|
|
196
200
|
Qualifications: qualifications_contract_1.qualificationsContract,
|
|
197
201
|
RelayPods: relay_pods_contract_1.relayPodsContract,
|
|
198
202
|
RelayPodSessions: relay_pod_sessions_contract_1.relayPodSessionsContract,
|
|
203
|
+
RelayLabFleet: relay_lab_fleet_contract_1.relayLabFleetContract,
|
|
199
204
|
Trades: trades_contract_1.tradesContract,
|
|
200
205
|
Auth: auth_contract_1.authContract,
|
|
201
206
|
AgentDailyMetrics: agent_daily_metrics_contract_1.agentDailyMetricsContract,
|
|
@@ -215,6 +220,7 @@ exports.apiContractRouter = c.router({
|
|
|
215
220
|
OwnResearch: own_research_contract_1.ownResearchContract,
|
|
216
221
|
Outreach: outreach_contract_1.outreachContract,
|
|
217
222
|
OutreachRequests: outreach_requests_contract_1.outreachRequestsContract,
|
|
223
|
+
LabOutreach: lab_outreach_contract_1.labOutreachContract,
|
|
218
224
|
SheetsSync: sheets_sync_contract_1.sheetsSyncContract,
|
|
219
225
|
DocumentIntake: document_intake_contract_1.documentIntakeContract,
|
|
220
226
|
});
|
|
@@ -24,6 +24,9 @@ const outreach_requests_contract_1 = require("../outreach-requests.contract");
|
|
|
24
24
|
startedAt: null,
|
|
25
25
|
completedAt: null,
|
|
26
26
|
assignedPod: null,
|
|
27
|
+
terminalReason: null,
|
|
28
|
+
terminalCampaignId: null,
|
|
29
|
+
terminalAt: null,
|
|
27
30
|
});
|
|
28
31
|
(0, bun_test_1.expect)(parsed.status).toBe('PENDING');
|
|
29
32
|
(0, bun_test_1.expect)(parsed.requestedByUserId).toBe('33333333-3333-4333-8333-333333333333');
|
|
@@ -49,6 +52,9 @@ const outreach_requests_contract_1 = require("../outreach-requests.contract");
|
|
|
49
52
|
publicBaseUrl: 'https://pod.test',
|
|
50
53
|
status: 'ACTIVE',
|
|
51
54
|
},
|
|
55
|
+
terminalReason: null,
|
|
56
|
+
terminalCampaignId: null,
|
|
57
|
+
terminalAt: null,
|
|
52
58
|
job: {
|
|
53
59
|
title: 'Need 1 x bricklayer',
|
|
54
60
|
trade: 'Bricklayer',
|
|
@@ -74,4 +80,35 @@ const outreach_requests_contract_1 = require("../outreach-requests.contract");
|
|
|
74
80
|
(0, bun_test_1.expect)(Object.keys(outreach_requests_contract_1.outreachRequestsContract.create.responses)).toContain('200');
|
|
75
81
|
(0, bun_test_1.expect)(Object.keys(outreach_requests_contract_1.outreachRequestsContract.create.responses)).not.toContain('409');
|
|
76
82
|
});
|
|
83
|
+
(0, bun_test_1.it)('accepts only the Lab terminal completion marker or null', () => {
|
|
84
|
+
const base = {
|
|
85
|
+
id: '11111111-1111-4111-8111-111111111111',
|
|
86
|
+
jobId: '22222222-2222-4222-8222-222222222222',
|
|
87
|
+
requestedByUserId: '33333333-3333-4333-8333-333333333333',
|
|
88
|
+
status: 'COMPLETED',
|
|
89
|
+
eligibleAtRequest: 0,
|
|
90
|
+
requestedByName: null,
|
|
91
|
+
contactedCount: 0,
|
|
92
|
+
createdAt: '2026-07-29T09:00:00.000Z',
|
|
93
|
+
startedAt: null,
|
|
94
|
+
completedAt: '2026-07-29T09:05:00.000Z',
|
|
95
|
+
assignedPod: null,
|
|
96
|
+
terminalReason: null,
|
|
97
|
+
terminalCampaignId: null,
|
|
98
|
+
terminalAt: null,
|
|
99
|
+
};
|
|
100
|
+
(0, bun_test_1.expect)(outreach_requests_contract_1.OutreachRequestSchema.safeParse(base).success).toBe(true);
|
|
101
|
+
(0, bun_test_1.expect)(outreach_requests_contract_1.OutreachRequestSchema.safeParse({
|
|
102
|
+
...base,
|
|
103
|
+
terminalReason: 'LAB_RUN_COMPLETED',
|
|
104
|
+
terminalCampaignId: '44444444-4444-4444-8444-444444444444',
|
|
105
|
+
terminalAt: '2026-07-29T09:05:00.000Z',
|
|
106
|
+
}).success).toBe(true);
|
|
107
|
+
(0, bun_test_1.expect)(outreach_requests_contract_1.OutreachRequestSchema.safeParse({
|
|
108
|
+
...base,
|
|
109
|
+
terminalReason: 'OTHER',
|
|
110
|
+
}).success).toBe(false);
|
|
111
|
+
const { terminalReason, terminalCampaignId, terminalAt, ...legacyShape } = base;
|
|
112
|
+
(0, bun_test_1.expect)(outreach_requests_contract_1.OutreachRequestSchema.safeParse(legacyShape).success).toBe(false);
|
|
113
|
+
});
|
|
77
114
|
});
|