@workwell-global/toolkit 1.1.30 → 1.1.32

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 (64) hide show
  1. package/dist/models/schemas/api/account/TAccountAPI.d.ts +4 -0
  2. package/dist/models/schemas/api/account/TAccountAPI.d.ts.map +1 -1
  3. package/dist/models/schemas/api/account/TAccountAPI.js +5 -0
  4. package/dist/models/schemas/api/account/TAccountAPI.js.map +1 -1
  5. package/dist/models/schemas/api/activityParty/TActivityPartyAPI.d.ts.map +1 -1
  6. package/dist/models/schemas/api/activityParty/TActivityPartyAPI.js +1 -0
  7. package/dist/models/schemas/api/activityParty/TActivityPartyAPI.js.map +1 -1
  8. package/dist/models/schemas/api/assignment/DAssignmentAPI.d.ts +4 -0
  9. package/dist/models/schemas/api/assignment/DAssignmentAPI.d.ts.map +1 -1
  10. package/dist/models/schemas/api/assignment/DAssignmentAPI.js +4 -0
  11. package/dist/models/schemas/api/assignment/DAssignmentAPI.js.map +1 -1
  12. package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts +24 -0
  13. package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts.map +1 -1
  14. package/dist/models/schemas/api/assignment/TAssignmentAPI.js +13 -0
  15. package/dist/models/schemas/api/assignment/TAssignmentAPI.js.map +1 -1
  16. package/dist/models/schemas/api/assignment/index.d.ts +19 -0
  17. package/dist/models/schemas/api/assignment/index.d.ts.map +1 -1
  18. package/dist/models/schemas/api/webMessage/webMessage.test.js +22 -4
  19. package/dist/models/schemas/api/webMessage/webMessage.test.js.map +1 -1
  20. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.d.ts +188 -12
  21. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.d.ts.map +1 -1
  22. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.js +14 -2
  23. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.js.map +1 -1
  24. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsSummaryBFF.d.ts +331 -0
  25. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsSummaryBFF.d.ts.map +1 -0
  26. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsSummaryBFF.js +68 -0
  27. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsSummaryBFF.js.map +1 -0
  28. package/dist/models/schemas/bff/assignmentsMetrics/index.d.ts +1 -0
  29. package/dist/models/schemas/bff/assignmentsMetrics/index.d.ts.map +1 -1
  30. package/dist/models/schemas/bff/assignmentsMetrics/index.js +1 -0
  31. package/dist/models/schemas/bff/assignmentsMetrics/index.js.map +1 -1
  32. package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.d.ts +82 -0
  33. package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.d.ts.map +1 -0
  34. package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.js +11 -0
  35. package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.js.map +1 -0
  36. package/dist/models/schemas/bff/caseDetail/SPostCaseInitResponseBFF.d.ts +22 -0
  37. package/dist/models/schemas/bff/caseDetail/SPostCaseInitResponseBFF.d.ts.map +1 -0
  38. package/dist/models/schemas/bff/caseDetail/SPostCaseInitResponseBFF.js +9 -0
  39. package/dist/models/schemas/bff/caseDetail/SPostCaseInitResponseBFF.js.map +1 -0
  40. package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.d.ts +3 -3
  41. package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.d.ts.map +1 -1
  42. package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.js +1 -3
  43. package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.js.map +1 -1
  44. package/dist/models/schemas/bff/caseDetail/index.d.ts +2 -0
  45. package/dist/models/schemas/bff/caseDetail/index.d.ts.map +1 -1
  46. package/dist/models/schemas/bff/caseDetail/index.js +2 -0
  47. package/dist/models/schemas/bff/caseDetail/index.js.map +1 -1
  48. package/dist/models/schemas/bff/casesSummary/index.d.ts +0 -1
  49. package/dist/models/schemas/bff/casesSummary/index.d.ts.map +1 -1
  50. package/dist/models/schemas/bff/casesSummary/index.js +0 -1
  51. package/dist/models/schemas/bff/casesSummary/index.js.map +1 -1
  52. package/dist/models/schemas/bff/helpers/AssignmentHelper.d.ts +1 -0
  53. package/dist/models/schemas/bff/helpers/AssignmentHelper.d.ts.map +1 -1
  54. package/dist/models/schemas/bff/helpers/AssignmentHelper.js +4 -4
  55. package/dist/models/schemas/bff/helpers/AssignmentHelper.js.map +1 -1
  56. package/package.json +1 -1
  57. package/dist/models/schemas/api/_entityTools/PartyBindings.d.ts +0 -21
  58. package/dist/models/schemas/api/_entityTools/PartyBindings.d.ts.map +0 -1
  59. package/dist/models/schemas/api/_entityTools/PartyBindings.js +0 -24
  60. package/dist/models/schemas/api/_entityTools/PartyBindings.js.map +0 -1
  61. package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.d.ts +0 -104
  62. package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.d.ts.map +0 -1
  63. package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.js +0 -30
  64. package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.js.map +0 -1
@@ -24,19 +24,19 @@ export declare const SGetAssignmentsMetricsBFF: z.ZodEffects<z.ZodObject<{
24
24
  workCountry?: any;
25
25
  }>>;
26
26
  readonly agency: z.ZodOptional<z.ZodObject<{
27
- readonly agencyValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
- readonly agencyContactValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ readonly agencyFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ readonly agencyContactFormattedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  }, z.UnknownKeysParam, z.ZodTypeAny, {
30
- agencyValue?: string | null | undefined;
31
- agencyContactValue?: string | null | undefined;
30
+ agencyFormattedValue?: string | null | undefined;
31
+ agencyContactFormattedValue?: string | null | undefined;
32
32
  }, {
33
- agencyValue?: string | null | undefined;
34
- agencyContactValue?: string | null | undefined;
33
+ agencyFormattedValue?: string | null | undefined;
34
+ agencyContactFormattedValue?: string | null | undefined;
35
35
  }>>;
36
36
  }, z.UnknownKeysParam, z.ZodTypeAny, {
37
37
  agency?: {
38
- agencyValue?: string | null | undefined;
39
- agencyContactValue?: string | null | undefined;
38
+ agencyFormattedValue?: string | null | undefined;
39
+ agencyContactFormattedValue?: string | null | undefined;
40
40
  } | undefined;
41
41
  assignment?: {
42
42
  solution?: any;
@@ -49,8 +49,8 @@ export declare const SGetAssignmentsMetricsBFF: z.ZodEffects<z.ZodObject<{
49
49
  assignmentId?: string | undefined;
50
50
  }, {
51
51
  agency?: {
52
- agencyValue?: string | null | undefined;
53
- agencyContactValue?: string | null | undefined;
52
+ agencyFormattedValue?: string | null | undefined;
53
+ agencyContactFormattedValue?: string | null | undefined;
54
54
  } | undefined;
55
55
  assignment?: {
56
56
  solution?: any;
@@ -66,10 +66,15 @@ export declare const SGetAssignmentsMetricsBFF: z.ZodEffects<z.ZodObject<{
66
66
  startDate: string | null | undefined;
67
67
  solutionCategory: string | null;
68
68
  countryRegion: string | null;
69
+ countryCode: any;
70
+ endClient: string | null | undefined;
71
+ account: string | null | undefined;
72
+ recruiter: string | null | undefined;
73
+ assignmentId: string | undefined;
69
74
  }, {
70
75
  agency?: {
71
- agencyValue?: string | null | undefined;
72
- agencyContactValue?: string | null | undefined;
76
+ agencyFormattedValue?: string | null | undefined;
77
+ agencyContactFormattedValue?: string | null | undefined;
73
78
  } | undefined;
74
79
  assignment?: {
75
80
  solution?: any;
@@ -88,12 +93,15 @@ export declare const SActiveMetricsBFF: z.ZodObject<{
88
93
  c2cCount: z.ZodNumber;
89
94
  selfEmployedCount: z.ZodNumber;
90
95
  eorCount: z.ZodNumber;
96
+ ids: z.ZodArray<z.ZodString, "many">;
91
97
  }, "strip", z.ZodTypeAny, {
98
+ ids: string[];
92
99
  total: number;
93
100
  c2cCount: number;
94
101
  selfEmployedCount: number;
95
102
  eorCount: number;
96
103
  }, {
104
+ ids: string[];
97
105
  total: number;
98
106
  c2cCount: number;
99
107
  selfEmployedCount: number;
@@ -102,6 +110,7 @@ export declare const SActiveMetricsBFF: z.ZodObject<{
102
110
  performance: z.ZodNumber;
103
111
  }, "strip", z.ZodTypeAny, {
104
112
  count: {
113
+ ids: string[];
105
114
  total: number;
106
115
  c2cCount: number;
107
116
  selfEmployedCount: number;
@@ -110,6 +119,7 @@ export declare const SActiveMetricsBFF: z.ZodObject<{
110
119
  performance: number;
111
120
  }, {
112
121
  count: {
122
+ ids: string[];
113
123
  total: number;
114
124
  c2cCount: number;
115
125
  selfEmployedCount: number;
@@ -125,12 +135,15 @@ export declare const SPastFutureMetricsBFF: z.ZodObject<{
125
135
  c2cCount: z.ZodNumber;
126
136
  selfEmployedCount: z.ZodNumber;
127
137
  eorCount: z.ZodNumber;
138
+ ids: z.ZodArray<z.ZodString, "many">;
128
139
  }, "strip", z.ZodTypeAny, {
140
+ ids: string[];
129
141
  total: number;
130
142
  c2cCount: number;
131
143
  selfEmployedCount: number;
132
144
  eorCount: number;
133
145
  }, {
146
+ ids: string[];
134
147
  total: number;
135
148
  c2cCount: number;
136
149
  selfEmployedCount: number;
@@ -141,12 +154,15 @@ export declare const SPastFutureMetricsBFF: z.ZodObject<{
141
154
  c2cCount: z.ZodNumber;
142
155
  selfEmployedCount: z.ZodNumber;
143
156
  eorCount: z.ZodNumber;
157
+ ids: z.ZodArray<z.ZodString, "many">;
144
158
  }, "strip", z.ZodTypeAny, {
159
+ ids: string[];
145
160
  total: number;
146
161
  c2cCount: number;
147
162
  selfEmployedCount: number;
148
163
  eorCount: number;
149
164
  }, {
165
+ ids: string[];
150
166
  total: number;
151
167
  c2cCount: number;
152
168
  selfEmployedCount: number;
@@ -154,12 +170,14 @@ export declare const SPastFutureMetricsBFF: z.ZodObject<{
154
170
  }>;
155
171
  }, "strip", z.ZodTypeAny, {
156
172
  starting: {
173
+ ids: string[];
157
174
  total: number;
158
175
  c2cCount: number;
159
176
  selfEmployedCount: number;
160
177
  eorCount: number;
161
178
  };
162
179
  ending: {
180
+ ids: string[];
163
181
  total: number;
164
182
  c2cCount: number;
165
183
  selfEmployedCount: number;
@@ -167,12 +185,14 @@ export declare const SPastFutureMetricsBFF: z.ZodObject<{
167
185
  };
168
186
  }, {
169
187
  starting: {
188
+ ids: string[];
170
189
  total: number;
171
190
  c2cCount: number;
172
191
  selfEmployedCount: number;
173
192
  eorCount: number;
174
193
  };
175
194
  ending: {
195
+ ids: string[];
176
196
  total: number;
177
197
  c2cCount: number;
178
198
  selfEmployedCount: number;
@@ -185,12 +205,15 @@ export declare const SPastFutureMetricsBFF: z.ZodObject<{
185
205
  c2cCount: z.ZodNumber;
186
206
  selfEmployedCount: z.ZodNumber;
187
207
  eorCount: z.ZodNumber;
208
+ ids: z.ZodArray<z.ZodString, "many">;
188
209
  }, "strip", z.ZodTypeAny, {
210
+ ids: string[];
189
211
  total: number;
190
212
  c2cCount: number;
191
213
  selfEmployedCount: number;
192
214
  eorCount: number;
193
215
  }, {
216
+ ids: string[];
194
217
  total: number;
195
218
  c2cCount: number;
196
219
  selfEmployedCount: number;
@@ -201,12 +224,15 @@ export declare const SPastFutureMetricsBFF: z.ZodObject<{
201
224
  c2cCount: z.ZodNumber;
202
225
  selfEmployedCount: z.ZodNumber;
203
226
  eorCount: z.ZodNumber;
227
+ ids: z.ZodArray<z.ZodString, "many">;
204
228
  }, "strip", z.ZodTypeAny, {
229
+ ids: string[];
205
230
  total: number;
206
231
  c2cCount: number;
207
232
  selfEmployedCount: number;
208
233
  eorCount: number;
209
234
  }, {
235
+ ids: string[];
210
236
  total: number;
211
237
  c2cCount: number;
212
238
  selfEmployedCount: number;
@@ -214,12 +240,14 @@ export declare const SPastFutureMetricsBFF: z.ZodObject<{
214
240
  }>;
215
241
  }, "strip", z.ZodTypeAny, {
216
242
  ended: {
243
+ ids: string[];
217
244
  total: number;
218
245
  c2cCount: number;
219
246
  selfEmployedCount: number;
220
247
  eorCount: number;
221
248
  };
222
249
  started: {
250
+ ids: string[];
223
251
  total: number;
224
252
  c2cCount: number;
225
253
  selfEmployedCount: number;
@@ -227,12 +255,14 @@ export declare const SPastFutureMetricsBFF: z.ZodObject<{
227
255
  };
228
256
  }, {
229
257
  ended: {
258
+ ids: string[];
230
259
  total: number;
231
260
  c2cCount: number;
232
261
  selfEmployedCount: number;
233
262
  eorCount: number;
234
263
  };
235
264
  started: {
265
+ ids: string[];
236
266
  total: number;
237
267
  c2cCount: number;
238
268
  selfEmployedCount: number;
@@ -242,12 +272,14 @@ export declare const SPastFutureMetricsBFF: z.ZodObject<{
242
272
  }, "strip", z.ZodTypeAny, {
243
273
  next: {
244
274
  starting: {
275
+ ids: string[];
245
276
  total: number;
246
277
  c2cCount: number;
247
278
  selfEmployedCount: number;
248
279
  eorCount: number;
249
280
  };
250
281
  ending: {
282
+ ids: string[];
251
283
  total: number;
252
284
  c2cCount: number;
253
285
  selfEmployedCount: number;
@@ -256,12 +288,14 @@ export declare const SPastFutureMetricsBFF: z.ZodObject<{
256
288
  };
257
289
  last: {
258
290
  ended: {
291
+ ids: string[];
259
292
  total: number;
260
293
  c2cCount: number;
261
294
  selfEmployedCount: number;
262
295
  eorCount: number;
263
296
  };
264
297
  started: {
298
+ ids: string[];
265
299
  total: number;
266
300
  c2cCount: number;
267
301
  selfEmployedCount: number;
@@ -271,12 +305,14 @@ export declare const SPastFutureMetricsBFF: z.ZodObject<{
271
305
  }, {
272
306
  next: {
273
307
  starting: {
308
+ ids: string[];
274
309
  total: number;
275
310
  c2cCount: number;
276
311
  selfEmployedCount: number;
277
312
  eorCount: number;
278
313
  };
279
314
  ending: {
315
+ ids: string[];
280
316
  total: number;
281
317
  c2cCount: number;
282
318
  selfEmployedCount: number;
@@ -285,12 +321,14 @@ export declare const SPastFutureMetricsBFF: z.ZodObject<{
285
321
  };
286
322
  last: {
287
323
  ended: {
324
+ ids: string[];
288
325
  total: number;
289
326
  c2cCount: number;
290
327
  selfEmployedCount: number;
291
328
  eorCount: number;
292
329
  };
293
330
  started: {
331
+ ids: string[];
294
332
  total: number;
295
333
  c2cCount: number;
296
334
  selfEmployedCount: number;
@@ -299,8 +337,146 @@ export declare const SPastFutureMetricsBFF: z.ZodObject<{
299
337
  };
300
338
  }>;
301
339
  export type TPastFutureMetricsBFF = z.infer<typeof SPastFutureMetricsBFF>;
340
+ export declare const SActiveGroupsMetricsBFF: z.ZodObject<{
341
+ byCountry: z.ZodRecord<z.ZodString, z.ZodObject<{
342
+ total: z.ZodNumber;
343
+ c2cCount: z.ZodNumber;
344
+ selfEmployedCount: z.ZodNumber;
345
+ eorCount: z.ZodNumber;
346
+ ids: z.ZodArray<z.ZodString, "many">;
347
+ }, "strip", z.ZodTypeAny, {
348
+ ids: string[];
349
+ total: number;
350
+ c2cCount: number;
351
+ selfEmployedCount: number;
352
+ eorCount: number;
353
+ }, {
354
+ ids: string[];
355
+ total: number;
356
+ c2cCount: number;
357
+ selfEmployedCount: number;
358
+ eorCount: number;
359
+ }>>;
360
+ byClient: z.ZodRecord<z.ZodString, z.ZodObject<{
361
+ total: z.ZodNumber;
362
+ c2cCount: z.ZodNumber;
363
+ selfEmployedCount: z.ZodNumber;
364
+ eorCount: z.ZodNumber;
365
+ ids: z.ZodArray<z.ZodString, "many">;
366
+ }, "strip", z.ZodTypeAny, {
367
+ ids: string[];
368
+ total: number;
369
+ c2cCount: number;
370
+ selfEmployedCount: number;
371
+ eorCount: number;
372
+ }, {
373
+ ids: string[];
374
+ total: number;
375
+ c2cCount: number;
376
+ selfEmployedCount: number;
377
+ eorCount: number;
378
+ }>>;
379
+ byAccount: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
380
+ total: z.ZodNumber;
381
+ c2cCount: z.ZodNumber;
382
+ selfEmployedCount: z.ZodNumber;
383
+ eorCount: z.ZodNumber;
384
+ ids: z.ZodArray<z.ZodString, "many">;
385
+ }, "strip", z.ZodTypeAny, {
386
+ ids: string[];
387
+ total: number;
388
+ c2cCount: number;
389
+ selfEmployedCount: number;
390
+ eorCount: number;
391
+ }, {
392
+ ids: string[];
393
+ total: number;
394
+ c2cCount: number;
395
+ selfEmployedCount: number;
396
+ eorCount: number;
397
+ }>>>;
398
+ byRecruiter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
399
+ total: z.ZodNumber;
400
+ c2cCount: z.ZodNumber;
401
+ selfEmployedCount: z.ZodNumber;
402
+ eorCount: z.ZodNumber;
403
+ ids: z.ZodArray<z.ZodString, "many">;
404
+ }, "strip", z.ZodTypeAny, {
405
+ ids: string[];
406
+ total: number;
407
+ c2cCount: number;
408
+ selfEmployedCount: number;
409
+ eorCount: number;
410
+ }, {
411
+ ids: string[];
412
+ total: number;
413
+ c2cCount: number;
414
+ selfEmployedCount: number;
415
+ eorCount: number;
416
+ }>>>;
417
+ }, "strip", z.ZodTypeAny, {
418
+ byCountry: Record<string, {
419
+ ids: string[];
420
+ total: number;
421
+ c2cCount: number;
422
+ selfEmployedCount: number;
423
+ eorCount: number;
424
+ }>;
425
+ byClient: Record<string, {
426
+ ids: string[];
427
+ total: number;
428
+ c2cCount: number;
429
+ selfEmployedCount: number;
430
+ eorCount: number;
431
+ }>;
432
+ byAccount?: Record<string, {
433
+ ids: string[];
434
+ total: number;
435
+ c2cCount: number;
436
+ selfEmployedCount: number;
437
+ eorCount: number;
438
+ }> | undefined;
439
+ byRecruiter?: Record<string, {
440
+ ids: string[];
441
+ total: number;
442
+ c2cCount: number;
443
+ selfEmployedCount: number;
444
+ eorCount: number;
445
+ }> | undefined;
446
+ }, {
447
+ byCountry: Record<string, {
448
+ ids: string[];
449
+ total: number;
450
+ c2cCount: number;
451
+ selfEmployedCount: number;
452
+ eorCount: number;
453
+ }>;
454
+ byClient: Record<string, {
455
+ ids: string[];
456
+ total: number;
457
+ c2cCount: number;
458
+ selfEmployedCount: number;
459
+ eorCount: number;
460
+ }>;
461
+ byAccount?: Record<string, {
462
+ ids: string[];
463
+ total: number;
464
+ c2cCount: number;
465
+ selfEmployedCount: number;
466
+ eorCount: number;
467
+ }> | undefined;
468
+ byRecruiter?: Record<string, {
469
+ ids: string[];
470
+ total: number;
471
+ c2cCount: number;
472
+ selfEmployedCount: number;
473
+ eorCount: number;
474
+ }> | undefined;
475
+ }>;
476
+ export type TActiveGroupsMetricsBFF = z.infer<typeof SActiveGroupsMetricsBFF>;
302
477
  export type TAllMetricsBFF = {
303
478
  active: TActiveMetricsBFF;
304
479
  pastFuture: TPastFutureMetricsBFF;
480
+ activeByGroup: TActiveGroupsMetricsBFF;
305
481
  };
306
482
  //# sourceMappingURL=SGetAssignmentsMetricsBFF.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SGetAssignmentsMetricsBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAuBvB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASpC,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,yBAAyB,CACjC,CAAA;AASD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5B,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEjE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAA;AAEzE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKlC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,iBAAiB,CAAA;IACzB,UAAU,EAAE,qBAAqB,CAAA;IACjC,aAAa,EAAE,uBAAuB,CAAA;CACvC,CAAA"}
@@ -11,8 +11,8 @@ const SAssignmentBase = createPrettySchema(pickPrettyFields(assignmentFields, [
11
11
  'assignment/solution',
12
12
  'assignment/workCountry',
13
13
  'assignment/endClient',
14
- 'agency/agencyValue',
15
- 'agency/agencyContactValue',
14
+ 'agency/agencyFormattedValue',
15
+ 'agency/agencyContactFormattedValue',
16
16
  ])).partial();
17
17
  export const SGetAssignmentsMetricsBFF = SAssignmentBase.transform(val => {
18
18
  return {
@@ -20,6 +20,11 @@ export const SGetAssignmentsMetricsBFF = SAssignmentBase.transform(val => {
20
20
  startDate: val?.assignment?.startDate,
21
21
  solutionCategory: solutionCategory(val?.assignment?.solution?.productNumber),
22
22
  countryRegion: region(val.assignment?.workCountry?.code),
23
+ countryCode: val.assignment?.workCountry?.code,
24
+ endClient: val?.assignment?.endClient,
25
+ account: val?.agency?.agencyFormattedValue,
26
+ recruiter: val?.agency?.agencyContactFormattedValue,
27
+ assignmentId: val?.assignmentId,
23
28
  };
24
29
  });
25
30
  const counts = z.object({
@@ -27,6 +32,7 @@ const counts = z.object({
27
32
  c2cCount: z.number(),
28
33
  selfEmployedCount: z.number(),
29
34
  eorCount: z.number(),
35
+ ids: z.array(z.string()),
30
36
  });
31
37
  export const SActiveMetricsBFF = z.object({
32
38
  count: counts,
@@ -36,4 +42,10 @@ export const SPastFutureMetricsBFF = z.object({
36
42
  next: z.object({ starting: counts, ending: counts }),
37
43
  last: z.object({ started: counts, ended: counts }),
38
44
  });
45
+ export const SActiveGroupsMetricsBFF = z.object({
46
+ byCountry: z.record(z.string(), counts),
47
+ byClient: z.record(z.string(), counts),
48
+ byAccount: z.record(z.string(), counts).optional(),
49
+ byRecruiter: z.record(z.string(), counts).optional(),
50
+ });
39
51
  //# sourceMappingURL=SGetAssignmentsMetricsBFF.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SGetAssignmentsMetricsBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAEnD,MAAM,eAAe,GAAG,kBAAkB,CACxC,gBAAgB,CAAC,gBAAgB,EAAE;IACjC,cAAc;IACd,oBAAoB;IACpB,sBAAsB;IACtB,0BAA0B;IAC1B,qBAAqB;IACrB,wBAAwB;IACxB,sBAAsB;IACtB,oBAAoB;IACpB,2BAA2B;CAC5B,CAAC,CACH,CAAC,OAAO,EAAE,CAAA;AAEX,MAAM,CAAC,MAAM,yBAAyB,GAAG,eAAe,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE;IACvE,OAAO;QACL,cAAc,EAAE,GAAG,EAAE,UAAU,EAAE,aAAa,IAAI,GAAG,EAAE,UAAU,EAAE,OAAO;QAC1E,SAAS,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS;QACrC,gBAAgB,EAAE,gBAAgB,CAChC,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,CACzC;QACD,aAAa,EAAE,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,WAAW,EAAE,IAAI,CAAC;KACzD,CAAA;AACH,CAAC,CAAC,CAAA;AAMF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,KAAK,EAAE,MAAM;IACb,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACpD,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;CACnD,CAAC,CAAA"}
1
+ {"version":3,"file":"SGetAssignmentsMetricsBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAEnD,MAAM,e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