@dakkitor/api-contracts 1.7.1 → 1.9.1
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/abilities/abilities.contract.d.ts +1 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +1 -0
- package/dist/abilities/abilities.contract.spec.js +50 -19
- package/dist/abilities/interconnection.abilities.json +6 -0
- package/dist/abilities/outreach.abilities.json +0 -7
- package/dist/abilities/second-agent.abilities.json +18 -91
- package/dist/abilities/team-leads.json +1 -0
- package/dist/abilities/worker-curator.abilities.json +2 -0
- package/dist/actives/actives.contract.d.ts +7083 -6905
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1645 -1543
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +73 -67
- package/dist/auth/auth.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.js +1 -0
- package/dist/bookings/backdate-guard.spec.d.ts +2 -0
- package/dist/bookings/backdate-guard.spec.d.ts.map +1 -0
- package/dist/bookings/backdate-guard.spec.js +80 -0
- package/dist/bookings/bookings.contract.d.ts +11169 -10843
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +26 -2
- package/dist/call-history/call-history.contract.d.ts +913 -876
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/calls-feed/calls-feed.contract.d.ts +126 -119
- package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
- package/dist/candidate-calling/candidate-calling.contract.d.ts +13397 -0
- package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.js +206 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts +2 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.d.ts.map +1 -0
- package/dist/candidate-calling/candidate-calling.contract.spec.js +193 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +290 -290
- package/dist/clients/clients.contract.d.ts +110 -110
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3052 -2948
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +2640 -2543
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/common/common-schemas.d.ts +13 -13
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -0
- package/dist/common/nino.d.ts +8 -0
- package/dist/common/nino.d.ts.map +1 -0
- package/dist/common/nino.js +26 -0
- package/dist/common/nino.spec.d.ts +2 -0
- package/dist/common/nino.spec.d.ts.map +1 -0
- package/dist/common/nino.spec.js +32 -0
- package/dist/companies/companies.contract.d.ts +30 -30
- package/dist/crews/crews.contract.d.ts +300 -300
- package/dist/cron-executions/cron-executions.contract.d.ts +26 -13
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +2 -0
- package/dist/cron-executions/cron-executions.contract.spec.d.ts +2 -0
- package/dist/cron-executions/cron-executions.contract.spec.d.ts.map +1 -0
- package/dist/cron-executions/cron-executions.contract.spec.js +27 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts +2 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/candidate-booking-date-fields.spec.js +59 -0
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +3483 -2798
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +59 -10
- package/dist/curated-worker-leads/candidate-coordination.contract.spec.js +11 -0
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +429 -386
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/contact-history.spec.js +56 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +2 -85
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.js +17 -41
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts +2 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.js +30 -0
- package/dist/curated-worker-leads/job-feed-match-counts.contract.spec.js +30 -0
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +5821 -5144
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +64 -12
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +96 -96
- package/dist/curated-workers/curated-workers.contract.d.ts +1518 -1307
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +37 -6
- package/dist/dashboards/dashboard-widgets.contract.d.ts +425 -455
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +1 -11
- package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts +2 -0
- package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.retirement.spec.js +22 -0
- package/dist/dashboards/dashboard.contract.d.ts +16 -16
- package/dist/document-intake/document-intake.automation.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.automation.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.automation.spec.js +469 -0
- package/dist/document-intake/document-intake.card-side.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.card-side.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.card-side.spec.js +51 -0
- package/dist/document-intake/document-intake.contract.d.ts +9421 -1071
- package/dist/document-intake/document-intake.contract.d.ts.map +1 -1
- package/dist/document-intake/document-intake.contract.js +219 -5
- package/dist/document-intake/document-intake.contract.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.contract.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.contract.spec.js +37 -0
- package/dist/document-intake/document-intake.nino.spec.d.ts +2 -0
- package/dist/document-intake/document-intake.nino.spec.d.ts.map +1 -0
- package/dist/document-intake/document-intake.nino.spec.js +42 -0
- package/dist/export-jobs/export-jobs.contract.d.ts +670 -670
- package/dist/exports-events/exports-events.schemas.d.ts +4 -4
- package/dist/files/files.contract.d.ts +36 -36
- package/dist/index.d.ts +21 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -9
- package/dist/job-clusters/job-clusters.contract.d.ts +52 -52
- package/dist/jobs/jobs.contract.d.ts +8714 -8456
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +102 -102
- package/dist/lead-assignments/lead-assignments.contract.d.ts +1290 -1219
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +330 -306
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +10 -10
- package/dist/leads/leads.contract.d.ts +245 -245
- package/dist/locations/locations.contract.d.ts +46 -46
- package/dist/notifications/notifications.contract.d.ts +85 -85
- package/dist/offices/offices.contract.d.ts +24 -24
- package/dist/outreach/__tests__/outreach-claim.test.js +33 -0
- package/dist/outreach/__tests__/outreach-contract-additions.spec.js +27 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +8 -0
- package/dist/outreach/lab-outreach.contract.d.ts +48 -48
- package/dist/outreach/outreach-requests.contract.d.ts +272 -272
- package/dist/outreach/outreach-requests.schemas.d.ts +14 -14
- package/dist/outreach/outreach.contract.d.ts +583 -162
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +50 -1
- package/dist/outreach/outreach.schemas.d.ts +2 -2
- package/dist/outreach/relay-hub-outreach.contract.d.ts +1334 -0
- package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.contract.js +113 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.contract.spec.js +145 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts +94 -0
- package/dist/outreach/relay-hub-outreach.schemas.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.schemas.js +15 -0
- package/dist/own-research/check-phone-response.spec.d.ts +2 -0
- package/dist/own-research/check-phone-response.spec.d.ts.map +1 -0
- package/dist/own-research/check-phone-response.spec.js +54 -0
- package/dist/own-research/own-research.contract.d.ts +1152 -1067
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +6 -1
- package/dist/proofs/proofs.contract.d.ts +196 -196
- package/dist/proofs/proofs.dtos.d.ts +104 -104
- package/dist/qualifications/qualifications.contract.d.ts +22 -22
- package/dist/realtime/realtime-telemetry.contract.d.ts +181 -0
- package/dist/realtime/realtime-telemetry.contract.d.ts.map +1 -0
- package/dist/realtime/realtime-telemetry.contract.js +81 -0
- package/dist/realtime/realtime-telemetry.contract.spec.d.ts +2 -0
- package/dist/realtime/realtime-telemetry.contract.spec.d.ts.map +1 -0
- package/dist/realtime/realtime-telemetry.contract.spec.js +41 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.d.ts +9 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.d.ts.map +1 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.js +17 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts +2 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts.map +1 -0
- package/dist/relay-pods/build-relay-pod-membership-rules.spec.js +20 -0
- package/dist/relay-pods/relay-hub.contract.d.ts +1463 -0
- package/dist/relay-pods/relay-hub.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.contract.js +140 -0
- package/dist/relay-pods/relay-hub.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-hub.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.contract.spec.js +180 -0
- package/dist/relay-pods/relay-hub.schemas.d.ts +577 -0
- package/dist/relay-pods/relay-hub.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-hub.schemas.js +158 -0
- package/dist/relay-pods/relay-lab-fleet.contract.d.ts +81 -81
- package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +53 -53
- package/dist/{curated-worker-leads/lead-agent-area.contract.d.ts → relay-pods/relay-pod-members.contract.d.ts} +233 -126
- package/dist/relay-pods/relay-pod-members.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-members.contract.js +73 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts +58 -58
- package/dist/relay-pods/relay-pods.contract.d.ts +169 -169
- package/dist/relay-pods/relay-pods.schemas.d.ts +46 -46
- package/dist/shared/summary-schemas.d.ts +10 -10
- package/dist/sheets-sync/__tests__/sheets-sync-events.schemas.test.js +22 -2
- package/dist/sheets-sync/sheets-sync-events.schemas.d.ts +30 -0
- package/dist/sheets-sync/sheets-sync-events.schemas.d.ts.map +1 -1
- package/dist/sheets-sync/sheets-sync-events.schemas.js +16 -1
- package/dist/sheets-sync/sheets-sync.contract.d.ts +829 -262
- package/dist/sheets-sync/sheets-sync.contract.d.ts.map +1 -1
- package/dist/sheets-sync/sheets-sync.contract.js +156 -34
- package/dist/telegram/telegram.contract.d.ts +12 -12
- package/dist/trades/trades.contract.d.ts +16 -16
- package/dist/user-access-grants/user-access-grants.contract.d.ts +383 -383
- package/dist/users/__tests__/assignable-roles.spec.js +1 -1
- package/dist/users/users.contract.d.ts +462 -431
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +19 -8
- package/dist/users/users.contract.spec.js +54 -0
- package/dist/voice-screener/voice-screener.contract.d.ts +237 -0
- package/dist/voice-screener/voice-screener.contract.d.ts.map +1 -0
- package/dist/voice-screener/voice-screener.contract.js +89 -0
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +500 -260
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
- package/dist/worker-identity-cases/worker-identity-cases.contract.js +17 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +130 -130
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +151 -151
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +15 -15
- package/dist/workers/do-not-contact.contract.d.ts +4 -4
- package/dist/workers/qualification-back-proof.spec.d.ts +2 -0
- package/dist/workers/qualification-back-proof.spec.d.ts.map +1 -0
- package/dist/workers/qualification-back-proof.spec.js +39 -0
- package/dist/workers/workers.contract.d.ts +3416 -3178
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +17 -0
- package/package.json +1 -1
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +0 -4527
- package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/consent-queue.contract.js +0 -201
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +0 -135
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/curated-worker-leads.contract.js +0 -32
- package/dist/curated-worker-leads/lead-agent-area.contract.d.ts.map +0 -1
- package/dist/curated-worker-leads/lead-agent-area.contract.js +0 -51
|
@@ -1,4527 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const ConsentLeadSchema: z.ZodObject<{
|
|
3
|
-
assignmentId: z.ZodString;
|
|
4
|
-
curatedWorkerId: z.ZodString;
|
|
5
|
-
workerName: z.ZodString;
|
|
6
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
7
|
-
phoneId: z.ZodNullable<z.ZodString>;
|
|
8
|
-
postcode: z.ZodNullable<z.ZodString>;
|
|
9
|
-
matchingJobCount: z.ZodNumber;
|
|
10
|
-
nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
11
|
-
assignedAt: z.ZodString;
|
|
12
|
-
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
curatedWorkerId: string;
|
|
14
|
-
postcode: string | null;
|
|
15
|
-
phoneNumber: string | null;
|
|
16
|
-
workerName: string;
|
|
17
|
-
assignmentId: string;
|
|
18
|
-
assignedAt: string;
|
|
19
|
-
phoneId: string | null;
|
|
20
|
-
matchingJobCount: number;
|
|
21
|
-
nearestJobDistanceKm: number | null;
|
|
22
|
-
}, {
|
|
23
|
-
curatedWorkerId: string;
|
|
24
|
-
postcode: string | null;
|
|
25
|
-
phoneNumber: string | null;
|
|
26
|
-
workerName: string;
|
|
27
|
-
assignmentId: string;
|
|
28
|
-
assignedAt: string;
|
|
29
|
-
phoneId: string | null;
|
|
30
|
-
matchingJobCount: number;
|
|
31
|
-
nearestJobDistanceKm: number | null;
|
|
32
|
-
}>;
|
|
33
|
-
export type ConsentLead = z.infer<typeof ConsentLeadSchema>;
|
|
34
|
-
export declare const DeclineConsentSchema: z.ZodObject<{
|
|
35
|
-
reason: z.ZodEnum<["NOT_INTERESTED", "ALREADY_WORKING", "OUT_OF_COUNTRY", "WRONG_NUMBER", "NO_ANSWER", "OTHER"]>;
|
|
36
|
-
doNotContactDays: z.ZodNumber;
|
|
37
|
-
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
reason: "NOT_INTERESTED" | "OTHER" | "NO_ANSWER" | "ALREADY_WORKING" | "OUT_OF_COUNTRY" | "WRONG_NUMBER";
|
|
39
|
-
doNotContactDays: number;
|
|
40
|
-
}, {
|
|
41
|
-
reason: "NOT_INTERESTED" | "OTHER" | "NO_ANSWER" | "ALREADY_WORKING" | "OUT_OF_COUNTRY" | "WRONG_NUMBER";
|
|
42
|
-
doNotContactDays: number;
|
|
43
|
-
}>;
|
|
44
|
-
export type DeclineConsent = z.infer<typeof DeclineConsentSchema>;
|
|
45
|
-
export declare const ConsentQueueStatusSchema: z.ZodObject<{
|
|
46
|
-
agentId: z.ZodString;
|
|
47
|
-
nextAvailable: z.ZodBoolean;
|
|
48
|
-
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
agentId: string;
|
|
50
|
-
nextAvailable: boolean;
|
|
51
|
-
}, {
|
|
52
|
-
agentId: string;
|
|
53
|
-
nextAvailable: boolean;
|
|
54
|
-
}>;
|
|
55
|
-
export type ConsentQueueStatus = z.infer<typeof ConsentQueueStatusSchema>;
|
|
56
|
-
export declare const ConsentAdvanceResponseSchema: z.ZodObject<{
|
|
57
|
-
next: z.ZodNullable<z.ZodObject<{
|
|
58
|
-
assignmentId: z.ZodString;
|
|
59
|
-
curatedWorkerId: z.ZodString;
|
|
60
|
-
workerName: z.ZodString;
|
|
61
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
62
|
-
phoneId: z.ZodNullable<z.ZodString>;
|
|
63
|
-
postcode: z.ZodNullable<z.ZodString>;
|
|
64
|
-
matchingJobCount: z.ZodNumber;
|
|
65
|
-
nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
66
|
-
assignedAt: z.ZodString;
|
|
67
|
-
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
curatedWorkerId: string;
|
|
69
|
-
postcode: string | null;
|
|
70
|
-
phoneNumber: string | null;
|
|
71
|
-
workerName: string;
|
|
72
|
-
assignmentId: string;
|
|
73
|
-
assignedAt: string;
|
|
74
|
-
phoneId: string | null;
|
|
75
|
-
matchingJobCount: number;
|
|
76
|
-
nearestJobDistanceKm: number | null;
|
|
77
|
-
}, {
|
|
78
|
-
curatedWorkerId: string;
|
|
79
|
-
postcode: string | null;
|
|
80
|
-
phoneNumber: string | null;
|
|
81
|
-
workerName: string;
|
|
82
|
-
assignmentId: string;
|
|
83
|
-
assignedAt: string;
|
|
84
|
-
phoneId: string | null;
|
|
85
|
-
matchingJobCount: number;
|
|
86
|
-
nearestJobDistanceKm: number | null;
|
|
87
|
-
}>>;
|
|
88
|
-
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
next: {
|
|
90
|
-
curatedWorkerId: string;
|
|
91
|
-
postcode: string | null;
|
|
92
|
-
phoneNumber: string | null;
|
|
93
|
-
workerName: string;
|
|
94
|
-
assignmentId: string;
|
|
95
|
-
assignedAt: string;
|
|
96
|
-
phoneId: string | null;
|
|
97
|
-
matchingJobCount: number;
|
|
98
|
-
nearestJobDistanceKm: number | null;
|
|
99
|
-
} | null;
|
|
100
|
-
}, {
|
|
101
|
-
next: {
|
|
102
|
-
curatedWorkerId: string;
|
|
103
|
-
postcode: string | null;
|
|
104
|
-
phoneNumber: string | null;
|
|
105
|
-
workerName: string;
|
|
106
|
-
assignmentId: string;
|
|
107
|
-
assignedAt: string;
|
|
108
|
-
phoneId: string | null;
|
|
109
|
-
matchingJobCount: number;
|
|
110
|
-
nearestJobDistanceKm: number | null;
|
|
111
|
-
} | null;
|
|
112
|
-
}>;
|
|
113
|
-
export type ConsentAdvanceResponse = z.infer<typeof ConsentAdvanceResponseSchema>;
|
|
114
|
-
export declare const ContactChannelSchema: z.ZodEnum<["WHATSAPP", "PHONE_CALL"]>;
|
|
115
|
-
export type ContactChannel = z.infer<typeof ContactChannelSchema>;
|
|
116
|
-
export declare const MarkPhoneInvalidSchema: z.ZodObject<{
|
|
117
|
-
channel: z.ZodEnum<["WHATSAPP", "PHONE_CALL"]>;
|
|
118
|
-
curatedWorkerPhoneId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
|
-
}, "strip", z.ZodTypeAny, {
|
|
120
|
-
channel: "WHATSAPP" | "PHONE_CALL";
|
|
121
|
-
curatedWorkerPhoneId?: string | null | undefined;
|
|
122
|
-
}, {
|
|
123
|
-
channel: "WHATSAPP" | "PHONE_CALL";
|
|
124
|
-
curatedWorkerPhoneId?: string | null | undefined;
|
|
125
|
-
}>;
|
|
126
|
-
export type MarkPhoneInvalid = z.infer<typeof MarkPhoneInvalidSchema>;
|
|
127
|
-
export declare const ConsentJobsResponseSchema: z.ZodObject<{
|
|
128
|
-
worker: z.ZodObject<{
|
|
129
|
-
id: z.ZodString;
|
|
130
|
-
firstName: z.ZodString;
|
|
131
|
-
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
|
-
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
|
-
nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
134
|
-
dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
135
|
-
bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
136
|
-
englishLevel: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NONE", "BASIC", "INTERMEDIATE", "ADVANCED", "NATIVE"]>>>;
|
|
137
|
-
nationality: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AFGHAN", "ALBANIAN", "ALGERIAN", "AMERICAN", "ANDORRAN", "ANGOLAN", "ANTIGUANS", "ARGENTINEAN", "ARMENIAN", "AUSTRALIAN", "AUSTRIAN", "AZERBAIJANI", "BAHAMIAN", "BAHRAINI", "BANGLADESHI", "BARBADIAN", "BARBUDANS", "BELARUSIAN", "BELGIAN", "BELIZEAN", "BENINESE", "BHUTANESE", "BOLIVIAN", "BOSNIAN", "BRAZILIAN", "BRITISH", "BRUNEIAN", "BULGARIAN", "BURKINABE", "BURMESE", "BURUNDIAN", "CAMBODIAN", "CAMEROONIAN", "CANADIAN", "CAPE_VERDEAN", "CENTRAL_AFRICAN", "CHADIAN", "CHILEAN", "CHINESE", "COLOMBIAN", "COMORAN", "CONGOLESE", "COSTA_RICAN", "CROATIAN", "CUBAN", "CYPRIOT", "CZECH", "DANISH", "DJIBOUTI", "DOMINICAN", "DUTCH", "EAST_TIMORESE", "ECUADOREAN", "EGYPTIAN", "EMIRIAN", "EQUATORIAL_GUINEAN", "ERITREAN", "ESTONIAN", "ETHIOPIAN", "FIJIAN", "FILIPINO", "FINNISH", "FRENCH", "GABONESE", "GAMBIAN", "GEORGIAN", "GERMAN", "GHANAIAN", "GREEK", "GRENADIAN", "GUATEMALAN", "GUINEA_BISSAUAN", "GUINEAN", "GUYANESE", "HAITIAN", "HERZEGOVINIAN", "HONDURAN", "HUNGARIAN", "ICELANDER", "INDIAN", "INDONESIAN", "IRANIAN", "IRAQI", "IRISH", "ISRAELI", "ITALIAN", "IVORIAN", "JAMAICAN", "JAPANESE", "JORDANIAN", "KAZAKHSTANI", "KENYAN", "KITTIAN_AND_NEVISIAN", "KUWAITI", "KYRGYZ", "LAOTIAN", "LATVIAN", "LEBANESE", "LIBERIAN", "LIBYAN", "LIECHTENSTEINER", "LITHUANIAN", "LUXEMBOURGER", "MACEDONIAN", "MALAGASY", "MALAWIAN", "MALAYSIAN", "MALDIVAN", "MALIAN", "MALTESE", "MARSHALLESE", "MAURITANIAN", "MAURITIAN", "MEXICAN", "MICRONESIAN", "MOLDOVAN", "MONACAN", "MONGOLIAN", "MOROCCAN", "MOSOTHO", "MOTSWANA", "MOZAMBICAN", "NAMIBIAN", "NAURUAN", "NEPALESE", "NEW_ZEALANDER", "NI_VANUATU", "NICARAGUAN", "NIGERIEN", "NIGERIAN", "NORTH_KOREAN", "NORTHERN_IRISH", "NORWEGIAN", "OMANI", "PAKISTANI", "PALAUAN", "PANAMANIAN", "PAPUA_NEW_GUINEAN", "PARAGUAYAN", "PERUVIAN", "POLISH", "PORTUGUESE", "QATARI", "ROMANIAN", "RUSSIAN", "RWANDAN", "SAINT_LUCIAN", "SALVADORAN", "SAMOAN", "SAN_MARINESE", "SAO_TOMEAN", "SAUDI", "SCOTTISH", "SENEGALESE", "SERBIAN", "SEYCHELLOIS", "SIERRA_LEONEAN", "SINGAPOREAN", "SLOVAKIAN", "SLOVENIAN", "SOLOMON_ISLANDER", "SOMALI", "SOUTH_AFRICAN", "SOUTH_KOREAN", "SOUTH_SUDANESE", "SPANISH", "SRI_LANKAN", "SUDANESE", "SURINAMER", "SWAZI", "SWEDISH", "SWISS", "SYRIAN", "TAIWANESE", "TAJIK", "TANZANIAN", "THAI", "TOGOLESE", "TONGAN", "TRINIDADIAN_OR_TOBAGONIAN", "TUNISIAN", "TURKISH", "TUVALUAN", "UGANDAN", "UKRAINIAN", "URUGUAYAN", "UZBEKISTANI", "VENEZUELAN", "VIETNAMESE", "WELSH", "YEMENITE", "ZAMBIAN", "ZIMBABWEAN"]>>>;
|
|
138
|
-
hasTools: z.ZodNullable<z.ZodBoolean>;
|
|
139
|
-
hasPpe: z.ZodNullable<z.ZodBoolean>;
|
|
140
|
-
bookingHistory: z.ZodOptional<z.ZodObject<{
|
|
141
|
-
workedTotal: z.ZodNumber;
|
|
142
|
-
workedByMe: z.ZodNumber;
|
|
143
|
-
noShowTotal: z.ZodNumber;
|
|
144
|
-
noShowByMe: z.ZodNumber;
|
|
145
|
-
}, "strip", z.ZodTypeAny, {
|
|
146
|
-
workedTotal: number;
|
|
147
|
-
workedByMe: number;
|
|
148
|
-
noShowTotal: number;
|
|
149
|
-
noShowByMe: number;
|
|
150
|
-
}, {
|
|
151
|
-
workedTotal: number;
|
|
152
|
-
workedByMe: number;
|
|
153
|
-
noShowTotal: number;
|
|
154
|
-
noShowByMe: number;
|
|
155
|
-
}>>;
|
|
156
|
-
transportation: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
157
|
-
methods: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["OWN_CAR", "OWN_VAN", "MOTORCYCLE", "PUBLIC_TRANSPORT", "BICYCLE", "WALK"]>, "many">>>;
|
|
158
|
-
preferredMethod: z.ZodOptional<z.ZodNullable<z.ZodEnum<["OWN_CAR", "OWN_VAN", "MOTORCYCLE", "PUBLIC_TRANSPORT", "BICYCLE", "WALK"]>>>;
|
|
159
|
-
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
161
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
162
|
-
}, {
|
|
163
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
164
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
165
|
-
}>, {
|
|
166
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
167
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
168
|
-
}, {
|
|
169
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
170
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
171
|
-
}>>>;
|
|
172
|
-
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
173
|
-
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
174
|
-
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
175
|
-
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
176
|
-
adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
177
|
-
builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
178
|
-
postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
179
|
-
areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
180
|
-
latitude: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
181
|
-
longitude: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
182
|
-
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
address?: string | null | undefined;
|
|
184
|
-
postcode?: string | null | undefined;
|
|
185
|
-
county?: string | null | undefined;
|
|
186
|
-
adminDistrict?: string | null | undefined;
|
|
187
|
-
builtUpArea?: string | null | undefined;
|
|
188
|
-
postTown?: string | null | undefined;
|
|
189
|
-
areaCovered?: string | null | undefined;
|
|
190
|
-
latitude?: number | null | undefined;
|
|
191
|
-
longitude?: number | null | undefined;
|
|
192
|
-
}, {
|
|
193
|
-
address?: string | null | undefined;
|
|
194
|
-
postcode?: string | null | undefined;
|
|
195
|
-
county?: string | null | undefined;
|
|
196
|
-
adminDistrict?: string | null | undefined;
|
|
197
|
-
builtUpArea?: string | null | undefined;
|
|
198
|
-
postTown?: string | null | undefined;
|
|
199
|
-
areaCovered?: string | null | undefined;
|
|
200
|
-
latitude?: number | null | undefined;
|
|
201
|
-
longitude?: number | null | undefined;
|
|
202
|
-
}>>>;
|
|
203
|
-
offerOpenness: z.ZodDefault<z.ZodEnum<["ACTIVELY_LOOKING", "OPEN", "NOT_INTERESTED"]>>;
|
|
204
|
-
offerOpennessSetAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
205
|
-
offerNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
206
|
-
offerNoteUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
207
|
-
offerSignalUpdatedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
|
-
offerSignalUpdatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
|
-
shareCode: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
210
|
-
code: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
|
211
|
-
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
212
|
-
fileId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
213
|
-
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
code: string | null;
|
|
215
|
-
expiryDate?: string | null | undefined;
|
|
216
|
-
fileId?: string | null | undefined;
|
|
217
|
-
}, {
|
|
218
|
-
code: string | null;
|
|
219
|
-
expiryDate?: string | Date | null | undefined;
|
|
220
|
-
fileId?: string | null | undefined;
|
|
221
|
-
}>>>;
|
|
222
|
-
liveStatus: z.ZodOptional<z.ZodObject<{
|
|
223
|
-
booking: z.ZodOptional<z.ZodNullable<z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "CONFIRMED", "DIDNT_START_BECAUSE_OF_WORKER", "DIDNT_START_BECAUSE_OF_US", "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE", "DIDNT_START_BECAUSE_OF_AGENCY", "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>>>;
|
|
224
|
-
bookingId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
225
|
-
active: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
226
|
-
status: z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY", "OFF_SCHEDULE"]>;
|
|
227
|
-
}, "strip", z.ZodTypeAny, {
|
|
228
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
229
|
-
}, {
|
|
230
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
231
|
-
}>>>;
|
|
232
|
-
activeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
233
|
-
bookingAgent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
234
|
-
id: z.ZodString;
|
|
235
|
-
firstName: z.ZodString;
|
|
236
|
-
lastName: z.ZodString;
|
|
237
|
-
}, "strip", z.ZodTypeAny, {
|
|
238
|
-
id: string;
|
|
239
|
-
firstName: string;
|
|
240
|
-
lastName: string;
|
|
241
|
-
}, {
|
|
242
|
-
id: string;
|
|
243
|
-
firstName: string;
|
|
244
|
-
lastName: string;
|
|
245
|
-
}>>>;
|
|
246
|
-
}, "strip", z.ZodTypeAny, {
|
|
247
|
-
bookingId?: string | null | undefined;
|
|
248
|
-
booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
|
|
249
|
-
active?: {
|
|
250
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
251
|
-
} | null | undefined;
|
|
252
|
-
activeId?: string | null | undefined;
|
|
253
|
-
bookingAgent?: {
|
|
254
|
-
id: string;
|
|
255
|
-
firstName: string;
|
|
256
|
-
lastName: string;
|
|
257
|
-
} | null | undefined;
|
|
258
|
-
}, {
|
|
259
|
-
bookingId?: string | null | undefined;
|
|
260
|
-
booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
|
|
261
|
-
active?: {
|
|
262
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
263
|
-
} | null | undefined;
|
|
264
|
-
activeId?: string | null | undefined;
|
|
265
|
-
bookingAgent?: {
|
|
266
|
-
id: string;
|
|
267
|
-
firstName: string;
|
|
268
|
-
lastName: string;
|
|
269
|
-
} | null | undefined;
|
|
270
|
-
}>>;
|
|
271
|
-
occupancyStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE", "BOOKED"]>>>;
|
|
272
|
-
distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
273
|
-
workingUntil: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
274
|
-
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
275
|
-
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
276
|
-
blacklisted: z.ZodBoolean;
|
|
277
|
-
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
278
|
-
suppression: z.ZodNullable<z.ZodObject<{
|
|
279
|
-
reason: z.ZodString;
|
|
280
|
-
note: z.ZodNullable<z.ZodString>;
|
|
281
|
-
until: z.ZodNullable<z.ZodString>;
|
|
282
|
-
setByName: z.ZodString;
|
|
283
|
-
setAt: z.ZodString;
|
|
284
|
-
}, "strip", z.ZodTypeAny, {
|
|
285
|
-
reason: string;
|
|
286
|
-
until: string | null;
|
|
287
|
-
note: string | null;
|
|
288
|
-
setByName: string;
|
|
289
|
-
setAt: string;
|
|
290
|
-
}, {
|
|
291
|
-
reason: string;
|
|
292
|
-
until: string | null;
|
|
293
|
-
note: string | null;
|
|
294
|
-
setByName: string;
|
|
295
|
-
setAt: string;
|
|
296
|
-
}>>;
|
|
297
|
-
trades: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
298
|
-
id: z.ZodString;
|
|
299
|
-
tradeId: z.ZodString;
|
|
300
|
-
mainTrade: z.ZodBoolean;
|
|
301
|
-
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
302
|
-
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
303
|
-
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
id: string;
|
|
305
|
-
createdAt: string;
|
|
306
|
-
updatedAt: string;
|
|
307
|
-
tradeId: string;
|
|
308
|
-
mainTrade: boolean;
|
|
309
|
-
}, {
|
|
310
|
-
id: string;
|
|
311
|
-
createdAt: string | Date;
|
|
312
|
-
updatedAt: string | Date;
|
|
313
|
-
tradeId: string;
|
|
314
|
-
mainTrade: boolean;
|
|
315
|
-
}>, "many">>>;
|
|
316
|
-
qualifications: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
317
|
-
id: z.ZodString;
|
|
318
|
-
proofDocumentFileId: z.ZodNullable<z.ZodString>;
|
|
319
|
-
issueDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
320
|
-
expiryDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
321
|
-
referenceNumber: z.ZodNullable<z.ZodString>;
|
|
322
|
-
qualificationId: z.ZodString;
|
|
323
|
-
qualificationTypeId: z.ZodNullable<z.ZodString>;
|
|
324
|
-
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
325
|
-
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
326
|
-
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
id: string;
|
|
328
|
-
createdAt: string;
|
|
329
|
-
proofDocumentFileId: string | null;
|
|
330
|
-
referenceNumber: string | null;
|
|
331
|
-
qualificationId: string;
|
|
332
|
-
qualificationTypeId: string | null;
|
|
333
|
-
updatedAt: string;
|
|
334
|
-
issueDate?: string | null | undefined;
|
|
335
|
-
expiryDate?: string | null | undefined;
|
|
336
|
-
}, {
|
|
337
|
-
id: string;
|
|
338
|
-
createdAt: string | Date;
|
|
339
|
-
proofDocumentFileId: string | null;
|
|
340
|
-
referenceNumber: string | null;
|
|
341
|
-
qualificationId: string;
|
|
342
|
-
qualificationTypeId: string | null;
|
|
343
|
-
updatedAt: string | Date;
|
|
344
|
-
issueDate?: string | Date | null | undefined;
|
|
345
|
-
expiryDate?: string | Date | null | undefined;
|
|
346
|
-
}>, "many">>>;
|
|
347
|
-
phoneNumbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
348
|
-
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
349
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
350
|
-
} & {
|
|
351
|
-
id: z.ZodString;
|
|
352
|
-
phoneNumber: z.ZodString;
|
|
353
|
-
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
354
|
-
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
355
|
-
}, "strip", z.ZodTypeAny, {
|
|
356
|
-
id: string;
|
|
357
|
-
createdAt: string;
|
|
358
|
-
updatedAt: string;
|
|
359
|
-
phoneNumber: string;
|
|
360
|
-
isPrimary: boolean;
|
|
361
|
-
description?: string | null | undefined;
|
|
362
|
-
}, {
|
|
363
|
-
id: string;
|
|
364
|
-
createdAt: string | Date;
|
|
365
|
-
updatedAt: string | Date;
|
|
366
|
-
phoneNumber: string;
|
|
367
|
-
description?: string | null | undefined;
|
|
368
|
-
isPrimary?: boolean | undefined;
|
|
369
|
-
}>, "many">>>;
|
|
370
|
-
idDocuments: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
371
|
-
id: z.ZodString;
|
|
372
|
-
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
373
|
-
documentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["passport", "id_card", "driving_license", "unknown"]>>>;
|
|
374
|
-
expiryDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
375
|
-
documentNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
376
|
-
createdAt: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
377
|
-
updatedAt: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
378
|
-
}, "strip", z.ZodTypeAny, {
|
|
379
|
-
id: string;
|
|
380
|
-
createdAt?: string | undefined;
|
|
381
|
-
expiryDate?: string | null | undefined;
|
|
382
|
-
updatedAt?: string | undefined;
|
|
383
|
-
fileId?: string | null | undefined;
|
|
384
|
-
documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
|
|
385
|
-
documentNumber?: string | null | undefined;
|
|
386
|
-
}, {
|
|
387
|
-
id: string;
|
|
388
|
-
createdAt?: string | Date | undefined;
|
|
389
|
-
expiryDate?: string | Date | null | undefined;
|
|
390
|
-
updatedAt?: string | Date | undefined;
|
|
391
|
-
fileId?: string | null | undefined;
|
|
392
|
-
documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
|
|
393
|
-
documentNumber?: string | null | undefined;
|
|
394
|
-
}>, "many">>>;
|
|
395
|
-
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
id: string;
|
|
397
|
-
createdAt: string;
|
|
398
|
-
firstName: string;
|
|
399
|
-
updatedAt: string;
|
|
400
|
-
hasTools: boolean | null;
|
|
401
|
-
hasPpe: boolean | null;
|
|
402
|
-
offerOpenness: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN";
|
|
403
|
-
blacklisted: boolean;
|
|
404
|
-
suppression: {
|
|
405
|
-
reason: string;
|
|
406
|
-
until: string | null;
|
|
407
|
-
note: string | null;
|
|
408
|
-
setByName: string;
|
|
409
|
-
setAt: string;
|
|
410
|
-
} | null;
|
|
411
|
-
idDocuments: {
|
|
412
|
-
id: string;
|
|
413
|
-
createdAt?: string | undefined;
|
|
414
|
-
expiryDate?: string | null | undefined;
|
|
415
|
-
updatedAt?: string | undefined;
|
|
416
|
-
fileId?: string | null | undefined;
|
|
417
|
-
documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
|
|
418
|
-
documentNumber?: string | null | undefined;
|
|
419
|
-
}[];
|
|
420
|
-
distanceKm?: number | null | undefined;
|
|
421
|
-
lastName?: string | null | undefined;
|
|
422
|
-
bookingHistory?: {
|
|
423
|
-
workedTotal: number;
|
|
424
|
-
workedByMe: number;
|
|
425
|
-
noShowTotal: number;
|
|
426
|
-
noShowByMe: number;
|
|
427
|
-
} | undefined;
|
|
428
|
-
email?: string | null | undefined;
|
|
429
|
-
nino?: string | null | undefined;
|
|
430
|
-
dateOfBirth?: string | null | undefined;
|
|
431
|
-
bio?: string | null | undefined;
|
|
432
|
-
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
433
|
-
nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
|
|
434
|
-
transportation?: {
|
|
435
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
436
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
437
|
-
} | null | undefined;
|
|
438
|
-
location?: {
|
|
439
|
-
address?: string | null | undefined;
|
|
440
|
-
postcode?: string | null | undefined;
|
|
441
|
-
county?: string | null | undefined;
|
|
442
|
-
adminDistrict?: string | null | undefined;
|
|
443
|
-
builtUpArea?: string | null | undefined;
|
|
444
|
-
postTown?: string | null | undefined;
|
|
445
|
-
areaCovered?: string | null | undefined;
|
|
446
|
-
latitude?: number | null | undefined;
|
|
447
|
-
longitude?: number | null | undefined;
|
|
448
|
-
} | null | undefined;
|
|
449
|
-
offerOpennessSetAt?: string | null | undefined;
|
|
450
|
-
offerNote?: string | null | undefined;
|
|
451
|
-
offerNoteUpdatedAt?: string | null | undefined;
|
|
452
|
-
offerSignalUpdatedById?: string | null | undefined;
|
|
453
|
-
offerSignalUpdatedByName?: string | null | undefined;
|
|
454
|
-
shareCode?: {
|
|
455
|
-
code: string | null;
|
|
456
|
-
expiryDate?: string | null | undefined;
|
|
457
|
-
fileId?: string | null | undefined;
|
|
458
|
-
} | null | undefined;
|
|
459
|
-
liveStatus?: {
|
|
460
|
-
bookingId?: string | null | undefined;
|
|
461
|
-
booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
|
|
462
|
-
active?: {
|
|
463
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
464
|
-
} | null | undefined;
|
|
465
|
-
activeId?: string | null | undefined;
|
|
466
|
-
bookingAgent?: {
|
|
467
|
-
id: string;
|
|
468
|
-
firstName: string;
|
|
469
|
-
lastName: string;
|
|
470
|
-
} | null | undefined;
|
|
471
|
-
} | undefined;
|
|
472
|
-
occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
|
|
473
|
-
workingUntil?: string | null | undefined;
|
|
474
|
-
blacklistReason?: string | null | undefined;
|
|
475
|
-
trades?: {
|
|
476
|
-
id: string;
|
|
477
|
-
createdAt: string;
|
|
478
|
-
updatedAt: string;
|
|
479
|
-
tradeId: string;
|
|
480
|
-
mainTrade: boolean;
|
|
481
|
-
}[] | null | undefined;
|
|
482
|
-
qualifications?: {
|
|
483
|
-
id: string;
|
|
484
|
-
createdAt: string;
|
|
485
|
-
proofDocumentFileId: string | null;
|
|
486
|
-
referenceNumber: string | null;
|
|
487
|
-
qualificationId: string;
|
|
488
|
-
qualificationTypeId: string | null;
|
|
489
|
-
updatedAt: string;
|
|
490
|
-
issueDate?: string | null | undefined;
|
|
491
|
-
expiryDate?: string | null | undefined;
|
|
492
|
-
}[] | null | undefined;
|
|
493
|
-
phoneNumbers?: {
|
|
494
|
-
id: string;
|
|
495
|
-
createdAt: string;
|
|
496
|
-
updatedAt: string;
|
|
497
|
-
phoneNumber: string;
|
|
498
|
-
isPrimary: boolean;
|
|
499
|
-
description?: string | null | undefined;
|
|
500
|
-
}[] | null | undefined;
|
|
501
|
-
}, {
|
|
502
|
-
id: string;
|
|
503
|
-
createdAt: string | Date;
|
|
504
|
-
firstName: string;
|
|
505
|
-
updatedAt: string | Date;
|
|
506
|
-
hasTools: boolean | null;
|
|
507
|
-
hasPpe: boolean | null;
|
|
508
|
-
blacklisted: boolean;
|
|
509
|
-
suppression: {
|
|
510
|
-
reason: string;
|
|
511
|
-
until: string | null;
|
|
512
|
-
note: string | null;
|
|
513
|
-
setByName: string;
|
|
514
|
-
setAt: string;
|
|
515
|
-
} | null;
|
|
516
|
-
distanceKm?: number | null | undefined;
|
|
517
|
-
lastName?: string | null | undefined;
|
|
518
|
-
bookingHistory?: {
|
|
519
|
-
workedTotal: number;
|
|
520
|
-
workedByMe: number;
|
|
521
|
-
noShowTotal: number;
|
|
522
|
-
noShowByMe: number;
|
|
523
|
-
} | undefined;
|
|
524
|
-
email?: string | null | undefined;
|
|
525
|
-
nino?: string | null | undefined;
|
|
526
|
-
dateOfBirth?: string | Date | null | undefined;
|
|
527
|
-
bio?: string | null | undefined;
|
|
528
|
-
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
529
|
-
nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
|
|
530
|
-
transportation?: {
|
|
531
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
532
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
533
|
-
} | null | undefined;
|
|
534
|
-
location?: {
|
|
535
|
-
address?: string | null | undefined;
|
|
536
|
-
postcode?: string | null | undefined;
|
|
537
|
-
county?: string | null | undefined;
|
|
538
|
-
adminDistrict?: string | null | undefined;
|
|
539
|
-
builtUpArea?: string | null | undefined;
|
|
540
|
-
postTown?: string | null | undefined;
|
|
541
|
-
areaCovered?: string | null | undefined;
|
|
542
|
-
latitude?: number | null | undefined;
|
|
543
|
-
longitude?: number | null | undefined;
|
|
544
|
-
} | null | undefined;
|
|
545
|
-
offerOpenness?: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN" | undefined;
|
|
546
|
-
offerOpennessSetAt?: string | Date | null | undefined;
|
|
547
|
-
offerNote?: string | null | undefined;
|
|
548
|
-
offerNoteUpdatedAt?: string | Date | null | undefined;
|
|
549
|
-
offerSignalUpdatedById?: string | null | undefined;
|
|
550
|
-
offerSignalUpdatedByName?: string | null | undefined;
|
|
551
|
-
shareCode?: {
|
|
552
|
-
code: string | null;
|
|
553
|
-
expiryDate?: string | Date | null | undefined;
|
|
554
|
-
fileId?: string | null | undefined;
|
|
555
|
-
} | null | undefined;
|
|
556
|
-
liveStatus?: {
|
|
557
|
-
bookingId?: string | null | undefined;
|
|
558
|
-
booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
|
|
559
|
-
active?: {
|
|
560
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
561
|
-
} | null | undefined;
|
|
562
|
-
activeId?: string | null | undefined;
|
|
563
|
-
bookingAgent?: {
|
|
564
|
-
id: string;
|
|
565
|
-
firstName: string;
|
|
566
|
-
lastName: string;
|
|
567
|
-
} | null | undefined;
|
|
568
|
-
} | undefined;
|
|
569
|
-
occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
|
|
570
|
-
workingUntil?: string | Date | null | undefined;
|
|
571
|
-
blacklistReason?: string | null | undefined;
|
|
572
|
-
trades?: {
|
|
573
|
-
id: string;
|
|
574
|
-
createdAt: string | Date;
|
|
575
|
-
updatedAt: string | Date;
|
|
576
|
-
tradeId: string;
|
|
577
|
-
mainTrade: boolean;
|
|
578
|
-
}[] | null | undefined;
|
|
579
|
-
qualifications?: {
|
|
580
|
-
id: string;
|
|
581
|
-
createdAt: string | Date;
|
|
582
|
-
proofDocumentFileId: string | null;
|
|
583
|
-
referenceNumber: string | null;
|
|
584
|
-
qualificationId: string;
|
|
585
|
-
qualificationTypeId: string | null;
|
|
586
|
-
updatedAt: string | Date;
|
|
587
|
-
issueDate?: string | Date | null | undefined;
|
|
588
|
-
expiryDate?: string | Date | null | undefined;
|
|
589
|
-
}[] | null | undefined;
|
|
590
|
-
phoneNumbers?: {
|
|
591
|
-
id: string;
|
|
592
|
-
createdAt: string | Date;
|
|
593
|
-
updatedAt: string | Date;
|
|
594
|
-
phoneNumber: string;
|
|
595
|
-
description?: string | null | undefined;
|
|
596
|
-
isPrimary?: boolean | undefined;
|
|
597
|
-
}[] | null | undefined;
|
|
598
|
-
idDocuments?: {
|
|
599
|
-
id: string;
|
|
600
|
-
createdAt?: string | Date | undefined;
|
|
601
|
-
expiryDate?: string | Date | null | undefined;
|
|
602
|
-
updatedAt?: string | Date | undefined;
|
|
603
|
-
fileId?: string | null | undefined;
|
|
604
|
-
documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
|
|
605
|
-
documentNumber?: string | null | undefined;
|
|
606
|
-
}[] | undefined;
|
|
607
|
-
}>;
|
|
608
|
-
matches: z.ZodArray<z.ZodObject<{
|
|
609
|
-
subjectKind: z.ZodEnum<["OWNED", "CURATED"]>;
|
|
610
|
-
subjectId: z.ZodString;
|
|
611
|
-
jobId: z.ZodString;
|
|
612
|
-
distanceKm: z.ZodNullable<z.ZodNumber>;
|
|
613
|
-
driveMinutes: z.ZodNullable<z.ZodNumber>;
|
|
614
|
-
transitMinutes: z.ZodNullable<z.ZodNumber>;
|
|
615
|
-
status: z.ZodEnum<["NEW", "TOO_FAR", "NOT_INTERESTED", "OFFER_SENT", "BOOKED"]>;
|
|
616
|
-
statusUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
617
|
-
}, "strip", z.ZodTypeAny, {
|
|
618
|
-
jobId: string;
|
|
619
|
-
status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
620
|
-
subjectKind: "OWNED" | "CURATED";
|
|
621
|
-
subjectId: string;
|
|
622
|
-
distanceKm: number | null;
|
|
623
|
-
driveMinutes: number | null;
|
|
624
|
-
transitMinutes: number | null;
|
|
625
|
-
statusUpdatedAt: string | null;
|
|
626
|
-
}, {
|
|
627
|
-
jobId: string;
|
|
628
|
-
status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
629
|
-
subjectKind: "OWNED" | "CURATED";
|
|
630
|
-
subjectId: string;
|
|
631
|
-
distanceKm: number | null;
|
|
632
|
-
driveMinutes: number | null;
|
|
633
|
-
transitMinutes: number | null;
|
|
634
|
-
statusUpdatedAt: string | null;
|
|
635
|
-
}>, "many">;
|
|
636
|
-
jobCards: z.ZodArray<z.ZodObject<{
|
|
637
|
-
id: z.ZodString;
|
|
638
|
-
description: z.ZodString;
|
|
639
|
-
numberOfPositions: z.ZodNumber;
|
|
640
|
-
workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
641
|
-
status: z.ZodEnum<["AVAILABLE", "NOT_AVAILABLE"]>;
|
|
642
|
-
pay: z.ZodObject<{
|
|
643
|
-
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
644
|
-
isNegotiable: z.ZodDefault<z.ZodBoolean>;
|
|
645
|
-
rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
646
|
-
rateMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
647
|
-
receivedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
648
|
-
}, "strip", z.ZodTypeAny, {
|
|
649
|
-
rateUnit: "DAILY" | "HOURLY";
|
|
650
|
-
isNegotiable: boolean;
|
|
651
|
-
rate?: number | null | undefined;
|
|
652
|
-
rateMax?: number | null | undefined;
|
|
653
|
-
receivedRate?: number | null | undefined;
|
|
654
|
-
}, {
|
|
655
|
-
rateUnit: "DAILY" | "HOURLY";
|
|
656
|
-
rate?: number | null | undefined;
|
|
657
|
-
isNegotiable?: boolean | undefined;
|
|
658
|
-
rateMax?: number | null | undefined;
|
|
659
|
-
receivedRate?: number | null | undefined;
|
|
660
|
-
}>;
|
|
661
|
-
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
662
|
-
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
663
|
-
postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
664
|
-
adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
665
|
-
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
666
|
-
}, "strip", z.ZodTypeAny, {
|
|
667
|
-
address?: string | null | undefined;
|
|
668
|
-
postcode?: string | null | undefined;
|
|
669
|
-
adminDistrict?: string | null | undefined;
|
|
670
|
-
postTown?: string | null | undefined;
|
|
671
|
-
}, {
|
|
672
|
-
address?: string | null | undefined;
|
|
673
|
-
postcode?: string | null | undefined;
|
|
674
|
-
adminDistrict?: string | null | undefined;
|
|
675
|
-
postTown?: string | null | undefined;
|
|
676
|
-
}>>>;
|
|
677
|
-
tradeId: z.ZodString;
|
|
678
|
-
jobQualifications: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
679
|
-
id: z.ZodString;
|
|
680
|
-
qualificationId: z.ZodString;
|
|
681
|
-
qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
682
|
-
}, "strip", z.ZodTypeAny, {
|
|
683
|
-
id: string;
|
|
684
|
-
qualificationId: string;
|
|
685
|
-
qualificationTypeId?: string | null | undefined;
|
|
686
|
-
}, {
|
|
687
|
-
id: string;
|
|
688
|
-
qualificationId: string;
|
|
689
|
-
qualificationTypeId?: string | null | undefined;
|
|
690
|
-
}>, "many">>>;
|
|
691
|
-
collaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
692
|
-
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
693
|
-
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
694
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
695
|
-
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
696
|
-
id: z.ZodString;
|
|
697
|
-
name: z.ZodString;
|
|
698
|
-
}, "strip", z.ZodTypeAny, {
|
|
699
|
-
id: string;
|
|
700
|
-
name: string;
|
|
701
|
-
}, {
|
|
702
|
-
id: string;
|
|
703
|
-
name: string;
|
|
704
|
-
}>>>;
|
|
705
|
-
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
706
|
-
id: z.ZodString;
|
|
707
|
-
name: z.ZodString;
|
|
708
|
-
}, "strip", z.ZodTypeAny, {
|
|
709
|
-
id: string;
|
|
710
|
-
name: string;
|
|
711
|
-
}, {
|
|
712
|
-
id: string;
|
|
713
|
-
name: string;
|
|
714
|
-
}>>>;
|
|
715
|
-
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
716
|
-
id: z.ZodString;
|
|
717
|
-
firstName: z.ZodString;
|
|
718
|
-
lastName: z.ZodString;
|
|
719
|
-
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
720
|
-
id: z.ZodString;
|
|
721
|
-
phoneNumber: z.ZodString;
|
|
722
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
723
|
-
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
724
|
-
}, "strip", z.ZodTypeAny, {
|
|
725
|
-
id: string;
|
|
726
|
-
phoneNumber: string;
|
|
727
|
-
isPrimary: boolean;
|
|
728
|
-
description?: string | null | undefined;
|
|
729
|
-
}, {
|
|
730
|
-
id: string;
|
|
731
|
-
phoneNumber: string;
|
|
732
|
-
description?: string | null | undefined;
|
|
733
|
-
isPrimary?: boolean | undefined;
|
|
734
|
-
}>, "many">>>;
|
|
735
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
736
|
-
}, "strip", z.ZodTypeAny, {
|
|
737
|
-
id: string;
|
|
738
|
-
firstName: string;
|
|
739
|
-
lastName: string;
|
|
740
|
-
phoneNumbers: {
|
|
741
|
-
id: string;
|
|
742
|
-
phoneNumber: string;
|
|
743
|
-
isPrimary: boolean;
|
|
744
|
-
description?: string | null | undefined;
|
|
745
|
-
}[];
|
|
746
|
-
deletedAt?: string | null | undefined;
|
|
747
|
-
}, {
|
|
748
|
-
id: string;
|
|
749
|
-
firstName: string;
|
|
750
|
-
lastName: string;
|
|
751
|
-
phoneNumbers?: {
|
|
752
|
-
id: string;
|
|
753
|
-
phoneNumber: string;
|
|
754
|
-
description?: string | null | undefined;
|
|
755
|
-
isPrimary?: boolean | undefined;
|
|
756
|
-
}[] | undefined;
|
|
757
|
-
deletedAt?: string | Date | null | undefined;
|
|
758
|
-
}>>>;
|
|
759
|
-
}, "strip", z.ZodTypeAny, {
|
|
760
|
-
id?: string | null | undefined;
|
|
761
|
-
status?: string | null | undefined;
|
|
762
|
-
userId?: string | null | undefined;
|
|
763
|
-
client?: {
|
|
764
|
-
id: string;
|
|
765
|
-
name: string;
|
|
766
|
-
} | null | undefined;
|
|
767
|
-
company?: {
|
|
768
|
-
id: string;
|
|
769
|
-
name: string;
|
|
770
|
-
} | null | undefined;
|
|
771
|
-
user?: {
|
|
772
|
-
id: string;
|
|
773
|
-
firstName: string;
|
|
774
|
-
lastName: string;
|
|
775
|
-
phoneNumbers: {
|
|
776
|
-
id: string;
|
|
777
|
-
phoneNumber: string;
|
|
778
|
-
isPrimary: boolean;
|
|
779
|
-
description?: string | null | undefined;
|
|
780
|
-
}[];
|
|
781
|
-
deletedAt?: string | null | undefined;
|
|
782
|
-
} | null | undefined;
|
|
783
|
-
}, {
|
|
784
|
-
id?: string | null | undefined;
|
|
785
|
-
status?: string | null | undefined;
|
|
786
|
-
userId?: string | null | undefined;
|
|
787
|
-
client?: {
|
|
788
|
-
id: string;
|
|
789
|
-
name: string;
|
|
790
|
-
} | null | undefined;
|
|
791
|
-
company?: {
|
|
792
|
-
id: string;
|
|
793
|
-
name: string;
|
|
794
|
-
} | null | undefined;
|
|
795
|
-
user?: {
|
|
796
|
-
id: string;
|
|
797
|
-
firstName: string;
|
|
798
|
-
lastName: string;
|
|
799
|
-
phoneNumbers?: {
|
|
800
|
-
id: string;
|
|
801
|
-
phoneNumber: string;
|
|
802
|
-
description?: string | null | undefined;
|
|
803
|
-
isPrimary?: boolean | undefined;
|
|
804
|
-
}[] | undefined;
|
|
805
|
-
deletedAt?: string | Date | null | undefined;
|
|
806
|
-
} | null | undefined;
|
|
807
|
-
}>>>;
|
|
808
|
-
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
809
|
-
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
810
|
-
createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
811
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
812
|
-
id: z.ZodString;
|
|
813
|
-
firstName: z.ZodString;
|
|
814
|
-
lastName: z.ZodString;
|
|
815
|
-
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
816
|
-
id: z.ZodString;
|
|
817
|
-
phoneNumber: z.ZodString;
|
|
818
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
819
|
-
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
820
|
-
}, "strip", z.ZodTypeAny, {
|
|
821
|
-
id: string;
|
|
822
|
-
phoneNumber: string;
|
|
823
|
-
isPrimary: boolean;
|
|
824
|
-
description?: string | null | undefined;
|
|
825
|
-
}, {
|
|
826
|
-
id: string;
|
|
827
|
-
phoneNumber: string;
|
|
828
|
-
description?: string | null | undefined;
|
|
829
|
-
isPrimary?: boolean | undefined;
|
|
830
|
-
}>, "many">>>;
|
|
831
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
832
|
-
}, "strip", z.ZodTypeAny, {
|
|
833
|
-
id: string;
|
|
834
|
-
firstName: string;
|
|
835
|
-
lastName: string;
|
|
836
|
-
phoneNumbers: {
|
|
837
|
-
id: string;
|
|
838
|
-
phoneNumber: string;
|
|
839
|
-
isPrimary: boolean;
|
|
840
|
-
description?: string | null | undefined;
|
|
841
|
-
}[];
|
|
842
|
-
deletedAt?: string | null | undefined;
|
|
843
|
-
}, {
|
|
844
|
-
id: string;
|
|
845
|
-
firstName: string;
|
|
846
|
-
lastName: string;
|
|
847
|
-
phoneNumbers?: {
|
|
848
|
-
id: string;
|
|
849
|
-
phoneNumber: string;
|
|
850
|
-
description?: string | null | undefined;
|
|
851
|
-
isPrimary?: boolean | undefined;
|
|
852
|
-
}[] | undefined;
|
|
853
|
-
deletedAt?: string | Date | null | undefined;
|
|
854
|
-
}>>>;
|
|
855
|
-
creationSource: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MANUAL", "BOT"]>>>;
|
|
856
|
-
distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
857
|
-
filledPositions: z.ZodDefault<z.ZodNumber>;
|
|
858
|
-
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
859
|
-
sourceMessageDeletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
860
|
-
minimumRateDeletionExemptAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
861
|
-
minimumRateDeletionExemptById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
862
|
-
}, "strip", z.ZodTypeAny, {
|
|
863
|
-
id: string;
|
|
864
|
-
status: "AVAILABLE" | "NOT_AVAILABLE";
|
|
865
|
-
createdAt: string;
|
|
866
|
-
description: string;
|
|
867
|
-
pay: {
|
|
868
|
-
rateUnit: "DAILY" | "HOURLY";
|
|
869
|
-
isNegotiable: boolean;
|
|
870
|
-
rate?: number | null | undefined;
|
|
871
|
-
rateMax?: number | null | undefined;
|
|
872
|
-
receivedRate?: number | null | undefined;
|
|
873
|
-
};
|
|
874
|
-
updatedAt: string;
|
|
875
|
-
tradeId: string;
|
|
876
|
-
numberOfPositions: number;
|
|
877
|
-
filledPositions: number;
|
|
878
|
-
distanceKm?: number | null | undefined;
|
|
879
|
-
startDate?: string | null | undefined;
|
|
880
|
-
location?: {
|
|
881
|
-
address?: string | null | undefined;
|
|
882
|
-
postcode?: string | null | undefined;
|
|
883
|
-
adminDistrict?: string | null | undefined;
|
|
884
|
-
postTown?: string | null | undefined;
|
|
885
|
-
} | null | undefined;
|
|
886
|
-
createdBy?: {
|
|
887
|
-
id: string;
|
|
888
|
-
firstName: string;
|
|
889
|
-
lastName: string;
|
|
890
|
-
phoneNumbers: {
|
|
891
|
-
id: string;
|
|
892
|
-
phoneNumber: string;
|
|
893
|
-
isPrimary: boolean;
|
|
894
|
-
description?: string | null | undefined;
|
|
895
|
-
}[];
|
|
896
|
-
deletedAt?: string | null | undefined;
|
|
897
|
-
} | null | undefined;
|
|
898
|
-
workHours?: number | null | undefined;
|
|
899
|
-
jobQualifications?: {
|
|
900
|
-
id: string;
|
|
901
|
-
qualificationId: string;
|
|
902
|
-
qualificationTypeId?: string | null | undefined;
|
|
903
|
-
}[] | null | undefined;
|
|
904
|
-
collaboration?: {
|
|
905
|
-
id?: string | null | undefined;
|
|
906
|
-
status?: string | null | undefined;
|
|
907
|
-
userId?: string | null | undefined;
|
|
908
|
-
client?: {
|
|
909
|
-
id: string;
|
|
910
|
-
name: string;
|
|
911
|
-
} | null | undefined;
|
|
912
|
-
company?: {
|
|
913
|
-
id: string;
|
|
914
|
-
name: string;
|
|
915
|
-
} | null | undefined;
|
|
916
|
-
user?: {
|
|
917
|
-
id: string;
|
|
918
|
-
firstName: string;
|
|
919
|
-
lastName: string;
|
|
920
|
-
phoneNumbers: {
|
|
921
|
-
id: string;
|
|
922
|
-
phoneNumber: string;
|
|
923
|
-
isPrimary: boolean;
|
|
924
|
-
description?: string | null | undefined;
|
|
925
|
-
}[];
|
|
926
|
-
deletedAt?: string | null | undefined;
|
|
927
|
-
} | null | undefined;
|
|
928
|
-
} | null | undefined;
|
|
929
|
-
createdById?: string | null | undefined;
|
|
930
|
-
creationSource?: "MANUAL" | "BOT" | null | undefined;
|
|
931
|
-
sourceMessageDeletedAt?: string | null | undefined;
|
|
932
|
-
minimumRateDeletionExemptAt?: string | null | undefined;
|
|
933
|
-
minimumRateDeletionExemptById?: string | null | undefined;
|
|
934
|
-
}, {
|
|
935
|
-
id: string;
|
|
936
|
-
status: "AVAILABLE" | "NOT_AVAILABLE";
|
|
937
|
-
createdAt: string | Date;
|
|
938
|
-
description: string;
|
|
939
|
-
pay: {
|
|
940
|
-
rateUnit: "DAILY" | "HOURLY";
|
|
941
|
-
rate?: number | null | undefined;
|
|
942
|
-
isNegotiable?: boolean | undefined;
|
|
943
|
-
rateMax?: number | null | undefined;
|
|
944
|
-
receivedRate?: number | null | undefined;
|
|
945
|
-
};
|
|
946
|
-
updatedAt: string | Date;
|
|
947
|
-
tradeId: string;
|
|
948
|
-
numberOfPositions: number;
|
|
949
|
-
distanceKm?: number | null | undefined;
|
|
950
|
-
startDate?: string | null | undefined;
|
|
951
|
-
location?: {
|
|
952
|
-
address?: string | null | undefined;
|
|
953
|
-
postcode?: string | null | undefined;
|
|
954
|
-
adminDistrict?: string | null | undefined;
|
|
955
|
-
postTown?: string | null | undefined;
|
|
956
|
-
} | null | undefined;
|
|
957
|
-
createdBy?: {
|
|
958
|
-
id: string;
|
|
959
|
-
firstName: string;
|
|
960
|
-
lastName: string;
|
|
961
|
-
phoneNumbers?: {
|
|
962
|
-
id: string;
|
|
963
|
-
phoneNumber: string;
|
|
964
|
-
description?: string | null | undefined;
|
|
965
|
-
isPrimary?: boolean | undefined;
|
|
966
|
-
}[] | undefined;
|
|
967
|
-
deletedAt?: string | Date | null | undefined;
|
|
968
|
-
} | null | undefined;
|
|
969
|
-
workHours?: number | null | undefined;
|
|
970
|
-
jobQualifications?: {
|
|
971
|
-
id: string;
|
|
972
|
-
qualificationId: string;
|
|
973
|
-
qualificationTypeId?: string | null | undefined;
|
|
974
|
-
}[] | null | undefined;
|
|
975
|
-
collaboration?: {
|
|
976
|
-
id?: string | null | undefined;
|
|
977
|
-
status?: string | null | undefined;
|
|
978
|
-
userId?: string | null | undefined;
|
|
979
|
-
client?: {
|
|
980
|
-
id: string;
|
|
981
|
-
name: string;
|
|
982
|
-
} | null | undefined;
|
|
983
|
-
company?: {
|
|
984
|
-
id: string;
|
|
985
|
-
name: string;
|
|
986
|
-
} | null | undefined;
|
|
987
|
-
user?: {
|
|
988
|
-
id: string;
|
|
989
|
-
firstName: string;
|
|
990
|
-
lastName: string;
|
|
991
|
-
phoneNumbers?: {
|
|
992
|
-
id: string;
|
|
993
|
-
phoneNumber: string;
|
|
994
|
-
description?: string | null | undefined;
|
|
995
|
-
isPrimary?: boolean | undefined;
|
|
996
|
-
}[] | undefined;
|
|
997
|
-
deletedAt?: string | Date | null | undefined;
|
|
998
|
-
} | null | undefined;
|
|
999
|
-
} | null | undefined;
|
|
1000
|
-
createdById?: string | null | undefined;
|
|
1001
|
-
creationSource?: "MANUAL" | "BOT" | null | undefined;
|
|
1002
|
-
filledPositions?: number | undefined;
|
|
1003
|
-
sourceMessageDeletedAt?: string | Date | null | undefined;
|
|
1004
|
-
minimumRateDeletionExemptAt?: string | Date | null | undefined;
|
|
1005
|
-
minimumRateDeletionExemptById?: string | null | undefined;
|
|
1006
|
-
}>, "many">;
|
|
1007
|
-
}, "strip", z.ZodTypeAny, {
|
|
1008
|
-
matches: {
|
|
1009
|
-
jobId: string;
|
|
1010
|
-
status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
1011
|
-
subjectKind: "OWNED" | "CURATED";
|
|
1012
|
-
subjectId: string;
|
|
1013
|
-
distanceKm: number | null;
|
|
1014
|
-
driveMinutes: number | null;
|
|
1015
|
-
transitMinutes: number | null;
|
|
1016
|
-
statusUpdatedAt: string | null;
|
|
1017
|
-
}[];
|
|
1018
|
-
worker: {
|
|
1019
|
-
id: string;
|
|
1020
|
-
createdAt: string;
|
|
1021
|
-
firstName: string;
|
|
1022
|
-
updatedAt: string;
|
|
1023
|
-
hasTools: boolean | null;
|
|
1024
|
-
hasPpe: boolean | null;
|
|
1025
|
-
offerOpenness: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN";
|
|
1026
|
-
blacklisted: boolean;
|
|
1027
|
-
suppression: {
|
|
1028
|
-
reason: string;
|
|
1029
|
-
until: string | null;
|
|
1030
|
-
note: string | null;
|
|
1031
|
-
setByName: string;
|
|
1032
|
-
setAt: string;
|
|
1033
|
-
} | null;
|
|
1034
|
-
idDocuments: {
|
|
1035
|
-
id: string;
|
|
1036
|
-
createdAt?: string | undefined;
|
|
1037
|
-
expiryDate?: string | null | undefined;
|
|
1038
|
-
updatedAt?: string | undefined;
|
|
1039
|
-
fileId?: string | null | undefined;
|
|
1040
|
-
documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
|
|
1041
|
-
documentNumber?: string | null | undefined;
|
|
1042
|
-
}[];
|
|
1043
|
-
distanceKm?: number | null | undefined;
|
|
1044
|
-
lastName?: string | null | undefined;
|
|
1045
|
-
bookingHistory?: {
|
|
1046
|
-
workedTotal: number;
|
|
1047
|
-
workedByMe: number;
|
|
1048
|
-
noShowTotal: number;
|
|
1049
|
-
noShowByMe: number;
|
|
1050
|
-
} | undefined;
|
|
1051
|
-
email?: string | null | undefined;
|
|
1052
|
-
nino?: string | null | undefined;
|
|
1053
|
-
dateOfBirth?: string | null | undefined;
|
|
1054
|
-
bio?: string | null | undefined;
|
|
1055
|
-
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
1056
|
-
nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
|
|
1057
|
-
transportation?: {
|
|
1058
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
1059
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
1060
|
-
} | null | undefined;
|
|
1061
|
-
location?: {
|
|
1062
|
-
address?: string | null | undefined;
|
|
1063
|
-
postcode?: string | null | undefined;
|
|
1064
|
-
county?: string | null | undefined;
|
|
1065
|
-
adminDistrict?: string | null | undefined;
|
|
1066
|
-
builtUpArea?: string | null | undefined;
|
|
1067
|
-
postTown?: string | null | undefined;
|
|
1068
|
-
areaCovered?: string | null | undefined;
|
|
1069
|
-
latitude?: number | null | undefined;
|
|
1070
|
-
longitude?: number | null | undefined;
|
|
1071
|
-
} | null | undefined;
|
|
1072
|
-
offerOpennessSetAt?: string | null | undefined;
|
|
1073
|
-
offerNote?: string | null | undefined;
|
|
1074
|
-
offerNoteUpdatedAt?: string | null | undefined;
|
|
1075
|
-
offerSignalUpdatedById?: string | null | undefined;
|
|
1076
|
-
offerSignalUpdatedByName?: string | null | undefined;
|
|
1077
|
-
shareCode?: {
|
|
1078
|
-
code: string | null;
|
|
1079
|
-
expiryDate?: string | null | undefined;
|
|
1080
|
-
fileId?: string | null | undefined;
|
|
1081
|
-
} | null | undefined;
|
|
1082
|
-
liveStatus?: {
|
|
1083
|
-
bookingId?: string | null | undefined;
|
|
1084
|
-
booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
|
|
1085
|
-
active?: {
|
|
1086
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
1087
|
-
} | null | undefined;
|
|
1088
|
-
activeId?: string | null | undefined;
|
|
1089
|
-
bookingAgent?: {
|
|
1090
|
-
id: string;
|
|
1091
|
-
firstName: string;
|
|
1092
|
-
lastName: string;
|
|
1093
|
-
} | null | undefined;
|
|
1094
|
-
} | undefined;
|
|
1095
|
-
occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
|
|
1096
|
-
workingUntil?: string | null | undefined;
|
|
1097
|
-
blacklistReason?: string | null | undefined;
|
|
1098
|
-
trades?: {
|
|
1099
|
-
id: string;
|
|
1100
|
-
createdAt: string;
|
|
1101
|
-
updatedAt: string;
|
|
1102
|
-
tradeId: string;
|
|
1103
|
-
mainTrade: boolean;
|
|
1104
|
-
}[] | null | undefined;
|
|
1105
|
-
qualifications?: {
|
|
1106
|
-
id: string;
|
|
1107
|
-
createdAt: string;
|
|
1108
|
-
proofDocumentFileId: string | null;
|
|
1109
|
-
referenceNumber: string | null;
|
|
1110
|
-
qualificationId: string;
|
|
1111
|
-
qualificationTypeId: string | null;
|
|
1112
|
-
updatedAt: string;
|
|
1113
|
-
issueDate?: string | null | undefined;
|
|
1114
|
-
expiryDate?: string | null | undefined;
|
|
1115
|
-
}[] | null | undefined;
|
|
1116
|
-
phoneNumbers?: {
|
|
1117
|
-
id: string;
|
|
1118
|
-
createdAt: string;
|
|
1119
|
-
updatedAt: string;
|
|
1120
|
-
phoneNumber: string;
|
|
1121
|
-
isPrimary: boolean;
|
|
1122
|
-
description?: string | null | undefined;
|
|
1123
|
-
}[] | null | undefined;
|
|
1124
|
-
};
|
|
1125
|
-
jobCards: {
|
|
1126
|
-
id: string;
|
|
1127
|
-
status: "AVAILABLE" | "NOT_AVAILABLE";
|
|
1128
|
-
createdAt: string;
|
|
1129
|
-
description: string;
|
|
1130
|
-
pay: {
|
|
1131
|
-
rateUnit: "DAILY" | "HOURLY";
|
|
1132
|
-
isNegotiable: boolean;
|
|
1133
|
-
rate?: number | null | undefined;
|
|
1134
|
-
rateMax?: number | null | undefined;
|
|
1135
|
-
receivedRate?: number | null | undefined;
|
|
1136
|
-
};
|
|
1137
|
-
updatedAt: string;
|
|
1138
|
-
tradeId: string;
|
|
1139
|
-
numberOfPositions: number;
|
|
1140
|
-
filledPositions: number;
|
|
1141
|
-
distanceKm?: number | null | undefined;
|
|
1142
|
-
startDate?: string | null | undefined;
|
|
1143
|
-
location?: {
|
|
1144
|
-
address?: string | null | undefined;
|
|
1145
|
-
postcode?: string | null | undefined;
|
|
1146
|
-
adminDistrict?: string | null | undefined;
|
|
1147
|
-
postTown?: string | null | undefined;
|
|
1148
|
-
} | null | undefined;
|
|
1149
|
-
createdBy?: {
|
|
1150
|
-
id: string;
|
|
1151
|
-
firstName: string;
|
|
1152
|
-
lastName: string;
|
|
1153
|
-
phoneNumbers: {
|
|
1154
|
-
id: string;
|
|
1155
|
-
phoneNumber: string;
|
|
1156
|
-
isPrimary: boolean;
|
|
1157
|
-
description?: string | null | undefined;
|
|
1158
|
-
}[];
|
|
1159
|
-
deletedAt?: string | null | undefined;
|
|
1160
|
-
} | null | undefined;
|
|
1161
|
-
workHours?: number | null | undefined;
|
|
1162
|
-
jobQualifications?: {
|
|
1163
|
-
id: string;
|
|
1164
|
-
qualificationId: string;
|
|
1165
|
-
qualificationTypeId?: string | null | undefined;
|
|
1166
|
-
}[] | null | undefined;
|
|
1167
|
-
collaboration?: {
|
|
1168
|
-
id?: string | null | undefined;
|
|
1169
|
-
status?: string | null | undefined;
|
|
1170
|
-
userId?: string | null | undefined;
|
|
1171
|
-
client?: {
|
|
1172
|
-
id: string;
|
|
1173
|
-
name: string;
|
|
1174
|
-
} | null | undefined;
|
|
1175
|
-
company?: {
|
|
1176
|
-
id: string;
|
|
1177
|
-
name: string;
|
|
1178
|
-
} | null | undefined;
|
|
1179
|
-
user?: {
|
|
1180
|
-
id: string;
|
|
1181
|
-
firstName: string;
|
|
1182
|
-
lastName: string;
|
|
1183
|
-
phoneNumbers: {
|
|
1184
|
-
id: string;
|
|
1185
|
-
phoneNumber: string;
|
|
1186
|
-
isPrimary: boolean;
|
|
1187
|
-
description?: string | null | undefined;
|
|
1188
|
-
}[];
|
|
1189
|
-
deletedAt?: string | null | undefined;
|
|
1190
|
-
} | null | undefined;
|
|
1191
|
-
} | null | undefined;
|
|
1192
|
-
createdById?: string | null | undefined;
|
|
1193
|
-
creationSource?: "MANUAL" | "BOT" | null | undefined;
|
|
1194
|
-
sourceMessageDeletedAt?: string | null | undefined;
|
|
1195
|
-
minimumRateDeletionExemptAt?: string | null | undefined;
|
|
1196
|
-
minimumRateDeletionExemptById?: string | null | undefined;
|
|
1197
|
-
}[];
|
|
1198
|
-
}, {
|
|
1199
|
-
matches: {
|
|
1200
|
-
jobId: string;
|
|
1201
|
-
status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
1202
|
-
subjectKind: "OWNED" | "CURATED";
|
|
1203
|
-
subjectId: string;
|
|
1204
|
-
distanceKm: number | null;
|
|
1205
|
-
driveMinutes: number | null;
|
|
1206
|
-
transitMinutes: number | null;
|
|
1207
|
-
statusUpdatedAt: string | null;
|
|
1208
|
-
}[];
|
|
1209
|
-
worker: {
|
|
1210
|
-
id: string;
|
|
1211
|
-
createdAt: string | Date;
|
|
1212
|
-
firstName: string;
|
|
1213
|
-
updatedAt: string | Date;
|
|
1214
|
-
hasTools: boolean | null;
|
|
1215
|
-
hasPpe: boolean | null;
|
|
1216
|
-
blacklisted: boolean;
|
|
1217
|
-
suppression: {
|
|
1218
|
-
reason: string;
|
|
1219
|
-
until: string | null;
|
|
1220
|
-
note: string | null;
|
|
1221
|
-
setByName: string;
|
|
1222
|
-
setAt: string;
|
|
1223
|
-
} | null;
|
|
1224
|
-
distanceKm?: number | null | undefined;
|
|
1225
|
-
lastName?: string | null | undefined;
|
|
1226
|
-
bookingHistory?: {
|
|
1227
|
-
workedTotal: number;
|
|
1228
|
-
workedByMe: number;
|
|
1229
|
-
noShowTotal: number;
|
|
1230
|
-
noShowByMe: number;
|
|
1231
|
-
} | undefined;
|
|
1232
|
-
email?: string | null | undefined;
|
|
1233
|
-
nino?: string | null | undefined;
|
|
1234
|
-
dateOfBirth?: string | Date | null | undefined;
|
|
1235
|
-
bio?: string | null | undefined;
|
|
1236
|
-
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
1237
|
-
nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
|
|
1238
|
-
transportation?: {
|
|
1239
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
1240
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
1241
|
-
} | null | undefined;
|
|
1242
|
-
location?: {
|
|
1243
|
-
address?: string | null | undefined;
|
|
1244
|
-
postcode?: string | null | undefined;
|
|
1245
|
-
county?: string | null | undefined;
|
|
1246
|
-
adminDistrict?: string | null | undefined;
|
|
1247
|
-
builtUpArea?: string | null | undefined;
|
|
1248
|
-
postTown?: string | null | undefined;
|
|
1249
|
-
areaCovered?: string | null | undefined;
|
|
1250
|
-
latitude?: number | null | undefined;
|
|
1251
|
-
longitude?: number | null | undefined;
|
|
1252
|
-
} | null | undefined;
|
|
1253
|
-
offerOpenness?: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN" | undefined;
|
|
1254
|
-
offerOpennessSetAt?: string | Date | null | undefined;
|
|
1255
|
-
offerNote?: string | null | undefined;
|
|
1256
|
-
offerNoteUpdatedAt?: string | Date | null | undefined;
|
|
1257
|
-
offerSignalUpdatedById?: string | null | undefined;
|
|
1258
|
-
offerSignalUpdatedByName?: string | null | undefined;
|
|
1259
|
-
shareCode?: {
|
|
1260
|
-
code: string | null;
|
|
1261
|
-
expiryDate?: string | Date | null | undefined;
|
|
1262
|
-
fileId?: string | null | undefined;
|
|
1263
|
-
} | null | undefined;
|
|
1264
|
-
liveStatus?: {
|
|
1265
|
-
bookingId?: string | null | undefined;
|
|
1266
|
-
booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
|
|
1267
|
-
active?: {
|
|
1268
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
1269
|
-
} | null | undefined;
|
|
1270
|
-
activeId?: string | null | undefined;
|
|
1271
|
-
bookingAgent?: {
|
|
1272
|
-
id: string;
|
|
1273
|
-
firstName: string;
|
|
1274
|
-
lastName: string;
|
|
1275
|
-
} | null | undefined;
|
|
1276
|
-
} | undefined;
|
|
1277
|
-
occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
|
|
1278
|
-
workingUntil?: string | Date | null | undefined;
|
|
1279
|
-
blacklistReason?: string | null | undefined;
|
|
1280
|
-
trades?: {
|
|
1281
|
-
id: string;
|
|
1282
|
-
createdAt: string | Date;
|
|
1283
|
-
updatedAt: string | Date;
|
|
1284
|
-
tradeId: string;
|
|
1285
|
-
mainTrade: boolean;
|
|
1286
|
-
}[] | null | undefined;
|
|
1287
|
-
qualifications?: {
|
|
1288
|
-
id: string;
|
|
1289
|
-
createdAt: string | Date;
|
|
1290
|
-
proofDocumentFileId: string | null;
|
|
1291
|
-
referenceNumber: string | null;
|
|
1292
|
-
qualificationId: string;
|
|
1293
|
-
qualificationTypeId: string | null;
|
|
1294
|
-
updatedAt: string | Date;
|
|
1295
|
-
issueDate?: string | Date | null | undefined;
|
|
1296
|
-
expiryDate?: string | Date | null | undefined;
|
|
1297
|
-
}[] | null | undefined;
|
|
1298
|
-
phoneNumbers?: {
|
|
1299
|
-
id: string;
|
|
1300
|
-
createdAt: string | Date;
|
|
1301
|
-
updatedAt: string | Date;
|
|
1302
|
-
phoneNumber: string;
|
|
1303
|
-
description?: string | null | undefined;
|
|
1304
|
-
isPrimary?: boolean | undefined;
|
|
1305
|
-
}[] | null | undefined;
|
|
1306
|
-
idDocuments?: {
|
|
1307
|
-
id: string;
|
|
1308
|
-
createdAt?: string | Date | undefined;
|
|
1309
|
-
expiryDate?: string | Date | null | undefined;
|
|
1310
|
-
updatedAt?: string | Date | undefined;
|
|
1311
|
-
fileId?: string | null | undefined;
|
|
1312
|
-
documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
|
|
1313
|
-
documentNumber?: string | null | undefined;
|
|
1314
|
-
}[] | undefined;
|
|
1315
|
-
};
|
|
1316
|
-
jobCards: {
|
|
1317
|
-
id: string;
|
|
1318
|
-
status: "AVAILABLE" | "NOT_AVAILABLE";
|
|
1319
|
-
createdAt: string | Date;
|
|
1320
|
-
description: string;
|
|
1321
|
-
pay: {
|
|
1322
|
-
rateUnit: "DAILY" | "HOURLY";
|
|
1323
|
-
rate?: number | null | undefined;
|
|
1324
|
-
isNegotiable?: boolean | undefined;
|
|
1325
|
-
rateMax?: number | null | undefined;
|
|
1326
|
-
receivedRate?: number | null | undefined;
|
|
1327
|
-
};
|
|
1328
|
-
updatedAt: string | Date;
|
|
1329
|
-
tradeId: string;
|
|
1330
|
-
numberOfPositions: number;
|
|
1331
|
-
distanceKm?: number | null | undefined;
|
|
1332
|
-
startDate?: string | null | undefined;
|
|
1333
|
-
location?: {
|
|
1334
|
-
address?: string | null | undefined;
|
|
1335
|
-
postcode?: string | null | undefined;
|
|
1336
|
-
adminDistrict?: string | null | undefined;
|
|
1337
|
-
postTown?: string | null | undefined;
|
|
1338
|
-
} | null | undefined;
|
|
1339
|
-
createdBy?: {
|
|
1340
|
-
id: string;
|
|
1341
|
-
firstName: string;
|
|
1342
|
-
lastName: string;
|
|
1343
|
-
phoneNumbers?: {
|
|
1344
|
-
id: string;
|
|
1345
|
-
phoneNumber: string;
|
|
1346
|
-
description?: string | null | undefined;
|
|
1347
|
-
isPrimary?: boolean | undefined;
|
|
1348
|
-
}[] | undefined;
|
|
1349
|
-
deletedAt?: string | Date | null | undefined;
|
|
1350
|
-
} | null | undefined;
|
|
1351
|
-
workHours?: number | null | undefined;
|
|
1352
|
-
jobQualifications?: {
|
|
1353
|
-
id: string;
|
|
1354
|
-
qualificationId: string;
|
|
1355
|
-
qualificationTypeId?: string | null | undefined;
|
|
1356
|
-
}[] | null | undefined;
|
|
1357
|
-
collaboration?: {
|
|
1358
|
-
id?: string | null | undefined;
|
|
1359
|
-
status?: string | null | undefined;
|
|
1360
|
-
userId?: string | null | undefined;
|
|
1361
|
-
client?: {
|
|
1362
|
-
id: string;
|
|
1363
|
-
name: string;
|
|
1364
|
-
} | null | undefined;
|
|
1365
|
-
company?: {
|
|
1366
|
-
id: string;
|
|
1367
|
-
name: string;
|
|
1368
|
-
} | null | undefined;
|
|
1369
|
-
user?: {
|
|
1370
|
-
id: string;
|
|
1371
|
-
firstName: string;
|
|
1372
|
-
lastName: string;
|
|
1373
|
-
phoneNumbers?: {
|
|
1374
|
-
id: string;
|
|
1375
|
-
phoneNumber: string;
|
|
1376
|
-
description?: string | null | undefined;
|
|
1377
|
-
isPrimary?: boolean | undefined;
|
|
1378
|
-
}[] | undefined;
|
|
1379
|
-
deletedAt?: string | Date | null | undefined;
|
|
1380
|
-
} | null | undefined;
|
|
1381
|
-
} | null | undefined;
|
|
1382
|
-
createdById?: string | null | undefined;
|
|
1383
|
-
creationSource?: "MANUAL" | "BOT" | null | undefined;
|
|
1384
|
-
filledPositions?: number | undefined;
|
|
1385
|
-
sourceMessageDeletedAt?: string | Date | null | undefined;
|
|
1386
|
-
minimumRateDeletionExemptAt?: string | Date | null | undefined;
|
|
1387
|
-
minimumRateDeletionExemptById?: string | null | undefined;
|
|
1388
|
-
}[];
|
|
1389
|
-
}>;
|
|
1390
|
-
export type ConsentJobsResponse = z.infer<typeof ConsentJobsResponseSchema>;
|
|
1391
|
-
export declare const ConsentAndOfferSchema: z.ZodObject<{
|
|
1392
|
-
tuples: z.ZodArray<z.ZodObject<{
|
|
1393
|
-
subjectKind: z.ZodEnum<["OWNED", "CURATED"]>;
|
|
1394
|
-
subjectId: z.ZodString;
|
|
1395
|
-
jobId: z.ZodString;
|
|
1396
|
-
}, "strip", z.ZodTypeAny, {
|
|
1397
|
-
jobId: string;
|
|
1398
|
-
subjectKind: "OWNED" | "CURATED";
|
|
1399
|
-
subjectId: string;
|
|
1400
|
-
}, {
|
|
1401
|
-
jobId: string;
|
|
1402
|
-
subjectKind: "OWNED" | "CURATED";
|
|
1403
|
-
subjectId: string;
|
|
1404
|
-
}>, "many">;
|
|
1405
|
-
channel: z.ZodOptional<z.ZodEnum<["WHATSAPP", "PHONE"]>>;
|
|
1406
|
-
}, "strip", z.ZodTypeAny, {
|
|
1407
|
-
tuples: {
|
|
1408
|
-
jobId: string;
|
|
1409
|
-
subjectKind: "OWNED" | "CURATED";
|
|
1410
|
-
subjectId: string;
|
|
1411
|
-
}[];
|
|
1412
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
1413
|
-
}, {
|
|
1414
|
-
tuples: {
|
|
1415
|
-
jobId: string;
|
|
1416
|
-
subjectKind: "OWNED" | "CURATED";
|
|
1417
|
-
subjectId: string;
|
|
1418
|
-
}[];
|
|
1419
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
1420
|
-
}>;
|
|
1421
|
-
export type ConsentAndOffer = z.infer<typeof ConsentAndOfferSchema>;
|
|
1422
|
-
/**
|
|
1423
|
-
* The per-job outcomes an agent stages while reviewing a CONSENT_PENDING
|
|
1424
|
-
* worker's matches. Mirrors the job-match dispositions plus BOOKED — `channel`
|
|
1425
|
-
* only carries meaning for OFFER_SENT. The subject is always the consenting
|
|
1426
|
-
* worker, so items carry just the jobId; the server fills in the tuple.
|
|
1427
|
-
*/
|
|
1428
|
-
export declare const ConsentApplyOutcomeSchema: z.ZodEnum<["OFFER_SENT", "TOO_FAR", "NOT_INTERESTED", "BOOKED"]>;
|
|
1429
|
-
export type ConsentApplyOutcome = z.infer<typeof ConsentApplyOutcomeSchema>;
|
|
1430
|
-
export declare const ConsentApplyItemSchema: z.ZodObject<{
|
|
1431
|
-
jobId: z.ZodString;
|
|
1432
|
-
outcome: z.ZodEnum<["OFFER_SENT", "TOO_FAR", "NOT_INTERESTED", "BOOKED"]>;
|
|
1433
|
-
channel: z.ZodOptional<z.ZodEnum<["WHATSAPP", "PHONE"]>>;
|
|
1434
|
-
}, "strip", z.ZodTypeAny, {
|
|
1435
|
-
jobId: string;
|
|
1436
|
-
outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
1437
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
1438
|
-
}, {
|
|
1439
|
-
jobId: string;
|
|
1440
|
-
outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
1441
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
1442
|
-
}>;
|
|
1443
|
-
export type ConsentApplyItem = z.infer<typeof ConsentApplyItemSchema>;
|
|
1444
|
-
export declare const ConsentAndApplySchema: z.ZodObject<{
|
|
1445
|
-
items: z.ZodArray<z.ZodObject<{
|
|
1446
|
-
jobId: z.ZodString;
|
|
1447
|
-
outcome: z.ZodEnum<["OFFER_SENT", "TOO_FAR", "NOT_INTERESTED", "BOOKED"]>;
|
|
1448
|
-
channel: z.ZodOptional<z.ZodEnum<["WHATSAPP", "PHONE"]>>;
|
|
1449
|
-
}, "strip", z.ZodTypeAny, {
|
|
1450
|
-
jobId: string;
|
|
1451
|
-
outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
1452
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
1453
|
-
}, {
|
|
1454
|
-
jobId: string;
|
|
1455
|
-
outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
1456
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
1457
|
-
}>, "many">;
|
|
1458
|
-
}, "strict", z.ZodTypeAny, {
|
|
1459
|
-
items: {
|
|
1460
|
-
jobId: string;
|
|
1461
|
-
outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
1462
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
1463
|
-
}[];
|
|
1464
|
-
}, {
|
|
1465
|
-
items: {
|
|
1466
|
-
jobId: string;
|
|
1467
|
-
outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
1468
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
1469
|
-
}[];
|
|
1470
|
-
}>;
|
|
1471
|
-
export type ConsentAndApply = z.infer<typeof ConsentAndApplySchema>;
|
|
1472
|
-
export declare const ReSnoozeSchema: z.ZodObject<{
|
|
1473
|
-
days: z.ZodNumber;
|
|
1474
|
-
}, "strip", z.ZodTypeAny, {
|
|
1475
|
-
days: number;
|
|
1476
|
-
}, {
|
|
1477
|
-
days: number;
|
|
1478
|
-
}>;
|
|
1479
|
-
export type ReSnooze = z.infer<typeof ReSnoozeSchema>;
|
|
1480
|
-
export declare const consentQueueContract: {
|
|
1481
|
-
getNext: {
|
|
1482
|
-
metadata: {
|
|
1483
|
-
tags: string[];
|
|
1484
|
-
};
|
|
1485
|
-
summary: "Next consent lead for the current agent (triggers refill if empty)";
|
|
1486
|
-
method: "GET";
|
|
1487
|
-
path: "/v2/curated-worker-leads/consent-queue/next";
|
|
1488
|
-
responses: {
|
|
1489
|
-
400: z.ZodObject<{
|
|
1490
|
-
statusCode: z.ZodNumber;
|
|
1491
|
-
message: z.ZodString;
|
|
1492
|
-
code: z.ZodString;
|
|
1493
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1494
|
-
timestamp: z.ZodString;
|
|
1495
|
-
path: z.ZodString;
|
|
1496
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1497
|
-
}, "strip", z.ZodTypeAny, {
|
|
1498
|
-
code: string;
|
|
1499
|
-
path: string;
|
|
1500
|
-
message: string;
|
|
1501
|
-
statusCode: number;
|
|
1502
|
-
timestamp: string;
|
|
1503
|
-
details?: unknown;
|
|
1504
|
-
correlationId?: string | undefined;
|
|
1505
|
-
}, {
|
|
1506
|
-
code: string;
|
|
1507
|
-
path: string;
|
|
1508
|
-
message: string;
|
|
1509
|
-
statusCode: number;
|
|
1510
|
-
timestamp: string;
|
|
1511
|
-
details?: unknown;
|
|
1512
|
-
correlationId?: string | undefined;
|
|
1513
|
-
}>;
|
|
1514
|
-
401: z.ZodObject<{
|
|
1515
|
-
statusCode: z.ZodNumber;
|
|
1516
|
-
message: z.ZodString;
|
|
1517
|
-
code: z.ZodString;
|
|
1518
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1519
|
-
timestamp: z.ZodString;
|
|
1520
|
-
path: z.ZodString;
|
|
1521
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1522
|
-
}, "strip", z.ZodTypeAny, {
|
|
1523
|
-
code: string;
|
|
1524
|
-
path: string;
|
|
1525
|
-
message: string;
|
|
1526
|
-
statusCode: number;
|
|
1527
|
-
timestamp: string;
|
|
1528
|
-
details?: unknown;
|
|
1529
|
-
correlationId?: string | undefined;
|
|
1530
|
-
}, {
|
|
1531
|
-
code: string;
|
|
1532
|
-
path: string;
|
|
1533
|
-
message: string;
|
|
1534
|
-
statusCode: number;
|
|
1535
|
-
timestamp: string;
|
|
1536
|
-
details?: unknown;
|
|
1537
|
-
correlationId?: string | undefined;
|
|
1538
|
-
}>;
|
|
1539
|
-
500: z.ZodObject<{
|
|
1540
|
-
statusCode: z.ZodNumber;
|
|
1541
|
-
message: z.ZodString;
|
|
1542
|
-
code: z.ZodString;
|
|
1543
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1544
|
-
timestamp: z.ZodString;
|
|
1545
|
-
path: z.ZodString;
|
|
1546
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1547
|
-
}, "strip", z.ZodTypeAny, {
|
|
1548
|
-
code: string;
|
|
1549
|
-
path: string;
|
|
1550
|
-
message: string;
|
|
1551
|
-
statusCode: number;
|
|
1552
|
-
timestamp: string;
|
|
1553
|
-
details?: unknown;
|
|
1554
|
-
correlationId?: string | undefined;
|
|
1555
|
-
}, {
|
|
1556
|
-
code: string;
|
|
1557
|
-
path: string;
|
|
1558
|
-
message: string;
|
|
1559
|
-
statusCode: number;
|
|
1560
|
-
timestamp: string;
|
|
1561
|
-
details?: unknown;
|
|
1562
|
-
correlationId?: string | undefined;
|
|
1563
|
-
}>;
|
|
1564
|
-
200: z.ZodNullable<z.ZodObject<{
|
|
1565
|
-
assignmentId: z.ZodString;
|
|
1566
|
-
curatedWorkerId: z.ZodString;
|
|
1567
|
-
workerName: z.ZodString;
|
|
1568
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
1569
|
-
phoneId: z.ZodNullable<z.ZodString>;
|
|
1570
|
-
postcode: z.ZodNullable<z.ZodString>;
|
|
1571
|
-
matchingJobCount: z.ZodNumber;
|
|
1572
|
-
nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
1573
|
-
assignedAt: z.ZodString;
|
|
1574
|
-
}, "strip", z.ZodTypeAny, {
|
|
1575
|
-
curatedWorkerId: string;
|
|
1576
|
-
postcode: string | null;
|
|
1577
|
-
phoneNumber: string | null;
|
|
1578
|
-
workerName: string;
|
|
1579
|
-
assignmentId: string;
|
|
1580
|
-
assignedAt: string;
|
|
1581
|
-
phoneId: string | null;
|
|
1582
|
-
matchingJobCount: number;
|
|
1583
|
-
nearestJobDistanceKm: number | null;
|
|
1584
|
-
}, {
|
|
1585
|
-
curatedWorkerId: string;
|
|
1586
|
-
postcode: string | null;
|
|
1587
|
-
phoneNumber: string | null;
|
|
1588
|
-
workerName: string;
|
|
1589
|
-
assignmentId: string;
|
|
1590
|
-
assignedAt: string;
|
|
1591
|
-
phoneId: string | null;
|
|
1592
|
-
matchingJobCount: number;
|
|
1593
|
-
nearestJobDistanceKm: number | null;
|
|
1594
|
-
}>>;
|
|
1595
|
-
403: z.ZodObject<{
|
|
1596
|
-
statusCode: z.ZodNumber;
|
|
1597
|
-
message: z.ZodString;
|
|
1598
|
-
code: z.ZodString;
|
|
1599
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1600
|
-
timestamp: z.ZodString;
|
|
1601
|
-
path: z.ZodString;
|
|
1602
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1603
|
-
}, "strip", z.ZodTypeAny, {
|
|
1604
|
-
code: string;
|
|
1605
|
-
path: string;
|
|
1606
|
-
message: string;
|
|
1607
|
-
statusCode: number;
|
|
1608
|
-
timestamp: string;
|
|
1609
|
-
details?: unknown;
|
|
1610
|
-
correlationId?: string | undefined;
|
|
1611
|
-
}, {
|
|
1612
|
-
code: string;
|
|
1613
|
-
path: string;
|
|
1614
|
-
message: string;
|
|
1615
|
-
statusCode: number;
|
|
1616
|
-
timestamp: string;
|
|
1617
|
-
details?: unknown;
|
|
1618
|
-
correlationId?: string | undefined;
|
|
1619
|
-
}>;
|
|
1620
|
-
};
|
|
1621
|
-
};
|
|
1622
|
-
getQueueStatus: {
|
|
1623
|
-
metadata: {
|
|
1624
|
-
tags: string[];
|
|
1625
|
-
};
|
|
1626
|
-
summary: "Consent queue status for the current agent";
|
|
1627
|
-
method: "GET";
|
|
1628
|
-
path: "/v2/curated-worker-leads/consent-queue/status";
|
|
1629
|
-
responses: {
|
|
1630
|
-
400: z.ZodObject<{
|
|
1631
|
-
statusCode: z.ZodNumber;
|
|
1632
|
-
message: z.ZodString;
|
|
1633
|
-
code: z.ZodString;
|
|
1634
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1635
|
-
timestamp: z.ZodString;
|
|
1636
|
-
path: z.ZodString;
|
|
1637
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1638
|
-
}, "strip", z.ZodTypeAny, {
|
|
1639
|
-
code: string;
|
|
1640
|
-
path: string;
|
|
1641
|
-
message: string;
|
|
1642
|
-
statusCode: number;
|
|
1643
|
-
timestamp: string;
|
|
1644
|
-
details?: unknown;
|
|
1645
|
-
correlationId?: string | undefined;
|
|
1646
|
-
}, {
|
|
1647
|
-
code: string;
|
|
1648
|
-
path: string;
|
|
1649
|
-
message: string;
|
|
1650
|
-
statusCode: number;
|
|
1651
|
-
timestamp: string;
|
|
1652
|
-
details?: unknown;
|
|
1653
|
-
correlationId?: string | undefined;
|
|
1654
|
-
}>;
|
|
1655
|
-
401: z.ZodObject<{
|
|
1656
|
-
statusCode: z.ZodNumber;
|
|
1657
|
-
message: z.ZodString;
|
|
1658
|
-
code: z.ZodString;
|
|
1659
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1660
|
-
timestamp: z.ZodString;
|
|
1661
|
-
path: z.ZodString;
|
|
1662
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1663
|
-
}, "strip", z.ZodTypeAny, {
|
|
1664
|
-
code: string;
|
|
1665
|
-
path: string;
|
|
1666
|
-
message: string;
|
|
1667
|
-
statusCode: number;
|
|
1668
|
-
timestamp: string;
|
|
1669
|
-
details?: unknown;
|
|
1670
|
-
correlationId?: string | undefined;
|
|
1671
|
-
}, {
|
|
1672
|
-
code: string;
|
|
1673
|
-
path: string;
|
|
1674
|
-
message: string;
|
|
1675
|
-
statusCode: number;
|
|
1676
|
-
timestamp: string;
|
|
1677
|
-
details?: unknown;
|
|
1678
|
-
correlationId?: string | undefined;
|
|
1679
|
-
}>;
|
|
1680
|
-
500: z.ZodObject<{
|
|
1681
|
-
statusCode: z.ZodNumber;
|
|
1682
|
-
message: z.ZodString;
|
|
1683
|
-
code: z.ZodString;
|
|
1684
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1685
|
-
timestamp: z.ZodString;
|
|
1686
|
-
path: z.ZodString;
|
|
1687
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1688
|
-
}, "strip", z.ZodTypeAny, {
|
|
1689
|
-
code: string;
|
|
1690
|
-
path: string;
|
|
1691
|
-
message: string;
|
|
1692
|
-
statusCode: number;
|
|
1693
|
-
timestamp: string;
|
|
1694
|
-
details?: unknown;
|
|
1695
|
-
correlationId?: string | undefined;
|
|
1696
|
-
}, {
|
|
1697
|
-
code: string;
|
|
1698
|
-
path: string;
|
|
1699
|
-
message: string;
|
|
1700
|
-
statusCode: number;
|
|
1701
|
-
timestamp: string;
|
|
1702
|
-
details?: unknown;
|
|
1703
|
-
correlationId?: string | undefined;
|
|
1704
|
-
}>;
|
|
1705
|
-
200: z.ZodObject<{
|
|
1706
|
-
agentId: z.ZodString;
|
|
1707
|
-
nextAvailable: z.ZodBoolean;
|
|
1708
|
-
}, "strip", z.ZodTypeAny, {
|
|
1709
|
-
agentId: string;
|
|
1710
|
-
nextAvailable: boolean;
|
|
1711
|
-
}, {
|
|
1712
|
-
agentId: string;
|
|
1713
|
-
nextAvailable: boolean;
|
|
1714
|
-
}>;
|
|
1715
|
-
403: z.ZodObject<{
|
|
1716
|
-
statusCode: z.ZodNumber;
|
|
1717
|
-
message: z.ZodString;
|
|
1718
|
-
code: z.ZodString;
|
|
1719
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1720
|
-
timestamp: z.ZodString;
|
|
1721
|
-
path: z.ZodString;
|
|
1722
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1723
|
-
}, "strip", z.ZodTypeAny, {
|
|
1724
|
-
code: string;
|
|
1725
|
-
path: string;
|
|
1726
|
-
message: string;
|
|
1727
|
-
statusCode: number;
|
|
1728
|
-
timestamp: string;
|
|
1729
|
-
details?: unknown;
|
|
1730
|
-
correlationId?: string | undefined;
|
|
1731
|
-
}, {
|
|
1732
|
-
code: string;
|
|
1733
|
-
path: string;
|
|
1734
|
-
message: string;
|
|
1735
|
-
statusCode: number;
|
|
1736
|
-
timestamp: string;
|
|
1737
|
-
details?: unknown;
|
|
1738
|
-
correlationId?: string | undefined;
|
|
1739
|
-
}>;
|
|
1740
|
-
};
|
|
1741
|
-
};
|
|
1742
|
-
consent: {
|
|
1743
|
-
metadata: {
|
|
1744
|
-
tags: string[];
|
|
1745
|
-
};
|
|
1746
|
-
pathParams: z.ZodObject<{
|
|
1747
|
-
id: z.ZodString;
|
|
1748
|
-
}, "strip", z.ZodTypeAny, {
|
|
1749
|
-
id: string;
|
|
1750
|
-
}, {
|
|
1751
|
-
id: string;
|
|
1752
|
-
}>;
|
|
1753
|
-
summary: "Record worker consent; advance to next";
|
|
1754
|
-
method: "POST";
|
|
1755
|
-
body: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
1756
|
-
path: "/v2/curated-worker-leads/consent-queue/:id/consent";
|
|
1757
|
-
responses: {
|
|
1758
|
-
400: z.ZodObject<{
|
|
1759
|
-
statusCode: z.ZodNumber;
|
|
1760
|
-
message: z.ZodString;
|
|
1761
|
-
code: z.ZodString;
|
|
1762
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1763
|
-
timestamp: z.ZodString;
|
|
1764
|
-
path: z.ZodString;
|
|
1765
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1766
|
-
}, "strip", z.ZodTypeAny, {
|
|
1767
|
-
code: string;
|
|
1768
|
-
path: string;
|
|
1769
|
-
message: string;
|
|
1770
|
-
statusCode: number;
|
|
1771
|
-
timestamp: string;
|
|
1772
|
-
details?: unknown;
|
|
1773
|
-
correlationId?: string | undefined;
|
|
1774
|
-
}, {
|
|
1775
|
-
code: string;
|
|
1776
|
-
path: string;
|
|
1777
|
-
message: string;
|
|
1778
|
-
statusCode: number;
|
|
1779
|
-
timestamp: string;
|
|
1780
|
-
details?: unknown;
|
|
1781
|
-
correlationId?: string | undefined;
|
|
1782
|
-
}>;
|
|
1783
|
-
401: z.ZodObject<{
|
|
1784
|
-
statusCode: z.ZodNumber;
|
|
1785
|
-
message: z.ZodString;
|
|
1786
|
-
code: z.ZodString;
|
|
1787
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1788
|
-
timestamp: z.ZodString;
|
|
1789
|
-
path: z.ZodString;
|
|
1790
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1791
|
-
}, "strip", z.ZodTypeAny, {
|
|
1792
|
-
code: string;
|
|
1793
|
-
path: string;
|
|
1794
|
-
message: string;
|
|
1795
|
-
statusCode: number;
|
|
1796
|
-
timestamp: string;
|
|
1797
|
-
details?: unknown;
|
|
1798
|
-
correlationId?: string | undefined;
|
|
1799
|
-
}, {
|
|
1800
|
-
code: string;
|
|
1801
|
-
path: string;
|
|
1802
|
-
message: string;
|
|
1803
|
-
statusCode: number;
|
|
1804
|
-
timestamp: string;
|
|
1805
|
-
details?: unknown;
|
|
1806
|
-
correlationId?: string | undefined;
|
|
1807
|
-
}>;
|
|
1808
|
-
500: z.ZodObject<{
|
|
1809
|
-
statusCode: z.ZodNumber;
|
|
1810
|
-
message: z.ZodString;
|
|
1811
|
-
code: z.ZodString;
|
|
1812
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1813
|
-
timestamp: z.ZodString;
|
|
1814
|
-
path: z.ZodString;
|
|
1815
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1816
|
-
}, "strip", z.ZodTypeAny, {
|
|
1817
|
-
code: string;
|
|
1818
|
-
path: string;
|
|
1819
|
-
message: string;
|
|
1820
|
-
statusCode: number;
|
|
1821
|
-
timestamp: string;
|
|
1822
|
-
details?: unknown;
|
|
1823
|
-
correlationId?: string | undefined;
|
|
1824
|
-
}, {
|
|
1825
|
-
code: string;
|
|
1826
|
-
path: string;
|
|
1827
|
-
message: string;
|
|
1828
|
-
statusCode: number;
|
|
1829
|
-
timestamp: string;
|
|
1830
|
-
details?: unknown;
|
|
1831
|
-
correlationId?: string | undefined;
|
|
1832
|
-
}>;
|
|
1833
|
-
200: z.ZodObject<{
|
|
1834
|
-
next: z.ZodNullable<z.ZodObject<{
|
|
1835
|
-
assignmentId: z.ZodString;
|
|
1836
|
-
curatedWorkerId: z.ZodString;
|
|
1837
|
-
workerName: z.ZodString;
|
|
1838
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
1839
|
-
phoneId: z.ZodNullable<z.ZodString>;
|
|
1840
|
-
postcode: z.ZodNullable<z.ZodString>;
|
|
1841
|
-
matchingJobCount: z.ZodNumber;
|
|
1842
|
-
nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
1843
|
-
assignedAt: z.ZodString;
|
|
1844
|
-
}, "strip", z.ZodTypeAny, {
|
|
1845
|
-
curatedWorkerId: string;
|
|
1846
|
-
postcode: string | null;
|
|
1847
|
-
phoneNumber: string | null;
|
|
1848
|
-
workerName: string;
|
|
1849
|
-
assignmentId: string;
|
|
1850
|
-
assignedAt: string;
|
|
1851
|
-
phoneId: string | null;
|
|
1852
|
-
matchingJobCount: number;
|
|
1853
|
-
nearestJobDistanceKm: number | null;
|
|
1854
|
-
}, {
|
|
1855
|
-
curatedWorkerId: string;
|
|
1856
|
-
postcode: string | null;
|
|
1857
|
-
phoneNumber: string | null;
|
|
1858
|
-
workerName: string;
|
|
1859
|
-
assignmentId: string;
|
|
1860
|
-
assignedAt: string;
|
|
1861
|
-
phoneId: string | null;
|
|
1862
|
-
matchingJobCount: number;
|
|
1863
|
-
nearestJobDistanceKm: number | null;
|
|
1864
|
-
}>>;
|
|
1865
|
-
}, "strip", z.ZodTypeAny, {
|
|
1866
|
-
next: {
|
|
1867
|
-
curatedWorkerId: string;
|
|
1868
|
-
postcode: string | null;
|
|
1869
|
-
phoneNumber: string | null;
|
|
1870
|
-
workerName: string;
|
|
1871
|
-
assignmentId: string;
|
|
1872
|
-
assignedAt: string;
|
|
1873
|
-
phoneId: string | null;
|
|
1874
|
-
matchingJobCount: number;
|
|
1875
|
-
nearestJobDistanceKm: number | null;
|
|
1876
|
-
} | null;
|
|
1877
|
-
}, {
|
|
1878
|
-
next: {
|
|
1879
|
-
curatedWorkerId: string;
|
|
1880
|
-
postcode: string | null;
|
|
1881
|
-
phoneNumber: string | null;
|
|
1882
|
-
workerName: string;
|
|
1883
|
-
assignmentId: string;
|
|
1884
|
-
assignedAt: string;
|
|
1885
|
-
phoneId: string | null;
|
|
1886
|
-
matchingJobCount: number;
|
|
1887
|
-
nearestJobDistanceKm: number | null;
|
|
1888
|
-
} | null;
|
|
1889
|
-
}>;
|
|
1890
|
-
403: z.ZodObject<{
|
|
1891
|
-
statusCode: z.ZodNumber;
|
|
1892
|
-
message: z.ZodString;
|
|
1893
|
-
code: z.ZodString;
|
|
1894
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1895
|
-
timestamp: z.ZodString;
|
|
1896
|
-
path: z.ZodString;
|
|
1897
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1898
|
-
}, "strip", z.ZodTypeAny, {
|
|
1899
|
-
code: string;
|
|
1900
|
-
path: string;
|
|
1901
|
-
message: string;
|
|
1902
|
-
statusCode: number;
|
|
1903
|
-
timestamp: string;
|
|
1904
|
-
details?: unknown;
|
|
1905
|
-
correlationId?: string | undefined;
|
|
1906
|
-
}, {
|
|
1907
|
-
code: string;
|
|
1908
|
-
path: string;
|
|
1909
|
-
message: string;
|
|
1910
|
-
statusCode: number;
|
|
1911
|
-
timestamp: string;
|
|
1912
|
-
details?: unknown;
|
|
1913
|
-
correlationId?: string | undefined;
|
|
1914
|
-
}>;
|
|
1915
|
-
404: z.ZodObject<{
|
|
1916
|
-
statusCode: z.ZodNumber;
|
|
1917
|
-
message: z.ZodString;
|
|
1918
|
-
code: z.ZodString;
|
|
1919
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1920
|
-
timestamp: z.ZodString;
|
|
1921
|
-
path: z.ZodString;
|
|
1922
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1923
|
-
}, "strip", z.ZodTypeAny, {
|
|
1924
|
-
code: string;
|
|
1925
|
-
path: string;
|
|
1926
|
-
message: string;
|
|
1927
|
-
statusCode: number;
|
|
1928
|
-
timestamp: string;
|
|
1929
|
-
details?: unknown;
|
|
1930
|
-
correlationId?: string | undefined;
|
|
1931
|
-
}, {
|
|
1932
|
-
code: string;
|
|
1933
|
-
path: string;
|
|
1934
|
-
message: string;
|
|
1935
|
-
statusCode: number;
|
|
1936
|
-
timestamp: string;
|
|
1937
|
-
details?: unknown;
|
|
1938
|
-
correlationId?: string | undefined;
|
|
1939
|
-
}>;
|
|
1940
|
-
};
|
|
1941
|
-
};
|
|
1942
|
-
decline: {
|
|
1943
|
-
metadata: {
|
|
1944
|
-
tags: string[];
|
|
1945
|
-
};
|
|
1946
|
-
pathParams: z.ZodObject<{
|
|
1947
|
-
id: z.ZodString;
|
|
1948
|
-
}, "strip", z.ZodTypeAny, {
|
|
1949
|
-
id: string;
|
|
1950
|
-
}, {
|
|
1951
|
-
id: string;
|
|
1952
|
-
}>;
|
|
1953
|
-
summary: "Record decline (reason + do-not-contact days); advance to next";
|
|
1954
|
-
method: "POST";
|
|
1955
|
-
body: z.ZodObject<{
|
|
1956
|
-
reason: z.ZodEnum<["NOT_INTERESTED", "ALREADY_WORKING", "OUT_OF_COUNTRY", "WRONG_NUMBER", "NO_ANSWER", "OTHER"]>;
|
|
1957
|
-
doNotContactDays: z.ZodNumber;
|
|
1958
|
-
}, "strip", z.ZodTypeAny, {
|
|
1959
|
-
reason: "NOT_INTERESTED" | "OTHER" | "NO_ANSWER" | "ALREADY_WORKING" | "OUT_OF_COUNTRY" | "WRONG_NUMBER";
|
|
1960
|
-
doNotContactDays: number;
|
|
1961
|
-
}, {
|
|
1962
|
-
reason: "NOT_INTERESTED" | "OTHER" | "NO_ANSWER" | "ALREADY_WORKING" | "OUT_OF_COUNTRY" | "WRONG_NUMBER";
|
|
1963
|
-
doNotContactDays: number;
|
|
1964
|
-
}>;
|
|
1965
|
-
path: "/v2/curated-worker-leads/consent-queue/:id/decline";
|
|
1966
|
-
responses: {
|
|
1967
|
-
400: z.ZodObject<{
|
|
1968
|
-
statusCode: z.ZodNumber;
|
|
1969
|
-
message: z.ZodString;
|
|
1970
|
-
code: z.ZodString;
|
|
1971
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1972
|
-
timestamp: z.ZodString;
|
|
1973
|
-
path: z.ZodString;
|
|
1974
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1975
|
-
}, "strip", z.ZodTypeAny, {
|
|
1976
|
-
code: string;
|
|
1977
|
-
path: string;
|
|
1978
|
-
message: string;
|
|
1979
|
-
statusCode: number;
|
|
1980
|
-
timestamp: string;
|
|
1981
|
-
details?: unknown;
|
|
1982
|
-
correlationId?: string | undefined;
|
|
1983
|
-
}, {
|
|
1984
|
-
code: string;
|
|
1985
|
-
path: string;
|
|
1986
|
-
message: string;
|
|
1987
|
-
statusCode: number;
|
|
1988
|
-
timestamp: string;
|
|
1989
|
-
details?: unknown;
|
|
1990
|
-
correlationId?: string | undefined;
|
|
1991
|
-
}>;
|
|
1992
|
-
401: z.ZodObject<{
|
|
1993
|
-
statusCode: z.ZodNumber;
|
|
1994
|
-
message: z.ZodString;
|
|
1995
|
-
code: z.ZodString;
|
|
1996
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
1997
|
-
timestamp: z.ZodString;
|
|
1998
|
-
path: z.ZodString;
|
|
1999
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
2000
|
-
}, "strip", z.ZodTypeAny, {
|
|
2001
|
-
code: string;
|
|
2002
|
-
path: string;
|
|
2003
|
-
message: string;
|
|
2004
|
-
statusCode: number;
|
|
2005
|
-
timestamp: string;
|
|
2006
|
-
details?: unknown;
|
|
2007
|
-
correlationId?: string | undefined;
|
|
2008
|
-
}, {
|
|
2009
|
-
code: string;
|
|
2010
|
-
path: string;
|
|
2011
|
-
message: string;
|
|
2012
|
-
statusCode: number;
|
|
2013
|
-
timestamp: string;
|
|
2014
|
-
details?: unknown;
|
|
2015
|
-
correlationId?: string | undefined;
|
|
2016
|
-
}>;
|
|
2017
|
-
500: z.ZodObject<{
|
|
2018
|
-
statusCode: z.ZodNumber;
|
|
2019
|
-
message: z.ZodString;
|
|
2020
|
-
code: z.ZodString;
|
|
2021
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
2022
|
-
timestamp: z.ZodString;
|
|
2023
|
-
path: z.ZodString;
|
|
2024
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
2025
|
-
}, "strip", z.ZodTypeAny, {
|
|
2026
|
-
code: string;
|
|
2027
|
-
path: string;
|
|
2028
|
-
message: string;
|
|
2029
|
-
statusCode: number;
|
|
2030
|
-
timestamp: string;
|
|
2031
|
-
details?: unknown;
|
|
2032
|
-
correlationId?: string | undefined;
|
|
2033
|
-
}, {
|
|
2034
|
-
code: string;
|
|
2035
|
-
path: string;
|
|
2036
|
-
message: string;
|
|
2037
|
-
statusCode: number;
|
|
2038
|
-
timestamp: string;
|
|
2039
|
-
details?: unknown;
|
|
2040
|
-
correlationId?: string | undefined;
|
|
2041
|
-
}>;
|
|
2042
|
-
200: z.ZodObject<{
|
|
2043
|
-
next: z.ZodNullable<z.ZodObject<{
|
|
2044
|
-
assignmentId: z.ZodString;
|
|
2045
|
-
curatedWorkerId: z.ZodString;
|
|
2046
|
-
workerName: z.ZodString;
|
|
2047
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
2048
|
-
phoneId: z.ZodNullable<z.ZodString>;
|
|
2049
|
-
postcode: z.ZodNullable<z.ZodString>;
|
|
2050
|
-
matchingJobCount: z.ZodNumber;
|
|
2051
|
-
nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
2052
|
-
assignedAt: z.ZodString;
|
|
2053
|
-
}, "strip", z.ZodTypeAny, {
|
|
2054
|
-
curatedWorkerId: string;
|
|
2055
|
-
postcode: string | null;
|
|
2056
|
-
phoneNumber: string | null;
|
|
2057
|
-
workerName: string;
|
|
2058
|
-
assignmentId: string;
|
|
2059
|
-
assignedAt: string;
|
|
2060
|
-
phoneId: string | null;
|
|
2061
|
-
matchingJobCount: number;
|
|
2062
|
-
nearestJobDistanceKm: number | null;
|
|
2063
|
-
}, {
|
|
2064
|
-
curatedWorkerId: string;
|
|
2065
|
-
postcode: string | null;
|
|
2066
|
-
phoneNumber: string | null;
|
|
2067
|
-
workerName: string;
|
|
2068
|
-
assignmentId: string;
|
|
2069
|
-
assignedAt: string;
|
|
2070
|
-
phoneId: string | null;
|
|
2071
|
-
matchingJobCount: number;
|
|
2072
|
-
nearestJobDistanceKm: number | null;
|
|
2073
|
-
}>>;
|
|
2074
|
-
}, "strip", z.ZodTypeAny, {
|
|
2075
|
-
next: {
|
|
2076
|
-
curatedWorkerId: string;
|
|
2077
|
-
postcode: string | null;
|
|
2078
|
-
phoneNumber: string | null;
|
|
2079
|
-
workerName: string;
|
|
2080
|
-
assignmentId: string;
|
|
2081
|
-
assignedAt: string;
|
|
2082
|
-
phoneId: string | null;
|
|
2083
|
-
matchingJobCount: number;
|
|
2084
|
-
nearestJobDistanceKm: number | null;
|
|
2085
|
-
} | null;
|
|
2086
|
-
}, {
|
|
2087
|
-
next: {
|
|
2088
|
-
curatedWorkerId: string;
|
|
2089
|
-
postcode: string | null;
|
|
2090
|
-
phoneNumber: string | null;
|
|
2091
|
-
workerName: string;
|
|
2092
|
-
assignmentId: string;
|
|
2093
|
-
assignedAt: string;
|
|
2094
|
-
phoneId: string | null;
|
|
2095
|
-
matchingJobCount: number;
|
|
2096
|
-
nearestJobDistanceKm: number | null;
|
|
2097
|
-
} | null;
|
|
2098
|
-
}>;
|
|
2099
|
-
403: z.ZodObject<{
|
|
2100
|
-
statusCode: z.ZodNumber;
|
|
2101
|
-
message: z.ZodString;
|
|
2102
|
-
code: z.ZodString;
|
|
2103
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
2104
|
-
timestamp: z.ZodString;
|
|
2105
|
-
path: z.ZodString;
|
|
2106
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
2107
|
-
}, "strip", z.ZodTypeAny, {
|
|
2108
|
-
code: string;
|
|
2109
|
-
path: string;
|
|
2110
|
-
message: string;
|
|
2111
|
-
statusCode: number;
|
|
2112
|
-
timestamp: string;
|
|
2113
|
-
details?: unknown;
|
|
2114
|
-
correlationId?: string | undefined;
|
|
2115
|
-
}, {
|
|
2116
|
-
code: string;
|
|
2117
|
-
path: string;
|
|
2118
|
-
message: string;
|
|
2119
|
-
statusCode: number;
|
|
2120
|
-
timestamp: string;
|
|
2121
|
-
details?: unknown;
|
|
2122
|
-
correlationId?: string | undefined;
|
|
2123
|
-
}>;
|
|
2124
|
-
404: z.ZodObject<{
|
|
2125
|
-
statusCode: z.ZodNumber;
|
|
2126
|
-
message: z.ZodString;
|
|
2127
|
-
code: z.ZodString;
|
|
2128
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
2129
|
-
timestamp: z.ZodString;
|
|
2130
|
-
path: z.ZodString;
|
|
2131
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
2132
|
-
}, "strip", z.ZodTypeAny, {
|
|
2133
|
-
code: string;
|
|
2134
|
-
path: string;
|
|
2135
|
-
message: string;
|
|
2136
|
-
statusCode: number;
|
|
2137
|
-
timestamp: string;
|
|
2138
|
-
details?: unknown;
|
|
2139
|
-
correlationId?: string | undefined;
|
|
2140
|
-
}, {
|
|
2141
|
-
code: string;
|
|
2142
|
-
path: string;
|
|
2143
|
-
message: string;
|
|
2144
|
-
statusCode: number;
|
|
2145
|
-
timestamp: string;
|
|
2146
|
-
details?: unknown;
|
|
2147
|
-
correlationId?: string | undefined;
|
|
2148
|
-
}>;
|
|
2149
|
-
};
|
|
2150
|
-
};
|
|
2151
|
-
markPhoneInvalid: {
|
|
2152
|
-
metadata: {
|
|
2153
|
-
tags: string[];
|
|
2154
|
-
};
|
|
2155
|
-
pathParams: z.ZodObject<{
|
|
2156
|
-
id: z.ZodString;
|
|
2157
|
-
}, "strip", z.ZodTypeAny, {
|
|
2158
|
-
id: string;
|
|
2159
|
-
}, {
|
|
2160
|
-
id: string;
|
|
2161
|
-
}>;
|
|
2162
|
-
summary: "Flag the worker phone number invalid (channel tried); release + advance";
|
|
2163
|
-
method: "POST";
|
|
2164
|
-
body: z.ZodObject<{
|
|
2165
|
-
channel: z.ZodEnum<["WHATSAPP", "PHONE_CALL"]>;
|
|
2166
|
-
curatedWorkerPhoneId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2167
|
-
}, "strip", z.ZodTypeAny, {
|
|
2168
|
-
channel: "WHATSAPP" | "PHONE_CALL";
|
|
2169
|
-
curatedWorkerPhoneId?: string | null | undefined;
|
|
2170
|
-
}, {
|
|
2171
|
-
channel: "WHATSAPP" | "PHONE_CALL";
|
|
2172
|
-
curatedWorkerPhoneId?: string | null | undefined;
|
|
2173
|
-
}>;
|
|
2174
|
-
path: "/v2/curated-worker-leads/consent-queue/:id/mark-phone-invalid";
|
|
2175
|
-
responses: {
|
|
2176
|
-
400: z.ZodObject<{
|
|
2177
|
-
statusCode: z.ZodNumber;
|
|
2178
|
-
message: z.ZodString;
|
|
2179
|
-
code: z.ZodString;
|
|
2180
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
2181
|
-
timestamp: z.ZodString;
|
|
2182
|
-
path: z.ZodString;
|
|
2183
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
2184
|
-
}, "strip", z.ZodTypeAny, {
|
|
2185
|
-
code: string;
|
|
2186
|
-
path: string;
|
|
2187
|
-
message: string;
|
|
2188
|
-
statusCode: number;
|
|
2189
|
-
timestamp: string;
|
|
2190
|
-
details?: unknown;
|
|
2191
|
-
correlationId?: string | undefined;
|
|
2192
|
-
}, {
|
|
2193
|
-
code: string;
|
|
2194
|
-
path: string;
|
|
2195
|
-
message: string;
|
|
2196
|
-
statusCode: number;
|
|
2197
|
-
timestamp: string;
|
|
2198
|
-
details?: unknown;
|
|
2199
|
-
correlationId?: string | undefined;
|
|
2200
|
-
}>;
|
|
2201
|
-
401: z.ZodObject<{
|
|
2202
|
-
statusCode: z.ZodNumber;
|
|
2203
|
-
message: z.ZodString;
|
|
2204
|
-
code: z.ZodString;
|
|
2205
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
2206
|
-
timestamp: z.ZodString;
|
|
2207
|
-
path: z.ZodString;
|
|
2208
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
2209
|
-
}, "strip", z.ZodTypeAny, {
|
|
2210
|
-
code: string;
|
|
2211
|
-
path: string;
|
|
2212
|
-
message: string;
|
|
2213
|
-
statusCode: number;
|
|
2214
|
-
timestamp: string;
|
|
2215
|
-
details?: unknown;
|
|
2216
|
-
correlationId?: string | undefined;
|
|
2217
|
-
}, {
|
|
2218
|
-
code: string;
|
|
2219
|
-
path: string;
|
|
2220
|
-
message: string;
|
|
2221
|
-
statusCode: number;
|
|
2222
|
-
timestamp: string;
|
|
2223
|
-
details?: unknown;
|
|
2224
|
-
correlationId?: string | undefined;
|
|
2225
|
-
}>;
|
|
2226
|
-
500: z.ZodObject<{
|
|
2227
|
-
statusCode: z.ZodNumber;
|
|
2228
|
-
message: z.ZodString;
|
|
2229
|
-
code: z.ZodString;
|
|
2230
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
2231
|
-
timestamp: z.ZodString;
|
|
2232
|
-
path: z.ZodString;
|
|
2233
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
2234
|
-
}, "strip", z.ZodTypeAny, {
|
|
2235
|
-
code: string;
|
|
2236
|
-
path: string;
|
|
2237
|
-
message: string;
|
|
2238
|
-
statusCode: number;
|
|
2239
|
-
timestamp: string;
|
|
2240
|
-
details?: unknown;
|
|
2241
|
-
correlationId?: string | undefined;
|
|
2242
|
-
}, {
|
|
2243
|
-
code: string;
|
|
2244
|
-
path: string;
|
|
2245
|
-
message: string;
|
|
2246
|
-
statusCode: number;
|
|
2247
|
-
timestamp: string;
|
|
2248
|
-
details?: unknown;
|
|
2249
|
-
correlationId?: string | undefined;
|
|
2250
|
-
}>;
|
|
2251
|
-
200: z.ZodObject<{
|
|
2252
|
-
next: z.ZodNullable<z.ZodObject<{
|
|
2253
|
-
assignmentId: z.ZodString;
|
|
2254
|
-
curatedWorkerId: z.ZodString;
|
|
2255
|
-
workerName: z.ZodString;
|
|
2256
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
2257
|
-
phoneId: z.ZodNullable<z.ZodString>;
|
|
2258
|
-
postcode: z.ZodNullable<z.ZodString>;
|
|
2259
|
-
matchingJobCount: z.ZodNumber;
|
|
2260
|
-
nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
2261
|
-
assignedAt: z.ZodString;
|
|
2262
|
-
}, "strip", z.ZodTypeAny, {
|
|
2263
|
-
curatedWorkerId: string;
|
|
2264
|
-
postcode: string | null;
|
|
2265
|
-
phoneNumber: string | null;
|
|
2266
|
-
workerName: string;
|
|
2267
|
-
assignmentId: string;
|
|
2268
|
-
assignedAt: string;
|
|
2269
|
-
phoneId: string | null;
|
|
2270
|
-
matchingJobCount: number;
|
|
2271
|
-
nearestJobDistanceKm: number | null;
|
|
2272
|
-
}, {
|
|
2273
|
-
curatedWorkerId: string;
|
|
2274
|
-
postcode: string | null;
|
|
2275
|
-
phoneNumber: string | null;
|
|
2276
|
-
workerName: string;
|
|
2277
|
-
assignmentId: string;
|
|
2278
|
-
assignedAt: string;
|
|
2279
|
-
phoneId: string | null;
|
|
2280
|
-
matchingJobCount: number;
|
|
2281
|
-
nearestJobDistanceKm: number | null;
|
|
2282
|
-
}>>;
|
|
2283
|
-
}, "strip", z.ZodTypeAny, {
|
|
2284
|
-
next: {
|
|
2285
|
-
curatedWorkerId: string;
|
|
2286
|
-
postcode: string | null;
|
|
2287
|
-
phoneNumber: string | null;
|
|
2288
|
-
workerName: string;
|
|
2289
|
-
assignmentId: string;
|
|
2290
|
-
assignedAt: string;
|
|
2291
|
-
phoneId: string | null;
|
|
2292
|
-
matchingJobCount: number;
|
|
2293
|
-
nearestJobDistanceKm: number | null;
|
|
2294
|
-
} | null;
|
|
2295
|
-
}, {
|
|
2296
|
-
next: {
|
|
2297
|
-
curatedWorkerId: string;
|
|
2298
|
-
postcode: string | null;
|
|
2299
|
-
phoneNumber: string | null;
|
|
2300
|
-
workerName: string;
|
|
2301
|
-
assignmentId: string;
|
|
2302
|
-
assignedAt: string;
|
|
2303
|
-
phoneId: string | null;
|
|
2304
|
-
matchingJobCount: number;
|
|
2305
|
-
nearestJobDistanceKm: number | null;
|
|
2306
|
-
} | null;
|
|
2307
|
-
}>;
|
|
2308
|
-
403: z.ZodObject<{
|
|
2309
|
-
statusCode: z.ZodNumber;
|
|
2310
|
-
message: z.ZodString;
|
|
2311
|
-
code: z.ZodString;
|
|
2312
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
2313
|
-
timestamp: z.ZodString;
|
|
2314
|
-
path: z.ZodString;
|
|
2315
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
2316
|
-
}, "strip", z.ZodTypeAny, {
|
|
2317
|
-
code: string;
|
|
2318
|
-
path: string;
|
|
2319
|
-
message: string;
|
|
2320
|
-
statusCode: number;
|
|
2321
|
-
timestamp: string;
|
|
2322
|
-
details?: unknown;
|
|
2323
|
-
correlationId?: string | undefined;
|
|
2324
|
-
}, {
|
|
2325
|
-
code: string;
|
|
2326
|
-
path: string;
|
|
2327
|
-
message: string;
|
|
2328
|
-
statusCode: number;
|
|
2329
|
-
timestamp: string;
|
|
2330
|
-
details?: unknown;
|
|
2331
|
-
correlationId?: string | undefined;
|
|
2332
|
-
}>;
|
|
2333
|
-
404: z.ZodObject<{
|
|
2334
|
-
statusCode: z.ZodNumber;
|
|
2335
|
-
message: z.ZodString;
|
|
2336
|
-
code: z.ZodString;
|
|
2337
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
2338
|
-
timestamp: z.ZodString;
|
|
2339
|
-
path: z.ZodString;
|
|
2340
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
2341
|
-
}, "strip", z.ZodTypeAny, {
|
|
2342
|
-
code: string;
|
|
2343
|
-
path: string;
|
|
2344
|
-
message: string;
|
|
2345
|
-
statusCode: number;
|
|
2346
|
-
timestamp: string;
|
|
2347
|
-
details?: unknown;
|
|
2348
|
-
correlationId?: string | undefined;
|
|
2349
|
-
}, {
|
|
2350
|
-
code: string;
|
|
2351
|
-
path: string;
|
|
2352
|
-
message: string;
|
|
2353
|
-
statusCode: number;
|
|
2354
|
-
timestamp: string;
|
|
2355
|
-
details?: unknown;
|
|
2356
|
-
correlationId?: string | undefined;
|
|
2357
|
-
}>;
|
|
2358
|
-
};
|
|
2359
|
-
};
|
|
2360
|
-
getConsentJobs: {
|
|
2361
|
-
metadata: {
|
|
2362
|
-
tags: string[];
|
|
2363
|
-
};
|
|
2364
|
-
query: z.ZodObject<{
|
|
2365
|
-
curatedWorkerId: z.ZodString;
|
|
2366
|
-
}, "strip", z.ZodTypeAny, {
|
|
2367
|
-
curatedWorkerId: string;
|
|
2368
|
-
}, {
|
|
2369
|
-
curatedWorkerId: string;
|
|
2370
|
-
}>;
|
|
2371
|
-
summary: "A CONSENT_PENDING worker's matching jobs (pitch ammo; ungated read)";
|
|
2372
|
-
method: "GET";
|
|
2373
|
-
path: "/v2/curated-worker-leads/consent-queue/jobs";
|
|
2374
|
-
responses: {
|
|
2375
|
-
400: z.ZodObject<{
|
|
2376
|
-
statusCode: z.ZodNumber;
|
|
2377
|
-
message: z.ZodString;
|
|
2378
|
-
code: z.ZodString;
|
|
2379
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
2380
|
-
timestamp: z.ZodString;
|
|
2381
|
-
path: z.ZodString;
|
|
2382
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
2383
|
-
}, "strip", z.ZodTypeAny, {
|
|
2384
|
-
code: string;
|
|
2385
|
-
path: string;
|
|
2386
|
-
message: string;
|
|
2387
|
-
statusCode: number;
|
|
2388
|
-
timestamp: string;
|
|
2389
|
-
details?: unknown;
|
|
2390
|
-
correlationId?: string | undefined;
|
|
2391
|
-
}, {
|
|
2392
|
-
code: string;
|
|
2393
|
-
path: string;
|
|
2394
|
-
message: string;
|
|
2395
|
-
statusCode: number;
|
|
2396
|
-
timestamp: string;
|
|
2397
|
-
details?: unknown;
|
|
2398
|
-
correlationId?: string | undefined;
|
|
2399
|
-
}>;
|
|
2400
|
-
401: z.ZodObject<{
|
|
2401
|
-
statusCode: z.ZodNumber;
|
|
2402
|
-
message: z.ZodString;
|
|
2403
|
-
code: z.ZodString;
|
|
2404
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
2405
|
-
timestamp: z.ZodString;
|
|
2406
|
-
path: z.ZodString;
|
|
2407
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
2408
|
-
}, "strip", z.ZodTypeAny, {
|
|
2409
|
-
code: string;
|
|
2410
|
-
path: string;
|
|
2411
|
-
message: string;
|
|
2412
|
-
statusCode: number;
|
|
2413
|
-
timestamp: string;
|
|
2414
|
-
details?: unknown;
|
|
2415
|
-
correlationId?: string | undefined;
|
|
2416
|
-
}, {
|
|
2417
|
-
code: string;
|
|
2418
|
-
path: string;
|
|
2419
|
-
message: string;
|
|
2420
|
-
statusCode: number;
|
|
2421
|
-
timestamp: string;
|
|
2422
|
-
details?: unknown;
|
|
2423
|
-
correlationId?: string | undefined;
|
|
2424
|
-
}>;
|
|
2425
|
-
500: z.ZodObject<{
|
|
2426
|
-
statusCode: z.ZodNumber;
|
|
2427
|
-
message: z.ZodString;
|
|
2428
|
-
code: z.ZodString;
|
|
2429
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
2430
|
-
timestamp: z.ZodString;
|
|
2431
|
-
path: z.ZodString;
|
|
2432
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
2433
|
-
}, "strip", z.ZodTypeAny, {
|
|
2434
|
-
code: string;
|
|
2435
|
-
path: string;
|
|
2436
|
-
message: string;
|
|
2437
|
-
statusCode: number;
|
|
2438
|
-
timestamp: string;
|
|
2439
|
-
details?: unknown;
|
|
2440
|
-
correlationId?: string | undefined;
|
|
2441
|
-
}, {
|
|
2442
|
-
code: string;
|
|
2443
|
-
path: string;
|
|
2444
|
-
message: string;
|
|
2445
|
-
statusCode: number;
|
|
2446
|
-
timestamp: string;
|
|
2447
|
-
details?: unknown;
|
|
2448
|
-
correlationId?: string | undefined;
|
|
2449
|
-
}>;
|
|
2450
|
-
200: z.ZodObject<{
|
|
2451
|
-
worker: z.ZodObject<{
|
|
2452
|
-
id: z.ZodString;
|
|
2453
|
-
firstName: z.ZodString;
|
|
2454
|
-
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2455
|
-
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2456
|
-
nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2457
|
-
dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
2458
|
-
bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2459
|
-
englishLevel: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NONE", "BASIC", "INTERMEDIATE", "ADVANCED", "NATIVE"]>>>;
|
|
2460
|
-
nationality: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AFGHAN", "ALBANIAN", "ALGERIAN", "AMERICAN", "ANDORRAN", "ANGOLAN", "ANTIGUANS", "ARGENTINEAN", "ARMENIAN", "AUSTRALIAN", "AUSTRIAN", "AZERBAIJANI", "BAHAMIAN", "BAHRAINI", "BANGLADESHI", "BARBADIAN", "BARBUDANS", "BELARUSIAN", "BELGIAN", "BELIZEAN", "BENINESE", "BHUTANESE", "BOLIVIAN", "BOSNIAN", "BRAZILIAN", "BRITISH", "BRUNEIAN", "BULGARIAN", "BURKINABE", "BURMESE", "BURUNDIAN", "CAMBODIAN", "CAMEROONIAN", "CANADIAN", "CAPE_VERDEAN", "CENTRAL_AFRICAN", "CHADIAN", "CHILEAN", "CHINESE", "COLOMBIAN", "COMORAN", "CONGOLESE", "COSTA_RICAN", "CROATIAN", "CUBAN", "CYPRIOT", "CZECH", "DANISH", "DJIBOUTI", "DOMINICAN", "DUTCH", "EAST_TIMORESE", "ECUADOREAN", "EGYPTIAN", "EMIRIAN", "EQUATORIAL_GUINEAN", "ERITREAN", "ESTONIAN", "ETHIOPIAN", "FIJIAN", "FILIPINO", "FINNISH", "FRENCH", "GABONESE", "GAMBIAN", "GEORGIAN", "GERMAN", "GHANAIAN", "GREEK", "GRENADIAN", "GUATEMALAN", "GUINEA_BISSAUAN", "GUINEAN", "GUYANESE", "HAITIAN", "HERZEGOVINIAN", "HONDURAN", "HUNGARIAN", "ICELANDER", "INDIAN", "INDONESIAN", "IRANIAN", "IRAQI", "IRISH", "ISRAELI", "ITALIAN", "IVORIAN", "JAMAICAN", "JAPANESE", "JORDANIAN", "KAZAKHSTANI", "KENYAN", "KITTIAN_AND_NEVISIAN", "KUWAITI", "KYRGYZ", "LAOTIAN", "LATVIAN", "LEBANESE", "LIBERIAN", "LIBYAN", "LIECHTENSTEINER", "LITHUANIAN", "LUXEMBOURGER", "MACEDONIAN", "MALAGASY", "MALAWIAN", "MALAYSIAN", "MALDIVAN", "MALIAN", "MALTESE", "MARSHALLESE", "MAURITANIAN", "MAURITIAN", "MEXICAN", "MICRONESIAN", "MOLDOVAN", "MONACAN", "MONGOLIAN", "MOROCCAN", "MOSOTHO", "MOTSWANA", "MOZAMBICAN", "NAMIBIAN", "NAURUAN", "NEPALESE", "NEW_ZEALANDER", "NI_VANUATU", "NICARAGUAN", "NIGERIEN", "NIGERIAN", "NORTH_KOREAN", "NORTHERN_IRISH", "NORWEGIAN", "OMANI", "PAKISTANI", "PALAUAN", "PANAMANIAN", "PAPUA_NEW_GUINEAN", "PARAGUAYAN", "PERUVIAN", "POLISH", "PORTUGUESE", "QATARI", "ROMANIAN", "RUSSIAN", "RWANDAN", "SAINT_LUCIAN", "SALVADORAN", "SAMOAN", "SAN_MARINESE", "SAO_TOMEAN", "SAUDI", "SCOTTISH", "SENEGALESE", "SERBIAN", "SEYCHELLOIS", "SIERRA_LEONEAN", "SINGAPOREAN", "SLOVAKIAN", "SLOVENIAN", "SOLOMON_ISLANDER", "SOMALI", "SOUTH_AFRICAN", "SOUTH_KOREAN", "SOUTH_SUDANESE", "SPANISH", "SRI_LANKAN", "SUDANESE", "SURINAMER", "SWAZI", "SWEDISH", "SWISS", "SYRIAN", "TAIWANESE", "TAJIK", "TANZANIAN", "THAI", "TOGOLESE", "TONGAN", "TRINIDADIAN_OR_TOBAGONIAN", "TUNISIAN", "TURKISH", "TUVALUAN", "UGANDAN", "UKRAINIAN", "URUGUAYAN", "UZBEKISTANI", "VENEZUELAN", "VIETNAMESE", "WELSH", "YEMENITE", "ZAMBIAN", "ZIMBABWEAN"]>>>;
|
|
2461
|
-
hasTools: z.ZodNullable<z.ZodBoolean>;
|
|
2462
|
-
hasPpe: z.ZodNullable<z.ZodBoolean>;
|
|
2463
|
-
bookingHistory: z.ZodOptional<z.ZodObject<{
|
|
2464
|
-
workedTotal: z.ZodNumber;
|
|
2465
|
-
workedByMe: z.ZodNumber;
|
|
2466
|
-
noShowTotal: z.ZodNumber;
|
|
2467
|
-
noShowByMe: z.ZodNumber;
|
|
2468
|
-
}, "strip", z.ZodTypeAny, {
|
|
2469
|
-
workedTotal: number;
|
|
2470
|
-
workedByMe: number;
|
|
2471
|
-
noShowTotal: number;
|
|
2472
|
-
noShowByMe: number;
|
|
2473
|
-
}, {
|
|
2474
|
-
workedTotal: number;
|
|
2475
|
-
workedByMe: number;
|
|
2476
|
-
noShowTotal: number;
|
|
2477
|
-
noShowByMe: number;
|
|
2478
|
-
}>>;
|
|
2479
|
-
transportation: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
2480
|
-
methods: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["OWN_CAR", "OWN_VAN", "MOTORCYCLE", "PUBLIC_TRANSPORT", "BICYCLE", "WALK"]>, "many">>>;
|
|
2481
|
-
preferredMethod: z.ZodOptional<z.ZodNullable<z.ZodEnum<["OWN_CAR", "OWN_VAN", "MOTORCYCLE", "PUBLIC_TRANSPORT", "BICYCLE", "WALK"]>>>;
|
|
2482
|
-
}, "strip", z.ZodTypeAny, {
|
|
2483
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
2484
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
2485
|
-
}, {
|
|
2486
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
2487
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
2488
|
-
}>, {
|
|
2489
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
2490
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
2491
|
-
}, {
|
|
2492
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
2493
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
2494
|
-
}>>>;
|
|
2495
|
-
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2496
|
-
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2497
|
-
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2498
|
-
county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2499
|
-
adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2500
|
-
builtUpArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2501
|
-
postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2502
|
-
areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2503
|
-
latitude: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2504
|
-
longitude: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2505
|
-
}, "strip", z.ZodTypeAny, {
|
|
2506
|
-
address?: string | null | undefined;
|
|
2507
|
-
postcode?: string | null | undefined;
|
|
2508
|
-
county?: string | null | undefined;
|
|
2509
|
-
adminDistrict?: string | null | undefined;
|
|
2510
|
-
builtUpArea?: string | null | undefined;
|
|
2511
|
-
postTown?: string | null | undefined;
|
|
2512
|
-
areaCovered?: string | null | undefined;
|
|
2513
|
-
latitude?: number | null | undefined;
|
|
2514
|
-
longitude?: number | null | undefined;
|
|
2515
|
-
}, {
|
|
2516
|
-
address?: string | null | undefined;
|
|
2517
|
-
postcode?: string | null | undefined;
|
|
2518
|
-
county?: string | null | undefined;
|
|
2519
|
-
adminDistrict?: string | null | undefined;
|
|
2520
|
-
builtUpArea?: string | null | undefined;
|
|
2521
|
-
postTown?: string | null | undefined;
|
|
2522
|
-
areaCovered?: string | null | undefined;
|
|
2523
|
-
latitude?: number | null | undefined;
|
|
2524
|
-
longitude?: number | null | undefined;
|
|
2525
|
-
}>>>;
|
|
2526
|
-
offerOpenness: z.ZodDefault<z.ZodEnum<["ACTIVELY_LOOKING", "OPEN", "NOT_INTERESTED"]>>;
|
|
2527
|
-
offerOpennessSetAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
2528
|
-
offerNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2529
|
-
offerNoteUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
2530
|
-
offerSignalUpdatedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2531
|
-
offerSignalUpdatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2532
|
-
shareCode: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2533
|
-
code: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
|
2534
|
-
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
2535
|
-
fileId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2536
|
-
}, "strip", z.ZodTypeAny, {
|
|
2537
|
-
code: string | null;
|
|
2538
|
-
expiryDate?: string | null | undefined;
|
|
2539
|
-
fileId?: string | null | undefined;
|
|
2540
|
-
}, {
|
|
2541
|
-
code: string | null;
|
|
2542
|
-
expiryDate?: string | Date | null | undefined;
|
|
2543
|
-
fileId?: string | null | undefined;
|
|
2544
|
-
}>>>;
|
|
2545
|
-
liveStatus: z.ZodOptional<z.ZodObject<{
|
|
2546
|
-
booking: z.ZodOptional<z.ZodNullable<z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "CONFIRMED", "DIDNT_START_BECAUSE_OF_WORKER", "DIDNT_START_BECAUSE_OF_US", "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE", "DIDNT_START_BECAUSE_OF_AGENCY", "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>>>;
|
|
2547
|
-
bookingId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2548
|
-
active: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2549
|
-
status: z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY", "OFF_SCHEDULE"]>;
|
|
2550
|
-
}, "strip", z.ZodTypeAny, {
|
|
2551
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
2552
|
-
}, {
|
|
2553
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
2554
|
-
}>>>;
|
|
2555
|
-
activeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2556
|
-
bookingAgent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2557
|
-
id: z.ZodString;
|
|
2558
|
-
firstName: z.ZodString;
|
|
2559
|
-
lastName: z.ZodString;
|
|
2560
|
-
}, "strip", z.ZodTypeAny, {
|
|
2561
|
-
id: string;
|
|
2562
|
-
firstName: string;
|
|
2563
|
-
lastName: string;
|
|
2564
|
-
}, {
|
|
2565
|
-
id: string;
|
|
2566
|
-
firstName: string;
|
|
2567
|
-
lastName: string;
|
|
2568
|
-
}>>>;
|
|
2569
|
-
}, "strip", z.ZodTypeAny, {
|
|
2570
|
-
bookingId?: string | null | undefined;
|
|
2571
|
-
booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
|
|
2572
|
-
active?: {
|
|
2573
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
2574
|
-
} | null | undefined;
|
|
2575
|
-
activeId?: string | null | undefined;
|
|
2576
|
-
bookingAgent?: {
|
|
2577
|
-
id: string;
|
|
2578
|
-
firstName: string;
|
|
2579
|
-
lastName: string;
|
|
2580
|
-
} | null | undefined;
|
|
2581
|
-
}, {
|
|
2582
|
-
bookingId?: string | null | undefined;
|
|
2583
|
-
booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
|
|
2584
|
-
active?: {
|
|
2585
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
2586
|
-
} | null | undefined;
|
|
2587
|
-
activeId?: string | null | undefined;
|
|
2588
|
-
bookingAgent?: {
|
|
2589
|
-
id: string;
|
|
2590
|
-
firstName: string;
|
|
2591
|
-
lastName: string;
|
|
2592
|
-
} | null | undefined;
|
|
2593
|
-
}>>;
|
|
2594
|
-
occupancyStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE", "BOOKED"]>>>;
|
|
2595
|
-
distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2596
|
-
workingUntil: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
2597
|
-
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2598
|
-
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2599
|
-
blacklisted: z.ZodBoolean;
|
|
2600
|
-
blacklistReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2601
|
-
suppression: z.ZodNullable<z.ZodObject<{
|
|
2602
|
-
reason: z.ZodString;
|
|
2603
|
-
note: z.ZodNullable<z.ZodString>;
|
|
2604
|
-
until: z.ZodNullable<z.ZodString>;
|
|
2605
|
-
setByName: z.ZodString;
|
|
2606
|
-
setAt: z.ZodString;
|
|
2607
|
-
}, "strip", z.ZodTypeAny, {
|
|
2608
|
-
reason: string;
|
|
2609
|
-
until: string | null;
|
|
2610
|
-
note: string | null;
|
|
2611
|
-
setByName: string;
|
|
2612
|
-
setAt: string;
|
|
2613
|
-
}, {
|
|
2614
|
-
reason: string;
|
|
2615
|
-
until: string | null;
|
|
2616
|
-
note: string | null;
|
|
2617
|
-
setByName: string;
|
|
2618
|
-
setAt: string;
|
|
2619
|
-
}>>;
|
|
2620
|
-
trades: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2621
|
-
id: z.ZodString;
|
|
2622
|
-
tradeId: z.ZodString;
|
|
2623
|
-
mainTrade: z.ZodBoolean;
|
|
2624
|
-
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2625
|
-
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2626
|
-
}, "strip", z.ZodTypeAny, {
|
|
2627
|
-
id: string;
|
|
2628
|
-
createdAt: string;
|
|
2629
|
-
updatedAt: string;
|
|
2630
|
-
tradeId: string;
|
|
2631
|
-
mainTrade: boolean;
|
|
2632
|
-
}, {
|
|
2633
|
-
id: string;
|
|
2634
|
-
createdAt: string | Date;
|
|
2635
|
-
updatedAt: string | Date;
|
|
2636
|
-
tradeId: string;
|
|
2637
|
-
mainTrade: boolean;
|
|
2638
|
-
}>, "many">>>;
|
|
2639
|
-
qualifications: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2640
|
-
id: z.ZodString;
|
|
2641
|
-
proofDocumentFileId: z.ZodNullable<z.ZodString>;
|
|
2642
|
-
issueDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
2643
|
-
expiryDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
2644
|
-
referenceNumber: z.ZodNullable<z.ZodString>;
|
|
2645
|
-
qualificationId: z.ZodString;
|
|
2646
|
-
qualificationTypeId: z.ZodNullable<z.ZodString>;
|
|
2647
|
-
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2648
|
-
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2649
|
-
}, "strip", z.ZodTypeAny, {
|
|
2650
|
-
id: string;
|
|
2651
|
-
createdAt: string;
|
|
2652
|
-
proofDocumentFileId: string | null;
|
|
2653
|
-
referenceNumber: string | null;
|
|
2654
|
-
qualificationId: string;
|
|
2655
|
-
qualificationTypeId: string | null;
|
|
2656
|
-
updatedAt: string;
|
|
2657
|
-
issueDate?: string | null | undefined;
|
|
2658
|
-
expiryDate?: string | null | undefined;
|
|
2659
|
-
}, {
|
|
2660
|
-
id: string;
|
|
2661
|
-
createdAt: string | Date;
|
|
2662
|
-
proofDocumentFileId: string | null;
|
|
2663
|
-
referenceNumber: string | null;
|
|
2664
|
-
qualificationId: string;
|
|
2665
|
-
qualificationTypeId: string | null;
|
|
2666
|
-
updatedAt: string | Date;
|
|
2667
|
-
issueDate?: string | Date | null | undefined;
|
|
2668
|
-
expiryDate?: string | Date | null | undefined;
|
|
2669
|
-
}>, "many">>>;
|
|
2670
|
-
phoneNumbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2671
|
-
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
2672
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2673
|
-
} & {
|
|
2674
|
-
id: z.ZodString;
|
|
2675
|
-
phoneNumber: z.ZodString;
|
|
2676
|
-
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2677
|
-
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2678
|
-
}, "strip", z.ZodTypeAny, {
|
|
2679
|
-
id: string;
|
|
2680
|
-
createdAt: string;
|
|
2681
|
-
updatedAt: string;
|
|
2682
|
-
phoneNumber: string;
|
|
2683
|
-
isPrimary: boolean;
|
|
2684
|
-
description?: string | null | undefined;
|
|
2685
|
-
}, {
|
|
2686
|
-
id: string;
|
|
2687
|
-
createdAt: string | Date;
|
|
2688
|
-
updatedAt: string | Date;
|
|
2689
|
-
phoneNumber: string;
|
|
2690
|
-
description?: string | null | undefined;
|
|
2691
|
-
isPrimary?: boolean | undefined;
|
|
2692
|
-
}>, "many">>>;
|
|
2693
|
-
idDocuments: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2694
|
-
id: z.ZodString;
|
|
2695
|
-
fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2696
|
-
documentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["passport", "id_card", "driving_license", "unknown"]>>>;
|
|
2697
|
-
expiryDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
2698
|
-
documentNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2699
|
-
createdAt: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
2700
|
-
updatedAt: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
2701
|
-
}, "strip", z.ZodTypeAny, {
|
|
2702
|
-
id: string;
|
|
2703
|
-
createdAt?: string | undefined;
|
|
2704
|
-
expiryDate?: string | null | undefined;
|
|
2705
|
-
updatedAt?: string | undefined;
|
|
2706
|
-
fileId?: string | null | undefined;
|
|
2707
|
-
documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
|
|
2708
|
-
documentNumber?: string | null | undefined;
|
|
2709
|
-
}, {
|
|
2710
|
-
id: string;
|
|
2711
|
-
createdAt?: string | Date | undefined;
|
|
2712
|
-
expiryDate?: string | Date | null | undefined;
|
|
2713
|
-
updatedAt?: string | Date | undefined;
|
|
2714
|
-
fileId?: string | null | undefined;
|
|
2715
|
-
documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
|
|
2716
|
-
documentNumber?: string | null | undefined;
|
|
2717
|
-
}>, "many">>>;
|
|
2718
|
-
}, "strip", z.ZodTypeAny, {
|
|
2719
|
-
id: string;
|
|
2720
|
-
createdAt: string;
|
|
2721
|
-
firstName: string;
|
|
2722
|
-
updatedAt: string;
|
|
2723
|
-
hasTools: boolean | null;
|
|
2724
|
-
hasPpe: boolean | null;
|
|
2725
|
-
offerOpenness: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN";
|
|
2726
|
-
blacklisted: boolean;
|
|
2727
|
-
suppression: {
|
|
2728
|
-
reason: string;
|
|
2729
|
-
until: string | null;
|
|
2730
|
-
note: string | null;
|
|
2731
|
-
setByName: string;
|
|
2732
|
-
setAt: string;
|
|
2733
|
-
} | null;
|
|
2734
|
-
idDocuments: {
|
|
2735
|
-
id: string;
|
|
2736
|
-
createdAt?: string | undefined;
|
|
2737
|
-
expiryDate?: string | null | undefined;
|
|
2738
|
-
updatedAt?: string | undefined;
|
|
2739
|
-
fileId?: string | null | undefined;
|
|
2740
|
-
documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
|
|
2741
|
-
documentNumber?: string | null | undefined;
|
|
2742
|
-
}[];
|
|
2743
|
-
distanceKm?: number | null | undefined;
|
|
2744
|
-
lastName?: string | null | undefined;
|
|
2745
|
-
bookingHistory?: {
|
|
2746
|
-
workedTotal: number;
|
|
2747
|
-
workedByMe: number;
|
|
2748
|
-
noShowTotal: number;
|
|
2749
|
-
noShowByMe: number;
|
|
2750
|
-
} | undefined;
|
|
2751
|
-
email?: string | null | undefined;
|
|
2752
|
-
nino?: string | null | undefined;
|
|
2753
|
-
dateOfBirth?: string | null | undefined;
|
|
2754
|
-
bio?: string | null | undefined;
|
|
2755
|
-
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
2756
|
-
nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
|
|
2757
|
-
transportation?: {
|
|
2758
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
2759
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
2760
|
-
} | null | undefined;
|
|
2761
|
-
location?: {
|
|
2762
|
-
address?: string | null | undefined;
|
|
2763
|
-
postcode?: string | null | undefined;
|
|
2764
|
-
county?: string | null | undefined;
|
|
2765
|
-
adminDistrict?: string | null | undefined;
|
|
2766
|
-
builtUpArea?: string | null | undefined;
|
|
2767
|
-
postTown?: string | null | undefined;
|
|
2768
|
-
areaCovered?: string | null | undefined;
|
|
2769
|
-
latitude?: number | null | undefined;
|
|
2770
|
-
longitude?: number | null | undefined;
|
|
2771
|
-
} | null | undefined;
|
|
2772
|
-
offerOpennessSetAt?: string | null | undefined;
|
|
2773
|
-
offerNote?: string | null | undefined;
|
|
2774
|
-
offerNoteUpdatedAt?: string | null | undefined;
|
|
2775
|
-
offerSignalUpdatedById?: string | null | undefined;
|
|
2776
|
-
offerSignalUpdatedByName?: string | null | undefined;
|
|
2777
|
-
shareCode?: {
|
|
2778
|
-
code: string | null;
|
|
2779
|
-
expiryDate?: string | null | undefined;
|
|
2780
|
-
fileId?: string | null | undefined;
|
|
2781
|
-
} | null | undefined;
|
|
2782
|
-
liveStatus?: {
|
|
2783
|
-
bookingId?: string | null | undefined;
|
|
2784
|
-
booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
|
|
2785
|
-
active?: {
|
|
2786
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
2787
|
-
} | null | undefined;
|
|
2788
|
-
activeId?: string | null | undefined;
|
|
2789
|
-
bookingAgent?: {
|
|
2790
|
-
id: string;
|
|
2791
|
-
firstName: string;
|
|
2792
|
-
lastName: string;
|
|
2793
|
-
} | null | undefined;
|
|
2794
|
-
} | undefined;
|
|
2795
|
-
occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
|
|
2796
|
-
workingUntil?: string | null | undefined;
|
|
2797
|
-
blacklistReason?: string | null | undefined;
|
|
2798
|
-
trades?: {
|
|
2799
|
-
id: string;
|
|
2800
|
-
createdAt: string;
|
|
2801
|
-
updatedAt: string;
|
|
2802
|
-
tradeId: string;
|
|
2803
|
-
mainTrade: boolean;
|
|
2804
|
-
}[] | null | undefined;
|
|
2805
|
-
qualifications?: {
|
|
2806
|
-
id: string;
|
|
2807
|
-
createdAt: string;
|
|
2808
|
-
proofDocumentFileId: string | null;
|
|
2809
|
-
referenceNumber: string | null;
|
|
2810
|
-
qualificationId: string;
|
|
2811
|
-
qualificationTypeId: string | null;
|
|
2812
|
-
updatedAt: string;
|
|
2813
|
-
issueDate?: string | null | undefined;
|
|
2814
|
-
expiryDate?: string | null | undefined;
|
|
2815
|
-
}[] | null | undefined;
|
|
2816
|
-
phoneNumbers?: {
|
|
2817
|
-
id: string;
|
|
2818
|
-
createdAt: string;
|
|
2819
|
-
updatedAt: string;
|
|
2820
|
-
phoneNumber: string;
|
|
2821
|
-
isPrimary: boolean;
|
|
2822
|
-
description?: string | null | undefined;
|
|
2823
|
-
}[] | null | undefined;
|
|
2824
|
-
}, {
|
|
2825
|
-
id: string;
|
|
2826
|
-
createdAt: string | Date;
|
|
2827
|
-
firstName: string;
|
|
2828
|
-
updatedAt: string | Date;
|
|
2829
|
-
hasTools: boolean | null;
|
|
2830
|
-
hasPpe: boolean | null;
|
|
2831
|
-
blacklisted: boolean;
|
|
2832
|
-
suppression: {
|
|
2833
|
-
reason: string;
|
|
2834
|
-
until: string | null;
|
|
2835
|
-
note: string | null;
|
|
2836
|
-
setByName: string;
|
|
2837
|
-
setAt: string;
|
|
2838
|
-
} | null;
|
|
2839
|
-
distanceKm?: number | null | undefined;
|
|
2840
|
-
lastName?: string | null | undefined;
|
|
2841
|
-
bookingHistory?: {
|
|
2842
|
-
workedTotal: number;
|
|
2843
|
-
workedByMe: number;
|
|
2844
|
-
noShowTotal: number;
|
|
2845
|
-
noShowByMe: number;
|
|
2846
|
-
} | undefined;
|
|
2847
|
-
email?: string | null | undefined;
|
|
2848
|
-
nino?: string | null | undefined;
|
|
2849
|
-
dateOfBirth?: string | Date | null | undefined;
|
|
2850
|
-
bio?: string | null | undefined;
|
|
2851
|
-
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
2852
|
-
nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
|
|
2853
|
-
transportation?: {
|
|
2854
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
2855
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
2856
|
-
} | null | undefined;
|
|
2857
|
-
location?: {
|
|
2858
|
-
address?: string | null | undefined;
|
|
2859
|
-
postcode?: string | null | undefined;
|
|
2860
|
-
county?: string | null | undefined;
|
|
2861
|
-
adminDistrict?: string | null | undefined;
|
|
2862
|
-
builtUpArea?: string | null | undefined;
|
|
2863
|
-
postTown?: string | null | undefined;
|
|
2864
|
-
areaCovered?: string | null | undefined;
|
|
2865
|
-
latitude?: number | null | undefined;
|
|
2866
|
-
longitude?: number | null | undefined;
|
|
2867
|
-
} | null | undefined;
|
|
2868
|
-
offerOpenness?: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN" | undefined;
|
|
2869
|
-
offerOpennessSetAt?: string | Date | null | undefined;
|
|
2870
|
-
offerNote?: string | null | undefined;
|
|
2871
|
-
offerNoteUpdatedAt?: string | Date | null | undefined;
|
|
2872
|
-
offerSignalUpdatedById?: string | null | undefined;
|
|
2873
|
-
offerSignalUpdatedByName?: string | null | undefined;
|
|
2874
|
-
shareCode?: {
|
|
2875
|
-
code: string | null;
|
|
2876
|
-
expiryDate?: string | Date | null | undefined;
|
|
2877
|
-
fileId?: string | null | undefined;
|
|
2878
|
-
} | null | undefined;
|
|
2879
|
-
liveStatus?: {
|
|
2880
|
-
bookingId?: string | null | undefined;
|
|
2881
|
-
booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
|
|
2882
|
-
active?: {
|
|
2883
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
2884
|
-
} | null | undefined;
|
|
2885
|
-
activeId?: string | null | undefined;
|
|
2886
|
-
bookingAgent?: {
|
|
2887
|
-
id: string;
|
|
2888
|
-
firstName: string;
|
|
2889
|
-
lastName: string;
|
|
2890
|
-
} | null | undefined;
|
|
2891
|
-
} | undefined;
|
|
2892
|
-
occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
|
|
2893
|
-
workingUntil?: string | Date | null | undefined;
|
|
2894
|
-
blacklistReason?: string | null | undefined;
|
|
2895
|
-
trades?: {
|
|
2896
|
-
id: string;
|
|
2897
|
-
createdAt: string | Date;
|
|
2898
|
-
updatedAt: string | Date;
|
|
2899
|
-
tradeId: string;
|
|
2900
|
-
mainTrade: boolean;
|
|
2901
|
-
}[] | null | undefined;
|
|
2902
|
-
qualifications?: {
|
|
2903
|
-
id: string;
|
|
2904
|
-
createdAt: string | Date;
|
|
2905
|
-
proofDocumentFileId: string | null;
|
|
2906
|
-
referenceNumber: string | null;
|
|
2907
|
-
qualificationId: string;
|
|
2908
|
-
qualificationTypeId: string | null;
|
|
2909
|
-
updatedAt: string | Date;
|
|
2910
|
-
issueDate?: string | Date | null | undefined;
|
|
2911
|
-
expiryDate?: string | Date | null | undefined;
|
|
2912
|
-
}[] | null | undefined;
|
|
2913
|
-
phoneNumbers?: {
|
|
2914
|
-
id: string;
|
|
2915
|
-
createdAt: string | Date;
|
|
2916
|
-
updatedAt: string | Date;
|
|
2917
|
-
phoneNumber: string;
|
|
2918
|
-
description?: string | null | undefined;
|
|
2919
|
-
isPrimary?: boolean | undefined;
|
|
2920
|
-
}[] | null | undefined;
|
|
2921
|
-
idDocuments?: {
|
|
2922
|
-
id: string;
|
|
2923
|
-
createdAt?: string | Date | undefined;
|
|
2924
|
-
expiryDate?: string | Date | null | undefined;
|
|
2925
|
-
updatedAt?: string | Date | undefined;
|
|
2926
|
-
fileId?: string | null | undefined;
|
|
2927
|
-
documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
|
|
2928
|
-
documentNumber?: string | null | undefined;
|
|
2929
|
-
}[] | undefined;
|
|
2930
|
-
}>;
|
|
2931
|
-
matches: z.ZodArray<z.ZodObject<{
|
|
2932
|
-
subjectKind: z.ZodEnum<["OWNED", "CURATED"]>;
|
|
2933
|
-
subjectId: z.ZodString;
|
|
2934
|
-
jobId: z.ZodString;
|
|
2935
|
-
distanceKm: z.ZodNullable<z.ZodNumber>;
|
|
2936
|
-
driveMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2937
|
-
transitMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2938
|
-
status: z.ZodEnum<["NEW", "TOO_FAR", "NOT_INTERESTED", "OFFER_SENT", "BOOKED"]>;
|
|
2939
|
-
statusUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
2940
|
-
}, "strip", z.ZodTypeAny, {
|
|
2941
|
-
jobId: string;
|
|
2942
|
-
status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
2943
|
-
subjectKind: "OWNED" | "CURATED";
|
|
2944
|
-
subjectId: string;
|
|
2945
|
-
distanceKm: number | null;
|
|
2946
|
-
driveMinutes: number | null;
|
|
2947
|
-
transitMinutes: number | null;
|
|
2948
|
-
statusUpdatedAt: string | null;
|
|
2949
|
-
}, {
|
|
2950
|
-
jobId: string;
|
|
2951
|
-
status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
2952
|
-
subjectKind: "OWNED" | "CURATED";
|
|
2953
|
-
subjectId: string;
|
|
2954
|
-
distanceKm: number | null;
|
|
2955
|
-
driveMinutes: number | null;
|
|
2956
|
-
transitMinutes: number | null;
|
|
2957
|
-
statusUpdatedAt: string | null;
|
|
2958
|
-
}>, "many">;
|
|
2959
|
-
jobCards: z.ZodArray<z.ZodObject<{
|
|
2960
|
-
id: z.ZodString;
|
|
2961
|
-
description: z.ZodString;
|
|
2962
|
-
numberOfPositions: z.ZodNumber;
|
|
2963
|
-
workHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2964
|
-
status: z.ZodEnum<["AVAILABLE", "NOT_AVAILABLE"]>;
|
|
2965
|
-
pay: z.ZodObject<{
|
|
2966
|
-
rateUnit: z.ZodEnum<["DAILY", "HOURLY"]>;
|
|
2967
|
-
isNegotiable: z.ZodDefault<z.ZodBoolean>;
|
|
2968
|
-
rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2969
|
-
rateMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2970
|
-
receivedRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2971
|
-
}, "strip", z.ZodTypeAny, {
|
|
2972
|
-
rateUnit: "DAILY" | "HOURLY";
|
|
2973
|
-
isNegotiable: boolean;
|
|
2974
|
-
rate?: number | null | undefined;
|
|
2975
|
-
rateMax?: number | null | undefined;
|
|
2976
|
-
receivedRate?: number | null | undefined;
|
|
2977
|
-
}, {
|
|
2978
|
-
rateUnit: "DAILY" | "HOURLY";
|
|
2979
|
-
rate?: number | null | undefined;
|
|
2980
|
-
isNegotiable?: boolean | undefined;
|
|
2981
|
-
rateMax?: number | null | undefined;
|
|
2982
|
-
receivedRate?: number | null | undefined;
|
|
2983
|
-
}>;
|
|
2984
|
-
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2985
|
-
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2986
|
-
postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2987
|
-
adminDistrict: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2988
|
-
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2989
|
-
}, "strip", z.ZodTypeAny, {
|
|
2990
|
-
address?: string | null | undefined;
|
|
2991
|
-
postcode?: string | null | undefined;
|
|
2992
|
-
adminDistrict?: string | null | undefined;
|
|
2993
|
-
postTown?: string | null | undefined;
|
|
2994
|
-
}, {
|
|
2995
|
-
address?: string | null | undefined;
|
|
2996
|
-
postcode?: string | null | undefined;
|
|
2997
|
-
adminDistrict?: string | null | undefined;
|
|
2998
|
-
postTown?: string | null | undefined;
|
|
2999
|
-
}>>>;
|
|
3000
|
-
tradeId: z.ZodString;
|
|
3001
|
-
jobQualifications: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3002
|
-
id: z.ZodString;
|
|
3003
|
-
qualificationId: z.ZodString;
|
|
3004
|
-
qualificationTypeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3005
|
-
}, "strip", z.ZodTypeAny, {
|
|
3006
|
-
id: string;
|
|
3007
|
-
qualificationId: string;
|
|
3008
|
-
qualificationTypeId?: string | null | undefined;
|
|
3009
|
-
}, {
|
|
3010
|
-
id: string;
|
|
3011
|
-
qualificationId: string;
|
|
3012
|
-
qualificationTypeId?: string | null | undefined;
|
|
3013
|
-
}>, "many">>>;
|
|
3014
|
-
collaboration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3015
|
-
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3016
|
-
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3017
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3018
|
-
client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3019
|
-
id: z.ZodString;
|
|
3020
|
-
name: z.ZodString;
|
|
3021
|
-
}, "strip", z.ZodTypeAny, {
|
|
3022
|
-
id: string;
|
|
3023
|
-
name: string;
|
|
3024
|
-
}, {
|
|
3025
|
-
id: string;
|
|
3026
|
-
name: string;
|
|
3027
|
-
}>>>;
|
|
3028
|
-
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3029
|
-
id: z.ZodString;
|
|
3030
|
-
name: z.ZodString;
|
|
3031
|
-
}, "strip", z.ZodTypeAny, {
|
|
3032
|
-
id: string;
|
|
3033
|
-
name: string;
|
|
3034
|
-
}, {
|
|
3035
|
-
id: string;
|
|
3036
|
-
name: string;
|
|
3037
|
-
}>>>;
|
|
3038
|
-
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3039
|
-
id: z.ZodString;
|
|
3040
|
-
firstName: z.ZodString;
|
|
3041
|
-
lastName: z.ZodString;
|
|
3042
|
-
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3043
|
-
id: z.ZodString;
|
|
3044
|
-
phoneNumber: z.ZodString;
|
|
3045
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3046
|
-
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
3047
|
-
}, "strip", z.ZodTypeAny, {
|
|
3048
|
-
id: string;
|
|
3049
|
-
phoneNumber: string;
|
|
3050
|
-
isPrimary: boolean;
|
|
3051
|
-
description?: string | null | undefined;
|
|
3052
|
-
}, {
|
|
3053
|
-
id: string;
|
|
3054
|
-
phoneNumber: string;
|
|
3055
|
-
description?: string | null | undefined;
|
|
3056
|
-
isPrimary?: boolean | undefined;
|
|
3057
|
-
}>, "many">>>;
|
|
3058
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3059
|
-
}, "strip", z.ZodTypeAny, {
|
|
3060
|
-
id: string;
|
|
3061
|
-
firstName: string;
|
|
3062
|
-
lastName: string;
|
|
3063
|
-
phoneNumbers: {
|
|
3064
|
-
id: string;
|
|
3065
|
-
phoneNumber: string;
|
|
3066
|
-
isPrimary: boolean;
|
|
3067
|
-
description?: string | null | undefined;
|
|
3068
|
-
}[];
|
|
3069
|
-
deletedAt?: string | null | undefined;
|
|
3070
|
-
}, {
|
|
3071
|
-
id: string;
|
|
3072
|
-
firstName: string;
|
|
3073
|
-
lastName: string;
|
|
3074
|
-
phoneNumbers?: {
|
|
3075
|
-
id: string;
|
|
3076
|
-
phoneNumber: string;
|
|
3077
|
-
description?: string | null | undefined;
|
|
3078
|
-
isPrimary?: boolean | undefined;
|
|
3079
|
-
}[] | undefined;
|
|
3080
|
-
deletedAt?: string | Date | null | undefined;
|
|
3081
|
-
}>>>;
|
|
3082
|
-
}, "strip", z.ZodTypeAny, {
|
|
3083
|
-
id?: string | null | undefined;
|
|
3084
|
-
status?: string | null | undefined;
|
|
3085
|
-
userId?: string | null | undefined;
|
|
3086
|
-
client?: {
|
|
3087
|
-
id: string;
|
|
3088
|
-
name: string;
|
|
3089
|
-
} | null | undefined;
|
|
3090
|
-
company?: {
|
|
3091
|
-
id: string;
|
|
3092
|
-
name: string;
|
|
3093
|
-
} | null | undefined;
|
|
3094
|
-
user?: {
|
|
3095
|
-
id: string;
|
|
3096
|
-
firstName: string;
|
|
3097
|
-
lastName: string;
|
|
3098
|
-
phoneNumbers: {
|
|
3099
|
-
id: string;
|
|
3100
|
-
phoneNumber: string;
|
|
3101
|
-
isPrimary: boolean;
|
|
3102
|
-
description?: string | null | undefined;
|
|
3103
|
-
}[];
|
|
3104
|
-
deletedAt?: string | null | undefined;
|
|
3105
|
-
} | null | undefined;
|
|
3106
|
-
}, {
|
|
3107
|
-
id?: string | null | undefined;
|
|
3108
|
-
status?: string | null | undefined;
|
|
3109
|
-
userId?: string | null | undefined;
|
|
3110
|
-
client?: {
|
|
3111
|
-
id: string;
|
|
3112
|
-
name: string;
|
|
3113
|
-
} | null | undefined;
|
|
3114
|
-
company?: {
|
|
3115
|
-
id: string;
|
|
3116
|
-
name: string;
|
|
3117
|
-
} | null | undefined;
|
|
3118
|
-
user?: {
|
|
3119
|
-
id: string;
|
|
3120
|
-
firstName: string;
|
|
3121
|
-
lastName: string;
|
|
3122
|
-
phoneNumbers?: {
|
|
3123
|
-
id: string;
|
|
3124
|
-
phoneNumber: string;
|
|
3125
|
-
description?: string | null | undefined;
|
|
3126
|
-
isPrimary?: boolean | undefined;
|
|
3127
|
-
}[] | undefined;
|
|
3128
|
-
deletedAt?: string | Date | null | undefined;
|
|
3129
|
-
} | null | undefined;
|
|
3130
|
-
}>>>;
|
|
3131
|
-
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3132
|
-
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3133
|
-
createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3134
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3135
|
-
id: z.ZodString;
|
|
3136
|
-
firstName: z.ZodString;
|
|
3137
|
-
lastName: z.ZodString;
|
|
3138
|
-
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3139
|
-
id: z.ZodString;
|
|
3140
|
-
phoneNumber: z.ZodString;
|
|
3141
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3142
|
-
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
3143
|
-
}, "strip", z.ZodTypeAny, {
|
|
3144
|
-
id: string;
|
|
3145
|
-
phoneNumber: string;
|
|
3146
|
-
isPrimary: boolean;
|
|
3147
|
-
description?: string | null | undefined;
|
|
3148
|
-
}, {
|
|
3149
|
-
id: string;
|
|
3150
|
-
phoneNumber: string;
|
|
3151
|
-
description?: string | null | undefined;
|
|
3152
|
-
isPrimary?: boolean | undefined;
|
|
3153
|
-
}>, "many">>>;
|
|
3154
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3155
|
-
}, "strip", z.ZodTypeAny, {
|
|
3156
|
-
id: string;
|
|
3157
|
-
firstName: string;
|
|
3158
|
-
lastName: string;
|
|
3159
|
-
phoneNumbers: {
|
|
3160
|
-
id: string;
|
|
3161
|
-
phoneNumber: string;
|
|
3162
|
-
isPrimary: boolean;
|
|
3163
|
-
description?: string | null | undefined;
|
|
3164
|
-
}[];
|
|
3165
|
-
deletedAt?: string | null | undefined;
|
|
3166
|
-
}, {
|
|
3167
|
-
id: string;
|
|
3168
|
-
firstName: string;
|
|
3169
|
-
lastName: string;
|
|
3170
|
-
phoneNumbers?: {
|
|
3171
|
-
id: string;
|
|
3172
|
-
phoneNumber: string;
|
|
3173
|
-
description?: string | null | undefined;
|
|
3174
|
-
isPrimary?: boolean | undefined;
|
|
3175
|
-
}[] | undefined;
|
|
3176
|
-
deletedAt?: string | Date | null | undefined;
|
|
3177
|
-
}>>>;
|
|
3178
|
-
creationSource: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MANUAL", "BOT"]>>>;
|
|
3179
|
-
distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3180
|
-
filledPositions: z.ZodDefault<z.ZodNumber>;
|
|
3181
|
-
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3182
|
-
sourceMessageDeletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
3183
|
-
minimumRateDeletionExemptAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
|
|
3184
|
-
minimumRateDeletionExemptById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3185
|
-
}, "strip", z.ZodTypeAny, {
|
|
3186
|
-
id: string;
|
|
3187
|
-
status: "AVAILABLE" | "NOT_AVAILABLE";
|
|
3188
|
-
createdAt: string;
|
|
3189
|
-
description: string;
|
|
3190
|
-
pay: {
|
|
3191
|
-
rateUnit: "DAILY" | "HOURLY";
|
|
3192
|
-
isNegotiable: boolean;
|
|
3193
|
-
rate?: number | null | undefined;
|
|
3194
|
-
rateMax?: number | null | undefined;
|
|
3195
|
-
receivedRate?: number | null | undefined;
|
|
3196
|
-
};
|
|
3197
|
-
updatedAt: string;
|
|
3198
|
-
tradeId: string;
|
|
3199
|
-
numberOfPositions: number;
|
|
3200
|
-
filledPositions: number;
|
|
3201
|
-
distanceKm?: number | null | undefined;
|
|
3202
|
-
startDate?: string | null | undefined;
|
|
3203
|
-
location?: {
|
|
3204
|
-
address?: string | null | undefined;
|
|
3205
|
-
postcode?: string | null | undefined;
|
|
3206
|
-
adminDistrict?: string | null | undefined;
|
|
3207
|
-
postTown?: string | null | undefined;
|
|
3208
|
-
} | null | undefined;
|
|
3209
|
-
createdBy?: {
|
|
3210
|
-
id: string;
|
|
3211
|
-
firstName: string;
|
|
3212
|
-
lastName: string;
|
|
3213
|
-
phoneNumbers: {
|
|
3214
|
-
id: string;
|
|
3215
|
-
phoneNumber: string;
|
|
3216
|
-
isPrimary: boolean;
|
|
3217
|
-
description?: string | null | undefined;
|
|
3218
|
-
}[];
|
|
3219
|
-
deletedAt?: string | null | undefined;
|
|
3220
|
-
} | null | undefined;
|
|
3221
|
-
workHours?: number | null | undefined;
|
|
3222
|
-
jobQualifications?: {
|
|
3223
|
-
id: string;
|
|
3224
|
-
qualificationId: string;
|
|
3225
|
-
qualificationTypeId?: string | null | undefined;
|
|
3226
|
-
}[] | null | undefined;
|
|
3227
|
-
collaboration?: {
|
|
3228
|
-
id?: string | null | undefined;
|
|
3229
|
-
status?: string | null | undefined;
|
|
3230
|
-
userId?: string | null | undefined;
|
|
3231
|
-
client?: {
|
|
3232
|
-
id: string;
|
|
3233
|
-
name: string;
|
|
3234
|
-
} | null | undefined;
|
|
3235
|
-
company?: {
|
|
3236
|
-
id: string;
|
|
3237
|
-
name: string;
|
|
3238
|
-
} | null | undefined;
|
|
3239
|
-
user?: {
|
|
3240
|
-
id: string;
|
|
3241
|
-
firstName: string;
|
|
3242
|
-
lastName: string;
|
|
3243
|
-
phoneNumbers: {
|
|
3244
|
-
id: string;
|
|
3245
|
-
phoneNumber: string;
|
|
3246
|
-
isPrimary: boolean;
|
|
3247
|
-
description?: string | null | undefined;
|
|
3248
|
-
}[];
|
|
3249
|
-
deletedAt?: string | null | undefined;
|
|
3250
|
-
} | null | undefined;
|
|
3251
|
-
} | null | undefined;
|
|
3252
|
-
createdById?: string | null | undefined;
|
|
3253
|
-
creationSource?: "MANUAL" | "BOT" | null | undefined;
|
|
3254
|
-
sourceMessageDeletedAt?: string | null | undefined;
|
|
3255
|
-
minimumRateDeletionExemptAt?: string | null | undefined;
|
|
3256
|
-
minimumRateDeletionExemptById?: string | null | undefined;
|
|
3257
|
-
}, {
|
|
3258
|
-
id: string;
|
|
3259
|
-
status: "AVAILABLE" | "NOT_AVAILABLE";
|
|
3260
|
-
createdAt: string | Date;
|
|
3261
|
-
description: string;
|
|
3262
|
-
pay: {
|
|
3263
|
-
rateUnit: "DAILY" | "HOURLY";
|
|
3264
|
-
rate?: number | null | undefined;
|
|
3265
|
-
isNegotiable?: boolean | undefined;
|
|
3266
|
-
rateMax?: number | null | undefined;
|
|
3267
|
-
receivedRate?: number | null | undefined;
|
|
3268
|
-
};
|
|
3269
|
-
updatedAt: string | Date;
|
|
3270
|
-
tradeId: string;
|
|
3271
|
-
numberOfPositions: number;
|
|
3272
|
-
distanceKm?: number | null | undefined;
|
|
3273
|
-
startDate?: string | null | undefined;
|
|
3274
|
-
location?: {
|
|
3275
|
-
address?: string | null | undefined;
|
|
3276
|
-
postcode?: string | null | undefined;
|
|
3277
|
-
adminDistrict?: string | null | undefined;
|
|
3278
|
-
postTown?: string | null | undefined;
|
|
3279
|
-
} | null | undefined;
|
|
3280
|
-
createdBy?: {
|
|
3281
|
-
id: string;
|
|
3282
|
-
firstName: string;
|
|
3283
|
-
lastName: string;
|
|
3284
|
-
phoneNumbers?: {
|
|
3285
|
-
id: string;
|
|
3286
|
-
phoneNumber: string;
|
|
3287
|
-
description?: string | null | undefined;
|
|
3288
|
-
isPrimary?: boolean | undefined;
|
|
3289
|
-
}[] | undefined;
|
|
3290
|
-
deletedAt?: string | Date | null | undefined;
|
|
3291
|
-
} | null | undefined;
|
|
3292
|
-
workHours?: number | null | undefined;
|
|
3293
|
-
jobQualifications?: {
|
|
3294
|
-
id: string;
|
|
3295
|
-
qualificationId: string;
|
|
3296
|
-
qualificationTypeId?: string | null | undefined;
|
|
3297
|
-
}[] | null | undefined;
|
|
3298
|
-
collaboration?: {
|
|
3299
|
-
id?: string | null | undefined;
|
|
3300
|
-
status?: string | null | undefined;
|
|
3301
|
-
userId?: string | null | undefined;
|
|
3302
|
-
client?: {
|
|
3303
|
-
id: string;
|
|
3304
|
-
name: string;
|
|
3305
|
-
} | null | undefined;
|
|
3306
|
-
company?: {
|
|
3307
|
-
id: string;
|
|
3308
|
-
name: string;
|
|
3309
|
-
} | null | undefined;
|
|
3310
|
-
user?: {
|
|
3311
|
-
id: string;
|
|
3312
|
-
firstName: string;
|
|
3313
|
-
lastName: string;
|
|
3314
|
-
phoneNumbers?: {
|
|
3315
|
-
id: string;
|
|
3316
|
-
phoneNumber: string;
|
|
3317
|
-
description?: string | null | undefined;
|
|
3318
|
-
isPrimary?: boolean | undefined;
|
|
3319
|
-
}[] | undefined;
|
|
3320
|
-
deletedAt?: string | Date | null | undefined;
|
|
3321
|
-
} | null | undefined;
|
|
3322
|
-
} | null | undefined;
|
|
3323
|
-
createdById?: string | null | undefined;
|
|
3324
|
-
creationSource?: "MANUAL" | "BOT" | null | undefined;
|
|
3325
|
-
filledPositions?: number | undefined;
|
|
3326
|
-
sourceMessageDeletedAt?: string | Date | null | undefined;
|
|
3327
|
-
minimumRateDeletionExemptAt?: string | Date | null | undefined;
|
|
3328
|
-
minimumRateDeletionExemptById?: string | null | undefined;
|
|
3329
|
-
}>, "many">;
|
|
3330
|
-
}, "strip", z.ZodTypeAny, {
|
|
3331
|
-
matches: {
|
|
3332
|
-
jobId: string;
|
|
3333
|
-
status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
3334
|
-
subjectKind: "OWNED" | "CURATED";
|
|
3335
|
-
subjectId: string;
|
|
3336
|
-
distanceKm: number | null;
|
|
3337
|
-
driveMinutes: number | null;
|
|
3338
|
-
transitMinutes: number | null;
|
|
3339
|
-
statusUpdatedAt: string | null;
|
|
3340
|
-
}[];
|
|
3341
|
-
worker: {
|
|
3342
|
-
id: string;
|
|
3343
|
-
createdAt: string;
|
|
3344
|
-
firstName: string;
|
|
3345
|
-
updatedAt: string;
|
|
3346
|
-
hasTools: boolean | null;
|
|
3347
|
-
hasPpe: boolean | null;
|
|
3348
|
-
offerOpenness: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN";
|
|
3349
|
-
blacklisted: boolean;
|
|
3350
|
-
suppression: {
|
|
3351
|
-
reason: string;
|
|
3352
|
-
until: string | null;
|
|
3353
|
-
note: string | null;
|
|
3354
|
-
setByName: string;
|
|
3355
|
-
setAt: string;
|
|
3356
|
-
} | null;
|
|
3357
|
-
idDocuments: {
|
|
3358
|
-
id: string;
|
|
3359
|
-
createdAt?: string | undefined;
|
|
3360
|
-
expiryDate?: string | null | undefined;
|
|
3361
|
-
updatedAt?: string | undefined;
|
|
3362
|
-
fileId?: string | null | undefined;
|
|
3363
|
-
documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
|
|
3364
|
-
documentNumber?: string | null | undefined;
|
|
3365
|
-
}[];
|
|
3366
|
-
distanceKm?: number | null | undefined;
|
|
3367
|
-
lastName?: string | null | undefined;
|
|
3368
|
-
bookingHistory?: {
|
|
3369
|
-
workedTotal: number;
|
|
3370
|
-
workedByMe: number;
|
|
3371
|
-
noShowTotal: number;
|
|
3372
|
-
noShowByMe: number;
|
|
3373
|
-
} | undefined;
|
|
3374
|
-
email?: string | null | undefined;
|
|
3375
|
-
nino?: string | null | undefined;
|
|
3376
|
-
dateOfBirth?: string | null | undefined;
|
|
3377
|
-
bio?: string | null | undefined;
|
|
3378
|
-
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
3379
|
-
nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
|
|
3380
|
-
transportation?: {
|
|
3381
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
3382
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
3383
|
-
} | null | undefined;
|
|
3384
|
-
location?: {
|
|
3385
|
-
address?: string | null | undefined;
|
|
3386
|
-
postcode?: string | null | undefined;
|
|
3387
|
-
county?: string | null | undefined;
|
|
3388
|
-
adminDistrict?: string | null | undefined;
|
|
3389
|
-
builtUpArea?: string | null | undefined;
|
|
3390
|
-
postTown?: string | null | undefined;
|
|
3391
|
-
areaCovered?: string | null | undefined;
|
|
3392
|
-
latitude?: number | null | undefined;
|
|
3393
|
-
longitude?: number | null | undefined;
|
|
3394
|
-
} | null | undefined;
|
|
3395
|
-
offerOpennessSetAt?: string | null | undefined;
|
|
3396
|
-
offerNote?: string | null | undefined;
|
|
3397
|
-
offerNoteUpdatedAt?: string | null | undefined;
|
|
3398
|
-
offerSignalUpdatedById?: string | null | undefined;
|
|
3399
|
-
offerSignalUpdatedByName?: string | null | undefined;
|
|
3400
|
-
shareCode?: {
|
|
3401
|
-
code: string | null;
|
|
3402
|
-
expiryDate?: string | null | undefined;
|
|
3403
|
-
fileId?: string | null | undefined;
|
|
3404
|
-
} | null | undefined;
|
|
3405
|
-
liveStatus?: {
|
|
3406
|
-
bookingId?: string | null | undefined;
|
|
3407
|
-
booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
|
|
3408
|
-
active?: {
|
|
3409
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
3410
|
-
} | null | undefined;
|
|
3411
|
-
activeId?: string | null | undefined;
|
|
3412
|
-
bookingAgent?: {
|
|
3413
|
-
id: string;
|
|
3414
|
-
firstName: string;
|
|
3415
|
-
lastName: string;
|
|
3416
|
-
} | null | undefined;
|
|
3417
|
-
} | undefined;
|
|
3418
|
-
occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
|
|
3419
|
-
workingUntil?: string | null | undefined;
|
|
3420
|
-
blacklistReason?: string | null | undefined;
|
|
3421
|
-
trades?: {
|
|
3422
|
-
id: string;
|
|
3423
|
-
createdAt: string;
|
|
3424
|
-
updatedAt: string;
|
|
3425
|
-
tradeId: string;
|
|
3426
|
-
mainTrade: boolean;
|
|
3427
|
-
}[] | null | undefined;
|
|
3428
|
-
qualifications?: {
|
|
3429
|
-
id: string;
|
|
3430
|
-
createdAt: string;
|
|
3431
|
-
proofDocumentFileId: string | null;
|
|
3432
|
-
referenceNumber: string | null;
|
|
3433
|
-
qualificationId: string;
|
|
3434
|
-
qualificationTypeId: string | null;
|
|
3435
|
-
updatedAt: string;
|
|
3436
|
-
issueDate?: string | null | undefined;
|
|
3437
|
-
expiryDate?: string | null | undefined;
|
|
3438
|
-
}[] | null | undefined;
|
|
3439
|
-
phoneNumbers?: {
|
|
3440
|
-
id: string;
|
|
3441
|
-
createdAt: string;
|
|
3442
|
-
updatedAt: string;
|
|
3443
|
-
phoneNumber: string;
|
|
3444
|
-
isPrimary: boolean;
|
|
3445
|
-
description?: string | null | undefined;
|
|
3446
|
-
}[] | null | undefined;
|
|
3447
|
-
};
|
|
3448
|
-
jobCards: {
|
|
3449
|
-
id: string;
|
|
3450
|
-
status: "AVAILABLE" | "NOT_AVAILABLE";
|
|
3451
|
-
createdAt: string;
|
|
3452
|
-
description: string;
|
|
3453
|
-
pay: {
|
|
3454
|
-
rateUnit: "DAILY" | "HOURLY";
|
|
3455
|
-
isNegotiable: boolean;
|
|
3456
|
-
rate?: number | null | undefined;
|
|
3457
|
-
rateMax?: number | null | undefined;
|
|
3458
|
-
receivedRate?: number | null | undefined;
|
|
3459
|
-
};
|
|
3460
|
-
updatedAt: string;
|
|
3461
|
-
tradeId: string;
|
|
3462
|
-
numberOfPositions: number;
|
|
3463
|
-
filledPositions: number;
|
|
3464
|
-
distanceKm?: number | null | undefined;
|
|
3465
|
-
startDate?: string | null | undefined;
|
|
3466
|
-
location?: {
|
|
3467
|
-
address?: string | null | undefined;
|
|
3468
|
-
postcode?: string | null | undefined;
|
|
3469
|
-
adminDistrict?: string | null | undefined;
|
|
3470
|
-
postTown?: string | null | undefined;
|
|
3471
|
-
} | null | undefined;
|
|
3472
|
-
createdBy?: {
|
|
3473
|
-
id: string;
|
|
3474
|
-
firstName: string;
|
|
3475
|
-
lastName: string;
|
|
3476
|
-
phoneNumbers: {
|
|
3477
|
-
id: string;
|
|
3478
|
-
phoneNumber: string;
|
|
3479
|
-
isPrimary: boolean;
|
|
3480
|
-
description?: string | null | undefined;
|
|
3481
|
-
}[];
|
|
3482
|
-
deletedAt?: string | null | undefined;
|
|
3483
|
-
} | null | undefined;
|
|
3484
|
-
workHours?: number | null | undefined;
|
|
3485
|
-
jobQualifications?: {
|
|
3486
|
-
id: string;
|
|
3487
|
-
qualificationId: string;
|
|
3488
|
-
qualificationTypeId?: string | null | undefined;
|
|
3489
|
-
}[] | null | undefined;
|
|
3490
|
-
collaboration?: {
|
|
3491
|
-
id?: string | null | undefined;
|
|
3492
|
-
status?: string | null | undefined;
|
|
3493
|
-
userId?: string | null | undefined;
|
|
3494
|
-
client?: {
|
|
3495
|
-
id: string;
|
|
3496
|
-
name: string;
|
|
3497
|
-
} | null | undefined;
|
|
3498
|
-
company?: {
|
|
3499
|
-
id: string;
|
|
3500
|
-
name: string;
|
|
3501
|
-
} | null | undefined;
|
|
3502
|
-
user?: {
|
|
3503
|
-
id: string;
|
|
3504
|
-
firstName: string;
|
|
3505
|
-
lastName: string;
|
|
3506
|
-
phoneNumbers: {
|
|
3507
|
-
id: string;
|
|
3508
|
-
phoneNumber: string;
|
|
3509
|
-
isPrimary: boolean;
|
|
3510
|
-
description?: string | null | undefined;
|
|
3511
|
-
}[];
|
|
3512
|
-
deletedAt?: string | null | undefined;
|
|
3513
|
-
} | null | undefined;
|
|
3514
|
-
} | null | undefined;
|
|
3515
|
-
createdById?: string | null | undefined;
|
|
3516
|
-
creationSource?: "MANUAL" | "BOT" | null | undefined;
|
|
3517
|
-
sourceMessageDeletedAt?: string | null | undefined;
|
|
3518
|
-
minimumRateDeletionExemptAt?: string | null | undefined;
|
|
3519
|
-
minimumRateDeletionExemptById?: string | null | undefined;
|
|
3520
|
-
}[];
|
|
3521
|
-
}, {
|
|
3522
|
-
matches: {
|
|
3523
|
-
jobId: string;
|
|
3524
|
-
status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
3525
|
-
subjectKind: "OWNED" | "CURATED";
|
|
3526
|
-
subjectId: string;
|
|
3527
|
-
distanceKm: number | null;
|
|
3528
|
-
driveMinutes: number | null;
|
|
3529
|
-
transitMinutes: number | null;
|
|
3530
|
-
statusUpdatedAt: string | null;
|
|
3531
|
-
}[];
|
|
3532
|
-
worker: {
|
|
3533
|
-
id: string;
|
|
3534
|
-
createdAt: string | Date;
|
|
3535
|
-
firstName: string;
|
|
3536
|
-
updatedAt: string | Date;
|
|
3537
|
-
hasTools: boolean | null;
|
|
3538
|
-
hasPpe: boolean | null;
|
|
3539
|
-
blacklisted: boolean;
|
|
3540
|
-
suppression: {
|
|
3541
|
-
reason: string;
|
|
3542
|
-
until: string | null;
|
|
3543
|
-
note: string | null;
|
|
3544
|
-
setByName: string;
|
|
3545
|
-
setAt: string;
|
|
3546
|
-
} | null;
|
|
3547
|
-
distanceKm?: number | null | undefined;
|
|
3548
|
-
lastName?: string | null | undefined;
|
|
3549
|
-
bookingHistory?: {
|
|
3550
|
-
workedTotal: number;
|
|
3551
|
-
workedByMe: number;
|
|
3552
|
-
noShowTotal: number;
|
|
3553
|
-
noShowByMe: number;
|
|
3554
|
-
} | undefined;
|
|
3555
|
-
email?: string | null | undefined;
|
|
3556
|
-
nino?: string | null | undefined;
|
|
3557
|
-
dateOfBirth?: string | Date | null | undefined;
|
|
3558
|
-
bio?: string | null | undefined;
|
|
3559
|
-
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
|
|
3560
|
-
nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
|
|
3561
|
-
transportation?: {
|
|
3562
|
-
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
3563
|
-
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
3564
|
-
} | null | undefined;
|
|
3565
|
-
location?: {
|
|
3566
|
-
address?: string | null | undefined;
|
|
3567
|
-
postcode?: string | null | undefined;
|
|
3568
|
-
county?: string | null | undefined;
|
|
3569
|
-
adminDistrict?: string | null | undefined;
|
|
3570
|
-
builtUpArea?: string | null | undefined;
|
|
3571
|
-
postTown?: string | null | undefined;
|
|
3572
|
-
areaCovered?: string | null | undefined;
|
|
3573
|
-
latitude?: number | null | undefined;
|
|
3574
|
-
longitude?: number | null | undefined;
|
|
3575
|
-
} | null | undefined;
|
|
3576
|
-
offerOpenness?: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN" | undefined;
|
|
3577
|
-
offerOpennessSetAt?: string | Date | null | undefined;
|
|
3578
|
-
offerNote?: string | null | undefined;
|
|
3579
|
-
offerNoteUpdatedAt?: string | Date | null | undefined;
|
|
3580
|
-
offerSignalUpdatedById?: string | null | undefined;
|
|
3581
|
-
offerSignalUpdatedByName?: string | null | undefined;
|
|
3582
|
-
shareCode?: {
|
|
3583
|
-
code: string | null;
|
|
3584
|
-
expiryDate?: string | Date | null | undefined;
|
|
3585
|
-
fileId?: string | null | undefined;
|
|
3586
|
-
} | null | undefined;
|
|
3587
|
-
liveStatus?: {
|
|
3588
|
-
bookingId?: string | null | undefined;
|
|
3589
|
-
booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
|
|
3590
|
-
active?: {
|
|
3591
|
-
status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
|
|
3592
|
-
} | null | undefined;
|
|
3593
|
-
activeId?: string | null | undefined;
|
|
3594
|
-
bookingAgent?: {
|
|
3595
|
-
id: string;
|
|
3596
|
-
firstName: string;
|
|
3597
|
-
lastName: string;
|
|
3598
|
-
} | null | undefined;
|
|
3599
|
-
} | undefined;
|
|
3600
|
-
occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
|
|
3601
|
-
workingUntil?: string | Date | null | undefined;
|
|
3602
|
-
blacklistReason?: string | null | undefined;
|
|
3603
|
-
trades?: {
|
|
3604
|
-
id: string;
|
|
3605
|
-
createdAt: string | Date;
|
|
3606
|
-
updatedAt: string | Date;
|
|
3607
|
-
tradeId: string;
|
|
3608
|
-
mainTrade: boolean;
|
|
3609
|
-
}[] | null | undefined;
|
|
3610
|
-
qualifications?: {
|
|
3611
|
-
id: string;
|
|
3612
|
-
createdAt: string | Date;
|
|
3613
|
-
proofDocumentFileId: string | null;
|
|
3614
|
-
referenceNumber: string | null;
|
|
3615
|
-
qualificationId: string;
|
|
3616
|
-
qualificationTypeId: string | null;
|
|
3617
|
-
updatedAt: string | Date;
|
|
3618
|
-
issueDate?: string | Date | null | undefined;
|
|
3619
|
-
expiryDate?: string | Date | null | undefined;
|
|
3620
|
-
}[] | null | undefined;
|
|
3621
|
-
phoneNumbers?: {
|
|
3622
|
-
id: string;
|
|
3623
|
-
createdAt: string | Date;
|
|
3624
|
-
updatedAt: string | Date;
|
|
3625
|
-
phoneNumber: string;
|
|
3626
|
-
description?: string | null | undefined;
|
|
3627
|
-
isPrimary?: boolean | undefined;
|
|
3628
|
-
}[] | null | undefined;
|
|
3629
|
-
idDocuments?: {
|
|
3630
|
-
id: string;
|
|
3631
|
-
createdAt?: string | Date | undefined;
|
|
3632
|
-
expiryDate?: string | Date | null | undefined;
|
|
3633
|
-
updatedAt?: string | Date | undefined;
|
|
3634
|
-
fileId?: string | null | undefined;
|
|
3635
|
-
documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
|
|
3636
|
-
documentNumber?: string | null | undefined;
|
|
3637
|
-
}[] | undefined;
|
|
3638
|
-
};
|
|
3639
|
-
jobCards: {
|
|
3640
|
-
id: string;
|
|
3641
|
-
status: "AVAILABLE" | "NOT_AVAILABLE";
|
|
3642
|
-
createdAt: string | Date;
|
|
3643
|
-
description: string;
|
|
3644
|
-
pay: {
|
|
3645
|
-
rateUnit: "DAILY" | "HOURLY";
|
|
3646
|
-
rate?: number | null | undefined;
|
|
3647
|
-
isNegotiable?: boolean | undefined;
|
|
3648
|
-
rateMax?: number | null | undefined;
|
|
3649
|
-
receivedRate?: number | null | undefined;
|
|
3650
|
-
};
|
|
3651
|
-
updatedAt: string | Date;
|
|
3652
|
-
tradeId: string;
|
|
3653
|
-
numberOfPositions: number;
|
|
3654
|
-
distanceKm?: number | null | undefined;
|
|
3655
|
-
startDate?: string | null | undefined;
|
|
3656
|
-
location?: {
|
|
3657
|
-
address?: string | null | undefined;
|
|
3658
|
-
postcode?: string | null | undefined;
|
|
3659
|
-
adminDistrict?: string | null | undefined;
|
|
3660
|
-
postTown?: string | null | undefined;
|
|
3661
|
-
} | null | undefined;
|
|
3662
|
-
createdBy?: {
|
|
3663
|
-
id: string;
|
|
3664
|
-
firstName: string;
|
|
3665
|
-
lastName: string;
|
|
3666
|
-
phoneNumbers?: {
|
|
3667
|
-
id: string;
|
|
3668
|
-
phoneNumber: string;
|
|
3669
|
-
description?: string | null | undefined;
|
|
3670
|
-
isPrimary?: boolean | undefined;
|
|
3671
|
-
}[] | undefined;
|
|
3672
|
-
deletedAt?: string | Date | null | undefined;
|
|
3673
|
-
} | null | undefined;
|
|
3674
|
-
workHours?: number | null | undefined;
|
|
3675
|
-
jobQualifications?: {
|
|
3676
|
-
id: string;
|
|
3677
|
-
qualificationId: string;
|
|
3678
|
-
qualificationTypeId?: string | null | undefined;
|
|
3679
|
-
}[] | null | undefined;
|
|
3680
|
-
collaboration?: {
|
|
3681
|
-
id?: string | null | undefined;
|
|
3682
|
-
status?: string | null | undefined;
|
|
3683
|
-
userId?: string | null | undefined;
|
|
3684
|
-
client?: {
|
|
3685
|
-
id: string;
|
|
3686
|
-
name: string;
|
|
3687
|
-
} | null | undefined;
|
|
3688
|
-
company?: {
|
|
3689
|
-
id: string;
|
|
3690
|
-
name: string;
|
|
3691
|
-
} | null | undefined;
|
|
3692
|
-
user?: {
|
|
3693
|
-
id: string;
|
|
3694
|
-
firstName: string;
|
|
3695
|
-
lastName: string;
|
|
3696
|
-
phoneNumbers?: {
|
|
3697
|
-
id: string;
|
|
3698
|
-
phoneNumber: string;
|
|
3699
|
-
description?: string | null | undefined;
|
|
3700
|
-
isPrimary?: boolean | undefined;
|
|
3701
|
-
}[] | undefined;
|
|
3702
|
-
deletedAt?: string | Date | null | undefined;
|
|
3703
|
-
} | null | undefined;
|
|
3704
|
-
} | null | undefined;
|
|
3705
|
-
createdById?: string | null | undefined;
|
|
3706
|
-
creationSource?: "MANUAL" | "BOT" | null | undefined;
|
|
3707
|
-
filledPositions?: number | undefined;
|
|
3708
|
-
sourceMessageDeletedAt?: string | Date | null | undefined;
|
|
3709
|
-
minimumRateDeletionExemptAt?: string | Date | null | undefined;
|
|
3710
|
-
minimumRateDeletionExemptById?: string | null | undefined;
|
|
3711
|
-
}[];
|
|
3712
|
-
}>;
|
|
3713
|
-
403: z.ZodObject<{
|
|
3714
|
-
statusCode: z.ZodNumber;
|
|
3715
|
-
message: z.ZodString;
|
|
3716
|
-
code: z.ZodString;
|
|
3717
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
3718
|
-
timestamp: z.ZodString;
|
|
3719
|
-
path: z.ZodString;
|
|
3720
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
3721
|
-
}, "strip", z.ZodTypeAny, {
|
|
3722
|
-
code: string;
|
|
3723
|
-
path: string;
|
|
3724
|
-
message: string;
|
|
3725
|
-
statusCode: number;
|
|
3726
|
-
timestamp: string;
|
|
3727
|
-
details?: unknown;
|
|
3728
|
-
correlationId?: string | undefined;
|
|
3729
|
-
}, {
|
|
3730
|
-
code: string;
|
|
3731
|
-
path: string;
|
|
3732
|
-
message: string;
|
|
3733
|
-
statusCode: number;
|
|
3734
|
-
timestamp: string;
|
|
3735
|
-
details?: unknown;
|
|
3736
|
-
correlationId?: string | undefined;
|
|
3737
|
-
}>;
|
|
3738
|
-
404: z.ZodObject<{
|
|
3739
|
-
statusCode: z.ZodNumber;
|
|
3740
|
-
message: z.ZodString;
|
|
3741
|
-
code: z.ZodString;
|
|
3742
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
3743
|
-
timestamp: z.ZodString;
|
|
3744
|
-
path: z.ZodString;
|
|
3745
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
3746
|
-
}, "strip", z.ZodTypeAny, {
|
|
3747
|
-
code: string;
|
|
3748
|
-
path: string;
|
|
3749
|
-
message: string;
|
|
3750
|
-
statusCode: number;
|
|
3751
|
-
timestamp: string;
|
|
3752
|
-
details?: unknown;
|
|
3753
|
-
correlationId?: string | undefined;
|
|
3754
|
-
}, {
|
|
3755
|
-
code: string;
|
|
3756
|
-
path: string;
|
|
3757
|
-
message: string;
|
|
3758
|
-
statusCode: number;
|
|
3759
|
-
timestamp: string;
|
|
3760
|
-
details?: unknown;
|
|
3761
|
-
correlationId?: string | undefined;
|
|
3762
|
-
}>;
|
|
3763
|
-
};
|
|
3764
|
-
};
|
|
3765
|
-
consentAndOffer: {
|
|
3766
|
-
metadata: {
|
|
3767
|
-
tags: string[];
|
|
3768
|
-
};
|
|
3769
|
-
pathParams: z.ZodObject<{
|
|
3770
|
-
id: z.ZodString;
|
|
3771
|
-
}, "strip", z.ZodTypeAny, {
|
|
3772
|
-
id: string;
|
|
3773
|
-
}, {
|
|
3774
|
-
id: string;
|
|
3775
|
-
}>;
|
|
3776
|
-
summary: "Consent the worker AND record the selected offers atomically; advance";
|
|
3777
|
-
method: "POST";
|
|
3778
|
-
body: z.ZodObject<{
|
|
3779
|
-
tuples: z.ZodArray<z.ZodObject<{
|
|
3780
|
-
subjectKind: z.ZodEnum<["OWNED", "CURATED"]>;
|
|
3781
|
-
subjectId: z.ZodString;
|
|
3782
|
-
jobId: z.ZodString;
|
|
3783
|
-
}, "strip", z.ZodTypeAny, {
|
|
3784
|
-
jobId: string;
|
|
3785
|
-
subjectKind: "OWNED" | "CURATED";
|
|
3786
|
-
subjectId: string;
|
|
3787
|
-
}, {
|
|
3788
|
-
jobId: string;
|
|
3789
|
-
subjectKind: "OWNED" | "CURATED";
|
|
3790
|
-
subjectId: string;
|
|
3791
|
-
}>, "many">;
|
|
3792
|
-
channel: z.ZodOptional<z.ZodEnum<["WHATSAPP", "PHONE"]>>;
|
|
3793
|
-
}, "strip", z.ZodTypeAny, {
|
|
3794
|
-
tuples: {
|
|
3795
|
-
jobId: string;
|
|
3796
|
-
subjectKind: "OWNED" | "CURATED";
|
|
3797
|
-
subjectId: string;
|
|
3798
|
-
}[];
|
|
3799
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
3800
|
-
}, {
|
|
3801
|
-
tuples: {
|
|
3802
|
-
jobId: string;
|
|
3803
|
-
subjectKind: "OWNED" | "CURATED";
|
|
3804
|
-
subjectId: string;
|
|
3805
|
-
}[];
|
|
3806
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
3807
|
-
}>;
|
|
3808
|
-
path: "/v2/curated-worker-leads/consent-queue/:id/consent-and-offer";
|
|
3809
|
-
responses: {
|
|
3810
|
-
400: z.ZodObject<{
|
|
3811
|
-
statusCode: z.ZodNumber;
|
|
3812
|
-
message: z.ZodString;
|
|
3813
|
-
code: z.ZodString;
|
|
3814
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
3815
|
-
timestamp: z.ZodString;
|
|
3816
|
-
path: z.ZodString;
|
|
3817
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
3818
|
-
}, "strip", z.ZodTypeAny, {
|
|
3819
|
-
code: string;
|
|
3820
|
-
path: string;
|
|
3821
|
-
message: string;
|
|
3822
|
-
statusCode: number;
|
|
3823
|
-
timestamp: string;
|
|
3824
|
-
details?: unknown;
|
|
3825
|
-
correlationId?: string | undefined;
|
|
3826
|
-
}, {
|
|
3827
|
-
code: string;
|
|
3828
|
-
path: string;
|
|
3829
|
-
message: string;
|
|
3830
|
-
statusCode: number;
|
|
3831
|
-
timestamp: string;
|
|
3832
|
-
details?: unknown;
|
|
3833
|
-
correlationId?: string | undefined;
|
|
3834
|
-
}>;
|
|
3835
|
-
401: z.ZodObject<{
|
|
3836
|
-
statusCode: z.ZodNumber;
|
|
3837
|
-
message: z.ZodString;
|
|
3838
|
-
code: z.ZodString;
|
|
3839
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
3840
|
-
timestamp: z.ZodString;
|
|
3841
|
-
path: z.ZodString;
|
|
3842
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
3843
|
-
}, "strip", z.ZodTypeAny, {
|
|
3844
|
-
code: string;
|
|
3845
|
-
path: string;
|
|
3846
|
-
message: string;
|
|
3847
|
-
statusCode: number;
|
|
3848
|
-
timestamp: string;
|
|
3849
|
-
details?: unknown;
|
|
3850
|
-
correlationId?: string | undefined;
|
|
3851
|
-
}, {
|
|
3852
|
-
code: string;
|
|
3853
|
-
path: string;
|
|
3854
|
-
message: string;
|
|
3855
|
-
statusCode: number;
|
|
3856
|
-
timestamp: string;
|
|
3857
|
-
details?: unknown;
|
|
3858
|
-
correlationId?: string | undefined;
|
|
3859
|
-
}>;
|
|
3860
|
-
500: z.ZodObject<{
|
|
3861
|
-
statusCode: z.ZodNumber;
|
|
3862
|
-
message: z.ZodString;
|
|
3863
|
-
code: z.ZodString;
|
|
3864
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
3865
|
-
timestamp: z.ZodString;
|
|
3866
|
-
path: z.ZodString;
|
|
3867
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
3868
|
-
}, "strip", z.ZodTypeAny, {
|
|
3869
|
-
code: string;
|
|
3870
|
-
path: string;
|
|
3871
|
-
message: string;
|
|
3872
|
-
statusCode: number;
|
|
3873
|
-
timestamp: string;
|
|
3874
|
-
details?: unknown;
|
|
3875
|
-
correlationId?: string | undefined;
|
|
3876
|
-
}, {
|
|
3877
|
-
code: string;
|
|
3878
|
-
path: string;
|
|
3879
|
-
message: string;
|
|
3880
|
-
statusCode: number;
|
|
3881
|
-
timestamp: string;
|
|
3882
|
-
details?: unknown;
|
|
3883
|
-
correlationId?: string | undefined;
|
|
3884
|
-
}>;
|
|
3885
|
-
200: z.ZodObject<{
|
|
3886
|
-
next: z.ZodNullable<z.ZodObject<{
|
|
3887
|
-
assignmentId: z.ZodString;
|
|
3888
|
-
curatedWorkerId: z.ZodString;
|
|
3889
|
-
workerName: z.ZodString;
|
|
3890
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
3891
|
-
phoneId: z.ZodNullable<z.ZodString>;
|
|
3892
|
-
postcode: z.ZodNullable<z.ZodString>;
|
|
3893
|
-
matchingJobCount: z.ZodNumber;
|
|
3894
|
-
nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
3895
|
-
assignedAt: z.ZodString;
|
|
3896
|
-
}, "strip", z.ZodTypeAny, {
|
|
3897
|
-
curatedWorkerId: string;
|
|
3898
|
-
postcode: string | null;
|
|
3899
|
-
phoneNumber: string | null;
|
|
3900
|
-
workerName: string;
|
|
3901
|
-
assignmentId: string;
|
|
3902
|
-
assignedAt: string;
|
|
3903
|
-
phoneId: string | null;
|
|
3904
|
-
matchingJobCount: number;
|
|
3905
|
-
nearestJobDistanceKm: number | null;
|
|
3906
|
-
}, {
|
|
3907
|
-
curatedWorkerId: string;
|
|
3908
|
-
postcode: string | null;
|
|
3909
|
-
phoneNumber: string | null;
|
|
3910
|
-
workerName: string;
|
|
3911
|
-
assignmentId: string;
|
|
3912
|
-
assignedAt: string;
|
|
3913
|
-
phoneId: string | null;
|
|
3914
|
-
matchingJobCount: number;
|
|
3915
|
-
nearestJobDistanceKm: number | null;
|
|
3916
|
-
}>>;
|
|
3917
|
-
}, "strip", z.ZodTypeAny, {
|
|
3918
|
-
next: {
|
|
3919
|
-
curatedWorkerId: string;
|
|
3920
|
-
postcode: string | null;
|
|
3921
|
-
phoneNumber: string | null;
|
|
3922
|
-
workerName: string;
|
|
3923
|
-
assignmentId: string;
|
|
3924
|
-
assignedAt: string;
|
|
3925
|
-
phoneId: string | null;
|
|
3926
|
-
matchingJobCount: number;
|
|
3927
|
-
nearestJobDistanceKm: number | null;
|
|
3928
|
-
} | null;
|
|
3929
|
-
}, {
|
|
3930
|
-
next: {
|
|
3931
|
-
curatedWorkerId: string;
|
|
3932
|
-
postcode: string | null;
|
|
3933
|
-
phoneNumber: string | null;
|
|
3934
|
-
workerName: string;
|
|
3935
|
-
assignmentId: string;
|
|
3936
|
-
assignedAt: string;
|
|
3937
|
-
phoneId: string | null;
|
|
3938
|
-
matchingJobCount: number;
|
|
3939
|
-
nearestJobDistanceKm: number | null;
|
|
3940
|
-
} | null;
|
|
3941
|
-
}>;
|
|
3942
|
-
403: z.ZodObject<{
|
|
3943
|
-
statusCode: z.ZodNumber;
|
|
3944
|
-
message: z.ZodString;
|
|
3945
|
-
code: z.ZodString;
|
|
3946
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
3947
|
-
timestamp: z.ZodString;
|
|
3948
|
-
path: z.ZodString;
|
|
3949
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
3950
|
-
}, "strip", z.ZodTypeAny, {
|
|
3951
|
-
code: string;
|
|
3952
|
-
path: string;
|
|
3953
|
-
message: string;
|
|
3954
|
-
statusCode: number;
|
|
3955
|
-
timestamp: string;
|
|
3956
|
-
details?: unknown;
|
|
3957
|
-
correlationId?: string | undefined;
|
|
3958
|
-
}, {
|
|
3959
|
-
code: string;
|
|
3960
|
-
path: string;
|
|
3961
|
-
message: string;
|
|
3962
|
-
statusCode: number;
|
|
3963
|
-
timestamp: string;
|
|
3964
|
-
details?: unknown;
|
|
3965
|
-
correlationId?: string | undefined;
|
|
3966
|
-
}>;
|
|
3967
|
-
404: z.ZodObject<{
|
|
3968
|
-
statusCode: z.ZodNumber;
|
|
3969
|
-
message: z.ZodString;
|
|
3970
|
-
code: z.ZodString;
|
|
3971
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
3972
|
-
timestamp: z.ZodString;
|
|
3973
|
-
path: z.ZodString;
|
|
3974
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
3975
|
-
}, "strip", z.ZodTypeAny, {
|
|
3976
|
-
code: string;
|
|
3977
|
-
path: string;
|
|
3978
|
-
message: string;
|
|
3979
|
-
statusCode: number;
|
|
3980
|
-
timestamp: string;
|
|
3981
|
-
details?: unknown;
|
|
3982
|
-
correlationId?: string | undefined;
|
|
3983
|
-
}, {
|
|
3984
|
-
code: string;
|
|
3985
|
-
path: string;
|
|
3986
|
-
message: string;
|
|
3987
|
-
statusCode: number;
|
|
3988
|
-
timestamp: string;
|
|
3989
|
-
details?: unknown;
|
|
3990
|
-
correlationId?: string | undefined;
|
|
3991
|
-
}>;
|
|
3992
|
-
};
|
|
3993
|
-
};
|
|
3994
|
-
consentAndApply: {
|
|
3995
|
-
metadata: {
|
|
3996
|
-
tags: string[];
|
|
3997
|
-
};
|
|
3998
|
-
pathParams: z.ZodObject<{
|
|
3999
|
-
id: z.ZodString;
|
|
4000
|
-
}, "strip", z.ZodTypeAny, {
|
|
4001
|
-
id: string;
|
|
4002
|
-
}, {
|
|
4003
|
-
id: string;
|
|
4004
|
-
}>;
|
|
4005
|
-
summary: "Commit consent and non-booking outcomes, then process staged bookings sequentially; advance";
|
|
4006
|
-
method: "POST";
|
|
4007
|
-
body: z.ZodObject<{
|
|
4008
|
-
items: z.ZodArray<z.ZodObject<{
|
|
4009
|
-
jobId: z.ZodString;
|
|
4010
|
-
outcome: z.ZodEnum<["OFFER_SENT", "TOO_FAR", "NOT_INTERESTED", "BOOKED"]>;
|
|
4011
|
-
channel: z.ZodOptional<z.ZodEnum<["WHATSAPP", "PHONE"]>>;
|
|
4012
|
-
}, "strip", z.ZodTypeAny, {
|
|
4013
|
-
jobId: string;
|
|
4014
|
-
outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
4015
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
4016
|
-
}, {
|
|
4017
|
-
jobId: string;
|
|
4018
|
-
outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
4019
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
4020
|
-
}>, "many">;
|
|
4021
|
-
}, "strict", z.ZodTypeAny, {
|
|
4022
|
-
items: {
|
|
4023
|
-
jobId: string;
|
|
4024
|
-
outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
4025
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
4026
|
-
}[];
|
|
4027
|
-
}, {
|
|
4028
|
-
items: {
|
|
4029
|
-
jobId: string;
|
|
4030
|
-
outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
|
|
4031
|
-
channel?: "WHATSAPP" | "PHONE" | undefined;
|
|
4032
|
-
}[];
|
|
4033
|
-
}>;
|
|
4034
|
-
path: "/v2/curated-worker-leads/consent-queue/:id/consent-and-apply";
|
|
4035
|
-
responses: {
|
|
4036
|
-
400: z.ZodObject<{
|
|
4037
|
-
statusCode: z.ZodNumber;
|
|
4038
|
-
message: z.ZodString;
|
|
4039
|
-
code: z.ZodString;
|
|
4040
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4041
|
-
timestamp: z.ZodString;
|
|
4042
|
-
path: z.ZodString;
|
|
4043
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4044
|
-
}, "strip", z.ZodTypeAny, {
|
|
4045
|
-
code: string;
|
|
4046
|
-
path: string;
|
|
4047
|
-
message: string;
|
|
4048
|
-
statusCode: number;
|
|
4049
|
-
timestamp: string;
|
|
4050
|
-
details?: unknown;
|
|
4051
|
-
correlationId?: string | undefined;
|
|
4052
|
-
}, {
|
|
4053
|
-
code: string;
|
|
4054
|
-
path: string;
|
|
4055
|
-
message: string;
|
|
4056
|
-
statusCode: number;
|
|
4057
|
-
timestamp: string;
|
|
4058
|
-
details?: unknown;
|
|
4059
|
-
correlationId?: string | undefined;
|
|
4060
|
-
}>;
|
|
4061
|
-
401: z.ZodObject<{
|
|
4062
|
-
statusCode: z.ZodNumber;
|
|
4063
|
-
message: z.ZodString;
|
|
4064
|
-
code: z.ZodString;
|
|
4065
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4066
|
-
timestamp: z.ZodString;
|
|
4067
|
-
path: z.ZodString;
|
|
4068
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4069
|
-
}, "strip", z.ZodTypeAny, {
|
|
4070
|
-
code: string;
|
|
4071
|
-
path: string;
|
|
4072
|
-
message: string;
|
|
4073
|
-
statusCode: number;
|
|
4074
|
-
timestamp: string;
|
|
4075
|
-
details?: unknown;
|
|
4076
|
-
correlationId?: string | undefined;
|
|
4077
|
-
}, {
|
|
4078
|
-
code: string;
|
|
4079
|
-
path: string;
|
|
4080
|
-
message: string;
|
|
4081
|
-
statusCode: number;
|
|
4082
|
-
timestamp: string;
|
|
4083
|
-
details?: unknown;
|
|
4084
|
-
correlationId?: string | undefined;
|
|
4085
|
-
}>;
|
|
4086
|
-
500: z.ZodObject<{
|
|
4087
|
-
statusCode: z.ZodNumber;
|
|
4088
|
-
message: z.ZodString;
|
|
4089
|
-
code: z.ZodString;
|
|
4090
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4091
|
-
timestamp: z.ZodString;
|
|
4092
|
-
path: z.ZodString;
|
|
4093
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4094
|
-
}, "strip", z.ZodTypeAny, {
|
|
4095
|
-
code: string;
|
|
4096
|
-
path: string;
|
|
4097
|
-
message: string;
|
|
4098
|
-
statusCode: number;
|
|
4099
|
-
timestamp: string;
|
|
4100
|
-
details?: unknown;
|
|
4101
|
-
correlationId?: string | undefined;
|
|
4102
|
-
}, {
|
|
4103
|
-
code: string;
|
|
4104
|
-
path: string;
|
|
4105
|
-
message: string;
|
|
4106
|
-
statusCode: number;
|
|
4107
|
-
timestamp: string;
|
|
4108
|
-
details?: unknown;
|
|
4109
|
-
correlationId?: string | undefined;
|
|
4110
|
-
}>;
|
|
4111
|
-
200: z.ZodObject<{
|
|
4112
|
-
next: z.ZodNullable<z.ZodObject<{
|
|
4113
|
-
assignmentId: z.ZodString;
|
|
4114
|
-
curatedWorkerId: z.ZodString;
|
|
4115
|
-
workerName: z.ZodString;
|
|
4116
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
4117
|
-
phoneId: z.ZodNullable<z.ZodString>;
|
|
4118
|
-
postcode: z.ZodNullable<z.ZodString>;
|
|
4119
|
-
matchingJobCount: z.ZodNumber;
|
|
4120
|
-
nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
4121
|
-
assignedAt: z.ZodString;
|
|
4122
|
-
}, "strip", z.ZodTypeAny, {
|
|
4123
|
-
curatedWorkerId: string;
|
|
4124
|
-
postcode: string | null;
|
|
4125
|
-
phoneNumber: string | null;
|
|
4126
|
-
workerName: string;
|
|
4127
|
-
assignmentId: string;
|
|
4128
|
-
assignedAt: string;
|
|
4129
|
-
phoneId: string | null;
|
|
4130
|
-
matchingJobCount: number;
|
|
4131
|
-
nearestJobDistanceKm: number | null;
|
|
4132
|
-
}, {
|
|
4133
|
-
curatedWorkerId: string;
|
|
4134
|
-
postcode: string | null;
|
|
4135
|
-
phoneNumber: string | null;
|
|
4136
|
-
workerName: string;
|
|
4137
|
-
assignmentId: string;
|
|
4138
|
-
assignedAt: string;
|
|
4139
|
-
phoneId: string | null;
|
|
4140
|
-
matchingJobCount: number;
|
|
4141
|
-
nearestJobDistanceKm: number | null;
|
|
4142
|
-
}>>;
|
|
4143
|
-
}, "strip", z.ZodTypeAny, {
|
|
4144
|
-
next: {
|
|
4145
|
-
curatedWorkerId: string;
|
|
4146
|
-
postcode: string | null;
|
|
4147
|
-
phoneNumber: string | null;
|
|
4148
|
-
workerName: string;
|
|
4149
|
-
assignmentId: string;
|
|
4150
|
-
assignedAt: string;
|
|
4151
|
-
phoneId: string | null;
|
|
4152
|
-
matchingJobCount: number;
|
|
4153
|
-
nearestJobDistanceKm: number | null;
|
|
4154
|
-
} | null;
|
|
4155
|
-
}, {
|
|
4156
|
-
next: {
|
|
4157
|
-
curatedWorkerId: string;
|
|
4158
|
-
postcode: string | null;
|
|
4159
|
-
phoneNumber: string | null;
|
|
4160
|
-
workerName: string;
|
|
4161
|
-
assignmentId: string;
|
|
4162
|
-
assignedAt: string;
|
|
4163
|
-
phoneId: string | null;
|
|
4164
|
-
matchingJobCount: number;
|
|
4165
|
-
nearestJobDistanceKm: number | null;
|
|
4166
|
-
} | null;
|
|
4167
|
-
}>;
|
|
4168
|
-
403: z.ZodObject<{
|
|
4169
|
-
statusCode: z.ZodNumber;
|
|
4170
|
-
message: z.ZodString;
|
|
4171
|
-
code: z.ZodString;
|
|
4172
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4173
|
-
timestamp: z.ZodString;
|
|
4174
|
-
path: z.ZodString;
|
|
4175
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4176
|
-
}, "strip", z.ZodTypeAny, {
|
|
4177
|
-
code: string;
|
|
4178
|
-
path: string;
|
|
4179
|
-
message: string;
|
|
4180
|
-
statusCode: number;
|
|
4181
|
-
timestamp: string;
|
|
4182
|
-
details?: unknown;
|
|
4183
|
-
correlationId?: string | undefined;
|
|
4184
|
-
}, {
|
|
4185
|
-
code: string;
|
|
4186
|
-
path: string;
|
|
4187
|
-
message: string;
|
|
4188
|
-
statusCode: number;
|
|
4189
|
-
timestamp: string;
|
|
4190
|
-
details?: unknown;
|
|
4191
|
-
correlationId?: string | undefined;
|
|
4192
|
-
}>;
|
|
4193
|
-
404: z.ZodObject<{
|
|
4194
|
-
statusCode: z.ZodNumber;
|
|
4195
|
-
message: z.ZodString;
|
|
4196
|
-
code: z.ZodString;
|
|
4197
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4198
|
-
timestamp: z.ZodString;
|
|
4199
|
-
path: z.ZodString;
|
|
4200
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4201
|
-
}, "strip", z.ZodTypeAny, {
|
|
4202
|
-
code: string;
|
|
4203
|
-
path: string;
|
|
4204
|
-
message: string;
|
|
4205
|
-
statusCode: number;
|
|
4206
|
-
timestamp: string;
|
|
4207
|
-
details?: unknown;
|
|
4208
|
-
correlationId?: string | undefined;
|
|
4209
|
-
}, {
|
|
4210
|
-
code: string;
|
|
4211
|
-
path: string;
|
|
4212
|
-
message: string;
|
|
4213
|
-
statusCode: number;
|
|
4214
|
-
timestamp: string;
|
|
4215
|
-
details?: unknown;
|
|
4216
|
-
correlationId?: string | undefined;
|
|
4217
|
-
}>;
|
|
4218
|
-
};
|
|
4219
|
-
};
|
|
4220
|
-
bringBackCurated: {
|
|
4221
|
-
metadata: {
|
|
4222
|
-
tags: string[];
|
|
4223
|
-
};
|
|
4224
|
-
pathParams: z.ZodObject<{
|
|
4225
|
-
curatedWorkerId: z.ZodString;
|
|
4226
|
-
}, "strip", z.ZodTypeAny, {
|
|
4227
|
-
curatedWorkerId: string;
|
|
4228
|
-
}, {
|
|
4229
|
-
curatedWorkerId: string;
|
|
4230
|
-
}>;
|
|
4231
|
-
summary: "Clear a curated worker snooze + revive the parking agent lead now";
|
|
4232
|
-
method: "POST";
|
|
4233
|
-
body: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
4234
|
-
path: "/v2/curated-worker-leads/consent-queue/worker/:curatedWorkerId/bring-back";
|
|
4235
|
-
responses: {
|
|
4236
|
-
400: z.ZodObject<{
|
|
4237
|
-
statusCode: z.ZodNumber;
|
|
4238
|
-
message: z.ZodString;
|
|
4239
|
-
code: z.ZodString;
|
|
4240
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4241
|
-
timestamp: z.ZodString;
|
|
4242
|
-
path: z.ZodString;
|
|
4243
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4244
|
-
}, "strip", z.ZodTypeAny, {
|
|
4245
|
-
code: string;
|
|
4246
|
-
path: string;
|
|
4247
|
-
message: string;
|
|
4248
|
-
statusCode: number;
|
|
4249
|
-
timestamp: string;
|
|
4250
|
-
details?: unknown;
|
|
4251
|
-
correlationId?: string | undefined;
|
|
4252
|
-
}, {
|
|
4253
|
-
code: string;
|
|
4254
|
-
path: string;
|
|
4255
|
-
message: string;
|
|
4256
|
-
statusCode: number;
|
|
4257
|
-
timestamp: string;
|
|
4258
|
-
details?: unknown;
|
|
4259
|
-
correlationId?: string | undefined;
|
|
4260
|
-
}>;
|
|
4261
|
-
401: z.ZodObject<{
|
|
4262
|
-
statusCode: z.ZodNumber;
|
|
4263
|
-
message: z.ZodString;
|
|
4264
|
-
code: z.ZodString;
|
|
4265
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4266
|
-
timestamp: z.ZodString;
|
|
4267
|
-
path: z.ZodString;
|
|
4268
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4269
|
-
}, "strip", z.ZodTypeAny, {
|
|
4270
|
-
code: string;
|
|
4271
|
-
path: string;
|
|
4272
|
-
message: string;
|
|
4273
|
-
statusCode: number;
|
|
4274
|
-
timestamp: string;
|
|
4275
|
-
details?: unknown;
|
|
4276
|
-
correlationId?: string | undefined;
|
|
4277
|
-
}, {
|
|
4278
|
-
code: string;
|
|
4279
|
-
path: string;
|
|
4280
|
-
message: string;
|
|
4281
|
-
statusCode: number;
|
|
4282
|
-
timestamp: string;
|
|
4283
|
-
details?: unknown;
|
|
4284
|
-
correlationId?: string | undefined;
|
|
4285
|
-
}>;
|
|
4286
|
-
500: z.ZodObject<{
|
|
4287
|
-
statusCode: z.ZodNumber;
|
|
4288
|
-
message: z.ZodString;
|
|
4289
|
-
code: z.ZodString;
|
|
4290
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4291
|
-
timestamp: z.ZodString;
|
|
4292
|
-
path: z.ZodString;
|
|
4293
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4294
|
-
}, "strip", z.ZodTypeAny, {
|
|
4295
|
-
code: string;
|
|
4296
|
-
path: string;
|
|
4297
|
-
message: string;
|
|
4298
|
-
statusCode: number;
|
|
4299
|
-
timestamp: string;
|
|
4300
|
-
details?: unknown;
|
|
4301
|
-
correlationId?: string | undefined;
|
|
4302
|
-
}, {
|
|
4303
|
-
code: string;
|
|
4304
|
-
path: string;
|
|
4305
|
-
message: string;
|
|
4306
|
-
statusCode: number;
|
|
4307
|
-
timestamp: string;
|
|
4308
|
-
details?: unknown;
|
|
4309
|
-
correlationId?: string | undefined;
|
|
4310
|
-
}>;
|
|
4311
|
-
200: z.ZodObject<{
|
|
4312
|
-
ok: z.ZodLiteral<true>;
|
|
4313
|
-
}, "strip", z.ZodTypeAny, {
|
|
4314
|
-
ok: true;
|
|
4315
|
-
}, {
|
|
4316
|
-
ok: true;
|
|
4317
|
-
}>;
|
|
4318
|
-
403: z.ZodObject<{
|
|
4319
|
-
statusCode: z.ZodNumber;
|
|
4320
|
-
message: z.ZodString;
|
|
4321
|
-
code: z.ZodString;
|
|
4322
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4323
|
-
timestamp: z.ZodString;
|
|
4324
|
-
path: z.ZodString;
|
|
4325
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4326
|
-
}, "strip", z.ZodTypeAny, {
|
|
4327
|
-
code: string;
|
|
4328
|
-
path: string;
|
|
4329
|
-
message: string;
|
|
4330
|
-
statusCode: number;
|
|
4331
|
-
timestamp: string;
|
|
4332
|
-
details?: unknown;
|
|
4333
|
-
correlationId?: string | undefined;
|
|
4334
|
-
}, {
|
|
4335
|
-
code: string;
|
|
4336
|
-
path: string;
|
|
4337
|
-
message: string;
|
|
4338
|
-
statusCode: number;
|
|
4339
|
-
timestamp: string;
|
|
4340
|
-
details?: unknown;
|
|
4341
|
-
correlationId?: string | undefined;
|
|
4342
|
-
}>;
|
|
4343
|
-
404: z.ZodObject<{
|
|
4344
|
-
statusCode: z.ZodNumber;
|
|
4345
|
-
message: z.ZodString;
|
|
4346
|
-
code: z.ZodString;
|
|
4347
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4348
|
-
timestamp: z.ZodString;
|
|
4349
|
-
path: z.ZodString;
|
|
4350
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4351
|
-
}, "strip", z.ZodTypeAny, {
|
|
4352
|
-
code: string;
|
|
4353
|
-
path: string;
|
|
4354
|
-
message: string;
|
|
4355
|
-
statusCode: number;
|
|
4356
|
-
timestamp: string;
|
|
4357
|
-
details?: unknown;
|
|
4358
|
-
correlationId?: string | undefined;
|
|
4359
|
-
}, {
|
|
4360
|
-
code: string;
|
|
4361
|
-
path: string;
|
|
4362
|
-
message: string;
|
|
4363
|
-
statusCode: number;
|
|
4364
|
-
timestamp: string;
|
|
4365
|
-
details?: unknown;
|
|
4366
|
-
correlationId?: string | undefined;
|
|
4367
|
-
}>;
|
|
4368
|
-
};
|
|
4369
|
-
};
|
|
4370
|
-
reSnoozeCurated: {
|
|
4371
|
-
metadata: {
|
|
4372
|
-
tags: string[];
|
|
4373
|
-
};
|
|
4374
|
-
pathParams: z.ZodObject<{
|
|
4375
|
-
curatedWorkerId: z.ZodString;
|
|
4376
|
-
}, "strip", z.ZodTypeAny, {
|
|
4377
|
-
curatedWorkerId: string;
|
|
4378
|
-
}, {
|
|
4379
|
-
curatedWorkerId: string;
|
|
4380
|
-
}>;
|
|
4381
|
-
summary: "Extend a curated worker snooze";
|
|
4382
|
-
method: "POST";
|
|
4383
|
-
body: z.ZodObject<{
|
|
4384
|
-
days: z.ZodNumber;
|
|
4385
|
-
}, "strip", z.ZodTypeAny, {
|
|
4386
|
-
days: number;
|
|
4387
|
-
}, {
|
|
4388
|
-
days: number;
|
|
4389
|
-
}>;
|
|
4390
|
-
path: "/v2/curated-worker-leads/consent-queue/worker/:curatedWorkerId/re-snooze";
|
|
4391
|
-
responses: {
|
|
4392
|
-
400: z.ZodObject<{
|
|
4393
|
-
statusCode: z.ZodNumber;
|
|
4394
|
-
message: z.ZodString;
|
|
4395
|
-
code: z.ZodString;
|
|
4396
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4397
|
-
timestamp: z.ZodString;
|
|
4398
|
-
path: z.ZodString;
|
|
4399
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4400
|
-
}, "strip", z.ZodTypeAny, {
|
|
4401
|
-
code: string;
|
|
4402
|
-
path: string;
|
|
4403
|
-
message: string;
|
|
4404
|
-
statusCode: number;
|
|
4405
|
-
timestamp: string;
|
|
4406
|
-
details?: unknown;
|
|
4407
|
-
correlationId?: string | undefined;
|
|
4408
|
-
}, {
|
|
4409
|
-
code: string;
|
|
4410
|
-
path: string;
|
|
4411
|
-
message: string;
|
|
4412
|
-
statusCode: number;
|
|
4413
|
-
timestamp: string;
|
|
4414
|
-
details?: unknown;
|
|
4415
|
-
correlationId?: string | undefined;
|
|
4416
|
-
}>;
|
|
4417
|
-
401: z.ZodObject<{
|
|
4418
|
-
statusCode: z.ZodNumber;
|
|
4419
|
-
message: z.ZodString;
|
|
4420
|
-
code: z.ZodString;
|
|
4421
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4422
|
-
timestamp: z.ZodString;
|
|
4423
|
-
path: z.ZodString;
|
|
4424
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4425
|
-
}, "strip", z.ZodTypeAny, {
|
|
4426
|
-
code: string;
|
|
4427
|
-
path: string;
|
|
4428
|
-
message: string;
|
|
4429
|
-
statusCode: number;
|
|
4430
|
-
timestamp: string;
|
|
4431
|
-
details?: unknown;
|
|
4432
|
-
correlationId?: string | undefined;
|
|
4433
|
-
}, {
|
|
4434
|
-
code: string;
|
|
4435
|
-
path: string;
|
|
4436
|
-
message: string;
|
|
4437
|
-
statusCode: number;
|
|
4438
|
-
timestamp: string;
|
|
4439
|
-
details?: unknown;
|
|
4440
|
-
correlationId?: string | undefined;
|
|
4441
|
-
}>;
|
|
4442
|
-
500: z.ZodObject<{
|
|
4443
|
-
statusCode: z.ZodNumber;
|
|
4444
|
-
message: z.ZodString;
|
|
4445
|
-
code: z.ZodString;
|
|
4446
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4447
|
-
timestamp: z.ZodString;
|
|
4448
|
-
path: z.ZodString;
|
|
4449
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4450
|
-
}, "strip", z.ZodTypeAny, {
|
|
4451
|
-
code: string;
|
|
4452
|
-
path: string;
|
|
4453
|
-
message: string;
|
|
4454
|
-
statusCode: number;
|
|
4455
|
-
timestamp: string;
|
|
4456
|
-
details?: unknown;
|
|
4457
|
-
correlationId?: string | undefined;
|
|
4458
|
-
}, {
|
|
4459
|
-
code: string;
|
|
4460
|
-
path: string;
|
|
4461
|
-
message: string;
|
|
4462
|
-
statusCode: number;
|
|
4463
|
-
timestamp: string;
|
|
4464
|
-
details?: unknown;
|
|
4465
|
-
correlationId?: string | undefined;
|
|
4466
|
-
}>;
|
|
4467
|
-
200: z.ZodObject<{
|
|
4468
|
-
ok: z.ZodLiteral<true>;
|
|
4469
|
-
}, "strip", z.ZodTypeAny, {
|
|
4470
|
-
ok: true;
|
|
4471
|
-
}, {
|
|
4472
|
-
ok: true;
|
|
4473
|
-
}>;
|
|
4474
|
-
403: z.ZodObject<{
|
|
4475
|
-
statusCode: z.ZodNumber;
|
|
4476
|
-
message: z.ZodString;
|
|
4477
|
-
code: z.ZodString;
|
|
4478
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4479
|
-
timestamp: z.ZodString;
|
|
4480
|
-
path: z.ZodString;
|
|
4481
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4482
|
-
}, "strip", z.ZodTypeAny, {
|
|
4483
|
-
code: string;
|
|
4484
|
-
path: string;
|
|
4485
|
-
message: string;
|
|
4486
|
-
statusCode: number;
|
|
4487
|
-
timestamp: string;
|
|
4488
|
-
details?: unknown;
|
|
4489
|
-
correlationId?: string | undefined;
|
|
4490
|
-
}, {
|
|
4491
|
-
code: string;
|
|
4492
|
-
path: string;
|
|
4493
|
-
message: string;
|
|
4494
|
-
statusCode: number;
|
|
4495
|
-
timestamp: string;
|
|
4496
|
-
details?: unknown;
|
|
4497
|
-
correlationId?: string | undefined;
|
|
4498
|
-
}>;
|
|
4499
|
-
404: z.ZodObject<{
|
|
4500
|
-
statusCode: z.ZodNumber;
|
|
4501
|
-
message: z.ZodString;
|
|
4502
|
-
code: z.ZodString;
|
|
4503
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
4504
|
-
timestamp: z.ZodString;
|
|
4505
|
-
path: z.ZodString;
|
|
4506
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
4507
|
-
}, "strip", z.ZodTypeAny, {
|
|
4508
|
-
code: string;
|
|
4509
|
-
path: string;
|
|
4510
|
-
message: string;
|
|
4511
|
-
statusCode: number;
|
|
4512
|
-
timestamp: string;
|
|
4513
|
-
details?: unknown;
|
|
4514
|
-
correlationId?: string | undefined;
|
|
4515
|
-
}, {
|
|
4516
|
-
code: string;
|
|
4517
|
-
path: string;
|
|
4518
|
-
message: string;
|
|
4519
|
-
statusCode: number;
|
|
4520
|
-
timestamp: string;
|
|
4521
|
-
details?: unknown;
|
|
4522
|
-
correlationId?: string | undefined;
|
|
4523
|
-
}>;
|
|
4524
|
-
};
|
|
4525
|
-
};
|
|
4526
|
-
};
|
|
4527
|
-
//# sourceMappingURL=consent-queue.contract.d.ts.map
|