@workwell-global/toolkit 1.1.15 → 1.1.16

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 (44) hide show
  1. package/dist/models/schemas/api/referral/DReferralAPI.d.ts +1 -1
  2. package/dist/models/schemas/api/referral/DReferralAPI.js +1 -1
  3. package/dist/models/schemas/api/referral/DReferralAPI.js.map +1 -1
  4. package/dist/models/schemas/api/referral/TReferralAPI.d.ts +8 -8
  5. package/dist/models/schemas/api/referral/index.d.ts +8 -8
  6. package/dist/models/schemas/bff/{engagementsAgentSummary → engagementsSummary}/SGetEngagementsAgentSummaryBFF.d.ts +2 -0
  7. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAgentSummaryBFF.d.ts.map +1 -0
  8. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAgentSummaryBFF.js.map +1 -0
  9. package/dist/models/schemas/bff/{engagementsAgentSummary → engagementsSummary}/SGetEngagementsAuditBFF.d.ts +8 -5
  10. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAuditBFF.d.ts.map +1 -0
  11. package/dist/models/schemas/bff/{engagementsAgentSummary → engagementsSummary}/SGetEngagementsAuditBFF.js +18 -27
  12. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAuditBFF.js.map +1 -0
  13. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts +626 -0
  14. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts.map +1 -0
  15. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.js +114 -0
  16. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.js.map +1 -0
  17. package/dist/models/schemas/bff/{engagementsAgentSummary → engagementsSummary}/index.d.ts +1 -0
  18. package/dist/models/schemas/bff/engagementsSummary/index.d.ts.map +1 -0
  19. package/dist/models/schemas/bff/{engagementsAgentSummary → engagementsSummary}/index.js +1 -0
  20. package/dist/models/schemas/bff/engagementsSummary/index.js.map +1 -0
  21. package/dist/models/schemas/bff/helpers/AssignmentHelper.d.ts +4 -0
  22. package/dist/models/schemas/bff/helpers/AssignmentHelper.d.ts.map +1 -1
  23. package/dist/models/schemas/bff/helpers/AssignmentHelper.js +2 -2
  24. package/dist/models/schemas/bff/helpers/AssignmentHelper.js.map +1 -1
  25. package/dist/models/schemas/bff/helpers/ReferralHelper.d.ts +3 -0
  26. package/dist/models/schemas/bff/helpers/ReferralHelper.d.ts.map +1 -1
  27. package/dist/models/schemas/bff/helpers/ReferralHelper.js +2 -1
  28. package/dist/models/schemas/bff/helpers/ReferralHelper.js.map +1 -1
  29. package/dist/models/schemas/bff/index.d.ts +1 -1
  30. package/dist/models/schemas/bff/index.d.ts.map +1 -1
  31. package/dist/models/schemas/bff/index.js +1 -1
  32. package/dist/models/schemas/bff/index.js.map +1 -1
  33. package/dist/models/schemas/bff/referralsSummary/SGetReferralsSummary.d.ts +2 -0
  34. package/dist/models/schemas/bff/referralsSummary/SGetReferralsSummary.d.ts.map +1 -1
  35. package/dist/models/types/Stages.d.ts +1 -1
  36. package/dist/models/types/Stages.d.ts.map +1 -1
  37. package/package.json +1 -1
  38. package/dist/models/schemas/bff/engagementsAgentSummary/SGetEngagementsAgentSummaryBFF.d.ts.map +0 -1
  39. package/dist/models/schemas/bff/engagementsAgentSummary/SGetEngagementsAgentSummaryBFF.js.map +0 -1
  40. package/dist/models/schemas/bff/engagementsAgentSummary/SGetEngagementsAuditBFF.d.ts.map +0 -1
  41. package/dist/models/schemas/bff/engagementsAgentSummary/SGetEngagementsAuditBFF.js.map +0 -1
  42. package/dist/models/schemas/bff/engagementsAgentSummary/index.d.ts.map +0 -1
  43. package/dist/models/schemas/bff/engagementsAgentSummary/index.js.map +0 -1
  44. /package/dist/models/schemas/bff/{engagementsAgentSummary → engagementsSummary}/SGetEngagementsAgentSummaryBFF.js +0 -0
@@ -0,0 +1,626 @@
1
+ import { z } from 'zod';
2
+ export declare const SGetAssignmentWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
3
+ readonly assignmentId: z.ZodOptional<z.ZodString>;
4
+ readonly assignmentNumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5
+ readonly referralId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6
+ readonly progress: z.ZodOptional<z.ZodObject<{
7
+ readonly stage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
+ readonly stageReason: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ readonly reportingStatus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
11
+ stage?: number | null | undefined;
12
+ stageReason?: number | null | undefined;
13
+ reportingStatus?: number | null | undefined;
14
+ }, {
15
+ stage?: number | null | undefined;
16
+ stageReason?: number | null | undefined;
17
+ reportingStatus?: number | null | undefined;
18
+ }>>;
19
+ readonly contractor: z.ZodOptional<z.ZodObject<{
20
+ readonly contractorValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ readonly contractorFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
23
+ contractorValue?: string | null | undefined;
24
+ contractorFormattedValue?: string | null | undefined;
25
+ }, {
26
+ contractorValue?: string | null | undefined;
27
+ contractorFormattedValue?: string | null | undefined;
28
+ }>>;
29
+ readonly assignment: z.ZodOptional<z.ZodObject<{
30
+ readonly contractorPayRateCurrencyValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ readonly startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ readonly endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ readonly actualEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ readonly jobRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ readonly endClient: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ readonly workCountry: z.ZodTypeAny;
37
+ readonly parentSolution: z.ZodTypeAny;
38
+ readonly solution: z.ZodTypeAny;
39
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
40
+ solution?: any;
41
+ endClient?: string | null | undefined;
42
+ contractorPayRateCurrencyValue?: string | null | undefined;
43
+ startDate?: string | null | undefined;
44
+ endDate?: string | null | undefined;
45
+ actualEndDate?: string | null | undefined;
46
+ jobRole?: string | null | undefined;
47
+ workCountry?: any;
48
+ parentSolution?: any;
49
+ }, {
50
+ solution?: any;
51
+ endClient?: string | null | undefined;
52
+ contractorPayRateCurrencyValue?: string | null | undefined;
53
+ startDate?: string | null | undefined;
54
+ endDate?: string | null | undefined;
55
+ actualEndDate?: string | null | undefined;
56
+ jobRole?: string | null | undefined;
57
+ workCountry?: any;
58
+ parentSolution?: any;
59
+ }>>;
60
+ readonly agency: z.ZodOptional<z.ZodObject<{
61
+ readonly agencyValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ readonly agencyFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ readonly agencyContactFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
65
+ agencyValue?: string | null | undefined;
66
+ agencyFormattedValue?: string | null | undefined;
67
+ agencyContactFormattedValue?: string | null | undefined;
68
+ }, {
69
+ agencyValue?: string | null | undefined;
70
+ agencyFormattedValue?: string | null | undefined;
71
+ agencyContactFormattedValue?: string | null | undefined;
72
+ }>>;
73
+ createdOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
74
+ } & {
75
+ type: z.ZodCatch<z.ZodLiteral<"assignment">>;
76
+ stageReasonLastChangedAt: z.ZodCatch<z.ZodNullable<z.ZodString>>;
77
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
78
+ type: "assignment";
79
+ stageReasonLastChangedAt: string | null;
80
+ agency?: {
81
+ agencyValue?: string | null | undefined;
82
+ agencyFormattedValue?: string | null | undefined;
83
+ agencyContactFormattedValue?: string | null | undefined;
84
+ } | undefined;
85
+ assignment?: {
86
+ solution?: any;
87
+ endClient?: string | null | undefined;
88
+ contractorPayRateCurrencyValue?: string | null | undefined;
89
+ startDate?: string | null | undefined;
90
+ endDate?: string | null | undefined;
91
+ actualEndDate?: string | null | undefined;
92
+ jobRole?: string | null | undefined;
93
+ workCountry?: any;
94
+ parentSolution?: any;
95
+ } | undefined;
96
+ createdOn?: string | null | undefined;
97
+ assignmentId?: string | undefined;
98
+ assignmentNumber?: string | null | undefined;
99
+ referralId?: string | null | undefined;
100
+ progress?: {
101
+ stage?: number | null | undefined;
102
+ stageReason?: number | null | undefined;
103
+ reportingStatus?: number | null | undefined;
104
+ } | undefined;
105
+ contractor?: {
106
+ contractorValue?: string | null | undefined;
107
+ contractorFormattedValue?: string | null | undefined;
108
+ } | undefined;
109
+ }, {
110
+ agency?: {
111
+ agencyValue?: string | null | undefined;
112
+ agencyFormattedValue?: string | null | undefined;
113
+ agencyContactFormattedValue?: string | null | undefined;
114
+ } | undefined;
115
+ type?: unknown;
116
+ assignment?: {
117
+ solution?: any;
118
+ endClient?: string | null | undefined;
119
+ contractorPayRateCurrencyValue?: string | null | undefined;
120
+ startDate?: string | null | undefined;
121
+ endDate?: string | null | undefined;
122
+ actualEndDate?: string | null | undefined;
123
+ jobRole?: string | null | undefined;
124
+ workCountry?: any;
125
+ parentSolution?: any;
126
+ } | undefined;
127
+ createdOn?: string | null | undefined;
128
+ assignmentId?: string | undefined;
129
+ assignmentNumber?: string | null | undefined;
130
+ referralId?: string | null | undefined;
131
+ progress?: {
132
+ stage?: number | null | undefined;
133
+ stageReason?: number | null | undefined;
134
+ reportingStatus?: number | null | undefined;
135
+ } | undefined;
136
+ contractor?: {
137
+ contractorValue?: string | null | undefined;
138
+ contractorFormattedValue?: string | null | undefined;
139
+ } | undefined;
140
+ stageReasonLastChangedAt?: unknown;
141
+ }>, {
142
+ name: undefined;
143
+ referralFriendlyId: undefined;
144
+ assignment: {
145
+ greaterEndDate: string | null | undefined;
146
+ solution: any;
147
+ workCountry: any;
148
+ endClient?: string | null | undefined;
149
+ contractorPayRateCurrencyValue?: string | null | undefined;
150
+ startDate?: string | null | undefined;
151
+ endDate?: string | null | undefined;
152
+ actualEndDate?: string | null | undefined;
153
+ jobRole?: string | null | undefined;
154
+ parentSolution?: any;
155
+ };
156
+ progress: {
157
+ happyToProceed: undefined;
158
+ stage?: number | null | undefined;
159
+ stageReason?: number | null | undefined;
160
+ reportingStatus?: number | null | undefined;
161
+ };
162
+ compliance: undefined;
163
+ statusDetails: {
164
+ progressedToStatusGroupDate: undefined;
165
+ displayKey: import("../../../types/Stages.js").TStageDisplayTextKey;
166
+ detailDisplayKey: import("../../../types/Stages.js").TStageDetailDisplayTextKey;
167
+ isTaggedStatus: boolean;
168
+ isChangeRequest: boolean;
169
+ isEndingSoon: boolean;
170
+ status: import("../../../types/Statuses.js").TStatusGroup;
171
+ statusAgency?: never;
172
+ statusWorker?: never;
173
+ } | {
174
+ progressedToStatusGroupDate: undefined;
175
+ displayKey: import("../../../types/Stages.js").TStageDisplayTextKey;
176
+ detailDisplayKey: import("../../../types/Stages.js").TStageDetailDisplayTextKey;
177
+ isTaggedStatus: boolean;
178
+ isChangeRequest: boolean;
179
+ isEndingSoon: boolean;
180
+ statusAgency: import("../../../types/Statuses.js").TStatusGroup;
181
+ statusWorker: import("../../../types/Statuses.js").TStatusGroup;
182
+ status?: never;
183
+ };
184
+ type: "assignment";
185
+ stageReasonLastChangedAt: string | null;
186
+ agency?: {
187
+ agencyValue?: string | null | undefined;
188
+ agencyFormattedValue?: string | null | undefined;
189
+ agencyContactFormattedValue?: string | null | undefined;
190
+ } | undefined;
191
+ createdOn?: string | null | undefined;
192
+ assignmentId?: string | undefined;
193
+ assignmentNumber?: string | null | undefined;
194
+ referralId?: string | null | undefined;
195
+ contractor?: {
196
+ contractorValue?: string | null | undefined;
197
+ contractorFormattedValue?: string | null | undefined;
198
+ } | undefined;
199
+ }, {
200
+ agency?: {
201
+ agencyValue?: string | null | undefined;
202
+ agencyFormattedValue?: string | null | undefined;
203
+ agencyContactFormattedValue?: string | null | undefined;
204
+ } | undefined;
205
+ type?: unknown;
206
+ assignment?: {
207
+ solution?: any;
208
+ endClient?: string | null | undefined;
209
+ contractorPayRateCurrencyValue?: string | null | undefined;
210
+ startDate?: string | null | undefined;
211
+ endDate?: string | null | undefined;
212
+ actualEndDate?: string | null | undefined;
213
+ jobRole?: string | null | undefined;
214
+ workCountry?: any;
215
+ parentSolution?: any;
216
+ } | undefined;
217
+ createdOn?: string | null | undefined;
218
+ assignmentId?: string | undefined;
219
+ assignmentNumber?: string | null | undefined;
220
+ referralId?: string | null | undefined;
221
+ progress?: {
222
+ stage?: number | null | undefined;
223
+ stageReason?: number | null | undefined;
224
+ reportingStatus?: number | null | undefined;
225
+ } | undefined;
226
+ contractor?: {
227
+ contractorValue?: string | null | undefined;
228
+ contractorFormattedValue?: string | null | undefined;
229
+ } | undefined;
230
+ stageReasonLastChangedAt?: unknown;
231
+ }>;
232
+ export declare const SReferralWorker: z.ZodObject<{
233
+ readonly referralId: z.ZodOptional<z.ZodString>;
234
+ readonly referralFriendlyId: z.ZodOptional<z.ZodString>;
235
+ readonly name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
236
+ readonly progress: z.ZodOptional<z.ZodObject<{
237
+ readonly stage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
238
+ readonly stageReason: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
239
+ readonly happyToProceed: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
+ readonly reportingStatus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
241
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
242
+ stage?: number | null | undefined;
243
+ stageReason?: number | null | undefined;
244
+ reportingStatus?: number | null | undefined;
245
+ happyToProceed?: string | null | undefined;
246
+ }, {
247
+ stage?: number | null | undefined;
248
+ stageReason?: number | null | undefined;
249
+ reportingStatus?: number | null | undefined;
250
+ happyToProceed?: string | null | undefined;
251
+ }>>;
252
+ readonly contractor: z.ZodOptional<z.ZodObject<{
253
+ readonly contractorValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
254
+ readonly contractorFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
255
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
256
+ contractorValue?: string | null | undefined;
257
+ contractorFormattedValue?: string | null | undefined;
258
+ }, {
259
+ contractorValue?: string | null | undefined;
260
+ contractorFormattedValue?: string | null | undefined;
261
+ }>>;
262
+ readonly assignment: z.ZodOptional<z.ZodObject<{
263
+ readonly contractorPayRateCurrencyValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
264
+ readonly endClient: z.ZodOptional<z.ZodNullable<z.ZodString>>;
265
+ readonly startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
266
+ readonly endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
267
+ readonly jobRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
268
+ readonly workCountry: z.ZodTypeAny;
269
+ readonly parentSolution: z.ZodTypeAny;
270
+ readonly solution: z.ZodTypeAny;
271
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
272
+ solution?: any;
273
+ endClient?: string | null | undefined;
274
+ contractorPayRateCurrencyValue?: string | null | undefined;
275
+ startDate?: string | null | undefined;
276
+ endDate?: string | null | undefined;
277
+ jobRole?: string | null | undefined;
278
+ workCountry?: any;
279
+ parentSolution?: any;
280
+ }, {
281
+ solution?: any;
282
+ endClient?: string | null | undefined;
283
+ contractorPayRateCurrencyValue?: string | null | undefined;
284
+ startDate?: string | null | undefined;
285
+ endDate?: string | null | undefined;
286
+ jobRole?: string | null | undefined;
287
+ workCountry?: any;
288
+ parentSolution?: any;
289
+ }>>;
290
+ readonly agency: z.ZodOptional<z.ZodObject<{
291
+ readonly agencyValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
292
+ readonly agencyFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
+ readonly agencyContactFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
294
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
295
+ agencyValue?: string | null | undefined;
296
+ agencyFormattedValue?: string | null | undefined;
297
+ agencyContactFormattedValue?: string | null | undefined;
298
+ }, {
299
+ agencyValue?: string | null | undefined;
300
+ agencyFormattedValue?: string | null | undefined;
301
+ agencyContactFormattedValue?: string | null | undefined;
302
+ }>>;
303
+ readonly compliance: z.ZodOptional<z.ZodObject<{
304
+ readonly approvedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
305
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
306
+ approvedOn?: string | null | undefined;
307
+ }, {
308
+ approvedOn?: string | null | undefined;
309
+ }>>;
310
+ createdOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
311
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
312
+ agency?: {
313
+ agencyValue?: string | null | undefined;
314
+ agencyFormattedValue?: string | null | undefined;
315
+ agencyContactFormattedValue?: string | null | undefined;
316
+ } | undefined;
317
+ assignment?: {
318
+ solution?: any;
319
+ endClient?: string | null | undefined;
320
+ contractorPayRateCurrencyValue?: string | null | undefined;
321
+ startDate?: string | null | undefined;
322
+ endDate?: string | null | undefined;
323
+ jobRole?: string | null | undefined;
324
+ workCountry?: any;
325
+ parentSolution?: any;
326
+ } | undefined;
327
+ createdOn?: string | null | undefined;
328
+ name?: string | null | undefined;
329
+ referralId?: string | undefined;
330
+ progress?: {
331
+ stage?: number | null | undefined;
332
+ stageReason?: number | null | undefined;
333
+ reportingStatus?: number | null | undefined;
334
+ happyToProceed?: string | null | undefined;
335
+ } | undefined;
336
+ contractor?: {
337
+ contractorValue?: string | null | undefined;
338
+ contractorFormattedValue?: string | null | undefined;
339
+ } | undefined;
340
+ compliance?: {
341
+ approvedOn?: string | null | undefined;
342
+ } | undefined;
343
+ referralFriendlyId?: string | undefined;
344
+ }, {
345
+ agency?: {
346
+ agencyValue?: string | null | undefined;
347
+ agencyFormattedValue?: string | null | undefined;
348
+ agencyContactFormattedValue?: string | null | undefined;
349
+ } | undefined;
350
+ assignment?: {
351
+ solution?: any;
352
+ endClient?: string | null | undefined;
353
+ contractorPayRateCurrencyValue?: string | null | undefined;
354
+ startDate?: string | null | undefined;
355
+ endDate?: string | null | undefined;
356
+ jobRole?: string | null | undefined;
357
+ workCountry?: any;
358
+ parentSolution?: any;
359
+ } | undefined;
360
+ createdOn?: string | null | undefined;
361
+ name?: string | null | undefined;
362
+ referralId?: string | undefined;
363
+ progress?: {
364
+ stage?: number | null | undefined;
365
+ stageReason?: number | null | undefined;
366
+ reportingStatus?: number | null | undefined;
367
+ happyToProceed?: string | null | undefined;
368
+ } | undefined;
369
+ contractor?: {
370
+ contractorValue?: string | null | undefined;
371
+ contractorFormattedValue?: string | null | undefined;
372
+ } | undefined;
373
+ compliance?: {
374
+ approvedOn?: string | null | undefined;
375
+ } | undefined;
376
+ referralFriendlyId?: string | undefined;
377
+ }>;
378
+ export declare const SGetReferralWorkerSummaryBFF: z.ZodEffects<z.ZodObject<{
379
+ readonly referralId: z.ZodOptional<z.ZodString>;
380
+ readonly referralFriendlyId: z.ZodOptional<z.ZodString>;
381
+ readonly name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
382
+ readonly progress: z.ZodOptional<z.ZodObject<{
383
+ readonly stage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
384
+ readonly stageReason: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
385
+ readonly happyToProceed: z.ZodOptional<z.ZodNullable<z.ZodString>>;
386
+ readonly reportingStatus: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
387
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
388
+ stage?: number | null | undefined;
389
+ stageReason?: number | null | undefined;
390
+ reportingStatus?: number | null | undefined;
391
+ happyToProceed?: string | null | undefined;
392
+ }, {
393
+ stage?: number | null | undefined;
394
+ stageReason?: number | null | undefined;
395
+ reportingStatus?: number | null | undefined;
396
+ happyToProceed?: string | null | undefined;
397
+ }>>;
398
+ readonly contractor: z.ZodOptional<z.ZodObject<{
399
+ readonly contractorValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
+ readonly contractorFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
401
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
402
+ contractorValue?: string | null | undefined;
403
+ contractorFormattedValue?: string | null | undefined;
404
+ }, {
405
+ contractorValue?: string | null | undefined;
406
+ contractorFormattedValue?: string | null | undefined;
407
+ }>>;
408
+ readonly assignment: z.ZodOptional<z.ZodObject<{
409
+ readonly contractorPayRateCurrencyValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
410
+ readonly endClient: z.ZodOptional<z.ZodNullable<z.ZodString>>;
411
+ readonly startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
412
+ readonly endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
413
+ readonly jobRole: z.ZodOptional<z.ZodNullable<z.ZodString>>;
414
+ readonly workCountry: z.ZodTypeAny;
415
+ readonly parentSolution: z.ZodTypeAny;
416
+ readonly solution: z.ZodTypeAny;
417
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
418
+ solution?: any;
419
+ endClient?: string | null | undefined;
420
+ contractorPayRateCurrencyValue?: string | null | undefined;
421
+ startDate?: string | null | undefined;
422
+ endDate?: string | null | undefined;
423
+ jobRole?: string | null | undefined;
424
+ workCountry?: any;
425
+ parentSolution?: any;
426
+ }, {
427
+ solution?: any;
428
+ endClient?: string | null | undefined;
429
+ contractorPayRateCurrencyValue?: string | null | undefined;
430
+ startDate?: string | null | undefined;
431
+ endDate?: string | null | undefined;
432
+ jobRole?: string | null | undefined;
433
+ workCountry?: any;
434
+ parentSolution?: any;
435
+ }>>;
436
+ readonly agency: z.ZodOptional<z.ZodObject<{
437
+ readonly agencyValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
438
+ readonly agencyFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
439
+ readonly agencyContactFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
440
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
441
+ agencyValue?: string | null | undefined;
442
+ agencyFormattedValue?: string | null | undefined;
443
+ agencyContactFormattedValue?: string | null | undefined;
444
+ }, {
445
+ agencyValue?: string | null | undefined;
446
+ agencyFormattedValue?: string | null | undefined;
447
+ agencyContactFormattedValue?: string | null | undefined;
448
+ }>>;
449
+ readonly compliance: z.ZodOptional<z.ZodObject<{
450
+ readonly approvedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
451
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
452
+ approvedOn?: string | null | undefined;
453
+ }, {
454
+ approvedOn?: string | null | undefined;
455
+ }>>;
456
+ createdOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
457
+ } & {
458
+ type: z.ZodCatch<z.ZodLiteral<"referral">>;
459
+ stageReasonLastChangedAt: z.ZodCatch<z.ZodNullable<z.ZodString>>;
460
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
461
+ type: "referral";
462
+ stageReasonLastChangedAt: string | null;
463
+ agency?: {
464
+ agencyValue?: string | null | undefined;
465
+ agencyFormattedValue?: string | null | undefined;
466
+ agencyContactFormattedValue?: string | null | undefined;
467
+ } | undefined;
468
+ assignment?: {
469
+ solution?: any;
470
+ endClient?: string | null | undefined;
471
+ contractorPayRateCurrencyValue?: string | null | undefined;
472
+ startDate?: string | null | undefined;
473
+ endDate?: string | null | undefined;
474
+ jobRole?: string | null | undefined;
475
+ workCountry?: any;
476
+ parentSolution?: any;
477
+ } | undefined;
478
+ createdOn?: string | null | undefined;
479
+ name?: string | null | undefined;
480
+ referralId?: string | undefined;
481
+ progress?: {
482
+ stage?: number | null | undefined;
483
+ stageReason?: number | null | undefined;
484
+ reportingStatus?: number | null | undefined;
485
+ happyToProceed?: string | null | undefined;
486
+ } | undefined;
487
+ contractor?: {
488
+ contractorValue?: string | null | undefined;
489
+ contractorFormattedValue?: string | null | undefined;
490
+ } | undefined;
491
+ compliance?: {
492
+ approvedOn?: string | null | undefined;
493
+ } | undefined;
494
+ referralFriendlyId?: string | undefined;
495
+ }, {
496
+ agency?: {
497
+ agencyValue?: string | null | undefined;
498
+ agencyFormattedValue?: string | null | undefined;
499
+ agencyContactFormattedValue?: string | null | undefined;
500
+ } | undefined;
501
+ type?: unknown;
502
+ assignment?: {
503
+ solution?: any;
504
+ endClient?: string | null | undefined;
505
+ contractorPayRateCurrencyValue?: string | null | undefined;
506
+ startDate?: string | null | undefined;
507
+ endDate?: string | null | undefined;
508
+ jobRole?: string | null | undefined;
509
+ workCountry?: any;
510
+ parentSolution?: any;
511
+ } | undefined;
512
+ createdOn?: string | null | undefined;
513
+ name?: string | null | undefined;
514
+ referralId?: string | undefined;
515
+ progress?: {
516
+ stage?: number | null | undefined;
517
+ stageReason?: number | null | undefined;
518
+ reportingStatus?: number | null | undefined;
519
+ happyToProceed?: string | null | undefined;
520
+ } | undefined;
521
+ contractor?: {
522
+ contractorValue?: string | null | undefined;
523
+ contractorFormattedValue?: string | null | undefined;
524
+ } | undefined;
525
+ compliance?: {
526
+ approvedOn?: string | null | undefined;
527
+ } | undefined;
528
+ referralFriendlyId?: string | undefined;
529
+ stageReasonLastChangedAt?: unknown;
530
+ }>, {
531
+ assignment: {
532
+ greaterEndDate: undefined;
533
+ solution: any;
534
+ workCountry: any;
535
+ endClient?: string | null | undefined;
536
+ contractorPayRateCurrencyValue?: string | null | undefined;
537
+ startDate?: string | null | undefined;
538
+ endDate?: string | null | undefined;
539
+ jobRole?: string | null | undefined;
540
+ parentSolution?: any;
541
+ };
542
+ statusDetails: {
543
+ isTaggedStatus: boolean;
544
+ isChangeRequest: boolean;
545
+ isEndingSoon: boolean;
546
+ displayKey: import("../../../types/Stages.js").TStageDisplayTextKey;
547
+ detailDisplayKey: null;
548
+ progressedToStatusGroupDate: undefined;
549
+ status: import("../../../types/Statuses.js").TStatusGroup;
550
+ statusAgency?: never;
551
+ statusWorker?: never;
552
+ } | {
553
+ isTaggedStatus: boolean;
554
+ isChangeRequest: boolean;
555
+ isEndingSoon: boolean;
556
+ displayKey: import("../../../types/Stages.js").TStageDisplayTextKey;
557
+ detailDisplayKey: null;
558
+ progressedToStatusGroupDate: undefined;
559
+ statusAgency: import("../../../types/Statuses.js").TStatusGroup;
560
+ statusWorker: import("../../../types/Statuses.js").TStatusGroup;
561
+ status?: never;
562
+ };
563
+ type: "referral";
564
+ stageReasonLastChangedAt: string | null;
565
+ agency?: {
566
+ agencyValue?: string | null | undefined;
567
+ agencyFormattedValue?: string | null | undefined;
568
+ agencyContactFormattedValue?: string | null | undefined;
569
+ } | undefined;
570
+ createdOn?: string | null | undefined;
571
+ name?: string | null | undefined;
572
+ referralId?: string | undefined;
573
+ progress?: {
574
+ stage?: number | null | undefined;
575
+ stageReason?: number | null | undefined;
576
+ reportingStatus?: number | null | undefined;
577
+ happyToProceed?: string | null | undefined;
578
+ } | undefined;
579
+ contractor?: {
580
+ contractorValue?: string | null | undefined;
581
+ contractorFormattedValue?: string | null | undefined;
582
+ } | undefined;
583
+ compliance?: {
584
+ approvedOn?: string | null | undefined;
585
+ } | undefined;
586
+ referralFriendlyId?: string | undefined;
587
+ assignmentNumber: undefined;
588
+ assignmentId: undefined;
589
+ }, {
590
+ agency?: {
591
+ agencyValue?: string | null | undefined;
592
+ agencyFormattedValue?: string | null | undefined;
593
+ agencyContactFormattedValue?: string | null | undefined;
594
+ } | undefined;
595
+ type?: unknown;
596
+ assignment?: {
597
+ solution?: any;
598
+ endClient?: string | null | undefined;
599
+ contractorPayRateCurrencyValue?: string | null | undefined;
600
+ startDate?: string | null | undefined;
601
+ endDate?: string | null | undefined;
602
+ jobRole?: string | null | undefined;
603
+ workCountry?: any;
604
+ parentSolution?: any;
605
+ } | undefined;
606
+ createdOn?: string | null | undefined;
607
+ name?: string | null | undefined;
608
+ referralId?: string | undefined;
609
+ progress?: {
610
+ stage?: number | null | undefined;
611
+ stageReason?: number | null | undefined;
612
+ reportingStatus?: number | null | undefined;
613
+ happyToProceed?: string | null | undefined;
614
+ } | undefined;
615
+ contractor?: {
616
+ contractorValue?: string | null | undefined;
617
+ contractorFormattedValue?: string | null | undefined;
618
+ } | undefined;
619
+ compliance?: {
620
+ approvedOn?: string | null | undefined;
621
+ } | undefined;
622
+ referralFriendlyId?: string | undefined;
623
+ stageReasonLastChangedAt?: unknown;
624
+ }>;
625
+ export type TGetEngagementsWorkerSummaryBFF = z.infer<typeof SGetReferralWorkerSummaryBFF> | z.infer<typeof SGetAssignmentWorkerSummaryBFF>;
626
+ //# sourceMappingURL=SGetEngagementsWorkerSummaryBFF.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SGetEngagementsWorkerSummaryBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA0CvB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCzC,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BhB,CAAA;AAEZ,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BvC,CAAA;AAEF,MAAM,MAAM,+BAA+B,GACvC,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,GAC5C,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA"}