@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.
- package/dist/models/schemas/api/assignment/DAssignmentAPI.d.ts +9 -0
- package/dist/models/schemas/api/assignment/DAssignmentAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/assignment/DAssignmentAPI.js +9 -0
- package/dist/models/schemas/api/assignment/DAssignmentAPI.js.map +1 -1
- package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts +18 -0
- package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/assignment/index.d.ts +22 -0
- package/dist/models/schemas/api/assignment/index.d.ts.map +1 -1
- package/dist/models/schemas/api/referral/DReferralAPI.d.ts +9 -0
- package/dist/models/schemas/api/referral/DReferralAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/referral/DReferralAPI.js +9 -0
- package/dist/models/schemas/api/referral/DReferralAPI.js.map +1 -1
- package/dist/models/schemas/api/referral/TReferralAPI.d.ts +18 -0
- package/dist/models/schemas/api/referral/TReferralAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/referral/index.d.ts +22 -0
- package/dist/models/schemas/api/referral/index.d.ts.map +1 -1
- package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.d.ts +306 -0
- package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.js +39 -0
- package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.js.map +1 -0
- package/dist/models/schemas/bff/assignmentsMetrics/index.d.ts +2 -0
- package/dist/models/schemas/bff/assignmentsMetrics/index.d.ts.map +1 -0
- package/dist/models/schemas/bff/assignmentsMetrics/index.js +2 -0
- package/dist/models/schemas/bff/assignmentsMetrics/index.js.map +1 -0
- package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.d.ts +1 -0
- package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.js +1 -0
- package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.js.map +1 -1
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.d.ts +306 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.js +12 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.js.map +1 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.d.ts +306 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.js +12 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.js.map +1 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts +4221 -10
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.js +50 -2
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.js.map +1 -1
- package/dist/models/schemas/bff/index.d.ts +1 -0
- package/dist/models/schemas/bff/index.d.ts.map +1 -1
- package/dist/models/schemas/bff/index.js +1 -0
- package/dist/models/schemas/bff/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -52,6 +52,7 @@ export declare const ReferralEntity: {
|
|
|
52
52
|
"assignment/workCountry": string;
|
|
53
53
|
"assignment/solution": string;
|
|
54
54
|
referralLogs: string;
|
|
55
|
+
referralDocuments: string;
|
|
55
56
|
"contractor/contractorFormattedValue": string;
|
|
56
57
|
"agency/agencyFormattedValue": string;
|
|
57
58
|
"agency/agencyContactFormattedValue": string;
|
|
@@ -223,6 +224,7 @@ export declare const ReferralEntity: {
|
|
|
223
224
|
readonly ww_ca_Country: "assignment/workCountry";
|
|
224
225
|
readonly ww_Parent_Solution: "assignment/parentSolution";
|
|
225
226
|
readonly ww_ca_SolutionPackage: "assignment/solution";
|
|
227
|
+
readonly ww_ContractorDocument_ww_SalesChecklist_NN: "referralDocuments";
|
|
226
228
|
readonly _organizationid_value: "organizationIdValue";
|
|
227
229
|
readonly '@odata.etag': "etag";
|
|
228
230
|
readonly versionnumber: "versionNumber";
|
|
@@ -359,6 +361,7 @@ export declare const ReferralEntity: {
|
|
|
359
361
|
readonly ww_ca_Country: z.ZodOptional<z.ZodTypeAny>;
|
|
360
362
|
readonly ww_Parent_Solution: z.ZodOptional<z.ZodTypeAny>;
|
|
361
363
|
readonly ww_ca_SolutionPackage: z.ZodOptional<z.ZodTypeAny>;
|
|
364
|
+
readonly ww_ContractorDocument_ww_SalesChecklist_NN: z.ZodOptional<z.ZodTypeAny>;
|
|
362
365
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
363
366
|
'@odata.etag'?: string | null | undefined;
|
|
364
367
|
_createdby_value?: string | null | undefined;
|
|
@@ -412,6 +415,7 @@ export declare const ReferralEntity: {
|
|
|
412
415
|
ww_ca_Country?: any;
|
|
413
416
|
ww_ca_SolutionPackage?: any;
|
|
414
417
|
ww_referrallog_Referral_ww_saleschecklist?: any;
|
|
418
|
+
ww_ContractorDocument_ww_SalesChecklist_NN?: any;
|
|
415
419
|
"_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
416
420
|
"_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
417
421
|
"_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
@@ -532,6 +536,7 @@ export declare const ReferralEntity: {
|
|
|
532
536
|
ww_ca_Country?: any;
|
|
533
537
|
ww_ca_SolutionPackage?: any;
|
|
534
538
|
ww_referrallog_Referral_ww_saleschecklist?: any;
|
|
539
|
+
ww_ContractorDocument_ww_SalesChecklist_NN?: any;
|
|
535
540
|
"_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
536
541
|
"_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
537
542
|
"_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
@@ -705,6 +710,7 @@ export declare const ReferralEntity: {
|
|
|
705
710
|
readonly ww_ca_Country: z.ZodOptional<z.ZodTypeAny>;
|
|
706
711
|
readonly ww_Parent_Solution: z.ZodOptional<z.ZodTypeAny>;
|
|
707
712
|
readonly ww_ca_SolutionPackage: z.ZodOptional<z.ZodTypeAny>;
|
|
713
|
+
readonly ww_ContractorDocument_ww_SalesChecklist_NN: z.ZodOptional<z.ZodTypeAny>;
|
|
708
714
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
709
715
|
_transactioncurrencyid_value?: string | null | undefined;
|
|
710
716
|
ww_totalrevenue?: number | null | undefined;
|
|
@@ -743,6 +749,7 @@ export declare const ReferralEntity: {
|
|
|
743
749
|
ww_ca_Country?: any;
|
|
744
750
|
ww_ca_SolutionPackage?: any;
|
|
745
751
|
ww_referrallog_Referral_ww_saleschecklist?: any;
|
|
752
|
+
ww_ContractorDocument_ww_SalesChecklist_NN?: any;
|
|
746
753
|
"_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
747
754
|
"_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
748
755
|
"_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
@@ -848,6 +855,7 @@ export declare const ReferralEntity: {
|
|
|
848
855
|
ww_ca_Country?: any;
|
|
849
856
|
ww_ca_SolutionPackage?: any;
|
|
850
857
|
ww_referrallog_Referral_ww_saleschecklist?: any;
|
|
858
|
+
ww_ContractorDocument_ww_SalesChecklist_NN?: any;
|
|
851
859
|
"_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
852
860
|
"_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
853
861
|
"_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
@@ -1421,6 +1429,11 @@ export declare const ReferralEntity: {
|
|
|
1421
1429
|
readonly pretty: "assignment/solution";
|
|
1422
1430
|
readonly entityKey: "solution";
|
|
1423
1431
|
};
|
|
1432
|
+
readonly ww_ContractorDocument_ww_SalesChecklist_NN: {
|
|
1433
|
+
readonly pretty: "referralDocuments";
|
|
1434
|
+
readonly entityKey: "contractorDocument";
|
|
1435
|
+
readonly isArray: true;
|
|
1436
|
+
};
|
|
1424
1437
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1425
1438
|
agency: {
|
|
1426
1439
|
agencyValue?: string | null | undefined;
|
|
@@ -1555,6 +1568,7 @@ export declare const ReferralEntity: {
|
|
|
1555
1568
|
name?: string | null | undefined;
|
|
1556
1569
|
salesCodeValue?: string | null | undefined;
|
|
1557
1570
|
referralLogs?: any;
|
|
1571
|
+
referralDocuments?: any;
|
|
1558
1572
|
}, {
|
|
1559
1573
|
agency: {
|
|
1560
1574
|
agencyValue?: string | null | undefined;
|
|
@@ -1689,6 +1703,7 @@ export declare const ReferralEntity: {
|
|
|
1689
1703
|
name?: string | null | undefined;
|
|
1690
1704
|
salesCodeValue?: string | null | undefined;
|
|
1691
1705
|
referralLogs?: any;
|
|
1706
|
+
referralDocuments?: any;
|
|
1692
1707
|
}>;
|
|
1693
1708
|
SPayloadAPI: z.ZodObject<{
|
|
1694
1709
|
readonly referralId: z.ZodOptional<z.ZodString>;
|
|
@@ -2017,6 +2032,7 @@ export declare const ReferralEntity: {
|
|
|
2017
2032
|
placeholderForSiFlow?: string | null | undefined;
|
|
2018
2033
|
}>>;
|
|
2019
2034
|
readonly referralLogs: z.ZodOptional<z.ZodTypeAny>;
|
|
2035
|
+
readonly referralDocuments: z.ZodOptional<z.ZodTypeAny>;
|
|
2020
2036
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2021
2037
|
agency?: {
|
|
2022
2038
|
agencyValue?: string | null | undefined;
|
|
@@ -2136,6 +2152,7 @@ export declare const ReferralEntity: {
|
|
|
2136
2152
|
} | undefined;
|
|
2137
2153
|
referralFriendlyId?: string | undefined;
|
|
2138
2154
|
referralLogs?: any;
|
|
2155
|
+
referralDocuments?: any;
|
|
2139
2156
|
}, {
|
|
2140
2157
|
agency?: {
|
|
2141
2158
|
agencyValue?: string | null | undefined;
|
|
@@ -2255,6 +2272,7 @@ export declare const ReferralEntity: {
|
|
|
2255
2272
|
} | undefined;
|
|
2256
2273
|
referralFriendlyId?: string | undefined;
|
|
2257
2274
|
referralLogs?: any;
|
|
2275
|
+
referralDocuments?: any;
|
|
2258
2276
|
}>;
|
|
2259
2277
|
mapD365ToPretty: (data: unknown) => Record<string, unknown>;
|
|
2260
2278
|
mapPrettyToD365: (prettyData: unknown) => Record<string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TReferralAPI.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/referral/TReferralAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"TReferralAPI.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/referral/TReferralAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,cAAc;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGzB,CAAA;AAGF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,aAAa,CAAC,CAAA;AACxE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,YAAY,CAAC,CAAA;AACtE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,WAAW,CAAC,CAAA;AAW5E,eAAO,MAAM,qBAAqB;;;;;;+BAoB9B,CAAA;AAEJ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
|
|
@@ -56,6 +56,7 @@ export declare const Referral: {
|
|
|
56
56
|
"assignment/workCountry": string;
|
|
57
57
|
"assignment/solution": string;
|
|
58
58
|
referralLogs: string;
|
|
59
|
+
referralDocuments: string;
|
|
59
60
|
"contractor/contractorFormattedValue": string;
|
|
60
61
|
"agency/agencyFormattedValue": string;
|
|
61
62
|
"agency/agencyContactFormattedValue": string;
|
|
@@ -227,6 +228,7 @@ export declare const Referral: {
|
|
|
227
228
|
readonly ww_ca_Country: "assignment/workCountry";
|
|
228
229
|
readonly ww_Parent_Solution: "assignment/parentSolution";
|
|
229
230
|
readonly ww_ca_SolutionPackage: "assignment/solution";
|
|
231
|
+
readonly ww_ContractorDocument_ww_SalesChecklist_NN: "referralDocuments";
|
|
230
232
|
readonly _organizationid_value: "organizationIdValue";
|
|
231
233
|
readonly '@odata.etag': "etag";
|
|
232
234
|
readonly versionnumber: "versionNumber";
|
|
@@ -363,6 +365,7 @@ export declare const Referral: {
|
|
|
363
365
|
readonly ww_ca_Country: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
364
366
|
readonly ww_Parent_Solution: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
365
367
|
readonly ww_ca_SolutionPackage: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
368
|
+
readonly ww_ContractorDocument_ww_SalesChecklist_NN: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
366
369
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
367
370
|
'@odata.etag'?: string | null | undefined;
|
|
368
371
|
_createdby_value?: string | null | undefined;
|
|
@@ -416,6 +419,7 @@ export declare const Referral: {
|
|
|
416
419
|
ww_ca_Country?: any;
|
|
417
420
|
ww_ca_SolutionPackage?: any;
|
|
418
421
|
ww_referrallog_Referral_ww_saleschecklist?: any;
|
|
422
|
+
ww_ContractorDocument_ww_SalesChecklist_NN?: any;
|
|
419
423
|
"_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
420
424
|
"_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
421
425
|
"_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
@@ -536,6 +540,7 @@ export declare const Referral: {
|
|
|
536
540
|
ww_ca_Country?: any;
|
|
537
541
|
ww_ca_SolutionPackage?: any;
|
|
538
542
|
ww_referrallog_Referral_ww_saleschecklist?: any;
|
|
543
|
+
ww_ContractorDocument_ww_SalesChecklist_NN?: any;
|
|
539
544
|
"_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
540
545
|
"_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
541
546
|
"_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
@@ -709,6 +714,7 @@ export declare const Referral: {
|
|
|
709
714
|
readonly ww_ca_Country: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
710
715
|
readonly ww_Parent_Solution: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
711
716
|
readonly ww_ca_SolutionPackage: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
717
|
+
readonly ww_ContractorDocument_ww_SalesChecklist_NN: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
712
718
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
713
719
|
_transactioncurrencyid_value?: string | null | undefined;
|
|
714
720
|
ww_totalrevenue?: number | null | undefined;
|
|
@@ -747,6 +753,7 @@ export declare const Referral: {
|
|
|
747
753
|
ww_ca_Country?: any;
|
|
748
754
|
ww_ca_SolutionPackage?: any;
|
|
749
755
|
ww_referrallog_Referral_ww_saleschecklist?: any;
|
|
756
|
+
ww_ContractorDocument_ww_SalesChecklist_NN?: any;
|
|
750
757
|
"_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
751
758
|
"_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
752
759
|
"_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
@@ -852,6 +859,7 @@ export declare const Referral: {
|
|
|
852
859
|
ww_ca_Country?: any;
|
|
853
860
|
ww_ca_SolutionPackage?: any;
|
|
854
861
|
ww_referrallog_Referral_ww_saleschecklist?: any;
|
|
862
|
+
ww_ContractorDocument_ww_SalesChecklist_NN?: any;
|
|
855
863
|
"_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
856
864
|
"_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
857
865
|
"_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
@@ -1425,6 +1433,11 @@ export declare const Referral: {
|
|
|
1425
1433
|
readonly pretty: "assignment/solution";
|
|
1426
1434
|
readonly entityKey: "solution";
|
|
1427
1435
|
};
|
|
1436
|
+
readonly ww_ContractorDocument_ww_SalesChecklist_NN: {
|
|
1437
|
+
readonly pretty: "referralDocuments";
|
|
1438
|
+
readonly entityKey: "contractorDocument";
|
|
1439
|
+
readonly isArray: true;
|
|
1440
|
+
};
|
|
1428
1441
|
}>, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
1429
1442
|
agency: {
|
|
1430
1443
|
agencyValue?: string | null | undefined;
|
|
@@ -1559,6 +1572,7 @@ export declare const Referral: {
|
|
|
1559
1572
|
name?: string | null | undefined;
|
|
1560
1573
|
salesCodeValue?: string | null | undefined;
|
|
1561
1574
|
referralLogs?: any;
|
|
1575
|
+
referralDocuments?: any;
|
|
1562
1576
|
}, {
|
|
1563
1577
|
agency: {
|
|
1564
1578
|
agencyValue?: string | null | undefined;
|
|
@@ -1693,6 +1707,7 @@ export declare const Referral: {
|
|
|
1693
1707
|
name?: string | null | undefined;
|
|
1694
1708
|
salesCodeValue?: string | null | undefined;
|
|
1695
1709
|
referralLogs?: any;
|
|
1710
|
+
referralDocuments?: any;
|
|
1696
1711
|
}>;
|
|
1697
1712
|
SPayloadAPI: import("zod").ZodObject<{
|
|
1698
1713
|
readonly referralId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -2021,6 +2036,7 @@ export declare const Referral: {
|
|
|
2021
2036
|
placeholderForSiFlow?: string | null | undefined;
|
|
2022
2037
|
}>>;
|
|
2023
2038
|
readonly referralLogs: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
2039
|
+
readonly referralDocuments: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
2024
2040
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
2025
2041
|
agency?: {
|
|
2026
2042
|
agencyValue?: string | null | undefined;
|
|
@@ -2140,6 +2156,7 @@ export declare const Referral: {
|
|
|
2140
2156
|
} | undefined;
|
|
2141
2157
|
referralFriendlyId?: string | undefined;
|
|
2142
2158
|
referralLogs?: any;
|
|
2159
|
+
referralDocuments?: any;
|
|
2143
2160
|
}, {
|
|
2144
2161
|
agency?: {
|
|
2145
2162
|
agencyValue?: string | null | undefined;
|
|
@@ -2259,6 +2276,7 @@ export declare const Referral: {
|
|
|
2259
2276
|
} | undefined;
|
|
2260
2277
|
referralFriendlyId?: string | undefined;
|
|
2261
2278
|
referralLogs?: any;
|
|
2279
|
+
referralDocuments?: any;
|
|
2262
2280
|
}>;
|
|
2263
2281
|
mapD365ToPretty: (data: unknown) => Record<string, unknown>;
|
|
2264
2282
|
mapPrettyToD365: (prettyData: unknown) => Record<string, unknown>;
|
|
@@ -2533,6 +2551,10 @@ export declare const Referral: {
|
|
|
2533
2551
|
readonly relationshipName: "ww_referrallog_Referral_ww_saleschecklist";
|
|
2534
2552
|
readonly entity: "ww_referrallogs";
|
|
2535
2553
|
};
|
|
2554
|
+
readonly documents: {
|
|
2555
|
+
readonly relationshipName: "ww_ContractorDocument_ww_SalesChecklist_NN";
|
|
2556
|
+
readonly entity: "ww_contractordocuments";
|
|
2557
|
+
};
|
|
2536
2558
|
};
|
|
2537
2559
|
};
|
|
2538
2560
|
export * from './TReferralAPI.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/referral/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/referral/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKpB,CAAA;AAID,cAAc,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SGetAssignmentsMetricsBFF: z.ZodEffects<z.ZodObject<{
|
|
3
|
+
readonly assignmentId: z.ZodOptional<z.ZodString>;
|
|
4
|
+
readonly assignment: z.ZodOptional<z.ZodObject<{
|
|
5
|
+
readonly startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
readonly endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
readonly actualEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
readonly endClient: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
readonly workCountry: z.ZodTypeAny;
|
|
10
|
+
readonly solution: z.ZodTypeAny;
|
|
11
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
12
|
+
solution?: any;
|
|
13
|
+
endClient?: string | null | undefined;
|
|
14
|
+
startDate?: string | null | undefined;
|
|
15
|
+
endDate?: string | null | undefined;
|
|
16
|
+
actualEndDate?: string | null | undefined;
|
|
17
|
+
workCountry?: any;
|
|
18
|
+
}, {
|
|
19
|
+
solution?: any;
|
|
20
|
+
endClient?: string | null | undefined;
|
|
21
|
+
startDate?: string | null | undefined;
|
|
22
|
+
endDate?: string | null | undefined;
|
|
23
|
+
actualEndDate?: string | null | undefined;
|
|
24
|
+
workCountry?: any;
|
|
25
|
+
}>>;
|
|
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>>;
|
|
29
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
30
|
+
agencyValue?: string | null | undefined;
|
|
31
|
+
agencyContactValue?: string | null | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
agencyValue?: string | null | undefined;
|
|
34
|
+
agencyContactValue?: string | null | undefined;
|
|
35
|
+
}>>;
|
|
36
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
37
|
+
agency?: {
|
|
38
|
+
agencyValue?: string | null | undefined;
|
|
39
|
+
agencyContactValue?: string | null | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
assignment?: {
|
|
42
|
+
solution?: any;
|
|
43
|
+
endClient?: string | null | undefined;
|
|
44
|
+
startDate?: string | null | undefined;
|
|
45
|
+
endDate?: string | null | undefined;
|
|
46
|
+
actualEndDate?: string | null | undefined;
|
|
47
|
+
workCountry?: any;
|
|
48
|
+
} | undefined;
|
|
49
|
+
assignmentId?: string | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
agency?: {
|
|
52
|
+
agencyValue?: string | null | undefined;
|
|
53
|
+
agencyContactValue?: string | null | undefined;
|
|
54
|
+
} | undefined;
|
|
55
|
+
assignment?: {
|
|
56
|
+
solution?: any;
|
|
57
|
+
endClient?: string | null | undefined;
|
|
58
|
+
startDate?: string | null | undefined;
|
|
59
|
+
endDate?: string | null | undefined;
|
|
60
|
+
actualEndDate?: string | null | undefined;
|
|
61
|
+
workCountry?: any;
|
|
62
|
+
} | undefined;
|
|
63
|
+
assignmentId?: string | undefined;
|
|
64
|
+
}>, {
|
|
65
|
+
greaterEndDate: string | null | undefined;
|
|
66
|
+
startDate: string | null | undefined;
|
|
67
|
+
solutionCategory: string | null;
|
|
68
|
+
countryRegion: string | null;
|
|
69
|
+
}, {
|
|
70
|
+
agency?: {
|
|
71
|
+
agencyValue?: string | null | undefined;
|
|
72
|
+
agencyContactValue?: string | null | undefined;
|
|
73
|
+
} | undefined;
|
|
74
|
+
assignment?: {
|
|
75
|
+
solution?: any;
|
|
76
|
+
endClient?: string | null | undefined;
|
|
77
|
+
startDate?: string | null | undefined;
|
|
78
|
+
endDate?: string | null | undefined;
|
|
79
|
+
actualEndDate?: string | null | undefined;
|
|
80
|
+
workCountry?: any;
|
|
81
|
+
} | undefined;
|
|
82
|
+
assignmentId?: string | undefined;
|
|
83
|
+
}>;
|
|
84
|
+
export type TGetAssignmentsMetricsBFF = z.infer<typeof SGetAssignmentsMetricsBFF>;
|
|
85
|
+
export declare const SActiveMetricsBFF: z.ZodObject<{
|
|
86
|
+
count: z.ZodObject<{
|
|
87
|
+
total: z.ZodNumber;
|
|
88
|
+
c2cCount: z.ZodNumber;
|
|
89
|
+
selfEmployedCount: z.ZodNumber;
|
|
90
|
+
eorCount: z.ZodNumber;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
total: number;
|
|
93
|
+
c2cCount: number;
|
|
94
|
+
selfEmployedCount: number;
|
|
95
|
+
eorCount: number;
|
|
96
|
+
}, {
|
|
97
|
+
total: number;
|
|
98
|
+
c2cCount: number;
|
|
99
|
+
selfEmployedCount: number;
|
|
100
|
+
eorCount: number;
|
|
101
|
+
}>;
|
|
102
|
+
performance: z.ZodNumber;
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
count: {
|
|
105
|
+
total: number;
|
|
106
|
+
c2cCount: number;
|
|
107
|
+
selfEmployedCount: number;
|
|
108
|
+
eorCount: number;
|
|
109
|
+
};
|
|
110
|
+
performance: number;
|
|
111
|
+
}, {
|
|
112
|
+
count: {
|
|
113
|
+
total: number;
|
|
114
|
+
c2cCount: number;
|
|
115
|
+
selfEmployedCount: number;
|
|
116
|
+
eorCount: number;
|
|
117
|
+
};
|
|
118
|
+
performance: number;
|
|
119
|
+
}>;
|
|
120
|
+
export type TActiveMetricsBFF = z.infer<typeof SActiveMetricsBFF>;
|
|
121
|
+
export declare const SPastFutureMetricsBFF: z.ZodObject<{
|
|
122
|
+
next: z.ZodObject<{
|
|
123
|
+
starting: z.ZodObject<{
|
|
124
|
+
total: z.ZodNumber;
|
|
125
|
+
c2cCount: z.ZodNumber;
|
|
126
|
+
selfEmployedCount: z.ZodNumber;
|
|
127
|
+
eorCount: z.ZodNumber;
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
|
+
total: number;
|
|
130
|
+
c2cCount: number;
|
|
131
|
+
selfEmployedCount: number;
|
|
132
|
+
eorCount: number;
|
|
133
|
+
}, {
|
|
134
|
+
total: number;
|
|
135
|
+
c2cCount: number;
|
|
136
|
+
selfEmployedCount: number;
|
|
137
|
+
eorCount: number;
|
|
138
|
+
}>;
|
|
139
|
+
ending: z.ZodObject<{
|
|
140
|
+
total: z.ZodNumber;
|
|
141
|
+
c2cCount: z.ZodNumber;
|
|
142
|
+
selfEmployedCount: z.ZodNumber;
|
|
143
|
+
eorCount: z.ZodNumber;
|
|
144
|
+
}, "strip", z.ZodTypeAny, {
|
|
145
|
+
total: number;
|
|
146
|
+
c2cCount: number;
|
|
147
|
+
selfEmployedCount: number;
|
|
148
|
+
eorCount: number;
|
|
149
|
+
}, {
|
|
150
|
+
total: number;
|
|
151
|
+
c2cCount: number;
|
|
152
|
+
selfEmployedCount: number;
|
|
153
|
+
eorCount: number;
|
|
154
|
+
}>;
|
|
155
|
+
}, "strip", z.ZodTypeAny, {
|
|
156
|
+
starting: {
|
|
157
|
+
total: number;
|
|
158
|
+
c2cCount: number;
|
|
159
|
+
selfEmployedCount: number;
|
|
160
|
+
eorCount: number;
|
|
161
|
+
};
|
|
162
|
+
ending: {
|
|
163
|
+
total: number;
|
|
164
|
+
c2cCount: number;
|
|
165
|
+
selfEmployedCount: number;
|
|
166
|
+
eorCount: number;
|
|
167
|
+
};
|
|
168
|
+
}, {
|
|
169
|
+
starting: {
|
|
170
|
+
total: number;
|
|
171
|
+
c2cCount: number;
|
|
172
|
+
selfEmployedCount: number;
|
|
173
|
+
eorCount: number;
|
|
174
|
+
};
|
|
175
|
+
ending: {
|
|
176
|
+
total: number;
|
|
177
|
+
c2cCount: number;
|
|
178
|
+
selfEmployedCount: number;
|
|
179
|
+
eorCount: number;
|
|
180
|
+
};
|
|
181
|
+
}>;
|
|
182
|
+
last: z.ZodObject<{
|
|
183
|
+
started: z.ZodObject<{
|
|
184
|
+
total: z.ZodNumber;
|
|
185
|
+
c2cCount: z.ZodNumber;
|
|
186
|
+
selfEmployedCount: z.ZodNumber;
|
|
187
|
+
eorCount: z.ZodNumber;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
total: number;
|
|
190
|
+
c2cCount: number;
|
|
191
|
+
selfEmployedCount: number;
|
|
192
|
+
eorCount: number;
|
|
193
|
+
}, {
|
|
194
|
+
total: number;
|
|
195
|
+
c2cCount: number;
|
|
196
|
+
selfEmployedCount: number;
|
|
197
|
+
eorCount: number;
|
|
198
|
+
}>;
|
|
199
|
+
ended: z.ZodObject<{
|
|
200
|
+
total: z.ZodNumber;
|
|
201
|
+
c2cCount: z.ZodNumber;
|
|
202
|
+
selfEmployedCount: z.ZodNumber;
|
|
203
|
+
eorCount: z.ZodNumber;
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
total: number;
|
|
206
|
+
c2cCount: number;
|
|
207
|
+
selfEmployedCount: number;
|
|
208
|
+
eorCount: number;
|
|
209
|
+
}, {
|
|
210
|
+
total: number;
|
|
211
|
+
c2cCount: number;
|
|
212
|
+
selfEmployedCount: number;
|
|
213
|
+
eorCount: number;
|
|
214
|
+
}>;
|
|
215
|
+
}, "strip", z.ZodTypeAny, {
|
|
216
|
+
ended: {
|
|
217
|
+
total: number;
|
|
218
|
+
c2cCount: number;
|
|
219
|
+
selfEmployedCount: number;
|
|
220
|
+
eorCount: number;
|
|
221
|
+
};
|
|
222
|
+
started: {
|
|
223
|
+
total: number;
|
|
224
|
+
c2cCount: number;
|
|
225
|
+
selfEmployedCount: number;
|
|
226
|
+
eorCount: number;
|
|
227
|
+
};
|
|
228
|
+
}, {
|
|
229
|
+
ended: {
|
|
230
|
+
total: number;
|
|
231
|
+
c2cCount: number;
|
|
232
|
+
selfEmployedCount: number;
|
|
233
|
+
eorCount: number;
|
|
234
|
+
};
|
|
235
|
+
started: {
|
|
236
|
+
total: number;
|
|
237
|
+
c2cCount: number;
|
|
238
|
+
selfEmployedCount: number;
|
|
239
|
+
eorCount: number;
|
|
240
|
+
};
|
|
241
|
+
}>;
|
|
242
|
+
}, "strip", z.ZodTypeAny, {
|
|
243
|
+
next: {
|
|
244
|
+
starting: {
|
|
245
|
+
total: number;
|
|
246
|
+
c2cCount: number;
|
|
247
|
+
selfEmployedCount: number;
|
|
248
|
+
eorCount: number;
|
|
249
|
+
};
|
|
250
|
+
ending: {
|
|
251
|
+
total: number;
|
|
252
|
+
c2cCount: number;
|
|
253
|
+
selfEmployedCount: number;
|
|
254
|
+
eorCount: number;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
last: {
|
|
258
|
+
ended: {
|
|
259
|
+
total: number;
|
|
260
|
+
c2cCount: number;
|
|
261
|
+
selfEmployedCount: number;
|
|
262
|
+
eorCount: number;
|
|
263
|
+
};
|
|
264
|
+
started: {
|
|
265
|
+
total: number;
|
|
266
|
+
c2cCount: number;
|
|
267
|
+
selfEmployedCount: number;
|
|
268
|
+
eorCount: number;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
}, {
|
|
272
|
+
next: {
|
|
273
|
+
starting: {
|
|
274
|
+
total: number;
|
|
275
|
+
c2cCount: number;
|
|
276
|
+
selfEmployedCount: number;
|
|
277
|
+
eorCount: number;
|
|
278
|
+
};
|
|
279
|
+
ending: {
|
|
280
|
+
total: number;
|
|
281
|
+
c2cCount: number;
|
|
282
|
+
selfEmployedCount: number;
|
|
283
|
+
eorCount: number;
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
last: {
|
|
287
|
+
ended: {
|
|
288
|
+
total: number;
|
|
289
|
+
c2cCount: number;
|
|
290
|
+
selfEmployedCount: number;
|
|
291
|
+
eorCount: number;
|
|
292
|
+
};
|
|
293
|
+
started: {
|
|
294
|
+
total: number;
|
|
295
|
+
c2cCount: number;
|
|
296
|
+
selfEmployedCount: number;
|
|
297
|
+
eorCount: number;
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
}>;
|
|
301
|
+
export type TPastFutureMetricsBFF = z.infer<typeof SPastFutureMetricsBFF>;
|
|
302
|
+
export type TAllMetricsBFF = {
|
|
303
|
+
active: TActiveMetricsBFF;
|
|
304
|
+
pastFuture: TPastFutureMetricsBFF;
|
|
305
|
+
};
|
|
306
|
+
//# sourceMappingURL=SGetAssignmentsMetricsBFF.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGhC,CAAA;AAEF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,iBAAiB,CAAA;IACzB,UAAU,EAAE,qBAAqB,CAAA;CAClC,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { assignmentFields } from '../../api/assignment/DAssignmentAPI.js';
|
|
3
|
+
import { createPrettySchema, pickPrettyFields, } from '../../api/_entityTools/SchemasEntityTools.js';
|
|
4
|
+
import { solutionCategory } from '../helpers/SolutionHelper.js';
|
|
5
|
+
import { region } from '../helpers/RegionHelper.js';
|
|
6
|
+
const SAssignmentBase = createPrettySchema(pickPrettyFields(assignmentFields, [
|
|
7
|
+
'assignmentId',
|
|
8
|
+
'assignment/endDate',
|
|
9
|
+
'assignment/startDate',
|
|
10
|
+
'assignment/actualEndDate',
|
|
11
|
+
'assignment/solution',
|
|
12
|
+
'assignment/workCountry',
|
|
13
|
+
'assignment/endClient',
|
|
14
|
+
'agency/agencyValue',
|
|
15
|
+
'agency/agencyContactValue',
|
|
16
|
+
])).partial();
|
|
17
|
+
export const SGetAssignmentsMetricsBFF = SAssignmentBase.transform(val => {
|
|
18
|
+
return {
|
|
19
|
+
greaterEndDate: val?.assignment?.actualEndDate ?? val?.assignment?.endDate,
|
|
20
|
+
startDate: val?.assignment?.startDate,
|
|
21
|
+
solutionCategory: solutionCategory(val?.assignment?.solution?.productNumber),
|
|
22
|
+
countryRegion: region(val.assignment?.workCountry?.code),
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
const counts = z.object({
|
|
26
|
+
total: z.number(),
|
|
27
|
+
c2cCount: z.number(),
|
|
28
|
+
selfEmployedCount: z.number(),
|
|
29
|
+
eorCount: z.number(),
|
|
30
|
+
});
|
|
31
|
+
export const SActiveMetricsBFF = z.object({
|
|
32
|
+
count: counts,
|
|
33
|
+
performance: z.number(),
|
|
34
|
+
});
|
|
35
|
+
export const SPastFutureMetricsBFF = z.object({
|
|
36
|
+
next: z.object({ starting: counts, ending: counts }),
|
|
37
|
+
last: z.object({ started: counts, ended: counts }),
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=SGetAssignmentsMetricsBFF.js.map
|
|
@@ -0,0 +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,CAA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,"file":"index.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsMetrics/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA"}
|
|
@@ -108,6 +108,7 @@ export declare const SGetAssignmentSummaryBFF: z.ZodEffects<z.ZodObject<{
|
|
|
108
108
|
} | undefined;
|
|
109
109
|
stageReasonLastChangedAt?: unknown;
|
|
110
110
|
}>, {
|
|
111
|
+
greaterEndDate: string | null | undefined;
|
|
111
112
|
type: "assignment";
|
|
112
113
|
stageReasonLastChangedAt: string | null;
|
|
113
114
|
agency?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SGetAssignmentsSummaryBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8BvB,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"SGetAssignmentsSummaryBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8BvB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUnC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
|
|
@@ -26,6 +26,7 @@ export const SGetAssignmentSummaryBFF = SAssignmentBase.extend({
|
|
|
26
26
|
}).transform(val => {
|
|
27
27
|
return {
|
|
28
28
|
...val,
|
|
29
|
+
greaterEndDate: val?.assignment?.actualEndDate ?? val?.assignment?.endDate,
|
|
29
30
|
// statusDetails: assignmentStatusDetails(val as unknown as TAssignmentAPI),
|
|
30
31
|
// countryRegion: val.assignment?.workCountryValue,
|
|
31
32
|
};
|