@dakkitor/api-contracts 1.4.0 → 1.6.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.d.ts +8 -2
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +48 -1
- package/dist/abilities/abilities.contract.spec.js +98 -0
- package/dist/abilities/first-agent.abilities.json +9 -2
- package/dist/abilities/outreach-service.abilities.json +14 -0
- package/dist/abilities/outreach.abilities.json +25 -0
- package/dist/abilities/second-agent.abilities.json +5 -1
- package/dist/actives/actives.contract.d.ts +7160 -7021
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +2 -0
- package/dist/actives/actives.contract.spec.d.ts +2 -0
- package/dist/actives/actives.contract.spec.d.ts.map +1 -0
- package/dist/actives/actives.contract.spec.js +35 -0
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1087 -1087
- package/dist/auth/auth.contract.d.ts +108 -108
- package/dist/bookings/bookings.contract.d.ts +10131 -9939
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +718 -718
- package/dist/calls-feed/calls-feed.contract.d.ts +86 -86
- package/dist/client-contacts/client-contacts.contract.d.ts +469 -469
- package/dist/clients/clients.contract.d.ts +203 -203
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2713 -2713
- package/dist/collaborations/collaborations.contract.d.ts +2270 -2270
- package/dist/common/common-schemas.d.ts +12 -12
- package/dist/companies/companies.contract.d.ts +74 -74
- package/dist/crews/crews.contract.d.ts +253 -253
- package/dist/cron-executions/cron-executions.contract.d.ts +182 -182
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +3353 -3353
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +20 -20
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +196 -166
- package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +16 -16
- package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +2 -2
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +1192 -564
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +65 -2
- package/dist/curated-worker-leads/lead-agent-area.contract.d.ts +4 -4
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts +2 -0
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts.map +1 -0
- package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.js +39 -0
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +46 -46
- package/dist/curated-workers/curated-workers.contract.d.ts +789 -789
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +2 -2
- package/dist/dashboards/dashboard-widgets.contract.d.ts +292 -292
- package/dist/dashboards/dashboard.contract.d.ts +12 -12
- package/dist/document-intake/document-intake.contract.d.ts +601 -601
- package/dist/export-jobs/export-jobs.contract.d.ts +572 -562
- package/dist/export-jobs/export-jobs.contract.d.ts.map +1 -1
- package/dist/exports-events/exports-events.schemas.d.ts +6 -6
- package/dist/files/files.contract.d.ts +74 -74
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -0
- package/dist/interactions/interactions.contract.d.ts +6 -6
- package/dist/job-clusters/job-clusters.contract.d.ts +112 -112
- package/dist/jobs/job-moderation-fields.spec.d.ts +2 -0
- package/dist/jobs/job-moderation-fields.spec.d.ts.map +1 -0
- package/dist/jobs/job-moderation-fields.spec.js +72 -0
- package/dist/jobs/jobs.contract.d.ts +7734 -7474
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +57 -0
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +141 -141
- package/dist/lead-assignments/lead-assignments.contract.d.ts +911 -911
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +209 -209
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +77 -77
- package/dist/leads/leads.contract.d.ts +283 -283
- package/dist/locations/locations.contract.d.ts +49 -49
- package/dist/notifications/notifications.contract.d.ts +49 -49
- package/dist/offices/offices.contract.d.ts +34 -34
- package/dist/outreach/__tests__/outreach-claim.test.js +1 -0
- package/dist/outreach/__tests__/outreach-contract-additions.spec.d.ts +2 -0
- package/dist/outreach/__tests__/outreach-contract-additions.spec.d.ts.map +1 -0
- package/dist/outreach/__tests__/outreach-contract-additions.spec.js +89 -0
- package/dist/outreach/__tests__/outreach-requests.contract.spec.d.ts +2 -0
- package/dist/outreach/__tests__/outreach-requests.contract.spec.d.ts.map +1 -0
- package/dist/outreach/__tests__/outreach-requests.contract.spec.js +77 -0
- package/dist/outreach/__tests__/outreach-routes.test.js +14 -3
- package/dist/outreach/__tests__/outreach.schemas.test.js +5 -1
- package/dist/outreach/outreach-requests.contract.d.ts +1753 -0
- package/dist/outreach/outreach-requests.contract.d.ts.map +1 -0
- package/dist/outreach/outreach-requests.contract.js +154 -0
- package/dist/outreach/outreach-requests.schemas.d.ts +95 -0
- package/dist/outreach/outreach-requests.schemas.d.ts.map +1 -0
- package/dist/outreach/outreach-requests.schemas.js +63 -0
- package/dist/outreach/outreach.contract.d.ts +373 -101
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- package/dist/outreach/outreach.contract.js +18 -0
- package/dist/outreach/outreach.contract.spec.d.ts +2 -0
- package/dist/outreach/outreach.contract.spec.d.ts.map +1 -0
- package/dist/outreach/outreach.contract.spec.js +54 -0
- package/dist/outreach/outreach.schemas.d.ts +15 -10
- package/dist/outreach/outreach.schemas.d.ts.map +1 -1
- package/dist/outreach/outreach.schemas.js +5 -2
- package/dist/own-research/own-research.contract.d.ts +775 -775
- package/dist/postcodes/postcodes.contract.d.ts +24 -24
- package/dist/proofs/proof-type.enum.d.ts +4 -4
- package/dist/proofs/proofs.contract.d.ts +363 -363
- package/dist/proofs/proofs.dtos.d.ts +124 -124
- package/dist/qualifications/qualifications.contract.d.ts +38 -38
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts +680 -0
- package/dist/relay-pods/relay-pod-sessions.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-sessions.contract.js +67 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-pod-sessions.contract.spec.js +129 -0
- package/dist/relay-pods/relay-pods.contract.d.ts +1569 -0
- package/dist/relay-pods/relay-pods.contract.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.contract.js +188 -0
- package/dist/relay-pods/relay-pods.contract.spec.d.ts +2 -0
- package/dist/relay-pods/relay-pods.contract.spec.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.contract.spec.js +141 -0
- package/dist/relay-pods/relay-pods.schemas.d.ts +415 -0
- package/dist/relay-pods/relay-pods.schemas.d.ts.map +1 -0
- package/dist/relay-pods/relay-pods.schemas.js +112 -0
- package/dist/shared/live-booking.schema.d.ts +4 -4
- package/dist/shared/summary-schemas.d.ts +6 -6
- package/dist/sheets-sync/sheets-sync.contract.d.ts +939 -939
- package/dist/telegram/telegram.contract.d.ts +22 -22
- package/dist/trades/trades.contract.d.ts +90 -90
- package/dist/user-access-grants/user-access-grants.contract.d.ts +165 -165
- package/dist/users/__tests__/assignable-roles.spec.d.ts +2 -0
- package/dist/users/__tests__/assignable-roles.spec.d.ts.map +1 -0
- package/dist/users/__tests__/assignable-roles.spec.js +41 -0
- package/dist/users/users.contract.d.ts +399 -393
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +11 -0
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +585 -527
- package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +278 -236
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts.map +1 -1
- package/dist/worker-merge-proposals/worker-merge-proposals.contract.js +1 -0
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +153 -153
- package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +59 -59
- package/dist/workers/workers.contract.d.ts +2919 -2919
- package/package.json +1 -1
- package/dist/bookings/bookings.contract.spec.d.ts +0 -2
- package/dist/bookings/bookings.contract.spec.d.ts.map +0 -1
- package/dist/bookings/bookings.contract.spec.js +0 -11
|
@@ -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: "status" | "
|
|
36
|
+
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
37
37
|
order: "ASC" | "DESC";
|
|
38
38
|
}, {
|
|
39
|
-
field: "status" | "
|
|
39
|
+
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
40
40
|
order: "ASC" | "DESC";
|
|
41
41
|
}>, "many">>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
43
|
limit: number;
|
|
44
44
|
page: number;
|
|
45
45
|
sort?: {
|
|
46
|
-
field: "status" | "
|
|
46
|
+
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
47
47
|
order: "ASC" | "DESC";
|
|
48
48
|
}[] | null | undefined;
|
|
49
|
-
status?: "
|
|
49
|
+
status?: "completed" | "cancelled" | "failed" | "pending" | "processing" | undefined;
|
|
50
|
+
entity?: "jobs" | "bookings" | "actives" | "call-history" | "users" | undefined;
|
|
50
51
|
userId?: string | undefined;
|
|
51
52
|
requestedAt?: {
|
|
52
53
|
from?: string | null | undefined;
|
|
53
54
|
to?: string | null | undefined;
|
|
54
55
|
} | null | undefined;
|
|
55
|
-
entity?: "actives" | "bookings" | "call-history" | "jobs" | "users" | undefined;
|
|
56
56
|
}, {
|
|
57
|
-
limit?: number | undefined;
|
|
58
|
-
page?: number | undefined;
|
|
59
57
|
sort?: {
|
|
60
|
-
field: "status" | "
|
|
58
|
+
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
61
59
|
order: "ASC" | "DESC";
|
|
62
60
|
}[] | null | undefined;
|
|
63
|
-
status?: "
|
|
61
|
+
status?: "completed" | "cancelled" | "failed" | "pending" | "processing" | undefined;
|
|
62
|
+
limit?: number | undefined;
|
|
63
|
+
page?: number | undefined;
|
|
64
|
+
entity?: "jobs" | "bookings" | "actives" | "call-history" | "users" | undefined;
|
|
64
65
|
userId?: string | undefined;
|
|
65
66
|
requestedAt?: {
|
|
66
67
|
from?: string | null | undefined;
|
|
67
68
|
to?: string | null | undefined;
|
|
68
69
|
} | null | undefined;
|
|
69
|
-
entity?: "actives" | "bookings" | "call-history" | "jobs" | "users" | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
export type FilterExportJob = z.infer<typeof FilterExportJobSchema>;
|
|
72
72
|
export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity", [z.ZodObject<{
|
|
@@ -130,38 +130,38 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
130
130
|
}>>>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
132
|
userId?: string | null | undefined;
|
|
133
|
-
tradeId?: string | null | undefined;
|
|
134
|
-
companyId?: string | null | undefined;
|
|
135
|
-
clientId?: string | null | undefined;
|
|
136
133
|
location?: {
|
|
137
134
|
postcode?: string | null | undefined;
|
|
138
135
|
radius?: number | null | undefined;
|
|
139
136
|
} | null | undefined;
|
|
140
|
-
}, {
|
|
141
|
-
userId?: string | null | undefined;
|
|
142
137
|
tradeId?: string | null | undefined;
|
|
143
|
-
companyId?: string | null | undefined;
|
|
144
138
|
clientId?: string | null | undefined;
|
|
139
|
+
companyId?: string | null | undefined;
|
|
140
|
+
}, {
|
|
141
|
+
userId?: string | null | undefined;
|
|
145
142
|
location?: {
|
|
146
143
|
postcode?: string | null | undefined;
|
|
147
144
|
radius?: number | null | undefined;
|
|
148
145
|
} | null | undefined;
|
|
146
|
+
tradeId?: string | null | undefined;
|
|
147
|
+
clientId?: string | null | undefined;
|
|
148
|
+
companyId?: string | null | undefined;
|
|
149
149
|
}>>>;
|
|
150
150
|
sort: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
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" | "date" | "
|
|
154
|
+
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
155
155
|
order: "ASC" | "DESC";
|
|
156
156
|
}, {
|
|
157
|
-
field: "status" | "date" | "
|
|
157
|
+
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
158
158
|
order: "ASC" | "DESC";
|
|
159
159
|
}>, "many">>>;
|
|
160
160
|
}, "strip", z.ZodTypeAny, {
|
|
161
161
|
limit: number;
|
|
162
162
|
page: number;
|
|
163
163
|
sort?: {
|
|
164
|
-
field: "status" | "date" | "
|
|
164
|
+
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
165
165
|
order: "ASC" | "DESC";
|
|
166
166
|
}[] | null | undefined;
|
|
167
167
|
status?: {
|
|
@@ -171,30 +171,28 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
171
171
|
from?: string | null | undefined;
|
|
172
172
|
to?: string | null | undefined;
|
|
173
173
|
} | null | undefined;
|
|
174
|
-
workerName?: {
|
|
175
|
-
value?: string | undefined;
|
|
176
|
-
exact?: boolean | undefined;
|
|
177
|
-
} | null | undefined;
|
|
178
|
-
agentId?: string | null | undefined;
|
|
179
174
|
pay?: {
|
|
180
175
|
minRate?: number | null | undefined;
|
|
181
176
|
maxRate?: number | null | undefined;
|
|
182
177
|
} | null | undefined;
|
|
183
178
|
job?: {
|
|
184
179
|
userId?: string | null | undefined;
|
|
185
|
-
tradeId?: string | null | undefined;
|
|
186
|
-
companyId?: string | null | undefined;
|
|
187
|
-
clientId?: string | null | undefined;
|
|
188
180
|
location?: {
|
|
189
181
|
postcode?: string | null | undefined;
|
|
190
182
|
radius?: number | null | undefined;
|
|
191
183
|
} | null | undefined;
|
|
184
|
+
tradeId?: string | null | undefined;
|
|
185
|
+
clientId?: string | null | undefined;
|
|
186
|
+
companyId?: string | null | undefined;
|
|
187
|
+
} | null | undefined;
|
|
188
|
+
workerName?: {
|
|
189
|
+
value?: string | undefined;
|
|
190
|
+
exact?: boolean | undefined;
|
|
192
191
|
} | null | undefined;
|
|
192
|
+
agentId?: string | null | undefined;
|
|
193
193
|
}, {
|
|
194
|
-
limit?: number | undefined;
|
|
195
|
-
page?: number | undefined;
|
|
196
194
|
sort?: {
|
|
197
|
-
field: "status" | "date" | "
|
|
195
|
+
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
198
196
|
order: "ASC" | "DESC";
|
|
199
197
|
}[] | null | undefined;
|
|
200
198
|
status?: {
|
|
@@ -204,25 +202,27 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
204
202
|
from?: string | null | undefined;
|
|
205
203
|
to?: string | null | undefined;
|
|
206
204
|
} | null | undefined;
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
exact?: boolean | "true" | "false" | undefined;
|
|
210
|
-
} | null | undefined;
|
|
211
|
-
agentId?: string | null | undefined;
|
|
205
|
+
limit?: number | undefined;
|
|
206
|
+
page?: number | undefined;
|
|
212
207
|
pay?: {
|
|
213
208
|
minRate?: number | null | undefined;
|
|
214
209
|
maxRate?: number | null | undefined;
|
|
215
210
|
} | null | undefined;
|
|
216
211
|
job?: {
|
|
217
212
|
userId?: string | null | undefined;
|
|
218
|
-
tradeId?: string | null | undefined;
|
|
219
|
-
companyId?: string | null | undefined;
|
|
220
|
-
clientId?: string | null | undefined;
|
|
221
213
|
location?: {
|
|
222
214
|
postcode?: string | null | undefined;
|
|
223
215
|
radius?: number | null | undefined;
|
|
224
216
|
} | null | undefined;
|
|
217
|
+
tradeId?: string | null | undefined;
|
|
218
|
+
clientId?: string | null | undefined;
|
|
219
|
+
companyId?: string | null | undefined;
|
|
220
|
+
} | null | undefined;
|
|
221
|
+
workerName?: {
|
|
222
|
+
value?: string | undefined;
|
|
223
|
+
exact?: boolean | "true" | "false" | undefined;
|
|
225
224
|
} | null | undefined;
|
|
225
|
+
agentId?: string | null | undefined;
|
|
226
226
|
}>;
|
|
227
227
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
228
228
|
field: z.ZodString;
|
|
@@ -244,7 +244,7 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
244
244
|
limit: number;
|
|
245
245
|
page: number;
|
|
246
246
|
sort?: {
|
|
247
|
-
field: "status" | "date" | "
|
|
247
|
+
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
248
248
|
order: "ASC" | "DESC";
|
|
249
249
|
}[] | null | undefined;
|
|
250
250
|
status?: {
|
|
@@ -254,34 +254,32 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
254
254
|
from?: string | null | undefined;
|
|
255
255
|
to?: string | null | undefined;
|
|
256
256
|
} | null | undefined;
|
|
257
|
-
workerName?: {
|
|
258
|
-
value?: string | undefined;
|
|
259
|
-
exact?: boolean | undefined;
|
|
260
|
-
} | null | undefined;
|
|
261
|
-
agentId?: string | null | undefined;
|
|
262
257
|
pay?: {
|
|
263
258
|
minRate?: number | null | undefined;
|
|
264
259
|
maxRate?: number | null | undefined;
|
|
265
260
|
} | null | undefined;
|
|
266
261
|
job?: {
|
|
267
262
|
userId?: string | null | undefined;
|
|
268
|
-
tradeId?: string | null | undefined;
|
|
269
|
-
companyId?: string | null | undefined;
|
|
270
|
-
clientId?: string | null | undefined;
|
|
271
263
|
location?: {
|
|
272
264
|
postcode?: string | null | undefined;
|
|
273
265
|
radius?: number | null | undefined;
|
|
274
266
|
} | null | undefined;
|
|
267
|
+
tradeId?: string | null | undefined;
|
|
268
|
+
clientId?: string | null | undefined;
|
|
269
|
+
companyId?: string | null | undefined;
|
|
270
|
+
} | null | undefined;
|
|
271
|
+
workerName?: {
|
|
272
|
+
value?: string | undefined;
|
|
273
|
+
exact?: boolean | undefined;
|
|
275
274
|
} | null | undefined;
|
|
275
|
+
agentId?: string | null | undefined;
|
|
276
276
|
};
|
|
277
277
|
entity: "actives";
|
|
278
278
|
columns: string[];
|
|
279
279
|
}, {
|
|
280
280
|
filter: {
|
|
281
|
-
limit?: number | undefined;
|
|
282
|
-
page?: number | undefined;
|
|
283
281
|
sort?: {
|
|
284
|
-
field: "status" | "date" | "
|
|
282
|
+
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
285
283
|
order: "ASC" | "DESC";
|
|
286
284
|
}[] | null | undefined;
|
|
287
285
|
status?: {
|
|
@@ -291,25 +289,27 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
291
289
|
from?: string | null | undefined;
|
|
292
290
|
to?: string | null | undefined;
|
|
293
291
|
} | null | undefined;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
exact?: boolean | "true" | "false" | undefined;
|
|
297
|
-
} | null | undefined;
|
|
298
|
-
agentId?: string | null | undefined;
|
|
292
|
+
limit?: number | undefined;
|
|
293
|
+
page?: number | undefined;
|
|
299
294
|
pay?: {
|
|
300
295
|
minRate?: number | null | undefined;
|
|
301
296
|
maxRate?: number | null | undefined;
|
|
302
297
|
} | null | undefined;
|
|
303
298
|
job?: {
|
|
304
299
|
userId?: string | null | undefined;
|
|
305
|
-
tradeId?: string | null | undefined;
|
|
306
|
-
companyId?: string | null | undefined;
|
|
307
|
-
clientId?: string | null | undefined;
|
|
308
300
|
location?: {
|
|
309
301
|
postcode?: string | null | undefined;
|
|
310
302
|
radius?: number | null | undefined;
|
|
311
303
|
} | null | undefined;
|
|
304
|
+
tradeId?: string | null | undefined;
|
|
305
|
+
clientId?: string | null | undefined;
|
|
306
|
+
companyId?: string | null | undefined;
|
|
307
|
+
} | null | undefined;
|
|
308
|
+
workerName?: {
|
|
309
|
+
value?: string | undefined;
|
|
310
|
+
exact?: boolean | "true" | "false" | undefined;
|
|
312
311
|
} | null | undefined;
|
|
312
|
+
agentId?: string | null | undefined;
|
|
313
313
|
};
|
|
314
314
|
entity: "actives";
|
|
315
315
|
columns: string[];
|
|
@@ -348,10 +348,10 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
348
348
|
type: z.ZodOptional<z.ZodEnum<["REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "CONFIRMED"]>>;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
350
|
category: "ATTEMPT";
|
|
351
|
-
type?: "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" |
|
|
351
|
+
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;
|
|
352
352
|
}, {
|
|
353
353
|
category: "ATTEMPT";
|
|
354
|
-
type?: "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" |
|
|
354
|
+
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;
|
|
355
355
|
}>, z.ZodObject<{
|
|
356
356
|
category: z.ZodLiteral<"FAILED_START">;
|
|
357
357
|
type: z.ZodOptional<z.ZodEnum<["DIDNT_START_BECAUSE_OF_WORKER", "DIDNT_START_BECAUSE_OF_US", "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE", "DIDNT_START_BECAUSE_OF_AGENCY", "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION"]>>;
|
|
@@ -406,22 +406,22 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
406
406
|
}>>>;
|
|
407
407
|
}, "strip", z.ZodTypeAny, {
|
|
408
408
|
userId?: string | null | undefined;
|
|
409
|
-
tradeId?: string | null | undefined;
|
|
410
|
-
companyId?: string | null | undefined;
|
|
411
|
-
clientId?: string | null | undefined;
|
|
412
409
|
location?: {
|
|
413
410
|
postcode?: string | null | undefined;
|
|
414
411
|
radius?: number | null | undefined;
|
|
415
412
|
} | null | undefined;
|
|
416
|
-
}, {
|
|
417
|
-
userId?: string | null | undefined;
|
|
418
413
|
tradeId?: string | null | undefined;
|
|
419
|
-
companyId?: string | null | undefined;
|
|
420
414
|
clientId?: string | null | undefined;
|
|
415
|
+
companyId?: string | null | undefined;
|
|
416
|
+
}, {
|
|
417
|
+
userId?: string | null | undefined;
|
|
421
418
|
location?: {
|
|
422
419
|
postcode?: string | null | undefined;
|
|
423
420
|
radius?: number | null | undefined;
|
|
424
421
|
} | null | undefined;
|
|
422
|
+
tradeId?: string | null | undefined;
|
|
423
|
+
clientId?: string | null | undefined;
|
|
424
|
+
companyId?: string | null | undefined;
|
|
425
425
|
}>>>;
|
|
426
426
|
agentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
427
427
|
endDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -458,22 +458,22 @@ 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" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
462
462
|
order: "ASC" | "DESC";
|
|
463
463
|
}, {
|
|
464
|
-
field: "status" | "
|
|
464
|
+
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
465
465
|
order: "ASC" | "DESC";
|
|
466
466
|
}>, "many">>>;
|
|
467
467
|
}, "strip", z.ZodTypeAny, {
|
|
468
468
|
limit: number;
|
|
469
469
|
page: number;
|
|
470
470
|
sort?: {
|
|
471
|
-
field: "status" | "
|
|
471
|
+
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
472
472
|
order: "ASC" | "DESC";
|
|
473
473
|
}[] | null | undefined;
|
|
474
474
|
status?: {
|
|
475
475
|
category: "ATTEMPT";
|
|
476
|
-
type?: "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" |
|
|
476
|
+
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;
|
|
477
477
|
} | {
|
|
478
478
|
category: "FAILED_START";
|
|
479
479
|
type?: "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | undefined;
|
|
@@ -487,47 +487,45 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
487
487
|
category: "CANCELLED";
|
|
488
488
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
489
489
|
} | null | undefined;
|
|
490
|
-
|
|
490
|
+
createdAt?: {
|
|
491
491
|
from?: string | null | undefined;
|
|
492
492
|
to?: string | null | undefined;
|
|
493
493
|
} | null | undefined;
|
|
494
|
-
|
|
494
|
+
updatedAt?: {
|
|
495
495
|
from?: string | null | undefined;
|
|
496
496
|
to?: string | null | undefined;
|
|
497
497
|
} | null | undefined;
|
|
498
|
-
|
|
498
|
+
startDate?: {
|
|
499
499
|
from?: string | null | undefined;
|
|
500
500
|
to?: string | null | undefined;
|
|
501
501
|
} | null | undefined;
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
502
|
+
endDate?: {
|
|
503
|
+
from?: string | null | undefined;
|
|
504
|
+
to?: string | null | undefined;
|
|
505
505
|
} | null | undefined;
|
|
506
|
-
agentId?: string | null | undefined;
|
|
507
506
|
job?: {
|
|
508
507
|
userId?: string | null | undefined;
|
|
509
|
-
tradeId?: string | null | undefined;
|
|
510
|
-
companyId?: string | null | undefined;
|
|
511
|
-
clientId?: string | null | undefined;
|
|
512
508
|
location?: {
|
|
513
509
|
postcode?: string | null | undefined;
|
|
514
510
|
radius?: number | null | undefined;
|
|
515
511
|
} | null | undefined;
|
|
512
|
+
tradeId?: string | null | undefined;
|
|
513
|
+
clientId?: string | null | undefined;
|
|
514
|
+
companyId?: string | null | undefined;
|
|
516
515
|
} | null | undefined;
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
516
|
+
workerName?: {
|
|
517
|
+
value?: string | undefined;
|
|
518
|
+
exact?: boolean | undefined;
|
|
520
519
|
} | null | undefined;
|
|
520
|
+
agentId?: string | null | undefined;
|
|
521
521
|
}, {
|
|
522
|
-
limit?: number | undefined;
|
|
523
|
-
page?: number | undefined;
|
|
524
522
|
sort?: {
|
|
525
|
-
field: "status" | "
|
|
523
|
+
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
526
524
|
order: "ASC" | "DESC";
|
|
527
525
|
}[] | null | undefined;
|
|
528
526
|
status?: {
|
|
529
527
|
category: "ATTEMPT";
|
|
530
|
-
type?: "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" |
|
|
528
|
+
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;
|
|
531
529
|
} | {
|
|
532
530
|
category: "FAILED_START";
|
|
533
531
|
type?: "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | undefined;
|
|
@@ -541,37 +539,39 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
541
539
|
category: "CANCELLED";
|
|
542
540
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
543
541
|
} | null | undefined;
|
|
544
|
-
|
|
542
|
+
limit?: number | undefined;
|
|
543
|
+
page?: number | undefined;
|
|
544
|
+
createdAt?: {
|
|
545
545
|
from?: string | null | undefined;
|
|
546
546
|
to?: string | null | undefined;
|
|
547
547
|
} | null | undefined;
|
|
548
|
-
|
|
548
|
+
updatedAt?: {
|
|
549
549
|
from?: string | null | undefined;
|
|
550
550
|
to?: string | null | undefined;
|
|
551
551
|
} | null | undefined;
|
|
552
|
-
|
|
552
|
+
startDate?: {
|
|
553
553
|
from?: string | null | undefined;
|
|
554
554
|
to?: string | null | undefined;
|
|
555
555
|
} | null | undefined;
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
556
|
+
endDate?: {
|
|
557
|
+
from?: string | null | undefined;
|
|
558
|
+
to?: string | null | undefined;
|
|
559
559
|
} | null | undefined;
|
|
560
|
-
agentId?: string | null | undefined;
|
|
561
560
|
job?: {
|
|
562
561
|
userId?: string | null | undefined;
|
|
563
|
-
tradeId?: string | null | undefined;
|
|
564
|
-
companyId?: string | null | undefined;
|
|
565
|
-
clientId?: string | null | undefined;
|
|
566
562
|
location?: {
|
|
567
563
|
postcode?: string | null | undefined;
|
|
568
564
|
radius?: number | null | undefined;
|
|
569
565
|
} | null | undefined;
|
|
566
|
+
tradeId?: string | null | undefined;
|
|
567
|
+
clientId?: string | null | undefined;
|
|
568
|
+
companyId?: string | null | undefined;
|
|
570
569
|
} | null | undefined;
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
570
|
+
workerName?: {
|
|
571
|
+
value?: string | undefined;
|
|
572
|
+
exact?: boolean | "true" | "false" | undefined;
|
|
574
573
|
} | null | undefined;
|
|
574
|
+
agentId?: string | null | undefined;
|
|
575
575
|
}>;
|
|
576
576
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
577
577
|
field: z.ZodString;
|
|
@@ -593,12 +593,12 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
593
593
|
limit: number;
|
|
594
594
|
page: number;
|
|
595
595
|
sort?: {
|
|
596
|
-
field: "status" | "
|
|
596
|
+
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
597
597
|
order: "ASC" | "DESC";
|
|
598
598
|
}[] | null | undefined;
|
|
599
599
|
status?: {
|
|
600
600
|
category: "ATTEMPT";
|
|
601
|
-
type?: "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" |
|
|
601
|
+
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;
|
|
602
602
|
} | {
|
|
603
603
|
category: "FAILED_START";
|
|
604
604
|
type?: "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | undefined;
|
|
@@ -612,51 +612,49 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
612
612
|
category: "CANCELLED";
|
|
613
613
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
614
614
|
} | null | undefined;
|
|
615
|
-
|
|
615
|
+
createdAt?: {
|
|
616
616
|
from?: string | null | undefined;
|
|
617
617
|
to?: string | null | undefined;
|
|
618
618
|
} | null | undefined;
|
|
619
|
-
|
|
619
|
+
updatedAt?: {
|
|
620
620
|
from?: string | null | undefined;
|
|
621
621
|
to?: string | null | undefined;
|
|
622
622
|
} | null | undefined;
|
|
623
|
-
|
|
623
|
+
startDate?: {
|
|
624
624
|
from?: string | null | undefined;
|
|
625
625
|
to?: string | null | undefined;
|
|
626
626
|
} | null | undefined;
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
627
|
+
endDate?: {
|
|
628
|
+
from?: string | null | undefined;
|
|
629
|
+
to?: string | null | undefined;
|
|
630
630
|
} | null | undefined;
|
|
631
|
-
agentId?: string | null | undefined;
|
|
632
631
|
job?: {
|
|
633
632
|
userId?: string | null | undefined;
|
|
634
|
-
tradeId?: string | null | undefined;
|
|
635
|
-
companyId?: string | null | undefined;
|
|
636
|
-
clientId?: string | null | undefined;
|
|
637
633
|
location?: {
|
|
638
634
|
postcode?: string | null | undefined;
|
|
639
635
|
radius?: number | null | undefined;
|
|
640
636
|
} | null | undefined;
|
|
637
|
+
tradeId?: string | null | undefined;
|
|
638
|
+
clientId?: string | null | undefined;
|
|
639
|
+
companyId?: string | null | undefined;
|
|
641
640
|
} | null | undefined;
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
641
|
+
workerName?: {
|
|
642
|
+
value?: string | undefined;
|
|
643
|
+
exact?: boolean | undefined;
|
|
645
644
|
} | null | undefined;
|
|
645
|
+
agentId?: string | null | undefined;
|
|
646
646
|
};
|
|
647
647
|
entity: "bookings";
|
|
648
648
|
columns: string[];
|
|
649
649
|
}, {
|
|
650
650
|
filter: {
|
|
651
|
-
limit?: number | undefined;
|
|
652
|
-
page?: number | undefined;
|
|
653
651
|
sort?: {
|
|
654
|
-
field: "status" | "
|
|
652
|
+
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
655
653
|
order: "ASC" | "DESC";
|
|
656
654
|
}[] | null | undefined;
|
|
657
655
|
status?: {
|
|
658
656
|
category: "ATTEMPT";
|
|
659
|
-
type?: "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" |
|
|
657
|
+
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;
|
|
660
658
|
} | {
|
|
661
659
|
category: "FAILED_START";
|
|
662
660
|
type?: "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | undefined;
|
|
@@ -670,37 +668,39 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
670
668
|
category: "CANCELLED";
|
|
671
669
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
672
670
|
} | null | undefined;
|
|
673
|
-
|
|
671
|
+
limit?: number | undefined;
|
|
672
|
+
page?: number | undefined;
|
|
673
|
+
createdAt?: {
|
|
674
674
|
from?: string | null | undefined;
|
|
675
675
|
to?: string | null | undefined;
|
|
676
676
|
} | null | undefined;
|
|
677
|
-
|
|
677
|
+
updatedAt?: {
|
|
678
678
|
from?: string | null | undefined;
|
|
679
679
|
to?: string | null | undefined;
|
|
680
680
|
} | null | undefined;
|
|
681
|
-
|
|
681
|
+
startDate?: {
|
|
682
682
|
from?: string | null | undefined;
|
|
683
683
|
to?: string | null | undefined;
|
|
684
684
|
} | null | undefined;
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
685
|
+
endDate?: {
|
|
686
|
+
from?: string | null | undefined;
|
|
687
|
+
to?: string | null | undefined;
|
|
688
688
|
} | null | undefined;
|
|
689
|
-
agentId?: string | null | undefined;
|
|
690
689
|
job?: {
|
|
691
690
|
userId?: string | null | undefined;
|
|
692
|
-
tradeId?: string | null | undefined;
|
|
693
|
-
companyId?: string | null | undefined;
|
|
694
|
-
clientId?: string | null | undefined;
|
|
695
691
|
location?: {
|
|
696
692
|
postcode?: string | null | undefined;
|
|
697
693
|
radius?: number | null | undefined;
|
|
698
694
|
} | null | undefined;
|
|
695
|
+
tradeId?: string | null | undefined;
|
|
696
|
+
clientId?: string | null | undefined;
|
|
697
|
+
companyId?: string | null | undefined;
|
|
699
698
|
} | null | undefined;
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
699
|
+
workerName?: {
|
|
700
|
+
value?: string | undefined;
|
|
701
|
+
exact?: boolean | "true" | "false" | undefined;
|
|
703
702
|
} | null | undefined;
|
|
703
|
+
agentId?: string | null | undefined;
|
|
704
704
|
};
|
|
705
705
|
entity: "bookings";
|
|
706
706
|
columns: string[];
|
|
@@ -757,39 +757,39 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
757
757
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
758
758
|
order: "ASC" | "DESC";
|
|
759
759
|
}[] | null | undefined;
|
|
760
|
+
phoneNumber?: string | undefined;
|
|
760
761
|
createdAt?: {
|
|
761
762
|
from?: string | null | undefined;
|
|
762
763
|
to?: string | null | undefined;
|
|
763
764
|
} | null | undefined;
|
|
764
|
-
|
|
765
|
+
companyId?: string | undefined;
|
|
765
766
|
agentId?: string | undefined;
|
|
766
767
|
rating?: {
|
|
767
768
|
from?: import("../common/call-rating.schema").CallRating | null | undefined;
|
|
768
769
|
to?: import("../common/call-rating.schema").CallRating | null | undefined;
|
|
769
770
|
} | null | undefined;
|
|
770
771
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
771
|
-
companyId?: string | undefined;
|
|
772
772
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
773
773
|
leadName?: string | undefined;
|
|
774
774
|
}, {
|
|
775
|
-
limit?: number | undefined;
|
|
776
|
-
page?: number | undefined;
|
|
777
775
|
sort?: {
|
|
778
776
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
779
777
|
order: "ASC" | "DESC";
|
|
780
778
|
}[] | null | undefined;
|
|
779
|
+
phoneNumber?: string | undefined;
|
|
780
|
+
limit?: number | undefined;
|
|
781
|
+
page?: number | undefined;
|
|
781
782
|
createdAt?: {
|
|
782
783
|
from?: string | null | undefined;
|
|
783
784
|
to?: string | null | undefined;
|
|
784
785
|
} | null | undefined;
|
|
785
|
-
|
|
786
|
+
companyId?: string | undefined;
|
|
786
787
|
agentId?: string | undefined;
|
|
787
788
|
rating?: {
|
|
788
789
|
from?: unknown;
|
|
789
790
|
to?: unknown;
|
|
790
791
|
} | null | undefined;
|
|
791
792
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
792
|
-
companyId?: string | undefined;
|
|
793
793
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
794
794
|
leadName?: string | undefined;
|
|
795
795
|
}>;
|
|
@@ -816,18 +816,18 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
816
816
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
817
817
|
order: "ASC" | "DESC";
|
|
818
818
|
}[] | null | undefined;
|
|
819
|
+
phoneNumber?: string | undefined;
|
|
819
820
|
createdAt?: {
|
|
820
821
|
from?: string | null | undefined;
|
|
821
822
|
to?: string | null | undefined;
|
|
822
823
|
} | null | undefined;
|
|
823
|
-
|
|
824
|
+
companyId?: string | undefined;
|
|
824
825
|
agentId?: string | undefined;
|
|
825
826
|
rating?: {
|
|
826
827
|
from?: import("../common/call-rating.schema").CallRating | null | undefined;
|
|
827
828
|
to?: import("../common/call-rating.schema").CallRating | null | undefined;
|
|
828
829
|
} | null | undefined;
|
|
829
830
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
830
|
-
companyId?: string | undefined;
|
|
831
831
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
832
832
|
leadName?: string | undefined;
|
|
833
833
|
};
|
|
@@ -835,24 +835,24 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
835
835
|
columns: string[];
|
|
836
836
|
}, {
|
|
837
837
|
filter: {
|
|
838
|
-
limit?: number | undefined;
|
|
839
|
-
page?: number | undefined;
|
|
840
838
|
sort?: {
|
|
841
839
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
842
840
|
order: "ASC" | "DESC";
|
|
843
841
|
}[] | null | undefined;
|
|
842
|
+
phoneNumber?: string | undefined;
|
|
843
|
+
limit?: number | undefined;
|
|
844
|
+
page?: number | undefined;
|
|
844
845
|
createdAt?: {
|
|
845
846
|
from?: string | null | undefined;
|
|
846
847
|
to?: string | null | undefined;
|
|
847
848
|
} | null | undefined;
|
|
848
|
-
|
|
849
|
+
companyId?: string | undefined;
|
|
849
850
|
agentId?: string | undefined;
|
|
850
851
|
rating?: {
|
|
851
852
|
from?: unknown;
|
|
852
853
|
to?: unknown;
|
|
853
854
|
} | null | undefined;
|
|
854
855
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
855
|
-
companyId?: string | undefined;
|
|
856
856
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
857
857
|
leadName?: string | undefined;
|
|
858
858
|
};
|
|
@@ -925,21 +925,22 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
925
925
|
from?: string | null | undefined;
|
|
926
926
|
to?: string | null | undefined;
|
|
927
927
|
}>>>;
|
|
928
|
+
outreachRequested: z.ZodNullable<z.ZodOptional<z.ZodEnum<["only_with", "only_without"]>>>;
|
|
928
929
|
sort: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
929
930
|
field: z.ZodEnum<["description", "numberOfPositions", "status", "tradeId", "collaborationCompany", "collaborationClient", "collaborationAgent", "distance", "postcode", "payRate", "receivedRate", "workHours", "qualificationsCount", "creationSource", "createdAt", "updatedAt", "startDate"]>;
|
|
930
931
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
931
932
|
}, "strip", z.ZodTypeAny, {
|
|
932
|
-
field: "status" | "description" | "
|
|
933
|
+
field: "status" | "description" | "postcode" | "createdAt" | "updatedAt" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
933
934
|
order: "ASC" | "DESC";
|
|
934
935
|
}, {
|
|
935
|
-
field: "status" | "description" | "
|
|
936
|
+
field: "status" | "description" | "postcode" | "createdAt" | "updatedAt" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
936
937
|
order: "ASC" | "DESC";
|
|
937
938
|
}>, "many">>>;
|
|
938
939
|
}, "strip", z.ZodTypeAny, {
|
|
939
940
|
limit: number;
|
|
940
941
|
page: number;
|
|
941
942
|
sort?: {
|
|
942
|
-
field: "status" | "description" | "
|
|
943
|
+
field: "status" | "description" | "postcode" | "createdAt" | "updatedAt" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
943
944
|
order: "ASC" | "DESC";
|
|
944
945
|
}[] | null | undefined;
|
|
945
946
|
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
@@ -953,31 +954,32 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
953
954
|
to?: string | null | undefined;
|
|
954
955
|
} | null | undefined;
|
|
955
956
|
userId?: string | null | undefined;
|
|
956
|
-
tradeId?: string | null | undefined;
|
|
957
|
-
companyId?: string | null | undefined;
|
|
958
|
-
pay?: {
|
|
959
|
-
minRate?: number | null | undefined;
|
|
960
|
-
maxRate?: number | null | undefined;
|
|
961
|
-
} | null | undefined;
|
|
962
|
-
clientId?: string | null | undefined;
|
|
963
957
|
location?: {
|
|
964
958
|
postcode?: string | null | undefined;
|
|
965
959
|
radius?: number | null | undefined;
|
|
966
960
|
} | null | undefined;
|
|
967
|
-
|
|
961
|
+
pay?: {
|
|
962
|
+
minRate?: number | null | undefined;
|
|
963
|
+
maxRate?: number | null | undefined;
|
|
964
|
+
} | null | undefined;
|
|
965
|
+
tradeId?: string | null | undefined;
|
|
968
966
|
qualificationFilters?: {
|
|
969
967
|
qualificationId?: string | undefined;
|
|
970
968
|
qualificationTypeId?: string | undefined;
|
|
971
969
|
}[] | undefined;
|
|
970
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
971
|
+
clientId?: string | null | undefined;
|
|
972
|
+
companyId?: string | null | undefined;
|
|
973
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
972
974
|
}, {
|
|
973
|
-
limit?: number | undefined;
|
|
974
|
-
page?: number | undefined;
|
|
975
975
|
sort?: {
|
|
976
|
-
field: "status" | "description" | "
|
|
976
|
+
field: "status" | "description" | "postcode" | "createdAt" | "updatedAt" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
977
977
|
order: "ASC" | "DESC";
|
|
978
978
|
}[] | null | undefined;
|
|
979
979
|
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
980
980
|
description?: string | null | undefined;
|
|
981
|
+
limit?: number | undefined;
|
|
982
|
+
page?: number | undefined;
|
|
981
983
|
createdAt?: {
|
|
982
984
|
from?: string | null | undefined;
|
|
983
985
|
to?: string | null | undefined;
|
|
@@ -987,22 +989,23 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
987
989
|
to?: string | null | undefined;
|
|
988
990
|
} | null | undefined;
|
|
989
991
|
userId?: string | null | undefined;
|
|
990
|
-
tradeId?: string | null | undefined;
|
|
991
|
-
companyId?: string | null | undefined;
|
|
992
|
-
pay?: {
|
|
993
|
-
minRate?: number | null | undefined;
|
|
994
|
-
maxRate?: number | null | undefined;
|
|
995
|
-
} | null | undefined;
|
|
996
|
-
clientId?: string | null | undefined;
|
|
997
992
|
location?: {
|
|
998
993
|
postcode?: string | null | undefined;
|
|
999
994
|
radius?: number | null | undefined;
|
|
1000
995
|
} | null | undefined;
|
|
1001
|
-
|
|
996
|
+
pay?: {
|
|
997
|
+
minRate?: number | null | undefined;
|
|
998
|
+
maxRate?: number | null | undefined;
|
|
999
|
+
} | null | undefined;
|
|
1000
|
+
tradeId?: string | null | undefined;
|
|
1002
1001
|
qualificationFilters?: {
|
|
1003
1002
|
qualificationId?: string | undefined;
|
|
1004
1003
|
qualificationTypeId?: string | undefined;
|
|
1005
1004
|
}[] | undefined;
|
|
1005
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
1006
|
+
clientId?: string | null | undefined;
|
|
1007
|
+
companyId?: string | null | undefined;
|
|
1008
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
1006
1009
|
}>;
|
|
1007
1010
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1008
1011
|
field: z.ZodString;
|
|
@@ -1024,7 +1027,7 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1024
1027
|
limit: number;
|
|
1025
1028
|
page: number;
|
|
1026
1029
|
sort?: {
|
|
1027
|
-
field: "status" | "description" | "
|
|
1030
|
+
field: "status" | "description" | "postcode" | "createdAt" | "updatedAt" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
1028
1031
|
order: "ASC" | "DESC";
|
|
1029
1032
|
}[] | null | undefined;
|
|
1030
1033
|
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
@@ -1038,35 +1041,36 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1038
1041
|
to?: string | null | undefined;
|
|
1039
1042
|
} | null | undefined;
|
|
1040
1043
|
userId?: string | null | undefined;
|
|
1041
|
-
tradeId?: string | null | undefined;
|
|
1042
|
-
companyId?: string | null | undefined;
|
|
1043
|
-
pay?: {
|
|
1044
|
-
minRate?: number | null | undefined;
|
|
1045
|
-
maxRate?: number | null | undefined;
|
|
1046
|
-
} | null | undefined;
|
|
1047
|
-
clientId?: string | null | undefined;
|
|
1048
1044
|
location?: {
|
|
1049
1045
|
postcode?: string | null | undefined;
|
|
1050
1046
|
radius?: number | null | undefined;
|
|
1051
1047
|
} | null | undefined;
|
|
1052
|
-
|
|
1048
|
+
pay?: {
|
|
1049
|
+
minRate?: number | null | undefined;
|
|
1050
|
+
maxRate?: number | null | undefined;
|
|
1051
|
+
} | null | undefined;
|
|
1052
|
+
tradeId?: string | null | undefined;
|
|
1053
1053
|
qualificationFilters?: {
|
|
1054
1054
|
qualificationId?: string | undefined;
|
|
1055
1055
|
qualificationTypeId?: string | undefined;
|
|
1056
1056
|
}[] | undefined;
|
|
1057
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
1058
|
+
clientId?: string | null | undefined;
|
|
1059
|
+
companyId?: string | null | undefined;
|
|
1060
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
1057
1061
|
};
|
|
1058
1062
|
entity: "jobs";
|
|
1059
1063
|
columns: string[];
|
|
1060
1064
|
}, {
|
|
1061
1065
|
filter: {
|
|
1062
|
-
limit?: number | undefined;
|
|
1063
|
-
page?: number | undefined;
|
|
1064
1066
|
sort?: {
|
|
1065
|
-
field: "status" | "description" | "
|
|
1067
|
+
field: "status" | "description" | "postcode" | "createdAt" | "updatedAt" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
1066
1068
|
order: "ASC" | "DESC";
|
|
1067
1069
|
}[] | null | undefined;
|
|
1068
1070
|
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1069
1071
|
description?: string | null | undefined;
|
|
1072
|
+
limit?: number | undefined;
|
|
1073
|
+
page?: number | undefined;
|
|
1070
1074
|
createdAt?: {
|
|
1071
1075
|
from?: string | null | undefined;
|
|
1072
1076
|
to?: string | null | undefined;
|
|
@@ -1076,22 +1080,23 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1076
1080
|
to?: string | null | undefined;
|
|
1077
1081
|
} | null | undefined;
|
|
1078
1082
|
userId?: string | null | undefined;
|
|
1079
|
-
tradeId?: string | null | undefined;
|
|
1080
|
-
companyId?: string | null | undefined;
|
|
1081
|
-
pay?: {
|
|
1082
|
-
minRate?: number | null | undefined;
|
|
1083
|
-
maxRate?: number | null | undefined;
|
|
1084
|
-
} | null | undefined;
|
|
1085
|
-
clientId?: string | null | undefined;
|
|
1086
1083
|
location?: {
|
|
1087
1084
|
postcode?: string | null | undefined;
|
|
1088
1085
|
radius?: number | null | undefined;
|
|
1089
1086
|
} | null | undefined;
|
|
1090
|
-
|
|
1087
|
+
pay?: {
|
|
1088
|
+
minRate?: number | null | undefined;
|
|
1089
|
+
maxRate?: number | null | undefined;
|
|
1090
|
+
} | null | undefined;
|
|
1091
|
+
tradeId?: string | null | undefined;
|
|
1091
1092
|
qualificationFilters?: {
|
|
1092
1093
|
qualificationId?: string | undefined;
|
|
1093
1094
|
qualificationTypeId?: string | undefined;
|
|
1094
1095
|
}[] | undefined;
|
|
1096
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
1097
|
+
clientId?: string | null | undefined;
|
|
1098
|
+
companyId?: string | null | undefined;
|
|
1099
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
1095
1100
|
};
|
|
1096
1101
|
entity: "jobs";
|
|
1097
1102
|
columns: string[];
|
|
@@ -1109,13 +1114,13 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1109
1114
|
email: z.ZodOptional<z.ZodString>;
|
|
1110
1115
|
phone: z.ZodOptional<z.ZodString>;
|
|
1111
1116
|
roles: z.ZodOptional<z.ZodObject<{
|
|
1112
|
-
values: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION"]>, "many">>;
|
|
1117
|
+
values: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">>;
|
|
1113
1118
|
requireAll: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
1114
1119
|
}, "strip", z.ZodTypeAny, {
|
|
1115
|
-
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1120
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1116
1121
|
requireAll?: boolean | undefined;
|
|
1117
1122
|
}, {
|
|
1118
|
-
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1123
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1119
1124
|
requireAll?: unknown;
|
|
1120
1125
|
}>>;
|
|
1121
1126
|
officeId: z.ZodOptional<z.ZodString>;
|
|
@@ -1158,45 +1163,45 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1158
1163
|
order: "ASC" | "DESC";
|
|
1159
1164
|
}[] | null | undefined;
|
|
1160
1165
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1161
|
-
email?: string | undefined;
|
|
1162
|
-
roles?: {
|
|
1163
|
-
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1164
|
-
requireAll?: boolean | undefined;
|
|
1165
|
-
} | undefined;
|
|
1166
1166
|
name?: string | undefined;
|
|
1167
|
+
email?: string | undefined;
|
|
1167
1168
|
createdAt?: {
|
|
1168
1169
|
from?: string | null | undefined;
|
|
1169
1170
|
to?: string | null | undefined;
|
|
1170
1171
|
} | null | undefined;
|
|
1172
|
+
roles?: {
|
|
1173
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1174
|
+
requireAll?: boolean | undefined;
|
|
1175
|
+
} | undefined;
|
|
1176
|
+
officeId?: string | undefined;
|
|
1171
1177
|
updatedAt?: {
|
|
1172
1178
|
from?: string | null | undefined;
|
|
1173
1179
|
to?: string | null | undefined;
|
|
1174
1180
|
} | null | undefined;
|
|
1175
|
-
officeId?: string | undefined;
|
|
1176
1181
|
phone?: string | undefined;
|
|
1177
1182
|
}, {
|
|
1178
|
-
limit?: number | undefined;
|
|
1179
|
-
page?: number | undefined;
|
|
1180
1183
|
sort?: {
|
|
1181
1184
|
field: "firstName" | "lastName" | "email" | "createdAt" | "office";
|
|
1182
1185
|
order: "ASC" | "DESC";
|
|
1183
1186
|
}[] | null | undefined;
|
|
1184
1187
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1185
|
-
email?: string | undefined;
|
|
1186
|
-
roles?: {
|
|
1187
|
-
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1188
|
-
requireAll?: unknown;
|
|
1189
|
-
} | undefined;
|
|
1190
1188
|
name?: string | undefined;
|
|
1189
|
+
limit?: number | undefined;
|
|
1190
|
+
page?: number | undefined;
|
|
1191
|
+
email?: string | undefined;
|
|
1191
1192
|
createdAt?: {
|
|
1192
1193
|
from?: string | null | undefined;
|
|
1193
1194
|
to?: string | null | undefined;
|
|
1194
1195
|
} | null | undefined;
|
|
1196
|
+
roles?: {
|
|
1197
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1198
|
+
requireAll?: unknown;
|
|
1199
|
+
} | undefined;
|
|
1200
|
+
officeId?: string | undefined;
|
|
1195
1201
|
updatedAt?: {
|
|
1196
1202
|
from?: string | null | undefined;
|
|
1197
1203
|
to?: string | null | undefined;
|
|
1198
1204
|
} | null | undefined;
|
|
1199
|
-
officeId?: string | undefined;
|
|
1200
1205
|
phone?: string | undefined;
|
|
1201
1206
|
}>;
|
|
1202
1207
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1223,49 +1228,49 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1223
1228
|
order: "ASC" | "DESC";
|
|
1224
1229
|
}[] | null | undefined;
|
|
1225
1230
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1226
|
-
email?: string | undefined;
|
|
1227
|
-
roles?: {
|
|
1228
|
-
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1229
|
-
requireAll?: boolean | undefined;
|
|
1230
|
-
} | undefined;
|
|
1231
1231
|
name?: string | undefined;
|
|
1232
|
+
email?: string | undefined;
|
|
1232
1233
|
createdAt?: {
|
|
1233
1234
|
from?: string | null | undefined;
|
|
1234
1235
|
to?: string | null | undefined;
|
|
1235
1236
|
} | null | undefined;
|
|
1237
|
+
roles?: {
|
|
1238
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1239
|
+
requireAll?: boolean | undefined;
|
|
1240
|
+
} | undefined;
|
|
1241
|
+
officeId?: string | undefined;
|
|
1236
1242
|
updatedAt?: {
|
|
1237
1243
|
from?: string | null | undefined;
|
|
1238
1244
|
to?: string | null | undefined;
|
|
1239
1245
|
} | null | undefined;
|
|
1240
|
-
officeId?: string | undefined;
|
|
1241
1246
|
phone?: string | undefined;
|
|
1242
1247
|
};
|
|
1243
1248
|
entity: "users";
|
|
1244
1249
|
columns: string[];
|
|
1245
1250
|
}, {
|
|
1246
1251
|
filter: {
|
|
1247
|
-
limit?: number | undefined;
|
|
1248
|
-
page?: number | undefined;
|
|
1249
1252
|
sort?: {
|
|
1250
1253
|
field: "firstName" | "lastName" | "email" | "createdAt" | "office";
|
|
1251
1254
|
order: "ASC" | "DESC";
|
|
1252
1255
|
}[] | null | undefined;
|
|
1253
1256
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1254
|
-
email?: string | undefined;
|
|
1255
|
-
roles?: {
|
|
1256
|
-
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1257
|
-
requireAll?: unknown;
|
|
1258
|
-
} | undefined;
|
|
1259
1257
|
name?: string | undefined;
|
|
1258
|
+
limit?: number | undefined;
|
|
1259
|
+
page?: number | undefined;
|
|
1260
|
+
email?: string | undefined;
|
|
1260
1261
|
createdAt?: {
|
|
1261
1262
|
from?: string | null | undefined;
|
|
1262
1263
|
to?: string | null | undefined;
|
|
1263
1264
|
} | null | undefined;
|
|
1265
|
+
roles?: {
|
|
1266
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
1267
|
+
requireAll?: unknown;
|
|
1268
|
+
} | undefined;
|
|
1269
|
+
officeId?: string | undefined;
|
|
1264
1270
|
updatedAt?: {
|
|
1265
1271
|
from?: string | null | undefined;
|
|
1266
1272
|
to?: string | null | undefined;
|
|
1267
1273
|
} | null | undefined;
|
|
1268
|
-
officeId?: string | undefined;
|
|
1269
1274
|
phone?: string | undefined;
|
|
1270
1275
|
};
|
|
1271
1276
|
entity: "users";
|
|
@@ -1351,8 +1356,11 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1351
1356
|
dir: "ASC" | "DESC";
|
|
1352
1357
|
}[];
|
|
1353
1358
|
filter: Record<string, unknown>;
|
|
1354
|
-
status: "
|
|
1359
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1355
1360
|
id: string;
|
|
1361
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1362
|
+
userId: string;
|
|
1363
|
+
requestedAt: string;
|
|
1356
1364
|
user: {
|
|
1357
1365
|
id: string;
|
|
1358
1366
|
firstName: string;
|
|
@@ -1365,22 +1373,22 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1365
1373
|
}[];
|
|
1366
1374
|
deletedAt?: string | null | undefined;
|
|
1367
1375
|
} | null;
|
|
1368
|
-
|
|
1369
|
-
|
|
1376
|
+
expiresAt: string;
|
|
1377
|
+
totalRows: number | null;
|
|
1378
|
+
errorMessage: string | null;
|
|
1370
1379
|
completedAt: string | null;
|
|
1371
|
-
|
|
1380
|
+
startedAt: string | null;
|
|
1372
1381
|
columns: string[];
|
|
1373
1382
|
rowsProcessed: number;
|
|
1374
1383
|
rowsSkipped: number;
|
|
1375
|
-
totalRows: number | null;
|
|
1376
1384
|
byteSize: number | null;
|
|
1377
|
-
errorMessage: string | null;
|
|
1378
|
-
startedAt: string | null;
|
|
1379
|
-
expiresAt: string;
|
|
1380
1385
|
}, {
|
|
1381
1386
|
filter: Record<string, unknown>;
|
|
1382
|
-
status: "
|
|
1387
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1383
1388
|
id: string;
|
|
1389
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1390
|
+
userId: string;
|
|
1391
|
+
requestedAt: string;
|
|
1384
1392
|
user: {
|
|
1385
1393
|
id: string;
|
|
1386
1394
|
firstName: string;
|
|
@@ -1393,18 +1401,15 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1393
1401
|
}[] | undefined;
|
|
1394
1402
|
deletedAt?: string | Date | null | undefined;
|
|
1395
1403
|
} | null;
|
|
1396
|
-
|
|
1397
|
-
|
|
1404
|
+
expiresAt: string;
|
|
1405
|
+
totalRows: number | null;
|
|
1406
|
+
errorMessage: string | null;
|
|
1398
1407
|
completedAt: string | null;
|
|
1399
|
-
|
|
1408
|
+
startedAt: string | null;
|
|
1400
1409
|
columns: string[];
|
|
1401
1410
|
rowsProcessed: number;
|
|
1402
1411
|
rowsSkipped: number;
|
|
1403
|
-
totalRows: number | null;
|
|
1404
1412
|
byteSize: number | null;
|
|
1405
|
-
errorMessage: string | null;
|
|
1406
|
-
startedAt: string | null;
|
|
1407
|
-
expiresAt: string;
|
|
1408
1413
|
sort?: {
|
|
1409
1414
|
field: string;
|
|
1410
1415
|
dir: "ASC" | "DESC";
|
|
@@ -1487,8 +1492,11 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1487
1492
|
dir: "ASC" | "DESC";
|
|
1488
1493
|
}[];
|
|
1489
1494
|
filter: Record<string, unknown>;
|
|
1490
|
-
status: "
|
|
1495
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1491
1496
|
id: string;
|
|
1497
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1498
|
+
userId: string;
|
|
1499
|
+
requestedAt: string;
|
|
1492
1500
|
user: {
|
|
1493
1501
|
id: string;
|
|
1494
1502
|
firstName: string;
|
|
@@ -1501,22 +1509,22 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1501
1509
|
}[];
|
|
1502
1510
|
deletedAt?: string | null | undefined;
|
|
1503
1511
|
} | null;
|
|
1504
|
-
|
|
1505
|
-
|
|
1512
|
+
expiresAt: string;
|
|
1513
|
+
totalRows: number | null;
|
|
1514
|
+
errorMessage: string | null;
|
|
1506
1515
|
completedAt: string | null;
|
|
1507
|
-
|
|
1516
|
+
startedAt: string | null;
|
|
1508
1517
|
columns: string[];
|
|
1509
1518
|
rowsProcessed: number;
|
|
1510
1519
|
rowsSkipped: number;
|
|
1511
|
-
totalRows: number | null;
|
|
1512
1520
|
byteSize: number | null;
|
|
1513
|
-
errorMessage: string | null;
|
|
1514
|
-
startedAt: string | null;
|
|
1515
|
-
expiresAt: string;
|
|
1516
1521
|
}, {
|
|
1517
1522
|
filter: Record<string, unknown>;
|
|
1518
|
-
status: "
|
|
1523
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1519
1524
|
id: string;
|
|
1525
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1526
|
+
userId: string;
|
|
1527
|
+
requestedAt: string;
|
|
1520
1528
|
user: {
|
|
1521
1529
|
id: string;
|
|
1522
1530
|
firstName: string;
|
|
@@ -1529,18 +1537,15 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1529
1537
|
}[] | undefined;
|
|
1530
1538
|
deletedAt?: string | Date | null | undefined;
|
|
1531
1539
|
} | null;
|
|
1532
|
-
|
|
1533
|
-
|
|
1540
|
+
expiresAt: string;
|
|
1541
|
+
totalRows: number | null;
|
|
1542
|
+
errorMessage: string | null;
|
|
1534
1543
|
completedAt: string | null;
|
|
1535
|
-
|
|
1544
|
+
startedAt: string | null;
|
|
1536
1545
|
columns: string[];
|
|
1537
1546
|
rowsProcessed: number;
|
|
1538
1547
|
rowsSkipped: number;
|
|
1539
|
-
totalRows: number | null;
|
|
1540
1548
|
byteSize: number | null;
|
|
1541
|
-
errorMessage: string | null;
|
|
1542
|
-
startedAt: string | null;
|
|
1543
|
-
expiresAt: string;
|
|
1544
1549
|
sort?: {
|
|
1545
1550
|
field: string;
|
|
1546
1551
|
dir: "ASC" | "DESC";
|
|
@@ -1559,8 +1564,11 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1559
1564
|
dir: "ASC" | "DESC";
|
|
1560
1565
|
}[];
|
|
1561
1566
|
filter: Record<string, unknown>;
|
|
1562
|
-
status: "
|
|
1567
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1563
1568
|
id: string;
|
|
1569
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1570
|
+
userId: string;
|
|
1571
|
+
requestedAt: string;
|
|
1564
1572
|
user: {
|
|
1565
1573
|
id: string;
|
|
1566
1574
|
firstName: string;
|
|
@@ -1573,18 +1581,15 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1573
1581
|
}[];
|
|
1574
1582
|
deletedAt?: string | null | undefined;
|
|
1575
1583
|
} | null;
|
|
1576
|
-
|
|
1577
|
-
|
|
1584
|
+
expiresAt: string;
|
|
1585
|
+
totalRows: number | null;
|
|
1586
|
+
errorMessage: string | null;
|
|
1578
1587
|
completedAt: string | null;
|
|
1579
|
-
|
|
1588
|
+
startedAt: string | null;
|
|
1580
1589
|
columns: string[];
|
|
1581
1590
|
rowsProcessed: number;
|
|
1582
1591
|
rowsSkipped: number;
|
|
1583
|
-
totalRows: number | null;
|
|
1584
1592
|
byteSize: number | null;
|
|
1585
|
-
errorMessage: string | null;
|
|
1586
|
-
startedAt: string | null;
|
|
1587
|
-
expiresAt: string;
|
|
1588
1593
|
}[];
|
|
1589
1594
|
totalCount: number;
|
|
1590
1595
|
skip: number;
|
|
@@ -1594,8 +1599,11 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1594
1599
|
limit: number;
|
|
1595
1600
|
items: {
|
|
1596
1601
|
filter: Record<string, unknown>;
|
|
1597
|
-
status: "
|
|
1602
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
1598
1603
|
id: string;
|
|
1604
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
1605
|
+
userId: string;
|
|
1606
|
+
requestedAt: string;
|
|
1599
1607
|
user: {
|
|
1600
1608
|
id: string;
|
|
1601
1609
|
firstName: string;
|
|
@@ -1608,18 +1616,15 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1608
1616
|
}[] | undefined;
|
|
1609
1617
|
deletedAt?: string | Date | null | undefined;
|
|
1610
1618
|
} | null;
|
|
1611
|
-
|
|
1612
|
-
|
|
1619
|
+
expiresAt: string;
|
|
1620
|
+
totalRows: number | null;
|
|
1621
|
+
errorMessage: string | null;
|
|
1613
1622
|
completedAt: string | null;
|
|
1614
|
-
|
|
1623
|
+
startedAt: string | null;
|
|
1615
1624
|
columns: string[];
|
|
1616
1625
|
rowsProcessed: number;
|
|
1617
1626
|
rowsSkipped: number;
|
|
1618
|
-
totalRows: number | null;
|
|
1619
1627
|
byteSize: number | null;
|
|
1620
|
-
errorMessage: string | null;
|
|
1621
|
-
startedAt: string | null;
|
|
1622
|
-
expiresAt: string;
|
|
1623
1628
|
sort?: {
|
|
1624
1629
|
field: string;
|
|
1625
1630
|
dir: "ASC" | "DESC";
|
|
@@ -1698,38 +1703,38 @@ export declare const exportJobsContract: {
|
|
|
1698
1703
|
}>>>;
|
|
1699
1704
|
}, "strip", z.ZodTypeAny, {
|
|
1700
1705
|
userId?: string | null | undefined;
|
|
1701
|
-
tradeId?: string | null | undefined;
|
|
1702
|
-
companyId?: string | null | undefined;
|
|
1703
|
-
clientId?: string | null | undefined;
|
|
1704
1706
|
location?: {
|
|
1705
1707
|
postcode?: string | null | undefined;
|
|
1706
1708
|
radius?: number | null | undefined;
|
|
1707
1709
|
} | null | undefined;
|
|
1708
|
-
}, {
|
|
1709
|
-
userId?: string | null | undefined;
|
|
1710
1710
|
tradeId?: string | null | undefined;
|
|
1711
|
-
companyId?: string | null | undefined;
|
|
1712
1711
|
clientId?: string | null | undefined;
|
|
1712
|
+
companyId?: string | null | undefined;
|
|
1713
|
+
}, {
|
|
1714
|
+
userId?: string | null | undefined;
|
|
1713
1715
|
location?: {
|
|
1714
1716
|
postcode?: string | null | undefined;
|
|
1715
1717
|
radius?: number | null | undefined;
|
|
1716
1718
|
} | null | undefined;
|
|
1719
|
+
tradeId?: string | null | undefined;
|
|
1720
|
+
clientId?: string | null | undefined;
|
|
1721
|
+
companyId?: string | null | undefined;
|
|
1717
1722
|
}>>>;
|
|
1718
1723
|
sort: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1719
1724
|
field: z.ZodEnum<["date", "startDate", "workerName", "status", "hoursWorked", "payRate", "receivedRate", "secondAgent", "collaborationCompany", "collaborationClient", "collaborationAgent", "postcode", "firstAgent", "createdAt", "updatedAt"]>;
|
|
1720
1725
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
1721
1726
|
}, "strip", z.ZodTypeAny, {
|
|
1722
|
-
field: "status" | "date" | "
|
|
1727
|
+
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1723
1728
|
order: "ASC" | "DESC";
|
|
1724
1729
|
}, {
|
|
1725
|
-
field: "status" | "date" | "
|
|
1730
|
+
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1726
1731
|
order: "ASC" | "DESC";
|
|
1727
1732
|
}>, "many">>>;
|
|
1728
1733
|
}, "strip", z.ZodTypeAny, {
|
|
1729
1734
|
limit: number;
|
|
1730
1735
|
page: number;
|
|
1731
1736
|
sort?: {
|
|
1732
|
-
field: "status" | "date" | "
|
|
1737
|
+
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1733
1738
|
order: "ASC" | "DESC";
|
|
1734
1739
|
}[] | null | undefined;
|
|
1735
1740
|
status?: {
|
|
@@ -1739,30 +1744,28 @@ export declare const exportJobsContract: {
|
|
|
1739
1744
|
from?: string | null | undefined;
|
|
1740
1745
|
to?: string | null | undefined;
|
|
1741
1746
|
} | null | undefined;
|
|
1742
|
-
workerName?: {
|
|
1743
|
-
value?: string | undefined;
|
|
1744
|
-
exact?: boolean | undefined;
|
|
1745
|
-
} | null | undefined;
|
|
1746
|
-
agentId?: string | null | undefined;
|
|
1747
1747
|
pay?: {
|
|
1748
1748
|
minRate?: number | null | undefined;
|
|
1749
1749
|
maxRate?: number | null | undefined;
|
|
1750
1750
|
} | null | undefined;
|
|
1751
1751
|
job?: {
|
|
1752
1752
|
userId?: string | null | undefined;
|
|
1753
|
-
tradeId?: string | null | undefined;
|
|
1754
|
-
companyId?: string | null | undefined;
|
|
1755
|
-
clientId?: string | null | undefined;
|
|
1756
1753
|
location?: {
|
|
1757
1754
|
postcode?: string | null | undefined;
|
|
1758
1755
|
radius?: number | null | undefined;
|
|
1759
1756
|
} | null | undefined;
|
|
1757
|
+
tradeId?: string | null | undefined;
|
|
1758
|
+
clientId?: string | null | undefined;
|
|
1759
|
+
companyId?: string | null | undefined;
|
|
1760
|
+
} | null | undefined;
|
|
1761
|
+
workerName?: {
|
|
1762
|
+
value?: string | undefined;
|
|
1763
|
+
exact?: boolean | undefined;
|
|
1760
1764
|
} | null | undefined;
|
|
1765
|
+
agentId?: string | null | undefined;
|
|
1761
1766
|
}, {
|
|
1762
|
-
limit?: number | undefined;
|
|
1763
|
-
page?: number | undefined;
|
|
1764
1767
|
sort?: {
|
|
1765
|
-
field: "status" | "date" | "
|
|
1768
|
+
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1766
1769
|
order: "ASC" | "DESC";
|
|
1767
1770
|
}[] | null | undefined;
|
|
1768
1771
|
status?: {
|
|
@@ -1772,25 +1775,27 @@ export declare const exportJobsContract: {
|
|
|
1772
1775
|
from?: string | null | undefined;
|
|
1773
1776
|
to?: string | null | undefined;
|
|
1774
1777
|
} | null | undefined;
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
exact?: boolean | "true" | "false" | undefined;
|
|
1778
|
-
} | null | undefined;
|
|
1779
|
-
agentId?: string | null | undefined;
|
|
1778
|
+
limit?: number | undefined;
|
|
1779
|
+
page?: number | undefined;
|
|
1780
1780
|
pay?: {
|
|
1781
1781
|
minRate?: number | null | undefined;
|
|
1782
1782
|
maxRate?: number | null | undefined;
|
|
1783
1783
|
} | null | undefined;
|
|
1784
1784
|
job?: {
|
|
1785
1785
|
userId?: string | null | undefined;
|
|
1786
|
-
tradeId?: string | null | undefined;
|
|
1787
|
-
companyId?: string | null | undefined;
|
|
1788
|
-
clientId?: string | null | undefined;
|
|
1789
1786
|
location?: {
|
|
1790
1787
|
postcode?: string | null | undefined;
|
|
1791
1788
|
radius?: number | null | undefined;
|
|
1792
1789
|
} | null | undefined;
|
|
1790
|
+
tradeId?: string | null | undefined;
|
|
1791
|
+
clientId?: string | null | undefined;
|
|
1792
|
+
companyId?: string | null | undefined;
|
|
1793
|
+
} | null | undefined;
|
|
1794
|
+
workerName?: {
|
|
1795
|
+
value?: string | undefined;
|
|
1796
|
+
exact?: boolean | "true" | "false" | undefined;
|
|
1793
1797
|
} | null | undefined;
|
|
1798
|
+
agentId?: string | null | undefined;
|
|
1794
1799
|
}>;
|
|
1795
1800
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1796
1801
|
field: z.ZodString;
|
|
@@ -1812,7 +1817,7 @@ export declare const exportJobsContract: {
|
|
|
1812
1817
|
limit: number;
|
|
1813
1818
|
page: number;
|
|
1814
1819
|
sort?: {
|
|
1815
|
-
field: "status" | "date" | "
|
|
1820
|
+
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1816
1821
|
order: "ASC" | "DESC";
|
|
1817
1822
|
}[] | null | undefined;
|
|
1818
1823
|
status?: {
|
|
@@ -1822,34 +1827,32 @@ export declare const exportJobsContract: {
|
|
|
1822
1827
|
from?: string | null | undefined;
|
|
1823
1828
|
to?: string | null | undefined;
|
|
1824
1829
|
} | null | undefined;
|
|
1825
|
-
workerName?: {
|
|
1826
|
-
value?: string | undefined;
|
|
1827
|
-
exact?: boolean | undefined;
|
|
1828
|
-
} | null | undefined;
|
|
1829
|
-
agentId?: string | null | undefined;
|
|
1830
1830
|
pay?: {
|
|
1831
1831
|
minRate?: number | null | undefined;
|
|
1832
1832
|
maxRate?: number | null | undefined;
|
|
1833
1833
|
} | null | undefined;
|
|
1834
1834
|
job?: {
|
|
1835
1835
|
userId?: string | null | undefined;
|
|
1836
|
-
tradeId?: string | null | undefined;
|
|
1837
|
-
companyId?: string | null | undefined;
|
|
1838
|
-
clientId?: string | null | undefined;
|
|
1839
1836
|
location?: {
|
|
1840
1837
|
postcode?: string | null | undefined;
|
|
1841
1838
|
radius?: number | null | undefined;
|
|
1842
1839
|
} | null | undefined;
|
|
1840
|
+
tradeId?: string | null | undefined;
|
|
1841
|
+
clientId?: string | null | undefined;
|
|
1842
|
+
companyId?: string | null | undefined;
|
|
1843
1843
|
} | null | undefined;
|
|
1844
|
+
workerName?: {
|
|
1845
|
+
value?: string | undefined;
|
|
1846
|
+
exact?: boolean | undefined;
|
|
1847
|
+
} | null | undefined;
|
|
1848
|
+
agentId?: string | null | undefined;
|
|
1844
1849
|
};
|
|
1845
1850
|
entity: "actives";
|
|
1846
1851
|
columns: string[];
|
|
1847
1852
|
}, {
|
|
1848
1853
|
filter: {
|
|
1849
|
-
limit?: number | undefined;
|
|
1850
|
-
page?: number | undefined;
|
|
1851
1854
|
sort?: {
|
|
1852
|
-
field: "status" | "date" | "
|
|
1855
|
+
field: "status" | "date" | "postcode" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent" | "firstAgent";
|
|
1853
1856
|
order: "ASC" | "DESC";
|
|
1854
1857
|
}[] | null | undefined;
|
|
1855
1858
|
status?: {
|
|
@@ -1859,25 +1862,27 @@ export declare const exportJobsContract: {
|
|
|
1859
1862
|
from?: string | null | undefined;
|
|
1860
1863
|
to?: string | null | undefined;
|
|
1861
1864
|
} | null | undefined;
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
exact?: boolean | "true" | "false" | undefined;
|
|
1865
|
-
} | null | undefined;
|
|
1866
|
-
agentId?: string | null | undefined;
|
|
1865
|
+
limit?: number | undefined;
|
|
1866
|
+
page?: number | undefined;
|
|
1867
1867
|
pay?: {
|
|
1868
1868
|
minRate?: number | null | undefined;
|
|
1869
1869
|
maxRate?: number | null | undefined;
|
|
1870
1870
|
} | null | undefined;
|
|
1871
1871
|
job?: {
|
|
1872
1872
|
userId?: string | null | undefined;
|
|
1873
|
-
tradeId?: string | null | undefined;
|
|
1874
|
-
companyId?: string | null | undefined;
|
|
1875
|
-
clientId?: string | null | undefined;
|
|
1876
1873
|
location?: {
|
|
1877
1874
|
postcode?: string | null | undefined;
|
|
1878
1875
|
radius?: number | null | undefined;
|
|
1879
1876
|
} | null | undefined;
|
|
1877
|
+
tradeId?: string | null | undefined;
|
|
1878
|
+
clientId?: string | null | undefined;
|
|
1879
|
+
companyId?: string | null | undefined;
|
|
1880
|
+
} | null | undefined;
|
|
1881
|
+
workerName?: {
|
|
1882
|
+
value?: string | undefined;
|
|
1883
|
+
exact?: boolean | "true" | "false" | undefined;
|
|
1880
1884
|
} | null | undefined;
|
|
1885
|
+
agentId?: string | null | undefined;
|
|
1881
1886
|
};
|
|
1882
1887
|
entity: "actives";
|
|
1883
1888
|
columns: string[];
|
|
@@ -1916,10 +1921,10 @@ export declare const exportJobsContract: {
|
|
|
1916
1921
|
type: z.ZodOptional<z.ZodEnum<["REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "CONFIRMED"]>>;
|
|
1917
1922
|
}, "strip", z.ZodTypeAny, {
|
|
1918
1923
|
category: "ATTEMPT";
|
|
1919
|
-
type?: "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" |
|
|
1924
|
+
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;
|
|
1920
1925
|
}, {
|
|
1921
1926
|
category: "ATTEMPT";
|
|
1922
|
-
type?: "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" |
|
|
1927
|
+
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;
|
|
1923
1928
|
}>, z.ZodObject<{
|
|
1924
1929
|
category: z.ZodLiteral<"FAILED_START">;
|
|
1925
1930
|
type: z.ZodOptional<z.ZodEnum<["DIDNT_START_BECAUSE_OF_WORKER", "DIDNT_START_BECAUSE_OF_US", "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE", "DIDNT_START_BECAUSE_OF_AGENCY", "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION"]>>;
|
|
@@ -1974,22 +1979,22 @@ export declare const exportJobsContract: {
|
|
|
1974
1979
|
}>>>;
|
|
1975
1980
|
}, "strip", z.ZodTypeAny, {
|
|
1976
1981
|
userId?: string | null | undefined;
|
|
1977
|
-
tradeId?: string | null | undefined;
|
|
1978
|
-
companyId?: string | null | undefined;
|
|
1979
|
-
clientId?: string | null | undefined;
|
|
1980
1982
|
location?: {
|
|
1981
1983
|
postcode?: string | null | undefined;
|
|
1982
1984
|
radius?: number | null | undefined;
|
|
1983
1985
|
} | null | undefined;
|
|
1984
|
-
}, {
|
|
1985
|
-
userId?: string | null | undefined;
|
|
1986
1986
|
tradeId?: string | null | undefined;
|
|
1987
|
-
companyId?: string | null | undefined;
|
|
1988
1987
|
clientId?: string | null | undefined;
|
|
1988
|
+
companyId?: string | null | undefined;
|
|
1989
|
+
}, {
|
|
1990
|
+
userId?: string | null | undefined;
|
|
1989
1991
|
location?: {
|
|
1990
1992
|
postcode?: string | null | undefined;
|
|
1991
1993
|
radius?: number | null | undefined;
|
|
1992
1994
|
} | null | undefined;
|
|
1995
|
+
tradeId?: string | null | undefined;
|
|
1996
|
+
clientId?: string | null | undefined;
|
|
1997
|
+
companyId?: string | null | undefined;
|
|
1993
1998
|
}>>>;
|
|
1994
1999
|
agentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1995
2000
|
endDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -2026,22 +2031,22 @@ export declare const exportJobsContract: {
|
|
|
2026
2031
|
field: z.ZodEnum<["status", "startDate", "endDate", "workerName", "payRate", "secondAgent", "collaborationCompany", "collaborationClient", "collaborationAgent", "createdAt", "updatedAt"]>;
|
|
2027
2032
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
2028
2033
|
}, "strip", z.ZodTypeAny, {
|
|
2029
|
-
field: "status" | "
|
|
2034
|
+
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2030
2035
|
order: "ASC" | "DESC";
|
|
2031
2036
|
}, {
|
|
2032
|
-
field: "status" | "
|
|
2037
|
+
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2033
2038
|
order: "ASC" | "DESC";
|
|
2034
2039
|
}>, "many">>>;
|
|
2035
2040
|
}, "strip", z.ZodTypeAny, {
|
|
2036
2041
|
limit: number;
|
|
2037
2042
|
page: number;
|
|
2038
2043
|
sort?: {
|
|
2039
|
-
field: "status" | "
|
|
2044
|
+
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2040
2045
|
order: "ASC" | "DESC";
|
|
2041
2046
|
}[] | null | undefined;
|
|
2042
2047
|
status?: {
|
|
2043
2048
|
category: "ATTEMPT";
|
|
2044
|
-
type?: "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" |
|
|
2049
|
+
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;
|
|
2045
2050
|
} | {
|
|
2046
2051
|
category: "FAILED_START";
|
|
2047
2052
|
type?: "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | undefined;
|
|
@@ -2055,47 +2060,45 @@ export declare const exportJobsContract: {
|
|
|
2055
2060
|
category: "CANCELLED";
|
|
2056
2061
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
2057
2062
|
} | null | undefined;
|
|
2058
|
-
|
|
2063
|
+
createdAt?: {
|
|
2059
2064
|
from?: string | null | undefined;
|
|
2060
2065
|
to?: string | null | undefined;
|
|
2061
2066
|
} | null | undefined;
|
|
2062
|
-
|
|
2067
|
+
updatedAt?: {
|
|
2063
2068
|
from?: string | null | undefined;
|
|
2064
2069
|
to?: string | null | undefined;
|
|
2065
2070
|
} | null | undefined;
|
|
2066
|
-
|
|
2071
|
+
startDate?: {
|
|
2067
2072
|
from?: string | null | undefined;
|
|
2068
2073
|
to?: string | null | undefined;
|
|
2069
2074
|
} | null | undefined;
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2075
|
+
endDate?: {
|
|
2076
|
+
from?: string | null | undefined;
|
|
2077
|
+
to?: string | null | undefined;
|
|
2073
2078
|
} | null | undefined;
|
|
2074
|
-
agentId?: string | null | undefined;
|
|
2075
2079
|
job?: {
|
|
2076
2080
|
userId?: string | null | undefined;
|
|
2077
|
-
tradeId?: string | null | undefined;
|
|
2078
|
-
companyId?: string | null | undefined;
|
|
2079
|
-
clientId?: string | null | undefined;
|
|
2080
2081
|
location?: {
|
|
2081
2082
|
postcode?: string | null | undefined;
|
|
2082
2083
|
radius?: number | null | undefined;
|
|
2083
2084
|
} | null | undefined;
|
|
2085
|
+
tradeId?: string | null | undefined;
|
|
2086
|
+
clientId?: string | null | undefined;
|
|
2087
|
+
companyId?: string | null | undefined;
|
|
2084
2088
|
} | null | undefined;
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2089
|
+
workerName?: {
|
|
2090
|
+
value?: string | undefined;
|
|
2091
|
+
exact?: boolean | undefined;
|
|
2088
2092
|
} | null | undefined;
|
|
2093
|
+
agentId?: string | null | undefined;
|
|
2089
2094
|
}, {
|
|
2090
|
-
limit?: number | undefined;
|
|
2091
|
-
page?: number | undefined;
|
|
2092
2095
|
sort?: {
|
|
2093
|
-
field: "status" | "
|
|
2096
|
+
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2094
2097
|
order: "ASC" | "DESC";
|
|
2095
2098
|
}[] | null | undefined;
|
|
2096
2099
|
status?: {
|
|
2097
2100
|
category: "ATTEMPT";
|
|
2098
|
-
type?: "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" |
|
|
2101
|
+
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;
|
|
2099
2102
|
} | {
|
|
2100
2103
|
category: "FAILED_START";
|
|
2101
2104
|
type?: "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | undefined;
|
|
@@ -2109,37 +2112,39 @@ export declare const exportJobsContract: {
|
|
|
2109
2112
|
category: "CANCELLED";
|
|
2110
2113
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
2111
2114
|
} | null | undefined;
|
|
2112
|
-
|
|
2115
|
+
limit?: number | undefined;
|
|
2116
|
+
page?: number | undefined;
|
|
2117
|
+
createdAt?: {
|
|
2113
2118
|
from?: string | null | undefined;
|
|
2114
2119
|
to?: string | null | undefined;
|
|
2115
2120
|
} | null | undefined;
|
|
2116
|
-
|
|
2121
|
+
updatedAt?: {
|
|
2117
2122
|
from?: string | null | undefined;
|
|
2118
2123
|
to?: string | null | undefined;
|
|
2119
2124
|
} | null | undefined;
|
|
2120
|
-
|
|
2125
|
+
startDate?: {
|
|
2121
2126
|
from?: string | null | undefined;
|
|
2122
2127
|
to?: string | null | undefined;
|
|
2123
2128
|
} | null | undefined;
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2129
|
+
endDate?: {
|
|
2130
|
+
from?: string | null | undefined;
|
|
2131
|
+
to?: string | null | undefined;
|
|
2127
2132
|
} | null | undefined;
|
|
2128
|
-
agentId?: string | null | undefined;
|
|
2129
2133
|
job?: {
|
|
2130
2134
|
userId?: string | null | undefined;
|
|
2131
|
-
tradeId?: string | null | undefined;
|
|
2132
|
-
companyId?: string | null | undefined;
|
|
2133
|
-
clientId?: string | null | undefined;
|
|
2134
2135
|
location?: {
|
|
2135
2136
|
postcode?: string | null | undefined;
|
|
2136
2137
|
radius?: number | null | undefined;
|
|
2137
2138
|
} | null | undefined;
|
|
2139
|
+
tradeId?: string | null | undefined;
|
|
2140
|
+
clientId?: string | null | undefined;
|
|
2141
|
+
companyId?: string | null | undefined;
|
|
2138
2142
|
} | null | undefined;
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2143
|
+
workerName?: {
|
|
2144
|
+
value?: string | undefined;
|
|
2145
|
+
exact?: boolean | "true" | "false" | undefined;
|
|
2142
2146
|
} | null | undefined;
|
|
2147
|
+
agentId?: string | null | undefined;
|
|
2143
2148
|
}>;
|
|
2144
2149
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2145
2150
|
field: z.ZodString;
|
|
@@ -2161,12 +2166,12 @@ export declare const exportJobsContract: {
|
|
|
2161
2166
|
limit: number;
|
|
2162
2167
|
page: number;
|
|
2163
2168
|
sort?: {
|
|
2164
|
-
field: "status" | "
|
|
2169
|
+
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2165
2170
|
order: "ASC" | "DESC";
|
|
2166
2171
|
}[] | null | undefined;
|
|
2167
2172
|
status?: {
|
|
2168
2173
|
category: "ATTEMPT";
|
|
2169
|
-
type?: "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" |
|
|
2174
|
+
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;
|
|
2170
2175
|
} | {
|
|
2171
2176
|
category: "FAILED_START";
|
|
2172
2177
|
type?: "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | undefined;
|
|
@@ -2180,51 +2185,49 @@ export declare const exportJobsContract: {
|
|
|
2180
2185
|
category: "CANCELLED";
|
|
2181
2186
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
2182
2187
|
} | null | undefined;
|
|
2183
|
-
|
|
2188
|
+
createdAt?: {
|
|
2184
2189
|
from?: string | null | undefined;
|
|
2185
2190
|
to?: string | null | undefined;
|
|
2186
2191
|
} | null | undefined;
|
|
2187
|
-
|
|
2192
|
+
updatedAt?: {
|
|
2188
2193
|
from?: string | null | undefined;
|
|
2189
2194
|
to?: string | null | undefined;
|
|
2190
2195
|
} | null | undefined;
|
|
2191
|
-
|
|
2196
|
+
startDate?: {
|
|
2192
2197
|
from?: string | null | undefined;
|
|
2193
2198
|
to?: string | null | undefined;
|
|
2194
2199
|
} | null | undefined;
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2200
|
+
endDate?: {
|
|
2201
|
+
from?: string | null | undefined;
|
|
2202
|
+
to?: string | null | undefined;
|
|
2198
2203
|
} | null | undefined;
|
|
2199
|
-
agentId?: string | null | undefined;
|
|
2200
2204
|
job?: {
|
|
2201
2205
|
userId?: string | null | undefined;
|
|
2202
|
-
tradeId?: string | null | undefined;
|
|
2203
|
-
companyId?: string | null | undefined;
|
|
2204
|
-
clientId?: string | null | undefined;
|
|
2205
2206
|
location?: {
|
|
2206
2207
|
postcode?: string | null | undefined;
|
|
2207
2208
|
radius?: number | null | undefined;
|
|
2208
2209
|
} | null | undefined;
|
|
2210
|
+
tradeId?: string | null | undefined;
|
|
2211
|
+
clientId?: string | null | undefined;
|
|
2212
|
+
companyId?: string | null | undefined;
|
|
2209
2213
|
} | null | undefined;
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2214
|
+
workerName?: {
|
|
2215
|
+
value?: string | undefined;
|
|
2216
|
+
exact?: boolean | undefined;
|
|
2213
2217
|
} | null | undefined;
|
|
2218
|
+
agentId?: string | null | undefined;
|
|
2214
2219
|
};
|
|
2215
2220
|
entity: "bookings";
|
|
2216
2221
|
columns: string[];
|
|
2217
2222
|
}, {
|
|
2218
2223
|
filter: {
|
|
2219
|
-
limit?: number | undefined;
|
|
2220
|
-
page?: number | undefined;
|
|
2221
2224
|
sort?: {
|
|
2222
|
-
field: "status" | "
|
|
2225
|
+
field: "status" | "createdAt" | "updatedAt" | "startDate" | "payRate" | "endDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "secondAgent";
|
|
2223
2226
|
order: "ASC" | "DESC";
|
|
2224
2227
|
}[] | null | undefined;
|
|
2225
2228
|
status?: {
|
|
2226
2229
|
category: "ATTEMPT";
|
|
2227
|
-
type?: "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" |
|
|
2230
|
+
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;
|
|
2228
2231
|
} | {
|
|
2229
2232
|
category: "FAILED_START";
|
|
2230
2233
|
type?: "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | undefined;
|
|
@@ -2238,37 +2241,39 @@ export declare const exportJobsContract: {
|
|
|
2238
2241
|
category: "CANCELLED";
|
|
2239
2242
|
type?: "CANCELLED" | "JOB_CANCELLED" | undefined;
|
|
2240
2243
|
} | null | undefined;
|
|
2241
|
-
|
|
2244
|
+
limit?: number | undefined;
|
|
2245
|
+
page?: number | undefined;
|
|
2246
|
+
createdAt?: {
|
|
2242
2247
|
from?: string | null | undefined;
|
|
2243
2248
|
to?: string | null | undefined;
|
|
2244
2249
|
} | null | undefined;
|
|
2245
|
-
|
|
2250
|
+
updatedAt?: {
|
|
2246
2251
|
from?: string | null | undefined;
|
|
2247
2252
|
to?: string | null | undefined;
|
|
2248
2253
|
} | null | undefined;
|
|
2249
|
-
|
|
2254
|
+
startDate?: {
|
|
2250
2255
|
from?: string | null | undefined;
|
|
2251
2256
|
to?: string | null | undefined;
|
|
2252
2257
|
} | null | undefined;
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2258
|
+
endDate?: {
|
|
2259
|
+
from?: string | null | undefined;
|
|
2260
|
+
to?: string | null | undefined;
|
|
2256
2261
|
} | null | undefined;
|
|
2257
|
-
agentId?: string | null | undefined;
|
|
2258
2262
|
job?: {
|
|
2259
2263
|
userId?: string | null | undefined;
|
|
2260
|
-
tradeId?: string | null | undefined;
|
|
2261
|
-
companyId?: string | null | undefined;
|
|
2262
|
-
clientId?: string | null | undefined;
|
|
2263
2264
|
location?: {
|
|
2264
2265
|
postcode?: string | null | undefined;
|
|
2265
2266
|
radius?: number | null | undefined;
|
|
2266
2267
|
} | null | undefined;
|
|
2268
|
+
tradeId?: string | null | undefined;
|
|
2269
|
+
clientId?: string | null | undefined;
|
|
2270
|
+
companyId?: string | null | undefined;
|
|
2267
2271
|
} | null | undefined;
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2272
|
+
workerName?: {
|
|
2273
|
+
value?: string | undefined;
|
|
2274
|
+
exact?: boolean | "true" | "false" | undefined;
|
|
2271
2275
|
} | null | undefined;
|
|
2276
|
+
agentId?: string | null | undefined;
|
|
2272
2277
|
};
|
|
2273
2278
|
entity: "bookings";
|
|
2274
2279
|
columns: string[];
|
|
@@ -2325,39 +2330,39 @@ export declare const exportJobsContract: {
|
|
|
2325
2330
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2326
2331
|
order: "ASC" | "DESC";
|
|
2327
2332
|
}[] | null | undefined;
|
|
2333
|
+
phoneNumber?: string | undefined;
|
|
2328
2334
|
createdAt?: {
|
|
2329
2335
|
from?: string | null | undefined;
|
|
2330
2336
|
to?: string | null | undefined;
|
|
2331
2337
|
} | null | undefined;
|
|
2332
|
-
|
|
2338
|
+
companyId?: string | undefined;
|
|
2333
2339
|
agentId?: string | undefined;
|
|
2334
2340
|
rating?: {
|
|
2335
2341
|
from?: import("../common/call-rating.schema").CallRating | null | undefined;
|
|
2336
2342
|
to?: import("../common/call-rating.schema").CallRating | null | undefined;
|
|
2337
2343
|
} | null | undefined;
|
|
2338
2344
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
2339
|
-
companyId?: string | undefined;
|
|
2340
2345
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
2341
2346
|
leadName?: string | undefined;
|
|
2342
2347
|
}, {
|
|
2343
|
-
limit?: number | undefined;
|
|
2344
|
-
page?: number | undefined;
|
|
2345
2348
|
sort?: {
|
|
2346
2349
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2347
2350
|
order: "ASC" | "DESC";
|
|
2348
2351
|
}[] | null | undefined;
|
|
2352
|
+
phoneNumber?: string | undefined;
|
|
2353
|
+
limit?: number | undefined;
|
|
2354
|
+
page?: number | undefined;
|
|
2349
2355
|
createdAt?: {
|
|
2350
2356
|
from?: string | null | undefined;
|
|
2351
2357
|
to?: string | null | undefined;
|
|
2352
2358
|
} | null | undefined;
|
|
2353
|
-
|
|
2359
|
+
companyId?: string | undefined;
|
|
2354
2360
|
agentId?: string | undefined;
|
|
2355
2361
|
rating?: {
|
|
2356
2362
|
from?: unknown;
|
|
2357
2363
|
to?: unknown;
|
|
2358
2364
|
} | null | undefined;
|
|
2359
2365
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
2360
|
-
companyId?: string | undefined;
|
|
2361
2366
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
2362
2367
|
leadName?: string | undefined;
|
|
2363
2368
|
}>;
|
|
@@ -2384,18 +2389,18 @@ export declare const exportJobsContract: {
|
|
|
2384
2389
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2385
2390
|
order: "ASC" | "DESC";
|
|
2386
2391
|
}[] | null | undefined;
|
|
2392
|
+
phoneNumber?: string | undefined;
|
|
2387
2393
|
createdAt?: {
|
|
2388
2394
|
from?: string | null | undefined;
|
|
2389
2395
|
to?: string | null | undefined;
|
|
2390
2396
|
} | null | undefined;
|
|
2391
|
-
|
|
2397
|
+
companyId?: string | undefined;
|
|
2392
2398
|
agentId?: string | undefined;
|
|
2393
2399
|
rating?: {
|
|
2394
2400
|
from?: import("../common/call-rating.schema").CallRating | null | undefined;
|
|
2395
2401
|
to?: import("../common/call-rating.schema").CallRating | null | undefined;
|
|
2396
2402
|
} | null | undefined;
|
|
2397
2403
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
2398
|
-
companyId?: string | undefined;
|
|
2399
2404
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
2400
2405
|
leadName?: string | undefined;
|
|
2401
2406
|
};
|
|
@@ -2403,24 +2408,24 @@ export declare const exportJobsContract: {
|
|
|
2403
2408
|
columns: string[];
|
|
2404
2409
|
}, {
|
|
2405
2410
|
filter: {
|
|
2406
|
-
limit?: number | undefined;
|
|
2407
|
-
page?: number | undefined;
|
|
2408
2411
|
sort?: {
|
|
2409
2412
|
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2410
2413
|
order: "ASC" | "DESC";
|
|
2411
2414
|
}[] | null | undefined;
|
|
2415
|
+
phoneNumber?: string | undefined;
|
|
2416
|
+
limit?: number | undefined;
|
|
2417
|
+
page?: number | undefined;
|
|
2412
2418
|
createdAt?: {
|
|
2413
2419
|
from?: string | null | undefined;
|
|
2414
2420
|
to?: string | null | undefined;
|
|
2415
2421
|
} | null | undefined;
|
|
2416
|
-
|
|
2422
|
+
companyId?: string | undefined;
|
|
2417
2423
|
agentId?: string | undefined;
|
|
2418
2424
|
rating?: {
|
|
2419
2425
|
from?: unknown;
|
|
2420
2426
|
to?: unknown;
|
|
2421
2427
|
} | null | undefined;
|
|
2422
2428
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
2423
|
-
companyId?: string | undefined;
|
|
2424
2429
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
2425
2430
|
leadName?: string | undefined;
|
|
2426
2431
|
};
|
|
@@ -2493,21 +2498,22 @@ export declare const exportJobsContract: {
|
|
|
2493
2498
|
from?: string | null | undefined;
|
|
2494
2499
|
to?: string | null | undefined;
|
|
2495
2500
|
}>>>;
|
|
2501
|
+
outreachRequested: z.ZodNullable<z.ZodOptional<z.ZodEnum<["only_with", "only_without"]>>>;
|
|
2496
2502
|
sort: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2497
2503
|
field: z.ZodEnum<["description", "numberOfPositions", "status", "tradeId", "collaborationCompany", "collaborationClient", "collaborationAgent", "distance", "postcode", "payRate", "receivedRate", "workHours", "qualificationsCount", "creationSource", "createdAt", "updatedAt", "startDate"]>;
|
|
2498
2504
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
2499
2505
|
}, "strip", z.ZodTypeAny, {
|
|
2500
|
-
field: "status" | "description" | "
|
|
2506
|
+
field: "status" | "description" | "postcode" | "createdAt" | "updatedAt" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2501
2507
|
order: "ASC" | "DESC";
|
|
2502
2508
|
}, {
|
|
2503
|
-
field: "status" | "description" | "
|
|
2509
|
+
field: "status" | "description" | "postcode" | "createdAt" | "updatedAt" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2504
2510
|
order: "ASC" | "DESC";
|
|
2505
2511
|
}>, "many">>>;
|
|
2506
2512
|
}, "strip", z.ZodTypeAny, {
|
|
2507
2513
|
limit: number;
|
|
2508
2514
|
page: number;
|
|
2509
2515
|
sort?: {
|
|
2510
|
-
field: "status" | "description" | "
|
|
2516
|
+
field: "status" | "description" | "postcode" | "createdAt" | "updatedAt" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2511
2517
|
order: "ASC" | "DESC";
|
|
2512
2518
|
}[] | null | undefined;
|
|
2513
2519
|
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
@@ -2521,31 +2527,32 @@ export declare const exportJobsContract: {
|
|
|
2521
2527
|
to?: string | null | undefined;
|
|
2522
2528
|
} | null | undefined;
|
|
2523
2529
|
userId?: string | null | undefined;
|
|
2524
|
-
tradeId?: string | null | undefined;
|
|
2525
|
-
companyId?: string | null | undefined;
|
|
2526
|
-
pay?: {
|
|
2527
|
-
minRate?: number | null | undefined;
|
|
2528
|
-
maxRate?: number | null | undefined;
|
|
2529
|
-
} | null | undefined;
|
|
2530
|
-
clientId?: string | null | undefined;
|
|
2531
2530
|
location?: {
|
|
2532
2531
|
postcode?: string | null | undefined;
|
|
2533
2532
|
radius?: number | null | undefined;
|
|
2534
2533
|
} | null | undefined;
|
|
2535
|
-
|
|
2534
|
+
pay?: {
|
|
2535
|
+
minRate?: number | null | undefined;
|
|
2536
|
+
maxRate?: number | null | undefined;
|
|
2537
|
+
} | null | undefined;
|
|
2538
|
+
tradeId?: string | null | undefined;
|
|
2536
2539
|
qualificationFilters?: {
|
|
2537
2540
|
qualificationId?: string | undefined;
|
|
2538
2541
|
qualificationTypeId?: string | undefined;
|
|
2539
2542
|
}[] | undefined;
|
|
2543
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
2544
|
+
clientId?: string | null | undefined;
|
|
2545
|
+
companyId?: string | null | undefined;
|
|
2546
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
2540
2547
|
}, {
|
|
2541
|
-
limit?: number | undefined;
|
|
2542
|
-
page?: number | undefined;
|
|
2543
2548
|
sort?: {
|
|
2544
|
-
field: "status" | "description" | "
|
|
2549
|
+
field: "status" | "description" | "postcode" | "createdAt" | "updatedAt" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2545
2550
|
order: "ASC" | "DESC";
|
|
2546
2551
|
}[] | null | undefined;
|
|
2547
2552
|
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2548
2553
|
description?: string | null | undefined;
|
|
2554
|
+
limit?: number | undefined;
|
|
2555
|
+
page?: number | undefined;
|
|
2549
2556
|
createdAt?: {
|
|
2550
2557
|
from?: string | null | undefined;
|
|
2551
2558
|
to?: string | null | undefined;
|
|
@@ -2555,22 +2562,23 @@ export declare const exportJobsContract: {
|
|
|
2555
2562
|
to?: string | null | undefined;
|
|
2556
2563
|
} | null | undefined;
|
|
2557
2564
|
userId?: string | null | undefined;
|
|
2558
|
-
tradeId?: string | null | undefined;
|
|
2559
|
-
companyId?: string | null | undefined;
|
|
2560
|
-
pay?: {
|
|
2561
|
-
minRate?: number | null | undefined;
|
|
2562
|
-
maxRate?: number | null | undefined;
|
|
2563
|
-
} | null | undefined;
|
|
2564
|
-
clientId?: string | null | undefined;
|
|
2565
2565
|
location?: {
|
|
2566
2566
|
postcode?: string | null | undefined;
|
|
2567
2567
|
radius?: number | null | undefined;
|
|
2568
2568
|
} | null | undefined;
|
|
2569
|
-
|
|
2569
|
+
pay?: {
|
|
2570
|
+
minRate?: number | null | undefined;
|
|
2571
|
+
maxRate?: number | null | undefined;
|
|
2572
|
+
} | null | undefined;
|
|
2573
|
+
tradeId?: string | null | undefined;
|
|
2570
2574
|
qualificationFilters?: {
|
|
2571
2575
|
qualificationId?: string | undefined;
|
|
2572
2576
|
qualificationTypeId?: string | undefined;
|
|
2573
2577
|
}[] | undefined;
|
|
2578
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
2579
|
+
clientId?: string | null | undefined;
|
|
2580
|
+
companyId?: string | null | undefined;
|
|
2581
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
2574
2582
|
}>;
|
|
2575
2583
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2576
2584
|
field: z.ZodString;
|
|
@@ -2592,7 +2600,7 @@ export declare const exportJobsContract: {
|
|
|
2592
2600
|
limit: number;
|
|
2593
2601
|
page: number;
|
|
2594
2602
|
sort?: {
|
|
2595
|
-
field: "status" | "description" | "
|
|
2603
|
+
field: "status" | "description" | "postcode" | "createdAt" | "updatedAt" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2596
2604
|
order: "ASC" | "DESC";
|
|
2597
2605
|
}[] | null | undefined;
|
|
2598
2606
|
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
@@ -2606,35 +2614,36 @@ export declare const exportJobsContract: {
|
|
|
2606
2614
|
to?: string | null | undefined;
|
|
2607
2615
|
} | null | undefined;
|
|
2608
2616
|
userId?: string | null | undefined;
|
|
2609
|
-
tradeId?: string | null | undefined;
|
|
2610
|
-
companyId?: string | null | undefined;
|
|
2611
|
-
pay?: {
|
|
2612
|
-
minRate?: number | null | undefined;
|
|
2613
|
-
maxRate?: number | null | undefined;
|
|
2614
|
-
} | null | undefined;
|
|
2615
|
-
clientId?: string | null | undefined;
|
|
2616
2617
|
location?: {
|
|
2617
2618
|
postcode?: string | null | undefined;
|
|
2618
2619
|
radius?: number | null | undefined;
|
|
2619
2620
|
} | null | undefined;
|
|
2620
|
-
|
|
2621
|
+
pay?: {
|
|
2622
|
+
minRate?: number | null | undefined;
|
|
2623
|
+
maxRate?: number | null | undefined;
|
|
2624
|
+
} | null | undefined;
|
|
2625
|
+
tradeId?: string | null | undefined;
|
|
2621
2626
|
qualificationFilters?: {
|
|
2622
2627
|
qualificationId?: string | undefined;
|
|
2623
2628
|
qualificationTypeId?: string | undefined;
|
|
2624
2629
|
}[] | undefined;
|
|
2630
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
2631
|
+
clientId?: string | null | undefined;
|
|
2632
|
+
companyId?: string | null | undefined;
|
|
2633
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
2625
2634
|
};
|
|
2626
2635
|
entity: "jobs";
|
|
2627
2636
|
columns: string[];
|
|
2628
2637
|
}, {
|
|
2629
2638
|
filter: {
|
|
2630
|
-
limit?: number | undefined;
|
|
2631
|
-
page?: number | undefined;
|
|
2632
2639
|
sort?: {
|
|
2633
|
-
field: "status" | "description" | "
|
|
2640
|
+
field: "status" | "description" | "postcode" | "createdAt" | "updatedAt" | "numberOfPositions" | "workHours" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2634
2641
|
order: "ASC" | "DESC";
|
|
2635
2642
|
}[] | null | undefined;
|
|
2636
2643
|
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2637
2644
|
description?: string | null | undefined;
|
|
2645
|
+
limit?: number | undefined;
|
|
2646
|
+
page?: number | undefined;
|
|
2638
2647
|
createdAt?: {
|
|
2639
2648
|
from?: string | null | undefined;
|
|
2640
2649
|
to?: string | null | undefined;
|
|
@@ -2644,22 +2653,23 @@ export declare const exportJobsContract: {
|
|
|
2644
2653
|
to?: string | null | undefined;
|
|
2645
2654
|
} | null | undefined;
|
|
2646
2655
|
userId?: string | null | undefined;
|
|
2647
|
-
tradeId?: string | null | undefined;
|
|
2648
|
-
companyId?: string | null | undefined;
|
|
2649
|
-
pay?: {
|
|
2650
|
-
minRate?: number | null | undefined;
|
|
2651
|
-
maxRate?: number | null | undefined;
|
|
2652
|
-
} | null | undefined;
|
|
2653
|
-
clientId?: string | null | undefined;
|
|
2654
2656
|
location?: {
|
|
2655
2657
|
postcode?: string | null | undefined;
|
|
2656
2658
|
radius?: number | null | undefined;
|
|
2657
2659
|
} | null | undefined;
|
|
2658
|
-
|
|
2660
|
+
pay?: {
|
|
2661
|
+
minRate?: number | null | undefined;
|
|
2662
|
+
maxRate?: number | null | undefined;
|
|
2663
|
+
} | null | undefined;
|
|
2664
|
+
tradeId?: string | null | undefined;
|
|
2659
2665
|
qualificationFilters?: {
|
|
2660
2666
|
qualificationId?: string | undefined;
|
|
2661
2667
|
qualificationTypeId?: string | undefined;
|
|
2662
2668
|
}[] | undefined;
|
|
2669
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
2670
|
+
clientId?: string | null | undefined;
|
|
2671
|
+
companyId?: string | null | undefined;
|
|
2672
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
2663
2673
|
};
|
|
2664
2674
|
entity: "jobs";
|
|
2665
2675
|
columns: string[];
|
|
@@ -2677,13 +2687,13 @@ export declare const exportJobsContract: {
|
|
|
2677
2687
|
email: z.ZodOptional<z.ZodString>;
|
|
2678
2688
|
phone: z.ZodOptional<z.ZodString>;
|
|
2679
2689
|
roles: z.ZodOptional<z.ZodObject<{
|
|
2680
|
-
values: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION"]>, "many">>;
|
|
2690
|
+
values: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS", "OFFICE_MANAGER", "WORKER_CURATOR", "INTERCONNECTION", "OUTREACH"]>, "many">>;
|
|
2681
2691
|
requireAll: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
2682
2692
|
}, "strip", z.ZodTypeAny, {
|
|
2683
|
-
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
2693
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2684
2694
|
requireAll?: boolean | undefined;
|
|
2685
2695
|
}, {
|
|
2686
|
-
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
2696
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2687
2697
|
requireAll?: unknown;
|
|
2688
2698
|
}>>;
|
|
2689
2699
|
officeId: z.ZodOptional<z.ZodString>;
|
|
@@ -2726,45 +2736,45 @@ export declare const exportJobsContract: {
|
|
|
2726
2736
|
order: "ASC" | "DESC";
|
|
2727
2737
|
}[] | null | undefined;
|
|
2728
2738
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2729
|
-
email?: string | undefined;
|
|
2730
|
-
roles?: {
|
|
2731
|
-
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
2732
|
-
requireAll?: boolean | undefined;
|
|
2733
|
-
} | undefined;
|
|
2734
2739
|
name?: string | undefined;
|
|
2740
|
+
email?: string | undefined;
|
|
2735
2741
|
createdAt?: {
|
|
2736
2742
|
from?: string | null | undefined;
|
|
2737
2743
|
to?: string | null | undefined;
|
|
2738
2744
|
} | null | undefined;
|
|
2745
|
+
roles?: {
|
|
2746
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2747
|
+
requireAll?: boolean | undefined;
|
|
2748
|
+
} | undefined;
|
|
2749
|
+
officeId?: string | undefined;
|
|
2739
2750
|
updatedAt?: {
|
|
2740
2751
|
from?: string | null | undefined;
|
|
2741
2752
|
to?: string | null | undefined;
|
|
2742
2753
|
} | null | undefined;
|
|
2743
|
-
officeId?: string | undefined;
|
|
2744
2754
|
phone?: string | undefined;
|
|
2745
2755
|
}, {
|
|
2746
|
-
limit?: number | undefined;
|
|
2747
|
-
page?: number | undefined;
|
|
2748
2756
|
sort?: {
|
|
2749
2757
|
field: "firstName" | "lastName" | "email" | "createdAt" | "office";
|
|
2750
2758
|
order: "ASC" | "DESC";
|
|
2751
2759
|
}[] | null | undefined;
|
|
2752
2760
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2753
|
-
email?: string | undefined;
|
|
2754
|
-
roles?: {
|
|
2755
|
-
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
2756
|
-
requireAll?: unknown;
|
|
2757
|
-
} | undefined;
|
|
2758
2761
|
name?: string | undefined;
|
|
2762
|
+
limit?: number | undefined;
|
|
2763
|
+
page?: number | undefined;
|
|
2764
|
+
email?: string | undefined;
|
|
2759
2765
|
createdAt?: {
|
|
2760
2766
|
from?: string | null | undefined;
|
|
2761
2767
|
to?: string | null | undefined;
|
|
2762
2768
|
} | null | undefined;
|
|
2769
|
+
roles?: {
|
|
2770
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2771
|
+
requireAll?: unknown;
|
|
2772
|
+
} | undefined;
|
|
2773
|
+
officeId?: string | undefined;
|
|
2763
2774
|
updatedAt?: {
|
|
2764
2775
|
from?: string | null | undefined;
|
|
2765
2776
|
to?: string | null | undefined;
|
|
2766
2777
|
} | null | undefined;
|
|
2767
|
-
officeId?: string | undefined;
|
|
2768
2778
|
phone?: string | undefined;
|
|
2769
2779
|
}>;
|
|
2770
2780
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2791,49 +2801,49 @@ export declare const exportJobsContract: {
|
|
|
2791
2801
|
order: "ASC" | "DESC";
|
|
2792
2802
|
}[] | null | undefined;
|
|
2793
2803
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2794
|
-
email?: string | undefined;
|
|
2795
|
-
roles?: {
|
|
2796
|
-
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
2797
|
-
requireAll?: boolean | undefined;
|
|
2798
|
-
} | undefined;
|
|
2799
2804
|
name?: string | undefined;
|
|
2805
|
+
email?: string | undefined;
|
|
2800
2806
|
createdAt?: {
|
|
2801
2807
|
from?: string | null | undefined;
|
|
2802
2808
|
to?: string | null | undefined;
|
|
2803
2809
|
} | null | undefined;
|
|
2810
|
+
roles?: {
|
|
2811
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2812
|
+
requireAll?: boolean | undefined;
|
|
2813
|
+
} | undefined;
|
|
2814
|
+
officeId?: string | undefined;
|
|
2804
2815
|
updatedAt?: {
|
|
2805
2816
|
from?: string | null | undefined;
|
|
2806
2817
|
to?: string | null | undefined;
|
|
2807
2818
|
} | null | undefined;
|
|
2808
|
-
officeId?: string | undefined;
|
|
2809
2819
|
phone?: string | undefined;
|
|
2810
2820
|
};
|
|
2811
2821
|
entity: "users";
|
|
2812
2822
|
columns: string[];
|
|
2813
2823
|
}, {
|
|
2814
2824
|
filter: {
|
|
2815
|
-
limit?: number | undefined;
|
|
2816
|
-
page?: number | undefined;
|
|
2817
2825
|
sort?: {
|
|
2818
2826
|
field: "firstName" | "lastName" | "email" | "createdAt" | "office";
|
|
2819
2827
|
order: "ASC" | "DESC";
|
|
2820
2828
|
}[] | null | undefined;
|
|
2821
2829
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2822
|
-
email?: string | undefined;
|
|
2823
|
-
roles?: {
|
|
2824
|
-
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
2825
|
-
requireAll?: unknown;
|
|
2826
|
-
} | undefined;
|
|
2827
2830
|
name?: string | undefined;
|
|
2831
|
+
limit?: number | undefined;
|
|
2832
|
+
page?: number | undefined;
|
|
2833
|
+
email?: string | undefined;
|
|
2828
2834
|
createdAt?: {
|
|
2829
2835
|
from?: string | null | undefined;
|
|
2830
2836
|
to?: string | null | undefined;
|
|
2831
2837
|
} | null | undefined;
|
|
2838
|
+
roles?: {
|
|
2839
|
+
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION" | "OUTREACH")[] | undefined;
|
|
2840
|
+
requireAll?: unknown;
|
|
2841
|
+
} | undefined;
|
|
2842
|
+
officeId?: string | undefined;
|
|
2832
2843
|
updatedAt?: {
|
|
2833
2844
|
from?: string | null | undefined;
|
|
2834
2845
|
to?: string | null | undefined;
|
|
2835
2846
|
} | null | undefined;
|
|
2836
|
-
officeId?: string | undefined;
|
|
2837
2847
|
phone?: string | undefined;
|
|
2838
2848
|
};
|
|
2839
2849
|
entity: "users";
|
|
@@ -2921,8 +2931,11 @@ export declare const exportJobsContract: {
|
|
|
2921
2931
|
dir: "ASC" | "DESC";
|
|
2922
2932
|
}[];
|
|
2923
2933
|
filter: Record<string, unknown>;
|
|
2924
|
-
status: "
|
|
2934
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
2925
2935
|
id: string;
|
|
2936
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
2937
|
+
userId: string;
|
|
2938
|
+
requestedAt: string;
|
|
2926
2939
|
user: {
|
|
2927
2940
|
id: string;
|
|
2928
2941
|
firstName: string;
|
|
@@ -2935,22 +2948,22 @@ export declare const exportJobsContract: {
|
|
|
2935
2948
|
}[];
|
|
2936
2949
|
deletedAt?: string | null | undefined;
|
|
2937
2950
|
} | null;
|
|
2938
|
-
|
|
2939
|
-
|
|
2951
|
+
expiresAt: string;
|
|
2952
|
+
totalRows: number | null;
|
|
2953
|
+
errorMessage: string | null;
|
|
2940
2954
|
completedAt: string | null;
|
|
2941
|
-
|
|
2955
|
+
startedAt: string | null;
|
|
2942
2956
|
columns: string[];
|
|
2943
2957
|
rowsProcessed: number;
|
|
2944
2958
|
rowsSkipped: number;
|
|
2945
|
-
totalRows: number | null;
|
|
2946
2959
|
byteSize: number | null;
|
|
2947
|
-
errorMessage: string | null;
|
|
2948
|
-
startedAt: string | null;
|
|
2949
|
-
expiresAt: string;
|
|
2950
2960
|
}, {
|
|
2951
2961
|
filter: Record<string, unknown>;
|
|
2952
|
-
status: "
|
|
2962
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
2953
2963
|
id: string;
|
|
2964
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
2965
|
+
userId: string;
|
|
2966
|
+
requestedAt: string;
|
|
2954
2967
|
user: {
|
|
2955
2968
|
id: string;
|
|
2956
2969
|
firstName: string;
|
|
@@ -2963,18 +2976,15 @@ export declare const exportJobsContract: {
|
|
|
2963
2976
|
}[] | undefined;
|
|
2964
2977
|
deletedAt?: string | Date | null | undefined;
|
|
2965
2978
|
} | null;
|
|
2966
|
-
|
|
2967
|
-
|
|
2979
|
+
expiresAt: string;
|
|
2980
|
+
totalRows: number | null;
|
|
2981
|
+
errorMessage: string | null;
|
|
2968
2982
|
completedAt: string | null;
|
|
2969
|
-
|
|
2983
|
+
startedAt: string | null;
|
|
2970
2984
|
columns: string[];
|
|
2971
2985
|
rowsProcessed: number;
|
|
2972
2986
|
rowsSkipped: number;
|
|
2973
|
-
totalRows: number | null;
|
|
2974
2987
|
byteSize: number | null;
|
|
2975
|
-
errorMessage: string | null;
|
|
2976
|
-
startedAt: string | null;
|
|
2977
|
-
expiresAt: string;
|
|
2978
2988
|
sort?: {
|
|
2979
2989
|
field: string;
|
|
2980
2990
|
dir: "ASC" | "DESC";
|
|
@@ -3018,40 +3028,40 @@ export declare const exportJobsContract: {
|
|
|
3018
3028
|
field: z.ZodEnum<["requestedAt", "completedAt", "status", "entity"]>;
|
|
3019
3029
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
3020
3030
|
}, "strip", z.ZodTypeAny, {
|
|
3021
|
-
field: "status" | "
|
|
3031
|
+
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
3022
3032
|
order: "ASC" | "DESC";
|
|
3023
3033
|
}, {
|
|
3024
|
-
field: "status" | "
|
|
3034
|
+
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
3025
3035
|
order: "ASC" | "DESC";
|
|
3026
3036
|
}>, "many">>>;
|
|
3027
3037
|
}, "strip", z.ZodTypeAny, {
|
|
3028
3038
|
limit: number;
|
|
3029
3039
|
page: number;
|
|
3030
3040
|
sort?: {
|
|
3031
|
-
field: "status" | "
|
|
3041
|
+
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
3032
3042
|
order: "ASC" | "DESC";
|
|
3033
3043
|
}[] | null | undefined;
|
|
3034
|
-
status?: "
|
|
3044
|
+
status?: "completed" | "cancelled" | "failed" | "pending" | "processing" | undefined;
|
|
3045
|
+
entity?: "jobs" | "bookings" | "actives" | "call-history" | "users" | undefined;
|
|
3035
3046
|
userId?: string | undefined;
|
|
3036
3047
|
requestedAt?: {
|
|
3037
3048
|
from?: string | null | undefined;
|
|
3038
3049
|
to?: string | null | undefined;
|
|
3039
3050
|
} | null | undefined;
|
|
3040
|
-
entity?: "actives" | "bookings" | "call-history" | "jobs" | "users" | undefined;
|
|
3041
3051
|
}, {
|
|
3042
|
-
limit?: number | undefined;
|
|
3043
|
-
page?: number | undefined;
|
|
3044
3052
|
sort?: {
|
|
3045
|
-
field: "status" | "
|
|
3053
|
+
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
3046
3054
|
order: "ASC" | "DESC";
|
|
3047
3055
|
}[] | null | undefined;
|
|
3048
|
-
status?: "
|
|
3056
|
+
status?: "completed" | "cancelled" | "failed" | "pending" | "processing" | undefined;
|
|
3057
|
+
limit?: number | undefined;
|
|
3058
|
+
page?: number | undefined;
|
|
3059
|
+
entity?: "jobs" | "bookings" | "actives" | "call-history" | "users" | undefined;
|
|
3049
3060
|
userId?: string | undefined;
|
|
3050
3061
|
requestedAt?: {
|
|
3051
3062
|
from?: string | null | undefined;
|
|
3052
3063
|
to?: string | null | undefined;
|
|
3053
3064
|
} | null | undefined;
|
|
3054
|
-
entity?: "actives" | "bookings" | "call-history" | "jobs" | "users" | undefined;
|
|
3055
3065
|
}>;
|
|
3056
3066
|
summary: "List export jobs the caller is allowed to see";
|
|
3057
3067
|
method: "GET";
|
|
@@ -3134,8 +3144,11 @@ export declare const exportJobsContract: {
|
|
|
3134
3144
|
dir: "ASC" | "DESC";
|
|
3135
3145
|
}[];
|
|
3136
3146
|
filter: Record<string, unknown>;
|
|
3137
|
-
status: "
|
|
3147
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3138
3148
|
id: string;
|
|
3149
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3150
|
+
userId: string;
|
|
3151
|
+
requestedAt: string;
|
|
3139
3152
|
user: {
|
|
3140
3153
|
id: string;
|
|
3141
3154
|
firstName: string;
|
|
@@ -3148,22 +3161,22 @@ export declare const exportJobsContract: {
|
|
|
3148
3161
|
}[];
|
|
3149
3162
|
deletedAt?: string | null | undefined;
|
|
3150
3163
|
} | null;
|
|
3151
|
-
|
|
3152
|
-
|
|
3164
|
+
expiresAt: string;
|
|
3165
|
+
totalRows: number | null;
|
|
3166
|
+
errorMessage: string | null;
|
|
3153
3167
|
completedAt: string | null;
|
|
3154
|
-
|
|
3168
|
+
startedAt: string | null;
|
|
3155
3169
|
columns: string[];
|
|
3156
3170
|
rowsProcessed: number;
|
|
3157
3171
|
rowsSkipped: number;
|
|
3158
|
-
totalRows: number | null;
|
|
3159
3172
|
byteSize: number | null;
|
|
3160
|
-
errorMessage: string | null;
|
|
3161
|
-
startedAt: string | null;
|
|
3162
|
-
expiresAt: string;
|
|
3163
3173
|
}, {
|
|
3164
3174
|
filter: Record<string, unknown>;
|
|
3165
|
-
status: "
|
|
3175
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3166
3176
|
id: string;
|
|
3177
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3178
|
+
userId: string;
|
|
3179
|
+
requestedAt: string;
|
|
3167
3180
|
user: {
|
|
3168
3181
|
id: string;
|
|
3169
3182
|
firstName: string;
|
|
@@ -3176,18 +3189,15 @@ export declare const exportJobsContract: {
|
|
|
3176
3189
|
}[] | undefined;
|
|
3177
3190
|
deletedAt?: string | Date | null | undefined;
|
|
3178
3191
|
} | null;
|
|
3179
|
-
|
|
3180
|
-
|
|
3192
|
+
expiresAt: string;
|
|
3193
|
+
totalRows: number | null;
|
|
3194
|
+
errorMessage: string | null;
|
|
3181
3195
|
completedAt: string | null;
|
|
3182
|
-
|
|
3196
|
+
startedAt: string | null;
|
|
3183
3197
|
columns: string[];
|
|
3184
3198
|
rowsProcessed: number;
|
|
3185
3199
|
rowsSkipped: number;
|
|
3186
|
-
totalRows: number | null;
|
|
3187
3200
|
byteSize: number | null;
|
|
3188
|
-
errorMessage: string | null;
|
|
3189
|
-
startedAt: string | null;
|
|
3190
|
-
expiresAt: string;
|
|
3191
3201
|
sort?: {
|
|
3192
3202
|
field: string;
|
|
3193
3203
|
dir: "ASC" | "DESC";
|
|
@@ -3206,8 +3216,11 @@ export declare const exportJobsContract: {
|
|
|
3206
3216
|
dir: "ASC" | "DESC";
|
|
3207
3217
|
}[];
|
|
3208
3218
|
filter: Record<string, unknown>;
|
|
3209
|
-
status: "
|
|
3219
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3210
3220
|
id: string;
|
|
3221
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3222
|
+
userId: string;
|
|
3223
|
+
requestedAt: string;
|
|
3211
3224
|
user: {
|
|
3212
3225
|
id: string;
|
|
3213
3226
|
firstName: string;
|
|
@@ -3220,18 +3233,15 @@ export declare const exportJobsContract: {
|
|
|
3220
3233
|
}[];
|
|
3221
3234
|
deletedAt?: string | null | undefined;
|
|
3222
3235
|
} | null;
|
|
3223
|
-
|
|
3224
|
-
|
|
3236
|
+
expiresAt: string;
|
|
3237
|
+
totalRows: number | null;
|
|
3238
|
+
errorMessage: string | null;
|
|
3225
3239
|
completedAt: string | null;
|
|
3226
|
-
|
|
3240
|
+
startedAt: string | null;
|
|
3227
3241
|
columns: string[];
|
|
3228
3242
|
rowsProcessed: number;
|
|
3229
3243
|
rowsSkipped: number;
|
|
3230
|
-
totalRows: number | null;
|
|
3231
3244
|
byteSize: number | null;
|
|
3232
|
-
errorMessage: string | null;
|
|
3233
|
-
startedAt: string | null;
|
|
3234
|
-
expiresAt: string;
|
|
3235
3245
|
}[];
|
|
3236
3246
|
totalCount: number;
|
|
3237
3247
|
skip: number;
|
|
@@ -3241,8 +3251,11 @@ export declare const exportJobsContract: {
|
|
|
3241
3251
|
limit: number;
|
|
3242
3252
|
items: {
|
|
3243
3253
|
filter: Record<string, unknown>;
|
|
3244
|
-
status: "
|
|
3254
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3245
3255
|
id: string;
|
|
3256
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3257
|
+
userId: string;
|
|
3258
|
+
requestedAt: string;
|
|
3246
3259
|
user: {
|
|
3247
3260
|
id: string;
|
|
3248
3261
|
firstName: string;
|
|
@@ -3255,18 +3268,15 @@ export declare const exportJobsContract: {
|
|
|
3255
3268
|
}[] | undefined;
|
|
3256
3269
|
deletedAt?: string | Date | null | undefined;
|
|
3257
3270
|
} | null;
|
|
3258
|
-
|
|
3259
|
-
|
|
3271
|
+
expiresAt: string;
|
|
3272
|
+
totalRows: number | null;
|
|
3273
|
+
errorMessage: string | null;
|
|
3260
3274
|
completedAt: string | null;
|
|
3261
|
-
|
|
3275
|
+
startedAt: string | null;
|
|
3262
3276
|
columns: string[];
|
|
3263
3277
|
rowsProcessed: number;
|
|
3264
3278
|
rowsSkipped: number;
|
|
3265
|
-
totalRows: number | null;
|
|
3266
3279
|
byteSize: number | null;
|
|
3267
|
-
errorMessage: string | null;
|
|
3268
|
-
startedAt: string | null;
|
|
3269
|
-
expiresAt: string;
|
|
3270
3280
|
sort?: {
|
|
3271
3281
|
field: string;
|
|
3272
3282
|
dir: "ASC" | "DESC";
|
|
@@ -3367,8 +3377,11 @@ export declare const exportJobsContract: {
|
|
|
3367
3377
|
dir: "ASC" | "DESC";
|
|
3368
3378
|
}[];
|
|
3369
3379
|
filter: Record<string, unknown>;
|
|
3370
|
-
status: "
|
|
3380
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3371
3381
|
id: string;
|
|
3382
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3383
|
+
userId: string;
|
|
3384
|
+
requestedAt: string;
|
|
3372
3385
|
user: {
|
|
3373
3386
|
id: string;
|
|
3374
3387
|
firstName: string;
|
|
@@ -3381,22 +3394,22 @@ export declare const exportJobsContract: {
|
|
|
3381
3394
|
}[];
|
|
3382
3395
|
deletedAt?: string | null | undefined;
|
|
3383
3396
|
} | null;
|
|
3384
|
-
|
|
3385
|
-
|
|
3397
|
+
expiresAt: string;
|
|
3398
|
+
totalRows: number | null;
|
|
3399
|
+
errorMessage: string | null;
|
|
3386
3400
|
completedAt: string | null;
|
|
3387
|
-
|
|
3401
|
+
startedAt: string | null;
|
|
3388
3402
|
columns: string[];
|
|
3389
3403
|
rowsProcessed: number;
|
|
3390
3404
|
rowsSkipped: number;
|
|
3391
|
-
totalRows: number | null;
|
|
3392
3405
|
byteSize: number | null;
|
|
3393
|
-
errorMessage: string | null;
|
|
3394
|
-
startedAt: string | null;
|
|
3395
|
-
expiresAt: string;
|
|
3396
3406
|
}, {
|
|
3397
3407
|
filter: Record<string, unknown>;
|
|
3398
|
-
status: "
|
|
3408
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3399
3409
|
id: string;
|
|
3410
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3411
|
+
userId: string;
|
|
3412
|
+
requestedAt: string;
|
|
3400
3413
|
user: {
|
|
3401
3414
|
id: string;
|
|
3402
3415
|
firstName: string;
|
|
@@ -3409,18 +3422,15 @@ export declare const exportJobsContract: {
|
|
|
3409
3422
|
}[] | undefined;
|
|
3410
3423
|
deletedAt?: string | Date | null | undefined;
|
|
3411
3424
|
} | null;
|
|
3412
|
-
|
|
3413
|
-
|
|
3425
|
+
expiresAt: string;
|
|
3426
|
+
totalRows: number | null;
|
|
3427
|
+
errorMessage: string | null;
|
|
3414
3428
|
completedAt: string | null;
|
|
3415
|
-
|
|
3429
|
+
startedAt: string | null;
|
|
3416
3430
|
columns: string[];
|
|
3417
3431
|
rowsProcessed: number;
|
|
3418
3432
|
rowsSkipped: number;
|
|
3419
|
-
totalRows: number | null;
|
|
3420
3433
|
byteSize: number | null;
|
|
3421
|
-
errorMessage: string | null;
|
|
3422
|
-
startedAt: string | null;
|
|
3423
|
-
expiresAt: string;
|
|
3424
3434
|
sort?: {
|
|
3425
3435
|
field: string;
|
|
3426
3436
|
dir: "ASC" | "DESC";
|
|
@@ -3524,8 +3534,11 @@ export declare const exportJobsContract: {
|
|
|
3524
3534
|
dir: "ASC" | "DESC";
|
|
3525
3535
|
}[];
|
|
3526
3536
|
filter: Record<string, unknown>;
|
|
3527
|
-
status: "
|
|
3537
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3528
3538
|
id: string;
|
|
3539
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3540
|
+
userId: string;
|
|
3541
|
+
requestedAt: string;
|
|
3529
3542
|
user: {
|
|
3530
3543
|
id: string;
|
|
3531
3544
|
firstName: string;
|
|
@@ -3538,22 +3551,22 @@ export declare const exportJobsContract: {
|
|
|
3538
3551
|
}[];
|
|
3539
3552
|
deletedAt?: string | null | undefined;
|
|
3540
3553
|
} | null;
|
|
3541
|
-
|
|
3542
|
-
|
|
3554
|
+
expiresAt: string;
|
|
3555
|
+
totalRows: number | null;
|
|
3556
|
+
errorMessage: string | null;
|
|
3543
3557
|
completedAt: string | null;
|
|
3544
|
-
|
|
3558
|
+
startedAt: string | null;
|
|
3545
3559
|
columns: string[];
|
|
3546
3560
|
rowsProcessed: number;
|
|
3547
3561
|
rowsSkipped: number;
|
|
3548
|
-
totalRows: number | null;
|
|
3549
3562
|
byteSize: number | null;
|
|
3550
|
-
errorMessage: string | null;
|
|
3551
|
-
startedAt: string | null;
|
|
3552
|
-
expiresAt: string;
|
|
3553
3563
|
}, {
|
|
3554
3564
|
filter: Record<string, unknown>;
|
|
3555
|
-
status: "
|
|
3565
|
+
status: "completed" | "cancelled" | "failed" | "pending" | "processing";
|
|
3556
3566
|
id: string;
|
|
3567
|
+
entity: "jobs" | "bookings" | "actives" | "call-history" | "users";
|
|
3568
|
+
userId: string;
|
|
3569
|
+
requestedAt: string;
|
|
3557
3570
|
user: {
|
|
3558
3571
|
id: string;
|
|
3559
3572
|
firstName: string;
|
|
@@ -3566,18 +3579,15 @@ export declare const exportJobsContract: {
|
|
|
3566
3579
|
}[] | undefined;
|
|
3567
3580
|
deletedAt?: string | Date | null | undefined;
|
|
3568
3581
|
} | null;
|
|
3569
|
-
|
|
3570
|
-
|
|
3582
|
+
expiresAt: string;
|
|
3583
|
+
totalRows: number | null;
|
|
3584
|
+
errorMessage: string | null;
|
|
3571
3585
|
completedAt: string | null;
|
|
3572
|
-
|
|
3586
|
+
startedAt: string | null;
|
|
3573
3587
|
columns: string[];
|
|
3574
3588
|
rowsProcessed: number;
|
|
3575
3589
|
rowsSkipped: number;
|
|
3576
|
-
totalRows: number | null;
|
|
3577
3590
|
byteSize: number | null;
|
|
3578
|
-
errorMessage: string | null;
|
|
3579
|
-
startedAt: string | null;
|
|
3580
|
-
expiresAt: string;
|
|
3581
3591
|
sort?: {
|
|
3582
3592
|
field: string;
|
|
3583
3593
|
dir: "ASC" | "DESC";
|