@dakkitor/api-contracts 1.4.0 → 1.5.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 +3 -1
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +4 -1
- package/dist/abilities/first-agent.abilities.json +13 -0
- package/dist/abilities/outreach-service.abilities.json +14 -0
- package/dist/abilities/second-agent.abilities.json +13 -0
- package/dist/actives/actives.contract.d.ts +8657 -8657
- package/dist/bookings/bookings.contract.d.ts +13082 -13082
- package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +4322 -4322
- package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +398 -398
- package/dist/curated-worker-leads/consent-queue.contract.d.ts +1205 -1205
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts +5811 -5629
- package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
- package/dist/curated-worker-leads/jobs-tab.contract.js +31 -1
- package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +190 -190
- package/dist/dashboards/dashboard-widgets.contract.d.ts +262 -262
- package/dist/export-jobs/export-jobs.contract.d.ts +828 -818
- package/dist/export-jobs/export-jobs.contract.d.ts.map +1 -1
- package/dist/exports-events/exports-events.schemas.d.ts +2 -2
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/jobs/jobs.contract.d.ts +9534 -9522
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +9 -0
- package/dist/notifications/notifications.contract.d.ts +42 -42
- 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 +78 -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 +64 -0
- package/dist/outreach/__tests__/outreach.schemas.test.js +5 -1
- package/dist/outreach/outreach-requests.contract.d.ts +1108 -0
- package/dist/outreach/outreach-requests.contract.d.ts.map +1 -0
- package/dist/outreach/outreach-requests.contract.js +134 -0
- package/dist/outreach/outreach-requests.schemas.d.ts +49 -0
- package/dist/outreach/outreach-requests.schemas.d.ts.map +1 -0
- package/dist/outreach/outreach-requests.schemas.js +60 -0
- package/dist/outreach/outreach.contract.d.ts +145 -135
- package/dist/outreach/outreach.contract.d.ts.map +1 -1
- 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/package.json +1 -1
|
@@ -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
|
-
limit: number;
|
|
44
43
|
page: number;
|
|
44
|
+
limit: number;
|
|
45
|
+
status?: "pending" | "processing" | "completed" | "failed" | "cancelled" | undefined;
|
|
45
46
|
sort?: {
|
|
46
|
-
field: "status" | "
|
|
47
|
+
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
47
48
|
order: "ASC" | "DESC";
|
|
48
49
|
}[] | null | undefined;
|
|
49
|
-
status?: "pending" | "processing" | "completed" | "failed" | "cancelled" | undefined;
|
|
50
50
|
userId?: string | undefined;
|
|
51
|
+
entity?: "actives" | "bookings" | "call-history" | "jobs" | "users" | 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
|
-
|
|
58
|
-
page?: number | undefined;
|
|
57
|
+
status?: "pending" | "processing" | "completed" | "failed" | "cancelled" | undefined;
|
|
59
58
|
sort?: {
|
|
60
|
-
field: "status" | "
|
|
59
|
+
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
61
60
|
order: "ASC" | "DESC";
|
|
62
61
|
}[] | null | undefined;
|
|
63
|
-
|
|
62
|
+
page?: number | undefined;
|
|
63
|
+
limit?: number | undefined;
|
|
64
64
|
userId?: string | undefined;
|
|
65
|
+
entity?: "actives" | "bookings" | "call-history" | "jobs" | "users" | 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<{
|
|
@@ -129,100 +129,100 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
129
129
|
radius?: number | null | undefined;
|
|
130
130
|
}>>>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
userId?: string | null | undefined;
|
|
133
|
-
tradeId?: string | null | undefined;
|
|
134
|
-
companyId?: string | null | undefined;
|
|
135
|
-
clientId?: string | null | undefined;
|
|
136
132
|
location?: {
|
|
137
133
|
postcode?: string | null | undefined;
|
|
138
134
|
radius?: number | null | undefined;
|
|
139
135
|
} | null | undefined;
|
|
140
|
-
}, {
|
|
141
|
-
userId?: string | null | undefined;
|
|
142
136
|
tradeId?: string | null | undefined;
|
|
143
|
-
companyId?: string | null | undefined;
|
|
144
137
|
clientId?: string | null | undefined;
|
|
138
|
+
companyId?: string | null | undefined;
|
|
139
|
+
userId?: string | null | undefined;
|
|
140
|
+
}, {
|
|
145
141
|
location?: {
|
|
146
142
|
postcode?: string | null | undefined;
|
|
147
143
|
radius?: number | null | undefined;
|
|
148
144
|
} | null | undefined;
|
|
145
|
+
tradeId?: string | null | undefined;
|
|
146
|
+
clientId?: string | null | undefined;
|
|
147
|
+
companyId?: string | null | undefined;
|
|
148
|
+
userId?: 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: "
|
|
154
|
+
field: "updatedAt" | "createdAt" | "postcode" | "status" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "firstAgent";
|
|
155
155
|
order: "ASC" | "DESC";
|
|
156
156
|
}, {
|
|
157
|
-
field: "
|
|
157
|
+
field: "updatedAt" | "createdAt" | "postcode" | "status" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "firstAgent";
|
|
158
158
|
order: "ASC" | "DESC";
|
|
159
159
|
}>, "many">>>;
|
|
160
160
|
}, "strip", z.ZodTypeAny, {
|
|
161
|
-
limit: number;
|
|
162
161
|
page: number;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
162
|
+
limit: number;
|
|
163
|
+
pay?: {
|
|
164
|
+
minRate?: number | null | undefined;
|
|
165
|
+
maxRate?: number | null | undefined;
|
|
166
|
+
} | null | undefined;
|
|
167
167
|
status?: {
|
|
168
168
|
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
169
169
|
} | null | undefined;
|
|
170
|
+
sort?: {
|
|
171
|
+
field: "updatedAt" | "createdAt" | "postcode" | "status" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "firstAgent";
|
|
172
|
+
order: "ASC" | "DESC";
|
|
173
|
+
}[] | null | undefined;
|
|
170
174
|
date?: {
|
|
171
175
|
from?: string | null | undefined;
|
|
172
176
|
to?: string | null | undefined;
|
|
173
177
|
} | null | undefined;
|
|
178
|
+
job?: {
|
|
179
|
+
location?: {
|
|
180
|
+
postcode?: string | null | undefined;
|
|
181
|
+
radius?: number | null | undefined;
|
|
182
|
+
} | null | undefined;
|
|
183
|
+
tradeId?: string | null | undefined;
|
|
184
|
+
clientId?: string | null | undefined;
|
|
185
|
+
companyId?: string | null | undefined;
|
|
186
|
+
userId?: string | null | undefined;
|
|
187
|
+
} | null | undefined;
|
|
174
188
|
workerName?: {
|
|
175
189
|
value?: string | undefined;
|
|
176
190
|
exact?: boolean | undefined;
|
|
177
191
|
} | null | undefined;
|
|
178
192
|
agentId?: string | null | undefined;
|
|
193
|
+
}, {
|
|
179
194
|
pay?: {
|
|
180
195
|
minRate?: number | null | undefined;
|
|
181
196
|
maxRate?: number | null | undefined;
|
|
182
197
|
} | null | undefined;
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
tradeId?: string | null | undefined;
|
|
186
|
-
companyId?: string | null | undefined;
|
|
187
|
-
clientId?: string | null | undefined;
|
|
188
|
-
location?: {
|
|
189
|
-
postcode?: string | null | undefined;
|
|
190
|
-
radius?: number | null | undefined;
|
|
191
|
-
} | null | undefined;
|
|
198
|
+
status?: {
|
|
199
|
+
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
192
200
|
} | null | undefined;
|
|
193
|
-
}, {
|
|
194
|
-
limit?: number | undefined;
|
|
195
|
-
page?: number | undefined;
|
|
196
201
|
sort?: {
|
|
197
|
-
field: "
|
|
202
|
+
field: "updatedAt" | "createdAt" | "postcode" | "status" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "firstAgent";
|
|
198
203
|
order: "ASC" | "DESC";
|
|
199
204
|
}[] | null | undefined;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
} | null | undefined;
|
|
205
|
+
page?: number | undefined;
|
|
206
|
+
limit?: number | undefined;
|
|
203
207
|
date?: {
|
|
204
208
|
from?: string | null | undefined;
|
|
205
209
|
to?: string | null | undefined;
|
|
206
210
|
} | null | undefined;
|
|
207
|
-
workerName?: {
|
|
208
|
-
value?: string | undefined;
|
|
209
|
-
exact?: boolean | "true" | "false" | undefined;
|
|
210
|
-
} | null | undefined;
|
|
211
|
-
agentId?: string | null | undefined;
|
|
212
|
-
pay?: {
|
|
213
|
-
minRate?: number | null | undefined;
|
|
214
|
-
maxRate?: number | null | undefined;
|
|
215
|
-
} | null | undefined;
|
|
216
211
|
job?: {
|
|
217
|
-
userId?: string | null | undefined;
|
|
218
|
-
tradeId?: string | null | undefined;
|
|
219
|
-
companyId?: string | null | undefined;
|
|
220
|
-
clientId?: string | null | undefined;
|
|
221
212
|
location?: {
|
|
222
213
|
postcode?: string | null | undefined;
|
|
223
214
|
radius?: number | null | undefined;
|
|
224
215
|
} | null | undefined;
|
|
216
|
+
tradeId?: string | null | undefined;
|
|
217
|
+
clientId?: string | null | undefined;
|
|
218
|
+
companyId?: string | null | undefined;
|
|
219
|
+
userId?: 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;
|
|
@@ -240,78 +240,78 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
240
240
|
field: string;
|
|
241
241
|
dir: "ASC" | "DESC";
|
|
242
242
|
}[];
|
|
243
|
+
entity: "actives";
|
|
243
244
|
filter: {
|
|
244
|
-
limit: number;
|
|
245
245
|
page: number;
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
246
|
+
limit: number;
|
|
247
|
+
pay?: {
|
|
248
|
+
minRate?: number | null | undefined;
|
|
249
|
+
maxRate?: number | null | undefined;
|
|
250
|
+
} | null | undefined;
|
|
250
251
|
status?: {
|
|
251
252
|
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
252
253
|
} | null | undefined;
|
|
254
|
+
sort?: {
|
|
255
|
+
field: "updatedAt" | "createdAt" | "postcode" | "status" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "firstAgent";
|
|
256
|
+
order: "ASC" | "DESC";
|
|
257
|
+
}[] | null | undefined;
|
|
253
258
|
date?: {
|
|
254
259
|
from?: string | null | undefined;
|
|
255
260
|
to?: string | null | undefined;
|
|
256
261
|
} | null | undefined;
|
|
257
|
-
workerName?: {
|
|
258
|
-
value?: string | undefined;
|
|
259
|
-
exact?: boolean | undefined;
|
|
260
|
-
} | null | undefined;
|
|
261
|
-
agentId?: string | null | undefined;
|
|
262
|
-
pay?: {
|
|
263
|
-
minRate?: number | null | undefined;
|
|
264
|
-
maxRate?: number | null | undefined;
|
|
265
|
-
} | null | undefined;
|
|
266
262
|
job?: {
|
|
267
|
-
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
|
+
userId?: string | null | undefined;
|
|
271
|
+
} | null | undefined;
|
|
272
|
+
workerName?: {
|
|
273
|
+
value?: string | undefined;
|
|
274
|
+
exact?: boolean | undefined;
|
|
275
275
|
} | null | undefined;
|
|
276
|
+
agentId?: string | null | undefined;
|
|
276
277
|
};
|
|
277
|
-
entity: "actives";
|
|
278
278
|
columns: string[];
|
|
279
279
|
}, {
|
|
280
|
+
entity: "actives";
|
|
280
281
|
filter: {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
order: "ASC" | "DESC";
|
|
286
|
-
}[] | null | undefined;
|
|
282
|
+
pay?: {
|
|
283
|
+
minRate?: number | null | undefined;
|
|
284
|
+
maxRate?: number | null | undefined;
|
|
285
|
+
} | null | undefined;
|
|
287
286
|
status?: {
|
|
288
287
|
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
289
288
|
} | null | undefined;
|
|
289
|
+
sort?: {
|
|
290
|
+
field: "updatedAt" | "createdAt" | "postcode" | "status" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "firstAgent";
|
|
291
|
+
order: "ASC" | "DESC";
|
|
292
|
+
}[] | null | undefined;
|
|
293
|
+
page?: number | undefined;
|
|
294
|
+
limit?: number | undefined;
|
|
290
295
|
date?: {
|
|
291
296
|
from?: string | null | undefined;
|
|
292
297
|
to?: string | null | undefined;
|
|
293
298
|
} | null | undefined;
|
|
294
|
-
workerName?: {
|
|
295
|
-
value?: string | undefined;
|
|
296
|
-
exact?: boolean | "true" | "false" | undefined;
|
|
297
|
-
} | null | undefined;
|
|
298
|
-
agentId?: string | null | undefined;
|
|
299
|
-
pay?: {
|
|
300
|
-
minRate?: number | null | undefined;
|
|
301
|
-
maxRate?: number | null | undefined;
|
|
302
|
-
} | null | undefined;
|
|
303
299
|
job?: {
|
|
304
|
-
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
|
+
userId?: string | null | undefined;
|
|
312
308
|
} | null | undefined;
|
|
309
|
+
workerName?: {
|
|
310
|
+
value?: string | undefined;
|
|
311
|
+
exact?: boolean | "true" | "false" | undefined;
|
|
312
|
+
} | null | undefined;
|
|
313
|
+
agentId?: string | null | undefined;
|
|
313
314
|
};
|
|
314
|
-
entity: "actives";
|
|
315
315
|
columns: string[];
|
|
316
316
|
sort?: {
|
|
317
317
|
field: string;
|
|
@@ -405,23 +405,23 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
405
405
|
radius?: number | null | undefined;
|
|
406
406
|
}>>>;
|
|
407
407
|
}, "strip", z.ZodTypeAny, {
|
|
408
|
-
userId?: string | null | undefined;
|
|
409
|
-
tradeId?: string | null | undefined;
|
|
410
|
-
companyId?: string | null | undefined;
|
|
411
|
-
clientId?: string | null | undefined;
|
|
412
408
|
location?: {
|
|
413
409
|
postcode?: string | null | undefined;
|
|
414
410
|
radius?: number | null | undefined;
|
|
415
411
|
} | null | undefined;
|
|
416
|
-
}, {
|
|
417
|
-
userId?: string | null | undefined;
|
|
418
412
|
tradeId?: string | null | undefined;
|
|
419
|
-
companyId?: string | null | undefined;
|
|
420
413
|
clientId?: string | null | undefined;
|
|
414
|
+
companyId?: string | null | undefined;
|
|
415
|
+
userId?: string | null | undefined;
|
|
416
|
+
}, {
|
|
421
417
|
location?: {
|
|
422
418
|
postcode?: string | null | undefined;
|
|
423
419
|
radius?: number | null | undefined;
|
|
424
420
|
} | null | undefined;
|
|
421
|
+
tradeId?: string | null | undefined;
|
|
422
|
+
clientId?: string | null | undefined;
|
|
423
|
+
companyId?: string | null | undefined;
|
|
424
|
+
userId?: string | null | undefined;
|
|
425
425
|
}>>>;
|
|
426
426
|
agentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
427
427
|
endDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -458,19 +458,23 @@ 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: "
|
|
461
|
+
field: "updatedAt" | "createdAt" | "status" | "startDate" | "payRate" | "endDate" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent";
|
|
462
462
|
order: "ASC" | "DESC";
|
|
463
463
|
}, {
|
|
464
|
-
field: "
|
|
464
|
+
field: "updatedAt" | "createdAt" | "status" | "startDate" | "payRate" | "endDate" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent";
|
|
465
465
|
order: "ASC" | "DESC";
|
|
466
466
|
}>, "many">>>;
|
|
467
467
|
}, "strip", z.ZodTypeAny, {
|
|
468
|
-
limit: number;
|
|
469
468
|
page: number;
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
469
|
+
limit: number;
|
|
470
|
+
updatedAt?: {
|
|
471
|
+
from?: string | null | undefined;
|
|
472
|
+
to?: string | null | undefined;
|
|
473
|
+
} | null | undefined;
|
|
474
|
+
createdAt?: {
|
|
475
|
+
from?: string | null | undefined;
|
|
476
|
+
to?: string | null | undefined;
|
|
477
|
+
} | null | undefined;
|
|
474
478
|
status?: {
|
|
475
479
|
category: "ATTEMPT";
|
|
476
480
|
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" | "CONFIRMED" | undefined;
|
|
@@ -491,40 +495,38 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
491
495
|
from?: string | null | undefined;
|
|
492
496
|
to?: string | null | undefined;
|
|
493
497
|
} | null | undefined;
|
|
494
|
-
|
|
498
|
+
sort?: {
|
|
499
|
+
field: "updatedAt" | "createdAt" | "status" | "startDate" | "payRate" | "endDate" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent";
|
|
500
|
+
order: "ASC" | "DESC";
|
|
501
|
+
}[] | null | undefined;
|
|
502
|
+
endDate?: {
|
|
495
503
|
from?: string | null | undefined;
|
|
496
504
|
to?: string | null | undefined;
|
|
497
505
|
} | null | undefined;
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
506
|
+
job?: {
|
|
507
|
+
location?: {
|
|
508
|
+
postcode?: string | null | undefined;
|
|
509
|
+
radius?: number | null | undefined;
|
|
510
|
+
} | null | undefined;
|
|
511
|
+
tradeId?: string | null | undefined;
|
|
512
|
+
clientId?: string | null | undefined;
|
|
513
|
+
companyId?: string | null | undefined;
|
|
514
|
+
userId?: string | null | undefined;
|
|
501
515
|
} | null | undefined;
|
|
502
516
|
workerName?: {
|
|
503
517
|
value?: string | undefined;
|
|
504
518
|
exact?: boolean | undefined;
|
|
505
519
|
} | null | undefined;
|
|
506
520
|
agentId?: string | null | undefined;
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
clientId?: string | null | undefined;
|
|
512
|
-
location?: {
|
|
513
|
-
postcode?: string | null | undefined;
|
|
514
|
-
radius?: number | null | undefined;
|
|
515
|
-
} | null | undefined;
|
|
521
|
+
}, {
|
|
522
|
+
updatedAt?: {
|
|
523
|
+
from?: string | null | undefined;
|
|
524
|
+
to?: string | null | undefined;
|
|
516
525
|
} | null | undefined;
|
|
517
|
-
|
|
526
|
+
createdAt?: {
|
|
518
527
|
from?: string | null | undefined;
|
|
519
528
|
to?: string | null | undefined;
|
|
520
529
|
} | null | undefined;
|
|
521
|
-
}, {
|
|
522
|
-
limit?: number | undefined;
|
|
523
|
-
page?: number | undefined;
|
|
524
|
-
sort?: {
|
|
525
|
-
field: "status" | "startDate" | "createdAt" | "updatedAt" | "collaborationClient" | "collaborationCompany" | "workerName" | "secondAgent" | "payRate" | "collaborationAgent" | "endDate";
|
|
526
|
-
order: "ASC" | "DESC";
|
|
527
|
-
}[] | null | undefined;
|
|
528
530
|
status?: {
|
|
529
531
|
category: "ATTEMPT";
|
|
530
532
|
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" | "CONFIRMED" | undefined;
|
|
@@ -545,33 +547,31 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
545
547
|
from?: string | null | undefined;
|
|
546
548
|
to?: string | null | undefined;
|
|
547
549
|
} | null | undefined;
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
} | null | undefined;
|
|
552
|
-
|
|
550
|
+
sort?: {
|
|
551
|
+
field: "updatedAt" | "createdAt" | "status" | "startDate" | "payRate" | "endDate" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent";
|
|
552
|
+
order: "ASC" | "DESC";
|
|
553
|
+
}[] | null | undefined;
|
|
554
|
+
page?: number | undefined;
|
|
555
|
+
limit?: number | undefined;
|
|
556
|
+
endDate?: {
|
|
553
557
|
from?: string | null | undefined;
|
|
554
558
|
to?: string | null | undefined;
|
|
555
559
|
} | null | undefined;
|
|
556
|
-
workerName?: {
|
|
557
|
-
value?: string | undefined;
|
|
558
|
-
exact?: boolean | "true" | "false" | undefined;
|
|
559
|
-
} | null | undefined;
|
|
560
|
-
agentId?: string | null | undefined;
|
|
561
560
|
job?: {
|
|
562
|
-
userId?: string | null | undefined;
|
|
563
|
-
tradeId?: string | null | undefined;
|
|
564
|
-
companyId?: string | null | undefined;
|
|
565
|
-
clientId?: string | null | undefined;
|
|
566
561
|
location?: {
|
|
567
562
|
postcode?: string | null | undefined;
|
|
568
563
|
radius?: number | null | undefined;
|
|
569
564
|
} | null | undefined;
|
|
565
|
+
tradeId?: string | null | undefined;
|
|
566
|
+
clientId?: string | null | undefined;
|
|
567
|
+
companyId?: string | null | undefined;
|
|
568
|
+
userId?: 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;
|
|
@@ -589,13 +589,18 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
589
589
|
field: string;
|
|
590
590
|
dir: "ASC" | "DESC";
|
|
591
591
|
}[];
|
|
592
|
+
entity: "bookings";
|
|
592
593
|
filter: {
|
|
593
|
-
limit: number;
|
|
594
594
|
page: number;
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
595
|
+
limit: number;
|
|
596
|
+
updatedAt?: {
|
|
597
|
+
from?: string | null | undefined;
|
|
598
|
+
to?: string | null | undefined;
|
|
599
|
+
} | null | undefined;
|
|
600
|
+
createdAt?: {
|
|
601
|
+
from?: string | null | undefined;
|
|
602
|
+
to?: string | null | undefined;
|
|
603
|
+
} | null | undefined;
|
|
599
604
|
status?: {
|
|
600
605
|
category: "ATTEMPT";
|
|
601
606
|
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" | "CONFIRMED" | undefined;
|
|
@@ -616,44 +621,42 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
616
621
|
from?: string | null | undefined;
|
|
617
622
|
to?: string | null | undefined;
|
|
618
623
|
} | null | undefined;
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
} | null | undefined;
|
|
623
|
-
|
|
624
|
+
sort?: {
|
|
625
|
+
field: "updatedAt" | "createdAt" | "status" | "startDate" | "payRate" | "endDate" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent";
|
|
626
|
+
order: "ASC" | "DESC";
|
|
627
|
+
}[] | null | undefined;
|
|
628
|
+
endDate?: {
|
|
624
629
|
from?: string | null | undefined;
|
|
625
630
|
to?: string | null | undefined;
|
|
626
631
|
} | null | undefined;
|
|
627
|
-
workerName?: {
|
|
628
|
-
value?: string | undefined;
|
|
629
|
-
exact?: boolean | undefined;
|
|
630
|
-
} | null | undefined;
|
|
631
|
-
agentId?: string | null | undefined;
|
|
632
632
|
job?: {
|
|
633
|
-
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;
|
|
640
|
+
userId?: string | null | undefined;
|
|
641
641
|
} | null | undefined;
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
642
|
+
workerName?: {
|
|
643
|
+
value?: string | undefined;
|
|
644
|
+
exact?: boolean | undefined;
|
|
645
645
|
} | null | undefined;
|
|
646
|
+
agentId?: string | null | undefined;
|
|
646
647
|
};
|
|
647
|
-
entity: "bookings";
|
|
648
648
|
columns: string[];
|
|
649
649
|
}, {
|
|
650
|
+
entity: "bookings";
|
|
650
651
|
filter: {
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
652
|
+
updatedAt?: {
|
|
653
|
+
from?: string | null | undefined;
|
|
654
|
+
to?: string | null | undefined;
|
|
655
|
+
} | null | undefined;
|
|
656
|
+
createdAt?: {
|
|
657
|
+
from?: string | null | undefined;
|
|
658
|
+
to?: string | null | undefined;
|
|
659
|
+
} | null | undefined;
|
|
657
660
|
status?: {
|
|
658
661
|
category: "ATTEMPT";
|
|
659
662
|
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" | "CONFIRMED" | undefined;
|
|
@@ -674,35 +677,32 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
674
677
|
from?: string | null | undefined;
|
|
675
678
|
to?: string | null | undefined;
|
|
676
679
|
} | null | undefined;
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
} | null | undefined;
|
|
681
|
-
|
|
680
|
+
sort?: {
|
|
681
|
+
field: "updatedAt" | "createdAt" | "status" | "startDate" | "payRate" | "endDate" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent";
|
|
682
|
+
order: "ASC" | "DESC";
|
|
683
|
+
}[] | null | undefined;
|
|
684
|
+
page?: number | undefined;
|
|
685
|
+
limit?: number | undefined;
|
|
686
|
+
endDate?: {
|
|
682
687
|
from?: string | null | undefined;
|
|
683
688
|
to?: string | null | undefined;
|
|
684
689
|
} | null | undefined;
|
|
685
|
-
workerName?: {
|
|
686
|
-
value?: string | undefined;
|
|
687
|
-
exact?: boolean | "true" | "false" | undefined;
|
|
688
|
-
} | null | undefined;
|
|
689
|
-
agentId?: string | null | undefined;
|
|
690
690
|
job?: {
|
|
691
|
-
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;
|
|
698
|
+
userId?: string | null | undefined;
|
|
699
699
|
} | null | undefined;
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
700
|
+
workerName?: {
|
|
701
|
+
value?: string | undefined;
|
|
702
|
+
exact?: boolean | "true" | "false" | undefined;
|
|
703
703
|
} | null | undefined;
|
|
704
|
+
agentId?: string | null | undefined;
|
|
704
705
|
};
|
|
705
|
-
entity: "bookings";
|
|
706
706
|
columns: string[];
|
|
707
707
|
sort?: {
|
|
708
708
|
field: string;
|
|
@@ -751,47 +751,47 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
751
751
|
order: "ASC" | "DESC";
|
|
752
752
|
}>, "many">>>;
|
|
753
753
|
}, "strip", z.ZodTypeAny, {
|
|
754
|
-
limit: number;
|
|
755
754
|
page: number;
|
|
756
|
-
|
|
757
|
-
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
758
|
-
order: "ASC" | "DESC";
|
|
759
|
-
}[] | null | undefined;
|
|
755
|
+
limit: number;
|
|
760
756
|
createdAt?: {
|
|
761
757
|
from?: string | null | undefined;
|
|
762
758
|
to?: string | null | undefined;
|
|
763
759
|
} | null | undefined;
|
|
764
|
-
|
|
760
|
+
companyId?: string | undefined;
|
|
761
|
+
sort?: {
|
|
762
|
+
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
763
|
+
order: "ASC" | "DESC";
|
|
764
|
+
}[] | null | undefined;
|
|
765
765
|
agentId?: string | undefined;
|
|
766
766
|
rating?: {
|
|
767
767
|
from?: import("../common/call-rating.schema").CallRating | null | undefined;
|
|
768
768
|
to?: import("../common/call-rating.schema").CallRating | null | undefined;
|
|
769
769
|
} | null | undefined;
|
|
770
770
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
771
|
-
companyId?: string | undefined;
|
|
772
771
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
773
772
|
leadName?: string | undefined;
|
|
773
|
+
phoneNumber?: string | undefined;
|
|
774
774
|
}, {
|
|
775
|
-
limit?: number | undefined;
|
|
776
|
-
page?: number | undefined;
|
|
777
|
-
sort?: {
|
|
778
|
-
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
779
|
-
order: "ASC" | "DESC";
|
|
780
|
-
}[] | null | undefined;
|
|
781
775
|
createdAt?: {
|
|
782
776
|
from?: string | null | undefined;
|
|
783
777
|
to?: string | null | undefined;
|
|
784
778
|
} | null | undefined;
|
|
785
|
-
|
|
779
|
+
companyId?: string | undefined;
|
|
780
|
+
sort?: {
|
|
781
|
+
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
782
|
+
order: "ASC" | "DESC";
|
|
783
|
+
}[] | null | undefined;
|
|
784
|
+
page?: number | undefined;
|
|
785
|
+
limit?: number | undefined;
|
|
786
786
|
agentId?: string | undefined;
|
|
787
787
|
rating?: {
|
|
788
788
|
from?: unknown;
|
|
789
789
|
to?: unknown;
|
|
790
790
|
} | null | undefined;
|
|
791
791
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
792
|
-
companyId?: string | undefined;
|
|
793
792
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
794
793
|
leadName?: string | undefined;
|
|
794
|
+
phoneNumber?: string | undefined;
|
|
795
795
|
}>;
|
|
796
796
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
797
797
|
field: z.ZodString;
|
|
@@ -809,54 +809,54 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
809
809
|
field: string;
|
|
810
810
|
dir: "ASC" | "DESC";
|
|
811
811
|
}[];
|
|
812
|
+
entity: "call-history";
|
|
812
813
|
filter: {
|
|
813
|
-
limit: number;
|
|
814
814
|
page: number;
|
|
815
|
-
|
|
816
|
-
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
817
|
-
order: "ASC" | "DESC";
|
|
818
|
-
}[] | null | undefined;
|
|
815
|
+
limit: number;
|
|
819
816
|
createdAt?: {
|
|
820
817
|
from?: string | null | undefined;
|
|
821
818
|
to?: string | null | undefined;
|
|
822
819
|
} | null | undefined;
|
|
823
|
-
|
|
820
|
+
companyId?: string | undefined;
|
|
821
|
+
sort?: {
|
|
822
|
+
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
823
|
+
order: "ASC" | "DESC";
|
|
824
|
+
}[] | null | 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
|
+
phoneNumber?: string | undefined;
|
|
833
834
|
};
|
|
834
|
-
entity: "call-history";
|
|
835
835
|
columns: string[];
|
|
836
836
|
}, {
|
|
837
|
+
entity: "call-history";
|
|
837
838
|
filter: {
|
|
838
|
-
limit?: number | undefined;
|
|
839
|
-
page?: number | undefined;
|
|
840
|
-
sort?: {
|
|
841
|
-
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
842
|
-
order: "ASC" | "DESC";
|
|
843
|
-
}[] | null | undefined;
|
|
844
839
|
createdAt?: {
|
|
845
840
|
from?: string | null | undefined;
|
|
846
841
|
to?: string | null | undefined;
|
|
847
842
|
} | null | undefined;
|
|
848
|
-
|
|
843
|
+
companyId?: string | undefined;
|
|
844
|
+
sort?: {
|
|
845
|
+
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
846
|
+
order: "ASC" | "DESC";
|
|
847
|
+
}[] | null | undefined;
|
|
848
|
+
page?: number | undefined;
|
|
849
|
+
limit?: number | 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
|
+
phoneNumber?: string | undefined;
|
|
858
859
|
};
|
|
859
|
-
entity: "call-history";
|
|
860
860
|
columns: string[];
|
|
861
861
|
sort?: {
|
|
862
862
|
field: string;
|
|
@@ -925,84 +925,87 @@ 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: "
|
|
933
|
+
field: "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "status" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
933
934
|
order: "ASC" | "DESC";
|
|
934
935
|
}, {
|
|
935
|
-
field: "
|
|
936
|
+
field: "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "status" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
936
937
|
order: "ASC" | "DESC";
|
|
937
938
|
}>, "many">>>;
|
|
938
939
|
}, "strip", z.ZodTypeAny, {
|
|
939
|
-
limit: number;
|
|
940
940
|
page: number;
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
order: "ASC" | "DESC";
|
|
944
|
-
}[] | null | undefined;
|
|
945
|
-
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
946
|
-
description?: string | null | undefined;
|
|
947
|
-
createdAt?: {
|
|
941
|
+
limit: number;
|
|
942
|
+
updatedAt?: {
|
|
948
943
|
from?: string | null | undefined;
|
|
949
944
|
to?: string | null | undefined;
|
|
950
945
|
} | null | undefined;
|
|
951
|
-
|
|
946
|
+
createdAt?: {
|
|
952
947
|
from?: string | null | undefined;
|
|
953
948
|
to?: string | null | undefined;
|
|
954
949
|
} | null | undefined;
|
|
955
|
-
|
|
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;
|
|
950
|
+
description?: string | null | undefined;
|
|
963
951
|
location?: {
|
|
964
952
|
postcode?: string | null | undefined;
|
|
965
953
|
radius?: number | null | undefined;
|
|
966
954
|
} | null | undefined;
|
|
967
|
-
|
|
955
|
+
pay?: {
|
|
956
|
+
minRate?: number | null | undefined;
|
|
957
|
+
maxRate?: number | null | undefined;
|
|
958
|
+
} | null | undefined;
|
|
959
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
960
|
+
tradeId?: string | null | undefined;
|
|
968
961
|
qualificationFilters?: {
|
|
969
962
|
qualificationId?: string | undefined;
|
|
970
963
|
qualificationTypeId?: string | undefined;
|
|
971
964
|
}[] | undefined;
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
965
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
966
|
+
clientId?: string | null | undefined;
|
|
967
|
+
companyId?: string | null | undefined;
|
|
975
968
|
sort?: {
|
|
976
|
-
field: "
|
|
969
|
+
field: "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "status" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
977
970
|
order: "ASC" | "DESC";
|
|
978
971
|
}[] | null | undefined;
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
972
|
+
userId?: string | null | undefined;
|
|
973
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
974
|
+
}, {
|
|
975
|
+
updatedAt?: {
|
|
982
976
|
from?: string | null | undefined;
|
|
983
977
|
to?: string | null | undefined;
|
|
984
978
|
} | null | undefined;
|
|
985
|
-
|
|
979
|
+
createdAt?: {
|
|
986
980
|
from?: string | null | undefined;
|
|
987
981
|
to?: string | null | undefined;
|
|
988
982
|
} | null | undefined;
|
|
989
|
-
|
|
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;
|
|
983
|
+
description?: string | null | undefined;
|
|
997
984
|
location?: {
|
|
998
985
|
postcode?: string | null | undefined;
|
|
999
986
|
radius?: number | null | undefined;
|
|
1000
987
|
} | null | undefined;
|
|
1001
|
-
|
|
988
|
+
pay?: {
|
|
989
|
+
minRate?: number | null | undefined;
|
|
990
|
+
maxRate?: number | null | undefined;
|
|
991
|
+
} | null | undefined;
|
|
992
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
993
|
+
tradeId?: string | null | undefined;
|
|
1002
994
|
qualificationFilters?: {
|
|
1003
995
|
qualificationId?: string | undefined;
|
|
1004
996
|
qualificationTypeId?: string | undefined;
|
|
1005
997
|
}[] | undefined;
|
|
998
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
999
|
+
clientId?: string | null | undefined;
|
|
1000
|
+
companyId?: string | null | undefined;
|
|
1001
|
+
sort?: {
|
|
1002
|
+
field: "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "status" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
1003
|
+
order: "ASC" | "DESC";
|
|
1004
|
+
}[] | null | undefined;
|
|
1005
|
+
page?: number | undefined;
|
|
1006
|
+
limit?: number | undefined;
|
|
1007
|
+
userId?: 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;
|
|
@@ -1020,80 +1023,82 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1020
1023
|
field: string;
|
|
1021
1024
|
dir: "ASC" | "DESC";
|
|
1022
1025
|
}[];
|
|
1026
|
+
entity: "jobs";
|
|
1023
1027
|
filter: {
|
|
1024
|
-
limit: number;
|
|
1025
1028
|
page: number;
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
order: "ASC" | "DESC";
|
|
1029
|
-
}[] | null | undefined;
|
|
1030
|
-
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1031
|
-
description?: string | null | undefined;
|
|
1032
|
-
createdAt?: {
|
|
1029
|
+
limit: number;
|
|
1030
|
+
updatedAt?: {
|
|
1033
1031
|
from?: string | null | undefined;
|
|
1034
1032
|
to?: string | null | undefined;
|
|
1035
1033
|
} | null | undefined;
|
|
1036
|
-
|
|
1034
|
+
createdAt?: {
|
|
1037
1035
|
from?: string | null | undefined;
|
|
1038
1036
|
to?: string | null | undefined;
|
|
1039
1037
|
} | null | undefined;
|
|
1040
|
-
|
|
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;
|
|
1038
|
+
description?: string | null | undefined;
|
|
1048
1039
|
location?: {
|
|
1049
1040
|
postcode?: string | null | undefined;
|
|
1050
1041
|
radius?: number | null | undefined;
|
|
1051
1042
|
} | null | undefined;
|
|
1052
|
-
|
|
1043
|
+
pay?: {
|
|
1044
|
+
minRate?: number | null | undefined;
|
|
1045
|
+
maxRate?: number | null | undefined;
|
|
1046
|
+
} | null | undefined;
|
|
1047
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1048
|
+
tradeId?: string | null | undefined;
|
|
1053
1049
|
qualificationFilters?: {
|
|
1054
1050
|
qualificationId?: string | undefined;
|
|
1055
1051
|
qualificationTypeId?: string | undefined;
|
|
1056
1052
|
}[] | undefined;
|
|
1053
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
1054
|
+
clientId?: string | null | undefined;
|
|
1055
|
+
companyId?: string | null | undefined;
|
|
1056
|
+
sort?: {
|
|
1057
|
+
field: "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "status" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
1058
|
+
order: "ASC" | "DESC";
|
|
1059
|
+
}[] | null | undefined;
|
|
1060
|
+
userId?: string | null | undefined;
|
|
1061
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
1057
1062
|
};
|
|
1058
|
-
entity: "jobs";
|
|
1059
1063
|
columns: string[];
|
|
1060
1064
|
}, {
|
|
1065
|
+
entity: "jobs";
|
|
1061
1066
|
filter: {
|
|
1062
|
-
|
|
1063
|
-
page?: number | undefined;
|
|
1064
|
-
sort?: {
|
|
1065
|
-
field: "status" | "description" | "startDate" | "createdAt" | "updatedAt" | "collaborationClient" | "collaborationCompany" | "postcode" | "tradeId" | "payRate" | "receivedRate" | "collaborationAgent" | "creationSource" | "numberOfPositions" | "distance" | "workHours" | "qualificationsCount";
|
|
1066
|
-
order: "ASC" | "DESC";
|
|
1067
|
-
}[] | null | undefined;
|
|
1068
|
-
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1069
|
-
description?: string | null | undefined;
|
|
1070
|
-
createdAt?: {
|
|
1067
|
+
updatedAt?: {
|
|
1071
1068
|
from?: string | null | undefined;
|
|
1072
1069
|
to?: string | null | undefined;
|
|
1073
1070
|
} | null | undefined;
|
|
1074
|
-
|
|
1071
|
+
createdAt?: {
|
|
1075
1072
|
from?: string | null | undefined;
|
|
1076
1073
|
to?: string | null | undefined;
|
|
1077
1074
|
} | null | undefined;
|
|
1078
|
-
|
|
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;
|
|
1075
|
+
description?: string | null | undefined;
|
|
1086
1076
|
location?: {
|
|
1087
1077
|
postcode?: string | null | undefined;
|
|
1088
1078
|
radius?: number | null | undefined;
|
|
1089
1079
|
} | null | undefined;
|
|
1090
|
-
|
|
1080
|
+
pay?: {
|
|
1081
|
+
minRate?: number | null | undefined;
|
|
1082
|
+
maxRate?: number | null | undefined;
|
|
1083
|
+
} | null | undefined;
|
|
1084
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
1085
|
+
tradeId?: string | null | undefined;
|
|
1091
1086
|
qualificationFilters?: {
|
|
1092
1087
|
qualificationId?: string | undefined;
|
|
1093
1088
|
qualificationTypeId?: string | undefined;
|
|
1094
1089
|
}[] | undefined;
|
|
1090
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
1091
|
+
clientId?: string | null | undefined;
|
|
1092
|
+
companyId?: string | null | undefined;
|
|
1093
|
+
sort?: {
|
|
1094
|
+
field: "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "status" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
1095
|
+
order: "ASC" | "DESC";
|
|
1096
|
+
}[] | null | undefined;
|
|
1097
|
+
page?: number | undefined;
|
|
1098
|
+
limit?: number | undefined;
|
|
1099
|
+
userId?: string | null | undefined;
|
|
1100
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
1095
1101
|
};
|
|
1096
|
-
entity: "jobs";
|
|
1097
1102
|
columns: string[];
|
|
1098
1103
|
sort?: {
|
|
1099
1104
|
field: string;
|
|
@@ -1144,60 +1149,60 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1144
1149
|
field: z.ZodEnum<["lastName", "firstName", "email", "createdAt", "office"]>;
|
|
1145
1150
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
1146
1151
|
}, "strip", z.ZodTypeAny, {
|
|
1147
|
-
field: "
|
|
1152
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
1148
1153
|
order: "ASC" | "DESC";
|
|
1149
1154
|
}, {
|
|
1150
|
-
field: "
|
|
1155
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
1151
1156
|
order: "ASC" | "DESC";
|
|
1152
1157
|
}>, "many">>>;
|
|
1153
1158
|
}, "strip", z.ZodTypeAny, {
|
|
1154
|
-
limit: number;
|
|
1155
1159
|
page: number;
|
|
1160
|
+
limit: number;
|
|
1161
|
+
name?: string | undefined;
|
|
1162
|
+
updatedAt?: {
|
|
1163
|
+
from?: string | null | undefined;
|
|
1164
|
+
to?: string | null | undefined;
|
|
1165
|
+
} | null | undefined;
|
|
1166
|
+
createdAt?: {
|
|
1167
|
+
from?: string | null | undefined;
|
|
1168
|
+
to?: string | null | undefined;
|
|
1169
|
+
} | null | undefined;
|
|
1170
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1156
1171
|
sort?: {
|
|
1157
|
-
field: "
|
|
1172
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
1158
1173
|
order: "ASC" | "DESC";
|
|
1159
1174
|
}[] | null | undefined;
|
|
1160
|
-
|
|
1175
|
+
phone?: string | undefined;
|
|
1161
1176
|
email?: string | undefined;
|
|
1162
1177
|
roles?: {
|
|
1163
1178
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1164
1179
|
requireAll?: boolean | undefined;
|
|
1165
1180
|
} | undefined;
|
|
1181
|
+
officeId?: string | undefined;
|
|
1182
|
+
}, {
|
|
1166
1183
|
name?: string | undefined;
|
|
1167
|
-
|
|
1184
|
+
updatedAt?: {
|
|
1168
1185
|
from?: string | null | undefined;
|
|
1169
1186
|
to?: string | null | undefined;
|
|
1170
1187
|
} | null | undefined;
|
|
1171
|
-
|
|
1188
|
+
createdAt?: {
|
|
1172
1189
|
from?: string | null | undefined;
|
|
1173
1190
|
to?: string | null | undefined;
|
|
1174
1191
|
} | null | undefined;
|
|
1175
|
-
|
|
1176
|
-
phone?: string | undefined;
|
|
1177
|
-
}, {
|
|
1178
|
-
limit?: number | undefined;
|
|
1179
|
-
page?: number | undefined;
|
|
1192
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1180
1193
|
sort?: {
|
|
1181
|
-
field: "
|
|
1194
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
1182
1195
|
order: "ASC" | "DESC";
|
|
1183
1196
|
}[] | null | undefined;
|
|
1184
|
-
|
|
1197
|
+
page?: number | undefined;
|
|
1198
|
+
limit?: number | undefined;
|
|
1199
|
+
phone?: string | undefined;
|
|
1185
1200
|
email?: string | undefined;
|
|
1186
1201
|
roles?: {
|
|
1187
1202
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1188
1203
|
requireAll?: unknown;
|
|
1189
1204
|
} | undefined;
|
|
1190
|
-
name?: string | undefined;
|
|
1191
|
-
createdAt?: {
|
|
1192
|
-
from?: string | null | undefined;
|
|
1193
|
-
to?: string | null | undefined;
|
|
1194
|
-
} | null | undefined;
|
|
1195
|
-
updatedAt?: {
|
|
1196
|
-
from?: string | null | undefined;
|
|
1197
|
-
to?: string | null | undefined;
|
|
1198
|
-
} | null | undefined;
|
|
1199
1205
|
officeId?: string | undefined;
|
|
1200
|
-
phone?: string | undefined;
|
|
1201
1206
|
}>;
|
|
1202
1207
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1203
1208
|
field: z.ZodString;
|
|
@@ -1215,60 +1220,60 @@ export declare const CreateExportJobBodySchema: z.ZodDiscriminatedUnion<"entity"
|
|
|
1215
1220
|
field: string;
|
|
1216
1221
|
dir: "ASC" | "DESC";
|
|
1217
1222
|
}[];
|
|
1223
|
+
entity: "users";
|
|
1218
1224
|
filter: {
|
|
1219
|
-
limit: number;
|
|
1220
1225
|
page: number;
|
|
1226
|
+
limit: number;
|
|
1227
|
+
name?: string | undefined;
|
|
1228
|
+
updatedAt?: {
|
|
1229
|
+
from?: string | null | undefined;
|
|
1230
|
+
to?: string | null | undefined;
|
|
1231
|
+
} | null | undefined;
|
|
1232
|
+
createdAt?: {
|
|
1233
|
+
from?: string | null | undefined;
|
|
1234
|
+
to?: string | null | undefined;
|
|
1235
|
+
} | null | undefined;
|
|
1236
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1221
1237
|
sort?: {
|
|
1222
|
-
field: "
|
|
1238
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
1223
1239
|
order: "ASC" | "DESC";
|
|
1224
1240
|
}[] | null | undefined;
|
|
1225
|
-
|
|
1241
|
+
phone?: string | undefined;
|
|
1226
1242
|
email?: string | undefined;
|
|
1227
1243
|
roles?: {
|
|
1228
1244
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1229
1245
|
requireAll?: boolean | undefined;
|
|
1230
1246
|
} | undefined;
|
|
1247
|
+
officeId?: string | undefined;
|
|
1248
|
+
};
|
|
1249
|
+
columns: string[];
|
|
1250
|
+
}, {
|
|
1251
|
+
entity: "users";
|
|
1252
|
+
filter: {
|
|
1231
1253
|
name?: string | undefined;
|
|
1232
|
-
|
|
1254
|
+
updatedAt?: {
|
|
1233
1255
|
from?: string | null | undefined;
|
|
1234
1256
|
to?: string | null | undefined;
|
|
1235
1257
|
} | null | undefined;
|
|
1236
|
-
|
|
1258
|
+
createdAt?: {
|
|
1237
1259
|
from?: string | null | undefined;
|
|
1238
1260
|
to?: string | null | undefined;
|
|
1239
1261
|
} | null | undefined;
|
|
1240
|
-
|
|
1241
|
-
phone?: string | undefined;
|
|
1242
|
-
};
|
|
1243
|
-
entity: "users";
|
|
1244
|
-
columns: string[];
|
|
1245
|
-
}, {
|
|
1246
|
-
filter: {
|
|
1247
|
-
limit?: number | undefined;
|
|
1248
|
-
page?: number | undefined;
|
|
1262
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1249
1263
|
sort?: {
|
|
1250
|
-
field: "
|
|
1264
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
1251
1265
|
order: "ASC" | "DESC";
|
|
1252
1266
|
}[] | null | undefined;
|
|
1253
|
-
|
|
1267
|
+
page?: number | undefined;
|
|
1268
|
+
limit?: number | undefined;
|
|
1269
|
+
phone?: string | undefined;
|
|
1254
1270
|
email?: string | undefined;
|
|
1255
1271
|
roles?: {
|
|
1256
1272
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
1257
1273
|
requireAll?: unknown;
|
|
1258
1274
|
} | undefined;
|
|
1259
|
-
name?: string | undefined;
|
|
1260
|
-
createdAt?: {
|
|
1261
|
-
from?: string | null | undefined;
|
|
1262
|
-
to?: string | null | undefined;
|
|
1263
|
-
} | null | undefined;
|
|
1264
|
-
updatedAt?: {
|
|
1265
|
-
from?: string | null | undefined;
|
|
1266
|
-
to?: string | null | undefined;
|
|
1267
|
-
} | null | undefined;
|
|
1268
1275
|
officeId?: string | undefined;
|
|
1269
|
-
phone?: string | undefined;
|
|
1270
1276
|
};
|
|
1271
|
-
entity: "users";
|
|
1272
1277
|
columns: string[];
|
|
1273
1278
|
sort?: {
|
|
1274
1279
|
field: string;
|
|
@@ -1301,8 +1306,8 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1301
1306
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1302
1307
|
}, "strip", z.ZodTypeAny, {
|
|
1303
1308
|
id: string;
|
|
1304
|
-
firstName: string;
|
|
1305
1309
|
lastName: string;
|
|
1310
|
+
firstName: string;
|
|
1306
1311
|
phoneNumbers: {
|
|
1307
1312
|
id: string;
|
|
1308
1313
|
phoneNumber: string;
|
|
@@ -1312,8 +1317,8 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1312
1317
|
deletedAt?: string | null | undefined;
|
|
1313
1318
|
}, {
|
|
1314
1319
|
id: string;
|
|
1315
|
-
firstName: string;
|
|
1316
1320
|
lastName: string;
|
|
1321
|
+
firstName: string;
|
|
1317
1322
|
phoneNumbers?: {
|
|
1318
1323
|
id: string;
|
|
1319
1324
|
phoneNumber: string;
|
|
@@ -1346,17 +1351,17 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1346
1351
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
1347
1352
|
expiresAt: z.ZodString;
|
|
1348
1353
|
}, "strip", z.ZodTypeAny, {
|
|
1354
|
+
id: string;
|
|
1355
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
1349
1356
|
sort: {
|
|
1350
1357
|
field: string;
|
|
1351
1358
|
dir: "ASC" | "DESC";
|
|
1352
1359
|
}[];
|
|
1353
|
-
|
|
1354
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
1355
|
-
id: string;
|
|
1360
|
+
userId: string;
|
|
1356
1361
|
user: {
|
|
1357
1362
|
id: string;
|
|
1358
|
-
firstName: string;
|
|
1359
1363
|
lastName: string;
|
|
1364
|
+
firstName: string;
|
|
1360
1365
|
phoneNumbers: {
|
|
1361
1366
|
id: string;
|
|
1362
1367
|
phoneNumber: string;
|
|
@@ -1365,10 +1370,9 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1365
1370
|
}[];
|
|
1366
1371
|
deletedAt?: string | null | undefined;
|
|
1367
1372
|
} | null;
|
|
1368
|
-
userId: string;
|
|
1369
|
-
requestedAt: string;
|
|
1370
|
-
completedAt: string | null;
|
|
1371
1373
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
1374
|
+
requestedAt: string;
|
|
1375
|
+
filter: Record<string, unknown>;
|
|
1372
1376
|
columns: string[];
|
|
1373
1377
|
rowsProcessed: number;
|
|
1374
1378
|
rowsSkipped: number;
|
|
@@ -1376,15 +1380,16 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1376
1380
|
byteSize: number | null;
|
|
1377
1381
|
errorMessage: string | null;
|
|
1378
1382
|
startedAt: string | null;
|
|
1383
|
+
completedAt: string | null;
|
|
1379
1384
|
expiresAt: string;
|
|
1380
1385
|
}, {
|
|
1381
|
-
filter: Record<string, unknown>;
|
|
1382
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
1383
1386
|
id: string;
|
|
1387
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
1388
|
+
userId: string;
|
|
1384
1389
|
user: {
|
|
1385
1390
|
id: string;
|
|
1386
|
-
firstName: string;
|
|
1387
1391
|
lastName: string;
|
|
1392
|
+
firstName: string;
|
|
1388
1393
|
phoneNumbers?: {
|
|
1389
1394
|
id: string;
|
|
1390
1395
|
phoneNumber: string;
|
|
@@ -1393,10 +1398,9 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1393
1398
|
}[] | undefined;
|
|
1394
1399
|
deletedAt?: string | Date | null | undefined;
|
|
1395
1400
|
} | null;
|
|
1396
|
-
userId: string;
|
|
1397
|
-
requestedAt: string;
|
|
1398
|
-
completedAt: string | null;
|
|
1399
1401
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
1402
|
+
requestedAt: string;
|
|
1403
|
+
filter: Record<string, unknown>;
|
|
1400
1404
|
columns: string[];
|
|
1401
1405
|
rowsProcessed: number;
|
|
1402
1406
|
rowsSkipped: number;
|
|
@@ -1404,6 +1408,7 @@ export declare const ExportJobSchema: z.ZodObject<{
|
|
|
1404
1408
|
byteSize: number | null;
|
|
1405
1409
|
errorMessage: string | null;
|
|
1406
1410
|
startedAt: string | null;
|
|
1411
|
+
completedAt: string | null;
|
|
1407
1412
|
expiresAt: string;
|
|
1408
1413
|
sort?: {
|
|
1409
1414
|
field: string;
|
|
@@ -1437,8 +1442,8 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1437
1442
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1438
1443
|
}, "strip", z.ZodTypeAny, {
|
|
1439
1444
|
id: string;
|
|
1440
|
-
firstName: string;
|
|
1441
1445
|
lastName: string;
|
|
1446
|
+
firstName: string;
|
|
1442
1447
|
phoneNumbers: {
|
|
1443
1448
|
id: string;
|
|
1444
1449
|
phoneNumber: string;
|
|
@@ -1448,8 +1453,8 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1448
1453
|
deletedAt?: string | null | undefined;
|
|
1449
1454
|
}, {
|
|
1450
1455
|
id: string;
|
|
1451
|
-
firstName: string;
|
|
1452
1456
|
lastName: string;
|
|
1457
|
+
firstName: string;
|
|
1453
1458
|
phoneNumbers?: {
|
|
1454
1459
|
id: string;
|
|
1455
1460
|
phoneNumber: string;
|
|
@@ -1482,17 +1487,17 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1482
1487
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
1483
1488
|
expiresAt: z.ZodString;
|
|
1484
1489
|
}, "strip", z.ZodTypeAny, {
|
|
1490
|
+
id: string;
|
|
1491
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
1485
1492
|
sort: {
|
|
1486
1493
|
field: string;
|
|
1487
1494
|
dir: "ASC" | "DESC";
|
|
1488
1495
|
}[];
|
|
1489
|
-
|
|
1490
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
1491
|
-
id: string;
|
|
1496
|
+
userId: string;
|
|
1492
1497
|
user: {
|
|
1493
1498
|
id: string;
|
|
1494
|
-
firstName: string;
|
|
1495
1499
|
lastName: string;
|
|
1500
|
+
firstName: string;
|
|
1496
1501
|
phoneNumbers: {
|
|
1497
1502
|
id: string;
|
|
1498
1503
|
phoneNumber: string;
|
|
@@ -1501,10 +1506,9 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1501
1506
|
}[];
|
|
1502
1507
|
deletedAt?: string | null | undefined;
|
|
1503
1508
|
} | null;
|
|
1504
|
-
userId: string;
|
|
1505
|
-
requestedAt: string;
|
|
1506
|
-
completedAt: string | null;
|
|
1507
1509
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
1510
|
+
requestedAt: string;
|
|
1511
|
+
filter: Record<string, unknown>;
|
|
1508
1512
|
columns: string[];
|
|
1509
1513
|
rowsProcessed: number;
|
|
1510
1514
|
rowsSkipped: number;
|
|
@@ -1512,15 +1516,16 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1512
1516
|
byteSize: number | null;
|
|
1513
1517
|
errorMessage: string | null;
|
|
1514
1518
|
startedAt: string | null;
|
|
1519
|
+
completedAt: string | null;
|
|
1515
1520
|
expiresAt: string;
|
|
1516
1521
|
}, {
|
|
1517
|
-
filter: Record<string, unknown>;
|
|
1518
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
1519
1522
|
id: string;
|
|
1523
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
1524
|
+
userId: string;
|
|
1520
1525
|
user: {
|
|
1521
1526
|
id: string;
|
|
1522
|
-
firstName: string;
|
|
1523
1527
|
lastName: string;
|
|
1528
|
+
firstName: string;
|
|
1524
1529
|
phoneNumbers?: {
|
|
1525
1530
|
id: string;
|
|
1526
1531
|
phoneNumber: string;
|
|
@@ -1529,10 +1534,9 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1529
1534
|
}[] | undefined;
|
|
1530
1535
|
deletedAt?: string | Date | null | undefined;
|
|
1531
1536
|
} | null;
|
|
1532
|
-
userId: string;
|
|
1533
|
-
requestedAt: string;
|
|
1534
|
-
completedAt: string | null;
|
|
1535
1537
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
1538
|
+
requestedAt: string;
|
|
1539
|
+
filter: Record<string, unknown>;
|
|
1536
1540
|
columns: string[];
|
|
1537
1541
|
rowsProcessed: number;
|
|
1538
1542
|
rowsSkipped: number;
|
|
@@ -1540,6 +1544,7 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1540
1544
|
byteSize: number | null;
|
|
1541
1545
|
errorMessage: string | null;
|
|
1542
1546
|
startedAt: string | null;
|
|
1547
|
+
completedAt: string | null;
|
|
1543
1548
|
expiresAt: string;
|
|
1544
1549
|
sort?: {
|
|
1545
1550
|
field: string;
|
|
@@ -1554,17 +1559,17 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1554
1559
|
}, "strip", z.ZodTypeAny, {
|
|
1555
1560
|
limit: number;
|
|
1556
1561
|
items: {
|
|
1562
|
+
id: string;
|
|
1563
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
1557
1564
|
sort: {
|
|
1558
1565
|
field: string;
|
|
1559
1566
|
dir: "ASC" | "DESC";
|
|
1560
1567
|
}[];
|
|
1561
|
-
|
|
1562
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
1563
|
-
id: string;
|
|
1568
|
+
userId: string;
|
|
1564
1569
|
user: {
|
|
1565
1570
|
id: string;
|
|
1566
|
-
firstName: string;
|
|
1567
1571
|
lastName: string;
|
|
1572
|
+
firstName: string;
|
|
1568
1573
|
phoneNumbers: {
|
|
1569
1574
|
id: string;
|
|
1570
1575
|
phoneNumber: string;
|
|
@@ -1573,10 +1578,9 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1573
1578
|
}[];
|
|
1574
1579
|
deletedAt?: string | null | undefined;
|
|
1575
1580
|
} | null;
|
|
1576
|
-
userId: string;
|
|
1577
|
-
requestedAt: string;
|
|
1578
|
-
completedAt: string | null;
|
|
1579
1581
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
1582
|
+
requestedAt: string;
|
|
1583
|
+
filter: Record<string, unknown>;
|
|
1580
1584
|
columns: string[];
|
|
1581
1585
|
rowsProcessed: number;
|
|
1582
1586
|
rowsSkipped: number;
|
|
@@ -1584,6 +1588,7 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1584
1588
|
byteSize: number | null;
|
|
1585
1589
|
errorMessage: string | null;
|
|
1586
1590
|
startedAt: string | null;
|
|
1591
|
+
completedAt: string | null;
|
|
1587
1592
|
expiresAt: string;
|
|
1588
1593
|
}[];
|
|
1589
1594
|
totalCount: number;
|
|
@@ -1593,13 +1598,13 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1593
1598
|
}, {
|
|
1594
1599
|
limit: number;
|
|
1595
1600
|
items: {
|
|
1596
|
-
filter: Record<string, unknown>;
|
|
1597
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
1598
1601
|
id: string;
|
|
1602
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
1603
|
+
userId: string;
|
|
1599
1604
|
user: {
|
|
1600
1605
|
id: string;
|
|
1601
|
-
firstName: string;
|
|
1602
1606
|
lastName: string;
|
|
1607
|
+
firstName: string;
|
|
1603
1608
|
phoneNumbers?: {
|
|
1604
1609
|
id: string;
|
|
1605
1610
|
phoneNumber: string;
|
|
@@ -1608,10 +1613,9 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1608
1613
|
}[] | undefined;
|
|
1609
1614
|
deletedAt?: string | Date | null | undefined;
|
|
1610
1615
|
} | null;
|
|
1611
|
-
userId: string;
|
|
1612
|
-
requestedAt: string;
|
|
1613
|
-
completedAt: string | null;
|
|
1614
1616
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
1617
|
+
requestedAt: string;
|
|
1618
|
+
filter: Record<string, unknown>;
|
|
1615
1619
|
columns: string[];
|
|
1616
1620
|
rowsProcessed: number;
|
|
1617
1621
|
rowsSkipped: number;
|
|
@@ -1619,6 +1623,7 @@ export declare const PaginatedExportJobResponseSchema: z.ZodObject<{
|
|
|
1619
1623
|
byteSize: number | null;
|
|
1620
1624
|
errorMessage: string | null;
|
|
1621
1625
|
startedAt: string | null;
|
|
1626
|
+
completedAt: string | null;
|
|
1622
1627
|
expiresAt: string;
|
|
1623
1628
|
sort?: {
|
|
1624
1629
|
field: string;
|
|
@@ -1697,100 +1702,100 @@ export declare const exportJobsContract: {
|
|
|
1697
1702
|
radius?: number | null | undefined;
|
|
1698
1703
|
}>>>;
|
|
1699
1704
|
}, "strip", z.ZodTypeAny, {
|
|
1700
|
-
userId?: string | null | undefined;
|
|
1701
|
-
tradeId?: string | null | undefined;
|
|
1702
|
-
companyId?: string | null | undefined;
|
|
1703
|
-
clientId?: string | null | undefined;
|
|
1704
1705
|
location?: {
|
|
1705
1706
|
postcode?: string | null | undefined;
|
|
1706
1707
|
radius?: number | null | undefined;
|
|
1707
1708
|
} | null | undefined;
|
|
1708
|
-
}, {
|
|
1709
|
-
userId?: string | null | undefined;
|
|
1710
1709
|
tradeId?: string | null | undefined;
|
|
1711
|
-
companyId?: string | null | undefined;
|
|
1712
1710
|
clientId?: string | null | undefined;
|
|
1711
|
+
companyId?: string | null | undefined;
|
|
1712
|
+
userId?: string | null | undefined;
|
|
1713
|
+
}, {
|
|
1713
1714
|
location?: {
|
|
1714
1715
|
postcode?: string | null | undefined;
|
|
1715
1716
|
radius?: number | null | undefined;
|
|
1716
1717
|
} | null | undefined;
|
|
1718
|
+
tradeId?: string | null | undefined;
|
|
1719
|
+
clientId?: string | null | undefined;
|
|
1720
|
+
companyId?: string | null | undefined;
|
|
1721
|
+
userId?: 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: "
|
|
1727
|
+
field: "updatedAt" | "createdAt" | "postcode" | "status" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "firstAgent";
|
|
1723
1728
|
order: "ASC" | "DESC";
|
|
1724
1729
|
}, {
|
|
1725
|
-
field: "
|
|
1730
|
+
field: "updatedAt" | "createdAt" | "postcode" | "status" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "firstAgent";
|
|
1726
1731
|
order: "ASC" | "DESC";
|
|
1727
1732
|
}>, "many">>>;
|
|
1728
1733
|
}, "strip", z.ZodTypeAny, {
|
|
1729
|
-
limit: number;
|
|
1730
1734
|
page: number;
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
+
limit: number;
|
|
1736
|
+
pay?: {
|
|
1737
|
+
minRate?: number | null | undefined;
|
|
1738
|
+
maxRate?: number | null | undefined;
|
|
1739
|
+
} | null | undefined;
|
|
1735
1740
|
status?: {
|
|
1736
1741
|
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
1737
1742
|
} | null | undefined;
|
|
1743
|
+
sort?: {
|
|
1744
|
+
field: "updatedAt" | "createdAt" | "postcode" | "status" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "firstAgent";
|
|
1745
|
+
order: "ASC" | "DESC";
|
|
1746
|
+
}[] | null | undefined;
|
|
1738
1747
|
date?: {
|
|
1739
1748
|
from?: string | null | undefined;
|
|
1740
1749
|
to?: string | null | undefined;
|
|
1741
1750
|
} | null | undefined;
|
|
1751
|
+
job?: {
|
|
1752
|
+
location?: {
|
|
1753
|
+
postcode?: string | null | undefined;
|
|
1754
|
+
radius?: number | null | undefined;
|
|
1755
|
+
} | null | undefined;
|
|
1756
|
+
tradeId?: string | null | undefined;
|
|
1757
|
+
clientId?: string | null | undefined;
|
|
1758
|
+
companyId?: string | null | undefined;
|
|
1759
|
+
userId?: string | null | undefined;
|
|
1760
|
+
} | null | undefined;
|
|
1742
1761
|
workerName?: {
|
|
1743
1762
|
value?: string | undefined;
|
|
1744
1763
|
exact?: boolean | undefined;
|
|
1745
1764
|
} | null | undefined;
|
|
1746
1765
|
agentId?: string | null | undefined;
|
|
1766
|
+
}, {
|
|
1747
1767
|
pay?: {
|
|
1748
1768
|
minRate?: number | null | undefined;
|
|
1749
1769
|
maxRate?: number | null | undefined;
|
|
1750
1770
|
} | null | undefined;
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
tradeId?: string | null | undefined;
|
|
1754
|
-
companyId?: string | null | undefined;
|
|
1755
|
-
clientId?: string | null | undefined;
|
|
1756
|
-
location?: {
|
|
1757
|
-
postcode?: string | null | undefined;
|
|
1758
|
-
radius?: number | null | undefined;
|
|
1759
|
-
} | null | undefined;
|
|
1771
|
+
status?: {
|
|
1772
|
+
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
1760
1773
|
} | null | undefined;
|
|
1761
|
-
}, {
|
|
1762
|
-
limit?: number | undefined;
|
|
1763
|
-
page?: number | undefined;
|
|
1764
1774
|
sort?: {
|
|
1765
|
-
field: "
|
|
1775
|
+
field: "updatedAt" | "createdAt" | "postcode" | "status" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "firstAgent";
|
|
1766
1776
|
order: "ASC" | "DESC";
|
|
1767
1777
|
}[] | null | undefined;
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
} | null | undefined;
|
|
1778
|
+
page?: number | undefined;
|
|
1779
|
+
limit?: number | undefined;
|
|
1771
1780
|
date?: {
|
|
1772
1781
|
from?: string | null | undefined;
|
|
1773
1782
|
to?: string | null | undefined;
|
|
1774
1783
|
} | null | undefined;
|
|
1775
|
-
workerName?: {
|
|
1776
|
-
value?: string | undefined;
|
|
1777
|
-
exact?: boolean | "true" | "false" | undefined;
|
|
1778
|
-
} | null | undefined;
|
|
1779
|
-
agentId?: string | null | undefined;
|
|
1780
|
-
pay?: {
|
|
1781
|
-
minRate?: number | null | undefined;
|
|
1782
|
-
maxRate?: number | null | undefined;
|
|
1783
|
-
} | null | undefined;
|
|
1784
1784
|
job?: {
|
|
1785
|
-
userId?: string | null | undefined;
|
|
1786
|
-
tradeId?: string | null | undefined;
|
|
1787
|
-
companyId?: string | null | undefined;
|
|
1788
|
-
clientId?: string | null | undefined;
|
|
1789
1785
|
location?: {
|
|
1790
1786
|
postcode?: string | null | undefined;
|
|
1791
1787
|
radius?: number | null | undefined;
|
|
1792
1788
|
} | null | undefined;
|
|
1789
|
+
tradeId?: string | null | undefined;
|
|
1790
|
+
clientId?: string | null | undefined;
|
|
1791
|
+
companyId?: string | null | undefined;
|
|
1792
|
+
userId?: string | null | undefined;
|
|
1793
1793
|
} | null | undefined;
|
|
1794
|
+
workerName?: {
|
|
1795
|
+
value?: string | undefined;
|
|
1796
|
+
exact?: boolean | "true" | "false" | undefined;
|
|
1797
|
+
} | null | undefined;
|
|
1798
|
+
agentId?: string | null | undefined;
|
|
1794
1799
|
}>;
|
|
1795
1800
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1796
1801
|
field: z.ZodString;
|
|
@@ -1808,78 +1813,78 @@ export declare const exportJobsContract: {
|
|
|
1808
1813
|
field: string;
|
|
1809
1814
|
dir: "ASC" | "DESC";
|
|
1810
1815
|
}[];
|
|
1816
|
+
entity: "actives";
|
|
1811
1817
|
filter: {
|
|
1812
|
-
limit: number;
|
|
1813
1818
|
page: number;
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1819
|
+
limit: number;
|
|
1820
|
+
pay?: {
|
|
1821
|
+
minRate?: number | null | undefined;
|
|
1822
|
+
maxRate?: number | null | undefined;
|
|
1823
|
+
} | null | undefined;
|
|
1818
1824
|
status?: {
|
|
1819
1825
|
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
1820
1826
|
} | null | undefined;
|
|
1827
|
+
sort?: {
|
|
1828
|
+
field: "updatedAt" | "createdAt" | "postcode" | "status" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "firstAgent";
|
|
1829
|
+
order: "ASC" | "DESC";
|
|
1830
|
+
}[] | null | undefined;
|
|
1821
1831
|
date?: {
|
|
1822
1832
|
from?: string | null | undefined;
|
|
1823
1833
|
to?: string | null | undefined;
|
|
1824
1834
|
} | null | undefined;
|
|
1825
|
-
workerName?: {
|
|
1826
|
-
value?: string | undefined;
|
|
1827
|
-
exact?: boolean | undefined;
|
|
1828
|
-
} | null | undefined;
|
|
1829
|
-
agentId?: string | null | undefined;
|
|
1830
|
-
pay?: {
|
|
1831
|
-
minRate?: number | null | undefined;
|
|
1832
|
-
maxRate?: number | null | undefined;
|
|
1833
|
-
} | null | undefined;
|
|
1834
1835
|
job?: {
|
|
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
|
+
userId?: string | null | undefined;
|
|
1844
|
+
} | null | undefined;
|
|
1845
|
+
workerName?: {
|
|
1846
|
+
value?: string | undefined;
|
|
1847
|
+
exact?: boolean | undefined;
|
|
1843
1848
|
} | null | undefined;
|
|
1849
|
+
agentId?: string | null | undefined;
|
|
1844
1850
|
};
|
|
1845
|
-
entity: "actives";
|
|
1846
1851
|
columns: string[];
|
|
1847
1852
|
}, {
|
|
1853
|
+
entity: "actives";
|
|
1848
1854
|
filter: {
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
order: "ASC" | "DESC";
|
|
1854
|
-
}[] | null | undefined;
|
|
1855
|
+
pay?: {
|
|
1856
|
+
minRate?: number | null | undefined;
|
|
1857
|
+
maxRate?: number | null | undefined;
|
|
1858
|
+
} | null | undefined;
|
|
1855
1859
|
status?: {
|
|
1856
1860
|
status?: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | undefined;
|
|
1857
1861
|
} | null | undefined;
|
|
1862
|
+
sort?: {
|
|
1863
|
+
field: "updatedAt" | "createdAt" | "postcode" | "status" | "startDate" | "payRate" | "receivedRate" | "hoursWorked" | "date" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "firstAgent";
|
|
1864
|
+
order: "ASC" | "DESC";
|
|
1865
|
+
}[] | null | undefined;
|
|
1866
|
+
page?: number | undefined;
|
|
1867
|
+
limit?: number | undefined;
|
|
1858
1868
|
date?: {
|
|
1859
1869
|
from?: string | null | undefined;
|
|
1860
1870
|
to?: string | null | undefined;
|
|
1861
1871
|
} | null | undefined;
|
|
1862
|
-
workerName?: {
|
|
1863
|
-
value?: string | undefined;
|
|
1864
|
-
exact?: boolean | "true" | "false" | undefined;
|
|
1865
|
-
} | null | undefined;
|
|
1866
|
-
agentId?: string | null | undefined;
|
|
1867
|
-
pay?: {
|
|
1868
|
-
minRate?: number | null | undefined;
|
|
1869
|
-
maxRate?: number | null | undefined;
|
|
1870
|
-
} | null | undefined;
|
|
1871
1872
|
job?: {
|
|
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
|
+
userId?: string | null | undefined;
|
|
1881
|
+
} | null | undefined;
|
|
1882
|
+
workerName?: {
|
|
1883
|
+
value?: string | undefined;
|
|
1884
|
+
exact?: boolean | "true" | "false" | undefined;
|
|
1880
1885
|
} | null | undefined;
|
|
1886
|
+
agentId?: string | null | undefined;
|
|
1881
1887
|
};
|
|
1882
|
-
entity: "actives";
|
|
1883
1888
|
columns: string[];
|
|
1884
1889
|
sort?: {
|
|
1885
1890
|
field: string;
|
|
@@ -1973,23 +1978,23 @@ export declare const exportJobsContract: {
|
|
|
1973
1978
|
radius?: number | null | undefined;
|
|
1974
1979
|
}>>>;
|
|
1975
1980
|
}, "strip", z.ZodTypeAny, {
|
|
1976
|
-
userId?: string | null | undefined;
|
|
1977
|
-
tradeId?: string | null | undefined;
|
|
1978
|
-
companyId?: string | null | undefined;
|
|
1979
|
-
clientId?: string | null | undefined;
|
|
1980
1981
|
location?: {
|
|
1981
1982
|
postcode?: string | null | undefined;
|
|
1982
1983
|
radius?: number | null | undefined;
|
|
1983
1984
|
} | null | undefined;
|
|
1984
|
-
}, {
|
|
1985
|
-
userId?: string | null | undefined;
|
|
1986
1985
|
tradeId?: string | null | undefined;
|
|
1987
|
-
companyId?: string | null | undefined;
|
|
1988
1986
|
clientId?: string | null | undefined;
|
|
1987
|
+
companyId?: string | null | undefined;
|
|
1988
|
+
userId?: string | null | undefined;
|
|
1989
|
+
}, {
|
|
1989
1990
|
location?: {
|
|
1990
1991
|
postcode?: string | null | undefined;
|
|
1991
1992
|
radius?: number | null | undefined;
|
|
1992
1993
|
} | null | undefined;
|
|
1994
|
+
tradeId?: string | null | undefined;
|
|
1995
|
+
clientId?: string | null | undefined;
|
|
1996
|
+
companyId?: string | null | undefined;
|
|
1997
|
+
userId?: string | null | undefined;
|
|
1993
1998
|
}>>>;
|
|
1994
1999
|
agentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1995
2000
|
endDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -2026,19 +2031,23 @@ 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: "
|
|
2034
|
+
field: "updatedAt" | "createdAt" | "status" | "startDate" | "payRate" | "endDate" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent";
|
|
2030
2035
|
order: "ASC" | "DESC";
|
|
2031
2036
|
}, {
|
|
2032
|
-
field: "
|
|
2037
|
+
field: "updatedAt" | "createdAt" | "status" | "startDate" | "payRate" | "endDate" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent";
|
|
2033
2038
|
order: "ASC" | "DESC";
|
|
2034
2039
|
}>, "many">>>;
|
|
2035
2040
|
}, "strip", z.ZodTypeAny, {
|
|
2036
|
-
limit: number;
|
|
2037
2041
|
page: number;
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
+
limit: number;
|
|
2043
|
+
updatedAt?: {
|
|
2044
|
+
from?: string | null | undefined;
|
|
2045
|
+
to?: string | null | undefined;
|
|
2046
|
+
} | null | undefined;
|
|
2047
|
+
createdAt?: {
|
|
2048
|
+
from?: string | null | undefined;
|
|
2049
|
+
to?: string | null | undefined;
|
|
2050
|
+
} | null | undefined;
|
|
2042
2051
|
status?: {
|
|
2043
2052
|
category: "ATTEMPT";
|
|
2044
2053
|
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" | "CONFIRMED" | undefined;
|
|
@@ -2059,40 +2068,38 @@ export declare const exportJobsContract: {
|
|
|
2059
2068
|
from?: string | null | undefined;
|
|
2060
2069
|
to?: string | null | undefined;
|
|
2061
2070
|
} | null | undefined;
|
|
2062
|
-
|
|
2071
|
+
sort?: {
|
|
2072
|
+
field: "updatedAt" | "createdAt" | "status" | "startDate" | "payRate" | "endDate" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent";
|
|
2073
|
+
order: "ASC" | "DESC";
|
|
2074
|
+
}[] | null | undefined;
|
|
2075
|
+
endDate?: {
|
|
2063
2076
|
from?: string | null | undefined;
|
|
2064
2077
|
to?: string | null | undefined;
|
|
2065
2078
|
} | null | undefined;
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2079
|
+
job?: {
|
|
2080
|
+
location?: {
|
|
2081
|
+
postcode?: string | null | undefined;
|
|
2082
|
+
radius?: number | null | undefined;
|
|
2083
|
+
} | null | undefined;
|
|
2084
|
+
tradeId?: string | null | undefined;
|
|
2085
|
+
clientId?: string | null | undefined;
|
|
2086
|
+
companyId?: string | null | undefined;
|
|
2087
|
+
userId?: string | null | undefined;
|
|
2069
2088
|
} | null | undefined;
|
|
2070
2089
|
workerName?: {
|
|
2071
2090
|
value?: string | undefined;
|
|
2072
2091
|
exact?: boolean | undefined;
|
|
2073
2092
|
} | null | undefined;
|
|
2074
2093
|
agentId?: string | null | undefined;
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
clientId?: string | null | undefined;
|
|
2080
|
-
location?: {
|
|
2081
|
-
postcode?: string | null | undefined;
|
|
2082
|
-
radius?: number | null | undefined;
|
|
2083
|
-
} | null | undefined;
|
|
2094
|
+
}, {
|
|
2095
|
+
updatedAt?: {
|
|
2096
|
+
from?: string | null | undefined;
|
|
2097
|
+
to?: string | null | undefined;
|
|
2084
2098
|
} | null | undefined;
|
|
2085
|
-
|
|
2099
|
+
createdAt?: {
|
|
2086
2100
|
from?: string | null | undefined;
|
|
2087
2101
|
to?: string | null | undefined;
|
|
2088
2102
|
} | null | undefined;
|
|
2089
|
-
}, {
|
|
2090
|
-
limit?: number | undefined;
|
|
2091
|
-
page?: number | undefined;
|
|
2092
|
-
sort?: {
|
|
2093
|
-
field: "status" | "startDate" | "createdAt" | "updatedAt" | "collaborationClient" | "collaborationCompany" | "workerName" | "secondAgent" | "payRate" | "collaborationAgent" | "endDate";
|
|
2094
|
-
order: "ASC" | "DESC";
|
|
2095
|
-
}[] | null | undefined;
|
|
2096
2103
|
status?: {
|
|
2097
2104
|
category: "ATTEMPT";
|
|
2098
2105
|
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" | "CONFIRMED" | undefined;
|
|
@@ -2113,33 +2120,31 @@ export declare const exportJobsContract: {
|
|
|
2113
2120
|
from?: string | null | undefined;
|
|
2114
2121
|
to?: string | null | undefined;
|
|
2115
2122
|
} | null | undefined;
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
} | null | undefined;
|
|
2120
|
-
|
|
2123
|
+
sort?: {
|
|
2124
|
+
field: "updatedAt" | "createdAt" | "status" | "startDate" | "payRate" | "endDate" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent";
|
|
2125
|
+
order: "ASC" | "DESC";
|
|
2126
|
+
}[] | null | undefined;
|
|
2127
|
+
page?: number | undefined;
|
|
2128
|
+
limit?: number | undefined;
|
|
2129
|
+
endDate?: {
|
|
2121
2130
|
from?: string | null | undefined;
|
|
2122
2131
|
to?: string | null | undefined;
|
|
2123
2132
|
} | null | undefined;
|
|
2124
|
-
workerName?: {
|
|
2125
|
-
value?: string | undefined;
|
|
2126
|
-
exact?: boolean | "true" | "false" | undefined;
|
|
2127
|
-
} | null | undefined;
|
|
2128
|
-
agentId?: string | null | undefined;
|
|
2129
2133
|
job?: {
|
|
2130
|
-
userId?: string | null | undefined;
|
|
2131
|
-
tradeId?: string | null | undefined;
|
|
2132
|
-
companyId?: string | null | undefined;
|
|
2133
|
-
clientId?: string | null | undefined;
|
|
2134
2134
|
location?: {
|
|
2135
2135
|
postcode?: string | null | undefined;
|
|
2136
2136
|
radius?: number | null | undefined;
|
|
2137
2137
|
} | null | undefined;
|
|
2138
|
+
tradeId?: string | null | undefined;
|
|
2139
|
+
clientId?: string | null | undefined;
|
|
2140
|
+
companyId?: string | null | undefined;
|
|
2141
|
+
userId?: 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;
|
|
@@ -2157,13 +2162,18 @@ export declare const exportJobsContract: {
|
|
|
2157
2162
|
field: string;
|
|
2158
2163
|
dir: "ASC" | "DESC";
|
|
2159
2164
|
}[];
|
|
2165
|
+
entity: "bookings";
|
|
2160
2166
|
filter: {
|
|
2161
|
-
limit: number;
|
|
2162
2167
|
page: number;
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2168
|
+
limit: number;
|
|
2169
|
+
updatedAt?: {
|
|
2170
|
+
from?: string | null | undefined;
|
|
2171
|
+
to?: string | null | undefined;
|
|
2172
|
+
} | null | undefined;
|
|
2173
|
+
createdAt?: {
|
|
2174
|
+
from?: string | null | undefined;
|
|
2175
|
+
to?: string | null | undefined;
|
|
2176
|
+
} | null | undefined;
|
|
2167
2177
|
status?: {
|
|
2168
2178
|
category: "ATTEMPT";
|
|
2169
2179
|
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" | "CONFIRMED" | undefined;
|
|
@@ -2184,44 +2194,42 @@ export declare const exportJobsContract: {
|
|
|
2184
2194
|
from?: string | null | undefined;
|
|
2185
2195
|
to?: string | null | undefined;
|
|
2186
2196
|
} | null | undefined;
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
} | null | undefined;
|
|
2191
|
-
|
|
2197
|
+
sort?: {
|
|
2198
|
+
field: "updatedAt" | "createdAt" | "status" | "startDate" | "payRate" | "endDate" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent";
|
|
2199
|
+
order: "ASC" | "DESC";
|
|
2200
|
+
}[] | null | undefined;
|
|
2201
|
+
endDate?: {
|
|
2192
2202
|
from?: string | null | undefined;
|
|
2193
2203
|
to?: string | null | undefined;
|
|
2194
2204
|
} | null | undefined;
|
|
2195
|
-
workerName?: {
|
|
2196
|
-
value?: string | undefined;
|
|
2197
|
-
exact?: boolean | undefined;
|
|
2198
|
-
} | null | undefined;
|
|
2199
|
-
agentId?: string | null | undefined;
|
|
2200
2205
|
job?: {
|
|
2201
|
-
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;
|
|
2213
|
+
userId?: string | null | undefined;
|
|
2209
2214
|
} | null | undefined;
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2215
|
+
workerName?: {
|
|
2216
|
+
value?: string | undefined;
|
|
2217
|
+
exact?: boolean | undefined;
|
|
2213
2218
|
} | null | undefined;
|
|
2219
|
+
agentId?: string | null | undefined;
|
|
2214
2220
|
};
|
|
2215
|
-
entity: "bookings";
|
|
2216
2221
|
columns: string[];
|
|
2217
2222
|
}, {
|
|
2223
|
+
entity: "bookings";
|
|
2218
2224
|
filter: {
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
+
updatedAt?: {
|
|
2226
|
+
from?: string | null | undefined;
|
|
2227
|
+
to?: string | null | undefined;
|
|
2228
|
+
} | null | undefined;
|
|
2229
|
+
createdAt?: {
|
|
2230
|
+
from?: string | null | undefined;
|
|
2231
|
+
to?: string | null | undefined;
|
|
2232
|
+
} | null | undefined;
|
|
2225
2233
|
status?: {
|
|
2226
2234
|
category: "ATTEMPT";
|
|
2227
2235
|
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" | "CONFIRMED" | undefined;
|
|
@@ -2242,35 +2250,32 @@ export declare const exportJobsContract: {
|
|
|
2242
2250
|
from?: string | null | undefined;
|
|
2243
2251
|
to?: string | null | undefined;
|
|
2244
2252
|
} | null | undefined;
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
} | null | undefined;
|
|
2249
|
-
|
|
2253
|
+
sort?: {
|
|
2254
|
+
field: "updatedAt" | "createdAt" | "status" | "startDate" | "payRate" | "endDate" | "workerName" | "secondAgent" | "collaborationCompany" | "collaborationClient" | "collaborationAgent";
|
|
2255
|
+
order: "ASC" | "DESC";
|
|
2256
|
+
}[] | null | undefined;
|
|
2257
|
+
page?: number | undefined;
|
|
2258
|
+
limit?: number | undefined;
|
|
2259
|
+
endDate?: {
|
|
2250
2260
|
from?: string | null | undefined;
|
|
2251
2261
|
to?: string | null | undefined;
|
|
2252
2262
|
} | null | undefined;
|
|
2253
|
-
workerName?: {
|
|
2254
|
-
value?: string | undefined;
|
|
2255
|
-
exact?: boolean | "true" | "false" | undefined;
|
|
2256
|
-
} | null | undefined;
|
|
2257
|
-
agentId?: string | null | undefined;
|
|
2258
2263
|
job?: {
|
|
2259
|
-
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;
|
|
2271
|
+
userId?: string | null | undefined;
|
|
2267
2272
|
} | null | undefined;
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2273
|
+
workerName?: {
|
|
2274
|
+
value?: string | undefined;
|
|
2275
|
+
exact?: boolean | "true" | "false" | undefined;
|
|
2271
2276
|
} | null | undefined;
|
|
2277
|
+
agentId?: string | null | undefined;
|
|
2272
2278
|
};
|
|
2273
|
-
entity: "bookings";
|
|
2274
2279
|
columns: string[];
|
|
2275
2280
|
sort?: {
|
|
2276
2281
|
field: string;
|
|
@@ -2319,47 +2324,47 @@ export declare const exportJobsContract: {
|
|
|
2319
2324
|
order: "ASC" | "DESC";
|
|
2320
2325
|
}>, "many">>>;
|
|
2321
2326
|
}, "strip", z.ZodTypeAny, {
|
|
2322
|
-
limit: number;
|
|
2323
2327
|
page: number;
|
|
2324
|
-
|
|
2325
|
-
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2326
|
-
order: "ASC" | "DESC";
|
|
2327
|
-
}[] | null | undefined;
|
|
2328
|
+
limit: number;
|
|
2328
2329
|
createdAt?: {
|
|
2329
2330
|
from?: string | null | undefined;
|
|
2330
2331
|
to?: string | null | undefined;
|
|
2331
2332
|
} | null | undefined;
|
|
2332
|
-
|
|
2333
|
+
companyId?: string | undefined;
|
|
2334
|
+
sort?: {
|
|
2335
|
+
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2336
|
+
order: "ASC" | "DESC";
|
|
2337
|
+
}[] | null | undefined;
|
|
2333
2338
|
agentId?: string | undefined;
|
|
2334
2339
|
rating?: {
|
|
2335
2340
|
from?: import("../common/call-rating.schema").CallRating | null | undefined;
|
|
2336
2341
|
to?: import("../common/call-rating.schema").CallRating | null | undefined;
|
|
2337
2342
|
} | null | undefined;
|
|
2338
2343
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
2339
|
-
companyId?: string | undefined;
|
|
2340
2344
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
2341
2345
|
leadName?: string | undefined;
|
|
2346
|
+
phoneNumber?: string | undefined;
|
|
2342
2347
|
}, {
|
|
2343
|
-
limit?: number | undefined;
|
|
2344
|
-
page?: number | undefined;
|
|
2345
|
-
sort?: {
|
|
2346
|
-
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2347
|
-
order: "ASC" | "DESC";
|
|
2348
|
-
}[] | null | undefined;
|
|
2349
2348
|
createdAt?: {
|
|
2350
2349
|
from?: string | null | undefined;
|
|
2351
2350
|
to?: string | null | undefined;
|
|
2352
2351
|
} | null | undefined;
|
|
2353
|
-
|
|
2352
|
+
companyId?: string | undefined;
|
|
2353
|
+
sort?: {
|
|
2354
|
+
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2355
|
+
order: "ASC" | "DESC";
|
|
2356
|
+
}[] | null | undefined;
|
|
2357
|
+
page?: number | undefined;
|
|
2358
|
+
limit?: number | undefined;
|
|
2354
2359
|
agentId?: string | undefined;
|
|
2355
2360
|
rating?: {
|
|
2356
2361
|
from?: unknown;
|
|
2357
2362
|
to?: unknown;
|
|
2358
2363
|
} | null | undefined;
|
|
2359
2364
|
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
2360
|
-
companyId?: string | undefined;
|
|
2361
2365
|
leadSource?: import("../call-history/call-history.contract").LeadSource | undefined;
|
|
2362
2366
|
leadName?: string | undefined;
|
|
2367
|
+
phoneNumber?: string | undefined;
|
|
2363
2368
|
}>;
|
|
2364
2369
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2365
2370
|
field: z.ZodString;
|
|
@@ -2377,54 +2382,54 @@ export declare const exportJobsContract: {
|
|
|
2377
2382
|
field: string;
|
|
2378
2383
|
dir: "ASC" | "DESC";
|
|
2379
2384
|
}[];
|
|
2385
|
+
entity: "call-history";
|
|
2380
2386
|
filter: {
|
|
2381
|
-
limit: number;
|
|
2382
2387
|
page: number;
|
|
2383
|
-
|
|
2384
|
-
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2385
|
-
order: "ASC" | "DESC";
|
|
2386
|
-
}[] | null | undefined;
|
|
2388
|
+
limit: number;
|
|
2387
2389
|
createdAt?: {
|
|
2388
2390
|
from?: string | null | undefined;
|
|
2389
2391
|
to?: string | null | undefined;
|
|
2390
2392
|
} | null | undefined;
|
|
2391
|
-
|
|
2393
|
+
companyId?: string | undefined;
|
|
2394
|
+
sort?: {
|
|
2395
|
+
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2396
|
+
order: "ASC" | "DESC";
|
|
2397
|
+
}[] | null | 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;
|
|
2406
|
+
phoneNumber?: string | undefined;
|
|
2401
2407
|
};
|
|
2402
|
-
entity: "call-history";
|
|
2403
2408
|
columns: string[];
|
|
2404
2409
|
}, {
|
|
2410
|
+
entity: "call-history";
|
|
2405
2411
|
filter: {
|
|
2406
|
-
limit?: number | undefined;
|
|
2407
|
-
page?: number | undefined;
|
|
2408
|
-
sort?: {
|
|
2409
|
-
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2410
|
-
order: "ASC" | "DESC";
|
|
2411
|
-
}[] | null | undefined;
|
|
2412
2412
|
createdAt?: {
|
|
2413
2413
|
from?: string | null | undefined;
|
|
2414
2414
|
to?: string | null | undefined;
|
|
2415
2415
|
} | null | undefined;
|
|
2416
|
-
|
|
2416
|
+
companyId?: string | undefined;
|
|
2417
|
+
sort?: {
|
|
2418
|
+
field: import("../call-history/call-history.contract").CallHistorySortableFields;
|
|
2419
|
+
order: "ASC" | "DESC";
|
|
2420
|
+
}[] | null | undefined;
|
|
2421
|
+
page?: number | undefined;
|
|
2422
|
+
limit?: number | 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;
|
|
2431
|
+
phoneNumber?: string | undefined;
|
|
2426
2432
|
};
|
|
2427
|
-
entity: "call-history";
|
|
2428
2433
|
columns: string[];
|
|
2429
2434
|
sort?: {
|
|
2430
2435
|
field: string;
|
|
@@ -2493,84 +2498,87 @@ 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: "
|
|
2506
|
+
field: "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "status" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2501
2507
|
order: "ASC" | "DESC";
|
|
2502
2508
|
}, {
|
|
2503
|
-
field: "
|
|
2509
|
+
field: "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "status" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2504
2510
|
order: "ASC" | "DESC";
|
|
2505
2511
|
}>, "many">>>;
|
|
2506
2512
|
}, "strip", z.ZodTypeAny, {
|
|
2507
|
-
limit: number;
|
|
2508
2513
|
page: number;
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
order: "ASC" | "DESC";
|
|
2512
|
-
}[] | null | undefined;
|
|
2513
|
-
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2514
|
-
description?: string | null | undefined;
|
|
2515
|
-
createdAt?: {
|
|
2514
|
+
limit: number;
|
|
2515
|
+
updatedAt?: {
|
|
2516
2516
|
from?: string | null | undefined;
|
|
2517
2517
|
to?: string | null | undefined;
|
|
2518
2518
|
} | null | undefined;
|
|
2519
|
-
|
|
2519
|
+
createdAt?: {
|
|
2520
2520
|
from?: string | null | undefined;
|
|
2521
2521
|
to?: string | null | undefined;
|
|
2522
2522
|
} | null | undefined;
|
|
2523
|
-
|
|
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;
|
|
2523
|
+
description?: string | null | undefined;
|
|
2531
2524
|
location?: {
|
|
2532
2525
|
postcode?: string | null | undefined;
|
|
2533
2526
|
radius?: number | null | undefined;
|
|
2534
2527
|
} | null | undefined;
|
|
2535
|
-
|
|
2528
|
+
pay?: {
|
|
2529
|
+
minRate?: number | null | undefined;
|
|
2530
|
+
maxRate?: number | null | undefined;
|
|
2531
|
+
} | null | undefined;
|
|
2532
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2533
|
+
tradeId?: string | null | undefined;
|
|
2536
2534
|
qualificationFilters?: {
|
|
2537
2535
|
qualificationId?: string | undefined;
|
|
2538
2536
|
qualificationTypeId?: string | undefined;
|
|
2539
2537
|
}[] | undefined;
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2538
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
2539
|
+
clientId?: string | null | undefined;
|
|
2540
|
+
companyId?: string | null | undefined;
|
|
2543
2541
|
sort?: {
|
|
2544
|
-
field: "
|
|
2542
|
+
field: "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "status" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2545
2543
|
order: "ASC" | "DESC";
|
|
2546
2544
|
}[] | null | undefined;
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2545
|
+
userId?: string | null | undefined;
|
|
2546
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
2547
|
+
}, {
|
|
2548
|
+
updatedAt?: {
|
|
2550
2549
|
from?: string | null | undefined;
|
|
2551
2550
|
to?: string | null | undefined;
|
|
2552
2551
|
} | null | undefined;
|
|
2553
|
-
|
|
2552
|
+
createdAt?: {
|
|
2554
2553
|
from?: string | null | undefined;
|
|
2555
2554
|
to?: string | null | undefined;
|
|
2556
2555
|
} | null | undefined;
|
|
2557
|
-
|
|
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;
|
|
2556
|
+
description?: string | null | undefined;
|
|
2565
2557
|
location?: {
|
|
2566
2558
|
postcode?: string | null | undefined;
|
|
2567
2559
|
radius?: number | null | undefined;
|
|
2568
2560
|
} | null | undefined;
|
|
2569
|
-
|
|
2561
|
+
pay?: {
|
|
2562
|
+
minRate?: number | null | undefined;
|
|
2563
|
+
maxRate?: number | null | undefined;
|
|
2564
|
+
} | null | undefined;
|
|
2565
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2566
|
+
tradeId?: string | null | undefined;
|
|
2570
2567
|
qualificationFilters?: {
|
|
2571
2568
|
qualificationId?: string | undefined;
|
|
2572
2569
|
qualificationTypeId?: string | undefined;
|
|
2573
2570
|
}[] | undefined;
|
|
2571
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
2572
|
+
clientId?: string | null | undefined;
|
|
2573
|
+
companyId?: string | null | undefined;
|
|
2574
|
+
sort?: {
|
|
2575
|
+
field: "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "status" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2576
|
+
order: "ASC" | "DESC";
|
|
2577
|
+
}[] | null | undefined;
|
|
2578
|
+
page?: number | undefined;
|
|
2579
|
+
limit?: number | undefined;
|
|
2580
|
+
userId?: 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;
|
|
@@ -2588,80 +2596,82 @@ export declare const exportJobsContract: {
|
|
|
2588
2596
|
field: string;
|
|
2589
2597
|
dir: "ASC" | "DESC";
|
|
2590
2598
|
}[];
|
|
2599
|
+
entity: "jobs";
|
|
2591
2600
|
filter: {
|
|
2592
|
-
limit: number;
|
|
2593
2601
|
page: number;
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
order: "ASC" | "DESC";
|
|
2597
|
-
}[] | null | undefined;
|
|
2598
|
-
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2599
|
-
description?: string | null | undefined;
|
|
2600
|
-
createdAt?: {
|
|
2602
|
+
limit: number;
|
|
2603
|
+
updatedAt?: {
|
|
2601
2604
|
from?: string | null | undefined;
|
|
2602
2605
|
to?: string | null | undefined;
|
|
2603
2606
|
} | null | undefined;
|
|
2604
|
-
|
|
2607
|
+
createdAt?: {
|
|
2605
2608
|
from?: string | null | undefined;
|
|
2606
2609
|
to?: string | null | undefined;
|
|
2607
2610
|
} | null | undefined;
|
|
2608
|
-
|
|
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;
|
|
2611
|
+
description?: string | null | undefined;
|
|
2616
2612
|
location?: {
|
|
2617
2613
|
postcode?: string | null | undefined;
|
|
2618
2614
|
radius?: number | null | undefined;
|
|
2619
2615
|
} | null | undefined;
|
|
2620
|
-
|
|
2616
|
+
pay?: {
|
|
2617
|
+
minRate?: number | null | undefined;
|
|
2618
|
+
maxRate?: number | null | undefined;
|
|
2619
|
+
} | null | undefined;
|
|
2620
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2621
|
+
tradeId?: string | null | undefined;
|
|
2621
2622
|
qualificationFilters?: {
|
|
2622
2623
|
qualificationId?: string | undefined;
|
|
2623
2624
|
qualificationTypeId?: string | undefined;
|
|
2624
2625
|
}[] | undefined;
|
|
2626
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
2627
|
+
clientId?: string | null | undefined;
|
|
2628
|
+
companyId?: string | null | undefined;
|
|
2629
|
+
sort?: {
|
|
2630
|
+
field: "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "status" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2631
|
+
order: "ASC" | "DESC";
|
|
2632
|
+
}[] | null | undefined;
|
|
2633
|
+
userId?: string | null | undefined;
|
|
2634
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
2625
2635
|
};
|
|
2626
|
-
entity: "jobs";
|
|
2627
2636
|
columns: string[];
|
|
2628
2637
|
}, {
|
|
2638
|
+
entity: "jobs";
|
|
2629
2639
|
filter: {
|
|
2630
|
-
|
|
2631
|
-
page?: number | undefined;
|
|
2632
|
-
sort?: {
|
|
2633
|
-
field: "status" | "description" | "startDate" | "createdAt" | "updatedAt" | "collaborationClient" | "collaborationCompany" | "postcode" | "tradeId" | "payRate" | "receivedRate" | "collaborationAgent" | "creationSource" | "numberOfPositions" | "distance" | "workHours" | "qualificationsCount";
|
|
2634
|
-
order: "ASC" | "DESC";
|
|
2635
|
-
}[] | null | undefined;
|
|
2636
|
-
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2637
|
-
description?: string | null | undefined;
|
|
2638
|
-
createdAt?: {
|
|
2640
|
+
updatedAt?: {
|
|
2639
2641
|
from?: string | null | undefined;
|
|
2640
2642
|
to?: string | null | undefined;
|
|
2641
2643
|
} | null | undefined;
|
|
2642
|
-
|
|
2644
|
+
createdAt?: {
|
|
2643
2645
|
from?: string | null | undefined;
|
|
2644
2646
|
to?: string | null | undefined;
|
|
2645
2647
|
} | null | undefined;
|
|
2646
|
-
|
|
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;
|
|
2648
|
+
description?: string | null | undefined;
|
|
2654
2649
|
location?: {
|
|
2655
2650
|
postcode?: string | null | undefined;
|
|
2656
2651
|
radius?: number | null | undefined;
|
|
2657
2652
|
} | null | undefined;
|
|
2658
|
-
|
|
2653
|
+
pay?: {
|
|
2654
|
+
minRate?: number | null | undefined;
|
|
2655
|
+
maxRate?: number | null | undefined;
|
|
2656
|
+
} | null | undefined;
|
|
2657
|
+
status?: "AVAILABLE" | "NOT_AVAILABLE" | null | undefined;
|
|
2658
|
+
tradeId?: string | null | undefined;
|
|
2659
2659
|
qualificationFilters?: {
|
|
2660
2660
|
qualificationId?: string | undefined;
|
|
2661
2661
|
qualificationTypeId?: string | undefined;
|
|
2662
2662
|
}[] | undefined;
|
|
2663
|
+
outreachRequested?: "only_with" | "only_without" | null | undefined;
|
|
2664
|
+
clientId?: string | null | undefined;
|
|
2665
|
+
companyId?: string | null | undefined;
|
|
2666
|
+
sort?: {
|
|
2667
|
+
field: "updatedAt" | "createdAt" | "postcode" | "description" | "numberOfPositions" | "workHours" | "status" | "tradeId" | "startDate" | "distance" | "payRate" | "receivedRate" | "qualificationsCount" | "collaborationCompany" | "collaborationClient" | "collaborationAgent" | "creationSource";
|
|
2668
|
+
order: "ASC" | "DESC";
|
|
2669
|
+
}[] | null | undefined;
|
|
2670
|
+
page?: number | undefined;
|
|
2671
|
+
limit?: number | undefined;
|
|
2672
|
+
userId?: string | null | undefined;
|
|
2673
|
+
creationSource?: "BOT" | "MANUAL" | null | undefined;
|
|
2663
2674
|
};
|
|
2664
|
-
entity: "jobs";
|
|
2665
2675
|
columns: string[];
|
|
2666
2676
|
sort?: {
|
|
2667
2677
|
field: string;
|
|
@@ -2712,60 +2722,60 @@ export declare const exportJobsContract: {
|
|
|
2712
2722
|
field: z.ZodEnum<["lastName", "firstName", "email", "createdAt", "office"]>;
|
|
2713
2723
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
2714
2724
|
}, "strip", z.ZodTypeAny, {
|
|
2715
|
-
field: "
|
|
2725
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
2716
2726
|
order: "ASC" | "DESC";
|
|
2717
2727
|
}, {
|
|
2718
|
-
field: "
|
|
2728
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
2719
2729
|
order: "ASC" | "DESC";
|
|
2720
2730
|
}>, "many">>>;
|
|
2721
2731
|
}, "strip", z.ZodTypeAny, {
|
|
2722
|
-
limit: number;
|
|
2723
2732
|
page: number;
|
|
2733
|
+
limit: number;
|
|
2734
|
+
name?: string | undefined;
|
|
2735
|
+
updatedAt?: {
|
|
2736
|
+
from?: string | null | undefined;
|
|
2737
|
+
to?: string | null | undefined;
|
|
2738
|
+
} | null | undefined;
|
|
2739
|
+
createdAt?: {
|
|
2740
|
+
from?: string | null | undefined;
|
|
2741
|
+
to?: string | null | undefined;
|
|
2742
|
+
} | null | undefined;
|
|
2743
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2724
2744
|
sort?: {
|
|
2725
|
-
field: "
|
|
2745
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
2726
2746
|
order: "ASC" | "DESC";
|
|
2727
2747
|
}[] | null | undefined;
|
|
2728
|
-
|
|
2748
|
+
phone?: string | undefined;
|
|
2729
2749
|
email?: string | undefined;
|
|
2730
2750
|
roles?: {
|
|
2731
2751
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
2732
2752
|
requireAll?: boolean | undefined;
|
|
2733
2753
|
} | undefined;
|
|
2754
|
+
officeId?: string | undefined;
|
|
2755
|
+
}, {
|
|
2734
2756
|
name?: string | undefined;
|
|
2735
|
-
|
|
2757
|
+
updatedAt?: {
|
|
2736
2758
|
from?: string | null | undefined;
|
|
2737
2759
|
to?: string | null | undefined;
|
|
2738
2760
|
} | null | undefined;
|
|
2739
|
-
|
|
2761
|
+
createdAt?: {
|
|
2740
2762
|
from?: string | null | undefined;
|
|
2741
2763
|
to?: string | null | undefined;
|
|
2742
2764
|
} | null | undefined;
|
|
2743
|
-
|
|
2744
|
-
phone?: string | undefined;
|
|
2745
|
-
}, {
|
|
2746
|
-
limit?: number | undefined;
|
|
2747
|
-
page?: number | undefined;
|
|
2765
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2748
2766
|
sort?: {
|
|
2749
|
-
field: "
|
|
2767
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
2750
2768
|
order: "ASC" | "DESC";
|
|
2751
2769
|
}[] | null | undefined;
|
|
2752
|
-
|
|
2770
|
+
page?: number | undefined;
|
|
2771
|
+
limit?: number | undefined;
|
|
2772
|
+
phone?: string | undefined;
|
|
2753
2773
|
email?: string | undefined;
|
|
2754
2774
|
roles?: {
|
|
2755
2775
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
2756
2776
|
requireAll?: unknown;
|
|
2757
2777
|
} | undefined;
|
|
2758
|
-
name?: string | undefined;
|
|
2759
|
-
createdAt?: {
|
|
2760
|
-
from?: string | null | undefined;
|
|
2761
|
-
to?: string | null | undefined;
|
|
2762
|
-
} | null | undefined;
|
|
2763
|
-
updatedAt?: {
|
|
2764
|
-
from?: string | null | undefined;
|
|
2765
|
-
to?: string | null | undefined;
|
|
2766
|
-
} | null | undefined;
|
|
2767
2778
|
officeId?: string | undefined;
|
|
2768
|
-
phone?: string | undefined;
|
|
2769
2779
|
}>;
|
|
2770
2780
|
sort: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2771
2781
|
field: z.ZodString;
|
|
@@ -2783,60 +2793,60 @@ export declare const exportJobsContract: {
|
|
|
2783
2793
|
field: string;
|
|
2784
2794
|
dir: "ASC" | "DESC";
|
|
2785
2795
|
}[];
|
|
2796
|
+
entity: "users";
|
|
2786
2797
|
filter: {
|
|
2787
|
-
limit: number;
|
|
2788
2798
|
page: number;
|
|
2799
|
+
limit: number;
|
|
2800
|
+
name?: string | undefined;
|
|
2801
|
+
updatedAt?: {
|
|
2802
|
+
from?: string | null | undefined;
|
|
2803
|
+
to?: string | null | undefined;
|
|
2804
|
+
} | null | undefined;
|
|
2805
|
+
createdAt?: {
|
|
2806
|
+
from?: string | null | undefined;
|
|
2807
|
+
to?: string | null | undefined;
|
|
2808
|
+
} | null | undefined;
|
|
2809
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2789
2810
|
sort?: {
|
|
2790
|
-
field: "
|
|
2811
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
2791
2812
|
order: "ASC" | "DESC";
|
|
2792
2813
|
}[] | null | undefined;
|
|
2793
|
-
|
|
2814
|
+
phone?: string | undefined;
|
|
2794
2815
|
email?: string | undefined;
|
|
2795
2816
|
roles?: {
|
|
2796
2817
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
2797
2818
|
requireAll?: boolean | undefined;
|
|
2798
2819
|
} | undefined;
|
|
2820
|
+
officeId?: string | undefined;
|
|
2821
|
+
};
|
|
2822
|
+
columns: string[];
|
|
2823
|
+
}, {
|
|
2824
|
+
entity: "users";
|
|
2825
|
+
filter: {
|
|
2799
2826
|
name?: string | undefined;
|
|
2800
|
-
|
|
2827
|
+
updatedAt?: {
|
|
2801
2828
|
from?: string | null | undefined;
|
|
2802
2829
|
to?: string | null | undefined;
|
|
2803
2830
|
} | null | undefined;
|
|
2804
|
-
|
|
2831
|
+
createdAt?: {
|
|
2805
2832
|
from?: string | null | undefined;
|
|
2806
2833
|
to?: string | null | undefined;
|
|
2807
2834
|
} | null | undefined;
|
|
2808
|
-
|
|
2809
|
-
phone?: string | undefined;
|
|
2810
|
-
};
|
|
2811
|
-
entity: "users";
|
|
2812
|
-
columns: string[];
|
|
2813
|
-
}, {
|
|
2814
|
-
filter: {
|
|
2815
|
-
limit?: number | undefined;
|
|
2816
|
-
page?: number | undefined;
|
|
2835
|
+
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
2817
2836
|
sort?: {
|
|
2818
|
-
field: "
|
|
2837
|
+
field: "createdAt" | "email" | "lastName" | "firstName" | "office";
|
|
2819
2838
|
order: "ASC" | "DESC";
|
|
2820
2839
|
}[] | null | undefined;
|
|
2821
|
-
|
|
2840
|
+
page?: number | undefined;
|
|
2841
|
+
limit?: number | undefined;
|
|
2842
|
+
phone?: string | undefined;
|
|
2822
2843
|
email?: string | undefined;
|
|
2823
2844
|
roles?: {
|
|
2824
2845
|
values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS" | "OFFICE_MANAGER" | "WORKER_CURATOR" | "INTERCONNECTION")[] | undefined;
|
|
2825
2846
|
requireAll?: unknown;
|
|
2826
2847
|
} | undefined;
|
|
2827
|
-
name?: string | undefined;
|
|
2828
|
-
createdAt?: {
|
|
2829
|
-
from?: string | null | undefined;
|
|
2830
|
-
to?: string | null | undefined;
|
|
2831
|
-
} | null | undefined;
|
|
2832
|
-
updatedAt?: {
|
|
2833
|
-
from?: string | null | undefined;
|
|
2834
|
-
to?: string | null | undefined;
|
|
2835
|
-
} | null | undefined;
|
|
2836
2848
|
officeId?: string | undefined;
|
|
2837
|
-
phone?: string | undefined;
|
|
2838
2849
|
};
|
|
2839
|
-
entity: "users";
|
|
2840
2850
|
columns: string[];
|
|
2841
2851
|
sort?: {
|
|
2842
2852
|
field: string;
|
|
@@ -2871,8 +2881,8 @@ export declare const exportJobsContract: {
|
|
|
2871
2881
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
2872
2882
|
}, "strip", z.ZodTypeAny, {
|
|
2873
2883
|
id: string;
|
|
2874
|
-
firstName: string;
|
|
2875
2884
|
lastName: string;
|
|
2885
|
+
firstName: string;
|
|
2876
2886
|
phoneNumbers: {
|
|
2877
2887
|
id: string;
|
|
2878
2888
|
phoneNumber: string;
|
|
@@ -2882,8 +2892,8 @@ export declare const exportJobsContract: {
|
|
|
2882
2892
|
deletedAt?: string | null | undefined;
|
|
2883
2893
|
}, {
|
|
2884
2894
|
id: string;
|
|
2885
|
-
firstName: string;
|
|
2886
2895
|
lastName: string;
|
|
2896
|
+
firstName: string;
|
|
2887
2897
|
phoneNumbers?: {
|
|
2888
2898
|
id: string;
|
|
2889
2899
|
phoneNumber: string;
|
|
@@ -2916,17 +2926,17 @@ export declare const exportJobsContract: {
|
|
|
2916
2926
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
2917
2927
|
expiresAt: z.ZodString;
|
|
2918
2928
|
}, "strip", z.ZodTypeAny, {
|
|
2929
|
+
id: string;
|
|
2930
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
2919
2931
|
sort: {
|
|
2920
2932
|
field: string;
|
|
2921
2933
|
dir: "ASC" | "DESC";
|
|
2922
2934
|
}[];
|
|
2923
|
-
|
|
2924
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
2925
|
-
id: string;
|
|
2935
|
+
userId: string;
|
|
2926
2936
|
user: {
|
|
2927
2937
|
id: string;
|
|
2928
|
-
firstName: string;
|
|
2929
2938
|
lastName: string;
|
|
2939
|
+
firstName: string;
|
|
2930
2940
|
phoneNumbers: {
|
|
2931
2941
|
id: string;
|
|
2932
2942
|
phoneNumber: string;
|
|
@@ -2935,10 +2945,9 @@ export declare const exportJobsContract: {
|
|
|
2935
2945
|
}[];
|
|
2936
2946
|
deletedAt?: string | null | undefined;
|
|
2937
2947
|
} | null;
|
|
2938
|
-
userId: string;
|
|
2939
|
-
requestedAt: string;
|
|
2940
|
-
completedAt: string | null;
|
|
2941
2948
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
2949
|
+
requestedAt: string;
|
|
2950
|
+
filter: Record<string, unknown>;
|
|
2942
2951
|
columns: string[];
|
|
2943
2952
|
rowsProcessed: number;
|
|
2944
2953
|
rowsSkipped: number;
|
|
@@ -2946,15 +2955,16 @@ export declare const exportJobsContract: {
|
|
|
2946
2955
|
byteSize: number | null;
|
|
2947
2956
|
errorMessage: string | null;
|
|
2948
2957
|
startedAt: string | null;
|
|
2958
|
+
completedAt: string | null;
|
|
2949
2959
|
expiresAt: string;
|
|
2950
2960
|
}, {
|
|
2951
|
-
filter: Record<string, unknown>;
|
|
2952
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
2953
2961
|
id: string;
|
|
2962
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
2963
|
+
userId: string;
|
|
2954
2964
|
user: {
|
|
2955
2965
|
id: string;
|
|
2956
|
-
firstName: string;
|
|
2957
2966
|
lastName: string;
|
|
2967
|
+
firstName: string;
|
|
2958
2968
|
phoneNumbers?: {
|
|
2959
2969
|
id: string;
|
|
2960
2970
|
phoneNumber: string;
|
|
@@ -2963,10 +2973,9 @@ export declare const exportJobsContract: {
|
|
|
2963
2973
|
}[] | undefined;
|
|
2964
2974
|
deletedAt?: string | Date | null | undefined;
|
|
2965
2975
|
} | null;
|
|
2966
|
-
userId: string;
|
|
2967
|
-
requestedAt: string;
|
|
2968
|
-
completedAt: string | null;
|
|
2969
2976
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
2977
|
+
requestedAt: string;
|
|
2978
|
+
filter: Record<string, unknown>;
|
|
2970
2979
|
columns: string[];
|
|
2971
2980
|
rowsProcessed: number;
|
|
2972
2981
|
rowsSkipped: number;
|
|
@@ -2974,6 +2983,7 @@ export declare const exportJobsContract: {
|
|
|
2974
2983
|
byteSize: number | null;
|
|
2975
2984
|
errorMessage: string | null;
|
|
2976
2985
|
startedAt: string | null;
|
|
2986
|
+
completedAt: string | null;
|
|
2977
2987
|
expiresAt: string;
|
|
2978
2988
|
sort?: {
|
|
2979
2989
|
field: string;
|
|
@@ -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
|
-
limit: number;
|
|
3029
3038
|
page: number;
|
|
3039
|
+
limit: number;
|
|
3040
|
+
status?: "pending" | "processing" | "completed" | "failed" | "cancelled" | undefined;
|
|
3030
3041
|
sort?: {
|
|
3031
|
-
field: "status" | "
|
|
3042
|
+
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
3032
3043
|
order: "ASC" | "DESC";
|
|
3033
3044
|
}[] | null | undefined;
|
|
3034
|
-
status?: "pending" | "processing" | "completed" | "failed" | "cancelled" | undefined;
|
|
3035
3045
|
userId?: string | undefined;
|
|
3046
|
+
entity?: "actives" | "bookings" | "call-history" | "jobs" | "users" | 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
|
-
|
|
3043
|
-
page?: number | undefined;
|
|
3052
|
+
status?: "pending" | "processing" | "completed" | "failed" | "cancelled" | undefined;
|
|
3044
3053
|
sort?: {
|
|
3045
|
-
field: "status" | "
|
|
3054
|
+
field: "status" | "entity" | "requestedAt" | "completedAt";
|
|
3046
3055
|
order: "ASC" | "DESC";
|
|
3047
3056
|
}[] | null | undefined;
|
|
3048
|
-
|
|
3057
|
+
page?: number | undefined;
|
|
3058
|
+
limit?: number | undefined;
|
|
3049
3059
|
userId?: string | undefined;
|
|
3060
|
+
entity?: "actives" | "bookings" | "call-history" | "jobs" | "users" | 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";
|
|
@@ -3084,8 +3094,8 @@ export declare const exportJobsContract: {
|
|
|
3084
3094
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3085
3095
|
}, "strip", z.ZodTypeAny, {
|
|
3086
3096
|
id: string;
|
|
3087
|
-
firstName: string;
|
|
3088
3097
|
lastName: string;
|
|
3098
|
+
firstName: string;
|
|
3089
3099
|
phoneNumbers: {
|
|
3090
3100
|
id: string;
|
|
3091
3101
|
phoneNumber: string;
|
|
@@ -3095,8 +3105,8 @@ export declare const exportJobsContract: {
|
|
|
3095
3105
|
deletedAt?: string | null | undefined;
|
|
3096
3106
|
}, {
|
|
3097
3107
|
id: string;
|
|
3098
|
-
firstName: string;
|
|
3099
3108
|
lastName: string;
|
|
3109
|
+
firstName: string;
|
|
3100
3110
|
phoneNumbers?: {
|
|
3101
3111
|
id: string;
|
|
3102
3112
|
phoneNumber: string;
|
|
@@ -3129,17 +3139,17 @@ export declare const exportJobsContract: {
|
|
|
3129
3139
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
3130
3140
|
expiresAt: z.ZodString;
|
|
3131
3141
|
}, "strip", z.ZodTypeAny, {
|
|
3142
|
+
id: string;
|
|
3143
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3132
3144
|
sort: {
|
|
3133
3145
|
field: string;
|
|
3134
3146
|
dir: "ASC" | "DESC";
|
|
3135
3147
|
}[];
|
|
3136
|
-
|
|
3137
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3138
|
-
id: string;
|
|
3148
|
+
userId: string;
|
|
3139
3149
|
user: {
|
|
3140
3150
|
id: string;
|
|
3141
|
-
firstName: string;
|
|
3142
3151
|
lastName: string;
|
|
3152
|
+
firstName: string;
|
|
3143
3153
|
phoneNumbers: {
|
|
3144
3154
|
id: string;
|
|
3145
3155
|
phoneNumber: string;
|
|
@@ -3148,10 +3158,9 @@ export declare const exportJobsContract: {
|
|
|
3148
3158
|
}[];
|
|
3149
3159
|
deletedAt?: string | null | undefined;
|
|
3150
3160
|
} | null;
|
|
3151
|
-
userId: string;
|
|
3152
|
-
requestedAt: string;
|
|
3153
|
-
completedAt: string | null;
|
|
3154
3161
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
3162
|
+
requestedAt: string;
|
|
3163
|
+
filter: Record<string, unknown>;
|
|
3155
3164
|
columns: string[];
|
|
3156
3165
|
rowsProcessed: number;
|
|
3157
3166
|
rowsSkipped: number;
|
|
@@ -3159,15 +3168,16 @@ export declare const exportJobsContract: {
|
|
|
3159
3168
|
byteSize: number | null;
|
|
3160
3169
|
errorMessage: string | null;
|
|
3161
3170
|
startedAt: string | null;
|
|
3171
|
+
completedAt: string | null;
|
|
3162
3172
|
expiresAt: string;
|
|
3163
3173
|
}, {
|
|
3164
|
-
filter: Record<string, unknown>;
|
|
3165
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3166
3174
|
id: string;
|
|
3175
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3176
|
+
userId: string;
|
|
3167
3177
|
user: {
|
|
3168
3178
|
id: string;
|
|
3169
|
-
firstName: string;
|
|
3170
3179
|
lastName: string;
|
|
3180
|
+
firstName: string;
|
|
3171
3181
|
phoneNumbers?: {
|
|
3172
3182
|
id: string;
|
|
3173
3183
|
phoneNumber: string;
|
|
@@ -3176,10 +3186,9 @@ export declare const exportJobsContract: {
|
|
|
3176
3186
|
}[] | undefined;
|
|
3177
3187
|
deletedAt?: string | Date | null | undefined;
|
|
3178
3188
|
} | null;
|
|
3179
|
-
userId: string;
|
|
3180
|
-
requestedAt: string;
|
|
3181
|
-
completedAt: string | null;
|
|
3182
3189
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
3190
|
+
requestedAt: string;
|
|
3191
|
+
filter: Record<string, unknown>;
|
|
3183
3192
|
columns: string[];
|
|
3184
3193
|
rowsProcessed: number;
|
|
3185
3194
|
rowsSkipped: number;
|
|
@@ -3187,6 +3196,7 @@ export declare const exportJobsContract: {
|
|
|
3187
3196
|
byteSize: number | null;
|
|
3188
3197
|
errorMessage: string | null;
|
|
3189
3198
|
startedAt: string | null;
|
|
3199
|
+
completedAt: string | null;
|
|
3190
3200
|
expiresAt: string;
|
|
3191
3201
|
sort?: {
|
|
3192
3202
|
field: string;
|
|
@@ -3201,17 +3211,17 @@ export declare const exportJobsContract: {
|
|
|
3201
3211
|
}, "strip", z.ZodTypeAny, {
|
|
3202
3212
|
limit: number;
|
|
3203
3213
|
items: {
|
|
3214
|
+
id: string;
|
|
3215
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3204
3216
|
sort: {
|
|
3205
3217
|
field: string;
|
|
3206
3218
|
dir: "ASC" | "DESC";
|
|
3207
3219
|
}[];
|
|
3208
|
-
|
|
3209
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3210
|
-
id: string;
|
|
3220
|
+
userId: string;
|
|
3211
3221
|
user: {
|
|
3212
3222
|
id: string;
|
|
3213
|
-
firstName: string;
|
|
3214
3223
|
lastName: string;
|
|
3224
|
+
firstName: string;
|
|
3215
3225
|
phoneNumbers: {
|
|
3216
3226
|
id: string;
|
|
3217
3227
|
phoneNumber: string;
|
|
@@ -3220,10 +3230,9 @@ export declare const exportJobsContract: {
|
|
|
3220
3230
|
}[];
|
|
3221
3231
|
deletedAt?: string | null | undefined;
|
|
3222
3232
|
} | null;
|
|
3223
|
-
userId: string;
|
|
3224
|
-
requestedAt: string;
|
|
3225
|
-
completedAt: string | null;
|
|
3226
3233
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
3234
|
+
requestedAt: string;
|
|
3235
|
+
filter: Record<string, unknown>;
|
|
3227
3236
|
columns: string[];
|
|
3228
3237
|
rowsProcessed: number;
|
|
3229
3238
|
rowsSkipped: number;
|
|
@@ -3231,6 +3240,7 @@ export declare const exportJobsContract: {
|
|
|
3231
3240
|
byteSize: number | null;
|
|
3232
3241
|
errorMessage: string | null;
|
|
3233
3242
|
startedAt: string | null;
|
|
3243
|
+
completedAt: string | null;
|
|
3234
3244
|
expiresAt: string;
|
|
3235
3245
|
}[];
|
|
3236
3246
|
totalCount: number;
|
|
@@ -3240,13 +3250,13 @@ export declare const exportJobsContract: {
|
|
|
3240
3250
|
}, {
|
|
3241
3251
|
limit: number;
|
|
3242
3252
|
items: {
|
|
3243
|
-
filter: Record<string, unknown>;
|
|
3244
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3245
3253
|
id: string;
|
|
3254
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3255
|
+
userId: string;
|
|
3246
3256
|
user: {
|
|
3247
3257
|
id: string;
|
|
3248
|
-
firstName: string;
|
|
3249
3258
|
lastName: string;
|
|
3259
|
+
firstName: string;
|
|
3250
3260
|
phoneNumbers?: {
|
|
3251
3261
|
id: string;
|
|
3252
3262
|
phoneNumber: string;
|
|
@@ -3255,10 +3265,9 @@ export declare const exportJobsContract: {
|
|
|
3255
3265
|
}[] | undefined;
|
|
3256
3266
|
deletedAt?: string | Date | null | undefined;
|
|
3257
3267
|
} | null;
|
|
3258
|
-
userId: string;
|
|
3259
|
-
requestedAt: string;
|
|
3260
|
-
completedAt: string | null;
|
|
3261
3268
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
3269
|
+
requestedAt: string;
|
|
3270
|
+
filter: Record<string, unknown>;
|
|
3262
3271
|
columns: string[];
|
|
3263
3272
|
rowsProcessed: number;
|
|
3264
3273
|
rowsSkipped: number;
|
|
@@ -3266,6 +3275,7 @@ export declare const exportJobsContract: {
|
|
|
3266
3275
|
byteSize: number | null;
|
|
3267
3276
|
errorMessage: string | null;
|
|
3268
3277
|
startedAt: string | null;
|
|
3278
|
+
completedAt: string | null;
|
|
3269
3279
|
expiresAt: string;
|
|
3270
3280
|
sort?: {
|
|
3271
3281
|
field: string;
|
|
@@ -3317,8 +3327,8 @@ export declare const exportJobsContract: {
|
|
|
3317
3327
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3318
3328
|
}, "strip", z.ZodTypeAny, {
|
|
3319
3329
|
id: string;
|
|
3320
|
-
firstName: string;
|
|
3321
3330
|
lastName: string;
|
|
3331
|
+
firstName: string;
|
|
3322
3332
|
phoneNumbers: {
|
|
3323
3333
|
id: string;
|
|
3324
3334
|
phoneNumber: string;
|
|
@@ -3328,8 +3338,8 @@ export declare const exportJobsContract: {
|
|
|
3328
3338
|
deletedAt?: string | null | undefined;
|
|
3329
3339
|
}, {
|
|
3330
3340
|
id: string;
|
|
3331
|
-
firstName: string;
|
|
3332
3341
|
lastName: string;
|
|
3342
|
+
firstName: string;
|
|
3333
3343
|
phoneNumbers?: {
|
|
3334
3344
|
id: string;
|
|
3335
3345
|
phoneNumber: string;
|
|
@@ -3362,17 +3372,17 @@ export declare const exportJobsContract: {
|
|
|
3362
3372
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
3363
3373
|
expiresAt: z.ZodString;
|
|
3364
3374
|
}, "strip", z.ZodTypeAny, {
|
|
3375
|
+
id: string;
|
|
3376
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3365
3377
|
sort: {
|
|
3366
3378
|
field: string;
|
|
3367
3379
|
dir: "ASC" | "DESC";
|
|
3368
3380
|
}[];
|
|
3369
|
-
|
|
3370
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3371
|
-
id: string;
|
|
3381
|
+
userId: string;
|
|
3372
3382
|
user: {
|
|
3373
3383
|
id: string;
|
|
3374
|
-
firstName: string;
|
|
3375
3384
|
lastName: string;
|
|
3385
|
+
firstName: string;
|
|
3376
3386
|
phoneNumbers: {
|
|
3377
3387
|
id: string;
|
|
3378
3388
|
phoneNumber: string;
|
|
@@ -3381,10 +3391,9 @@ export declare const exportJobsContract: {
|
|
|
3381
3391
|
}[];
|
|
3382
3392
|
deletedAt?: string | null | undefined;
|
|
3383
3393
|
} | null;
|
|
3384
|
-
userId: string;
|
|
3385
|
-
requestedAt: string;
|
|
3386
|
-
completedAt: string | null;
|
|
3387
3394
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
3395
|
+
requestedAt: string;
|
|
3396
|
+
filter: Record<string, unknown>;
|
|
3388
3397
|
columns: string[];
|
|
3389
3398
|
rowsProcessed: number;
|
|
3390
3399
|
rowsSkipped: number;
|
|
@@ -3392,15 +3401,16 @@ export declare const exportJobsContract: {
|
|
|
3392
3401
|
byteSize: number | null;
|
|
3393
3402
|
errorMessage: string | null;
|
|
3394
3403
|
startedAt: string | null;
|
|
3404
|
+
completedAt: string | null;
|
|
3395
3405
|
expiresAt: string;
|
|
3396
3406
|
}, {
|
|
3397
|
-
filter: Record<string, unknown>;
|
|
3398
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3399
3407
|
id: string;
|
|
3408
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3409
|
+
userId: string;
|
|
3400
3410
|
user: {
|
|
3401
3411
|
id: string;
|
|
3402
|
-
firstName: string;
|
|
3403
3412
|
lastName: string;
|
|
3413
|
+
firstName: string;
|
|
3404
3414
|
phoneNumbers?: {
|
|
3405
3415
|
id: string;
|
|
3406
3416
|
phoneNumber: string;
|
|
@@ -3409,10 +3419,9 @@ export declare const exportJobsContract: {
|
|
|
3409
3419
|
}[] | undefined;
|
|
3410
3420
|
deletedAt?: string | Date | null | undefined;
|
|
3411
3421
|
} | null;
|
|
3412
|
-
userId: string;
|
|
3413
|
-
requestedAt: string;
|
|
3414
|
-
completedAt: string | null;
|
|
3415
3422
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
3423
|
+
requestedAt: string;
|
|
3424
|
+
filter: Record<string, unknown>;
|
|
3416
3425
|
columns: string[];
|
|
3417
3426
|
rowsProcessed: number;
|
|
3418
3427
|
rowsSkipped: number;
|
|
@@ -3420,6 +3429,7 @@ export declare const exportJobsContract: {
|
|
|
3420
3429
|
byteSize: number | null;
|
|
3421
3430
|
errorMessage: string | null;
|
|
3422
3431
|
startedAt: string | null;
|
|
3432
|
+
completedAt: string | null;
|
|
3423
3433
|
expiresAt: string;
|
|
3424
3434
|
sort?: {
|
|
3425
3435
|
field: string;
|
|
@@ -3474,8 +3484,8 @@ export declare const exportJobsContract: {
|
|
|
3474
3484
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3475
3485
|
}, "strip", z.ZodTypeAny, {
|
|
3476
3486
|
id: string;
|
|
3477
|
-
firstName: string;
|
|
3478
3487
|
lastName: string;
|
|
3488
|
+
firstName: string;
|
|
3479
3489
|
phoneNumbers: {
|
|
3480
3490
|
id: string;
|
|
3481
3491
|
phoneNumber: string;
|
|
@@ -3485,8 +3495,8 @@ export declare const exportJobsContract: {
|
|
|
3485
3495
|
deletedAt?: string | null | undefined;
|
|
3486
3496
|
}, {
|
|
3487
3497
|
id: string;
|
|
3488
|
-
firstName: string;
|
|
3489
3498
|
lastName: string;
|
|
3499
|
+
firstName: string;
|
|
3490
3500
|
phoneNumbers?: {
|
|
3491
3501
|
id: string;
|
|
3492
3502
|
phoneNumber: string;
|
|
@@ -3519,17 +3529,17 @@ export declare const exportJobsContract: {
|
|
|
3519
3529
|
completedAt: z.ZodNullable<z.ZodString>;
|
|
3520
3530
|
expiresAt: z.ZodString;
|
|
3521
3531
|
}, "strip", z.ZodTypeAny, {
|
|
3532
|
+
id: string;
|
|
3533
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3522
3534
|
sort: {
|
|
3523
3535
|
field: string;
|
|
3524
3536
|
dir: "ASC" | "DESC";
|
|
3525
3537
|
}[];
|
|
3526
|
-
|
|
3527
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3528
|
-
id: string;
|
|
3538
|
+
userId: string;
|
|
3529
3539
|
user: {
|
|
3530
3540
|
id: string;
|
|
3531
|
-
firstName: string;
|
|
3532
3541
|
lastName: string;
|
|
3542
|
+
firstName: string;
|
|
3533
3543
|
phoneNumbers: {
|
|
3534
3544
|
id: string;
|
|
3535
3545
|
phoneNumber: string;
|
|
@@ -3538,10 +3548,9 @@ export declare const exportJobsContract: {
|
|
|
3538
3548
|
}[];
|
|
3539
3549
|
deletedAt?: string | null | undefined;
|
|
3540
3550
|
} | null;
|
|
3541
|
-
userId: string;
|
|
3542
|
-
requestedAt: string;
|
|
3543
|
-
completedAt: string | null;
|
|
3544
3551
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
3552
|
+
requestedAt: string;
|
|
3553
|
+
filter: Record<string, unknown>;
|
|
3545
3554
|
columns: string[];
|
|
3546
3555
|
rowsProcessed: number;
|
|
3547
3556
|
rowsSkipped: number;
|
|
@@ -3549,15 +3558,16 @@ export declare const exportJobsContract: {
|
|
|
3549
3558
|
byteSize: number | null;
|
|
3550
3559
|
errorMessage: string | null;
|
|
3551
3560
|
startedAt: string | null;
|
|
3561
|
+
completedAt: string | null;
|
|
3552
3562
|
expiresAt: string;
|
|
3553
3563
|
}, {
|
|
3554
|
-
filter: Record<string, unknown>;
|
|
3555
|
-
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3556
3564
|
id: string;
|
|
3565
|
+
status: "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3566
|
+
userId: string;
|
|
3557
3567
|
user: {
|
|
3558
3568
|
id: string;
|
|
3559
|
-
firstName: string;
|
|
3560
3569
|
lastName: string;
|
|
3570
|
+
firstName: string;
|
|
3561
3571
|
phoneNumbers?: {
|
|
3562
3572
|
id: string;
|
|
3563
3573
|
phoneNumber: string;
|
|
@@ -3566,10 +3576,9 @@ export declare const exportJobsContract: {
|
|
|
3566
3576
|
}[] | undefined;
|
|
3567
3577
|
deletedAt?: string | Date | null | undefined;
|
|
3568
3578
|
} | null;
|
|
3569
|
-
userId: string;
|
|
3570
|
-
requestedAt: string;
|
|
3571
|
-
completedAt: string | null;
|
|
3572
3579
|
entity: "actives" | "bookings" | "call-history" | "jobs" | "users";
|
|
3580
|
+
requestedAt: string;
|
|
3581
|
+
filter: Record<string, unknown>;
|
|
3573
3582
|
columns: string[];
|
|
3574
3583
|
rowsProcessed: number;
|
|
3575
3584
|
rowsSkipped: number;
|
|
@@ -3577,6 +3586,7 @@ export declare const exportJobsContract: {
|
|
|
3577
3586
|
byteSize: number | null;
|
|
3578
3587
|
errorMessage: string | null;
|
|
3579
3588
|
startedAt: string | null;
|
|
3589
|
+
completedAt: string | null;
|
|
3580
3590
|
expiresAt: string;
|
|
3581
3591
|
sort?: {
|
|
3582
3592
|
field: string;
|