@dakkitor/api-contracts 1.7.1 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/abilities.contract.spec.js +39 -19
- package/dist/abilities/interconnection.abilities.json +6 -0
- package/dist/abilities/outreach.abilities.json +0 -7
- package/dist/abilities/second-agent.abilities.json +2 -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 +2562 -2515
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +908 -908
- package/dist/auth/auth.contract.d.ts +50 -44
- 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 +4918 -4824
- 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 +434 -434
- package/dist/calls-feed/calls-feed.contract.d.ts +70 -70
- 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 +1412 -1412
- package/dist/collaborations/collaborations.contract.d.ts +1278 -1278
- 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 +19 -6
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +1 -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 +1255 -1188
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/candidate-coordination.contract.js +22 -6
- package/dist/curated-worker-leads/candidate-coordination.contract.spec.js +11 -0
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +347 -304
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/contact-history.spec.js +1 -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 +6058 -5381
- 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 +88 -88
- package/dist/curated-workers/curated-workers.contract.d.ts +1173 -962
- 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 +43 -73
- 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/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 +426 -426
- package/dist/files/files.contract.d.ts +36 -36
- package/dist/index.d.ts +17 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -9
- package/dist/job-clusters/job-clusters.contract.d.ts +52 -52
- package/dist/jobs/jobs.contract.d.ts +3610 -3610
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +56 -56
- package/dist/lead-assignments/lead-assignments.contract.d.ts +706 -706
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +220 -220
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +10 -10
- package/dist/leads/leads.contract.d.ts +86 -86
- package/dist/locations/locations.contract.d.ts +46 -46
- package/dist/notifications/notifications.contract.d.ts +18 -18
- package/dist/offices/offices.contract.d.ts +24 -24
- package/dist/outreach/__tests__/outreach-contract-additions.spec.js +27 -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 +12 -12
- package/dist/outreach/outreach.schemas.d.ts +2 -2
- package/dist/outreach/relay-hub-outreach.contract.d.ts +1156 -0
- package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -0
- package/dist/outreach/relay-hub-outreach.contract.js +103 -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 +119 -0
- package/dist/own-research/own-research.contract.d.ts +708 -708
- 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 +226 -226
- package/dist/users/__tests__/assignable-roles.spec.js +1 -1
- package/dist/users/users.contract.d.ts +327 -325
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +10 -7
- package/dist/users/users.contract.spec.js +15 -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 +35 -35
- 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 +1969 -1775
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +5 -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
|
@@ -33,40 +33,40 @@ export declare const FilterExportJobSchema: z.ZodObject<{
|
|
|
33
33
|
field: z.ZodEnum<["requestedAt", "completedAt", "status", "entity"]>;
|
|
34
34
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
field: "
|
|
36
|
+
field: "entity" | "status" | "requestedAt" | "completedAt";
|
|
37
37
|
order: "ASC" | "DESC";
|
|
38
38
|
}, {
|
|
39
|
-
field: "
|
|
39
|
+
field: "entity" | "status" | "requestedAt" | "completedAt";
|
|
40
40
|
order: "ASC" | "DESC";
|
|
41
41
|
}>, "many">>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
limit: number;
|
|
44
43
|
page: number;
|
|
45
|
-
|
|
46
|
-
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
47
|
-
order: "ASC" | "DESC";
|
|
48
|
-
}[] | null | undefined;
|
|
49
|
-
status?: "completed" | "cancelled" | "failed" | "pending" | "processing" | undefined;
|
|
44
|
+
limit: number;
|
|
50
45
|
entity?: "jobs" | "bookings" | "actives" | "call-history" | "users" | undefined;
|
|
46
|
+
status?: "completed" | "cancelled" | "failed" | "pending" | "processing" | undefined;
|
|
51
47
|
userId?: string | undefined;
|
|
52
48
|
requestedAt?: {
|
|
53
49
|
from?: string | null | undefined;
|
|
54
50
|
to?: string | null | undefined;
|
|
55
51
|
} | null | undefined;
|
|
56
|
-
}, {
|
|
57
52
|
sort?: {
|
|
58
|
-
field: "
|
|
53
|
+
field: "entity" | "status" | "requestedAt" | "completedAt";
|
|
59
54
|
order: "ASC" | "DESC";
|
|
60
55
|
}[] | null | undefined;
|
|
61
|
-
|
|
62
|
-
limit?: number | undefined;
|
|
63
|
-
page?: number | undefined;
|
|
56
|
+
}, {
|
|
64
57
|
entity?: "jobs" | "bookings" | "actives" | "call-history" | "users" | undefined;
|
|
58
|
+
status?: "completed" | "cancelled" | "failed" | "pending" | "processing" | undefined;
|
|
65
59
|
userId?: string | undefined;
|
|
66
60
|
requestedAt?: {
|
|
67
61
|
from?: string | null | undefined;
|
|
68
62
|
to?: string | null | undefined;
|
|
69
63
|
} | null | undefined;
|
|
64
|
+
sort?: {
|
|
65
|
+
field: "entity" | "status" | "requestedAt" | "completedAt";
|
|
66
|
+
order: "ASC" | "DESC";
|
|
67
|
+
}[] | null | undefined;
|
|
68
|
+
page?: number | undefined;
|
|
69
|
+
limit?: number | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
export type FilterExportJob = z.infer<typeof FilterExportJobSchema>;
|
|
72
72
|
export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity", [z.ZodObject<{
|
|
@@ -151,30 +151,30 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
151
151
|
field: z.ZodEnum<["date", "startDate", "workerName", "status", "hoursWorked", "payRate", "receivedRate", "secondAgent", "collaborationCompany", "collaborationClient", "collaborationAgent", "postcode", "firstAgent", "createdAt", "updatedAt"]>;
|
|
152
152
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
153
153
|
}, "strip", z.ZodTypeAny, {
|
|
154
|
-
field: "status" | "
|
|
154
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
155
155
|
order: "ASC" | "DESC";
|
|
156
156
|
}, {
|
|
157
|
-
field: "status" | "
|
|
157
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
158
158
|
order: "ASC" | "DESC";
|
|
159
159
|
}>, "many">>>;
|
|
160
160
|
}, "strip", z.ZodTypeAny, {
|
|
161
|
-
limit: number;
|
|
162
161
|
page: number;
|
|
162
|
+
limit: number;
|
|
163
|
+
status?: {
|
|
164
|
+
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
165
|
+
} | null | undefined;
|
|
163
166
|
sort?: {
|
|
164
|
-
field: "status" | "
|
|
167
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
165
168
|
order: "ASC" | "DESC";
|
|
166
169
|
}[] | null | undefined;
|
|
167
|
-
|
|
168
|
-
|
|
170
|
+
pay?: {
|
|
171
|
+
minRate?: number | null | undefined;
|
|
172
|
+
maxRate?: number | null | undefined;
|
|
169
173
|
} | null | undefined;
|
|
170
174
|
date?: {
|
|
171
175
|
from?: string | null | undefined;
|
|
172
176
|
to?: string | null | undefined;
|
|
173
177
|
} | null | undefined;
|
|
174
|
-
pay?: {
|
|
175
|
-
minRate?: number | null | undefined;
|
|
176
|
-
maxRate?: number | null | undefined;
|
|
177
|
-
} | null | undefined;
|
|
178
178
|
job?: {
|
|
179
179
|
userId?: string | null | undefined;
|
|
180
180
|
location?: {
|
|
@@ -191,23 +191,23 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
191
191
|
} | null | undefined;
|
|
192
192
|
agentId?: string | null | undefined;
|
|
193
193
|
}, {
|
|
194
|
-
sort?: {
|
|
195
|
-
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
196
|
-
order: "ASC" | "DESC";
|
|
197
|
-
}[] | null | undefined;
|
|
198
194
|
status?: {
|
|
199
195
|
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
200
196
|
} | null | undefined;
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
} | null | undefined;
|
|
205
|
-
limit?: number | undefined;
|
|
197
|
+
sort?: {
|
|
198
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
199
|
+
order: "ASC" | "DESC";
|
|
200
|
+
}[] | null | undefined;
|
|
206
201
|
page?: number | undefined;
|
|
202
|
+
limit?: number | undefined;
|
|
207
203
|
pay?: {
|
|
208
204
|
minRate?: number | null | undefined;
|
|
209
205
|
maxRate?: number | null | undefined;
|
|
210
206
|
} | null | undefined;
|
|
207
|
+
date?: {
|
|
208
|
+
from?: string | null | undefined;
|
|
209
|
+
to?: string | null | undefined;
|
|
210
|
+
} | null | undefined;
|
|
211
211
|
job?: {
|
|
212
212
|
userId?: string | null | undefined;
|
|
213
213
|
location?: {
|
|
@@ -236,28 +236,29 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
236
236
|
}>, "many">>;
|
|
237
237
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
238
238
|
}, "strip", z.ZodTypeAny, {
|
|
239
|
+
entity: "actives";
|
|
239
240
|
sort: {
|
|
240
241
|
field: string;
|
|
241
242
|
dir: "ASC" | "DESC";
|
|
242
243
|
}[];
|
|
243
244
|
filter: {
|
|
244
|
-
limit: number;
|
|
245
245
|
page: number;
|
|
246
|
+
limit: number;
|
|
247
|
+
status?: {
|
|
248
|
+
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
249
|
+
} | null | undefined;
|
|
246
250
|
sort?: {
|
|
247
|
-
field: "status" | "
|
|
251
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
248
252
|
order: "ASC" | "DESC";
|
|
249
253
|
}[] | null | undefined;
|
|
250
|
-
|
|
251
|
-
|
|
254
|
+
pay?: {
|
|
255
|
+
minRate?: number | null | undefined;
|
|
256
|
+
maxRate?: number | null | undefined;
|
|
252
257
|
} | null | undefined;
|
|
253
258
|
date?: {
|
|
254
259
|
from?: string | null | undefined;
|
|
255
260
|
to?: string | null | undefined;
|
|
256
261
|
} | null | undefined;
|
|
257
|
-
pay?: {
|
|
258
|
-
minRate?: number | null | undefined;
|
|
259
|
-
maxRate?: number | null | undefined;
|
|
260
|
-
} | null | undefined;
|
|
261
262
|
job?: {
|
|
262
263
|
userId?: string | null | undefined;
|
|
263
264
|
location?: {
|
|
@@ -274,27 +275,27 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
274
275
|
} | null | undefined;
|
|
275
276
|
agentId?: string | null | undefined;
|
|
276
277
|
};
|
|
277
|
-
entity: "actives";
|
|
278
278
|
columns: string[];
|
|
279
279
|
}, {
|
|
280
|
+
entity: "actives";
|
|
280
281
|
filter: {
|
|
281
|
-
sort?: {
|
|
282
|
-
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
283
|
-
order: "ASC" | "DESC";
|
|
284
|
-
}[] | null | undefined;
|
|
285
282
|
status?: {
|
|
286
283
|
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
287
284
|
} | null | undefined;
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
} | null | undefined;
|
|
292
|
-
limit?: number | undefined;
|
|
285
|
+
sort?: {
|
|
286
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
287
|
+
order: "ASC" | "DESC";
|
|
288
|
+
}[] | null | undefined;
|
|
293
289
|
page?: number | undefined;
|
|
290
|
+
limit?: number | undefined;
|
|
294
291
|
pay?: {
|
|
295
292
|
minRate?: number | null | undefined;
|
|
296
293
|
maxRate?: number | null | undefined;
|
|
297
294
|
} | null | undefined;
|
|
295
|
+
date?: {
|
|
296
|
+
from?: string | null | undefined;
|
|
297
|
+
to?: string | null | undefined;
|
|
298
|
+
} | null | undefined;
|
|
298
299
|
job?: {
|
|
299
300
|
userId?: string | null | undefined;
|
|
300
301
|
location?: {
|
|
@@ -311,7 +312,6 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
311
312
|
} | null | undefined;
|
|
312
313
|
agentId?: string | null | undefined;
|
|
313
314
|
};
|
|
314
|
-
entity: "actives";
|
|
315
315
|
columns: string[];
|
|
316
316
|
sort?: {
|
|
317
317
|
field: string;
|
|
@@ -458,19 +458,15 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
458
458
|
field: z.ZodEnum<["status", "startDate", "endDate", "workerName", "payRate", "secondAgent", "collaborationCompany", "collaborationClient", "collaborationAgent", "createdAt", "updatedAt"]>;
|
|
459
459
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
460
460
|
}, "strip", z.ZodTypeAny, {
|
|
461
|
-
field: "status" | "
|
|
461
|
+
field: "status" | "updatedAt" | "createdAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
462
462
|
order: "ASC" | "DESC";
|
|
463
463
|
}, {
|
|
464
|
-
field: "status" | "
|
|
464
|
+
field: "status" | "updatedAt" | "createdAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
465
465
|
order: "ASC" | "DESC";
|
|
466
466
|
}>, "many">>>;
|
|
467
467
|
}, "strip", z.ZodTypeAny, {
|
|
468
|
-
limit: number;
|
|
469
468
|
page: number;
|
|
470
|
-
|
|
471
|
-
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
472
|
-
order: "ASC" | "DESC";
|
|
473
|
-
}[] | null | undefined;
|
|
469
|
+
limit: number;
|
|
474
470
|
status?: {
|
|
475
471
|
category: "ATTEMPT";
|
|
476
472
|
type?: "CONFIRMED" | "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" | undefined;
|
|
@@ -487,11 +483,15 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
487
483
|
category: "CANCELLED";
|
|
488
484
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
489
485
|
} | null | undefined;
|
|
490
|
-
|
|
486
|
+
sort?: {
|
|
487
|
+
field: "status" | "updatedAt" | "createdAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
488
|
+
order: "ASC" | "DESC";
|
|
489
|
+
}[] | null | undefined;
|
|
490
|
+
updatedAt?: {
|
|
491
491
|
from?: string | null | undefined;
|
|
492
492
|
to?: string | null | undefined;
|
|
493
493
|
} | null | undefined;
|
|
494
|
-
|
|
494
|
+
createdAt?: {
|
|
495
495
|
from?: string | null | undefined;
|
|
496
496
|
to?: string | null | undefined;
|
|
497
497
|
} | null | undefined;
|
|
@@ -519,10 +519,6 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
519
519
|
} | null | undefined;
|
|
520
520
|
agentId?: string | null | undefined;
|
|
521
521
|
}, {
|
|
522
|
-
sort?: {
|
|
523
|
-
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
524
|
-
order: "ASC" | "DESC";
|
|
525
|
-
}[] | null | undefined;
|
|
526
522
|
status?: {
|
|
527
523
|
category: "ATTEMPT";
|
|
528
524
|
type?: "CONFIRMED" | "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" | undefined;
|
|
@@ -539,13 +535,17 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
539
535
|
category: "CANCELLED";
|
|
540
536
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
541
537
|
} | null | undefined;
|
|
542
|
-
|
|
538
|
+
sort?: {
|
|
539
|
+
field: "status" | "updatedAt" | "createdAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
540
|
+
order: "ASC" | "DESC";
|
|
541
|
+
}[] | null | undefined;
|
|
543
542
|
page?: number | undefined;
|
|
544
|
-
|
|
543
|
+
limit?: number | undefined;
|
|
544
|
+
updatedAt?: {
|
|
545
545
|
from?: string | null | undefined;
|
|
546
546
|
to?: string | null | undefined;
|
|
547
547
|
} | null | undefined;
|
|
548
|
-
|
|
548
|
+
createdAt?: {
|
|
549
549
|
from?: string | null | undefined;
|
|
550
550
|
to?: string | null | undefined;
|
|
551
551
|
} | null | undefined;
|
|
@@ -585,17 +585,14 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
585
585
|
}>, "many">>;
|
|
586
586
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
587
587
|
}, "strip", z.ZodTypeAny, {
|
|
588
|
+
entity: "bookings";
|
|
588
589
|
sort: {
|
|
589
590
|
field: string;
|
|
590
591
|
dir: "ASC" | "DESC";
|
|
591
592
|
}[];
|
|
592
593
|
filter: {
|
|
593
|
-
limit: number;
|
|
594
594
|
page: number;
|
|
595
|
-
|
|
596
|
-
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
597
|
-
order: "ASC" | "DESC";
|
|
598
|
-
}[] | null | undefined;
|
|
595
|
+
limit: number;
|
|
599
596
|
status?: {
|
|
600
597
|
category: "ATTEMPT";
|
|
601
598
|
type?: "CONFIRMED" | "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" | undefined;
|
|
@@ -612,11 +609,15 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
612
609
|
category: "CANCELLED";
|
|
613
610
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
614
611
|
} | null | undefined;
|
|
615
|
-
|
|
612
|
+
sort?: {
|
|
613
|
+
field: "status" | "updatedAt" | "createdAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
614
|
+
order: "ASC" | "DESC";
|
|
615
|
+
}[] | null | undefined;
|
|
616
|
+
updatedAt?: {
|
|
616
617
|
from?: string | null | undefined;
|
|
617
618
|
to?: string | null | undefined;
|
|
618
619
|
} | null | undefined;
|
|
619
|
-
|
|
620
|
+
createdAt?: {
|
|
620
621
|
from?: string | null | undefined;
|
|
621
622
|
to?: string | null | undefined;
|
|
622
623
|
} | null | undefined;
|
|
@@ -644,14 +645,10 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
644
645
|
} | null | undefined;
|
|
645
646
|
agentId?: string | null | undefined;
|
|
646
647
|
};
|
|
647
|
-
entity: "bookings";
|
|
648
648
|
columns: string[];
|
|
649
649
|
}, {
|
|
650
|
+
entity: "bookings";
|
|
650
651
|
filter: {
|
|
651
|
-
sort?: {
|
|
652
|
-
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
653
|
-
order: "ASC" | "DESC";
|
|
654
|
-
}[] | null | undefined;
|
|
655
652
|
status?: {
|
|
656
653
|
category: "ATTEMPT";
|
|
657
654
|
type?: "CONFIRMED" | "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" | undefined;
|
|
@@ -668,13 +665,17 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
668
665
|
category: "CANCELLED";
|
|
669
666
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
670
667
|
} | null | undefined;
|
|
671
|
-
|
|
668
|
+
sort?: {
|
|
669
|
+
field: "status" | "updatedAt" | "createdAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
670
|
+
order: "ASC" | "DESC";
|
|
671
|
+
}[] | null | undefined;
|
|
672
672
|
page?: number | undefined;
|
|
673
|
-
|
|
673
|
+
limit?: number | undefined;
|
|
674
|
+
updatedAt?: {
|
|
674
675
|
from?: string | null | undefined;
|
|
675
676
|
to?: string | null | undefined;
|
|
676
677
|
} | null | undefined;
|
|
677
|
-
|
|
678
|
+
createdAt?: {
|
|
678
679
|
from?: string | null | undefined;
|
|
679
680
|
to?: string | null | undefined;
|
|
680
681
|
} | null | undefined;
|
|
@@ -702,7 +703,6 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
702
703
|
} | null | undefined;
|
|
703
704
|
agentId?: string | null | undefined;
|
|
704
705
|
};
|
|
705
|
-
entity: "bookings";
|
|
706
706
|
columns: string[];
|
|
707
707
|
sort?: {
|
|
708
708
|
field: string;
|
|
@@ -751,13 +751,12 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
751
751
|
order: "ASC" | "DESC";
|
|
752
752
|
}>, "many">>>;
|
|
753
753
|
}, "strip", z.ZodTypeAny, {
|
|
754
|
-
limit: number;
|
|
755
754
|
page: number;
|
|
755
|
+
limit: number;
|
|
756
756
|
sort?: {
|
|
757
757
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
758
758
|
order: "ASC" | "DESC";
|
|
759
759
|
}[] | null | undefined;
|
|
760
|
-
phoneNumber?: string | undefined;
|
|
761
760
|
createdAt?: {
|
|
762
761
|
from?: string | null | undefined;
|
|
763
762
|
to?: string | null | undefined;
|
|
@@ -771,14 +770,14 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
771
770
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
772
771
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
773
772
|
leadName?: string | undefined;
|
|
773
|
+
phoneNumber?: string | undefined;
|
|
774
774
|
}, {
|
|
775
775
|
sort?: {
|
|
776
776
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
777
777
|
order: "ASC" | "DESC";
|
|
778
778
|
}[] | null | undefined;
|
|
779
|
-
phoneNumber?: string | undefined;
|
|
780
|
-
limit?: number | undefined;
|
|
781
779
|
page?: number | undefined;
|
|
780
|
+
limit?: number | undefined;
|
|
782
781
|
createdAt?: {
|
|
783
782
|
from?: string | null | undefined;
|
|
784
783
|
to?: string | null | undefined;
|
|
@@ -792,6 +791,7 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
792
791
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
793
792
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
794
793
|
leadName?: string | undefined;
|
|
794
|
+
phoneNumber?: string | undefined;
|
|
795
795
|
}>;
|
|
796
796
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
797
797
|
field: z.ZodString;
|
|
@@ -805,18 +805,18 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
805
805
|
}>, "many">>;
|
|
806
806
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
807
807
|
}, "strip", z.ZodTypeAny, {
|
|
808
|
+
entity: "call-history";
|
|
808
809
|
sort: {
|
|
809
810
|
field: string;
|
|
810
811
|
dir: "ASC" | "DESC";
|
|
811
812
|
}[];
|
|
812
813
|
filter: {
|
|
813
|
-
limit: number;
|
|
814
814
|
page: number;
|
|
815
|
+
limit: number;
|
|
815
816
|
sort?: {
|
|
816
817
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
817
818
|
order: "ASC" | "DESC";
|
|
818
819
|
}[] | null | undefined;
|
|
819
|
-
phoneNumber?: string | undefined;
|
|
820
820
|
createdAt?: {
|
|
821
821
|
from?: string | null | undefined;
|
|
822
822
|
to?: string | null | undefined;
|
|
@@ -830,18 +830,18 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
830
830
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
831
831
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
832
832
|
leadName?: string | undefined;
|
|
833
|
+
phoneNumber?: string | undefined;
|
|
833
834
|
};
|
|
834
|
-
entity: "call-history";
|
|
835
835
|
columns: string[];
|
|
836
836
|
}, {
|
|
837
|
+
entity: "call-history";
|
|
837
838
|
filter: {
|
|
838
839
|
sort?: {
|
|
839
840
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
840
841
|
order: "ASC" | "DESC";
|
|
841
842
|
}[] | null | undefined;
|
|
842
|
-
phoneNumber?: string | undefined;
|
|
843
|
-
limit?: number | undefined;
|
|
844
843
|
page?: number | undefined;
|
|
844
|
+
limit?: number | undefined;
|
|
845
845
|
createdAt?: {
|
|
846
846
|
from?: string | null | undefined;
|
|
847
847
|
to?: string | null | undefined;
|
|
@@ -855,8 +855,8 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
855
855
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
856
856
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
857
857
|
leadName?: string | undefined;
|
|
858
|
+
phoneNumber?: string | undefined;
|
|
858
859
|
};
|
|
859
|
-
entity: "call-history";
|
|
860
860
|
columns: string[];
|
|
861
861
|
sort?: {
|
|
862
862
|
field: string;
|
|
@@ -930,30 +930,30 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
930
930
|
field: z.ZodEnum<["description", "numberOfPositions", "status", "tradeId", "collaborationCompany", "collaborationClient", "collaborationAgent", "distance", "postcode", "payRate", "receivedRate", "workHours", "qualificationsCount", "creationSource", "createdAt", "updatedAt", "startDate"]>;
|
|
931
931
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
932
932
|
}, "strip", z.ZodTypeAny, {
|
|
933
|
-
field: "status" | "
|
|
933
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
934
934
|
order: "ASC" | "DESC";
|
|
935
935
|
}, {
|
|
936
|
-
field: "status" | "
|
|
936
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
937
937
|
order: "ASC" | "DESC";
|
|
938
938
|
}>, "many">>>;
|
|
939
939
|
}, "strip", z.ZodTypeAny, {
|
|
940
|
-
limit: number;
|
|
941
940
|
page: number;
|
|
941
|
+
limit: number;
|
|
942
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
943
|
+
userId?: string | null | undefined;
|
|
942
944
|
sort?: {
|
|
943
|
-
field: "status" | "
|
|
945
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
944
946
|
order: "ASC" | "DESC";
|
|
945
947
|
}[] | null | undefined;
|
|
946
|
-
|
|
947
|
-
description?: string | null | undefined;
|
|
948
|
-
createdAt?: {
|
|
948
|
+
updatedAt?: {
|
|
949
949
|
from?: string | null | undefined;
|
|
950
950
|
to?: string | null | undefined;
|
|
951
951
|
} | null | undefined;
|
|
952
|
-
|
|
952
|
+
createdAt?: {
|
|
953
953
|
from?: string | null | undefined;
|
|
954
954
|
to?: string | null | undefined;
|
|
955
955
|
} | null | undefined;
|
|
956
|
-
|
|
956
|
+
description?: string | null | undefined;
|
|
957
957
|
location?: {
|
|
958
958
|
postcode?: string | null | undefined;
|
|
959
959
|
radius?: number | null | undefined;
|
|
@@ -972,23 +972,23 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
972
972
|
companyId?: string | null | undefined;
|
|
973
973
|
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
974
974
|
}, {
|
|
975
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
976
|
+
userId?: string | null | undefined;
|
|
975
977
|
sort?: {
|
|
976
|
-
field: "status" | "
|
|
978
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
977
979
|
order: "ASC" | "DESC";
|
|
978
980
|
}[] | null | undefined;
|
|
979
|
-
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
980
|
-
description?: string | null | undefined;
|
|
981
|
-
limit?: number | undefined;
|
|
982
981
|
page?: number | undefined;
|
|
983
|
-
|
|
982
|
+
limit?: number | undefined;
|
|
983
|
+
updatedAt?: {
|
|
984
984
|
from?: string | null | undefined;
|
|
985
985
|
to?: string | null | undefined;
|
|
986
986
|
} | null | undefined;
|
|
987
|
-
|
|
987
|
+
createdAt?: {
|
|
988
988
|
from?: string | null | undefined;
|
|
989
989
|
to?: string | null | undefined;
|
|
990
990
|
} | null | undefined;
|
|
991
|
-
|
|
991
|
+
description?: string | null | undefined;
|
|
992
992
|
location?: {
|
|
993
993
|
postcode?: string | null | undefined;
|
|
994
994
|
radius?: number | null | undefined;
|
|
@@ -1019,28 +1019,29 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1019
1019
|
}>, "many">>;
|
|
1020
1020
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
1021
1021
|
}, "strip", z.ZodTypeAny, {
|
|
1022
|
+
entity: "jobs";
|
|
1022
1023
|
sort: {
|
|
1023
1024
|
field: string;
|
|
1024
1025
|
dir: "ASC" | "DESC";
|
|
1025
1026
|
}[];
|
|
1026
1027
|
filter: {
|
|
1027
|
-
limit: number;
|
|
1028
1028
|
page: number;
|
|
1029
|
+
limit: number;
|
|
1030
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1031
|
+
userId?: string | null | undefined;
|
|
1029
1032
|
sort?: {
|
|
1030
|
-
field: "status" | "
|
|
1033
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
1031
1034
|
order: "ASC" | "DESC";
|
|
1032
1035
|
}[] | null | undefined;
|
|
1033
|
-
|
|
1034
|
-
description?: string | null | undefined;
|
|
1035
|
-
createdAt?: {
|
|
1036
|
+
updatedAt?: {
|
|
1036
1037
|
from?: string | null | undefined;
|
|
1037
1038
|
to?: string | null | undefined;
|
|
1038
1039
|
} | null | undefined;
|
|
1039
|
-
|
|
1040
|
+
createdAt?: {
|
|
1040
1041
|
from?: string | null | undefined;
|
|
1041
1042
|
to?: string | null | undefined;
|
|
1042
1043
|
} | null | undefined;
|
|
1043
|
-
|
|
1044
|
+
description?: string | null | undefined;
|
|
1044
1045
|
location?: {
|
|
1045
1046
|
postcode?: string | null | undefined;
|
|
1046
1047
|
radius?: number | null | undefined;
|
|
@@ -1059,27 +1060,27 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1059
1060
|
companyId?: string | null | undefined;
|
|
1060
1061
|
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
1061
1062
|
};
|
|
1062
|
-
entity: "jobs";
|
|
1063
1063
|
columns: string[];
|
|
1064
1064
|
}, {
|
|
1065
|
+
entity: "jobs";
|
|
1065
1066
|
filter: {
|
|
1067
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1068
|
+
userId?: string | null | undefined;
|
|
1066
1069
|
sort?: {
|
|
1067
|
-
field: "status" | "
|
|
1070
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
1068
1071
|
order: "ASC" | "DESC";
|
|
1069
1072
|
}[] | null | undefined;
|
|
1070
|
-
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1071
|
-
description?: string | null | undefined;
|
|
1072
|
-
limit?: number | undefined;
|
|
1073
1073
|
page?: number | undefined;
|
|
1074
|
-
|
|
1074
|
+
limit?: number | undefined;
|
|
1075
|
+
updatedAt?: {
|
|
1075
1076
|
from?: string | null | undefined;
|
|
1076
1077
|
to?: string | null | undefined;
|
|
1077
1078
|
} | null | undefined;
|
|
1078
|
-
|
|
1079
|
+
createdAt?: {
|
|
1079
1080
|
from?: string | null | undefined;
|
|
1080
1081
|
to?: string | null | undefined;
|
|
1081
1082
|
} | null | undefined;
|
|
1082
|
-
|
|
1083
|
+
description?: string | null | undefined;
|
|
1083
1084
|
location?: {
|
|
1084
1085
|
postcode?: string | null | undefined;
|
|
1085
1086
|
radius?: number | null | undefined;
|
|
@@ -1098,7 +1099,6 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1098
1099
|
companyId?: string | null | undefined;
|
|
1099
1100
|
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
1100
1101
|
};
|
|
1101
|
-
entity: "jobs";
|
|
1102
1102
|
columns: string[];
|
|
1103
1103
|
sort?: {
|
|
1104
1104
|
field: string;
|
|
@@ -1149,60 +1149,60 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1149
1149
|
field: z.ZodEnum<["lastName", "firstName", "email", "createdAt", "office"]>;
|
|
1150
1150
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
1151
1151
|
}, "strip", z.ZodTypeAny, {
|
|
1152
|
-
field: "
|
|
1152
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
1153
1153
|
order: "ASC" | "DESC";
|
|
1154
1154
|
}, {
|
|
1155
|
-
field: "
|
|
1155
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
1156
1156
|
order: "ASC" | "DESC";
|
|
1157
1157
|
}>, "many">>>;
|
|
1158
1158
|
}, "strip", z.ZodTypeAny, {
|
|
1159
|
-
limit: number;
|
|
1160
1159
|
page: number;
|
|
1160
|
+
limit: number;
|
|
1161
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1161
1162
|
sort?: {
|
|
1162
|
-
field: "
|
|
1163
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
1163
1164
|
order: "ASC" | "DESC";
|
|
1164
1165
|
}[] | null | undefined;
|
|
1165
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1166
1166
|
name?: string | undefined;
|
|
1167
|
-
|
|
1167
|
+
updatedAt?: {
|
|
1168
|
+
from?: string | null | undefined;
|
|
1169
|
+
to?: string | null | undefined;
|
|
1170
|
+
} | null | undefined;
|
|
1168
1171
|
createdAt?: {
|
|
1169
1172
|
from?: string | null | undefined;
|
|
1170
1173
|
to?: string | null | undefined;
|
|
1171
1174
|
} | null | undefined;
|
|
1175
|
+
phone?: string | undefined;
|
|
1176
|
+
email?: string | undefined;
|
|
1172
1177
|
roles?: {
|
|
1173
1178
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1174
1179
|
requireAll?: boolean | undefined;
|
|
1175
1180
|
} | undefined;
|
|
1176
1181
|
officeId?: string | undefined;
|
|
1177
|
-
updatedAt?: {
|
|
1178
|
-
from?: string | null | undefined;
|
|
1179
|
-
to?: string | null | undefined;
|
|
1180
|
-
} | null | undefined;
|
|
1181
|
-
phone?: string | undefined;
|
|
1182
1182
|
}, {
|
|
1183
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1183
1184
|
sort?: {
|
|
1184
|
-
field: "
|
|
1185
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
1185
1186
|
order: "ASC" | "DESC";
|
|
1186
1187
|
}[] | null | undefined;
|
|
1187
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1188
|
-
name?: string | undefined;
|
|
1189
|
-
limit?: number | undefined;
|
|
1190
1188
|
page?: number | undefined;
|
|
1191
|
-
|
|
1189
|
+
limit?: number | undefined;
|
|
1190
|
+
name?: string | undefined;
|
|
1191
|
+
updatedAt?: {
|
|
1192
|
+
from?: string | null | undefined;
|
|
1193
|
+
to?: string | null | undefined;
|
|
1194
|
+
} | null | undefined;
|
|
1192
1195
|
createdAt?: {
|
|
1193
1196
|
from?: string | null | undefined;
|
|
1194
1197
|
to?: string | null | undefined;
|
|
1195
1198
|
} | null | undefined;
|
|
1199
|
+
phone?: string | undefined;
|
|
1200
|
+
email?: string | undefined;
|
|
1196
1201
|
roles?: {
|
|
1197
1202
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1198
1203
|
requireAll?: unknown;
|
|
1199
1204
|
} | undefined;
|
|
1200
1205
|
officeId?: string | undefined;
|
|
1201
|
-
updatedAt?: {
|
|
1202
|
-
from?: string | null | undefined;
|
|
1203
|
-
to?: string | null | undefined;
|
|
1204
|
-
} | null | undefined;
|
|
1205
|
-
phone?: string | undefined;
|
|
1206
1206
|
}>;
|
|
1207
1207
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1208
1208
|
field: z.ZodString;
|
|
@@ -1216,64 +1216,64 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1216
1216
|
}>, "many">>;
|
|
1217
1217
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
1218
1218
|
}, "strip", z.ZodTypeAny, {
|
|
1219
|
+
entity: "users";
|
|
1219
1220
|
sort: {
|
|
1220
1221
|
field: string;
|
|
1221
1222
|
dir: "ASC" | "DESC";
|
|
1222
1223
|
}[];
|
|
1223
1224
|
filter: {
|
|
1224
|
-
limit: number;
|
|
1225
1225
|
page: number;
|
|
1226
|
+
limit: number;
|
|
1227
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1226
1228
|
sort?: {
|
|
1227
|
-
field: "
|
|
1229
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
1228
1230
|
order: "ASC" | "DESC";
|
|
1229
1231
|
}[] | null | undefined;
|
|
1230
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1231
1232
|
name?: string | undefined;
|
|
1232
|
-
|
|
1233
|
+
updatedAt?: {
|
|
1234
|
+
from?: string | null | undefined;
|
|
1235
|
+
to?: string | null | undefined;
|
|
1236
|
+
} | null | undefined;
|
|
1233
1237
|
createdAt?: {
|
|
1234
1238
|
from?: string | null | undefined;
|
|
1235
1239
|
to?: string | null | undefined;
|
|
1236
1240
|
} | null | undefined;
|
|
1241
|
+
phone?: string | undefined;
|
|
1242
|
+
email?: string | undefined;
|
|
1237
1243
|
roles?: {
|
|
1238
1244
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1239
1245
|
requireAll?: boolean | undefined;
|
|
1240
1246
|
} | undefined;
|
|
1241
1247
|
officeId?: string | undefined;
|
|
1242
|
-
updatedAt?: {
|
|
1243
|
-
from?: string | null | undefined;
|
|
1244
|
-
to?: string | null | undefined;
|
|
1245
|
-
} | null | undefined;
|
|
1246
|
-
phone?: string | undefined;
|
|
1247
1248
|
};
|
|
1248
|
-
entity: "users";
|
|
1249
1249
|
columns: string[];
|
|
1250
1250
|
}, {
|
|
1251
|
+
entity: "users";
|
|
1251
1252
|
filter: {
|
|
1253
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1252
1254
|
sort?: {
|
|
1253
|
-
field: "
|
|
1255
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
1254
1256
|
order: "ASC" | "DESC";
|
|
1255
1257
|
}[] | null | undefined;
|
|
1256
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1257
|
-
name?: string | undefined;
|
|
1258
|
-
limit?: number | undefined;
|
|
1259
1258
|
page?: number | undefined;
|
|
1260
|
-
|
|
1259
|
+
limit?: number | undefined;
|
|
1260
|
+
name?: string | undefined;
|
|
1261
|
+
updatedAt?: {
|
|
1262
|
+
from?: string | null | undefined;
|
|
1263
|
+
to?: string | null | undefined;
|
|
1264
|
+
} | null | undefined;
|
|
1261
1265
|
createdAt?: {
|
|
1262
1266
|
from?: string | null | undefined;
|
|
1263
1267
|
to?: string | null | undefined;
|
|
1264
1268
|
} | null | undefined;
|
|
1269
|
+
phone?: string | undefined;
|
|
1270
|
+
email?: string | undefined;
|
|
1265
1271
|
roles?: {
|
|
1266
1272
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1267
1273
|
requireAll?: unknown;
|
|
1268
1274
|
} | undefined;
|
|
1269
1275
|
officeId?: string | undefined;
|
|
1270
|
-
updatedAt?: {
|
|
1271
|
-
from?: string | null | undefined;
|
|
1272
|
-
to?: string | null | undefined;
|
|
1273
|
-
} | null | undefined;
|
|
1274
|
-
phone?: string | undefined;
|
|
1275
1276
|
};
|
|
1276
|
-
entity: "users";
|
|
1277
1277
|
columns: string[];
|
|
1278
1278
|
sort?: {
|
|
1279
1279
|
field: string;
|
|
@@ -1306,8 +1306,8 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1306
1306
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1307
1307
|
}, "strip", z.ZodTypeAny, {
|
|
1308
1308
|
id: string;
|
|
1309
|
-
firstName: string;
|
|
1310
1309
|
lastName: string;
|
|
1310
|
+
firstName: string;
|
|
1311
1311
|
phoneNumbers: {
|
|
1312
1312
|
id: string;
|
|
1313
1313
|
phoneNumber: string;
|
|
@@ -1317,8 +1317,8 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1317
1317
|
deletedAt?: string | null | undefined;
|
|
1318
1318
|
}, {
|
|
1319
1319
|
id: string;
|
|
1320
|
-
firstName: string;
|
|
1321
1320
|
lastName: string;
|
|
1321
|
+
firstName: string;
|
|
1322
1322
|
phoneNumbers?: {
|
|
1323
1323
|
id: string;
|
|
1324
1324
|
phoneNumber: string;
|
|
@@ -1351,20 +1351,19 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1351
1351
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
1352
1352
|
expiresAt: z.ZodString;
|
|
1353
1353
|
}, "strip", z.ZodTypeAny, {
|
|
1354
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1355
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1356
|
+
userId: string;
|
|
1357
|
+
requestedAt: string;
|
|
1354
1358
|
sort: {
|
|
1355
1359
|
field: string;
|
|
1356
1360
|
dir: "ASC" | "DESC";
|
|
1357
1361
|
}[];
|
|
1358
|
-
filter: Record<string, unknown>;
|
|
1359
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1360
1362
|
id: string;
|
|
1361
|
-
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1362
|
-
userId: string;
|
|
1363
|
-
requestedAt: string;
|
|
1364
1363
|
user: {
|
|
1365
1364
|
id: string;
|
|
1366
|
-
firstName: string;
|
|
1367
1365
|
lastName: string;
|
|
1366
|
+
firstName: string;
|
|
1368
1367
|
phoneNumbers: {
|
|
1369
1368
|
id: string;
|
|
1370
1369
|
phoneNumber: string;
|
|
@@ -1373,6 +1372,7 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1373
1372
|
}[];
|
|
1374
1373
|
deletedAt?: string | null | undefined;
|
|
1375
1374
|
} | null;
|
|
1375
|
+
filter: Record<string, unknown>;
|
|
1376
1376
|
expiresAt: string;
|
|
1377
1377
|
totalRows: number | null;
|
|
1378
1378
|
errorMessage: string | null;
|
|
@@ -1383,16 +1383,15 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1383
1383
|
rowsSkipped: number;
|
|
1384
1384
|
byteSize: number | null;
|
|
1385
1385
|
}, {
|
|
1386
|
-
filter: Record<string, unknown>;
|
|
1387
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1388
|
-
id: string;
|
|
1389
1386
|
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1387
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1390
1388
|
userId: string;
|
|
1391
1389
|
requestedAt: string;
|
|
1390
|
+
id: string;
|
|
1392
1391
|
user: {
|
|
1393
1392
|
id: string;
|
|
1394
|
-
firstName: string;
|
|
1395
1393
|
lastName: string;
|
|
1394
|
+
firstName: string;
|
|
1396
1395
|
phoneNumbers?: {
|
|
1397
1396
|
id: string;
|
|
1398
1397
|
phoneNumber: string;
|
|
@@ -1401,6 +1400,7 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1401
1400
|
}[] | undefined;
|
|
1402
1401
|
deletedAt?: string | Date | null | undefined;
|
|
1403
1402
|
} | null;
|
|
1403
|
+
filter: Record<string, unknown>;
|
|
1404
1404
|
expiresAt: string;
|
|
1405
1405
|
totalRows: number | null;
|
|
1406
1406
|
errorMessage: string | null;
|
|
@@ -1442,8 +1442,8 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1442
1442
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1443
1443
|
}, "strip", z.ZodTypeAny, {
|
|
1444
1444
|
id: string;
|
|
1445
|
-
firstName: string;
|
|
1446
1445
|
lastName: string;
|
|
1446
|
+
firstName: string;
|
|
1447
1447
|
phoneNumbers: {
|
|
1448
1448
|
id: string;
|
|
1449
1449
|
phoneNumber: string;
|
|
@@ -1453,8 +1453,8 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1453
1453
|
deletedAt?: string | null | undefined;
|
|
1454
1454
|
}, {
|
|
1455
1455
|
id: string;
|
|
1456
|
-
firstName: string;
|
|
1457
1456
|
lastName: string;
|
|
1457
|
+
firstName: string;
|
|
1458
1458
|
phoneNumbers?: {
|
|
1459
1459
|
id: string;
|
|
1460
1460
|
phoneNumber: string;
|
|
@@ -1487,20 +1487,19 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1487
1487
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
1488
1488
|
expiresAt: z.ZodString;
|
|
1489
1489
|
}, "strip", z.ZodTypeAny, {
|
|
1490
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1491
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1492
|
+
userId: string;
|
|
1493
|
+
requestedAt: string;
|
|
1490
1494
|
sort: {
|
|
1491
1495
|
field: string;
|
|
1492
1496
|
dir: "ASC" | "DESC";
|
|
1493
1497
|
}[];
|
|
1494
|
-
filter: Record<string, unknown>;
|
|
1495
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1496
1498
|
id: string;
|
|
1497
|
-
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1498
|
-
userId: string;
|
|
1499
|
-
requestedAt: string;
|
|
1500
1499
|
user: {
|
|
1501
1500
|
id: string;
|
|
1502
|
-
firstName: string;
|
|
1503
1501
|
lastName: string;
|
|
1502
|
+
firstName: string;
|
|
1504
1503
|
phoneNumbers: {
|
|
1505
1504
|
id: string;
|
|
1506
1505
|
phoneNumber: string;
|
|
@@ -1509,6 +1508,7 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1509
1508
|
}[];
|
|
1510
1509
|
deletedAt?: string | null | undefined;
|
|
1511
1510
|
} | null;
|
|
1511
|
+
filter: Record<string, unknown>;
|
|
1512
1512
|
expiresAt: string;
|
|
1513
1513
|
totalRows: number | null;
|
|
1514
1514
|
errorMessage: string | null;
|
|
@@ -1519,16 +1519,15 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1519
1519
|
rowsSkipped: number;
|
|
1520
1520
|
byteSize: number | null;
|
|
1521
1521
|
}, {
|
|
1522
|
-
filter: Record<string, unknown>;
|
|
1523
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1524
|
-
id: string;
|
|
1525
1522
|
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1523
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1526
1524
|
userId: string;
|
|
1527
1525
|
requestedAt: string;
|
|
1526
|
+
id: string;
|
|
1528
1527
|
user: {
|
|
1529
1528
|
id: string;
|
|
1530
|
-
firstName: string;
|
|
1531
1529
|
lastName: string;
|
|
1530
|
+
firstName: string;
|
|
1532
1531
|
phoneNumbers?: {
|
|
1533
1532
|
id: string;
|
|
1534
1533
|
phoneNumber: string;
|
|
@@ -1537,6 +1536,7 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1537
1536
|
}[] | undefined;
|
|
1538
1537
|
deletedAt?: string | Date | null | undefined;
|
|
1539
1538
|
} | null;
|
|
1539
|
+
filter: Record<string, unknown>;
|
|
1540
1540
|
expiresAt: string;
|
|
1541
1541
|
totalRows: number | null;
|
|
1542
1542
|
errorMessage: string | null;
|
|
@@ -1559,20 +1559,19 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1559
1559
|
}, "strip", z.ZodTypeAny, {
|
|
1560
1560
|
limit: number;
|
|
1561
1561
|
items: {
|
|
1562
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1563
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1564
|
+
userId: string;
|
|
1565
|
+
requestedAt: string;
|
|
1562
1566
|
sort: {
|
|
1563
1567
|
field: string;
|
|
1564
1568
|
dir: "ASC" | "DESC";
|
|
1565
1569
|
}[];
|
|
1566
|
-
filter: Record<string, unknown>;
|
|
1567
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1568
1570
|
id: string;
|
|
1569
|
-
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1570
|
-
userId: string;
|
|
1571
|
-
requestedAt: string;
|
|
1572
1571
|
user: {
|
|
1573
1572
|
id: string;
|
|
1574
|
-
firstName: string;
|
|
1575
1573
|
lastName: string;
|
|
1574
|
+
firstName: string;
|
|
1576
1575
|
phoneNumbers: {
|
|
1577
1576
|
id: string;
|
|
1578
1577
|
phoneNumber: string;
|
|
@@ -1581,6 +1580,7 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1581
1580
|
}[];
|
|
1582
1581
|
deletedAt?: string | null | undefined;
|
|
1583
1582
|
} | null;
|
|
1583
|
+
filter: Record<string, unknown>;
|
|
1584
1584
|
expiresAt: string;
|
|
1585
1585
|
totalRows: number | null;
|
|
1586
1586
|
errorMessage: string | null;
|
|
@@ -1598,16 +1598,15 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1598
1598
|
}, {
|
|
1599
1599
|
limit: number;
|
|
1600
1600
|
items: {
|
|
1601
|
-
filter: Record<string, unknown>;
|
|
1602
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1603
|
-
id: string;
|
|
1604
1601
|
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1602
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1605
1603
|
userId: string;
|
|
1606
1604
|
requestedAt: string;
|
|
1605
|
+
id: string;
|
|
1607
1606
|
user: {
|
|
1608
1607
|
id: string;
|
|
1609
|
-
firstName: string;
|
|
1610
1608
|
lastName: string;
|
|
1609
|
+
firstName: string;
|
|
1611
1610
|
phoneNumbers?: {
|
|
1612
1611
|
id: string;
|
|
1613
1612
|
phoneNumber: string;
|
|
@@ -1616,6 +1615,7 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1616
1615
|
}[] | undefined;
|
|
1617
1616
|
deletedAt?: string | Date | null | undefined;
|
|
1618
1617
|
} | null;
|
|
1618
|
+
filter: Record<string, unknown>;
|
|
1619
1619
|
expiresAt: string;
|
|
1620
1620
|
totalRows: number | null;
|
|
1621
1621
|
errorMessage: string | null;
|
|
@@ -1724,30 +1724,30 @@ export declare const exportJobsContract: {
|
|
|
1724
1724
|
field: z.ZodEnum<["date", "startDate", "workerName", "status", "hoursWorked", "payRate", "receivedRate", "secondAgent", "collaborationCompany", "collaborationClient", "collaborationAgent", "postcode", "firstAgent", "createdAt", "updatedAt"]>;
|
|
1725
1725
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
1726
1726
|
}, "strip", z.ZodTypeAny, {
|
|
1727
|
-
field: "status" | "
|
|
1727
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1728
1728
|
order: "ASC" | "DESC";
|
|
1729
1729
|
}, {
|
|
1730
|
-
field: "status" | "
|
|
1730
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1731
1731
|
order: "ASC" | "DESC";
|
|
1732
1732
|
}>, "many">>>;
|
|
1733
1733
|
}, "strip", z.ZodTypeAny, {
|
|
1734
|
-
limit: number;
|
|
1735
1734
|
page: number;
|
|
1735
|
+
limit: number;
|
|
1736
|
+
status?: {
|
|
1737
|
+
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
1738
|
+
} | null | undefined;
|
|
1736
1739
|
sort?: {
|
|
1737
|
-
field: "status" | "
|
|
1740
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1738
1741
|
order: "ASC" | "DESC";
|
|
1739
1742
|
}[] | null | undefined;
|
|
1740
|
-
|
|
1741
|
-
|
|
1743
|
+
pay?: {
|
|
1744
|
+
minRate?: number | null | undefined;
|
|
1745
|
+
maxRate?: number | null | undefined;
|
|
1742
1746
|
} | null | undefined;
|
|
1743
1747
|
date?: {
|
|
1744
1748
|
from?: string | null | undefined;
|
|
1745
1749
|
to?: string | null | undefined;
|
|
1746
1750
|
} | null | undefined;
|
|
1747
|
-
pay?: {
|
|
1748
|
-
minRate?: number | null | undefined;
|
|
1749
|
-
maxRate?: number | null | undefined;
|
|
1750
|
-
} | null | undefined;
|
|
1751
1751
|
job?: {
|
|
1752
1752
|
userId?: string | null | undefined;
|
|
1753
1753
|
location?: {
|
|
@@ -1764,23 +1764,23 @@ export declare const exportJobsContract: {
|
|
|
1764
1764
|
} | null | undefined;
|
|
1765
1765
|
agentId?: string | null | undefined;
|
|
1766
1766
|
}, {
|
|
1767
|
-
sort?: {
|
|
1768
|
-
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1769
|
-
order: "ASC" | "DESC";
|
|
1770
|
-
}[] | null | undefined;
|
|
1771
1767
|
status?: {
|
|
1772
1768
|
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
1773
1769
|
} | null | undefined;
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
} | null | undefined;
|
|
1778
|
-
limit?: number | undefined;
|
|
1770
|
+
sort?: {
|
|
1771
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1772
|
+
order: "ASC" | "DESC";
|
|
1773
|
+
}[] | null | undefined;
|
|
1779
1774
|
page?: number | undefined;
|
|
1775
|
+
limit?: number | undefined;
|
|
1780
1776
|
pay?: {
|
|
1781
1777
|
minRate?: number | null | undefined;
|
|
1782
1778
|
maxRate?: number | null | undefined;
|
|
1783
1779
|
} | null | undefined;
|
|
1780
|
+
date?: {
|
|
1781
|
+
from?: string | null | undefined;
|
|
1782
|
+
to?: string | null | undefined;
|
|
1783
|
+
} | null | undefined;
|
|
1784
1784
|
job?: {
|
|
1785
1785
|
userId?: string | null | undefined;
|
|
1786
1786
|
location?: {
|
|
@@ -1809,28 +1809,29 @@ export declare const exportJobsContract: {
|
|
|
1809
1809
|
}>, "many">>;
|
|
1810
1810
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
1811
1811
|
}, "strip", z.ZodTypeAny, {
|
|
1812
|
+
entity: "actives";
|
|
1812
1813
|
sort: {
|
|
1813
1814
|
field: string;
|
|
1814
1815
|
dir: "ASC" | "DESC";
|
|
1815
1816
|
}[];
|
|
1816
1817
|
filter: {
|
|
1817
|
-
limit: number;
|
|
1818
1818
|
page: number;
|
|
1819
|
+
limit: number;
|
|
1820
|
+
status?: {
|
|
1821
|
+
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
1822
|
+
} | null | undefined;
|
|
1819
1823
|
sort?: {
|
|
1820
|
-
field: "status" | "
|
|
1824
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1821
1825
|
order: "ASC" | "DESC";
|
|
1822
1826
|
}[] | null | undefined;
|
|
1823
|
-
|
|
1824
|
-
|
|
1827
|
+
pay?: {
|
|
1828
|
+
minRate?: number | null | undefined;
|
|
1829
|
+
maxRate?: number | null | undefined;
|
|
1825
1830
|
} | null | undefined;
|
|
1826
1831
|
date?: {
|
|
1827
1832
|
from?: string | null | undefined;
|
|
1828
1833
|
to?: string | null | undefined;
|
|
1829
1834
|
} | null | undefined;
|
|
1830
|
-
pay?: {
|
|
1831
|
-
minRate?: number | null | undefined;
|
|
1832
|
-
maxRate?: number | null | undefined;
|
|
1833
|
-
} | null | undefined;
|
|
1834
1835
|
job?: {
|
|
1835
1836
|
userId?: string | null | undefined;
|
|
1836
1837
|
location?: {
|
|
@@ -1847,27 +1848,27 @@ export declare const exportJobsContract: {
|
|
|
1847
1848
|
} | null | undefined;
|
|
1848
1849
|
agentId?: string | null | undefined;
|
|
1849
1850
|
};
|
|
1850
|
-
entity: "actives";
|
|
1851
1851
|
columns: string[];
|
|
1852
1852
|
}, {
|
|
1853
|
+
entity: "actives";
|
|
1853
1854
|
filter: {
|
|
1854
|
-
sort?: {
|
|
1855
|
-
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1856
|
-
order: "ASC" | "DESC";
|
|
1857
|
-
}[] | null | undefined;
|
|
1858
1855
|
status?: {
|
|
1859
1856
|
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
1860
1857
|
} | null | undefined;
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
} | null | undefined;
|
|
1865
|
-
limit?: number | undefined;
|
|
1858
|
+
sort?: {
|
|
1859
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1860
|
+
order: "ASC" | "DESC";
|
|
1861
|
+
}[] | null | undefined;
|
|
1866
1862
|
page?: number | undefined;
|
|
1863
|
+
limit?: number | undefined;
|
|
1867
1864
|
pay?: {
|
|
1868
1865
|
minRate?: number | null | undefined;
|
|
1869
1866
|
maxRate?: number | null | undefined;
|
|
1870
1867
|
} | null | undefined;
|
|
1868
|
+
date?: {
|
|
1869
|
+
from?: string | null | undefined;
|
|
1870
|
+
to?: string | null | undefined;
|
|
1871
|
+
} | null | undefined;
|
|
1871
1872
|
job?: {
|
|
1872
1873
|
userId?: string | null | undefined;
|
|
1873
1874
|
location?: {
|
|
@@ -1884,7 +1885,6 @@ export declare const exportJobsContract: {
|
|
|
1884
1885
|
} | null | undefined;
|
|
1885
1886
|
agentId?: string | null | undefined;
|
|
1886
1887
|
};
|
|
1887
|
-
entity: "actives";
|
|
1888
1888
|
columns: string[];
|
|
1889
1889
|
sort?: {
|
|
1890
1890
|
field: string;
|
|
@@ -2031,19 +2031,15 @@ export declare const exportJobsContract: {
|
|
|
2031
2031
|
field: z.ZodEnum<["status", "startDate", "endDate", "workerName", "payRate", "secondAgent", "collaborationCompany", "collaborationClient", "collaborationAgent", "createdAt", "updatedAt"]>;
|
|
2032
2032
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
2033
2033
|
}, "strip", z.ZodTypeAny, {
|
|
2034
|
-
field: "status" | "
|
|
2034
|
+
field: "status" | "updatedAt" | "createdAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2035
2035
|
order: "ASC" | "DESC";
|
|
2036
2036
|
}, {
|
|
2037
|
-
field: "status" | "
|
|
2037
|
+
field: "status" | "updatedAt" | "createdAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2038
2038
|
order: "ASC" | "DESC";
|
|
2039
2039
|
}>, "many">>>;
|
|
2040
2040
|
}, "strip", z.ZodTypeAny, {
|
|
2041
|
-
limit: number;
|
|
2042
2041
|
page: number;
|
|
2043
|
-
|
|
2044
|
-
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2045
|
-
order: "ASC" | "DESC";
|
|
2046
|
-
}[] | null | undefined;
|
|
2042
|
+
limit: number;
|
|
2047
2043
|
status?: {
|
|
2048
2044
|
category: "ATTEMPT";
|
|
2049
2045
|
type?: "CONFIRMED" | "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" | undefined;
|
|
@@ -2060,11 +2056,15 @@ export declare const exportJobsContract: {
|
|
|
2060
2056
|
category: "CANCELLED";
|
|
2061
2057
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
2062
2058
|
} | null | undefined;
|
|
2063
|
-
|
|
2059
|
+
sort?: {
|
|
2060
|
+
field: "status" | "updatedAt" | "createdAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2061
|
+
order: "ASC" | "DESC";
|
|
2062
|
+
}[] | null | undefined;
|
|
2063
|
+
updatedAt?: {
|
|
2064
2064
|
from?: string | null | undefined;
|
|
2065
2065
|
to?: string | null | undefined;
|
|
2066
2066
|
} | null | undefined;
|
|
2067
|
-
|
|
2067
|
+
createdAt?: {
|
|
2068
2068
|
from?: string | null | undefined;
|
|
2069
2069
|
to?: string | null | undefined;
|
|
2070
2070
|
} | null | undefined;
|
|
@@ -2092,10 +2092,6 @@ export declare const exportJobsContract: {
|
|
|
2092
2092
|
} | null | undefined;
|
|
2093
2093
|
agentId?: string | null | undefined;
|
|
2094
2094
|
}, {
|
|
2095
|
-
sort?: {
|
|
2096
|
-
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2097
|
-
order: "ASC" | "DESC";
|
|
2098
|
-
}[] | null | undefined;
|
|
2099
2095
|
status?: {
|
|
2100
2096
|
category: "ATTEMPT";
|
|
2101
2097
|
type?: "CONFIRMED" | "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" | undefined;
|
|
@@ -2112,13 +2108,17 @@ export declare const exportJobsContract: {
|
|
|
2112
2108
|
category: "CANCELLED";
|
|
2113
2109
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
2114
2110
|
} | null | undefined;
|
|
2115
|
-
|
|
2111
|
+
sort?: {
|
|
2112
|
+
field: "status" | "updatedAt" | "createdAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2113
|
+
order: "ASC" | "DESC";
|
|
2114
|
+
}[] | null | undefined;
|
|
2116
2115
|
page?: number | undefined;
|
|
2117
|
-
|
|
2116
|
+
limit?: number | undefined;
|
|
2117
|
+
updatedAt?: {
|
|
2118
2118
|
from?: string | null | undefined;
|
|
2119
2119
|
to?: string | null | undefined;
|
|
2120
2120
|
} | null | undefined;
|
|
2121
|
-
|
|
2121
|
+
createdAt?: {
|
|
2122
2122
|
from?: string | null | undefined;
|
|
2123
2123
|
to?: string | null | undefined;
|
|
2124
2124
|
} | null | undefined;
|
|
@@ -2158,17 +2158,14 @@ export declare const exportJobsContract: {
|
|
|
2158
2158
|
}>, "many">>;
|
|
2159
2159
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
2160
2160
|
}, "strip", z.ZodTypeAny, {
|
|
2161
|
+
entity: "bookings";
|
|
2161
2162
|
sort: {
|
|
2162
2163
|
field: string;
|
|
2163
2164
|
dir: "ASC" | "DESC";
|
|
2164
2165
|
}[];
|
|
2165
2166
|
filter: {
|
|
2166
|
-
limit: number;
|
|
2167
2167
|
page: number;
|
|
2168
|
-
|
|
2169
|
-
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2170
|
-
order: "ASC" | "DESC";
|
|
2171
|
-
}[] | null | undefined;
|
|
2168
|
+
limit: number;
|
|
2172
2169
|
status?: {
|
|
2173
2170
|
category: "ATTEMPT";
|
|
2174
2171
|
type?: "CONFIRMED" | "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" | undefined;
|
|
@@ -2185,11 +2182,15 @@ export declare const exportJobsContract: {
|
|
|
2185
2182
|
category: "CANCELLED";
|
|
2186
2183
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
2187
2184
|
} | null | undefined;
|
|
2188
|
-
|
|
2185
|
+
sort?: {
|
|
2186
|
+
field: "status" | "updatedAt" | "createdAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2187
|
+
order: "ASC" | "DESC";
|
|
2188
|
+
}[] | null | undefined;
|
|
2189
|
+
updatedAt?: {
|
|
2189
2190
|
from?: string | null | undefined;
|
|
2190
2191
|
to?: string | null | undefined;
|
|
2191
2192
|
} | null | undefined;
|
|
2192
|
-
|
|
2193
|
+
createdAt?: {
|
|
2193
2194
|
from?: string | null | undefined;
|
|
2194
2195
|
to?: string | null | undefined;
|
|
2195
2196
|
} | null | undefined;
|
|
@@ -2217,14 +2218,10 @@ export declare const exportJobsContract: {
|
|
|
2217
2218
|
} | null | undefined;
|
|
2218
2219
|
agentId?: string | null | undefined;
|
|
2219
2220
|
};
|
|
2220
|
-
entity: "bookings";
|
|
2221
2221
|
columns: string[];
|
|
2222
2222
|
}, {
|
|
2223
|
+
entity: "bookings";
|
|
2223
2224
|
filter: {
|
|
2224
|
-
sort?: {
|
|
2225
|
-
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2226
|
-
order: "ASC" | "DESC";
|
|
2227
|
-
}[] | null | undefined;
|
|
2228
2225
|
status?: {
|
|
2229
2226
|
category: "ATTEMPT";
|
|
2230
2227
|
type?: "CONFIRMED" | "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" | undefined;
|
|
@@ -2241,13 +2238,17 @@ export declare const exportJobsContract: {
|
|
|
2241
2238
|
category: "CANCELLED";
|
|
2242
2239
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
2243
2240
|
} | null | undefined;
|
|
2244
|
-
|
|
2241
|
+
sort?: {
|
|
2242
|
+
field: "status" | "updatedAt" | "createdAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2243
|
+
order: "ASC" | "DESC";
|
|
2244
|
+
}[] | null | undefined;
|
|
2245
2245
|
page?: number | undefined;
|
|
2246
|
-
|
|
2246
|
+
limit?: number | undefined;
|
|
2247
|
+
updatedAt?: {
|
|
2247
2248
|
from?: string | null | undefined;
|
|
2248
2249
|
to?: string | null | undefined;
|
|
2249
2250
|
} | null | undefined;
|
|
2250
|
-
|
|
2251
|
+
createdAt?: {
|
|
2251
2252
|
from?: string | null | undefined;
|
|
2252
2253
|
to?: string | null | undefined;
|
|
2253
2254
|
} | null | undefined;
|
|
@@ -2275,7 +2276,6 @@ export declare const exportJobsContract: {
|
|
|
2275
2276
|
} | null | undefined;
|
|
2276
2277
|
agentId?: string | null | undefined;
|
|
2277
2278
|
};
|
|
2278
|
-
entity: "bookings";
|
|
2279
2279
|
columns: string[];
|
|
2280
2280
|
sort?: {
|
|
2281
2281
|
field: string;
|
|
@@ -2324,13 +2324,12 @@ export declare const exportJobsContract: {
|
|
|
2324
2324
|
order: "ASC" | "DESC";
|
|
2325
2325
|
}>, "many">>>;
|
|
2326
2326
|
}, "strip", z.ZodTypeAny, {
|
|
2327
|
-
limit: number;
|
|
2328
2327
|
page: number;
|
|
2328
|
+
limit: number;
|
|
2329
2329
|
sort?: {
|
|
2330
2330
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2331
2331
|
order: "ASC" | "DESC";
|
|
2332
2332
|
}[] | null | undefined;
|
|
2333
|
-
phoneNumber?: string | undefined;
|
|
2334
2333
|
createdAt?: {
|
|
2335
2334
|
from?: string | null | undefined;
|
|
2336
2335
|
to?: string | null | undefined;
|
|
@@ -2344,14 +2343,14 @@ export declare const exportJobsContract: {
|
|
|
2344
2343
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
2345
2344
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
2346
2345
|
leadName?: string | undefined;
|
|
2346
|
+
phoneNumber?: string | undefined;
|
|
2347
2347
|
}, {
|
|
2348
2348
|
sort?: {
|
|
2349
2349
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2350
2350
|
order: "ASC" | "DESC";
|
|
2351
2351
|
}[] | null | undefined;
|
|
2352
|
-
phoneNumber?: string | undefined;
|
|
2353
|
-
limit?: number | undefined;
|
|
2354
2352
|
page?: number | undefined;
|
|
2353
|
+
limit?: number | undefined;
|
|
2355
2354
|
createdAt?: {
|
|
2356
2355
|
from?: string | null | undefined;
|
|
2357
2356
|
to?: string | null | undefined;
|
|
@@ -2365,6 +2364,7 @@ export declare const exportJobsContract: {
|
|
|
2365
2364
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
2366
2365
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
2367
2366
|
leadName?: string | undefined;
|
|
2367
|
+
phoneNumber?: string | undefined;
|
|
2368
2368
|
}>;
|
|
2369
2369
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2370
2370
|
field: z.ZodString;
|
|
@@ -2378,18 +2378,18 @@ export declare const exportJobsContract: {
|
|
|
2378
2378
|
}>, "many">>;
|
|
2379
2379
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
2380
2380
|
}, "strip", z.ZodTypeAny, {
|
|
2381
|
+
entity: "call-history";
|
|
2381
2382
|
sort: {
|
|
2382
2383
|
field: string;
|
|
2383
2384
|
dir: "ASC" | "DESC";
|
|
2384
2385
|
}[];
|
|
2385
2386
|
filter: {
|
|
2386
|
-
limit: number;
|
|
2387
2387
|
page: number;
|
|
2388
|
+
limit: number;
|
|
2388
2389
|
sort?: {
|
|
2389
2390
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2390
2391
|
order: "ASC" | "DESC";
|
|
2391
2392
|
}[] | null | undefined;
|
|
2392
|
-
phoneNumber?: string | undefined;
|
|
2393
2393
|
createdAt?: {
|
|
2394
2394
|
from?: string | null | undefined;
|
|
2395
2395
|
to?: string | null | undefined;
|
|
@@ -2403,18 +2403,18 @@ export declare const exportJobsContract: {
|
|
|
2403
2403
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
2404
2404
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
2405
2405
|
leadName?: string | undefined;
|
|
2406
|
+
phoneNumber?: string | undefined;
|
|
2406
2407
|
};
|
|
2407
|
-
entity: "call-history";
|
|
2408
2408
|
columns: string[];
|
|
2409
2409
|
}, {
|
|
2410
|
+
entity: "call-history";
|
|
2410
2411
|
filter: {
|
|
2411
2412
|
sort?: {
|
|
2412
2413
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2413
2414
|
order: "ASC" | "DESC";
|
|
2414
2415
|
}[] | null | undefined;
|
|
2415
|
-
phoneNumber?: string | undefined;
|
|
2416
|
-
limit?: number | undefined;
|
|
2417
2416
|
page?: number | undefined;
|
|
2417
|
+
limit?: number | undefined;
|
|
2418
2418
|
createdAt?: {
|
|
2419
2419
|
from?: string | null | undefined;
|
|
2420
2420
|
to?: string | null | undefined;
|
|
@@ -2428,8 +2428,8 @@ export declare const exportJobsContract: {
|
|
|
2428
2428
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
2429
2429
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
2430
2430
|
leadName?: string | undefined;
|
|
2431
|
+
phoneNumber?: string | undefined;
|
|
2431
2432
|
};
|
|
2432
|
-
entity: "call-history";
|
|
2433
2433
|
columns: string[];
|
|
2434
2434
|
sort?: {
|
|
2435
2435
|
field: string;
|
|
@@ -2503,30 +2503,30 @@ export declare const exportJobsContract: {
|
|
|
2503
2503
|
field: z.ZodEnum<["description", "numberOfPositions", "status", "tradeId", "collaborationCompany", "collaborationClient", "collaborationAgent", "distance", "postcode", "payRate", "receivedRate", "workHours", "qualificationsCount", "creationSource", "createdAt", "updatedAt", "startDate"]>;
|
|
2504
2504
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
2505
2505
|
}, "strip", z.ZodTypeAny, {
|
|
2506
|
-
field: "status" | "
|
|
2506
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2507
2507
|
order: "ASC" | "DESC";
|
|
2508
2508
|
}, {
|
|
2509
|
-
field: "status" | "
|
|
2509
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2510
2510
|
order: "ASC" | "DESC";
|
|
2511
2511
|
}>, "many">>>;
|
|
2512
2512
|
}, "strip", z.ZodTypeAny, {
|
|
2513
|
-
limit: number;
|
|
2514
2513
|
page: number;
|
|
2514
|
+
limit: number;
|
|
2515
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2516
|
+
userId?: string | null | undefined;
|
|
2515
2517
|
sort?: {
|
|
2516
|
-
field: "status" | "
|
|
2518
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2517
2519
|
order: "ASC" | "DESC";
|
|
2518
2520
|
}[] | null | undefined;
|
|
2519
|
-
|
|
2520
|
-
description?: string | null | undefined;
|
|
2521
|
-
createdAt?: {
|
|
2521
|
+
updatedAt?: {
|
|
2522
2522
|
from?: string | null | undefined;
|
|
2523
2523
|
to?: string | null | undefined;
|
|
2524
2524
|
} | null | undefined;
|
|
2525
|
-
|
|
2525
|
+
createdAt?: {
|
|
2526
2526
|
from?: string | null | undefined;
|
|
2527
2527
|
to?: string | null | undefined;
|
|
2528
2528
|
} | null | undefined;
|
|
2529
|
-
|
|
2529
|
+
description?: string | null | undefined;
|
|
2530
2530
|
location?: {
|
|
2531
2531
|
postcode?: string | null | undefined;
|
|
2532
2532
|
radius?: number | null | undefined;
|
|
@@ -2545,23 +2545,23 @@ export declare const exportJobsContract: {
|
|
|
2545
2545
|
companyId?: string | null | undefined;
|
|
2546
2546
|
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
2547
2547
|
}, {
|
|
2548
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2549
|
+
userId?: string | null | undefined;
|
|
2548
2550
|
sort?: {
|
|
2549
|
-
field: "status" | "
|
|
2551
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2550
2552
|
order: "ASC" | "DESC";
|
|
2551
2553
|
}[] | null | undefined;
|
|
2552
|
-
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2553
|
-
description?: string | null | undefined;
|
|
2554
|
-
limit?: number | undefined;
|
|
2555
2554
|
page?: number | undefined;
|
|
2556
|
-
|
|
2555
|
+
limit?: number | undefined;
|
|
2556
|
+
updatedAt?: {
|
|
2557
2557
|
from?: string | null | undefined;
|
|
2558
2558
|
to?: string | null | undefined;
|
|
2559
2559
|
} | null | undefined;
|
|
2560
|
-
|
|
2560
|
+
createdAt?: {
|
|
2561
2561
|
from?: string | null | undefined;
|
|
2562
2562
|
to?: string | null | undefined;
|
|
2563
2563
|
} | null | undefined;
|
|
2564
|
-
|
|
2564
|
+
description?: string | null | undefined;
|
|
2565
2565
|
location?: {
|
|
2566
2566
|
postcode?: string | null | undefined;
|
|
2567
2567
|
radius?: number | null | undefined;
|
|
@@ -2592,28 +2592,29 @@ export declare const exportJobsContract: {
|
|
|
2592
2592
|
}>, "many">>;
|
|
2593
2593
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
2594
2594
|
}, "strip", z.ZodTypeAny, {
|
|
2595
|
+
entity: "jobs";
|
|
2595
2596
|
sort: {
|
|
2596
2597
|
field: string;
|
|
2597
2598
|
dir: "ASC" | "DESC";
|
|
2598
2599
|
}[];
|
|
2599
2600
|
filter: {
|
|
2600
|
-
limit: number;
|
|
2601
2601
|
page: number;
|
|
2602
|
+
limit: number;
|
|
2603
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2604
|
+
userId?: string | null | undefined;
|
|
2602
2605
|
sort?: {
|
|
2603
|
-
field: "status" | "
|
|
2606
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2604
2607
|
order: "ASC" | "DESC";
|
|
2605
2608
|
}[] | null | undefined;
|
|
2606
|
-
|
|
2607
|
-
description?: string | null | undefined;
|
|
2608
|
-
createdAt?: {
|
|
2609
|
+
updatedAt?: {
|
|
2609
2610
|
from?: string | null | undefined;
|
|
2610
2611
|
to?: string | null | undefined;
|
|
2611
2612
|
} | null | undefined;
|
|
2612
|
-
|
|
2613
|
+
createdAt?: {
|
|
2613
2614
|
from?: string | null | undefined;
|
|
2614
2615
|
to?: string | null | undefined;
|
|
2615
2616
|
} | null | undefined;
|
|
2616
|
-
|
|
2617
|
+
description?: string | null | undefined;
|
|
2617
2618
|
location?: {
|
|
2618
2619
|
postcode?: string | null | undefined;
|
|
2619
2620
|
radius?: number | null | undefined;
|
|
@@ -2632,27 +2633,27 @@ export declare const exportJobsContract: {
|
|
|
2632
2633
|
companyId?: string | null | undefined;
|
|
2633
2634
|
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
2634
2635
|
};
|
|
2635
|
-
entity: "jobs";
|
|
2636
2636
|
columns: string[];
|
|
2637
2637
|
}, {
|
|
2638
|
+
entity: "jobs";
|
|
2638
2639
|
filter: {
|
|
2640
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2641
|
+
userId?: string | null | undefined;
|
|
2639
2642
|
sort?: {
|
|
2640
|
-
field: "status" | "
|
|
2643
|
+
field: "status" | "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2641
2644
|
order: "ASC" | "DESC";
|
|
2642
2645
|
}[] | null | undefined;
|
|
2643
|
-
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2644
|
-
description?: string | null | undefined;
|
|
2645
|
-
limit?: number | undefined;
|
|
2646
2646
|
page?: number | undefined;
|
|
2647
|
-
|
|
2647
|
+
limit?: number | undefined;
|
|
2648
|
+
updatedAt?: {
|
|
2648
2649
|
from?: string | null | undefined;
|
|
2649
2650
|
to?: string | null | undefined;
|
|
2650
2651
|
} | null | undefined;
|
|
2651
|
-
|
|
2652
|
+
createdAt?: {
|
|
2652
2653
|
from?: string | null | undefined;
|
|
2653
2654
|
to?: string | null | undefined;
|
|
2654
2655
|
} | null | undefined;
|
|
2655
|
-
|
|
2656
|
+
description?: string | null | undefined;
|
|
2656
2657
|
location?: {
|
|
2657
2658
|
postcode?: string | null | undefined;
|
|
2658
2659
|
radius?: number | null | undefined;
|
|
@@ -2671,7 +2672,6 @@ export declare const exportJobsContract: {
|
|
|
2671
2672
|
companyId?: string | null | undefined;
|
|
2672
2673
|
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
2673
2674
|
};
|
|
2674
|
-
entity: "jobs";
|
|
2675
2675
|
columns: string[];
|
|
2676
2676
|
sort?: {
|
|
2677
2677
|
field: string;
|
|
@@ -2722,60 +2722,60 @@ export declare const exportJobsContract: {
|
|
|
2722
2722
|
field: z.ZodEnum<["lastName", "firstName", "email", "createdAt", "office"]>;
|
|
2723
2723
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
2724
2724
|
}, "strip", z.ZodTypeAny, {
|
|
2725
|
-
field: "
|
|
2725
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
2726
2726
|
order: "ASC" | "DESC";
|
|
2727
2727
|
}, {
|
|
2728
|
-
field: "
|
|
2728
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
2729
2729
|
order: "ASC" | "DESC";
|
|
2730
2730
|
}>, "many">>>;
|
|
2731
2731
|
}, "strip", z.ZodTypeAny, {
|
|
2732
|
-
limit: number;
|
|
2733
2732
|
page: number;
|
|
2733
|
+
limit: number;
|
|
2734
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2734
2735
|
sort?: {
|
|
2735
|
-
field: "
|
|
2736
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
2736
2737
|
order: "ASC" | "DESC";
|
|
2737
2738
|
}[] | null | undefined;
|
|
2738
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2739
2739
|
name?: string | undefined;
|
|
2740
|
-
|
|
2740
|
+
updatedAt?: {
|
|
2741
|
+
from?: string | null | undefined;
|
|
2742
|
+
to?: string | null | undefined;
|
|
2743
|
+
} | null | undefined;
|
|
2741
2744
|
createdAt?: {
|
|
2742
2745
|
from?: string | null | undefined;
|
|
2743
2746
|
to?: string | null | undefined;
|
|
2744
2747
|
} | null | undefined;
|
|
2748
|
+
phone?: string | undefined;
|
|
2749
|
+
email?: string | undefined;
|
|
2745
2750
|
roles?: {
|
|
2746
2751
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2747
2752
|
requireAll?: boolean | undefined;
|
|
2748
2753
|
} | undefined;
|
|
2749
2754
|
officeId?: string | undefined;
|
|
2750
|
-
updatedAt?: {
|
|
2751
|
-
from?: string | null | undefined;
|
|
2752
|
-
to?: string | null | undefined;
|
|
2753
|
-
} | null | undefined;
|
|
2754
|
-
phone?: string | undefined;
|
|
2755
2755
|
}, {
|
|
2756
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2756
2757
|
sort?: {
|
|
2757
|
-
field: "
|
|
2758
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
2758
2759
|
order: "ASC" | "DESC";
|
|
2759
2760
|
}[] | null | undefined;
|
|
2760
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2761
|
-
name?: string | undefined;
|
|
2762
|
-
limit?: number | undefined;
|
|
2763
2761
|
page?: number | undefined;
|
|
2764
|
-
|
|
2762
|
+
limit?: number | undefined;
|
|
2763
|
+
name?: string | undefined;
|
|
2764
|
+
updatedAt?: {
|
|
2765
|
+
from?: string | null | undefined;
|
|
2766
|
+
to?: string | null | undefined;
|
|
2767
|
+
} | null | undefined;
|
|
2765
2768
|
createdAt?: {
|
|
2766
2769
|
from?: string | null | undefined;
|
|
2767
2770
|
to?: string | null | undefined;
|
|
2768
2771
|
} | null | undefined;
|
|
2772
|
+
phone?: string | undefined;
|
|
2773
|
+
email?: string | undefined;
|
|
2769
2774
|
roles?: {
|
|
2770
2775
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2771
2776
|
requireAll?: unknown;
|
|
2772
2777
|
} | undefined;
|
|
2773
2778
|
officeId?: string | undefined;
|
|
2774
|
-
updatedAt?: {
|
|
2775
|
-
from?: string | null | undefined;
|
|
2776
|
-
to?: string | null | undefined;
|
|
2777
|
-
} | null | undefined;
|
|
2778
|
-
phone?: string | undefined;
|
|
2779
2779
|
}>;
|
|
2780
2780
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2781
2781
|
field: z.ZodString;
|
|
@@ -2789,64 +2789,64 @@ export declare const exportJobsContract: {
|
|
|
2789
2789
|
}>, "many">>;
|
|
2790
2790
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
2791
2791
|
}, "strip", z.ZodTypeAny, {
|
|
2792
|
+
entity: "users";
|
|
2792
2793
|
sort: {
|
|
2793
2794
|
field: string;
|
|
2794
2795
|
dir: "ASC" | "DESC";
|
|
2795
2796
|
}[];
|
|
2796
2797
|
filter: {
|
|
2797
|
-
limit: number;
|
|
2798
2798
|
page: number;
|
|
2799
|
+
limit: number;
|
|
2800
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2799
2801
|
sort?: {
|
|
2800
|
-
field: "
|
|
2802
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
2801
2803
|
order: "ASC" | "DESC";
|
|
2802
2804
|
}[] | null | undefined;
|
|
2803
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2804
2805
|
name?: string | undefined;
|
|
2805
|
-
|
|
2806
|
+
updatedAt?: {
|
|
2807
|
+
from?: string | null | undefined;
|
|
2808
|
+
to?: string | null | undefined;
|
|
2809
|
+
} | null | undefined;
|
|
2806
2810
|
createdAt?: {
|
|
2807
2811
|
from?: string | null | undefined;
|
|
2808
2812
|
to?: string | null | undefined;
|
|
2809
2813
|
} | null | undefined;
|
|
2814
|
+
phone?: string | undefined;
|
|
2815
|
+
email?: string | undefined;
|
|
2810
2816
|
roles?: {
|
|
2811
2817
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2812
2818
|
requireAll?: boolean | undefined;
|
|
2813
2819
|
} | undefined;
|
|
2814
2820
|
officeId?: string | undefined;
|
|
2815
|
-
updatedAt?: {
|
|
2816
|
-
from?: string | null | undefined;
|
|
2817
|
-
to?: string | null | undefined;
|
|
2818
|
-
} | null | undefined;
|
|
2819
|
-
phone?: string | undefined;
|
|
2820
2821
|
};
|
|
2821
|
-
entity: "users";
|
|
2822
2822
|
columns: string[];
|
|
2823
2823
|
}, {
|
|
2824
|
+
entity: "users";
|
|
2824
2825
|
filter: {
|
|
2826
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2825
2827
|
sort?: {
|
|
2826
|
-
field: "
|
|
2828
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
2827
2829
|
order: "ASC" | "DESC";
|
|
2828
2830
|
}[] | null | undefined;
|
|
2829
|
-
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2830
|
-
name?: string | undefined;
|
|
2831
|
-
limit?: number | undefined;
|
|
2832
2831
|
page?: number | undefined;
|
|
2833
|
-
|
|
2832
|
+
limit?: number | undefined;
|
|
2833
|
+
name?: string | undefined;
|
|
2834
|
+
updatedAt?: {
|
|
2835
|
+
from?: string | null | undefined;
|
|
2836
|
+
to?: string | null | undefined;
|
|
2837
|
+
} | null | undefined;
|
|
2834
2838
|
createdAt?: {
|
|
2835
2839
|
from?: string | null | undefined;
|
|
2836
2840
|
to?: string | null | undefined;
|
|
2837
2841
|
} | null | undefined;
|
|
2842
|
+
phone?: string | undefined;
|
|
2843
|
+
email?: string | undefined;
|
|
2838
2844
|
roles?: {
|
|
2839
2845
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2840
2846
|
requireAll?: unknown;
|
|
2841
2847
|
} | undefined;
|
|
2842
2848
|
officeId?: string | undefined;
|
|
2843
|
-
updatedAt?: {
|
|
2844
|
-
from?: string | null | undefined;
|
|
2845
|
-
to?: string | null | undefined;
|
|
2846
|
-
} | null | undefined;
|
|
2847
|
-
phone?: string | undefined;
|
|
2848
2849
|
};
|
|
2849
|
-
entity: "users";
|
|
2850
2850
|
columns: string[];
|
|
2851
2851
|
sort?: {
|
|
2852
2852
|
field: string;
|
|
@@ -2881,8 +2881,8 @@ export declare const exportJobsContract: {
|
|
|
2881
2881
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2882
2882
|
}, "strip", z.ZodTypeAny, {
|
|
2883
2883
|
id: string;
|
|
2884
|
-
firstName: string;
|
|
2885
2884
|
lastName: string;
|
|
2885
|
+
firstName: string;
|
|
2886
2886
|
phoneNumbers: {
|
|
2887
2887
|
id: string;
|
|
2888
2888
|
phoneNumber: string;
|
|
@@ -2892,8 +2892,8 @@ export declare const exportJobsContract: {
|
|
|
2892
2892
|
deletedAt?: string | null | undefined;
|
|
2893
2893
|
}, {
|
|
2894
2894
|
id: string;
|
|
2895
|
-
firstName: string;
|
|
2896
2895
|
lastName: string;
|
|
2896
|
+
firstName: string;
|
|
2897
2897
|
phoneNumbers?: {
|
|
2898
2898
|
id: string;
|
|
2899
2899
|
phoneNumber: string;
|
|
@@ -2926,20 +2926,19 @@ export declare const exportJobsContract: {
|
|
|
2926
2926
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
2927
2927
|
expiresAt: z.ZodString;
|
|
2928
2928
|
}, "strip", z.ZodTypeAny, {
|
|
2929
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
2930
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
2931
|
+
userId: string;
|
|
2932
|
+
requestedAt: string;
|
|
2929
2933
|
sort: {
|
|
2930
2934
|
field: string;
|
|
2931
2935
|
dir: "ASC" | "DESC";
|
|
2932
2936
|
}[];
|
|
2933
|
-
filter: Record<string, unknown>;
|
|
2934
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
2935
2937
|
id: string;
|
|
2936
|
-
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
2937
|
-
userId: string;
|
|
2938
|
-
requestedAt: string;
|
|
2939
2938
|
user: {
|
|
2940
2939
|
id: string;
|
|
2941
|
-
firstName: string;
|
|
2942
2940
|
lastName: string;
|
|
2941
|
+
firstName: string;
|
|
2943
2942
|
phoneNumbers: {
|
|
2944
2943
|
id: string;
|
|
2945
2944
|
phoneNumber: string;
|
|
@@ -2948,6 +2947,7 @@ export declare const exportJobsContract: {
|
|
|
2948
2947
|
}[];
|
|
2949
2948
|
deletedAt?: string | null | undefined;
|
|
2950
2949
|
} | null;
|
|
2950
|
+
filter: Record<string, unknown>;
|
|
2951
2951
|
expiresAt: string;
|
|
2952
2952
|
totalRows: number | null;
|
|
2953
2953
|
errorMessage: string | null;
|
|
@@ -2958,16 +2958,15 @@ export declare const exportJobsContract: {
|
|
|
2958
2958
|
rowsSkipped: number;
|
|
2959
2959
|
byteSize: number | null;
|
|
2960
2960
|
}, {
|
|
2961
|
-
filter: Record<string, unknown>;
|
|
2962
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
2963
|
-
id: string;
|
|
2964
2961
|
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
2962
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
2965
2963
|
userId: string;
|
|
2966
2964
|
requestedAt: string;
|
|
2965
|
+
id: string;
|
|
2967
2966
|
user: {
|
|
2968
2967
|
id: string;
|
|
2969
|
-
firstName: string;
|
|
2970
2968
|
lastName: string;
|
|
2969
|
+
firstName: string;
|
|
2971
2970
|
phoneNumbers?: {
|
|
2972
2971
|
id: string;
|
|
2973
2972
|
phoneNumber: string;
|
|
@@ -2976,6 +2975,7 @@ export declare const exportJobsContract: {
|
|
|
2976
2975
|
}[] | undefined;
|
|
2977
2976
|
deletedAt?: string | Date | null | undefined;
|
|
2978
2977
|
} | null;
|
|
2978
|
+
filter: Record<string, unknown>;
|
|
2979
2979
|
expiresAt: string;
|
|
2980
2980
|
totalRows: number | null;
|
|
2981
2981
|
errorMessage: string | null;
|
|
@@ -3028,40 +3028,40 @@ export declare const exportJobsContract: {
|
|
|
3028
3028
|
field: z.ZodEnum<["requestedAt", "completedAt", "status", "entity"]>;
|
|
3029
3029
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
3030
3030
|
}, "strip", z.ZodTypeAny, {
|
|
3031
|
-
field: "
|
|
3031
|
+
field: "entity" | "status" | "requestedAt" | "completedAt";
|
|
3032
3032
|
order: "ASC" | "DESC";
|
|
3033
3033
|
}, {
|
|
3034
|
-
field: "
|
|
3034
|
+
field: "entity" | "status" | "requestedAt" | "completedAt";
|
|
3035
3035
|
order: "ASC" | "DESC";
|
|
3036
3036
|
}>, "many">>>;
|
|
3037
3037
|
}, "strip", z.ZodTypeAny, {
|
|
3038
|
-
limit: number;
|
|
3039
3038
|
page: number;
|
|
3040
|
-
|
|
3041
|
-
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
3042
|
-
order: "ASC" | "DESC";
|
|
3043
|
-
}[] | null | undefined;
|
|
3044
|
-
status?: "completed" | "cancelled" | "failed" | "pending" | "processing" | undefined;
|
|
3039
|
+
limit: number;
|
|
3045
3040
|
entity?: "jobs" | "bookings" | "actives" | "call-history" | "users" | undefined;
|
|
3041
|
+
status?: "completed" | "cancelled" | "failed" | "pending" | "processing" | undefined;
|
|
3046
3042
|
userId?: string | undefined;
|
|
3047
3043
|
requestedAt?: {
|
|
3048
3044
|
from?: string | null | undefined;
|
|
3049
3045
|
to?: string | null | undefined;
|
|
3050
3046
|
} | null | undefined;
|
|
3051
|
-
}, {
|
|
3052
3047
|
sort?: {
|
|
3053
|
-
field: "
|
|
3048
|
+
field: "entity" | "status" | "requestedAt" | "completedAt";
|
|
3054
3049
|
order: "ASC" | "DESC";
|
|
3055
3050
|
}[] | null | undefined;
|
|
3056
|
-
|
|
3057
|
-
limit?: number | undefined;
|
|
3058
|
-
page?: number | undefined;
|
|
3051
|
+
}, {
|
|
3059
3052
|
entity?: "jobs" | "bookings" | "actives" | "call-history" | "users" | undefined;
|
|
3053
|
+
status?: "completed" | "cancelled" | "failed" | "pending" | "processing" | undefined;
|
|
3060
3054
|
userId?: string | undefined;
|
|
3061
3055
|
requestedAt?: {
|
|
3062
3056
|
from?: string | null | undefined;
|
|
3063
3057
|
to?: string | null | undefined;
|
|
3064
3058
|
} | null | undefined;
|
|
3059
|
+
sort?: {
|
|
3060
|
+
field: "entity" | "status" | "requestedAt" | "completedAt";
|
|
3061
|
+
order: "ASC" | "DESC";
|
|
3062
|
+
}[] | null | undefined;
|
|
3063
|
+
page?: number | undefined;
|
|
3064
|
+
limit?: number | undefined;
|
|
3065
3065
|
}>;
|
|
3066
3066
|
summary: "List export jobs the caller is allowed to see";
|
|
3067
3067
|
method: "GET";
|
|
@@ -3094,8 +3094,8 @@ export declare const exportJobsContract: {
|
|
|
3094
3094
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3095
3095
|
}, "strip", z.ZodTypeAny, {
|
|
3096
3096
|
id: string;
|
|
3097
|
-
firstName: string;
|
|
3098
3097
|
lastName: string;
|
|
3098
|
+
firstName: string;
|
|
3099
3099
|
phoneNumbers: {
|
|
3100
3100
|
id: string;
|
|
3101
3101
|
phoneNumber: string;
|
|
@@ -3105,8 +3105,8 @@ export declare const exportJobsContract: {
|
|
|
3105
3105
|
deletedAt?: string | null | undefined;
|
|
3106
3106
|
}, {
|
|
3107
3107
|
id: string;
|
|
3108
|
-
firstName: string;
|
|
3109
3108
|
lastName: string;
|
|
3109
|
+
firstName: string;
|
|
3110
3110
|
phoneNumbers?: {
|
|
3111
3111
|
id: string;
|
|
3112
3112
|
phoneNumber: string;
|
|
@@ -3139,20 +3139,19 @@ export declare const exportJobsContract: {
|
|
|
3139
3139
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
3140
3140
|
expiresAt: z.ZodString;
|
|
3141
3141
|
}, "strip", z.ZodTypeAny, {
|
|
3142
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3143
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3144
|
+
userId: string;
|
|
3145
|
+
requestedAt: string;
|
|
3142
3146
|
sort: {
|
|
3143
3147
|
field: string;
|
|
3144
3148
|
dir: "ASC" | "DESC";
|
|
3145
3149
|
}[];
|
|
3146
|
-
filter: Record<string, unknown>;
|
|
3147
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3148
3150
|
id: string;
|
|
3149
|
-
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3150
|
-
userId: string;
|
|
3151
|
-
requestedAt: string;
|
|
3152
3151
|
user: {
|
|
3153
3152
|
id: string;
|
|
3154
|
-
firstName: string;
|
|
3155
3153
|
lastName: string;
|
|
3154
|
+
firstName: string;
|
|
3156
3155
|
phoneNumbers: {
|
|
3157
3156
|
id: string;
|
|
3158
3157
|
phoneNumber: string;
|
|
@@ -3161,6 +3160,7 @@ export declare const exportJobsContract: {
|
|
|
3161
3160
|
}[];
|
|
3162
3161
|
deletedAt?: string | null | undefined;
|
|
3163
3162
|
} | null;
|
|
3163
|
+
filter: Record<string, unknown>;
|
|
3164
3164
|
expiresAt: string;
|
|
3165
3165
|
totalRows: number | null;
|
|
3166
3166
|
errorMessage: string | null;
|
|
@@ -3171,16 +3171,15 @@ export declare const exportJobsContract: {
|
|
|
3171
3171
|
rowsSkipped: number;
|
|
3172
3172
|
byteSize: number | null;
|
|
3173
3173
|
}, {
|
|
3174
|
-
filter: Record<string, unknown>;
|
|
3175
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3176
|
-
id: string;
|
|
3177
3174
|
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3175
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3178
3176
|
userId: string;
|
|
3179
3177
|
requestedAt: string;
|
|
3178
|
+
id: string;
|
|
3180
3179
|
user: {
|
|
3181
3180
|
id: string;
|
|
3182
|
-
firstName: string;
|
|
3183
3181
|
lastName: string;
|
|
3182
|
+
firstName: string;
|
|
3184
3183
|
phoneNumbers?: {
|
|
3185
3184
|
id: string;
|
|
3186
3185
|
phoneNumber: string;
|
|
@@ -3189,6 +3188,7 @@ export declare const exportJobsContract: {
|
|
|
3189
3188
|
}[] | undefined;
|
|
3190
3189
|
deletedAt?: string | Date | null | undefined;
|
|
3191
3190
|
} | null;
|
|
3191
|
+
filter: Record<string, unknown>;
|
|
3192
3192
|
expiresAt: string;
|
|
3193
3193
|
totalRows: number | null;
|
|
3194
3194
|
errorMessage: string | null;
|
|
@@ -3211,20 +3211,19 @@ export declare const exportJobsContract: {
|
|
|
3211
3211
|
}, "strip", z.ZodTypeAny, {
|
|
3212
3212
|
limit: number;
|
|
3213
3213
|
items: {
|
|
3214
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3215
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3216
|
+
userId: string;
|
|
3217
|
+
requestedAt: string;
|
|
3214
3218
|
sort: {
|
|
3215
3219
|
field: string;
|
|
3216
3220
|
dir: "ASC" | "DESC";
|
|
3217
3221
|
}[];
|
|
3218
|
-
filter: Record<string, unknown>;
|
|
3219
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3220
3222
|
id: string;
|
|
3221
|
-
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3222
|
-
userId: string;
|
|
3223
|
-
requestedAt: string;
|
|
3224
3223
|
user: {
|
|
3225
3224
|
id: string;
|
|
3226
|
-
firstName: string;
|
|
3227
3225
|
lastName: string;
|
|
3226
|
+
firstName: string;
|
|
3228
3227
|
phoneNumbers: {
|
|
3229
3228
|
id: string;
|
|
3230
3229
|
phoneNumber: string;
|
|
@@ -3233,6 +3232,7 @@ export declare const exportJobsContract: {
|
|
|
3233
3232
|
}[];
|
|
3234
3233
|
deletedAt?: string | null | undefined;
|
|
3235
3234
|
} | null;
|
|
3235
|
+
filter: Record<string, unknown>;
|
|
3236
3236
|
expiresAt: string;
|
|
3237
3237
|
totalRows: number | null;
|
|
3238
3238
|
errorMessage: string | null;
|
|
@@ -3250,16 +3250,15 @@ export declare const exportJobsContract: {
|
|
|
3250
3250
|
}, {
|
|
3251
3251
|
limit: number;
|
|
3252
3252
|
items: {
|
|
3253
|
-
filter: Record<string, unknown>;
|
|
3254
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3255
|
-
id: string;
|
|
3256
3253
|
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3254
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3257
3255
|
userId: string;
|
|
3258
3256
|
requestedAt: string;
|
|
3257
|
+
id: string;
|
|
3259
3258
|
user: {
|
|
3260
3259
|
id: string;
|
|
3261
|
-
firstName: string;
|
|
3262
3260
|
lastName: string;
|
|
3261
|
+
firstName: string;
|
|
3263
3262
|
phoneNumbers?: {
|
|
3264
3263
|
id: string;
|
|
3265
3264
|
phoneNumber: string;
|
|
@@ -3268,6 +3267,7 @@ export declare const exportJobsContract: {
|
|
|
3268
3267
|
}[] | undefined;
|
|
3269
3268
|
deletedAt?: string | Date | null | undefined;
|
|
3270
3269
|
} | null;
|
|
3270
|
+
filter: Record<string, unknown>;
|
|
3271
3271
|
expiresAt: string;
|
|
3272
3272
|
totalRows: number | null;
|
|
3273
3273
|
errorMessage: string | null;
|
|
@@ -3327,8 +3327,8 @@ export declare const exportJobsContract: {
|
|
|
3327
3327
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3328
3328
|
}, "strip", z.ZodTypeAny, {
|
|
3329
3329
|
id: string;
|
|
3330
|
-
firstName: string;
|
|
3331
3330
|
lastName: string;
|
|
3331
|
+
firstName: string;
|
|
3332
3332
|
phoneNumbers: {
|
|
3333
3333
|
id: string;
|
|
3334
3334
|
phoneNumber: string;
|
|
@@ -3338,8 +3338,8 @@ export declare const exportJobsContract: {
|
|
|
3338
3338
|
deletedAt?: string | null | undefined;
|
|
3339
3339
|
}, {
|
|
3340
3340
|
id: string;
|
|
3341
|
-
firstName: string;
|
|
3342
3341
|
lastName: string;
|
|
3342
|
+
firstName: string;
|
|
3343
3343
|
phoneNumbers?: {
|
|
3344
3344
|
id: string;
|
|
3345
3345
|
phoneNumber: string;
|
|
@@ -3372,20 +3372,19 @@ export declare const exportJobsContract: {
|
|
|
3372
3372
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
3373
3373
|
expiresAt: z.ZodString;
|
|
3374
3374
|
}, "strip", z.ZodTypeAny, {
|
|
3375
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3376
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3377
|
+
userId: string;
|
|
3378
|
+
requestedAt: string;
|
|
3375
3379
|
sort: {
|
|
3376
3380
|
field: string;
|
|
3377
3381
|
dir: "ASC" | "DESC";
|
|
3378
3382
|
}[];
|
|
3379
|
-
filter: Record<string, unknown>;
|
|
3380
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3381
3383
|
id: string;
|
|
3382
|
-
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3383
|
-
userId: string;
|
|
3384
|
-
requestedAt: string;
|
|
3385
3384
|
user: {
|
|
3386
3385
|
id: string;
|
|
3387
|
-
firstName: string;
|
|
3388
3386
|
lastName: string;
|
|
3387
|
+
firstName: string;
|
|
3389
3388
|
phoneNumbers: {
|
|
3390
3389
|
id: string;
|
|
3391
3390
|
phoneNumber: string;
|
|
@@ -3394,6 +3393,7 @@ export declare const exportJobsContract: {
|
|
|
3394
3393
|
}[];
|
|
3395
3394
|
deletedAt?: string | null | undefined;
|
|
3396
3395
|
} | null;
|
|
3396
|
+
filter: Record<string, unknown>;
|
|
3397
3397
|
expiresAt: string;
|
|
3398
3398
|
totalRows: number | null;
|
|
3399
3399
|
errorMessage: string | null;
|
|
@@ -3404,16 +3404,15 @@ export declare const exportJobsContract: {
|
|
|
3404
3404
|
rowsSkipped: number;
|
|
3405
3405
|
byteSize: number | null;
|
|
3406
3406
|
}, {
|
|
3407
|
-
filter: Record<string, unknown>;
|
|
3408
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3409
|
-
id: string;
|
|
3410
3407
|
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3408
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3411
3409
|
userId: string;
|
|
3412
3410
|
requestedAt: string;
|
|
3411
|
+
id: string;
|
|
3413
3412
|
user: {
|
|
3414
3413
|
id: string;
|
|
3415
|
-
firstName: string;
|
|
3416
3414
|
lastName: string;
|
|
3415
|
+
firstName: string;
|
|
3417
3416
|
phoneNumbers?: {
|
|
3418
3417
|
id: string;
|
|
3419
3418
|
phoneNumber: string;
|
|
@@ -3422,6 +3421,7 @@ export declare const exportJobsContract: {
|
|
|
3422
3421
|
}[] | undefined;
|
|
3423
3422
|
deletedAt?: string | Date | null | undefined;
|
|
3424
3423
|
} | null;
|
|
3424
|
+
filter: Record<string, unknown>;
|
|
3425
3425
|
expiresAt: string;
|
|
3426
3426
|
totalRows: number | null;
|
|
3427
3427
|
errorMessage: string | null;
|
|
@@ -3484,8 +3484,8 @@ export declare const exportJobsContract: {
|
|
|
3484
3484
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3485
3485
|
}, "strip", z.ZodTypeAny, {
|
|
3486
3486
|
id: string;
|
|
3487
|
-
firstName: string;
|
|
3488
3487
|
lastName: string;
|
|
3488
|
+
firstName: string;
|
|
3489
3489
|
phoneNumbers: {
|
|
3490
3490
|
id: string;
|
|
3491
3491
|
phoneNumber: string;
|
|
@@ -3495,8 +3495,8 @@ export declare const exportJobsContract: {
|
|
|
3495
3495
|
deletedAt?: string | null | undefined;
|
|
3496
3496
|
}, {
|
|
3497
3497
|
id: string;
|
|
3498
|
-
firstName: string;
|
|
3499
3498
|
lastName: string;
|
|
3499
|
+
firstName: string;
|
|
3500
3500
|
phoneNumbers?: {
|
|
3501
3501
|
id: string;
|
|
3502
3502
|
phoneNumber: string;
|
|
@@ -3529,20 +3529,19 @@ export declare const exportJobsContract: {
|
|
|
3529
3529
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
3530
3530
|
expiresAt: z.ZodString;
|
|
3531
3531
|
}, "strip", z.ZodTypeAny, {
|
|
3532
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3533
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3534
|
+
userId: string;
|
|
3535
|
+
requestedAt: string;
|
|
3532
3536
|
sort: {
|
|
3533
3537
|
field: string;
|
|
3534
3538
|
dir: "ASC" | "DESC";
|
|
3535
3539
|
}[];
|
|
3536
|
-
filter: Record<string, unknown>;
|
|
3537
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3538
3540
|
id: string;
|
|
3539
|
-
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3540
|
-
userId: string;
|
|
3541
|
-
requestedAt: string;
|
|
3542
3541
|
user: {
|
|
3543
3542
|
id: string;
|
|
3544
|
-
firstName: string;
|
|
3545
3543
|
lastName: string;
|
|
3544
|
+
firstName: string;
|
|
3546
3545
|
phoneNumbers: {
|
|
3547
3546
|
id: string;
|
|
3548
3547
|
phoneNumber: string;
|
|
@@ -3551,6 +3550,7 @@ export declare const exportJobsContract: {
|
|
|
3551
3550
|
}[];
|
|
3552
3551
|
deletedAt?: string | null | undefined;
|
|
3553
3552
|
} | null;
|
|
3553
|
+
filter: Record<string, unknown>;
|
|
3554
3554
|
expiresAt: string;
|
|
3555
3555
|
totalRows: number | null;
|
|
3556
3556
|
errorMessage: string | null;
|
|
@@ -3561,16 +3561,15 @@ export declare const exportJobsContract: {
|
|
|
3561
3561
|
rowsSkipped: number;
|
|
3562
3562
|
byteSize: number | null;
|
|
3563
3563
|
}, {
|
|
3564
|
-
filter: Record<string, unknown>;
|
|
3565
|
-
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3566
|
-
id: string;
|
|
3567
3564
|
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3565
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3568
3566
|
userId: string;
|
|
3569
3567
|
requestedAt: string;
|
|
3568
|
+
id: string;
|
|
3570
3569
|
user: {
|
|
3571
3570
|
id: string;
|
|
3572
|
-
firstName: string;
|
|
3573
3571
|
lastName: string;
|
|
3572
|
+
firstName: string;
|
|
3574
3573
|
phoneNumbers?: {
|
|
3575
3574
|
id: string;
|
|
3576
3575
|
phoneNumber: string;
|
|
@@ -3579,6 +3578,7 @@ export declare const exportJobsContract: {
|
|
|
3579
3578
|
}[] | undefined;
|
|
3580
3579
|
deletedAt?: string | Date | null | undefined;
|
|
3581
3580
|
} | null;
|
|
3581
|
+
filter: Record<string, unknown>;
|
|
3582
3582
|
expiresAt: string;
|
|
3583
3583
|
totalRows: number | null;
|
|
3584
3584
|
errorMessage: string | null;
|