@workwell-global/toolkit 1.1.58 → 1.1.60

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 (39) hide show
  1. package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts +16 -4
  2. package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts.map +1 -1
  3. package/dist/models/schemas/api/assignment/TAssignmentAPI.js +8 -6
  4. package/dist/models/schemas/api/assignment/TAssignmentAPI.js.map +1 -1
  5. package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts +9 -9
  6. package/dist/models/schemas/api/caseManagement/index.d.ts +9 -9
  7. package/dist/models/schemas/api/contractorDocument/TContractorDocumentAPI.d.ts +42 -6
  8. package/dist/models/schemas/api/contractorDocument/TContractorDocumentAPI.d.ts.map +1 -1
  9. package/dist/models/schemas/api/contractorDocument/index.d.ts +42 -6
  10. package/dist/models/schemas/api/contractorDocument/index.d.ts.map +1 -1
  11. package/dist/models/schemas/api/referral/DReferralAPI.d.ts +8 -0
  12. package/dist/models/schemas/api/referral/DReferralAPI.d.ts.map +1 -1
  13. package/dist/models/schemas/api/referral/DReferralAPI.js +8 -0
  14. package/dist/models/schemas/api/referral/DReferralAPI.js.map +1 -1
  15. package/dist/models/schemas/api/referral/TReferralAPI.d.ts +99 -9
  16. package/dist/models/schemas/api/referral/TReferralAPI.d.ts.map +1 -1
  17. package/dist/models/schemas/api/referral/TReferralAPI.js +13 -2
  18. package/dist/models/schemas/api/referral/TReferralAPI.js.map +1 -1
  19. package/dist/models/schemas/api/referral/index.d.ts +87 -9
  20. package/dist/models/schemas/api/referral/index.d.ts.map +1 -1
  21. package/dist/models/schemas/bff/engagementEdit/SPatchEngagementEdit.d.ts +10 -0
  22. package/dist/models/schemas/bff/engagementEdit/SPatchEngagementEdit.d.ts.map +1 -0
  23. package/dist/models/schemas/bff/engagementEdit/SPatchEngagementEdit.js +8 -0
  24. package/dist/models/schemas/bff/engagementEdit/SPatchEngagementEdit.js.map +1 -0
  25. package/dist/models/schemas/bff/engagementEdit/SPostEngagementEdit.d.ts +94 -12
  26. package/dist/models/schemas/bff/engagementEdit/SPostEngagementEdit.d.ts.map +1 -1
  27. package/dist/models/schemas/bff/engagementEdit/SPostEngagementEdit.js +4 -2
  28. package/dist/models/schemas/bff/engagementEdit/SPostEngagementEdit.js.map +1 -1
  29. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAgentSummaryBFF.d.ts +26 -2
  30. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAgentSummaryBFF.d.ts.map +1 -1
  31. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts +26 -2
  32. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts.map +1 -1
  33. package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerReferral.d.ts +2 -0
  34. package/dist/models/schemas/bff/onboardAWorker/SPostOnboardAWorkerReferral.d.ts.map +1 -1
  35. package/dist/models/schemas/bff/referAWorker/SPostReferAWorker.d.ts +6 -0
  36. package/dist/models/schemas/bff/referAWorker/SPostReferAWorker.d.ts.map +1 -1
  37. package/dist/models/schemas/bff/referralsSummary/SGetReferralsSummary.d.ts +26 -2
  38. package/dist/models/schemas/bff/referralsSummary/SGetReferralsSummary.d.ts.map +1 -1
  39. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
- import { organisationBaseFieldsD365 } from '../_bases/SBaseAPI.js';
2
+ import { ownershipBaseFieldsD365 } from '../_bases/SBaseAPI.js';
3
3
  import { referralFields } from './DReferralAPI.js';
4
4
  import { createEntityTools } from '../_entityTools/CreateEntityTools.js';
5
5
  export const ReferralEntity = createEntityTools({
6
6
  uniqueFields: referralFields,
7
- baseFields: organisationBaseFieldsD365,
7
+ baseFields: ownershipBaseFieldsD365,
8
8
  });
9
9
  const SQueryParamsBase = z.object({
10
10
  filter: z.enum(['agent', 'agency', 'contractor']),
@@ -33,4 +33,15 @@ export const SReferralsQueryParams = z
33
33
  includeDocuments: params.get('includeDocuments') === 'true',
34
34
  };
35
35
  });
36
+ export const SGetReferralQueryParams = z
37
+ .object({
38
+ referralId: z.string(),
39
+ })
40
+ .transform(({ referralId, }) => {
41
+ if (!referralId)
42
+ return undefined;
43
+ return {
44
+ referralId,
45
+ };
46
+ });
36
47
  //# sourceMappingURL=TReferralAPI.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TReferralAPI.js","sourceRoot":"","sources":["../../../../../src/models/schemas/api/referral/TReferralAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAA;AAExE,MAAM,CAAC,MAAM,cAAc,GAAG,iBAAiB,CAAC;IAC9C,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,0BAA0B;CACvC,CAAC,CAAA;AAOF,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;IACjD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE;IAC5B,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;IAE7B,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,UAAU,CAAC,eAAe,CAAC;KAC3B,SAAS,CAAC,CAAC,MAAM,EAAgD,EAAE;IAClE,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,CAA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AO;QACL,UAAU;KACX,CAAA;AACH,CAAC,CACF,CAAA"}
@@ -7,7 +7,11 @@ export declare const Referral: {
7
7
  Tools: {
8
8
  isLookupOnly: boolean;
9
9
  SResponseD365: import("zod").ZodObject<{
10
- readonly _organizationid_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
10
+ readonly _ownerid_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
11
+ readonly _owningbusinessunit_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
12
+ readonly _owningteam_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
13
+ readonly _owninguser_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
14
+ readonly '_ownerid_value@OData.Community.Display.V1.FormattedValue': import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
11
15
  readonly '@odata.etag': import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null | undefined, string | null | undefined>>;
12
16
  readonly versionnumber: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
13
17
  readonly _createdby_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
@@ -91,6 +95,8 @@ export declare const Referral: {
91
95
  readonly _ww_ca_agencyconsultant_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
92
96
  readonly "_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue": import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
93
97
  readonly "_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue": import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
98
+ readonly "ww_ca_stage@OData.Community.Display.V1.FormattedValue": import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
99
+ readonly "_ww_accountmanager_value@OData.Community.Display.V1.FormattedValue": import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
94
100
  readonly ww_rtw_requiredincontractcountry: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>>;
95
101
  readonly ww_rtw_haveincontractcountry: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>>;
96
102
  readonly ww_rtw_whoisarrangingvisa: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
@@ -541,6 +547,10 @@ export declare const Referral: {
541
547
  _createdonbehalfby_value?: string | null | undefined;
542
548
  _modifiedby_value?: string | null | undefined;
543
549
  _modifiedonbehalfby_value?: string | null | undefined;
550
+ _ownerid_value?: string | null | undefined;
551
+ _owningbusinessunit_value?: string | null | undefined;
552
+ _owningteam_value?: string | null | undefined;
553
+ _owninguser_value?: string | null | undefined;
544
554
  _transactioncurrencyid_value?: string | null | undefined;
545
555
  createdon?: string | null | undefined;
546
556
  importsequencenumber?: number | null | undefined;
@@ -552,9 +562,9 @@ export declare const Referral: {
552
562
  utcconversiontimezonecode?: string | number | null | undefined;
553
563
  versionnumber?: number | null | undefined;
554
564
  ww_totalrevenue?: number | null | undefined;
565
+ '_ownerid_value@OData.Community.Display.V1.FormattedValue'?: string | null | undefined;
555
566
  '_createdby_value@OData.Community.Display.V1.FormattedValue'?: string | null | undefined;
556
567
  ww_name?: string | null | undefined;
557
- _organizationid_value?: string | null | undefined;
558
568
  ww_ContractorDocument_ww_SalesChecklist_NN?: any[] | null | undefined;
559
569
  ww_ca_Country?: {
560
570
  ww_countryid?: string | null | undefined;
@@ -758,6 +768,8 @@ export declare const Referral: {
758
768
  "_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
759
769
  "_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
760
770
  "_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
771
+ "ww_ca_stage@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
772
+ "_ww_accountmanager_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
761
773
  ww_referralid?: string | undefined;
762
774
  _ww_salescode_value?: string | null | undefined;
763
775
  ww_ca_stage?: number | null | undefined;
@@ -874,6 +886,10 @@ export declare const Referral: {
874
886
  _createdonbehalfby_value?: string | null | undefined;
875
887
  _modifiedby_value?: string | null | undefined;
876
888
  _modifiedonbehalfby_value?: string | null | undefined;
889
+ _ownerid_value?: string | null | undefined;
890
+ _owningbusinessunit_value?: string | null | undefined;
891
+ _owningteam_value?: string | null | undefined;
892
+ _owninguser_value?: string | null | undefined;
877
893
  _transactioncurrencyid_value?: string | null | undefined;
878
894
  createdon?: string | null | undefined;
879
895
  importsequencenumber?: number | null | undefined;
@@ -885,9 +901,9 @@ export declare const Referral: {
885
901
  utcconversiontimezonecode?: string | number | null | undefined;
886
902
  versionnumber?: number | null | undefined;
887
903
  ww_totalrevenue?: number | null | undefined;
904
+ '_ownerid_value@OData.Community.Display.V1.FormattedValue'?: string | null | undefined;
888
905
  '_createdby_value@OData.Community.Display.V1.FormattedValue'?: string | null | undefined;
889
906
  ww_name?: string | null | undefined;
890
- _organizationid_value?: string | null | undefined;
891
907
  ww_ContractorDocument_ww_SalesChecklist_NN?: any[] | null | undefined;
892
908
  ww_ca_Country?: {
893
909
  ww_countryid?: string | null | undefined;
@@ -1091,6 +1107,8 @@ export declare const Referral: {
1091
1107
  "_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1092
1108
  "_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1093
1109
  "_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1110
+ "ww_ca_stage@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1111
+ "_ww_accountmanager_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1094
1112
  ww_referralid?: string | undefined;
1095
1113
  _ww_salescode_value?: string | null | undefined;
1096
1114
  ww_ca_stage?: number | null | undefined;
@@ -1270,6 +1288,8 @@ export declare const Referral: {
1270
1288
  readonly _ww_ca_agencyconsultant_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
1271
1289
  readonly "_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue": import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
1272
1290
  readonly "_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue": import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
1291
+ readonly "ww_ca_stage@OData.Community.Display.V1.FormattedValue": import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
1292
+ readonly "_ww_accountmanager_value@OData.Community.Display.V1.FormattedValue": import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
1273
1293
  readonly ww_rtw_requiredincontractcountry: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>>;
1274
1294
  readonly ww_rtw_haveincontractcountry: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>>;
1275
1295
  readonly ww_rtw_whoisarrangingvisa: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
@@ -1336,6 +1356,8 @@ export declare const Referral: {
1336
1356
  "_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1337
1357
  "_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1338
1358
  "_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1359
+ "ww_ca_stage@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1360
+ "_ww_accountmanager_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1339
1361
  ww_referralid?: string | undefined;
1340
1362
  _ww_salescode_value?: string | null | undefined;
1341
1363
  ww_ca_stage?: number | null | undefined;
@@ -1458,6 +1480,8 @@ export declare const Referral: {
1458
1480
  "_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1459
1481
  "_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1460
1482
  "_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1483
+ "ww_ca_stage@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1484
+ "_ww_accountmanager_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
1461
1485
  ww_referralid?: string | undefined;
1462
1486
  _ww_salescode_value?: string | null | undefined;
1463
1487
  ww_ca_stage?: number | null | undefined;
@@ -1569,8 +1593,24 @@ export declare const Referral: {
1569
1593
  "ww_ca_SolutionPackage@odata.bind"?: string | null | undefined;
1570
1594
  }>;
1571
1595
  SResponseAPI: import("zod").ZodObject<import("../_entityTools/SchemasEntityTools.js").TPrettyShape<{
1572
- readonly _organizationid_value: {
1573
- readonly pretty: "organizationIdValue";
1596
+ readonly _ownerid_value: {
1597
+ readonly pretty: "ownerIdValue";
1598
+ readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1599
+ };
1600
+ readonly _owningbusinessunit_value: {
1601
+ readonly pretty: "owningBusinessUnitValue";
1602
+ readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1603
+ };
1604
+ readonly _owningteam_value: {
1605
+ readonly pretty: "owningTeamValue";
1606
+ readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1607
+ };
1608
+ readonly _owninguser_value: {
1609
+ readonly pretty: "owningUserValue";
1610
+ readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1611
+ };
1612
+ readonly '_ownerid_value@OData.Community.Display.V1.FormattedValue': {
1613
+ readonly pretty: "ownerFormattedValue";
1574
1614
  readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1575
1615
  };
1576
1616
  readonly '@odata.etag': {
@@ -1928,6 +1968,14 @@ export declare const Referral: {
1928
1968
  readonly pretty: "agencyContactFormattedValue";
1929
1969
  readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1930
1970
  };
1971
+ readonly "ww_ca_stage@OData.Community.Display.V1.FormattedValue": {
1972
+ readonly pretty: "stageFormattedValue";
1973
+ readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1974
+ };
1975
+ readonly "_ww_accountmanager_value@OData.Community.Display.V1.FormattedValue": {
1976
+ readonly pretty: "accountManagerFormattedValue";
1977
+ readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1978
+ };
1931
1979
  readonly ww_rtw_requiredincontractcountry: {
1932
1980
  readonly pretty: "doesContractorRequireRtwInContractCountry";
1933
1981
  readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
@@ -2176,7 +2224,11 @@ export declare const Referral: {
2176
2224
  overriddenCreatedOn?: string | null | undefined;
2177
2225
  timezoneRuleVersionNumber?: string | number | null | undefined;
2178
2226
  utcConversionTimezoneCode?: string | number | null | undefined;
2179
- organizationIdValue?: string | null | undefined;
2227
+ ownerIdValue?: string | null | undefined;
2228
+ owningBusinessUnitValue?: string | null | undefined;
2229
+ owningTeamValue?: string | null | undefined;
2230
+ owningUserValue?: string | null | undefined;
2231
+ ownerFormattedValue?: string | null | undefined;
2180
2232
  name?: string | null | undefined;
2181
2233
  contractorValue?: string | null | undefined;
2182
2234
  referralDocuments?: any[] | null | undefined;
@@ -2236,6 +2288,8 @@ export declare const Referral: {
2236
2288
  agencyContactValue?: string | null | undefined;
2237
2289
  agencyFormattedValue?: string | null | undefined;
2238
2290
  agencyContactFormattedValue?: string | null | undefined;
2291
+ stageFormattedValue?: string | null | undefined;
2292
+ accountManagerFormattedValue?: string | null | undefined;
2239
2293
  doesContractorRequireRtwInContractCountry?: boolean | null | undefined;
2240
2294
  doesContractorHaveRtwInTheContractCountry?: boolean | null | undefined;
2241
2295
  ifNoWhoIsArrangingVisa?: number | null | undefined;
@@ -2487,7 +2541,11 @@ export declare const Referral: {
2487
2541
  overriddenCreatedOn?: string | null | undefined;
2488
2542
  timezoneRuleVersionNumber?: string | number | null | undefined;
2489
2543
  utcConversionTimezoneCode?: string | number | null | undefined;
2490
- organizationIdValue?: string | null | undefined;
2544
+ ownerIdValue?: string | null | undefined;
2545
+ owningBusinessUnitValue?: string | null | undefined;
2546
+ owningTeamValue?: string | null | undefined;
2547
+ owningUserValue?: string | null | undefined;
2548
+ ownerFormattedValue?: string | null | undefined;
2491
2549
  name?: string | null | undefined;
2492
2550
  contractorValue?: string | null | undefined;
2493
2551
  referralDocuments?: any[] | null | undefined;
@@ -2547,6 +2605,8 @@ export declare const Referral: {
2547
2605
  agencyContactValue?: string | null | undefined;
2548
2606
  agencyFormattedValue?: string | null | undefined;
2549
2607
  agencyContactFormattedValue?: string | null | undefined;
2608
+ stageFormattedValue?: string | null | undefined;
2609
+ accountManagerFormattedValue?: string | null | undefined;
2550
2610
  doesContractorRequireRtwInContractCountry?: boolean | null | undefined;
2551
2611
  doesContractorHaveRtwInTheContractCountry?: boolean | null | undefined;
2552
2612
  ifNoWhoIsArrangingVisa?: number | null | undefined;
@@ -2776,6 +2836,8 @@ export declare const Referral: {
2776
2836
  readonly agencyContactValue: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
2777
2837
  readonly agencyFormattedValue: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
2778
2838
  readonly agencyContactFormattedValue: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
2839
+ readonly stageFormattedValue: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
2840
+ readonly accountManagerFormattedValue: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
2779
2841
  readonly doesContractorRequireRtwInContractCountry: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>>;
2780
2842
  readonly doesContractorHaveRtwInTheContractCountry: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>>;
2781
2843
  readonly ifNoWhoIsArrangingVisa: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
@@ -2880,6 +2942,8 @@ export declare const Referral: {
2880
2942
  agencyContactValue?: string | null | undefined;
2881
2943
  agencyFormattedValue?: string | null | undefined;
2882
2944
  agencyContactFormattedValue?: string | null | undefined;
2945
+ stageFormattedValue?: string | null | undefined;
2946
+ accountManagerFormattedValue?: string | null | undefined;
2883
2947
  doesContractorRequireRtwInContractCountry?: boolean | null | undefined;
2884
2948
  doesContractorHaveRtwInTheContractCountry?: boolean | null | undefined;
2885
2949
  ifNoWhoIsArrangingVisa?: number | null | undefined;
@@ -2982,6 +3046,8 @@ export declare const Referral: {
2982
3046
  agencyContactValue?: string | null | undefined;
2983
3047
  agencyFormattedValue?: string | null | undefined;
2984
3048
  agencyContactFormattedValue?: string | null | undefined;
3049
+ stageFormattedValue?: string | null | undefined;
3050
+ accountManagerFormattedValue?: string | null | undefined;
2985
3051
  doesContractorRequireRtwInContractCountry?: boolean | null | undefined;
2986
3052
  doesContractorHaveRtwInTheContractCountry?: boolean | null | undefined;
2987
3053
  ifNoWhoIsArrangingVisa?: number | null | undefined;
@@ -3087,6 +3153,8 @@ export declare const Referral: {
3087
3153
  readonly _ww_ca_agencyconsultant_value: "agencyContactValue";
3088
3154
  readonly "_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue": "agencyFormattedValue";
3089
3155
  readonly "_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue": "agencyContactFormattedValue";
3156
+ readonly "ww_ca_stage@OData.Community.Display.V1.FormattedValue": "stageFormattedValue";
3157
+ readonly "_ww_accountmanager_value@OData.Community.Display.V1.FormattedValue": "accountManagerFormattedValue";
3090
3158
  readonly ww_rtw_requiredincontractcountry: "doesContractorRequireRtwInContractCountry";
3091
3159
  readonly ww_rtw_haveincontractcountry: "doesContractorHaveRtwInTheContractCountry";
3092
3160
  readonly ww_rtw_whoisarrangingvisa: "ifNoWhoIsArrangingVisa";
@@ -3124,7 +3192,11 @@ export declare const Referral: {
3124
3192
  readonly ww_Parent_Solution: "parentSolution";
3125
3193
  readonly ww_ca_SolutionPackage: "solution";
3126
3194
  readonly ww_ContractorDocument_ww_SalesChecklist_NN: "referralDocuments";
3127
- readonly _organizationid_value: "organizationIdValue";
3195
+ readonly _ownerid_value: "ownerIdValue";
3196
+ readonly _owningbusinessunit_value: "owningBusinessUnitValue";
3197
+ readonly _owningteam_value: "owningTeamValue";
3198
+ readonly _owninguser_value: "owningUserValue";
3199
+ readonly '_ownerid_value@OData.Community.Display.V1.FormattedValue': "ownerFormattedValue";
3128
3200
  readonly '@odata.etag': "etag";
3129
3201
  readonly versionnumber: "versionNumber";
3130
3202
  readonly _createdby_value: "createdByValue";
@@ -3148,6 +3220,10 @@ export declare const Referral: {
3148
3220
  createdOnBehalfByValue: string;
3149
3221
  modifiedByValue: string;
3150
3222
  modifiedOnBehalfByValue: string;
3223
+ ownerIdValue: string;
3224
+ owningBusinessUnitValue: string;
3225
+ owningTeamValue: string;
3226
+ owningUserValue: string;
3151
3227
  contractorPayRateCurrencyValue: string;
3152
3228
  createdOn: string;
3153
3229
  importSequenceNumber: string;
@@ -3159,9 +3235,9 @@ export declare const Referral: {
3159
3235
  utcConversionTimezoneCode: string;
3160
3236
  versionNumber: string;
3161
3237
  totalRevenue: string;
3238
+ ownerFormattedValue: string;
3162
3239
  createdByFormattedValue: string;
3163
3240
  name: string;
3164
- organizationIdValue: string;
3165
3241
  referralDocuments: string;
3166
3242
  workCountry: string;
3167
3243
  parentSolution: string;
@@ -3170,6 +3246,8 @@ export declare const Referral: {
3170
3246
  contractorFormattedValue: string;
3171
3247
  agencyFormattedValue: string;
3172
3248
  agencyContactFormattedValue: string;
3249
+ stageFormattedValue: string;
3250
+ accountManagerFormattedValue: string;
3173
3251
  referralFriendlyId: string;
3174
3252
  salesCodeValue: string;
3175
3253
  stage: string;
@@ -1 +1 @@
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,10 @@
1
+ import { z } from 'zod';
2
+ export declare const SPatchEngagementCancellationBFF: z.ZodOptional<z.ZodObject<{
3
+ requestedById: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4
+ }, "strip", z.ZodTypeAny, {
5
+ requestedById?: string | undefined;
6
+ }, {
7
+ requestedById?: string | undefined;
8
+ }>>;
9
+ export type TPatchEngagementCancellationBFF = z.infer<typeof SPatchEngagementCancellationBFF>;
10
+ //# sourceMappingURL=SPatchEngagementEdit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SPatchEngagementEdit.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/engagementEdit/SPatchEngagementEdit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,+BAA+B;;;;;;GAI/B,CAAA;AAEb,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,+BAA+B,CACvC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import { ContactEntity } from '../../api/index.js';
3
+ export const SPatchEngagementCancellationBFF = z
4
+ .object({
5
+ requestedById: ContactEntity.SPayloadAPI.shape.contactId.optional(),
6
+ })
7
+ .optional();
8
+ //# sourceMappingURL=SPatchEngagementEdit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SPatchEngagementEdit.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/engagementEdit/SPatchEngagementEdit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElD,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC;KAC7C,MAAM,CAAC;IACN,aAAa,EAAE,aAAa,CAAC,WAAW,CAAC,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE;CACpE,CAAC;KACD,QAAQ,EAAE,CAAA"}
@@ -1,14 +1,12 @@
1
1
  import { z } from 'zod';
2
+ import { ChangeRequestEntity } from '../../api/changeRequest/TChangeRequestAPI.js';
2
3
  import { ChangeRequest } from '../../api/changeRequest/index.js';
3
4
  export type TChangeTypeValue = (typeof ChangeRequest.Options.ChangeType)[keyof typeof ChangeRequest.Options.ChangeType];
4
5
  export declare const SPostEngagementEditBaseBFF: z.ZodObject<{
5
- assignmentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6
6
  requestedById: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- assignmentId?: string | null | undefined;
9
8
  requestedById?: string | null | undefined;
10
9
  }, {
11
- assignmentId?: string | null | undefined;
12
10
  requestedById?: string | null | undefined;
13
11
  }>;
14
12
  export type TPostEngagementEditBaseBFF = z.infer<typeof SPostEngagementEditBaseBFF>;
@@ -64,8 +62,7 @@ export declare const SEndDateFields: z.ZodObject<Pick<{
64
62
  proposedEndDate?: string | null | undefined;
65
63
  }>;
66
64
  export type TEndDateFields = z.infer<typeof SEndDateFields>;
67
- export declare const SPostEndDateBFF: z.ZodObject<{
68
- assignmentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
65
+ export declare const SPostExtensionBFF: z.ZodObject<{
69
66
  requestedById: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
70
67
  } & Pick<{
71
68
  readonly changerequestId: z.ZodOptional<z.ZodString>;
@@ -114,15 +111,95 @@ export declare const SPostEndDateBFF: z.ZodObject<{
114
111
  readonly reasonForChange: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
115
112
  readonly documents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
116
113
  }, "proposedEndDate">, z.UnknownKeysParam, z.ZodTypeAny, {
117
- assignmentId?: string | null | undefined;
118
114
  proposedEndDate?: string | null | undefined;
119
115
  requestedById?: string | null | undefined;
120
116
  }, {
121
- assignmentId?: string | null | undefined;
122
117
  proposedEndDate?: string | null | undefined;
123
118
  requestedById?: string | null | undefined;
124
119
  }>;
125
- export type TPostEndDateBFF = z.infer<typeof SPostEndDateBFF>;
120
+ export declare const SPostEarlyEndBFF: z.ZodObject<{
121
+ requestedById: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
122
+ } & Pick<{
123
+ readonly changerequestId: z.ZodOptional<z.ZodString>;
124
+ readonly name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
125
+ readonly crReference: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
126
+ readonly changeApplies: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
127
+ readonly changeTypes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>>;
128
+ readonly source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
129
+ readonly status: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
130
+ readonly legalStatus: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
131
+ readonly legalStatusComment: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
132
+ readonly relatedAssignmentValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
133
+ readonly relatedReferralValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
134
+ readonly relatedCaseValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
135
+ readonly workerValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
136
+ readonly hiringCompanyValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
137
+ readonly commentary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
138
+ readonly resubmitForLegalReview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
139
+ readonly resubmissionCommentsFollowingRejection: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
140
+ readonly submittedByValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
141
+ readonly dateSubmitted: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
142
+ readonly requestedDate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
143
+ readonly approvedByValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
144
+ readonly requestedByValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
145
+ readonly approvedDate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
146
+ readonly rejectedByValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
147
+ readonly rejectedDate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
148
+ readonly assignmentStageAtSubmission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
149
+ readonly resubmissionCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
150
+ readonly void: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
151
+ readonly changePendingFlag: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
152
+ readonly dateActioned: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
153
+ readonly updateAssignmentWithApprovedValues: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
154
+ readonly endDate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
155
+ readonly proposedEndDate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
156
+ readonly actualEndDate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
157
+ readonly proposedActualEndDate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
158
+ readonly startDate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
159
+ readonly proposedStartDate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
160
+ readonly rate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
161
+ readonly proposedRateChange: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
162
+ readonly workCountryValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
163
+ readonly proposedWorkCountryValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
164
+ readonly solutionTypeValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
165
+ readonly proposedSolutionTypeValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
166
+ readonly reasonForChange: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
167
+ readonly documents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
168
+ }, "proposedEndDate"> & {
169
+ changeType: z.ZodOptional<z.ZodNativeEnum<{
170
+ readonly earlyEndAorTerminationEnactedByClient: 1;
171
+ readonly earlyEndAorTerminationEnactedByWorker: 2;
172
+ readonly earlyEndEorTermination: 3;
173
+ readonly earlyEndEorMutualTermination: 4;
174
+ readonly earlyEndEorResignation: 5;
175
+ readonly amendWorkingHours: 6;
176
+ readonly amendOvertimeTerms: 7;
177
+ readonly clientRateChange: 8;
178
+ readonly payCurrencyFrequencyChange: 9;
179
+ readonly amendManagementFee: 10;
180
+ readonly changeInvoicingTerms: 11;
181
+ readonly changeJobTitleRole: 12;
182
+ readonly changeEmploymentLevel: 13;
183
+ readonly changeRemoteOnSite: 14;
184
+ readonly changeNoticePeriod: 15;
185
+ readonly changeEmployeeGrossSalary: 17;
186
+ readonly amendSowFeesExpenses: 18;
187
+ readonly changeSpecialConditionsOther: 19;
188
+ readonly extendEndDate: 23;
189
+ readonly amendStartDate: 24;
190
+ readonly rateChange: 25;
191
+ }>>;
192
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
193
+ proposedEndDate?: string | null | undefined;
194
+ requestedById?: string | null | undefined;
195
+ changeType?: 1 | 2 | 3 | 4 | 6 | 7 | 5 | 10 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 17 | 18 | 19 | 23 | 24 | 25 | undefined;
196
+ }, {
197
+ proposedEndDate?: string | null | undefined;
198
+ requestedById?: string | null | undefined;
199
+ changeType?: 1 | 2 | 3 | 4 | 6 | 7 | 5 | 10 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 17 | 18 | 19 | 23 | 24 | 25 | undefined;
200
+ }>;
201
+ export type TPostExtensionBFF = z.infer<typeof SPostExtensionBFF>;
202
+ export type TPostEarlyEndBFF = z.infer<typeof SPostEarlyEndBFF>;
126
203
  export declare const SStartDateFields: z.ZodObject<Pick<{
127
204
  readonly changerequestId: z.ZodOptional<z.ZodString>;
128
205
  readonly name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -178,7 +255,6 @@ export declare const SStartDateFields: z.ZodObject<Pick<{
178
255
  }>;
179
256
  export type TStartDateFields = z.infer<typeof SStartDateFields>;
180
257
  export declare const SPostEditStartDateBFF: z.ZodObject<{
181
- assignmentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
182
258
  requestedById: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
183
259
  } & Pick<{
184
260
  readonly changerequestId: z.ZodOptional<z.ZodString>;
@@ -227,24 +303,30 @@ export declare const SPostEditStartDateBFF: z.ZodObject<{
227
303
  readonly reasonForChange: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
228
304
  readonly documents: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
229
305
  }, "proposedEndDate" | "proposedStartDate">, z.UnknownKeysParam, z.ZodTypeAny, {
230
- assignmentId?: string | null | undefined;
231
306
  proposedEndDate?: string | null | undefined;
232
307
  proposedStartDate?: string | null | undefined;
233
308
  requestedById?: string | null | undefined;
234
309
  }, {
235
- assignmentId?: string | null | undefined;
236
310
  proposedEndDate?: string | null | undefined;
237
311
  proposedStartDate?: string | null | undefined;
238
312
  requestedById?: string | null | undefined;
239
313
  }>;
240
314
  export type TPostEditStartDateBFF = z.infer<typeof SPostEditStartDateBFF>;
241
- export type TSupportedChangeSchemaBFF = z.ZodType<TPostEditStartDateBFF | TPostEndDateBFF>;
315
+ export type TSupportedChangeSchemaBFF = z.ZodType<TPostEditStartDateBFF | TPostEarlyEndBFF | TPostExtensionBFF>;
242
316
  export type TSpecificFieldsBFF = Record<string, z.ZodType<TEndDateFields | TStartDateFields>>;
243
317
  export type TPostEditEngagementParams = TSupportedChangeSchemaBFF & {
244
318
  changeType?: TChangeTypeValue;
245
319
  };
246
320
  export type TEditEngagementParams = TPostEngagementEditBaseBFF & {
321
+ assignmentId: z.infer<typeof ChangeRequestEntity.SPayloadAPI.shape.relatedAssignmentValue>;
247
322
  changeTypes: TChangeTypeValue[];
248
323
  typeSpecificFields?: TSpecificFieldsBFF;
249
324
  };
325
+ export type TEditEngagementAssignmentParams = Promise<{
326
+ assignmentId: string;
327
+ requestType: string;
328
+ }>;
329
+ export type TEditEngagementReferralParams = Promise<{
330
+ referralId: string;
331
+ }>;
250
332
  //# sourceMappingURL=SPostEngagementEdit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SPostEngagementEdit.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/engagementEdit/SPostEngagementEdit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAEhE,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC,CAAA;AAE1F,eAAO,MAAM,0BAA0B;;;;;;;;;EAGrC,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEzB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAmD,CAAA;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GAAG,gBAAgB,GAAG,iBAAiB,CAC7D,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CACrC,MAAM,EACN,CAAC,CAAC,OAAO,CAAC,cAAc,GAAG,gBAAgB,CAAC,CAC7C,CAAA;AAGD,MAAM,MAAM,yBAAyB,GAAG,yBAAyB,GAAG;IAClE,UAAU,CAAC,EAAE,gBAAgB,CAAA;CAC9B,CAAA;AAGD,MAAM,MAAM,qBAAqB,GAAG,0BAA0B,GAAG;IAC/D,YAAY,EAAE,CAAC,CAAC,KAAK,CACnB,OAAO,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,sBAAsB,CACpE,CAAA;IACD,WAAW,EAAE,gBAAgB,EAAE,CAAA;IAC/B,kBAAkB,CAAC,EAAE,kBAAkB,CAAA;CACxC,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,OAAO,CAAC;IACpD,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,6BAA6B,GAAG,OAAO,CAAC;IAClD,UAAU,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA"}
@@ -2,13 +2,15 @@ import { z } from 'zod';
2
2
  import { ChangeRequestEntity } from '../../api/changeRequest/TChangeRequestAPI.js';
3
3
  import { ChangeRequest } from '../../api/changeRequest/index.js';
4
4
  export const SPostEngagementEditBaseBFF = z.object({
5
- assignmentId: ChangeRequestEntity.SPayloadAPI.shape.relatedAssignmentValue,
6
5
  requestedById: ChangeRequestEntity.SPayloadAPI.shape.rejectedByValue,
7
6
  });
8
7
  export const SEndDateFields = ChangeRequestEntity.SPayloadAPI.pick({
9
8
  proposedEndDate: true,
10
9
  });
11
- export const SPostEndDateBFF = SPostEngagementEditBaseBFF.merge(SEndDateFields);
10
+ export const SPostExtensionBFF = SPostEngagementEditBaseBFF.merge(SEndDateFields);
11
+ export const SPostEarlyEndBFF = SPostExtensionBFF.extend({
12
+ changeType: z.nativeEnum(ChangeRequest.Options.ChangeType).optional(),
13
+ });
12
14
  export const SStartDateFields = ChangeRequestEntity.SPayloadAPI.pick({
13
15
  proposedEndDate: true,
14
16
  proposedStartDate: true,
@@ -1 +1 @@
1
- {"version":3,"file":"SPostEngagementEdit.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/engagementEdit/SPostEngagementEdit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAA;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAKhE,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,YAAY,EAAE,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,sBAAsB;IAC1E,aAAa,EAAE,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,eAAe;CACrE,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,cAAc,GAAG,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC;IACjE,eAAe,EAAE,IAAI;CACtB,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,eAAe,GAAG,0BAA0B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAA;AAI/E,MAAM,CAAC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC;IACnE,eAAe,EAAE,IAAI;IACrB,iBAAiB,EAAE,IAAI;CACxB,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,qBAAqB,GAChC,0BAA0B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAA"}
1
+ {"version":3,"file":"SPostEngagementEdit.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/engagementEdit/SPostEngagementEdit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAA;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAKhE,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,aAAa,EAAE,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,eAAe;CACrE,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,cAAc,GAAG,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC;IACjE,eAAe,EAAE,IAAI;CACtB,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,iBAAiB,GAC5B,0BAA0B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAA;AAClD,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,MAAM,CAAC;IACvD,UAAU,EAAE,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAE;CACtE,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC;IACnE,eAAe,EAAE,IAAI;IACrB,iBAAiB,EAAE,IAAI;CACxB,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,qBAAqB,GAChC,0BAA0B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAA"}
@@ -1437,8 +1437,24 @@ export declare const SGetAssignmentAgentSummaryBFF: z.ZodEffects<z.ZodObject<Pic
1437
1437
  stageReasonLastChangedAt?: unknown;
1438
1438
  }>;
1439
1439
  export declare const SGetReferralAgentSummaryBFF: z.ZodEffects<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
1440
- readonly _organizationid_value: {
1441
- readonly pretty: "organizationIdValue";
1440
+ readonly _ownerid_value: {
1441
+ readonly pretty: "ownerIdValue";
1442
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1443
+ };
1444
+ readonly _owningbusinessunit_value: {
1445
+ readonly pretty: "owningBusinessUnitValue";
1446
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1447
+ };
1448
+ readonly _owningteam_value: {
1449
+ readonly pretty: "owningTeamValue";
1450
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1451
+ };
1452
+ readonly _owninguser_value: {
1453
+ readonly pretty: "owningUserValue";
1454
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1455
+ };
1456
+ readonly '_ownerid_value@OData.Community.Display.V1.FormattedValue': {
1457
+ readonly pretty: "ownerFormattedValue";
1442
1458
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1443
1459
  };
1444
1460
  readonly '@odata.etag': {
@@ -1796,6 +1812,14 @@ export declare const SGetReferralAgentSummaryBFF: z.ZodEffects<z.ZodObject<Pick<
1796
1812
  readonly pretty: "agencyContactFormattedValue";
1797
1813
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1798
1814
  };
1815
+ readonly "ww_ca_stage@OData.Community.Display.V1.FormattedValue": {
1816
+ readonly pretty: "stageFormattedValue";
1817
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1818
+ };
1819
+ readonly "_ww_accountmanager_value@OData.Community.Display.V1.FormattedValue": {
1820
+ readonly pretty: "accountManagerFormattedValue";
1821
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1822
+ };
1799
1823
  readonly ww_rtw_requiredincontractcountry: {
1800
1824
  readonly pretty: "doesContractorRequireRtwInContractCountry";
1801
1825
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;