@workwell-global/toolkit 1.1.28 → 1.1.29

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.
Files changed (45) hide show
  1. package/dist/models/schemas/api/assignment/DAssignmentAPI.d.ts +9 -0
  2. package/dist/models/schemas/api/assignment/DAssignmentAPI.d.ts.map +1 -1
  3. package/dist/models/schemas/api/assignment/DAssignmentAPI.js +9 -0
  4. package/dist/models/schemas/api/assignment/DAssignmentAPI.js.map +1 -1
  5. package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts +18 -0
  6. package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts.map +1 -1
  7. package/dist/models/schemas/api/assignment/index.d.ts +22 -0
  8. package/dist/models/schemas/api/assignment/index.d.ts.map +1 -1
  9. package/dist/models/schemas/api/referral/DReferralAPI.d.ts +9 -0
  10. package/dist/models/schemas/api/referral/DReferralAPI.d.ts.map +1 -1
  11. package/dist/models/schemas/api/referral/DReferralAPI.js +9 -0
  12. package/dist/models/schemas/api/referral/DReferralAPI.js.map +1 -1
  13. package/dist/models/schemas/api/referral/TReferralAPI.d.ts +18 -0
  14. package/dist/models/schemas/api/referral/TReferralAPI.d.ts.map +1 -1
  15. package/dist/models/schemas/api/referral/index.d.ts +22 -0
  16. package/dist/models/schemas/api/referral/index.d.ts.map +1 -1
  17. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.d.ts +306 -0
  18. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.d.ts.map +1 -0
  19. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.js +39 -0
  20. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.js.map +1 -0
  21. package/dist/models/schemas/bff/assignmentsMetrics/index.d.ts +2 -0
  22. package/dist/models/schemas/bff/assignmentsMetrics/index.d.ts.map +1 -0
  23. package/dist/models/schemas/bff/assignmentsMetrics/index.js +2 -0
  24. package/dist/models/schemas/bff/assignmentsMetrics/index.js.map +1 -0
  25. package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.d.ts +1 -0
  26. package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.d.ts.map +1 -1
  27. package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.js +1 -0
  28. package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.js.map +1 -1
  29. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.d.ts +306 -0
  30. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.d.ts.map +1 -0
  31. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.js +12 -0
  32. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.js.map +1 -0
  33. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.d.ts +306 -0
  34. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.d.ts.map +1 -0
  35. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.js +12 -0
  36. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.js.map +1 -0
  37. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts +4221 -10
  38. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts.map +1 -1
  39. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.js +50 -2
  40. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.js.map +1 -1
  41. package/dist/models/schemas/bff/index.d.ts +1 -0
  42. package/dist/models/schemas/bff/index.d.ts.map +1 -1
  43. package/dist/models/schemas/bff/index.js +1 -0
  44. package/dist/models/schemas/bff/index.js.map +1 -1
  45. package/package.json +1 -1
@@ -59,26 +59,1872 @@ export declare const SGetAssignmentWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
59
59
  }>>;
60
60
  readonly agency: z.ZodOptional<z.ZodObject<{
61
61
  readonly agencyValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ readonly agencyContactValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
63
  readonly agencyFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
64
  readonly agencyContactFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
65
  }, z.UnknownKeysParam, z.ZodTypeAny, {
65
66
  agencyValue?: string | null | undefined;
67
+ agencyContactValue?: string | null | undefined;
66
68
  agencyFormattedValue?: string | null | undefined;
67
69
  agencyContactFormattedValue?: string | null | undefined;
68
70
  }, {
69
71
  agencyValue?: string | null | undefined;
72
+ agencyContactValue?: string | null | undefined;
70
73
  agencyFormattedValue?: string | null | undefined;
71
74
  agencyContactFormattedValue?: string | null | undefined;
72
75
  }>>;
73
76
  createdOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
74
77
  } & {
75
78
  type: z.ZodCatch<z.ZodLiteral<"assignment">>;
76
- stageReasonLastChangedAt: z.ZodCatch<z.ZodNullable<z.ZodString>>;
79
+ assignmentDocuments: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
80
+ readonly _ownerid_value: {
81
+ readonly pretty: "ownerIdValue";
82
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
+ };
84
+ readonly _owningbusinessunit_value: {
85
+ readonly pretty: "owningBusinessUnitValue";
86
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
+ };
88
+ readonly _owningteam_value: {
89
+ readonly pretty: "owningTeamValue";
90
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ };
92
+ readonly _owninguser_value: {
93
+ readonly pretty: "owningUserValue";
94
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
+ };
96
+ readonly '@odata.etag': {
97
+ readonly pretty: "etag";
98
+ readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
99
+ };
100
+ readonly versionnumber: {
101
+ readonly pretty: "versionNumber";
102
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
103
+ };
104
+ readonly _createdby_value: {
105
+ readonly pretty: "createdByValue";
106
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107
+ };
108
+ readonly createdon: {
109
+ readonly pretty: "createdOn";
110
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
111
+ };
112
+ readonly _createdonbehalfby_value: {
113
+ readonly pretty: "createdOnBehalfByValue";
114
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
+ };
116
+ readonly _modifiedby_value: {
117
+ readonly pretty: "modifiedByValue";
118
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
+ };
120
+ readonly modifiedon: {
121
+ readonly pretty: "modifiedOn";
122
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
+ };
124
+ readonly _modifiedonbehalfby_value: {
125
+ readonly pretty: "modifiedOnBehalfByValue";
126
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
+ };
128
+ readonly statecode: {
129
+ readonly pretty: "stateCode";
130
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
131
+ };
132
+ readonly statuscode: {
133
+ readonly pretty: "statusCode";
134
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
135
+ };
136
+ readonly importsequencenumber: {
137
+ readonly pretty: "importSequenceNumber";
138
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
139
+ };
140
+ readonly overriddencreatedon: {
141
+ readonly pretty: "overriddenCreatedOn";
142
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
143
+ };
144
+ readonly timezoneruleversionnumber: {
145
+ readonly pretty: "timezoneRuleVersionNumber";
146
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
147
+ };
148
+ readonly utcconversiontimezonecode: {
149
+ readonly pretty: "utcConversionTimezoneCode";
150
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
151
+ };
152
+ } & {
153
+ readonly _ww_contractor_value: {
154
+ readonly relationshipName: "ww_Contractor";
155
+ readonly entity: "contacts";
156
+ readonly pretty: "contractorValue";
157
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
158
+ };
159
+ readonly _ww_directorapproved_value: {
160
+ readonly relationshipName: "ww_DirectorApproved";
161
+ readonly entity: "contacts";
162
+ readonly pretty: "directorApprovedValue";
163
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
+ };
165
+ readonly _ww_scats_contractingContractor_value: {
166
+ readonly pretty: "scatsContractingContractorValue";
167
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
+ };
169
+ readonly ww_contractordocumentid: {
170
+ readonly pretty: "contractorDocumentId";
171
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
172
+ };
173
+ readonly ww_customeripaddress: {
174
+ readonly pretty: "customerIpAddress";
175
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
176
+ };
177
+ readonly ww_directorapprovalrequired: {
178
+ readonly pretty: "directorApprovalRequired";
179
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
180
+ };
181
+ readonly ww_directorapproveddate: {
182
+ readonly pretty: "directorApprovedDate";
183
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
184
+ };
185
+ readonly ww_documentid: {
186
+ readonly pretty: "documentId";
187
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
+ };
189
+ readonly ww_documentreceiveddate: {
190
+ readonly pretty: "documentReceivedDate";
191
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
192
+ };
193
+ readonly ww_documentstatus: {
194
+ readonly pretty: "documentStatus";
195
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
196
+ };
197
+ readonly ww_documentdisplay: {
198
+ readonly pretty: "documentDisplay";
199
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
200
+ };
201
+ readonly ww_file: {
202
+ readonly pretty: "file";
203
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
204
+ };
205
+ readonly ww_file_name: {
206
+ readonly pretty: "fileName";
207
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
208
+ };
209
+ readonly ww_requirescontractorsignature: {
210
+ readonly pretty: "requiresContractorSignature";
211
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
212
+ };
213
+ readonly ww_signedon: {
214
+ readonly pretty: "signedOn";
215
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
216
+ };
217
+ readonly ww_type: {
218
+ readonly pretty: "type";
219
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
220
+ };
221
+ readonly ww_uploadedfromweb: {
222
+ readonly pretty: "uploadedFromWeb";
223
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
224
+ };
225
+ readonly ww_workerapproved: {
226
+ readonly pretty: "workerApproved";
227
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
228
+ };
229
+ readonly ww_Contractor: {
230
+ readonly pretty: "contractor";
231
+ readonly entityKey: "contact";
232
+ };
233
+ readonly ww_DirectorApproved: {
234
+ readonly pretty: "directorApproved";
235
+ readonly entityKey: "contact";
236
+ };
237
+ readonly _ww_account_value: {
238
+ readonly pretty: "accountValue";
239
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
+ };
241
+ readonly ww_attachment: {
242
+ readonly pretty: "attachment";
243
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
+ };
245
+ readonly ww_attachment_name: {
246
+ readonly pretty: "attachmentName";
247
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
248
+ };
249
+ readonly ww_category: {
250
+ readonly pretty: "category";
251
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
252
+ };
253
+ readonly ww_date6catssigned: {
254
+ readonly pretty: "date6catsSigned";
255
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
256
+ };
257
+ readonly ww_dateagencysigned: {
258
+ readonly pretty: "dateAgencySigned";
259
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
260
+ };
261
+ readonly ww_datereceived: {
262
+ readonly pretty: "dateReceived";
263
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
264
+ };
265
+ readonly ww_datereviewed: {
266
+ readonly pretty: "dateReviewed";
267
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
268
+ };
269
+ readonly ww_documentrefnumber: {
270
+ readonly pretty: "documentRefNumber";
271
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
272
+ };
273
+ readonly ww_documenttype: {
274
+ readonly pretty: "documentType";
275
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
276
+ };
277
+ readonly ww_ipaddress: {
278
+ readonly pretty: "ipAddress";
279
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
280
+ };
281
+ readonly ww_name: {
282
+ readonly pretty: "name";
283
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
284
+ };
285
+ readonly ww_signature: {
286
+ readonly pretty: "signature";
287
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
288
+ };
289
+ readonly ww_signature_timestamp: {
290
+ readonly pretty: "signatureTimestamp";
291
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
292
+ };
293
+ readonly ww_signature_url: {
294
+ readonly pretty: "signatureUrl";
295
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
296
+ };
297
+ readonly ww_signatureid: {
298
+ readonly pretty: "signatureId";
299
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
300
+ };
301
+ readonly ww_validfrom: {
302
+ readonly pretty: "validFrom";
303
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
304
+ };
305
+ readonly ww_validto: {
306
+ readonly pretty: "validTo";
307
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
308
+ };
309
+ readonly ww_documentreceivedtime: {
310
+ readonly pretty: "documentReceivedTime";
311
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
312
+ };
313
+ readonly ww_source: {
314
+ readonly pretty: "source";
315
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
316
+ };
317
+ readonly _ww_changerequestdocuments_value: {
318
+ readonly pretty: "changeRequestDocumentsValue";
319
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
320
+ };
321
+ readonly ww_identityverificationstatus: {
322
+ readonly pretty: "identityVerificationStatus";
323
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
324
+ };
325
+ readonly _ww_simulation_value: {
326
+ readonly pretty: "simulationValue";
327
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
328
+ };
329
+ readonly ww_employmenttype: {
330
+ readonly pretty: "employmentType";
331
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
332
+ };
333
+ readonly _ww_assignmentextensions_value: {
334
+ readonly pretty: "assignmentExtensionsValue";
335
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
336
+ };
337
+ readonly ww_reasons: {
338
+ readonly pretty: "reasons";
339
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
340
+ };
341
+ readonly ww_contracttype: {
342
+ readonly pretty: "contractType";
343
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
344
+ };
345
+ readonly ww_requiredbeforelegalapproval: {
346
+ readonly pretty: "requiredBeforeLegalApproval";
347
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
348
+ };
349
+ readonly ww_value: {
350
+ readonly pretty: "value";
351
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
352
+ };
353
+ readonly ww_limitedcompanyname: {
354
+ readonly pretty: "limitedCompanyName";
355
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
356
+ };
357
+ readonly ww_config: {
358
+ readonly pretty: "config";
359
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
360
+ };
361
+ readonly ww_identityverificationurl: {
362
+ readonly pretty: "identityVerificationUrl";
363
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
364
+ };
365
+ }>, "type" | "category" | "name" | "contractorDocumentId" | "documentStatus" | "documentDisplay" | "fileName">, z.UnknownKeysParam, z.ZodTypeAny, {
366
+ type?: number | null | undefined;
367
+ category?: number | null | undefined;
368
+ name?: string | null | undefined;
369
+ contractorDocumentId?: string | null | undefined;
370
+ documentStatus?: number | null | undefined;
371
+ documentDisplay?: number | null | undefined;
372
+ fileName?: string | null | undefined;
373
+ }, {
374
+ type?: number | null | undefined;
375
+ category?: number | null | undefined;
376
+ name?: string | null | undefined;
377
+ contractorDocumentId?: string | null | undefined;
378
+ documentStatus?: number | null | undefined;
379
+ documentDisplay?: number | null | undefined;
380
+ fileName?: string | null | undefined;
381
+ }>>>, "many">>;
382
+ contracts: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
383
+ readonly _ownerid_value: {
384
+ readonly pretty: "ownerIdValue";
385
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
386
+ };
387
+ readonly _owningbusinessunit_value: {
388
+ readonly pretty: "owningBusinessUnitValue";
389
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
390
+ };
391
+ readonly _owningteam_value: {
392
+ readonly pretty: "owningTeamValue";
393
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
394
+ };
395
+ readonly _owninguser_value: {
396
+ readonly pretty: "owningUserValue";
397
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
398
+ };
399
+ readonly '@odata.etag': {
400
+ readonly pretty: "etag";
401
+ readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
402
+ };
403
+ readonly versionnumber: {
404
+ readonly pretty: "versionNumber";
405
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
406
+ };
407
+ readonly _createdby_value: {
408
+ readonly pretty: "createdByValue";
409
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
410
+ };
411
+ readonly createdon: {
412
+ readonly pretty: "createdOn";
413
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
414
+ };
415
+ readonly _createdonbehalfby_value: {
416
+ readonly pretty: "createdOnBehalfByValue";
417
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
418
+ };
419
+ readonly _modifiedby_value: {
420
+ readonly pretty: "modifiedByValue";
421
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
+ };
423
+ readonly modifiedon: {
424
+ readonly pretty: "modifiedOn";
425
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
426
+ };
427
+ readonly _modifiedonbehalfby_value: {
428
+ readonly pretty: "modifiedOnBehalfByValue";
429
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
430
+ };
431
+ readonly statecode: {
432
+ readonly pretty: "stateCode";
433
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
434
+ };
435
+ readonly statuscode: {
436
+ readonly pretty: "statusCode";
437
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
438
+ };
439
+ readonly importsequencenumber: {
440
+ readonly pretty: "importSequenceNumber";
441
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
442
+ };
443
+ readonly overriddencreatedon: {
444
+ readonly pretty: "overriddenCreatedOn";
445
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
446
+ };
447
+ readonly timezoneruleversionnumber: {
448
+ readonly pretty: "timezoneRuleVersionNumber";
449
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
450
+ };
451
+ readonly utcconversiontimezonecode: {
452
+ readonly pretty: "utcConversionTimezoneCode";
453
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
454
+ };
455
+ } & {
456
+ readonly _ww_contractor_value: {
457
+ readonly relationshipName: "ww_Contractor";
458
+ readonly entity: "contacts";
459
+ readonly pretty: "contractorValue";
460
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
461
+ };
462
+ readonly _ww_directorapproved_value: {
463
+ readonly relationshipName: "ww_DirectorApproved";
464
+ readonly entity: "contacts";
465
+ readonly pretty: "directorApprovedValue";
466
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
467
+ };
468
+ readonly _ww_scats_contractingContractor_value: {
469
+ readonly pretty: "scatsContractingContractorValue";
470
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
471
+ };
472
+ readonly ww_contractordocumentid: {
473
+ readonly pretty: "contractorDocumentId";
474
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
475
+ };
476
+ readonly ww_customeripaddress: {
477
+ readonly pretty: "customerIpAddress";
478
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
479
+ };
480
+ readonly ww_directorapprovalrequired: {
481
+ readonly pretty: "directorApprovalRequired";
482
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
483
+ };
484
+ readonly ww_directorapproveddate: {
485
+ readonly pretty: "directorApprovedDate";
486
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
487
+ };
488
+ readonly ww_documentid: {
489
+ readonly pretty: "documentId";
490
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
491
+ };
492
+ readonly ww_documentreceiveddate: {
493
+ readonly pretty: "documentReceivedDate";
494
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
495
+ };
496
+ readonly ww_documentstatus: {
497
+ readonly pretty: "documentStatus";
498
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
499
+ };
500
+ readonly ww_documentdisplay: {
501
+ readonly pretty: "documentDisplay";
502
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
503
+ };
504
+ readonly ww_file: {
505
+ readonly pretty: "file";
506
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
507
+ };
508
+ readonly ww_file_name: {
509
+ readonly pretty: "fileName";
510
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
511
+ };
512
+ readonly ww_requirescontractorsignature: {
513
+ readonly pretty: "requiresContractorSignature";
514
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
515
+ };
516
+ readonly ww_signedon: {
517
+ readonly pretty: "signedOn";
518
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
519
+ };
520
+ readonly ww_type: {
521
+ readonly pretty: "type";
522
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
523
+ };
524
+ readonly ww_uploadedfromweb: {
525
+ readonly pretty: "uploadedFromWeb";
526
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
527
+ };
528
+ readonly ww_workerapproved: {
529
+ readonly pretty: "workerApproved";
530
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
531
+ };
532
+ readonly ww_Contractor: {
533
+ readonly pretty: "contractor";
534
+ readonly entityKey: "contact";
535
+ };
536
+ readonly ww_DirectorApproved: {
537
+ readonly pretty: "directorApproved";
538
+ readonly entityKey: "contact";
539
+ };
540
+ readonly _ww_account_value: {
541
+ readonly pretty: "accountValue";
542
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
543
+ };
544
+ readonly ww_attachment: {
545
+ readonly pretty: "attachment";
546
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
547
+ };
548
+ readonly ww_attachment_name: {
549
+ readonly pretty: "attachmentName";
550
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
551
+ };
552
+ readonly ww_category: {
553
+ readonly pretty: "category";
554
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
555
+ };
556
+ readonly ww_date6catssigned: {
557
+ readonly pretty: "date6catsSigned";
558
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
559
+ };
560
+ readonly ww_dateagencysigned: {
561
+ readonly pretty: "dateAgencySigned";
562
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
563
+ };
564
+ readonly ww_datereceived: {
565
+ readonly pretty: "dateReceived";
566
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
567
+ };
568
+ readonly ww_datereviewed: {
569
+ readonly pretty: "dateReviewed";
570
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
571
+ };
572
+ readonly ww_documentrefnumber: {
573
+ readonly pretty: "documentRefNumber";
574
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
+ };
576
+ readonly ww_documenttype: {
577
+ readonly pretty: "documentType";
578
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
579
+ };
580
+ readonly ww_ipaddress: {
581
+ readonly pretty: "ipAddress";
582
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
583
+ };
584
+ readonly ww_name: {
585
+ readonly pretty: "name";
586
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
587
+ };
588
+ readonly ww_signature: {
589
+ readonly pretty: "signature";
590
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
591
+ };
592
+ readonly ww_signature_timestamp: {
593
+ readonly pretty: "signatureTimestamp";
594
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
595
+ };
596
+ readonly ww_signature_url: {
597
+ readonly pretty: "signatureUrl";
598
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
599
+ };
600
+ readonly ww_signatureid: {
601
+ readonly pretty: "signatureId";
602
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
603
+ };
604
+ readonly ww_validfrom: {
605
+ readonly pretty: "validFrom";
606
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
607
+ };
608
+ readonly ww_validto: {
609
+ readonly pretty: "validTo";
610
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
611
+ };
612
+ readonly ww_documentreceivedtime: {
613
+ readonly pretty: "documentReceivedTime";
614
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
615
+ };
616
+ readonly ww_source: {
617
+ readonly pretty: "source";
618
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
619
+ };
620
+ readonly _ww_changerequestdocuments_value: {
621
+ readonly pretty: "changeRequestDocumentsValue";
622
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
623
+ };
624
+ readonly ww_identityverificationstatus: {
625
+ readonly pretty: "identityVerificationStatus";
626
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
627
+ };
628
+ readonly _ww_simulation_value: {
629
+ readonly pretty: "simulationValue";
630
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
631
+ };
632
+ readonly ww_employmenttype: {
633
+ readonly pretty: "employmentType";
634
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
635
+ };
636
+ readonly _ww_assignmentextensions_value: {
637
+ readonly pretty: "assignmentExtensionsValue";
638
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
639
+ };
640
+ readonly ww_reasons: {
641
+ readonly pretty: "reasons";
642
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
643
+ };
644
+ readonly ww_contracttype: {
645
+ readonly pretty: "contractType";
646
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
647
+ };
648
+ readonly ww_requiredbeforelegalapproval: {
649
+ readonly pretty: "requiredBeforeLegalApproval";
650
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
651
+ };
652
+ readonly ww_value: {
653
+ readonly pretty: "value";
654
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
655
+ };
656
+ readonly ww_limitedcompanyname: {
657
+ readonly pretty: "limitedCompanyName";
658
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
659
+ };
660
+ readonly ww_config: {
661
+ readonly pretty: "config";
662
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
663
+ };
664
+ readonly ww_identityverificationurl: {
665
+ readonly pretty: "identityVerificationUrl";
666
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
667
+ };
668
+ }>, "type" | "category" | "name" | "contractorDocumentId" | "documentStatus" | "documentDisplay" | "fileName">, z.UnknownKeysParam, z.ZodTypeAny, {
669
+ type?: number | null | undefined;
670
+ category?: number | null | undefined;
671
+ name?: string | null | undefined;
672
+ contractorDocumentId?: string | null | undefined;
673
+ documentStatus?: number | null | undefined;
674
+ documentDisplay?: number | null | undefined;
675
+ fileName?: string | null | undefined;
676
+ }, {
677
+ type?: number | null | undefined;
678
+ category?: number | null | undefined;
679
+ name?: string | null | undefined;
680
+ contractorDocumentId?: string | null | undefined;
681
+ documentStatus?: number | null | undefined;
682
+ documentDisplay?: number | null | undefined;
683
+ fileName?: string | null | undefined;
684
+ }>>>, "many">>;
685
+ insuranceDocs: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
686
+ readonly _ownerid_value: {
687
+ readonly pretty: "ownerIdValue";
688
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
689
+ };
690
+ readonly _owningbusinessunit_value: {
691
+ readonly pretty: "owningBusinessUnitValue";
692
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
693
+ };
694
+ readonly _owningteam_value: {
695
+ readonly pretty: "owningTeamValue";
696
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
697
+ };
698
+ readonly _owninguser_value: {
699
+ readonly pretty: "owningUserValue";
700
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
701
+ };
702
+ readonly '@odata.etag': {
703
+ readonly pretty: "etag";
704
+ readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
705
+ };
706
+ readonly versionnumber: {
707
+ readonly pretty: "versionNumber";
708
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
709
+ };
710
+ readonly _createdby_value: {
711
+ readonly pretty: "createdByValue";
712
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
713
+ };
714
+ readonly createdon: {
715
+ readonly pretty: "createdOn";
716
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
717
+ };
718
+ readonly _createdonbehalfby_value: {
719
+ readonly pretty: "createdOnBehalfByValue";
720
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
721
+ };
722
+ readonly _modifiedby_value: {
723
+ readonly pretty: "modifiedByValue";
724
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
725
+ };
726
+ readonly modifiedon: {
727
+ readonly pretty: "modifiedOn";
728
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
729
+ };
730
+ readonly _modifiedonbehalfby_value: {
731
+ readonly pretty: "modifiedOnBehalfByValue";
732
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
733
+ };
734
+ readonly statecode: {
735
+ readonly pretty: "stateCode";
736
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
737
+ };
738
+ readonly statuscode: {
739
+ readonly pretty: "statusCode";
740
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
741
+ };
742
+ readonly importsequencenumber: {
743
+ readonly pretty: "importSequenceNumber";
744
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
745
+ };
746
+ readonly overriddencreatedon: {
747
+ readonly pretty: "overriddenCreatedOn";
748
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
749
+ };
750
+ readonly timezoneruleversionnumber: {
751
+ readonly pretty: "timezoneRuleVersionNumber";
752
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
753
+ };
754
+ readonly utcconversiontimezonecode: {
755
+ readonly pretty: "utcConversionTimezoneCode";
756
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
757
+ };
758
+ } & {
759
+ readonly _ww_contractor_value: {
760
+ readonly relationshipName: "ww_Contractor";
761
+ readonly entity: "contacts";
762
+ readonly pretty: "contractorValue";
763
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
764
+ };
765
+ readonly _ww_directorapproved_value: {
766
+ readonly relationshipName: "ww_DirectorApproved";
767
+ readonly entity: "contacts";
768
+ readonly pretty: "directorApprovedValue";
769
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
770
+ };
771
+ readonly _ww_scats_contractingContractor_value: {
772
+ readonly pretty: "scatsContractingContractorValue";
773
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
774
+ };
775
+ readonly ww_contractordocumentid: {
776
+ readonly pretty: "contractorDocumentId";
777
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
778
+ };
779
+ readonly ww_customeripaddress: {
780
+ readonly pretty: "customerIpAddress";
781
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
782
+ };
783
+ readonly ww_directorapprovalrequired: {
784
+ readonly pretty: "directorApprovalRequired";
785
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
786
+ };
787
+ readonly ww_directorapproveddate: {
788
+ readonly pretty: "directorApprovedDate";
789
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
790
+ };
791
+ readonly ww_documentid: {
792
+ readonly pretty: "documentId";
793
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
794
+ };
795
+ readonly ww_documentreceiveddate: {
796
+ readonly pretty: "documentReceivedDate";
797
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
798
+ };
799
+ readonly ww_documentstatus: {
800
+ readonly pretty: "documentStatus";
801
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
802
+ };
803
+ readonly ww_documentdisplay: {
804
+ readonly pretty: "documentDisplay";
805
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
806
+ };
807
+ readonly ww_file: {
808
+ readonly pretty: "file";
809
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
810
+ };
811
+ readonly ww_file_name: {
812
+ readonly pretty: "fileName";
813
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
814
+ };
815
+ readonly ww_requirescontractorsignature: {
816
+ readonly pretty: "requiresContractorSignature";
817
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
818
+ };
819
+ readonly ww_signedon: {
820
+ readonly pretty: "signedOn";
821
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
822
+ };
823
+ readonly ww_type: {
824
+ readonly pretty: "type";
825
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
826
+ };
827
+ readonly ww_uploadedfromweb: {
828
+ readonly pretty: "uploadedFromWeb";
829
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
830
+ };
831
+ readonly ww_workerapproved: {
832
+ readonly pretty: "workerApproved";
833
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
834
+ };
835
+ readonly ww_Contractor: {
836
+ readonly pretty: "contractor";
837
+ readonly entityKey: "contact";
838
+ };
839
+ readonly ww_DirectorApproved: {
840
+ readonly pretty: "directorApproved";
841
+ readonly entityKey: "contact";
842
+ };
843
+ readonly _ww_account_value: {
844
+ readonly pretty: "accountValue";
845
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
846
+ };
847
+ readonly ww_attachment: {
848
+ readonly pretty: "attachment";
849
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
850
+ };
851
+ readonly ww_attachment_name: {
852
+ readonly pretty: "attachmentName";
853
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
854
+ };
855
+ readonly ww_category: {
856
+ readonly pretty: "category";
857
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
858
+ };
859
+ readonly ww_date6catssigned: {
860
+ readonly pretty: "date6catsSigned";
861
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
862
+ };
863
+ readonly ww_dateagencysigned: {
864
+ readonly pretty: "dateAgencySigned";
865
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
866
+ };
867
+ readonly ww_datereceived: {
868
+ readonly pretty: "dateReceived";
869
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
870
+ };
871
+ readonly ww_datereviewed: {
872
+ readonly pretty: "dateReviewed";
873
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
874
+ };
875
+ readonly ww_documentrefnumber: {
876
+ readonly pretty: "documentRefNumber";
877
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
878
+ };
879
+ readonly ww_documenttype: {
880
+ readonly pretty: "documentType";
881
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
882
+ };
883
+ readonly ww_ipaddress: {
884
+ readonly pretty: "ipAddress";
885
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
886
+ };
887
+ readonly ww_name: {
888
+ readonly pretty: "name";
889
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
890
+ };
891
+ readonly ww_signature: {
892
+ readonly pretty: "signature";
893
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
894
+ };
895
+ readonly ww_signature_timestamp: {
896
+ readonly pretty: "signatureTimestamp";
897
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
898
+ };
899
+ readonly ww_signature_url: {
900
+ readonly pretty: "signatureUrl";
901
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
902
+ };
903
+ readonly ww_signatureid: {
904
+ readonly pretty: "signatureId";
905
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
906
+ };
907
+ readonly ww_validfrom: {
908
+ readonly pretty: "validFrom";
909
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
910
+ };
911
+ readonly ww_validto: {
912
+ readonly pretty: "validTo";
913
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
914
+ };
915
+ readonly ww_documentreceivedtime: {
916
+ readonly pretty: "documentReceivedTime";
917
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
918
+ };
919
+ readonly ww_source: {
920
+ readonly pretty: "source";
921
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
922
+ };
923
+ readonly _ww_changerequestdocuments_value: {
924
+ readonly pretty: "changeRequestDocumentsValue";
925
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
926
+ };
927
+ readonly ww_identityverificationstatus: {
928
+ readonly pretty: "identityVerificationStatus";
929
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
930
+ };
931
+ readonly _ww_simulation_value: {
932
+ readonly pretty: "simulationValue";
933
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
934
+ };
935
+ readonly ww_employmenttype: {
936
+ readonly pretty: "employmentType";
937
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
938
+ };
939
+ readonly _ww_assignmentextensions_value: {
940
+ readonly pretty: "assignmentExtensionsValue";
941
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
942
+ };
943
+ readonly ww_reasons: {
944
+ readonly pretty: "reasons";
945
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
946
+ };
947
+ readonly ww_contracttype: {
948
+ readonly pretty: "contractType";
949
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
950
+ };
951
+ readonly ww_requiredbeforelegalapproval: {
952
+ readonly pretty: "requiredBeforeLegalApproval";
953
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
954
+ };
955
+ readonly ww_value: {
956
+ readonly pretty: "value";
957
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
958
+ };
959
+ readonly ww_limitedcompanyname: {
960
+ readonly pretty: "limitedCompanyName";
961
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
962
+ };
963
+ readonly ww_config: {
964
+ readonly pretty: "config";
965
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
966
+ };
967
+ readonly ww_identityverificationurl: {
968
+ readonly pretty: "identityVerificationUrl";
969
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
970
+ };
971
+ }>, "type" | "category" | "name" | "contractorDocumentId" | "documentStatus" | "documentDisplay" | "fileName">, z.UnknownKeysParam, z.ZodTypeAny, {
972
+ type?: number | null | undefined;
973
+ category?: number | null | undefined;
974
+ name?: string | null | undefined;
975
+ contractorDocumentId?: string | null | undefined;
976
+ documentStatus?: number | null | undefined;
977
+ documentDisplay?: number | null | undefined;
978
+ fileName?: string | null | undefined;
979
+ }, {
980
+ type?: number | null | undefined;
981
+ category?: number | null | undefined;
982
+ name?: string | null | undefined;
983
+ contractorDocumentId?: string | null | undefined;
984
+ documentStatus?: number | null | undefined;
985
+ documentDisplay?: number | null | undefined;
986
+ fileName?: string | null | undefined;
987
+ }>>>, "many">>;
988
+ complianceDocs: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
989
+ readonly _ownerid_value: {
990
+ readonly pretty: "ownerIdValue";
991
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
992
+ };
993
+ readonly _owningbusinessunit_value: {
994
+ readonly pretty: "owningBusinessUnitValue";
995
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
996
+ };
997
+ readonly _owningteam_value: {
998
+ readonly pretty: "owningTeamValue";
999
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1000
+ };
1001
+ readonly _owninguser_value: {
1002
+ readonly pretty: "owningUserValue";
1003
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1004
+ };
1005
+ readonly '@odata.etag': {
1006
+ readonly pretty: "etag";
1007
+ readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
1008
+ };
1009
+ readonly versionnumber: {
1010
+ readonly pretty: "versionNumber";
1011
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1012
+ };
1013
+ readonly _createdby_value: {
1014
+ readonly pretty: "createdByValue";
1015
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1016
+ };
1017
+ readonly createdon: {
1018
+ readonly pretty: "createdOn";
1019
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1020
+ };
1021
+ readonly _createdonbehalfby_value: {
1022
+ readonly pretty: "createdOnBehalfByValue";
1023
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1024
+ };
1025
+ readonly _modifiedby_value: {
1026
+ readonly pretty: "modifiedByValue";
1027
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1028
+ };
1029
+ readonly modifiedon: {
1030
+ readonly pretty: "modifiedOn";
1031
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1032
+ };
1033
+ readonly _modifiedonbehalfby_value: {
1034
+ readonly pretty: "modifiedOnBehalfByValue";
1035
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1036
+ };
1037
+ readonly statecode: {
1038
+ readonly pretty: "stateCode";
1039
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1040
+ };
1041
+ readonly statuscode: {
1042
+ readonly pretty: "statusCode";
1043
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1044
+ };
1045
+ readonly importsequencenumber: {
1046
+ readonly pretty: "importSequenceNumber";
1047
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1048
+ };
1049
+ readonly overriddencreatedon: {
1050
+ readonly pretty: "overriddenCreatedOn";
1051
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1052
+ };
1053
+ readonly timezoneruleversionnumber: {
1054
+ readonly pretty: "timezoneRuleVersionNumber";
1055
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1056
+ };
1057
+ readonly utcconversiontimezonecode: {
1058
+ readonly pretty: "utcConversionTimezoneCode";
1059
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1060
+ };
1061
+ } & {
1062
+ readonly _ww_contractor_value: {
1063
+ readonly relationshipName: "ww_Contractor";
1064
+ readonly entity: "contacts";
1065
+ readonly pretty: "contractorValue";
1066
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1067
+ };
1068
+ readonly _ww_directorapproved_value: {
1069
+ readonly relationshipName: "ww_DirectorApproved";
1070
+ readonly entity: "contacts";
1071
+ readonly pretty: "directorApprovedValue";
1072
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1073
+ };
1074
+ readonly _ww_scats_contractingContractor_value: {
1075
+ readonly pretty: "scatsContractingContractorValue";
1076
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1077
+ };
1078
+ readonly ww_contractordocumentid: {
1079
+ readonly pretty: "contractorDocumentId";
1080
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1081
+ };
1082
+ readonly ww_customeripaddress: {
1083
+ readonly pretty: "customerIpAddress";
1084
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1085
+ };
1086
+ readonly ww_directorapprovalrequired: {
1087
+ readonly pretty: "directorApprovalRequired";
1088
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1089
+ };
1090
+ readonly ww_directorapproveddate: {
1091
+ readonly pretty: "directorApprovedDate";
1092
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1093
+ };
1094
+ readonly ww_documentid: {
1095
+ readonly pretty: "documentId";
1096
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1097
+ };
1098
+ readonly ww_documentreceiveddate: {
1099
+ readonly pretty: "documentReceivedDate";
1100
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1101
+ };
1102
+ readonly ww_documentstatus: {
1103
+ readonly pretty: "documentStatus";
1104
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1105
+ };
1106
+ readonly ww_documentdisplay: {
1107
+ readonly pretty: "documentDisplay";
1108
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1109
+ };
1110
+ readonly ww_file: {
1111
+ readonly pretty: "file";
1112
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1113
+ };
1114
+ readonly ww_file_name: {
1115
+ readonly pretty: "fileName";
1116
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1117
+ };
1118
+ readonly ww_requirescontractorsignature: {
1119
+ readonly pretty: "requiresContractorSignature";
1120
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1121
+ };
1122
+ readonly ww_signedon: {
1123
+ readonly pretty: "signedOn";
1124
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1125
+ };
1126
+ readonly ww_type: {
1127
+ readonly pretty: "type";
1128
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1129
+ };
1130
+ readonly ww_uploadedfromweb: {
1131
+ readonly pretty: "uploadedFromWeb";
1132
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1133
+ };
1134
+ readonly ww_workerapproved: {
1135
+ readonly pretty: "workerApproved";
1136
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1137
+ };
1138
+ readonly ww_Contractor: {
1139
+ readonly pretty: "contractor";
1140
+ readonly entityKey: "contact";
1141
+ };
1142
+ readonly ww_DirectorApproved: {
1143
+ readonly pretty: "directorApproved";
1144
+ readonly entityKey: "contact";
1145
+ };
1146
+ readonly _ww_account_value: {
1147
+ readonly pretty: "accountValue";
1148
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1149
+ };
1150
+ readonly ww_attachment: {
1151
+ readonly pretty: "attachment";
1152
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1153
+ };
1154
+ readonly ww_attachment_name: {
1155
+ readonly pretty: "attachmentName";
1156
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1157
+ };
1158
+ readonly ww_category: {
1159
+ readonly pretty: "category";
1160
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1161
+ };
1162
+ readonly ww_date6catssigned: {
1163
+ readonly pretty: "date6catsSigned";
1164
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1165
+ };
1166
+ readonly ww_dateagencysigned: {
1167
+ readonly pretty: "dateAgencySigned";
1168
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1169
+ };
1170
+ readonly ww_datereceived: {
1171
+ readonly pretty: "dateReceived";
1172
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
+ };
1174
+ readonly ww_datereviewed: {
1175
+ readonly pretty: "dateReviewed";
1176
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1177
+ };
1178
+ readonly ww_documentrefnumber: {
1179
+ readonly pretty: "documentRefNumber";
1180
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1181
+ };
1182
+ readonly ww_documenttype: {
1183
+ readonly pretty: "documentType";
1184
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1185
+ };
1186
+ readonly ww_ipaddress: {
1187
+ readonly pretty: "ipAddress";
1188
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1189
+ };
1190
+ readonly ww_name: {
1191
+ readonly pretty: "name";
1192
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1193
+ };
1194
+ readonly ww_signature: {
1195
+ readonly pretty: "signature";
1196
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1197
+ };
1198
+ readonly ww_signature_timestamp: {
1199
+ readonly pretty: "signatureTimestamp";
1200
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1201
+ };
1202
+ readonly ww_signature_url: {
1203
+ readonly pretty: "signatureUrl";
1204
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1205
+ };
1206
+ readonly ww_signatureid: {
1207
+ readonly pretty: "signatureId";
1208
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1209
+ };
1210
+ readonly ww_validfrom: {
1211
+ readonly pretty: "validFrom";
1212
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1213
+ };
1214
+ readonly ww_validto: {
1215
+ readonly pretty: "validTo";
1216
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1217
+ };
1218
+ readonly ww_documentreceivedtime: {
1219
+ readonly pretty: "documentReceivedTime";
1220
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1221
+ };
1222
+ readonly ww_source: {
1223
+ readonly pretty: "source";
1224
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1225
+ };
1226
+ readonly _ww_changerequestdocuments_value: {
1227
+ readonly pretty: "changeRequestDocumentsValue";
1228
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1229
+ };
1230
+ readonly ww_identityverificationstatus: {
1231
+ readonly pretty: "identityVerificationStatus";
1232
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1233
+ };
1234
+ readonly _ww_simulation_value: {
1235
+ readonly pretty: "simulationValue";
1236
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1237
+ };
1238
+ readonly ww_employmenttype: {
1239
+ readonly pretty: "employmentType";
1240
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1241
+ };
1242
+ readonly _ww_assignmentextensions_value: {
1243
+ readonly pretty: "assignmentExtensionsValue";
1244
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1245
+ };
1246
+ readonly ww_reasons: {
1247
+ readonly pretty: "reasons";
1248
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1249
+ };
1250
+ readonly ww_contracttype: {
1251
+ readonly pretty: "contractType";
1252
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1253
+ };
1254
+ readonly ww_requiredbeforelegalapproval: {
1255
+ readonly pretty: "requiredBeforeLegalApproval";
1256
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1257
+ };
1258
+ readonly ww_value: {
1259
+ readonly pretty: "value";
1260
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1261
+ };
1262
+ readonly ww_limitedcompanyname: {
1263
+ readonly pretty: "limitedCompanyName";
1264
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1265
+ };
1266
+ readonly ww_config: {
1267
+ readonly pretty: "config";
1268
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1269
+ };
1270
+ readonly ww_identityverificationurl: {
1271
+ readonly pretty: "identityVerificationUrl";
1272
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1273
+ };
1274
+ }>, "type" | "category" | "name" | "contractorDocumentId" | "documentStatus" | "documentDisplay" | "fileName">, z.UnknownKeysParam, z.ZodTypeAny, {
1275
+ type?: number | null | undefined;
1276
+ category?: number | null | undefined;
1277
+ name?: string | null | undefined;
1278
+ contractorDocumentId?: string | null | undefined;
1279
+ documentStatus?: number | null | undefined;
1280
+ documentDisplay?: number | null | undefined;
1281
+ fileName?: string | null | undefined;
1282
+ }, {
1283
+ type?: number | null | undefined;
1284
+ category?: number | null | undefined;
1285
+ name?: string | null | undefined;
1286
+ contractorDocumentId?: string | null | undefined;
1287
+ documentStatus?: number | null | undefined;
1288
+ documentDisplay?: number | null | undefined;
1289
+ fileName?: string | null | undefined;
1290
+ }>>>, "many">>;
1291
+ complianceInsuranceDocs: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
1292
+ readonly _ownerid_value: {
1293
+ readonly pretty: "ownerIdValue";
1294
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1295
+ };
1296
+ readonly _owningbusinessunit_value: {
1297
+ readonly pretty: "owningBusinessUnitValue";
1298
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1299
+ };
1300
+ readonly _owningteam_value: {
1301
+ readonly pretty: "owningTeamValue";
1302
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1303
+ };
1304
+ readonly _owninguser_value: {
1305
+ readonly pretty: "owningUserValue";
1306
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1307
+ };
1308
+ readonly '@odata.etag': {
1309
+ readonly pretty: "etag";
1310
+ readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
1311
+ };
1312
+ readonly versionnumber: {
1313
+ readonly pretty: "versionNumber";
1314
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1315
+ };
1316
+ readonly _createdby_value: {
1317
+ readonly pretty: "createdByValue";
1318
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1319
+ };
1320
+ readonly createdon: {
1321
+ readonly pretty: "createdOn";
1322
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1323
+ };
1324
+ readonly _createdonbehalfby_value: {
1325
+ readonly pretty: "createdOnBehalfByValue";
1326
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1327
+ };
1328
+ readonly _modifiedby_value: {
1329
+ readonly pretty: "modifiedByValue";
1330
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1331
+ };
1332
+ readonly modifiedon: {
1333
+ readonly pretty: "modifiedOn";
1334
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1335
+ };
1336
+ readonly _modifiedonbehalfby_value: {
1337
+ readonly pretty: "modifiedOnBehalfByValue";
1338
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1339
+ };
1340
+ readonly statecode: {
1341
+ readonly pretty: "stateCode";
1342
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1343
+ };
1344
+ readonly statuscode: {
1345
+ readonly pretty: "statusCode";
1346
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1347
+ };
1348
+ readonly importsequencenumber: {
1349
+ readonly pretty: "importSequenceNumber";
1350
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1351
+ };
1352
+ readonly overriddencreatedon: {
1353
+ readonly pretty: "overriddenCreatedOn";
1354
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1355
+ };
1356
+ readonly timezoneruleversionnumber: {
1357
+ readonly pretty: "timezoneRuleVersionNumber";
1358
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1359
+ };
1360
+ readonly utcconversiontimezonecode: {
1361
+ readonly pretty: "utcConversionTimezoneCode";
1362
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1363
+ };
1364
+ } & {
1365
+ readonly _ww_contractor_value: {
1366
+ readonly relationshipName: "ww_Contractor";
1367
+ readonly entity: "contacts";
1368
+ readonly pretty: "contractorValue";
1369
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1370
+ };
1371
+ readonly _ww_directorapproved_value: {
1372
+ readonly relationshipName: "ww_DirectorApproved";
1373
+ readonly entity: "contacts";
1374
+ readonly pretty: "directorApprovedValue";
1375
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1376
+ };
1377
+ readonly _ww_scats_contractingContractor_value: {
1378
+ readonly pretty: "scatsContractingContractorValue";
1379
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1380
+ };
1381
+ readonly ww_contractordocumentid: {
1382
+ readonly pretty: "contractorDocumentId";
1383
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1384
+ };
1385
+ readonly ww_customeripaddress: {
1386
+ readonly pretty: "customerIpAddress";
1387
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1388
+ };
1389
+ readonly ww_directorapprovalrequired: {
1390
+ readonly pretty: "directorApprovalRequired";
1391
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1392
+ };
1393
+ readonly ww_directorapproveddate: {
1394
+ readonly pretty: "directorApprovedDate";
1395
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1396
+ };
1397
+ readonly ww_documentid: {
1398
+ readonly pretty: "documentId";
1399
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1400
+ };
1401
+ readonly ww_documentreceiveddate: {
1402
+ readonly pretty: "documentReceivedDate";
1403
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1404
+ };
1405
+ readonly ww_documentstatus: {
1406
+ readonly pretty: "documentStatus";
1407
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1408
+ };
1409
+ readonly ww_documentdisplay: {
1410
+ readonly pretty: "documentDisplay";
1411
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1412
+ };
1413
+ readonly ww_file: {
1414
+ readonly pretty: "file";
1415
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1416
+ };
1417
+ readonly ww_file_name: {
1418
+ readonly pretty: "fileName";
1419
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1420
+ };
1421
+ readonly ww_requirescontractorsignature: {
1422
+ readonly pretty: "requiresContractorSignature";
1423
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1424
+ };
1425
+ readonly ww_signedon: {
1426
+ readonly pretty: "signedOn";
1427
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1428
+ };
1429
+ readonly ww_type: {
1430
+ readonly pretty: "type";
1431
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1432
+ };
1433
+ readonly ww_uploadedfromweb: {
1434
+ readonly pretty: "uploadedFromWeb";
1435
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1436
+ };
1437
+ readonly ww_workerapproved: {
1438
+ readonly pretty: "workerApproved";
1439
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1440
+ };
1441
+ readonly ww_Contractor: {
1442
+ readonly pretty: "contractor";
1443
+ readonly entityKey: "contact";
1444
+ };
1445
+ readonly ww_DirectorApproved: {
1446
+ readonly pretty: "directorApproved";
1447
+ readonly entityKey: "contact";
1448
+ };
1449
+ readonly _ww_account_value: {
1450
+ readonly pretty: "accountValue";
1451
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1452
+ };
1453
+ readonly ww_attachment: {
1454
+ readonly pretty: "attachment";
1455
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1456
+ };
1457
+ readonly ww_attachment_name: {
1458
+ readonly pretty: "attachmentName";
1459
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1460
+ };
1461
+ readonly ww_category: {
1462
+ readonly pretty: "category";
1463
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1464
+ };
1465
+ readonly ww_date6catssigned: {
1466
+ readonly pretty: "date6catsSigned";
1467
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1468
+ };
1469
+ readonly ww_dateagencysigned: {
1470
+ readonly pretty: "dateAgencySigned";
1471
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1472
+ };
1473
+ readonly ww_datereceived: {
1474
+ readonly pretty: "dateReceived";
1475
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1476
+ };
1477
+ readonly ww_datereviewed: {
1478
+ readonly pretty: "dateReviewed";
1479
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1480
+ };
1481
+ readonly ww_documentrefnumber: {
1482
+ readonly pretty: "documentRefNumber";
1483
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1484
+ };
1485
+ readonly ww_documenttype: {
1486
+ readonly pretty: "documentType";
1487
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1488
+ };
1489
+ readonly ww_ipaddress: {
1490
+ readonly pretty: "ipAddress";
1491
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1492
+ };
1493
+ readonly ww_name: {
1494
+ readonly pretty: "name";
1495
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1496
+ };
1497
+ readonly ww_signature: {
1498
+ readonly pretty: "signature";
1499
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1500
+ };
1501
+ readonly ww_signature_timestamp: {
1502
+ readonly pretty: "signatureTimestamp";
1503
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1504
+ };
1505
+ readonly ww_signature_url: {
1506
+ readonly pretty: "signatureUrl";
1507
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1508
+ };
1509
+ readonly ww_signatureid: {
1510
+ readonly pretty: "signatureId";
1511
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1512
+ };
1513
+ readonly ww_validfrom: {
1514
+ readonly pretty: "validFrom";
1515
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1516
+ };
1517
+ readonly ww_validto: {
1518
+ readonly pretty: "validTo";
1519
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1520
+ };
1521
+ readonly ww_documentreceivedtime: {
1522
+ readonly pretty: "documentReceivedTime";
1523
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1524
+ };
1525
+ readonly ww_source: {
1526
+ readonly pretty: "source";
1527
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1528
+ };
1529
+ readonly _ww_changerequestdocuments_value: {
1530
+ readonly pretty: "changeRequestDocumentsValue";
1531
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1532
+ };
1533
+ readonly ww_identityverificationstatus: {
1534
+ readonly pretty: "identityVerificationStatus";
1535
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1536
+ };
1537
+ readonly _ww_simulation_value: {
1538
+ readonly pretty: "simulationValue";
1539
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1540
+ };
1541
+ readonly ww_employmenttype: {
1542
+ readonly pretty: "employmentType";
1543
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1544
+ };
1545
+ readonly _ww_assignmentextensions_value: {
1546
+ readonly pretty: "assignmentExtensionsValue";
1547
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1548
+ };
1549
+ readonly ww_reasons: {
1550
+ readonly pretty: "reasons";
1551
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1552
+ };
1553
+ readonly ww_contracttype: {
1554
+ readonly pretty: "contractType";
1555
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1556
+ };
1557
+ readonly ww_requiredbeforelegalapproval: {
1558
+ readonly pretty: "requiredBeforeLegalApproval";
1559
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1560
+ };
1561
+ readonly ww_value: {
1562
+ readonly pretty: "value";
1563
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1564
+ };
1565
+ readonly ww_limitedcompanyname: {
1566
+ readonly pretty: "limitedCompanyName";
1567
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1568
+ };
1569
+ readonly ww_config: {
1570
+ readonly pretty: "config";
1571
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1572
+ };
1573
+ readonly ww_identityverificationurl: {
1574
+ readonly pretty: "identityVerificationUrl";
1575
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1576
+ };
1577
+ }>, "type" | "category" | "name" | "contractorDocumentId" | "documentStatus" | "documentDisplay" | "fileName">, z.UnknownKeysParam, z.ZodTypeAny, {
1578
+ type?: number | null | undefined;
1579
+ category?: number | null | undefined;
1580
+ name?: string | null | undefined;
1581
+ contractorDocumentId?: string | null | undefined;
1582
+ documentStatus?: number | null | undefined;
1583
+ documentDisplay?: number | null | undefined;
1584
+ fileName?: string | null | undefined;
1585
+ }, {
1586
+ type?: number | null | undefined;
1587
+ category?: number | null | undefined;
1588
+ name?: string | null | undefined;
1589
+ contractorDocumentId?: string | null | undefined;
1590
+ documentStatus?: number | null | undefined;
1591
+ documentDisplay?: number | null | undefined;
1592
+ fileName?: string | null | undefined;
1593
+ }>>>, "many">>;
1594
+ rightToWorkDocs: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
1595
+ readonly _ownerid_value: {
1596
+ readonly pretty: "ownerIdValue";
1597
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1598
+ };
1599
+ readonly _owningbusinessunit_value: {
1600
+ readonly pretty: "owningBusinessUnitValue";
1601
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1602
+ };
1603
+ readonly _owningteam_value: {
1604
+ readonly pretty: "owningTeamValue";
1605
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1606
+ };
1607
+ readonly _owninguser_value: {
1608
+ readonly pretty: "owningUserValue";
1609
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1610
+ };
1611
+ readonly '@odata.etag': {
1612
+ readonly pretty: "etag";
1613
+ readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
1614
+ };
1615
+ readonly versionnumber: {
1616
+ readonly pretty: "versionNumber";
1617
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1618
+ };
1619
+ readonly _createdby_value: {
1620
+ readonly pretty: "createdByValue";
1621
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1622
+ };
1623
+ readonly createdon: {
1624
+ readonly pretty: "createdOn";
1625
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1626
+ };
1627
+ readonly _createdonbehalfby_value: {
1628
+ readonly pretty: "createdOnBehalfByValue";
1629
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1630
+ };
1631
+ readonly _modifiedby_value: {
1632
+ readonly pretty: "modifiedByValue";
1633
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1634
+ };
1635
+ readonly modifiedon: {
1636
+ readonly pretty: "modifiedOn";
1637
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1638
+ };
1639
+ readonly _modifiedonbehalfby_value: {
1640
+ readonly pretty: "modifiedOnBehalfByValue";
1641
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1642
+ };
1643
+ readonly statecode: {
1644
+ readonly pretty: "stateCode";
1645
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1646
+ };
1647
+ readonly statuscode: {
1648
+ readonly pretty: "statusCode";
1649
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1650
+ };
1651
+ readonly importsequencenumber: {
1652
+ readonly pretty: "importSequenceNumber";
1653
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1654
+ };
1655
+ readonly overriddencreatedon: {
1656
+ readonly pretty: "overriddenCreatedOn";
1657
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1658
+ };
1659
+ readonly timezoneruleversionnumber: {
1660
+ readonly pretty: "timezoneRuleVersionNumber";
1661
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1662
+ };
1663
+ readonly utcconversiontimezonecode: {
1664
+ readonly pretty: "utcConversionTimezoneCode";
1665
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1666
+ };
1667
+ } & {
1668
+ readonly _ww_contractor_value: {
1669
+ readonly relationshipName: "ww_Contractor";
1670
+ readonly entity: "contacts";
1671
+ readonly pretty: "contractorValue";
1672
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1673
+ };
1674
+ readonly _ww_directorapproved_value: {
1675
+ readonly relationshipName: "ww_DirectorApproved";
1676
+ readonly entity: "contacts";
1677
+ readonly pretty: "directorApprovedValue";
1678
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1679
+ };
1680
+ readonly _ww_scats_contractingContractor_value: {
1681
+ readonly pretty: "scatsContractingContractorValue";
1682
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1683
+ };
1684
+ readonly ww_contractordocumentid: {
1685
+ readonly pretty: "contractorDocumentId";
1686
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1687
+ };
1688
+ readonly ww_customeripaddress: {
1689
+ readonly pretty: "customerIpAddress";
1690
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1691
+ };
1692
+ readonly ww_directorapprovalrequired: {
1693
+ readonly pretty: "directorApprovalRequired";
1694
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1695
+ };
1696
+ readonly ww_directorapproveddate: {
1697
+ readonly pretty: "directorApprovedDate";
1698
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1699
+ };
1700
+ readonly ww_documentid: {
1701
+ readonly pretty: "documentId";
1702
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1703
+ };
1704
+ readonly ww_documentreceiveddate: {
1705
+ readonly pretty: "documentReceivedDate";
1706
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1707
+ };
1708
+ readonly ww_documentstatus: {
1709
+ readonly pretty: "documentStatus";
1710
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1711
+ };
1712
+ readonly ww_documentdisplay: {
1713
+ readonly pretty: "documentDisplay";
1714
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1715
+ };
1716
+ readonly ww_file: {
1717
+ readonly pretty: "file";
1718
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1719
+ };
1720
+ readonly ww_file_name: {
1721
+ readonly pretty: "fileName";
1722
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1723
+ };
1724
+ readonly ww_requirescontractorsignature: {
1725
+ readonly pretty: "requiresContractorSignature";
1726
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1727
+ };
1728
+ readonly ww_signedon: {
1729
+ readonly pretty: "signedOn";
1730
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1731
+ };
1732
+ readonly ww_type: {
1733
+ readonly pretty: "type";
1734
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1735
+ };
1736
+ readonly ww_uploadedfromweb: {
1737
+ readonly pretty: "uploadedFromWeb";
1738
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1739
+ };
1740
+ readonly ww_workerapproved: {
1741
+ readonly pretty: "workerApproved";
1742
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1743
+ };
1744
+ readonly ww_Contractor: {
1745
+ readonly pretty: "contractor";
1746
+ readonly entityKey: "contact";
1747
+ };
1748
+ readonly ww_DirectorApproved: {
1749
+ readonly pretty: "directorApproved";
1750
+ readonly entityKey: "contact";
1751
+ };
1752
+ readonly _ww_account_value: {
1753
+ readonly pretty: "accountValue";
1754
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1755
+ };
1756
+ readonly ww_attachment: {
1757
+ readonly pretty: "attachment";
1758
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1759
+ };
1760
+ readonly ww_attachment_name: {
1761
+ readonly pretty: "attachmentName";
1762
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1763
+ };
1764
+ readonly ww_category: {
1765
+ readonly pretty: "category";
1766
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1767
+ };
1768
+ readonly ww_date6catssigned: {
1769
+ readonly pretty: "date6catsSigned";
1770
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1771
+ };
1772
+ readonly ww_dateagencysigned: {
1773
+ readonly pretty: "dateAgencySigned";
1774
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1775
+ };
1776
+ readonly ww_datereceived: {
1777
+ readonly pretty: "dateReceived";
1778
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1779
+ };
1780
+ readonly ww_datereviewed: {
1781
+ readonly pretty: "dateReviewed";
1782
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1783
+ };
1784
+ readonly ww_documentrefnumber: {
1785
+ readonly pretty: "documentRefNumber";
1786
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1787
+ };
1788
+ readonly ww_documenttype: {
1789
+ readonly pretty: "documentType";
1790
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1791
+ };
1792
+ readonly ww_ipaddress: {
1793
+ readonly pretty: "ipAddress";
1794
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1795
+ };
1796
+ readonly ww_name: {
1797
+ readonly pretty: "name";
1798
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1799
+ };
1800
+ readonly ww_signature: {
1801
+ readonly pretty: "signature";
1802
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1803
+ };
1804
+ readonly ww_signature_timestamp: {
1805
+ readonly pretty: "signatureTimestamp";
1806
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1807
+ };
1808
+ readonly ww_signature_url: {
1809
+ readonly pretty: "signatureUrl";
1810
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1811
+ };
1812
+ readonly ww_signatureid: {
1813
+ readonly pretty: "signatureId";
1814
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1815
+ };
1816
+ readonly ww_validfrom: {
1817
+ readonly pretty: "validFrom";
1818
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1819
+ };
1820
+ readonly ww_validto: {
1821
+ readonly pretty: "validTo";
1822
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1823
+ };
1824
+ readonly ww_documentreceivedtime: {
1825
+ readonly pretty: "documentReceivedTime";
1826
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1827
+ };
1828
+ readonly ww_source: {
1829
+ readonly pretty: "source";
1830
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1831
+ };
1832
+ readonly _ww_changerequestdocuments_value: {
1833
+ readonly pretty: "changeRequestDocumentsValue";
1834
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1835
+ };
1836
+ readonly ww_identityverificationstatus: {
1837
+ readonly pretty: "identityVerificationStatus";
1838
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1839
+ };
1840
+ readonly _ww_simulation_value: {
1841
+ readonly pretty: "simulationValue";
1842
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1843
+ };
1844
+ readonly ww_employmenttype: {
1845
+ readonly pretty: "employmentType";
1846
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1847
+ };
1848
+ readonly _ww_assignmentextensions_value: {
1849
+ readonly pretty: "assignmentExtensionsValue";
1850
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1851
+ };
1852
+ readonly ww_reasons: {
1853
+ readonly pretty: "reasons";
1854
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1855
+ };
1856
+ readonly ww_contracttype: {
1857
+ readonly pretty: "contractType";
1858
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1859
+ };
1860
+ readonly ww_requiredbeforelegalapproval: {
1861
+ readonly pretty: "requiredBeforeLegalApproval";
1862
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1863
+ };
1864
+ readonly ww_value: {
1865
+ readonly pretty: "value";
1866
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1867
+ };
1868
+ readonly ww_limitedcompanyname: {
1869
+ readonly pretty: "limitedCompanyName";
1870
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1871
+ };
1872
+ readonly ww_config: {
1873
+ readonly pretty: "config";
1874
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1875
+ };
1876
+ readonly ww_identityverificationurl: {
1877
+ readonly pretty: "identityVerificationUrl";
1878
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1879
+ };
1880
+ }>, "type" | "category" | "name" | "contractorDocumentId" | "documentStatus" | "documentDisplay" | "fileName">, z.UnknownKeysParam, z.ZodTypeAny, {
1881
+ type?: number | null | undefined;
1882
+ category?: number | null | undefined;
1883
+ name?: string | null | undefined;
1884
+ contractorDocumentId?: string | null | undefined;
1885
+ documentStatus?: number | null | undefined;
1886
+ documentDisplay?: number | null | undefined;
1887
+ fileName?: string | null | undefined;
1888
+ }, {
1889
+ type?: number | null | undefined;
1890
+ category?: number | null | undefined;
1891
+ name?: string | null | undefined;
1892
+ contractorDocumentId?: string | null | undefined;
1893
+ documentStatus?: number | null | undefined;
1894
+ documentDisplay?: number | null | undefined;
1895
+ fileName?: string | null | undefined;
1896
+ }>>>, "many">>;
1897
+ insuranceRequired: z.ZodOptional<z.ZodBoolean>;
1898
+ onboarding: z.ZodOptional<z.ZodObject<{
1899
+ currentStep: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1900
+ currentStatusKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1901
+ remainingSteps: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1902
+ rightToWorkStatus: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1903
+ insuranceDocsStatus: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1904
+ complianceDocsStatus: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1905
+ complianceCheckStatus: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1906
+ }, "strip", z.ZodTypeAny, {
1907
+ currentStep?: string | undefined;
1908
+ currentStatusKey?: string | undefined;
1909
+ remainingSteps?: number | undefined;
1910
+ rightToWorkStatus?: string | undefined;
1911
+ insuranceDocsStatus?: string | undefined;
1912
+ complianceDocsStatus?: string | undefined;
1913
+ complianceCheckStatus?: string | undefined;
1914
+ }, {
1915
+ currentStep?: string | undefined;
1916
+ currentStatusKey?: string | undefined;
1917
+ remainingSteps?: number | undefined;
1918
+ rightToWorkStatus?: string | undefined;
1919
+ insuranceDocsStatus?: string | undefined;
1920
+ complianceDocsStatus?: string | undefined;
1921
+ complianceCheckStatus?: string | undefined;
1922
+ }>>;
77
1923
  }, z.UnknownKeysParam, z.ZodTypeAny, {
78
1924
  type: "assignment";
79
- stageReasonLastChangedAt: string | null;
80
1925
  agency?: {
81
1926
  agencyValue?: string | null | undefined;
1927
+ agencyContactValue?: string | null | undefined;
82
1928
  agencyFormattedValue?: string | null | undefined;
83
1929
  agencyContactFormattedValue?: string | null | undefined;
84
1930
  } | undefined;
@@ -97,6 +1943,15 @@ export declare const SGetAssignmentWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
97
1943
  assignmentId?: string | undefined;
98
1944
  assignmentNumber?: string | null | undefined;
99
1945
  referralId?: string | null | undefined;
1946
+ assignmentDocuments?: ({
1947
+ type?: number | null | undefined;
1948
+ category?: number | null | undefined;
1949
+ name?: string | null | undefined;
1950
+ contractorDocumentId?: string | null | undefined;
1951
+ documentStatus?: number | null | undefined;
1952
+ documentDisplay?: number | null | undefined;
1953
+ fileName?: string | null | undefined;
1954
+ } | null | undefined)[] | undefined;
100
1955
  progress?: {
101
1956
  stage?: number | null | undefined;
102
1957
  stageReason?: number | null | undefined;
@@ -106,9 +1961,65 @@ export declare const SGetAssignmentWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
106
1961
  contractorValue?: string | null | undefined;
107
1962
  contractorFormattedValue?: string | null | undefined;
108
1963
  } | undefined;
1964
+ onboarding?: {
1965
+ currentStep?: string | undefined;
1966
+ currentStatusKey?: string | undefined;
1967
+ remainingSteps?: number | undefined;
1968
+ rightToWorkStatus?: string | undefined;
1969
+ insuranceDocsStatus?: string | undefined;
1970
+ complianceDocsStatus?: string | undefined;
1971
+ complianceCheckStatus?: string | undefined;
1972
+ } | undefined;
1973
+ contracts?: ({
1974
+ type?: number | null | undefined;
1975
+ category?: number | null | undefined;
1976
+ name?: string | null | undefined;
1977
+ contractorDocumentId?: string | null | undefined;
1978
+ documentStatus?: number | null | undefined;
1979
+ documentDisplay?: number | null | undefined;
1980
+ fileName?: string | null | undefined;
1981
+ } | null | undefined)[] | undefined;
1982
+ insuranceDocs?: ({
1983
+ type?: number | null | undefined;
1984
+ category?: number | null | undefined;
1985
+ name?: string | null | undefined;
1986
+ contractorDocumentId?: string | null | undefined;
1987
+ documentStatus?: number | null | undefined;
1988
+ documentDisplay?: number | null | undefined;
1989
+ fileName?: string | null | undefined;
1990
+ } | null | undefined)[] | undefined;
1991
+ complianceDocs?: ({
1992
+ type?: number | null | undefined;
1993
+ category?: number | null | undefined;
1994
+ name?: string | null | undefined;
1995
+ contractorDocumentId?: string | null | undefined;
1996
+ documentStatus?: number | null | undefined;
1997
+ documentDisplay?: number | null | undefined;
1998
+ fileName?: string | null | undefined;
1999
+ } | null | undefined)[] | undefined;
2000
+ complianceInsuranceDocs?: ({
2001
+ type?: number | null | undefined;
2002
+ category?: number | null | undefined;
2003
+ name?: string | null | undefined;
2004
+ contractorDocumentId?: string | null | undefined;
2005
+ documentStatus?: number | null | undefined;
2006
+ documentDisplay?: number | null | undefined;
2007
+ fileName?: string | null | undefined;
2008
+ } | null | undefined)[] | undefined;
2009
+ rightToWorkDocs?: ({
2010
+ type?: number | null | undefined;
2011
+ category?: number | null | undefined;
2012
+ name?: string | null | undefined;
2013
+ contractorDocumentId?: string | null | undefined;
2014
+ documentStatus?: number | null | undefined;
2015
+ documentDisplay?: number | null | undefined;
2016
+ fileName?: string | null | undefined;
2017
+ } | null | undefined)[] | undefined;
2018
+ insuranceRequired?: boolean | undefined;
109
2019
  }, {
110
2020
  agency?: {
111
2021
  agencyValue?: string | null | undefined;
2022
+ agencyContactValue?: string | null | undefined;
112
2023
  agencyFormattedValue?: string | null | undefined;
113
2024
  agencyContactFormattedValue?: string | null | undefined;
114
2025
  } | undefined;
@@ -128,6 +2039,15 @@ export declare const SGetAssignmentWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
128
2039
  assignmentId?: string | undefined;
129
2040
  assignmentNumber?: string | null | undefined;
130
2041
  referralId?: string | null | undefined;
2042
+ assignmentDocuments?: ({
2043
+ type?: number | null | undefined;
2044
+ category?: number | null | undefined;
2045
+ name?: string | null | undefined;
2046
+ contractorDocumentId?: string | null | undefined;
2047
+ documentStatus?: number | null | undefined;
2048
+ documentDisplay?: number | null | undefined;
2049
+ fileName?: string | null | undefined;
2050
+ } | null | undefined)[] | undefined;
131
2051
  progress?: {
132
2052
  stage?: number | null | undefined;
133
2053
  stageReason?: number | null | undefined;
@@ -137,7 +2057,61 @@ export declare const SGetAssignmentWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
137
2057
  contractorValue?: string | null | undefined;
138
2058
  contractorFormattedValue?: string | null | undefined;
139
2059
  } | undefined;
140
- stageReasonLastChangedAt?: unknown;
2060
+ onboarding?: {
2061
+ currentStep?: string | undefined;
2062
+ currentStatusKey?: string | undefined;
2063
+ remainingSteps?: number | undefined;
2064
+ rightToWorkStatus?: string | undefined;
2065
+ insuranceDocsStatus?: string | undefined;
2066
+ complianceDocsStatus?: string | undefined;
2067
+ complianceCheckStatus?: string | undefined;
2068
+ } | undefined;
2069
+ contracts?: ({
2070
+ type?: number | null | undefined;
2071
+ category?: number | null | undefined;
2072
+ name?: string | null | undefined;
2073
+ contractorDocumentId?: string | null | undefined;
2074
+ documentStatus?: number | null | undefined;
2075
+ documentDisplay?: number | null | undefined;
2076
+ fileName?: string | null | undefined;
2077
+ } | null | undefined)[] | undefined;
2078
+ insuranceDocs?: ({
2079
+ type?: number | null | undefined;
2080
+ category?: number | null | undefined;
2081
+ name?: string | null | undefined;
2082
+ contractorDocumentId?: string | null | undefined;
2083
+ documentStatus?: number | null | undefined;
2084
+ documentDisplay?: number | null | undefined;
2085
+ fileName?: string | null | undefined;
2086
+ } | null | undefined)[] | undefined;
2087
+ complianceDocs?: ({
2088
+ type?: number | null | undefined;
2089
+ category?: number | null | undefined;
2090
+ name?: string | null | undefined;
2091
+ contractorDocumentId?: string | null | undefined;
2092
+ documentStatus?: number | null | undefined;
2093
+ documentDisplay?: number | null | undefined;
2094
+ fileName?: string | null | undefined;
2095
+ } | null | undefined)[] | undefined;
2096
+ complianceInsuranceDocs?: ({
2097
+ type?: number | null | undefined;
2098
+ category?: number | null | undefined;
2099
+ name?: string | null | undefined;
2100
+ contractorDocumentId?: string | null | undefined;
2101
+ documentStatus?: number | null | undefined;
2102
+ documentDisplay?: number | null | undefined;
2103
+ fileName?: string | null | undefined;
2104
+ } | null | undefined)[] | undefined;
2105
+ rightToWorkDocs?: ({
2106
+ type?: number | null | undefined;
2107
+ category?: number | null | undefined;
2108
+ name?: string | null | undefined;
2109
+ contractorDocumentId?: string | null | undefined;
2110
+ documentStatus?: number | null | undefined;
2111
+ documentDisplay?: number | null | undefined;
2112
+ fileName?: string | null | undefined;
2113
+ } | null | undefined)[] | undefined;
2114
+ insuranceRequired?: boolean | undefined;
141
2115
  }>, {
142
2116
  name: undefined;
143
2117
  referralFriendlyId: undefined;
@@ -181,10 +2155,75 @@ export declare const SGetAssignmentWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
181
2155
  statusWorker: import("../../../types/Statuses.js").TStatusGroup;
182
2156
  status?: never;
183
2157
  };
2158
+ assignmentDocuments: ({
2159
+ type?: number | null | undefined;
2160
+ category?: number | null | undefined;
2161
+ name?: string | null | undefined;
2162
+ contractorDocumentId?: string | null | undefined;
2163
+ documentStatus?: number | null | undefined;
2164
+ documentDisplay?: number | null | undefined;
2165
+ fileName?: string | null | undefined;
2166
+ } | null | undefined)[] | undefined;
2167
+ referralDocuments: undefined;
2168
+ contracts: ({
2169
+ type?: number | null | undefined;
2170
+ category?: number | null | undefined;
2171
+ name?: string | null | undefined;
2172
+ contractorDocumentId?: string | null | undefined;
2173
+ documentStatus?: number | null | undefined;
2174
+ documentDisplay?: number | null | undefined;
2175
+ fileName?: string | null | undefined;
2176
+ } | null | undefined)[] | undefined;
2177
+ insuranceDocs: ({
2178
+ type?: number | null | undefined;
2179
+ category?: number | null | undefined;
2180
+ name?: string | null | undefined;
2181
+ contractorDocumentId?: string | null | undefined;
2182
+ documentStatus?: number | null | undefined;
2183
+ documentDisplay?: number | null | undefined;
2184
+ fileName?: string | null | undefined;
2185
+ } | null | undefined)[] | undefined;
2186
+ complianceDocs: ({
2187
+ type?: number | null | undefined;
2188
+ category?: number | null | undefined;
2189
+ name?: string | null | undefined;
2190
+ contractorDocumentId?: string | null | undefined;
2191
+ documentStatus?: number | null | undefined;
2192
+ documentDisplay?: number | null | undefined;
2193
+ fileName?: string | null | undefined;
2194
+ } | null | undefined)[] | undefined;
2195
+ complianceInsuranceDocs: ({
2196
+ type?: number | null | undefined;
2197
+ category?: number | null | undefined;
2198
+ name?: string | null | undefined;
2199
+ contractorDocumentId?: string | null | undefined;
2200
+ documentStatus?: number | null | undefined;
2201
+ documentDisplay?: number | null | undefined;
2202
+ fileName?: string | null | undefined;
2203
+ } | null | undefined)[] | undefined;
2204
+ rightToWorkDocs: ({
2205
+ type?: number | null | undefined;
2206
+ category?: number | null | undefined;
2207
+ name?: string | null | undefined;
2208
+ contractorDocumentId?: string | null | undefined;
2209
+ documentStatus?: number | null | undefined;
2210
+ documentDisplay?: number | null | undefined;
2211
+ fileName?: string | null | undefined;
2212
+ } | null | undefined)[] | undefined;
2213
+ insuranceRequired: boolean | undefined;
2214
+ onboarding: {
2215
+ currentStep?: string | undefined;
2216
+ currentStatusKey?: string | undefined;
2217
+ remainingSteps?: number | undefined;
2218
+ rightToWorkStatus?: string | undefined;
2219
+ insuranceDocsStatus?: string | undefined;
2220
+ complianceDocsStatus?: string | undefined;
2221
+ complianceCheckStatus?: string | undefined;
2222
+ } | undefined;
184
2223
  type: "assignment";
185
- stageReasonLastChangedAt: string | null;
186
2224
  agency?: {
187
2225
  agencyValue?: string | null | undefined;
2226
+ agencyContactValue?: string | null | undefined;
188
2227
  agencyFormattedValue?: string | null | undefined;
189
2228
  agencyContactFormattedValue?: string | null | undefined;
190
2229
  } | undefined;
@@ -199,6 +2238,7 @@ export declare const SGetAssignmentWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
199
2238
  }, {
200
2239
  agency?: {
201
2240
  agencyValue?: string | null | undefined;
2241
+ agencyContactValue?: string | null | undefined;
202
2242
  agencyFormattedValue?: string | null | undefined;
203
2243
  agencyContactFormattedValue?: string | null | undefined;
204
2244
  } | undefined;
@@ -218,6 +2258,15 @@ export declare const SGetAssignmentWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
218
2258
  assignmentId?: string | undefined;
219
2259
  assignmentNumber?: string | null | undefined;
220
2260
  referralId?: string | null | undefined;
2261
+ assignmentDocuments?: ({
2262
+ type?: number | null | undefined;
2263
+ category?: number | null | undefined;
2264
+ name?: string | null | undefined;
2265
+ contractorDocumentId?: string | null | undefined;
2266
+ documentStatus?: number | null | undefined;
2267
+ documentDisplay?: number | null | undefined;
2268
+ fileName?: string | null | undefined;
2269
+ } | null | undefined)[] | undefined;
221
2270
  progress?: {
222
2271
  stage?: number | null | undefined;
223
2272
  stageReason?: number | null | undefined;
@@ -227,7 +2276,61 @@ export declare const SGetAssignmentWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
227
2276
  contractorValue?: string | null | undefined;
228
2277
  contractorFormattedValue?: string | null | undefined;
229
2278
  } | undefined;
230
- stageReasonLastChangedAt?: unknown;
2279
+ onboarding?: {
2280
+ currentStep?: string | undefined;
2281
+ currentStatusKey?: string | undefined;
2282
+ remainingSteps?: number | undefined;
2283
+ rightToWorkStatus?: string | undefined;
2284
+ insuranceDocsStatus?: string | undefined;
2285
+ complianceDocsStatus?: string | undefined;
2286
+ complianceCheckStatus?: string | undefined;
2287
+ } | undefined;
2288
+ contracts?: ({
2289
+ type?: number | null | undefined;
2290
+ category?: number | null | undefined;
2291
+ name?: string | null | undefined;
2292
+ contractorDocumentId?: string | null | undefined;
2293
+ documentStatus?: number | null | undefined;
2294
+ documentDisplay?: number | null | undefined;
2295
+ fileName?: string | null | undefined;
2296
+ } | null | undefined)[] | undefined;
2297
+ insuranceDocs?: ({
2298
+ type?: number | null | undefined;
2299
+ category?: number | null | undefined;
2300
+ name?: string | null | undefined;
2301
+ contractorDocumentId?: string | null | undefined;
2302
+ documentStatus?: number | null | undefined;
2303
+ documentDisplay?: number | null | undefined;
2304
+ fileName?: string | null | undefined;
2305
+ } | null | undefined)[] | undefined;
2306
+ complianceDocs?: ({
2307
+ type?: number | null | undefined;
2308
+ category?: number | null | undefined;
2309
+ name?: string | null | undefined;
2310
+ contractorDocumentId?: string | null | undefined;
2311
+ documentStatus?: number | null | undefined;
2312
+ documentDisplay?: number | null | undefined;
2313
+ fileName?: string | null | undefined;
2314
+ } | null | undefined)[] | undefined;
2315
+ complianceInsuranceDocs?: ({
2316
+ type?: number | null | undefined;
2317
+ category?: number | null | undefined;
2318
+ name?: string | null | undefined;
2319
+ contractorDocumentId?: string | null | undefined;
2320
+ documentStatus?: number | null | undefined;
2321
+ documentDisplay?: number | null | undefined;
2322
+ fileName?: string | null | undefined;
2323
+ } | null | undefined)[] | undefined;
2324
+ rightToWorkDocs?: ({
2325
+ type?: number | null | undefined;
2326
+ category?: number | null | undefined;
2327
+ name?: string | null | undefined;
2328
+ contractorDocumentId?: string | null | undefined;
2329
+ documentStatus?: number | null | undefined;
2330
+ documentDisplay?: number | null | undefined;
2331
+ fileName?: string | null | undefined;
2332
+ } | null | undefined)[] | undefined;
2333
+ insuranceRequired?: boolean | undefined;
231
2334
  }>;
232
2335
  export declare const SReferralWorker: z.ZodObject<{
233
2336
  readonly referralId: z.ZodOptional<z.ZodString>;
@@ -289,14 +2392,17 @@ export declare const SReferralWorker: z.ZodObject<{
289
2392
  }>>;
290
2393
  readonly agency: z.ZodOptional<z.ZodObject<{
291
2394
  readonly agencyValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2395
+ readonly agencyContactValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
292
2396
  readonly agencyFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
2397
  readonly agencyContactFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
294
2398
  }, z.UnknownKeysParam, z.ZodTypeAny, {
295
2399
  agencyValue?: string | null | undefined;
2400
+ agencyContactValue?: string | null | undefined;
296
2401
  agencyFormattedValue?: string | null | undefined;
297
2402
  agencyContactFormattedValue?: string | null | undefined;
298
2403
  }, {
299
2404
  agencyValue?: string | null | undefined;
2405
+ agencyContactValue?: string | null | undefined;
300
2406
  agencyFormattedValue?: string | null | undefined;
301
2407
  agencyContactFormattedValue?: string | null | undefined;
302
2408
  }>>;
@@ -311,6 +2417,7 @@ export declare const SReferralWorker: z.ZodObject<{
311
2417
  }, z.UnknownKeysParam, z.ZodTypeAny, {
312
2418
  agency?: {
313
2419
  agencyValue?: string | null | undefined;
2420
+ agencyContactValue?: string | null | undefined;
314
2421
  agencyFormattedValue?: string | null | undefined;
315
2422
  agencyContactFormattedValue?: string | null | undefined;
316
2423
  } | undefined;
@@ -344,6 +2451,7 @@ export declare const SReferralWorker: z.ZodObject<{
344
2451
  }, {
345
2452
  agency?: {
346
2453
  agencyValue?: string | null | undefined;
2454
+ agencyContactValue?: string | null | undefined;
347
2455
  agencyFormattedValue?: string | null | undefined;
348
2456
  agencyContactFormattedValue?: string | null | undefined;
349
2457
  } | undefined;
@@ -435,14 +2543,17 @@ export declare const SGetReferralWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
435
2543
  }>>;
436
2544
  readonly agency: z.ZodOptional<z.ZodObject<{
437
2545
  readonly agencyValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2546
+ readonly agencyContactValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
438
2547
  readonly agencyFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
439
2548
  readonly agencyContactFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
440
2549
  }, z.UnknownKeysParam, z.ZodTypeAny, {
441
2550
  agencyValue?: string | null | undefined;
2551
+ agencyContactValue?: string | null | undefined;
442
2552
  agencyFormattedValue?: string | null | undefined;
443
2553
  agencyContactFormattedValue?: string | null | undefined;
444
2554
  }, {
445
2555
  agencyValue?: string | null | undefined;
2556
+ agencyContactValue?: string | null | undefined;
446
2557
  agencyFormattedValue?: string | null | undefined;
447
2558
  agencyContactFormattedValue?: string | null | undefined;
448
2559
  }>>;
@@ -456,12 +2567,1855 @@ export declare const SGetReferralWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
456
2567
  createdOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
457
2568
  } & {
458
2569
  type: z.ZodCatch<z.ZodLiteral<"referral">>;
459
- stageReasonLastChangedAt: z.ZodCatch<z.ZodNullable<z.ZodString>>;
2570
+ referralDocuments: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
2571
+ readonly _ownerid_value: {
2572
+ readonly pretty: "ownerIdValue";
2573
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2574
+ };
2575
+ readonly _owningbusinessunit_value: {
2576
+ readonly pretty: "owningBusinessUnitValue";
2577
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2578
+ };
2579
+ readonly _owningteam_value: {
2580
+ readonly pretty: "owningTeamValue";
2581
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2582
+ };
2583
+ readonly _owninguser_value: {
2584
+ readonly pretty: "owningUserValue";
2585
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2586
+ };
2587
+ readonly '@odata.etag': {
2588
+ readonly pretty: "etag";
2589
+ readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
2590
+ };
2591
+ readonly versionnumber: {
2592
+ readonly pretty: "versionNumber";
2593
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2594
+ };
2595
+ readonly _createdby_value: {
2596
+ readonly pretty: "createdByValue";
2597
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2598
+ };
2599
+ readonly createdon: {
2600
+ readonly pretty: "createdOn";
2601
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2602
+ };
2603
+ readonly _createdonbehalfby_value: {
2604
+ readonly pretty: "createdOnBehalfByValue";
2605
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2606
+ };
2607
+ readonly _modifiedby_value: {
2608
+ readonly pretty: "modifiedByValue";
2609
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2610
+ };
2611
+ readonly modifiedon: {
2612
+ readonly pretty: "modifiedOn";
2613
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2614
+ };
2615
+ readonly _modifiedonbehalfby_value: {
2616
+ readonly pretty: "modifiedOnBehalfByValue";
2617
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2618
+ };
2619
+ readonly statecode: {
2620
+ readonly pretty: "stateCode";
2621
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2622
+ };
2623
+ readonly statuscode: {
2624
+ readonly pretty: "statusCode";
2625
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2626
+ };
2627
+ readonly importsequencenumber: {
2628
+ readonly pretty: "importSequenceNumber";
2629
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2630
+ };
2631
+ readonly overriddencreatedon: {
2632
+ readonly pretty: "overriddenCreatedOn";
2633
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2634
+ };
2635
+ readonly timezoneruleversionnumber: {
2636
+ readonly pretty: "timezoneRuleVersionNumber";
2637
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
2638
+ };
2639
+ readonly utcconversiontimezonecode: {
2640
+ readonly pretty: "utcConversionTimezoneCode";
2641
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
2642
+ };
2643
+ } & {
2644
+ readonly _ww_contractor_value: {
2645
+ readonly relationshipName: "ww_Contractor";
2646
+ readonly entity: "contacts";
2647
+ readonly pretty: "contractorValue";
2648
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2649
+ };
2650
+ readonly _ww_directorapproved_value: {
2651
+ readonly relationshipName: "ww_DirectorApproved";
2652
+ readonly entity: "contacts";
2653
+ readonly pretty: "directorApprovedValue";
2654
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2655
+ };
2656
+ readonly _ww_scats_contractingContractor_value: {
2657
+ readonly pretty: "scatsContractingContractorValue";
2658
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2659
+ };
2660
+ readonly ww_contractordocumentid: {
2661
+ readonly pretty: "contractorDocumentId";
2662
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2663
+ };
2664
+ readonly ww_customeripaddress: {
2665
+ readonly pretty: "customerIpAddress";
2666
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2667
+ };
2668
+ readonly ww_directorapprovalrequired: {
2669
+ readonly pretty: "directorApprovalRequired";
2670
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2671
+ };
2672
+ readonly ww_directorapproveddate: {
2673
+ readonly pretty: "directorApprovedDate";
2674
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2675
+ };
2676
+ readonly ww_documentid: {
2677
+ readonly pretty: "documentId";
2678
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2679
+ };
2680
+ readonly ww_documentreceiveddate: {
2681
+ readonly pretty: "documentReceivedDate";
2682
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2683
+ };
2684
+ readonly ww_documentstatus: {
2685
+ readonly pretty: "documentStatus";
2686
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2687
+ };
2688
+ readonly ww_documentdisplay: {
2689
+ readonly pretty: "documentDisplay";
2690
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2691
+ };
2692
+ readonly ww_file: {
2693
+ readonly pretty: "file";
2694
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2695
+ };
2696
+ readonly ww_file_name: {
2697
+ readonly pretty: "fileName";
2698
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2699
+ };
2700
+ readonly ww_requirescontractorsignature: {
2701
+ readonly pretty: "requiresContractorSignature";
2702
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2703
+ };
2704
+ readonly ww_signedon: {
2705
+ readonly pretty: "signedOn";
2706
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2707
+ };
2708
+ readonly ww_type: {
2709
+ readonly pretty: "type";
2710
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2711
+ };
2712
+ readonly ww_uploadedfromweb: {
2713
+ readonly pretty: "uploadedFromWeb";
2714
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2715
+ };
2716
+ readonly ww_workerapproved: {
2717
+ readonly pretty: "workerApproved";
2718
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2719
+ };
2720
+ readonly ww_Contractor: {
2721
+ readonly pretty: "contractor";
2722
+ readonly entityKey: "contact";
2723
+ };
2724
+ readonly ww_DirectorApproved: {
2725
+ readonly pretty: "directorApproved";
2726
+ readonly entityKey: "contact";
2727
+ };
2728
+ readonly _ww_account_value: {
2729
+ readonly pretty: "accountValue";
2730
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2731
+ };
2732
+ readonly ww_attachment: {
2733
+ readonly pretty: "attachment";
2734
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2735
+ };
2736
+ readonly ww_attachment_name: {
2737
+ readonly pretty: "attachmentName";
2738
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2739
+ };
2740
+ readonly ww_category: {
2741
+ readonly pretty: "category";
2742
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2743
+ };
2744
+ readonly ww_date6catssigned: {
2745
+ readonly pretty: "date6catsSigned";
2746
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2747
+ };
2748
+ readonly ww_dateagencysigned: {
2749
+ readonly pretty: "dateAgencySigned";
2750
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2751
+ };
2752
+ readonly ww_datereceived: {
2753
+ readonly pretty: "dateReceived";
2754
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
+ };
2756
+ readonly ww_datereviewed: {
2757
+ readonly pretty: "dateReviewed";
2758
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2759
+ };
2760
+ readonly ww_documentrefnumber: {
2761
+ readonly pretty: "documentRefNumber";
2762
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2763
+ };
2764
+ readonly ww_documenttype: {
2765
+ readonly pretty: "documentType";
2766
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2767
+ };
2768
+ readonly ww_ipaddress: {
2769
+ readonly pretty: "ipAddress";
2770
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2771
+ };
2772
+ readonly ww_name: {
2773
+ readonly pretty: "name";
2774
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2775
+ };
2776
+ readonly ww_signature: {
2777
+ readonly pretty: "signature";
2778
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2779
+ };
2780
+ readonly ww_signature_timestamp: {
2781
+ readonly pretty: "signatureTimestamp";
2782
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2783
+ };
2784
+ readonly ww_signature_url: {
2785
+ readonly pretty: "signatureUrl";
2786
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2787
+ };
2788
+ readonly ww_signatureid: {
2789
+ readonly pretty: "signatureId";
2790
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2791
+ };
2792
+ readonly ww_validfrom: {
2793
+ readonly pretty: "validFrom";
2794
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2795
+ };
2796
+ readonly ww_validto: {
2797
+ readonly pretty: "validTo";
2798
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2799
+ };
2800
+ readonly ww_documentreceivedtime: {
2801
+ readonly pretty: "documentReceivedTime";
2802
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2803
+ };
2804
+ readonly ww_source: {
2805
+ readonly pretty: "source";
2806
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2807
+ };
2808
+ readonly _ww_changerequestdocuments_value: {
2809
+ readonly pretty: "changeRequestDocumentsValue";
2810
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2811
+ };
2812
+ readonly ww_identityverificationstatus: {
2813
+ readonly pretty: "identityVerificationStatus";
2814
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2815
+ };
2816
+ readonly _ww_simulation_value: {
2817
+ readonly pretty: "simulationValue";
2818
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2819
+ };
2820
+ readonly ww_employmenttype: {
2821
+ readonly pretty: "employmentType";
2822
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2823
+ };
2824
+ readonly _ww_assignmentextensions_value: {
2825
+ readonly pretty: "assignmentExtensionsValue";
2826
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2827
+ };
2828
+ readonly ww_reasons: {
2829
+ readonly pretty: "reasons";
2830
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2831
+ };
2832
+ readonly ww_contracttype: {
2833
+ readonly pretty: "contractType";
2834
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2835
+ };
2836
+ readonly ww_requiredbeforelegalapproval: {
2837
+ readonly pretty: "requiredBeforeLegalApproval";
2838
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2839
+ };
2840
+ readonly ww_value: {
2841
+ readonly pretty: "value";
2842
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2843
+ };
2844
+ readonly ww_limitedcompanyname: {
2845
+ readonly pretty: "limitedCompanyName";
2846
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2847
+ };
2848
+ readonly ww_config: {
2849
+ readonly pretty: "config";
2850
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2851
+ };
2852
+ readonly ww_identityverificationurl: {
2853
+ readonly pretty: "identityVerificationUrl";
2854
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2855
+ };
2856
+ }>, "type" | "category" | "name" | "contractorDocumentId" | "documentStatus" | "documentDisplay" | "fileName">, z.UnknownKeysParam, z.ZodTypeAny, {
2857
+ type?: number | null | undefined;
2858
+ category?: number | null | undefined;
2859
+ name?: string | null | undefined;
2860
+ contractorDocumentId?: string | null | undefined;
2861
+ documentStatus?: number | null | undefined;
2862
+ documentDisplay?: number | null | undefined;
2863
+ fileName?: string | null | undefined;
2864
+ }, {
2865
+ type?: number | null | undefined;
2866
+ category?: number | null | undefined;
2867
+ name?: string | null | undefined;
2868
+ contractorDocumentId?: string | null | undefined;
2869
+ documentStatus?: number | null | undefined;
2870
+ documentDisplay?: number | null | undefined;
2871
+ fileName?: string | null | undefined;
2872
+ }>>>, "many">>;
2873
+ contracts: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
2874
+ readonly _ownerid_value: {
2875
+ readonly pretty: "ownerIdValue";
2876
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2877
+ };
2878
+ readonly _owningbusinessunit_value: {
2879
+ readonly pretty: "owningBusinessUnitValue";
2880
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2881
+ };
2882
+ readonly _owningteam_value: {
2883
+ readonly pretty: "owningTeamValue";
2884
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2885
+ };
2886
+ readonly _owninguser_value: {
2887
+ readonly pretty: "owningUserValue";
2888
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2889
+ };
2890
+ readonly '@odata.etag': {
2891
+ readonly pretty: "etag";
2892
+ readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
2893
+ };
2894
+ readonly versionnumber: {
2895
+ readonly pretty: "versionNumber";
2896
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2897
+ };
2898
+ readonly _createdby_value: {
2899
+ readonly pretty: "createdByValue";
2900
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2901
+ };
2902
+ readonly createdon: {
2903
+ readonly pretty: "createdOn";
2904
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2905
+ };
2906
+ readonly _createdonbehalfby_value: {
2907
+ readonly pretty: "createdOnBehalfByValue";
2908
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2909
+ };
2910
+ readonly _modifiedby_value: {
2911
+ readonly pretty: "modifiedByValue";
2912
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2913
+ };
2914
+ readonly modifiedon: {
2915
+ readonly pretty: "modifiedOn";
2916
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2917
+ };
2918
+ readonly _modifiedonbehalfby_value: {
2919
+ readonly pretty: "modifiedOnBehalfByValue";
2920
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2921
+ };
2922
+ readonly statecode: {
2923
+ readonly pretty: "stateCode";
2924
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2925
+ };
2926
+ readonly statuscode: {
2927
+ readonly pretty: "statusCode";
2928
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2929
+ };
2930
+ readonly importsequencenumber: {
2931
+ readonly pretty: "importSequenceNumber";
2932
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2933
+ };
2934
+ readonly overriddencreatedon: {
2935
+ readonly pretty: "overriddenCreatedOn";
2936
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2937
+ };
2938
+ readonly timezoneruleversionnumber: {
2939
+ readonly pretty: "timezoneRuleVersionNumber";
2940
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
2941
+ };
2942
+ readonly utcconversiontimezonecode: {
2943
+ readonly pretty: "utcConversionTimezoneCode";
2944
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
2945
+ };
2946
+ } & {
2947
+ readonly _ww_contractor_value: {
2948
+ readonly relationshipName: "ww_Contractor";
2949
+ readonly entity: "contacts";
2950
+ readonly pretty: "contractorValue";
2951
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2952
+ };
2953
+ readonly _ww_directorapproved_value: {
2954
+ readonly relationshipName: "ww_DirectorApproved";
2955
+ readonly entity: "contacts";
2956
+ readonly pretty: "directorApprovedValue";
2957
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2958
+ };
2959
+ readonly _ww_scats_contractingContractor_value: {
2960
+ readonly pretty: "scatsContractingContractorValue";
2961
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2962
+ };
2963
+ readonly ww_contractordocumentid: {
2964
+ readonly pretty: "contractorDocumentId";
2965
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2966
+ };
2967
+ readonly ww_customeripaddress: {
2968
+ readonly pretty: "customerIpAddress";
2969
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2970
+ };
2971
+ readonly ww_directorapprovalrequired: {
2972
+ readonly pretty: "directorApprovalRequired";
2973
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2974
+ };
2975
+ readonly ww_directorapproveddate: {
2976
+ readonly pretty: "directorApprovedDate";
2977
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2978
+ };
2979
+ readonly ww_documentid: {
2980
+ readonly pretty: "documentId";
2981
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2982
+ };
2983
+ readonly ww_documentreceiveddate: {
2984
+ readonly pretty: "documentReceivedDate";
2985
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2986
+ };
2987
+ readonly ww_documentstatus: {
2988
+ readonly pretty: "documentStatus";
2989
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2990
+ };
2991
+ readonly ww_documentdisplay: {
2992
+ readonly pretty: "documentDisplay";
2993
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2994
+ };
2995
+ readonly ww_file: {
2996
+ readonly pretty: "file";
2997
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2998
+ };
2999
+ readonly ww_file_name: {
3000
+ readonly pretty: "fileName";
3001
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3002
+ };
3003
+ readonly ww_requirescontractorsignature: {
3004
+ readonly pretty: "requiresContractorSignature";
3005
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3006
+ };
3007
+ readonly ww_signedon: {
3008
+ readonly pretty: "signedOn";
3009
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3010
+ };
3011
+ readonly ww_type: {
3012
+ readonly pretty: "type";
3013
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3014
+ };
3015
+ readonly ww_uploadedfromweb: {
3016
+ readonly pretty: "uploadedFromWeb";
3017
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3018
+ };
3019
+ readonly ww_workerapproved: {
3020
+ readonly pretty: "workerApproved";
3021
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3022
+ };
3023
+ readonly ww_Contractor: {
3024
+ readonly pretty: "contractor";
3025
+ readonly entityKey: "contact";
3026
+ };
3027
+ readonly ww_DirectorApproved: {
3028
+ readonly pretty: "directorApproved";
3029
+ readonly entityKey: "contact";
3030
+ };
3031
+ readonly _ww_account_value: {
3032
+ readonly pretty: "accountValue";
3033
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3034
+ };
3035
+ readonly ww_attachment: {
3036
+ readonly pretty: "attachment";
3037
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3038
+ };
3039
+ readonly ww_attachment_name: {
3040
+ readonly pretty: "attachmentName";
3041
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3042
+ };
3043
+ readonly ww_category: {
3044
+ readonly pretty: "category";
3045
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3046
+ };
3047
+ readonly ww_date6catssigned: {
3048
+ readonly pretty: "date6catsSigned";
3049
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3050
+ };
3051
+ readonly ww_dateagencysigned: {
3052
+ readonly pretty: "dateAgencySigned";
3053
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3054
+ };
3055
+ readonly ww_datereceived: {
3056
+ readonly pretty: "dateReceived";
3057
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3058
+ };
3059
+ readonly ww_datereviewed: {
3060
+ readonly pretty: "dateReviewed";
3061
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3062
+ };
3063
+ readonly ww_documentrefnumber: {
3064
+ readonly pretty: "documentRefNumber";
3065
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3066
+ };
3067
+ readonly ww_documenttype: {
3068
+ readonly pretty: "documentType";
3069
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3070
+ };
3071
+ readonly ww_ipaddress: {
3072
+ readonly pretty: "ipAddress";
3073
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3074
+ };
3075
+ readonly ww_name: {
3076
+ readonly pretty: "name";
3077
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3078
+ };
3079
+ readonly ww_signature: {
3080
+ readonly pretty: "signature";
3081
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3082
+ };
3083
+ readonly ww_signature_timestamp: {
3084
+ readonly pretty: "signatureTimestamp";
3085
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3086
+ };
3087
+ readonly ww_signature_url: {
3088
+ readonly pretty: "signatureUrl";
3089
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3090
+ };
3091
+ readonly ww_signatureid: {
3092
+ readonly pretty: "signatureId";
3093
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3094
+ };
3095
+ readonly ww_validfrom: {
3096
+ readonly pretty: "validFrom";
3097
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3098
+ };
3099
+ readonly ww_validto: {
3100
+ readonly pretty: "validTo";
3101
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3102
+ };
3103
+ readonly ww_documentreceivedtime: {
3104
+ readonly pretty: "documentReceivedTime";
3105
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3106
+ };
3107
+ readonly ww_source: {
3108
+ readonly pretty: "source";
3109
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3110
+ };
3111
+ readonly _ww_changerequestdocuments_value: {
3112
+ readonly pretty: "changeRequestDocumentsValue";
3113
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3114
+ };
3115
+ readonly ww_identityverificationstatus: {
3116
+ readonly pretty: "identityVerificationStatus";
3117
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3118
+ };
3119
+ readonly _ww_simulation_value: {
3120
+ readonly pretty: "simulationValue";
3121
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3122
+ };
3123
+ readonly ww_employmenttype: {
3124
+ readonly pretty: "employmentType";
3125
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3126
+ };
3127
+ readonly _ww_assignmentextensions_value: {
3128
+ readonly pretty: "assignmentExtensionsValue";
3129
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3130
+ };
3131
+ readonly ww_reasons: {
3132
+ readonly pretty: "reasons";
3133
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3134
+ };
3135
+ readonly ww_contracttype: {
3136
+ readonly pretty: "contractType";
3137
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3138
+ };
3139
+ readonly ww_requiredbeforelegalapproval: {
3140
+ readonly pretty: "requiredBeforeLegalApproval";
3141
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3142
+ };
3143
+ readonly ww_value: {
3144
+ readonly pretty: "value";
3145
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3146
+ };
3147
+ readonly ww_limitedcompanyname: {
3148
+ readonly pretty: "limitedCompanyName";
3149
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3150
+ };
3151
+ readonly ww_config: {
3152
+ readonly pretty: "config";
3153
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3154
+ };
3155
+ readonly ww_identityverificationurl: {
3156
+ readonly pretty: "identityVerificationUrl";
3157
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3158
+ };
3159
+ }>, "type" | "category" | "name" | "contractorDocumentId" | "documentStatus" | "documentDisplay" | "fileName">, z.UnknownKeysParam, z.ZodTypeAny, {
3160
+ type?: number | null | undefined;
3161
+ category?: number | null | undefined;
3162
+ name?: string | null | undefined;
3163
+ contractorDocumentId?: string | null | undefined;
3164
+ documentStatus?: number | null | undefined;
3165
+ documentDisplay?: number | null | undefined;
3166
+ fileName?: string | null | undefined;
3167
+ }, {
3168
+ type?: number | null | undefined;
3169
+ category?: number | null | undefined;
3170
+ name?: string | null | undefined;
3171
+ contractorDocumentId?: string | null | undefined;
3172
+ documentStatus?: number | null | undefined;
3173
+ documentDisplay?: number | null | undefined;
3174
+ fileName?: string | null | undefined;
3175
+ }>>>, "many">>;
3176
+ insuranceDocs: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
3177
+ readonly _ownerid_value: {
3178
+ readonly pretty: "ownerIdValue";
3179
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3180
+ };
3181
+ readonly _owningbusinessunit_value: {
3182
+ readonly pretty: "owningBusinessUnitValue";
3183
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3184
+ };
3185
+ readonly _owningteam_value: {
3186
+ readonly pretty: "owningTeamValue";
3187
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3188
+ };
3189
+ readonly _owninguser_value: {
3190
+ readonly pretty: "owningUserValue";
3191
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3192
+ };
3193
+ readonly '@odata.etag': {
3194
+ readonly pretty: "etag";
3195
+ readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
3196
+ };
3197
+ readonly versionnumber: {
3198
+ readonly pretty: "versionNumber";
3199
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3200
+ };
3201
+ readonly _createdby_value: {
3202
+ readonly pretty: "createdByValue";
3203
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3204
+ };
3205
+ readonly createdon: {
3206
+ readonly pretty: "createdOn";
3207
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3208
+ };
3209
+ readonly _createdonbehalfby_value: {
3210
+ readonly pretty: "createdOnBehalfByValue";
3211
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3212
+ };
3213
+ readonly _modifiedby_value: {
3214
+ readonly pretty: "modifiedByValue";
3215
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3216
+ };
3217
+ readonly modifiedon: {
3218
+ readonly pretty: "modifiedOn";
3219
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3220
+ };
3221
+ readonly _modifiedonbehalfby_value: {
3222
+ readonly pretty: "modifiedOnBehalfByValue";
3223
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3224
+ };
3225
+ readonly statecode: {
3226
+ readonly pretty: "stateCode";
3227
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3228
+ };
3229
+ readonly statuscode: {
3230
+ readonly pretty: "statusCode";
3231
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3232
+ };
3233
+ readonly importsequencenumber: {
3234
+ readonly pretty: "importSequenceNumber";
3235
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3236
+ };
3237
+ readonly overriddencreatedon: {
3238
+ readonly pretty: "overriddenCreatedOn";
3239
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3240
+ };
3241
+ readonly timezoneruleversionnumber: {
3242
+ readonly pretty: "timezoneRuleVersionNumber";
3243
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
3244
+ };
3245
+ readonly utcconversiontimezonecode: {
3246
+ readonly pretty: "utcConversionTimezoneCode";
3247
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
3248
+ };
3249
+ } & {
3250
+ readonly _ww_contractor_value: {
3251
+ readonly relationshipName: "ww_Contractor";
3252
+ readonly entity: "contacts";
3253
+ readonly pretty: "contractorValue";
3254
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3255
+ };
3256
+ readonly _ww_directorapproved_value: {
3257
+ readonly relationshipName: "ww_DirectorApproved";
3258
+ readonly entity: "contacts";
3259
+ readonly pretty: "directorApprovedValue";
3260
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3261
+ };
3262
+ readonly _ww_scats_contractingContractor_value: {
3263
+ readonly pretty: "scatsContractingContractorValue";
3264
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3265
+ };
3266
+ readonly ww_contractordocumentid: {
3267
+ readonly pretty: "contractorDocumentId";
3268
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3269
+ };
3270
+ readonly ww_customeripaddress: {
3271
+ readonly pretty: "customerIpAddress";
3272
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3273
+ };
3274
+ readonly ww_directorapprovalrequired: {
3275
+ readonly pretty: "directorApprovalRequired";
3276
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3277
+ };
3278
+ readonly ww_directorapproveddate: {
3279
+ readonly pretty: "directorApprovedDate";
3280
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3281
+ };
3282
+ readonly ww_documentid: {
3283
+ readonly pretty: "documentId";
3284
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3285
+ };
3286
+ readonly ww_documentreceiveddate: {
3287
+ readonly pretty: "documentReceivedDate";
3288
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3289
+ };
3290
+ readonly ww_documentstatus: {
3291
+ readonly pretty: "documentStatus";
3292
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3293
+ };
3294
+ readonly ww_documentdisplay: {
3295
+ readonly pretty: "documentDisplay";
3296
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3297
+ };
3298
+ readonly ww_file: {
3299
+ readonly pretty: "file";
3300
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3301
+ };
3302
+ readonly ww_file_name: {
3303
+ readonly pretty: "fileName";
3304
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3305
+ };
3306
+ readonly ww_requirescontractorsignature: {
3307
+ readonly pretty: "requiresContractorSignature";
3308
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3309
+ };
3310
+ readonly ww_signedon: {
3311
+ readonly pretty: "signedOn";
3312
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3313
+ };
3314
+ readonly ww_type: {
3315
+ readonly pretty: "type";
3316
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3317
+ };
3318
+ readonly ww_uploadedfromweb: {
3319
+ readonly pretty: "uploadedFromWeb";
3320
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3321
+ };
3322
+ readonly ww_workerapproved: {
3323
+ readonly pretty: "workerApproved";
3324
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3325
+ };
3326
+ readonly ww_Contractor: {
3327
+ readonly pretty: "contractor";
3328
+ readonly entityKey: "contact";
3329
+ };
3330
+ readonly ww_DirectorApproved: {
3331
+ readonly pretty: "directorApproved";
3332
+ readonly entityKey: "contact";
3333
+ };
3334
+ readonly _ww_account_value: {
3335
+ readonly pretty: "accountValue";
3336
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3337
+ };
3338
+ readonly ww_attachment: {
3339
+ readonly pretty: "attachment";
3340
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3341
+ };
3342
+ readonly ww_attachment_name: {
3343
+ readonly pretty: "attachmentName";
3344
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3345
+ };
3346
+ readonly ww_category: {
3347
+ readonly pretty: "category";
3348
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3349
+ };
3350
+ readonly ww_date6catssigned: {
3351
+ readonly pretty: "date6catsSigned";
3352
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3353
+ };
3354
+ readonly ww_dateagencysigned: {
3355
+ readonly pretty: "dateAgencySigned";
3356
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3357
+ };
3358
+ readonly ww_datereceived: {
3359
+ readonly pretty: "dateReceived";
3360
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3361
+ };
3362
+ readonly ww_datereviewed: {
3363
+ readonly pretty: "dateReviewed";
3364
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3365
+ };
3366
+ readonly ww_documentrefnumber: {
3367
+ readonly pretty: "documentRefNumber";
3368
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3369
+ };
3370
+ readonly ww_documenttype: {
3371
+ readonly pretty: "documentType";
3372
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3373
+ };
3374
+ readonly ww_ipaddress: {
3375
+ readonly pretty: "ipAddress";
3376
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3377
+ };
3378
+ readonly ww_name: {
3379
+ readonly pretty: "name";
3380
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3381
+ };
3382
+ readonly ww_signature: {
3383
+ readonly pretty: "signature";
3384
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3385
+ };
3386
+ readonly ww_signature_timestamp: {
3387
+ readonly pretty: "signatureTimestamp";
3388
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3389
+ };
3390
+ readonly ww_signature_url: {
3391
+ readonly pretty: "signatureUrl";
3392
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3393
+ };
3394
+ readonly ww_signatureid: {
3395
+ readonly pretty: "signatureId";
3396
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3397
+ };
3398
+ readonly ww_validfrom: {
3399
+ readonly pretty: "validFrom";
3400
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3401
+ };
3402
+ readonly ww_validto: {
3403
+ readonly pretty: "validTo";
3404
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3405
+ };
3406
+ readonly ww_documentreceivedtime: {
3407
+ readonly pretty: "documentReceivedTime";
3408
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3409
+ };
3410
+ readonly ww_source: {
3411
+ readonly pretty: "source";
3412
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3413
+ };
3414
+ readonly _ww_changerequestdocuments_value: {
3415
+ readonly pretty: "changeRequestDocumentsValue";
3416
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3417
+ };
3418
+ readonly ww_identityverificationstatus: {
3419
+ readonly pretty: "identityVerificationStatus";
3420
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3421
+ };
3422
+ readonly _ww_simulation_value: {
3423
+ readonly pretty: "simulationValue";
3424
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3425
+ };
3426
+ readonly ww_employmenttype: {
3427
+ readonly pretty: "employmentType";
3428
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3429
+ };
3430
+ readonly _ww_assignmentextensions_value: {
3431
+ readonly pretty: "assignmentExtensionsValue";
3432
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3433
+ };
3434
+ readonly ww_reasons: {
3435
+ readonly pretty: "reasons";
3436
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3437
+ };
3438
+ readonly ww_contracttype: {
3439
+ readonly pretty: "contractType";
3440
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3441
+ };
3442
+ readonly ww_requiredbeforelegalapproval: {
3443
+ readonly pretty: "requiredBeforeLegalApproval";
3444
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3445
+ };
3446
+ readonly ww_value: {
3447
+ readonly pretty: "value";
3448
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3449
+ };
3450
+ readonly ww_limitedcompanyname: {
3451
+ readonly pretty: "limitedCompanyName";
3452
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3453
+ };
3454
+ readonly ww_config: {
3455
+ readonly pretty: "config";
3456
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3457
+ };
3458
+ readonly ww_identityverificationurl: {
3459
+ readonly pretty: "identityVerificationUrl";
3460
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3461
+ };
3462
+ }>, "type" | "category" | "name" | "contractorDocumentId" | "documentStatus" | "documentDisplay" | "fileName">, z.UnknownKeysParam, z.ZodTypeAny, {
3463
+ type?: number | null | undefined;
3464
+ category?: number | null | undefined;
3465
+ name?: string | null | undefined;
3466
+ contractorDocumentId?: string | null | undefined;
3467
+ documentStatus?: number | null | undefined;
3468
+ documentDisplay?: number | null | undefined;
3469
+ fileName?: string | null | undefined;
3470
+ }, {
3471
+ type?: number | null | undefined;
3472
+ category?: number | null | undefined;
3473
+ name?: string | null | undefined;
3474
+ contractorDocumentId?: string | null | undefined;
3475
+ documentStatus?: number | null | undefined;
3476
+ documentDisplay?: number | null | undefined;
3477
+ fileName?: string | null | undefined;
3478
+ }>>>, "many">>;
3479
+ complianceDocs: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
3480
+ readonly _ownerid_value: {
3481
+ readonly pretty: "ownerIdValue";
3482
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3483
+ };
3484
+ readonly _owningbusinessunit_value: {
3485
+ readonly pretty: "owningBusinessUnitValue";
3486
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3487
+ };
3488
+ readonly _owningteam_value: {
3489
+ readonly pretty: "owningTeamValue";
3490
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3491
+ };
3492
+ readonly _owninguser_value: {
3493
+ readonly pretty: "owningUserValue";
3494
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3495
+ };
3496
+ readonly '@odata.etag': {
3497
+ readonly pretty: "etag";
3498
+ readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
3499
+ };
3500
+ readonly versionnumber: {
3501
+ readonly pretty: "versionNumber";
3502
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3503
+ };
3504
+ readonly _createdby_value: {
3505
+ readonly pretty: "createdByValue";
3506
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3507
+ };
3508
+ readonly createdon: {
3509
+ readonly pretty: "createdOn";
3510
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3511
+ };
3512
+ readonly _createdonbehalfby_value: {
3513
+ readonly pretty: "createdOnBehalfByValue";
3514
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3515
+ };
3516
+ readonly _modifiedby_value: {
3517
+ readonly pretty: "modifiedByValue";
3518
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3519
+ };
3520
+ readonly modifiedon: {
3521
+ readonly pretty: "modifiedOn";
3522
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3523
+ };
3524
+ readonly _modifiedonbehalfby_value: {
3525
+ readonly pretty: "modifiedOnBehalfByValue";
3526
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3527
+ };
3528
+ readonly statecode: {
3529
+ readonly pretty: "stateCode";
3530
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3531
+ };
3532
+ readonly statuscode: {
3533
+ readonly pretty: "statusCode";
3534
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3535
+ };
3536
+ readonly importsequencenumber: {
3537
+ readonly pretty: "importSequenceNumber";
3538
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3539
+ };
3540
+ readonly overriddencreatedon: {
3541
+ readonly pretty: "overriddenCreatedOn";
3542
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3543
+ };
3544
+ readonly timezoneruleversionnumber: {
3545
+ readonly pretty: "timezoneRuleVersionNumber";
3546
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
3547
+ };
3548
+ readonly utcconversiontimezonecode: {
3549
+ readonly pretty: "utcConversionTimezoneCode";
3550
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
3551
+ };
3552
+ } & {
3553
+ readonly _ww_contractor_value: {
3554
+ readonly relationshipName: "ww_Contractor";
3555
+ readonly entity: "contacts";
3556
+ readonly pretty: "contractorValue";
3557
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3558
+ };
3559
+ readonly _ww_directorapproved_value: {
3560
+ readonly relationshipName: "ww_DirectorApproved";
3561
+ readonly entity: "contacts";
3562
+ readonly pretty: "directorApprovedValue";
3563
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3564
+ };
3565
+ readonly _ww_scats_contractingContractor_value: {
3566
+ readonly pretty: "scatsContractingContractorValue";
3567
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3568
+ };
3569
+ readonly ww_contractordocumentid: {
3570
+ readonly pretty: "contractorDocumentId";
3571
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3572
+ };
3573
+ readonly ww_customeripaddress: {
3574
+ readonly pretty: "customerIpAddress";
3575
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3576
+ };
3577
+ readonly ww_directorapprovalrequired: {
3578
+ readonly pretty: "directorApprovalRequired";
3579
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3580
+ };
3581
+ readonly ww_directorapproveddate: {
3582
+ readonly pretty: "directorApprovedDate";
3583
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3584
+ };
3585
+ readonly ww_documentid: {
3586
+ readonly pretty: "documentId";
3587
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3588
+ };
3589
+ readonly ww_documentreceiveddate: {
3590
+ readonly pretty: "documentReceivedDate";
3591
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3592
+ };
3593
+ readonly ww_documentstatus: {
3594
+ readonly pretty: "documentStatus";
3595
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3596
+ };
3597
+ readonly ww_documentdisplay: {
3598
+ readonly pretty: "documentDisplay";
3599
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3600
+ };
3601
+ readonly ww_file: {
3602
+ readonly pretty: "file";
3603
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3604
+ };
3605
+ readonly ww_file_name: {
3606
+ readonly pretty: "fileName";
3607
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3608
+ };
3609
+ readonly ww_requirescontractorsignature: {
3610
+ readonly pretty: "requiresContractorSignature";
3611
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3612
+ };
3613
+ readonly ww_signedon: {
3614
+ readonly pretty: "signedOn";
3615
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3616
+ };
3617
+ readonly ww_type: {
3618
+ readonly pretty: "type";
3619
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3620
+ };
3621
+ readonly ww_uploadedfromweb: {
3622
+ readonly pretty: "uploadedFromWeb";
3623
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3624
+ };
3625
+ readonly ww_workerapproved: {
3626
+ readonly pretty: "workerApproved";
3627
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3628
+ };
3629
+ readonly ww_Contractor: {
3630
+ readonly pretty: "contractor";
3631
+ readonly entityKey: "contact";
3632
+ };
3633
+ readonly ww_DirectorApproved: {
3634
+ readonly pretty: "directorApproved";
3635
+ readonly entityKey: "contact";
3636
+ };
3637
+ readonly _ww_account_value: {
3638
+ readonly pretty: "accountValue";
3639
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3640
+ };
3641
+ readonly ww_attachment: {
3642
+ readonly pretty: "attachment";
3643
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3644
+ };
3645
+ readonly ww_attachment_name: {
3646
+ readonly pretty: "attachmentName";
3647
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3648
+ };
3649
+ readonly ww_category: {
3650
+ readonly pretty: "category";
3651
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3652
+ };
3653
+ readonly ww_date6catssigned: {
3654
+ readonly pretty: "date6catsSigned";
3655
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3656
+ };
3657
+ readonly ww_dateagencysigned: {
3658
+ readonly pretty: "dateAgencySigned";
3659
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3660
+ };
3661
+ readonly ww_datereceived: {
3662
+ readonly pretty: "dateReceived";
3663
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3664
+ };
3665
+ readonly ww_datereviewed: {
3666
+ readonly pretty: "dateReviewed";
3667
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3668
+ };
3669
+ readonly ww_documentrefnumber: {
3670
+ readonly pretty: "documentRefNumber";
3671
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3672
+ };
3673
+ readonly ww_documenttype: {
3674
+ readonly pretty: "documentType";
3675
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3676
+ };
3677
+ readonly ww_ipaddress: {
3678
+ readonly pretty: "ipAddress";
3679
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3680
+ };
3681
+ readonly ww_name: {
3682
+ readonly pretty: "name";
3683
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3684
+ };
3685
+ readonly ww_signature: {
3686
+ readonly pretty: "signature";
3687
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3688
+ };
3689
+ readonly ww_signature_timestamp: {
3690
+ readonly pretty: "signatureTimestamp";
3691
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3692
+ };
3693
+ readonly ww_signature_url: {
3694
+ readonly pretty: "signatureUrl";
3695
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3696
+ };
3697
+ readonly ww_signatureid: {
3698
+ readonly pretty: "signatureId";
3699
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3700
+ };
3701
+ readonly ww_validfrom: {
3702
+ readonly pretty: "validFrom";
3703
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3704
+ };
3705
+ readonly ww_validto: {
3706
+ readonly pretty: "validTo";
3707
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3708
+ };
3709
+ readonly ww_documentreceivedtime: {
3710
+ readonly pretty: "documentReceivedTime";
3711
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3712
+ };
3713
+ readonly ww_source: {
3714
+ readonly pretty: "source";
3715
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3716
+ };
3717
+ readonly _ww_changerequestdocuments_value: {
3718
+ readonly pretty: "changeRequestDocumentsValue";
3719
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3720
+ };
3721
+ readonly ww_identityverificationstatus: {
3722
+ readonly pretty: "identityVerificationStatus";
3723
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3724
+ };
3725
+ readonly _ww_simulation_value: {
3726
+ readonly pretty: "simulationValue";
3727
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3728
+ };
3729
+ readonly ww_employmenttype: {
3730
+ readonly pretty: "employmentType";
3731
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3732
+ };
3733
+ readonly _ww_assignmentextensions_value: {
3734
+ readonly pretty: "assignmentExtensionsValue";
3735
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3736
+ };
3737
+ readonly ww_reasons: {
3738
+ readonly pretty: "reasons";
3739
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3740
+ };
3741
+ readonly ww_contracttype: {
3742
+ readonly pretty: "contractType";
3743
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3744
+ };
3745
+ readonly ww_requiredbeforelegalapproval: {
3746
+ readonly pretty: "requiredBeforeLegalApproval";
3747
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3748
+ };
3749
+ readonly ww_value: {
3750
+ readonly pretty: "value";
3751
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3752
+ };
3753
+ readonly ww_limitedcompanyname: {
3754
+ readonly pretty: "limitedCompanyName";
3755
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3756
+ };
3757
+ readonly ww_config: {
3758
+ readonly pretty: "config";
3759
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3760
+ };
3761
+ readonly ww_identityverificationurl: {
3762
+ readonly pretty: "identityVerificationUrl";
3763
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3764
+ };
3765
+ }>, "type" | "category" | "name" | "contractorDocumentId" | "documentStatus" | "documentDisplay" | "fileName">, z.UnknownKeysParam, z.ZodTypeAny, {
3766
+ type?: number | null | undefined;
3767
+ category?: number | null | undefined;
3768
+ name?: string | null | undefined;
3769
+ contractorDocumentId?: string | null | undefined;
3770
+ documentStatus?: number | null | undefined;
3771
+ documentDisplay?: number | null | undefined;
3772
+ fileName?: string | null | undefined;
3773
+ }, {
3774
+ type?: number | null | undefined;
3775
+ category?: number | null | undefined;
3776
+ name?: string | null | undefined;
3777
+ contractorDocumentId?: string | null | undefined;
3778
+ documentStatus?: number | null | undefined;
3779
+ documentDisplay?: number | null | undefined;
3780
+ fileName?: string | null | undefined;
3781
+ }>>>, "many">>;
3782
+ complianceInsuranceDocs: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
3783
+ readonly _ownerid_value: {
3784
+ readonly pretty: "ownerIdValue";
3785
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3786
+ };
3787
+ readonly _owningbusinessunit_value: {
3788
+ readonly pretty: "owningBusinessUnitValue";
3789
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3790
+ };
3791
+ readonly _owningteam_value: {
3792
+ readonly pretty: "owningTeamValue";
3793
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3794
+ };
3795
+ readonly _owninguser_value: {
3796
+ readonly pretty: "owningUserValue";
3797
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3798
+ };
3799
+ readonly '@odata.etag': {
3800
+ readonly pretty: "etag";
3801
+ readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
3802
+ };
3803
+ readonly versionnumber: {
3804
+ readonly pretty: "versionNumber";
3805
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3806
+ };
3807
+ readonly _createdby_value: {
3808
+ readonly pretty: "createdByValue";
3809
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3810
+ };
3811
+ readonly createdon: {
3812
+ readonly pretty: "createdOn";
3813
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3814
+ };
3815
+ readonly _createdonbehalfby_value: {
3816
+ readonly pretty: "createdOnBehalfByValue";
3817
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3818
+ };
3819
+ readonly _modifiedby_value: {
3820
+ readonly pretty: "modifiedByValue";
3821
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3822
+ };
3823
+ readonly modifiedon: {
3824
+ readonly pretty: "modifiedOn";
3825
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3826
+ };
3827
+ readonly _modifiedonbehalfby_value: {
3828
+ readonly pretty: "modifiedOnBehalfByValue";
3829
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3830
+ };
3831
+ readonly statecode: {
3832
+ readonly pretty: "stateCode";
3833
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3834
+ };
3835
+ readonly statuscode: {
3836
+ readonly pretty: "statusCode";
3837
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3838
+ };
3839
+ readonly importsequencenumber: {
3840
+ readonly pretty: "importSequenceNumber";
3841
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3842
+ };
3843
+ readonly overriddencreatedon: {
3844
+ readonly pretty: "overriddenCreatedOn";
3845
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3846
+ };
3847
+ readonly timezoneruleversionnumber: {
3848
+ readonly pretty: "timezoneRuleVersionNumber";
3849
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
3850
+ };
3851
+ readonly utcconversiontimezonecode: {
3852
+ readonly pretty: "utcConversionTimezoneCode";
3853
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
3854
+ };
3855
+ } & {
3856
+ readonly _ww_contractor_value: {
3857
+ readonly relationshipName: "ww_Contractor";
3858
+ readonly entity: "contacts";
3859
+ readonly pretty: "contractorValue";
3860
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3861
+ };
3862
+ readonly _ww_directorapproved_value: {
3863
+ readonly relationshipName: "ww_DirectorApproved";
3864
+ readonly entity: "contacts";
3865
+ readonly pretty: "directorApprovedValue";
3866
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3867
+ };
3868
+ readonly _ww_scats_contractingContractor_value: {
3869
+ readonly pretty: "scatsContractingContractorValue";
3870
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3871
+ };
3872
+ readonly ww_contractordocumentid: {
3873
+ readonly pretty: "contractorDocumentId";
3874
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3875
+ };
3876
+ readonly ww_customeripaddress: {
3877
+ readonly pretty: "customerIpAddress";
3878
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3879
+ };
3880
+ readonly ww_directorapprovalrequired: {
3881
+ readonly pretty: "directorApprovalRequired";
3882
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3883
+ };
3884
+ readonly ww_directorapproveddate: {
3885
+ readonly pretty: "directorApprovedDate";
3886
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3887
+ };
3888
+ readonly ww_documentid: {
3889
+ readonly pretty: "documentId";
3890
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3891
+ };
3892
+ readonly ww_documentreceiveddate: {
3893
+ readonly pretty: "documentReceivedDate";
3894
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3895
+ };
3896
+ readonly ww_documentstatus: {
3897
+ readonly pretty: "documentStatus";
3898
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3899
+ };
3900
+ readonly ww_documentdisplay: {
3901
+ readonly pretty: "documentDisplay";
3902
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3903
+ };
3904
+ readonly ww_file: {
3905
+ readonly pretty: "file";
3906
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3907
+ };
3908
+ readonly ww_file_name: {
3909
+ readonly pretty: "fileName";
3910
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3911
+ };
3912
+ readonly ww_requirescontractorsignature: {
3913
+ readonly pretty: "requiresContractorSignature";
3914
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3915
+ };
3916
+ readonly ww_signedon: {
3917
+ readonly pretty: "signedOn";
3918
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3919
+ };
3920
+ readonly ww_type: {
3921
+ readonly pretty: "type";
3922
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3923
+ };
3924
+ readonly ww_uploadedfromweb: {
3925
+ readonly pretty: "uploadedFromWeb";
3926
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3927
+ };
3928
+ readonly ww_workerapproved: {
3929
+ readonly pretty: "workerApproved";
3930
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3931
+ };
3932
+ readonly ww_Contractor: {
3933
+ readonly pretty: "contractor";
3934
+ readonly entityKey: "contact";
3935
+ };
3936
+ readonly ww_DirectorApproved: {
3937
+ readonly pretty: "directorApproved";
3938
+ readonly entityKey: "contact";
3939
+ };
3940
+ readonly _ww_account_value: {
3941
+ readonly pretty: "accountValue";
3942
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3943
+ };
3944
+ readonly ww_attachment: {
3945
+ readonly pretty: "attachment";
3946
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3947
+ };
3948
+ readonly ww_attachment_name: {
3949
+ readonly pretty: "attachmentName";
3950
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3951
+ };
3952
+ readonly ww_category: {
3953
+ readonly pretty: "category";
3954
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3955
+ };
3956
+ readonly ww_date6catssigned: {
3957
+ readonly pretty: "date6catsSigned";
3958
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3959
+ };
3960
+ readonly ww_dateagencysigned: {
3961
+ readonly pretty: "dateAgencySigned";
3962
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3963
+ };
3964
+ readonly ww_datereceived: {
3965
+ readonly pretty: "dateReceived";
3966
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3967
+ };
3968
+ readonly ww_datereviewed: {
3969
+ readonly pretty: "dateReviewed";
3970
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3971
+ };
3972
+ readonly ww_documentrefnumber: {
3973
+ readonly pretty: "documentRefNumber";
3974
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3975
+ };
3976
+ readonly ww_documenttype: {
3977
+ readonly pretty: "documentType";
3978
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3979
+ };
3980
+ readonly ww_ipaddress: {
3981
+ readonly pretty: "ipAddress";
3982
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3983
+ };
3984
+ readonly ww_name: {
3985
+ readonly pretty: "name";
3986
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3987
+ };
3988
+ readonly ww_signature: {
3989
+ readonly pretty: "signature";
3990
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3991
+ };
3992
+ readonly ww_signature_timestamp: {
3993
+ readonly pretty: "signatureTimestamp";
3994
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3995
+ };
3996
+ readonly ww_signature_url: {
3997
+ readonly pretty: "signatureUrl";
3998
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3999
+ };
4000
+ readonly ww_signatureid: {
4001
+ readonly pretty: "signatureId";
4002
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4003
+ };
4004
+ readonly ww_validfrom: {
4005
+ readonly pretty: "validFrom";
4006
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4007
+ };
4008
+ readonly ww_validto: {
4009
+ readonly pretty: "validTo";
4010
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4011
+ };
4012
+ readonly ww_documentreceivedtime: {
4013
+ readonly pretty: "documentReceivedTime";
4014
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4015
+ };
4016
+ readonly ww_source: {
4017
+ readonly pretty: "source";
4018
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4019
+ };
4020
+ readonly _ww_changerequestdocuments_value: {
4021
+ readonly pretty: "changeRequestDocumentsValue";
4022
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4023
+ };
4024
+ readonly ww_identityverificationstatus: {
4025
+ readonly pretty: "identityVerificationStatus";
4026
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4027
+ };
4028
+ readonly _ww_simulation_value: {
4029
+ readonly pretty: "simulationValue";
4030
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4031
+ };
4032
+ readonly ww_employmenttype: {
4033
+ readonly pretty: "employmentType";
4034
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4035
+ };
4036
+ readonly _ww_assignmentextensions_value: {
4037
+ readonly pretty: "assignmentExtensionsValue";
4038
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4039
+ };
4040
+ readonly ww_reasons: {
4041
+ readonly pretty: "reasons";
4042
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4043
+ };
4044
+ readonly ww_contracttype: {
4045
+ readonly pretty: "contractType";
4046
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4047
+ };
4048
+ readonly ww_requiredbeforelegalapproval: {
4049
+ readonly pretty: "requiredBeforeLegalApproval";
4050
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4051
+ };
4052
+ readonly ww_value: {
4053
+ readonly pretty: "value";
4054
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4055
+ };
4056
+ readonly ww_limitedcompanyname: {
4057
+ readonly pretty: "limitedCompanyName";
4058
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4059
+ };
4060
+ readonly ww_config: {
4061
+ readonly pretty: "config";
4062
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4063
+ };
4064
+ readonly ww_identityverificationurl: {
4065
+ readonly pretty: "identityVerificationUrl";
4066
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4067
+ };
4068
+ }>, "type" | "category" | "name" | "contractorDocumentId" | "documentStatus" | "documentDisplay" | "fileName">, z.UnknownKeysParam, z.ZodTypeAny, {
4069
+ type?: number | null | undefined;
4070
+ category?: number | null | undefined;
4071
+ name?: string | null | undefined;
4072
+ contractorDocumentId?: string | null | undefined;
4073
+ documentStatus?: number | null | undefined;
4074
+ documentDisplay?: number | null | undefined;
4075
+ fileName?: string | null | undefined;
4076
+ }, {
4077
+ type?: number | null | undefined;
4078
+ category?: number | null | undefined;
4079
+ name?: string | null | undefined;
4080
+ contractorDocumentId?: string | null | undefined;
4081
+ documentStatus?: number | null | undefined;
4082
+ documentDisplay?: number | null | undefined;
4083
+ fileName?: string | null | undefined;
4084
+ }>>>, "many">>;
4085
+ rightToWorkDocs: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
4086
+ readonly _ownerid_value: {
4087
+ readonly pretty: "ownerIdValue";
4088
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4089
+ };
4090
+ readonly _owningbusinessunit_value: {
4091
+ readonly pretty: "owningBusinessUnitValue";
4092
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4093
+ };
4094
+ readonly _owningteam_value: {
4095
+ readonly pretty: "owningTeamValue";
4096
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4097
+ };
4098
+ readonly _owninguser_value: {
4099
+ readonly pretty: "owningUserValue";
4100
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4101
+ };
4102
+ readonly '@odata.etag': {
4103
+ readonly pretty: "etag";
4104
+ readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
4105
+ };
4106
+ readonly versionnumber: {
4107
+ readonly pretty: "versionNumber";
4108
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4109
+ };
4110
+ readonly _createdby_value: {
4111
+ readonly pretty: "createdByValue";
4112
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4113
+ };
4114
+ readonly createdon: {
4115
+ readonly pretty: "createdOn";
4116
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4117
+ };
4118
+ readonly _createdonbehalfby_value: {
4119
+ readonly pretty: "createdOnBehalfByValue";
4120
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4121
+ };
4122
+ readonly _modifiedby_value: {
4123
+ readonly pretty: "modifiedByValue";
4124
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4125
+ };
4126
+ readonly modifiedon: {
4127
+ readonly pretty: "modifiedOn";
4128
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4129
+ };
4130
+ readonly _modifiedonbehalfby_value: {
4131
+ readonly pretty: "modifiedOnBehalfByValue";
4132
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4133
+ };
4134
+ readonly statecode: {
4135
+ readonly pretty: "stateCode";
4136
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4137
+ };
4138
+ readonly statuscode: {
4139
+ readonly pretty: "statusCode";
4140
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4141
+ };
4142
+ readonly importsequencenumber: {
4143
+ readonly pretty: "importSequenceNumber";
4144
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4145
+ };
4146
+ readonly overriddencreatedon: {
4147
+ readonly pretty: "overriddenCreatedOn";
4148
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4149
+ };
4150
+ readonly timezoneruleversionnumber: {
4151
+ readonly pretty: "timezoneRuleVersionNumber";
4152
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
4153
+ };
4154
+ readonly utcconversiontimezonecode: {
4155
+ readonly pretty: "utcConversionTimezoneCode";
4156
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
4157
+ };
4158
+ } & {
4159
+ readonly _ww_contractor_value: {
4160
+ readonly relationshipName: "ww_Contractor";
4161
+ readonly entity: "contacts";
4162
+ readonly pretty: "contractorValue";
4163
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4164
+ };
4165
+ readonly _ww_directorapproved_value: {
4166
+ readonly relationshipName: "ww_DirectorApproved";
4167
+ readonly entity: "contacts";
4168
+ readonly pretty: "directorApprovedValue";
4169
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4170
+ };
4171
+ readonly _ww_scats_contractingContractor_value: {
4172
+ readonly pretty: "scatsContractingContractorValue";
4173
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4174
+ };
4175
+ readonly ww_contractordocumentid: {
4176
+ readonly pretty: "contractorDocumentId";
4177
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4178
+ };
4179
+ readonly ww_customeripaddress: {
4180
+ readonly pretty: "customerIpAddress";
4181
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4182
+ };
4183
+ readonly ww_directorapprovalrequired: {
4184
+ readonly pretty: "directorApprovalRequired";
4185
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4186
+ };
4187
+ readonly ww_directorapproveddate: {
4188
+ readonly pretty: "directorApprovedDate";
4189
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4190
+ };
4191
+ readonly ww_documentid: {
4192
+ readonly pretty: "documentId";
4193
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4194
+ };
4195
+ readonly ww_documentreceiveddate: {
4196
+ readonly pretty: "documentReceivedDate";
4197
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4198
+ };
4199
+ readonly ww_documentstatus: {
4200
+ readonly pretty: "documentStatus";
4201
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4202
+ };
4203
+ readonly ww_documentdisplay: {
4204
+ readonly pretty: "documentDisplay";
4205
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4206
+ };
4207
+ readonly ww_file: {
4208
+ readonly pretty: "file";
4209
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4210
+ };
4211
+ readonly ww_file_name: {
4212
+ readonly pretty: "fileName";
4213
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4214
+ };
4215
+ readonly ww_requirescontractorsignature: {
4216
+ readonly pretty: "requiresContractorSignature";
4217
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4218
+ };
4219
+ readonly ww_signedon: {
4220
+ readonly pretty: "signedOn";
4221
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4222
+ };
4223
+ readonly ww_type: {
4224
+ readonly pretty: "type";
4225
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4226
+ };
4227
+ readonly ww_uploadedfromweb: {
4228
+ readonly pretty: "uploadedFromWeb";
4229
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4230
+ };
4231
+ readonly ww_workerapproved: {
4232
+ readonly pretty: "workerApproved";
4233
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4234
+ };
4235
+ readonly ww_Contractor: {
4236
+ readonly pretty: "contractor";
4237
+ readonly entityKey: "contact";
4238
+ };
4239
+ readonly ww_DirectorApproved: {
4240
+ readonly pretty: "directorApproved";
4241
+ readonly entityKey: "contact";
4242
+ };
4243
+ readonly _ww_account_value: {
4244
+ readonly pretty: "accountValue";
4245
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4246
+ };
4247
+ readonly ww_attachment: {
4248
+ readonly pretty: "attachment";
4249
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4250
+ };
4251
+ readonly ww_attachment_name: {
4252
+ readonly pretty: "attachmentName";
4253
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4254
+ };
4255
+ readonly ww_category: {
4256
+ readonly pretty: "category";
4257
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4258
+ };
4259
+ readonly ww_date6catssigned: {
4260
+ readonly pretty: "date6catsSigned";
4261
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4262
+ };
4263
+ readonly ww_dateagencysigned: {
4264
+ readonly pretty: "dateAgencySigned";
4265
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4266
+ };
4267
+ readonly ww_datereceived: {
4268
+ readonly pretty: "dateReceived";
4269
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4270
+ };
4271
+ readonly ww_datereviewed: {
4272
+ readonly pretty: "dateReviewed";
4273
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4274
+ };
4275
+ readonly ww_documentrefnumber: {
4276
+ readonly pretty: "documentRefNumber";
4277
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4278
+ };
4279
+ readonly ww_documenttype: {
4280
+ readonly pretty: "documentType";
4281
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4282
+ };
4283
+ readonly ww_ipaddress: {
4284
+ readonly pretty: "ipAddress";
4285
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4286
+ };
4287
+ readonly ww_name: {
4288
+ readonly pretty: "name";
4289
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4290
+ };
4291
+ readonly ww_signature: {
4292
+ readonly pretty: "signature";
4293
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4294
+ };
4295
+ readonly ww_signature_timestamp: {
4296
+ readonly pretty: "signatureTimestamp";
4297
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4298
+ };
4299
+ readonly ww_signature_url: {
4300
+ readonly pretty: "signatureUrl";
4301
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4302
+ };
4303
+ readonly ww_signatureid: {
4304
+ readonly pretty: "signatureId";
4305
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4306
+ };
4307
+ readonly ww_validfrom: {
4308
+ readonly pretty: "validFrom";
4309
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4310
+ };
4311
+ readonly ww_validto: {
4312
+ readonly pretty: "validTo";
4313
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4314
+ };
4315
+ readonly ww_documentreceivedtime: {
4316
+ readonly pretty: "documentReceivedTime";
4317
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4318
+ };
4319
+ readonly ww_source: {
4320
+ readonly pretty: "source";
4321
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4322
+ };
4323
+ readonly _ww_changerequestdocuments_value: {
4324
+ readonly pretty: "changeRequestDocumentsValue";
4325
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4326
+ };
4327
+ readonly ww_identityverificationstatus: {
4328
+ readonly pretty: "identityVerificationStatus";
4329
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4330
+ };
4331
+ readonly _ww_simulation_value: {
4332
+ readonly pretty: "simulationValue";
4333
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4334
+ };
4335
+ readonly ww_employmenttype: {
4336
+ readonly pretty: "employmentType";
4337
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4338
+ };
4339
+ readonly _ww_assignmentextensions_value: {
4340
+ readonly pretty: "assignmentExtensionsValue";
4341
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4342
+ };
4343
+ readonly ww_reasons: {
4344
+ readonly pretty: "reasons";
4345
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4346
+ };
4347
+ readonly ww_contracttype: {
4348
+ readonly pretty: "contractType";
4349
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4350
+ };
4351
+ readonly ww_requiredbeforelegalapproval: {
4352
+ readonly pretty: "requiredBeforeLegalApproval";
4353
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4354
+ };
4355
+ readonly ww_value: {
4356
+ readonly pretty: "value";
4357
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4358
+ };
4359
+ readonly ww_limitedcompanyname: {
4360
+ readonly pretty: "limitedCompanyName";
4361
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4362
+ };
4363
+ readonly ww_config: {
4364
+ readonly pretty: "config";
4365
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4366
+ };
4367
+ readonly ww_identityverificationurl: {
4368
+ readonly pretty: "identityVerificationUrl";
4369
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4370
+ };
4371
+ }>, "type" | "category" | "name" | "contractorDocumentId" | "documentStatus" | "documentDisplay" | "fileName">, z.UnknownKeysParam, z.ZodTypeAny, {
4372
+ type?: number | null | undefined;
4373
+ category?: number | null | undefined;
4374
+ name?: string | null | undefined;
4375
+ contractorDocumentId?: string | null | undefined;
4376
+ documentStatus?: number | null | undefined;
4377
+ documentDisplay?: number | null | undefined;
4378
+ fileName?: string | null | undefined;
4379
+ }, {
4380
+ type?: number | null | undefined;
4381
+ category?: number | null | undefined;
4382
+ name?: string | null | undefined;
4383
+ contractorDocumentId?: string | null | undefined;
4384
+ documentStatus?: number | null | undefined;
4385
+ documentDisplay?: number | null | undefined;
4386
+ fileName?: string | null | undefined;
4387
+ }>>>, "many">>;
4388
+ insuranceRequired: z.ZodOptional<z.ZodBoolean>;
4389
+ onboarding: z.ZodOptional<z.ZodObject<{
4390
+ currentStep: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4391
+ currentStatusKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4392
+ remainingSteps: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
4393
+ rightToWorkStatus: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4394
+ insuranceDocsStatus: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4395
+ complianceDocsStatus: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4396
+ complianceCheckStatus: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4397
+ }, "strip", z.ZodTypeAny, {
4398
+ currentStep?: string | undefined;
4399
+ currentStatusKey?: string | undefined;
4400
+ remainingSteps?: number | undefined;
4401
+ rightToWorkStatus?: string | undefined;
4402
+ insuranceDocsStatus?: string | undefined;
4403
+ complianceDocsStatus?: string | undefined;
4404
+ complianceCheckStatus?: string | undefined;
4405
+ }, {
4406
+ currentStep?: string | undefined;
4407
+ currentStatusKey?: string | undefined;
4408
+ remainingSteps?: number | undefined;
4409
+ rightToWorkStatus?: string | undefined;
4410
+ insuranceDocsStatus?: string | undefined;
4411
+ complianceDocsStatus?: string | undefined;
4412
+ complianceCheckStatus?: string | undefined;
4413
+ }>>;
460
4414
  }, z.UnknownKeysParam, z.ZodTypeAny, {
461
4415
  type: "referral";
462
- stageReasonLastChangedAt: string | null;
463
4416
  agency?: {
464
4417
  agencyValue?: string | null | undefined;
4418
+ agencyContactValue?: string | null | undefined;
465
4419
  agencyFormattedValue?: string | null | undefined;
466
4420
  agencyContactFormattedValue?: string | null | undefined;
467
4421
  } | undefined;
@@ -491,10 +4445,75 @@ export declare const SGetReferralWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
491
4445
  compliance?: {
492
4446
  approvedOn?: string | null | undefined;
493
4447
  } | undefined;
4448
+ onboarding?: {
4449
+ currentStep?: string | undefined;
4450
+ currentStatusKey?: string | undefined;
4451
+ remainingSteps?: number | undefined;
4452
+ rightToWorkStatus?: string | undefined;
4453
+ insuranceDocsStatus?: string | undefined;
4454
+ complianceDocsStatus?: string | undefined;
4455
+ complianceCheckStatus?: string | undefined;
4456
+ } | undefined;
4457
+ contracts?: ({
4458
+ type?: number | null | undefined;
4459
+ category?: number | null | undefined;
4460
+ name?: string | null | undefined;
4461
+ contractorDocumentId?: string | null | undefined;
4462
+ documentStatus?: number | null | undefined;
4463
+ documentDisplay?: number | null | undefined;
4464
+ fileName?: string | null | undefined;
4465
+ } | null | undefined)[] | undefined;
494
4466
  referralFriendlyId?: string | undefined;
4467
+ referralDocuments?: ({
4468
+ type?: number | null | undefined;
4469
+ category?: number | null | undefined;
4470
+ name?: string | null | undefined;
4471
+ contractorDocumentId?: string | null | undefined;
4472
+ documentStatus?: number | null | undefined;
4473
+ documentDisplay?: number | null | undefined;
4474
+ fileName?: string | null | undefined;
4475
+ } | null | undefined)[] | undefined;
4476
+ insuranceDocs?: ({
4477
+ type?: number | null | undefined;
4478
+ category?: number | null | undefined;
4479
+ name?: string | null | undefined;
4480
+ contractorDocumentId?: string | null | undefined;
4481
+ documentStatus?: number | null | undefined;
4482
+ documentDisplay?: number | null | undefined;
4483
+ fileName?: string | null | undefined;
4484
+ } | null | undefined)[] | undefined;
4485
+ complianceDocs?: ({
4486
+ type?: number | null | undefined;
4487
+ category?: number | null | undefined;
4488
+ name?: string | null | undefined;
4489
+ contractorDocumentId?: string | null | undefined;
4490
+ documentStatus?: number | null | undefined;
4491
+ documentDisplay?: number | null | undefined;
4492
+ fileName?: string | null | undefined;
4493
+ } | null | undefined)[] | undefined;
4494
+ complianceInsuranceDocs?: ({
4495
+ type?: number | null | undefined;
4496
+ category?: number | null | undefined;
4497
+ name?: string | null | undefined;
4498
+ contractorDocumentId?: string | null | undefined;
4499
+ documentStatus?: number | null | undefined;
4500
+ documentDisplay?: number | null | undefined;
4501
+ fileName?: string | null | undefined;
4502
+ } | null | undefined)[] | undefined;
4503
+ rightToWorkDocs?: ({
4504
+ type?: number | null | undefined;
4505
+ category?: number | null | undefined;
4506
+ name?: string | null | undefined;
4507
+ contractorDocumentId?: string | null | undefined;
4508
+ documentStatus?: number | null | undefined;
4509
+ documentDisplay?: number | null | undefined;
4510
+ fileName?: string | null | undefined;
4511
+ } | null | undefined)[] | undefined;
4512
+ insuranceRequired?: boolean | undefined;
495
4513
  }, {
496
4514
  agency?: {
497
4515
  agencyValue?: string | null | undefined;
4516
+ agencyContactValue?: string | null | undefined;
498
4517
  agencyFormattedValue?: string | null | undefined;
499
4518
  agencyContactFormattedValue?: string | null | undefined;
500
4519
  } | undefined;
@@ -525,8 +4544,71 @@ export declare const SGetReferralWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
525
4544
  compliance?: {
526
4545
  approvedOn?: string | null | undefined;
527
4546
  } | undefined;
4547
+ onboarding?: {
4548
+ currentStep?: string | undefined;
4549
+ currentStatusKey?: string | undefined;
4550
+ remainingSteps?: number | undefined;
4551
+ rightToWorkStatus?: string | undefined;
4552
+ insuranceDocsStatus?: string | undefined;
4553
+ complianceDocsStatus?: string | undefined;
4554
+ complianceCheckStatus?: string | undefined;
4555
+ } | undefined;
4556
+ contracts?: ({
4557
+ type?: number | null | undefined;
4558
+ category?: number | null | undefined;
4559
+ name?: string | null | undefined;
4560
+ contractorDocumentId?: string | null | undefined;
4561
+ documentStatus?: number | null | undefined;
4562
+ documentDisplay?: number | null | undefined;
4563
+ fileName?: string | null | undefined;
4564
+ } | null | undefined)[] | undefined;
528
4565
  referralFriendlyId?: string | undefined;
529
- stageReasonLastChangedAt?: unknown;
4566
+ referralDocuments?: ({
4567
+ type?: number | null | undefined;
4568
+ category?: number | null | undefined;
4569
+ name?: string | null | undefined;
4570
+ contractorDocumentId?: string | null | undefined;
4571
+ documentStatus?: number | null | undefined;
4572
+ documentDisplay?: number | null | undefined;
4573
+ fileName?: string | null | undefined;
4574
+ } | null | undefined)[] | undefined;
4575
+ insuranceDocs?: ({
4576
+ type?: number | null | undefined;
4577
+ category?: number | null | undefined;
4578
+ name?: string | null | undefined;
4579
+ contractorDocumentId?: string | null | undefined;
4580
+ documentStatus?: number | null | undefined;
4581
+ documentDisplay?: number | null | undefined;
4582
+ fileName?: string | null | undefined;
4583
+ } | null | undefined)[] | undefined;
4584
+ complianceDocs?: ({
4585
+ type?: number | null | undefined;
4586
+ category?: number | null | undefined;
4587
+ name?: string | null | undefined;
4588
+ contractorDocumentId?: string | null | undefined;
4589
+ documentStatus?: number | null | undefined;
4590
+ documentDisplay?: number | null | undefined;
4591
+ fileName?: string | null | undefined;
4592
+ } | null | undefined)[] | undefined;
4593
+ complianceInsuranceDocs?: ({
4594
+ type?: number | null | undefined;
4595
+ category?: number | null | undefined;
4596
+ name?: string | null | undefined;
4597
+ contractorDocumentId?: string | null | undefined;
4598
+ documentStatus?: number | null | undefined;
4599
+ documentDisplay?: number | null | undefined;
4600
+ fileName?: string | null | undefined;
4601
+ } | null | undefined)[] | undefined;
4602
+ rightToWorkDocs?: ({
4603
+ type?: number | null | undefined;
4604
+ category?: number | null | undefined;
4605
+ name?: string | null | undefined;
4606
+ contractorDocumentId?: string | null | undefined;
4607
+ documentStatus?: number | null | undefined;
4608
+ documentDisplay?: number | null | undefined;
4609
+ fileName?: string | null | undefined;
4610
+ } | null | undefined)[] | undefined;
4611
+ insuranceRequired?: boolean | undefined;
530
4612
  }>, {
531
4613
  assignment: {
532
4614
  greaterEndDate: undefined;
@@ -560,10 +4642,75 @@ export declare const SGetReferralWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
560
4642
  statusWorker: import("../../../types/Statuses.js").TStatusGroup;
561
4643
  status?: never;
562
4644
  };
4645
+ assignmentDocuments: undefined;
4646
+ referralDocuments: ({
4647
+ type?: number | null | undefined;
4648
+ category?: number | null | undefined;
4649
+ name?: string | null | undefined;
4650
+ contractorDocumentId?: string | null | undefined;
4651
+ documentStatus?: number | null | undefined;
4652
+ documentDisplay?: number | null | undefined;
4653
+ fileName?: string | null | undefined;
4654
+ } | null | undefined)[] | undefined;
4655
+ contracts: ({
4656
+ type?: number | null | undefined;
4657
+ category?: number | null | undefined;
4658
+ name?: string | null | undefined;
4659
+ contractorDocumentId?: string | null | undefined;
4660
+ documentStatus?: number | null | undefined;
4661
+ documentDisplay?: number | null | undefined;
4662
+ fileName?: string | null | undefined;
4663
+ } | null | undefined)[] | undefined;
4664
+ insuranceDocs: ({
4665
+ type?: number | null | undefined;
4666
+ category?: number | null | undefined;
4667
+ name?: string | null | undefined;
4668
+ contractorDocumentId?: string | null | undefined;
4669
+ documentStatus?: number | null | undefined;
4670
+ documentDisplay?: number | null | undefined;
4671
+ fileName?: string | null | undefined;
4672
+ } | null | undefined)[] | undefined;
4673
+ complianceDocs: ({
4674
+ type?: number | null | undefined;
4675
+ category?: number | null | undefined;
4676
+ name?: string | null | undefined;
4677
+ contractorDocumentId?: string | null | undefined;
4678
+ documentStatus?: number | null | undefined;
4679
+ documentDisplay?: number | null | undefined;
4680
+ fileName?: string | null | undefined;
4681
+ } | null | undefined)[] | undefined;
4682
+ complianceInsuranceDocs: ({
4683
+ type?: number | null | undefined;
4684
+ category?: number | null | undefined;
4685
+ name?: string | null | undefined;
4686
+ contractorDocumentId?: string | null | undefined;
4687
+ documentStatus?: number | null | undefined;
4688
+ documentDisplay?: number | null | undefined;
4689
+ fileName?: string | null | undefined;
4690
+ } | null | undefined)[] | undefined;
4691
+ rightToWorkDocs: ({
4692
+ type?: number | null | undefined;
4693
+ category?: number | null | undefined;
4694
+ name?: string | null | undefined;
4695
+ contractorDocumentId?: string | null | undefined;
4696
+ documentStatus?: number | null | undefined;
4697
+ documentDisplay?: number | null | undefined;
4698
+ fileName?: string | null | undefined;
4699
+ } | null | undefined)[] | undefined;
4700
+ insuranceRequired: boolean | undefined;
4701
+ onboarding: {
4702
+ currentStep?: string | undefined;
4703
+ currentStatusKey?: string | undefined;
4704
+ remainingSteps?: number | undefined;
4705
+ rightToWorkStatus?: string | undefined;
4706
+ insuranceDocsStatus?: string | undefined;
4707
+ complianceDocsStatus?: string | undefined;
4708
+ complianceCheckStatus?: string | undefined;
4709
+ } | undefined;
563
4710
  type: "referral";
564
- stageReasonLastChangedAt: string | null;
565
4711
  agency?: {
566
4712
  agencyValue?: string | null | undefined;
4713
+ agencyContactValue?: string | null | undefined;
567
4714
  agencyFormattedValue?: string | null | undefined;
568
4715
  agencyContactFormattedValue?: string | null | undefined;
569
4716
  } | undefined;
@@ -589,6 +4736,7 @@ export declare const SGetReferralWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
589
4736
  }, {
590
4737
  agency?: {
591
4738
  agencyValue?: string | null | undefined;
4739
+ agencyContactValue?: string | null | undefined;
592
4740
  agencyFormattedValue?: string | null | undefined;
593
4741
  agencyContactFormattedValue?: string | null | undefined;
594
4742
  } | undefined;
@@ -619,8 +4767,71 @@ export declare const SGetReferralWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
619
4767
  compliance?: {
620
4768
  approvedOn?: string | null | undefined;
621
4769
  } | undefined;
4770
+ onboarding?: {
4771
+ currentStep?: string | undefined;
4772
+ currentStatusKey?: string | undefined;
4773
+ remainingSteps?: number | undefined;
4774
+ rightToWorkStatus?: string | undefined;
4775
+ insuranceDocsStatus?: string | undefined;
4776
+ complianceDocsStatus?: string | undefined;
4777
+ complianceCheckStatus?: string | undefined;
4778
+ } | undefined;
4779
+ contracts?: ({
4780
+ type?: number | null | undefined;
4781
+ category?: number | null | undefined;
4782
+ name?: string | null | undefined;
4783
+ contractorDocumentId?: string | null | undefined;
4784
+ documentStatus?: number | null | undefined;
4785
+ documentDisplay?: number | null | undefined;
4786
+ fileName?: string | null | undefined;
4787
+ } | null | undefined)[] | undefined;
622
4788
  referralFriendlyId?: string | undefined;
623
- stageReasonLastChangedAt?: unknown;
4789
+ referralDocuments?: ({
4790
+ type?: number | null | undefined;
4791
+ category?: number | null | undefined;
4792
+ name?: string | null | undefined;
4793
+ contractorDocumentId?: string | null | undefined;
4794
+ documentStatus?: number | null | undefined;
4795
+ documentDisplay?: number | null | undefined;
4796
+ fileName?: string | null | undefined;
4797
+ } | null | undefined)[] | undefined;
4798
+ insuranceDocs?: ({
4799
+ type?: number | null | undefined;
4800
+ category?: number | null | undefined;
4801
+ name?: string | null | undefined;
4802
+ contractorDocumentId?: string | null | undefined;
4803
+ documentStatus?: number | null | undefined;
4804
+ documentDisplay?: number | null | undefined;
4805
+ fileName?: string | null | undefined;
4806
+ } | null | undefined)[] | undefined;
4807
+ complianceDocs?: ({
4808
+ type?: number | null | undefined;
4809
+ category?: number | null | undefined;
4810
+ name?: string | null | undefined;
4811
+ contractorDocumentId?: string | null | undefined;
4812
+ documentStatus?: number | null | undefined;
4813
+ documentDisplay?: number | null | undefined;
4814
+ fileName?: string | null | undefined;
4815
+ } | null | undefined)[] | undefined;
4816
+ complianceInsuranceDocs?: ({
4817
+ type?: number | null | undefined;
4818
+ category?: number | null | undefined;
4819
+ name?: string | null | undefined;
4820
+ contractorDocumentId?: string | null | undefined;
4821
+ documentStatus?: number | null | undefined;
4822
+ documentDisplay?: number | null | undefined;
4823
+ fileName?: string | null | undefined;
4824
+ } | null | undefined)[] | undefined;
4825
+ rightToWorkDocs?: ({
4826
+ type?: number | null | undefined;
4827
+ category?: number | null | undefined;
4828
+ name?: string | null | undefined;
4829
+ contractorDocumentId?: string | null | undefined;
4830
+ documentStatus?: number | null | undefined;
4831
+ documentDisplay?: number | null | undefined;
4832
+ fileName?: string | null | undefined;
4833
+ } | null | undefined)[] | undefined;
4834
+ insuranceRequired?: boolean | undefined;
624
4835
  }>;
625
4836
  export type TGetEngagementsWorkerSummaryBFF = z.infer<typeof SGetReferralWorkerSummaryBFF> | z.infer<typeof SGetAssignmentWorkerSummaryBFF>;
626
4837
  //# sourceMappingURL=SGetEngagementsWorkerSummaryBFF.d.ts.map